Crossware

Table of Contents        Previous topic       Next topic       

C/C++ COMPILER->Function Calling Conventions->Traditional Calling Convention

The traditional calling convention is the calling convention used when the Advanced Features of the compiler are not enabled.

The traditional calling convention is also used for functions declared with an ellipsis (...) parameter.  I.e. one that will be called with a variable number of arguments.

All arguments are pushed onto the stack starting from the rightmost argument and finishing with the leftmost argument.  The arguments are popped from the stack after the called function returns.