File: elf-rel11.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 (27 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (41)
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
	.ent	foo
foo:
	lui	$4,%highest(bar)
	lui	$5,%hi(bar)
	daddiu	$4,$4,%higher(bar)
	daddiu	$5,$5,%lo(bar)
	dsll32	$4,$4,0
	daddu	$4,$4,$5

	lui	$4,%highest(bar + 0x12345678)
	lui	$5,%hi(bar + 0x12345678)
	daddiu	$4,$4,%higher(bar + 0x12345678)
	daddiu	$5,$5,%lo(bar + 0x12345678)
	dsll32	$4,$4,0
	daddu	$4,$4,$5

	lui	$4,%highest(l1)
	daddiu	$4,$4,%higher(l1)
	dsll	$4,$4,16
	daddiu	$4,$4,%hi(l1)
	dsll	$4,$4,16
	lw	$4,%lo(l1)($4)
	.end	foo

	.data
	.word	1,2,3,4
l1:	.word	4,5