mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 17:18:06 +11:00
wip
This commit is contained in:
parent
40a756cf1c
commit
b17bd4dca0
4
blk/434
4
blk/434
@ -2,7 +2,3 @@
|
|||||||
( b1 b2 -- )
|
( b1 b2 -- )
|
||||||
: LOADR 1+ SWAP DO I DUP . NL LOAD LOOP ;
|
: LOADR 1+ SWAP DO I DUP . NL LOAD LOOP ;
|
||||||
: LOADR+ BLK> @ + SWAP BLK> @ + SWAP LOADR ;
|
: 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 )
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
( 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 )
|
||||||
: LITN 32 , , ( 32 == NUMBER ) ;
|
: LITN 32 , , ( 32 == NUMBER ) ;
|
||||||
|
|
||||||
( ';' can't have its name right away because, when created, it
|
( ';' can't have its name right away because, when created, it
|
||||||
@ -7,4 +11,3 @@
|
|||||||
['] EXIT ,
|
['] EXIT ,
|
||||||
R> DROP ( exit : )
|
R> DROP ( exit : )
|
||||||
; IMMEDIATE
|
; IMMEDIATE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user