2020-05-24 14:19:25 -04:00
|
|
|
: +! TUCK @ + SWAP ! ;
|
2020-05-15 22:59:38 -04:00
|
|
|
: [entry] ( w -- )
|
2020-05-24 14:19:25 -04:00
|
|
|
H@ SWAP
|
|
|
|
BEGIN C@+ ( w+1 c ) ?DUP IF C, 0 ELSE 1 THEN UNTIL DROP
|
2020-05-15 22:59:38 -04:00
|
|
|
H@ SWAP - ( sz )
|
2020-05-02 21:21:47 -04:00
|
|
|
( write prev value )
|
2020-05-15 22:59:38 -04:00
|
|
|
H@ CURRENT @ - ,
|
2020-05-12 07:36:20 -04:00
|
|
|
C, ( write size )
|
2020-05-15 22:59:38 -04:00
|
|
|
H@ CURRENT !
|
2020-05-02 21:21:47 -04:00
|
|
|
;
|
|
|
|
|
|
|
|
: (entry) WORD [entry] ;
|