MODE_UNDEFINED is 0x1B (not 0x1C) (#184)
In the cpu_modes array, MODE_UNDEFINED is at position 0x1C, but this mode value is actually 0x1B.
This commit is contained in:
parent
4f3c9a5e58
commit
2fcbdc1d17
4
cpu.c
4
cpu.c
|
@ -1531,8 +1531,8 @@ const u32 cpu_modes[16] =
|
|||
{
|
||||
MODE_USER, MODE_FIQ, MODE_IRQ, MODE_SUPERVISOR,
|
||||
MODE_INVALID, MODE_INVALID, MODE_INVALID, MODE_ABORT,
|
||||
MODE_INVALID, MODE_INVALID, MODE_INVALID, MODE_INVALID,
|
||||
MODE_UNDEFINED, MODE_INVALID, MODE_INVALID, MODE_SYSTEM
|
||||
MODE_INVALID, MODE_INVALID, MODE_INVALID, MODE_UNDEFINED,
|
||||
MODE_INVALID, MODE_INVALID, MODE_INVALID, MODE_SYSTEM
|
||||
};
|
||||
|
||||
// ARM/Thumb mode is stored in the flags directly, this is simpler than
|
||||
|
|
Loading…
Reference in New Issue