Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Recursive function in x86 Assembly

oonnooonno Member Posts: 1
How can I write that function in x86 assembly?
I have tried to write it but I could not.
I am going to call it from a C function.


[color=Purple]int stirling(int n,int k)

return 1;

else if((n>=1)&&(k>0))
return stirling(n-1,k-1)-(n-1)*stirling(n-1,k);

else if(n>0)
return 0;

return 0;
Sign In or Register to comment.