STACK            Define a Stack Segment                          Combine Type
 
  segname   SEGMENT STACK
 
    Causes the linker to concatenate all segments having the same segment
    name, and to assign all addresses in such segments relative to the SS
    register.
 
       Notes:     The STACK combine type is the same as the PUBLIC combine
                  type, except that SS is the default segment register for
                  segments of the STACK type. The SP register is
                  initialized to the end of this new concatenated STACK
                  segment.
 
                  If there is not at least 1 stack segment, the Linker
                  will give a warning stating that no stack segment was
                  found.
 
                  If a stack segment is created but the STACK combine type
                  is not used, the user must explicitly load the SS
                  register with the segment address.
 
                  If no combine type is specified, the segment gets its
                  own physical segment when loaded into memory.

Seealso:



This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster