Write a MIPS assembly language program that finds number of negative and positive
numbers in an Array A with 10 numbers. Add comments to your program and explain your
algorithm.
int A[]= {-1,5,6,7,10, -6, -5,4,9,20};
int count1=0;
int count2=0;
for (int i=0;i<A.length;i++)
{
if (A[i]<0)
count1++;
else count2++;
}