NASM 2.06rc7
[nasm/perl-rewrite.git] / test / vmread.asm
blob551c71a17f9bfb56136d8d117793a5c5c8b682c7
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