State the basic internal components of a computer system.
What is the role of the processor?
The part of the computer which processes data by executing program instructions in the form of machine code which the processor is designed to handle based on a specific processor instruction set.
Describe the role of the main memory.
Memory that can be directly accessed by the processor
Outline the function of the address bus.
What is the function of the data bus?
Describe the function of the control bus.
Outline the role of the I/O controllers.
Define device drivers.
Software which interacts directly with I/O controller that must be installed in order to communicate with a peripheral
Briefly outline what a system bus is.
The system bus is a set of parallel connections that allow internal components to communicate with each other and exchange data.
Define a word.
the amount of data in terms of bits a CPU’s internal data registers can hold and process at one time
Define the stored program concept.
Machine code instructions are loaded into main memory to be executed by the processor.
These instructions are fetched one at a time and executed by the processor immediately in a sequential order.
What are the features of von Neumann Architecture? (+ drawbacks and uses)
Describe the features of Harvard architecture.
Arithmetic logic unit (ALU)
A component within the processor which is responsible for performing arithmetic calculations and logical operations.
Control unit
Clock
General-purpose registers
Program counter
Holds the address of the next instruction to be executed by the processor
Memory Address register
Temporarily holds the address of the memory location that the processor needs to access, either to read from or write to.
Memory Data/Buffer register
Temporarily holds the data that are read from or written to the main memory.
Current instruction register
Holds the current instruction that the processor is executing
Status register
Accumulator
Stores the result of any calculation processed by the ALU
Describe the steps of the fetch-decode-execute cycle.
FETCH
1. The memory location address is transferred from the program counter to the MAR
2. The program counter is incremented by 1
3. Memory read signal sent across control bus to main memory
4. Data/instructions from memory location is placed on data bus and stored in MBR
5. Instruction transferred from MBR to CIR
DECODE
6. Instruction is decoded in control unit by splitting into opcode and operand
7. Additional data is fetched from memory and passed to registers
EXECUTE
8. Instruction is executed by the ALU
9. GP registers store intermediate values of calculations
10. The final result is stored in the accumulator