4.7 Flashcards
What is bus width?
The number of wires a bus has.
What is the system bus?
The bus that connects the processor, main memory and the i/o controllers.
What is the system bus made from?
The data bus, the address bus and the control bus.
How does the cpu interact with i/o devices?
Via the system bus which connects to an i/o controller. This controller then connects to the peripheral device.
What is a peripheral device?
A device that is connected to the computer system but is not under direct control of its processor.
What is the data bus?
Carries data bidirectionally between the processor and memory.
What is the control bus?
A bidirectional bus that allows the control unit inside the cpu to send commands and status information between components.
What is the address bus?
The address bus carries addresses from the cpu to memory.
What is main memory?
A contiguous block of read write randomly accessible storage locations.
What can be said about each individual memory location?
Can remember one binary word. It can change the word if it receives a write request. It has a unique integer address. It can provide a copy of its contents when a read request is given.
What two facts about main memory lead it to being referred to as RAM?
- It is volatile.
- The contents are not restored when powered up again instead each location has a random pattern of bits.
What does RAM stand for?
Random access memory
What are i/o controllers?
It is an internal component that allows the processor to interact with a peripheral device through an i/o port.
What is the difference between Von Neumann architecture and Harvard architecture?
Harvard architecture has a separate ram for the instructions and the data whereas Von Neumann uses the same architecture.
Where is Von Neumann architecture used?
General purpose computing systems.
When is Harvard architecture used?
Embedded systems such as digital signal processing.
What are the two addressing modes?
immediate or direct.
What is immediate addressing?
When the operand value in an instruction is the actual data.
What is directional addressing?
When the operand value in an instruction contains the memory location of the data.
What is the stored program concept?
Machine code instructions are stored in main memory. They are fetched and executed serially by a processor that performs arithmetic and logical operations.
State the main components of a processor.
Arithmetic logic unit, control unit, clock, general purpose registers, program counter, current instruction register, memory address register, memory buffer register and the status register.
What is the arithmetic logic unit?
A unit that performs arithmetic ie division multiplication addition subtraction. It also performs logic ie simple logic circuits such as AND or XOR.
What is a control unit?
The component that controls how data moves around the cpu and memory.
What is the clock?
It is a pulse measured in hertz that repeatedly switches between 1 and 0. The cpu uses the clock to decided how fast to work.
What are the general purpose registers?
Registers inside the CPU that can be used to store general information currently required.
What is the program counter?
A store for the address of the next instruction.
What is the current instruction register?
A store for the instruction that is currently being decoded and executed.
What is the memory address register?
Stores the address of the data that is going to be fetched/read/sent/written to the memory address stored.
What is the memory buffer register?
Stores the data that is to be sent/written/was fetched from memory.
What is a status register?
A collection of flags that can be used by the cpu to know the current state of the program being executed.