开发者

Assembly mov segments

开发者 https://www.devze.com 2023-04-03 08:44 出处:网络
Are the following assumptions correc开发者_开发问答t in regards to segment usage? mov ax, [bp] ; Uses SS?

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

精彩评论

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