1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-29 13:18:04 +11:00
collapseos/blk/328

16 lines
363 B
Plaintext
Raw Normal View History

CODE S= EXX, ( protect BC )
DE POP, HL POP, chkPS,
LDA(DE),
(HL) CPr,
IFZ, ( same size? )
B A LDrr, ( loop A times )
BEGIN,
HL INCd, DE INCd,
LDA(DE),
(HL) CPr,
JRNZ, BREAK, ( not equal? break early. NZ is set. )
DJNZ, AGAIN,
THEN,
2020-04-23 11:19:12 +10:00
PUSHZ,
EXX, ( unprotect BC ) ;CODE