Question

Q4. For two numbers A=a3a2a1a0 and B=b3b2b1b0 use a few full adders, some gates, to implement a circuit that can perform subtraction. Please construct a component to generate overflow too.

Fig: 1