1.1.1 Flashcards
Characteristics of contemporary processors, input, output and storage devices.
1
Q
What is the role of the control unit?
A
- Decodes instructions
- Sends and receives control signals from other components.
- Ensures the execution of instructions in the correct sequence.
- Receives a signal from the clock that is used to synchronise operations.
- Connected to all components.
2
Q
What is the role of the ALU?
A
- Arithmetic and logical bitwise operations.
- Comparisons and binary shifting.
3
Q
What is the role of the program counter?
A
- Holds the address of the next instruction to be executed.
4
Q
What is a register?
A
- A location of very high speed memory within the processor.
5
Q
What is the role of the CIR?
A
- Holds the instruction that the processor is currently executing
6
Q
What is the role of the MAR?
A
- Holds the address of the memory location that the processor needs to access.
7
Q
What is the role of the MDR/MBR?
A
- Holds the data that are read from or written to main memory.
8
Q
What is the role of the accumulator?
A
- Stores the result of any calculation processed by the ALU.
9
Q
What is the data bus?
A
- Bidirectional bus used for sending data .
10
Q
What is the address bus?
A
- Unidirectional bus used for sending memory addresses.
11
Q
What is the control bus?
A
- Unidirectional bus used for sending control signals.
12
Q
What is the role of the clock?
A
- Maintains the synchronisation of the components.
- Keeps track of current date and time.
13
Q
What is the cache and its role?
A
- A type of volatile memory that stores small amounts of frequently used data and instructions.
- Reduces amount of time taken to fetch data as it is faster to access and it is closer to the CPU.
14
Q
What happens in the fetch stage?
A
- Address stored in PC is copied to MAR (AB).
- PC increments to the address of the next instruction (AB).
- Control unit instructs a memory read to allow the contents of the memory location to be transferred to the MDR (DB).
- Instruction in the MDR is copied to the CIR in order to free the MDR for the execute stage (DB).
15
Q
What happens in the decode stage?
A
- Control unit decodes the instruction kept in the CIR.
- Splits the instruction into operand and opcode to determine the type of instruction.
- Control unit generates specific control signals based on decoded instruction.