Write the structure RTL description for shift instruction-01829
This subjective question is related to the book/course vu mgt101 Financial Accounting. It can also be found in vu mgt101 Mid Term Solved Past Paper No. 2.
Question 1: Write the structure RTL description for shift instruction
Answer:
Shift instructions are rather complicated in the sense that they require extra hardware to hold and decrement the count. For an ALSU that can perform only single bit shifts, the data must be repeatedly cycled through the ALSU and the count decremented until it reaches zero. This approach presents some timing problems, which can be overcome by employing multiple-bit shifts using a barrel shifter. (Page 157)