Fix LDMIA/STMIA

This commit is contained in:
Jeffrey Pfau 2013-04-20 18:03:59 -07:00
parent 14100f19d1
commit 67d25794e1
1 changed files with 3 additions and 3 deletions

View File

@ -319,10 +319,10 @@ DEFINE_LOAD_STORE_WITH_REGISTER_THUMB(STR2, ARM_STUB)
DEFINE_LOAD_STORE_WITH_REGISTER_THUMB(STRB2, ARM_STUB)
DEFINE_LOAD_STORE_WITH_REGISTER_THUMB(STRH2, ARM_STUB)
#define DEFINE_LOAD_STORE_MULTIPLE_EX_THUMB(NAME, RS, ADDRESS, LOOP, BODY, OP, PRE_BODY, POST_BODY, WRITEBACK) \
#define DEFINE_LOAD_STORE_MULTIPLE_EX_THUMB(NAME, RN, ADDRESS, LOOP, BODY, OP, PRE_BODY, POST_BODY, WRITEBACK) \
DEFINE_INSTRUCTION_THUMB(NAME, \
int rn = (opcode >> 8) & 0x000F; \
int rs = RS; \
int rn = RN; \
int rs = opcode & 0xFF; \
int32_t address = ADDRESS; \
int m; \
int i; \