The Central Processing unit

Posted by Hollywood Updates

The Central Processing unit is the brain of the computers system. The input and output devices may vary for different application, but there is only one CPU for a particular computer. The specifications of a computer are basically characterized by its Central Processing Unit.

The CPU processes the data it receives as input (either through input devices or through the memory). As mentioned earlier the CPU receives the data in the from of binary bits, which it can understand.

1. the CPU can perform arithmetic calculation such as addition, subtraction etc.
2. the CPU can perform logical decisions.
3. The CPU with the help of other devoices can perform data transmission.
4. The CPU can perform manipulating tasks such as word processing.
5. After performing the required task the CPU may place results in memory or send results to the output device according to the instruction given to it.



The central processing unit can be further divided into:


1. Arithmetic Logic Unit(ALU)-

As the name may indicate the arithmetic logic unit performs all arithmetic and logic calculations on the data it receives.


2. Arithmetic Calculations-

The arithmetic calculations may be addition, subtraction, multiplication, division, exponentiation etc.

3. Logical Calculation-

Logical calculations are basically decision making statements. For example, A>B, decides whether is A is greater B or not; IF A is greater than B the statement is true and logical ‘1’ would be generated, otherwise a logical ‘0’ would be generated. Some logical decide the further routing of the program.

http://wschools.blogspot.com
Labels: fundamentals of computer
Control Unit –



Control Unit –

The control unit controls the entire operations of the computer and the CPU. It controls all the other devices connected the CPU. Input devices, output devices, auxiliary Memory etc. hence, the control acts as the never centre of the computer.
The control unit upon receiving an instruction decides what is to be done with it. That is, whether it is to be sent to the ALU for further processing or to the output devices or to the memory etc. in other words the control unit coordinates and controls all hardware operations.

The control unit has an electronic clock that transmits electronic pulses at equal interval of time. The control unit gives instructions to other devices based upon these pulses. Suppose there are three instructions to be performed. Let the first instructions take three clock pulses to complete; when the fourth clock pulse is received the control unit would start processing the second instruction and so on. Suppose an instruction takes three and for the fourth clock pulse to complete and take up the next instruction with the fifth clock. Pulse.

Registers –

The CPU consists of a set of registers which are used for various operations during the execution of instructions. CPU needs registers for storing instructions as well as for storage and manipulation of temporary results.

1. Fetch: To bring the instructions from main memory into the instruction register.

2. Decode: Decoding means interpretation of the instruction to decide which course of action is to be taken for execution of the instruction and what sequence of control singles must be generated for it.



3. Execute: The instruction is execute after the fetching of operands is complete. The control unit is responsible for sequencing the steps necessary to complete.

0 comments:

Post a Comment