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.

  
OPTION   
optionlist  
  

Available options include:

CASEMAPDOTNAMENODOTNAMEEMULATOR
NOEMULATOREPILOGUEEXPR16EXPR32
LANGUAGELJMPNOLJMPM510
NOM510NOKEYWORDNOSIGNEXTENDOFFSET
OLDMACROSNOOLDMACROSOLDSTRUCTSNOOLDSTRUCTS
PROCPROLOGUEREADONLYNOREADONLY
SCOPEDNOSCOPEDSEGMENTSETIF2.

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.

Directives Reference

Show: