Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 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