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

# Test t3077: Machine instructions SAR SARB SARW SARD SARQ in 64bit mode

Tested procedures
  IigSAR IigSARB IigSARW IigSARD IigSARQ

Source & expected listing t3077.htm.lst
  `| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=36,CPU=X64 | |t3077 PROGRAM FORMAT=BIN,IMAGEBASE=0,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE |00000000:D2F8 | SAR AL,CL |00000002:D0F8 | SAR AL |00000004:D0F8 | SAR AL,1 |00000006:C0F801 | SAR AL,1,CODE=LONG |00000009:C0F801 | SAR AL,1,IMM=BYTE |0000000C:C0F802 | SAR AL,2 |0000000F:D23D19010000 | SAR [MemByte],CL |00000015:D03D13010000 | SAR [MemByte] |0000001B:D03D0D010000 | SAR [MemByte],1 |00000021:C03D0601000001 | SAR [MemByte],1,CODE=LONG |00000028:C03DFF00000001 | SAR [MemByte],1,IMM=BYTE |0000002F:C03DF800000002 | SAR [MemByte],2 |00000036:C03F01 | SAR [RDI],1,DATA=BYTE,IMM=BYTE |00000039:67D03F | SAR [EDI],1,DATA=BYTE |0000003C:66D3F8 | SAR AX,CL |0000003F:66D1F8 | SAR AX |00000042:66D1F8 | SAR AX,1 |00000045:66C1F801 | SAR AX,1,CODE=LONG |00000049:66C1F801 | SAR AX,1,IMM=BYTE |0000004D:66C1F802 | SAR AX,2 |00000051:66D33DD4000000 | SAR [MemWord],CL |00000058:66D13DCD000000 | SAR [MemWord] |0000005F:66D13DC6000000 | SAR [MemWord],1 |00000066:66C13DBE00000001 | SAR [MemWord],1,CODE=LONG |0000006E:66C13DB600000001 | SAR [MemWord],1,IMM=BYTE |00000076:66C13DAE00000002 | SAR [MemWord],2 |0000007E:66C13F01 | SAR [RDI],1,DATA=WORD,IMM=BYTE |00000082:6667D13F | SAR [EDI],1,DATA=WORD |00000086:D3F8 | SAR EAX,CL |00000088:D1F8 | SAR EAX |0000008A:D1F8 | SAR EAX,1 |0000008C:C1F801 | SAR EAX,1,CODE=LONG |0000008F:C1F801 | SAR EAX,1,IMM=BYTE |00000092:C1F802 | SAR EAX,2 |00000095:D33D8D000000 | SAR [MemDword],CL |0000009B:D13D87000000 | SAR [MemDword] |000000A1:D13D81000000 | SAR [MemDword],1 |000000A7:C13D7A00000001 | SAR [MemDword],1,CODE=LONG |000000AE:C13D7300000001 | SAR [MemDword],1,IMM=BYTE |000000B5:C13D6C00000002 | SAR [MemDword],2 |000000BC:67C13F01 | SAR [EDI],1,DATA=DWORD,IMM=BYTE |000000C0:D13F | SAR [RDI],1,DATA=DWORD |000000C2:48D3F8 | SAR RAX,CL |000000C5:48D1F8 | SAR RAX |000000C8:48D1F8 | SAR RAX,1 |000000CB:48C1F801 | SAR RAX,1,CODE=LONG |000000CF:48C1F801 | SAR RAX,1,IMM=BYTE |000000D3:48C1F802 | SAR RAX,2 |000000D7:48D33D42000000 | SAR [MemQword],CL |000000DE:48D13D3B000000 | SAR [MemQword] |000000E5:48D13D34000000 | SAR [MemQword],1 |000000EC:48C13D2C00000001 | SAR [MemQword],1,CODE=LONG |000000F4:48C13D2400000001 | SAR [MemQword],1,IMM=BYTE |000000FC:48C13D1C00000002 | SAR [MemQword],2 |00000104:6741C13801 | SAR [R8D],1,DATA=DWORD,IMM=BYTE |00000109:41D13C24 | SAR [R12],1,DATA=DWORD |0000010D:4AD17CA500 | SAR [RBP+4*R12],1,DATA=QWORD |00000112:D23F | SARB [RDI],CL |00000114:66D33F | SARW [RDI],CL |00000117:D33F | SARD [RDI],CL |00000119:48D33F | SARQ [RDI],CL |0000011C:0F1F4000 | ALIGN QWORD |00000120:0000000000000000 |MemQword D Q |00000128:00000000 |MemDword D D |0000012C:0000 |MemWord D W |0000012E:00 |MemByte D B | |ENDPROGRAM t3077`

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

▲Back to the top▲