What does



leave


mean? I got it from Win32Dasm....
Dominik
Posted on 2004-10-15 16:05:21 by Dom
Dom,

Its an old timer that MASM still uses to exit a stack frame. It originally matched ENTER but neither are used much these days.

LEAVE is seen as slow but its small and has the advantage that it avoids a stall on exit from a stack frame so it still has a place for normal stack frame code.

If the call speed of a procedure actually matters which in most cases it does not, you manually write your own stack entry and exit without a stack frame.
Posted on 2004-10-15 17:37:14 by hutch--