有很多种模式,我经常用的是 :real mode , protected mode.


protected mode三卷手册上说的真是太好了,我没什么要说的直接intel vol3a 搞定。

-------------
小记录下real mode, 它的linear address  = segment-address * 4 + logical-address.
因为real mode没有page, 线性地址就是物理地址.

-------------
一个段大小为64k,所以segment-address = 01000h, 代表linear-address = 01000h * 4, 即使010000h
下一个segment-address = 02000h, 03000h, 04000h

为啥一段的最大为64k呢?因为16寄存器最多表示64k-1大小地址的offset。offset最大为64k,所以段大小自然为64k。

相关文章:

  • 2022-12-23
  • 2022-01-19
  • 2021-10-08
  • 2021-11-24
  • 2022-03-10
  • 2021-09-03
  • 2021-04-17
猜你喜欢
  • 2021-07-10
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
相关资源
相似解决方案