Date: Thu, 19 Feb 1998 17:23:38 +0200 (IST) From: Eli Zaretskii To: Henri Ossi 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.