Characteristics Of CPU Flashcards
Function of Control Unit
Coordinates activity between components and decode instructions.
Function of the Arithmetic Logic Unit
Responsible for logic and arithmetic calculations (+ - / *), logic, and shift operations.
What does the data bus do
Transmits data between instructions.
What does the address bus do
Carries the location of the address, where data is going from/to.
What does the control bus do
Transmits control signals e.g memory read/write/interrupts.
What does the Program Counter do?
Store memory address of the next instruction.
What does the Memory Address Register do?
Holds the address being read/written from.
What does the Memory Data Register do?
Holds the data that’s being read/written to/from.
What does the current Instruction Register do?
Holds the current instruction, decode into op-code and operand
What does the accumulator do?
General purpose register stores result from the ALU.
Explain the Fetch-Phase in the fetch-execute cycle.
1) Content is the PC are copies into MAR.
2) Memory is read to initiate a copy of the instruction word from memory to the MBR
3) The PC incremented, contains address to next instruction.
4) The instruction word is copied from the MBR into CIR. Instructions contain two parts: opcode and operand.
What is the op-code?
Instruction
What is the operand?
To perform the operation on.
Explain what happens in the Execute-Phase?
1) The opcode instruction in the CIR is decoded into simple operations such as ADD, STORE, and COMPARE.
2) The instructions in the CIR is executed; if the result needs to be committed by memory the address is held in the MAR
3) Unless instructions is stop the cycle is repeated
What are the factors that affect performance
1) Multiple Cores
2) Cache Memory
3) Clock Speed
4) Bus width, words