gas/
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / intelok.s
1 .intel_syntax noprefix
2 .equiv dword, 4
3 .text
4 start:
5
6 # operand sizes
7
8 add al, [eax]
9 add al, byte ptr [eax]
10 add ax, [eax]
11 add ax, word ptr [eax]
12 add eax, [eax]
13 add eax, dword ptr [eax]
14 add byte ptr [eax], 1
15 add dword ptr [eax], 1
16 add word ptr [eax], 1
17 addpd xmm0, [eax]
18 addpd xmm0, xmmword ptr [eax]
19 addps xmm0, [eax]
20 addps xmm0, xmmword ptr [eax]
21 addsd xmm0, [eax]
22 addsd xmm0, qword ptr [eax]
23 addss xmm0, [eax]
24 addss xmm0, dword ptr [eax]
25 call word ptr [eax]
26 call dword ptr [eax]
27 call fword ptr [eax]
28 cmps [esi], byte ptr es:[edi]
29 cmps dword ptr [esi], es:[edi]
30 cmps word ptr [esi], word ptr es:[edi]
31 cmpxchg8b qword ptr [eax]
32 fadd dword ptr [eax]
33 fadd qword ptr [eax]
34 fbld [eax]
35 fbld tbyte ptr [eax]
36 fbstp [eax]
37 fbstp tbyte ptr [eax]
38 fiadd dword ptr [eax]
39 fiadd word ptr [eax]
40 fild dword ptr [eax]
41 fild qword ptr [eax]
42 fild word ptr [eax]
43 fist dword ptr [eax]
44 fist word ptr [eax]
45 fistp dword ptr [eax]
46 fistp qword ptr [eax]
47 fistp word ptr [eax]
48 fisttp dword ptr [eax]
49 fisttp qword ptr [eax]
50 fisttp word ptr [eax]
51 fld dword ptr [eax]
52 fld qword ptr [eax]
53 fld tbyte ptr [eax]
54 fldcw [eax]
55 fldcw word ptr [eax]
56 fldenv [eax]
57 fldenvd [eax]
58 fldenvw [eax]
59 fst dword ptr [eax]
60 fst qword ptr [eax]
61 fstp dword ptr [eax]
62 fstp qword ptr [eax]
63 fstp tbyte ptr [eax]
64 lds ax, [eax]
65 lds eax, [eax]
66 lds ax, dword ptr [eax]
67 lds eax, fword ptr [eax]
68 lea eax, [eax]
69 lea eax, byte ptr [eax]
70 lea eax, dword ptr [eax]
71 lea eax, fword ptr [eax]
72 lea eax, qword ptr [eax]
73 lea eax, tbyte ptr [eax]
74 lea eax, word ptr [eax]
75 lea eax, xmmword ptr [eax]
76 lgdt [eax]
77 lgdtd [eax]
78 lgdtw [eax]
79 movs es:[edi], byte ptr [esi]
80 movs dword ptr es:[edi], [esi]
81 movs word ptr es:[edi], word ptr [esi]
82 movsx eax, byte ptr [eax]
83 movsx eax, word ptr [eax]
84 paddb mm0, [eax]
85 paddb mm0, qword ptr [eax]
86 paddb xmm0, [eax]
87 paddb xmm0, xmmword ptr [eax]
88 pinsrw mm0, word ptr [eax], 3
89 pinsrw xmm0, word ptr [eax], 7
90 push dword ptr [eax]
91 xlat [ebx]
92 xlat byte ptr [ebx]
93 xlatb
94
95 # memory operands
96
97 mov eax, dword ptr [byte+eax]
98 mov eax, dword ptr byte[eax]
99 mov eax, [dword+eax]
100 mov eax, dword[eax]
101 mov eax, [fword+eax]
102 mov eax, fword[eax]
103 mov eax, [qword+eax+dword]
104 mov eax, qword[eax+dword]
105 mov eax, [tbyte+eax+dword*2]
106 mov eax, tbyte[eax+dword*2]
107 # mov eax, [word+eax*dword]
108 # mov eax, word[eax*dword]
109 # mov eax, [xmmword+(eax+1)*dword]
110 # mov eax, xmmword[(eax+1)*dword]
111
112 # expressions
113
114 push + 1
115 push - 1
116 push not 1
117 push 1 + 1
118 push 2 - 1
119 push 2 * 2
120 push 3 / 2
121 push 3 mod 2
122 push 4 shl 1
123 push 5 shr 2
124 push 6 and 3
125 push 7 xor 4
126 push 8 or 5
127
128 # Force a good alignment.
129 .p2align 4,0
This page took 0.04414 seconds and 5 git commands to generate.