Test t3281:
Machine instructions INC INCB INCW INCD DEC DECB DECW DECD in 16bit mode
- Tested procedures
-
IigINC
IigINCB
IigINCW
IigINCD
IigDEC
IigDECB
IigDECW
IigDECD
- Source & expected listing
t3281.htm.lst
-
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32, CPU=386
| |t3281 PROGRAM FORMAT=BIN, SECTIONALIGN=0, FILEALIGN=0, IMAGEBASE=0, LISTMAP=OFF, LISTGLOBALS=OFF
|[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE
|0000:FEC1 | INC CL
|0002:41 | INC CX
|0003:FFC1 | INC CX,CODE=LONG
|0005:6641 | INC ECX
|0007:66FFC1 | INC ECX,CODE=LONG
|000A:FE06[4600] | INC [MemByte]
|000E:FF06[4400] | INC [MemWord]
|0012:66FF06[4000] | INC [MemDword]
|0017:FE04 | INCB [SI]
|0019:FF04 | INCW [SI]
|001B:66FF04 | INCD [SI]
|001E:FEC9 | DEC CL
|0020:49 | DEC CX
|0021:FFC9 | DEC CX,CODE=LONG
|0023:6649 | DEC ECX
|0025:66FFC9 | DEC ECX,CODE=LONG
|0028:FE0E[4600] | DEC [MemByte]
|002C:FF0E[4400] | DEC [MemWord]
|0030:66FF0E[4000] | DEC [MemDword]
|0035:FE0C | DECB [SI]
|0037:FF0C | DECW [SI]
|0039:66FF0C | DECD [SI]
|003C:87C987D2 | ALIGN QWORD
|0040:00000000 |MemDword DD D
|0044:0000 |MemWord DW W
|0046:00 |MemByte DB B
| |ENDPROGRAM t3281
- Expected messages
t3281.out
I0180 Assembling source file "t3281.htm".
I0270 Assembling source "t3281".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t3281". "t3281.htm"{70}
I0510 Assembling program pass 1. "t3281.htm"{70}
I0510 Assembling program pass 2. "t3281.htm"{70}
I0510 Assembling program pass 3. "t3281.htm"{70}
I0530 Assembling program pass 4 - final. "t3281.htm"{70}
I0660 16bit TINY BIN file "t3281.bin" created, size=71. "t3281.htm"{98}
I0650 Program "t3281" assembled in 4 passes with errorlevel 0. "t3281.htm"{98}
I0750 Source "t3281" (118 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t3281.htm.lst" created, size=1529.
I0990 EuroAssembler terminated with errorlevel 0.
▲Back to the top▲