📄 sh64-directives.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="SH64%20Directives">SH64 Directives</a>,
Next:<a rel="next" accesskey="n" href="SH64-Opcodes.html#SH64%20Opcodes">SH64 Opcodes</a>,
Previous:<a rel="previous" accesskey="p" href="SH64-Syntax.html#SH64%20Syntax">SH64 Syntax</a>,
Up:<a rel="up" accesskey="u" href="SH64-Dependent.html#SH64-Dependent">SH64-Dependent</a>
<hr><br>
</div>
<h4 class="section">SH64 Machine Directives</h4>
<p>In addition to the SH directives, the SH64 provides the following
directives:
<dl>
<br><dt><code>.mode [shmedia|shcompact]</code>
<dd><dt><code>.isa [shmedia|shcompact]</code>
<dd>Specify the ISA for the following instructions (the two directives are
equivalent). Note that programs such as <code>objdump</code> rely on symbolic
labels to determine when such mode switches occur (by checking the least
significant bit of the label's address), so such mode/isa changes should
always be followed by a label (in practice, this is true anyway). Note
that you cannot use these directives if you didn't specify an ISA on the
command line.
<br><dt><code>.abi [32|64]</code>
<dd>Specify the ABI for the following instructions. Note that you cannot use
this directive unless you specified an ABI on the command line, and the
ABIs specified must match.
<br><dt><code>.uaquad</code>
<dd>Like .uaword and .ualong, this allows you to specify an intenionally
unaligned quadword (64 bit word).
</dl>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -