全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Leaf function, prologue, epilogue?

又称: leaf function · prologue · epilogue

Definition 10.14 University Computer Science — Year 2 · 第 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.

在原文中阅读 →