Monday, December 22, 2008

Central Processing Unit(C.P.U.)

Introduction:
CPU stands for Central Processing Unit which is a machine which implements computer programs.CPU is considered as the brain of the computer.It is that part of the computer that handles maximum number of computations.In large servers multiple processors are used whereas for home PCs or computers used for simple purpose even a singlr chip microprocessor is capable to handle the operations.CPU has two very important parts,one is the ALU(Arithmetic Logic Unit) & the other being CU(Control Unit).

Machine Code:
Machine code is the term used to define the laguage used by computers for their functioning.Most of the computer code is defined using the numbers '0' & '1'.Some professionals term this 'o' & '1' language as binary language.Since 1940 machine code has been the laguage for computers which is also referred as the assembly language.Every central processing unit has its own machine code and instruction set.When a programmer writes some code for some purpose and executes it,the compiled code in machine language is converted back in user understandable language and displayed accordingly.The machine code is stored in the form of an executable file unless the operating system instructs it to operate.When the code is scanned or executed then the system reads the arrangement and accordingly instructions are passed for appropriate operation.
The microprocessor reads these instructions in the form of '0' & '1' and the executable file contains the information about how many characters the microprocessor has to read in a single attempt.

No comments:

Post a Comment