summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-09-12 04:33:58 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-09-12 04:33:58 +0000
commit628168c50264147e1b8b200833f25a4e166f5cd8 (patch)
treea7eca34d3c068b4cdb0d8e65758e940e5b02459a /test
parenta607d27eb9fb97d89f635fe0c7b579d0d053b272 (diff)
downloadnasm-628168c50264147e1b8b200833f25a4e166f5cd8.tar.gz
Fix Borland C++ optimization bug; add test for bad DOS binaries.
Diffstat (limited to 'test')
-rw-r--r--test/testdos.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/testdos.asm b/test/testdos.asm
new file mode 100644
index 00000000..f03e52d0
--- /dev/null
+++ b/test/testdos.asm
@@ -0,0 +1,12 @@
+;
+; This file was known to miscompile with the 16-bit NASM built
+; under Borland C++ 3.1, so keep it around for testing...
+;
+; The proper output looks like:
+;
+; 00000000 A10300
+; 00000003 EA0000FFFF
+;
+ org 0100h
+ mov ax,[3]
+ jmp 0FFFFh:0000