Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
End Segment and Structure Blocks
 Example                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   name ENDS
 
  See also: SEGMENT, STRUCT, UNION, .DATA, .DATA?, @CurSeg, .STACK
 
  Description:
 
     Marks the end of a segment or a structure definition previously
     started with SEGMENT, STRUCT, or UNION. To end a simplified segment
     (such as one started with .DATA), use the line
 
          @CurSeg   ENDS          ;End current segment
 
     A single .STACK statement opens and closes the stack segment,
     so you should not include an additional ENDS statement.
                                    -♦-