Hi all,
The last paragraph on page 91 says, '... When a LInux program begins, all
pointers to command line arguments are stored on the stack ... and the
arguments are stored from 16(%esp) on'.
Does this mean that when we run a program like this:
$./toupper toupper.s uppercase.s
Linux automagically counts the parameters for us (in this case the parameters
are 2) and stores them at 8(%esp), and the actual arguments (toupper.s and
uppercase.s) are from 16(%esp) upwards.
In short, Linux fills in a program's parameters for us and we do our own
functions'.
Thank you.
_______________________________________________
Pgubook-readers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pgubook-readers