2020-06-14 09:48:10 -04:00
|
|
|
( 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 )
|
|
|
|
|
2020-04-22 21:19:12 -04:00
|
|
|
( a b c -- b c a )
|
|
|
|
CODE ROT
|
2020-06-14 09:48:10 -04:00
|
|
|
HL POPqq, ( C ) DE POPqq, ( B ) BC POPqq, ( A )
|
2020-04-22 21:19:12 -04:00
|
|
|
chkPS,
|
2020-06-14 09:48:10 -04:00
|
|
|
DE PUSHqq, ( B ) HL PUSHqq, ( C ) BC PUSHqq, ( A )
|
2020-04-22 21:19:12 -04:00
|
|
|
;CODE
|
|
|
|
|