Skip to main content

What is CPU or Processor?


CENTRAL PROCESSING UNIT / CPU / Microprocessor / Processor:
“Central processing unit is the brain of computer. It is also called CPU or processor. Processor is used to process data according to given instructions. It performs arithmetic and logical operations on data. It controls all activities of different parts of a computer. As brain in human body controls all other parts of body and takes decisions, CPU controls all other parts of the computer and their working.”
 A CPU has three basic parts:

·         Arithmetic Logic unit
·         Control unit
·         Registers.


ARITHMETIC LOGIC UNIT (ALU): 

“ALU performs data processing according to given instructions. All computations are done in this unit. ALU is the real place in computer where actual execution of instructions takes place. ALU may be further categorized into two sections according to their function.“
ARITHMETIC SECTION of ALU performs arithmetic operations like addition, subtraction, multiplication and division on data.
LOGIC SECTION of ALU performs logical operations like comparison between two values. For example, 10>5 will give TRUE answer. And 5<1 will give FALSE answer. Control unit sends data and instruction to perform calculation on the data to the ALU. ALU then performs this calculation. 
CONTROL UNIT: 

“Control unit controls all over operations of different parts of computer. For example it takes data and instructions from input unit and stores it into memory. It sends data to ALU for processing. It takes results from ALU and sends it to output device. It can also store results in memory. Control unit performs all these functions by giving commands to relevant part of the computer.”
Control unit performs following four functions for executing instructions of a computer program.
1.             Fetching: obtaining instruction from memory
2.             Decoding: understanding this instruction
3.             Data Fetching: If needed, obtaining data from memory
4.             Executing: Control unit sends the instruction and data to ALU for taking         
                                suitable action on the instruction

REGISTERS: 

“A register is a very small and temporary memory area in ALU. It holds instruction and data as long as it is being processed by CPU. When instruction and data is fetched from memory then it is stored in a register. ALU contains a number of registers for example AX, BX, CX, DX etc. A Register may be of 8 bits, 16 bits, 32 bits or more.”

Popular posts from this blog

Technology Is Changing

Technology Is Changing!

Details of Alkaram Dealers in Pakistan

Al-Karam dealers in Abbotabad Bombay Cloth House: Main Bazar 099-2330769 Libaas-e-Khaas Cloth House: Jadoon Plaza, Mandiyaan 0300-9353320 Rabi Collection: Supply Bazar, Mandiyaan 099-2342422 Stylo Fabrics: Najam Plaza, Mandiyaan 0302-8107945 Al-Karam dealers in Ali Pur Aamir Cloth: Bano Bazar 0333-7679585 Al-Karam dealers in Badin Shafi Khati Cloth: 0333-2523244 Noman Cloth Store: 0346-3755590 Al-Karam dealers in Bhawalpur Karam Cloth Centre: Bhawalpur Trade Centre 062-2880212 Wahab Fabrics: AB Centre, Galla Mandi Road, Modern Town B 0300-9682564 Pasha Fabrics: Satellite Town, Commercial Area, 45-C 0300-9683429  Al-Karam dealers in Burewala Saab Jee Fabrics: Rail Bazar 067-3773355 Al-Karam dealers in Chicha Watni Arab cloth House: Main Bazar 040-5486325 Bhular Cloth House: Main Bazar Al-Karam dealers in Chistiyaan Fancy Cloth House: Main Bazar Al-Karam dealers in Dadu Raja Asad Cloth Store: 0254-612102 Al-Karam dealers in Deepalpur Mu...

All EBooks Collection of Wrox Press

Collection of useful eBooks for I.T Professionals. all files in pdf format. You can download only one book if you want after adding torrent in your client and select the file you want to download. There are 9 parts of  file saver links below: ASP.NET 2.0 Instant Results.pdf 10.16 MB ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter.Kit.pdf 12.05 MB Beginning ActionScript 2.0.pdf 12.02 MB Beginning Ajax.pdf 4.03 MB Beginning ASP.NET 3.5 In C# and VB.pdf 35.59 MB Beginning C# 2005 Databases.pdf 6.20 MB Beginning C# 2008.pdf 9.81 MB Beginning Database Design.pdf 6.92 MB Beginning Expression Web.pdf 11.72 MB Beginning Infopath 2003.pdf 12.03 MB Beginning Microsoft Visual C Sharp 2008.pdf 17.40 MB Beginning Regular Expressions.pdf 24.24 MB Beginning Shell Scripting.pdf 8.85 MB Beginning SQL Server 2005 Administration.pdf 5.18 MB Beginning SQL.pdf 8.94 MB Beginning Unix.pdf 8.16 MB Beginning Visual Basic .NET Database Programming.pdf 6.70 MB Beginning Visual Basic 2005 Datab...