Win7 Configuration assembly environment and program design in 64-bit environment

Source: Internet
Author: User

Download DOSBox and unzip the installation

: Http://pan.baidu.com/s/1eRJbJAq

Default installation to C:\Program Files (x86) \dosbox-0.74

After successful installation, double-click the directory under the DOSBox 0.74 options.bat file, pop up the configuration options text Document,

Locate the [AUTOEXEC] option and add the following fields below:

MOUNT C D:\masmpro
Set path= $PATH $;D: \masmpro

D:\masmpro is the assembler directory I created so that every time I start DOSBox, I automatically mount it to my own project directory.

Of course you can set it manually, start DOSBox, manually enter Mount C D:\masmpro and enter

The effect is as follows:

Next Enter C:

Switch to the C: directory and enter dir to see the files in the D:\masmpro.

Configure Masmpro,:http://pan.baidu.com/s/1ji4wenk below

Unzip and copy the contents of the folder MASM into the D:masmpro, which includes

Then create a hello.asm assembler under the Masmpro folder.

Data segment;Data SegmentHello db'hello,world!$',0Data Endscode Segment;Code SnippetAssumeCS:Codeds:DataStart:                    ;entrance    movAx,datamovDs,axLeaDx,hellomovah,9hint21hmovah,4chint21hcode endsend Start;Sign Entry point

Open DOSBox, enter MASM hello.asm

Then enter link Hello link target file

Last Run hello.exe, enter Hello to run directly

At this end of the Windows 7 64-bit environment, the compilation environment is successful and the assembly language learning can begin.

My public number.

Win7 Configuration assembly environment and program design in 64-bit environment

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.