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
- Follow-Ups:
- Re: Help finding ARGC
- From: Steffen Solyga
- Re: Help finding ARGC
- References:
- Help finding ARGC
- From: Liam
- Help finding ARGC
- Prev by Date: Help finding ARGC
- Next by Date: Stacklayout GCC 4.1.2. - EBP differs?
- Previous by thread: Help finding ARGC
- Next by thread: Re: Help finding ARGC
- Index(es):
![]() |