0% found this document useful (0 votes)
46 views2 pages

Lab One Manual

This document provides instructions for installing MASM assembler software and setting environment variables to enable assembly language programming in protected mode on Windows. It outlines 9 steps, including copying MASM files to the C drive, modifying system environment variables like PATH, INCLUDE, and LIB to include MASM directories, and testing the installation by assembling a simple addsub program from the command line using MASM.

Uploaded by

Yaikob Kebede
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views2 pages

Lab One Manual

This document provides instructions for installing MASM assembler software and setting environment variables to enable assembly language programming in protected mode on Windows. It outlines 9 steps, including copying MASM files to the C drive, modifying system environment variables like PATH, INCLUDE, and LIB to include MASM directories, and testing the installation by assembling a simple addsub program from the command line using MASM.

Uploaded by

Yaikob Kebede
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Lab two: Assembly language programming

Protected mode programming

MASM is the assembler which is suitable for protected mode. So we use this assembler.
First: carefully follow the following steps to install MASM assembles and its library on your pc.
1. login to your computer as administrator
2. copy this file MASM in C:directory the path will be C:\MASM
3. after you copy it go to control panelsystem Advanced System Setting
4. then you get the following

5. click on Environment Variablesnew and define new system variables as following


6. click on path from system variables lists and edit it by inserting %MASMDIR%;
7. Also create INCLUDE and LIB system variable which later included in your assembly language.

&&
8. Then check your work! Go to cmd write the following command

If you get this, now you can continue to write program.


9. Write the addsub program from your handout and assemble it.
Save it in c:\masm
Open cmd prompt
Change directory to c:\masm and assemble your program as make32 filename

You might also like