5.5. The .while directive

The .while directive executes as long as a given expressions is true. That is, it works like a .for-loop but without the init and iteration parameters:

// Print the numbers from 0 to 9
.var i=0
.while(i<10) {    
    .print i;
    .eval i++; 
}