all repos — mgba @ 99d0b76f3bdbe80363d3b761b9dee350421ffb74

mGBA Game Boy Advance Emulator

Stub out ADD7 and SUB4
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 23:47:37 -0700
commit

99d0b76f3bdbe80363d3b761b9dee350421ffb74

parent

08065d865d1b435000084fbda184161edb4d7902

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

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

@@ -186,6 +186,9 @@ DEFINE_LOAD_STORE_WITH_REGISTER_THUMB(STR2, )

DEFINE_LOAD_STORE_WITH_REGISTER_THUMB(STRB2, ) DEFINE_LOAD_STORE_WITH_REGISTER_THUMB(STRH2, ) +DEFINE_INSTRUCTION_THUMB(ADD7, ) +DEFINE_INSTRUCTION_THUMB(SUB4, ) + DEFINE_INSTRUCTION_THUMB(ILL, ) DEFINE_INSTRUCTION_THUMB(BX, )

@@ -259,6 +262,10 @@ APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, STR3_R)) \

APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, LDR4_R)) \ APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, ADD5_R)) \ APPLY(COUNT_3, DUMMY_4, DECLARE_INSTRUCTION_THUMB(EMITTER, ADD6_R)) \ + DECLARE_INSTRUCTION_THUMB(EMITTER, ADD7), \ + DECLARE_INSTRUCTION_THUMB(EMITTER, ADD7), \ + DECLARE_INSTRUCTION_THUMB(EMITTER, SUB4), \ + DECLARE_INSTRUCTION_THUMB(EMITTER, SUB4), \ static const ThumbInstruction _thumbTable[0x400] = { DECLARE_THUMB_EMITTER_BLOCK(_ThumbInstruction)