Advertisements
Advertisements
Question
Explain the following instruction of Micro-processor 8085 with an example:
ADD r
Explain
Advertisements
Solution
ADD r (Add Register to Accumulator) This instruction adds the content of the specified register 'r' (like B, C, D, E, H, L) to the content of the Accumulator. The result is stored in the Accumulator, and all status flags are updated.
Example:
If A = 10H and B = 05H, executing ADD B will result in A = 15H.
shaalaa.com
Is there an error in this question or solution?
2023-2024 (July) Official Board Paper
