2020-04-22 21:19:12 -04:00
|
|
|
CODE S=
|
|
|
|
DE POPqq,
|
|
|
|
HL POPqq,
|
|
|
|
chkPS,
|
2020-05-16 21:02:50 -04:00
|
|
|
BEGIN,
|
2020-04-22 21:19:12 -04:00
|
|
|
LDA(DE),
|
|
|
|
(HL) CPr,
|
2020-05-16 21:02:50 -04:00
|
|
|
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,
|
2020-05-16 21:02:50 -04:00
|
|
|
JRNZ, AGAIN,
|
2020-04-22 21:19:12 -04:00
|
|
|
PUSHZ,
|
|
|
|
;CODE
|