summaryrefslogtreecommitdiff
path: root/test/radix.asm
blob: 35dbceefadd93adda3c1080b53f574bfe93f4c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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