Text only
24 Jul 2010
 
 
Tools: wrap/unwrap  
 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
build@leibnitz:~$ objdump -d hello.o
hello.o: file format elf32-tradlittlemips
Disassembly of section .text:
00000000 <main>:
0: 27bdffc8 addiu sp,sp,-56
4: afbf0034 sw ra,52(sp)
8: afbe0030 sw s8,48(sp)
c: 03a0f021 move s8,sp
10: 3c1c0000 lui gp,0x0
14: 279c0000 addiu gp,gp,0
18: afbc0010 sw gp,16(sp)
1c: 3c020000 lui v0,0x0
20: 8c420004 lw v0,4(v0)
24: 00000000 nop
28: afc20020 sw v0,32(s8)
2c: 3c020000 lui v0,0x0
30: 8c420008 lw v0,8(v0)
34: 00000000 nop
38: afc2001c sw v0,28(s8)
3c: 8f990000 lw t9,0(gp)
40: 8fc40020 lw a0,32(s8)
44: 8fc5001c lw a1,28(s8)
48: 0320f809 jalr t9
4c: 00000000 nop
50: 8fdc0010 lw gp,16(s8)
54: afc20018 sw v0,24(s8)
58: 8f990000 lw t9,0(gp)
5c: 8fc40018 lw a0,24(s8)
60: 0320f809 jalr t9
64: 00000000 nop
68: 8fdc0010 lw gp,16(s8)
6c: 00403021 move a2,v0
70: 00603821 move a3,v1
74: 3c020000 lui v0,0x0
78: 24440000 addiu a0,v0,0
7c: 8f990000 lw t9,0(gp)
80: 00000000 nop
84: 0320f809 jalr t9
88: 00000000 nop
8c: 8fdc0010 lw gp,16(s8)
90: 03c0e821 move sp,s8
94: 8fbf0034 lw ra,52(sp)
98: 8fbe0030 lw s8,48(sp)
9c: 27bd0038 addiu sp,sp,56
a0: 03e00008 jr ra
a4: 00000000 nop
...