0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
nasm/travis/test/vmx.asm
Cyrill Gorcunov e2ed7b7e12 x86/insns: add VMGEXIT
The instruction supports two forms with [f2] and [f3].
I guess we might add aliases as VMGEXIT2 and VMGEXIT3.
For now simly leave a second form for ndisasm sake.

https://bugzilla.nasm.us/show_bug.cgi?id=3392755

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2021-05-13 09:14:10 +03:00

29 lines
349 B
NASM

[bits 64]
clgi
stgi
vmcall
vmclear [0]
vmfunc
vmlaunch
vmload
vmmcall
vmptrld [0x11111111]
vmptrst [0x22222222]
vmread [0x22222222], rax
vmresume
vmrun
vmsave
vmwrite rax, [0x22222222]
vmxoff
vmxon [0x33333333]
invept rbx, [0x44444444]
invvpid rcx, [0x55555555]
pvalidate
rmpadjust
vmgexit
repne vmcall
rep vmcall