Section 1 - Chapter 1: Processor Components Flashcards
What is a CPU and what does it compose of?
The CPU, also known simply as the processor, has a number of different components which enable it to carry out its task of executing instruction. These components include:
- control unit
- buses
- arithmetic logic unit (ALU)
- dedicated registers
What is the role of the control unit?
The control unit coordinates and controls the activities of the CPU, by directing the flow of data between the CPU and other devices. It accepts the next instruction, decodes it and manages its execution, storing the resulting data back in memory or registers.
What is a bus?
A bus is a set of parallel wires connecting two or more components of a computer. It typically consists of 8,16,32 or 64 lines.
How do buses work?
When the CPU wishes to access a particular main memory location, it sends this address to memory on the address bus. The data in that location is then returned to the CPU on the data bus. Control signals are sent along the control bus.
What are the 3 types of buses?
The three types of buses are:
- Control Bus
- Data bus
- Address Bus
These three buses are known collectively as the SYSTEM BUS
Which buses sends/carries signals in both direction?
Control and data bus. The address bus does not.
What is the control bus?
The control bus is a bi-directional bus, meaning that signals can be carried in both directions. The data and address buses are shared by all components of the system.
Why are control lines used?
To ensure access to and use of the data and address buses by the different components of the system does not lead to conflict.
What is the purpose of the control bus?
The purpose of the control bus is to transmit command, timing and specific status information between system compnents.
What do control lines include?
Control lines include:
- Bus Request: indicates that a device is requesting the use of the data bus
- Bus Grant: indicates that the CPU has granted access to the data bus
- Memory Write: causes data on the data bus to be written into the addressed location
- Memory Read: causes data from the addressed location to be placed on the data bus
- Interrupt Request: indicates that a device is requesting access to the CPU
- Clock: used to synchronize operations
What is the data bus?
The data bus, typically consisting of 8,16,32, 64 separate lines, provides a bi-directional path for moving data and instructions between system components
Address Bus - what is memory divided into?
Memory is divided up internally into units called words
Address Bus - What is a Word?
A word is a fixed size group of digits which is handled as a unit by the processor.
What does the Address Bus do?
The address bus transmits the memory addresses of words that are used as operands in program instructions, so that data can be retrieved and sent back to the processor.
What does the ALU do?
The ALU performs arithmetic and logical operations on the data. It can perform instructions such as:
- ADD, SUBTRACT, MULTIPLY, DIVIDE
- Shift Operations
- And can carry out Boolean logic operations.