21
2.4.4. BM - Block Move
BM
BM
BM
BM
BM
Usage:
BM begin end dest
The BM command moves a contiguous block of memory starting at address begin, stopping at address end, to the
new address dest. The BM command copies memory as a series of bytes, and does not alter the original block.
The value for addresses begin, end, and dest may be an absolute address specified as a hexadecimal value, or a
symbol name. If the destination address overlaps the block defined by begin and end, an error message is produced
and the command exits.
Examples:
To copy a block of memory starting at 0x30040000 and ending at 0x30080000 to the location 0x00200000, the
command is:
bm
30040000 30080000 200000
To copy the target code’s data section (defined by the symbols data_start and data_end) to 0x00200000, the
command is:
bm
data_start data_end 200000
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..