Test t3064:
Machine instructions SHL SHLB SHLW SHLD in 32bit mode
- Tested procedures
-
IigSHL
IigSHLB
IigSHLW
IigSHLD
- Source & expected listing
t3064.htm.lst
-
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=36,CPU=386
| |t3064 PROGRAM FORMAT=BIN,IMAGEBASE=0,LISTMAP=OFF,LISTGLOBALS=OFF
|[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE
|00000000:D2E0 | SHL AL,CL
|00000002:D0E0 | SHL AL
|00000004:D0E0 | SHL AL,1
|00000006:C0E001 | SHL AL,1,CODE=LONG
|00000009:C0E001 | SHL AL,1,IMM=BYTE
|0000000C:C0E002 | SHL AL,2
|0000000F:D225[56010000] | SHL [MemByte],CL
|00000015:D025[56010000] | SHL [MemByte]
|0000001B:D025[56010000] | SHL [MemByte],1
|00000021:C025[56010000]01 | SHL [MemByte],1,CODE=LONG
|00000028:C025[56010000]01 | SHL [MemByte],1,IMM=BYTE
|0000002F:C025[56010000]02 | SHL [MemByte],2
|00000036:67C02501 | SHL [DI],1,DATA=BYTE,IMM=BYTE
|0000003A:D027 | SHL [EDI],1,DATA=BYTE
|0000003C:66D3E0 | SHL AX,CL
|0000003F:66D1E0 | SHL AX
|00000042:66D1E0 | SHL AX,1
|00000045:66C1E001 | SHL AX,1,CODE=LONG
|00000049:66C1E001 | SHL AX,1,IMM=BYTE
|0000004D:66C1E002 | SHL AX,2
|00000051:66D325[54010000] | SHL [MemWord],CL
|00000058:66D125[54010000] | SHL [MemWord]
|0000005F:66D125[54010000] | SHL [MemWord],1
|00000066:66C125[54010000]01 | SHL [MemWord],1,CODE=LONG
|0000006E:66C125[54010000]01 | SHL [MemWord],1,IMM=BYTE
|00000076:66C125[54010000]02 | SHL [MemWord],2
|0000007E:6667C12501 | SHL [DI],1,DATA=WORD,IMM=BYTE
|00000083:66D127 | SHL [EDI],1,DATA=WORD
|00000086:D3E0 | SHL EAX,CL
|00000088:D1E0 | SHL EAX
|0000008A:D1E0 | SHL EAX,1
|0000008C:C1E001 | SHL EAX,1,CODE=LONG
|0000008F:C1E001 | SHL EAX,1,IMM=BYTE
|00000092:C1E002 | SHL EAX,2
|00000095:D325[50010000] | SHL [MemDword],CL
|0000009B:D125[50010000] | SHL [MemDword]
|000000A1:D125[50010000] | SHL [MemDword],1
|000000A7:C125[50010000]01 | SHL [MemDword],1,CODE=LONG
|000000AE:C125[50010000]01 | SHL [MemDword],1,IMM=BYTE
|000000B5:C125[50010000]02 | SHL [MemDword],2
|000000BC:C12701 | SHL [EDI],1,DATA=DWORD,IMM=BYTE
|000000BF:67D125 | SHL [DI],1,DATA=DWORD
|000000C2:D227 | SHLB [EDI],CL
|000000C4:66D327 | SHLW [EDI],CL
|000000C7:D327 | SHLD [EDI],CL
|000000C9:D3E0 | SHLD EAX,CL
|000000CB:D1E0 | SHLD EAX
|000000CD:D1E0 | SHLD EAX,1
|000000CF:C1E001 | SHLD EAX,1,IMM=BYTE
|000000D2:C1E002 | SHLD EAX,2
|000000D5: | ; Following instructions are double precision shift.
|000000D5:660FA5D0 | SHLD AX,DX,CL
|000000D9:660FA4D001 | SHLD AX,DX
|000000DE:660FA4D001 | SHLD AX,DX,1
|000000E3:660FA4D002 | SHLD AX,DX,2
|000000E8:660FA515[54010000] | SHLD [MemWord],DX,CL
|000000F0:660FA415[54010000]01 | SHLD [MemWord],DX
|000000F9:660FA415[54010000]01 | SHLD [MemWord],DX,1
|00000102:660FA415[54010000]03 | SHLD [MemWord],DX,3
|0000010B:660FA517 | SHLD [EDI],DX,CL
|0000010F:660FA41703 | SHLD [EDI],DX,3
|00000114:0FA5D0 | SHLD EAX,EDX,CL
|00000117:0FA4D001 | SHLD EAX,EDX
|0000011B:0FA4D001 | SHLD EAX,EDX,1
|0000011F:0FA4D002 | SHLD EAX,EDX,2
|00000123:0FA515[50010000] | SHLD [MemDword],EDX,CL
|0000012A:0FA415[50010000]01 | SHLD [MemDword],EDX
|00000132:0FA415[50010000]01 | SHLD [MemDword],EDX,1
|0000013A:0FA415[50010000]02 | SHLD [MemDword],EDX,2
|00000142:0FA517 | SHLD [EDI],EDX,CL
|00000145:0FA41703 | SHLD [EDI],EDX,3
|00000149:8D842000000000 | ALIGN QWORD
|00000150:00000000 |MemDword D D
|00000154:0000 |MemWord D W
|00000156:00 |MemByte D B
| |ENDPROGRAM t3064
- Expected messages
t3064.out
I0180 Assembling source file "t3064.htm".
I0270 Assembling source "t3064".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t3064". "t3064.htm"{58}
I0510 Assembling program pass 1. "t3064.htm"{58}
I0510 Assembling program pass 2. "t3064.htm"{58}
I0510 Assembling program pass 3. "t3064.htm"{58}
I0530 Assembling program pass 4 - final. "t3064.htm"{58}
I0660 16bit TINY BIN file "t3064.bin" created, size=343. "t3064.htm"{135}
I0650 Program "t3064" assembled in 4 passes with errorlevel 0. "t3064.htm"{135}
I0750 Source "t3064" (155 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t3064.htm.lst" created, size=4443.
I0990 EuroAssembler terminated with errorlevel 0.
▲Back to the top▲