Question: Consider an 8 - bit shift register that uses the shift operations to perform operations like multiplication and division of a binary number by a
Consider an bit shift register that uses the shift operations to perform operations
like multiplication and division of a binary number by a power of
Our industrial embedded computer has commands for shift registers written in the
form:
SHR
Where the contents are shifted to the right by bits.
SHL
Where the contents are shifted to the left by bits.
a If the register contains the binary equivalent of the decimal number :
i Show the contents of the register before and after the command SHR
Before
After
ii What is the decimal equivalent after?
b If the register contains the binary equivalent of the decimal number :
i Show the contents of the register before and after the command SHL
ii What is the decimal equivalent after?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
