Design an 8-bit Adder/Subtractor with overflow detection using Full Adders. Assume the FA block is already available, so no need for a truth table and a k-map. Use the following 8-bit inputs A = a7a6a5a4a3a2a1a0, B = b7b6b5bb3b2b1b0, where A and B are the numbers to be added or subtracted, and a one bit input M to indicate the mode (adder or subtractor). In the case of subtraction, use A as the minuend and B is the subtrahend. Use the following 8-bit output S = S7S6S5S4S3S2S₁So to indicate the sum result, and the one-bit output C for the final carry out, and the one-bit output V for overflow. In each of the following cases, determine the values of S, C, and V: a) M = 0, A b) M 0, A c) M 1, A d) M e) M 1, A 1, A f) M=0, A g) M 1, A = = = 0111 0111, B = 0110 0110 1000 1000, B = 1001 1001 1100 1100, B = 1000 1000 0101 0101, B = 1010 1010 0000 0000, B0001 0001 0011 1001, B = 1101 0001 0011 1001, B = 1101 0001 -

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 9VE
icon
Related questions
Question
Design an 8-bit Adder/Subtractor with overflow detection using Full Adders. Assume the FA
block is already available, so no need for a truth table and a k-map.
Use the following 8-bit inputs A = a7a6a5a4a3a2a1a0, B = b7b6b5bb3b2b1b0, where A
and B are the numbers to be added or subtracted, and a one bit input M to indicate the mode
(adder or subtractor). In the case of subtraction, use A as the minuend and B is the subtrahend.
Use the following 8-bit output S = S7S6S5S4S3S2S₁So to indicate the sum result, and the
one-bit output C for the final carry out, and the one-bit output V for overflow.
In each of the following cases, determine the values of S, C, and V:
a) M = 0, A
b) M 0, A
c) M
1, A
d) M
e) M
1, A
1, A
f) M=0, A
g) M 1, A
=
=
=
0111 0111, B = 0110 0110
1000 1000, B = 1001 1001
1100 1100, B = 1000 1000
0101 0101, B = 1010 1010
0000 0000, B0001 0001
0011 1001, B = 1101 0001
0011 1001, B = 1101 0001
-
Transcribed Image Text:Design an 8-bit Adder/Subtractor with overflow detection using Full Adders. Assume the FA block is already available, so no need for a truth table and a k-map. Use the following 8-bit inputs A = a7a6a5a4a3a2a1a0, B = b7b6b5bb3b2b1b0, where A and B are the numbers to be added or subtracted, and a one bit input M to indicate the mode (adder or subtractor). In the case of subtraction, use A as the minuend and B is the subtrahend. Use the following 8-bit output S = S7S6S5S4S3S2S₁So to indicate the sum result, and the one-bit output C for the final carry out, and the one-bit output V for overflow. In each of the following cases, determine the values of S, C, and V: a) M = 0, A b) M 0, A c) M 1, A d) M e) M 1, A 1, A f) M=0, A g) M 1, A = = = 0111 0111, B = 0110 0110 1000 1000, B = 1001 1001 1100 1100, B = 1000 1000 0101 0101, B = 1010 1010 0000 0000, B0001 0001 0011 1001, B = 1101 0001 0011 1001, B = 1101 0001 -
Expert Solution
steps

Step by step

Solved in 2 steps with 10 images

Blurred answer
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
CompTIA Linux+ Guide to Linux Certification (Mind…
CompTIA Linux+ Guide to Linux Certification (Mind…
Computer Science
ISBN:
9781305107168
Author:
Jason Eckert
Publisher:
Cengage Learning