mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-07 23:25:00 +00:00
Ensure proper transition from unrecognised instructions.
This commit is contained in:
@@ -507,13 +507,13 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
|
|||||||
switch(opcode_ & 0xf000) {
|
switch(opcode_ & 0xf000) {
|
||||||
default:
|
default:
|
||||||
exception_vector_ = InstructionSet::M68k::Exception::IllegalInstruction;
|
exception_vector_ = InstructionSet::M68k::Exception::IllegalInstruction;
|
||||||
continue;
|
break;
|
||||||
case 0xa000:
|
case 0xa000:
|
||||||
exception_vector_ = InstructionSet::M68k::Exception::Line1010;
|
exception_vector_ = InstructionSet::M68k::Exception::Line1010;
|
||||||
continue;
|
break;
|
||||||
case 0xf000:
|
case 0xf000:
|
||||||
exception_vector_ = InstructionSet::M68k::Exception::Line1111;
|
exception_vector_ = InstructionSet::M68k::Exception::Line1111;
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
MoveToStateSpecific(StandardException);
|
MoveToStateSpecific(StandardException);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user