2020-07-06 23:31:00 -04:00
|
|
|
CODE S= EXX, ( protect BC )
|
2020-06-27 22:01:56 -04:00
|
|
|
DE POP, HL POP, chkPS,
|
2020-05-25 20:34:52 -04:00
|
|
|
LDA(DE),
|
|
|
|
(HL) CPr,
|
|
|
|
IFZ, ( same size? )
|
|
|
|
B A LDrr, ( loop A times )
|
|
|
|
BEGIN,
|
2020-06-27 22:01:56 -04:00
|
|
|
HL INCd, DE INCd,
|
2020-05-25 20:34:52 -04:00
|
|
|
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,
|
2020-07-06 23:31:00 -04:00
|
|
|
EXX, ( unprotect BC ) ;CODE
|