set.html

来自「gcc手册」· HTML 代码 · 共 36 行

HTML
36
字号
<html lang="en">

<head>

<title>Using as</title>

<meta http-equiv="Content-Type" content="text/html">

<meta name="description" content="Using as">

<meta name="generator" content="makeinfo 4.3">

<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">

</head>

<body>

<div class="node">

<p>

Node:<a name="Set">Set</a>,

Next:<a rel="next" accesskey="n" href="Short.html#Short">Short</a>,

Previous:<a rel="previous" accesskey="p" href="Section.html#Section">Section</a>,

Up:<a rel="up" accesskey="u" href="Pseudo-Ops.html#Pseudo%20Ops">Pseudo Ops</a>

<hr><br>

</div>



<h3 class="section"><code>.set </code><var>symbol</var><code>, </code><var>expression</var><code></code></h3>



   <p>Set the value of <var>symbol</var> to <var>expression</var>.  This

changes <var>symbol</var>'s value and type to conform to

<var>expression</var>.  If <var>symbol</var> was flagged as external, it remains

flagged (see <a href="Symbol-Attributes.html#Symbol%20Attributes">Symbol Attributes</a>).



   <p>You may <code>.set</code> a symbol many times in the same assembly.



   <p>If you <code>.set</code> a global symbol, the value stored in the object

file is the last value stored into it.



   <p>The syntax for <code>set</code> on the HPPA is

<code></code><var>symbol</var><code> .set </code><var>expression</var><code></code>.



   </body></html>



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?