callconventies
Call conventions, sometimes written as calling conventions, are a family of rules used by compilers, linkers, and languages to define how a program transfers control and data when calling functions. They specify how arguments are passed (which registers or stack slots), how the function’s return value is delivered, how the call stack is managed, and how names are decorated for linking. In some contexts the term may appear as callconventies, but the standard term is calling convention.
Key elements of a call convention include the parameter passing order, the choice between registers and stack
Common conventions vary by platform and language. On 32-bit x86, well-known conventions include cdecl (arguments pushed
Interoperability between languages and libraries relies on matching call conventions. Mismatches can cause crashes or incorrect