Binary

Can you please exaplain how many memory locations may be accessed directly when a 16 bit address bus is employed?
jahsexy18Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
A little explanation, if you have 4 bit address bus, that is, you have 4 physical lines that can transmit either "0" or "1" logical values, all you can address are the following combinations:

binary     decimal
0 0 0 0 - 0
0 0 0 1 - 1
0 0 1 0 - 2
0 0 1 1 - 3
0 1 0 0 - 4
0 1 0 1 - 5
0 1 1 0 - 6
0 1 1 1 - 7
1 0 0 0 - 8
1 0 0 1 - 9
1 0 1 0 - 10
1 0 1 1 - 11
1 1 0 0 - 12
1 1 0 1 - 13
1 1 1 0 - 14
1 1 1 1 - 15

There are 16 combinations from 0 to 15, that is 2 to the 4th power.
So generalizing, a bus with n bits can address 2 to the Nth power adresses
0
 
Jaime OlivaresSoftware ArchitectCommented:
Homework?
You can send   2 to the 16th power in a 16 bit address bus
Also you can send 2 to th 32th power in a 32 bit address bus


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.