line.html

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

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

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

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

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

<hr><br>

</div>



<h3 class="section"><code>.line </code><var>line-number</var><code></code></h3>



   <p>Change the logical line number.  <var>line-number</var> must be an absolute

expression.  The next line has that logical line number.  Therefore any other

statements on the current line (after a statement separator character) are

reported as on logical line number <var>line-number</var> - 1.  One day

<code>as</code> will no longer support this directive: it is recognized only

for compatibility with existing assembler programs.



   <p><em>Warning:</em> In the AMD29K configuration of as, this command is

not available; use the synonym <code>.ln</code> in that context.



   <p>Even though this is a directive associated with the <code>a.out</code> or

<code>b.out</code> object-code formats, <code>as</code> still recognizes it

when producing COFF output, and treats <code>.line</code> as though it

were the COFF <code>.ln</code> <em>if</em> it is found outside a

<code>.def</code>/<code>.endef</code> pair.



   <p>Inside a <code>.def</code>, <code>.line</code> is, instead, one of the directives

used by compilers to generate auxiliary symbol information for

debugging.



   </body></html>



⌨️ 快捷键说明

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