why xor gate is used in adder circuit?
Uses in addition The XOR logic gate can be used as a one-bit adder that adds any two bits together to output one bit. ... Since the trailing sum bit in this output is achieved with XOR, the preceding carry bit is calculated with an AND gate. This is the main principle in Half Adders.