program wrepeat {
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, 10
REPEAT_0:
print fmt_str, str_0
print fmt_int, i
print newline
sub i, 1
REPEAT_CONTINUE_2:
cmp i, 0
jne REPEAT_0
UNTIL_1:
done
}
}