How to make 20 bit address by using two 16 bit registers?

橙三吉。 提交于 2020-05-09 08:07:29

问题


IAPX88 can deal with 1 mega byte memory(20 bit addressing), now my question is how we make a 20 bit address by using two 16 bit registers.please give an example.


回答1:


IAPX88 physical addresses are computed by taking the segment register, shifting it to the left 4 bits, and adding the offset register.

For example, the physical address in memory that code executes is (CS<<4)+IP where CS is the Code Segment and IP is the Instruction Pointer.

You can get details on the Intel 8086 wikipedia page.



来源:https://stackoverflow.com/questions/2484224/how-to-make-20-bit-address-by-using-two-16-bit-registers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!