mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 02:20:58 +11:00
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.
9 lines
115 B
Plaintext
9 lines
115 B
Plaintext
CODE @PUT ( c a -- f )
|
|
DE POP,
|
|
BC POP,
|
|
chkPS,
|
|
A 0x04 LDri, ( @PUT )
|
|
0x28 RST,
|
|
PUSHZ,
|
|
;CODE
|