Explore tens of thousands of sets crafted by our community.
Calling Conventions
8
Flashcards
0/8
stdcall
This convention is similar to cdecl but the callee cleans the stack. It's used in WinAPI and also in x86 architecture.
cdecl
A calling convention where the caller cleans up the stack. It is used in C compilers for x86 architecture.
AAPCS (ARM Architecture Procedure Call Standard)
A calling convention for ARM architecture that defines how functions receive parameters and return values.
Pascal
A calling convention where the arguments are passed left to right and the callee cleans the stack, used in older Borland compilers.
Register
A calling convention where all arguments are passed in registers if possible, used in compilers for RISC-based architectures.
fastcall
A convention that passes the first few arguments in registers which can make function calls faster; used in Microsoft and GCC compilers.
Thiscall
A convention used primarily by C++ compilers for member function calls where the `this` pointer is passed in a specific register.
System V AMD64 ABI
The default calling convention for UNIX-like systems on x86-64, where the first six integer or pointer arguments are passed in registers.
© Hypatia.Tech. 2024 All rights reserved.