EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2910: Pseudoinstruction %DISPLAY LITERALSYMBOLS, RELOCATIONS


Description
PseudopcDISPLAY
Tested procedures
PseudopcDISPLAY  
Source & expected listing t2910.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=21,AUTOSEGMENT=ON | |t2910 PROGRAM FORMAT=BIN,IMAGEBASE=0,LISTMAP=ON,LISTGLOBALS=OFF,LISTLITERALS=ON |[CODE] |[CODE] |0000:E80300 | CALL $+6 |0003:E81000 | CALL L1: |0006:E8(0600) | CALLN D4 |0009:9A[0600]{0000}| CALLF D4 |000E:8B36[0200] | MOV SI,[D2] |0012:8B3E[0400] | MOV DI,[D3] |0016:B8[0000] |L1 MOV AX,=B"1" |0019:C3 | RET |[DATA] |[DATA] |0000:0100 | DW 1 |0002:0200 |D2 DW 2 |0004:[0000] |D3 DW =W D2 |0006:C3 |D4 RET | | %DISPLAY LITERALS,RELOCATIONS |# D1500 **** %DISPLAY LiteralSymbols=* |# D1450 =B"1",[@LT1]:00000000h,type='B',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{60} |# D1450 =W D2,[@LT2]:00000000h,type='W',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{65} |# D1550 **** %DISPLAY Relocations |# D1560 at=[CODE]:00000007h,width=16,obj=0006h,add=FFFEh,type=rel,tg=DATA,[DATA]:00000000h |# D1560 at=[CODE]:0000000Ah,width=16,obj=0006h,add=0000h,type=abs,tg=DATA,[DATA]:00000000h |# D1560 at=[CODE]:0000000Ch,width=16,obj=0000h,add=0000h,type=para,tg=DATA,[DATA]:00000000h |# D1560 at=[CODE]:00000010h,width=16,obj=0002h,add=0000h,type=abs,tg=DATA,[DATA]:00000000h |# D1560 at=[CODE]:00000014h,width=16,obj=0004h,add=0000h,type=abs,tg=DATA,[DATA]:00000000h |# D1560 at=[CODE]:00000017h,width=16,obj=0000h,add=0000h,type=abs,tg=@LT1,[@LT1]:00000000h |# D1560 at=[DATA]:00000004h,width=16,obj=0000h,add=0000h,type=abs,tg=@LT2,[@LT2]:00000000h |# D1560 at=[@LT2]:00000000h,width=16,obj=0000h,add=0000h,type=abs,tg=DATA,[DATA]:00000000h |# D1790 **** End of %DISPLAY |[@LT2] ====ListLiterals in section [@LT2]. |0000:[0200] =W D2 |[@LT1] ====ListLiterals in section [@LT1]. |0000:3100 =B"1" | | ENDPROGRAM t2910 | **** ListMap "t2910.bin",model=TINY,groups=1,segments=3,entry=,stack=[COMGROUP]:0000FFFEh | [COMGROUP],FA=00000000h,VA=00000000h,size=00000037h=55,group [CODE] [RODATA] [DATA] | [CODE],FA=00000000h,VA=00000000h,size=0000001Ah=26,width=16,align=0010h,purpose=CODE | [RODATA],FA=00000020h,VA=00000020h,size=00000004h=4,width=16,align=0010h,purpose=RODATA+LITERAL | [DATA],FA=00000030h,VA=00000030h,size=00000007h=7,width=16,align=0010h,purpose=DATA
Expected messages t2910.out
I0180 Assembling source file "t2910.htm". I0270 Assembling source "t2910". I0310 Assembling source pass 1. D1500 **** %DISPLAY LiteralSymbols=* "t2910.htm"{67} D1550 **** %DISPLAY Relocations "t2910.htm"{67} D1790 **** End of %DISPLAY "t2910.htm"{67} I0330 Assembling source pass 2 - final. I0470 Assembling program "t2910". "t2910.htm"{52} I0510 Assembling program pass 1. "t2910.htm"{52} D1500 **** %DISPLAY LiteralSymbols=* "t2910.htm"{67} D1450 =B"1",[@LT1]:00000000h,type='B',size=2,scope='S',ref='Y',fix=N,src="t2910.htm"{60} "t2910.htm"{67} D1450 =W D2,[@LT2]:00000000h,type='W',size=2,scope='S',ref='Y',fix=N,src="t2910.htm"{65} "t2910.htm"{67} D1550 **** %DISPLAY Relocations "t2910.htm"{67} D1790 **** End of %DISPLAY "t2910.htm"{67} I0510 Assembling program pass 2. "t2910.htm"{52} D1500 **** %DISPLAY LiteralSymbols=* "t2910.htm"{67} D1450 =B"1",[@LT1]:00000000h,type='B',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{60} "t2910.htm"{67} D1450 =W D2,[@LT2]:00000000h,type='W',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{65} "t2910.htm"{67} D1550 **** %DISPLAY Relocations "t2910.htm"{67} D1790 **** End of %DISPLAY "t2910.htm"{67} I0530 Assembling program pass 3 - final. "t2910.htm"{52} D1500 **** %DISPLAY LiteralSymbols=* "t2910.htm"{67} D1450 =B"1",[@LT1]:00000000h,type='B',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{60} "t2910.htm"{67} D1450 =W D2,[@LT2]:00000000h,type='W',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{65} "t2910.htm"{67} D1550 **** %DISPLAY Relocations "t2910.htm"{67} D1560 at=[CODE]:00000007h,width=16,obj=0006h,add=FFFEh,type=rel,tg=DATA,[DATA]:00000000h "t2910.htm"{67} D1560 at=[CODE]:0000000Ah,width=16,obj=0006h,add=0000h,type=abs,tg=DATA,[DATA]:00000000h "t2910.htm"{67} D1560 at=[CODE]:0000000Ch,width=16,obj=0000h,add=0000h,type=para,tg=DATA,[DATA]:00000000h "t2910.htm"{67} D1560 at=[CODE]:00000010h,width=16,obj=0002h,add=0000h,type=abs,tg=DATA,[DATA]:00000000h "t2910.htm"{67} D1560 at=[CODE]:00000014h,width=16,obj=0004h,add=0000h,type=abs,tg=DATA,[DATA]:00000000h "t2910.htm"{67} D1560 at=[CODE]:00000017h,width=16,obj=0000h,add=0000h,type=abs,tg=@LT1,[@LT1]:00000000h "t2910.htm"{67} D1560 at=[DATA]:00000004h,width=16,obj=0000h,add=0000h,type=abs,tg=@LT2,[@LT2]:00000000h "t2910.htm"{67} D1560 at=[@LT2]:00000000h,width=16,obj=0000h,add=0000h,type=abs,tg=DATA,[DATA]:00000000h "t2910.htm"{67} D1790 **** End of %DISPLAY "t2910.htm"{67} I0660 16bit TINY BIN file "t2910.bin" created, size=55. "t2910.htm"{85} I0650 Program "t2910" assembled in 3 passes with errorlevel 1. "t2910.htm"{85} I0750 Source "t2910" (143 lines) assembled in 2 passes with errorlevel 1. I0860 Listing file "t2910.htm.lst" created, size=2431. I0990 EuroAssembler terminated with errorlevel 1.
Expected output file t2910. bin
0000: E8 03 00 E8 10 00 E8 2D 00 9A 36 00 00 00 8B 36  ¤·°¤·°¤-°¤6°°°¤6
0010: 32 00 8B 3E 34 00 B8 22 00 C3 00 00 00 00 00 00  2°¤>4°¤"°¤°°°°°°
0020: 32 00 31 00 00 00 00 00 00 00 00 00 00 00 00 00  2°1°°°°°°°°°°°°°
0030: 01 00 02 00 20 00 C3                             ·°·°¯°¤

▲Back to the top▲