Motorola PPC/CPCI-690 Reference Manual page 124

Table of Contents

Advertisement

Command Set
bs
D
ESCRIPTION
S
YNTAX
P
ARAMETERS
begin
end
value
E
1
XAMPLE
4 - 50
Command to search a memory area for a byte, a word, or a long constant or
for a user defined ASCII string. There are two tasks which can be done by
means of bs:
• Displaying the locations where the searched byte, word, long constant,
or ASCII string is found
• Displaying the locations where the searched byte, word, long constant,
or ASCII string is not found
bs <begin> <end> [/]<value> [B|W|L|P]
Specifies the start address of the memory area which is searched. , i.e. the
first byte of the memory area which is read
Specifies the end address of the memory area which is searched, i.e. the first
byte of the memory area which is not read
Specifies the constant to search for. Possible constants are:
• byte value
A byte constant followed by the character B, e.g. 3F B
• word value
A word constant followed by the character W, e.g. 3F3F W
• long value
A long constant followed by the character L, e.g. EFEFEFEF L
• string value
An ASCII string followed by the character P. The ASCII string has to be
set in inverted commas, e.g. "Force" P
A 4-KByte memory from 00002D00
constant 3F
. The byte constant is found at addresses 00002E01
16
00002E05
.
16
PowerBoot> bs 2D00 3D00 3F B
Search: 00002E01 = 3F
Search: 00002E05 = 3F
PowerBoot>
.. 00003D00
is searched for the byte
16
16
PowerBoot
and
16
PPC/CPCI-690

Advertisement

Table of Contents
loading

Table of Contents