EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3005: Operation segment separation


Tested procedures
ExpEval  
Source & expected listing t3005.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=24 | |t3005 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16, \ | | LISTMAP=OFF,LISTGLOBALS=OFF,LISTLITERALS=OFF |[BIN] |[BIN] |0000: |; Acceptable syntax of segment-override in memory addressing. |0000:268A07 | MOV AL,[ES:BX] |0003:268A07 | MOV AL,[ES: BX] |0006:268A07 | MOV AL,[ES : BX] |0009:268A07 | MOV AL,[ES::BX] |000C:268A07 | MOV AL,[ES: : BX] |000F:268A07 | MOV AL,[ES :BX] |0012:268A07 | MOV AL,[ES+BX] |0015:268A07 | MOV AL,[ES:+BX] |0018:268A07 | MOV AL,[BX+ES] |001B:268A07 | MOV AL,[BX+ES:] |001E:268A07 | SEGES MOV AL,[BX] |0021: |; Invalid syntax of segment-override in memory addressing. |0021: | MOV AL,[BX:ES] ; BX: is treated as a symbol. |### E6601 Symbol "BX" mentioned at "t3005.htm"{65} was not found. |0021: | MOV AL,[BX:+ES] ; BX: is treated as a symbol. |### E6601 Symbol "BX" mentioned at "t3005.htm"{65} was not found. |0021: | MOV AL,[ES BX] ; Missing segment separator. |### E6101 Expression "[ES " is followed by unexpected character "B". |0021: | MOV AL,ES:[BX] ; Segment-override outside brackets. |### E6101 Expression "ES:" is followed by unexpected character "[". |0021: | MOV AL,ES+[BX] ; Segment-override outside brackets. |### E6101 Expression "ES+" is followed by unexpected character "[". |0021: |; Acceptable syntax of far immediate target. |0021:EA44332211 | JMPF 0x1122:0x3344 |0026:EA44332211 | JMP 0x1122:0x3344 |002B:EA44332211 | JMP 0x1122: 0x3344 |0030:EA44332211 | JMP 0x1122 :0x3344 |0035:EA44332211 | JMP 0x1122 : 0x3344 |003A:EA44332211 | JMP (0x1122) : (0x3344) |003F:EA03002211 | JMP 0x1122:FarSym |0044:EA03002211 | JMP 0x1122:FarSym: |0049:EA03002211 | JMP FarSeg: :FarSym |004E:EA03002211 | JMP FarSeg: : FarSym: |0053: |; Invalid syntax of far immediate jump. |0053: | JMP [0x1122:0x3344] ; Indirect far memory addressing is not supported by x86. |### E6240 Immediate far pointer "[0x1122:0x3344]" must not be in braces []. |0053: | JMP FarSeg:FarSym ; Colon is recognized as symbol name terminator rather than segment separation. |### E6101 Expression "FarSeg:" is followed by unexpected character "F". |0053: | JMP FarSeg::FarSym ; Double colon is recognized as external symbol name terminator rather than segment separation. |### E6101 Expression "FarSeg::" is followed by unexpected character "F". |0053: | JMP FarSeg:::FarSym ; Multiple colon is recognized as external symbol name terminator rather than segment separation. |### E6101 Expression "FarSeg:::" is followed by unexpected character "F". |0053: |; Symbol definition. |[]:1122 |FarSeg = 0x1122 |[FARCODE] |[FARCODE] SEGMENT |0000:000000 | DB 3*BYTE ; Placeholder. |0003: |FarSym: | | ENDPROGRAM t3005
Expected messages t3005.out
I0180 Assembling source file "t3005.htm". I0270 Assembling source "t3005". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3005". "t3005.htm"{49} I0510 Assembling program pass 1. "t3005.htm"{49} E6101 Expression "[BX:" is followed by unexpected character "E". "t3005.htm"{65} E6101 Expression "[ES " is followed by unexpected character "B". "t3005.htm"{69} E6101 Expression "ES:" is followed by unexpected character "[". "t3005.htm"{71} E6101 Expression "ES+" is followed by unexpected character "[". "t3005.htm"{73} E6240 Immediate far pointer "[0x1122:0x3344]" must not be in braces []. "t3005.htm"{87} E6101 Expression "FarSeg:" is followed by unexpected character "F". "t3005.htm"{89} E6101 Expression "FarSeg::" is followed by unexpected character "F". "t3005.htm"{91} E6101 Expression "FarSeg:::" is followed by unexpected character "F". "t3005.htm"{93} I0510 Assembling program pass 2. "t3005.htm"{49} E6101 Expression "[BX:" is followed by unexpected character "E". "t3005.htm"{65} E6101 Expression "[ES " is followed by unexpected character "B". "t3005.htm"{69} E6101 Expression "ES:" is followed by unexpected character "[". "t3005.htm"{71} E6101 Expression "ES+" is followed by unexpected character "[". "t3005.htm"{73} E6240 Immediate far pointer "[0x1122:0x3344]" must not be in braces []. "t3005.htm"{87} E6101 Expression "FarSeg:" is followed by unexpected character "F". "t3005.htm"{89} E6101 Expression "FarSeg::" is followed by unexpected character "F". "t3005.htm"{91} E6101 Expression "FarSeg:::" is followed by unexpected character "F". "t3005.htm"{93} I0530 Assembling program pass 3 - final. "t3005.htm"{49} E6601 Symbol "BX" mentioned at "t3005.htm"{65} was not found. "t3005.htm"{65} E6601 Symbol "BX" mentioned at "t3005.htm"{65} was not found. "t3005.htm"{67} E6101 Expression "[ES " is followed by unexpected character "B". "t3005.htm"{69} E6101 Expression "ES:" is followed by unexpected character "[". "t3005.htm"{71} E6101 Expression "ES+" is followed by unexpected character "[". "t3005.htm"{73} E6240 Immediate far pointer "[0x1122:0x3344]" must not be in braces []. "t3005.htm"{87} E6101 Expression "FarSeg:" is followed by unexpected character "F". "t3005.htm"{89} E6101 Expression "FarSeg::" is followed by unexpected character "F". "t3005.htm"{91} E6101 Expression "FarSeg:::" is followed by unexpected character "F". "t3005.htm"{93} I0660 16bit TINY BIN file "t3005.bin" created, size=99. "t3005.htm"{100} I0650 Program "t3005" assembled in 3 passes with errorlevel 6. "t3005.htm"{100} I0750 Source "t3005" (144 lines) assembled in 2 passes with errorlevel 6. I0860 Listing file "t3005.htm.lst" created, size=3292. I0990 EuroAssembler terminated with errorlevel 6.

▲Back to the top▲