Question 1:
Translate the following C statements into MIPS assembly instructions temp =b; b = a; a= temp; assume a, b and temp are in register $s0 and $s1 and $s3 respectively.
Question 2: Translate the following C statements into MIPS assembly instructions if(a>b) c= c+1; assume that variables a b and c are in registers $s0,$s1,$s2 respectively.
Question 3: Translate the following C statements into MIPS assembly instructions. A[24] = A[15]*2 +1;
Let the base address of the array A being in register $s0, try to do this in as few instructions as possible

WhatsApp us