954,341 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Questions Regaurding CPUs

Hi, how does a CPU know that 1 + 1 = 2? It's a question that I've been thinking about since about today, and I have no clue how it knows.

Thanks, guys.

glut
Light Poster
42 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

Every processor has an instruction set. One common one is to take the contents of one register (a bit of named memory in the processor), and add that to the contents of another register, placing the results in a third register. It doesn't have to do it that way, but that is a common method. Going into more detail requires defining what processor you are interested in (they all differ), and some knowledge of assembly programming.

rubberman
Posting Virtuoso
1,562 posts since Mar 2010
Reputation Points: 277
Solved Threads: 179
 

and i thought it used the windows Calc ,lol

caperjack
I hate 20 Questions
Team Colleague
13,069 posts since Aug 2003
Reputation Points: 1,064
Solved Threads: 812
 

To a CPU 1+1 actually equals 11!

Computers aint all that clever. ;)

Rik from RCE
Nearly a Posting Maven
2,335 posts since May 2009
Reputation Points: 127
Solved Threads: 199
 

1+1 for a computer equates to 10. computer processors are all zeroes 0 and ones 1. a CPU is codes with whats calls machine language. evert letter every number is first interpreted as a string of zeroes and ones at the processor. then converter to what you see on the screen.

bobbyraw
Nearly a Posting Virtuoso
1,324 posts since Oct 2006
Reputation Points: 34
Solved Threads: 103
 

I know what binary is, and I know what a CPU does. My question is how. How does a CPU work?

glut
Light Poster
42 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

At the very basics, a CPU is a collection of transistors that can be in either of 2 states. On or off.
A CPU is able to make complex calculations very quickly by switching it's transistors from one state to the other.
The latest CPU's have millions of transistors.

Is that what you want to know?

Rik from RCE
Nearly a Posting Maven
2,335 posts since May 2009
Reputation Points: 127
Solved Threads: 199
 
jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You