mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-05 22:38:45 +10:00
11 lines
180 B
Plaintext
11 lines
180 B
Plaintext
VARIABLE ACC
|
|
: _LIST ." Block " DUP . CRLF LIST ;
|
|
: _NUM
|
|
ACC @ SWAP _pdacc
|
|
IF _LIST 0 THEN
|
|
ACC !
|
|
;
|
|
: L BLK> @ _LIST ;
|
|
: B BLK> @ 1- BLK> ! L ;
|
|
: N BLK> @ 1+ BLK> ! L ;
|