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
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
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
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601