Problem 1 (20 points)
B
N
N
Cout
B
N
N
N
N
Sum
ALUControl
N
N
N
N
ALUControl
11 10 01 00
ALU
N
Result
ALUControl
2
N
Result
Based on the figures of ALU above, if A7:0 = 01010010 and B7:0 = 11110001, determine Result7:0
and Cout for:
a. ALUControl1:0 = 00
b. ALUControl1:0 = 01
c. ALUControl1:0 = 10
d. ALUControl1:0 = 11
(For each part, Result7:0 will be worth 4 points and Cout will be worth 1 point.)