howtogeek — 2013-06-18T16:03:02-04:00 — #1
Originally published at: http://www.howtogeek.com/163755/how-many-memory-addresses-can-the-ram-in-my-computer-hold/
Somedays it’s fun to look at the surface level of the computing experience and other days it’s fun to delve right into the inner workings. Today we’re taking a look at the structure of computer memory and just how much stuff you can pack in a stick of RAM.
lloyd — 2013-06-19T01:03:17-04:00 — #2
I'm a bit confused of number 255. How it get?
pentaquarkz — 2013-06-19T12:00:19-04:00 — #4
In binary the sequence 1111 1111 equals 255. There are really 256 numbers because 0000 0000 is the first number.
iszi — 2013-06-19T12:33:51-04:00 — #6
In decimal, the values of digits are like this:
2 5 5
Hundreds Tens Ones
Thus, when you say 255, you're really saying 200+50+5.
Similarly, the values of digits in binary are also broken down:
1 1 1 1 1 1 1 1
128s 64s 32s 16s Eights Fours Twos Ones
Thus, when you say 11111111 (binary), you're really saying 128+64+32+16+8+4+2+1 - which is equal to 255.
1zringo1 — 2013-06-19T13:08:59-04:00 — #7
Would it be possible to "scrabble" (combine portions of code for a more condensed use of space) in segmentation? I understand that at this point it may not be practical (there is plenty of memory and we don't need to worry about how we use the space) or reasonable (why give me one more thing to think about as a programmer!?). I am simply inquiring as to whether or not it's possible.