Control unit
Buses
Buses - Control bus
Ensures that access to and use of data and address buses does not lead to conflict; transmits command, timing and specific status information e.g.
- Memory write – data on the data bus is written into the addressed location
- Memory read – data from addressed location is read
- Clock – used to synchronise operations
Buses - Data bus
Provides path for moving data and instructions; largest operand possible is determined by the width of the data bus
Buses - Address bus
Transmits memory addresses of words, so that data can be retrieved; width of address bus determines the maximum possible memory capacity
- Words – a fixed size group of digits which memory is divided into; different types of processors have different word sizes; each has a specific memory address
ALU
Performs arithmetic and logical operations on data e.g. add, multiply, shift operations and boolean logic operations
- it is a type of register
Registers
Special memory cells that operate at very high speeds
There 16 general-purpose registers, but the accumulator (holds result of operation) takes the place all of them for simplicity
Registers - PC
Holds address of next instruction to be executed; could jump to another instruction/not go in a sequence
Registers - CIR
Holds current instruction being executed
Registers - MAR
Holds the address of the memory location from which data/instructions need to be fetched or written to
Registers - MDR
Used to temporarily store data from or to be written to memory
FDE cycle - Fetch
FDE cycle - Decode
FDE cycle - Execute
Registers - ACC
Temporarily holds result of arithmetic or logic operation