OSDN Git Service

d2511b93d0e06f4087b2e0aa9e1fbff2d3028e0c
[drdeamon64/drdeamon64.git] / libintel64asm / test.asm
1 BITS 64
2
3         mov             rax, 01h
4         mov             cr0, rax
5         mov             dr0, r8
6         pushf
7         push    12h
8         push    12345678h
9         mov             rax, 1234567887654321h
10         push    rax
11         cmp             rax,rbx
12         jb              02h
13         sldt    [rbx+02h]       
14         psrlq   mm0, 03h
15         movq    mm1,mm0
16         movd    mm0,[rcx+04h]
17         mov             ds, [rdi+06h]
18         psllw   xmm0, 07h
19         movsd   xmm7, xmm0
20         movsd   xmm0, [rdx+12h]
21         cmps    
22         cmpsw
23         cmpsb
24         orps    xmm1,xmm2
25         movss   xmm2,xmm1
26         mov             rax, [rbx*2+rcx+12345678h]
27         mov             qword [rip+12h], 12h
28         adc             rax,[edx*4+edi]
29         inc             rbp     
30         xchg    rbx,rsi
31         xchg    rax,rsi
32         nop
33         ifence
34         addsd   xmm9,xmm2
35         faddp   st1,st0
36         fld             dword [rbx*4+rdx+17]
37                 
38         mov             cr2, rsi
39         mov             dr3, r11
40         sldt    [ebx*8+esp+02h] 
41         movd    mm0,[ecx+04h]
42         movsd   xmm0, [edx+ebx+12h]
43         lss             eax, [12345678h]
44         mov             eax, [ebx*4+ecx+12345678h]
45         inc             ebp     
46         xchg    ebx,esi
47         xchg    eax,esi
48         fld             dword [ebx*4+edx+17]
49
50         mov             r15, qword [r12 * 4 + rbx + 11]
51         jb              04h
52         faddp   st1,st0
53         xchg    eax,esi
54         int3
55
56         mov             rax, qword [r12]
57         mov             rax, [fs:r12]
58         mov             rax, [fs:12345678h]
59         mov             rax, [fs:rdx*4+rcx+55h]