Q6. Consider question 4-21 in the book. Determine the bit-sequences in R,
after a logical shift-left:
followed by a circular shift-right:
followed by a logical shift-right:
followed by a circular shift-left:
followed by an arithmetic shift-left:
Q7. What are the bit-values (0 or 1) of each line of output H in Fig. 4-12 if input A is 1001, S = 1, IR = 1, and IL=0?
H3= , H2= , H1= , H0=
Q8. We need the 2's complement of the contents of register R1. Explain, whether it can be achieved with the following register
transfer statement by making yT=1, Where (R1)' denotes the 1's complement of the contents of register R1.
yT: R1 \leftarrow (R1)', R1 \leftarrow (R1)+1