www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/19/10:24:23

Date: Thu, 19 Feb 1998 17:23:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Henri Ossi <henri DOT ossi AT mail DOT htk DOT fi>
cc: djgpp AT delorie DOT com
Subject: Re: NASM and DJGPP together, is there a tutorial?
In-Reply-To: <34EADFFA.C052BC2B@mail.htk.fi>
Message-ID: <Pine.SUN.3.91.980219171925.12626H-100000@is>
MIME-Version: 1.0

On Wed, 18 Feb 1998, Henri Ossi wrote:

> I just noticed, that the djgpp inline assembler sucks.
> I just hate it.

Is it the AT&T syntax that gets you, or the inline assembly facilities 
that GCC provides?

If the former, I cannot help you.  But inline assembly facilities of GCC 
are IMHO great.  Try section 18.13 in the DJGPP FAQ list (v2/faq210b.zip 
from the same place you get DJGPP), for more info.

> and how to change inline asm graphics functions to NASM syntax?

There's no practical way to make GCC use NASM as its inline assembler.  
You will need to make GCC emit Intel-style assembly code for C source as 
well, since GCC just passes the inline code to the assembler it uses for 
generating object code.

- Raw text -


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