Search command

Purpose: Searches the range for the character(s) in the list.

Format: S range list

Remarks: All matches are indicated by displaying the addresses where
matches are found.

A display of the prompt (-) without an address means that
no match was found.

Note:
If you enter only an offset for the starting address
of the range, the S command assumes the segment con-
tained in the DS register.

Example: If you want to search the range of addresses from CS:100h
through CS:110h for 41h, type

S CS:100 110 41

If two matches are found the response might be:

04BA:0104
04BA:010D

If you want to search the same range of addresses as in the
previous example for a match with the 4-byte-long list,
enter:

S CS:100 L 11 41 "AB" E

The starting addresses of all matches are listed. If no match
is found, no address is displayed.