Introduction
Brief
Central Processing Unit (CPU)

Memory
Control Unit
Instruction Cycle
FETCH
The next machine instruction address is read from the Instruction Address Register (IAR). It is then loaded from the Cache or RAM into the Instruction Register (IR).
DECODE
The instruction decoder converts the instructions and starts the necessary circuits to execute the instruction.
FETCH OPERANDS
If further data have to be loaded for execution, these are loaded from the cache or RAM into the working registers.
EXECUTE
The instruction is executed. This can be, for example, operations in the ALU, a jump in the program, the writing back of results into the working registers, or the control of peripheral devices. Depending on the result of some instructions, the status register is set, which can be evaluated by subsequent instructions.
UPDATE INSTRUCTION POINTER
If no jump instruction has been executed in the EXECUTE phase, the IAR is now increased by the length of the instruction so that it points to the next machine instruction.
Last updated
Was this helpful?