Windows Assembly Environment Configuration

Source: Internet
Author: User

Original address

Software download

The required software has been packaged, including DOSBox and MASM. If not, both software can be downloaded at the address below.
http://hjwblog.com/game/汇编环境.zip
Click to download

Installing DOSBox

Install the compressed package inside DOSBox0.74-win32-installer.exe .

installing MASM

Copy the contents of the folder inside the compressed package MASM to a folder, as far as possible D:\masm . Other paths are also possible, but the paths do not have Chinese or white space.
Such as:

Now open the DOSBox installation directory, and if not, right-click DOSBox shortcut. Select where to open the file.

Now in the DOSBox installation directory

Then double-click the DOSBox 0.74 Options.bat file. If your computer does not display the extension, just look at the file type, double-click the type for windows批处理文件 that. Note: Do not open with Notepad, not with Notepad, not with Notepad. Someone has done this ...

A notepad file is opened dosbox-0.74.conf and the following code is added at the end of the file:

mount C D:\masmC:

If those EXE files have not been extracted to the D:\masm folder, just modify it to their own folder on the line.

Now, after saving the file, turn it off, open DOSBox, and enter dir . See if there are debug,masm and other documents. If there are words that make a success, you can start writing the assembly.

If not, you can leave a message or consult qq:1542254356.

Advanced content added above the code meaning
mount C D:\masmC:

The role of Mount is to map the PC directory to the directory of the DOS system. Here is the map of your computer D:\masm to the DOS system C disk, so that your DOS C-disk operation is equivalent to D:\masm do.

The second line of command is the C drive into DOS.
In fact, you can not modify the Conf file, as long as you enter these two commands each time you run.

Why would you like to modify the DOSBox conf file

The code under the [AutoExec] label of the DOSBox conf file will run at DOSBox startup so that you do not have to enter the code every time in DOSBox.

Windows Assembly Environment Configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.