Stack Frame

zhaozj2021-02-16  93

I have recently asked what Stack frame.

I have sorted it for your reference.

Stack frame is created by prolog assembly code, and it's a an area of ​​memory that temporarily holds the arguments to the function as well as any variables that are defined local to the function.When the procedure is called, the stack frame is pushed onto stack .

The calling sequence is as the following:. 1 call prolog2 prolog creates stack frame, which holds arguments to the function as well as any variables that are defined local to the function.3 push stack frame onto stack.4 call the procedure... .5. Epilog

转载请注明原文地址:https://www.9cbs.com/read-11599.html

New Post(0)