📄 c_search.htm
字号:
<title>The search Command</title><h1>search</h1><!--INDEX "search command" "search memory" -->The search command executes a search for a memory pattern.<p></dl><h2>Format</h2><dl><dd>The format for the search command is:<p><pre>search from to {val|-s str}-</pre>where:<p><table><tr><td>from </td><td>is the start address for the search operation.</td></tr><tr><td>to </td><td>is the end address for the search operation.</td></tr><tr><td>val </td><td>is the hexadecimal value that is the object of the search. </td></tr><tr><td>-s str </td><td>specifies that the search operation is for a string str.</td></tr></table><p></dl><h2>Functional Description</h2><dl><dd>The search command searches memory for a pattern. The pattern may be a single byte, multiple bytes, or an ASCII string.<p>If the -s option is specified, the next parameter is interpreted as an ASCII string. To search for a multiple-word string, enclose the string in double quotation marks.<p>The output of this command is printed to the screen via the more command.<p>The following example searches for 3c and d4 from 0xa0020000 to 0xa0030000:<p><pre>PMON> search a0020000 a0030000 3c d4</pre>The following example searches for "ABC" from 0xa0020000 to 0xa0030000:<p><pre>PMON> search a0020000 a0030000 -s "ABC" </pre><p></dl><h2>Files</h2><dl><dd>The source for the search command is located in <a href="../mon/search.c">mon/search.c</a>.</dl><h2>See Also</h2><dl><dd><a href="c_d.htm">d command</a> and<a href="c_more.htm">more</a> command.<p></dl><p><hr><b>Navigation:</b> <a href="index.htm">Document Home</a> | <a href="doctoc.htm">Document Contents</a> | <a href="docindex.htm">Document Index</a> <p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -