mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 06:08:05 +11:00
17 lines
338 B
Plaintext
17 lines
338 B
Plaintext
|
CODE S=
|
||
|
DE POPqq,
|
||
|
HL POPqq,
|
||
|
chkPS,
|
||
|
BEGIN, ( loop )
|
||
|
LDA(DE),
|
||
|
(HL) CPr,
|
||
|
JRNZ, L1 FWR ( not equal? break early to "end".
|
||
|
NZ is set. )
|
||
|
A ORr, ( if our char is null, stop )
|
||
|
HL INCss,
|
||
|
DE INCss,
|
||
|
JRNZ, AGAIN, ( loop )
|
||
|
L1 FSET ( end )
|
||
|
PUSHZ,
|
||
|
;CODE
|