question archive Translate the following C code to MIPs assembly code
Subject:Computer SciencePrice: Bought3
Translate the following C code to MIPs assembly code. Use a minimum number of instructions. Assume that the values of a, b, i, and j are in registers $s0, $s1, $t0, and $t1 respectively. Also, assume register $s2 holds the base address of the array D. for (i = 0; i < b; i++) for (j = 0; j < a; j++) D[4 * i] = i + j;