Open In App
Related Articles

GATE | GATE CS 1997 | Question 37

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

Contents of A register after the execution of the following 8085 microprocessor program is

MVI  A, 55 H
MVI  C, 25 H
ADD  C
DAA
(A)

7AH

(B)

80H

(C)

50H

(D)

22H



Answer: (B)

Explanation:

After ADD C accumulator becomes 01111010=7AH

Then DAA instruction causes the value of Acc to be formatted as BCD. So it becomes 80AH



Quiz of this Question
Please comment below if you find anything wrong in the above post

Last Updated : 19 Nov, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads