Win10 assembly environment configuration tutorial, win10 Assembly tutorial

Source: Internet
Author: User

Win10 assembly environment configuration tutorial, win10 Assembly tutorial
Software Download

The required software includes dosbox and MASM.

Install dosbox

Install dosbox0.74-win32-installer.exe In the compressed package.

Install MASM

Place the content in the MASM folder in the compressed package to a folder, and try to path it to D: \ masm. Other paths are also supported, but the paths do not contain Chinese characters or spaces.

For example:

Now open the dosbox installation directory. If you cannot remember it, right-click the dosbox shortcut. Select the location where the file is opened.

Now you have entered the dosbox installation directory.

Double-click the DOSBox 0.74 Options. bat file. If your computer does not display the extension, you can view the file type. Double-click the windows batch file type. Note: It is not opened in notepad, but not in notepad. Someone has done this...

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

Mount c d: \ masmC:

If the exe files have not been decompressed to the D: \ masm folder, you just need to change it to your own folder.

Now, save the file and close it. Open dosbox and enter dir. Check whether there are DEBUG and MASM files. If yes, it indicates that the compilation is successful. You can start to write the compilation.

Code added above the Advanced content
Mount c d: \ masmC:

Mount maps the pc directory to the directory of the DOS system. Here, we map the D: \ masm of your computer to the C drive of the dos system. In this way, your operations on the C drive are equivalent to those on the D: \ masm.

The second line of the command is to enter the dos drive C.

In fact, you do not need to modify the conf file, as long as you enter these two commands at each run.

Why modify the conf file of dosbox?

The code under the [autoexec] tag of the conf file of dosbox will run at dosbox startup, so that you do not need to enter the code in dosbox every time.

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.