Home  >  Article  >  What must a program written in a high-level language be converted into before it can be executed?

What must a program written in a high-level language be converted into before it can be executed?

王林
王林Original
2020-06-22 15:45:3719730browse

What must a program written in a high-level language be converted into before it can be executed?

#A program written in a high-level language must be converted into a machine language program before the computer can execute it.

(Recommended learning: java introductory program)

High-level language

High-level programming language) is a machine-independent, procedural or object-oriented language. A high-level language is a language designed with reference to mathematical language that approximates daily conversation. For example, to add two variables and assign them to a third variable, the high-level language expression is var3=var1 var2.

Machine language

Machine language is a programming language or instruction code that can be directly recognized by the machine. It does not need to be translated. Each operation code has a corresponding code inside the computer. A circuit is used to complete it, or it refers to a programming language or instruction code that can be directly understood and accepted by the machine without translation.

Machine language uses absolute addresses and absolute opcodes. Different computers have their own machine languages, that is, instruction systems. From a usage perspective, machine language is the lowest level language.

The above is the detailed content of What must a program written in a high-level language be converted into before it can be executed?. 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