Fetch-Execute Cycle


The processor's task:

{
    Address PC; /* program counter */

    forever {
        fetch instruction from Memory[PC++];
        determine what kind of instruction;
        fetch any necessary data;
        carry out the specified operation;
    }
}

Index