Encoding:

EXTEND

11110

Imm[10:5]

Imm[15:11]

LI

01101

rx

sel = 4

Imm[4:0]

5

5

5

5

5

3

3

Format:

XORI rx, immediate

MIPS16e2

Exclusive OR Immediate Extended

Purpose:

Exclusive OR Immediate Extended

To do a bitwise logical Exclusive OR with a constant.

Description:

 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.

Restrictions:

Unpredictable prior to MIPS16e2.

Operation:

GPR[XLat[rx]] = GPR[Xlat[rx]] xor zero_extend(immediate)

Exceptions:

None