Date: Fri, 06 Jul 2001 11:23:39 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Niklas_Pson AT nosmam DOT hotmail DOT com (Niklas Pettersson) Message-Id: <2950-Fri06Jul2001112338+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <90D5EC920NiklasPsonnospamhotm@130.235.20.4> (Niklas_Pson AT nosmam DOT hotmail DOT com) Subject: Re: Help!! Inline asm with DJGPP References: <90D5EC920NiklasPsonnospamhotm AT 130 DOT 235 DOT 20 DOT 4> 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 Precedence: bulk > From: Niklas_Pson AT nosmam DOT hotmail DOT com (Niklas Pettersson) > Newsgroups: comp.os.msdos.djgpp > Date: 5 Jul 2001 21:33:54 GMT > > test2.cpp: In function `int main()': > test2.cpp:17: Invalid `asm' statement: > test2.cpp:17: fixed or forbidden register 2 (cx) was spilled for class > CREG. Section 8.17 of the DJGPP FAQ list includes a URL of the GCC FAQ page which explains this problem and shows how to solve it.