Question: translate the following code into mips code test int i...
Translate the following code into MIPS code.
Test (int i, int j)
k = Double(i+1) + Double (j-10)
Sub (int m)
g = m + m;
Assume the compiler associates the variable k to the register $s0. Assume the compiler associates the variable g to the register $t0.