Structure and Function of the Processor Flashcards
What are the Factors that Affect CPU performance ?
- Clock Speed
- Number of Cores
- Cache Memory (size, number of levels)
- Bus Width/Speed
- Size RAM(So we don’t use VM)
- GPU
What is the structure of the processor?
Clock
Control Unit
ALU
Registers
What does the ALU do?
ALU-Used to compare and complete arithmetic operations
What does the Control Unit?
Control unit - Controls different parts of the CPU, and uses it to decode instructions
What does the Clock do?
Clock - Synchronises the fetch decode execute cycle
What do the registers do?
Small fast memory used to store interim values for the FDE cycle
What does the Accumulator do?
To store working values
What does the Program Counter do?
Stores the address of the next instruction
What does the MAR (Memory Address Register) do?
To store an address that we wish to send to main memory
What does the MDR (Memory Data Register) do?
Stores values retrieved from memory/to save back to memory
What does the CIR (Current Instruction Register) do?
Stores the instruction that is currently being decoded and executed
What are the 3 buses
- Address Bus
- Data Bus
- Control Bus
What are the 3 registers?
- MAR (Memory Address Register)
- MDR (Memory Data Register)
- CIR (Current Instruction Register)
What does the Address Bus do?
Only holds addresses, one direction only CPU -> Memory
What Does the Data Bus do?
Data can travel in either direction. Carries instructions and data