Question: Basic Assembly Program - MIPS Prompt the user for two numbers and save them in two registers. Print out in order: The results of shifting
Basic Assembly Program - MIPS
- Prompt the user for two numbers and save them in two registers.
- Print out in order:
- The results of shifting the first number left by 1 binary digit.
- The results of shifting the second number right by 2 binary digits
- Format the output as shown in the example below.
Sample Output:
Enter the first number: 20
Enter the second number: 5
Shift Left 1<< 10
Shift Right 2 >> 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
