Microsoft Macro Assembler Reference
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Microsoft Macro Assembler Reference 

The Microsoft Macro Assembler (MASM) provides you with several advantages over inline assembly. MASM contains a macro language with looping, arithmetic, text string processing, and so on, and MASM supports the instruction sets of the 386, 486, and Pentium processors, providing you with greater direct control over the hardware. You also can avoid extra time and memory overhead when using MASM.

In This Section

ML and ML64 Command-Line Option

Describes the ML and ML64 command-line options.

ML Error Messages

Describes ML fatal and nonfatal error messages and warnings.

Directives Reference

Provides links to topics discussing the use of directives in MASM.

Symbols Reference

Provides links to topics discussing the use of symbols in MASM.

Operators Reference

Provides links to topics discussing the use of operators in MASM.

MASM for x64 (ml64.exe)

Information on creating output files for x64.

Related Sections

MASM Samples

Provides links to samples that demonstrate support for MASM.

Visual C++

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


Provides links to topics describing the C and C++ language references, the libraries provided with Visual C++, and the Visual C++ Extensibility Object Model.

© 2015 Microsoft