Test t3251:
Machine instructions NOT NOTB NOTW NOTD NEG NEGB NEGW NEGD MUL MULB MULW MULD DIV DIVB DIVW DIVQ IDIV IDIVB IDIVW IDIVD in 16bit mode
- Tested procedures
-
IigNOT
IigNOTB
IigNOTW
IigNOTD
IigNEG
IigNEGB
IigNEGW
IigNEGD
IigMUL
IigMULB
IigMULW
IigMULD
IigDIV
IigDIVB
IigDIVW
IigDIVQ
IigIDIV
IigIDIVB
IigIDIVW
IigIDIVD
- Source & expected listing
t3251.htm.lst
-
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, CPU=386
| |t3251 PROGRAM FORMAT=BIN, IMAGEBASE=0, LISTMAP=OFF, LISTGLOBALS=OFF
|[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE
|0000:F6D1 | NOT CL
|0002:F6D9 | NEG CL
|0004:F6E1 | MUL CL
|0006:F6F1 | DIV CL
|0008:F6F9 | IDIV CL
|000A:F616[8E00] | NOT [MemByte]
|000E:F61E[8E00] | NEG [MemByte]
|0012:F626[8E00] | MUL [MemByte]
|0016:F636[8E00] | DIV [MemByte]
|001A:F63E[8E00] | IDIV [MemByte]
|001E:F614 | NOTB [SI]
|0020:F61C | NEGB [SI]
|0022:F624 | MULB [SI]
|0024:F634 | DIVB [SI]
|0026:F63C | IDIVB [SI]
|0028:F7D1 | NOT CX
|002A:F7D9 | NEG CX
|002C:F7E1 | MUL CX
|002E:F7F1 | DIV CX
|0030:F7F9 | IDIV CX
|0032:F716[8C00] | NOT [MemWord]
|0036:F71E[8C00] | NEG [MemWord]
|003A:F72E[8C00] | IMUL [MemWord]
|003E:F736[8C00] | DIV [MemWord]
|0042:F73E[8C00] | IDIV [MemWord]
|0046:F714 | NOTW [SI]
|0048:F71C | NEGW [SI]
|004A:F724 | MULW [SI]
|004C:F734 | DIVW [SI]
|004E:F73C | IDIVW [SI]
|0050:66F7D1 | NOT ECX
|0053:66F7D9 | NEG ECX
|0056:66F7E1 | MUL ECX
|0059:66F7F1 | DIV ECX
|005C:66F7F9 | IDIV ECX
|005F:66F716[8800] | NOT [MemDword]
|0064:66F71E[8800] | NEG [MemDword]
|0069:66F72E[8800] | IMUL [MemDword]
|006E:66F736[8800] | DIV [MemDword]
|0073:66F73E[8800] | IDIV [MemDword]
|0078:66F714 | NOTD [SI]
|007B:66F71C | NEGD [SI]
|007E:66F724 | MULD [SI]
|0081:66F734 | DIVD [SI]
|0084:66F73C | IDIVD [SI]
|0087:90 | ALIGN QWORD
|0088:00000000 |MemDword DD D
|008C:0000 |MemWord DW W
|008E:00 |MemByte DB B
| | ENDPROGRAM t3251
- Expected messages
t3251.out
I0180 Assembling source file "t3251.htm".
I0270 Assembling source "t3251".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t3251". "t3251.htm"{106}
I0510 Assembling program pass 1. "t3251.htm"{106}
I0510 Assembling program pass 2. "t3251.htm"{106}
I0510 Assembling program pass 3. "t3251.htm"{106}
I0530 Assembling program pass 4 - final. "t3251.htm"{106}
I0660 16bit TINY BIN file "t3251.bin" created, size=143. "t3251.htm"{157}
I0650 Program "t3251" assembled in 4 passes with errorlevel 0. "t3251.htm"{157}
I0750 Source "t3251" (177 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t3251.htm.lst" created, size=2541.
I0990 EuroAssembler terminated with errorlevel 0.
▲Back to the top▲