mirror of https://github.com/mgba-emu/mgba.git
ARM7: Fix decoding some more load/store instructions
This commit is contained in:
parent
72f8657017
commit
ae1fecd4c8
|
@ -31,7 +31,7 @@
|
|||
DEFINE_THUMB_DECODER(NAME, MNEMONIC, \
|
||||
info->op1.reg = opcode & 0x0007; \
|
||||
info->memory.baseReg = (opcode >> 3) & 0x0007; \
|
||||
info->memory.offset.immediate = ((opcode >> 6) & 0x0007) * WIDTH; \
|
||||
info->memory.offset.immediate = ((opcode >> 6) & 0x001F) * WIDTH; \
|
||||
info->memory.width = (enum ARMMemoryAccessType) WIDTH; \
|
||||
info->operandFormat = ARM_OPERAND_REGISTER_1 | \
|
||||
ARM_OPERAND_AFFECTED_1 | \
|
||||
|
|
Loading…
Reference in New Issue