Use DOSBox to build the assembly environment under Win7_x64

Source: Internet
Author: User

1. Software Installation

1. debug.exe,masm.exe,link.exe,edit.com and other assembly tools, generally 32-bit Windows system has its own, but 64-bit system does not have, and the 32-bit system under the tool is copied to the 64-bit system is not available. We can use them with the DOSBox tool.

2 Download and install 3DOSBox

Download DOSBox (http://www.dosbox.com/) and install it (you can modify the installation path and place it on the D drive).

3 Prepare debug.exe,masm.exe,link.exe,edit.com.

You can either copy from the Win7_32bit operating system or download the Debug.exe,masm.exe,link.exe,edit.com program from the Web.

2. Use

1. DOSBox after the installation is complete, open, can send its prompt is: "z:\>", this is the virtual disk in DOSBox. We need to change to our own drive letter, but if you change it directly, it will prompt you for the error. You first need to mount to your own directory.

2. For example, we are going to use D:\AssemblyTools as our own assembly test catalog, then execute the "Mount D D:\AssemblyTools" command so that the D drive is also virtual into the D:\AssemblyTools directory of your local computer. When we switch to the D drive in DOSBox, we actually switch to the D:\AssemblyTools directory.

3. Place the debug.exe,masm.exe,link.exe,edit.com in the D:\AssemblyTools directory, and we will be able to use them directly under DOSBox.

3. Configuration

Above we want to use DOSBox, to mount to our local directory, but every time we open DOSBox to do these two steps, a bit troublesome, you can save the configuration by the following actions.

1. Starting with All Programs, Dosbox-0.74->options->dosbox 0.74 Options, find "[AutoExec]" in the final position of the text:

[AutoExec] run at startup.# your can put your MOUNT lines here.

2. Then write the following 2 commands here: The function of the first command is the Mount directory, and the second command is to switch to the D drive after Mount.

Mount D d:\ASSEMBLYTOOLSD:

Resources:

1. Teach you how to configure assembly software and run assembler (http://wenku.baidu.com/view/cdda041552d380eb62946db2.html) under the 64-bit WIN7 system

Use DOSBox to build the assembly environment under Win7_x64

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.