📄 irp.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="Irp">Irp</a>,
Next:<a rel="next" accesskey="n" href="Irpc.html#Irpc">Irpc</a>,
Previous:<a rel="previous" accesskey="p" href="Internal.html#Internal">Internal</a>,
Up:<a rel="up" accesskey="u" href="Pseudo-Ops.html#Pseudo%20Ops">Pseudo Ops</a>
<hr><br>
</div>
<h3 class="section"><code>.irp </code><var>symbol</var><code>,</code><var>values</var><code></code><small class="dots">...</small></h3>
<p>Evaluate a sequence of statements assigning different values to <var>symbol</var>.
The sequence of statements starts at the <code>.irp</code> directive, and is
terminated by an <code>.endr</code> directive. For each <var>value</var>, <var>symbol</var> is
set to <var>value</var>, and the sequence of statements is assembled. If no
<var>value</var> is listed, the sequence of statements is assembled once, with
<var>symbol</var> set to the null string. To refer to <var>symbol</var> within the
sequence of statements, use <var>\symbol</var>.
<p>For example, assembling
<pre class="example"> .irp param,1,2,3
move d\param,sp@-
.endr
</pre>
<p>is equivalent to assembling
<pre class="example"> move d1,sp@-
move d2,sp@-
move d3,sp@-
</pre>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -