📄 d10v-addressing.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-Addressing">D10V-Addressing</a>,
Next:<a rel="next" accesskey="n" href="D10V-Word.html#D10V-Word">D10V-Word</a>,
Previous:<a rel="previous" accesskey="p" href="D10V-Regs.html#D10V-Regs">D10V-Regs</a>,
Up:<a rel="up" accesskey="u" href="D10V-Syntax.html#D10V-Syntax">D10V-Syntax</a>
<hr><br>
</div>
<h5 class="subsection">Addressing Modes</h5>
<p><code>as</code> understands the following addressing modes for the D10V.
<code>R</code><var>n</var><code></code> in the following refers to any of the numbered
registers, but <em>not</em> the control registers.
<dl>
<dt><code>R</code><var>n</var><code></code>
<dd>Register direct
<br><dt><code>@R</code><var>n</var><code></code>
<dd>Register indirect
<br><dt><code>@R</code><var>n</var><code>+</code>
<dd>Register indirect with post-increment
<br><dt><code>@R</code><var>n</var><code>-</code>
<dd>Register indirect with post-decrement
<br><dt><code>@-SP</code>
<dd>Register indirect with pre-decrement
<br><dt><code>@(</code><var>disp</var><code>, R</code><var>n</var><code>)</code>
<dd>Register indirect with displacement
<br><dt><code></code><var>addr</var><code></code>
<dd>PC relative address (for branch or rep).
<br><dt><code>#</code><var>imm</var><code></code>
<dd>Immediate data (the <code>#</code> is optional and ignored)
</dl>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -