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.
12 lines
292 B
Plaintext
12 lines
292 B
Plaintext
IFZ, ( end of buffer reached? )
|
|
( yes )
|
|
( +4 == ACIA( )
|
|
ACIA_MEM 4 + LDHL(n),
|
|
( +2 == ACIAW> )
|
|
ACIA_MEM 2+ LD(n)HL,
|
|
THEN,
|
|
THEN,
|
|
THEN,
|
|
DE POP, HL POP, AF POP,
|
|
EI, RETI,
|