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

📄 m88k-directives.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="M88K%20Directives">M88K Directives</a>,

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

<hr><br>

</div>



<h4 class="section">M88K Machine Directives</h4>



   <p>The M88K version of the assembler supports the following machine

directives:



     <dl>

<dt><code>.align</code>

     <dd>This directive aligns the section program counter on the next 4-byte

boundary.



     <br><dt><code>.dfloat </code><var>expr</var><code></code>

     <dd>This assembles a double precision (64-bit) floating point constant.



     <br><dt><code>.ffloat </code><var>expr</var><code></code>

     <dd>This assembles a single precision (32-bit) floating point constant.



     <br><dt><code>.half </code><var>expr</var><code></code>

     <dd>This directive assembles a half-word (16-bit) constant.



     <br><dt><code>.word </code><var>expr</var><code></code>

     <dd>This assembles a word (32-bit) constant.



     <br><dt><code>.string "</code><var>str</var><code>"</code>

     <dd>This directive behaves like the standard <code>.ascii</code> directive for

copying <var>str</var> into the object file.  The string is not terminated

with a null byte.



     <br><dt><code>.set </code><var>symbol</var><code>, </code><var>value</var><code></code>

     <dd>This directive creates a symbol named <var>symbol</var> which is an alias for

another symbol (possibly not yet defined).  This should not be confused

with the mnemonic <code>set</code>, which is a legitimate M88K instruction.



     <br><dt><code>.def </code><var>symbol</var><code>, </code><var>value</var><code></code>

     <dd>This directive is synonymous with <code>.set</code> and is presumably provided

for compatibility with other M88K assemblers.



     <br><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>



   </body></html>



⌨️ 快捷键说明

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