Home>Article> What are the instructions that can be directly executed by an electronic computer represented inside the machine?

What are the instructions that can be directly executed by an electronic computer represented inside the machine?

王林
王林 Original
2020-12-22 16:18:02 13043browse

Instructions that can be directly executed by an electronic computer are expressed in the form of binary encoding inside the machine. Computer instructions are instructions and commands that direct the work of a machine. It is an order given to the computer and is represented by a string of binary codes. Usually an instruction includes two aspects: operation code and operand, and the operation requirements and operand address are represented by binary numbers; the entire instruction is stored in the memory in the form of binary encoding.

What are the instructions that can be directly executed by an electronic computer represented inside the machine?

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

Instructions that can be directly executed by an electronic computer are expressed in the form of binary encoding inside the machine.

Electronic computer generally refers to computer, commonly known as computer. It is a modern electronic computing machine used for high-speed calculations. It can perform numerical calculations, logical calculations, and also has storage and memory functions. . It is a modern intelligent electronic device that can run according to the program and process massive data automatically and at high speed.

Computer instructionsare instructions and commands that direct the work of the machine. A program is a series of instructions arranged in a certain order. The process of executing the program is the working process of the computer.

A computer instruction is a command given to the computer, represented by a string of binary codes.It tells the computer what operation to do, where the data involved in this operation comes from, and where the operation results will be sent.

Usually an instruction includes two aspects: operation code and operand. The operation code determines the operation to be completed. The operand refers to the data participating in the operation and the unit address where it is located.

In computers, operation requirements and operand addresses are represented by binary numbers, called operation codes and address codes respectively. The entire instruction is stored in the memory in the form of binary encoding.

Instruction execution process

The first step is to fetch and analyze the instruction. According to the order specified by the program, the currently executed instructions are fetched from the internal memory and sent to the instruction register of the controller. The fetched instructions are analyzed, that is, what operations the computer should perform are determined based on the operation codes in the instructions.

The second is to execute the instructions. According to the instruction analysis results, the controller issues a series of control potentials required to complete the operation in order to direct the relevant components of the computer to complete the operation. At the same time, it is also ready to fetch an instruction.

(Learning video sharing:Programming video)

The above is the detailed content of What are the instructions that can be directly executed by an electronic computer represented inside the machine?. 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