view nasmbuild/nasm-2.13rc9/test/inctest.asm @ 10554:587a0a262d22

<moonythedwarf> ` cd nasmbuild; tar -xf nasm.tar.gz
author HackBot
date Thu, 30 Mar 2017 20:58:41 +0000
parents
children
line wrap: on
line source

;Testname=test; Arguments=-fbin -oinctest.com; Files=stdout stderr inctest.com

; 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"