xor $dest, $src1, $src2
Perform the logical exclusive-or of two register operands and store the result in a third register.
Format
This is an RR format instrucion.
31 - 26 |
25 - 21 |
20 - 16 |
15 - 11 |
10 - 0 |
010100 |
dest |
src1 |
src2 |
00000000000 |
Functional Description
The xor instruction performs the logical exclusive or of two operand registers src1 and src2,
and stores the
result in register dest.
dest = src1 xor src2;
Side Effects
None
Processor Mode
This is a user-level instruction.
Last modified: Fri Feb 23 02:56:04 CST 2001