MIPS:
Consider the following declarations:
.data
ARRAY: .word 10, 5, 7, 8, 88, 3, 16, 11, -1
COUNT: .word 0
Note that ARRAY contains an arbitrary number of non-negativenumbers, followed by a negative number which acts as a sentinelvalue. Write a MIPS program counts the non-negative numbers in theARRAY that are evenly divisible by 8, stopping when it reads thefirst negative value and storing the result in integer variableCOUNT. For the data shown above, your program would set COUNT to 3.NOTE: Your program should work for an ARRAY containing any numberof non-negative values.
Expert Answer
An answer will be send to you shortly. .
PayPal Gateway not configured
PayPal Gateway not configured