Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Combine Segments
 Example                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   name GROUP segment [,segment]...
 
  See also: ASSUME, SEGMENT
 
  Description:
 
     Adds the <segment> parameters to a group called <name>. Creates
     group <name> if it does not exist. This causes the linker to
     combine the given logical segments into one physical segment, so
     that the logical segments share a common physical segment address.
     Under the FLAT memory model, all segments are automatically
     assigned to a common group called FLAT.
     See: FLAT model
 
     All logical segments in a group must have the same WordSize
     attribute. If they are 16-bit segments, their total size cannot
     exceed 64K bytes. If they are 32-bit segments (allowed on
     80386/486 processors), groups can be up to 4 gigabytes.
 
     The <name> is a unique symbolic name or previously defined group.
     If the same group name appears in more than one GROUP statement,
     the effect is cumulative; the new segments are added to the group.
     The <segment> is a segment name defined with the SEGMENT directive.
                                    -♦-