mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 05:28:05 +11:00
11 lines
216 B
Plaintext
11 lines
216 B
Plaintext
: MOVE ( a1 a2 u -- )
|
|
( u ) 0 DO
|
|
SWAP DUP I + C@ ( a2 a1 x )
|
|
ROT SWAP OVER I + ( a1 a2 x a2 )
|
|
C! ( a1 a2 )
|
|
LOOP
|
|
2DROP
|
|
;
|
|
: DELW 1- 0 SWAP C! ;
|
|
: PREV 3 - DUP @ - ;
|