1 .*: Assembler messages:
36 3 #test jumps and calls
38 5 0002 E9((FC|F9)FFFF FF|000000 00) jmp xxx
39 6 0007 FF250000 0000 jmp \*xxx
40 7 000d FF250000 0000 jmp xxx\(,1\)
42 8 0013 FFE7 jmp \*%edi
45 10 0017 FF27 jmp \*\(%edi\)
46 11 0019 FF27 jmp \(%edi\)
48 12 001b FF2CBD00 000000 ljmp \*xxx\(,%edi,4\)
49 13 0022 FF2CBD00 000000 ljmp xxx\(,%edi,4\)
51 14 0029 FF2D0000 0000 ljmp \*xxx
52 15 002f FF2D0000 0000 ljmp xxx\(,1\)
54 16 0035 EA000000 003412 ljmp \$0x1234,\$xxx
56 18 003c E8BFFFFF FF call 1b
57 19 0041 E8((FC|BA)FFFF FF|000000 00) call xxx
58 20 0046 FF150000 0000 call \*xxx
59 21 004c FF150000 0000 call xxx\(,1\)
61 22 0052 FFD7 call \*%edi
62 23 0054 FFD7 call %edi
64 24 0056 FF17 call \*\(%edi\)
65 25 0058 FF17 call \(%edi\)
67 26 005a FF1CBD00 000000 lcall \*xxx\(,%edi,4\)
68 27 0061 FF1CBD00 000000 lcall xxx\(,%edi,4\)
70 28 0068 FF1D0000 0000 lcall \*xxx
71 29 006e FF1D0000 0000 lcall xxx\(,1\)
73 30 0074 9A000000 003412 lcall \$0x1234,\$xxx
75 32 # test various segment reg insns
80 37 007f 8CD8 mov %ds,%eax
81 38 0081 8CD8 movl %ds,%eax
82 39 0083 8CD8 movl %ds,%ax
84 40 0085 8ED8 mov %eax,%ds
85 41 0087 8ED8 movl %ax,%ds
87 42 0089 8ED8 movl %eax,%ds
89 44 008b 661E pushw %ds
91 46 008f 668CD8 mov %ds,%ax
92 47 0092 668CD8 movw %ds,%ax
93 48 0095 668CD8 movw %ds,%eax
95 49 0098 8ED8 mov %ax,%ds
96 50 009a 8ED8 movw %ax,%ds
97 51 009c 8ED8 movw %eax,%ds
100 53 # test various pushes
101 54 009e 6A0A pushl \$10
102 55 00a0 666A0A pushw \$10
103 56 00a3 6A0A push \$10
104 57 00a5 68E80300 00 pushl \$1000
105 58 00aa 6668E803 pushw \$1000
106 59 00ae 68E80300 00 push \$1000
107 60 00b3 FF35D200 0000 pushl 1f
108 61 00b9 66FF35D2 000000 pushw 1f
109 62 00c0 FF35D200 0000 push 1f
110 63 00c6 FFB30C00 0000 push \(1f-.\)\(%ebx\)
111 64 00cc FF350600 0000 push 1f-.
112 65 # these, and others like them should have no operand size prefix
113 66 00d2 0F00D1 1: lldt %cx
114 67 00d5 0F01F0 lmsw %ax
116 69 # Just to make sure these don't become illegal due to over-enthusiastic
117 70 # register checking
118 71 00d8 660FBEF8 movsbw %al,%di
119 72 00dc 0FBEC8 movsbl %al,%ecx
120 73 00df 0FBFC8 movswl %ax,%ecx
121 74 00e2 660FB6F8 movzbw %al,%di
122 75 00e6 0FB6C8 movzbl %al,%ecx
123 76 00e9 0FB7C8 movzwl %ax,%ecx
125 78 00ec EC in %dx,%al
126 79 00ed 66ED in %dx,%ax
127 80 00ef ED in %dx,%eax
128 81 00f0 EC in \(%dx\),%al
129 82 00f1 66ED in \(%dx\),%ax
130 83 00f3 ED in \(%dx\),%eax
131 84 00f4 EC inb %dx,%al
132 85 00f5 66ED inw %dx,%ax
133 86 00f7 ED inl %dx,%eax
137 90 00fc E4FF inb \$255
138 91 00fe 66E502 inw \$2
140 93 0103 66E50D in \$13, %ax
141 94 0106 EE out %al,%dx
142 95 0107 66EF out %ax,%dx
143 96 0109 EF out %eax,%dx
144 97 010a EE out %al,\(%dx\)
145 98 010b 66EF out %ax,\(%dx\)
146 99 010d EF out %eax,\(%dx\)
147 100 010e EE outb %al,%dx
148 101 010f 66EF outw %ax,%dx
149 102 0111 EF outl %eax,%dx
151 104 0113 66EF outw %dx
153 106 0116 E6FF outb \$255
154 107 0118 66E702 outw \$2
155 108 011b E704 outl \$4
156 109 011d 66E70D out %ax, \$13
157 110 # These are used in AIX.
158 111 0120 66ED inw \(%dx\)
159 112 0122 66EF outw \(%dx\)
165 118 0129 2EA5 movsl %cs:\(%esi\),%es:\(%edi\)
166 119 012b 0F9303 setae \(%ebx\)
167 120 012e 0F9303 setaeb \(%ebx\)
168 121 0131 0F93C0 setae %al
170 123 #these should give warnings
171 124 0134 0C01 orb \$1,%ax
173 125 0136 0C01 orb \$1,%eax
175 126 0138 80CB01 orb \$1,%bx
177 127 013b 80CB01 orb \$1,%ebx
179 128 013e D9C1 fldl %st\(1\)
181 129 0140 DDD2 fstl %st\(2\)
183 130 0142 DDDB fstpl %st\(3\)
185 131 0144 D8D4 fcoml %st\(4\)
187 132 0146 D8DD fcompl %st\(5\)
189 133 0148 DEC1 faddp %st\(1\),%st
191 134 014a DECA fmulp %st\(2\),%st
193 135 014c D8E3 fsub %st\(3\),%st
194 136 014e D8EC fsubr %st\(4\),%st
195 137 0150 D8F5 fdiv %st\(5\),%st
196 138 0152 D8FE fdivr %st\(6\),%st
209 145 #these should all be legal
210 146 0160 0FA31556 341200 btl %edx, 0x123456
211 147 0167 0FA3D0 btl %edx, %eax
212 148 016a 0C01 orb \$1,%al
213 149 016c 80CB01 orb \$1,%bl
214 150 016f A1110000 00 movl 17,%eax
215 151 0174 A1110000 00 mov 17,%eax
216 152 0179 66ED inw %dx,%ax
217 153 017b ED inl %dx,%eax
218 154 017c 66ED inw \(%dx\),%ax
219 155 017e ED inl \(%dx\),%eax
220 156 017f EC in \(%dx\),%al
221 157 0180 66ED in \(%dx\),%ax
222 158 0182 ED in \(%dx\),%eax
223 159 0183 0FB61437 movzbl \(%edi,%esi\),%edx
224 160 0187 0FB6451C movzbl 28\(%ebp\),%eax
225 161 018b 0FB6C0 movzbl %al,%eax
226 162 018e 0FB6F1 movzbl %cl,%esi
227 163 0191 26D7 xlat %es:\(%ebx\)
230 166 0195 DDD8 1: fstp %st\(0\)
231 167 0197 E2FC loop 1b
232 168 0199 F6F1 divb %cl
233 169 019b 66F7F1 divw %cx
234 170 019e F7F1 divl %ecx
235 171 01a0 F6F1 div %cl
236 172 01a2 66F7F1 div %cx
237 173 01a5 F7F1 div %ecx
238 174 01a7 F6F1 div %cl,%al
239 175 01a9 66F7F1 div %cx,%ax
240 176 01ac F7F1 div %ecx,%eax
241 177 01ae 8EDE mov %si,%ds
242 178 01b0 8EDE movl %si,%ds # warning here
244 179 01b2 1E pushl %ds
246 181 01b4 A0000000 00 mov 0,%al
247 182 01b9 66A10000 0100 mov 0x10000,%ax
248 183 01bf 89C3 mov %eax,%ebx
255 190 01c9 89341D00 000000 mov %esi,\(,%ebx,1\)
256 191 01d0 80250000 00007F andb \$~0x80,foo
258 193 01d7 6683E0FE and \$0xfffe,%ax
259 194 01db 662500FF and \$0xff00,%ax
260 195 01df 25FEFF00 00 and \$0xfffe,%eax
261 196 01e4 2500FF00 00 and \$0xff00,%eax
262 197 01e9 83E0FE and \$0xfffffffe,%eax
265 200 01ec 83E0FE and \$0xfffe,%ax
266 201 01ef 2500FF and \$0xff00,%ax
267 202 01f2 6625FEFF 0000 and \$0xfffe,%eax
268 203 01f8 662500FF 0000 and \$0xff00,%eax
269 204 01fe 6683E0FE and \$0xfffffffe,%eax
271 206 #check 16-bit code auto address prefix
273 208 0202 67668D95 00FFFFFF leal -256\(%ebp\),%edx
274 209 020a 6788857F FFFFFF mov %al,-129\(%ebp\)
275 210 0211 67886580 mov %ah,-128\(%ebp\)
276 211 0215 67668D9D 20F9FFFF leal -1760\(%ebp\),%ebx
277 212 021d 67668984 248C0000 movl %eax,140\(%esp\)
281 215 # Make sure that we won't remove movzb by accident.
282 216 0226 660FB6F8 movzb %al,%di
283 217 022a 0FB6C8 movzb %al,%ecx
285 219 # Force a good alignment.
286 220 022d 000000 .p2align 4,0