13.07.2015 Views

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

24594 Rev. 3.10 February 2005 AMD64 TechnologySLDTStore Local Descriptor Table RegisterStores the local descriptor table (LDT) selector to a register or memory destinationoper<strong>and</strong>.If the destination is a register, the selector is zero-extended into a 16-, 32-, or 64-bitgeneral purpose register, depending on oper<strong>and</strong> size.If the destination oper<strong>and</strong> is a memory location, the segment selector is written tomemory as a 16-bit value, regardless of oper<strong>and</strong> size.This SLDT instruction can only be used in protected mode, but it can be executed atany privilege level.Mnemonic Opcode DescriptionSLDT reg16 0F 00 /0 Store the segment selector from the local descriptor tableregister to a 16-bit register.SLDT reg32 0F 00 /0 Store the segment selector from the local descriptor tableregister to a 32-bit register.SLDT reg64 0F 00 /0 Store the segment selector from the local descriptor tableregister to a 64-bit register.SLDT mem16 0F 00 /0 Store the segment selector from the local descriptor tableregister to a 16-bit memory location.Related <strong>Instructions</strong>SIDT, SGDT, STR, LIDT, LGDT, LLDT, LTRrFLAGS AffectedNoneSLDT 345

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!