aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test/inctest.asm
diff options
context:
space:
mode:
Diffstat (limited to 'travis/test/inctest.asm')
-rw-r--r--travis/test/inctest.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/travis/test/inctest.asm b/travis/test/inctest.asm
new file mode 100644
index 00000000..d6d35cf3
--- /dev/null
+++ b/travis/test/inctest.asm
@@ -0,0 +1,13 @@
+; 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
+
+%include "inc1.asm"