Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - (16-bit only) this option is similar to "zw" but causes the compiler to http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
(16-bit only) This option is similar to "zw" but causes the compiler to
generate more efficient prologue/epilogue code sequences in some cases.
 This option may be used for Microsoft Windows applications code other than
user callback functions.  Any functions declared as "far _export" will be
compiled with the "fat" prologue/epilogue code sequence described under the
"zw" option.

     far _export func(...)
     far _export pascal func(...)

The following "skinny" prologue/epilogue sequence is generated for functions
that are not declared to be "far _export".


     far pascal func(...)
     far func(...)

         inc  BP
         push BP
         mov  BP,SP
         .
         .
         .
         pop BP
         dec BP
         retf n

The macro __WINDOWS__ will be predefined if "zW" is selected.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson