在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
.