1) Convert the following C code into MIPS assembly For (b-0; bW)…

1) Convert the following C code into MIPS assembly For (b-0; bW) W-Z[b] note: assign array Z, integers C and integer W to registers $SO, $S1, $S2 respectively. Put comments for each assembly line to explain its purpose.