home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / nasm097s.zip / TEST / INCTEST.ASM < prev    next >
Assembly Source File  |  1997-10-01  |  298b  |  14 lines

  1. ; This file, plus inc1.asm and inc2.asm, test NASM's file inclusion
  2. ; mechanism.
  3. ;
  4. ; This produces a DOS .COM file: to assemble, use
  5. ;    nasm -f bin inctest.asm -o inctest.com
  6. ; and when run, it should print `hello, world'.
  7.  
  8.       BITS 16
  9.       ORG 0x100
  10.  
  11.       jmp _main
  12.  
  13. %include "inc1.asm"
  14.