program ForStatement {
section module {
}
section data {
int rax = 0
string str_0 = "hey: "
string fmt_int = "%lld "
string fmt_str = "%s "
string newline = "\n"
int i = 0
}
section code {
start:
mov i, 0
FOR_0:
cmp i, 10
jg ENDFOR_1
print fmt_str, str_0
print fmt_int, i
print newline
FOR_CONTINUE_2:
add i, 1
jmp FOR_0
ENDFOR_1:
done
}
}