Explain how data is fetched, decoded, and executed using von Neumann?
List all components in the Von Neumann Architecutre.
What are general purpose registers?
-Hold temporary data when performing operations
- Used for any purpose
- Can be used by most instructions
-Do not have a specific function
What are special-purpose registers, and give an example.
PC, MAR, MDR
- Hold status of a program
- Specialised for specific use
- Can only be used by certain instructions
What does the program counter do?
What does the memory address register do?
-stored address from memory location currently being read from or written to (where data is being fetched from)
What does Memory Data Register do?
Memory Data Register
- holds the data fetched from the RAM via the data bus from the location that the MAR
- data is copied to CIR which stores the data
What is the index register?
What is the function of the MDR
What is the status register
What does the control unit do?
CU
-synchronises actions of other components in the CPU based on pulses of system clock
-sends/receives control signals along the control bus
-manages the execution of instructions - decodes an instructions opcode during FE cycle
-controls communication between components of CPU
- types of signals it transfers: interrupt, timing, read & write
What is the ALU responsible for/what does it do?
-Performs arithmetic operations (addition, subtraction, etc.)
-Performs logical operations (AND, OR, NOT, comparisons)
- Uses data from registers
-stores results back into a register (often the accumulator)
What does the accumulator do?
Stores temporarily the result of the calculation from the ALU
What is the purpose of the system clock
Generates regular timing signals
Synchronises all CPU operations
Controls the speed of instruction execution
Higher clock speed → more cycles per second
What is Immediate Access Store
Another term for main memory (RAM)
Stores data and instructions currently in use
Directly accessible by the CPU
Faster than secondary storage
What is the role of the adress bus.
Carries memory addresses
One-way bus (CPU → memory / I/O devices)
Width determines maximum addressable memory
What is the role of the control bus
Control bus
Carries control signals
Signals include read, write, clock, interrupt
Coordinates actions between components
What is the role of the data bus.
Data bus
Carries data and instructions
Two-way (bidirectional)
Width affects how much data can be transferred at once
What are the factors that affect the speed of the CPU
What is the system clock
What is immediate access store
How is data transferred between components
How does the number of cores increase processing
-Each core processes one instruction per clock pulse
-more cores mean that more sequences of instructions can be carries out simultaneously
-multiple instructions can be executed per clock pulse
- decreased time taken to complete a task)
Why may more cores not increase processing speeds