在ASM 8086 ADC指令 [英] ADC instruction in ASM 8086
本文介绍了在ASM 8086 ADC指令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用 ADC
为〔实施例:
AL = 01 and BL = 02, and CF = 1
当我这样做:
ADC AL,BL
威尔 AL
是 3
或 4
? (与 CF
添加或不?)
Will AL
be 3
or 4
? (with the CF
addition or without?)
推荐答案
有关 8086
ADC
指令几件事情
Syntax: adc dest, src
dest: memory or register
src: memory, register, or immediate
Action: dest = dest + src + CF
显然动作说,进位标志( CF
)将被列入除了这样的结果将是 4
不是 3
。
Clearly the action says the Carry Flag (CF
) will be included in the addition so the result will be 4
not 3
.
这篇关于在ASM 8086 ADC指令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文