I need to write a program in MIPS that will find the saddle points of a 4x4 matrix. It will print the value of the saddle points and if there is no saddle points it will print a message that says so. A saddle point is a value which is a minimum in a row and the maximum in its column. I have written this program in c and it works and am having trouble converting it to assembly. My c code is below. I am having trouble putting all the loops in assembly. Any help is appreciated. thanks.

```
#include<stdio.h>
int main()
{
int a[3][3],i,j,k,min,max,col,count=0;
printf("enter elements row-wise");
for(i=0;i<4;i++)
{
for(j=0;j<4;j++)
{
scanf("%d",&a[i][j]);
}
}
for(i=0;i<4;i++)
{
min=a[i][0];
for(j=0;j<4;j++)
{
if(a[i][j]<=min)
{
min=a[i][j];
col=j;
}
}
max=a[0][col];
for(k=0;k<4;k++)
{
if(a[k][col]>=max)
{
max=a[k][col];
}
}
if(max==min)
{
printf("saddle pt.at (%d,%d)",i+1,col+1);
count++;
}
}
if(count==0)
printf("no saddle points");
}
```