li  $t2,-2
li  $t1,4
ror $t0,$t1,$t2

What does $t0 hold after the sequence has executed?

A good answer might be:

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 blue subject to go to where it was discussed. To get back here, click on the "back arrow" button of your browser.



Click here

You have reached the end of the chapter.