Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are computer instructions?

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "what is a computer instruction". The content of the explanation is simple and clear, and it is easy to learn and understand. now please follow the editor's train of thought to study and learn "what is a computer instruction"?

Instructions are the instructions and commands that direct the work of the machine, the program is a series of instructions arranged in a certain order, and the process of executing the program is the working process of the computer.

The controller directs the machine to work by instructions, and people use instructions to express their intentions and hand them over to the controller for execution. The total number of different instructions that a computer can execute is called a computer's instruction system. the first computer has its own specific instruction system, and its instruction content and format are different.

Usually an instruction includes two aspects: one refers to what operation the machine performs, that is, to give the operation requirements, and the other is to point out the address of the operands in the memory or general register group, that is, the address of the operands.

In a computer, operation requirements and Operand addresses are represented by binary numbers, called opcodes and address codes, respectively, and the whole instruction is stored in memory in the form of binary coding.

The type and how much of the instructions are related to the specific model, which will not be detailed here, please refer to the specific machine data manual.

The sequential execution of instructions will complete the execution of the program, so it is necessary to understand the execution process of instructions. The first is to fetch instructions and analyze instructions. According to the order specified by the program, the currently executed instructions are taken from the internal memory and sent to the instruction register of the controller to analyze the instructions, that is, to determine what the computer should do according to the operation code in the instructions.

The second is to execute instructions. According to the result of instruction analysis, the controller sends out a series of control potentials needed to complete the operation in order to direct the relevant parts of the computer to complete the operation and to prepare for the next instruction.

Thank you for your reading. the above is the content of "what is a computer instruction". After the study of this article, I believe you have a deeper understanding of what is a computer instruction, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report