Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>lldt load local descriptor table reg. flags: not altered</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
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.


    Opcode      Format
    0F 00 /2    LLDT r/m16


    Length and timing
    Operands    Bytes   8088    186     286     386     486     Pentium
    r16           3                     17      20      11       9   NP
    mem16       3+d(0-2)                19      24      11       9   NP

See Also: Selectors LAR VERR VERW LSL SLDT LGDT

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson