XOR gate

INPUT  OUTPUT A  B  A XOR B0  0  00  1  11  0  11  1  0
The XOR gate (Exclusive OR) is a logic gate that outputs 1 (true) when exactly one of its inputs is 1 (true). That means that if both of its inputs are the same, the output will be 0 (false). The XOR gate does what is called an exclusive disjunction in logic.

 Symbols 
There are three symbols for the XOR gate:

Image:XOR ANSI Labelled.svgImage:XOR IEC.svgimage:XOR DIN.svgMIL/ANSI SymbolIEC SymbolDIN Symbol

Category:Logic gates