System information

Console Commands
A-16
MicroVax 3100 Models 88/98 User Information
>>>
SEARCH
The SEARCH command finds all the occurrences of a pattern and reports the addresses
where the pattern was found. If the /NOT qualifier is present, the command reports all
addresses in which the pattern did not match.
Format:
SEARCH [qualifier-list] {address} {pattern} [{mask}]
SEARCH accepts an optional mask that indicates bits to be ignored (don't care bits). For
example, to ignore bit 0 in the comparison, specify a mask of 1. The mask, if not present,
defaults to 0.
A match occurs if (pattern and not mask) = (data and not mask),
where:
Pattern is the target data
Mask is the optional don't care bitmask (which defaults to 0)
Data is the data at the current address
SEARCH reports the address under the following conditions:
/NOT Qualifier Match Condition Action
Absent True Report address
Absent False No report
Present True No report
Present False Report address
The address is advanced by the size of the pattern (byte, word, longword, or quadword),
unless it is overridden by the /STEP qualifier.
Qualifiers:
Data control: /B, /W, /L, /Q, /N:{count}, /STEP:{size}, /WRONG
Address space control: /P, /V, /U
Command specific:
/NOT Inverts the sense of the match.
Arguments: