# Source file used to test li/addi on MIPS16e2

	.set	mips16

	.data
data_label:
	.word	0
data_label2:
	.word	0

	.extern big_external_data_label,1000
	.extern small_external_data_label,1
	.comm big_external_common,1000
	.comm small_external_common,1
	.lcomm big_local_common,1000
	.lcomm small_local_common,1

	.text
stuff:
	lui	$4,%hi(0)
	addiu	$4,%lo(0)
	lui	$4,%hi(data_label)
	addiu	$4,%lo(data_label)
	lui	$4,%hi(data_label2)
	addiu	$4,%lo(data_label2)
	lui	$4,%hi(big_external_data_label)
	addiu	$4,%lo(big_external_data_label)
	lui	$4,%hi(small_external_data_label)
	addiu	$4,%lo(small_external_data_label)
	lui	$4,%hi(big_external_common)
	addiu	$4,%lo(big_external_common)
	lui	$4,%hi(small_external_common)
	addiu	$4,%lo(small_external_common)
	lui	$4,%hi(big_local_common)
	addiu	$4,%lo(big_local_common)
	lui	$4,%hi(small_local_common)
	addiu	$4,%lo(small_local_common)
	lui	$4,%hi(1)
	addiu	$4,%lo(1)
	lui	$4,%hi(data_label+1)
	addiu	$4,%lo(data_label+1)
	lui	$4,%hi(data_label2+1)
	addiu	$4,%lo(data_label2+1)
	lui	$4,%hi(big_external_data_label+1)
	addiu	$4,%lo(big_external_data_label+1)
	lui	$4,%hi(small_external_data_label+1)
	addiu	$4,%lo(small_external_data_label+1)
	lui	$4,%hi(big_external_common+1)
	addiu	$4,%lo(big_external_common+1)
	lui	$4,%hi(small_external_common+1)
	addiu	$4,%lo(small_external_common+1)
	lui	$4,%hi(big_local_common+1)
	addiu	$4,%lo(big_local_common+1)
	lui	$4,%hi(small_local_common+1)
	addiu	$4,%lo(small_local_common+1)
	lui	$4,%hi(0x8000)
	addiu	$4,%lo(0x8000)
	lui	$4,%hi(data_label+0x8000)
	addiu	$4,%lo(data_label+0x8000)
	lui	$4,%hi(data_label2+0x8000)
	addiu	$4,%lo(data_label2+0x8000)
	lui	$4,%hi(big_external_data_label+0x8000)
	addiu	$4,%lo(big_external_data_label+0x8000)
	lui	$4,%hi(small_external_data_label+0x8000)
	addiu	$4,%lo(small_external_data_label+0x8000)
	lui	$4,%hi(big_external_common+0x8000)
	addiu	$4,%lo(big_external_common+0x8000)
	lui	$4,%hi(small_external_common+0x8000)
	addiu	$4,%lo(small_external_common+0x8000)
	lui	$4,%hi(big_local_common+0x8000)
	addiu	$4,%lo(big_local_common+0x8000)
	lui	$4,%hi(small_local_common+0x8000)
	addiu	$4,%lo(small_local_common+0x8000)
	lui	$4,%hi(-0x8000)
	addiu	$4,%lo(-0x8000)
	lui	$4,%hi(data_label-0x8000)
	addiu	$4,%lo(data_label-0x8000)
	lui	$4,%hi(data_label2-0x8000)
	addiu	$4,%lo(data_label2-0x8000)
	lui	$4,%hi(big_external_data_label-0x8000)
	addiu	$4,%lo(big_external_data_label-0x8000)
	lui	$4,%hi(small_external_data_label-0x8000)
	addiu	$4,%lo(small_external_data_label-0x8000)
	lui	$4,%hi(big_external_common-0x8000)
	addiu	$4,%lo(big_external_common-0x8000)
	lui	$4,%hi(small_external_common-0x8000)
	addiu	$4,%lo(small_external_common-0x8000)
	lui	$4,%hi(big_local_common-0x8000)
	addiu	$4,%lo(big_local_common-0x8000)
	lui	$4,%hi(small_local_common-0x8000)
	addiu	$4,%lo(small_local_common-0x8000)
	lui	$4,%hi(0x10000)
	addiu	$4,%lo(0x10000)
	lui	$4,%hi(data_label+0x10000)
	addiu	$4,%lo(data_label+0x10000)
	lui	$4,%hi(data_label2+0x10000)
	addiu	$4,%lo(data_label2+0x10000)
	lui	$4,%hi(big_external_data_label+0x10000)
	addiu	$4,%lo(big_external_data_label+0x10000)
	lui	$4,%hi(small_external_data_label+0x10000)
	addiu	$4,%lo(small_external_data_label+0x10000)
	lui	$4,%hi(big_external_common+0x10000)
	addiu	$4,%lo(big_external_common+0x10000)
	lui	$4,%hi(small_external_common+0x10000)
	addiu	$4,%lo(small_external_common+0x10000)
	lui	$4,%hi(big_local_common+0x10000)
	addiu	$4,%lo(big_local_common+0x10000)
	lui	$4,%hi(small_local_common+0x10000)
	addiu	$4,%lo(small_local_common+0x10000)
	lui	$4,%hi(0x1a5a5)
	addiu	$4,%lo(0x1a5a5)
	lui	$4,%hi(data_label+0x1a5a5)
	addiu	$4,%lo(data_label+0x1a5a5)
	lui	$4,%hi(data_label2+0x1a5a5)
	addiu	$4,%lo(data_label2+0x1a5a5)
	lui	$4,%hi(big_external_data_label+0x1a5a5)
	addiu	$4,%lo(big_external_data_label+0x1a5a5)
	lui	$4,%hi(small_external_data_label+0x1a5a5)
	addiu	$4,%lo(small_external_data_label+0x1a5a5)
	lui	$4,%hi(big_external_common+0x1a5a5)
	addiu	$4,%lo(big_external_common+0x1a5a5)
	lui	$4,%hi(small_external_common+0x1a5a5)
	addiu	$4,%lo(small_external_common+0x1a5a5)
	lui	$4,%hi(big_local_common+0x1a5a5)
	addiu	$4,%lo(big_local_common+0x1a5a5)
	lui	$4,%hi(small_local_common+0x1a5a5)
	addiu	$4,%lo(small_local_common+0x1a5a5)
	lui	$5,%hi(0)
	lw	$4,%hi(0)($5)
	lui	$5,%hi(data_label)
	lw	$4,%hi(data_label)($5)
	lui	$5,%hi(data_label2)
	lw	$4,%hi(data_label2)($5)
	lui	$5,%hi(big_external_data_label)
	lw	$4,%lo(big_external_data_label)($5)
	lui	$5,%hi(small_external_data_label)
	lw	$4,%lo(small_external_data_label)($5)
	lui	$5,%hi(big_external_common)
	lw	$4,%lo(big_external_common)($5)
	lui	$5,%hi(small_external_common)
	lw	$4,%lo(small_external_common)($5)
	lui	$5,%hi(big_local_common)
	lw	$4,%lo(big_local_common)($5)
	lui	$5,%hi(small_local_common)
	lw	$4,%lo(small_local_common)($5)
	lui	$5,%hi(1)
	lw	$4,%lo(1)($5)
	lui	$5,%hi(data_label+1)
	lw	$4,%lo(data_label+1)($5)
	lui	$5,%hi(data_label2+1)
	lw	$4,%lo(data_label2+1)($5)
	lui	$5,%hi(big_external_data_label+1)
	lw	$4,%lo(big_external_data_label+1)($5)
	lui	$5,%hi(small_external_data_label+1)
	lw	$4,%lo(small_external_data_label+1)($5)
	lui	$5,%hi(big_external_common+1)
	lw	$4,%lo(big_external_common+1)($5)
	lui	$5,%hi(small_external_common+1)
	lw	$4,%lo(small_external_common+1)($5)
	lui	$5,%hi(big_local_common+1)
	lw	$4,%lo(big_local_common+1)($5)
	lui	$5,%hi(small_local_common+1)
	lw	$4,%lo(small_local_common+1)($5)
	lui	$5,%hi(0x8000)
	lw	$4,%lo(0x8000)($5)
	lui	$5,%hi(data_label+0x8000)
	lw	$4,%lo(data_label+0x8000)($5)
	lui	$5,%hi(data_label2+0x8000)
	lw	$4,%lo(data_label2+0x8000)($5)
	lui	$5,%hi(big_external_data_label+0x8000)
	lw	$4,%lo(big_external_data_label+0x8000)($5)
	lui	$5,%hi(small_external_data_label+0x8000)
	lw	$4,%lo(small_external_data_label+0x8000)($5)
	lui	$5,%hi(big_external_common+0x8000)
	lw	$4,%lo(big_external_common+0x8000)($5)
	lui	$5,%hi(small_external_common+0x8000)
	lw	$4,%lo(small_external_common+0x8000)($5)
	lui	$5,%hi(big_local_common+0x8000)
	lw	$4,%lo(big_local_common+0x8000)($5)
	lui	$5,%hi(small_local_common+0x8000)
	lw	$4,%lo(small_local_common+0x8000)($5)
	lui	$5,%hi(-0x8000)
	lw	$4,%lo(-0x8000)($5)
	lui	$5,%hi(data_label-0x8000)
	lw	$4,%lo(data_label-0x8000)($5)
	lui	$5,%hi(data_label2-0x8000)
	lw	$4,%lo(data_label2-0x8000)($5)
	lui	$5,%hi(big_external_data_label-0x8000)
	lw	$4,%lo(big_external_data_label-0x8000)($5)
	lui	$5,%hi(small_external_data_label-0x8000)
	lw	$4,%lo(small_external_data_label-0x8000)($5)
	lui	$5,%hi(big_external_common-0x8000)
	lw	$4,%lo(big_external_common-0x8000)($5)
	lui	$5,%hi(small_external_common-0x8000)
	lw	$4,%lo(small_external_common-0x8000)($5)
	lui	$5,%hi(big_local_common-0x8000)
	lw	$4,%lo(big_local_common-0x8000)($5)
	lui	$5,%hi(small_local_common-0x8000)
	lw	$4,%lo(small_local_common-0x8000)($5)
	lui	$5,%hi(0x10000)
	lw	$4,%lo(0x10000)($5)
	lui	$5,%hi(data_label+0x10000)
	lw	$4,%lo(data_label+0x10000)($5)
	lui	$5,%hi(data_label2+0x10000)
	lw	$4,%lo(data_label2+0x10000)($5)
	lui	$5,%hi(big_external_data_label+0x10000)
	lw	$4,%lo(big_external_data_label+0x10000)($5)
	lui	$5,%hi(small_external_data_label+0x10000)
	lw	$4,%lo(small_external_data_label+0x10000)($5)
	lui	$5,%hi(big_external_common+0x10000)
	lw	$4,%lo(big_external_common+0x10000)($5)
	lui	$5,%hi(small_external_common+0x10000)
	lw	$4,%lo(small_external_common+0x10000)($5)
	lui	$5,%hi(big_local_common+0x10000)
	lw	$4,%lo(big_local_common+0x10000)($5)
	lui	$5,%hi(small_local_common+0x10000)
	lw	$4,%lo(small_local_common+0x10000)($5)
	lui	$5,%hi(0x1a5a5)
	lw	$4,%lo(0x1a5a5)($5)
	lui	$5,%hi(data_label+0x1a5a5)
	lw	$4,%lo(data_label+0x1a5a5)($5)
	lui	$5,%hi(data_label2+0x1a5a5)
	lw	$4,%lo(data_label2+0x1a5a5)($5)
	lui	$5,%hi(big_external_data_label+0x1a5a5)
	lw	$4,%lo(big_external_data_label+0x1a5a5)($5)
	lui	$5,%hi(small_external_data_label+0x1a5a5)
	lw	$4,%lo(small_external_data_label+0x1a5a5)($5)
	lui	$5,%hi(big_external_common+0x1a5a5)
	lw	$4,%lo(big_external_common+0x1a5a5)($5)
	lui	$5,%hi(small_external_common+0x1a5a5)
	lw	$4,%lo(small_external_common+0x1a5a5)($5)
	lui	$5,%hi(big_local_common+0x1a5a5)
	lw	$4,%lo(big_local_common+0x1a5a5)($5)
	lui	$5,%hi(small_local_common+0x1a5a5)
	lw	$4,%lo(small_local_common+0x1a5a5)($5)

# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
	.space	16
	.align	4, 0
