MS range list
range
The range of memory to search.
list
A list of byte values separated by spaces or commas or an ASCII string delimited by quotation marks.
The Memory Search (MS) command scans a range of memory for specific byte values. Use this command to test for the presence of certain values within a range of data.
You can specify any number of byte values to the Memory Search command. Unless the list is an ASCII string, each byte value must be separated by a space or a comma.
If the list contains more than one byte value, the Memory Search command looks for a series of bytes that precisely match the order and value of bytes in the list. If the command finds such a series of bytes, it displays the beginning address of that series.
The following example displays the address of each memory location containing the string error. The command searched the first 1,500 bytes at the address specified by the variable buffer. CodeView found the string at three addresses.
>MS buffer L 1500 "error"
2BBA:0404
2BBA:05E3
2BBA:0604
>
The following example displays the address of each memory location that contains the byte value 0A in the range DS:0100 to DS:0200; hexadecimal is assumed to be the default radix. CodeView found the value at two addresses.
>MS DS:100 200 A ;* hexadecimal radix assumed
3CBA:0132
3CBA:01C2
>