2. (8 points) Given the 4-bit adder below, fill out the tables below. Show your work for the add or subtract. (The overflow signal is a 1 if there is overflow.) The inputs are 4-bit two's complement numbers. C4 overflow x2 x1 хо $3 $2 Уз y2 y1 yo Add/Sub control 4-bit adder S1 a) Fill out the table for x - y (subtraction) SO Co x input 0x6 y input Add/Sub 0x7 CO s output (hex) C4 overflow b) Fill out the table for x + y (addition) x input y input Add/Sub 0x5 0x5 Co s output (hex) C4 overflow c) Fill out the table for x + y (addition) x input y input Add/Sub Co s output (hex) C4 overflow OxA 0x8 d) Fill out the table for x - y (subtraction) x input y input Add/Sub CO s output (hex) C4 overflow 0x7 0x5
2. (8 points) Given the 4-bit adder below, fill out the tables below. Show your work for the add or subtract. (The overflow signal is a 1 if there is overflow.) The inputs are 4-bit two's complement numbers. C4 overflow x2 x1 хо $3 $2 Уз y2 y1 yo Add/Sub control 4-bit adder S1 a) Fill out the table for x - y (subtraction) SO Co x input 0x6 y input Add/Sub 0x7 CO s output (hex) C4 overflow b) Fill out the table for x + y (addition) x input y input Add/Sub 0x5 0x5 Co s output (hex) C4 overflow c) Fill out the table for x + y (addition) x input y input Add/Sub Co s output (hex) C4 overflow OxA 0x8 d) Fill out the table for x - y (subtraction) x input y input Add/Sub CO s output (hex) C4 overflow 0x7 0x5
Chapter22: Sequence Control
Section: Chapter Questions
Problem 6SQ: Draw a symbol for a solid-state logic element AND.
Related questions
Question
Solve this problem and show all of the work

Transcribed Image Text:2. (8 points) Given the 4-bit adder below, fill out the tables below. Show your work for the add or subtract.
(The overflow signal is a 1 if there is overflow.) The inputs are 4-bit two's complement numbers.
C4
overflow
x2
x1
хо
$3
$2
Уз
y2
y1
yo
Add/Sub
control
4-bit adder
S1
a) Fill out the table for x - y (subtraction)
SO
Co
x input
0x6
y input Add/Sub
0x7
CO
s output (hex) C4
overflow
b) Fill out the table for x + y (addition)
x input y input Add/Sub
0x5
0x5
Co s output (hex) C4 overflow
c)
Fill out the table for x + y (addition)
x input y input Add/Sub Co
s output (hex)
C4 overflow
OxA
0x8
d)
Fill out the table for x - y (subtraction)
x input
y input Add/Sub CO s output (hex)
C4 overflow
0x7
0x5
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you


Power System Analysis and Design (MindTap Course …
Electrical Engineering
ISBN:
9781305632134
Author:
J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:
Cengage Learning

Electricity for Refrigeration, Heating, and Air C…
Mechanical Engineering
ISBN:
9781337399128
Author:
Russell E. Smith
Publisher:
Cengage Learning


Power System Analysis and Design (MindTap Course …
Electrical Engineering
ISBN:
9781305632134
Author:
J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:
Cengage Learning

Electricity for Refrigeration, Heating, and Air C…
Mechanical Engineering
ISBN:
9781337399128
Author:
Russell E. Smith
Publisher:
Cengage Learning

Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning

EBK ELECTRICAL WIRING RESIDENTIAL
Electrical Engineering
ISBN:
9781337516549
Author:
Simmons
Publisher:
CENGAGE LEARNING - CONSIGNMENT