Home>Article>Backend Development> Is python a machine language?

Is python a machine language?

(*-*)浩
(*-*)浩 Original
2019-10-31 09:37:07 13569browse

Is python a machine language?

Machine language is a programming language or instruction code that the machine can directly recognize. It does not need to be translated. Each operation code has a corresponding circuit inside the computer 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.(Recommended learning:Python video tutorial)

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.

Machine language:Programming method of directly writing binary instructions

Machine language (machine language) is an instruction set system. This instruction set, called machine code, is data that can be directly interpreted by the computer's CPU.

Machine code is sometimes called native code. This term emphasizes the parts of a certain programming language or library that are related to the running platform.

Machine language is a collection of instruction systems represented by binary code that a computer can directly recognize and execute.

It is the operating function given to the computer by the computer designer through the computer's hardware structure. Machine language has the characteristics of flexibility, direct execution and high speed.

The machine languages of different types of computers are incompatible. A program compiled according to the machine instructions of one type of computer cannot be executed on another type of computer.

An instruction is a statement in machine language. It is a set of meaningful binary codes. The basic format of the instruction is such as the operation code field and the address code field. The operation code specifies the operation nature and function of the instruction. , the address code gives the operand or the address of the operand.

Except for professionals from computer manufacturers, the vast majority of programmers no longer learn machine language.

Machine language is the binary code that the microprocessor understands and uses to control its operations.

8086 to Pentium machine language instructions can be from 1 byte to 13 bytes in length.

Although machine language seems to be very complicated, it is regular.

There are as many as 100,000 machine language instructions. This means that not all of these categories can be listed.

The time it takes to write a program is often dozens or hundreds of times longer than the actual running time. Moreover, the programs compiled are all instruction codes of 0s and 1s, which are not intuitive and prone to errors. Except for professionals from computer manufacturers, the vast majority of programmers no longer learn machine language.

The above is the detailed content of Is python a machine language?. 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