mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-04 19:58:05 +11:00
40f92b9bab
Inline it in next and make chkPS, call a newly reserved label for it directly, removing a layer of indirection. This frees a spot in the stable ABI.
17 lines
345 B
Plaintext
17 lines
345 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, L3 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
|
|
|