NASM 2.05rc1
[nasm/avx512.git] / test / vmread.asm
blobfa55926545bbdd3f8e47913f245d161e1b6e22b2
1 ;Testname=test; Arguments=-fbin -ovmread.bin; Files=.stdout .stderr vmread.bin
3 bits 32
4 vmread dword [0], eax
5 vmwrite eax, dword [0]
6 vmread [0], eax
7 vmwrite eax, [0]
9 bits 64
10 vmread qword [0], rax
11 vmwrite rax, qword [0]
12 vmread [0], rax
13 vmwrite rax, [0]
15 %ifdef ERROR
16 bits 32
17 vmread qword [0], eax
18 vmwrite eax, qword [0]
20 bits 64
21 vmread dword [0], eax
22 vmwrite eax, dword [0]
24 vmread qword [0], eax
25 vmwrite eax, qword [0]
26 %endif