MOV AX,BX与MOV AX,[BX] [英] mov ax, bx vs. mov ax, [bx]

查看:322
本文介绍了MOV AX,BX与MOV AX,[BX]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对不起打扰,我觉得很难理解的书

有什么区别在以下两种:

  MOV AX,BX
MOV AX,[BX]

如果 BX 包含100H,和值在内存地址100H为23,做第二个副本,23

此外,有什么区别

  MOV AX,102H;移动102H的值写入寄存器斧
MOV AX,[102H]实际地址为DS:0 + 102H


解决方案

是的。方括号之间的操作数视为一个地址,并在该存储器地址中的值,如果取

Sorry bother, I am find difficult to understand book

What is difference in the following two:

mov ax, bx
mov ax, [bx]

If bx contains 100h, and value at memory address 100h is 23, does second one copy 23 to ax?

Also, what is difference in

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

解决方案

Yes. The operand between the brackets is treated as an address and the value at that memory address if fetched.

这篇关于MOV AX,BX与MOV AX,[BX]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆