I am trying to build a system that needs to pick up the command line arguments. However, it seems there are two ways to do it. The old way is that argc and argv elements are on the stack. Using gcc 3.4.3, the argc is edi and the pointer for argv is in esi, according to the times that I have tried it. Is this correct???? Gary Burt - : 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: argc/argv
- From: Marcin Kościelnicki
- Re: argc/argv
- Prev by Date: Re: PS/2 Mouse
- Next by Date: Re: argc/argv
- Previous by thread: PS/2 Mouse
- Next by thread: Re: argc/argv
- Index(es):