User manual

Table Of Contents
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-12
BS Block of Memory Search BS
CPU32Bug>BS 3000:18,2F2F<CR>
Effective address: 00003000
Mode 2, using <RANGE> with count:
Effective count : &24 count is displayedin decimal, and the data
00003012|2F2F pattern is found and displayed.
CPU32Bug>bs 3000,302F 3d34<CR>
Effective address: 00003000
Mode 2: the default size is word and the data
Effective address: 0000302F pattern is not found, so a message is output.
-not found-
CPU32Bug>bs 3000,302F 3d34 ;n<CR>
Effective address: 00003000
Mode 2: the default size is word and non-
Effective address: 0000302F aligned option is used, so the data pattern is
0000300F|3D34 found and displayed.
CPU32Bug>BS 3000:30 60,F0 ;B<CR>
Effective address: 00003000
Effective count : &48
00003006|6F 0000300B|61 00003015|6F 00003016|6E
00003017|66 00003018|69 00003019|67 0000301B|61
0000301C|62 0000301D|6C 0000301E|65 00003021|61
Mode 2, using <RANGE> with count, mask
option, and size option: count is displayed in
decimal, and the actual unmasked data
patterns found are displayed.
CPU32Bug>BS 3000 302F 0 F;V<CR>
Effective address: 00003000
Effective address: 0000302F
00003002|0045 00003004|7272 00003006|6F72 00003008|2053
0000300A|7461 0000300C|7475 0000300E|733D 00003010|3446
00003012|2F2F 00003014|436F 00003016|6E66 00003018|6967
0000301A|5461 0000301C|626C 0000301E|6553 00003020|7461
00003022|7274
Mode 3, mask option, scan for words with
low nibble non-zero: 17 non-matching
locations found.
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-13
BV Block of Memory Verify BV
3.7 BLOCK OF MEMORY VERIFY
BV <range><del><data> [<del><increment>][;B|W|L]
where:
<data> and <increment> are both expression parameters
options:
B – Byte
W – Word
L – Longword
The BV command compares the specified range of memory against a data pattern. If an
increment is specified, then <data> is incremented by this value following each comparison,
otherwise <data> remains a constant value. Enter a negative increment to execute a decrementing
pattern. The data entered by the user is right-justified in either a byte, word, or longword field
length (as specified by the option selected). The default field length is W (word).
User-entered data or increment must fit into the data field or leading bits are truncated to size. If
truncation occurs, then a message is printed stating the actual data pattern and/or the actual
increment value.
If the range is specified using a count then the count is assumed to be in terms of the data size.
Truncation always occurs on byte or word sized fields when negative values are entered. For
example, entering "-1" internally becomes $FFFFFFFF which gets truncated to $FF for byte or
$FFFF for word sized fields. There is no difference internally between entering "-1" and entering
$FFFFFFFFF, so truncation occurs for byte or word sized fields.
If the upper address of the range is not on the correct boundary for an integer multiple of the data
to be verified, then data is verified to the last boundary before the upper address. Addresses
outside of the specified range are not read under any condition. ''Effective address'' messages
displayed by the command show the extent of the area read.
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...