linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Assembly Procedure calls
@ 2002-05-16 18:39 J.S.Souza
  2002-06-10 10:35 ` Linear memory Frederic Marmond
  0 siblings, 1 reply; 2+ messages in thread
From: J.S.Souza @ 2002-05-16 18:39 UTC (permalink / raw)
  To: penguin; +Cc: linux-assembly

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-10 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-16 18:39 Assembly Procedure calls J.S.Souza
2002-06-10 10:35 ` Linear memory Frederic Marmond

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).