1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-14 14:48:08 +11:00
collapseos/blk/329
Virgil Dupras bf4ab0f1b4 z80: protect or avoid BC wherever it's used
For the IY->BC move, of course.
2020-07-05 23:12:17 -04:00

16 lines
219 B
Plaintext

CODE CMP
HL POP,
DE POP,
chkPS,
DE SUBHLd,
DE 0 LDdn,
IFNZ, ( < or > )
DE INCd,
IFNC, ( < )
DE DECd,
DE DECd,
THEN,
THEN,
DE PUSH,
;CODE