instructionclassificationandaddressingmode(编辑修改稿)内容摘要:
for reading data. However, because EU and BIU can work synchronously, the time consumed in immediate data reading can be ignored in some situations. Memory Addressing When operation data is in memory, the addressing mode is memory addressing. Bus operation is needed in this addressing mode, and memory Addressing must be executed in execution cycle of instruction. Then, memory addressing is less effective than register or immediate addressing. Memory Addressing Memory logic address is posed of segment base value and offset (effective address). There are five different memory addressing modes, and they have different offset (EA) posing. Components of EA There are three different ponents which can be bined to EA. DISP (Disparity, 位移量 ): EA ponents provided by machine instruction Base Component (基址分量 ): Provided by BX or BP register Index Component (变址分量 ): Provided by SI or DI register Memory Addressing Different bination mode of these three ponents forms different memory addressing. 1) Direct Addressing (直接寻址 ) 2) Register Indirect Addressing (寄存器间接寻址 ) 3) Based Addressing (基址寻址 ) 4) Indexed Addressing (变址寻址 ) 5) Based Indexed Addressing (基址变址寻址 ) 1) Direct Addressing If EA is posed of DISP only, it is direct addressing. EA = DISP DISP may be data form or symbol form in assembler language. 1) Direct Addressing Example: MOV BX, [1000H]。 implied DS for segment information MOV BX, DS:[1000H] MOV BX, ES:[0100H] 1) Direct Addressing Example: MOV BX, VAR1。 VAR1 is a symbol disparity. MOV AL, DA1+3。 DA1 is a symbol disparity. Symbol disparity will be replaced as data form by assembler (汇编程序 ). 1) Direct Addressing False usage。instructionclassificationandaddressingmode(编辑修改稿)
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。
用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。