
2.1 CPU Instruction Formats

Returns, dispatches, and large cross-page jumps are usually implemented with the Jump Register or Jump and Link Register instructions. Both are R-type instructions that take the 32-bit or 64-bit byte address contained in one of the general purpose registers.
For more information about jump instructions, refer to the individual instruction as described in Appendix A.
If a conditional branch likely is not taken, the instruction in the delay slot is nullified.
For more information about branch instructions, refer to the individual instruction as described in Appendix A.
Generated with CERN WebMaker
Overview of Jump Instructions
Subroutine calls in high-level languages are usually implemented with Jump or Jump and Link instructions, both of which are J-type instructions. In J-type format, the 26-bit target address shifts left 2 bits and combines with the high-order 4 bits of the current program counter to form an absolute address.Overview of Branch Instructions
All branch instruction target addresses are computed by adding the address of the instruction in the delay slot to the 16-bit offset (shifted left
2 bits and sign-extended to 32 bits). All branches occur with a delay of one instruction.

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




![]()