Monday, November 28, 2011

CPU parts

The CPU has two main parts.
1. The Control Unit.
2. Arithmetic Logic Unit.
The parts of the CPU are usually connected by an electronic component referred to as a Bus, which acts as an electronic highway between them. The CPU has special purpose storage devices called registers, helps in storing data and instructions.
1. Control Unit: It is responsible for directing and coordinating most of the computer system activities. It does not execute instructions by itself. It tells other parts of the computer system what to do. It determines the movement of electronic signals between the main memory and arithmetic logic unit as well as the control signals between the CPU and input/output devices.
2. Arithmetic logic Unit: ALU performs all the arithmetic and logical functions i.e. addition, subtraction, multiplication, division and certain comparisons. These comparisons include greater than, less than, equals to etc. The ALU controls the speed of calculations.
3. Registers: It is a special temporary storage location within the CPU. Registers quickly, accept, store and transfer data and instructions that are being used immediately (main memory hold data that will be used shortly, secondary storage holds data that will be used later). To execute an instruction, the control unit of the CPU retrieves it from main memory and places it onto a register. The typical operations that take place in the processing of instruction are part of the instruction cycle or execution cycle. The instruction cycle refers to the retrieval of the instruction from main memory and its subsequence at decoding. The process of alerting the circuits in CPU to perform the specified operation. The time it takes to go through the instruction cycle is referred to as I-time.

4. Bus: The term Bus refers to an electrical pathway through which bits are transmitted between the various computer components. Depending on the design of the system, several types of buses may be present. The most important one is the data bus, which carries the data through out the central processing unit. The wider the data bus, the more data it can carry at one time and thus the greater the processing speed of the computer.

2 comments: