Professional Documents
Culture Documents
Adders
In this set of slides, we present the two basic types of
adders:
1.
2.
Full adders.
In decimal arithmetic:
0 + 0 = 0,
0 + 1 = 1, and
1 + 0 = 1.
1 + 1 = 2.
2 5
2 5
5 0
The 1 written above the numbers in the tens column
shows the carryout
from the units column as a carryin to the tens column.
A
B
Sum
Carry
0
0
0
0
0
1
1
0
1
0
1
0
1
1
0
1
Written as a standard sum, the last row represents the
following:
01
+ 01
10
The sum column indicates the number to be written in the
units column,
immediately below the two 1s. We write a 0 and carry a
1.
B
0
0
1
1
0
C
0
1
0
1
0
Sum
0
1
1
0
1
Carry
0
0
0
1
0
1
1
1
0
1
1
1
0
1
0
0
1
1
1
1
2 (decimal), and
3 (decimal).
C +
+ A
+ ABC
Carry = AB + AC + BC
Suppose we let the carryin C = 0. Then
What we have then is as follows.
= 1.
0 + B1 + A 1 + AB0
B + A
Sum
=
=
Carry
= AB + A0 + B0
= AB
A FourBit FullAdder
Here is a depiction of a fourbit full adder to add two
binary numbers,
depicted as A3A2A1A0 and B3B2B1B0.
1010 0011
0101 1100