Does saying 4(%ebp) mean the same as %ebp?

For example, would the following two lines mean the same thing?

movl 4(%ebp), %eax

...or....

movl %ebp, %eax

If %esp = %ebp, then could you also use:

movl 4(%ebp), %eax

...or...

popl %eax

..or...

movl %ebp, %eax


I'm trying to confirm I understand these concepts correctly! Thanks
for the guidance.

Graeme


_______________________________________________
Pgubook-readers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pgubook-readers

Reply via email to