📄 c_copy
字号:
The copy CommandcopyThe copy command copies a specified number of bytes from one location in memory to another.FormatThe format of the copy command is:copy [-f] from to sizewhere:from declares the source address location. to declares the target address location. size is the size of the block of memory to be copied. This quantity is specified in bytes.-f Specifies that the destination is flash memory.Functional DescriptionThe copy command replicates a specified number of bytes from one place in memory to another. The -f option is used when copying to flash memory. This requires thatthe board supports writes to that address range, and that the flashmemories support sector erase.If to is less than from, copying is performed in ascending order starting at from. If from is less than to, copying is performed in descending order starting at from + size.When moving a data block down, the source data is copied from thebottom of the block upwards: and when moving a data block up, thesource data is copied from the top of the block downwards. By thistechnique, there is no risk of copying over data in overlapping blockmove operations; as the data in the overlapping area is copied first.However, if the -f option is specified, copying is always performedin ascending address order.Examples
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -