mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-14 14:48:08 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
328 B
Plaintext
17 lines
328 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
|
|
|