
1.6 R4000 Processor

Figure 1-3 CPU Instruction Formats
Each format contains a number of different instructions, which are described further in this chapter. Fields of the instruction formats are described in Chapter 2.
Instruction decoding is greatly simplified by limiting the number of formats to these three. This limitation means that the more complicated (and less frequently used) operations and addressing modes can be synthesized by the compiler, using sequences of these same simple instructions.
The instruction set can be further divided into the following groupings:
Tables 1-2 through 1-17 list CPU instructions common to MIPS R-Series processors, along with those instructions that are extensions to the instruction set architecture. The extensions result in code space reductions, multiprocessor support, and improved performance in operating system kernel code sequences--for instance, in situations where run-time bounds-checking is frequently performed. Table 1-18 lists CP0 instructions.
Table 1-2 CPU Instruction Set: Load and Store Instructions
Table 1-3 CPU Instruction Set: Arithmetic Instructions (ALU Immediate)
Table 1-4 CPU Instruction Set: Arithmetic (3-Operand, R-Type)
Table 1-5 CPU Instruction Set: Multiply and Divide Instructions
Table 1-6 CPU Instruction Set: Jump and Branch Instructions
Table 1-7 CPU Instruction Set: Shift Instructions
Table 1-8 CPU Instruction Set: Coprocessor Instructions
Table 1-9 CPU Instruction Set: Special Instructions
Table 1-10 Extensions to the ISA: Load and Store Instructions
Table 1-11 Extensions to the ISA: Arithmetic Instructions (ALU Immediate)
Table 1-12 Extensions to the ISA: Multiply and Divide Instructions
Table 1-13 Extensions to the ISA: Branch Instructions
Table 1-14 Extensions to the ISA: Arithmetic Instructions (3-operand, R-type)
Table 1-15 Extensions to the ISA: Shift Instructions
Table 1-16 Extensions to the ISA: Exception Instructions
Table 1-17 Extensions to the ISA: Coprocessor Instructions
Table 1-18 CP0 Instructions
Generated with CERN WebMaker
Chapter 2 provides a more detailed summary and Appendix A gives a complete description of each instruction.
I-type.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()

Copyright 1996, MIPS Technologies, Inc. -- 21 MAR 96




![]()