EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t4155: Machine instructions XGETBV XSETBV XRSTOR XRSTORS XSAVE XSAVEC XSAVEOPT XSAVES


Description
Extended CPU state save/restore.
Tested procedures
IitGroupXstate   IitXGETBV   IitXSETBV   IitXRSTOR   IitXRSTORS   IitXSAVE   IitXSAVEC   IitXSAVEOPT   IitXSAVES  
Source & expected listing t4155.htm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, CPU=686, SPEC=ON | |t4155 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:0F01D0 | XGETBV |0003:0FAE24 | XSAVE [SI] |0006:670FAE26 | XSAVE [ESI] |000A:0FAE260000 | XSAVE [0] |000F:670FAE2500000000 | XSAVE [0],DISP=DWORD |0017:0FAE2C | XRSTOR [SI] |001A:0FAE34 | XSAVEOPT [SI] |001D:0FC724 | XSAVEC [SI] | | EUROASM PRIV=ENABLE |0020:0F01D1 | XSETBV |0023:0FC72C | XSAVES [SI] |0026:0FC71C | XRSTORS [SI] |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:0F01D0 | XGETBV |00000003:670FAE24 | XSAVE [SI] |00000007:0FAE26 | XSAVE [ESI] |0000000A:0FAE64DE40 | XSAVE [ESI+8*EBX+64] |0000000F:0FAE2504000000 | XSAVE [4] |00000016:670FAE260400 | XSAVE [4],DISP=WORD |0000001C:670FAEA70000 | XSAVE [BX+0],DISP=WORD |00000022:0FAE2E | XRSTOR [ESI] |00000025:0FAE36 | XSAVEOPT [ESI] |00000028:0FC726 | XSAVEC [ESI] |0000002B:0F01D1 | XSETBV |0000002E:0FC72E | XSAVES [ESI] |00000031:0FC71E | XRSTORS [ESI] | | EUROASM CPU=X64 |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE |00000000:0F01D0 | XGETBV |00000003:0FAE26 | XSAVE [RSI] |00000006:410FAE23 | XSAVE [R11] |0000000A:670FAE26 | XSAVE [ESI] |0000000E:67420FAE248E | XSAVE [ESI+4*R9D] |00000014:0FAE242500000000 | XSAVE [0] |0000001C:0FAE2E | XRSTOR [RSI] |0000001F:0FAE36 | XSAVEOPT [RSI] |00000022:0FC726 | XSAVEC [RSI] |00000025:0F01D1 | XSETBV |00000028:670FC72E | XSAVES [ESI] |0000002C:670FC71E | XRSTORS [ESI] | | ENDPROGRAM t4155
Expected messages t4155.out
I0180 Assembling source file "t4155.htm". I0270 Assembling source "t4155". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t4155". "t4155.htm"{76} I0510 Assembling program pass 1. "t4155.htm"{76} I0530 Assembling program pass 2 - final. "t4155.htm"{76} I0660 16bit TINY BIN file "t4155.bin" created, size=160. "t4155.htm"{118} I0650 Program "t4155" assembled in 2 passes with errorlevel 0. "t4155.htm"{118} I0750 Source "t4155" (136 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t4155.htm.lst" created, size=2230. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲