假设有一台18位地址space的计算机,单元格大小为8位,那么最小地址和最高地址是多少?

suppose there is a computer with 18 bits address space and the cell size is 8 bits, then what is the smallest and highest address?

假设有一台18位地址的计算机space,单元格大小为8位,则

  1. 最小地址和最高地址是多少?
  2. 这台计算机可能的最大内存大小(以字节、千字节和兆字节为单位)是多少?

What is the smallest and highest address?

smallest Address = 0x0000 (HEX)
highest address = 2^18 / 8
                = 32768 = 0x8000 (HEX)

What will be the possible largest memory size of this computer in bytes, kilobytes and megabytes?

Memory Size  = 2^18 X 8 bits
Memory Size  = 262,144B   (Bytes)
Memory Size  = 262,144/1024 KB = 256 KB

Memory Size  = 256/1024 MB = 0.25 MB

注意::

为了更方便地表示,使用单位 KiB 和 MiB: 在这种情况下,内存大小为 2048KiB 或 2MiB