Question 3 [Marks: 5] Write the MIPS code of the below given C code. Also identify type of each instruction and encode a
Posted: Tue Jul 05, 2022 10:19 am
Question 3 [Marks: 5] Write the MIPS code of the below given C code. Also identify type of each instruction and encode all the instructions. Assume that X, Y are in register $3, and $4 respectively and base address of A is in register $4. [2+1+2] A [3] =7*X+9*Y+100; X=12*A [A [2]] +21*Y-30; Y=A[X]+A[X+2];