📄 directives-i960.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="Directives-i960">Directives-i960</a>,
Next:<a rel="next" accesskey="n" href="Opcodes-for-i960.html#Opcodes%20for%20i960">Opcodes for i960</a>,
Previous:<a rel="previous" accesskey="p" href="Floating-Point-i960.html#Floating%20Point-i960">Floating Point-i960</a>,
Up:<a rel="up" accesskey="u" href="i960-Dependent.html#i960-Dependent">i960-Dependent</a>
<hr><br>
</div>
<h4 class="section">i960 Machine Directives</h4>
<dl>
<dt><code>.bss </code><var>symbol</var><code>, </code><var>length</var><code>, </code><var>align</var><code></code>
<dd>Reserve <var>length</var> bytes in the bss section for a local <var>symbol</var>,
aligned to the power of two specified by <var>align</var>. <var>length</var> and
<var>align</var> must be positive absolute expressions. This directive
differs from <code>.lcomm</code> only in that it permits you to specify
an alignment. See <a href="Lcomm.html#Lcomm"><code>.lcomm</code></a>.
</dl>
<dl>
<dt><code>.extended </code><var>flonums</var><code></code>
<dd><code>.extended</code> expects zero or more flonums, separated by commas; for
each flonum, <code>.extended</code> emits an <small>IEEE</small> extended-format (80-bit)
floating-point number.
<br><dt><code>.leafproc </code><var>call-lab</var><code>, </code><var>bal-lab</var><code></code>
<dd>You can use the <code>.leafproc</code> directive in conjunction with the
optimized <code>callj</code> instruction to enable faster calls of leaf
procedures. If a procedure is known to call no other procedures, you
may define an entry point that skips procedure prolog code (and that does
not depend on system-supplied saved context), and declare it as the
<var>bal-lab</var> using <code>.leafproc</code>. If the procedure also has an
entry point that goes through the normal prolog, you can specify that
entry point as <var>call-lab</var>.
<p>A <code>.leafproc</code> declaration is meant for use in conjunction with the
optimized call instruction <code>callj</code>; the directive records the data
needed later to choose between converting the <code>callj</code> into a
<code>bal</code> or a <code>call</code>.
<p><var>call-lab</var> is optional; if only one argument is present, or if the
two arguments are identical, the single argument is assumed to be the
<code>bal</code> entry point.
<br><dt><code>.sysproc </code><var>name</var><code>, </code><var>index</var><code></code>
<dd>The <code>.sysproc</code> directive defines a name for a system procedure.
After you define it using <code>.sysproc</code>, you can use <var>name</var> to
refer to the system procedure identified by <var>index</var> when calling
procedures with the optimized call instruction <code>callj</code>.
<p>Both arguments are required; <var>index</var> must be between 0 and 31
(inclusive).
</dl>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -