
Chapter 3. Using the Monitor/Debug Firmware
3-9
Commands
BC
Block Compare
Usage:
BC addr1 addr2 length
The BC command compares two contiguous blocks of memory on a byte by byte basis. The first
block starts at address addr1 and the second starts at address addr2, both of length bytes.
If the blocks are not identical, the address of the first mismatch is displayed. The value for
addresses addr1 and addr2 may be an absolute address specified as a hexadecimal value or a
symbol name. The value for length may be a symbol name or a number converted according to the
user defined radix (hexadecimal by default).
Example:
To verify that the data starting at 0xFFF2_0000 and ending at 0xFFF3_0000 is identical to the data
starting at 0xFFF0_0000, the command is:
bc
FFF20000 FFF00000 10000
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
.
..