Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Leaf function, prologue, epilogue » ?

Aussi appelé : leaf function · prologue · epilogue

Definition 10.14 University Computer Science — Year 2 · Chapitre 10 — Assembly Language and the Calling Convention

A leaf function calls no other function. A non-leaf function, or one that uses callee-saved registers, opens with a prologue, which allocates its stack frame and saves ra and the callee-saved registers it will use, and ends with an epilogue, which restores them, frees the frame and returns.

Lire dans le chapitre →