Chapter 2, Topic 1 Flashcards
CPU and its Elements
1
Q
Elements in CPU
A
- Arithmetic Logic Unit (ALU)
- Control Unit (CU)
- Memory address Register (MAR)
- Memory Data Register (MDR)
2
Q
Function of Control Unit
A
- Responsible for the operation of the CPU. Controls the retrieval of instruction from primary memory as well as the sequence of their execution.
- Contains various registers: a small storage location that can hold data.
- Basic registers in CU are MAR and MDR.
3
Q
Function of the Arithmetic Logic Unit
A
- Performs all basic arithmetic, logic or input/output operations.
4
Q
Relationship between CU and ALU
A
- check slide number 8.
- CU is responsible for providing ALU with data that needs to be processed as well as instruction of how data should be processed
5
Q
Function of Memory Address Register
A
- Holds the memory address of the data to be used by ALU, so that ALU can fetch corresponding content from the memory and process it accordingly.
- May also hold the memory address of where data that has been process will need to be stored.
- In order for MAR to communicate with primary memory, a connection is necessary, accomplished by the Memory Bus.
6
Q
Function of Memory Data Register
A
- Holds the data that is to be used by ALU and then saved to the RAM.
- Whichever memory address location MAR is holding, corresponding data will be loaded onto MDR for processing by the ALU.
- Connection between RAM and MDR accomplished by the Data Bus.
7
Q
Block diagram of relationships between elements in the CPU
A
Check slide number 11.
8
Q
Function of Busses
A
- Wires that connect CPU to other devices, carrying instruction to/from components.
- Normally built into the motherboard.
- Most important: Data Bus (links RAM to CPU via MDR), Control Bus (links RAM to CPU via CU), and Memory Bus (links RAM to CPU via MAR).
9
Q
Diagram of relationship between elements in CPU including busses (helps to understand)
A
Check slide 13.