Quote Originally Posted by Ioannis View Post
I think not since there is OR in the WHILE statement.
But doesn't the OR mean that you're stuck in this loop while either A OR B is low? In other words, you can only get out of the loop when both A and B are high?