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).
leaveq
386 and laterDestroy Stack Frame
leaveqLoading...
Forms
Every form of leaveq 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 |
|---|---|---|
| leaveq | 386 | long |