Path: Assembly Language : DOS Hello, world! :
Matt's Page
16 BIT DOS COM File from NASM
This example shows how to use nasm to create a DOS .com executable command file
for x86 hardware.
hello.asm
- hello world 16 BIT assembly language program.
helloN.asm
- more complex hello world 16 BIT assembly language test program.
Example
C:\doscom> nasm -f bin hello.asm -o hello.com
C:\doscom> hello.com
Hello, world!
C:\>
Download
doscom.zip - DOS .com file example program