1.1.1 Structure of the CPU Flashcards
ALU
The ALU performs all of the arithmetic and logical
operations of the CPU, including: Addition and subtraction, multiplication and division. Comparisons such as whether numbers are equal or if one is greater than another. Boolean operations such as AND, OR and NOT.
Control Unit
Sends out control signals to other parts of the CPU. Executes program instructions by following the fetch-decode-execute cycle.
Made up of two key parts: The Clock - coordinates CPUs activity. The Decoder - Decodes program instructions.
Registers
Registers are tiny amounts of super-quick memory within the CPU. Used to hold information needed for the CPU to work. Each register holds a specific piece of information.
MDR
Holds the data that has been retrieved from memory, or that is about to be stored in memory.
MAR
Holds the address of the location in memory where data is to be retrieved or stored.
CIR
The Current Instruction Register (CIR) is used to store the current instruction that the CPU is working on.
PC
Holds the memory location address of the next instruction to be performed by the CPU. The PC does not store the instruction itself.
Accumulator
Holds the result of calculations and operations performed by the arithmetic logic unit (ALU).
Buses
Buses are used to send and receive data and instructions from main memory (RAM).
Control Bus
The control bus sends control signals to other devices inside the computer system.
Address Bus
The address bus sends addresses to the main memory.
Data Bus
The data bus retrieves data and instructions from main memory.