asked 86.5k views
3 votes
. Consider a logical-address space of eight pages of 1024words each, mapped onto a physical memory of 32 frames.

a. How many bits are in the logical address?
b. How many bits are in the physical address?

asked
User Kolinko
by
7.9k points

1 Answer

4 votes

Answer:

a)13 bits

b)15 bits

Step-by-step explanation:

a)

It takes 10 bits to address within a 1024-word page because 1024= 2^10.

Since the logical address space is 8 = 2^3 pages,

We will add 10 bits for 1024 words

10 + 3 = 13 bits must be the logical addresses.

b)

There are 32 = 2^5 physical pages.

We will add 10 bits for 1024 words

Similarly, physical addresses are 5 + 10 = 15 bits long .

answered
User Ben Allison
by
8.1k points