summaryrefslogtreecommitdiff
path: root/test/radix.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/radix.asm')
-rw-r--r--test/radix.asm23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/radix.asm b/test/radix.asm
new file mode 100644
index 00000000..35dbceef
--- /dev/null
+++ b/test/radix.asm
@@ -0,0 +1,23 @@
+ dd 1010_0101 ; Decimal
+ dd 01010_0101 ; Decimal (*not* octal!)
+ dd 0d1010_0101 ; Decimal
+ dd 0t1010_0101 ; Decimal
+ dd 1010_0101d ; Decimal
+ dd 1010_0101t ; Decimal
+
+ dd 0b1010_0101 ; Binary
+ dd 0y1010_0101 ; Binary
+ dd 1010_0101b ; Binary
+ dd 1010_0101y ; Binary
+
+ dd 0o1010_0101 ; Octal
+ dd 0q1010_0101 ; Octal
+ dd 1010_0101o ; Octal
+ dd 1010_0101q ; Octal
+
+ dd 0h1010_0101 ; Hex
+ dd 0x1010_0101 ; Hex
+ dd 1010_0101h ; Hex
+ dd 1010_0101x ; Hex
+ dd $1010_0101 ; Hex
+ \ No newline at end of file