1.1.1 Structure And Function Of The Processor Flashcards
What is the ACC?
A special register to temporarily store the results of operations performed by the ALU
What are the 3 buses?
Address, control and data
What does the address bus do?
This is the bus used to transmit the memory addresses specifying where data is to be sent to or retrieved from. The width of the address bus is proportional to the number of addressable memory locations.
What does the data bus do?
This is a bi-directional bus (meaning bits can be carried in both directions). This is used for transporting data and instructions between components.
What 6 things does control bus do?
Bus request
Bus grant
Memory write
Memory read
Interrupt request
CPU Clock
What 4 things does the ALU perform?
Performs arithmetic and logical operations on data
Arithmetic operations on fixed and floating point numbers
Bitwise shift operations left and right
Boolean logic operations
What is cache?
A small and fast but expensive memory in the CPU used to store instructions and data that are accessed regularly
What is clock speed?
The frequency at which the internal clock generates signals switching between 0 and 1.
What does the clock speed control?
It controls how often instructions are executed and data is fetched
What is contemporary processor architecture?
A modern computer architecture combing elements of both von neumann and harvard architectures
What is the CU?
A part of the CPU that controls and manages the execution of inctructions.
It sends control signals to coordinate execution and controls the FDE cycle and buses.
What does the CIR do?
Holds the current instruction being executed
The contents of the MDR are copied to the CIR if its an instruction
Contains the opcode + operands
What is the fetch decode execute cycle?
The process of fetching from memory, decoding and executing the instruction
What are the 4 steps of the fetch phase?
Address from the PC is copied to the MAR Instruction held at that address is copied to MDR by the data bus
Simultaneously, the contents of the PC are increased by 1
The value held in the MDR is copied to the CIR
What happens in the decode phase?
The contents of CIR are split into operand and opcode
What are the advantages of the von neumann architecture?
Cheaper to develop as the control unit is easier to design
Programs can be optimised in size
What are the advantages of harvard architecture?
Quicker execution as data and instructions can be fetched in parallel.
Memories can be different sizes, which can make more efficient use of space
What is harvard architecture?
A computer architecture that stores data and instructions in seperate memories to allow the next instructuon to be read while data is currently being read or written to.