mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 00:38:06 +11:00
9 lines
279 B
Plaintext
9 lines
279 B
Plaintext
: LOAD+ BLK> @ + LOAD ;
|
|
( b1 b2 -- )
|
|
: LOADR 1+ SWAP DO I DUP . NL LOAD LOOP ;
|
|
: LOADR+ BLK> @ + SWAP BLK> @ + SWAP LOADR ;
|
|
( Now we have "as late as possible" stuff )
|
|
: DO COMPILE 2>R H@ ; IMMEDIATE
|
|
: LOOP COMPILE (loop) H@ - , ; IMMEDIATE
|
|
( LEAVE is implemented in low xcomp )
|