Awesome q2a theme
0 votes
10 views

https://gateoverflow.in/291233/calculate-number-of-times-zero-flag-is-reset

 

Can someone explain to me the entire approach and ultimately the final answer ?

in CO & Architecture by (1.6k points) | 10 views
+1
they are asking, how many times ZERO flag was Updated to value 0.

$(23)_8$ = 19 in decimal.

on addition/subtraction, based on the result the ZERO flag is updated to 1 if result is 0, else updated to 0.

JNZ LOOP means, if ZERO flag is 0 then jump to the label LOOP. else continue to the next statement
0
@shaik ….. ok i understood. Thank u so much.

Please log in or register to answer this question.

Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
930 questions
593 answers
1,873 comments
81,472 users