2020-06-28 12:01:56 +10:00
|
|
|
CODE (?br) ( 0x67 )
|
|
|
|
HL POP,
|
2020-05-13 00:37:24 +10:00
|
|
|
HLZ,
|
2020-06-17 12:10:32 +10:00
|
|
|
JRZ, L2 BWR ( br + 1. False, branch )
|
2020-05-13 00:37:24 +10:00
|
|
|
L1 BSET ( loop will jump here )
|
|
|
|
( True, skip next 2 bytes and don't branch )
|
2020-06-28 12:01:56 +10:00
|
|
|
IY INCd, IY INCd,
|
2020-05-23 13:12:03 +10:00
|
|
|
JPNEXT, NOP, NOP, NOP,
|
2020-06-18 11:41:01 +10:00
|
|
|
CODE (loop) ( 0x80 )
|
2020-05-13 00:37:24 +10:00
|
|
|
0 IX+ INC(IXY+), IFZ, 1 IX+ INC(IXY+), THEN, ( I++ )
|
|
|
|
( Jump if I <> I' )
|
|
|
|
A 0 IX+ LDrIXY, 2 IX- CP(IXY+), JRNZ, L2 BWR ( branch )
|
|
|
|
A 1 IX+ LDrIXY, 1 IX- CP(IXY+), JRNZ, L2 BWR ( branch )
|
|
|
|
( don't branch )
|
2020-06-28 12:01:56 +10:00
|
|
|
IX DECd, IX DECd, IX DECd, IX DECd, JR, L1 BWR
|