mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 19:48:06 +11:00
eba83fa9a9
The usage of numerotated labels for this was becoming severly confusing.
17 lines
350 B
Plaintext
17 lines
350 B
Plaintext
( Core words )
|
|
( KEY and EMIT are not defined here. There're
|
|
expected to be defined in platform-specific code. )
|
|
|
|
CODE EXECUTE
|
|
DE POPqq,
|
|
chkPS,
|
|
JR, lblexec BWR ( execute-B301 )
|
|
|
|
( a b c -- b c a )
|
|
CODE ROT
|
|
HL POPqq, ( C ) DE POPqq, ( B ) BC POPqq, ( A )
|
|
chkPS,
|
|
DE PUSHqq, ( B ) HL PUSHqq, ( C ) BC PUSHqq, ( A )
|
|
;CODE
|
|
|