summaryrefslogtreecommitdiff
path: root/test/a32offs.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/a32offs.asm')
-rw-r--r--test/a32offs.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/a32offs.asm b/test/a32offs.asm
new file mode 100644
index 0000000..4d17e0e
--- /dev/null
+++ b/test/a32offs.asm
@@ -0,0 +1,9 @@
+;Testname=unoptimized; Arguments=-O0 -fbin -oa32offs.bin; Files=a32offs.bin stdout stderr
+;Testname=optimized; Arguments=-Ox -fbin -oa32offs.bin; Files=a32offs.bin stdout stderr
+ bits 16
+foo: a32 loop foo
+bar: loop bar, ecx
+
+ bits 32
+baz: a16 loop baz
+qux: loop qux, cx