1.1.1 - CPU, ALU, Registers, Buses, FDE Cycle Flashcards
CPU - What is it?
The Central Processing Unit is a processor that has a number of components which enable it to execute instructions.
CPU - What are it’s components?
- Control Unit
- Buses
- ALU (Arithmetic Logic Unit)
- Registers
Control Unit - What is it and What does it do?
A component on the CPU that controls and coordinates activity of the CPU. Directs the flow of data between the CPU and other devices.
Control Unit - Process
- Accepts next instructions
- Decodes it into separate steps
- Manages it’s execution
- Stores the result in memory or registers
Buses - What are they?
A set of parallel wires connecting two or more components of a computer. They are essentially paths that allow data to flow across.
Buses - Process
The processor is connected to the main memory by three separate buses. When the CPU wants to access a main memory location it sends the address to the address bus. The data in that location is returned to the CPU on the data bus. Control signals are sent along the control bus.
Buses - Control Bus | What is it used for?
Used to transmit a command, timing and status info between components. Data can flow along the control bus both ways. Control lines are provided to stop conflict.
Buses - Data Bus | What is it used for?
Used for moving data and instructions between components. Data can flow both ways along the data bus.
Buses - Address Bus | What is it used for?
Used to store memory addresses from which data will be fetched or sent and stored
Buses - Address Bus | What are words and what do they do?
Memory is divided into units called words. A word is a fixed size group of digits. Each word in memory has it’s own address and the address bus transmits the memory addresses of words that are used as operands in program instructions.
ALU - What does it do?
The arithmetic logic unit performs logical operations on the data such as ADD, SUBTRACT, MULTIPLE or DIVIDE. It can also perform shift operations which is shifting bits to the left or right within a register and can carry out Boolean logic operations comparing two vales using operations such as AND, OR, NOT
Registers - What are they?
Special memory cells that operate at high speed
Registers - What are stored in them?
Results of all arithmetic, logical or shift operations are temporarily stored in registers
Registers - Accumulator | What is it and what does it store?
A simple register that stores all the results from operations.
Registers - What are some examples of special purpose registers?
- Program Counter (PC)
- Current Instruction Register (CIR)
- Memory Address Register (MAR)
- Memory Data Register (MDR)