1.1.1 Processors, input, output and storage Flashcards
Computer
A computer can process an input from a user in order to reach an output
CPU
Central processing unit
What does a CPU design depend on
What it is being used for
e.g. phone is smaller than a PC and is battery powered without a fan so it needs a smaller CPU with less functions
Components of a CPU
Control Unit
Buses
Arithmetic Logic Unit
Designated Registers
Control unit
Processes instructions for the CPU
Buses
Move signals around
Consist of connectors that transfer signals between components
8/16/32/64 lines
3 types of bus
Address bus - where it is going ; CPU to RAM
Data bus - carries the data around ; both ways
Control bus - controls data instructions ; both ways
Arithmetic logic unit
Carries out arithmetic and outputs - stores results in the accumulator
CIR
Current instruction register
Holds the current instruction that is being followed
PC (register)
Program counter
Memory address of the next instruction
MAR
Memory address register
Holds the address of where data is being read/written
MDR
Memory data register
Holds data between processor and memory
AC
Accumulator
Stores the result of logical calculations
What must you call registers by?
Their full names - NO ACRONYMS
Fetch
CPU fetches data and stores in registers
- PC transfers address of next instruction to MAR
- Instruction from that address is carried to MDR
- Simultaneously PC value increases by 1
- Contents of MDR are transferred to CIR