2.[20%] Translate the following C code to the minimum MIPS assembly instructions 
At the beginning of this code segment, the only values in registers are the base address of arrays A and B in registers $a1 and $a2. Assume that the values of i is stored in the register $s0