1 | |
---|
2 | test.elf: file format elf32-littlemips |
---|
3 | |
---|
4 | |
---|
5 | Disassembly of section .text: |
---|
6 | |
---|
7 | bfc00000 <_start>: |
---|
8 | bfc00000: 3c1ad020 lui k0,0xd020 |
---|
9 | bfc00004: 3c1be000 lui k1,0xe000 |
---|
10 | bfc00008: 3c04bfc0 lui a0,0xbfc0 |
---|
11 | bfc0000c: 2484014a addiu a0,a0,330 |
---|
12 | bfc00010: 0ff000e2 jal bfc00388 <print> |
---|
13 | bfc00014: 00000000 nop |
---|
14 | bfc00018: 3c040040 lui a0,0x40 |
---|
15 | bfc0001c: 40846000 mtc0 a0,c0_status |
---|
16 | bfc00020: 3c040000 lui a0,0x0 |
---|
17 | bfc00024: 24842000 addiu a0,a0,8192 |
---|
18 | bfc00028: 00042342 srl a0,a0,0xd |
---|
19 | bfc0002c: 48840000 mtc2 a0,$0 |
---|
20 | bfc00030: 00000000 nop |
---|
21 | bfc00034: 2404000f li a0,15 |
---|
22 | bfc00038: 48840800 mtc2 a0,$1 |
---|
23 | bfc0003c: 3c04bfc0 lui a0,0xbfc0 |
---|
24 | bfc00040: 2484013d addiu a0,a0,317 |
---|
25 | bfc00044: 0ff000e2 jal bfc00388 <print> |
---|
26 | bfc00048: 00000000 nop |
---|
27 | bfc0004c: 24040040 li a0,64 |
---|
28 | bfc00050: a3440000 sb a0,0(k0) |
---|
29 | bfc00054: 0000000f sync |
---|
30 | bfc00058: a3440000 sb a0,0(k0) |
---|
31 | bfc0005c: 0000000f sync |
---|
32 | bfc00060: a3440000 sb a0,0(k0) |
---|
33 | bfc00064: 0000000f sync |
---|
34 | bfc00068: a3440000 sb a0,0(k0) |
---|
35 | bfc0006c: 0000000f sync |
---|
36 | bfc00070: a3440000 sb a0,0(k0) |
---|
37 | bfc00074: 0000000f sync |
---|
38 | bfc00078: a3440000 sb a0,0(k0) |
---|
39 | bfc0007c: 0000000f sync |
---|
40 | bfc00080: 2404000a li a0,10 |
---|
41 | bfc00084: a3440000 sb a0,0(k0) |
---|
42 | bfc00088: 24040000 li a0,0 |
---|
43 | bfc0008c: af640004 sw a0,4(k1) |
---|
44 | bfc00090: 0bf00024 j bfc00090 <_start+0x90> |
---|
45 | bfc00094: 00000000 nop |
---|
46 | |
---|
47 | bfc00098 <excep>: |
---|
48 | bfc00098: 3c04bfc0 lui a0,0xbfc0 |
---|
49 | bfc0009c: 24840120 addiu a0,a0,288 |
---|
50 | bfc000a0: 0ff000e2 jal bfc00388 <print> |
---|
51 | bfc000a4: 00000000 nop |
---|
52 | bfc000a8: 40046000 mfc0 a0,c0_status |
---|
53 | bfc000ac: 0ff000ec jal bfc003b0 <printx> |
---|
54 | bfc000b0: 00000000 nop |
---|
55 | bfc000b4: 3c04bfc0 lui a0,0xbfc0 |
---|
56 | bfc000b8: 24840128 addiu a0,a0,296 |
---|
57 | bfc000bc: 0ff000e2 jal bfc00388 <print> |
---|
58 | bfc000c0: 00000000 nop |
---|
59 | bfc000c4: 40046800 mfc0 a0,c0_cause |
---|
60 | bfc000c8: 0ff000ec jal bfc003b0 <printx> |
---|
61 | bfc000cc: 00000000 nop |
---|
62 | bfc000d0: 3c04bfc0 lui a0,0xbfc0 |
---|
63 | bfc000d4: 24840130 addiu a0,a0,304 |
---|
64 | bfc000d8: 0ff000e2 jal bfc00388 <print> |
---|
65 | bfc000dc: 00000000 nop |
---|
66 | bfc000e0: 40047000 mfc0 a0,c0_epc |
---|
67 | bfc000e4: 0ff000ec jal bfc003b0 <printx> |
---|
68 | bfc000e8: 00000000 nop |
---|
69 | bfc000ec: 3c04bfc0 lui a0,0xbfc0 |
---|
70 | bfc000f0: 24840135 addiu a0,a0,309 |
---|
71 | bfc000f4: 0ff000e2 jal bfc00388 <print> |
---|
72 | bfc000f8: 00000000 nop |
---|
73 | bfc000fc: 40044000 mfc0 a0,c0_badvaddr |
---|
74 | bfc00100: 0ff000ec jal bfc003b0 <printx> |
---|
75 | bfc00104: 00000000 nop |
---|
76 | bfc00108: 2404000a li a0,10 |
---|
77 | bfc0010c: a3440000 sb a0,0(k0) |
---|
78 | bfc00110: 24040001 li a0,1 |
---|
79 | bfc00114: af640004 sw a0,4(k1) |
---|
80 | bfc00118: 0bf00046 j bfc00118 <excep+0x80> |
---|
81 | bfc0011c: 00000000 nop |
---|
82 | |
---|
83 | bfc00120 <statusstr>: |
---|
84 | bfc00120: 74617473 jalx b185d1cc <_stack+0xb145d1dc> |
---|
85 | bfc00124: 00207375 0x207375 |
---|
86 | |
---|
87 | bfc00128 <causestr>: |
---|
88 | bfc00128: 75616320 jalx b5858c80 <_stack+0xb5458c90> |
---|
89 | bfc0012c: 00206573 tltu at,zero,0x195 |
---|
90 | |
---|
91 | bfc00130 <pcstr>: |
---|
92 | bfc00130: 20637020 addi v1,v1,28704 |
---|
93 | ... |
---|
94 | |
---|
95 | bfc00135 <badvastr>: |
---|
96 | bfc00135: 6220 sw ra,128(sp) |
---|
97 | bfc00137: 6461 restore 8,ra,s0 |
---|
98 | bfc00139: 6176 btnez bfc00227 <startstr+0xdd> |
---|
99 | bfc0013b: 0020 addiu s0,sp,128 |
---|
100 | |
---|
101 | bfc0013d <mmustr>: |
---|
102 | bfc0013d: 6d6d li a1,109 |
---|
103 | bfc0013f: 2075 beqz s0,bfc0022b <startstr+0xe1> |
---|
104 | bfc00141: 7473 cmpi a0,115 |
---|
105 | bfc00143: 7261 cmpi v0,97 |
---|
106 | bfc00145: 6574 move s3,a0 |
---|
107 | bfc00147: 0a64 la v0,bfc002d4 <startstr+0x18a> |
---|
108 | ... |
---|
109 | |
---|
110 | bfc0014a <startstr>: |
---|
111 | bfc0014a: 72617473 0x72617473 |
---|
112 | bfc0014e: 00000a74 teq zero,zero,0x29 |
---|
113 | ... |
---|
114 | |
---|
115 | bfc00380 <evect>: |
---|
116 | bfc00380: 0bf00026 j bfc00098 <excep> |
---|
117 | bfc00384: 00000000 nop |
---|
118 | |
---|
119 | bfc00388 <print>: |
---|
120 | bfc00388: 00804021 move t0,a0 |
---|
121 | bfc0038c: 81090000 lb t1,0(t0) |
---|
122 | bfc00390: 11200005 beqz t1,bfc003a8 <end> |
---|
123 | bfc00394: 00000000 nop |
---|
124 | bfc00398: a3490000 sb t1,0(k0) |
---|
125 | bfc0039c: 25080001 addiu t0,t0,1 |
---|
126 | bfc003a0: 0bf000e3 j bfc0038c <print+0x4> |
---|
127 | bfc003a4: 00000000 nop |
---|
128 | |
---|
129 | bfc003a8 <end>: |
---|
130 | bfc003a8: 03e00008 jr ra |
---|
131 | bfc003ac: 00000000 nop |
---|
132 | |
---|
133 | bfc003b0 <printx>: |
---|
134 | bfc003b0: 00804021 move t0,a0 |
---|
135 | bfc003b4: 24090030 li t1,48 |
---|
136 | bfc003b8: a3490000 sb t1,0(k0) |
---|
137 | bfc003bc: 24090078 li t1,120 |
---|
138 | bfc003c0: a3490000 sb t1,0(k0) |
---|
139 | bfc003c4: 24090008 li t1,8 |
---|
140 | bfc003c8: 3c0af000 lui t2,0xf000 |
---|
141 | bfc003cc: 010a5024 and t2,t0,t2 |
---|
142 | bfc003d0: 000a5702 srl t2,t2,0x1c |
---|
143 | bfc003d4: 294b000a slti t3,t2,10 |
---|
144 | bfc003d8: 11600004 beqz t3,bfc003ec <printx+0x3c> |
---|
145 | bfc003dc: 00000000 nop |
---|
146 | bfc003e0: 214a0030 addi t2,t2,48 |
---|
147 | bfc003e4: 0bf000fc j bfc003f0 <printx+0x40> |
---|
148 | bfc003e8: 00000000 nop |
---|
149 | bfc003ec: 214a0037 addi t2,t2,55 |
---|
150 | bfc003f0: a34a0000 sb t2,0(k0) |
---|
151 | bfc003f4: 2129ffff addi t1,t1,-1 |
---|
152 | bfc003f8: 1d20fff3 bgtz t1,bfc003c8 <printx+0x18> |
---|
153 | bfc003fc: 00084100 sll t0,t0,0x4 |
---|
154 | bfc00400: 03e00008 jr ra |
---|
155 | bfc00404: 00000000 nop |
---|
156 | |
---|
157 | Disassembly of section .data: |
---|
158 | |
---|
159 | 00000000 <testval-0x4>: |
---|
160 | 0: 0000dead 0xdead |
---|
161 | |
---|
162 | 00000004 <testval>: |
---|
163 | 4: 0000beef 0xbeef |
---|
164 | ... |
---|
165 | |
---|
166 | 00002000 <pte1>: |
---|
167 | 2000: 8c000000 lw zero,0(zero) |
---|
168 | ... |
---|
169 | 37f8: 8a0005fe lwl zero,1534(s0) |
---|
170 | ... |
---|
171 | 3a04: 8c000681 lw zero,1665(zero) |
---|
172 | ... |
---|
173 | 3c00: 84000700 lh zero,1792(zero) |
---|
174 | ... |
---|
175 | |
---|
176 | Disassembly of section .reginfo: |
---|
177 | |
---|
178 | 00000000 <.reginfo>: |
---|
179 | 0: 9c000010 0x9c000010 |
---|
180 | ... |
---|
181 | 14: 00006000 sll t4,zero,0x0 |
---|