Segments

Back

  • Code Segment (CS): .text defines the segment which stores instruction codes
  • Data Segment (DS): .data is used to declare memory region. Declared at the start, and remain static throughout the program
  • Stack Segment (SS): Refers to the stack segment of the program
  • Extra Segment (ES): Refers to the extra segment