mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
CPU: Implement break instruction
This commit is contained in:
parent
32a36ef1bc
commit
f47d44c151
|
@ -519,6 +519,12 @@ void Core::ExecuteInstruction(Instruction inst)
|
|||
}
|
||||
break;
|
||||
|
||||
case InstructionFunct::break_:
|
||||
{
|
||||
RaiseException(Exception::BP);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
UnreachableCode();
|
||||
break;
|
||||
|
|
|
@ -107,7 +107,7 @@ static const std::array<const char*, 64> s_special_table = {{
|
|||
"UNKNOWN", // 10
|
||||
"UNKNOWN", // 11
|
||||
"syscall", // 12
|
||||
"UNKNOWN", // 13
|
||||
"break", // 13
|
||||
"UNKNOWN", // 14
|
||||
"UNKNOWN", // 15
|
||||
"mfhi $rd", // 16
|
||||
|
|
Loading…
Reference in a new issue