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

📄 d10v-regs.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="D10V-Regs">D10V-Regs</a>,

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

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

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

<hr><br>

</div>



<h5 class="subsection">Register Names</h5>



   <p>You can use the predefined symbols <code>r0</code> through <code>r15</code> to refer to the D10V

registers.  You can also use <code>sp</code> as an alias for <code>r15</code>.  The accumulators

are <code>a0</code> and <code>a1</code>.  There are special register-pair names that may

optionally be used in opcodes that require even-numbered registers. Register names are

not case sensitive.



   <p>Register Pairs

     <dl>

<dt><code>r0-r1</code>

     <dd><br><dt><code>r2-r3</code>

     <dd><br><dt><code>r4-r5</code>

     <dd><br><dt><code>r6-r7</code>

     <dd><br><dt><code>r8-r9</code>

     <dd><br><dt><code>r10-r11</code>

     <dd><br><dt><code>r12-r13</code>

     <dd><br><dt><code>r14-r15</code>

     <dd></dl>



   <p>The D10V also has predefined symbols for these control registers and status bits:

     <dl>

<dt><code>psw</code>

     <dd>Processor Status Word

<br><dt><code>bpsw</code>

     <dd>Backup Processor Status Word

<br><dt><code>pc</code>

     <dd>Program Counter

<br><dt><code>bpc</code>

     <dd>Backup Program Counter

<br><dt><code>rpt_c</code>

     <dd>Repeat Count

<br><dt><code>rpt_s</code>

     <dd>Repeat Start address

<br><dt><code>rpt_e</code>

     <dd>Repeat End address

<br><dt><code>mod_s</code>

     <dd>Modulo Start address

<br><dt><code>mod_e</code>

     <dd>Modulo End address

<br><dt><code>iba</code>

     <dd>Instruction Break Address

<br><dt><code>f0</code>

     <dd>Flag 0

<br><dt><code>f1</code>

     <dd>Flag 1

<br><dt><code>c</code>

     <dd>Carry flag

</dl>



   </body></html>



⌨️ 快捷键说明

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