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.
14 lines
380 B
Plaintext
14 lines
380 B
Plaintext
CODE 2>R ( 0xa9 )
|
|
DE POP, HL POP,
|
|
17 BCALL, ( 17 == pushRS ) EXDEHL, 17 BCALL,
|
|
;CODE NOP, NOP, NOP,
|
|
CODE (n) ( 0xbf, number literal )
|
|
( Literal value to push to stack is next to (n) reference
|
|
in the atom list. That is where IP is currently pointing.
|
|
Read, push, then advance IP. )
|
|
E 0 IY+ LDrIXY,
|
|
D 1 IY+ LDrIXY,
|
|
IY INCd, IY INCd,
|
|
DE PUSH,
|
|
;CODE
|