The most essential component of a computer is the Central Processing Unit. It is popularly known as CPU. It is used to process instructions. The principal component of the CPU is the Arithmetic Logic Unit and Control Unit. In this article, we will learn what is the main difference between ALU and CU.
ALU: ALU stands for Arithmetic Logic Unit. It is a very essential part of the CPU. It performs all the basic arithmetic (addition, subtraction, multiplication, and division) operations and logical operations. The ALU typically designed in such a way that it has direct input and output access to the random access memory (RAM). In modern computers, the ALU is itself is divided into two categories:
- Arithmetic Unit (AU)
- Logic Unit (LU)
CU: CU stands for Control Unit. It is one of the fundamental parts of the CPU. The main work of the CU is to tell the most efficient method to work. It guides all the related operations to the individual parts of the processor. Some basic operation performed by it includes taking guidelines, controlling sequential execution, managing information stream in the correct course, directing and observing the time needed amid the preparing and taking care of different functions, etc. It controls the operations of the processor. It informs the ALU, I/O devices, and the RAM how to respond to the command that has been sent to the processor. A control unit directs the system and executes instructions entered by the user.
Basis Control Unit Arithmetic Logic Unit Abbreviation CU ALU Work It directs the system and executes the instructions entered by the user. It directs and coordinates most of the operations in the computer. To perform arithmetic operations, comparison operations, and other operations. It performs all the tasks to complete all those instructions. Access After the completion of the operation, the data gets deleted and it is not accessible. Data is accessible at any time. Relation It is responsible to direct the system and execute the instructions. It is responsible to perform all the tasks to complete the CU instruction. Primary Condition needed Equal-to conditions, Less-than condition, and greater than the state. Loading of data and instructions that exist in the secondary memory to the main memory. Dependency No dependency on ALU. ALU depends on CU for most of the time.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.