给定地址总线宽度和各种信息的可用字节数
一个处理器有
- 24位地址总线
- 16位数据总线
- 字包含2个字节
- 可寻址
外围设备和内存单元将被连接,并且很可能会使用整个内存空间。
有很多问题,我只使用过 24 位地址总线这一事实。
系统的可寻址位置总数是多少? 2^24
1/4的地址空间用于外设,外设的地址总数是多少? 2^24/2^2
12/16 个地址将用于磁盘寻址,有多少个? (12/16)2^22
3/4的地址空间用于RAM和ROM的内存需求,可用的地址总数是多少? (3/4)2^24
这似乎很容易
A processor has
- 24 bit address bus
- 16 bit data bus
- word contains 2 bytes
- byte addressable
Peripherals and memory units will be connected and the entire memory space most likely will be used.
There are quite a few questions and I only ever use the fact that there is a 24 bit address bus.
What is the total number of addressable locations for the system? 2^24
1/4 of the address space is to be used for the peripherals, what is the total number of addresses for peripherals? 2^24/2^2
12/16 of the addresses are to be used for disk addressing, how many? (12/16)2^22
3/4 of the address space are to be used for memorey requirements of RAM and ROM, what is the total number of addresses avaliable? (3/4)2^24
This seems to easy
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除了一个答案(可能是拼写错误)之外,您的数学是正确的。
2^24 = 16,777,216
2^24/2^2(?) = (1/4)2^24 = 4,194,304
(12/16)2^22(12/16)2^24 = (3/4)2^24 = 12,582,912
(3/4)2^24 = 12,582,912
(与 3 相同。)Except for one answer (which might be a typo), your math is correct.
2^24 = 16,777,216
2^24/2^2(?) = (1/4)2^24 = 4,194,304
(12/16)2^22(12/16)2^24 = (3/4)2^24 = 12,582,912
(3/4)2^24 = 12,582,912
(same as 3.)