LEAVE destroys a stack frame of the form created by the
ENTER instruction (see ENTER). It is functionally
equivalent to MOV ESP,EBP followed by POP EBP (or \c{MOV
SP,BP} followed by POP BP in 16-bit mode).
leave
186 and laterDestroy Stack Frame
leaveLoading...
Forms
Every form of leave the assembler accepts, from NASM's own instruction table.
The second column is the processor that introduced the form; a badge marks a form that needs
an extension, that is lockable, or that long mode dropped.
| Form | Since | Notes |
|---|---|---|
| leave | 186 |