From: lonniem AT cs DOT utexas DOT edu (Lonnie McCullough) Newsgroups: comp.os.msdos.djgpp Subject: Re: Inline assembly problems! Date: Fri, 25 Jul 1997 02:21:05 GMT Message-ID: <33d80d37.1008082@news.nol.net> References: <33d4f469 DOT 1387703 AT news DOT algonet DOT se> NNTP-Posting-Host: ip38-8.nol.net Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Tue, 22 Jul 1997 18:01:15 GMT, derek AT algonet DOT se (Christian Granström) wrote: >int label; >asm("movl %eax,%eax" > : > : a(label) > : > ); try: int label; asm ("movl %%eax,%%eax \n" : : "a" (label)); Should work. Lonnie McCullough lonniem AT cs DOT utexas DOT edu