## ALP Programming Guide and Reference

[prev][next][parent][TOC]

### .DOSSEG/DOSSEG (Specify Standard DOS Segment Ordering)

Orders the segments according to the DOS segment convention: CODE first, then segments not in DGROUP, and then segments in DGROUP. The segments in DGROUP follow this order:

1.Segments not in BSS or STACK
2.BSS segments
3.STACK segments

Syntax

    . DOSSEG   ( preferred   form )
        or
    DOSSEG

Remarks

.DOSSEG is the preferred form.

Use of this directive allows the linker to control the segment ordering according to conventions used in many high-level languages.