Loops: for
for (
<init>
;
<cond>
;
<update>
) {
<for-body>
}
Equivalent while loop:
<init>;
<init>;
while (
<cond>
) {
L1:
if (
<cond>
) {
<for-body>
<for-body>
<update>
<update>
}
goto L1 ;
}
DONE: