Exclusive OR (XOR) is a fundamental Boolean logic operation where the output is high (1) if exactly one of the inputs is high. If both inputs are low, or both are high, the output is low (0). It forms the basis of binary addition and parity generation in digital systems.
Heard on the job
We can XOR the two registers to clear the accumulator in one clock cycle.
Also heard as
- exclusive OR
Related terms
XOR gate
A digital logic gate that outputs a high signal only when its two inputs are at different logic levels.
XNOR gate
A digital logic gate that outputs true only when both of its inputs are exactly the same.
Half adder
A digital logic circuit that adds two single-bit binary numbers and produces a sum and a carry output.