Chapter 1 - Processor Components (1.1) Flashcards
What components does the CPU contain? (10)
- Control Unit
- Control Bus
- Data Bus
- Address Bus
- Arithmetic Logic Unit
- Accumulator
- Program Counter
- Current Instruction Register
- Memory Address Register
- Memory Data Register
What does the Control Unit do?
Controls and coordinates activities of CPU and Fetch Decode Execute cycle, also contains the clock
What is the Control Bus?
transmits control signals and provides status info between system components, coordinates the use of the data and address buses
Is the control bus bi-directional?
Yes
Give examples of the control lines from the control bus. (6)
- Bus Request
- Bus Grant
- Memory Write
- Memory Read
- Interrupt Request
- Clock
What is a Bus Request?
indicates device is requesting use of data bus
What is a Bus Grant?
indicates CPU granted access to data bus
What is a Memory Write?
causes data on data bus to be written into addressed location
What is a Memory Read?
causes data from addressed location to be placed on data bus
What is an Interrupt Request?
indicates device is requesting access to CPU
What is a Clock?
synchronises operations
What is the Data Bus?
transmits data and instructions between system components
Is the Data Bus bi-directional?
Yes
What is the Address Bus?
transmits memory addresses specifying where data is to be sent to or retrieved from so that data is received and sent back to processor
Is the address bus bi-directional?
No
What is the Arithmetic Logic Unit?
Performs arithmetic and logic operations on data
Give examples of what the Arithmetic Logic Unit can do. (6)
- Adding
- Subtracting
- Multiplying,
- Dividing
- Comparing
- Boolean (AND, OR, NOT)
What is a Register?
Small but fast piece of memory which holds info for CPU to work
What is the Accumulator?
Holds results of operations carried out
What is the Program Counter?
Holds address of next instruction to be executed
What is the Current Instruction Register?
Holds current instruction being executed and divides it into operand and opcode
What is the Memory Address Register?
holds address of memory location that is to be read/written to.
What is the Memory Data Register?
stores data read from or written to memory (also known as memory buffer register)
State the Fetch phase of the Fetch Decode Execute Cycle. (3)
- address from next instruction copied from program counter to memory address register
- instruction held at MAR is copied to memory data register via data bus, simultaneously contents of PC is incremented so it holds address of next instruction
- contents of MDR copied to current instruction register
State the Decode phase of the Fetch Decode Execute Cycle. (1)
- instruction held in CIR is decoded and split into opcode and operand
What is opcode?
determines type of instruction and what hardware to execute it
What is operand?
address where the operation is performed
State the Execute phase of the Fetch Decode Execute Cycle. (1)
- Appropriate instruction/opcode carried out in operand and executed