[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / intel-syntax-hex.s
blobcb73ca9f5017b3f13f1c0cd4038d81fc4217ba35
1 // RUN: llvm-mc -masm-integers -triple x86_64-unknown-unknown -x86-asm-syntax=intel %s | FileCheck %s
2 // rdar://12470373
4 // Checks to make sure we parse the hexadecimal suffix properly.
5 // CHECK: movl $10, %eax
6 mov eax, 10
7 // CHECK: movl $16, %eax
8 mov eax, 10h
9 // CHECK: movl $16, %eax
10 mov eax, 10H
11 // CHECK: movl $4294967295, %eax
12 mov eax, 0ffffffffh
13 // CHECK: movl $4294967295, %eax
14 mov eax, 0xffffffff
15 // CHECK: movl $4294967295, %eax
16 mov eax, 0xffffffffh
17 // CHECK: movl $15, %eax
18 mov eax, 0fh
19 // CHECK: movl $162, %eax
20 mov eax, 0a2h
21 // CHECK: movl $162, %eax
22 mov eax, 0xa2
23 // CHECK: movl $162, %eax
24 mov eax, 0xa2h
25 // CHECK: movl $674, %eax
26 mov eax, 2a2h