26-08-2017, 02:29 PM
The XOR gate (sometimes EXOR gate and pronounced as exclusive OR gate) is a digital logic gate that gives a real output (1 / HIGH) when the number of true inputs is odd. An XOR gate implements a unique function or; That is, a true output results if one, and only one, of the inputs to the gate is true. If both inputs are false (0 / LOW) or both are true, a false output is obtained. XOR represents the inequality function, that is, the output is true if the inputs are not equal, otherwise the output is false. One way to remember XOR is "one or the other, but not both."
XOR can also be viewed as addition module 2. As a result, XOR gates are used to implement binary addition on computers. An adder means consists of an XOR gate and an AND gate. Other uses include subtractors, comparators and controlled inverters.
XOR can also be viewed as addition module 2. As a result, XOR gates are used to implement binary addition on computers. An adder means consists of an XOR gate and an AND gate. Other uses include subtractors, comparators and controlled inverters.