📄 c_sym.htm
字号:
<title>The sym Command</title><h1>sym</h1><!--INDEX "sym command" "define symbol" -->The sym command sets a symbolic name for a variable.<p></dl><h2>Format</h2><dl><dd>The format for this command is:<p><pre> sym <var>name</var> <var>value</var></pre><p>where:<p><table><tr><td><var>name</var> </td><td>is the name of the variable for which a value is to be set.</td></tr><tr><td><var>value</var> </td><td>is the value to which the variable is set.</td></tr></table><p></dl><h2>Functional Description</h2><dl><dd>The sym command sets a symbolic name to the specified value. Normally the load command clears the symbol table. However, there is an option to override the clearing of the symbol table (see the load command for details). <p>Symbols can be displayed using the ls command.<p>Examples illustrating the use of this command follow.<p><pre>PMON> sym start 9fc00240PMON> sym flush_cache 9fc016f0PMON> l start 4start+0x240 3c09a07f lui t1,0xa07fstart+0x244 3c08003c lui t0,0x3cstart+0x248 3529ff20 ori t1,t1,0xff20PMON> l 9fc0027c 5 start+0x27c 03a1e825 or sp,sp,at start+0x280 0ff005bc jal flush_cachestart+0x284 24040000 addiu a0,zero,0x0start+0x288 0ff005bc jal flush_cachestart+0x28c 24040001 addiu a0,zero,0x1</pre><p></dl><h2>See Also</h2><dl><dd><a href="c_ls.htm">ls</a>, <a href="c_load.htm">load</a>, <a href="c_l.htm">l</a>,and <a href="c_sh.htm">sh</a> commands.</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 + -