Most of the Students doing their courses in Computer science & Information Technology using windows 7 or Windows 8 find it difficult to use few programming language because of few compatibility reasons. And one among them is MASM 8086 Software also, which doesn’t run on windows 7 systems easily whereas in you find it easy to run this software on Windows XP, windows server 2003 and also windows 2000!

 

 

   So in order to run this software the solution to change the OS doesn’t sound good or easy right! 😀 So to get rid of these compatibility issues we have an open source software named the DOSBox! This is basically an X86 DOS-emulator that uses the SDL-library which makes DOSBox very easy to port to different platforms. DOSBox has already been ported to many different platforms, such as Windows, BeOS, Linux, MacOS X…! Presently 0.74 is the latest version of DOSBox.


Video Tutorial

       Well, now let me come to the point i.e., the tutorial on how to run MASM 8086 Software on your System. I will explain it to you step by step:-
 Initially, you will have to Download two files to proceed with the further steps. To download the below given two files:-
File 1 – DOSBox 0.74 Installer – DownloadLink
File 2 – 8086 Assembler – Download Link 

Now as you are done with the downloading part next you gotta open the second file which is a compressed file so you have to extract the files in it to the C Drive of your system.
For that just select the 8086 folder > then click on extract to option > then select C Drive > finally Click on Ok!
Follow the image shown below step 1-4!

 

 
Then next you have to open the first file i.e., the DOSBox file and Install it which is simple just keep clicking next > next > install and finally close.
A shortcut of the DOSBox will be created on the desktop to go to your desktop and open the DOSBox icon.
Then you will find that a black screen pops up. Now enter the command as shown below:-
           MOUNT C C:8086 (and press Enter)
A message will pop up saying Drive C: is mounted as Local Directory C:8086
Next type the below command:-
           C: (and press Enter)
So now it will enter into the C Drive!
That’s it you are done! Finally, you need to Enter the following command to enter into the MASM Software.
           EDIT filename.ASM (and press Enter)
Now you will enter into the MASM Software Screen. J
Note: If you are an XP user you need not download the DOSBox you can directly download the 8086 Assembler and run it through the Command prompt as usual.

 

76 thoughts on “How to Run or Install MASM Software on Windows (32 or 64-bit) using DOSBox [with Video Tutorial]”
  1. @pooja : As i'm not much aware of assembly programming i've just tested a small program on addition of 2 numbers and it worked perfectly for me!
    so i suppose you have to change your cv command!
    I Suggest you to Try below commands :
    masm filename.asm
    link filename.obj
    debug filename.exe
    then type "t" and Enter for Memory Windows !
    U can also use "u" , "g" ,"e" etc !
    Hope this helps You for cv is illegal command error! 🙂

  2. bro,can u plz send me the whole 8086 assembler compressed file so that i can easily download it from my mail account
    ….i'm having problem downloading the file actually……
    i'll be thankful for ur this act of kindness

  3. thannx champ for giving such a valuable info.
    during compiling this problem occurs:
    Run File [CHAR.EXE]: debug char.exe
    List File [NUL.MAP]: nul.map
    Libraries [.LIB]: .lib
    Link: warning L4051: .LIB : cannot find library
    Enter new file spec:
    //now i dont know what to do now..the memory window is not opening

  4. Did you Check Out the Video Bro ?
    I think I've made a Video executing a file too.
    Well, regarding the comments and all I can't help you much cause am not aware of the MASM language ! I just found a way to Run it so I put up ! And you can see the above comments it worked for almost everyone ! 🙂 Anyways check the Video ! Hope it'll help you out 🙂

  5. Bro it has been tested on Win 8 and 8.1 also and it works perfectly fine.
    Just follow the Video there is nothing in installing masm. You need to install DOSBOX and then emulate MASM over it. See the Video for detailed Instructions.

  6. > First Type the Program, Save it and Exit.
    > Then Type :

    masm filename.asm

    That will Compile your program.

    > Next Type :

    link file.obj

    this will link your library files to the program.

    > Finally Type :

    debug filename.exe

    This will execute your program. 🙂

  7. Just a tip:

    One can also go to C: folder and find the dosbox folder(doing this will help you not to write the mount command everytime you want to pr[email protected] :)) ). There find the Dosbox options open it and at the bottom enter this command ,save and exit :

    mount c c:8086

    G.L.H.F!!!

  8. I never encountered this issue.

    Anyways, see if this helps :
    > First Type the Program, Save it and Exit.
    > Then Type :

    masm filename.asm

    That will Compile your program.

    > Next Type :

    link file.obj

    this will link your library files to the program.

    > Finally Type :

    debug filename.exe

    This will execute your program. 🙂

  9. The Cv command ain't working…neither is debug file.exe…its giving me an error…or if I use cv it says illegal command…what do I do? Many have asked this question…even I have the same query…pls reply soon

    1. Hi Divya,
      I never encountered this issue.

      Anyways, see if this helps :> First Type the Program, Save it and Exit.> Then Type :
      masm filename.asm

      That will Compile your program.
      > Next Type : link file.obj
      this will link your library files to the program.

      > Finally Type : debug filename.exe

      This will execute your program. 🙂

Leave a Reply