1.1 Structure/Function Of The Processor Flashcards
What are the components of the CPU?
arithmetic logic unit
control unit
registers
cache memory
What is the purpose of the ALU?
Performs all of the arithmetic calculations and logical operations of the CPU. This includes +- AND/OR/NOT etc.
What is the purpose of the CU?
- Controls and coordinates the activities of the CPU
- Manages the flow of data between the CPU and memory
- Accepts and decodes instructions
What are registers?
Small memory cells that operate at very high speeds and temporarily store data.
What are the special purpose registers in the CPU?
Program Counter
Memory Address Register
Memory Data Register
Current Instruction Register
Accumulator
What does the PC do?
Stores the address of the next instruction to be executed, automatically increments by 1 unless told otherwise.
What does the MAR do?
Stores the address of the location in memory that is to be read from/written to.
What does the MDR do?
Stores data that has been read from or is going to be written to main memory.
What does the current instruction register do?
Stores the current instruction being executed, divided into opcode and operand.
What does the accumulator do?
Stores the result of the ALU’s calculations.
What is a bus?
A set of parallel wires that transfers data between CPU components as well as to/from external components such as memory.
What are the 3 buses in the CPU?
data bus
address bus
control bus
What does the data bus do?
Transports data/instructions between components bi-directionally.
What does the address bus do?
Transmits memory addresses specifying where data is to be read from or written to.
What does the control bus do?
Transmits control signals between components, this includes:
- bus request
- bus grant
- memory write
- memory read
- interrupt request
- clock signals to synchronise operations