cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/12/18:17:01

From: Sebastian Schuberth <sebastian DOT schuberth AT gmx DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: register calling conventions
Date: Fri, 12 Feb 1999 23:29:08 +0100
Organization: Komtel GmbH
Lines: 12
Message-ID: <36C4AB34.E2F54246@gmx.net>
NNTP-Posting-Host: 212.7.132.132
Mime-Version: 1.0
X-Trace: renate.komtel.net 918858507 14807 212.7.132.132 (12 Feb 1999 22:28:27 GMT)
X-Complaints-To: news AT renate DOT komtel DOT net
NNTP-Posting-Date: 12 Feb 1999 22:28:27 GMT
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: de,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi there,

I've written some assembler routines (in an external .asm file) which
are ment to be called using registers to pass the arguments. Currently,
I use Watcom C and the "#pragma aux <sym> parm [...] modify [...] value
[...]" directive in my header file to tell the compiler where to put the
arguments. How can I tell DJGPP where to put the arguments and how
should my function prototype in the header file look for DJGPP?

-- 
Sincerely,
  Sebastian Schuberth.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019