Home >Common Problem >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!