Our Feeds

Wednesday 5 September 2012

AJITH KP

Architecture of CPU

The software engineer must know about hardware because software and hardware is related each other. CPU is the brain of the computer. CPU consist of 3 parts
  1. ALU [Arithmetic and Logic Unit]
  2. Registers
  3. Control Unit
ALU [Arithmetic and Logic Unit] 
     The  Arithmetic and Logic Unit contains the electronic circuits that execute all arithmatic and logic data.
Arithmetic Unit
 The Arithmetic Unit contains the circuitry that is responsible for performing arithmetic calculations such as addition, subtraction, multiplication and division.
Logic Unit
Logic Unit enables the CPU to make logical operations. The operations are logical comparison between data items. Logical Operators are =, <=,>=,etc.

Registers
     Registers are special purpose high speed temporary memory units. It holds various types of information such as data, instructions, addresses and intermediate results of calculations. Registers are known as working memory of CPU, because it holds the information that the CPU is currently working on.

Control Unit 
The unit checks the correctness of sequence of operation. It contains the circuitry that uses electrical signals to direct the entire computer system carry out or execute  stored program  instructions.  The control unit does not participating any execution process, but is controls everything in a computer.