Write a MIPS program that will alter an array of 100 doubles. No input or output is required. We will assume somebody else did it. Your program modifies the elements in the array as described below.
Positive elements in the array are to be replaced by their square root (Do it the easy way).
Negative elements in the array are to be squared. Zero is unchanged.
For example, if the first two elements of the array originally contain: (-1.5, 16.0 ...)
The resulting elements will be: ( 2.25, 4.0 ...)
.data
.align 3
A: .space 800
Zero: .double 0.0
EXTRA POIN IF ANSWRED IN LESS 10MINS