<<< PROC Directive Format | Index | __cdecl, the C-style calling convention >>> |
Data, passed to a procedure, are called input arguments.
Most common method is the stack (not global data or registers.)
But first, a new concept: calling conventions.
Calling conventions describe the interface of called code:
The order in which parameters are allocated.
Where parameters are placed (pushed on the stack or placed in registers.)
Which registers may be used by the procedure.
Whether the caller or the callee is responsible for unwinding the stack upon return.
<<< PROC Directive Format | Index | __cdecl, the C-style calling convention >>> |