Determining Number of Bits in MAR

  • Thread starter Thread starter SpiffWilkie
  • Start date Start date
  • Tags Tags
    Bits Mars
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 7K views
SpiffWilkie
Messages
6
Reaction score
0
I'm trying to determine how many bits are required in the memory buffer register and in the memory address register given certain memory systems.

For example, given the below system, how many bits are needed in MAR, and MBR if the memory is word addressable and how many bits if the memory is byte-addressable.

64K x 32


From what I understand the bits in the MBR are equal to the number of bits in the memory unit, or 32 for this example. I'm having a hard time grasping the MAR concept, though.
If I'm using word address memory, would it just be 16 bits (26 x 210 = 64K)? I guess, I'm asking if the unit size is irrelevant in that case.
If the memory is byte-addressable, would it be 18 bits? 216 x 22 (since each unit is 4 bytes?)

Thanks for any insight.
 
Physics news on Phys.org
SpiffWilkie said:
I'm trying to determine how many bits are required in the memory buffer register and in the memory address register given certain memory systems.

For example, given the below system, how many bits are needed in MAR, and MBR if the memory is word addressable and how many bits if the memory is byte-addressable.

64K x 32


From what I understand the bits in the MBR are equal to the number of bits in the memory unit, or 32 for this example. I'm having a hard time grasping the MAR concept, though.
If I'm using word address memory, would it just be 16 bits (26 x 210 = 64K)? I guess, I'm asking if the unit size is irrelevant in that case.
If the memory is byte-addressable, would it be 18 bits? 216 x 22 (since each unit is 4 bytes?)

Thanks for any insight.

All of your numbers look correct to me.