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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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