📄 mips-isa.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="MIPS%20ISA">MIPS ISA</a>,
Next:<a rel="next" accesskey="n" href="MIPS-autoextend.html#MIPS%20autoextend">MIPS autoextend</a>,
Previous:<a rel="previous" accesskey="p" href="MIPS-Stabs.html#MIPS%20Stabs">MIPS Stabs</a>,
Up:<a rel="up" accesskey="u" href="MIPS-Dependent.html#MIPS-Dependent">MIPS-Dependent</a>
<hr><br>
</div>
<h4 class="section">Directives to override the ISA level</h4>
<p><small>GNU</small> <code>as</code> supports an additional directive to change
the <small>MIPS</small> Instruction Set Architecture level on the fly: <code>.set
mips</code><var>n</var><code></code>. <var>n</var> should be a number from 0 to 5, or 32 or 64.
The values 1 to 5, 32, and 64 make the assembler accept instructions
for the corresponding <small>ISA</small> level, from that point on in the
assembly. <code>.set mips</code><var>n</var><code></code> affects not only which instructions
are permitted, but also how certain macros are expanded. <code>.set
mips0</code> restores the <small>ISA</small> level to its original level: either the
level you selected with command line options, or the default for your
configuration. You can use this feature to permit specific <small>R4000</small>
instructions while assembling in 32 bit mode. Use this directive with
care!
<p>The directive <code>.set mips16</code> puts the assembler into MIPS 16 mode,
in which it will assemble instructions for the MIPS 16 processor. Use
<code>.set nomips16</code> to return to normal 32 bit mode.
<p>Traditional <small>MIPS</small> assemblers do not support this directive.
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -