DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1
3-3
BC
Block of Memory Compare
BC
3.2 BLOCK OF MEMORY COMPARE
BC <range><del><addr>[;B|W|L]
options:
B – Byte
W – Word
L – Longword
The BC command compares the contents of the memory addresses defined by <range> to 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, W,
or L defines the size of data to which the count is referring. For example, a count of four with an
option of L would mean to compare four long words (or 16 bytes) to the <addr> location. If the
range beginning address is greater than the end address, an error results. An error also results if
an option field is specified without a count in the range.
For the following examples, assume the following data is in memory.
CPU32Bug>MD 4000:20;B<CR>
00004000
54 48 49 53 20 49 53 20
41 20 54 45 53 54 21 21
THIS IS A TEST!!
00004010
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
................
CPU32Bug>MD 4100:20;B<CR>
00004100
54 48 49 53 20 49 53 20
41 20 54 45 53 54 21 21
THIS IS A TEST!!
00004110
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
................
EXAMPLES
CPU32Bug>BC 4000,401F 4100<CR>
Effective address: 00004000
Effective address: 0000401F
Effective address: 00004100
CPU32Bug>
Memory compares, nothing printed
Содержание M68CPU32BUG
Страница 16: ...GENERAL INFORMATION M68CPU32BUG D REV 1 1 8 ...
Страница 30: ...DEBUG MONITOR DESCRIPTION M68CPU32BUG D REV 1 2 14 ...
Страница 102: ...DEBUG MONITOR COMMANDS M68CPU32BUG D REV 1 3 72 ...
Страница 168: ...DIAGNOSTIC FIRMWARE GUIDE M68CPU32BUG D REV 1 6 24 ...