summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/rol.s
blob: 97e2b01927dec9e8556494e55db056d665d4cf71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Source file used to test the rol and ror macros.

foo:
	rol	$4,$5
	rol	$4,$5,$6
	rol	$4,1
	rol	$4,$5,1
	rol	$4,$5,0

	ror	$4,$5
	ror	$4,$5,$6
	ror	$4,1
	ror	$4,$5,1
	ror	$4,$5,0

	rol	$4,$5,32
	rol	$4,$5,33
	rol	$4,$5,63

	ror	$4,$5,32
	ror	$4,$5,33
	ror	$4,$5,63

	.space	8