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? Aakanchha asked Jun 25, 2016 Aakanchha 1.0k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes if (zero flag == 1) //result is zero else if(zero flag== 0) //RESULT is NON ZERO. Desert_Warrior answered Jun 25, 2016 Desert_Warrior comment Share Follow See all 2 Comments See all 2 2 Comments reply Aakanchha commented Jun 25, 2016 reply Follow Share zero flag value is coming zero but correct answer has value for zero flag as 1' 0 votes 0 votes Arjun commented Jun 25, 2016 reply Follow Share then give the question.. 0 votes 0 votes Please log in or register to add a comment.