This commit is contained in:
Jeffrey Pfau 2013-04-14 03:23:37 -07:00
parent 8eb8cdfad8
commit 3121ed0bb6
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ DEFINE_INSTRUCTION_THUMB(BL2, \
THUMB_WRITE_PC;)
DEFINE_INSTRUCTION_THUMB(BX, \
int rm = opcode & 0x0000000F; \
int rm = (opcode >> 3) & 0xF; \
_ARMSetMode(cpu, cpu->gprs[rm] & 0x00000001);
int misalign = 0;
if (rm == ARM_PC) {