Questions tagged [esp]

Extended Stack-Pointer is an x86 32-bits register used to store the stack-pointer during program execution.

Filter by
Sorted by
Tagged with
2
votes
1answer
395 views

To what points [esp+2Ch]?

I am analyzing a Windows executable file(PE Format), probably written in Borland Delphi. The program starts with the following instructions: pusha (1) pushf ...
1
vote
2answers
9k views

Return address on ESP?

I've read that the return address of a function call is always pushed on the ESP stack. But the thing when i tried to see that using gdb, I didn't find it. Here's the program written in C I've used : ...
4
votes
2answers
6k views

Assembly- Using push and ESP-Register to store addresses

I have found the following assembly lines presented in a tutorial which I do not understand: xor eax, eax => clear, I know that, it makes eax = 0 push eax => push 0 on the stack ...