Components of a computer and their uses Flashcards
Registers
Registers are small storage locations used to hold data temporarily. They have high read and write speeds.
Current Instruction Register
Holds the current instruction that is being executed, divided into operand and opcode.
Memory Data Register
Stores the data which is to be sent or fetched from memory
Memory Address Register
Stores the address of instructions and data that need to fetched from or sent to memory
Opcode
The actual instruction
Operand
the data the instruction applies to
Program Counter
stores the memory address of the next instruction.
it is incremented after an instruction has been read from memory and interpreted
Arithmetic Logic Unit
completes all the arithmetic (addition and subtraction) and logical operations (including AND, NOT, OR and XOR) as well as binary shifts
Control Unit
Control unit is a register in the CPU that controls and coordinates the activity of the CPU.
Control signals are sent along the control bus between the control unit and the other components of the computer.
Jobs of the control unit
- Controlling and coordinating the activities of the CPU
- Managing the flow of data between the CPU and other devices
- Accepting the next instruction
- Decoding instructions
- Storing the resulting data back in memory
Address Bus
A one directional bus
It transmits memory addresses specifying where data is to be sent to or retrieved from in memory
Bottleneck address bus
the width of the address bus determines the maximum possible capacity of the system
Address bus average width
32 bits
What does the width of the address bus determine?
the max possible memory addresses of the system
Data Bus
A bi-directional bus for moving data and instructions between system components
Buses
the communication channel between the CPU, the memory and other components
System bus
Address Bus, Data Bus and Control Bus
Bottleneck Data Bus
A wider bus can transmit larger values/more bits per instruction
Data bus width
same as the computers word size
Control Bus
A bi-directional bus used to transmit control signals between internal and external components.
It coordinates the use of the buses (data and address).
It provides the status info between system components.
Width of the bus
is the number of parallel wires the bus has
The number of parallel wires the bus has
is the number of bits that can be transferred simultaneously
Control Signals
- memory read
- memory write
- bus request
- bus grant
- clock signal
- interrupt
Interrupt
A device sends a signal on the control bus to show the CPU it needs attention