Convert c to mips assembly

broken image

Even if this weren't the case, we'd need to know which development target and toolchain you are using, and what restrictions on the solution exist if any, as the obvious answer would involve using pseudo-instructions, which not all assemblers support, and not all professors permit. Now, both for ethical reasons and due to DaniWeb TOS, we cannot just give you the code. I am assuming this a class assignment, or some sort of training exercise, since, as said, for any sort of work project the logical solution would be to compile the C code.

broken image