nasm/test/absolute.asm

42 lines
352 B
NASM
Raw Normal View History

;Testname=bin; Arguments=-fbin -oabsolute.bin; Files=stdout stderr absolute.bin
%ifmacro org
2002-09-13 00:34:06 +08:00
org 7c00h
%endif
2002-09-13 00:34:06 +08:00
init_foo:
jmp init_bar
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
2002-09-13 00:34:06 +08:00
init_bar:
mov [b1],dl
mov [b2],edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
ret
2002-09-13 00:34:06 +08:00
absolute init_bar+7
b1: resb 1
b2: resd 6