| UMBC CMSC 211 |
Creates a stack fram for a procedure that receives parameters passed on the stack. When immed16 is 0 ENTER is equivalent to push bp, followed immediately by the mov bp, sp. The first operand of the ENTER instruction specifies the number of bytes to reserve for local variables. The second operand specifies the nesting level for the procedure. The nesting level should be 0 for languages thto do not allow access to local variables of higher-level procedures (such as C, Basic, and FORTRAN). See the complementary instruction LEAVE for a method of exiting from a procedure. UNQUOTE
OK, what does it say about LEAVE: