Assume that i is in $t0 register, x is in $f0 register, the base address of the array A is in $50 register. C/Java CODE: for (int i=0;i<10;i++){ if (x>5.2){ A[i]=x+1.0 } } MIPS CODE: li $t,0#i=0; li $t 5,10 1.s $f1,1.0 1.5$f2,5.2 FOR: $L0,$t5, EXIT IF: $f,$f2 sll$tt,$t0,2 $calculate 4i add $t2, $t1,$s0 # t2 holds the address of A[i] $+3,$+0,$+1.