mirror of https://github.com/mgba-emu/mgba.git
Implement B
This commit is contained in:
parent
5c7b4a98c6
commit
340d3ce6a7
|
@ -377,7 +377,11 @@ DEFINE_INSTRUCTION_ARM(SWPB,)
|
||||||
|
|
||||||
// Begin branch definitions
|
// Begin branch definitions
|
||||||
|
|
||||||
DEFINE_INSTRUCTION_ARM(B,)
|
DEFINE_INSTRUCTION_ARM(B, \
|
||||||
|
int32_t offset = opcode << 8; \
|
||||||
|
offset >>= 8; \
|
||||||
|
cpu->gprs[ARM_PC] += offset)
|
||||||
|
|
||||||
DEFINE_INSTRUCTION_ARM(BL,)
|
DEFINE_INSTRUCTION_ARM(BL,)
|
||||||
DEFINE_INSTRUCTION_ARM(BX,)
|
DEFINE_INSTRUCTION_ARM(BX,)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue