mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-30 19:58:05 +11:00
2d9a07d215
This was becoming heavy to manage.
16 lines
349 B
Plaintext
16 lines
349 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
|