Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 6 (Q.No. 8)
8.

Assertion (A): In 8085, the zero flag is set when ALU operation results in 0. If the result is not 0, this flag is reset.

Reason (R): In 8085 the S flag is set when the contents of accumulator become negative during execution of an instruction.

Both A and R are correct and R is correct explanation of A
Both A and R are correct but R is not correct explanation of A
A is correct R is wrong
A is wrong R is correct
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
5 comments Page 1 of 1.

Anushka said:   7 years ago
Option B is correct.

Bhagya said:   8 years ago
Yes, option B is correct.

Shashi kant said:   9 years ago
If D7 of the result (usually in the accumulator) is 1 sign flag is set. This flag is used with signed numbers in given byte. If D7 is 1 the number is viewed as a negative number. If it is 0 number will be considered as positive.

Shashi kant said:   9 years ago
Yes, option B is correct.

Vinil said:   9 years ago
I think the option B is correct.

Post your comments here:

Your comments will be displayed after verification.