Write the equivalent assembly code if you were to translate fromC to MIPS assembly:
a) for (i = 1; i < 8; i++)
sum += i;
b) if (i==j)
f = g - h;
else
f = g + h;
Write the equivalent assembly code if you were to translate from C to MIPS assembly: a) for (i = 1; i < 8; i++) sum += i
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am