all repos — mgba @ 9e578da5a1ea4d0c637194e4c6493402a69429de

mGBA Game Boy Advance Emulator

Do register writeback in addressing mode 2 before actual load/store
Jeffrey Pfau jeffrey@endrift.com
Fri, 26 Jul 2013 23:42:45 -0700
commit

9e578da5a1ea4d0c637194e4c6493402a69429de

parent

8b1eb01a966fb7055eeb7235b5551273ca78c913

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

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

@@ -444,8 +444,8 @@ int rd = (opcode >> 12) & 0xF; \

int rm = opcode & 0xF; \ UNUSED(rm); \ address = ADDRESS; \ - BODY; \ - WRITEBACK;) + WRITEBACK; \ + BODY;) #define DEFINE_LOAD_STORE_INSTRUCTION_SHIFTER_ARM(NAME, SHIFTER, BODY) \ DEFINE_LOAD_STORE_INSTRUCTION_EX_ARM(NAME, ADDR_MODE_2_RN, ADDR_MODE_2_WRITEBACK(ADDR_MODE_2_INDEX(-, SHIFTER)), BODY) \