开发者

Assembly mov segments

Are the following assumptions correc开发者_开发问答t in regards to segment usage?

mov ax, [bp] ; Uses SS?
mov ax, disp[bp]; Uses SS?
mov ax, [bp+10h]; Uses SS?
mov ax, [bx+10h]; Uses DS?


Looks right:

By default BX, SI and DI registers work with DS segment register; BP and SP work with SS segment register.

A reference source.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜