Learn about the technologies behind the Internet with The TCP/IP Guide! 
NOTE: Using robot software to massdownload the site degrades the server and is prohibited. See here for more. Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted. 
View over 750 of my fine art photos any time for free at DesktopScenes.com! 
[ The PC Guide  Systems and Components Reference Guide  The Processor  Roots of the Processor: Digital Logic and the Semiconductor ] Functions and Digital Logic PCs are digital devices; they deal in zeros and ones only. All modern digital computers, in fact all the circuits in the PC, work by manipulating these binary numbers using hardware functions. These functions take one or more inputs and produce from them a predefined set of outputs. There are several different types of functions: mathematical functions take two binary numbers and perform arithmetic on them such as addition or subtraction. Logical functions allow for comparing values and performing logical operations on them such as "AND" and "OR". There are many other kinds of functions as well. A simple digital function can be defined using a table that shows the inputs and the resulting outputs. For example, here is a table that defines a simple threeinput "OR" function:
As you can see, the output is 1 if input A is a 1 or input B is 1 or input C is 1. At its core, all computer hardware uses these types of fundamental building blocks. Simple logical functions like these are sometimes called gates (no, they weren't named after Bill. :^) ). Modern complicated processors don't actually use AND and OR gates to implement their logic (they integrate these functions into larger circuits), but the concepts are identical. Next: Implementing Digital Logic: The Digital Switch

