Test t2910:
Pseudoinstruction %DISPLAY LITERALSYMBOLS, RELOCATIONS
- Tested procedures
-
PseudopcDISPLAY
- Source & expected listing
t2910.htm.lst
-
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=21
| |t2910 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF,LISTLITERALS=ON
|[DATA] |[DATA] SEGMENT PURPOSE=DATA,WIDTH=16
|0000:0100 | DW 1
|0002:0200 |D2 DW 2
|0004:[0800] |D3 DW =W D2
|0006:C3 |D4 RET
|[CODE] |[CODE] SEGMENT PURPOSE=CODE,WIDTH=16
|0000:E8(1300) | CALL 0x0013
|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[0A00] |L1 MOV AX,=B"1"
|0019:C3 | RET
| | %DISPLAY LITERALS,RELOCATIONS
|# D1500 **** %DISPLAY LiteralSymbols=*
|# D1450 =B"1",[@LT1]:0000000Ah,type='B',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{62}
|# D1450 =W D2,[@LT2]:00000008h,type='W',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{53}
|# D1550 **** %DISPLAY Relocations
|# D1560 [DATA]:00000004h,target=[@LT2]:00000000h,frame=[DATA],width=16,type=abs
|# D1560 [@LT2]:00000008h,target=[DATA]:00000000h,frame=[DATA],width=16,type=abs
|# D1560 [CODE]:00000001h,target=[]:00000000h,frame=[],width=16,type=rel
|# D1560 [CODE]:00000007h,target=[DATA]:00000000h,frame=[DATA],width=16,type=rel
|# D1560 [CODE]:0000000Ah,target=[DATA]:00000000h,frame=[DATA],width=16,type=far
|# D1560 [CODE]:00000010h,target=[DATA]:00000000h,frame=[DATA],width=16,type=abs
|# D1560 [CODE]:00000014h,target=[DATA]:00000000h,frame=[DATA],width=16,type=abs
|# D1560 [CODE]:00000017h,target=[@LT1]:00000000h,frame=[DATA],width=16,type=abs
|# D1790 **** End of %DISPLAY
|[@LT2] ====ListLiterals in section [@LT2].
|0008:[0200] =W D2
|[@LT1] ====ListLiterals in section [@LT1].
|000A:3100 =B"1"
| | ENDPROGRAM t2910
- Expected messages
t2910.out
I0180 Assembling source file "t2910.htm".
I0270 Assembling source "t2910".
I0310 Assembling source pass 1.
D1500 **** %DISPLAY LiteralSymbols=* "t2910.htm"{64}
D1550 **** %DISPLAY Relocations "t2910.htm"{64}
D1790 **** End of %DISPLAY "t2910.htm"{64}
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t2910". "t2910.htm"{49}
I0510 Assembling program pass 1. "t2910.htm"{49}
D1500 **** %DISPLAY LiteralSymbols=* "t2910.htm"{64}
D1450 =B"1",[@LT1]:00000000h,type='B',size=2,scope='S',ref='Y',fix=N,src="t2910.htm"{62} "t2910.htm"{64}
D1450 =W D2,[@LT2]:00000000h,type='W',size=2,scope='S',ref='Y',fix=N,src="t2910.htm"{53} "t2910.htm"{64}
D1550 **** %DISPLAY Relocations "t2910.htm"{64}
D1790 **** End of %DISPLAY "t2910.htm"{64}
I0510 Assembling program pass 2. "t2910.htm"{49}
D1500 **** %DISPLAY LiteralSymbols=* "t2910.htm"{64}
D1450 =B"1",[@LT1]:0000000Ah,type='B',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{62} "t2910.htm"{64}
D1450 =W D2,[@LT2]:00000008h,type='W',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{53} "t2910.htm"{64}
D1550 **** %DISPLAY Relocations "t2910.htm"{64}
D1790 **** End of %DISPLAY "t2910.htm"{64}
I0530 Assembling program pass 3 - final. "t2910.htm"{49}
D1500 **** %DISPLAY LiteralSymbols=* "t2910.htm"{64}
D1450 =B"1",[@LT1]:0000000Ah,type='B',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{62} "t2910.htm"{64}
D1450 =W D2,[@LT2]:00000008h,type='W',size=2,scope='S',ref='Y',fix=Y,src="t2910.htm"{53} "t2910.htm"{64}
D1550 **** %DISPLAY Relocations "t2910.htm"{64}
D1560 [DATA]:00000004h,target=[@LT2]:00000000h,frame=[DATA],width=16,type=abs "t2910.htm"{64}
D1560 [@LT2]:00000008h,target=[DATA]:00000000h,frame=[DATA],width=16,type=abs "t2910.htm"{64}
D1560 [CODE]:00000001h,target=[]:00000000h,frame=[],width=16,type=rel "t2910.htm"{64}
D1560 [CODE]:00000007h,target=[DATA]:00000000h,frame=[DATA],width=16,type=rel "t2910.htm"{64}
D1560 [CODE]:0000000Ah,target=[DATA]:00000000h,frame=[DATA],width=16,type=far "t2910.htm"{64}
D1560 [CODE]:00000010h,target=[DATA]:00000000h,frame=[DATA],width=16,type=abs "t2910.htm"{64}
D1560 [CODE]:00000014h,target=[DATA]:00000000h,frame=[DATA],width=16,type=abs "t2910.htm"{64}
D1560 [CODE]:00000017h,target=[@LT1]:00000000h,frame=[DATA],width=16,type=abs "t2910.htm"{64}
D1790 **** End of %DISPLAY "t2910.htm"{64}
I0660 16bit TINY BIN file "t2910.bin" created, size=42. "t2910.htm"{82}
I0650 Program "t2910" assembled in 3 passes with errorlevel 1. "t2910.htm"{82}
I0750 Source "t2910" (127 lines) assembled in 2 passes with errorlevel 1.
I0860 Listing file "t2910.htm.lst" created, size=1876.
I0990 EuroAssembler terminated with errorlevel 1.
▲Back to the top▲