What is SUBB 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 SUBB instruction in 8051 microcontroller?
Chetan Shidling Staff asked 6 years ago

I need short information.

1 Answers
Chetan Shidling Staff answered 6 years ago

Its function is to subtract with the barrow. Subtract the source-byte and the carry flag from the accumulator and set the result in the accumulator.

Example:

MOV A, #45H
CLR C
SUBB A, #22H