Test t1643:
Attributes of structured symbol
- Tested procedures
-
ExpEval
- Source & expected listing
t1643.htm.lst
-
| | EUROASM LIST=ON,DUMP=ON,AUTOALIGN=OFF,DUMPALL=OFF,DUMPWIDTH=18,NOWARN=2101
| |t1643 PROGRAM FORMAT=BIN,MODEL=TINY,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=OFF
|[STRUC_A] |STRUC_A STRUC ; A structure declaration.
|0000:.... |.MemA1 D W
|0002:...... |.MemA2 D 3*B
|0005: |ENDSTRUC STRUC_A
|[BIN] ::::Section changed.
|0000: |;
|[STRUC_B] |STRUC_B STRUC ; Other structure declaration.
|0000:........ |.MemB1 D D
|0004:.... |.MemB2 D W
|0006:.......... |.MemB3 D STRUC_A
|000B: | ENDSTRUC STRUC_B
|[BIN] |[BIN] ; Data segment.
|0000:44444444 | DD 0x4444_4444 ; Placeholder.
|0004:0000000000~|Var1 D STRUC_B ; Structured data variable.
|000F: |;
|000F:0B | DB SIZE#STRUC_B ; 11.
|0010:05 | DB SIZE#STRUC_B.MemB3 ; 5.
|0011:0B | DB SIZE#Var1 ; 11.
|0012:02 | DB SIZE#Var1.MemB2 ; 2.
|0013:03 | DB SIZE#Var1.MemB3.MemA2 ; 3.
|0014:53 | DB TYPE#STRUC_B ; 'S'.
|0015:53 | DB TYPE#STRUC_B.MemB3 ; 'S'.
|0016:53 | DB TYPE#Var1 ; 'S'.
|0017:57 | DB TYPE#Var1.MemB2 ; 'W'.
|0018:42 | DB TYPE#Var1.MemB3.MemA2 ; 'B'.
|0019:5300 | DW SCOPE#STRUC_B ; 'S'.
|001B:5300 | DW SCOPE#STRUC_B.MemB3 ; 'S'.
|001D:5300 | DW SCOPE#Var1 ; 'S'.
|001F:5300 | DW SCOPE#Var1.MemB2 ; 'S'.
|0021:5300 | DW SCOPE#Var1.MemB3.MemA2 ; 'S'.
|0023:0000 | DW OFFSET#STRUC_B ; 0.
|0025:0600 | DW OFFSET#STRUC_B.MemB3 ; 6.
|0027:0400 | DW OFFSET#Var1 ; 4.
|0029:0800 | DW OFFSET#Var1.MemB2 ; 8.
|002B:0C00 | DW OFFSET#Var1.MemB3.MemA2 ; 12.
|002D:0000 | DW SECTION#STRUC_B ; 0.
|002F:0000 | DW SECTION#STRUC_B.MemB3 ; 0.
|0031:[0000] | DW SECTION#Var1 ; 0 relocable by segment [BIN].
|0033:[0000] | DW SECTION#Var1.MemB2 ; 0 relocable by segment [BIN].
|0035:[0000] | DW SECTION#Var1.MemB3.MemA2; 0 relocable by segment [BIN].
|0037:0000 | DW SEGMENT#STRUC_B ; 0.
|0039:0000 | DW SEGMENT#STRUC_B.MemB3 ; 0.
|003B:[0000] | DW SEGMENT#Var1 ; 0 relocable by segment [BIN].
|003D:[0000] | DW SEGMENT#Var1.MemB2 ; 0 relocable by segment [BIN].
|003F:[0000] | DW SEGMENT#Var1.MemB3.MemA2; 0 relocable by segment [BIN].
| |ENDPROGRAM t1643
- Expected messages
t1643.out
I0180 Assembling source file "t1643.htm".
I0270 Assembling source "t1643".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t1643". "t1643.htm"{49}
I0510 Assembling program pass 1. "t1643.htm"{49}
I0510 Assembling program pass 2. "t1643.htm"{49}
I0530 Assembling program pass 3 - final. "t1643.htm"{49}
I0660 16bit TINY BIN file "t1643.bin" created, size=65. "t1643.htm"{95}
I0650 Program "t1643" assembled in 3 passes with errorlevel 0. "t1643.htm"{95}
I0750 Source "t1643" (114 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t1643.htm.lst" created, size=2597.
I0990 EuroAssembler terminated with errorlevel 0.
▲Back to the top▲