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

# Test t3057: Machine instructions SAR SARB SARW SARD in 16bit mode

Tested procedures
  IigSAR IigSARB IigSARW IigSARD

Source & expected listing t3057.htm.lst
  `| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=36,CPU=386 | |t3057 PROGRAM FORMAT=BIN,IMAGEBASE=0,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:D2F8 | SAR AL,CL |0002:D0F8 | SAR AL |0004:D0F8 | SAR AL,1 |0006:C0F801 | SAR AL,1,CODE=LONG |0009:C0F801 | SAR AL,1,IMM=BYTE |000C:C0F802 | SAR AL,2 |000F:D23E[AE00] | SAR [MemByte],CL |0013:D03E[AE00] | SAR [MemByte] |0017:D03E[AE00] | SAR [MemByte],1 |001B:C03E[AE00]01 | SAR [MemByte],1,CODE=LONG |0020:C03E[AE00]01 | SAR [MemByte],1,IMM=BYTE |0025:C03E[AE00]02 | SAR [MemByte],2 |002A:C03D01 | SAR [DI],1,DATA=BYTE,IMM=BYTE |002D:67D03F | SAR [EDI],1,DATA=BYTE |0030:D3F8 | SAR AX,CL |0032:D1F8 | SAR AX |0034:D1F8 | SAR AX,1 |0036:C1F801 | SAR AX,1,CODE=LONG |0039:C1F801 | SAR AX,1,IMM=BYTE |003C:C1F802 | SAR AX,2 |003F:D33E[AC00] | SAR [MemWord],CL |0043:D13E[AC00] | SAR [MemWord] |0047:D13E[AC00] | SAR [MemWord],1 |004B:C13E[AC00]01 | SAR [MemWord],1,CODE=LONG |0050:C13E[AC00]01 | SAR [MemWord],1,IMM=BYTE |0055:C13E[AC00]02 | SAR [MemWord],2 |005A:C13D01 | SAR [DI],1,DATA=WORD,IMM=BYTE |005D:67D13F | SAR [EDI],1,DATA=WORD |0060:66D3F8 | SAR EAX,CL |0063:66D1F8 | SAR EAX |0066:66D1F8 | SAR EAX,1 |0069:66C1F801 | SAR EAX,1,CODE=LONG |006D:66C1F801 | SAR EAX,1,IMM=BYTE |0071:66C1F802 | SAR EAX,2 |0075:66D33E[A800] | SAR [MemDword],CL |007A:66D13E[A800] | SAR [MemDword] |007F:66D13E[A800] | SAR [MemDword],1 |0084:66C13E[A800]01 | SAR [MemDword],1,CODE=LONG |008A:66C13E[A800]01 | SAR [MemDword],1,IMM=BYTE |0090:66C13E[A800]02 | SAR [MemDword],2 |0096:66C13D01 | SAR [DI],1,DATA=DWORD,IMM=BYTE |009A:6667D13F | SAR [EDI],1,DATA=DWORD |009E:D23D | SARB [DI],CL |00A0:D33D | SARW [DI],CL |00A2:66D33D | SARD [DI],CL |00A5:9087C9 | ALIGN QWORD |00A8:00000000 |MemDword D D |00AC:0000 |MemWord D W |00AE:00 |MemByte D B | |ENDPROGRAM t3057`

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

▲Back to the top▲