UGC NET CS 2014 Dec – paper-3
September 19, 2024Computer-Networks
September 19, 2024UGC 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.
|
11, 1, 1, 1
|
|
|
10, 0, 1, 0
|
|
|
01, 1, 0, 0
|
|
|
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”.
