Encoding:

SPECIAL

000000

rs

rt

rd

0

00000

XOR

100110

6

5

5

5

5

6

Format:

XOR rd, rs, rt

MIPS32

Exclusive OR

Purpose:

Exclusive OR

To do a bitwise logical Exclusive OR.

Description:

 GPR[rd] = 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 rd.

Restrictions:

None

Operation:

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

Exceptions:

None