mov ax, bx vs. mov ax, [bx]
17,791
Yes. The operand between the brackets is treated as an address and the value at that memory address if fetched.
Comments
-
tina nyaa over 1 year
What is the difference between the following two lines?
mov ax, bx mov ax, [bx]
If
bx
contains the value 100h and the value at memory address 100h is 23, does the second one copy 23 toax
?Also, what is the difference between the two following lines?
mov ax, 102h ; moves value of 102h into register ax mov ax, [102h] ; Actual address is DS:0 + 102h