Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
When looking at pictures and commented assembly language code we have seen that function parameters are passed from right to left and the caller is responsible for adjusting the stack after calling the callee function. This is the so called cdecl calling convention in C and C++. It allows calling functions with variable number of parameters, for example, printf and scanf:
printf("result = %d", nVal);