About 64-bit Win7/win 8 How to learn the assembly language

Source: Internet
Author: User

I see a lot of students with Win 7/win 8 to learn the assembly, now a lot of people's memory upgrades are used 64-bit system, but 64-bit W7 does not have their own debug and MASM.


1. First download the DOSBox, (with the address below) its role is to let you in 64 bit under the use of 32, 16-bit software. If you do not use DOSBox, a Program incompatibility dialog box appears.

After installing DOSBox, we will be able to run the compiled program.

After opening the DOSBox, we can see Z: \, this is the virtual disk in DOSBox, we can use the Mount command to convert it to its own D-disk: Mount C e:\masm (PS: Here is the downloaded masm5.0 file inside the program and Debug.exe in the e-disk under the MASM folder inside)


Down is the DOS operation.

The following is an example of a compiled Hello world.
Create a new 1.asm file in the e:/masm/directory, open the assembly code

Code:

Date Segment DB'Hello world-by xiaoz','$'Date ENDSCODESG SegmentassumeCS:CODESG,ds:DateStart:  movax,datemovDs,axmovDx0        movah,09hint21hmovax,4c00hint21HCODESG endsend Start

Then open the software, the e:/masm virtual to C drive, switch to C drive

Compile, connect, execute 1

This time, Hello world is out.

Incidental:
Link: http://pan.baidu.com/s/1kTl4X9t Password: wbqj

About 64-bit Win7/win 8 How to learn the assembly language

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.