2020-07-05 14:57:18 -04:00
|
|
|
CODE (loop)
|
|
|
|
PC ORG @ 0x45 + ! ( stable ABI JP )
|
2020-05-12 10:37:24 -04:00
|
|
|
0 IX+ INC(IXY+), IFZ, 1 IX+ INC(IXY+), THEN, ( I++ )
|
|
|
|
( Jump if I <> I' )
|
2020-07-05 14:57:18 -04:00
|
|
|
A 0 IX+ LDrIXY, 2 IX- CP(IXY+), JRNZ, L1 BWR ( branch )
|
|
|
|
A 1 IX+ LDrIXY, 1 IX- CP(IXY+), JRNZ, L1 BWR ( branch )
|
2020-05-12 10:37:24 -04:00
|
|
|
( don't branch )
|
2020-07-05 14:57:18 -04:00
|
|
|
IX DECd, IX DECd, IX DECd, IX DECd,
|
|
|
|
IY INCd, IY INCd,
|
|
|
|
;CODE
|