hi friends, im new in marie assembly and im really in need to convert this c program into marie assembly...please help me...


#include <stdio.h>
short int somatorio(short int x){
if(x == 1)
return x;
else
return x + somatorio(x – 1);
}
main(){
int y;
t = somatorio(50);
}

this is the code c that i need to convert to the MARIE program assembly...please help thaks for all you time.