Segmentation Unit

  • Segmentation Unit: Converts logical to linear address
    1. Check TI (table indicator) bit to see if its in the GDT (gdtr register) or LDT (ldtr register) (0=GDT?)
    2. Compute base address of segment descriptor from index in segment selector x8
    3. Add offset from segment selector to the base field of the segment descriptor to get the correct linear address of whatever you’re looking for
    • Note: Because of the non programable register attached to the segmentation register you can skip the calculation of the address of the descriptor (first 2 steps)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s