neingeist
/
arduinisten
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

90 lines
4.4 KiB
HTML

<html lang="en">
<head>
<title>a - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.7">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Invoking.html#Invoking" title="Invoking">
<link rel="next" href="alternate.html#alternate" title="alternate">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This file documents the GNU Assembler "as".
Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002,
2006, 2007 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.1
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''.
man end-->
<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; }
--></style>
</head>
<body>
<div class="node">
<p>
<a name="a"></a>Next:&nbsp;<a rel="next" accesskey="n" href="alternate.html#alternate">alternate</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Invoking.html#Invoking">Invoking</a>
<hr><br>
</div>
<h3 class="section">2.1 Enable Listings: <span class="option">-a[cdghlns]</span></h3>
<p><a name="index-_002da-47"></a><a name="index-_002dac-48"></a><a name="index-_002dad-49"></a><a name="index-_002dag-50"></a><a name="index-_002dah-51"></a><a name="index-_002dal-52"></a><a name="index-_002dan-53"></a><a name="index-_002das-54"></a><a name="index-listings_002c-enabling-55"></a><a name="index-assembly-listings_002c-enabling-56"></a>
These options enable listing output from the assembler. By itself,
<span class="samp">-a</span> requests high-level, assembly, and symbols listing.
You can use other letters to select specific options for the list:
<span class="samp">-ah</span> requests a high-level language listing,
<span class="samp">-al</span> requests an output-program assembly listing, and
<span class="samp">-as</span> requests a symbol table listing.
High-level listings require that a compiler debugging option like
<span class="samp">-g</span> be used, and that assembly listings (<span class="samp">-al</span>) be requested
also.
<p>Use the <span class="samp">-ag</span> option to print a first section with general assembly
information, like as version, switches passed, or time stamp.
<p>Use the <span class="samp">-ac</span> 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 <span class="samp">-ad</span> 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 <span class="samp">-an</span> option turns off all forms processing.
If you do not request listing output with one of the <span class="samp">-a</span> options, the
listing-control directives have no effect.
<p>The letters after <span class="samp">-a</span> may be combined into one option,
<em>e.g.</em>, <span class="samp">-aln</span>.
<p>Note if the assembler source is coming from the standard input (e.g.,
because it
is being created by <code>gcc</code> and the <span class="samp">-pipe</span> 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>