To locate specific values within a file, use the
The commands have the following form:
[ address ] [ ? / ]l value
[ address ] [ ? / ]L value
In the above command lines address is the address at which to start the search, the l command searches for 2 byte values, the L command searches for 4 byte values, and value is the value (given as an expression) to be located. ? and / indicate whether to conduct the search in the text or data section.
The following command starts the search at the current text address, and continues until the first match or the end of the file. If the value is found, the current address is set to that value's address: