3 ms·
The loop you posted is a do-while loop; the while loop has a somewhat less intuitive translation to GOTO: loop_test: IF (NOT loop_condition) GOTO after_loop
by zozbot234 4y ago
The loop you posted is a do-while loop; the while loop has a somewhat less intuitive translation to GOTO:
loop_test: IF (NOT loop_condition) GOTO after_loop
loop_body
GOTO loop_test
after_loop: etc...