Section 5 Chapter 26 - The processor Flashcards
Components of the processor (5)
- ALU
- Control unit
- System clock
- General purpose registers
- Dedicated registers
System clock
Switches between 1 and 0 millions of times per second. Each CPU operation starts as the clock changes from 0 to 1
General purpose register
A very fast piece of memory where arithmetic and logical operations take place.
Accumulator
A general purpose register where the processor only has one
Dedicated registers (5)
- Program counter (PC)
- Current Instruction Register (CIR)
- Memory address register (MAR)
- Memory buffer register (MBR)
- Status register (SR)
Program Counter
Holds the address of the next instruction to be executed
Current Instruction Register
Holds the current instruction being executed
Memory address register
Holds the address of the memory location from which data is to be fetched or written
Memory buffer register
Used to temporarily store the data read or written from memory
Status register
Contains bits that are true depending on the result of an instruction, for instance if an overflow occurs
Factors affecting processor performance (6)
- Number of cores
- Amount and type of cache
- Clock speed
- Word length
- Address bus width
- Data bus width
Why dual core processors are not always twice as fast
The software may not be able to take advantage of both cores
Cache
A small expensive and very high speed memory located inside or near the CPU
What cache stores
When an instruction is fetched from main memory it is stored in cache in case it is needed again
The levels of memory (by speed)
Registers L1 cache L2 cache L3 cache RAM