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