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

# Test t3022: 32bit addressing segment override

Tested procedures
  IiModRM

Source & expected listing t3022.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=24, CPU=386 | |t3022: PROGRAM FORMAT=BIN, WIDTH=32, LISTMAP=OFF, LISTGLOBALS=OFF, IMAGEBASE=0 |[BIN] |[BIN] SEGMENT PURPOSE=CODE |00000000: | ; Default data segment. |00000000:8B06 | MOV EAX,[ESI] |00000002:8B06 | MOV EAX,[DS:ESI] |00000004:3E8B06 | SEGDS: MOV EAX,[ESI] |00000007:3E8B06 | SEGDS: MOV EAX,[DS:ESI] |0000000A: | ; Default stack segment. |0000000A:8B4500 | MOV EAX,[EBP] |0000000D:8B4500 | MOV EAX,[SS:EBP] |00000010:368B4500 | SEGSS: MOV EAX,[EBP] |00000014:368B4500 | SEGSS: MOV EAX,[SS:EBP] |00000018: | ; Nondefault data segment. |00000018:8B06 | MOV EAX,[ESI] |0000001A:268B06 | MOV EAX,[ES:ESI] |0000001D:268B06 | SEGES: MOV EAX,[ESI] |00000020:268B06 | SEGES: MOV EAX,[ES:ESI] |00000023: | ; Nondefault stack segment. |00000023:8B4500 | MOV EAX,[EBP] |00000026:268B4500 | MOV EAX,[ES:EBP] |0000002A:268B4500 | SEGES: MOV EAX,[EBP] |0000002E:268B4500 | SEGES: MOV EAX,[ES:EBP] |00000032:A178563412 | MOV EAX,[12345678h] |00000037:A178563412 | MOV EAX,[12345678h+DS] |0000003C:26A178563412 | MOV EAX,[12345678h+ES] | |ENDPROGRAM t3022:`

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

▲Back to the top▲