1.1 - Systems Architecture Flashcards
What is the purpose of CPU?
- To process data
- A place where processes like, sorting, searching & calculating take place
What are the three stages of the fetch-execute cycle?
Fetch
Decode
Execute
What happens at each stage of the fetch-execute cycle?
Fetch:
- Fetches next instruction from main memory CPU
- Brings instructions back
Decode:
- Inspects instructions, works out what needs to be done
Execute:
- Carries out the instruction
What is the CPU?
- Central processing unit
- Decodes and executes instructions
What are the four main components of CPU?
- Arithmetic Logic Unit (ALU)
- Control Unit (CU)
- Cache
- Registers
What is the function of the ALU?
- Carrying out arithmetic calculations
- Making logical decisions
- Handles bit shifting
What is the function of the CU?
- To send signals to control how data moves around the CPU
- Decodes instructions
What is the function of Cache?
- To provide fast access to frequently used instructions and data
What are Registers?
- Tiny, super fast pieces of onboard memory inside the CPU, each with a very specific purpose
- Enables FDE Cycle
What is the Von Neumann Architecture?
- Based on the stored program concept
- Instructions and data share the same memory space
- Instructions are fetched, decoded and executed one at a time
What does the VNA consist of?
- Control Unit (CU)
- Arithmetic Logic Unit (ALU)
- Main Memory (RAM)
- Inputs and Outputs
What registers does a VN CPU contain?
- Program Counter (PC)
- Memory Address Register (MAR)
- Memory Data Register (MDR)
- Accumulator
What is the function of a PC?
PC:
- Holds address of next instruction to be executed in memory
What is the function of an Accumulator?
Accumulator:
- Holds the results of calculations
- Used to hold the data currently being processed by the central processor
What is the function of MAR?
- Assists the FDE cycle
MAR: - Holds the memory address where data is to be fetched from or written to (currently being accessed)