Logical Difference XOR (xor)

Syntax

xor $s_reg, $d_reg

xor $d_reg/$s_reg

xor val_immed, $d_reg

xor $s_reg1, $s_reg2, $d_reg

xor $d_reg/$s_reg1, $s_reg2

xor $s_reg1, val_immed, $d_reg

xor $d_reg/$s_reg1, val_immed

Description

Logical Difference (XOR) computes the XOR of two values. This instruction XORs (bit-wise) the contents of $s_reg1 with the contents of $s_reg2 or the immediate value and then puts the result in the destination register.