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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AMD64 Technology 24594 Rev. 3.10 February 2005Exception<strong>General</strong> protection,#GPRealXVirtual8086 Protected Cause of ExceptionXThe target offset exceeded the code segment limit or was noncanonical.XIOPL was less than 3 <strong>and</strong> one of the following conditions was true:• CR4.VME was 0.• The effective oper<strong>and</strong> size was 32-bit.• Both the original EFLAGS.VIP <strong>and</strong> the new EFLAGS.IF were set.• The new EFLAGS.TF was set.<strong>General</strong> protection,#GP(selector)XXXXXXXXXXXIRETx was executed in long mode while EFLAGS.NT=1.The return code selector was a null selector.The return stack selector was a null selector <strong>and</strong> the return mode wasnon-64-bit mode or CPL was 3.The return code or stack descriptor exceeded the descriptor tablelimit.The return code or stack selector’s TI bit was set but the LDT selectorwas a null selector.The segment descriptor for the return code was not a code segment.The RPL of the return code segment selector was less than the CPL.The return code segment was non-conforming <strong>and</strong> the segmentselector’s DPL was not equal to the RPL of the code segment’ssegment selector.The return code segment was conforming <strong>and</strong> the segment selector’sDPL was greater than the RPL of the code segment’s segment selectorThe segment descriptor for the return stack was not a writable datasegment.The stack segment descriptor DPL was not equal to the RPL of thereturn code segment selector.X The stack segment selector RPL was not equal to the RPL of the returncode segment selector.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.314 IRETx

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

Saved successfully!

Ooh no, something went wrong!