Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Start Code Segment
 Example                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   .CODE [name]
 
  See also: @code, .MODEL, .DATA, .STACK, @CodeSize,
            Table of Memory Models
 
  Description:
 
     Starts a code segment (with segment name <name>, if given)
     and ends the previous segment, if any. Aligns the segment on a
     2-byte boundary (.8086, .186, .286) or a 4-byte boundary (.386,
     .486). The .MODEL directive must precede this directive.
 
     Segment name <name> is an optional parameter that overrides the
     default segment name. If <name> is not specified, the assembler
     generates a segment called _TEXT (tiny, small, compact, and flat
     models) or <modulename>_TEXT (medium, large, and huge models).
                                    -♦-