📄 pdp-11-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="PDP-11-Syntax">PDP-11-Syntax</a>,
Next:<a rel="next" accesskey="n" href="PDP-11-Mnemonics.html#PDP-11-Mnemonics">PDP-11-Mnemonics</a>,
Previous:<a rel="previous" accesskey="p" href="PDP-11-Pseudos.html#PDP-11-Pseudos">PDP-11-Pseudos</a>,
Up:<a rel="up" accesskey="u" href="PDP-11-Dependent.html#PDP-11-Dependent">PDP-11-Dependent</a>
<hr><br>
</div>
<h4 class="section">PDP-11 Assembly Language Syntax</h4>
<p><code>as</code> supports both DEC syntax and BSD syntax. The only
difference is that in DEC syntax, a <code>#</code> character is used to denote
an immediate constants, while in BSD syntax the character for this
purpose is <code>$</code>.
<p>eneral-purpose registers are named <code>r0</code> through <code>r7</code>.
Mnemonic alternatives for <code>r6</code> and <code>r7</code> are <code>sp</code> and
<code>pc</code>, respectively.
<p>Floating-point registers are named <code>ac0</code> through <code>ac3</code>, or
alternatively <code>fr0</code> through <code>fr3</code>.
<p>Comments are started with a <code>#</code> or a <code>/</code> character, and extend
to the end of the line. (FIXME: clash with immediates?)
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -