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 TechnologyException<strong>General</strong> protection,#GP(selector)RealVirtual8086 Protected Cause of ExceptionXXThe target code segment selector was a null selector.A code, call gate, task gate, or TSS descriptor exceeded the descriptortable limit.XXXXXXXXXXA segment selector’s TI bit was set, but the LDT selector was a nullselector.The segment descriptor specified by the instruction was not a codesegment, task gate, call gate or available TSS in legacy mode, or nota 64-bit code segment or a 64-bit call gate in long mode.The RPL of the non-conforming code segment selector specified bythe instruction was greater than the CPL, or its DPL was not equal tothe CPL.The DPL of the conforming code segment descriptor specified by theinstruction was greater than the CPL.The DPL of the callgate, taskgate, or TSS descriptor specified by theinstruction was less than the CPL or less than its own RPL.The segment selector specified by the call gate or task gate was a nullselector.The segment descriptor specified by the call gate was not a code segmentin legacy mode or not a 64-bit code segment in long mode.The DPL of the segment descriptor specified the call gate was greaterthan the CPL <strong>and</strong> it is a conforming segment.The DPL of the segment descriptor specified by the callgate was notequal to the CPL <strong>and</strong> it is a non-conforming segment.The 64-bit call gate’s extended attribute bits were not zero.X The TSS descriptor was found in the LDT.Page fault, #PF X X A page fault resulted from the execution of the instruction.Alignment check, #AC X X An unaligned memory reference was performed while alignmentchecking was enabled.JMP (Far) 177

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

Saved successfully!

Ooh no, something went wrong!