The circuit should be able to perform both addition and subtraction with the following requirements:
- Represent numbers from 0 to 15.
- When addsub = 0, the circuit will perform addition "a + b".
- When addsub = 1, the circuit will perform subtraction "a - b".
- It can be assumed that "a" is always larger than "b", so the result is always positive.
- To receive full credit, binary-coded decimal (not 2's complement) should be loaded directly into the shift register. If 2's complement is loaded into the shift register, it will only be considered partially correct even if the circuit works properly.