- #1
guitar
- 5
- 0
Homework Statement
How many cells can be in a computer`s main memory if each cell`s address can be represented by 2 hexadecimal digits? what if 4 hexadecimal digits are used?
Homework Equations
N/A
The Attempt at a Solution
ok, i tried and other people helped and i am stuck with this:
1. If each cell's address is only 2 hex digits, you are using 16 binary digits, and therefore 65,536 bytes.
2. Hexadecimal means base 16. In other words, 16 digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B ,C, D, E, F).
Two hexadecimal digits give you 16 x 16 = 256 locations.
Four hexadecimal digits give you 16 x 16 x 16 x 16 = 65536 locations.
3. 0 (hexadecimal representation) is 0000 (bit pattern)
1 (hexadecimal representation) is 0001 (bit pattern)
2 (hexadecimal representation) is 0010 (bit pattern)
etc etc etc
i am trying to connect the dots here...are those 16 digits in base 16- 16 locations? also are these digits: (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B ,C, D, E, F) 4 bits or 8 bits each? or are they just 1 bit each? and how does the hex to bit pattern representation play up into this?
thanks.