nasm/test/inctest.asm

16 lines
365 B
NASM
Raw Normal View History

;Testname=test; Arguments=-fbin -oinctest.com; Files=stdout stderr inctest.com
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"