Appendix A
A-6 MIPS R4000 Microprocessor User's Manual
Instruction Notation Examples
The following examples illustrate the application of some of the
instruction notation conventions:
Example #1:
GPR[rt]
←
Sixteen zero bits are concatenated with an immediate
value (typically 16 bits), and the 32-bit string (with the lower
16 bits set to zero) is assigned to General-Purpose Register
rt
.
Example #2:
Bit 15 (the sign bit) of an immediate value is extended for
16 bit positions, and the result is concatenated with bits 15
through 0 of the immediate value to form a 32-bit sign
extended value.
immediate || 0
16
(immediate
15
)
16
|| immediate
15...0