linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Liam <oasisbhrnw99@yahoo.com>
To: linux-assembly@vger.kernel.org
Subject: Help finding ARGC
Date: Wed, 14 Nov 2007 21:01:12 -0800 (PST)	[thread overview]
Message-ID: <320520.11054.qm@web45102.mail.sp1.yahoo.com> (raw)

Hi all,

I was reading about ARGC and that it holds how many
arguments were given on the command line when the
program was executed.

My question is, where is it on the stack?

If I do:

movl %esp, %ebp

at the beginning of the program, how can I get to the
ARGC value?




      ____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

             reply	other threads:[~2007-11-15  5:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15  5:01 Liam [this message]
2007-11-15  9:56 ` Help finding ARGC Mike Osipov
2007-11-27 21:12   ` Steffen Solyga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=320520.11054.qm@web45102.mail.sp1.yahoo.com \
    --to=oasisbhrnw99@yahoo.com \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).