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

📄 arc-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="ARC%20Directives">ARC Directives</a>,

Next:<a rel="next" accesskey="n" href="ARC-Opcodes.html#ARC%20Opcodes">ARC Opcodes</a>,

Previous:<a rel="previous" accesskey="p" href="ARC-Floating-Point.html#ARC%20Floating%20Point">ARC Floating Point</a>,

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

<hr><br>

</div>



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



   <p>The ARC version of <code>as</code> supports the following additional

machine directives:



     <dl>



     <br><dt><code>.2byte </code><var>expressions</var><code></code>

     <dd>*TODO*



     <br><dt><code>.3byte </code><var>expressions</var><code></code>

     <dd>*TODO*



     <br><dt><code>.4byte </code><var>expressions</var><code></code>

     <dd>*TODO*



     <br><dt><code>.extAuxRegister </code><var>name</var><code>,</code><var>address</var><code>,</code><var>mode</var><code></code>

     <dd>*TODO*



     <pre class="smallexample">            .extAuxRegister mulhi,0x12,w

          </pre>



     <br><dt><code>.extCondCode </code><var>suffix</var><code>,</code><var>value</var><code></code>

     <dd>*TODO*



     <pre class="smallexample">            .extCondCode is_busy,0x14

          </pre>



     <br><dt><code>.extCoreRegister </code><var>name</var><code>,</code><var>regnum</var><code>,</code><var>mode</var><code>,</code><var>shortcut</var><code></code>

     <dd>*TODO*



     <pre class="smallexample">            .extCoreRegister mlo,57,r,can_shortcut

          </pre>



     <br><dt><code>.extInstruction </code><var>name</var><code>,</code><var>opcode</var><code>,</code><var>subopcode</var><code>,</code><var>suffixclass</var><code>,</code><var>syntaxclass</var><code></code>

     <dd>*TODO*



     <pre class="smallexample">            .extInstruction mul64,0x14,0x0,SUFFIX_COND,SYNTAX_3OP|OP1_MUST_BE_IMM

          </pre>



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

     <dd>*TODO*



     <br><dt><code>.long </code><var>expressions</var><code></code>

     <dd>*TODO*



     <br><dt><code>.option </code><var>arc|arc5|arc6|arc7|arc8</var><code></code>

     <dd>The <code>.option</code> directive must be followed by the desired core

version. Again <code>arc</code> is an alias for

<code>arc6</code>.



     <p>Note: the <code>.option</code> directive overrides the command line option

<code>-marc</code>; a warning is emitted when the version is not consistent

between the two - even for the implicit default core version

(arc6).



     <br><dt><code>.short </code><var>expressions</var><code></code>

     <dd>*TODO*



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

     <dd>*TODO*



   </dl>



   </body></html>



⌨️ 快捷键说明

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