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 majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- ------------------------------------ Steffen Solyga mail: solyga@xxxxxxxxxxx www : http://www.absinth.net/solyga/ ------------------------------------ - To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- References:
- Help finding ARGC
- From: Liam
- Re: Help finding ARGC
- From: Mike Osipov
- Help finding ARGC
- Prev by Date: Stacklayout GCC 4.1.2. - EBP differs?
- Next by Date: init.asm - 0.03 (19-Jun-2002) - asmutils 0.18
- Previous by thread: Re: Help finding ARGC
- Next by thread: Stacklayout GCC 4.1.2. - EBP differs?
- Index(es):