3-356
INSTRUCTION SET REFERENCE
LEAVE—High Level Procedure Exit (Continued)
Protected Mode Exceptions
#SS(0)
If the EBP register points to a location that is not within the limits of the
current stack segment.
#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.
Real-Address Mode Exceptions
#GP
If the EBP register points to a location outside of the effective address
space from 0 to 0FFFFH.
Virtual-8086 Mode Exceptions
#GP(0)
If the EBP register points to a location outside of the effective address
space from 0 to 0FFFFH.
#PF(fault-code)If a page fault occurs.
#AC(0)
If alignment checking is enabled and an unaligned memory reference is
made.