What is ADDC instruction in 8051 microcontroller?


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: Embedded SystemWhat is ADDC instruction in 8051 microcontroller?
Chetan Shidling Staff asked 6 years ago

I need short information.

1 Answers
Chetan Shidling Staff answered 6 years ago

It performs addition function with carry. This adds the source byte to the accumulator(A) with carry bit i.e., A = A + byte + CY. If CY prior to this instruction, CY is also added to A. This instruction is the same as to ADD A, byte.

Example:

ADDC A, R4
Add register to A with carry, but puts the sum in the accumulator.