DIVERGENCEMASTER47 said:
how the hell is the electricity representing all these numbers and magically understanding what electric signal is what?what is on and what is off? and how does the processor read off the data bus ?
wow - great questions. I remember being there.
It is nothing but an electric contraption that mimics a mechanical contraption, its parts move from one arrangement to another step by step.
Numbers exist only in the mind of the observer. But we build our contraption so as to mimic the behavior of a number system usually binary...
Let me describe an experiment we did in high school electronics class.
We boys each built a two transistor "T" flip-flop circuit like this one from
http://www.electronics-tutorials.ws/waveforms/bistable.html
A negative pulse at Trigger makes it change state, so if you feed it a pulse train you get out a square wave with half that frequency.
If you connect a second one at output of first one it'll divide frequency by two again.
A once per second pulse at Trigger input of first one will cause it to produce a 1/2 hz square wave. Second one will produce a 1/4 hz square wave, and you can cascade as many as you want. We cascaded twelve of them and drove the first with 1 hz from a function generator.So that we could see something move, we connected a Simpson 260 analog voltmeter to each flip-flop's output. Each meter was placed adjacent its flip-flop.
set to 10 volt scale of course...We arranged them left to right on a long workbench. So as they toggled you could see the needles move as first one changed state every second, next one every other second, third one every fourth second and so on. It was quite an animation.
That's all it was, an electric contraption. But if you wanted to you could
say that it was counting the input pulses in binary, lsb on left and msb on right.
And that's what we did. We carefully zeroed each flip-flop by shorting its D1 , then started the function generator.
Sure enough first needle swung up, then when it swung back down back down second needle swung up, and as we waited the needles swung up and down in binary counter fashion. After about a bit more than an hour we'd accumulated our 4095 counts and all the needles were up, next pulse drove them all down and we cheered "The Grand Slam". It was great fun.
So... the electricity is not representing numbers, it's the observer who ascribes numbers to the state of the electrical contraption. Eletricity just pushes the contraption from one state to the next.
The observer has to decide which voltage state, high or low voltage, represents a "1" bit and a "0: bit. And how he will count, is MSB first or last in his string. Then he builds a machine to do what he wants using transistors . (I helped a friend work on a computer made of 12AU7 tubes. it was National Airlines' reservation system in late 1960's).
You'll find a lot of LOW TRUE logic where zero volts is a 1 and 5 volts(or 3.3) is a zero. It has to be defined someplace which is which, sometimes just in the drawings by a line above the signal name.
I am not being dismissive here, my point is that your questions are of a profoundly fundamental nature . Those are the hardest ones to answer. We old timers forget that fifty years ago we too were learning about the elements of logic, AND OR INVERT TIME-DELAY and MEMORY, from which all computers are built.
If you're a student ask your advisor about a course in logic symbology and boolean algebra.
Hobby projects are a great way to learn too, try searching on sparkfun...
We high school boys learned that day in 1964 that you can build an electronic contraption that mimics the behavior of the binary number system, and watch it at work. I think it affected us all. And we learned to choose between high-true and low-true, and which end of our string is MSB. And how to steer pulses with a diode ... that's how you start.
i hope this was readable.
If you want a mind blower look up "ternary computing" .
And "Babbages' Folly" for early mechanical computing contraptions.
old jim