File: mips16e2-imm-error.s

package info (click to toggle)
binutils 2.34-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 328,380 kB
  • sloc: ansic: 1,180,155; asm: 665,310; cpp: 130,540; exp: 69,822; makefile: 57,183; sh: 22,559; yacc: 14,469; lisp: 13,785; perl: 2,112; ada: 1,681; lex: 1,650; pascal: 1,446; cs: 879; sed: 195; python: 154; xml: 95; awk: 25
file content (79 lines) | stat: -rw-r--r-- 1,303 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
	.set	mips16
foo:
	lw	$2, -32769($gp)
	lw	$2, 32768($gp)
	lh	$2, -32769($gp)
	lh	$2, 32768($gp)
	lhu	$2, -32769($gp)
	lhu	$2, 32768($gp)
	lb	$2, -32769($gp)
	lb	$2, 32768($gp)
	lbu	$2, -32769($gp)
	lbu	$2, 32768($gp)
	sw	$2, -32769($gp)
	sw	$2, 32768($gp)
	sh	$2, -32769($gp)
	sh	$2, 32768($gp)
	sb	$2, -32769($gp)
	sb	$2, 32768($gp)

	ll	$2, -257($gp)
	ll	$2, 256($gp)
	lwl	$2, -257($gp)
	lwl	$2, 256($gp)
	lwr	$2, -257($gp)
	lwr	$2, 256($gp)
	sc	$2, -257($gp)
	sc	$2, 256($gp)
	swl	$2, -257($gp)
	swl	$2, 256($gp)
	swr	$2, -257($gp)
	swr	$2, 256($gp)

	cache	0, -257($2)
	cache	0, 256($2)
	cache	-1, 0($2)
	cache	32, 0($2)
	pref	0, -257($2)
	pref	0, 256($2)
	pref	-1, 0($2)
	pref	32, 0($2)

	addiu	$2, $gp, -32769
	addiu	$2, $gp, 32768
	addu	$2, $gp, -32769
	addu	$2, $gp, 32768

	lui	$2, -1
	lui	$2, 65536
	andi	$2, -1
	andi	$2, 65536
	ori	$2, -1
	ori	$2, 65536
	xori	$2, -1
	xori	$2, 65536

	ext	$2, $3, 0, 0
	ext	$2, $3, 0, 33
	ext	$2, $3, -1, 1
	ext	$2, $3, 32, 1
	ins	$2, $3, 0, 0
	ins	$2, $3, 0, 33
	ins	$2, $3, -1, 1
	ins	$2, $3, 32, 1
	ins	$2, $0, 0, 0
	ins	$2, $0, 0, 33
	ins	$2, $0, -1, 1
	ins	$2, $0, 32, 1

	sync	-1
	sync	32

	mfc0	$2, $3, -1
	mfc0	$2, $3, 32
	mtc0	$2, $3, -1
	mtc0	$2, $3, 32

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