File: mips16-macro.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 (59 lines) | stat: -rw-r--r-- 974 bytes parent folder | download | duplicates (25)
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
	.set	mips16
	.ent	foo
foo:
	div	$2,$3,$4
	divu	$3,$4,$5
	ddiv	$4,$5,$6
	ddivu	$5,$6,$7
	rem	$6,$7,$16
	remu	$6,$7,$17
	drem	$2,$3,$4
	dremu	$3,$4,$5
	mul	$4,$5,$6
	dmul	$5,$6,$7
	subu	$2,-32767
	subu	$3,16
	subu	$4,32768
	subu	$3,$7,-16383
	subu	$4,$16,4
	subu	$5,$17,16384
	dsubu	$4,-32767
	dsubu	$6,6
	dsubu	$7,32768
	dsubu	$2,$4,-16383
	dsubu	$3,$7,8
	dsubu	$4,$5,16384
1:	beq	$2,$3,1b
1:	bne	$4,$5,1b
1:	blt	$6,$7,1b
1:	bltu	$16,$17,1b
1:	ble	$4,$7,1b
1:	bleu	$5,$6,1b
1:	bge	$4,$16,1b
1:	bgeu	$5,$17,1b
1:	bgt	$4,$6,1b
1:	bgtu	$5,$7,1b
1:	beq	$2,1,1b
1:	beq	$3,65535,1b
1:	bne	$4,1,1b
1:	bne	$5,65535,1b
1:	blt	$6,-32768,1b
1:	blt	$7,32767,1b
1:	bltu	$16,-32768,1b
1:	bltu	$17,32767,1b
1:	ble	$2,-32769,1b
1:	ble	$3,32766,1b
1:	bleu	$4,-32769,1b
1:	bleu	$5,32766,1b
1:	bge	$6,-32768,1b
1:	bge	$7,32766,1b
1:	bgeu	$16,-32768,1b
1:	bgeu	$17,32767,1b
1:	bgt	$2,-32769,1b
1:	bgt	$3,32766,1b
1:	bgtu	$4,-32769,1b
1:	bgtu	$5,32766,1b
	abs	$2
	abs	$3,$3
	abs	$4,$5
	.end	foo