summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-19 13:14:06 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-19 13:14:06 -0700
commit361584882e208c7f23dfc0c1e3a1c3ee8db2943d (patch)
tree34669a6238136c67b656fad7d8ba28e6b3b0288b
parent2ef4aac272ff0d2ac0bf630f11e6d8d3e19b27d5 (diff)
downloadnasm-361584882e208c7f23dfc0c1e3a1c3ee8db2943d.tar.gz
nasm-361584882e208c7f23dfc0c1e3a1c3ee8db2943d.tar.bz2
nasm-361584882e208c7f23dfc0c1e3a1c3ee8db2943d.zip
Test of underscored constants
-rw-r--r--test/uscore.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/uscore.asm b/test/uscore.asm
new file mode 100644
index 0000000..6cb99ea
--- /dev/null
+++ b/test/uscore.asm
@@ -0,0 +1,10 @@
+ dd 0x1234_5678
+ dd 305_419_896 ; Same number as above it
+ dd 0x1e16 ; NOT a floating-point number!
+ dd 1e16 ; THIS is a floating-point number!
+ dd 1e+16
+ dd 1.e+16
+ dd 1e+1_6
+ dd 1e1_6
+ dd 1.0e16
+ dd 1_0e16 ; This is 1e17, not 1e16!