Command: Copy words from one region to another in main memory.
((PUB ┆ PRI))
WORDMOVE (DestAddress, SrcAddress, Count )
...
Code Block |
---|
VAR
word Buff1[100]
word Buff2[100]
PUB Main
wordmove(@Buff2, @Buff1, 100) 'Copy Buff1 to Buff2 |
The first line of the Main method, above, copies the entire 100-word (200-byte) Buff1 array to the Buff2 array. WORDMOVE is faster at this task than a dedicated REPEAT loop.
Excerpt | ||
---|---|---|
| ||
Copy words from one region to another in main memory. |