Output registers are used to carry the output.Input registers are used to carry the input.There are various kinds of registers that perform different functions. These registers store data in the form of memory address and after the processing of the instruction present at that memory address is completed, it stores the memory address of the next instruction. These registers are also known as Processor registers as they play an important role in the processing of data. Registers are a part of a computer’s memory that is used to store the instructions temporarily to provide the processor with the instructions at times of need. All information that is exchanged between the primary and secondary memory passes through the ALU. It acts as a bridge between the computer’s primary memory and the secondary memory.It is mainly used to make decisions like performing arithmetic and logical operations.It takes input from input registers, performs operations on the data, and stores the output in an output register. The ALU makes use of registers for the calculations. It is also known as the mathematical brain of the computer. The Arithmetic and Logical Unit is responsible for arithmetical and logical calculations as well as taking decisions in the system. It controls the functioning of other components of the CPU like ALU and Registers.It is responsible for fetching the input, converting it into signals, and storing it for further processing.It controls the sequence in which instructions move in and out of the processor and also the way the instructions are performed.There are two types of Control units – the Hardwire CU and the Microprogrammable CU. It fetches the input, converts it in a decoded form, and then sends it for processing to the computer’s processor, where the desired operation is performed.
![image of cpu of computer image of cpu of computer](https://previews.123rf.com/images/jarin13/jarin131603/jarin13160300194/56200903-detail-of-central-processor-unit-from-below-cpu-computer-part.jpg)
The control unit controls the way input and output devices, the Arithmetic, and Logic Unit, and the computer’s memory respond to the instruction sent to the CPU. We will study each of these components in the subsequent parts. But, all this is possible only because of the components present inside the CPU which divide the work among themselves and process it at a fast pace to produce the desired result. In this article, we will take a look at the main 6 components of the Central Processing Unit, also known as the brain of the computer.Īs we all know, the CPU is responsible for all the major tasks like processing data and instructions inside the computer system.