📄 hppa-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="HPPA%20Syntax">HPPA Syntax</a>,
Next:<a rel="next" accesskey="n" href="HPPA-Floating-Point.html#HPPA%20Floating%20Point">HPPA Floating Point</a>,
Previous:<a rel="previous" accesskey="p" href="HPPA-Options.html#HPPA%20Options">HPPA Options</a>,
Up:<a rel="up" accesskey="u" href="HPPA-Dependent.html#HPPA-Dependent">HPPA-Dependent</a>
<hr><br>
</div>
<h4 class="section">Syntax</h4>
<p>The assembler syntax closely follows the HPPA instruction set
reference manual; assembler directives and general syntax closely follow the
HPPA assembly language reference manual, with a few noteworthy differences.
<p>First, a colon may immediately follow a label definition. This is
simply for compatibility with how most assembly language programmers
write code.
<p>Some obscure expression parsing problems may affect hand written code which
uses the <code>spop</code> instructions, or code which makes significant
use of the <code>!</code> line separator.
<p><code>as</code> is much less forgiving about missing arguments and other
similar oversights than the HP assembler. <code>as</code> notifies you
of missing arguments as syntax errors; this is regarded as a feature, not a
bug.
<p>Finally, <code>as</code> allows you to use an external symbol without
explicitly importing the symbol. <em>Warning:</em> in the future this will be
an error for HPPA targets.
<p>Special characters for HPPA targets include:
<p><code>;</code> is the line comment character.
<p><code>!</code> can be used instead of a newline to separate statements.
<p>Since <code>$</code> has no special meaning, you may use it in symbol names.
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -