2020-06-22 00:40:09 +10:00
|
|
|
( native words )
|
2020-06-22 04:07:02 +10:00
|
|
|
CODE EXECUTE 1 chkPS,
|
2020-06-22 00:40:09 +10:00
|
|
|
DI POPx, JMPn, lblexec @ RPCn,
|
2020-06-22 04:07:02 +10:00
|
|
|
CODE >R 1 chkPS,
|
2020-06-22 00:40:09 +10:00
|
|
|
BP INCx, BP INCx, [BP] 0 POP[w]+,
|
|
|
|
;CODE NOP, NOP, NOP,
|
|
|
|
CODE R>
|
|
|
|
[BP] 0 PUSH[w]+, BP DECx, BP DECx,
|
2020-06-19 13:10:14 +10:00
|
|
|
;CODE
|
2020-06-22 04:07:02 +10:00
|
|
|
CODE 2R> 2 chkPS,
|
2020-06-22 00:40:09 +10:00
|
|
|
[BP] -2 PUSH[w]+, [BP] 0 PUSH[w]+, BP 4 SUBxi,
|
|
|
|
;CODE
|
2020-06-22 04:07:02 +10:00
|
|
|
CODE ROT ( a b c -- b c a ) 3 chkPS,
|
2020-06-22 00:40:09 +10:00
|
|
|
CX POPx, BX POPx, AX POPx,
|
|
|
|
BX PUSHx, CX PUSHx, AX PUSHx,
|
2020-06-19 13:10:14 +10:00
|
|
|
;CODE
|