Mercurial > repos > blastem
diff m68k_core.c @ 584:b6713c1b6f55
Combine andi ccr/sr and ori ccr/sr.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 07 Mar 2014 19:35:13 -0800 |
parents | c05fcbfe1b1a |
children | 55c5b0f913ce |
line wrap: on
line diff
--- a/m68k_core.c Fri Mar 07 17:51:40 2014 -0800 +++ b/m68k_core.c Fri Mar 07 19:35:13 2014 -0800 @@ -551,12 +551,12 @@ RAW_IMPL(M68K_UNLK, translate_m68k_unlk), //SR/CCR stuff - RAW_IMPL(M68K_ANDI_CCR, translate_m68k_andi_ccr_sr), - RAW_IMPL(M68K_ANDI_SR, translate_m68k_andi_ccr_sr), + RAW_IMPL(M68K_ANDI_CCR, translate_m68k_andi_ori_ccr_sr), + RAW_IMPL(M68K_ANDI_SR, translate_m68k_andi_ori_ccr_sr), RAW_IMPL(M68K_EORI_CCR, translate_m68k_eori_ccr_sr), RAW_IMPL(M68K_EORI_SR, translate_m68k_eori_ccr_sr), - RAW_IMPL(M68K_ORI_CCR, translate_m68k_ori_ccr_sr), - RAW_IMPL(M68K_ORI_SR, translate_m68k_ori_ccr_sr), + RAW_IMPL(M68K_ORI_CCR, translate_m68k_andi_ori_ccr_sr), + RAW_IMPL(M68K_ORI_SR, translate_m68k_andi_ori_ccr_sr), OP_IMPL(M68K_MOVE_CCR, translate_m68k_move_ccr_sr), OP_IMPL(M68K_MOVE_SR, translate_m68k_move_ccr_sr), OP_IMPL(M68K_MOVE_FROM_SR, translate_m68k_move_from_sr),