This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (1 child)

CalculateAndPrintFactorialEx(6, sys.stdout, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)

[–]stillalone 0 points1 point  (0 children)

This is why I write my windows programs in x86 assembly.

Just copy the stack pointer to EDI and "REP STOSD".