For the MIPS assembly instructions below, what are the corresponding C statements.
a) addi f, f, 4
b) add f, g, h
   sub f, i, f

 So far, I have this but I don't if it is correct.
   a) f = (f + 4);
   b) f = g + h - i;

   Thank you
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.