xor

Operands

reg, reg, reg

Bitwise XOR : Set t1 to bitwise XOR of t2 and t3

Variants

  • Bitwise XOR : Set t1 to bitwise XOR of t2 and t3 xor t1,t2,t3
.text
li t0, 13
li t1, 5
# t0=13, t1=5; xor writes 8 to t2.
xor t2, t0, t1