nasm/travis/test/vmread.asm
Cyrill Gorcunov 5fc8791857 test: nasm-t -- Add vmread test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00

25 lines
365 B
NASM

bits 32
vmread dword [0], eax
vmwrite eax, dword [0]
vmread [0], eax
vmwrite eax, [0]
bits 64
vmread qword [0], rax
vmwrite rax, qword [0]
vmread [0], rax
vmwrite rax, [0]
%ifdef ERROR
bits 32
vmread qword [0], eax
vmwrite eax, qword [0]
bits 64
vmread dword [0], eax
vmwrite eax, dword [0]
vmread qword [0], eax
vmwrite eax, qword [0]
%endif