Question
If your answer is 0x02ABCDED, only put 02ABCDED in the response box (use all CAPITAL). a)Encode LUI $31,100 and write the equivalent hexadecimal value. The
If your answer is 0x02ABCDED, only put 02ABCDED in the response box (use all CAPITAL).
a)Encode LUI $31,100 and write the equivalent hexadecimal value. The processor can uniquely identify this instruction using the value:15. Hint: The given register does not work as source/rs.
b)Encode SRL $31, $4, 5 and write the equivalent hexadecimal value. The processor can uniquely identify this instruction using the value: 2. Hint: The given register does not work as source/rs.
Now suppose, you are executing the following the code:
ADDI $s5, $zero, 2022 SRL $s5, $s5, 5 NOR $s6, $s5, $zero
c)After executing the SRL instruction, what would be the value stored in $s5?
d)After executing the NOR instruction, what would be the value stored in $s6?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started