A are the binary inputs Y are the outputs from Multiplexer which is B, B, 0, 1 Cm is the Input Carry 8 Arithmetic expressions can be selected through Selecting Y by setting S1 and S2, Selecting cin with the value either “0” or “1” Select Signals Output S0 S1 Cin Input(Y) Operation D=A+Y+Cin 0 0 0 B A+B Add 0 0 1 B A+B+1 Add with Carry 0 1 0 Subtract B A + B with Barrow 0 1 1 Subtract B A + B + 1 1 0 0 0 A Transfer A
A are the binary inputs Y are the outputs from Multiplexer which is B, B, 0, 1 Cm is the Input Carry 8 Arithmetic expressions can be selected through Selecting Y by setting S1 and S2, Selecting cin with the value either “0” or “1” Select Signals Input(Y) Output D=A+Y+Cin Operation S0 S1 Cin 0 0 0 B A+B Add 0 0 1 B A+B+1 Add with Carry 0 1 0 B A + B Subtract with Barrow 0 1 1 B A + B + 1 Subtract 1 0 0 0 A Transfer A