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

📄 d30v-chars.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="D30V-Chars">D30V-Chars</a>,

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

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

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

<hr><br>

</div>



<h5 class="subsection">Special Characters</h5>



   <p><code>;</code> and <code>#</code> are the line comment characters. 

Sub-instructions may be executed in order, in reverse-order, or in parallel. 

Instructions listed in the standard one-per-line format will be executed

sequentially unless you use the <code>-O</code> option.



   <p>To specify the executing order, use the following symbols:

     <dl>

<dt><code>-&gt;</code>

     <dd>Sequential with instruction on the left first.



     <br><dt><code>&lt;-</code>

     <dd>Sequential with instruction on the right first.



     <br><dt><code>||</code>

     <dd>Parallel

</dl>



   <p>The D30V syntax allows either one instruction per line, one instruction per line with

the execution symbol, or two instructions per line.  For example

     <dl>

<dt><code>abs r2,r3 -&gt; abs r4,r5</code>

     <dd>Execute these sequentially.  The instruction on the right is in the right

container and is executed second.



     <br><dt><code>abs r2,r3 &lt;- abs r4,r5</code>

     <dd>Execute these reverse-sequentially.  The instruction on the right is in the right

container, and is executed first.



     <br><dt><code>abs r2,r3 || abs r4,r5</code>

     <dd>Execute these in parallel.



     <br><dt><code>ldw r2,@(r3,r4) ||</code>

     <dd><dt><code>mulx r6,r8,r9</code>

     <dd>Two-line format. Execute these in parallel.



     <br><dt><code>mulx a0,r8,r9</code>

     <dd><dt><code>stw r2,@(r3,r4)</code>

     <dd>Two-line format. Execute these sequentially unless <code>-O</code> option is

used.  If the <code>-O</code> option is used, the assembler will determine if

the instructions could be done in parallel (the above two instructions

can be done in parallel), and if so, emit them as parallel instructions. 

The assembler will put them in the proper containers.  In the above

example, the assembler will put the <code>stw</code> instruction in left

container and the <code>mulx</code> instruction in the right container.



     <br><dt><code>stw r2,@(r3,r4) -&gt;</code>

     <dd><dt><code>mulx a0,r8,r9</code>

     <dd>Two-line format.  Execute the <code>stw</code> instruction followed by the

<code>mulx</code> instruction sequentially.  The first instruction goes in the

left container and the second instruction goes into right container. 

The assembler will give an error if the machine ordering constraints are

violated.



     <br><dt><code>stw r2,@(r3,r4) &lt;-</code>

     <dd><dt><code>mulx a0,r8,r9</code>

     <dd>Same as previous example, except that the <code>mulx</code> instruction is

executed before the <code>stw</code> instruction. 

</dl>



   <p>Since <code>$</code> has no special meaning, you may use it in symbol names.



   </body></html>



⌨️ 快捷键说明

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