aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler/X86/moffs.txt
blob: dd2664cb77375d1a67a7f33ca5d70477e07707f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# RUN: llvm-mc --disassemble --print-imm-hex %s -triple=i686-linux-gnu-code16 | FileCheck --check-prefix=16 %s
# RUN: llvm-mc --disassemble --print-imm-hex %s -triple=i686-linux-gnu | FileCheck --check-prefix=32 %s
# RUN: llvm-mc --disassemble --print-imm-hex %s -triple=x86_64-linux-gnu | FileCheck --check-prefix=64 %s

# 16: movb 0x5a5a, %al
# 32: movb 0x5a5a5a5a, %al
# 64: movabsb 0x5a5a5a5a5a5a5a5a, %al
0xa0 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movb 0x5a5a5a5a, %al
# 32: movb 0x5a5a, %al
# 64: movabsb 0x5a5a5a5a, %al
0x67 0xa0 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movw 0x5a5a, %ax
# 32: movl 0x5a5a5a5a, %eax
# 64: movabsl 0x5a5a5a5a5a5a5a5a, %eax
0xa1 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movw 0x5a5a5a5a, %ax
# 32: movl 0x5a5a, %eax
# 64: movabsl 0x5a5a5a5a, %eax
0x67 0xa1 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movl 0x5a5a, %eax
# 32: movw 0x5a5a5a5a, %ax
# 64: movabsw 0x5a5a5a5a5a5a5a5a, %ax
0x66 0xa1 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movl 0x5a5a5a5a, %eax
# 32: movw 0x5a5a, %ax
# 64: movabsw 0x5a5a5a5a, %ax
0x66 0x67 0xa1 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movl 0x5a5a5a5a, %eax
# 32: movw 0x5a5a, %ax
# 64: movabsw 0x5a5a5a5a, %ax
0x67 0x66 0xa1 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movl %es:0x5a5a5a5a, %eax
# 32: movw %es:0x5a5a, %ax
# 64: movabsw %es:0x5a5a5a5a, %ax
0x67 0x26 0x66 0xa1 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a



# 16: movb %al, 0x5a5a
# 32: movb %al, 0x5a5a5a5a
# 64: movabsb %al, 0x5a5a5a5a5a5a5a5a
0xa2 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movb %al, 0x5a5a5a5a
# 32: movb %al, 0x5a5a
# 64: movabsb %al, 0x5a5a5a5a
0x67 0xa2 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movw %ax, 0x5a5a
# 32: movl %eax, 0x5a5a5a5a
# 64: movabsl %eax, 0x5a5a5a5a5a5a5a5a
0xa3 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movw %ax, %gs:0x5a5a5a5a
# 32: movl %eax, %gs:0x5a5a
# 64: movabsl %eax, %gs:0x5a5a5a5a
0x65 0x67 0xa3 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movl %eax, 0x5a5a
# 32: movw %ax, 0x5a5a5a5a
# 64: movabsw %ax, 0x5a5a5a5a5a5a5a5a
0x66 0xa3 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movl %eax, 0x5a5a5a5a
# 32: movw %ax, 0x5a5a
# 64: movabsw %ax, 0x5a5a5a5a
0x66 0x67 0xa3 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movl %eax, 0x5a5a5a5a
# 32: movw %ax, 0x5a5a
# 64: movabsw %ax, 0x5a5a5a5a
0x67 0x66 0xa3 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a

# 16: movl %eax, %es:0x5a5a5a5a
# 32: movw %ax, %es:0x5a5a
# 64: movabsw %ax, %es:0x5a5a5a5a
0x67 0x26 0x66 0xa3 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a 0x5a