Design a system that gets four one bit inputs: a, b, cin and E, where E is the desired operation (1 – addition, 0 – subtraction). The system has two one bit outputs: sumadd / sumsub and cout / bout.
For implementing the system you have a single F.A and two xor gates.