The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: zooba on July 16, 2006, 09:06:01 AM

Title: OPTION PROLOGUE Help Topic (masm32.hlp)
Post by: zooba on July 16, 2006, 09:06:01 AM
Hey Hutch--,

Just wondering if on the next release of MASM32 you could update the OPTION PROLOGUE help topic, since it is unclear on three major points:

1. The prologue macro must end with EXITM (I know it is already referred to as a 'macro function', but it could be clearer)
2. The epilogue macro must not end with EXITM (same as above)
3. The value returned by the prologue macro must be the number of bytes of stack space it has used (ref: http://msdn2.microsoft.com/en-US/library/4k8fb3yk.aspx)

It also might be worth putting somewhere (I couldn't find it) that only STDCALL and C calling conventions are supported with the FLAT memory model (ref: http://msdn2.microsoft.com/en-us/library/4zc781yh.aspx)

Cheers,

Zooba :U
Title: Re: OPTION PROLOGUE Help Topic (masm32.hlp)
Post by: MichaelW on July 20, 2006, 06:09:08 AM
Strange, I used SYSCALL  here (http://www.masm32.com/board/index.php?topic=3894.0) without problems, and I seem to recall Vortex using it in more than one project.