toolchain/share/doc/as.html/TIC54X_002dLocals.html

71 lines
2.8 KiB
HTML
Raw Permalink Normal View History

2024-01-10 05:24:32 +00:00
<html lang="en">
<head>
<title>TIC54X-Locals - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="TIC54X_002dDependent.html#TIC54X_002dDependent" title="TIC54X-Dependent">
<link rel="prev" href="TIC54X_002dSubsyms.html#TIC54X_002dSubsyms" title="TIC54X-Subsyms">
<link rel="next" href="TIC54X_002dBuiltins.html#TIC54X_002dBuiltins" title="TIC54X-Builtins">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This file documents the GNU Assembler "as".
Copyright (C) 1991-2019 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, with no Front-Cover Texts, and with no
Back-Cover Texts. A copy of the license is included in the
section entitled ``GNU Free Documentation License''.
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="TIC54X-Locals"></a>
<a name="TIC54X_002dLocals"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="TIC54X_002dBuiltins.html#TIC54X_002dBuiltins">TIC54X-Builtins</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="TIC54X_002dSubsyms.html#TIC54X_002dSubsyms">TIC54X-Subsyms</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="TIC54X_002dDependent.html#TIC54X_002dDependent">TIC54X-Dependent</a>
<hr>
</div>
<h4 class="subsection">9.45.6 Local Labels</h4>
<p>Local labels may be defined in two ways:
<ul>
<li>$N, where N is a decimal number between 0 and 9
<li>LABEL?, where LABEL is any legal symbol name.
</ul>
<p>Local labels thus defined may be redefined or automatically generated.
The scope of a local label is based on when it may be undefined or reset.
This happens when one of the following situations is encountered:
<ul>
<li>.newblock directive see <a href="TIC54X_002dDirectives.html#TIC54X_002dDirectives"><code>.newblock</code></a>
<li>The current section is changed (.sect, .text, or .data)
<li>Entering or leaving an included file
<li>The macro scope where the label was defined is exited
</ul>
</body></html>