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 causes the compiler to generate the http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
(16-bit only) This option causes the compiler to generate the
prologue/epilogue code sequences required for Microsoft Windows
applications.  The following "fat" prologue/epilogue sequence is generated
for any functions declared to be "far _export" or "far pascal".

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

         push DS
         pop  AX
         nop
         inc  BP
         push BP
         mov  BP,SP
         push DS
         mov  DS,AX
         .
         .
         .
         pop DS
         pop BP
         dec BP
         retf n

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

(32-bit only) This option causes the compiler to generate any special code
sequences required for 32-bit Microsoft Windows applications.  The macro
__WINDOWS__ and __WINDOWS_386__ will be predefined if "zw" is selected.

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