]> andersk Git - udis86.git/blob - tests/test32.asm
Use the public http URI to docbook.xsl.
[udis86.git] / tests / test32.asm
1 [bits 32]
2         mov [0x1000], bx
3         mov [0x10], ax
4         mov ax, [0x10]
5         mov byte [bx+si], 0x10
6         mov byte [bx+si+0x10], 0x10
7         mov word [bp+0x0], 0x10
8         mov word [bp+di+0x10], 0x10
9         mov dword [si+0x10], 0x10
10         mov word [di+0x10], 0x10
11         mov dword [bx+0x10], 0x1000
12         mov word [bx+0x1000], 0x1000
13         mov dword [ebx+ecx*4], 0x100
14         mov [eax+eax*2], eax
15         mov [edx+esi*8], ebp
16         mov dword [ecx*4+0x0], 0x100
17         mov byte [cs:0x100000], 0x10
18         mov word [eax+0x10], 0x10
19         mov [eax+0x10], ax
20         mov [eax+0x1000], ebx
21         mov [ebp+eax+0x0], esi
22         mov [ebp+edi+0x100000], esp
23         mov byte [esp], 0x10
24         add al, 0x10
25         add eax, ebx
26         push es
27         pop es
28         adc eax, 0x10000
29         and [eax], al
30         daa 
31         inc ax
32         inc edx
33         push eax
34         push ax
35         pushad 
36         bound eax, [eax]
37         bound ax, [ecx]
38         bsr ax, ax
39         bsf eax, [bx+si]
40         bswap eax
41         bt [eax], ax
42         btr ax, 0x10
43         btc ebx, 0x10
44         bts word [ebx], 0x10
45         call ax
46         call word near [bx+si]
47         call eax
48         call dword near [eax+ecx]
49         call word 0x10:0x100
50         call dword 0x10:0x10000
51         call word far [eax]
52         call dword far [bp+si]
53         cbw 
54         cwd 
55         clc 
56         cld 
57         clflush [eax]
58         cmp eax, ebx
59         cmp ecx, [bx]
60         cmpsb 
61         cmpsw 
62         cmpsd 
63         cmpxchg [eax], ax
64         cmpxchg8b [ebx]
65         cpuid 
66         das 
67         inc eax
68         inc word [ecx]
69         dec byte [si]
70         in al, 0x10
71         in ax, 0x10
72         in eax, 0x10
73         insb 
74         insw 
75         insd 
76         int 0x10
77         into 
78         lahf 
79         lds ax, [eax]
80         les eax, [ebx]
81         lea ax, [eax]
82         lea eax, [bx+si]
83         leave 
84         lodsb 
85         lodsw 
86         lodsd 
87         test al, bl
88         test [eax], bl
89         test [eax], ebx
90         test [eax], bx
91         ret 
92         ret 0x10
93         aad 0x10
94         aam 0x10
95         salc 
96         hlt 
97         cmc 
98         lock xchg ebx, eax
99         repne mov eax, ebx
100         rep mov eax, 0x10
101         push cs
102         outsd 
103         outsw 
104         mov ax, es
105         mov bx, ds
106         mov [eax], es
107         mov [ebx+ecx], cs
108         mov cs, [ebx+ecx]
109         wait 
110         pushfw 
111         pushfd 
112         lodsw 
113         lodsd 
114         retf 0x10
115         int3 
116         into 
117         iretw 
118         iretd 
119         lar eax, [eax]
120         lsl ax, [bx]
121         syscall 
122         clts 
123         sysret 
124         movups xmm0, xmm1
125         mov dr0, eax
126         wrmsr 
127         rdmsr 
128         rdtsc 
129         rdtscp 
130         rdpmc 
131         sysenter 
132         sysexit 
133         cmovo eax, [eax]
134         cmovno eax, [bx]
135         cmovb eax, [eax]
136         cmovae eax, [bx]
137         cmovo eax, [eax]
138         cmovz eax, ebx
139         cmovnz eax, [eax]
140         cmovbe eax, [bx]
141         cmova eax, [bx]
142         movmskps eax, xmm0
143         movmskpd eax, xmm0
144         sqrtps xmm1, xmm0
145         rsqrtps xmm1, xmm0
146         rcpps xmm1, xmm0
147         andps xmm1, xmm0
148         orps xmm1, xmm0
149         xorps xmm1, xmm0
150         andnps xmm1, xmm0
151         sqrtss xmm1, xmm0
152         rsqrtss xmm1, xmm0
153         rcpss xmm1, xmm0
154         sqrtpd xmm1, xmm0
155         andpd xmm1, xmm0
156         andnpd xmm1, xmm0
157         orpd xmm1, xmm0
158         xorpd xmm1, xmm0
159         sqrtsd xmm1, xmm0
160         punpcklbw mm0, [eax]
161         punpcklwd mm0, mm1
162         punpckldq mm0, mm1
163         packsswb mm0, mm1
164         packsswb mm0, mm1
165         pcmpgtb mm0, mm1
166         pcmpgtw mm0, mm1
167         pcmpgtd mm0, mm1
168         packuswb mm0, mm1
169         punpcklbw xmm0, [eax]
170         punpcklwd xmm0, xmm1
171         punpckldq xmm0, xmm1
172         packsswb xmm0, xmm1
173         packsswb xmm0, xmm1
174         pcmpgtb xmm0, xmm1
175         pcmpgtw xmm0, xmm1
176         pcmpgtd xmm0, xmm1
177         packuswb xmm0, xmm1
178         pshufw mm0, mm1, 0x10
179         pcmpeqb mm0, mm1
180         pcmpeqw mm0, mm1
181         pcmpeqd mm0, mm1
182         pcmpeqb xmm0, xmm1
183         pcmpeqw xmm0, xmm1
184         pcmpeqd xmm0, xmm1
185         emms 
186         pshufhw xmm0, xmm1, 0x10
187         pshufd xmm0, xmm1, 0x10
188         pshuflw xmm0, xmm1, 0x10
189         seto [eax]
190         setno [bx]
191         setz [es:eax+ecx*2+0x100]
192         push fs
193         pop fs
194         cpuid 
195         bt [eax], eax
196         shld eax, ebx, 0x10
197         shld [eax], bx, cl
198         cmpxchg [eax], eax
199         lss eax, [eax]
200         btr [eax], eax
201         movnti [eax], eax
202         psrlw mm0, 0x10
203         fadd dword [eax]
204         imul eax, [eax], 0xf6
205         movd dword [eax], xmm0
206         movzx eax, word [eax]
207         push word [0x10]
208         insw 
209         insd 
210         fnstsw ax
211         fucomip st0, st1
212         fcomip st0, st7
213         fucomp st4
214         fucom st5
215         fstp st3
216         fst st1
217         ffree st0
218         fdiv st7, st0
219         fdivr st2, st0
220         fsub st4, st0
221         fsubr st6, st0
222         fmul st0, st0
223         fadd st5, st0
224         ficom word [eax]
225         fidivr word [eax]
226         fimul word [ebx]
227         fisub word [ecx]
228         fld qword [bx+si]
229         fisttp qword [edx+0x100]
230         fnstsw word [eax]
231         frstor [ebx]
232         prefetch [bx+si]
233         psrlq xmm0, 0x10
234         psrldq xmm0, 0x10
235         movsldup xmm0, [eax]
236         add [0xffffffff], eax
237         cvtsi2ss xmm1, dword [eax]
238         pause 
239         pop dword [eax]
240         out 0x0, al
241         lldt [0x100]
242         lgdt [0x221]
243         sldt [0x233]
244         sgdt [0x443]
245         lidt [eax+0x333]
246         lldt ax
247         ltr bx
248         verr cx
249         verw dx
250         sldt ax
251         str bx
252         str eax
253         and esp, 0xfc
254         psrlw xmm1, 0x10
255         psraw xmm7, 0x1
256         psllw xmm2, 0x23
257         fldenv [0x10]
258         fldenv [0x123]
259         fldcw word [0x100]
260         fnstcw word [0x10]
261         ficom word [eax+ebx+0x10]
262         fstp tword [0x10]
263         fadd qword [eax+ebx*2+0x1]
264         frstor [0x100]
265         fnstsw word [0x100]
266         fiadd word [0x100]
267         fild word [0x10]
268         monitor 
269         mwait 
270         lfence 
271         mfence 
272         sfence 
273         vmrun 
274         vmmcall 
275         vmload 
276         vmsave 
277         stgi 
278         clgi 
279         skinit 
280         invlpga 
This page took 0.095025 seconds and 5 git commands to generate.