Home > other >  For help! 20 address thread should be 2 ^ 20 storage unit, namely 2 MB, can you tell me the unit is
For help! 20 address thread should be 2 ^ 20 storage unit, namely 2 MB, can you tell me the unit is

Time:09-27

For help! A storage unit of a byte, I was in doubt again, several corresponding is the root of the data line stored word length, if is a 32-bit, shows a storage unit is 4 b, that is not conflict with the above? Is it say 4 b represents the handle four storage unit at the same time? But the memory word long indeed represent a storage unit digit, ah, small white base is poor, too upset, please answer, thank you!

CodePudding user response:

20 address thread 20=1024 * 1024=1 m ^ 2 address
Word length are generally data of each location corresponding digits

The total capacity number * word length (bytes)=total address/8

CodePudding user response:

2 MB is 16 mbit, bit/8 is the Byte

CodePudding user response:

B - Byte by Byte)
Bit - bit
20 address thread, namely the address code is made up of 20 binary number, it is addressable space ^ 2=1 20 MB 20 b=2 (2 ^ ^ 10 KB=1 MB)
Addressing range corresponding storage unit:
Data capacity (bit)=total storage unit * bits wide
Bits wide see actual use, peripherals such as SDRAM, 16 driving, bit width is 16.
  • Related