DI,INC DI和[DI],INC DI,有什么区别

汇编这两条语句对吗,为什么? INC [DI] POP 123H_百度知道
汇编这两条语句对吗,为什么? INC [DI] POP 123H
我有更好的答案
两个都不正确。inc&[di]&;&[di]指向的数据类型是什么?db&?&dw?&inc&byte&ptr&[di];&正确inc&word&ptr&[di];&正确pop&123h&&;&在8086汇编里,汇编语句后面直接跟数值,该数值表示为一个具体的数&&&&&&&&&&;&那么,pop&123h,就是把栈顶的数据弹出到一个数123H里,什么感觉?&&&&&&&&&&;&是不是怪怪的?所以正确的作法:pop&[123h];&正确
采纳率:72%
来自团队:
8086汇编,都不对。
为您推荐:
其他类似问题
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。MICDI Productions is the largest music editorial company in the business...
Check out what our clients have to say about us...
MICDI Resume
Click to download the company resume...
Click here to view our contact information...汇编子程序能不能讲4个inc指令,用add si,2 add di,2来去代?子程序代码在问题补充里!_百度知道
汇编子程序能不能讲4个inc指令,用add si,2 add di,2来去代?子程序代码在问题补充里!
add128: push ax push cx push si push di sub ax,ax mov cx,8 s:mov ax,[si] abc ax,[di] mov [si],axinc siinc siinc diinc diloop spop dipop sipop cxpop axret
我有更好的答案
可以,但是inc si 一字节,2个才2字节add si, 2 三字节
我觉得inc 不会改变CF的值这也是一个原因吧!
采纳率:58%
为您推荐:
其他类似问题
您可能关注的内容
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。Di-Chem, Inc. (C) 2017, Di-Chem Inc.&&All rights reserved.WelcomeSince 1982, Di-Chem has been working to deliver high-value, high-quality products and solutions to the healthcare and life science product industries. As a family-owned manufacturing and packaging company, our approach enables us to adapt and succeed in a dynamic environment. Industries are constantly evolving, and we are continually adapting to the ever-changing requirements of our customers. As these requirements grow, so do we. We strive to provide simplified and cost effective solutions that will enhance the products and services delivered to our customers.

我要回帖

更多关于 车厘子和樱桃的区别 的文章

 

随机推荐