#20 option for invoke-macro (x64,fastcall)

open
nobody
None
5
2010-12-09
2010-12-09
qWord
No

Currently jwasm is always allocating the required stack space for parameters on each invoke. My thought was to add an option to suppress this automatic allocation, so that the programmer is responsible for this. This would prevent unnecessary add/sub-pairs on sequential invokes.

qWord

Discussion

  • japheth
    japheth
    2011-01-24

    Yes, the current status is not final.

    However, just doing "nothing" and let the programmer allocate the stack space seems a bit "too advanced" or "too raw". I though about an option to make PROC/ENDP calculate - and allocate - the amount of stack space for invoke parameters. Outside of procedures this would indeed mean that the assembler assumes that the programmer has allocated the space.