mirror of https://github.com/mgba-emu/mgba.git
Implement STR(3)
This commit is contained in:
parent
3e57e46046
commit
c8f85a657e
|
@ -198,7 +198,7 @@ DEFINE_INSTRUCTION_WITH_HIGH_THUMB(MOV3, cpu->gprs[rd] = cpu->gprs[rm])
|
|||
|
||||
DEFINE_IMMEDIATE_WITH_REGISTER_THUMB(LDR3, cpu->gprs[rd] = cpu->memory->load32(cpu->memory, cpu->gprs[ARM_PC] + immediate))
|
||||
DEFINE_IMMEDIATE_WITH_REGISTER_THUMB(LDR4, ARM_STUB)
|
||||
DEFINE_IMMEDIATE_WITH_REGISTER_THUMB(STR3, ARM_STUB)
|
||||
DEFINE_IMMEDIATE_WITH_REGISTER_THUMB(STR3, cpu->memory->store32(cpu->memory, cpu->gprs[ARM_SP] + immediate, cpu->gprs[rd]))
|
||||
|
||||
DEFINE_IMMEDIATE_WITH_REGISTER_THUMB(ADD5, ARM_STUB)
|
||||
DEFINE_IMMEDIATE_WITH_REGISTER_THUMB(ADD6, cpu->gprs[rd] = cpu->gprs[ARM_SP] + immediate)
|
||||
|
|
Loading…
Reference in New Issue