1.1 System architecture Flashcards
what is the purpose of the CPU?
Fetch, decode and execute
Describe the the fetch-execute cycle
1) The computer fetch the instruction from the main memory and bring it into the CPU
2) The instruction is then decoded
3) The instruction is then executed and displays a result.
What are the CPU common components?
CU (control Unit)
Cache
Registers
ALU
What is the function of the ALU? (arithmetic logic unit)
It carries out calculations and make logical decisions
What is the function of the control Unit (CU)?
Controls the flow of data inside and outside the CPU
What is the function of Cache?
Provides fast access to frequently used instructions and data.
What is the function of registers?
super fast pieces inside the CPU that each carry out a specific purpose.
What is the Central processing unit? (CPU)
The brain of the computer
What was in Von Neumann architecture?
MAR - Memory address register MDR - memory data register PC - Program counter accumulator CU - control unit
What is the function of the MAR?
memory address register
- Holds the address about to be used by the CPU
Name all the registers in the CPU?
- MAR (memory address register)
- MDR (memory data register)
- Accumulator
What is the function of the MDR?
Memory data register
- Holds the memory or instruction.
What is the function of the accumulator?
Stores the intermediate results of calculations in the ALU.
What is the function of the program counter?
To hold the memory address of the instruction for each cycle