www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/06/15:15:33

Date: Tue, 06 Mar 2001 22:15:32 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Dylan Trotter" <heavier AT hotmail DOT com>
Message-Id: <1659-Tue06Mar2001221531+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <u98p6.31132$c7.9620206@news3.rdc1.on.home.com>
(heavier AT hotmail DOT com)
Subject: Re: Calling convention
References: <u98p6.31132$c7 DOT 9620206 AT news3 DOT rdc1 DOT on DOT home DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Dylan Trotter" <heavier AT hotmail DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Tue, 06 Mar 2001 16:22:50 GMT
> 
> I am writing some NASM functions to be linked with ld, but I'm not sure what
> the calling convention is with regard to changed registers. Do I have to
> save all registers inside a function or a subset of them, or does the caller
> have to worry about that?

You need to save some of them.  Section 17.4 of the DJGPP FAQ list has
all the details.

- Raw text -


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