################################################################################## #CS2710 Homework 4 # Put your name here. # # Read these instructions carefully and fully. # # This assignment builds upon your solution to the previous (Homework 3) assignment. # For this assignment, write an MIPS assembly-language procedure that is equivalent # to the following Java method: # # // This method sums the first n values in myArray and returns the result. # // myArray - reference to an integer array of arbitrary length. # // n - the number of elements of myArray to use to compute the sum. # // returns: the sum of the first n elements of myArray. # public int addValues( int[] myArray, int n ) { # int sum = 0; # for( int i=0; i