Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

What is the purpose of the EBP register?

So, I'm currently learning x86 assembly language. I know that the ESP register contains the location of the front of the stack, but what is EBP? I'm reading this article here: http://forum.codecall.net/topic/65232-assembly-loc... and it doesn't give a clear answer to what it really does. Is it to somehow save the stack pointer when calling a function, so I can restore the stack frame after the function returns? I know it stands for "Extended Base Pointer", but what is a base pointer?

1 Answer

Relevance
  • 7 years ago
    Favorite Answer

    when you make function calls then you will be using the base pointer for creating and acessing local variables

Still have questions? Get your answers by asking now.