adplus-dvertising
frame-decoration

Question

What is the difference between the ADD and ADC instructions?

a.

ADD sets the carry flag and ADC clears it

b.

ADD clears the carry flag and ADC sets it

c.

ADD and ADC both set the carry flag

d.

ADD and ADC both clear the carry flag

Posted under Reverse Engineering

Answer: (b).ADD clears the carry flag and ADC sets it Explanation:The ADC instruction is very similar to the standard ADD, with the difference that it also adds the value of the carry flag (CF) to the result.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the difference between the ADD and ADC instructions?