EXTEND 11110 |
Imm[10:5] |
Imm[15:11] |
LI 01101 |
rx |
sel = 2 |
Imm[4:0] |
5 |
5 |
5 |
5 |
5 |
3 |
3 |
ORI rx, immediate |
MIPS16e2 |
Or Immediate Extended |
Or Immediate Extended
To do a bitwise logical OR with a constant.
GPR[rx] = GPR[rx] OR immediate
The 16-bit immediate is zero-extended to the left and combined with the contents of GPR rx in a bitwise logical OR operation. The result is placed back into GPR rx.
Unpredictable prior to MIPS16e2.
GPR[XLat[rx]] = GPR[Xlat[rx]] or zero_extend(immediate)
None