mirror of https://github.com/mgba-emu/mgba.git
Implement ADD(4)
This commit is contained in:
parent
bc4924cef5
commit
abd522a2ce
|
@ -223,7 +223,7 @@ DEFINE_DATA_FORM_5_INSTRUCTION_THUMB(MVN, ARM_STUB)
|
|||
DEFINE_INSTRUCTION_WITH_HIGH_EX_THUMB(NAME ## 10, 8, 0, BODY) \
|
||||
DEFINE_INSTRUCTION_WITH_HIGH_EX_THUMB(NAME ## 11, 8, 8, BODY)
|
||||
|
||||
DEFINE_INSTRUCTION_WITH_HIGH_THUMB(ADD4, ARM_STUB)
|
||||
DEFINE_INSTRUCTION_WITH_HIGH_THUMB(ADD4, cpu->gprs[rd] += cpu->gprs[rm])
|
||||
DEFINE_INSTRUCTION_WITH_HIGH_THUMB(CMP3, int32_t aluOut = cpu->gprs[rd] - cpu->gprs[rm]; THUMB_SUBTRACTION_S(cpu->gprs[rd], cpu->gprs[rm], aluOut))
|
||||
DEFINE_INSTRUCTION_WITH_HIGH_THUMB(MOV3, cpu->gprs[rd] = cpu->gprs[rm])
|
||||
|
||||
|
|
Loading…
Reference in New Issue