Re: Help finding ARGC
Steffen Solyga <[email protected]> Tue, 27 Nov 2007 22:12:47 +0100
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
maybe you want to have a look at this one http://linux.xulin.de/asm/cmdline/ Citing Mike Osipov (Thursday, 2007/11/15 12:56)... > in the beginning of execution %esp point to argc value > get it: movl (%esp), %eax > or: popl %eax > Now %eax contains argc value > - > To unsubscribe from this list: send the line "unsubscribe linux-assembly" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html -- ------------------------------------ Steffen Solyga mail: [email protected] www : http://www.absinth.net/solyga/ ------------------------------------