Test t3271:
Machine instructions IMUL IMULB IMULW IMULD in 16bit mode
- Tested procedures
-
IigIMUL
IigIMULB
IigIMULW
IigIMULD
- Source & expected listing
t3271.htm.lst
-
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, CPU=386
| |t3271 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF
|[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE
|0000:F6E9 | IMUL CL
|0002:F7E9 | IMUL CX
|0004:66F7E9 | IMUL ECX
|0007:F62E[6600] | IMUL [MemByte]
|000B:F72E[6400] | IMUL [MemWord]
|000F:66F72E[6000] | IMUL [MemDword]
|0014:F62C | IMUL [SI],DATA=BYTE
|0016:F62C | IMULB [SI]
|0018:F72C | IMUL [SI],DATA=WORD
|001A:F72C | IMULW [SI]
|001C:66F72C | IMUL [SI],DATA=DWORD
|001F:66F72C | IMULD [SI]
|0022:0FAFCA | IMUL CX,DX
|0025:660FAFCA | IMUL ECX,EDX
|0029:0FAF0C | IMUL CX,[SI]
|002C:660FAF0C | IMUL ECX,[SI]
|0030:69CA7EFF | IMUL CX,DX,-130
|0034:69CA7FFF | IMUL CX,DX,-129
|0038:6BCA80 | IMUL CX,DX,-128
|003B:6BCA81 | IMUL CX,DX,-127
|003E:6BCA7E | IMUL CX,DX,+126
|0041:6BCA7F | IMUL CX,DX,+127
|0044:69CA8000 | IMUL CX,DX,+128
|0048:69CA8100 | IMUL CX,DX,+129
|004C:6B0C03 | IMUL CX,[SI],3
|004F:690C0300 | IMUL CX,[SI],3,IMM=WORD
|0053:666B0C03 | IMUL ECX,[SI],3
|0057:66690C03000000 | IMUL ECX,[SI],3,IMM=DWORD
|005E:87C9 | ALIGN QWORD
|0060:00000000 |MemDword DD D
|0064:0000 |MemWord DW W
|0066:00 |MemByte DB B
| | ENDPROGRAM t3271
- Expected messages
t3271.out
I0180 Assembling source file "t3271.htm".
I0270 Assembling source "t3271".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t3271". "t3271.htm"{58}
I0510 Assembling program pass 1. "t3271.htm"{58}
I0510 Assembling program pass 2. "t3271.htm"{58}
I0510 Assembling program pass 3. "t3271.htm"{58}
I0530 Assembling program pass 4 - final. "t3271.htm"{58}
I0660 16bit TINY BIN file "t3271.bin" created, size=103. "t3271.htm"{92}
I0650 Program "t3271" assembled in 4 passes with errorlevel 0. "t3271.htm"{92}
I0750 Source "t3271" (112 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t3271.htm.lst" created, size=1859.
I0990 EuroAssembler terminated with errorlevel 0.
▲Back to the top▲