mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +08:00
34a3e114ae
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
14 lines
285 B
NASM
14 lines
285 B
NASM
; 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"
|