size.html

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

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

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

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

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

<hr><br>

</div>



<h3 class="section"><code>.size</code> (COFF version)</h3>



   <p>This directive is generated by compilers to include auxiliary debugging

information in the symbol table.  It is only permitted inside

<code>.def</code>/<code>.endef</code> pairs.



   <p><code>.size</code> is only meaningful when generating COFF format output; when

<code>as</code> is generating <code>b.out</code>, it accepts this directive but

ignores it.



<h3 class="section"><code>.size </code><var>name</var><code> , </code><var>expression</var><code></code> (ELF version)</h3>



   <p>This directive is used to set the size associated with a symbol <var>name</var>. 

The size in bytes is computed from <var>expression</var> which can make use of label

arithmetic.  This directive is typically used to set the size of function

symbols.



   </body></html>



⌨️ 快捷键说明

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