mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-29 01:08:05 +11:00
2d9a07d215
This was becoming heavy to manage.
16 lines
327 B
Plaintext
16 lines
327 B
Plaintext
CODE S=
|
|
DE POPqq, HL POPqq, chkPS,
|
|
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
|