Encoding:

POOL16C

010001

rt

rs

XOR16

1000

6

3

3

4

Format:

XOR16 rt, rs

microMIPS

Exclusive OR (16-bit instr size)

Purpose:

Exclusive OR (16-bit instr size)

To do a bitwise logical Exclusive OR

Description:

 GPR[rt] = GPR[rs] XOR GPR[rt]

Combine the contents of GPR rs and GPR rt in a bitwise logical Exclusive OR operation and place the result into

GPR rt.

Restrictions:

The 3-bit register fields can only specify GPRs $2-$7, $16, $17.

Availability and Compatibility:

This instruction has been recoded for Release 6.

Operation:

GPR[rt] = GPR[rs] xor GPR[rt]

Exceptions:

None