1.2 The CPU Flashcards
CPU stands for
Central
Processing
Unit
Importance and use of CPU
Process all the data and instructions that make the system work
CPU has three main parts those being
The control unit
The arithmetic logic unit
The cache
What is the control and what is the use of it
Overall control of the CPU
Executes programs by following the FDE cycle
Controls the flow of data inside the CPU (registers, ALU, cache) and outside (main memory and input/output devices)
What does ALU stand for
Arithmetic
Logic
Unit
What is the ALU and it’s uses
Preforms calculations
Completes simple addition/subtraction/multiplication/division
Compares size of numbers
Logical operations (AND, OR, NOT) and binary shifts
Contains accumulator
What is cache and its use
Very fast memory in CPU (compared to RAM)
Stores regularly used data so CPU can access quickly (CPU checks cache if not there then fetches from RAM)
Low capacity and expensive
The CPU contains varies registers which
They temporarily hold tiny bits of data needed by CPU
Super quick to read/write
What is the Von Neumann design
It describes a system where the CPU runs programs stores in memory
Programs consist of instructions and data which are stored in memory as addresses
What is inside a CPU
3 boxes on the Von Neumann design
Control unit
Registers
ALU
What is inside the control unit and why is this important
The program counter (PC)
This holds the memory address of the instruction for each cycle
What is inside the ALU and why is it important
Accumulator
Stores the results of calculations
What are the 4 processor registers
Pc (program counter)
MAR (Memory Address Register
MDR ( Memory Data Register)
CIR (Current Instruction Register)
What is PC
Hold the location of the next instruction/data address in main memory
What is MAR
Memory address register
The contents of the PC are copied here and then transferred along the address bus