Home>Article> What program is needed to translate assembly language source program into target program?

What program is needed to translate assembly language source program into target program?

王林
王林 Original
2020-07-07 15:42:38 11955browse

Translating assembly language source programs into target programs requires the use of an assembler, which is responsible for translating programs written in assembly language into equivalent machine language programs. The input of the assembler is the source program written in assembly language, and the output is the target program expressed in machine language.

What program is needed to translate assembly language source program into target program?

Translating the assembly language source program into the target program requires the use of an assembler.

(Recommended learning:java introductory program)

Analysis:

Assembler program

A translation program that translates programs written in assembly language into equivalent machine language programs.

The input of the assembler is the source program written in assembly language, and the output is the target program expressed in machine language.

(Video tutorial recommendation:java video tutorial)

Working process

Enter the assembly language source program.

Check the correctness of the syntax. If it is correct, translate the source program into an equivalent binary or floating binary machine language program, and output a comparison list of the source program and the target program according to the user's needs; if the syntax If there is an error, an error message will be output, indicating the location, type and number of the error.

Finally, perform post-processing on the compiled target program.

The above is the detailed content of What program is needed to translate assembly language source program into target program?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn