summaryrefslogtreecommitdiff
path: root/js/src/lirasm/tests/subjovi_ovf.in
blob: 6e0ac66cd6be2a2203bbdad2ad96dcc0cb63dcbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
	ptr = allocp 8

	a = immi -2147483647
	b = immi 2
	c = subjovi a b ovf
	sti c ptr 0

	j done

ovf:	i = immi 12345678
	sti i ptr 0

done:	res = ldi ptr 0
	reti res