I had a teacher 2 years ago who told me that computer processors only know how to add values. That you need to tell them how to substract, divide, and multiply by programming.

link|improve this question

Closing as off-topic because you can easily get to this information by searching for it and this doesn't help you solve any problem in a practical way in a Super User context. As Ignacio shows, there is no single valid answer. Consult Wikipedia - CPU and Wikipedia - ALU for a better understanding... – Tom Wijsman May 24 '11 at 16:13
feedback

closed as not a real question by Linker3000, Tom Wijsman, random May 24 '11 at 16:24

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.

1 Answer

up vote 5 down vote accepted

You can create a CPU that only knows how to sum and then derives everything from that, but modern CPUs use additional operations such as shifts as well as tables for expensive operations such as division in order to run at high speed.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.