Encoding:

XORI32

011100

rt

rs

immediate

6

5

5

16

Format:

XORI rt, rs, immediate

microMIPS

Exclusive OR Immediate

Purpose:

Exclusive OR Immediate

To do a bitwise logical Exclusive OR with a constant.

Description:

 GPR[rt] = GPR[rs] XOR immediate

Combine the contents of GPR rs and the 16-bit zero-extended immediate in a bitwise logical Exclusive OR operation and place the result into GPR rt.

Restrictions:

None

Operation:

GPR[rt] = GPR[rs] xor zero_extend(immediate)

Exceptions:

None