mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 15:10:55 +11:00
17 lines
562 B
Plaintext
17 lines
562 B
Plaintext
IFZ,
|
|
( match, let's compare the string then )
|
|
DE DECss, ( Skip prev field. One less because we )
|
|
DE DECss, ( pre-decrement )
|
|
B C LDrr, ( loop C times )
|
|
BEGIN,
|
|
( pre-decrement for easier Z matching )
|
|
DE DECss,
|
|
HL DECss,
|
|
LDA(DE),
|
|
(HL) CPr,
|
|
JRNZ, L2 FWR ( loopend )
|
|
DJNZ, AGAIN,
|
|
L2 FSET ( loopend )
|
|
THEN,
|
|
( cont. )
|