to 11, to 10,back to 00, and repeats. When x_in = 0, the circuit goes through the same sequence above, but backwards. The value of x_in can change at any point in time. Therefore, the circuit may reversedirection at any point and follow the sequence in the other direction from that point.
Fig: 1
Fig: 2
Fig: 3
Fig: 4