MIPS assembly code

1)Given the pseudo-instructions listed on the MIPS sheet, write a sequence of MIPS code that will accomplish the desired effect. Do not use any pseudo-instructions to implement code for a pseudo-instruction
2) Develop a MIPS procedure which will calculate the mean, median, and mode of the array A[n]. you can assume the array is already sorted. Use the stack to pass the address of A and the size n to the procedure, and to return the three results.