delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/10/10:08:39

Date: Sun, 10 May 1998 17:03:00 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dark Angel <mop45440 AT mail DOT telepac DOT pt>
cc: djgpp AT delorie DOT com
Subject: Re: Inline assembley? is it possible?
In-Reply-To: <01bd7c0b$83fca8e0$adef41c2@default>
Message-ID: <Pine.SUN.3.91.980510170027.17212B-100000@is>
MIME-Version: 1.0

On 10 May 1998, Dark Angel wrote:

> void main()
> {
>  asm { instructions...
>  };
> }
> 
> why doesn't this work? Is inline assembley in DJGPP diferent from Turbo C?

*Totally* different.  Please download the DJGPP FAQ list (v2/faq210b.zip) 
from the same place where you get DJGPP, and read section 18.13 there.  
It explains some background and then points you to a chapter in the GCC 
on-line docs which describe the inline assembly facilities.

Some related info is in chapter 17 of the FAQ.

- Raw text -


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