hi , must convert the following c code to mips assembly for my university: odd = 1020000; /* 0xF9060 */ j= 0; loop: if (j & 0x1) { printf(odd\n); odd++; } j = j + 1; if (j < 5) goto loop; printf(%d\n,odd);
variables j and odd must be stored at registers $8 and $9($t0 and $t1)