| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t4170: Machine instructions VMCALL VMLAUNCH VMRESUME VMXOFF VMFUNC VMRUN VMMCALL VMLOAD VMSAVE STGI CLGI ENQCMD ENQCMDS ERETS ERETU

Description
  Operandless Virtual Machine Extension instructions.
Tested procedures
  IitGroupVMX IitVMCALL IitVMLAUNCH IitVMRESUME IitVMXOFF IitVMFUNC IitVMRUN IitVMMCALL IitVMLOAD IitVMSAVE IitSTGI IitCLGI IisENQCMD IisENQCMDS IisERETS IisERETU

Source & expected listing t4170.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=26, CPU=X64, \ | | VMX=ON, PROT=ON, PRIV=ON, AMD=ON | |t4170 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:0F01C1 | VMCALL |0003:0F01C2 | VMLAUNCH |0006:0F01C3 | VMRESUME |0009:0F01C4 | VMXOFF |000C:0F01D4 | VMFUNC |000F:0F01D8 | VMRUN |0012:0F01D9 | VMMCALL |0015:0F01DA | VMLOAD |0018:0F01DB | VMSAVE |001B:0F01DC | STGI |001E:0F01DD | CLGI |0021:F20F38F804 | ENQCMD EAX,[SI] |0026:F30F38F80D | ENQCMDS ECX,[DI] |002B:F20F01CA | ERETS |002F:F30F01CA | ERETU |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:0F01C1 | VMCALL |00000003:0F01C2 | VMLAUNCH |00000006:0F01C3 | VMRESUME |00000009:0F01C4 | VMXOFF |0000000C:0F01D4 | VMFUNC |0000000F:0F01D8 | VMRUN |00000012:0F01D9 | VMMCALL |00000015:0F01DA | VMLOAD |00000018:0F01DB | VMSAVE |0000001B:0F01DC | STGI |0000001E:0F01DD | CLGI |00000021:F20F38F806 | ENQCMD EAX,[ESI] |00000026:F30F38F80F | ENQCMDS ECX,[EDI] |0000002B:F20F01CA | ERETS |0000002F:F30F01CA | ERETU |00000033: | |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE |00000000:0F01C1 | VMCALL |00000003:0F01C2 | VMLAUNCH |00000006:0F01C3 | VMRESUME |00000009:0F01C4 | VMXOFF |0000000C:0F01D4 | VMFUNC |0000000F:0F01D8 | VMRUN |00000012:0F01D9 | VMMCALL |00000015:0F01DA | VMLOAD |00000018:0F01DB | VMSAVE |0000001B:0F01DC | STGI |0000001E:0F01DD | CLGI |00000021:F20F38F806 | ENQCMD RAX,[RSI] |00000026:F30F38F80F | ENQCMDS RCX,[RDI] |0000002B:F20F01CA | ERETS |0000002F:F30F01CA | ERETU |00000033: | | |ENDPROGRAM t4170`

Expected messages t4170.out
  `I0180 Assembling source file "t4170.htm". I0270 Assembling source "t4170". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t4170". "t4170.htm"{98} I0510 Assembling program pass 1. "t4170.htm"{98} I0530 Assembling program pass 2 - final. "t4170.htm"{98} I0660 16bit TINY BIN file "t4170.bin" created, size=179. "t4170.htm"{149} I0650 Program "t4170" assembled in 2 passes with errorlevel 0. "t4170.htm"{149} I0750 Source "t4170" (167 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t4170.htm.lst" created, size=2165. I0990 EuroAssembler terminated with errorlevel 0.`

▲Back to the top▲