gpt4 book ai didi

assembly - mov ax, bx 与 mov ax, [bx]

转载 作者:行者123 更新时间:2023-12-02 19:25:13 29 4
gpt4 key购买 nike

下面两行有什么区别?

mov ax, bx
mov ax, [bx]

如果bx包含值100h,并且内存地址100h处的值是23,那么第二个是否将23复制到ax

另外,下面两行有什么区别?

mov ax, 102h ; moves value of 102h into register ax
mov ax, [102h] ; Actual address is DS:0 + 102h

最佳答案

是的。括号之间的操作数被视为地址以及该内存地址处的值(如果获取)。

关于assembly - mov ax, bx 与 mov ax, [bx],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7291915/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com