| 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" |