1.1.1 - Structure and Function of the Processor Flashcards
What operations does the arithmetic logic unit do?
Arithmetical operations (+, -, *, /) Logical operations (AND, OR, NOT, XOR)
What is the function of the control unit?
The control unit directs the operations of the CPU. It does this by sending control signals to areas of the CPU to coordinate the operations.
Name the five registers in the CPU.
Program counter Accumulator Memory address register Memory data register Current instruction register
What is the function of the program counter?
The PC holds the address of the next instruction to be executed.
What is the function of the accumulator?
The accumulator stores the results of calculations.
What is the function of the memory address register?
The MAR holds the address of the location that is to be read from or written to.
What is the function of the memory data register?
The MDR temporarily stores data that has been read or data that needs to be written.
What is the function of the current instruction register?
The CIR holds the current instruction being executed, divided into operand and opcode.
What is the definition of a bus?
A bus is a set of parallel wires that connect two or more components inside the CPU.
Name the three buses in the CPU.
Data bus, address bus, control bus.
What are the three buses in the CPU collectively called?
The system bus.
What is the function of the data bus?
The data bus is a bi-directional bus that is used to transport data and instructions between components.
What is the function of the address bus?
The address bus is used to transmit the memory addresses that specify where data is to be sent or retrieved from.
What is the width of the address bus proportional to?
The number of addressable memory locations.
What is the function of the control bus?
The control bus is a bi-directional bus that is used to transmit control signals between internal and external components.
What does the control signal ‘bus request’ do?
It shows that a device is requesting the use of the data bus.
What does the control signal ‘bus grant’ do?
It shows that the CPU has granted access to the data bus.