go to previous page   go to home page  
li  $t2,-2
li  $t1,4
ror $t0,$t1,$t2

What does $t0 hold after the sequence has executed?

Answer:

0000 0000 0000 0000 0000 0000 0001 0000

Because $t2 holds a negative amount, the rotation is done to the left.

End of Chapter

You have reached the end of this chapter. Unless your head is rotating, click on a subject to go to where it was discussed.

You have reached the end of the chapter.

go to previous page   go to home page