From: "CD (CeDric)" Newsgroups: comp.os.msdos.djgpp Subject: Problems with inline asm!? Date: Wed, 4 Mar 1998 14:08:48 +0100 Organization: Universite de Nantes Lines: 21 Message-ID: NNTP-Posting-Host: news.univ-nantes.fr Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cache-Post-Path: news.univ-nantes.fr!unknown AT dec1 DOT ensinfo DOT sciences DOT univ-nantes DOT fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Well, with your help I know now (French humour :) how to write some inline asm with djgpp but now, I got some problem with the asm instructions. fo example, when I want to compile a code with this line : asm("lea ax,[eax+eax*4]"); or this one : asm("move [es:di],al"); I got some errors because of the "[" which is not recognize by GCC (I think) so please help me 'cause I don't know what to do, my hair is falling down, I become nervous an my cat doesn't want to talk to me anymore... Thanks in advance... C U, CeDric