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.
No comments:
Post a Comment