Structure and Function of the Processor Flashcards
What is inside the CPU (Central Processing Unit )
- ALU (Arithmetic Logic Unit)
- Registers
- Control Unit
What does the Arithmetic Logic Unit (ALU) do
Completes all the arithmetical and logical operations
Name the different Control Units and their function
- PC (Program Counter) - holds the address of the next instruction to be executed by the processor
- ACC (Accumulator) - stores the results from calculations
- MAR (Memory Address Register) - temporarily holds the address of the memory location that the processor needs to access
- MDR (Memory Data Register) - temporarily holds the data that the processor needs to access
- CIR (Current Instruction Register) - holds the current instruction that the processor is executing divided into opcode and operand
What are the functions of the Control Unit
- Directing the operations inside of the CPU
- Decodes instructions
- Sends control signals to coordinate movement of data through the processor / execute instruction
- Controls buses
Describe two ways in which the accumulator is used
- Temporary storage during calculations.
- I/O in processor and is used as a buffer.
What are registers
Small memory cells inside of the CPU that operate at high speeds and temporarily store data
What is a bus
A set of parallel wires which connect two or more components inside the CPU
What is the width of a bus
The number of parallel wires it has, this is directly proportional to the number of bits that can be transferred simultaneously at any given time
What are the three buses inside the CPU
- Address Bus
- Data Bus
- Control Bus
Describe the function of the three buses
- Address Bus - transmits the memory addresses between components
- Data Bus - bi-directional bus that transmits data and instructions between components
- Control Bus - bi-directional bus that transmit control signals between components
What is the system bus
The collection of the data bus, address bus and control bus
What is the width of the address bus proportional to
The number of addressable memory locations
What does adding a wire to the address bus do to the number of addressable locations
It doubles the number of addressable locations
Describe the different control signals and their functions
- Bus request - shows that a device is requesting the use of the data bus
- Bus grant - shows that the CPU has granted access to the data bus
- Memory write - data is written into the addressed location using this bus
- Memory read - data is read from a specific location to be placed onto the data bus
- Interrupt request - shows that a device is requesting access to the CPU
- Clock - used to synchronise operations
What is Assembly Language
- A low level language that uses mneomincs to represent instructions
- The instruction is divided up into operand and opcode