x86 Assembly Language Reference Manual

Store Local Descriptor Table Register (sldt)

sldt	r/m16

LDTR -> r/m[16]


The Local Descriptor Table Register (LDTR) is stored by sldt as indicated by the effective address operand. LDTR is stored into the two-byte register or the memory location.

sldt is not used in application programs. It is used only in operating systems.


Store the LDTR in the effective address (addressed by the EBX register plus and offset of 5):

sldt 5(%ebx)