How do I answer this question :eek:... "if a computer had a 12-bit address bus, how many different memory locations could it address directly?"... thanks :D:D
![]() |
How do I answer this question :eek:... "if a computer had a 12-bit address bus, how many different memory locations could it address directly?"... thanks :D:D
Smells like homework. So...
A 1 bit bus could address locations:
0
1
or 2^1 = 2 locations.
A 2 bit bus could address locations:
00
01
10
11
or 2^2 = 4 locations.
A 3 bit bus could address locations:
000
001
010
011
100
101
110
111
or 2^3 = 8 locations
See a pattern?
yeah , its doubling? :D
so a 4 bit bus could address locations :
0000
0100
0110
0111
0001
0011
0100
0010
1111
1110
1100
1000
1011
1001
1010
1101
= 16 :D
It's 2^(Number'o'Bits).
Whaaat? So is the answer I got not right ?
No it's right, I just giving general formula for any given number of bits.
Oh thanks :)
| All times are GMT -7. The time now is 09:09 PM. |