0300. How would the character ‘5’ be stored in RAM
(EXACTLY)?
We know that the character ‘5’ is
really the numeric value 53. In binary, the value is:
2 | 53 à
1
2 | 26 à
0
2 | 13 à
1 Collecting from bottom to top, we get the binary value: 1101012
2 | 6
à 0 (On
6-bits)
2 | 3
à 1
2 | 1
à 1
HOWEVER, a character is stored on
8-bits, so we must add leding zeros:
0 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |