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: $1.62

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 E8400, 3Ghz E8400 (53224) Boxed Processor $
TigerDirect.com: $179.99 Circuit City: $270.99
CompUSA.com: $179.99 ZipZoomfly.com: $168.90
Dell: $249.99 Buy: $172.99

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
  • Pentium 4 Thermal Throttle
  • Maximum CPU Temperature
  • Sempron 3000+ and Celeron D 331 Review
  • How to Upgrade Your CPU

  • Recommended Deals
    AMD Athlon™ XP 2800+, 2.8 GHz (AXDA2800BOX) Retail Processor


    ZipZoomfly.com: $106.99 TIMEOUT: $0.00
    Intel Core 2 Duo E6850, 3 GHz (BX80557E6850) Boxed Processor


    TECHONWEB: $211.32 TigerDirect.com: $204.99
    Buy.com: $192.99 Dell: $219.99
    CompUSA.com: $204.99 Amazon: $308.26
    AMD Athlon™ 64 3800 3800+, 2 GHz AMD Processor in a Box (PIB)


    Server Supply: $135.00 ZipZoomfly.com: $49.99
    Amazon: $90.49 Circuitcity: $629.96
    Zappos: $1026.00
    Intel Pentium® D 945, 3.40 GHz (HH80553PG0964MN) OEM / Unboxed Processor


    CompuVest: $101.25 Singlefeed: $3350.00
    Intel Core™2 Quad Q6600, 2.40 GHz (BX80562Q6600) Boxed Processor


    Dell: $329.99 ZipZoomfly.com: $193.50
    TECHONWEB: $207.03 Tech for Less: $176.76
    Circuit City: $259.99 Amazon: $2099.99

    RSSLatest News
    OCZ Launches "P45 Special" DDR2 modules
    August 7, 2008 - 7:26 AM PST
    AMD Launches 760 GX Chipset
    August 6, 2008 - 10:53 AM PST
    MSI Launches Gaming Notebooks
    August 5, 2008 - 7:53 AM PST
    Zotac Unveils Watercooled GeForce 9800 GTX+
    August 4, 2008 - 7:33 AM PST
    HIS Launches Radeon HD 4850 IceQ 4
    August 1, 2008 - 11:12 AM PST
    Thermaltake Launches RamOrd Memory Cooler
    August 1, 2008 - 9:57 AM PST
    Force3D Announces Radeon HD 4800 with Twin Turbo Cooler
    August 1, 2008 - 9:55 AM PST
    Arctic Cooling Launches Alpine 64 GT
    August 1, 2008 - 9:53 AM PST
    Spire Launches SilverBalze
    July 31, 2008 - 11:04 AM PST
    Gigabyte Unveils EP45-Extreme Motherboard Series
    July 31, 2008 - 9:31 AM PST
    .:: More News ::.

    RSSLatest Content
    All Athlon 64 Models
    Zalman GS1000 Case Review
    iPhone 3G Review
    Raidmax Aura Case Review
    How to Identify Japanese Electrolytic Capacitors
    Thermaltake Toughpower 1500 W Power Supply
    Razer Piranha Gaming Headset Review
    How to Use the SPDIF Output from Sound Blaster X-Fi Sound Cards
    nVidia Chips Comparison Table
    Small Adjustment to the Blog
    250 GB Hard Disk Drive Round-Up
    DLO TransDock Deluxe Review
    XFX GeForce GTX 260 640M XXX Video Card Review
    Sapphire HD 4870 Video Card Review
    Thermaltake BigWater 780e Water Cooler

    Our Most Popular Articles
    Maximum CPU Temperature
    750,076 views
    nVidia Chips Comparison Table
    466,659 views
    AMD ATI Chips Comparison Table
    416,508 views
    ATI Radeon X1300 Pro Review
    408,273 views
    ATI Radeon X1600 XT Review
    403,384 views
    How to Find Out Your Motherboard Manufacturer and Model
    367,111 views
    Connecting Two PCs Using a USB-USB Cable
    333,014 views
    How To Correctly Apply Thermal Grease
    318,626 views
    Sempron vs. Athlon XP
    276,502 views
    Sempron 3400+ Review
    266,075 views

    Latest Threads in Our Forums
    iPhone 3G Review
    by ouchast
    When to power up/down HD in external enclosure
    by Davidj
    XFX Overclocked GeForce 7600 GT (PV-T43G-UDD3) Review
    by phillypa800
    Help for my 1st custom build.
    by Gabriel Torres
    My first build help
    by Gabriel Torres
    Can't access my folder
    by Gabriel Torres
    OCZ Launches 'P45 Special' DDR2 Modules
    by Hardware Secrets Team
    Powerful Anti-virus
    by Earvin
    AMD Launches 760 GX Chipset
    by Hardware Secrets Team
    Microsoft Exchange changing last name
    by rektech
    .:: 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)