Page 1 of 1

Construct the equivalent MIPS code of the following C code. Once you have the MIPS code, identify type of each instructi

Posted: Sun Jul 03, 2022 9:58 am
by answerhappygod
Construct the equivalent MIPS code of the following Ccode. Once you have the MIPS code, identify type of eachinstruction and encode them accordingly.
A[5]=A[6]+A[B[4]]+5;
B=A[5]-6;
Hints: Consider base addresses of array A and B are inregister $10 and $11. Also consider i is in register$8.
(Please, solve it with proper explanation and withoutcopying it)