0% found this document useful (0 votes)
52 views

Introduction To Masm

The document introduces Microsoft Macro Assembler (MASM), an x86 assembler that uses Intel syntax. MASM supports both 16-bit and 32-bit assembly sources, as well as 64-bit sources through a separate version. It is included with Microsoft SDKs and Visual Studio. The document also provides instructions for using MASM 6.1, including opening a new file, typing a program, building the project, debugging any errors, and running or stepping through the program.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views

Introduction To Masm

The document introduces Microsoft Macro Assembler (MASM), an x86 assembler that uses Intel syntax. MASM supports both 16-bit and 32-bit assembly sources, as well as 64-bit sources through a separate version. It is included with Microsoft SDKs and Visual Studio. The document also provides instructions for using MASM 6.1, including opening a new file, typing a program, building the project, debugging any errors, and running or stepping through the program.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

INTRODUCTION TO MASM
AIM:
To get a basic idea of MASM and its usage.
APPARATUS:
Computer System with MASM Software
THEORY:
The Microsoft Macro Assembler (MASM) is an x86 assembler that uses
the Intel syntax for MS-DOS and Microsoft Windows. Beginning with MASM there
are two versions of the assembler - one for 16-bit and 32-bit assembly sources, and
another (ML64) for 64-bit sources only.
MASM is maintained by Microsoft, but since version 6.12 has not been sold as
a
separate
product,
it
is
instead
supplied
with
various
Microsoft SDKs and C compilers. Recent versions of MASM are included
with Microsoft Visual Studio.
Along with the instruction set of the microprocessor, programmer has to use
assembler directives while writing a program on MASM.

USING MASM 6.1


1. Open MASM (pwb.exe)
2. Open File New
3. Type the program and save in .asm format
4. Open Project Build
5. If no errors Click Debug, otherwise correct the errors and goto step 4.
6. Press F5 to run the program or F8 for step by step execution.
7. Registers and memory can be opened form Windows tab.

RESULT :

You might also like