Strip leading zeros from selected debugger constants (typically immediate values)

This commit is contained in:
Jeff 2016-09-27 12:53:36 -07:00 committed by Jeff Parsons
commit eb5aaa5d66
10 changed files with 348 additions and 335 deletions

View file

@ -879,7 +879,7 @@ CPUStatePDP11.prototype.trap = function(vector, reason)
this.opFlags &= ~PDP11.OPFLAG.TRAP_MASK; // lose interest in traps after an abort
this.trapPSW = -1; // reset flag that we have a trap within a trap
if (DEBUG && this.dbg) this.dbg.println("trap to vector " + this.dbg.toStrBase(vector) + (reason? " (reason " + reason + ")" : ""));
if (DEBUG && this.dbg) this.dbg.println("trap to vector " + this.dbg.toBase(vector) + (reason? " (reason " + reason + ")" : ""));
throw vector;
};