assembly Language Work Environment construction

Source: Internet
Author: User

Most of the compilations are based on 8086来, and the following are also said

The working environment of assembly language has many, the following list I know several:

First, dosbox+ (Masm.exe+link.exe)/ml.exe

The latter is compiled compiler, run in DOS environment, so need to install DOSBox (DOS Simulator), more say, DOS itself is operating system, different from Windows Cmd,cmd Although the interface is similar but only one application on Windows system.

about MASM link ml description:

MASM. EXE's function is to translate the source file into a binary code file, where the mnemonic is translated into the corresponding machine instruction code. However, an executable program file with practical value is often not composed of a source file, it can be constructed from multiple source files, and the source code files often need to call the compiled library files, so after the original translation into the obj file, you also need to be all generated by the source obj files and resource files, etc. , assemble them according to the rules, and the files that assemble them are LINK.EXE. As a result, the LINK will need to be executed after the MASM.EXE is executed. EXE to generate the executable file.
ML. EXE, a program can automatically complete the MASM. EXE, LINK. EXE (directly with this program requires DOSXNT. EXE to is in the you path, have time to find the problem ... There is also a working environment for Masm32, a programmer who is interested in learning or writing 32 Microsoft compilations ( MASM) .

Installation Tutorial: http://jingyan.baidu.com/article/84b4f565e0908360f6da32ba.html

Test code

Data segment
tab DB ' Hello world$ '
Data ends
Code segment
Assume Cs:code, Ds:data
Start
MOV Ax,data
MOV Ds,ax
Lea Dx,tab
MOV ah,9h
int 21h
MOV ah,4ch
int 21h
Code ends
End Start

Second, VMware running DOS virtual machine and then compiled with the above compiler

Building the DOS environment when learning assembly language: http://blog.csdn.net/hongjuchegn/article/details/24577401

Three, MASM for Windows (232 kinds of later to elaborate)

assembly Language Work Environment construction

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.