Test t1695:
Attributes chain
- Description
-
Attribute is applied on other attribute.
- Tested procedures
-
ExpEval
- Source & expected listing
t1695.htm.lst
-
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=16,DUMPALL=OFF,AUTOALIGN=OFF
| |t1695 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16, \
| | LISTMAP=ON,LISTGLOBALS=OFF,IMAGEBASE=1000h
|[BIN] |[BIN] SEGMENT PURPOSE=DATA ; Base segment.
|0000:11111111 | DD 0x1111_1111 ; Identifying placeholder.
|[]:2222 |NumSym: EQU 0x2222 ; Definition of a numeric symbol.
|[BIN] ::::Section changed.
|0004:3333 |BaseSym: DW 0x3333 ; Definition of a data address symbol in base section [BIN].
|[SECT] |[SECT] ; Subsection of segment [BIN] with aligned offset 0x0010.
|0010:22222222 | DD 0x2222_2222 ; Identifying placeholder.
|0014:4444 |DataSym: DW 0x4444 ; Definition of a data address symbol in section [SECT].
|0016: |;
|0016:4E00 | DW TYPE# 0x5555 ; 'N'
|0018:4D00 | DW TYPE# [0x5555+BP] ; 'M'
|001A:4E00 | DW TYPE# [NumSym+BP] ; 'N'
|001C:5700 | DW TYPE# [BaseSym+BP] ; 'W'
|001E:5700 | DW TYPE# [DataSym+BP] ; 'W'
|0020:4E00 | DW TYPE# NumSym: ; 'N'
|0022:5700 | DW TYPE# BaseSym: ; 'W'
|0024:5700 | DW TYPE# DataSym: ; 'W'
|0026: |
|0026:0000 | DW SECTION# 0x5555 ; 0
|0028:0000 | DW SECTION# [0x5555+BP] ; 0
|002A:0000 | DW SECTION# [NumSym+BP] ; 0
|002C:[0000] | DW SECTION# [BaseSym+BP] ; [BIN]:0
|002E:[1000] | DW SECTION# [DataSym+BP] ; [SECT]:0 = [BIN]:0010h
|0030:0000 | DW SECTION# NumSym: ; 0
|0032:[0000] | DW SECTION# BaseSym: ; [BIN]:0
|0034:[1000] | DW SECTION# DataSym: ; [SECT]:0 = [BIN]:0010h
|0036: |
|0036:0000 | DW SEGMENT# 0x5555 ; 0
|0038:0000 | DW SEGMENT# [0x5555+BP] ; 0
|003A:0000 | DW SEGMENT# [NumSym+BP] ; 0
|003C:[0000] | DW SEGMENT# [BaseSym+BP] ; [BIN]:0
|003E:[0000] | DW SEGMENT# [DataSym+BP] ; [BIN]:0
|0040:0000 | DW SEGMENT# NumSym: ; 0
|0042:[0000] | DW SEGMENT# BaseSym: ; [BIN]:0
|0044:[0000] | DW SEGMENT# DataSym: ; [BIN]:0
|0046: |
|0046:4E00 | DW TYPE# (SECTION# 0x5555) ; 'N'
|0048:4E00 | DW TYPE# (SECTION# [0x5555+BP]) ; 'N'
|004A:4E00 | DW TYPE# (SECTION# [NumSym+BP]) ; 'N'
|004C:4100 | DW TYPE# (SECTION# [BaseSym+BP]) ; 'A'
|004E:4100 | DW TYPE# (SECTION# [DataSym+BP]) ; 'A'
|0050:4E00 | DW TYPE# (SECTION# NumSym:) ; 'N'
|0052:4100 | DW TYPE# (SECTION# BaseSym:) ; 'A'
|0054:4100 | DW TYPE# (SECTION# DataSym:) ; 'A'
|0056: |
|0056:4E00 | DW TYPE# (SEGMENT# 0x5555) ; 'N'
|0058:4E00 | DW TYPE# (SEGMENT# [0x5555+BP]) ; 'N'
|005A:4E00 | DW TYPE# (SEGMENT# [NumSym+BP]) ; 'N'
|005C:4100 | DW TYPE# (SEGMENT# [BaseSym+BP]) ; 'A'
|005E:4100 | DW TYPE# (SEGMENT# [DataSym+BP]) ; 'A'
|0060:4E00 | DW TYPE# (SEGMENT# NumSym:) ; 'N'
|0062:4100 | DW TYPE# (SEGMENT# BaseSym:) ; 'A'
|0064:4100 | DW TYPE# (SEGMENT# DataSym:) ; 'A'
| | %DISPLAY Sections, Relocations
|# D1250 **** %DISPLAY Groups, Segments, Sections
|# D1270 [BIN],purpose=DATA,width=16,align=16,combine=PUBLIC,class="",src="t1695.htm"{54}
|# D1280 [BIN],address=00000000h,size=00000006h=6,align=16,ref=Y,src="t1695.htm"{54}
|# D1280 [SECT],address=00000010h,size=00000056h=86,align=16,ref=Y,src="t1695.htm"{59}
|# D1550 **** %DISPLAY Relocations
|# D1560 [SECT]:0000002Ch,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs
|# D1560 [SECT]:0000002Eh,target=[SECT]:00000000h,frame=[BIN],width=16,type=abs
|# D1560 [SECT]:00000032h,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs
|# D1560 [SECT]:00000034h,target=[SECT]:00000000h,frame=[BIN],width=16,type=abs
|# D1560 [SECT]:0000003Ch,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs
|# D1560 [SECT]:0000003Eh,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs
|# D1560 [SECT]:00000042h,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs
|# D1560 [SECT]:00000044h,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs
|# D1790 **** End of %DISPLAY
| |ENDPROGRAM t1695
| **** ListMap "t1695.bin",groups=1,segments=1,entry=,stack=[BIN]:0000FFFEh
| [BIN],VA=00001000h,size=00000066h=102,group [BIN]
| [BIN],VA=00001000h,size=00000066h=102,width=16,align=0010h,purpose=DATA
- Expected messages
t1695.out
I0180 Assembling source file "t1695.htm".
I0270 Assembling source "t1695".
I0310 Assembling source pass 1.
D1250 **** %DISPLAY Groups, Segments, Sections "t1695.htm"{107}
D1270 [BIN],purpose=CODE+DATA+BSS+STACK,width=16,align=16,combine=PUBLIC,class="",src= "t1695.htm"{107}
D1280 [BIN],address=00000000h,size=00000000h=0,align=16,ref=N,src= "t1695.htm"{107}
D1550 **** %DISPLAY Relocations "t1695.htm"{107}
D1790 **** End of %DISPLAY "t1695.htm"{107}
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t1695". "t1695.htm"{52}
I0510 Assembling program pass 1. "t1695.htm"{52}
D1250 **** %DISPLAY Groups, Segments, Sections "t1695.htm"{107}
D1270 [BIN],purpose=DATA,width=16,align=16,combine=PUBLIC,class="",src="t1695.htm"{54} "t1695.htm"{107}
D1280 [BIN],address=00000000h,size=00000006h=6,align=16,ref=Y,src="t1695.htm"{54} "t1695.htm"{107}
D1280 [SECT],address=00000000h,size=00000056h=86,align=16,ref=Y,src="t1695.htm"{59} "t1695.htm"{107}
D1550 **** %DISPLAY Relocations "t1695.htm"{107}
D1790 **** End of %DISPLAY "t1695.htm"{107}
I0510 Assembling program pass 2. "t1695.htm"{52}
D1250 **** %DISPLAY Groups, Segments, Sections "t1695.htm"{107}
D1270 [BIN],purpose=DATA,width=16,align=16,combine=PUBLIC,class="",src="t1695.htm"{54} "t1695.htm"{107}
D1280 [BIN],address=00000000h,size=00000006h=6,align=16,ref=Y,src="t1695.htm"{54} "t1695.htm"{107}
D1280 [SECT],address=00000010h,size=00000056h=86,align=16,ref=Y,src="t1695.htm"{59} "t1695.htm"{107}
D1550 **** %DISPLAY Relocations "t1695.htm"{107}
D1790 **** End of %DISPLAY "t1695.htm"{107}
I0530 Assembling program pass 3 - final. "t1695.htm"{52}
D1250 **** %DISPLAY Groups, Segments, Sections "t1695.htm"{107}
D1270 [BIN],purpose=DATA,width=16,align=16,combine=PUBLIC,class="",src="t1695.htm"{54} "t1695.htm"{107}
D1280 [BIN],address=00000000h,size=00000006h=6,align=16,ref=Y,src="t1695.htm"{54} "t1695.htm"{107}
D1280 [SECT],address=00000010h,size=00000056h=86,align=16,ref=Y,src="t1695.htm"{59} "t1695.htm"{107}
D1550 **** %DISPLAY Relocations "t1695.htm"{107}
D1560 [SECT]:0000002Ch,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs "t1695.htm"{107}
D1560 [SECT]:0000002Eh,target=[SECT]:00000000h,frame=[BIN],width=16,type=abs "t1695.htm"{107}
D1560 [SECT]:00000032h,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs "t1695.htm"{107}
D1560 [SECT]:00000034h,target=[SECT]:00000000h,frame=[BIN],width=16,type=abs "t1695.htm"{107}
D1560 [SECT]:0000003Ch,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs "t1695.htm"{107}
D1560 [SECT]:0000003Eh,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs "t1695.htm"{107}
D1560 [SECT]:00000042h,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs "t1695.htm"{107}
D1560 [SECT]:00000044h,target=[BIN]:00000000h,frame=[BIN],width=16,type=abs "t1695.htm"{107}
D1790 **** End of %DISPLAY "t1695.htm"{107}
I0660 16bit TINY BIN file "t1695.bin" created, size=102. "t1695.htm"{122}
I0650 Program "t1695" assembled in 3 passes with errorlevel 1. "t1695.htm"{122}
I0750 Source "t1695" (175 lines) assembled in 2 passes with errorlevel 1.
I0860 Listing file "t1695.htm.lst" created, size=4563.
I0990 EuroAssembler terminated with errorlevel 1.
▲Back to the top▲