Electronics/Electronics Formulas/Adder

Half Adder

 * {| class="wikitable" width=30%

! A !! B !! !! S !! C
 * 0 || 0 || || 0 || 0
 * 0 || 1 || || 1 || 0
 * 1 || 0 || || 1 || 0
 * 1 || 1 || || 0 || 1
 * }
 * 1 || 0 || || 1 || 0
 * 1 || 1 || || 0 || 1
 * }
 * }
 * }


 * [[Image:Half Adder.svg|left|200px]]

Full Adder

 * {| class="wikitable" style="width:100% text-align:center"

! A (1)!! B (1)!! Cin (1)!! !! S (1)!! Cout (2)
 * 0 || 0 || 0 || || 0 || 0
 * 0 || 0 || 1 || || 1 || 0
 * 0 || 1 || 0 || || 1 || 0
 * 0 || 1 || 1 || || 0 || 1
 * 1 || 0 || 0 || || 1 || 0
 * 1 || 0 || 1 || || 0 || 1
 * 1 || 1 || 0 || || 0 || 1
 * 1 || 1 || 1 || || 1 || 1
 * }
 * 1 || 0 || 0 || || 1 || 0
 * 1 || 0 || 1 || || 0 || 1
 * 1 || 1 || 0 || || 0 || 1
 * 1 || 1 || 1 || || 1 || 1
 * }
 * 1 || 1 || 1 || || 1 || 1
 * }
 * }

Application
adding 2 4 bit binary numbers
 * [[Image:4-Bit Full Adder.svg|left|400px]]