<<< Segment Start, Limit, and Status     Index     Segment Descriptor Examples >>>

5. Segment Descriptor Data Structure


  • Access to memory is qualified by the descriptor selected by the current segment register.

  • Selector is a 12-bit number indicating which entry to use in the descriptor table:

    • If the selector is 0, the first descriptor is taken

    • Selector of 1 takes the second, etc.

  • The 80386 multiplies the selector by 8 (8 bytes per entry), and adds this to the base address of the table of descriptors (contained in an internal 386 register loaded by the programmer before switching to protected mode.)

  • Segment descriptor format:

      Segment descriptor format

      A segment descriptor


<<< Segment Start, Limit, and Status     Index     Segment Descriptor Examples >>>