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
335 B
Plaintext
15 lines
335 B
Plaintext
( Core words )
|
|
( KEY and EMIT are not defined here. There're
|
|
expected to be defined in platform-specific code. )
|
|
|
|
CODE EXECUTE
|
|
DE POP,
|
|
chkPS,
|
|
JR, lblexec BWR ( execute-B301 )
|
|
|
|
CODE ROT ( a b c -- b c a )
|
|
HL POP, ( C ) DE POP, ( B ) BC POP, ( A )
|
|
chkPS,
|
|
DE PUSH, ( B ) HL PUSH, ( C ) BC PUSH, ( A )
|
|
;CODE
|