summaryrefslogtreecommitdiff
path: root/test/absolute.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/absolute.asm')
-rw-r--r--test/absolute.asm40
1 files changed, 40 insertions, 0 deletions
diff --git a/test/absolute.asm b/test/absolute.asm
new file mode 100644
index 0000000..31c8178
--- /dev/null
+++ b/test/absolute.asm
@@ -0,0 +1,40 @@
+;Testname=bin; Arguments=-fbin -oabsolute.bin; Files=stdout stderr absolute.bin
+ org 7c00h
+init_foo:
+ jmp init_bar
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+
+init_bar:
+ mov [b1],dl
+ mov [b2],edx
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ ret
+
+ absolute init_bar+7
+b1: resb 1
+b2: resd 6
+