NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: nobody on September 29, 2008, 09:22:21 AM
-
Hi, I'm using MinGW to compile my C code and new to NASM. I intend to make use of NASM as the inline assembler with gcc, cause I don't like the syntax which gcc assembler accept. How to make them work together? Can gcc link the binary output by nasm as external assembler?
-
> make use of NASM as the inline assembler with gcc
AFAIK impossible :-(
> don't like the syntax which gcc assembler accept.
AT&T sucks :-(
> How to make them work together?
Link.
> Can gcc link the binary output by nasm as external assembler?
Yes.
-
Actually LD, not GCC.
-
Thank you. I've got it. I'll try to link the binary instead of inline.