| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t7904: Segment ordering, LARGE model

Description
  Segments with random names in LARGE model which are grouped will be aplhabeticaly sorted by name if at least on of them has $ in its name.
Tested procedures
  PgmOrderSegments

Source & expected listing t7904.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=20 | |t7904 PROGRAM FORMAT=BIN,MODEL=LARGE,LISTMAP=ON, \ | | FILEALIGN=1,SECTIONALIGN=1,LISTGLOBALS=OFF |[DATA3] |[DATA3] SEGMENT ALIGN=BYTE |0000:33 | DB '3' |[DATA1] |[DATA1] SEGMENT ALIGN=BYTE |0000:31 | DB '1' |[BSS_C] |[BSS_C] SEGMENT ALIGN=BYTE |0000:.. | DB BYTE |[BSS_B] |[BSS_B] SEGMENT ALIGN=BYTE |0000:.. | DB BYTE |[BSS_E] |[BSS_E] SEGMENT ALIGN=BYTE |0000:.. | DB BYTE |[BSS_D] |[BSS_D] SEGMENT ALIGN=BYTE |0000:.. | DB BYTE |[DATA4] |[DATA4] SEGMENT ALIGN=BYTE |0000:34 | DB '4' |[DATA$V] |[DATA$V] SEGMENT ALIGN=BYTE |0000:56 | DB 'V' |[DATA2] |[DATA2] SEGMENT ALIGN=BYTE |0000:32 | DB '2' |[DATA$Y] |[DATA$Y] SEGMENT ALIGN=BYTE |0000:59 | DB 'Y' |[DATA$X] |[DATA$X] SEGMENT ALIGN=BYTE |0000:58 | DB 'X' |[DATA$Z] |[DATA$Z] SEGMENT ALIGN=BYTE |0000:5A | DB 'Z' |[DATA$W] |[DATA$W] SEGMENT ALIGN=BYTE |0000:57 | DB 'W' |[DATA$U] |[DATA$U] SEGMENT ALIGN=BYTE |0000:55 | DB 'U' | |[GRP_U] GROUP [DATA$U],[DATA$W],[DATA$V] | |[GRP_N] GROUP [DATA2],[DATA4],[DATA1] | |[GRP_A] GROUP [BSS_E],[BSS_C],[BSS_A] | | ENDPROGRAM t7904 | **** ListMap "t7904.bin",model=LARGE,groups=3,segments=14,entry=,stack= | [GRP_U],FA=00000000h,VA=00000000h,size=00000003h=3,group [DATA$U] [DATA$V] [DATA$W] | [DATA$U],FA=00000000h,VA=00000000h,size=00000001h=1,width=16,align=1,purpose=DATA | [DATA$V],FA=00000001h,VA=00000001h,size=00000001h=1,width=16,align=1,purpose=DATA | [DATA$W],FA=00000002h,VA=00000002h,size=00000001h=1,width=16,align=1,purpose=DATA | [GRP_N],FA=00000003h,VA=00000003h,size=00000003h=3,group [DATA1] [DATA4] [DATA2] | [DATA1],FA=00000003h,VA=00000003h,size=00000001h=1,width=16,align=1,purpose=DATA | [DATA4],FA=00000004h,VA=00000004h,size=00000001h=1,width=16,align=1,purpose=DATA | [DATA2],FA=00000005h,VA=00000005h,size=00000001h=1,width=16,align=1,purpose=DATA | [DATA3],FA=00000006h,VA=00000006h,size=00000001h=1,width=16,align=1,purpose=DATA | [DATA$Y],FA=00000007h,VA=00000007h,size=00000001h=1,width=16,align=1,purpose=DATA | [DATA$X],FA=00000008h,VA=00000008h,size=00000001h=1,width=16,align=1,purpose=DATA | [DATA$Z],FA=00000009h,VA=00000009h,size=00000001h=1,width=16,align=1,purpose=DATA | [GRP_A],FA=00000000h,VA=00000000h,size=0000000Ch=12,group [BSS_C] [BSS_E] | [BSS_C],FA=0000000Ah,VA=0000000Ah,size=00000001h=1,width=16,align=1,purpose=BSS | [BSS_E],FA=0000000Ah,VA=0000000Bh,size=00000001h=1,width=16,align=1,purpose=BSS | [BSS_B],FA=0000000Ah,VA=0000000Ch,size=00000001h=1,width=16,align=1,purpose=BSS | [BSS_D],FA=0000000Ah,VA=0000000Dh,size=00000001h=1,width=16,align=1,purpose=BSS`

Expected messages t7904.out
  `I0180 Assembling source file "t7904.htm". I0270 Assembling source "t7904". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t7904". "t7904.htm"{52} I0510 Assembling program pass 1. "t7904.htm"{52} I0530 Assembling program pass 2 - final. "t7904.htm"{52} I0660 16bit LARGE BIN file "t7904.bin" created, size=10. "t7904.htm"{85} I0650 Program "t7904" assembled in 2 passes with errorlevel 0. "t7904.htm"{85} I0750 Source "t7904" (126 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t7904.htm.lst" created, size=3178. I0990 EuroAssembler terminated with errorlevel 0.`

Expected output file t7904. bin

      0000: 55 56 57 31 34 32 33 59 58 5A                    UVW1423YXZ

▲Back to the top▲