![](http://datasheet.mmic.net.cn/380000/-PD98501_datasheet_16745028/-PD98501_87.png)
CHAPTER 2 V
R
4120A
Preliminary User’s Manual S14767EJ1V0UM00
87
2.3.4 Types of Instructions
This section describes the different types of instructions, and indicates the MIPS16 instructions included in each
group.
Instructions are divided into the following types.
Load and Store instructions
Computational instructions
:Move data between memory and the general registers.
:Perform arithmetic operations, logical operations, and shift operations on
values in registers.
:Change the control flow of a program.
:Break instructions and Extend instructions. Break transfers control to an
exception handler. Extend enlarges the immediate field of the next
instruction. Instructions that can be extended with Extend are indicated
as
Note 1
in
Table 2-24 MIPS16 Instruction Set Outline
.
Jump and Branch instructions
Special instructions
Table 2-24. MIPS16 Instruction Set Outline (1/3)
Op
Description
Load and Store instructions
LB
Note 1
Load Byte
LBU
Note 1
Load Byte Unsigned
LH
Note 1
Load Halfword
LHU
Note 1
Load Halfword Unsigned
LW
Note 1
Load Word
LWU
Notes 1, 2
Load Word Unsigned
LD
Notes 1, 2
Load Doubleword
SB
Note 1
Store Byte
SH
Note 1
Store Halfword
SW
Note 1
Store Word
SD
Notes 1, 2
Store Doubleword
Arithmetic instructions: ALU immediate instructions
LI
Note 1
Load Immediate
ADDIU
Note 1
Add Immediate Unsigned
DADDIU
Notes 1, 2
Doubleword Add Immediate Unsigned
SLTI
Note 1
Set on Less Than Immediate
SLTIU
Note 1
Set on Less Than Immediate Unsigned
CMPI
Note 1
Compare Immediate
Notes 1.
Extendable instruction. For details, see
APPENDIX B MIPS16 INSTRUCTION
SET FORMAT
.
2.
Can be used in 64-bit mode and 32-bit kernel mode.