Answer:
What is the shortest sequence of MIPS instructions that extracts a field for the constant values of bits 7-21 (inclusive) from register $t0 and places it in the lower order portion of register $t3 (zero filled otherwise)? - sll$t0, $t3, 9# shift $t3 left by 9, store in $t0
srl $t0, $t0, 15# shift $t0 right by 15
Explanation:
The shortest sequence of MIPS instructions that extracts a field for the constant values of bits 7-21 (inclusive) from register $t0 and places it in the lower order portion of register $t3 (zero filled otherwise) is shown below:
sll$t0, $t3, 9# shift $t3 left by 9, store in $t0
srl $t0, $t0, 15# shift $t0 right by 15
Answer:
The data is transformed to usually make it smaller. It can always be re-constructed back to the original.
Explanation:
I'm on the same lesson on code.org as you, so just go to the question before and the answer to that question was the answer! ;)
Let me know if you got it right!
I believe this would be C, B, A, D
Sorry if it wasn’t.
Answer:
I thinks its CodeHS 3.4.5.
Explanation: