user796388
user796388

Reputation:

number of bytes available given address bus width and various information

A processor has

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

Upvotes: 1

Views: 2225

Answers (1)

DarkDust
DarkDust

Reputation: 92345

Except for one answer (which might be a typo), your math is correct.

  1. What is the total number of addressable locations for the system? 2^24 = 16,777,216
  2. 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(?) = (1/4)2^24 = 4,194,304
  3. 12/16 of the addresses are to be used for disk addressing, how many? (12/16)2^22 (12/16)2^24 = (3/4)2^24 = 12,582,912
  4. 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 = 12,582,912 (same as 3.)

Upvotes: 1

Related Questions