summaryrefslogtreecommitdiff
path: root/test/nasmformat.asm
diff options
context:
space:
mode:
authorStanislav Karchebny <berkus@users.sourceforge.net>2003-09-24 10:30:56 +0000
committerStanislav Karchebny <berkus@users.sourceforge.net>2003-09-24 10:30:56 +0000
commit88a049aca1f4e1ce8a072d0f1757a4de1dfb0608 (patch)
treebb279271e061c752adb09d2f0580971c89533221 /test/nasmformat.asm
parentf3b3ce27bddf23aad6759c3d243c89cb6633e27c (diff)
downloadnasm-88a049aca1f4e1ce8a072d0f1757a4de1dfb0608.tar.gz
Added _NASM_FORMAT_ macro
Diffstat (limited to 'test/nasmformat.asm')
-rw-r--r--test/nasmformat.asm14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/nasmformat.asm b/test/nasmformat.asm
new file mode 100644
index 00000000..decf090e
--- /dev/null
+++ b/test/nasmformat.asm
@@ -0,0 +1,14 @@
+
+%if _NASM_FORMAT_ == 'bin'
+
+db 'This is binary format file'
+
+%elif _NASM_FORMAT_ == 'obj'
+
+db 'This is object format file'
+
+%else
+
+db 'This is some other format file'
+
+%endif