Question

Design an arithmetic-logic circuit with 3-bit opcode variables XYZ and two 4-bits data inputs A and B.The circuit generates the following arithmetic, and logic operations. Draw the logic diagram with

carry( COUT ) and overflow ( OF )outputs.

Fig: 1

Fig: 2