You are on page 1of 4

SCHOOL OF ENGINEERING,

COMPUTING & BUILT ENVIRONMENT


DEPARTMENT OF ENGINEERING
DIPLOMA IN ELECTRICAL & ELECTRONICS ENGINEERING
(MICROELECTRONICS/ MECHATRONICS)
EED1233 DIGITAL ELECTRONIC
Ms Khadijah Kamarulazizi

ADDER / SUBTRACTOR
Laboratory 4
[STUDENT NUMBER & STUDENT NAME]
DUE DATE

: [1 WEEK AFTER LAB]

TOTAL MARKS

: [100 MARKS / 5%]

Plagiarism
The assignment is based on an individual response. The report must be completely your own work
and you must not copy from others. Any plagiarized work will be zero-rated. Any reference material
you use (books, journals, Internet, magazines etc.) must be clearly identified in your report using
procedures in the Harvard System of Referencing.

PEOPLE INSPIRE PEOPLE

LAB 4: ADDERS /SUBTRACTORS


Objectives:
1. To understand and describe the operation of an 4-bit adder circuit
2. To understand and describe the operation of an 4-bit subtractor circuit
Materials and Equipment
1.
2.
3.
4.

IDL 800 Digital Lab Unit


IC 74LS83N
IC 74LS86N
Breadboard

Theory

4- bit Binary Full-Adder/ 2s-Complement 4-bit Binary Full-Subtractor.

The 7483 is an MSI 4-bit binary full-adder.

It adds ( + means addition ) A and B, and output sum (S) and carry out.

C0
+A
+B

A4
B4

A3
B3

C0(carry in bit-0)
A1
B1

A2
B2

___________________________________

C4

S4

S3

S2

S1

Where C4 = carry-out from bit 4

Procedure
1. Connect the circuit as shown in Figure 1.
2. Add and subtract the binary numbers of Tables 1-1 and 1-2. At the same time,
check your results by conversion to decimal.

Page 2 of 4

Figure 1 4-bit full-adder / subtractor


Note: Vcc = +5V to pin 5 and 0(ground) to pin 12. (74LS83N)
Add/Sub switch is set to 1 for Adder and to 0 for Subtractor.
XOR gate (74LS86N) pin 14 to VCC and pin 7 to ground.
Table 1-1. 4-bit binary addition

plus

Binary:
plus
C0

A4 A3 A2 A1

B4 B3 B2 B1

Co

1 0 1 0

0 1 0 1

1 0 1 0

0 0 1 1

1 1 1 1

0 1 1 0

1 1 1 1

1 1 1 1

C4

Table 1-2. 4-bit subtractor


Page 3 of 4

sum

S4 S3 S2 S1

Decimal:
A+B = S

Binary:
A

minus

A4 A3 A2 A1

B4 B3 B2 B1

1 0 1 0

0 1 0 1

1 0 1 0

0 0 1 1

1 1 1 1

0 1 1 0

1 1 1 1

1 1 1 1

0 1 0 1

1 0 1 0

C4

Page 4 of 4

difference

S4 S3 S2 S1

Decimal:
A-B = D

You might also like