Q6,p3,d14. Specify the contents of the accumulator and the status of the S, Z and CY flags when 8085.microprocessor performs addition of 87 H and 79 H.
(A) 11, 1, 1, 1 (B) 10, 0, 1, 0
(C) 01, 1, 0, 0 (D) 00, 0, 1, 1 .
Answer D.
10000111
01111001
00000000
Sum is written in hexadecimal form
as 00.
Carry =1 , flag is set.
Zero flag is set.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.