1.
(a) Write MIPS assembly code that will execute the following Cstatement. Assume that the following registers are used torepresent the variables. x in register $s5, y in register $t6, andz in register $t3
x= y – z + x – 10
(b) Replace the C code for
a[5] = b[4] + a[3] – 3
by a set of equivalent MIPS instructions, using as fewinstructions as possible. Assume the staring addresses for arraysa and b are stored in registers $8 and $9,respectively
Expert Answer
An answer will be send to you shortly. . . . .