Mail Archives: djgpp/1998/02/21/19:30:54
> But inline assembly facilities of GCC
>are IMHO great.
Agreed.
>> 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.
Sure there is. Hack the asm output backend of gcc to use nasm. This *is*
actually practical because I did it in about 1 1/2 weeks last month.
Perhaps its more practical to just ask me to send a precompiled binary over
(NOTE - I will not actually do this because I haven't tested things
thouroughly, I will announce and release it someday).
>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.
Its actually the other way around, but same difference. Its pretty much
just a novelty until
debug format (as well as a couple of other things, like proper code
alignment) is added to NASM.
Andy
- Raw text -