Hardware Secrets
Home | Audio | Case | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
News
Reviews
Tutorials
Main Menu
About Us
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Gabriel's Blog
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Newsletter
Subscribe today!
Search




Recommended Book
The Winn L. Rosch Hardware Bible (6th Edition)
By Winn L Rosch
Que
Price: $0.94

Home » CPU
How a CPU Works
Author: Gabriel Torres
Type: Tutorials Last Updated: September 26, 2005
Page: 1 of 9
$ Check REAL-TIME pricing for Intel Core 2 Duo Retail Boxed E7200 Processor - 2.53GHz, 3MB Cache, 1066MHz FSB, 45nm Wolfdale E700 Boxed Processor $
ZipZoomfly.com: $119.00 Newegg.com: $119.99
Dell: $159.99 TigerDirect.com: $119.99
CompUSA.com: $119.99 Colamco: $137.52

Introduction

Even though every microprocessor has its own internal design, all microprocessors share a same basic concept – which we will explain in this tutorial. We will take a look inside a generic CPU architecture, so you will be able to understand more about Intel and AMD products and the differences between them.

The CPU (Central Processing Unit) – which is also called microprocessor or processor – is in charge of processing data. How it will process data will depend on the program. The program can be a spreadsheet, a word processor or a game: for the CPU it makes no difference, since it doesn’t understand what the program is actually doing. It just follows the orders (called commands or instructions) contained inside the program. These orders could be to add two numbers or to send a piece of data to the video card, for example.

When you double click on an icon to run a program, here is what happens:

1. The program, which is stored inside the hard disk drive, is transferred to the RAM memory. A program is a series of instructions to the CPU.
2. The CPU, using a circuit called memory controller, loads the program data from the RAM memory.
3. The data, now inside the CPU, is processed.
4. What happens next will depend on the program. The CPU could continue to load and executing the program or could do something with the processed data, like displaying something on the screen.

How a CPU loads data
click to enlarge
Figure 1: How stored data is transferred to the CPU.

In the past, the CPU controlled the data transfer between the hard disk drive and the RAM memory. Since the hard disk drive is slower than the RAM memory, this slowed down the system, since the CPU would be busy until all the data was transferred from the hard disk drive to the RAM memory. This method is called PIO, Processor I/O (or Programmed I/O). Nowadays data transfer between the hard disk drive and the RAM memory in made without using the CPU, thus making the system faster. This method is called bus mastering or DMA (Direct Memory Access). In order to simplify our drawing we didn’t put the north bridge chip between the hard disk drive and the RAM memory on Figure 1, but it is there. If you’d like to learn more about this subject, we’ve already written a tutorial on that.

Processors from AMD based on sockets 754, 939 and 940 (Athlon 64, Athlon 64 X2, Athlon 64 FX, Opteron and some Sempron models) have an embedded memory controller. This means that for these processors the CPU accesses the RAM memory directly, without using the north bridge chip shown on Figure 1.

To better understand the role of the chipset in a computer, we recommend you to read our tutorial Everything You Need to Know About Chipsets.

Pages (9): [1] 2 3 4 5 6 7 8 9 »
Print Version | Send to Friend | | Bookmark Article | Comments (5)

Related Content
  • Athlon 64 Overclocking
  • Dual Core AMD Processors
  • Maximum CPU Temperature
  • Sempron 3000+ and Celeron D 331 Review
  • How to Upgrade Your CPU

  • Recommended Deals
    AMD Athlon 64 3500+, 2.2 GHz (ada3500dik4b) OEM / Unboxed Processor


    ZipZoomfly.com: $59.99 eBay: $52.00
    Compusa: $349.96 Pcrichard: $329.97
    Circuitcity: $309.96
    AMD Opteron 180, 2.4 GHz (OSA180DAA6CD) Processor


    TigerDirect.com: $169.99 CompUSA.com: $169.99
    Amazon: $222.90 Compuvest: $612.92
    AMD Turion™ 64 TL-60, 2 GHz (TMDTL60HAX5CT) Boxed Processor


    CompuVest: $159.46 Newegg.com: $259.00
    eBay: $229.00 Compusa: $349.96
    Circuitcity: $309.96 Pcrichard: $329.97
    Intel Core™2 Quad Q6600, 2.40 GHz (BX80562Q6600) Boxed Processor


    ZipZoomfly.com: $188.50 CompUSA.com: $184.99
    TigerDirect.com: $184.99 Dell: $299.99
    CompuVest: $194.53 Nextwarehouse: $1753.58

    RSSLatest News
    Antec Skeleton Case
    October 7, 2008 - 10:42 AM PST
    Lexar Media Launches Crucial Ballistix Tracer DDR3-1333
    October 7, 2008 - 10:11 AM PST
    Elpida Develops 65-nm Memory Chips
    October 6, 2008 - 11:10 AM PST
    Transcend Launches T5 Flash Memory
    October 3, 2008 - 11:50 AM PST
    Thermaltake Announces BigTyp14 Pro CPU Cooler
    October 3, 2008 - 11:28 AM PST
    A-Data Announces Triple-Channel DDR3 kits for Core i7 Processors
    October 3, 2008 - 11:17 AM PST
    EVGA Launches nForce 790i SLI FTW Mainboard
    October 3, 2008 - 11:07 AM PST
    GlacialPower Launches 650 W PSU
    October 2, 2008 - 9:56 AM PST
    Manufacturers Launch Radeon HD 4550 and HD 4350 Cards
    October 1, 2008 - 9:51 AM PST
    AMD/ATI Launches Radeon HD 4550 and HD 4350
    September 30, 2008 - 9:25 AM PST
    .:: More News ::.

    RSSLatest Content
    Bgears b-Envi Case Review
    Everything You Need to Know About Digital Cameras
    Kingwin Mach 1 ABT-700MA1S 700 W Power Supply Review
    Thermaltake V9 Case Review
    OCZ Dominatrix Gaming Mouse Review
    Rosewill Wind Ryder RZLS142-AP Case Review
    AeroCool AeroRacer Pro Case Review
    iPod Touch 2nd Generation Review
    Olympus SP-570UZ Digital Camera Review
    Zalman ZM600-HP 600 W Power Supply Review
    Tagan A+ Curbic Case Review
    Everything You Need to Know About The Motherboard Voltage Regulator Circuit
    Inside Atom Architecture
    ECS A790GXM-A Black Series Motherboard Review
    AMD ATI Chips Comparison Table

    Our Most Popular Articles
    Maximum CPU Temperature
    793,000 views
    nVidia Chips Comparison Table
    493,481 views
    AMD ATI Chips Comparison Table
    436,243 views
    ATI Radeon X1300 Pro Review
    420,007 views
    ATI Radeon X1600 XT Review
    414,154 views
    How to Find Out Your Motherboard Manufacturer and Model
    404,298 views
    Connecting Two PCs Using a USB-USB Cable
    363,014 views
    How To Correctly Apply Thermal Grease
    347,577 views
    Sempron vs. Athlon XP
    284,012 views
    Sempron 3400+ Review
    274,854 views

    Latest Threads in Our Forums
    Budget Gaming PC
    by Cheetos
    Bgears b-Envi Case Review
    by Hardware Secrets Team
    what mobo and PSU pls..
    by Cheetos
    Antec Skeleton Case
    by Cheetos
    Gigabyte GA-P35C-DS3R Motherboard Review
    by Gabriel Torres
    Lexar Media Launches Crucial Ballistix Tracer DDR3-1333
    by Hardware Secrets Team
    Need advices with a 512 kbps internet connection
    by Gabriel Torres
    creative x fi elite pro spdif output
    by Gabriel Torres
    Recovering Hard Disks with Bad Blocks
    by Gabriel Torres
    need subject about pcb for hardisk --mr Gabriel Torres
    by Gabriel Torres
    .:: Visit Our Forums ::.


    © 2004-8, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)