mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-23 20:29:42 +00:00
Fix AAA/AAS carry outcome.
This commit is contained in:
parent
e61dc0466f
commit
7abd4d9b38
@ -30,6 +30,8 @@ void aaas(
|
||||
--ax.halves.high;
|
||||
}
|
||||
context.flags.template set_from<Flag::Carry, Flag::AuxiliaryCarry>(1);
|
||||
} else {
|
||||
context.flags.template set_from<Flag::Carry>(0);
|
||||
}
|
||||
ax.halves.low &= 0x0f;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user