Look at this assembler code. It is designed for 32 bits x86 and will be compiled by nasm
... my_function: pop %eax ... ret
In Addition to David answers, this is another example
push 0 ; fourth parameter push 4 ; third parameter push 4 ; second parameter push [eax] ; first parameter call printf
Same in C or C++ as
somefunction(first,second,third,fourth);