What is the exclusive-OR of a bit pattern with itself?

The result is all zero-bits.

An exclusive or of a bit pattern with itself results in all zeros.

Because the two operands are identical,
only two XOR operations are involved:
`0 XOR 0 = 0`

and `1 XOR 1 = 0.`

You have reached the end of this chapter. It is logical that you wish to review. Click on a subject to immediately go to where it was discussed.

- immediate operand Immediate Operands.
- bitwise operation Bitwise Logic.
- ori instruction ORI instruction.
- ori, machine code Machine code or the ORI instruction
- andi instruction ANDI instruction
- xori instruction XORI instruction.