TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: PAUL WANKADIA
from: JAMES VAHN
date: 1997-09-02 21:51:00
subject: Re: NASM

>  PP> Is anyone using NASM 0.95? How does it compare to other Assemblers
>  PP> that you have tried. 
> 
> AFAIK, it assembles ASM source and yields an object file that can be
> linked by ld.  It uses Intel syntax, whereas as tends to use AT&T
> syntax.  I dunno whether you'll have to dload ld to link your object
> code or not.
Running it as a DOS executable it needs only the '-f bin' parameter to
produce .COM files directly.  Dunno if it is capable of memory arrays
or things of that sort, but it seems like an easy assembler to learn
and the price is right.
; assemble:  nasm -f bin -o hello.com hello.asm
;
;
bits 16
section .text
org 0x100
main:
        mov dx, msg
        mov ah,9
        int 0x21
        ret
msg:    
        db 'Hello World' ,0x0D,0x0A,0x24
--- ifmail-tx (i386 Linux)
---------------
* Origin: 300 miles East of Seattle, WA (1:346/15.1)

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™.