Home  >  Article  >  What is a computer instruction and what is a computer instruction system?

What is a computer instruction and what is a computer instruction system?

青灯夜游
青灯夜游Original
2021-04-22 16:20:3620221browse

Computer instructions are the basic operations that computers can implement, and are instructions and commands for directing machine work. The instruction system is the language system of computer hardware, which refers to the collection of all instructions that the computer can execute. It describes all the control information and "logical judgment" capabilities in the computer.

What is a computer instruction and what is a computer instruction system?

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

What are computer instructions?

Computer instructions are 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.

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.

What is a computer instruction system?

The instruction system is the language system of computer hardware, which refers to the collection of all instructions that the computer can execute. It describes all the control information and "logical judgment" capabilities in the computer.

The instruction systems of different computers contain different types and numbers of instructions. Generally include arithmetic operation type, logical operation type, data transfer type, judgment and control type, shift operation type, bit (bit string) operation type, input and output type and other instructions. The instruction system is an important factor that characterizes the performance of a computer. Its format and functions not only directly affect the hardware structure of the machine, but also directly affect the system software and the scope of application of the machine.

The command system is the main interface between software and hardware, reflecting the basic functions of the computer. From a system architecture perspective, it is the primary attribute of the computer as seen by the system programmer.

Therefore, the instruction system represents the basic functions of the computer, determines the capabilities required by the machine, and also determines the format of the instructions and the structure of the machine. Designing the instruction system is to choose whether some basic operations in the computer system (including operating systems and high-level languages) should be implemented by hardware or software, and whether certain complex operations should be implemented by a dedicated instruction or a series of basic instructions. Instruction implementation, and then specifically determine the instruction format, type, operation and access method of the operands of the instruction system.

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What is a computer instruction and what is a computer instruction system?. 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