Microsoft Macro Assembler reference

The Microsoft Macro Assembler (MASM) provides several advantages over inline assembly. MASM contains a macro language that has features such as looping, arithmetic, and text string processing. MASM gives you greater control over the hardware. By using MASM, you also can reduce time and memory overhead in your code.

In This Section

ML and ML64 command-line option
Describes the ML and ML64 command-line options.

MASM for x64 (ml64.exe)
Information about how to create output files for x64.

Instruction Format
Describes basic instruction format and instruction prefixes for MASM.

Directives reference
Provides links to articles that discuss the use of directives in MASM.

Symbols Reference
Provides links to articles that discuss the use of symbols in MASM.

Operators Reference
Provides links to articles that discuss the use of operators in MASM.

ML error messages
Describes fatal and nonfatal error messages and warnings.

Processor Manufacturer Programming Manuals
Provides links to programming information about processors not manufactured, sold, or supported by Microsoft.

MASM BNF Grammar

Formal BNF description of MASM for x64.

C++ in Visual Studio
Provides links to different areas of the Visual Studio and Visual C++ documentation.

See also

Compiler Intrinsics
x86 Intrinsics
x64 (amd64) Intrinsics