all repos — mgba @ 9cd468794e2ac8f41a80ac66ec7d02d8fbbc4616

mGBA Game Boy Advance Emulator

Implement BIC
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Apr 2013 03:31:35 -0700
commit

9cd468794e2ac8f41a80ac66ec7d02d8fbbc4616

parent

288eba1f80cd8e61d7f3ed80fb610a455f21b5d2

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/isa-thumb.csrc/isa-thumb.c

@@ -227,7 +227,7 @@ DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(CMP2, int32_t aluOut = cpu->gprs[rd] - cpu->gprs[rn]; THUMB_SUBTRACTION_S(cpu->gprs[rd], cpu->gprs[rn], aluOut))

DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(CMN, ARM_STUB) DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(ORR, cpu->gprs[rd] = cpu->gprs[rd] | cpu->gprs[rn]; THUMB_NEUTRAL_S( , , cpu->gprs[rd])) DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(MUL, ARM_STUB) -DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(BIC, ARM_STUB) +DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(BIC, cpu->gprs[rd] = cpu->gprs[rd] & ~cpu->gprs[rn]; THUMB_NEUTRAL_S( , , cpu->gprs[rd])) DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(MVN, cpu->gprs[rd] = ~cpu->gprs[rn]; THUMB_NEUTRAL_S( , , cpu->gprs[rd])) #define DEFINE_INSTRUCTION_WITH_HIGH_EX_THUMB(NAME, H1, H2, BODY) \