File: opr-symbol.s

package info (click to toggle)
binutils 2.31.1-11
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 307,644 kB
  • sloc: ansic: 1,161,122; asm: 638,494; cpp: 128,815; exp: 68,557; makefile: 55,816; sh: 22,360; yacc: 14,238; lisp: 13,272; perl: 2,111; ada: 1,681; lex: 1,652; pascal: 1,446; cs: 879; sed: 195; python: 154; xml: 95; awk: 25
file content (109 lines) | stat: -rw-r--r-- 1,361 bytes parent folder | download | duplicates (14)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#sym1: set $123456

#sym2: set $abcdef

	.equiv sym1, 0x123456
	.equiv sym2, 0xabcdef

	mov.b #23, sym1
	mov.w #23, sym1
	mov.p #23, sym1
	mov.l #23, sym1

	mov.b sym1, sym2
	mov.w sym1, sym2
	mov.p sym1, sym2
	mov.l sym1, sym2

	add d1, sym1
	and d2, sym1
	sub d3, sym1
	or  d4, sym1

	inc.b  sym1
	inc.w  sym1
	inc.l  sym1

	ld d4, sym1

	jmp sym2
	jsr sym1

	dec.b  sym1
	dec.w  sym1
	dec.l  sym1

	clr.b  sym1
	clr.w  sym1
	clr.l  sym1

	st d5, sym1

	com.b  sym1
	com.w  sym1
	com.l  sym1

	neg.b  sym1
	neg.w  sym1
	neg.l  sym1

	cmp d5, sym1

	ld s, sym1
	st s, sym1
	cmp s, sym1

	minu d2, sym1
	maxu d2, sym1

	mins d2, sym1
	maxs d2, sym1

	adc d3, sym1
	bit d3, sym1
	sbc d3, sym1
	eor d3, sym1

	brclr.b sym1, d1, *+3
	brclr.w sym1, #2, *+4

	brset.b sym2, d2, *+5
	brset.w sym2, #3, *+6

	mulu.b d1, d2, sym1
	mulu.ll d6, sym1, sym2

	muls.b d1, d2, sym1
	muls.ll d6, sym1, sym2

	qmuls.b d1, d2, sym1
	qmuls.ll d6, sym1, sym2

	divu.b d1, d2, sym1
	divu.ll d6, sym1, sym2

	divs.b d1, d2, sym1
	divs.ll d6, sym1, sym2

	bclr.b sym1, #2
	bclr.w sym2, d2

	bset.b sym1, #2
	bset.w sym2, d2

	btgl.b sym1, #2
	btgl.w sym2, d2

	tbne.b sym1, *+8
	dbpl.w sym2, *+9

	bfins.b d2, sym1, d2
	bfins.w sym1, d2, d2
	bfins.p d2, sym1, #8:1
	bfins.l sym1, d2, #8:1

	bfext.b d2, sym1, d2
	bfext.w sym1, d2, d2
	bfext.p d2, sym1, #8:1
	bfext.l sym1, d2, #7:2