What is CPU?
If you have ever opened up your computer and looked inside, you may have noticed the large “chip” on the motherboard. That chip is the Central Processing Unit (CPU), and it’s the brain of your computer – responsible for carrying out all the instructions that make your computer work. But what exactly does a CPU do, and why is it so important? Let’s take a look at what makes this component so essential to your machine. It consist ALU, CU and MU (Memory Unit)
ALU (Arithmetic Logic Unit)
An arithmetic logic unit (ALU) is a digital circuit that performs arithmetic and logic operations on data in a computer
An ALU performs arithmetic and logic operations on binary numbers, such as addition, subtraction, and shifting. It also handles Boolean comparisons, such as AND, OR, XOR, and NOT
CU (Control Unit)
CU can stand for control unit, which is a component of a computer’s central processing unit (CPU) that directs the processor’s operations. The CU’s main functions include
- Getting data from the main memory
- Identifying devices
- Completing processes
- Outputting control signals
- Supporting the computer’s ability to execute stored program commands
- Carrying out mathematical or logical operations
- Coordinating operations involving peripherals and other units
CU (Control Unit)
Memory is used to store data and instructions before and after processing. There are 2 types of memory unit called Primary memory and Secondary memory.