1# RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
2
3.code
4
5t1:
6mov eax, 100b
7mov eax, 100y
8
9; CHECK-LABEL: t1:
10; CHECK-NEXT: mov eax, 4
11; CHECK-NEXT: mov eax, 4
12
13t2:
14mov eax, 100o
15mov eax, 100q
16
17; CHECK-LABEL: t2:
18; CHECK-NEXT: mov eax, 64
19; CHECK-NEXT: mov eax, 64
20
21t3:
22mov eax, 100d
23mov eax, 100t
24
25; CHECK-LABEL: t3:
26; CHECK-NEXT: mov eax, 100
27; CHECK-NEXT: mov eax, 100
28
29t4:
30mov eax, 100h
31
32; CHECK-LABEL: t4:
33; CHECK-NEXT: mov eax, 256
34
35t5:
36mov eax, 100
37.radix 2
38mov eax, 100
39.radix 16
40mov eax, 100
41.radix 10
42mov eax, 100
43
44; CHECK-LABEL: t5:
45; CHECK: mov eax, 100
46; CHECK: mov eax, 4
47; CHECK: mov eax, 256
48; CHECK: mov eax, 100
49
50t6:
51.radix 9
52mov eax, 100
53.radix 10
54
55; CHECK-LABEL: t6:
56; CHECK: mov eax, 81
57
58t7:
59.radix 12
60mov eax, 100b
61mov eax, 100y
62.radix 10
63
64; CHECK-LABEL: t7:
65; CHECK: mov eax, 1739
66; CHECK: mov eax, 4
67
68t8:
69.radix 16
70mov eax, 100d
71mov eax, 100t
72.radix 10
73
74; CHECK-LABEL: t8:
75; CHECK: mov eax, 4109
76; CHECK: mov eax, 100
77
78t9:
79.radix 12
80mov eax, 102b
81.radix 16
82mov eax, 10fd
83.radix 10
84
85; CHECK-LABEL: t9:
86; CHECK: mov eax, 1763
87; CHECK: mov eax, 4349
88
89t10:
90.radix 16
91mov eax, 1e1
92.radix 10
93
94; CHECK-LABEL: t10:
95; CHECK: mov eax, 481
96
97END
98