...
UGC NET CS 2014 Dec – paper-3
September 19, 2024
Computer-Networks
September 19, 2024
UGC NET CS 2014 Dec – paper-3
September 19, 2024
Computer-Networks
September 19, 2024

UGC NET CS 2014 Dec – paper-3

Question 6
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
Question 6 Explanation: 

Since MSB of 8-bit result is zero, it means the number is positive. So Sign flag will be “0”.
Since 8-bit result contain zero only so Zero flag will be “1”.
Since addition operation is resulting into a carry so Carry flag will be “1”.
Correct Answer: D
Question 6 Explanation: 

Since MSB of 8-bit result is zero, it means the number is positive. So Sign flag will be “0”.
Since 8-bit result contain zero only so Zero flag will be “1”.
Since addition operation is resulting into a carry so Carry flag will be “1”.

Leave a Reply

Your email address will not be published. Required fields are marked *