NASM 2.10rc15
[nasm/avx512.git] / test / sreg.asm
blob11449a508070504f97efca51f672df9817e2edab
1 bits 64
2 mov es,rax
3 mov ss,rax
4 mov ds,rax
5 mov fs,rax
6 mov gs,rax
7 mov es,eax
8 mov ss,eax
9 mov ds,eax
10 mov fs,eax
11 mov gs,eax
12 mov es,ax
13 mov ss,ax
14 mov ds,ax
15 mov fs,ax
16 mov gs,ax
17 mov es,[rsi]
18 mov ss,[rsi]
19 mov ds,[rsi]
20 mov fs,[rsi]
21 mov gs,[rsi]
22 mov es,word [rsi]
23 mov ss,word [rsi]
24 mov ds,word [rsi]
25 mov fs,word [rsi]
26 mov gs,word [rsi]
27 mov es,qword [rsi]
28 mov ss,qword [rsi]
29 mov ds,qword [rsi]
30 mov fs,qword [rsi]
31 mov gs,qword [rsi]
32 mov rax,es
33 mov rax,cs
34 mov rax,ss
35 mov rax,ds
36 mov rax,fs
37 mov rax,gs
38 mov eax,es
39 mov eax,ss
40 mov eax,ds
41 mov eax,fs
42 mov eax,fs
43 mov ax,es
44 mov ax,ss
45 mov ax,ds
46 mov ax,fs
47 mov ax,gs
48 mov [rdi],es
49 mov [rdi],cs
50 mov [rdi],ss
51 mov [rdi],ds
52 mov [rdi],fs
53 mov [rdi],gs
54 mov word [rdi],es
55 mov word [rdi],cs
56 mov word [rdi],ss
57 mov word [rdi],ds
58 mov word [rdi],fs
59 mov word [rdi],gs
60 mov qword [rdi],es
61 mov qword [rdi],cs
62 mov qword [rdi],ss
63 mov qword [rdi],ds
64 mov qword [rdi],fs
65 mov qword [rdi],gs