Question 3 [Marks: 5] Write the MIPS code of the below given C code. Also identify type of each instruction and encode a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 3 [Marks: 5] Write the MIPS code of the below given C code. Also identify type of each instruction and encode a
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];