cup.ssa (269B)
1 # counts up from -1988 to 1991 2 3 export 4 function $test() { 5 @start 6 @loop 7 %n0 =l phi @start -1988, @loop %n1 8 %n1 =l add 1, %n0 9 %cmp =w cslel 1991, %n1 10 jnz %cmp, @end, @loop 11 @end 12 ret 13 } 14 15 # >>> driver 16 # extern void test(void); 17 # int main() { test(); return 0; } 18 # <<<