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).
leaved
386 and laterDestroy Stack Frame
leavedNo example here: this instruction either stops the program, or belongs to a mode this emulator does not run.
Forms
Every form of leaved 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 |
|---|---|---|
| leaved | 386 |