(a). Suppose a C++ compiler for the MIPS machine associates $s5 with array a and $s6 with variable i. How does it translate a[i] = a[i+1]; into MIPS assembly language?
(b). Write the machine language translation of the instructions in part (a).
000000 00000 10110 01000 00010 000000
000000 10101 01000 01000 00000 100000
000000 00001 01000 01001 00000 100000
101011 01001 00000 0000000000001001