14.1.3 Enabling the Windows Prolog/Epilog Option

The Windows prolog/epilog option is required for Windows applications. It specifies whether to use special prolog and epilog code with each function; this code defines the current data segment for the given function.

You set this option by defining the value of the ?WIN option.

Value Meaning

0 Disable the special prolog/epilog code.
1 Enable the special prolog/epilog code.

You can set the ?WIN value by using the = directive. The statement has the following form:

?WIN = 1

By default, prolog and epilog code are enabled.