2020-04-22 21:19:12 -04:00
|
|
|
CODE S=
|
2020-05-25 07:45:19 -04:00
|
|
|
DE POPqq, HL POPqq, chkPS,
|
|
|
|
HL DECss, DE DECss,
|
|
|
|
LDA(DE),
|
|
|
|
(HL) CPr,
|
|
|
|
IFZ, ( same size? )
|
|
|
|
B A LDrr, ( loop A times )
|
|
|
|
BEGIN,
|
|
|
|
HL INCss, DE INCss,
|
|
|
|
LDA(DE),
|
|
|
|
(HL) CPr,
|
|
|
|
JRNZ, BREAK, ( not equal? break early. NZ is set. )
|
|
|
|
DJNZ, AGAIN,
|
|
|
|
THEN,
|
2020-04-22 21:19:12 -04:00
|
|
|
PUSHZ,
|
|
|
|
;CODE
|