Aug 4, 2024
If Q0 and Q-1 are:
When n = 0, end the program and store the result in A.
Initialization:
First Check (Q0=1, Q-1=0):
Second Check (Q0=1, Q-1=1):
Third Check (Q0=0, Q-1=1):
Fourth Check (Q0=0, Q-1=1):
Final Check (Q0=0, Q-1=0):
Full transcript