One bit And/Or/Add/Sub ALU
sub ==> add with negative “b” operand
Negative “b” ==> complement and add 1
Addition
Cout
Cin
op
AND
OR
0
1
2
a
b
Binvert
0
1
Binvert
0 ==> add
1 ==> sub
Cin0
0 ==> add
1 ==> sub
Previous slide
Next slide
Back to first slide
View graphic version