fetch execute cycle Flashcards
(10 cards)
What are the 4 main components of a cpu
arithmetic logic unit (alu), control unit (cu), clock and bus
What does a control unit do?
- controls the execution of instructions in the correct sequence
- it decodes instructions
- it regulates and controls processor timing using regular pulses from the system clock
- it sends and receives control signals to and from other devices within the computer
What does the clock do in the CPU
The system clock controls processor timing, switching between zero and one at rates exceeding several million times per second. It synchronizes all CPU operations.
The clock frequency is the number of clock cycles which occur each second
What are the 3 main things that the ALU does?
- logic operations (e.g AND, OR , NOT)
- shift operations
- arithmetic operations (addition, subtraction)
What are the 3 buses
address bus ,control bus , data bus
What happens in the fetch part of the fetch execute decode cycle?
-The address of the instruction (that is going to be executed) is fetched from the register
What happens in the decode part of the fetch execute decode cycle?
The control unit decodes the instruction to see what has to be done next.
What happens in the execute part of the fetch execute decode cycle?
The processor checks the program counter to see which instruction to run next.
The program counter gives an address value in the memory of where the next instruction is.
The processor fetches the instruction value from this memory location.
What factors can affect a cpu’s performance
clock speed , amount of cache and amount of processor cores
What is the fetch decode execute cycle also known as
The instruction cycle