all repos — mgba @ cbc17ad77e44fc1ef0194fe2ec8759508da4df7b

mGBA Game Boy Advance Emulator

Stub out SWI
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Apr 2013 21:05:19 -0700
commit

cbc17ad77e44fc1ef0194fe2ec8759508da4df7b

parent

e89f49459a64f9af74a28ac9c86bd77a3f2afeb8

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

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

@@ -230,6 +230,7 @@

DEFINE_INSTRUCTION_THUMB(ILL, ) DEFINE_INSTRUCTION_THUMB(BKPT, ) DEFINE_INSTRUCTION_THUMB(BX, ) +DEFINE_INSTRUCTION_THUMB(SWI, ) #define DECLARE_INSTRUCTION_THUMB(EMITTER, NAME) \ EMITTER ## NAME

@@ -334,6 +335,7 @@ DO_4(DECLARE_INSTRUCTION_THUMB(EMITTER, BLT)), \

DO_4(DECLARE_INSTRUCTION_THUMB(EMITTER, BGT)), \ DO_4(DECLARE_INSTRUCTION_THUMB(EMITTER, BLE)), \ DO_4(DECLARE_INSTRUCTION_THUMB(EMITTER, ILL)), \ + DO_4(DECLARE_INSTRUCTION_THUMB(EMITTER, SWI)), \ static const ThumbInstruction _thumbTable[0x400] = { DECLARE_THUMB_EMITTER_BLOCK(_ThumbInstruction)