I am confused with stack. ESP and EBP. esp points to top of the stack which grows downwards to lower memory address.
what is ebp contains?
push ebp //
saving the value of ebp; Can ebp contains value like other general purpose registers ? I think ebp only holds the address of base registers as esp?
mov ebp,esp
// is this moving the memory address of esp to ebp?
what is base pointer and how it works in general?
What is stack frame?
Thanks