mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 19:08:06 +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.
12 lines
302 B
Plaintext
12 lines
302 B
Plaintext
CODE (s) ( 0xd4, string literal )
|
|
( Like (n) but instead of being followed by a 2 bytes
|
|
number, it's followed by a string. When called, puts the
|
|
string's address on PS )
|
|
IY PUSH, HL POP, ( <-- IP )
|
|
E (HL) LDrr, D 0 LDri,
|
|
DE INCd,
|
|
DE ADDIYd,
|
|
HL PUSH,
|
|
;CODE
|
|
( END OF STABLE ABI )
|