Debugger now actually prevents an undefined opcode from executing (until/unless you single-step it)
This commit is contained in:
parent
c14f919f4f
commit
1e080e720e
3 changed files with 11 additions and 10 deletions
|
|
@ -1764,7 +1764,7 @@ PDP11.opXOR = function(opCode)
|
|||
PDP11.opUndefined = function(opCode)
|
||||
{
|
||||
if (DEBUGGER && this.dbg) {
|
||||
this.dbg.undefinedInstruction(opCode);
|
||||
if (this.dbg.undefinedInstruction(opCode)) return;
|
||||
}
|
||||
this.trap(PDP11.TRAP.RESERVED, PDP11.REASON.RESERVED);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue