Re: ver 4.0 calling convention information ?
- Posted by mattlewis (admin) May 26, 2009
- 880 views
ENTER & LEAVE are assembler instructions that preserve and
restore the stack and setup a temporary stack frame.
Oh, I see. These are directives that the assembler turns into actual instructions to deal with the stack pointer. My understanding of them is that they're for allocating stack space for local storage, not for parameter passing, which is what calling convention is about.
I guess I will have to rethink my ideas and come up with
another way of doing thing or just give up and just support
ver 3.11 with my code.
Without having seen the code in question, I really doubt that calling convention is the problem you're having. Is this a continuation of the previous thread where you were using a register and not restoring it?
Matt