2008-10-07 01:27:30 +00:00
|
|
|
;Testname=test; Arguments=-fbin -oinctest.com; Files=stdout stderr inctest.com
|
2008-04-23 13:05:31 +00:00
|
|
|
|
2002-04-30 20:51:32 +00:00
|
|
|
; This file, plus inc1.asm and inc2.asm, test NASM's file inclusion
|
|
|
|
; mechanism.
|
|
|
|
;
|
|
|
|
; This produces a DOS .COM file: to assemble, use
|
|
|
|
; nasm -f bin inctest.asm -o inctest.com
|
|
|
|
; and when run, it should print `hello, world'.
|
|
|
|
|
2002-04-30 20:52:08 +00:00
|
|
|
BITS 16
|
|
|
|
ORG 0x100
|
2002-04-30 20:51:32 +00:00
|
|
|
|
|
|
|
jmp _main
|
|
|
|
|
2002-04-30 20:52:08 +00:00
|
|
|
%include "inc1.asm"
|