Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6

Installation of MASM and setting path

1. Extract the zip file and run the setup file.

Press ENTER to continue with installation. 2. Scroll to Install the Macro Assembler using defaults

Press ENTER to continue.

3. Select drive to install MASM

Press ENTER to continue. 4. Choose NO CHANGES option when you dont want to change any options in installation.

Press ENTER to continue.

5. After installing MASM it shows the below status.

Press CTRL+C to exit. 6. Now open command prompt (Windows Run, type cmd then press ENTER to open command prompt). a. Now type masm its show below error indicates that the PATH has not been set.

7. We can set the class path in two ways, you can see below the two methods of setting PATH.

8. Now type path in window, it shows the current path setting.

a. Now type path=XXX:MASM611; XXX:MASM611\BIN; XXX:MASM611\BINR; b. Now type path, it will display the above path. c. Now type masm, some details regarding MASM like version, copyright, usage will be displayed indicating that the PATH has been set. d. Here I used MASM611, and E: (XXX E) drive to install MASM in my PC. e. This type of setting PATH will temporarily set the PATH of MASM. If you close the window the path settings will be lost. f. Below we will see another way of setting PATH. 9. Now Right Click on My Computer, go to properties as shown below.

10. Now go to Advanced tab and click on Environment Variables button.

11. Now click on New button, New User Variable windows will appear. Now in name type PATH and in value enter path of the BIN & BINR folder of MASM separated by ; (semi-colon) as shown below and click OK, then OK, and then OK to finish.

12. Now to check that PATH has been set properly on not open command prompt and type masm it will show details of MASM as show below.

Congrats you have finished the Installation and Path setting successfully. Now you can write Assembly Language Programs. You can also find some of the documents related to MASM in MASM folder. You can refer those documents for more information regarding MASM and Assembly Language Programming. GOOD LUCK.

You might also like