delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/09/21:05:55

From: wmcgugan AT netcomuk DOT co DOT uk (William McGugan)
Newsgroups: comp.os.msdos.djgpp
Subject: What registers do I have to save when using external assembler functions?
Date: Mon, 09 Jun 1997 18:55:06 GMT
Organization: None. (via NETCOM Internet Ltd. USENET service).
Lines: 13
Message-ID: <339c502e.3723200@nntp.netcomuk.co.uk>
NNTP-Posting-Host: dialup-15-35.netcomuk.co.uk
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

What registers do I have to save when using external assembler
functions? I'm asking because my assembly functions crash with -O, and
I thought it might be due to DJGPP using a register variable that was
corrupted my asm functions.

I have declared all my global variables and external functions as
volatile, but that doesn't seem to help.

Thanks.


William McGugan
http://www.netcomuk.co.uk/~wmcgugan

- Raw text -


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