tinyriscv/tests/example/uart_tx/uart_tx.dump

657 lines
25 KiB
Plaintext
Raw Normal View History

uart_tx: file format elf32-littleriscv
Disassembly of section .init:
00000000 <_start>:
0: 10001197 auipc gp,0x10001
4: 87018193 addi gp,gp,-1936 # 10000870 <__global_pointer$>
8: 10002117 auipc sp,0x10002
c: ff810113 addi sp,sp,-8 # 10002000 <_sp>
10: 00001517 auipc a0,0x1
14: 82050513 addi a0,a0,-2016 # 830 <_data_lma>
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 <_start+0x40>
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 <_start+0x2c>
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 <_start+0x5c>
50: 00052023 sw zero,0(a0)
54: 00450513 addi a0,a0,4
58: feb56ce3 bltu a0,a1,50 <_start+0x50>
5c: 1dc000ef jal ra,238 <_init>
60: 164000ef jal ra,1c4 <main>
00000064 <loop>:
64: 0000006f j 64 <loop>
Disassembly of section .text:
00000068 <trap_entry>:
68: f8010113 addi sp,sp,-128
6c: 00112223 sw ra,4(sp)
70: 00212423 sw sp,8(sp)
74: 00312623 sw gp,12(sp)
78: 00412823 sw tp,16(sp)
7c: 00512a23 sw t0,20(sp)
80: 00612c23 sw t1,24(sp)
84: 00712e23 sw t2,28(sp)
88: 02812023 sw s0,32(sp)
8c: 02912223 sw s1,36(sp)
90: 02a12423 sw a0,40(sp)
94: 02b12623 sw a1,44(sp)
98: 02c12823 sw a2,48(sp)
9c: 02d12a23 sw a3,52(sp)
a0: 02e12c23 sw a4,56(sp)
a4: 02f12e23 sw a5,60(sp)
a8: 05012023 sw a6,64(sp)
ac: 05112223 sw a7,68(sp)
b0: 05212423 sw s2,72(sp)
b4: 05312623 sw s3,76(sp)
b8: 05412823 sw s4,80(sp)
bc: 05512a23 sw s5,84(sp)
c0: 05612c23 sw s6,88(sp)
c4: 05712e23 sw s7,92(sp)
c8: 07812023 sw s8,96(sp)
cc: 07912223 sw s9,100(sp)
d0: 07a12423 sw s10,104(sp)
d4: 07b12623 sw s11,108(sp)
d8: 07c12823 sw t3,112(sp)
dc: 07d12a23 sw t4,116(sp)
e0: 07e12c23 sw t5,120(sp)
e4: 07f12e23 sw t6,124(sp)
e8: 34202573 csrr a0,mcause
ec: 11c000ef jal ra,208 <trap_handler>
f0: 00412083 lw ra,4(sp)
f4: 00812103 lw sp,8(sp)
f8: 00c12183 lw gp,12(sp)
fc: 01012203 lw tp,16(sp)
100: 01412283 lw t0,20(sp)
104: 01812303 lw t1,24(sp)
108: 01c12383 lw t2,28(sp)
10c: 02012403 lw s0,32(sp)
110: 02412483 lw s1,36(sp)
114: 02812503 lw a0,40(sp)
118: 02c12583 lw a1,44(sp)
11c: 03012603 lw a2,48(sp)
120: 03412683 lw a3,52(sp)
124: 03812703 lw a4,56(sp)
128: 03c12783 lw a5,60(sp)
12c: 04012803 lw a6,64(sp)
130: 04412883 lw a7,68(sp)
134: 04812903 lw s2,72(sp)
138: 04c12983 lw s3,76(sp)
13c: 05012a03 lw s4,80(sp)
140: 05412a83 lw s5,84(sp)
144: 05812b03 lw s6,88(sp)
148: 05c12b83 lw s7,92(sp)
14c: 06012c03 lw s8,96(sp)
150: 06412c83 lw s9,100(sp)
154: 06812d03 lw s10,104(sp)
158: 06c12d83 lw s11,108(sp)
15c: 07012e03 lw t3,112(sp)
160: 07412e83 lw t4,116(sp)
164: 07812f03 lw t5,120(sp)
168: 07c12f83 lw t6,124(sp)
16c: 08010113 addi sp,sp,128
170: 30200073 mret
174: 0000006f j 174 <trap_entry+0x10c>
00000178 <uart_putc>:
178: fe010113 addi sp,sp,-32
17c: 00812e23 sw s0,28(sp)
180: 02010413 addi s0,sp,32
184: 00050793 mv a5,a0
188: fef407a3 sb a5,-17(s0)
18c: 00000013 nop
190: 300007b7 lui a5,0x30000
194: 00478793 addi a5,a5,4 # 30000004 <_sp+0x1fffe004>
198: 0007a783 lw a5,0(a5)
19c: 0017f793 andi a5,a5,1
1a0: fe0798e3 bnez a5,190 <uart_putc+0x18>
1a4: 300007b7 lui a5,0x30000
1a8: 00c78793 addi a5,a5,12 # 3000000c <_sp+0x1fffe00c>
1ac: fef44703 lbu a4,-17(s0)
1b0: 00e7a023 sw a4,0(a5)
1b4: 00000013 nop
1b8: 01c12403 lw s0,28(sp)
1bc: 02010113 addi sp,sp,32
1c0: 00008067 ret
000001c4 <main>:
1c4: ff010113 addi sp,sp,-16
1c8: 00112623 sw ra,12(sp)
1cc: 00812423 sw s0,8(sp)
1d0: 01010413 addi s0,sp,16
1d4: 300007b7 lui a5,0x30000
1d8: 00100713 li a4,1
1dc: 00e7a023 sw a4,0(a5) # 30000000 <_sp+0x1fffe000>
1e0: 10000797 auipc a5,0x10000
1e4: e9478793 addi a5,a5,-364 # 10000074 <xfunc_out>
1e8: 00000717 auipc a4,0x0
1ec: f9070713 addi a4,a4,-112 # 178 <uart_putc>
1f0: 00e7a023 sw a4,0(a5)
1f4: 00100593 li a1,1
1f8: 10000517 auipc a0,0x10000
1fc: e0850513 addi a0,a0,-504 # 10000000 <_data>
200: 5d0000ef jal ra,7d0 <xprintf>
204: 0000006f j 204 <main+0x40>
00000208 <trap_handler>:
208: fe010113 addi sp,sp,-32
20c: 00112e23 sw ra,28(sp)
210: 00812c23 sw s0,24(sp)
214: 02010413 addi s0,sp,32
218: fea42623 sw a0,-20(s0)
21c: 00000097 auipc ra,0x0
220: 000000e7 jalr zero # 0 <_start>
224: 00000013 nop
228: 01c12083 lw ra,28(sp)
22c: 01812403 lw s0,24(sp)
230: 02010113 addi sp,sp,32
234: 00008067 ret
00000238 <_init>:
238: ff010113 addi sp,sp,-16
23c: 00812623 sw s0,12(sp)
240: 01010413 addi s0,sp,16
244: 00000797 auipc a5,0x0
248: e2478793 addi a5,a5,-476 # 68 <trap_entry>
24c: 30579073 csrw mtvec,a5
250: 00000013 nop
254: 00c12403 lw s0,12(sp)
258: 01010113 addi sp,sp,16
25c: 00008067 ret
00000260 <xputc>:
260: fe010113 addi sp,sp,-32
264: 00112e23 sw ra,28(sp)
268: 00812c23 sw s0,24(sp)
26c: 02010413 addi s0,sp,32
270: 00050793 mv a5,a0
274: fef407a3 sb a5,-17(s0)
278: 10000797 auipc a5,0x10000
27c: df878793 addi a5,a5,-520 # 10000070 <__bss_start>
280: 0007a783 lw a5,0(a5)
284: 02078663 beqz a5,2b0 <xputc+0x50>
288: 10000797 auipc a5,0x10000
28c: de878793 addi a5,a5,-536 # 10000070 <__bss_start>
290: 0007a783 lw a5,0(a5)
294: 00178693 addi a3,a5,1
298: 10000717 auipc a4,0x10000
29c: dd870713 addi a4,a4,-552 # 10000070 <__bss_start>
2a0: 00d72023 sw a3,0(a4)
2a4: fef44703 lbu a4,-17(s0)
2a8: 00e78023 sb a4,0(a5)
2ac: 02c0006f j 2d8 <xputc+0x78>
2b0: 10000797 auipc a5,0x10000
2b4: dc478793 addi a5,a5,-572 # 10000074 <xfunc_out>
2b8: 0007a783 lw a5,0(a5)
2bc: 00078e63 beqz a5,2d8 <xputc+0x78>
2c0: 10000797 auipc a5,0x10000
2c4: db478793 addi a5,a5,-588 # 10000074 <xfunc_out>
2c8: 0007a703 lw a4,0(a5)
2cc: fef44783 lbu a5,-17(s0)
2d0: 00078513 mv a0,a5
2d4: 000700e7 jalr a4
2d8: 01c12083 lw ra,28(sp)
2dc: 01812403 lw s0,24(sp)
2e0: 02010113 addi sp,sp,32
2e4: 00008067 ret
000002e8 <xputs>:
2e8: fe010113 addi sp,sp,-32
2ec: 00112e23 sw ra,28(sp)
2f0: 00812c23 sw s0,24(sp)
2f4: 02010413 addi s0,sp,32
2f8: fea42623 sw a0,-20(s0)
2fc: 01c0006f j 318 <xputs+0x30>
300: fec42783 lw a5,-20(s0)
304: 00178713 addi a4,a5,1
308: fee42623 sw a4,-20(s0)
30c: 0007c783 lbu a5,0(a5)
310: 00078513 mv a0,a5
314: f4dff0ef jal ra,260 <xputc>
318: fec42783 lw a5,-20(s0)
31c: 0007c783 lbu a5,0(a5)
320: fe0790e3 bnez a5,300 <xputs+0x18>
324: 00000013 nop
328: 01c12083 lw ra,28(sp)
32c: 01812403 lw s0,24(sp)
330: 02010113 addi sp,sp,32
334: 00008067 ret
00000338 <xvprintf>:
338: fb010113 addi sp,sp,-80
33c: 04112623 sw ra,76(sp)
340: 04812423 sw s0,72(sp)
344: 05010413 addi s0,sp,80
348: faa42e23 sw a0,-68(s0)
34c: fab42c23 sw a1,-72(s0)
350: fbc42783 lw a5,-68(s0)
354: 00178713 addi a4,a5,1
358: fae42e23 sw a4,-68(s0)
35c: 0007c783 lbu a5,0(a5)
360: fcf40ba3 sb a5,-41(s0)
364: fd744783 lbu a5,-41(s0)
368: 44078463 beqz a5,7b0 <xvprintf+0x478>
36c: fd744703 lbu a4,-41(s0)
370: 02500793 li a5,37
374: 00f70a63 beq a4,a5,388 <xvprintf+0x50>
378: fd744783 lbu a5,-41(s0)
37c: 00078513 mv a0,a5
380: ee1ff0ef jal ra,260 <xputc>
384: 4280006f j 7ac <xvprintf+0x474>
388: fc042e23 sw zero,-36(s0)
38c: fbc42783 lw a5,-68(s0)
390: 00178713 addi a4,a5,1
394: fae42e23 sw a4,-68(s0)
398: 0007c783 lbu a5,0(a5)
39c: fcf40ba3 sb a5,-41(s0)
3a0: fd744703 lbu a4,-41(s0)
3a4: 03000793 li a5,48
3a8: 02f71263 bne a4,a5,3cc <xvprintf+0x94>
3ac: 00100793 li a5,1
3b0: fcf42e23 sw a5,-36(s0)
3b4: fbc42783 lw a5,-68(s0)
3b8: 00178713 addi a4,a5,1
3bc: fae42e23 sw a4,-68(s0)
3c0: 0007c783 lbu a5,0(a5)
3c4: fcf40ba3 sb a5,-41(s0)
3c8: 02c0006f j 3f4 <xvprintf+0xbc>
3cc: fd744703 lbu a4,-41(s0)
3d0: 02d00793 li a5,45
3d4: 02f71063 bne a4,a5,3f4 <xvprintf+0xbc>
3d8: 00200793 li a5,2
3dc: fcf42e23 sw a5,-36(s0)
3e0: fbc42783 lw a5,-68(s0)
3e4: 00178713 addi a4,a5,1
3e8: fae42e23 sw a4,-68(s0)
3ec: 0007c783 lbu a5,0(a5)
3f0: fcf40ba3 sb a5,-41(s0)
3f4: fe042023 sw zero,-32(s0)
3f8: 0400006f j 438 <xvprintf+0x100>
3fc: fe042703 lw a4,-32(s0)
400: 00070793 mv a5,a4
404: 00279793 slli a5,a5,0x2
408: 00e787b3 add a5,a5,a4
40c: 00179793 slli a5,a5,0x1
410: 00078713 mv a4,a5
414: fd744783 lbu a5,-41(s0)
418: 00f707b3 add a5,a4,a5
41c: fd078793 addi a5,a5,-48
420: fef42023 sw a5,-32(s0)
424: fbc42783 lw a5,-68(s0)
428: 00178713 addi a4,a5,1
42c: fae42e23 sw a4,-68(s0)
430: 0007c783 lbu a5,0(a5)
434: fcf40ba3 sb a5,-41(s0)
438: fd744703 lbu a4,-41(s0)
43c: 02f00793 li a5,47
440: 00e7f863 bgeu a5,a4,450 <xvprintf+0x118>
444: fd744703 lbu a4,-41(s0)
448: 03900793 li a5,57
44c: fae7f8e3 bgeu a5,a4,3fc <xvprintf+0xc4>
450: fd744703 lbu a4,-41(s0)
454: 06c00793 li a5,108
458: 00f70863 beq a4,a5,468 <xvprintf+0x130>
45c: fd744703 lbu a4,-41(s0)
460: 04c00793 li a5,76
464: 02f71263 bne a4,a5,488 <xvprintf+0x150>
468: fdc42783 lw a5,-36(s0)
46c: 0047e793 ori a5,a5,4
470: fcf42e23 sw a5,-36(s0)
474: fbc42783 lw a5,-68(s0)
478: 00178713 addi a4,a5,1
47c: fae42e23 sw a4,-68(s0)
480: 0007c783 lbu a5,0(a5)
484: fcf40ba3 sb a5,-41(s0)
488: fd744783 lbu a5,-41(s0)
48c: 32078663 beqz a5,7b8 <xvprintf+0x480>
490: fd744783 lbu a5,-41(s0)
494: fcf40b23 sb a5,-42(s0)
498: fd644703 lbu a4,-42(s0)
49c: 06000793 li a5,96
4a0: 00e7f863 bgeu a5,a4,4b0 <xvprintf+0x178>
4a4: fd644783 lbu a5,-42(s0)
4a8: fe078793 addi a5,a5,-32
4ac: fcf40b23 sb a5,-42(s0)
4b0: fd644783 lbu a5,-42(s0)
4b4: fbe78793 addi a5,a5,-66
4b8: 01600713 li a4,22
4bc: 10f76663 bltu a4,a5,5c8 <xvprintf+0x290>
4c0: 00279713 slli a4,a5,0x2
4c4: 10000797 auipc a5,0x10000
4c8: b4c78793 addi a5,a5,-1204 # 10000010 <_data+0x10>
4cc: 00f707b3 add a5,a4,a5
4d0: 0007a703 lw a4,0(a5)
4d4: 10000797 auipc a5,0x10000
4d8: b3c78793 addi a5,a5,-1220 # 10000010 <_data+0x10>
4dc: 00f707b3 add a5,a4,a5
4e0: 00078067 jr a5
4e4: fb842783 lw a5,-72(s0)
4e8: 00478713 addi a4,a5,4
4ec: fae42c23 sw a4,-72(s0)
4f0: 0007a783 lw a5,0(a5)
4f4: fcf42823 sw a5,-48(s0)
4f8: fe042223 sw zero,-28(s0)
4fc: 0100006f j 50c <xvprintf+0x1d4>
500: fe442783 lw a5,-28(s0)
504: 00178793 addi a5,a5,1
508: fef42223 sw a5,-28(s0)
50c: fd042703 lw a4,-48(s0)
510: fe442783 lw a5,-28(s0)
514: 00f707b3 add a5,a4,a5
518: 0007c783 lbu a5,0(a5)
51c: fe0792e3 bnez a5,500 <xvprintf+0x1c8>
520: 00c0006f j 52c <xvprintf+0x1f4>
524: 02000513 li a0,32
528: d39ff0ef jal ra,260 <xputc>
52c: fdc42783 lw a5,-36(s0)
530: 0027f793 andi a5,a5,2
534: 00079c63 bnez a5,54c <xvprintf+0x214>
538: fe442783 lw a5,-28(s0)
53c: 00178713 addi a4,a5,1
540: fee42223 sw a4,-28(s0)
544: fe042703 lw a4,-32(s0)
548: fce7eee3 bltu a5,a4,524 <xvprintf+0x1ec>
54c: fd042503 lw a0,-48(s0)
550: d99ff0ef jal ra,2e8 <xputs>
554: 00c0006f j 560 <xvprintf+0x228>
558: 02000513 li a0,32
55c: d05ff0ef jal ra,260 <xputc>
560: fe442783 lw a5,-28(s0)
564: 00178713 addi a4,a5,1
568: fee42223 sw a4,-28(s0)
56c: fe042703 lw a4,-32(s0)
570: fee7e4e3 bltu a5,a4,558 <xvprintf+0x220>
574: 2380006f j 7ac <xvprintf+0x474>
578: fb842783 lw a5,-72(s0)
57c: 00478713 addi a4,a5,4
580: fae42c23 sw a4,-72(s0)
584: 0007a783 lw a5,0(a5)
588: 0ff7f793 andi a5,a5,255
58c: 00078513 mv a0,a5
590: cd1ff0ef jal ra,260 <xputc>
594: 2180006f j 7ac <xvprintf+0x474>
598: 00200793 li a5,2
59c: fef42623 sw a5,-20(s0)
5a0: 0380006f j 5d8 <xvprintf+0x2a0>
5a4: 00800793 li a5,8
5a8: fef42623 sw a5,-20(s0)
5ac: 02c0006f j 5d8 <xvprintf+0x2a0>
5b0: 00a00793 li a5,10
5b4: fef42623 sw a5,-20(s0)
5b8: 0200006f j 5d8 <xvprintf+0x2a0>
5bc: 01000793 li a5,16
5c0: fef42623 sw a5,-20(s0)
5c4: 0140006f j 5d8 <xvprintf+0x2a0>
5c8: fd744783 lbu a5,-41(s0)
5cc: 00078513 mv a0,a5
5d0: c91ff0ef jal ra,260 <xputc>
5d4: 1d80006f j 7ac <xvprintf+0x474>
5d8: fdc42783 lw a5,-36(s0)
5dc: 0047f793 andi a5,a5,4
5e0: 00078c63 beqz a5,5f8 <xvprintf+0x2c0>
5e4: fb842783 lw a5,-72(s0)
5e8: 00478713 addi a4,a5,4
5ec: fae42c23 sw a4,-72(s0)
5f0: 0007a783 lw a5,0(a5)
5f4: 0340006f j 628 <xvprintf+0x2f0>
5f8: fd644703 lbu a4,-42(s0)
5fc: 04400793 li a5,68
600: 00f71c63 bne a4,a5,618 <xvprintf+0x2e0>
604: fb842783 lw a5,-72(s0)
608: 00478713 addi a4,a5,4
60c: fae42c23 sw a4,-72(s0)
610: 0007a783 lw a5,0(a5)
614: 0140006f j 628 <xvprintf+0x2f0>
618: fb842783 lw a5,-72(s0)
61c: 00478713 addi a4,a5,4
620: fae42c23 sw a4,-72(s0)
624: 0007a783 lw a5,0(a5)
628: fcf42c23 sw a5,-40(s0)
62c: fd644703 lbu a4,-42(s0)
630: 04400793 li a5,68
634: 02f71263 bne a4,a5,658 <xvprintf+0x320>
638: fd842783 lw a5,-40(s0)
63c: 0007de63 bgez a5,658 <xvprintf+0x320>
640: fd842783 lw a5,-40(s0)
644: 40f007b3 neg a5,a5
648: fcf42c23 sw a5,-40(s0)
64c: fdc42783 lw a5,-36(s0)
650: 0087e793 ori a5,a5,8
654: fcf42e23 sw a5,-36(s0)
658: fe042423 sw zero,-24(s0)
65c: fd842703 lw a4,-40(s0)
660: fec42783 lw a5,-20(s0)
664: 02f777b3 remu a5,a4,a5
668: fcf40b23 sb a5,-42(s0)
66c: fd842703 lw a4,-40(s0)
670: fec42783 lw a5,-20(s0)
674: 02f757b3 divu a5,a4,a5
678: fcf42c23 sw a5,-40(s0)
67c: fd644703 lbu a4,-42(s0)
680: 00900793 li a5,9
684: 02e7f463 bgeu a5,a4,6ac <xvprintf+0x374>
688: fd744703 lbu a4,-41(s0)
68c: 07800793 li a5,120
690: 00f71663 bne a4,a5,69c <xvprintf+0x364>
694: 02700793 li a5,39
698: 0080006f j 6a0 <xvprintf+0x368>
69c: 00700793 li a5,7
6a0: fd644703 lbu a4,-42(s0)
6a4: 00e787b3 add a5,a5,a4
6a8: fcf40b23 sb a5,-42(s0)
6ac: fe842783 lw a5,-24(s0)
6b0: 00178713 addi a4,a5,1
6b4: fee42423 sw a4,-24(s0)
6b8: fd644703 lbu a4,-42(s0)
6bc: 03070713 addi a4,a4,48
6c0: 0ff77713 andi a4,a4,255
6c4: ff040693 addi a3,s0,-16
6c8: 00f687b3 add a5,a3,a5
6cc: fce78823 sb a4,-48(a5)
6d0: fd842783 lw a5,-40(s0)
6d4: 00078863 beqz a5,6e4 <xvprintf+0x3ac>
6d8: fe842703 lw a4,-24(s0)
6dc: 00f00793 li a5,15
6e0: f6e7fee3 bgeu a5,a4,65c <xvprintf+0x324>
6e4: fdc42783 lw a5,-36(s0)
6e8: 0087f793 andi a5,a5,8
6ec: 02078063 beqz a5,70c <xvprintf+0x3d4>
6f0: fe842783 lw a5,-24(s0)
6f4: 00178713 addi a4,a5,1
6f8: fee42423 sw a4,-24(s0)
6fc: ff040713 addi a4,s0,-16
700: 00f707b3 add a5,a4,a5
704: 02d00713 li a4,45
708: fce78823 sb a4,-48(a5)
70c: fe842783 lw a5,-24(s0)
710: fef42223 sw a5,-28(s0)
714: fdc42783 lw a5,-36(s0)
718: 0017f793 andi a5,a5,1
71c: 00078663 beqz a5,728 <xvprintf+0x3f0>
720: 03000793 li a5,48
724: 0080006f j 72c <xvprintf+0x3f4>
728: 02000793 li a5,32
72c: fcf40b23 sb a5,-42(s0)
730: 0100006f j 740 <xvprintf+0x408>
734: fd644783 lbu a5,-42(s0)
738: 00078513 mv a0,a5
73c: b25ff0ef jal ra,260 <xputc>
740: fdc42783 lw a5,-36(s0)
744: 0027f793 andi a5,a5,2
748: 00079c63 bnez a5,760 <xvprintf+0x428>
74c: fe442783 lw a5,-28(s0)
750: 00178713 addi a4,a5,1
754: fee42223 sw a4,-28(s0)
758: fe042703 lw a4,-32(s0)
75c: fce7ece3 bltu a5,a4,734 <xvprintf+0x3fc>
760: fe842783 lw a5,-24(s0)
764: fff78793 addi a5,a5,-1
768: fef42423 sw a5,-24(s0)
76c: fe842783 lw a5,-24(s0)
770: ff040713 addi a4,s0,-16
774: 00f707b3 add a5,a4,a5
778: fd07c783 lbu a5,-48(a5)
77c: 00078513 mv a0,a5
780: ae1ff0ef jal ra,260 <xputc>
784: fe842783 lw a5,-24(s0)
788: fc079ce3 bnez a5,760 <xvprintf+0x428>
78c: 00c0006f j 798 <xvprintf+0x460>
790: 02000513 li a0,32
794: acdff0ef jal ra,260 <xputc>
798: fe442783 lw a5,-28(s0)
79c: 00178713 addi a4,a5,1
7a0: fee42223 sw a4,-28(s0)
7a4: fe042703 lw a4,-32(s0)
7a8: fee7e4e3 bltu a5,a4,790 <xvprintf+0x458>
7ac: ba5ff06f j 350 <xvprintf+0x18>
7b0: 00000013 nop
7b4: 0080006f j 7bc <xvprintf+0x484>
7b8: 00000013 nop
7bc: 00000013 nop
7c0: 04c12083 lw ra,76(sp)
7c4: 04812403 lw s0,72(sp)
7c8: 05010113 addi sp,sp,80
7cc: 00008067 ret
000007d0 <xprintf>:
7d0: fb010113 addi sp,sp,-80
7d4: 02112623 sw ra,44(sp)
7d8: 02812423 sw s0,40(sp)
7dc: 03010413 addi s0,sp,48
7e0: fca42e23 sw a0,-36(s0)
7e4: 00b42223 sw a1,4(s0)
7e8: 00c42423 sw a2,8(s0)
7ec: 00d42623 sw a3,12(s0)
7f0: 00e42823 sw a4,16(s0)
7f4: 00f42a23 sw a5,20(s0)
7f8: 01042c23 sw a6,24(s0)
7fc: 01142e23 sw a7,28(s0)
800: 02040793 addi a5,s0,32
804: fe478793 addi a5,a5,-28
808: fef42623 sw a5,-20(s0)
80c: fec42783 lw a5,-20(s0)
810: 00078593 mv a1,a5
814: fdc42503 lw a0,-36(s0)
818: b21ff0ef jal ra,338 <xvprintf>
81c: 00000013 nop
820: 02c12083 lw ra,44(sp)
824: 02812403 lw s0,40(sp)
828: 05010113 addi sp,sp,80
82c: 00008067 ret
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 <_sp+0xc5650>
1000000e: 000a c.slli zero,0x2
10000010: 0588 addi a0,sp,704
10000012: f000 fsw fs0,32(s0)
10000014: 0568 addi a0,sp,652
10000016: f000 fsw fs0,32(s0)
10000018: 05a0 addi s0,sp,712
1000001a: f000 fsw fs0,32(s0)
1000001c: 05b8 addi a4,sp,712
1000001e: f000 fsw fs0,32(s0)
10000020: 05b8 addi a4,sp,712
10000022: f000 fsw fs0,32(s0)
10000024: 05b8 addi a4,sp,712
10000026: f000 fsw fs0,32(s0)
10000028: 05b8 addi a4,sp,712
1000002a: f000 fsw fs0,32(s0)
1000002c: 05b8 addi a4,sp,712
1000002e: f000 fsw fs0,32(s0)
10000030: 05b8 addi a4,sp,712
10000032: f000 fsw fs0,32(s0)
10000034: 05b8 addi a4,sp,712
10000036: f000 fsw fs0,32(s0)
10000038: 05b8 addi a4,sp,712
1000003a: f000 fsw fs0,32(s0)
1000003c: 05b8 addi a4,sp,712
1000003e: f000 fsw fs0,32(s0)
10000040: 05b8 addi a4,sp,712
10000042: f000 fsw fs0,32(s0)
10000044: 0594 addi a3,sp,704
10000046: f000 fsw fs0,32(s0)
10000048: 05b8 addi a4,sp,712
1000004a: f000 fsw fs0,32(s0)
1000004c: 05b8 addi a4,sp,712
1000004e: f000 fsw fs0,32(s0)
10000050: 05b8 addi a4,sp,712
10000052: f000 fsw fs0,32(s0)
10000054: 04d4 addi a3,sp,580
10000056: f000 fsw fs0,32(s0)
10000058: 05b8 addi a4,sp,712
1000005a: f000 fsw fs0,32(s0)
1000005c: 05a0 addi s0,sp,712
1000005e: f000 fsw fs0,32(s0)
10000060: 05b8 addi a4,sp,712
10000062: f000 fsw fs0,32(s0)
10000064: 05b8 addi a4,sp,712
10000066: f000 fsw fs0,32(s0)
10000068: 05ac addi a1,sp,712
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:
10001800 <_sp-0x800>:
...
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
c: 2055 jal b0 <trap_entry+0x48>
e: 6345 lui t1,0x11
10: 696c flw fa1,84(a0)
12: 7370 flw fa2,100(a4)
14: 2065 jal bc <trap_entry+0x54>
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)
...