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

Free Download Microsoft Macro Assembler (MASM 6.11)

Author :   Microsoft Email   :    None Website:    http://www.microsoft.com/ Released:    Sep 28 1993 Platform:    DOS Windows Source:      No Binaries:      Yes Summary       MASM 6.11 was the last stand-alone version of MASM available from Microsoft. Newer versions can be found "hidden" within other Microsoft products if you look hard enough. The download below includes the original install disks for MASM 6.11, along with patches to upgrade to 6.11d (last version that runs on DOS/Win16) and 6.14 (includes support for the Intel Pentium Pro processor, the Intel MMX architecture, AMD 3D Technology, and Intel Internet Streaming SIMD Extensions). Also included are the user's manuals in both Word and PDF format. Note: MASM is no longer sold by Microsoft, and the MASM executable and linker can be found in other tools available for free directly from Micros...

Technology Is Changing

Technology Is Changing!

10 Best Operating Systems For Laptops And Computers In 2021

10 Best Operating Systems For Laptops And Computers In 2021 Today’s modern age is blessed with the miracle of technology. One of these miracles that have made our lives simpler, faster and more entertaining is the computers. Computers are a revolutionary invention that really changed the course of human civilization. It has evolved from bulky desktop boxes to more portable and convenient laptops and mobile phones. However, the fact which many seldom talk about is what makes these computers work the way they do. We are of course talking about the operating system aka OS. Without an operating system, a computer cannot simply function. What Is The Difference Between Server OS And Everyday OS? Understanding how to differentiate a server OS from an everyday one is vital to our discussion. The differences are very specific. An everyday OS will be able to run programs like MS Word, PowerPoint, Excel, etc. including running one of your favorite video games. It enables applications that make br...