This Tutorial shows the different calling conventions of functions. It's related to assembly so i put it here. The symmetry between registers and stack is shown in the tutorial. Function Calling Conventions such as these are compared:
1) cdecl
2) pascal
3) stdcall
4) fastcall

Word File Attached.

-Sanchit