Home > Common Problem > What is the part of a computer instruction that specifies the function of the operation it performs?

What is the part of a computer instruction that specifies the function of the operation it performs?

Release: 2020-03-21 11:22:19
Original
12524 people have browsed it

What is the part of a computer instruction that specifies the function of the operation it performs?

#In computer instructions, the part that specifies the operation function it performs is called an opcode.

The opcode refers to the part of the instructions or fields (usually represented by codes) specified in the computer program to perform the operation. It is actually the instruction sequence number, which is used to tell the CPU which instruction needs to be executed.

The operand (operand) is a component of the computer instruction. It specifies the amount of numerical operations performed in the instruction. Operands indicate the source of data required for the operation performed by the instruction. An operand is a field of an assembly language instruction.

Usually an instruction contains operators and operands. For example: in the comparison instruction, the operator specifies the computer to perform the comparison operation, and the operand specifies the two values ​​to be compared.

The operand is the participant in the execution of the instruction, that is, the object of various operations. Related to it is the opcode. The so-called opcode describes what the computer wants to perform, such as transmission, operation, shift, etc. Operations such as jumps are an indispensable part of instructions.

The above is the detailed content of What is the part of a computer instruction that specifies the function of the operation it performs?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template