From: "Jay" Newsgroups: comp.os.msdos.djgpp Subject: gcc-295 and inline ASM Lines: 20 Organization: n/a X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Tue, 12 Oct 1999 18:09:51 +0100 NNTP-Posting-Host: 209.148.241.207 X-Complaints-To: abuse AT sprint DOT ca X-Trace: newscontent-01.sprint.ca 939853338 209.148.241.207 (Wed, 13 Oct 1999 18:22:18 EDT) NNTP-Posting-Date: Wed, 13 Oct 1999 18:22:18 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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