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.
11 lines
171 B
Plaintext
11 lines
171 B
Plaintext
CODE 2DROP ( a b -- )
|
|
HL POP, HL POP,
|
|
;CODE
|
|
|
|
CODE 2DUP ( a b -- a b a b )
|
|
HL POP, ( b ) DE POP, ( a )
|
|
chkPS,
|
|
DE PUSH, HL PUSH,
|
|
DE PUSH, HL PUSH,
|
|
;CODE
|