The CPU
The Central Processing Unit, or CPU, is the heart and brain of the computer. It is a set of electronic circuits that interprets and executes instructions from programs. It is designed to be general-purpose, i.e. it can run any sort of program.
The architecture of the CPU consists of three parts:
- the Control Unit (CU), which controls the flow of data across the whole system by coordinating and organising all the operations of the computer. It is responsible for the instructions that are in the primary storage, interpreting them, and then issuing commands to all the hardware units that are necessary to carry out the instructions;
- the Arithmetic Logic Unit (ALU), which performs all the arithmetic and logic operations ;
- the Immediate Access (IAS), also called registers, which is where the CPU all the data and programs that are being used.