3-339
INSTRUCTION SET REFERENCE
JMPJump (Continued)
Protected Mode Exceptions
#GP(0)
If offset in target operand, call gate, or TSS is beyond the code segment
limits.
If the segment selector in the destination operand, call gate, task gate, or
TSS is null.
If a memory operand effective address is outside the CS, DS, ES, FS, or
GS segment limit.
If the DS, ES, FS, or GS register is used to access memory and it contains
a null segment selector.
#GP(selector)If segment selector index is outside descriptor table limits.
If the segment descriptor pointed to by the segment selector in the
destination operand is not for a conforming-code segment, noncon-
forming-code segment, call gate, task gate, or task state segment.
If the DPL for a nonconforming-code segment is not equal to the CPL
(When not using a call gate.) If the RPL for the segments segment selector
is greater than the CPL.
If the DPL for a conforming-code segment is greater than the CPL.
If the DPL from a call-gate, task-gate, or TSS segment descriptor is less
than the CPL or than the RPL of the call-gate, task-gate, or TSSs segment
selector.
If the segment descriptor for selector in a call gate does not indicate it is a
code segment.
If the segment descriptor for the segment selector in a task gate does not
indicate available TSS.
If the segment selector for a TSS has its local/global bit set for local.
If a TSS segment descriptor specifies that the TSS is busy or not available.
#SS(0)
If a memory operand effective address is outside the SS segment limit.
#NP (selector)If the code segment being accessed is not present.
If call gate, task gate, or TSS not present.
#PF(fault-code)If a page fault occurs.
#AC(0)
If alignment checking is enabled and an unaligned memory reference is
made while the current privilege level is 3. (Only occurs when fetching
target from memory.)