Question: Assume CPU register $ 1 1 is refilled with the pattern 0 xCAFEF 0 0 D prior to executing each of the instructions listed below.

Assume CPU register $11 is refilled with the pattern 0xCAFEF00D prior to executing each of the instructions listed below. Use 8 hex digits to show the contents of the result register after each instruction is executed.
a)(3) addiu $10, $11,-2 contents of $10=0x____________
b)(3) addi $9, $11,-2 contents of $9=0x____________
c)(3) ori $8, $11,-2 contents of $8=0x____________
d)(3) xori $7, $11,-2 contents of $7=0x____________
e)(3) andi $6, $11,-2 contents of $6=0x____________
f)(3) sra $5, $11,6 contents of $5=0x____________

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!