LLDT Load Local Descriptor Table Reg. Flags: Not altered
LLDT source CPU: 286+ Priv
Logic LDTR ← selector
LLDT loads the local descriptor table register (LDTR). The word operand (memory or register) to LLDT should contain a selector to the global descriptor table (GDT). The GDT entry should be a local descriptor table. If so, then the LDTR is loaded from the entry. The descriptor registers DS,ES,SS,FS,GS, and CS are not affected. The LDT field in the task state segment (TSS) does not change.
The selector operand can be 0; if so, the LDTR is marked invalid. All descriptor references (except by the LAR, VERR, VERW, or LSL instructions) cause a #GP fault.
The local descriptor table (LDT) is loaded whenever a task or major subsystem gains or regains control of the system.
LLDT appears in operating system software; it is not used in application programs.