nasm/test/inctest.asm

14 lines
285 B
NASM
Raw Normal View History

2002-05-01 04:51:32 +08: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-05-01 04:52:08 +08:00
BITS 16
ORG 0x100
2002-05-01 04:51:32 +08:00
jmp _main
2002-05-01 04:52:08 +08:00
%include "inc1.asm"