What is
CPU and how it actually works?
Central processing unit (CPU) or the processor is also
often called the brain of computer .CPU consists of Arithmetic Logic unit (ALU)
and Control Unit (CU) .In addition ,CPU also has a set of registers which are
temporary storages areas for holding data and instructions.
ALU performs the arithmetic and logic operations on the
data that is made available to it. CU is responsible for organizing the
processing of data and instructions .CU controls and coordinates the activity
of the other units of computer .CPU uses the registers to stores the data
instruction during processing.
CPU executes the stored program instructions i.e.
instructions and data are stored in memory before execution .For processing CPU
gets data and instructions from the memory. It interprets the program instructions
and performs the arithmetic and logic operations required for the processing of
data. Then it sends the processed the data or result to the memory. CPU also acts as an
administrator and is responsible for supervising operations of other parts of computer
.
Arithmetic Logic Unit
· ALU consists
of two parts –Arithmetic Unit and Logic Unit.
· The
arithmetic unit performs arithmetic operations on the data is made available to
it. Some of the arithmetic operations supported by the arithmetic unit are –
Addition, Subtraction, Multiplication and division.
· The logic
unit of ALU is responsible for performing logic operations .Logic unit performs
comparisons of numbers letters and special characters .Logic operations include
testing for greater than ,less than or equal to condition .
· ALU
performs arithmetic and logic operations and uses registers to hold the data
that is being processed.
Labels: Central processing unit(CPU), computer help