Line 127... |
Line 127... |
@itemx -no-mips16
|
@itemx -no-mips16
|
Generate code for the MIPS 16 processor. This is equivalent to putting
|
Generate code for the MIPS 16 processor. This is equivalent to putting
|
@code{.set mips16} at the start of the assembly file. @samp{-no-mips16}
|
@code{.set mips16} at the start of the assembly file. @samp{-no-mips16}
|
turns off this option.
|
turns off this option.
|
|
|
|
@item -mmicromips
|
|
@itemx -mno-micromips
|
|
Generate code for the microMIPS processor. This is equivalent to putting
|
|
@code{.set micromips} at the start of the assembly file. @samp{-mno-micromips}
|
|
turns off this option. This is equivalent to putting @code{.set nomicromips}
|
|
at the start of the assembly file.
|
|
|
@item -msmartmips
|
@item -msmartmips
|
@itemx -mno-smartmips
|
@itemx -mno-smartmips
|
Enables the SmartMIPS extensions to the MIPS32 instruction set, which
|
Enables the SmartMIPS extensions to the MIPS32 instruction set, which
|
provides a number of new instructions which target smartcard and
|
provides a number of new instructions which target smartcard and
|
cryptographic applications. This is equivalent to putting
|
cryptographic applications. This is equivalent to putting
|
Line 166... |
Line 173... |
@itemx -mno-mt
|
@itemx -mno-mt
|
Generate code for the MT Application Specific Extension.
|
Generate code for the MT Application Specific Extension.
|
This tells the assembler to accept MT instructions.
|
This tells the assembler to accept MT instructions.
|
@samp{-mno-mt} turns off this option.
|
@samp{-mno-mt} turns off this option.
|
|
|
|
@item -mmcu
|
|
@itemx -mno-mcu
|
|
Generate code for the MCU Application Specific Extension.
|
|
This tells the assembler to accept MCU instructions.
|
|
@samp{-mno-mcu} turns off this option.
|
|
|
@item -mfix7000
|
@item -mfix7000
|
@itemx -mno-fix7000
|
@itemx -mno-fix7000
|
Cause nops to be inserted if the read of the destination register
|
Cause nops to be inserted if the read of the destination register
|
of an mfhi or mflo instruction occurs in the following two instructions.
|
of an mfhi or mflo instruction occurs in the following two instructions.
|
|
|
Line 273... |
Line 286... |
4kem,
|
4kem,
|
4kep,
|
4kep,
|
4ksd,
|
4ksd,
|
m4k,
|
m4k,
|
m4kp,
|
m4kp,
|
|
m14k,
|
|
m14kc,
|
24kc,
|
24kc,
|
24kf2_1,
|
24kf2_1,
|
24kf,
|
24kf,
|
24kf1_1,
|
24kf1_1,
|
24kec,
|
24kec,
|
Line 525... |
Line 540... |
in which it will assemble instructions for the MIPS 16 processor. Use
|
in which it will assemble instructions for the MIPS 16 processor. Use
|
@code{.set nomips16} to return to normal 32 bit mode.
|
@code{.set nomips16} to return to normal 32 bit mode.
|
|
|
Traditional @sc{mips} assemblers do not support this directive.
|
Traditional @sc{mips} assemblers do not support this directive.
|
|
|
|
The directive @code{.set micromips} puts the assembler into microMIPS mode,
|
|
in which it will assemble instructions for the microMIPS processor. Use
|
|
@code{.set nomicromips} to return to normal 32 bit mode.
|
|
|
|
Traditional @sc{mips} assemblers do not support this directive.
|
|
|
@node MIPS autoextend
|
@node MIPS autoextend
|
@section Directives for extending MIPS 16 bit instructions
|
@section Directives for extending MIPS 16 bit instructions
|
|
|
@kindex @code{.set autoextend}
|
@kindex @code{.set autoextend}
|
@kindex @code{.set noautoextend}
|
@kindex @code{.set noautoextend}
|
Line 545... |
Line 566... |
@node MIPS insn
|
@node MIPS insn
|
@section Directive to mark data as an instruction
|
@section Directive to mark data as an instruction
|
|
|
@kindex @code{.insn}
|
@kindex @code{.insn}
|
The @code{.insn} directive tells @code{@value{AS}} that the following
|
The @code{.insn} directive tells @code{@value{AS}} that the following
|
data is actually instructions. This makes a difference in MIPS 16 mode:
|
data is actually instructions. This makes a difference in MIPS 16 and
|
when loading the address of a label which precedes instructions,
|
microMIPS modes: when loading the address of a label which precedes
|
@code{@value{AS}} automatically adds 1 to the value, so that jumping to
|
instructions, @code{@value{AS}} automatically adds 1 to the value, so
|
the loaded address will do the right thing.
|
that jumping to the loaded address will do the right thing.
|
|
|
@kindex @code{.global}
|
@kindex @code{.global}
|
The @code{.global} and @code{.globl} directives supported by
|
The @code{.global} and @code{.globl} directives supported by
|
@code{@value{AS}} will by default mark the symbol as pointing to a
|
@code{@value{AS}} will by default mark the symbol as pointing to a
|
region of data not code. This means that, for example, any
|
region of data not code. This means that, for example, any
|
Line 647... |
Line 668... |
The directive @code{.set mt} makes the assembler accept instructions
|
The directive @code{.set mt} makes the assembler accept instructions
|
from the MT Application Specific Extension from that point on
|
from the MT Application Specific Extension from that point on
|
in the assembly. The @code{.set nomt} directive prevents MT
|
in the assembly. The @code{.set nomt} directive prevents MT
|
instructions from being accepted.
|
instructions from being accepted.
|
|
|
|
@cindex MIPS MCU instruction generation override
|
|
@kindex @code{.set mcu}
|
|
@kindex @code{.set nomcu}
|
|
The directive @code{.set mcu} makes the assembler accept instructions
|
|
from the MCU Application Specific Extension from that point on
|
|
in the assembly. The @code{.set nomcu} directive prevents MCU
|
|
instructions from being accepted.
|
|
|
Traditional @sc{mips} assemblers do not support these directives.
|
Traditional @sc{mips} assemblers do not support these directives.
|
|
|
@node MIPS floating-point
|
@node MIPS floating-point
|
@section Directives to override floating-point options
|
@section Directives to override floating-point options
|
|
|