Multiply by using Shift and Add instructions
You have studied shift and rotate instructions. When a number is shifted left it is multiplied by 2 , when you it is shifted right it is divided by 2.
We can multiply two numbers by using shift and rotate instruction.
Implement the logic shown below.