The Accumulator of 8085 Microprocessor contains data 89 H. The register D contains data 58H. What will be content of Accumulator in hexadecimal after execution of each of the following instruction
Advertisements
Advertisements
Question
The Accumulator of 8085 Microprocessor contains data 89 H. The register D contains data 58H. What will be content of Accumulator in hexadecimal after execution of each of the following instruction dependently (Stepwise i.e. one after another):
- ADD D
- DAA
- CMA
- SUI B8H
Short Answer
Advertisements
Solution
A = 89H, D = 58H
- ADD D
89H + 58H = E1H
A = E1H - DAA
Start: A = E1H, AC = 1
Add 06H:E1H + 06H = E7H
Upper nibble > 9 → add 60H:E7H + 60H = 147H - CMA
Complement of 47H = B8H
A = B8H - SUI B8H
B8H – B8H = 00H
A = 00H
shaalaa.com
Is there an error in this question or solution?
2025-2026 (March) Official Board Paper
