What is ADDC instruction in 8051 microcontroller?

All QuestionsCategory: Embedded SystemWhat is ADDC instruction in 8051 microcontroller?
Chetan Shidling Staff asked 5 years ago

I need short information.

1 Answers
Chetan Shidling Staff answered 5 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.