CPU: Implement break instruction
This commit is contained in:
parent
32a36ef1bc
commit
f47d44c151
2 changed files with 7 additions and 1 deletions
|
|
@ -519,6 +519,12 @@ void Core::ExecuteInstruction(Instruction inst)
|
|||
}
|
||||
break;
|
||||
|
||||
case InstructionFunct::break_:
|
||||
{
|
||||
RaiseException(Exception::BP);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
UnreachableCode();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue