Working Mechanism of a CPU chip in x86 architecture Part 1 : Components of the CPU
This blog is the first part. From this blog you get knowledge about the components of CPU. The next blog will be about registers and it's components.
Feb-17-2025, Monday
Author: Deepsu Gautam
A CPU (Central Processing Unit) is the brain of a computer. It takes instructions, process them and executes them. The x86 architecture is one of the most common CPU architectures that is used in most Windows and Linux based PCs.
Components of the CPU:
Control Unit (CU) :
Directs how data moves within CPU.
Tells different parts of computer what to do.
Fetches instructions from main memory, decodes them and executes them.
Hence, CU is a part of CPU that controls overall processes occuring in the CPU.
Airthmetic Logic Unit (ALU) :
Performs mathematical calculations (addition, subtraction, multiplication, divison) and logical operations (AND, OR, NOT).
This is where the actual thinking happens.
Hence ALU is a part of CPU that does the calculations and operations.
Registers : (Detail Explaination in next part)
Small fast memory location inside CPU.
Stores data temperorarily for quick access.
Cache Memory :
Very fast memory located inside the CPU.
Stores frequently used instruction and data to speed up execution.
Usually divided into 3 groups : L1 (smallest, fastest and closest to the cpu), L2(Larger and slower than L1) and L3(Largest and shared among CPU cores).
Bus Interface Unit :
Manages communication between the CPU and other components (Main memory, etc).
Uses buses (data pathways) to send and recieve information.
(Note : The next blog part 2 will contain a detailed information of registers and how they work in x86 architecture)