Chapter 1 - Processor Components Flashcards
What is the purpose of the control unit?
To control and coordinate the activities of the CPU, directing the flow of data between the CPU and othe devices
What is bus?
A set of parallel wires connecting two or more components of a computer
What is the system bus?
The address bus
The data bus
The control bus
What is the role of the control bus?
To transmit command, timing and specific status information between system components
What is the role of the data bus?
To provide a bi-directional path for moving data and instructions between system components
What is the role of the address bus?
To transmit memory addresses of words that are used as operands in program instructions
What is the purpose of the ALU?
Performs arithmetic and logical operations on the data
What are registers?
Special memory cells that operate at very high speed
What is the purpose of the accumulator?
Results from the ALU are stored here
What is the role of the program counter
Holds the address of the next instruction to be executed
What is the role of the current instruction register?
Holds the current instruction being executed, divided into operand and opcode
What is the role of the memory address register?
Holds the address of the memory location from which data is to be fetched or to which data is to be written
What is the role of the memory data register?
Used to temporarily store the data read from or written to memory
Describe the fetch phase inside the Fetch-Execute cycle
1) The address of the next instruction is copied from the program counter to the memory address register
2a) The instruction held at that address is copied to the memory data register.
2b) Simultaneously, the content of the PC is incremented so that it holds the address of the next instruction
3) The contents of the MDR are copied into the current instruction register
Describe the decode phase inside the Fetch-Execute cycle
1) The instruction held in the CIR is decoded and split into opcode and operand
2) The opcode is used to determine the type of instruction and what hardware to use on it
3) The operand holds either: the address of the data to be used with the operation or the actual data to be operated on