We need three control lines to identify any one of these operations. The input combination of these control lines are shown below:
Control line
is used to identify the group: logical or arithmetic, ie
: arithmetic operation
: logical operation.
Control lines
and
are used to identify any one of the four operations in a group. One possible combination is given here.
