labels.html

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

HTML
34
字号
<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="Labels">Labels</a>,

Next:<a rel="next" accesskey="n" href="Setting-Symbols.html#Setting%20Symbols">Setting Symbols</a>,

Up:<a rel="up" accesskey="u" href="Symbols.html#Symbols">Symbols</a>

<hr><br>

</div>



<h3 class="section">Labels</h3>



   <p>A <dfn>label</dfn> is written as a symbol immediately followed by a colon

<code>:</code>.  The symbol then represents the current value of the

active location counter, and is, for example, a suitable instruction

operand.  You are warned if you use the same symbol to represent two

different locations: the first definition overrides any other

definitions.



   <p>On the HPPA, the usual form for a label need not be immediately followed by a

colon, but instead must start in column zero.  Only one label may be defined on

a single line.  To work around this, the HPPA version of <code>as</code> also

provides a special directive <code>.label</code> for defining labels more flexibly.



   </body></html>



⌨️ 快捷键说明

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