Convert the following C statements into equivalent MIPS assembly language:
a = 10;
b = 0;
for (b = 10; b =! 100 ; b++)
{
b = b - a;
D[i] = a - 3;
C[3] = b + 10;
}
Assume that the variables a, b, and i are assigned to registers $s0, $s1 and $s2 and the base address of arrays C and D are stored in registers $s6 and $s7 respectively
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here