1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Ensure proper transition from unrecognised instructions.

This commit is contained in:
Thomas Harte 2022-05-24 11:36:11 -04:00
parent a7e8aef9d3
commit eab720f6ea

View File

@ -507,13 +507,13 @@ void Processor<BusHandler, dtack_is_implicit, permit_overrun, signal_will_perfor
switch(opcode_ & 0xf000) {
default:
exception_vector_ = InstructionSet::M68k::Exception::IllegalInstruction;
continue;
break;
case 0xa000:
exception_vector_ = InstructionSet::M68k::Exception::Line1010;
continue;
break;
case 0xf000:
exception_vector_ = InstructionSet::M68k::Exception::Line1111;
continue;
break;
}
MoveToStateSpecific(StandardException);
}