十五、段前缀
assume cs:daima
daima segmentmov ax,2000Hmov ds,axmov bx,0000Hmov ah,01Hmov [bx],axmov cx,5A:inc bxinc ahmov [bx],ahloop Amov ax,3000Hmov ds,axmov bx,0000Hmov ah,01Hmov [bx],axmov cx,5B:inc bxinc ahmov [bx],ahloop Bmov ax,4c00Hint 21H
daima ends
end
?
段前綴
描述:使用段寄存器前綴的形式顯示地給出內存單元的段地址
格式:
段寄存器:[偏移地址]實例修改:
assume cs:daima daima segmentmov ax,2000Hmov ds,axmov ax,3000Hmov ss.axmov bx,0000Hmov ah,01Hmov ds:[bx],axmov ss:[bx],axmov cx,5A:inc bxinc ahmov ds:[bx],ahmov ss:[bx],ahloop Amov ax,4c00Hint 21H daima ends end?
?
總結
- 上一篇: Linux系统编程——孤儿进程模拟及分析
- 下一篇: Android Studio 在res中