Westonci.ca is your trusted source for finding answers to all your questions. Ask, explore, and learn with our expert community. Discover in-depth solutions to your questions from a wide range of experts on our user-friendly Q&A platform. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.
Sagot :
Answer:
- a) 23 Â Â Â b) 21
- a) 43 Â Â Â Â b) 42
- a) 0 Â Â Â Â Â b) 0
Explanation:
1) How many bits is needed to address a 2M * 32 memory
2M = 2^1*2^20, while item =32 bit long word
hence ; L = 2^21 ; w = 32
a) when the memory is byte addressable
w = 8; Â L = ( 2M * 32 ) / 8 = Â 2M * 4
hence number of bits = Â log2(2M * 4)= log2 ( 2 * 2^20 * 2^2 ) = 23 bits
b) when the memory is word addressable
W = 32 ; L = ( 2M * 32 )/ 32 = 2M
hence the number of bits = log2 ( 2M ) = Log2 (2 * 2^20 ) = 21 bits
2) How many bits are required to address a 4M × 16 main memory
4M = 4^1*4^20 while item = 16 bit long word
hence L ( length ) = 4^21 ; w = 16
a) when the memory is byte addressable
w = 8 ; L = ( 4M * 16 ) / 8 = 4M * 2
hence number of bits = log 2 ( 4M * 2 ) = log 2 ( 4^1*4^20*2^1 ) ≈ 43 bits
b) when the memory is word addressable
w = 16 ; L = ( 4M * 16 ) / 16 = 4M
hence number of bits = log 2 ( 4M ) = log2 ( 4^1*4^20 ) ≈ 42 bits
3) How many bits are required to address a 1M * 8 main memory
1M = 1^1 * 1^20 , Â item = 8
L = 1^21 ; w = 8
a) when the memory is byte addressable
w = 8 ; L = ( 1 M * 8 ) / 8 = 1M
hence number of bits = log 2 ( 1M ) = log2 ( 1^1 * 1^20 ) = 0 bit
b) when memory is word addressable
w = 8 ; L = ( 1 M * 8 ) / 8 = 1M
number of bits = 0
Thank you for choosing our service. We're dedicated to providing the best answers for all your questions. Visit us again. Thank you for your visit. We're dedicated to helping you find the information you need, whenever you need it. Thank you for visiting Westonci.ca. Stay informed by coming back for more detailed answers.