The Processor Flashcards
Purpose of the CPU
- To process machine instructions
- Carry out the fetch-decode-execute cycle
3 Main components of CPU
CU, ALU, RAM
What is the CU?
Control Unit: Sends control signals to other components - responsible for organising the FDE of instructions
What is the ALU?
Performs calculations and makes logical decisions
What is RAM?
Holds the data and instructions for the currently running programs
What are registers?
Stores the programs which are needed instantly e.g. software applications
5 registers
1) Accumulator
2) PC
3) CIR
4) MDR
5) MAR
Accumulator
Holds the data currently being processed
Program Counter
Holds the memory address of the next instruction to be executed
Current Instruction Register
Stores the address of the instruction currently being executed
Memory Data Register
Stores data being transferred temporarily
Memory Address Register
Stores the address of the memory location currently in use
Address Bus
Carries the address of the memory locations
Data Bus
The contents of the instruction are carried
Control Bus
Informs whether the info is read or write control signals