Assignment 1
Assignment 1
Consider the following register transfer statements for two 4-bit registers R1 and R2.
Every time that variable T = 1, either the content of R2 is added to the content of Rl ifx = 1, or the
content of R2 is transferred to R1 if x = 0. Draw a diagram showing the hardware implementation of
the two statements. Use block diagrams for the two 4-bit registers, a 4-bit adder, and a quadruple
2-to-1-llne multiplexer that selects the inputs to Rl. In the diagram, show how the control variables x
and T select the inputs of the multiplexer and the load input of register Rl.
Question no2.
Question no 3.
The 8-bit registers AR, BR, CR, and DR initially have the following values:
AR =11110010
BR =11111111
CR =101 11001
DR =11101010
Determine the 8-bit values in each register after the execution of the following sequence of
microoperations.