collapseos/blk/328

15 lines
272 B
Plaintext
Raw Permalink Normal View History

2020-04-22 21:19:12 -04:00
CODE S=
DE POPqq,
HL POPqq,
chkPS,
BEGIN,
2020-04-22 21:19:12 -04:00
LDA(DE),
(HL) CPr,
JRNZ, BREAK, ( not equal? break early. NZ is set. )
2020-04-22 21:19:12 -04:00
A ORr, ( if our char is null, stop )
HL INCss,
DE INCss,
JRNZ, AGAIN,
2020-04-22 21:19:12 -04:00
PUSHZ,
;CODE