summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-22 19:48:06 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-22 19:48:06 -0700
commit50620f4a3f78dc8fb51f76633aeeb962e29093d9 (patch)
treeb508bf3842ecef2c3509f12dec57623a05a98083 /test
parentf41aef273b05a1ed7e2608f019bd8b5d6e561924 (diff)
downloadnasm-50620f4a3f78dc8fb51f76633aeeb962e29093d9.tar.gz
nasm-50620f4a3f78dc8fb51f76633aeeb962e29093d9.tar.bz2
nasm-50620f4a3f78dc8fb51f76633aeeb962e29093d9.zip
Unbreak particularly tricky hex constants
Unbreak hex constants which contain 'b' or 'd' in potentially tricky places.
Diffstat (limited to 'test')
-rw-r--r--test/radix.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/radix.asm b/test/radix.asm
index c08b550..2c0afab 100644
--- a/test/radix.asm
+++ b/test/radix.asm
@@ -23,6 +23,15 @@
dd 1010_0101x ; Hex
dd $1010_0101 ; Hex
+ db 0dh ; Hex
+ db 0bh ; Hex
+ db 0dx ; Hex
+ db 0bx ; Hex
+ db 0hd ; Hex
+ db 0hb ; Hex
+ db 0xd ; Hex
+ db 0xb ; Hex
+
;; Floating-point constants
;; All of these should output B4A21147
dd 3.7282705e+4 ; Decimal