all repos — mgba @ 5165e0131e727564182f37c5180c05010da17e3c

mGBA Game Boy Advance Emulator

Put in missing BX
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 23:16:30 -0700
commit

5165e0131e727564182f37c5180c05010da17e3c

parent

f42c8d111e0acbbdbab998a5928569fcde75f156

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

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

@@ -168,6 +168,7 @@

DEFINE_STORE_WITH_IMMEDIATE_THUMB(STR, ) DEFINE_INSTRUCTION_THUMB(ILL, ) +DEFINE_INSTRUCTION_THUMB(BX, ) #define DECLARE_INSTRUCTION_THUMB(EMITTER, NAME) \ EMITTER ## NAME

@@ -216,8 +217,8 @@ DECLARE_INSTRUCTION_THUMB(EMITTER, MVN), \

DECLARE_INSTRUCTION_WITH_HIGH_THUMB(EMITTER, ADD4), \ DECLARE_INSTRUCTION_WITH_HIGH_THUMB(EMITTER, CMP3), \ DECLARE_INSTRUCTION_WITH_HIGH_THUMB(EMITTER, MOV3), \ - DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \ - DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \ + DECLARE_INSTRUCTION_THUMB(EMITTER, BX), \ + DECLARE_INSTRUCTION_THUMB(EMITTER, BX), \ DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \ DECLARE_INSTRUCTION_THUMB(EMITTER, ILL), \ APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, LDR3_R)) \