www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/15/04:14:15

From: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
Message-Id: <199611150910.KAA02656@gilberto.physik.rwth-aachen.de>
Subject: Re: How to use inline assembly language in my c source file?
In-Reply-To: <328B342B.77F0@chungbuk.ac.kr> from "Hee Dong,Lim" at "Nov 15, 96 00:03:03 am"
To: dkh AT chungbuk DOT ac DOT kr (Hee Dong, Lim)
Date: Fri, 15 Nov 1996 10:10:04 +0100 (MET)
Cc: djgpp AT delorie DOT com
Reply-To: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
MIME-Version: 1.0

> Hi?
> I'm a korean student who studies computer engineering.
> I'm interested in programming with djgpp.
> djgpp is uhm...FANTASTIC!
> I wrote "asm push ax" in my source file.
> but gcc reported error meggage "parse error before ax"

You have to put it in parentheses:

asm ("push ax");

at minimum but there's more to it. Take a look at:

http://www.rt66.com/~brennan/djgpp/djgpp_asm.html

> ?
> I wanna get information inline assembly language usage in gcc.
> please...tell me...
> waiting for your contact...
> goodbye!
> 

--Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de

- Raw text -


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