Fixed 8080 bug exposed by the exerciser (but still a long way from 100% passing)
This commit is contained in:
parent
94c1ada877
commit
2a447fa6ae
8 changed files with 1974 additions and 13 deletions
|
|
@ -628,7 +628,7 @@ CPUDef.opSTC = function()
|
|||
CPUDef.opDADSP = function()
|
||||
{
|
||||
var w;
|
||||
this.setSP(w = this.getHL() + this.getSP());
|
||||
this.setHL(w = this.getHL() + this.getSP());
|
||||
this.resultZeroCarry = (this.resultZeroCarry & 0xff) | ((w >> 8) & 0x100);
|
||||
this.nStepCycles -= 10;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue