⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listing.html

📁 gcc手册
💻 HTML
字号:
<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="listing">listing</a>,

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

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

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

<hr><br>

</div>



<h3 class="section">Configuring listing output: <code>--listing</code></h3>



   <p>The listing feature of the assembler can be enabled via the command line switch

<code>-a</code> (see <a href="a.html#a">a</a>).  This feature combines the input source file(s) with a

hex dump of the corresponding locations in the output object file, and displays

them as a listing file.  The format of this listing can be controlled by pseudo

ops inside the assembler source (see <a href="List.html#List">List</a> see <a href="Title.html#Title">Title</a> see <a href="Sbttl.html#Sbttl">Sbttl</a>

see <a href="Psize.html#Psize">Psize</a> see <a href="Eject.html#Eject">Eject</a>) and also by the following switches:



     <dl>

<dt><code>--listing-lhs-width=number</code>

     <dd>Sets the maximum width, in words, of the first line of the hex byte dump.  This

dump appears on the left hand side of the listing output.



     <br><dt><code>--listing-lhs-width2=number</code>

     <dd>Sets the maximum width, in words, of any further lines of the hex byte dump for

a given inut source line.  If this value is not specified, it defaults to being

the same as the value specified for <code>--listing-lhs-width</code>.  If neither

switch is used the default is to one.



     <br><dt><code>--listing-rhs-width=number</code>

     <dd>Sets the maximum width, in characters, of the source line that is displayed

alongside the hex dump.  The default value for this parameter is 100.  The

source line is displayed on the right hand side of the listing output.



     <br><dt><code>--listing-cont-lines=number</code>

     <dd>Sets the maximum number of continuation lines of hex dump that will be

displayed for a given single line of source input.  The default value is 4. 

</dl>



   </body></html>



⌨️ 快捷键说明

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