Monday, December 27, 2010

Calling Convention

Calling convention refers to how arguments, return values are passed between caller and callee; how a call stack (if it exists) is constructed, how a return address is saved and retrieved; how local variables are assigned memory and how they are accessed. In short - it refers to prologue and epilogue of a function. Below presentation shows how a call stack changes during a function call.






Note: The presentation is not protected by any copyright and can be distributed freely.

No comments:

Post a Comment