mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-22 14:33:51 +00:00
z80: fixed bug in "add iy,sp"
This commit is contained in:
parent
e69a5d433d
commit
3766576bae
@ -1125,7 +1125,7 @@ let do_ix_add = function(operand)
|
||||
flags.H = (((ix & 0xfff) + (operand & 0xfff)) & 0x1000) ? 1 : 0;
|
||||
update_xy_flags((result & 0xff00) >>> 8);
|
||||
|
||||
ix = result;
|
||||
ix = result & 0xffff;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user