1# Source file used to test the add macro.
2
3foo:
4	.ifndef r6
5	add	$4,$4,0
6	add	$4,$4,1
7	add	$4,$4,0x8000
8	add	$4,$4,-0x8000
9	add	$4,$4,0x10000
10	add	$4,$4,0x1a5a5
11	.endif
12
13# addu is handled the same way add is; just confirm that it isn't
14# totally broken.
15	addu	$4,$4,1
16
17	.align 2
18	.space 8
19