1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-28 23:18:04 +11:00
collapseos/blk/445
2020-05-13 09:11:57 -04:00

9 lines
265 B
Plaintext

: VARIABLE CREATE 2 ALLOT ;
: CONSTANT CREATE , DOES> @ ;
( In addition to pushing H@ this compiles 2>R so that loop
variables are sent to PS at runtime )
: DO COMPILE 2>R H@ ; IMMEDIATE
: LOOP COMPILE (loop) H@ - , ; IMMEDIATE
( LEAVE is implemented in xcomp )