Fix DAS instruction (found with kvm-unit-test)
This commit is contained in:
parent
7fa7bbcb12
commit
cba0826785
|
@ -698,7 +698,7 @@ CPU.prototype.bcd_das = function()
|
|||
{
|
||||
this.reg8[reg_al] -= 6;
|
||||
this.flags |= flag_adjust;
|
||||
this.flags = this.flags & ~1 | old_cf | this.reg8[reg_al] >> 7;
|
||||
this.flags = this.flags & ~1 | old_cf | (old_al < 6);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue