All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J.S.Souza" <jssouza@pacbell.net>
To: penguin@dccnet.com
Cc: linux-assembly@vger.kernel.org
Subject: Assembly Procedure calls
Date: Thu, 16 May 2002 11:39:59 -0700	[thread overview]
Message-ID: <200205161840.LAA18243@gold.he.net> (raw)

What is required for calling procedures using GAS?  Do I have to pay 
attention to far / near calls?  Also, do I need to pay attention to 
realigning the stack or anything else?  I noticed in other peoples programs 
that have procedures in the main file that they push the %edi register - 
what's this for?   Also, what is needed if I put the procedures in another 
file - do I need to declare things as EXTERN and so forth?  How about 
assembling the file - are there options I need to pass to 'as' and 'ld'?

		Regards,
		Jeff Souza
		jssouza@pacbell.net

             reply	other threads:[~2002-05-16 18:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 18:39 J.S.Souza [this message]
2002-06-10 10:35 ` Linear memory Frederic Marmond

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=200205161840.LAA18243@gold.he.net \
    --to=jssouza@pacbell.net \
    --cc=linux-assembly@vger.kernel.org \
    --cc=penguin@dccnet.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.