2020-04-06 12:20:31 +00:00
|
|
|
|
|
|
|
uart_tx: file format elf32-littleriscv
|
|
|
|
|
|
|
|
|
|
|
|
Disassembly of section .init:
|
|
|
|
|
|
|
|
00000000 <_start>:
|
2020-04-06 13:28:56 +00:00
|
|
|
0: 0080006f j 8 <_reset_handler>
|
|
|
|
4: 0600006f j 64 <_timer0_handler>
|
2020-04-06 12:20:31 +00:00
|
|
|
|
2020-04-06 13:28:56 +00:00
|
|
|
00000008 <_reset_handler>:
|
|
|
|
8: 10001197 auipc gp,0x10001
|
|
|
|
c: 86818193 addi gp,gp,-1944 # 10000870 <__global_pointer$>
|
|
|
|
10: f9018113 addi sp,gp,-112 # 10000800 <_sp>
|
|
|
|
14: 7d000513 li a0,2000
|
|
|
|
18: 10000597 auipc a1,0x10000
|
|
|
|
1c: fe858593 addi a1,a1,-24 # 10000000 <_data>
|
|
|
|
20: 10000617 auipc a2,0x10000
|
|
|
|
24: 05060613 addi a2,a2,80 # 10000070 <__bss_start>
|
|
|
|
28: 00c5fc63 bgeu a1,a2,40 <_reset_handler+0x38>
|
|
|
|
2c: 00052283 lw t0,0(a0)
|
|
|
|
30: 0055a023 sw t0,0(a1)
|
|
|
|
34: 00450513 addi a0,a0,4
|
|
|
|
38: 00458593 addi a1,a1,4
|
|
|
|
3c: fec5e8e3 bltu a1,a2,2c <_reset_handler+0x24>
|
|
|
|
40: 10000517 auipc a0,0x10000
|
|
|
|
44: 03050513 addi a0,a0,48 # 10000070 <__bss_start>
|
|
|
|
48: 80818593 addi a1,gp,-2040 # 10000078 <_end>
|
|
|
|
4c: 00b57863 bgeu a0,a1,5c <_reset_handler+0x54>
|
|
|
|
50: 00052023 sw zero,0(a0)
|
|
|
|
54: 00450513 addi a0,a0,4
|
|
|
|
58: feb56ce3 bltu a0,a1,50 <_reset_handler+0x48>
|
|
|
|
5c: 160000ef jal ra,1bc <main>
|
2020-04-06 12:20:31 +00:00
|
|
|
|
2020-04-06 13:28:56 +00:00
|
|
|
00000060 <loop>:
|
|
|
|
60: 0000006f j 60 <loop>
|
|
|
|
|
|
|
|
00000064 <_timer0_handler>:
|
|
|
|
64: f8010113 addi sp,sp,-128
|
|
|
|
68: 00112223 sw ra,4(sp)
|
|
|
|
6c: 00212423 sw sp,8(sp)
|
|
|
|
70: 00312623 sw gp,12(sp)
|
|
|
|
74: 00412823 sw tp,16(sp)
|
|
|
|
78: 00512a23 sw t0,20(sp)
|
|
|
|
7c: 00612c23 sw t1,24(sp)
|
|
|
|
80: 00712e23 sw t2,28(sp)
|
|
|
|
84: 02812023 sw s0,32(sp)
|
|
|
|
88: 02912223 sw s1,36(sp)
|
|
|
|
8c: 02a12423 sw a0,40(sp)
|
|
|
|
90: 02b12623 sw a1,44(sp)
|
|
|
|
94: 02c12823 sw a2,48(sp)
|
|
|
|
98: 02d12a23 sw a3,52(sp)
|
|
|
|
9c: 02e12c23 sw a4,56(sp)
|
|
|
|
a0: 02f12e23 sw a5,60(sp)
|
|
|
|
a4: 05012023 sw a6,64(sp)
|
|
|
|
a8: 05112223 sw a7,68(sp)
|
|
|
|
ac: 05212423 sw s2,72(sp)
|
|
|
|
b0: 05312623 sw s3,76(sp)
|
|
|
|
b4: 05412823 sw s4,80(sp)
|
|
|
|
b8: 05512a23 sw s5,84(sp)
|
|
|
|
bc: 05612c23 sw s6,88(sp)
|
|
|
|
c0: 05712e23 sw s7,92(sp)
|
|
|
|
c4: 07812023 sw s8,96(sp)
|
|
|
|
c8: 07912223 sw s9,100(sp)
|
|
|
|
cc: 07a12423 sw s10,104(sp)
|
|
|
|
d0: 07b12623 sw s11,108(sp)
|
|
|
|
d4: 07c12823 sw t3,112(sp)
|
|
|
|
d8: 07d12a23 sw t4,116(sp)
|
|
|
|
dc: 07e12c23 sw t5,120(sp)
|
|
|
|
e0: 07f12e23 sw t6,124(sp)
|
|
|
|
e4: 00000097 auipc ra,0x0
|
|
|
|
e8: 000000e7 jalr zero # 0 <_start>
|
|
|
|
ec: 00412083 lw ra,4(sp)
|
|
|
|
f0: 00812103 lw sp,8(sp)
|
|
|
|
f4: 00c12183 lw gp,12(sp)
|
|
|
|
f8: 01012203 lw tp,16(sp)
|
|
|
|
fc: 01412283 lw t0,20(sp)
|
|
|
|
100: 01812303 lw t1,24(sp)
|
|
|
|
104: 01c12383 lw t2,28(sp)
|
|
|
|
108: 02012403 lw s0,32(sp)
|
|
|
|
10c: 02412483 lw s1,36(sp)
|
|
|
|
110: 02812503 lw a0,40(sp)
|
|
|
|
114: 02c12583 lw a1,44(sp)
|
|
|
|
118: 03012603 lw a2,48(sp)
|
|
|
|
11c: 03412683 lw a3,52(sp)
|
|
|
|
120: 03812703 lw a4,56(sp)
|
|
|
|
124: 03c12783 lw a5,60(sp)
|
|
|
|
128: 04012803 lw a6,64(sp)
|
|
|
|
12c: 04412883 lw a7,68(sp)
|
|
|
|
130: 04812903 lw s2,72(sp)
|
|
|
|
134: 04c12983 lw s3,76(sp)
|
|
|
|
138: 05012a03 lw s4,80(sp)
|
|
|
|
13c: 05412a83 lw s5,84(sp)
|
|
|
|
140: 05812b03 lw s6,88(sp)
|
|
|
|
144: 05c12b83 lw s7,92(sp)
|
|
|
|
148: 06012c03 lw s8,96(sp)
|
|
|
|
14c: 06412c83 lw s9,100(sp)
|
|
|
|
150: 06812d03 lw s10,104(sp)
|
|
|
|
154: 06c12d83 lw s11,108(sp)
|
|
|
|
158: 07012e03 lw t3,112(sp)
|
|
|
|
15c: 07412e83 lw t4,116(sp)
|
|
|
|
160: 07812f03 lw t5,120(sp)
|
|
|
|
164: 07c12f83 lw t6,124(sp)
|
|
|
|
168: 08010113 addi sp,sp,128
|
|
|
|
16c: 30200073 mret
|
2020-04-06 12:20:31 +00:00
|
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
|
2020-04-06 13:28:56 +00:00
|
|
|
00000170 <uart_putc>:
|
|
|
|
170: fe010113 addi sp,sp,-32
|
|
|
|
174: 00812e23 sw s0,28(sp)
|
|
|
|
178: 02010413 addi s0,sp,32
|
|
|
|
17c: 00050793 mv a5,a0
|
|
|
|
180: fef407a3 sb a5,-17(s0)
|
|
|
|
184: 00000013 nop
|
|
|
|
188: 300007b7 lui a5,0x30000
|
|
|
|
18c: 00478793 addi a5,a5,4 # 30000004 <__global_pointer$+0x1ffff794>
|
|
|
|
190: 0007a783 lw a5,0(a5)
|
|
|
|
194: 0017f793 andi a5,a5,1
|
|
|
|
198: fe0798e3 bnez a5,188 <uart_putc+0x18>
|
|
|
|
19c: 300007b7 lui a5,0x30000
|
|
|
|
1a0: 00c78793 addi a5,a5,12 # 3000000c <__global_pointer$+0x1ffff79c>
|
|
|
|
1a4: fef44703 lbu a4,-17(s0)
|
|
|
|
1a8: 00e7a023 sw a4,0(a5)
|
|
|
|
1ac: 00000013 nop
|
|
|
|
1b0: 01c12403 lw s0,28(sp)
|
|
|
|
1b4: 02010113 addi sp,sp,32
|
|
|
|
1b8: 00008067 ret
|
2020-04-06 12:20:31 +00:00
|
|
|
|
2020-04-06 13:28:56 +00:00
|
|
|
000001bc <main>:
|
|
|
|
1bc: ff010113 addi sp,sp,-16
|
|
|
|
1c0: 00112623 sw ra,12(sp)
|
|
|
|
1c4: 00812423 sw s0,8(sp)
|
|
|
|
1c8: 01010413 addi s0,sp,16
|
|
|
|
1cc: 300007b7 lui a5,0x30000
|
|
|
|
1d0: 00100713 li a4,1
|
|
|
|
1d4: 00e7a023 sw a4,0(a5) # 30000000 <__global_pointer$+0x1ffff790>
|
|
|
|
1d8: 10000797 auipc a5,0x10000
|
|
|
|
1dc: e9c78793 addi a5,a5,-356 # 10000074 <xfunc_out>
|
|
|
|
1e0: 00000717 auipc a4,0x0
|
|
|
|
1e4: f9070713 addi a4,a4,-112 # 170 <uart_putc>
|
|
|
|
1e8: 00e7a023 sw a4,0(a5)
|
|
|
|
1ec: 00100593 li a1,1
|
|
|
|
1f0: 10000517 auipc a0,0x10000
|
|
|
|
1f4: e1050513 addi a0,a0,-496 # 10000000 <_data>
|
|
|
|
1f8: 578000ef jal ra,770 <xprintf>
|
|
|
|
1fc: 0000006f j 1fc <main+0x40>
|
2020-04-06 12:20:31 +00:00
|
|
|
|
2020-04-06 13:28:56 +00:00
|
|
|
00000200 <xputc>:
|
|
|
|
200: fe010113 addi sp,sp,-32
|
|
|
|
204: 00112e23 sw ra,28(sp)
|
|
|
|
208: 00812c23 sw s0,24(sp)
|
|
|
|
20c: 02010413 addi s0,sp,32
|
|
|
|
210: 00050793 mv a5,a0
|
|
|
|
214: fef407a3 sb a5,-17(s0)
|
|
|
|
218: 10000797 auipc a5,0x10000
|
|
|
|
21c: e5878793 addi a5,a5,-424 # 10000070 <__bss_start>
|
|
|
|
220: 0007a783 lw a5,0(a5)
|
|
|
|
224: 02078663 beqz a5,250 <xputc+0x50>
|
|
|
|
228: 10000797 auipc a5,0x10000
|
|
|
|
22c: e4878793 addi a5,a5,-440 # 10000070 <__bss_start>
|
|
|
|
230: 0007a783 lw a5,0(a5)
|
|
|
|
234: 00178693 addi a3,a5,1
|
|
|
|
238: 10000717 auipc a4,0x10000
|
|
|
|
23c: e3870713 addi a4,a4,-456 # 10000070 <__bss_start>
|
|
|
|
240: 00d72023 sw a3,0(a4)
|
|
|
|
244: fef44703 lbu a4,-17(s0)
|
|
|
|
248: 00e78023 sb a4,0(a5)
|
|
|
|
24c: 02c0006f j 278 <xputc+0x78>
|
|
|
|
250: 10000797 auipc a5,0x10000
|
|
|
|
254: e2478793 addi a5,a5,-476 # 10000074 <xfunc_out>
|
|
|
|
258: 0007a783 lw a5,0(a5)
|
|
|
|
25c: 00078e63 beqz a5,278 <xputc+0x78>
|
|
|
|
260: 10000797 auipc a5,0x10000
|
|
|
|
264: e1478793 addi a5,a5,-492 # 10000074 <xfunc_out>
|
|
|
|
268: 0007a703 lw a4,0(a5)
|
|
|
|
26c: fef44783 lbu a5,-17(s0)
|
|
|
|
270: 00078513 mv a0,a5
|
|
|
|
274: 000700e7 jalr a4
|
|
|
|
278: 01c12083 lw ra,28(sp)
|
|
|
|
27c: 01812403 lw s0,24(sp)
|
|
|
|
280: 02010113 addi sp,sp,32
|
|
|
|
284: 00008067 ret
|
2020-04-06 12:20:31 +00:00
|
|
|
|
2020-04-06 13:28:56 +00:00
|
|
|
00000288 <xputs>:
|
|
|
|
288: fe010113 addi sp,sp,-32
|
|
|
|
28c: 00112e23 sw ra,28(sp)
|
|
|
|
290: 00812c23 sw s0,24(sp)
|
|
|
|
294: 02010413 addi s0,sp,32
|
|
|
|
298: fea42623 sw a0,-20(s0)
|
|
|
|
29c: 01c0006f j 2b8 <xputs+0x30>
|
|
|
|
2a0: fec42783 lw a5,-20(s0)
|
|
|
|
2a4: 00178713 addi a4,a5,1
|
|
|
|
2a8: fee42623 sw a4,-20(s0)
|
|
|
|
2ac: 0007c783 lbu a5,0(a5)
|
|
|
|
2b0: 00078513 mv a0,a5
|
|
|
|
2b4: f4dff0ef jal ra,200 <xputc>
|
|
|
|
2b8: fec42783 lw a5,-20(s0)
|
|
|
|
2bc: 0007c783 lbu a5,0(a5)
|
|
|
|
2c0: fe0790e3 bnez a5,2a0 <xputs+0x18>
|
|
|
|
2c4: 00000013 nop
|
|
|
|
2c8: 01c12083 lw ra,28(sp)
|
|
|
|
2cc: 01812403 lw s0,24(sp)
|
|
|
|
2d0: 02010113 addi sp,sp,32
|
|
|
|
2d4: 00008067 ret
|
2020-04-06 12:20:31 +00:00
|
|
|
|
2020-04-06 13:28:56 +00:00
|
|
|
000002d8 <xvprintf>:
|
|
|
|
2d8: fb010113 addi sp,sp,-80
|
|
|
|
2dc: 04112623 sw ra,76(sp)
|
|
|
|
2e0: 04812423 sw s0,72(sp)
|
|
|
|
2e4: 05010413 addi s0,sp,80
|
|
|
|
2e8: faa42e23 sw a0,-68(s0)
|
|
|
|
2ec: fab42c23 sw a1,-72(s0)
|
|
|
|
2f0: fbc42783 lw a5,-68(s0)
|
|
|
|
2f4: 00178713 addi a4,a5,1
|
|
|
|
2f8: fae42e23 sw a4,-68(s0)
|
|
|
|
2fc: 0007c783 lbu a5,0(a5)
|
|
|
|
300: fcf40ba3 sb a5,-41(s0)
|
|
|
|
304: fd744783 lbu a5,-41(s0)
|
|
|
|
308: 44078463 beqz a5,750 <__stack_size+0x350>
|
|
|
|
30c: fd744703 lbu a4,-41(s0)
|
|
|
|
310: 02500793 li a5,37
|
|
|
|
314: 00f70a63 beq a4,a5,328 <xvprintf+0x50>
|
|
|
|
318: fd744783 lbu a5,-41(s0)
|
|
|
|
31c: 00078513 mv a0,a5
|
|
|
|
320: ee1ff0ef jal ra,200 <xputc>
|
|
|
|
324: 4280006f j 74c <__stack_size+0x34c>
|
|
|
|
328: fc042e23 sw zero,-36(s0)
|
|
|
|
32c: fbc42783 lw a5,-68(s0)
|
|
|
|
330: 00178713 addi a4,a5,1
|
|
|
|
334: fae42e23 sw a4,-68(s0)
|
|
|
|
338: 0007c783 lbu a5,0(a5)
|
|
|
|
33c: fcf40ba3 sb a5,-41(s0)
|
|
|
|
340: fd744703 lbu a4,-41(s0)
|
|
|
|
344: 03000793 li a5,48
|
|
|
|
348: 02f71263 bne a4,a5,36c <xvprintf+0x94>
|
|
|
|
34c: 00100793 li a5,1
|
|
|
|
350: fcf42e23 sw a5,-36(s0)
|
|
|
|
354: fbc42783 lw a5,-68(s0)
|
|
|
|
358: 00178713 addi a4,a5,1
|
|
|
|
35c: fae42e23 sw a4,-68(s0)
|
|
|
|
360: 0007c783 lbu a5,0(a5)
|
|
|
|
364: fcf40ba3 sb a5,-41(s0)
|
|
|
|
368: 02c0006f j 394 <xvprintf+0xbc>
|
|
|
|
36c: fd744703 lbu a4,-41(s0)
|
|
|
|
370: 02d00793 li a5,45
|
|
|
|
374: 02f71063 bne a4,a5,394 <xvprintf+0xbc>
|
|
|
|
378: 00200793 li a5,2
|
|
|
|
37c: fcf42e23 sw a5,-36(s0)
|
|
|
|
380: fbc42783 lw a5,-68(s0)
|
|
|
|
384: 00178713 addi a4,a5,1
|
|
|
|
388: fae42e23 sw a4,-68(s0)
|
|
|
|
38c: 0007c783 lbu a5,0(a5)
|
|
|
|
390: fcf40ba3 sb a5,-41(s0)
|
|
|
|
394: fe042023 sw zero,-32(s0)
|
|
|
|
398: 0400006f j 3d8 <xvprintf+0x100>
|
|
|
|
39c: fe042703 lw a4,-32(s0)
|
|
|
|
3a0: 00070793 mv a5,a4
|
|
|
|
3a4: 00279793 slli a5,a5,0x2
|
|
|
|
3a8: 00e787b3 add a5,a5,a4
|
|
|
|
3ac: 00179793 slli a5,a5,0x1
|
|
|
|
3b0: 00078713 mv a4,a5
|
|
|
|
3b4: fd744783 lbu a5,-41(s0)
|
|
|
|
3b8: 00f707b3 add a5,a4,a5
|
|
|
|
3bc: fd078793 addi a5,a5,-48
|
|
|
|
3c0: fef42023 sw a5,-32(s0)
|
|
|
|
3c4: fbc42783 lw a5,-68(s0)
|
|
|
|
3c8: 00178713 addi a4,a5,1
|
|
|
|
3cc: fae42e23 sw a4,-68(s0)
|
|
|
|
3d0: 0007c783 lbu a5,0(a5)
|
|
|
|
3d4: fcf40ba3 sb a5,-41(s0)
|
|
|
|
3d8: fd744703 lbu a4,-41(s0)
|
|
|
|
3dc: 02f00793 li a5,47
|
|
|
|
3e0: 00e7f863 bgeu a5,a4,3f0 <xvprintf+0x118>
|
|
|
|
3e4: fd744703 lbu a4,-41(s0)
|
|
|
|
3e8: 03900793 li a5,57
|
|
|
|
3ec: fae7f8e3 bgeu a5,a4,39c <xvprintf+0xc4>
|
|
|
|
3f0: fd744703 lbu a4,-41(s0)
|
|
|
|
3f4: 06c00793 li a5,108
|
|
|
|
3f8: 00f70863 beq a4,a5,408 <__stack_size+0x8>
|
|
|
|
3fc: fd744703 lbu a4,-41(s0)
|
|
|
|
400: 04c00793 li a5,76
|
|
|
|
404: 02f71263 bne a4,a5,428 <__stack_size+0x28>
|
|
|
|
408: fdc42783 lw a5,-36(s0)
|
|
|
|
40c: 0047e793 ori a5,a5,4
|
|
|
|
410: fcf42e23 sw a5,-36(s0)
|
|
|
|
414: fbc42783 lw a5,-68(s0)
|
|
|
|
418: 00178713 addi a4,a5,1
|
|
|
|
41c: fae42e23 sw a4,-68(s0)
|
|
|
|
420: 0007c783 lbu a5,0(a5)
|
|
|
|
424: fcf40ba3 sb a5,-41(s0)
|
|
|
|
428: fd744783 lbu a5,-41(s0)
|
|
|
|
42c: 32078663 beqz a5,758 <__stack_size+0x358>
|
|
|
|
430: fd744783 lbu a5,-41(s0)
|
|
|
|
434: fcf40b23 sb a5,-42(s0)
|
|
|
|
438: fd644703 lbu a4,-42(s0)
|
|
|
|
43c: 06000793 li a5,96
|
|
|
|
440: 00e7f863 bgeu a5,a4,450 <__stack_size+0x50>
|
|
|
|
444: fd644783 lbu a5,-42(s0)
|
|
|
|
448: fe078793 addi a5,a5,-32
|
|
|
|
44c: fcf40b23 sb a5,-42(s0)
|
|
|
|
450: fd644783 lbu a5,-42(s0)
|
|
|
|
454: fbe78793 addi a5,a5,-66
|
|
|
|
458: 01600713 li a4,22
|
|
|
|
45c: 10f76663 bltu a4,a5,568 <__stack_size+0x168>
|
|
|
|
460: 00279713 slli a4,a5,0x2
|
|
|
|
464: 10000797 auipc a5,0x10000
|
|
|
|
468: bac78793 addi a5,a5,-1108 # 10000010 <_data+0x10>
|
|
|
|
46c: 00f707b3 add a5,a4,a5
|
|
|
|
470: 0007a703 lw a4,0(a5)
|
|
|
|
474: 10000797 auipc a5,0x10000
|
|
|
|
478: b9c78793 addi a5,a5,-1124 # 10000010 <_data+0x10>
|
|
|
|
47c: 00f707b3 add a5,a4,a5
|
|
|
|
480: 00078067 jr a5
|
|
|
|
484: fb842783 lw a5,-72(s0)
|
|
|
|
488: 00478713 addi a4,a5,4
|
|
|
|
48c: fae42c23 sw a4,-72(s0)
|
|
|
|
490: 0007a783 lw a5,0(a5)
|
|
|
|
494: fcf42823 sw a5,-48(s0)
|
|
|
|
498: fe042223 sw zero,-28(s0)
|
|
|
|
49c: 0100006f j 4ac <__stack_size+0xac>
|
|
|
|
4a0: fe442783 lw a5,-28(s0)
|
|
|
|
4a4: 00178793 addi a5,a5,1
|
|
|
|
4a8: fef42223 sw a5,-28(s0)
|
|
|
|
4ac: fd042703 lw a4,-48(s0)
|
|
|
|
4b0: fe442783 lw a5,-28(s0)
|
|
|
|
4b4: 00f707b3 add a5,a4,a5
|
|
|
|
4b8: 0007c783 lbu a5,0(a5)
|
|
|
|
4bc: fe0792e3 bnez a5,4a0 <__stack_size+0xa0>
|
|
|
|
4c0: 00c0006f j 4cc <__stack_size+0xcc>
|
|
|
|
4c4: 02000513 li a0,32
|
|
|
|
4c8: d39ff0ef jal ra,200 <xputc>
|
|
|
|
4cc: fdc42783 lw a5,-36(s0)
|
|
|
|
4d0: 0027f793 andi a5,a5,2
|
|
|
|
4d4: 00079c63 bnez a5,4ec <__stack_size+0xec>
|
|
|
|
4d8: fe442783 lw a5,-28(s0)
|
|
|
|
4dc: 00178713 addi a4,a5,1
|
|
|
|
4e0: fee42223 sw a4,-28(s0)
|
|
|
|
4e4: fe042703 lw a4,-32(s0)
|
|
|
|
4e8: fce7eee3 bltu a5,a4,4c4 <__stack_size+0xc4>
|
|
|
|
4ec: fd042503 lw a0,-48(s0)
|
|
|
|
4f0: d99ff0ef jal ra,288 <xputs>
|
|
|
|
4f4: 00c0006f j 500 <__stack_size+0x100>
|
|
|
|
4f8: 02000513 li a0,32
|
|
|
|
4fc: d05ff0ef jal ra,200 <xputc>
|
|
|
|
500: fe442783 lw a5,-28(s0)
|
|
|
|
504: 00178713 addi a4,a5,1
|
|
|
|
508: fee42223 sw a4,-28(s0)
|
|
|
|
50c: fe042703 lw a4,-32(s0)
|
|
|
|
510: fee7e4e3 bltu a5,a4,4f8 <__stack_size+0xf8>
|
|
|
|
514: 2380006f j 74c <__stack_size+0x34c>
|
|
|
|
518: fb842783 lw a5,-72(s0)
|
|
|
|
51c: 00478713 addi a4,a5,4
|
|
|
|
520: fae42c23 sw a4,-72(s0)
|
|
|
|
524: 0007a783 lw a5,0(a5)
|
|
|
|
528: 0ff7f793 andi a5,a5,255
|
|
|
|
52c: 00078513 mv a0,a5
|
|
|
|
530: cd1ff0ef jal ra,200 <xputc>
|
|
|
|
534: 2180006f j 74c <__stack_size+0x34c>
|
|
|
|
538: 00200793 li a5,2
|
|
|
|
53c: fef42623 sw a5,-20(s0)
|
|
|
|
540: 0380006f j 578 <__stack_size+0x178>
|
|
|
|
544: 00800793 li a5,8
|
|
|
|
548: fef42623 sw a5,-20(s0)
|
|
|
|
54c: 02c0006f j 578 <__stack_size+0x178>
|
|
|
|
550: 00a00793 li a5,10
|
|
|
|
554: fef42623 sw a5,-20(s0)
|
|
|
|
558: 0200006f j 578 <__stack_size+0x178>
|
|
|
|
55c: 01000793 li a5,16
|
|
|
|
560: fef42623 sw a5,-20(s0)
|
|
|
|
564: 0140006f j 578 <__stack_size+0x178>
|
|
|
|
568: fd744783 lbu a5,-41(s0)
|
|
|
|
56c: 00078513 mv a0,a5
|
|
|
|
570: c91ff0ef jal ra,200 <xputc>
|
|
|
|
574: 1d80006f j 74c <__stack_size+0x34c>
|
|
|
|
578: fdc42783 lw a5,-36(s0)
|
|
|
|
57c: 0047f793 andi a5,a5,4
|
|
|
|
580: 00078c63 beqz a5,598 <__stack_size+0x198>
|
|
|
|
584: fb842783 lw a5,-72(s0)
|
|
|
|
588: 00478713 addi a4,a5,4
|
|
|
|
58c: fae42c23 sw a4,-72(s0)
|
|
|
|
590: 0007a783 lw a5,0(a5)
|
|
|
|
594: 0340006f j 5c8 <__stack_size+0x1c8>
|
|
|
|
598: fd644703 lbu a4,-42(s0)
|
|
|
|
59c: 04400793 li a5,68
|
|
|
|
5a0: 00f71c63 bne a4,a5,5b8 <__stack_size+0x1b8>
|
|
|
|
5a4: fb842783 lw a5,-72(s0)
|
|
|
|
5a8: 00478713 addi a4,a5,4
|
|
|
|
5ac: fae42c23 sw a4,-72(s0)
|
|
|
|
5b0: 0007a783 lw a5,0(a5)
|
|
|
|
5b4: 0140006f j 5c8 <__stack_size+0x1c8>
|
|
|
|
5b8: fb842783 lw a5,-72(s0)
|
|
|
|
5bc: 00478713 addi a4,a5,4
|
|
|
|
5c0: fae42c23 sw a4,-72(s0)
|
|
|
|
5c4: 0007a783 lw a5,0(a5)
|
|
|
|
5c8: fcf42c23 sw a5,-40(s0)
|
|
|
|
5cc: fd644703 lbu a4,-42(s0)
|
|
|
|
5d0: 04400793 li a5,68
|
|
|
|
5d4: 02f71263 bne a4,a5,5f8 <__stack_size+0x1f8>
|
|
|
|
5d8: fd842783 lw a5,-40(s0)
|
|
|
|
5dc: 0007de63 bgez a5,5f8 <__stack_size+0x1f8>
|
|
|
|
5e0: fd842783 lw a5,-40(s0)
|
|
|
|
5e4: 40f007b3 neg a5,a5
|
|
|
|
5e8: fcf42c23 sw a5,-40(s0)
|
|
|
|
5ec: fdc42783 lw a5,-36(s0)
|
|
|
|
5f0: 0087e793 ori a5,a5,8
|
|
|
|
5f4: fcf42e23 sw a5,-36(s0)
|
|
|
|
5f8: fe042423 sw zero,-24(s0)
|
|
|
|
5fc: fd842703 lw a4,-40(s0)
|
|
|
|
600: fec42783 lw a5,-20(s0)
|
|
|
|
604: 02f777b3 remu a5,a4,a5
|
|
|
|
608: fcf40b23 sb a5,-42(s0)
|
|
|
|
60c: fd842703 lw a4,-40(s0)
|
|
|
|
610: fec42783 lw a5,-20(s0)
|
|
|
|
614: 02f757b3 divu a5,a4,a5
|
|
|
|
618: fcf42c23 sw a5,-40(s0)
|
|
|
|
61c: fd644703 lbu a4,-42(s0)
|
|
|
|
620: 00900793 li a5,9
|
|
|
|
624: 02e7f463 bgeu a5,a4,64c <__stack_size+0x24c>
|
|
|
|
628: fd744703 lbu a4,-41(s0)
|
|
|
|
62c: 07800793 li a5,120
|
|
|
|
630: 00f71663 bne a4,a5,63c <__stack_size+0x23c>
|
|
|
|
634: 02700793 li a5,39
|
|
|
|
638: 0080006f j 640 <__stack_size+0x240>
|
|
|
|
63c: 00700793 li a5,7
|
|
|
|
640: fd644703 lbu a4,-42(s0)
|
|
|
|
644: 00e787b3 add a5,a5,a4
|
|
|
|
648: fcf40b23 sb a5,-42(s0)
|
|
|
|
64c: fe842783 lw a5,-24(s0)
|
|
|
|
650: 00178713 addi a4,a5,1
|
|
|
|
654: fee42423 sw a4,-24(s0)
|
|
|
|
658: fd644703 lbu a4,-42(s0)
|
|
|
|
65c: 03070713 addi a4,a4,48
|
|
|
|
660: 0ff77713 andi a4,a4,255
|
|
|
|
664: ff040693 addi a3,s0,-16
|
|
|
|
668: 00f687b3 add a5,a3,a5
|
|
|
|
66c: fce78823 sb a4,-48(a5)
|
|
|
|
670: fd842783 lw a5,-40(s0)
|
|
|
|
674: 00078863 beqz a5,684 <__stack_size+0x284>
|
|
|
|
678: fe842703 lw a4,-24(s0)
|
|
|
|
67c: 00f00793 li a5,15
|
|
|
|
680: f6e7fee3 bgeu a5,a4,5fc <__stack_size+0x1fc>
|
|
|
|
684: fdc42783 lw a5,-36(s0)
|
|
|
|
688: 0087f793 andi a5,a5,8
|
|
|
|
68c: 02078063 beqz a5,6ac <__stack_size+0x2ac>
|
|
|
|
690: fe842783 lw a5,-24(s0)
|
|
|
|
694: 00178713 addi a4,a5,1
|
|
|
|
698: fee42423 sw a4,-24(s0)
|
|
|
|
69c: ff040713 addi a4,s0,-16
|
|
|
|
6a0: 00f707b3 add a5,a4,a5
|
|
|
|
6a4: 02d00713 li a4,45
|
|
|
|
6a8: fce78823 sb a4,-48(a5)
|
|
|
|
6ac: fe842783 lw a5,-24(s0)
|
|
|
|
6b0: fef42223 sw a5,-28(s0)
|
|
|
|
6b4: fdc42783 lw a5,-36(s0)
|
|
|
|
6b8: 0017f793 andi a5,a5,1
|
|
|
|
6bc: 00078663 beqz a5,6c8 <__stack_size+0x2c8>
|
|
|
|
6c0: 03000793 li a5,48
|
|
|
|
6c4: 0080006f j 6cc <__stack_size+0x2cc>
|
|
|
|
6c8: 02000793 li a5,32
|
|
|
|
6cc: fcf40b23 sb a5,-42(s0)
|
|
|
|
6d0: 0100006f j 6e0 <__stack_size+0x2e0>
|
|
|
|
6d4: fd644783 lbu a5,-42(s0)
|
|
|
|
6d8: 00078513 mv a0,a5
|
|
|
|
6dc: b25ff0ef jal ra,200 <xputc>
|
|
|
|
6e0: fdc42783 lw a5,-36(s0)
|
|
|
|
6e4: 0027f793 andi a5,a5,2
|
|
|
|
6e8: 00079c63 bnez a5,700 <__stack_size+0x300>
|
|
|
|
6ec: fe442783 lw a5,-28(s0)
|
|
|
|
6f0: 00178713 addi a4,a5,1
|
|
|
|
6f4: fee42223 sw a4,-28(s0)
|
|
|
|
6f8: fe042703 lw a4,-32(s0)
|
|
|
|
6fc: fce7ece3 bltu a5,a4,6d4 <__stack_size+0x2d4>
|
|
|
|
700: fe842783 lw a5,-24(s0)
|
|
|
|
704: fff78793 addi a5,a5,-1
|
|
|
|
708: fef42423 sw a5,-24(s0)
|
|
|
|
70c: fe842783 lw a5,-24(s0)
|
|
|
|
710: ff040713 addi a4,s0,-16
|
|
|
|
714: 00f707b3 add a5,a4,a5
|
|
|
|
718: fd07c783 lbu a5,-48(a5)
|
|
|
|
71c: 00078513 mv a0,a5
|
|
|
|
720: ae1ff0ef jal ra,200 <xputc>
|
|
|
|
724: fe842783 lw a5,-24(s0)
|
|
|
|
728: fc079ce3 bnez a5,700 <__stack_size+0x300>
|
|
|
|
72c: 00c0006f j 738 <__stack_size+0x338>
|
|
|
|
730: 02000513 li a0,32
|
|
|
|
734: acdff0ef jal ra,200 <xputc>
|
|
|
|
738: fe442783 lw a5,-28(s0)
|
|
|
|
73c: 00178713 addi a4,a5,1
|
|
|
|
740: fee42223 sw a4,-28(s0)
|
|
|
|
744: fe042703 lw a4,-32(s0)
|
|
|
|
748: fee7e4e3 bltu a5,a4,730 <__stack_size+0x330>
|
|
|
|
74c: ba5ff06f j 2f0 <xvprintf+0x18>
|
|
|
|
750: 00000013 nop
|
|
|
|
754: 0080006f j 75c <__stack_size+0x35c>
|
|
|
|
758: 00000013 nop
|
|
|
|
75c: 00000013 nop
|
|
|
|
760: 04c12083 lw ra,76(sp)
|
|
|
|
764: 04812403 lw s0,72(sp)
|
|
|
|
768: 05010113 addi sp,sp,80
|
|
|
|
76c: 00008067 ret
|
2020-04-06 12:20:31 +00:00
|
|
|
|
2020-04-06 13:28:56 +00:00
|
|
|
00000770 <xprintf>:
|
|
|
|
770: fb010113 addi sp,sp,-80
|
|
|
|
774: 02112623 sw ra,44(sp)
|
|
|
|
778: 02812423 sw s0,40(sp)
|
|
|
|
77c: 03010413 addi s0,sp,48
|
|
|
|
780: fca42e23 sw a0,-36(s0)
|
|
|
|
784: 00b42223 sw a1,4(s0)
|
|
|
|
788: 00c42423 sw a2,8(s0)
|
|
|
|
78c: 00d42623 sw a3,12(s0)
|
|
|
|
790: 00e42823 sw a4,16(s0)
|
|
|
|
794: 00f42a23 sw a5,20(s0)
|
|
|
|
798: 01042c23 sw a6,24(s0)
|
|
|
|
79c: 01142e23 sw a7,28(s0)
|
|
|
|
7a0: 02040793 addi a5,s0,32
|
|
|
|
7a4: fe478793 addi a5,a5,-28
|
|
|
|
7a8: fef42623 sw a5,-20(s0)
|
|
|
|
7ac: fec42783 lw a5,-20(s0)
|
|
|
|
7b0: 00078593 mv a1,a5
|
|
|
|
7b4: fdc42503 lw a0,-36(s0)
|
|
|
|
7b8: b21ff0ef jal ra,2d8 <xvprintf>
|
|
|
|
7bc: 00000013 nop
|
|
|
|
7c0: 02c12083 lw ra,44(sp)
|
|
|
|
7c4: 02812403 lw s0,40(sp)
|
|
|
|
7c8: 05010113 addi sp,sp,80
|
|
|
|
7cc: 00008067 ret
|
2020-04-06 12:20:31 +00:00
|
|
|
|
|
|
|
Disassembly of section .data:
|
|
|
|
|
|
|
|
10000000 <__global_pointer$-0x870>:
|
|
|
|
10000000: 6425 lui s0,0x9
|
|
|
|
10000002: 6820 flw fs0,80(s0)
|
|
|
|
10000004: 6c65 lui s8,0x19
|
|
|
|
10000006: 6f6c flw fa1,92(a4)
|
|
|
|
10000008: 7720 flw fs0,104(a4)
|
|
|
|
1000000a: 646c726f jal tp,100c7650 <__global_pointer$+0xc6de0>
|
|
|
|
1000000e: 000a c.slli zero,0x2
|
2020-04-06 13:28:56 +00:00
|
|
|
10000010: 0528 addi a0,sp,648
|
2020-04-06 12:20:31 +00:00
|
|
|
10000012: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000014: 0508 addi a0,sp,640
|
2020-04-06 12:20:31 +00:00
|
|
|
10000016: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000018: 0540 addi s0,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000001a: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
1000001c: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000001e: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000020: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
10000022: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000024: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
10000026: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000028: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000002a: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
1000002c: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000002e: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000030: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
10000032: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000034: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
10000036: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000038: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000003a: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
1000003c: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000003e: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000040: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
10000042: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000044: 0534 addi a3,sp,648
|
2020-04-06 12:20:31 +00:00
|
|
|
10000046: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000048: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000004a: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
1000004c: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000004e: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000050: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
10000052: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000054: 0474 addi a3,sp,524
|
2020-04-06 12:20:31 +00:00
|
|
|
10000056: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000058: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000005a: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
1000005c: 0540 addi s0,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000005e: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000060: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
10000062: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000064: 0558 addi a4,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
10000066: f000 fsw fs0,32(s0)
|
2020-04-06 13:28:56 +00:00
|
|
|
10000068: 054c addi a1,sp,644
|
2020-04-06 12:20:31 +00:00
|
|
|
1000006a: f000 fsw fs0,32(s0)
|
|
|
|
1000006c: 0000 unimp
|
|
|
|
...
|
|
|
|
|
|
|
|
Disassembly of section .bss:
|
|
|
|
|
|
|
|
10000070 <__bss_start>:
|
|
|
|
10000070: 0000 unimp
|
|
|
|
...
|
|
|
|
|
|
|
|
10000074 <xfunc_out>:
|
|
|
|
10000074: 0000 unimp
|
|
|
|
...
|
|
|
|
|
|
|
|
Disassembly of section .stack:
|
|
|
|
|
|
|
|
10000400 <_sp-0x400>:
|
|
|
|
...
|
|
|
|
|
|
|
|
Disassembly of section .comment:
|
|
|
|
|
|
|
|
00000000 <.comment>:
|
|
|
|
0: 3a434347 fmsub.d ft6,ft6,ft4,ft7,rmm
|
|
|
|
4: 2820 fld fs0,80(s0)
|
|
|
|
6: 20554e47 fmsub.s ft8,fa0,ft5,ft4,rmm
|
|
|
|
a: 434d li t1,19
|
2020-04-06 13:28:56 +00:00
|
|
|
c: 2055 jal b0 <_timer0_handler+0x4c>
|
2020-04-06 12:20:31 +00:00
|
|
|
e: 6345 lui t1,0x11
|
|
|
|
10: 696c flw fa1,84(a0)
|
|
|
|
12: 7370 flw fa2,100(a4)
|
2020-04-06 13:28:56 +00:00
|
|
|
14: 2065 jal bc <_timer0_handler+0x58>
|
2020-04-06 12:20:31 +00:00
|
|
|
16: 4952 lw s2,20(sp)
|
|
|
|
18: 562d4353 0x562d4353
|
|
|
|
1c: 4520 lw s0,72(a0)
|
|
|
|
1e: 626d lui tp,0x1b
|
|
|
|
20: 6465 lui s0,0x19
|
|
|
|
22: 6564 flw fs1,76(a0)
|
|
|
|
24: 2064 fld fs1,192(s0)
|
|
|
|
26: 2c434347 0x2c434347
|
|
|
|
2a: 3620 fld fs0,104(a2)
|
|
|
|
2c: 2d34 fld fa3,88(a0)
|
|
|
|
2e: 6962 flw fs2,24(sp)
|
|
|
|
30: 2974 fld fa3,208(a0)
|
|
|
|
32: 3820 fld fs0,112(s0)
|
|
|
|
34: 322e fld ft4,232(sp)
|
|
|
|
36: 302e fld ft0,232(sp)
|
|
|
|
...
|