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

# Test t3021: 16bit addressing segment override

Tested procedures
  IiModRM

Source & expected listing t3021.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=20, CPU=086 | |t3021: PROGRAM FORMAT=BIN, WIDTH=16, LISTMAP=OFF, LISTGLOBALS=OFF, IMAGEBASE=0 |[BIN] |[BIN] SEGMENT PURPOSE=CODE |0000: | ; Default data segment. |0000:8B04 | MOV AX,[SI] |0002:8B04 | MOV AX,[DS:SI] |0004:3E8B04 | SEGDS: MOV AX,[SI] |0007:3E8B04 | SEGDS: MOV AX,[DS:SI] |000A: | ; Default stack segment. |000A:8B4600 | MOV AX,[BP] |000D:8B4600 | MOV AX,[SS:BP] |0010:368B4600 | SEGSS: MOV AX,[BP] |0014:368B4600 | SEGSS: MOV AX,[SS:BP] |0018: | ; Nondefault data segment. |0018:8B04 | MOV AX,[SI] |001A:268B04 | MOV AX,[ES:SI] |001D:268B04 | SEGES: MOV AX,[SI] |0020:268B04 | SEGES: MOV AX,[ES:SI] |0023: | ; Nondefault stack segment. |0023:8B4600 | MOV AX,[BP] |0026:268B4600 | MOV AX,[ES:BP] |002A:268B4600 | SEGES: MOV AX,[BP] |002E:268B4600 | SEGES: MOV AX,[ES:BP] |0032:A13412 | MOV AX,[1234h] |0035:A13412 | MOV AX,[DS:1234h] |0038:26A13412 | MOV AX,[ES:1234h] | |ENDPROGRAM t3021:`

Expected messages t3021.out
  `I0180 Assembling source file "t3021.htm". I0270 Assembling source "t3021". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3021". "t3021.htm"{49} I0510 Assembling program pass 1. "t3021.htm"{49} I0530 Assembling program pass 2 - final. "t3021.htm"{49} I0660 16bit TINY BIN file "t3021.bin" created, size=60. "t3021.htm"{74} I0650 Program "t3021" assembled in 2 passes with errorlevel 0. "t3021.htm"{74} I0750 Source "t3021" (92 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3021.htm.lst" created, size=1302. I0990 EuroAssembler terminated with errorlevel 0.`

▲Back to the top▲