This command can be used to create a memory-based bank of the required size, and will copy the contents of the specified memblock into that bank.
In the first form of this command, the whole memblock will be copied into the bank. The size of the bank will be the same as the size of the memblock.
In the second form of this command, the selected portion of the memblock will be copied into the bank. The size of the bank will be the same as the number of bytes copied. If you specify a position and size that causes the copy to go past the end of the memblock, a runtime error will be triggered. |