NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: nobody on September 10, 2005, 04:12:51 AM
-
i have googled for ways to use nasm(instead of tasm) with tcc using asm keyword(such as asm mov ax,0) but can not figure out how to do it
I have been wanting to switch from tasm to nasm so people can build my kernel freely but am having this problem
-
Conceptually, C inline assembly is not fed to a
standalone external assembler, but rather put
verbatim into a stream of intermediate assembly
code that is otherwise produced by a C compiler.
Also, even if the C compiler in question can
emit the intermediate assembly code (e.g.
the -S option for GCC), then that code tends
to target a particular assembler. Therefore it
may or may not be suitable for being fed to
a different assembler than the intended one.
In other words: forget it.