Hi James,
James Vahn wrote to Jan Wagemakers :
JW>> So, I was wondering, Is it possible to write a 100% asm-program
JW>> with NASM for the Linux OS. I have nasm on my HD here. Maybe someone
JW>> can give a little example?
JV> Write a hello world in C, and compile with gcc -S to get an
JV> assembly source listing.
Yes, but then you get the ASM-source in the syntax for GAS (AT&T), NASM
makes use of another syntax.
JV> You'll see the calls to various routines. I
JV> would think NASM to be perfectly capable, and (if I recall) several
JV> demos are included.
There are demos included, but so far I can see they are written to be
called from a C-program. I was wondering how I can write a 100% pure
assembly program with NASM under Linux.
Bye - Jan Wagemakers -
.!. A good phrase is worth a thousand pictures....
--- Terminate 4.00/Pro
(2:292/8133.23)
---------------
* Origin: - Belgi‰/Belgium - Internet : JanW@dma.be
|