Professional Documents
Culture Documents
Işık University
The purpose of this experiment is to examine the 4-bit parallel binary adder-
subtractor circuit.
Components:
• C.A.D.E.T breadboard
• Jumper Wir
Experimental Procedure:
We set up a 4-Bit Binary Full- Adder, we used 4 XOR, each XOR takes input
A and M, and connected its outputs to the switch in the Full-Adder. After that we
observed the outputs from the LEDs and recorded the values to the table 4.1.
M A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
0 1 0 1 1 1 0 0 1 1 0 1 0 0
0 1 1 1 0 1 0 0 1 1 0 1 1 1
0 0 1 1 0 0 0 1 0 0 1 0 0 0
Table 4.1
Then we removed the jumper between input M and ground, and connected input M
to the power supply (VCC), we observed the outputs from the LEDs and recorded
the values to the table 4.2.
M A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
1 1 0 1 1 1 0 0 1 0 1 1 1 0
1 1 0 0 1 1 1 1 0 1 0 1 1 1
1 0 1 1 0 0 0 1 0 0 1 1 0 0
Table 4.2
FOR M=0;
A4A3A2A1
B4B3B2B1 +
Cout S4S3S2S1
FOR M=1;
B-A=B+(-A)
B+(1+A’)
WHEN M=0;
WHEN M=1;
Discussion and
Conclusion:
In conclusion, in this experiment the 4-bit parallel binary adder-
subtractor circuit has been investgated. 74LS86 Quad 2-Input XOR Gate, 74LS83
4-Bit Binary Full-Adder with Fast Carry and jumper Wires have been used in the
experiment. The circuit peform Addition and Subtraction. when the mode input is
0 logic (Ground) the circuit works as Adder and if the mode input is 1 logic
(connectedd to the power supply) the circuit works as Subtractor. So the mode
input controls the circuit. Firstly, We connected the circuit and set the mode input
as 0 logic (to the ground), after implement all the values in the truth table we got
the results from the LEDs and wrote it down to the truth table and verfied the
results by hand to got the same values.when one of XOR gates be 0 (mode
input)the output of XOR is same as the other input so the whole circuit work as
Adder. Secondly,the circuit was the same, we only replaced the mode input to 1
logic (power supply Vcc). After excuting all the six 4 bit numbers we got the
results and written down to the truth table. when one of XOR gates be 1 the output
of XOR is the complement of the other input so the whole circuit work as
Subtractor. We investigated the results by hand and by simulation to have the same
values.