1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 11:18:05 +11:00
collapseos/blk/144

12 lines
221 B
Plaintext
Raw Normal View History

( Same as MOVE, but with A@ and A! )
( src dst u -- )
: AMOVE
( u ) 0 DO
SWAP DUP I + A@ ( dst src x )
2020-05-23 04:17:38 +10:00
ROT TUCK I + ( src dst x dst )
A! ( src dst )
LOOP
2DROP
;