【问题标题】: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 位地址空间的计算机,单元大小为 8 位,那么最小和最高地址是多少?
【发布时间】:2021-01-01 15:52:30
【问题描述】:

假设有一台18位地址空间的计算机,单元格大小为8位,那么

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

【问题讨论】:

    标签: memory-management byte bit memory-address megabyte


    【解决方案1】:

    最小和最高地址是多少?

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

    这台计算机可能的最大内存大小是多少 字节、千字节和兆字节?

    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 OR 2MiB

    【讨论】:

    • 如何找到最小的地址,能解释一下吗?
    • 最小的地址总是以 0 (0x0) 为星号。
    猜你喜欢
    • 2016-10-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-04-17
    相关资源
    最近更新 更多