Hey all,
Is this right??
The fetch-execute cycle involves the performance of an instruction by the CPU, taking it from memory and splitting it into it's opcode and operand to calculate a result and change memory.
1) Program counter (which stores the current location of the instruction being run) is accessed
2) Via registers and data buses, the instruction at the location in memory (provided by the PC) is accessed
3) The instruction is split into opcode and operand (stored in a seperate register)
4) the ALU performs the requested instruction and stores the result in the accumulator (used as temporary storage)
5) PC increments and the next instruction is performed
Thanksss,
Is this right??
The fetch-execute cycle involves the performance of an instruction by the CPU, taking it from memory and splitting it into it's opcode and operand to calculate a result and change memory.
1) Program counter (which stores the current location of the instruction being run) is accessed
2) Via registers and data buses, the instruction at the location in memory (provided by the PC) is accessed
3) The instruction is split into opcode and operand (stored in a seperate register)
4) the ALU performs the requested instruction and stores the result in the accumulator (used as temporary storage)
5) PC increments and the next instruction is performed
Thanksss,