Section 5 - Computer organisation and architecture Flashcards
What are some examples of internal components?
- Processor
- Main memory
- Address bus, control bus, data bus
- I/O controllers
What are internal components?
Components inside the CPU
What is the role of the CPU?
It responds to and processes the instructions that drive the computer
What does the CPU contain?
The control unit, the arithmetic logic unit (ALU) and the registers
What is the role of the control unit?
It coordinates and controls the activities of the CPU, directing the flow of data. It accepts the next instruction, breaks down its processing into several sequential steps, manages its execution and stores the resulting data back in registers or memory
What is the role of the ALU?
It performs arithmetic and logical operations on data.
What are examples of arithmetic operations?
Addition, subtraction, multiplication and division
What are examples of logical operations?
Comparing data, shifts, AND/OR
What is the role of the system clock?
It generates a series of signals used to synchronize CPU operations. Some operations take multiple clock cycles
What are general-purpose registers?
Up to 16 special memory cells that operate at a very high speed in the CPU.
What is an accumulator?
Another word for a general purpose register, usually used when there is just 1 register in which to store the result of each calculation or logical expression
What are the different types of dedicated registers?
- Program counter
- Current instruction register
- Memory address register
- Memory buffer register
- Status register
What is the role of the program counter?
It holds the address of the next instruction to be executed
What is the role of the current instruction register?
It holds the current instruction being executed
What is the role of the memory address register?
It holds the address of the memory location from which some data or an instruction is about to be fetched from, or to which the data is to be written
What is the role of the memory buffer register?
It is used to temporarily store the data read from or written to memory
What is the memory data register?
Another name for the memory buffer register
What is the role of the status register?
It contains the bits that are set or cleared depending on the result of an instruction
Where do all arithmetic and logical operations take place?
Within registers
What is a bus?
A set of parallel wires connecting 2 or more components to a computer
How is the processor connected to the main memory?
By 3 separate buses (the address bus, the data bus and the control bus)
What is the role of the address and data buses?
When the CPU wants to access a particular main memory location it sends the address to memory on the address bus. The data is then returned to the CPU via the data bus.
What is the role of the control bus?
To transmit command, timing and specific status information between system components
What are some examples of control lines?
- Memory write
- Memory read
- Interrupt request
- Bus request
- Bus grant
- Clock
- Reset
What is the function of the memory write control line?
Causes data on the data bus to be written into the addressed location
What is the system bus?
The collective name for the address, data and control buses.
How does the system bus work?
Each bus is a shared transmission medium so only 1 device can transmit along a bus at one time
What direction do signals across the address bus travel?
Only 1 way (from the CPU to main memory)
What direction do signals across the data bus travel?
Both ways
What direction do signals across the control bus travel?
Both ways
What is the function of the memory read control line?
Causes data from the addressed location to be placed on the data bus
What is the function of the interrupt request control line?
Indicates that a device is requesting access to the CPU
What is the function of the bus grant control line?
Indicates that the CPU has granted access to the data bus