EXTEND 11110 |
Imm[10:5] |
Imm[15:11] |
LI 01101 |
rx |
sel = 1 |
Imm[4:0] |
5 |
5 |
5 |
5 |
5 |
3 |
3 |
LUI rx, immediate |
MIPS16e2 |
Load Upper Immediate Extended |
Load Upper Immediate Extended
To load a constant into the upper half of a word.
GPR[rx] = immediate || 016
The 16-bit immediate is shifted left 16 bits and concatenated with 16 bits of low-order zeros. The 32-bit result is placed into GPR rx.
Unpredictable prior to MIPS16e2.
GPR[XLat[rx]] = immediate || 016
None