The word length of a computer is 32 bits, and its storage capacity is 256MB. If addressing in a single word, its addressing range is

The addressing range of word-by-word addressing is 0 ~ 64M. That is, 0000000~3FFFFFFH
calculation steps: 256M bytes = 256 * 1024 * 1024 * 8 bits,
according to the computer according to the 32-bit word length single word addressing. Then the number of bits of a single word is 32 bits, and the range is (256 * 1024 * 1024 * 8 bits)/32 bits = 64M.
In addition, if the
computer is addressed as a 32-bit word length half word . The number of half-words is 16 bits, and the range is (256 * 1024 * 1024 * 8 bits)/16 bits = 128M.
Computers are addressed as 32-bit word length double words . The number of double words is 64 bits, and the range is (256 * 1024 * 1024 * 8 bits)/64 bits = 32M

Guess you like

Origin blog.csdn.net/KO812605128/article/details/89105696