mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 00:40:56 +11:00
6a5ff3adcb
Now more low/high layers.
9 lines
265 B
Plaintext
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 )
|