mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 01:00:55 +11:00
10 lines
194 B
Plaintext
10 lines
194 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
|
|
;
|
|
: PREV 3 - DUP @ - ;
|