Question
Asked Nov 17, 2019
47 views

b. How many bits are required to address a 4M × 16 main memory if main memory is byte-addressable?
c. How many bits are required to address a 1M × 8 main memory if main memory is byte-addressable?

check_circle

Expert Answer

Step 1

A memory is used to store some data on the computer. The data is stored in memory has a unique address so that it can be easily accessed.

The memory chip is divided into equal parts called cells, every cell has a unique address.

Byte addressable means, A byte is a memory unit for storage, when the size of a cell is 8 bits then the address is called byte address. A memory chip is full of such bytes and a binary address always points to a single byte only.

Computer counts by base 2:

 21 = 2                         

 22 = 2*2 = 4              

 23 = 2*2*2 = 8                       = 1 byte

 210 = 1,024                 = 1 kilobyte (KB) = 1K

 220 = 1,048,576                      = 1 megabyte (MB)    =1M

 

For example, the memory chip configuration is represented as 32K × 16

Here 32K is indicated the number of cells in the memory chip

16 indicates the size of the cell in bits that can be stored in the cell.

Hence the address is required

 

Here K is kilobytes. The 1M is represented in the power of 2 as 210.

32 can be represented as 25.

16 bits are equal to 2 bytes and it can be represented as 21.

 

32K × 16 = 25 * 210 * 21 = 216

Hence in byte-addressable memory, 16 bits are required to address a  32K × 16

Step 2

b.

How many bits are required to address a 4M × 16 main memory when the main memory is byte-addressable.

Here M is Megabytes. The 1M is represented in the power of 2 as 220.

4 can be represented as 22.

16 bits are equal to 2 bytes and it can be represented as 21.

 ...

Want to see the full answer?

See Solution

Check out a sample Q&A here.

Want to see this answer and more?

Solutions are written by subject experts who are available 24/7. Questions are typically answered within 1 hour.*

See Solution
*Response times may vary by subject and question.
Tagged in

Engineering

Computer Science

Related Computer Science Q&A

Find answers to questions asked by student like you

Show more Q&A add
question_answer

Q: I need help with this in python. I'm not understanding it

A: To solve this Question following variables and functions have been used:Variables: Arce, landsz, tot...

question_answer

Q: what are the mantissa and exponent values if 6.75 is represented in 8-bit binary floating point repr...

A: Conversion of decimal to 8-bit floating point representation:Step 1: Convert the integer part of the...

question_answer

Q: Pinned below

A: Explanation:Instruction lw loads the value of var_x in the register $s0.Instruction lw loads the val...

question_answer

Q: Consider the window size is 10, bandwidth is 1500 bps, transmission delay is 2 ms atpropagation dela...

A: Given information:

question_answer

Q: Construct a truth table for the following: a) xyz + x(yz)' + x'(y+z) + (xyz)'b) (x + y')(x' + z')(y'...

A: Truth table:a. Given Boolean expression:F = xyz + x(yz)’ + x’(y + z) + (xyz)’

question_answer

Q: A variable name in the programming language Visual Basic must begin with a letter (uppercase or lowe...

A: Answer:Number of letters (uppercase + lowercase) = 26 + 26 = 52Number of digits (0 to 9) = 10Number ...

question_answer

Q: In C++: Given the following recursive definition seq(1) = seq(2) = 1 seq(n) = 2*seq(n-1) + 3*seq(n-2...

A: Following is the c++ program which calculates value of given sequence using recurrence relation. Mai...

question_answer

Q: Let s1 be " Welcome " and s2 be " welcome ". Write the code for the following statements:a. Check wh...

A: We’ll answer the first three subparts of the question since the exact one wasn’t specified. Please s...

question_answer

Q: Please use Python Write a program that determines the cost of painting the walls of a windowless roo...

A: Below is the approach and code of a python program to calculate the cost of the painting of windowle...