Message-ID: <38055C4F.DEC659C0@hutch.com.au> From: Gavin Alexander Organization: Orange - Hutchison Telecoms X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc-295 and inline ASM References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 22 Date: Thu, 14 Oct 1999 14:30:07 +1000 NNTP-Posting-Host: 203.12.80.8 X-Complaints-To: abuse AT telstra DOT net X-Trace: nsw.nnrp.telstra.net 939875398 203.12.80.8 (Thu, 14 Oct 1999 14:29:58 EST) NNTP-Posting-Date: Thu, 14 Oct 1999 14:29:58 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Read the above posting "I push DJGPP" or go to http://www.rose-hulman.edu/~yerricde/minifaq.txt GA Jay wrote: > Hi, I just recently upgraded DJGPP to the most current version, and > everything work out fine except for any sources I use inline ASM in. > What happens is I keep getting this error: > > draw.c:6: Invalid `asm' statement: > draw.c:6: fixed or forbidden register 0 (ax) was spilled for class AREG. > > And I have noticed that all the errors come from the asm statements that > preload values into registers.. Does DJGPP not support preloading of > registers anymore or is there something weird going on with my compiler? Any > help is appreciated. > > ------------------------------ > Jay > ok11 AT ihatespam DOT sprint DOT ca