1 .*: Assembler messages:
60 3 # test various segment reg insns
65 8 0004 8CD8 mov %ds,%eax
66 9 0006 8CD8 movl %ds,%eax
67 10 0008 8CD8 movl %ds,%ax
69 11 000a 8ED8 mov %eax,%ds
70 12 000c 8ED8 movl %ax,%ds
72 13 000e 8ED8 movl %eax,%ds
74 15 0010 661E pushw %ds
76 17 0014 668CD8 mov %ds,%ax
77 18 0017 668CD8 movw %ds,%ax
78 19 001a 668CD8 movw %ds,%eax
80 20 001d 8ED8 mov %ax,%ds
81 21 001f 8ED8 movw %ax,%ds
82 22 0021 8ED8 movw %eax,%ds
85 24 # test various pushes
86 25 0023 6A0A pushl \$10
87 26 0025 666A0A pushw \$10
88 27 0028 6A0A push \$10
89 28 002a 68E80300 00 pushl \$1000
90 29 002f 6668E803 pushw \$1000
91 30 0033 68E80300 00 push \$1000
92 31 0038 FF355700 0000 pushl 1f
93 32 003e 66FF3557 000000 pushw 1f
94 33 0045 FF355700 0000 push 1f
95 34 004b FFB30C00 0000 push \(1f-.\)\(%ebx\)
96 35 0051 FF350600 0000 push 1f-.
97 36 # these, and others like them should have no operand size prefix
98 37 0057 0F00D1 1: lldt %cx
99 38 005a 0F01F0 lmsw %ax
101 40 # Just to make sure these don't become illegal due to over-enthusiastic
102 41 # register checking
103 42 005d 660FBEF8 movsbw %al,%di
104 43 0061 0FBEC8 movsbl %al,%ecx
105 44 0064 0FBFC8 movswl %ax,%ecx
106 45 0067 660FB6F8 movzbw %al,%di
107 46 006b 0FB6C8 movzbl %al,%ecx
108 47 006e 0FB7C8 movzwl %ax,%ecx
110 49 0071 EC in %dx,%al
111 50 0072 66ED in %dx,%ax
112 51 0074 ED in %dx,%eax
113 52 0075 EC in \(%dx\),%al
114 53 0076 66ED in \(%dx\),%ax
115 54 0078 ED in \(%dx\),%eax
116 55 0079 EC inb %dx,%al
117 56 007a 66ED inw %dx,%ax
118 57 007c ED inl %dx,%eax
122 61 0081 E4FF inb \$255
123 62 0083 66E502 inw \$2
125 64 0088 EF outl %eax,%dx
126 65 0089 E62A out %al, \$42
127 66 008b 66E50D in \$13, %ax
128 67 # These are used in AIX.
129 68 008e 66ED inw \(%dx\)
130 69 0090 66EF outw \(%dx\)
136 75 0097 2EA5 movsl %cs:\(%esi\),%es:\(%edi\)
137 76 0099 0F9303 setae \(%ebx\)
138 77 009c 0F9303 setaeb \(%ebx\)
139 78 009f 0F93C0 setae %al
141 80 #these should give warnings
142 81 00a2 0C01 orb \$1,%ax
144 82 00a4 0C01 orb \$1,%eax
146 83 00a6 80CB01 orb \$1,%bx
148 84 00a9 80CB01 orb \$1,%ebx
150 85 00ac D9C1 fldl %st\(1\)
152 86 00ae DDD2 fstl %st\(2\)
154 87 00b0 DDDB fstpl %st\(3\)
156 88 00b2 D8D4 fcoml %st\(4\)
158 89 00b4 D8DD fcompl %st\(5\)
160 90 00b6 DEC1 faddp %st\(1\),%st
162 91 00b8 DECA fmulp %st\(2\),%st
164 92 00ba DEE3 fsubp %st\(3\),%st
166 93 00bc DEEC fsubrp %st\(4\),%st
168 94 00be DEF5 fdivp %st\(5\),%st
170 95 00c0 DEFE fdivrp %st\(6\),%st
184 102 #these should all be legal
185 103 00ce 0FA31556 341200 btl %edx, 0x123456
186 104 00d5 0FA3D0 btl %edx, %eax
187 105 00d8 0C01 orb \$1,%al
188 106 00da 80CB01 orb \$1,%bl
189 107 00dd A1110000 00 movl 17,%eax
190 108 00e2 A1110000 00 mov 17,%eax
191 109 00e7 66ED inw %dx,%ax
192 110 00e9 ED inl %dx,%eax
193 111 00ea 66ED inw \(%dx\),%ax
194 112 00ec ED inl \(%dx\),%eax
195 113 00ed EC in \(%dx\),%al
196 114 00ee 66ED in \(%dx\),%ax
197 115 00f0 ED in \(%dx\),%eax
198 116 00f1 0FB61437 movzbl \(%edi,%esi\),%edx
199 117 00f5 0FB6451C movzbl 28\(%ebp\),%eax
200 118 00f9 0FB6C0 movzbl %al,%eax
201 119 00fc 0FB6F1 movzbl %cl,%esi
202 120 00ff 26D7 xlat %es:\(%ebx\)
205 123 0103 DDD8 1: fstp %st\(0\)
206 124 0105 E2FC loop 1b
207 125 0107 F6F1 divb %cl
208 126 0109 66F7F1 divw %cx
209 127 010c F7F1 divl %ecx
210 128 010e F6F1 div %cl
211 129 0110 66F7F1 div %cx
212 130 0113 F7F1 div %ecx
213 131 0115 F6F1 div %cl,%al
214 132 0117 66F7F1 div %cx,%ax
215 133 011a F7F1 div %ecx,%eax
216 134 011c 8EDE mov %si,%ds
217 135 011e 8EDE movl %si,%ds # warning here
219 136 0120 1E pushl %ds
221 138 0122 A0000000 00 mov 0,%al
222 139 0127 66A10000 0100 mov 0x10000,%ax
223 140 012d 89C3 mov %eax,%ebx
230 147 0137 89341D00 000000 mov %esi,\(,%ebx,1\)
231 148 013e 80250000 00007F andb \$~0x80,foo
233 150 #check 16-bit code auto address prefix
235 152 0145 67668D95 00FFFFFF leal -256\(%ebp\),%edx
236 153 014d 6788857F FFFFFF mov %al,-129\(%ebp\)
237 154 0154 67886580 mov %ah,-128\(%ebp\)
238 155 0158 67668D9D 20F9FFFF leal -1760\(%ebp\),%ebx
239 156 0160 67668984 248C0000 movl %eax,140\(%esp\)
244 160 016b E9FEFF jmp xxx
245 161 016e FF260000 jmp \*xxx
246 162 0172 FF260000 jmp xxx\(,1\)
248 163 0176 66FFE7 jmp \*%edi
249 164 0179 66FFE7 jmp %edi
251 165 017c 67FF27 jmp \*\(%edi\)
252 166 017f 67FF27 jmp \(%edi\)
254 167 0182 67FFAF00 000000 ljmp \*xxx\(%edi\)
255 168 0189 67FFAF00 000000 ljmp xxx\(%edi\)
257 169 0190 FF2E0000 ljmp \*xxx
258 170 0194 FF2E0000 ljmp xxx\(,1\)
260 171 0198 EA000034 12 ljmp \$0x1234,\$xxx
262 173 019d 66E860FF FFFF call 1b
263 174 01a3 66E8FCFF FFFF call xxx
264 175 01a9 66FF1600 00 call \*xxx
265 176 01ae 66FF1600 00 call xxx\(,1\)
267 177 01b3 66FFD7 call \*%edi
268 178 01b6 66FFD7 call %edi
270 179 01b9 6766FF17 call \*\(%edi\)
271 180 01bd 6766FF17 call \(%edi\)
273 181 01c1 6766FF9F 00000000 lcall \*xxx\(%edi\)
274 182 01c9 6766FF9F 00000000 lcall xxx\(%edi\)
276 183 01d1 66FF1E00 00 lcall \*xxx
277 184 01d6 66FF1E00 00 lcall xxx\(,1\)
279 185 01db 669A0000 00003412 lcall \$0x1234,\$xxx
282 188 01e3 E91DFF jmp 1b
283 189 01e6 E9FEFF jmp xxx
284 190 01e9 FF260000 jmp \*xxx
285 191 01ed FF260000 jmp xxx\(,1\)
287 192 01f1 FFE7 jmp \*%di
288 193 01f3 FFE7 jmp %di
290 194 01f5 FF25 jmp \*\(%di\)
291 195 01f7 FF25 jmp \(%di\)
293 196 01f9 FFAD0000 ljmp \*xxx\(%di\)
294 197 01fd FFAD0000 ljmp xxx\(%di\)
296 198 0201 FF2E0000 ljmp \*xxx
297 199 0205 FF2E0000 ljmp xxx\(,1\)
299 200 0209 EA000034 12 ljmp \$0x1234,\$xxx
301 202 020e E8F2FE call 1b
302 203 0211 E8FEFF call xxx
303 204 0214 FF160000 call \*xxx
304 205 0218 FF160000 call xxx\(,1\)
306 206 021c FFD7 call \*%di
307 207 021e FFD7 call %di
309 208 0220 FF15 call \*\(%di\)
310 209 0222 FF15 call \(%di\)
312 210 0224 FF9D0000 lcall \*xxx\(%di\)
313 211 0228 FF9D0000 lcall xxx\(%di\)
315 212 022c FF1E0000 lcall \*xxx
316 213 0230 FF1E0000 lcall xxx\(,1\)
318 214 0234 9A000034 12 lcall \$0x1234,\$xxx
321 217 0239 E9C5FEFF FF jmp 1b
322 218 023e E9FCFFFF FF jmp xxx
323 219 0243 FF250000 0000 jmp \*xxx
324 220 0249 FF250000 0000 jmp xxx\(,1\)
326 221 024f FFE7 jmp \*%edi
327 222 0251 FFE7 jmp %edi
329 223 0253 FF27 jmp \*\(%edi\)
330 224 0255 FF27 jmp \(%edi\)
332 225 0257 FF2CBD00 000000 ljmp \*xxx\(,%edi,4\)
333 226 025e FF2CBD00 000000 ljmp xxx\(,%edi,4\)
335 227 0265 FF2D0000 0000 ljmp \*xxx
336 228 026b FF2D0000 0000 ljmp xxx\(,1\)
338 229 0271 EA000000 003412 ljmp \$0x1234,\$xxx
340 231 0278 E886FEFF FF call 1b
341 232 027d E8FCFFFF FF call xxx
342 233 0282 FF150000 0000 call \*xxx
343 234 0288 FF150000 0000 call xxx\(,1\)
345 235 028e FFD7 call \*%edi
346 236 0290 FFD7 call %edi
348 237 0292 FF17 call \*\(%edi\)
349 238 0294 FF17 call \(%edi\)
351 239 0296 FF1CBD00 000000 lcall \*xxx\(,%edi,4\)
352 240 029d FF1CBD00 000000 lcall xxx\(,%edi,4\)
354 241 02a4 FF1D0000 0000 lcall \*xxx
355 242 02aa FF1D0000 0000 lcall xxx\(,1\)
357 243 02b0 9A000000 003412 lcall \$0x1234,\$xxx
359 245 # Force a good alignment.
360 246 02b7 00000000 00000000 .p2align 4,0