Logo
Pattern

Discover published sets by community

Explore tens of thousands of sets crafted by our community.

Calling Conventions

8

Flashcards

0/8

Still learning
StarStarStarStar

cdecl

StarStarStarStar

A calling convention where the caller cleans up the stack. It is used in C compilers for x86 architecture.

StarStarStarStar

stdcall

StarStarStarStar

This convention is similar to cdecl but the callee cleans the stack. It's used in WinAPI and also in x86 architecture.

StarStarStarStar

fastcall

StarStarStarStar

A convention that passes the first few arguments in registers which can make function calls faster; used in Microsoft and GCC compilers.

StarStarStarStar

Thiscall

StarStarStarStar

A convention used primarily by C++ compilers for member function calls where the `this` pointer is passed in a specific register.

StarStarStarStar

Pascal

StarStarStarStar

A calling convention where the arguments are passed left to right and the callee cleans the stack, used in older Borland compilers.

StarStarStarStar

Register

StarStarStarStar

A calling convention where all arguments are passed in registers if possible, used in compilers for RISC-based architectures.

StarStarStarStar

AAPCS (ARM Architecture Procedure Call Standard)

StarStarStarStar

A calling convention for ARM architecture that defines how functions receive parameters and return values.

StarStarStarStar

System V AMD64 ABI

StarStarStarStar

The default calling convention for UNIX-like systems on x86-64, where the first six integer or pointer arguments are passed in registers.

Know
0
Still learning
Click to flip
Know
0
Logo

© Hypatia.Tech. 2024 All rights reserved.