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.

AMD64 Technology 24594 Rev. 3.10 February 200516 bits of the 32-bit adjusted segment limit <strong>and</strong> loads the lower 16-bits into the targetregister.Mnemonic Opcode DescriptionLSL reg16, reg/mem16 0F 03 /r Loads a 16-bit general-purpose register with the segment limit for aselector specified in a 16-bit memory or register oper<strong>and</strong>.LSL reg32, reg/mem16 0F 03 /r Loads a 32-bit general-purpose register with the segment limit for aselector specified in a 16-bit memory or register oper<strong>and</strong>.LSL reg64, reg/mem16 0F 03 /r Loads a 64-bit general-purpose register with the segment limit for aselector specified in a 16-bit memory or register oper<strong>and</strong>.Related <strong>Instructions</strong>ARPL, LAR, VERR, VERWrFLAGS AffectedID VIP VIF AC VM RF NT IOPL OF DF IF TF SF ZF AF PF CF21 20 19 18 17 16 14 13–12 11 10 9 8 7 6 4 2 0Note: Bits 31–22, 15, 5, 3, <strong>and</strong> 1 are reserved. A flag set to 1 or cleared to 0 is M (modified). Unaffected flags are blank. Undefinedflags are U.ExceptionsException RealVirtual8086 Protected Cause of ExceptionInvalid opcode, #UD X X This instruction is only recognized in protected mode.Stack, #SS X A memory address exceeded the stack segment limit or was noncanonical.<strong>General</strong> protection,#GPXA memory address exceeded a data segment limit or was noncanonical.MXA null data segment was used to reference memory.X The extended attribute bits of a system descriptor was not zero in 64-bit modePage fault, #PF X A page fault resulted from the execution of the instruction.Alignment check, #AC X An unaligned memory reference was performed while alignmentchecking was enabled.326 LSL

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

Saved successfully!

Ooh no, something went wrong!