OPTION (MASM)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at OPTION (MASM).

Enables and disables features of the assembler.

Syntax

  
OPTION   
optionlist  
  

Remarks

Available options include:

CASEMAP DOTNAME NODOTNAME EMULATOR
NOEMULATOR EPILOGUE EXPR16 EXPR32
LANGUAGE LJMP NOLJMP M510
NOM510 NOKEYWORD NOSIGNEXTEND OFFSET
OLDMACROS NOOLDMACROS OLDSTRUCTS NOOLDSTRUCTS
PROC PROLOGUE READONLY NOREADONLY
SCOPED NOSCOPED SEGMENT SETIF2.

The syntax for LANGUAGE is **OPTION LANGUAGE:**x, where x is one of C, SYSCALL, STDCALL, PASCAL, FORTRAN, or BASIC. SYSCALL, PASCAL, FORTRAN, and BASIC are not supported with used with .MODEL FLAT.

See Also

Directives Reference