diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:51:32 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:51:32 +0000 |
commit | ea6e34db64c7da7cb885197316c6b5e7d048bdb9 (patch) | |
tree | 78e728348f8fe09e394a51c3617e6261de0f4001 /test/inctest.asm | |
download | nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.tar.gz nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.tar.bz2 nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.zip |
NASM 0.91
Diffstat (limited to 'test/inctest.asm')
-rw-r--r-- | test/inctest.asm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/inctest.asm b/test/inctest.asm new file mode 100644 index 0000000..95ab40f --- /dev/null +++ b/test/inctest.asm @@ -0,0 +1,15 @@ +; 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'. + +[BITS 16] +[ORG 0x100] + + jmp _main + +[INC inc1.asm] + +[INCLUDE inc2.asm] |