Reputation: 183
If the ESP
register has a value of 0x00050830
and the address 0x00050830
has a value of 0x00002000
.
Now I say pop eax
, will the EAX
register have a value of 0x00002000
?
Upvotes: 0
Views: 560
Reputation: 1027
In addition it will increment esp by 4, to point to the next value on stack.
Upvotes: 2
Reputation: 3221
It will place the value at the address pointed to by esp into eax, namely 0x00002000.
Upvotes: 2