Personal blog discussing things I find interesting.
Segmentation Unit
Segmentation Unit: Converts logical to linear address
Check TI (table indicator) bit to see if its in the GDT (gdtr register) or LDT (ldtr register) (0=GDT?)
Compute base address of segment descriptor from index in segment selector x8
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)