1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 21:48:05 +11:00
collapseos/blk/368

11 lines
235 B
Plaintext
Raw Normal View History

: [entry] ( w -- )
C@+ ( w+1 len ) TUCK MOVE, ( len )
( write prev value )
H@ CURRENT @ - ,
C, ( write size )
H@ CURRENT !
;
: (entry) WORD [entry] ;
: CREATE (entry) 2 ( cellWord ) C, ;
: VARIABLE CREATE 2 ALLOT ;