B = 0 64K 65535字节
B = 1 4G(指定的虚拟4GB空间)
如果需要去16位的加个前缀67:
1.DB位位于第22位
对以下三种情况都有影响:
只要是代码段都为B, 只要是数据段都为D
情况一: 对CS段的影响
D =1 采用32位寻址方式
D =0 采用16位寻址方式
前缀67 改变寻址方式
情况二:对SS段的影响
B =1 隐式堆栈访问指令(如:PUSHI POP CALL)采用32位堆栈指针寄存器ESP
B =0 隐式堆栈访问指令(如:PUSHI POP CALL)采用16位堆栈指针寄存器SP
情况三:向下拓展的数据段:
B =1 段上线为4GB
B =0 段上线为64KB两种情况
两种情况: 一种情况就是BASE>LIMIT 那么则是 BASE到 BASE+LIMIT 做起始地址 然后再根据D/B为来设置线长
另一种就是 BASE<Limit 那么则是:BASE到 LIMIT做起始地址 然后再根据D/B为来设置线长