# I AM %EIP!!!!!
----------------- || INCREASING ADDRESS
+8 |parameter | ||
----------------- ||
+4 |return address | ||
----------------- ||
basepointer(ebp) |old %ebp | ||
---------------- ||
topOfStack-4 also (esp) |local variable | \/
----------------
i really recomend you to read Jonathan Bartlett's book titled Programming from the Ground Up in google or other site*
It really helps you to understand how computer works and also about assembly
with a very fresh (and easy to understand) language
* if my memory still serve me well....the book link is available in wikipedia