Command decoding

from Wikipedia, the free encyclopedia

Instruction decoding refers to the process in which the processor breaks down the machine instructions into their component parts.

Machine commands of the Von Neumann architecture consist of different parts. The command coding denotes the second phase in the Von Neumann cycle . Here the command is broken down into its individual components so that the individual parts can be further processed in later phases according to their functions.

How the command is composed exactly depends on the architecture (see computer architecture ). The OpCode (the control signal), for example, which is applied to the control unit , is used to determine which operation the processor will carry out in the subsequent execution phase. The addresses of the registers are applied to the ALU so that the arithmetic unit can work on it in the next cycle or the next stage. There are also architectures such as B. the MIPS architecture , which again contain a separate part from the OpCode in the machine command that controls the ALU if necessary.