User`s manual

BC - Block of Memory Compare
3-5
3
BC - Block of Memory Compare
Command Input
BC RANGE ADDR [;B|H|W]
Options
Description
The BC command compares the contents of memory defined by
RANGE with another place in memory, beginning at ADDR.
The option field is only allowed when RANGE is specified using a
COUNT. In this case, the
B, H, or W defines the size of the data that
the COUNT is referring to. For example, a COUNT of 4 with an
option of W would mean to compare 4 words (16 bytes). The default
data type is word.
No confirmation is printed if the memory being compared matches.
If the memory does not match, each mismatch is displayed. If the
RANGE beginning address is greater than or equal to the end
address, an error message is displayed and no comparison takes
place.
For the following examples, assume that memory blocks 20000-
20020 and 21000-21020 contain identical data.
Examples
Example 1: Compare the memory, with nothing printed.
PPC1-Bug>BC 20000 2001F 21000 <Return>
Effective address: 00020000
Effective address: 0002001F
Effective address: 00021000
PPC1-Bug>
B Byte
H Half-word
W Word