Kod bloğu aşağıdaki şekilde
int a[10] = {10,19,8,17,6,15,4,13,2,11};
int n = 10;
int i = 0;
for (i = 0; i < n-1; i++)
{
if (a[i+1] <= a[i])
a[i] = a[i] - a[i+1];
}
for (i = 0; i < n; i++)
{
printf("%d, ", a[i]);
}Soru : Write a program in MIPS assembly to perform the following operation on an array of size 10:
// The array elements will be changed when testing your program