DC 3 Practical
DC 3 Practical
J BCD adder
Theory:
uces a sum
single-digit BCD numbers and prod
BCD adder is a circuit that adds two are represented in
numbers use 10 digits, 0 to 9 which
which is also a BCD number. BCD number.
digit is represented as a 4-bit binary
binary from 0000 to I 00 I i.e. each BCD
marized as follows,
BCD addition procedures can be sum
addition.
1. Add 2 BCD numbers using binary lid. To correct
or if carry is generated, the sum is inva
2. If the 4-bit sum is greater than 9 to the next
is generated from this addition, add it
the sum , add O110 to the sum if carry
higher order BCD digit. form.
3. If the 4-bit sum is less than__9 or
equal to 9, the sum is in proper BCD
3
s G
D
0
D o 'll
() 0 0 0
t~ca ~ v o I
~ 0 Cr o 1 ~,v\_ ,
..Lf) V~ 8cP
nu -rr )be .,t . C ,<i () Vft )
tp
IOo o l
1
k-Ucl
t bc4 1
0
Sum ls~ fk.O
0 0 y- 0 IJJJmbc,
u
'• 0
l
I l
- ll
(l
O
0
0
l
0 0
I 'l 0 I I
0 0
I
' 'I \ 0 •
I: I I l~
1\ -aup fttr l outpu t
to,Y ~l
01 10
"a 0
0
oi ~ 0 0 0
117
pin Configuration of 7483 IC:
16 B3
IS S3
.A:2 r I
-,~ C4
B2 4 ,i] co
7483
Vee ., 12 GNO
S1 b ,, BO
Bl l 10 NJ
A'1 je 9 so
Output
Carry
__ .......,
S3 S2 S1 So
Truth Table:
0\ f ~-
INPUT OUTPUT
A3 AO B3
B2 Bl
BO
Cout
S3
S2 Sl
so
A2 Al (LSB) (MSB) (LSB)
(MSB) (LSB) (MSB)
be summarized as follows
Binary subtraction procedures can
l 's
sub trac ted (B) is first pas sed through inverters to obtain its
I. The number to be
we obtain th .
compleme nt.
add ed to I's com ple me nt of B, by making Cin = I. Thus
2. Then I is e 2s
complement ofB- the subtraction.
The 4-b it add er then add s A and 2's complement of B to produce
J. Co tr
sub traction (A-B) and carry output " epresems
➔. S3S2SISo rep res ent the res ult of bin ary
the polarity of the resu It. 1
the result is in tru e bin ary for m but if A<B then Cout =
5. If A>B then Cout == 0 and and the
result is in 2's com ple me nt for m
ng IC 7483:
Design of Binary Subtractor usi
we require
To implement Binary subtraction
I. 4 NOT gates(IC 74LS04) to
obtain its l 's complement ofB.
I. ·
2. 4 bit binary adder with Cin ==
l Adder
4 Bit Subtractor using 4 Bit Paralle
1's co mplement of B
+Vee
83 B2 81 Bo
'- -v -- '
Result of subtraction
procedure:
Truth Table:
- , INPUT OUTPUT
1st Operand 2nd Op~rand MSD LSD
A3
A2 Al
AO B3 BO S3
SI
so
(MSB) (LSB) (MSB) B2 Bl Coot S2
(LSB) (MSB) (LSB)
---
Conclusion:
Questions:
0 t
\ l'.2..