Structure and Function of the Processor (1.1.1) Flashcards
What is a computer processor?
A hardware device which runs the FDE cycle in order to execute instructions for programs to run.
What is the function of the ALU?
The ALU carries out all arithmetical and logical operations.
What is the control unit?
The control unit directs the operations of the CPU.
What are the control unit’s jobs?
- Controlling and coordinating the activities of the CPU
- Managing the flow of data between the CPU and other devices
- Accepting the next instruction
- Decoding instructions
- Storing the resulting data back in memory
What are registers?
Small, high speed memory cells that temporarily store data in the processor.
What are the five main registers in the CPU?
- Program counter
- Accumulator
- Memory Address Register
- Memory Data Register
- Current Instruction Register
What does the program counter do?
Holds the address of the next instruction to be executed.
What does the accumulator do?
Stores the results of calculations made by the ALU.
What does the memory address register do?
Stores the memory address of a location that will be read from or written to.
What does the memory data register do?
Temporarily stores data that has been fetched from or will be written to the memory.
What does the current instruction register do?
Holds the instruction currently being executed, divided into opcode and operand.
What are buses?
A set of parallel wires which connect components within the CPU.
Which three buses make the system bus?
- Data bus
- Control bus
- Address bus
What is the width of the bus?
The number of parallel wires in the bus, it is directly proportional to the number of bits which can be transferred simultaneously.
What is the data bus?
A bi-directional bus used for transporting data and instructions.
What is the address bus used for?
Carries memory addresses which specify where data will be sent to or retrieved from. Width=number of addressable memory locations