a.html

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

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

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

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

<hr><br>

</div>



<h3 class="section">Enable Listings: <code>-a[cdhlns]</code></h3>



   <p>These options enable listing output from the assembler.  By itself,

<code>-a</code> requests high-level, assembly, and symbols listing. 

You can use other letters to select specific options for the list:

<code>-ah</code> requests a high-level language listing,

<code>-al</code> requests an output-program assembly listing, and

<code>-as</code> requests a symbol table listing. 

High-level listings require that a compiler debugging option like

<code>-g</code> be used, and that assembly listings (<code>-al</code>) be requested

also.



   <p>Use the <code>-ac</code> option to omit false conditionals from a listing.  Any lines

which are not assembled because of a false <code>.if</code> (or <code>.ifdef</code>, or any

other conditional), or a true <code>.if</code> followed by an <code>.else</code>, will be

omitted from the listing.



   <p>Use the <code>-ad</code> option to omit debugging directives from the

listing.



   <p>Once you have specified one of these options, you can further control

listing output and its appearance using the directives <code>.list</code>,

<code>.nolist</code>, <code>.psize</code>, <code>.eject</code>, <code>.title</code>, and

<code>.sbttl</code>. 

The <code>-an</code> option turns off all forms processing. 

If you do not request listing output with one of the <code>-a</code> options, the

listing-control directives have no effect.



   <p>The letters after <code>-a</code> may be combined into one option,

<em>e.g.</em>, <code>-aln</code>.



   <p>Note if the assembler source is coming from the standard input (eg because it

is being created by <code>gcc</code> and the <code>-pipe</code> command line switch

is being used) then the listing will not contain any comments or preprocessor

directives.  This is because the listing code buffers input source lines from

stdin only after they have been preprocessed by the assembler.  This reduces

memory usage and makes the code more efficient.



   </body></html>



⌨️ 快捷键说明

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