The Machine Under the Code: Stack Frames and Function Calls in x86-64


This tutorial builds a multi-function x86-64 assembly program for a game engine math library, covering the call and ret mechanism, the System V AMD64 ABI argument and return register conventions, the function prologue and epilogue with rbp-relative local variable addressing, caller-saved versus callee-saved register preservation, and 16-byte stack alignment requirements.

Комментарии

Комментариев пока нет. Будьте первым, кто поделится своим мнением.
Продвинутый
0,0 (0)

Автор

Software engineer and the creator of the Bytestark learning platform