EXTEND 11110 |
Imm[10:5] |
Imm[15:11] |
LI 01101 |
rx |
sel = 4 |
Imm[4:0] |
5 |
5 |
5 |
5 |
5 |
3 |
3 |
XORI rx, immediate |
MIPS16e2 |
Exclusive OR Immediate Extended |
Exclusive OR Immediate Extended
To do a bitwise logical Exclusive OR with a constant.
GPR[rx] = GPR[rx] XOR immediate
Combine the contents of GPR rx and the 16-bit zero-extended immediate in a bitwise logical Exclusive OR operation and place the result back into GPR rx.
Unpredictable prior to MIPS16e2.
GPR[XLat[rx]] = GPR[Xlat[rx]] xor zero_extend(immediate)
None