Write a MIPS programme
Given an array A with 8 integers (in words), the 8 elements of the array are defined based on your student ID no. as follows,Assume your student ID no. is 12345678, then the array A is defined as, A = [1 -2 3 -4 5 -6 7 -8]Calculate the followings in the array A using for loop.
i. Half of the sum of all elements (i.e. sum of all values /2)ii. sum of all positive elementsiii. sum of all negative elements
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here