annotate udis86-1.4/tests/test64.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
1 [bits 64]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
2 mov rax, 0x102030405060708
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
3 mov [eax+0x10], ax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
4 mov [eax+0x1000], ebx
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
5 mov [ebp+eax+0x0], esi
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
6 mov qword [ebp+edi+0x1000], 0x10
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
7 mov byte [esp], 0x10
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
8 mov [eax], rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
9 mov [r12], eax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
10 mov [r13+r12+0x0], eax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
11 mov [r8*4+0x0], sil
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
12 inc rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
13 dec rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
14 mov [rip+0x200], rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
15 mov rax, 0x10000
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
16 push rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
17 push r12
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
18 call word near [r8]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
19 call qword near [rax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
20 call word far [r8]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
21 call dword far [rax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
22 cbw
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
23 cwde
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
24 cdqe
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
25 cwd
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
26 cdq
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
27 cqo
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
28 cmovl rax, [rax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
29 cmovge eax, [rax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
30 clflush [r14]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
31 cmp [rax], rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
32 cmp rbx, r12
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
33 cmp r12d, r8d
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
34 cmpsb
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
35 cmpsw
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
36 cmpsd
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
37 cmpsq
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
38 cmpxchg [eax], r14
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
39 cmpxchg8b [ebx]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
40 inc r12d
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
41 inc dword [rax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
42 dec r11w
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
43 hlt
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
44 imul rax, [eax+ebx*8+0x100000], 0x10
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
45 idiv dword [r12]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
46 enter 0x100, 0x0
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
47 enter 0x100, 0x1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
48 enter 0x100, 0x10
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
49 in al, 0x10
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
50 in ax, 0x10
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
51 in eax, 0x10
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
52 lfs eax, [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
53 lgs eax, [ebx]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
54 lea eax, [rbx]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
55 lea r11, [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
56 lodsb
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
57 lodsq
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
58 lodsd
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
59 push rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
60 push r11
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
61 xchg [eax], sil
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
62 xchg [eax], ebx
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
63 xchg [eax], bx
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
64 xchg r8, rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
65 xchg r9, rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
66 xchg cx, ax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
67 movsd
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
68 movsq
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
69 mov al, r11b
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
70 mov sil, al
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
71 mov r11b, dil
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
72 ret 0x10
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
73 pop rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
74 pop r11
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
75 pop qword [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
76 insd
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
77 outsd
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
78 mov [r14d], cs
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
79 mov cs, [ebx+ecx]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
80 pushfq
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
81 scasq
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
82 lar rax, [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
83 lsl ax, [rbx]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
84 movups xmm0, [r12d]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
85 movupd xmm0, [r12d]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
86 movsldup xmm0, [r12d]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
87 movups xmm0, xmm1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
88 movlps xmm0, [rax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
89 movlps [rax], xmm0
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
90 unpcklps xmm4, xmm5
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
91 unpckhps xmm4, xmm5
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
92 movhps xmm3, [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
93 movhps [rax], xmm3
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
94 movss xmm0, [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
95 movss [eax], xmm0
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
96 movlpd [eax], xmm0
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
97 movlpd xmm0, [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
98 unpcklpd xmm2, xmm4
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
99 unpckhpd xmm3, [eax+ebx*8+0xffffffff]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
100 movhpd xmm3, [rax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
101 movhpd [rax], xmm2
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
102 movsd xmm3, xmm4
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
103 movddup xmm3, [rax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
104 mov dr0, rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
105 mov rax, dr1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
106 movnti [eax], eax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
107 movnti [rax], rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
108 movd dword [eax], xmm0
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
109 movd qword [eax], xmm0
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
110 movd xmm11, qword [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
111 vmmcall
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
112 vmrun
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
113 clgi
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
114 stgi
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
115 mfence
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
116 lfence
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
117 sfence
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
118 clflush [rax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
119 mov cr8, rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
120 push qword [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
121 push word [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
122 add bh, bh
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
123 add dil, dil
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
124 add sil, bpl
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
125 add al, sil
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
126 prefetcht0 [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
127 prefetchnta [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
128 prefetch [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
129 add [r8], r9b
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
130 mov [rax-0x1], eax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
131 inc rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
132 jmp qword near [eax]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
133 jmp rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
134 mov [0x10], rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
135 mov rax, [0x10]
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
136 mov rax, 0x102030405060708
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
137 nop
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
138 xchg r8, rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
139 push ax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
140 push rax
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
141 push r11
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
142 mov rax, [0x100]