ohjelmakierto
Ohjelmakierto, often translated as program loop or execution cycle, refers to the fundamental process by which a computer executes a program. It is the continuous, repetitive sequence of operations that a processor performs to run software. The basic cycle consists of three main stages: fetch, decode, and execute.
In the fetch stage, the processor retrieves the next instruction from memory. The instruction's address is typically
The decode stage interprets the instruction to understand what operation needs to be performed and what data,
Finally, the execute stage carries out the decoded instruction. This could involve arithmetic or logical operations,