all repos — mgba @ 01d4672f560d734065b4ac2d412917cee47b85ae

mGBA Game Boy Advance Emulator

Reclassify thumb load/store multiple instructions
Jeffrey Pfau jeffrey@endrift.com
Sat, 02 Nov 2013 04:12:21 -0700
commit

01d4672f560d734065b4ac2d412917cee47b85ae

parent

764d9740eee1fa13aa5f06ab6311e5682be8c832

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

jump to
M src/arm/decoder-thumb.csrc/arm/decoder-thumb.c

@@ -224,7 +224,7 @@ DEFINE_THUMB_DECODER(NAME, MNEMONIC, \

info->memory.baseReg = RN; \ info->accessesSpecialRegisters = SPECIAL_REG; \ info->op1.immediate = (opcode & 0xFF) | ADDITIONAL_REG; \ - info->operandFormat = ARM_OPERAND_IMMEDIATE_1; \ + info->operandFormat = ARM_OPERAND_MEMORY_1; \ info->memory.format = ARM_MEMORY_REGISTER_BASE | \ ARM_MEMORY_POST_INCREMENT;)