LOCK instruction: ensure it is always illegal on opcodes 90h and ECh.
This commit is contained in:
@@ -753,7 +753,7 @@ opLOCK(uint32_t fetchdat)
|
||||
return 0;
|
||||
cpu_state.pc++;
|
||||
|
||||
ILLEGAL_ON((fetchdat & 0xff) == 0x90);
|
||||
ILLEGAL_ON(((fetchdat & 0xff) == 0x90) || ((fetchdat & 0xff) == 0xec));
|
||||
|
||||
CLOCK_CYCLES(4);
|
||||
PREFETCH_PREFIX();
|
||||
|
||||
Reference in New Issue
Block a user