3. Arithmetic Logic Unit
CPUs have several components, each performs a specific role. Together, they are responsible for processing all of the program instructions given to the CPU.
The first of these components is the Arithmetic Logic Unit, or ALU.
The ALU is the part of the CPU that carries out all of the calculations. This includes both arithmetic operations (adding, subtracting, multiplying, etc) and logic operations (such as comparison)
![Parts of a CPU](../../../../../images/diagrams/cpu_inside.jpg)
The result of the ALUs calculations is stored in memory. This memory is usually a very fast kind of memory called a 'register', located as close to the ALU as possible inside the CPU.
Challenge see if you can find out one extra fact on this topic that we haven't already told you
Click on this link: Purpose of the ALU