Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The execution of instructions in a computer

Shulou Source: shulou.com Published: 2022-06-02 14:29:44 09月30日 Update

This article is about the execution of instructions in computers. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

The completion of an instruction generally has two stages: instruction fetch and instruction execution. Execution process: first, according to the order specified by the program, the current execution instruction is fetched from the internal memory and sent to the instruction register of the controller to analyze the fetched instruction; then, the execution instruction is executed, and according to the instruction analysis result, the controller issues a series of control potentials required to complete the operation.

The completion of an instruction generally has two stages: instruction fetch and instruction execution.

relevant

Computer instructions are 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 commands the machine to work, and people express their intentions with instructions and give them to the controller to execute.

execution of instructions

The first is to fetch instructions and analyze instructions. 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, and the fetched instructions are analyzed, that is, according to the operation code in the instructions, what operation the computer should perform is determined.

Second is the execution of instructions. According to the command analysis result, the controller sends out a series of control potentials needed to complete the operation, so as to instruct the relevant parts of the computer to complete the operation, and at the same time, it is ready for taking down the next command.

Thank you for reading! About "the execution process of instructions in the computer" this article is shared here, I hope the above content can be of some help to everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Tags: Instruction control computer process controller analysis program that is work command middle finger two memory internal memory content more machine sequence potential article Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Huawei vpn Microsoft Shulou Technology