summary refs log tree commit diff
path: root/lisc/test/cup.ssa
blob: da9bd7768dead90a92cf0e4b19fa0c8b5940b0f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# counts up from -1988 to 1991

@start
@loop
	%n0  =l phi @start -1988, @loop %n1
	%n1  =l add 1, %n0
	%cmp =w csle 1991, %n1
	jnz %cmp, @end, @loop
@end
	ret