Hi guys, may please help me to convert this code to assembly language of MIPS?
int binom(n, k)
{
if (k == 0 || n == k)
return 1;
return binom(n-1, k-1) + binom(n-1, k)
}
I know that compiler can convert c language to assembly language but it converts in assembly of i7 and not of MIPS!
thanks beforehand !
int binom(n, k)
{
if (k == 0 || n == k)
return 1;
return binom(n-1, k-1) + binom(n-1, k)
}
I know that compiler can convert c language to assembly language but it converts in assembly of i7 and not of MIPS!
thanks beforehand !