📄 mmix-syntax.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="MMIX-Syntax">MMIX-Syntax</a>,
Next:<a rel="next" accesskey="n" href="MMIX-mmixal.html#MMIX-mmixal">MMIX-mmixal</a>,
Previous:<a rel="previous" accesskey="p" href="MMIX-Expand.html#MMIX-Expand">MMIX-Expand</a>,
Up:<a rel="up" accesskey="u" href="MMIX-Dependent.html#MMIX-Dependent">MMIX-Dependent</a>
<hr><br>
</div>
<h4 class="section">Syntax</h4>
<p>The assembly syntax is supposed to be upward compatible with that
described in Sections 1.3 and 1.4 of <code>The Art of Computer
Programming, Volume 1</code>. Draft versions of those chapters as well as other
MMIX information is located at
<a name="mmixsite"></a><<code>http://www-cs-faculty.stanford.edu/~knuth/mmix-news.html</code>>.
Most code examples from the mmixal package located there should work
unmodified when assembled and linked as single files, with a few
noteworthy exceptions (see <a href="MMIX-mmixal.html#MMIX-mmixal">MMIX-mmixal</a>).
<p>Before an instruction is emitted, the current location is aligned to the
next four-byte boundary. If a label is defined at the beginning of the
line, its value will be the aligned value.
<p>In addition to the traditional hex-prefix <code>0x</code>, a hexadecimal number
can also be specified by the prefix character <code>#</code>.
<p>After all operands to an MMIX instruction or directive have been
specified, the rest of the line is ignored, treated as a comment.
<ul class="menu">
<li><a accesskey="1" href="MMIX-Chars.html#MMIX-Chars">MMIX-Chars</a>: Special Characters
<li><a accesskey="2" href="MMIX-Symbols.html#MMIX-Symbols">MMIX-Symbols</a>: Symbols
<li><a accesskey="3" href="MMIX-Regs.html#MMIX-Regs">MMIX-Regs</a>: Register Names
<li><a accesskey="4" href="MMIX-Pseudos.html#MMIX-Pseudos">MMIX-Pseudos</a>: Assembler Directives
</ul>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -