mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 05:48:06 +11:00
17 lines
351 B
Plaintext
17 lines
351 B
Plaintext
CODE S=
|
|
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,
|
|
PUSHZ,
|
|
;CODE
|