MM range address
range
Specifies the range of memory to copy.
address
Destination address to copy the range.
The Memory Move (MM) command copies all the values in one block of memory directly to another block of memory of the same size. All data in the source block is guaranteed to be copied completely over the destination block, even if the two blocks overlap.
When the source is at a higher address than the destination, the Move Memory command copies data starting at the source block's lowest address. When the source is at a lower address, the Memory Move command copies data beginning at the source block's highest address.
You use the Memory Move command to program in Assembly mode (to copy function fragments, for example) or to copy large amounts of data.
In the following example, the block of memory to copy begins with the first element of array1 and is array_size bytes long. It is copied directly to a block of the same size, beginning at the address of the first element of array2.
>MM array1[0] L array_size array2[0]
>