Test t3023:
64bit addressing segment override
- Tested procedures
-
IiModRM
- Source & expected listing
t3023.htm.lst
-
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=30, CPU=X64
| |t3023: PROGRAM FORMAT=BIN, WIDTH=64, LISTMAP=OFF, LISTGLOBALS=OFF, IMAGEBASE=0
|[BIN] |[BIN] SEGMENT PURPOSE=CODE
|00000000: | ; Default data segment.
|00000000:488B06 | MOV RAX,[RSI]
|00000003:488B06 | MOV RAX,[DS:RSI]
|00000006:3E488B06 | SEGDS: MOV RAX,[RSI]
|0000000A:3E488B06 | SEGDS: MOV RAX,[DS:RSI]
|0000000E: | ; Default stack segment.
|0000000E:488B4500 | MOV RAX,[RBP]
|00000012:488B4500 | MOV RAX,[SS:RBP]
|00000016:36488B4500 | SEGSS: MOV RAX,[RBP]
|0000001B:36488B4500 | SEGSS: MOV RAX,[SS:RBP]
|00000020: | ; Nondefault data segment.
|00000020:488B06 | MOV RAX,[RSI]
|00000023:26488B06 | MOV RAX,[ES:RSI]
|## W2377 Segment override is ignored in 64bit mode.
|00000027:26488B06 | SEGES: MOV RAX,[RSI]
|0000002B:26488B06 | SEGES: MOV RAX,[ES:RSI]
|## W2377 Segment override is ignored in 64bit mode.
|0000002F: | ; Nondefault stack segment.
|0000002F:488B4500 | MOV RAX,[RBP]
|00000033:26488B4500 | MOV RAX,[ES:RBP]
|## W2377 Segment override is ignored in 64bit mode.
|00000038:26488B4500 | SEGES: MOV RAX,[RBP]
|0000003D:26488B4500 | SEGES: MOV RAX,[ES:RBP]
|## W2377 Segment override is ignored in 64bit mode.
|00000042: | ; Accumulator addressing mode.
|00000042:6748A144332211 | MOV RAX,[0x11223344]
|00000049:6748A144332211 | MOV RAX,[DS:0x11223344]
|00000050:488B042544332211 | MOV RAX,[0x11223344],CODE=LONG
|00000058:488B042544332211 | MOV RAX,[DS:0x11223344],CODE=LONG
|00000060:6748A144332211 | MOV RAX,[0x11223344]
|00000067:266748A144332211 | MOV RAX,[ES:0x11223344]
|0000006F:488B042544332211 | MOV RAX,[0x11223344],CODE=LONG
|00000077:26488B042544332211 | MOV RAX,[ES:0x11223344],CODE=LONG
|## W2377 Segment override is ignored in 64bit mode.
|00000080:3E6748A144332211 | SEGDS: MOV RAX,[0x11223344]
|00000088:3E6748A144332211 | SEGDS: MOV RAX,[DS:0x11223344]
|00000090:3E488B042544332211 | SEGDS: MOV RAX,[0x11223344],CODE=LONG
|00000099:3E488B042544332211 | SEGDS: MOV RAX,[DS:0x11223344],CODE=LONG
| |ENDPROGRAM t3023:
- Expected messages
t3023.out
I0180 Assembling source file "t3023.htm".
I0270 Assembling source "t3023".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t3023". "t3023.htm"{49}
I0510 Assembling program pass 1. "t3023.htm"{49}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{63}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{66}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{70}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{73}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{83}
I0530 Assembling program pass 2 - final. "t3023.htm"{49}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{63}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{66}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{70}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{73}
W2377 Segment override is ignored in 64bit mode. "t3023.htm"{83}
I0660 64bit TINY BIN file "t3023.bin" created, size=162. "t3023.htm"{89}
I0650 Program "t3023" assembled in 2 passes with errorlevel 2. "t3023.htm"{89}
I0750 Source "t3023" (117 lines) assembled in 2 passes with errorlevel 2.
I0860 Listing file "t3023.htm.lst" created, size=2574.
I0990 EuroAssembler terminated with errorlevel 2.
▲Back to the top▲