Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Where are the computer instructions mainly stored?

Shulou Source: shulou.com Published: 2022-06-02 13:00:45 11月12日 Update

This article mainly introduces where the computer instructions are mainly stored, the article is very detailed, has a certain reference value, interested friends must read it!

Computer instructions are mainly stored in "internal memory". Usually an instruction includes two aspects: the opcode and the Operand, which determines the operation to be completed, and the Operand refers to the data participating in the operation and the address of the unit in which it resides; and the whole instruction is stored in memory in the form of binary coding.

Computer instructions are mainly stored in "internal memory".

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

Usually an instruction includes two aspects: the opcode and the Operand, the opcode determines the operation to be completed, and the Operand refers to the data participating in the operation and the address of the unit in which it is located.

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 execution process of an instruction

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.

The above is all the contents of the article "where are the computer instructions mainly stored?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Instruction computer Operand control content address controller binary memory internal memory that is program process analysis work command unit memory form location Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MariaDB OPPO Reno Xiaomi Linux