summaryrefslogtreecommitdiff
path: root/test/loopoffs.asm
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-05-15 22:27:48 +0100
committerAnas Nashif <anas.nashif@intel.com>2012-05-15 22:27:48 +0100
commitb9fad1ab2ad3bd87bff05c4688c978d582ada438 (patch)
tree4a373f8dd867d20e67510de7cfe447a4b58c1a70 /test/loopoffs.asm
parent65c26d26fb72cec0d43d199c72ed27513d17f4c9 (diff)
downloadnasm-b9fad1ab2ad3bd87bff05c4688c978d582ada438.tar.gz
nasm-b9fad1ab2ad3bd87bff05c4688c978d582ada438.tar.bz2
nasm-b9fad1ab2ad3bd87bff05c4688c978d582ada438.zip
Upstream version 2.08rc7
Diffstat (limited to 'test/loopoffs.asm')
-rw-r--r--test/loopoffs.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/loopoffs.asm b/test/loopoffs.asm
new file mode 100644
index 0000000..54ef4ac
--- /dev/null
+++ b/test/loopoffs.asm
@@ -0,0 +1,12 @@
+;Testname=unoptimized; Arguments=-fbin -oloopoffs.bin -O0; Files=stdout stderr loopoffs.bin
+;Testname=optimized; Arguments=-fbin -oloopoffs.bin -Ox; Files=stdout stderr loopoffs.bin
+ bits 16
+delay: loop delay
+ loop $
+delay2: a32 loop delay2
+ a32 loop $
+delay3: loop delay3,ecx
+ loop $,ecx
+delay4: a32 loop delay4,ecx
+ a32 loop $,ecx
+ \ No newline at end of file