Specify the contents of the accumulator and the status of the S, Z and CY flags when 8085…
Hexadecimal 87+79=100. The 8-bit accumulator retains 00, setting zero and carry and clearing sign. Thus the displayed accumulator, S, Z, CY tuple is 00,0,1,1.
Choose your answer
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.
Answer and explanation
Correct answer D
Hexadecimal 87+79=100. The 8-bit accumulator retains 00, setting zero and carry and clearing sign. Thus the displayed accumulator, S, Z, CY tuple is 00,0,1,1.
Practice for these exams
-
UGC NET Computer Science and Applications