NASM 2.00rc3
[nasm/avx512.git] / test / movimm.asm
blobb5a7a2747de5f23cce9ea34309fe77a536ee91fd
1 bits 64
3 mov rax,1234567890abcdefh
4 mov eax,1234567890abcdefh
5 mov rax,dword 1234567890abcdefh
6 mov rax,qword 1234567890abcdefh
7 mov dword [rsi],1234567890abcdefh
8 mov qword [rsi],1234567890abcdefh
9 mov dword [rsi],dword 1234567890abcdefh
10 mov qword [rsi],dword 1234567890abcdefh
11 ; mov qword [rsi],qword 1234567890abcdefh ; Error
12 ; mov [rsi],qword 1234567890abcdefh ; Error
13 mov [rsi],dword 1234567890abcdefh
15 ; The optimizer probably should compact these forms, doesn't yet?
16 mov rax,12345678h
17 mov eax,12345678h
18 mov rax,dword 12345678h
19 mov rax,qword 12345678h
20 mov dword [rsi],12345678h
21 mov qword [rsi],12345678h
22 mov dword [rsi],dword 12345678h
23 mov qword [rsi],dword 12345678h
24 ; mov qword [rsi],qword 12345678h ; Error
25 ; mov [rsi],qword 12345678h ; Error
26 mov [rsi],dword 12345678h