The document provides instructions for installing MASM and Dosbox on Ubuntu in order to run assembly language programs. It describes downloading and extracting the MASM package, copying the folder to the home directory and renaming it. It then explains installing Dosbox using apt-get and mounting the MASM directory in Dosbox. The setup file is run to install MASM. Additional steps are outlined for creating, assembling, linking and running assembly programs using the installed tools.
The document provides instructions for installing MASM and Dosbox on Ubuntu in order to run assembly language programs. It describes downloading and extracting the MASM package, copying the folder to the home directory and renaming it. It then explains installing Dosbox using apt-get and mounting the MASM directory in Dosbox. The setup file is run to install MASM. Additional steps are outlined for creating, assembling, linking and running assembly programs using the installed tools.
The document provides instructions for installing MASM and Dosbox on Ubuntu in order to run assembly language programs. It describes downloading and extracting the MASM package, copying the folder to the home directory and renaming it. It then explains installing Dosbox using apt-get and mounting the MASM directory in Dosbox. The setup file is run to install MASM. Additional steps are outlined for creating, assembling, linking and running assembly programs using the installed tools.
1) Download masm611.rar package from our ftp server
ftp://192.168.100.99/pub/LinuxSoftwares 2) Extract or unrar masm611 package from Downloads folder, it will create masm611 folder in Downloads. (install unrar if you get error; sudo apt install unrar) 3) Copy that masm611 folder to Home and rename it as masm. 4) Installing Dosbox Fire up the terminal and type: sudo apt-get update sudo apt-get install dosbox 5) Now open dosbox. 6) And type mount c ~ it will prompt as Drive c is mounted as local directory. 7) c: 8) cd MASM/Disk1 9) Type SETUP.EXE press Enter to continue 10) click on Install the Microsoft Macro Assembler (first option) 11) select second option as MS-DOS/Microsoft windows 12) click on Yes to all fields which prompts. 13) Please select the destination drive: Hard Drive C 14) Keep clicking on Enter till setup of MASM starts 15) Once copying of all files is done, then press ENTER to reach Main Menu and finally exit setup 16) It will create masm611 folder in home directory.
When Running a Program:
1) Open dosbox 2) type mount c ~ 3) c: 4) cd MASM611/BIN 5) pwb.exe 6) click on file and select new file 7) type your program and save it as extension .asm and exit 8) to create object file masm filename.asm 9) press enter to give default filename for object file. 10) Then you must link the object file, for that type link filename.obj and press enter. 11) For run just type filename and press enter.