Design the datapath which has registers R0 through R3 and will output the value R0 + R1 if the value in register Z is zero and output R2 - R3 if the value in register Z is nonzero.
Note: (Use any of the Basic datapath components and only use 1 adder/subtractor unit)
EX: n-bit Adders, n-bit Subtractor, n-bit Comparator, Decoders, Register, Counter