Tag

function-call-convention

0 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Aug 8, 2022 · Fundamentals

Deep Dive into Function Call Implementation: From Assembly to CPU Registers

This article thoroughly explains low‑level function call implementation, covering Intel and AT&T assembly syntax, the evolution of CPU registers from 16‑bit to 64‑bit x86, caller‑ and callee‑saved conventions, stack‑based to register‑based parameter passing, stack frame setup, and assembly representations of control structures.

CPU architectureCPU registersLow-level programming
0 likes · 23 min read
Deep Dive into Function Call Implementation: From Assembly to CPU Registers