Chapter 2. Using the Monitor/Debug Firmware
2-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 0x20000 and ending at 0x30000 is identical to the data
starting at 0x80000, the command is:
bc
20000 80000 10000
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
n
c
.
..