个性化阅读
专注于IT技术分析

系统二进制地址基础

点击下载

计算机系统将二进制地址分配给内存位置。但是, 系统使用位数来寻址存储位置。

使用1位, 我们可以寻址两个存储位置。使用2位, 我们可以寻址4, 使用3位, 我们可以寻址8个存储单元。

可以在地址中的位数与存储位置范围之间的映射中标识一个模式。

我们知道,

Using 1 Bit we can represent 2^1 i.e 2 memory locations. 
Using 2 bits, we can represent 2^2 i.e. 4 memory locations. 
Using 3 bits, we can represent 2^3 i.e. 8 memory locations. 
Therefore, if we generalize this, Using n bits, we can assign 2^n memory locations.  

n bits of address  → 2 ^ n memory locations
二进制地址的OS基础

这n位可以分为两部分, 即K位和(n-k)位。

二进制地址的OS基础知识1
赞(0)
未经允许不得转载:srcmini » 系统二进制地址基础

评论 抢沙发

评论前必须登录!