How Your PC Works Part 2:
How A CPU Works


  How does a CPU (Central Processing Unit) of a computer really work?

Well, this article will exactly how it works. Understanding this fundamental concept will help you in grasping the overall concepts of computing much more easily.

The concept of a CPU is not really that difficult to understand - although I know some folks make it appear more complicated than it has to be.

icon

Some CPUs available in the market

 

1. Instructions are Stored in Memory

The first thing to understand about CPUs is this - when programs run, their instructions are stored in memory. The CPU fetches instructions from the computer's memory to execute.
 

2. CPU Decodes the Instruction

The next step is for the processor to understand or decode the instruction and determine what it has to do. Usually what happens is that the CPU will do some form of computation, then stores it back to memory, the disk, or the display.
 

3. How Many Instructions?

One question is, how many instructions can the CPU execution per second? Well, this is determined by a of factors, including:

  • How large is the instruction contained in memory
     

  • How long it takes for the instruction to reach the CPU.
     

  • How long the processor takes to compute and crunch the instructions.
     

  • How long it takes to output the result of the processing.

Essentially, the number of instructions a CPU can execute per second is an indication of its speed and performance.
 

Conclusion

Hopefully, this article has helped you understand how a CPU works. The CPU is a central part of any computer system and it is certainly useful to grasp its inner workings well.




Related Articles

You may also wish to read the following related articles:

Learn how to install a CPU and heatsink
A review of the Cooler Master Dual Storm CPU fan
Use a CPU temperature monitor to prevent overheating
A good basic introduction to the world of CPU overclocking
How to choose a good CPU for your computer



 

© 2007 Build-Your-Own-Computers.com