jeudi 1 février 2018

C to MIPS How will i convert an if else statement

I am trying to convert my C code to a MIPS instruction set and i am stuck on how to go about an if and else statement. Suppose my code is like this how will do it ?

if (x==10) then x+=5; else x+=20;

Any study material or a link will be highly appreciated

Aucun commentaire:

Enregistrer un commentaire