Starting work on v1.18.1

This commit is contained in:
Jeff Parsons 2015-05-21 11:20:52 -07:00 • committed by jeffpar
commit 5f29c9967b
131 changed files with 181 additions and 173 deletions

View file

@ -49,12 +49,12 @@ X86.opADDmb = function ADDmb()
var b = this.getIPByte();
/*
* Opcode bytes 0x00 0x00 are sufficiently uncommon that it's more likely we've started
* executing in the weeds, so we'll print a warning if Messages.CPU is enabled (at which
* point you can also choose to halt if Messages.HALT is enabled).
* executing in the weeds, so we'll print a warning if you're in DEBUG mode, and optionally
* stop the CPU if a Debugger is available.
*/
if (DEBUG && !b) {
this.printMessage("suspicious opcode: 0x00 0x00", DEBUGGER || this.bitsMessage);
if (DEBUGGER) this.stopCPU();
if (DEBUGGER && this.dbg) this.stopCPU();
}
this.aOpModMemByte[b].call(this, X86.fnADDb);
};