delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/08:15:26

From: "CD (CeDric)" <i2a03e08 AT ensinfo DOT univ-nantes DOT fr>
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: <Pine.OSF.3.95.980304135930.9125A-100000@dec1>
NNTP-Posting-Host: news.univ-nantes.fr
Mime-Version: 1.0
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

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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019