440ea43a88
Initially, I used the same letters as those used in the z80 ref docs, but it makes the different assemblers harder to use than they should. Having consistent "argtype" rules across assemblers should help.
16 líneas
514 B
Plaintext
16 líneas
514 B
Plaintext
IFZ,
|
|
( match, let's compare the string then )
|
|
DE DECd, ( Skip prev field. One less because we )
|
|
DE DECd, ( pre-decrement )
|
|
B C LDrr, ( loop C times )
|
|
BEGIN,
|
|
( pre-decrement for easier Z matching )
|
|
DE DECd,
|
|
HL DECd,
|
|
LDA(DE),
|
|
(HL) CPr,
|
|
JRNZ, BREAK,
|
|
DJNZ, AGAIN,
|
|
THEN,
|
|
( cont. )
|