TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: JAMES VAHN
from: JAN WAGEMAKERS
date: 1997-04-03 16:46:00
subject: NASM & Linux

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

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.