3
0
Fork 0
forked from suyu/suyu

armemu: Fix retrieval of the CPSR in MRS instructions.

This commit is contained in:
Lioncash 2014-12-22 21:44:03 -05:00
parent 2188af4a65
commit 8c72322422

View file

@ -1724,7 +1724,7 @@ mainswitch:
TAKEABORT;
} else if ((BITS (0, 11) == 0) && (LHSReg == 15)) { /* MRS CPSR */
UNDEF_MRSPC;
DEST = ECC | EINT | EMODE;
DEST = ARMul_GetCPSR(state);
} else {
UNDEF_Test;
}