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.
15 lines
186 B
Plaintext
15 lines
186 B
Plaintext
CODE DUP ( a -- a a )
|
|
HL POP, chkPS,
|
|
HL PUSH, HL PUSH,
|
|
;CODE
|
|
|
|
CODE ?DUP
|
|
HL POP, chkPS,
|
|
HL PUSH,
|
|
HLZ, IFNZ, HL PUSH, THEN,
|
|
;CODE
|
|
|
|
CODE DROP ( a -- )
|
|
HL POP,
|
|
;CODE
|