Question: If not using pushad/popad in a procedure, then some form of the following code, with ebp as the stack frame pointer is used. Since ebp

If not using pushad/popad in a procedure, then some form of the following code, with ebp as the stack frame pointer is used. Since ebp is set equal to esp , why not just use esp as the stack frame pointer?

push ebp mov ebp,esp ; ... pop ebp ret 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!