Home  >  Article  >  What is the instruction system of CPU also called?

What is the instruction system of CPU also called?

藏色散人
藏色散人Original
2021-01-07 17:09:5753985browse

The instruction system of the CPU is also called machine language; machine language is a collection of machine instructions represented by binary code that the computer can directly recognize and execute; it is the hardware structure of the computer that the designer of the computer uses to The operating function given to the computer; the machine language of the CPU, which is a set of instruction codes consisting of a sequence of 1s and 0s that the CPU can recognize.

What is the instruction system of CPU also called?

The operating environment of this article: Dell G3 computer, Windows 7 system

The instruction system of the cpu is also called machine language.

Machine language is a set of machine instructions 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. The machine language of the CPU is a set of instruction codes consisting of a sequence of 1s and 0s that the CPU can recognize.

Programming in machine language is to select appropriate instructions from the practical CPU instruction system to form an instruction series. An instruction is a statement in machine language. It is a set of meaningful binary codes. The basic format of the instruction is the opcode field and the address code field. The opcode specifies the operating nature and function of the instruction, and the address code gives The operand or the address of the operand.

Extended information:

The reason why the instruction system is the fundamental attribute of a CPU is because the instruction system determines what kind of programs a CPU can run. All programs written in high-level languages ​​need to be translated (compiled or interpreted) into machine language before they can be run. These machine languages ​​contain instructions one by one.

No matter how advanced the upper-layer software is, if it wants to be executed on the CPU, it must be translated into "machine code". The translation is performed by the compiler. In this process, the compiler has to go through several steps of "compilation", "assembly", and "linking", and finally generates an "executable file". What is stored in the executable file is binary machine code, and this string of machine code can be directly read and executed by the CPU.

For more related knowledge, please visit PHP Chinese website!

The above is the detailed content of What is the instruction system of CPU also called?. 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