1,003 views
0 votes
0 votes
What is the difference when we say a zero flag has value 1' and when a zero flag has value 0 after addition of two numbers given in 2's complement?

1 Answer

3 votes
3 votes
if (zero flag == 1)
    //result is zero
else if(zero flag== 0)
    //RESULT is NON ZERO.

Related questions

1 votes
1 votes
1 answer
1
sh!va asked Mar 10, 2017
1,313 views
In an all NOR gate realization of a combinational circuit all EVEN and ODD level gates behave likea) OR and ANDb) AND and ORc) OR and NOTd) NOR and AND
1 votes
1 votes
1 answer
2
sh!va asked Mar 10, 2017
1,143 views
Which of the following Boolean algebra rules is correct?a) A.A' = 1b) A+AB = A+Bc) A+A'B = A+Bd) A(A+B) = B
5 votes
5 votes
2 answers
3
makhdoom ghaya asked May 13, 2016
2,935 views
The binary equivalent of the decimal number $42.75$ is$101010 . 110$$100110 . 101$$101010 . 101$$100110 . 110$
8 votes
8 votes
3 answers
4
makhdoom ghaya asked Apr 27, 2016
5,957 views
In a three stage counter, using $RS$ flip flops what will be the value of the counter after giving $9$ pulses to its input ? Assume that the value of counter before givin...