Debugger now stops on undefined opcodes, as well as on unknown I/O accesses
This commit is contained in:
parent
3a7b769fa3
commit
c14f919f4f
5 changed files with 232 additions and 195 deletions
|
|
@ -1763,6 +1763,9 @@ PDP11.opXOR = function(opCode)
|
|||
*/
|
||||
PDP11.opUndefined = function(opCode)
|
||||
{
|
||||
if (DEBUGGER && this.dbg) {
|
||||
this.dbg.undefinedInstruction(opCode);
|
||||
}
|
||||
this.trap(PDP11.TRAP.RESERVED, PDP11.REASON.RESERVED);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue