comparison udis86-1.4/tests/test32.asm @ 1:4a9dcbd9e54f

-files of 0.13 beta -fixes so that it now compiles with the current dmd version
author marton@basel.hu
date Tue, 05 Apr 2011 20:44:01 +0200
parents
children
comparison
equal deleted inserted replaced
0:586e4a649642 1:4a9dcbd9e54f
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 push es
26 pop es
27 adc eax, 0x10000
28 and [eax], al
29 daa
30 inc ax
31 inc edx
32 push eax
33 push ax
34 pushad
35 bound eax, [eax]
36 bound ax, [ecx]
37 bsr ax, ax
38 bsf eax, [bx+si]
39 bswap eax
40 bt [eax], ax
41 btr ax, 0x10
42 btc ebx, 0x10
43 bts word [ebx], 0x10
44 call ax
45 call word near [bx+si]
46 call eax
47 call dword near [eax+ecx]
48 call word 0x10:0x100
49 call dword 0x10:0x10000
50 call word far [eax]
51 call dword far [bp+si]
52 cbw
53 cwd
54 clc
55 cld
56 clflush [eax]
57 cmp eax, ebx
58 cmp ecx, [bx]
59 cmpsb
60 cmpsw
61 cmpsd
62 cmpxchg [eax], ax
63 cmpxchg8b [ebx]
64 cpuid
65 das
66 inc eax
67 inc word [ecx]
68 dec byte [si]
69 in al, 0x10
70 in ax, 0x10
71 in eax, 0x10
72 insb
73 insw
74 insd
75 int 0x10
76 into
77 lahf
78 lds ax, [eax]
79 les eax, [ebx]
80 lea ax, [eax]
81 lea eax, [bx+si]
82 leave
83 lodsb
84 lodsw
85 lodsd
86 test al, bl
87 test [eax], bl
88 test [eax], ebx
89 test [eax], bx
90 ret
91 ret 0x10
92 aad 0x10
93 aam 0x10
94 salc
95 hlt
96 cmc
97 lock xchg ebx, eax
98 repne mov eax, ebx
99 rep mov eax, 0x10
100 push cs
101 outsd
102 outsw
103 mov ax, es
104 mov bx, ds
105 mov [eax], es
106 mov [ebx+ecx], cs
107 mov cs, [ebx+ecx]
108 wait
109 pushfw
110 pushfd
111 lodsw
112 lodsd
113 retf 0x10
114 int3
115 into
116 iretw
117 iretd
118 lar eax, [eax]
119 lsl ax, [bx]
120 syscall
121 clts
122 sysret
123 movups xmm0, xmm1
124 mov dr0, eax
125 wrmsr
126 rdmsr
127 rdtsc
128 rdpmc
129 sysenter
130 sysexit
131 cmovo eax, [eax]
132 cmovno eax, [bx]
133 cmovb eax, [eax]
134 cmovae eax, [bx]
135 cmovo eax, [eax]
136 cmovz eax, ebx
137 cmovnz eax, [eax]
138 cmovbe eax, [bx]
139 cmova eax, [bx]
140 movmskps eax, xmm0
141 movmskpd eax, xmm0
142 sqrtps xmm1, xmm0
143 rsqrtps xmm1, xmm0
144 rcpps xmm1, xmm0
145 andps xmm1, xmm0
146 orps xmm1, xmm0
147 xorps xmm1, xmm0
148 andnps xmm1, xmm0
149 sqrtss xmm1, xmm0
150 rsqrtss xmm1, xmm0
151 rcpss xmm1, xmm0
152 sqrtpd xmm1, xmm0
153 andpd xmm1, xmm0
154 andnpd xmm1, xmm0
155 orpd xmm1, xmm0
156 xorpd xmm1, xmm0
157 sqrtsd xmm1, xmm0
158 punpcklbw mm0, [eax]
159 punpcklwd mm0, mm1
160 punpckldq mm0, mm1
161 packsswb mm0, mm1
162 packsswb mm0, mm1
163 pcmpgtb mm0, mm1
164 pcmpgtw mm0, mm1
165 pcmpgtd mm0, mm1
166 packuswb mm0, mm1
167 punpcklbw xmm0, [eax]
168 punpcklwd xmm0, xmm1
169 punpckldq xmm0, xmm1
170 packsswb xmm0, xmm1
171 packsswb xmm0, xmm1
172 pcmpgtb xmm0, xmm1
173 pcmpgtw xmm0, xmm1
174 pcmpgtd xmm0, xmm1
175 packuswb xmm0, xmm1
176 pshufw mm0, mm1, 0x10
177 pcmpeqb mm0, mm1
178 pcmpeqw mm0, mm1
179 pcmpeqd mm0, mm1
180 pcmpeqb xmm0, xmm1
181 pcmpeqw xmm0, xmm1
182 pcmpeqd xmm0, xmm1
183 emms
184 pshufhw xmm0, xmm1, 0x10
185 pshufd xmm0, xmm1, 0x10
186 pshuflw xmm0, xmm1, 0x10
187 seto [eax]
188 setno [bx]
189 setz [es:eax+ecx*2+0x100]
190 push fs
191 pop fs
192 cpuid
193 bt [eax], eax
194 shld eax, ebx, 0x10
195 shld [eax], bx, cl
196 cmpxchg [eax], eax
197 lss eax, [eax]
198 btr [eax], eax
199 movnti [eax], eax
200 psrlw mm0, 0x10
201 fadd dword [eax]
202 imul eax, [eax], 0xf6
203 movd dword [eax], xmm0
204 movzx eax, word [eax]
205 push word [0x10]
206 insw
207 insd
208 fnstsw ax
209 fucomip st0, st1
210 fcomip st0, st7
211 fucomp st4
212 fucom st5
213 fstp st3
214 fst st1
215 ffree st0
216 fdiv st7, st0
217 fdivr st2, st0
218 fsub st4, st0
219 fsubr st6, st0
220 fmul st0, st0
221 fadd st5, st0
222 ficom word [eax]
223 fidivr word [eax]
224 fimul word [ebx]
225 fisub word [ecx]
226 fld qword [bx+si]
227 fisttp qword [edx+0x100]
228 fnstsw [eax]
229 frstor [ebx]
230 prefetch [bx+si]
231 psrlq xmm0, 0x10
232 psrldq xmm0, 0x10
233 movsldup xmm0, [eax]
234 add [0xffffffff], eax
235 cvtsi2ss xmm1, dword [eax]
236 pause
237 pop dword [eax]
238 out 0x0, al