aboutsummaryrefslogtreecommitdiff
blob: d0fde2ae8cae8bd774aba10514e1e43a8de0339c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.data
.global mydata
mydata:
	.word 0x11

.text
.global	_start
_start:
	addi.gp $r0, mydata
	lbi.gp $r0, [+mydata]
	lbsi.gp $r0, [+mydata]
	lhi.gp $r0, [+mydata]
	lhsi.gp $r0, [+mydata]
	lwi.gp $r0, [+mydata]
	sbi.gp $r0, [+mydata]
	shi.gp $r0, [+mydata]
	swi.gp $r0, [+mydata]