LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what's the usage of these codes? (https://www.linuxquestions.org/questions/linux-newbie-8/whats-the-usage-of-these-codes-844747/)

gbstack 11-16-2010 11:34 PM

what's the usage of these codes?
 
Hi,everyone

I find that almost every assembly program in linux contains following codes:
pushl %ebp
movl %esp,%ebp

If I delete those codes,it will cause segmentation fault.
So what's the usage of those codes?

any suggestion is appreciated.

macemoneta 11-17-2010 12:02 AM

This page gives a good explanation.

gbstack 11-20-2010 09:03 AM

Thank you very much(sorry for my late reply...)


All times are GMT -5. The time now is 04:21 PM.