📄 bin.lst
字号:
518 653A2025 518 31327320 GAS LISTING /tmp/ccKe3Yhi.s page 13 519 013f 00 .align 2 520 $LC12: 521 0140 0A .ascii "\n" 522 0141 496D6167 .ascii "Image Loaded Successfully.\n\000" 522 65204C6F 522 61646564 522 20537563 522 63657373 523 015d 000000 .align 2 524 $LC14: 525 0160 2D2D2D2D .ascii "---------------------------------------------\n\000" 525 2D2D2D2D 525 2D2D2D2D 525 2D2D2D2D 525 2D2D2D2D 526 018f 00 .align 2 527 $LC13: 528 0190 0A .ascii "\n" 529 0191 4572726F .ascii "Error Loading Image File.\n\000" 529 72204C6F 529 6164696E 529 6720496D 529 61676520 530 .text 531 .align 2 532 .globl binLoadImage 533 .ent binLoadImage 534 .type binLoadImage, @function 535 binLoadImage: 536 $LFB9: 119:/mnt/hgfs/boot/booter/source/applications/booter/bin.c ****
120:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** void* binLoadImage(DataFunctions dataFunctions, const char* fileName)
121:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** {
537 .loc 1 121 0 538 .frame $sp,32,$31 # vars= 0, regs= 4/0, args= 16, gp= 0 539 .mask 0x80070000,-4 540 .fmask 0x00000000,0 541 .set noreorder 542 .set nomacro 543 544 02cc E0FFBD27 addiu $sp,$sp,-32 545 $LCFI20: 546 02d0 1000B0AF sw $16,16($sp) 547 $LCFI21: 122:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** void* entryPoint = (void*) 0;
123:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** fileAccessFunctions = dataFunctions;
548 .loc 1 123 0 549 02d4 0000103C lui $16,%hi(fileAccessFunctions) 550 02d8 00000226 addiu $2,$16,%lo(fileAccessFunctions) 551 02dc 000004AE sw $4,%lo(fileAccessFunctions)($16) 552 .loc 1 121 0 553 02e0 2000A4AF sw $4,32($sp) 554 .loc 1 123 0 555 02e4 080046AC sw $6,8($2) 124:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** showProgress(0);
556 .loc 1 124 0 557 02e8 21200000 move $4,$0GAS LISTING /tmp/ccKe3Yhi.s page 14 558 .loc 1 123 0 559 02ec 040045AC sw $5,4($2) 560 .loc 1 121 0 561 02f0 1800B2AF sw $18,24($sp) 562 $LCFI22: 563 02f4 1400B1AF sw $17,20($sp) 564 $LCFI23: 565 02f8 2190E000 move $18,$7 566 02fc 1C00BFAF sw $31,28($sp) 567 $LCFI24: 568 .loc 1 121 0 569 0300 2800A6AF sw $6,40($sp) 570 .loc 1 124 0 571 0304 0000000C jal showProgress 572 0308 2400A5AF sw $5,36($sp) 573 125:/mnt/hgfs/boot/booter/source/applications/booter/bin.c ****
126:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** if(fileAccessFunctions.open(fileName) && isBin())
574 .loc 1 126 0 575 030c 0000028E lw $2,%lo(fileAccessFunctions)($16) 576 0310 21204002 move $4,$18 577 .loc 1 122 0 578 .loc 1 126 0 579 0314 09F84000 jal $2 580 0318 21880000 move $17,$0 581 582 031c 0C004014 bne $2,$0,$L32 583 0320 00000000 nop 584 585 $L28: 127:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** {
128:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** showProgress(1);
129:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** printf("\n---------------------------------------------\n");
130:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** printf("Loading Image: %12s (Format = CE-BIN)\n", fileName);
131:/mnt/hgfs/boot/booter/source/applications/booter/bin.c ****
132:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** if(entryPoint = readBin())
133:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** printf("\nImage Loaded Successfully.\n");
134:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** else
135:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** printf("\nError Loading Image File.\n");
136:/mnt/hgfs/boot/booter/source/applications/booter/bin.c ****
137:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** printf("---------------------------------------------\n");
138:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** }
139:/mnt/hgfs/boot/booter/source/applications/booter/bin.c ****
140:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** fileAccessFunctions.close();
586 .loc 1 140 0 587 0324 00000326 addiu $3,$16,%lo(fileAccessFunctions) 588 $L34: 589 0328 0400628C lw $2,4($3) 590 032c 09F84000 jal $2 591 0330 00000000 nop 592 141:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** return entryPoint;
142:/mnt/hgfs/boot/booter/source/applications/booter/bin.c **** }
593 .loc 1 142 0 594 0334 21102002 move $2,$17 595 0338 1C00BF8F lw $31,28($sp) 596 033c 1800B28F lw $18,24($sp)GAS LISTING /tmp/ccKe3Yhi.s page 15 597 0340 1400B18F lw $17,20($sp) 598 0344 1000B08F lw $16,16($sp) 599 0348 0800E003 j $31 600 034c 2000BD27 addiu $sp,$sp,32 601 602 $L32: 603 .loc 1 126 0 604 0350 0000000C jal isBin 605 0354 00000000 nop 606 607 .loc 1 128 0 608 .loc 1 126 0 609 0358 F2FF4010 beq $2,$0,$L28 610 035c 01000424 li $4,1 # 0x1 611 612 .loc 1 128 0 613 0360 0000000C jal showProgress 614 0364 00000000 nop 615 616 .loc 1 129 0 617 0368 0000043C lui $4,%hi($LC10) 618 036c 0000000C jal printf 619 0370 00008424 addiu $4,$4,%lo($LC10) 620 621 .loc 1 130 0 622 0374 0000043C lui $4,%hi($LC11) 623 0378 00008424 addiu $4,$4,%lo($LC11) 624 037c 0000000C jal printf 625 0380 21284002 move $5,$18 626 627 .loc 1 132 0 628 0384 0000000C jal readBin 629 0388 00000000 nop 630 631 .loc 1 133 0 632 038c 0000043C lui $4,%hi($LC12) 633 .loc 1 132 0 634 0390 21884000 move $17,$2 635 .loc 1 133 0 636 .loc 1 132 0 637 0394 08004010 beq $2,$0,$L33 638 0398 00008424 addiu $4,$4,%lo($LC12) 639 640 $L31: 641 .loc 1 135 0 642 039c 0000000C jal printf 643 03a0 00000000 nop 644 645 .loc 1 137 0 646 03a4 0000043C lui $4,%hi($LC14) 647 03a8 0000000C jal printf 648 03ac 00008424 addiu $4,$4,%lo($LC14) 649 650 .loc 1 140 0 651 03b0 CA000008 j $L34 652 03b4 00000326 addiu $3,$16,%lo(fileAccessFunctions) 653 GAS LISTING /tmp/ccKe3Yhi.s page 16 654 $L33: 655 .loc 1 135 0 656 03b8 0000043C lui $4,%hi($LC13) 657 03bc E7000008 j $L31 658 03c0 00008424 addiu $4,$4,%lo($LC13) 659 660 .set macro 661 .set reorder 662 $LFE9: 663 .end binLoadImage 664 665 .comm imageInfo,8,4 666 667 .comm recordInfo,12,4 668 669 .comm fileAccessFunctions,12,4 670 .section .debug_frame,"",@progbits 671 $Lframe0: 672 0000 0C000000 .4byte $LECIE0-$LSCIE0 673 $LSCIE0: 674 0004 FFFFFFFF .4byte 0xffffffff 675 0008 01 .byte 0x1 676 0009 00 .ascii "\000" 677 000a 01 .uleb128 0x1 678 000b 04 .sleb128 4 679 000c 1F .byte 0x1f 680 000d 0C .byte 0xc 681 000e 1D .uleb128 0x1d 682 000f 00 .uleb128 0x0 683 .align 2 684 $LECIE0: 685 $LSFDE0: 686 0010 18000000 .4byte $LEFDE0-$LASFDE0 687 $LASFDE0: 688 0014 00000000 .4byte $Lframe0 689 0018 00000000 .4byte $LFB2 690 001c 38000000 .4byte $LFE2-$LFB2 691 0020 4C .byte 0x4 692 .4byte $LCFI0-$LFB2 693 0021 0E .byte 0xe 694 0022 18 .uleb128 0x18 695 0023 44 .byte 0x4 696 .4byte $LCFI2-$LCFI0 697 0024 11 .byte 0x11 698 0025 10 .uleb128 0x10 699 0026 7E .sleb128 -2 700 0027 11 .byte 0x11 701 0028 1F .uleb128 0x1f 702 0029 7F .sleb128 -1 703 002a 0000 .align 2 704 $LEFDE0: 705 $LSFDE2: 706 002c 18000000 .4byte $LEFDE2-$LASFDE2 707 $LASFDE2: 708 0030 00000000 .4byte $Lframe0 709 0034 38000000 .4byte $LFB3 710 0038 98000000 .4byte $LFE3-$LFB3GAS LISTING /tmp/ccKe3Yhi.s page 17 711 003c 44 .byte 0x4 712 .4byte $LCFI3-$LFB3 713 003d 0E .byte 0xe 714 003e 20 .uleb128 0x20 715 003f 50 .byte 0x4 716 .4byte $LCFI5-$LCFI3 717 0040 11 .byte 0x11 718 0041 1F .uleb128 0x1f 719 0042 7F .sleb128 -1 720 0043 11 .byte 0x11 721 0044 10 .uleb128 0x10 722 0045 7E .sleb128 -2 723 0046 0000 .align 2 724 $LEFDE2: 725 $LSFDE4: 726 0048 18000000 .4byte $LEFDE4-$LASFDE4 727 $LASFDE4: 728 004c 00000000 .4byte $Lframe0 729 0050 D0000000 .4byte $LFB4 730 0054 64000000 .4byte $LFE4-$LFB4 731 0058 48 .byte 0x4 732 .4byte $LCFI6-$LFB4 733 0059 0E .byte 0xe 734 005a 18 .uleb128 0x18 735 005b 48 .byte 0x4 736 .4byte $LCFI8-$LCFI6 737 005c 11 .byte 0x11 738 005d 10 .uleb128 0x10 739 005e 7E .sleb128 -2 740 005f 11 .byte 0x11 741 0060 1F .uleb128 0x1f 742 0061 7F .sleb128 -1 743 0062 0000 .align 2 744 $LEFDE4: 745 $LSFDE6: 746 0064 18000000 .4byte $LEFDE6-$LASFDE6 747 $LASFDE6: 748 0068 00000000 .4byte $Lframe0 749 006c 34010000 .4byte $LFB5 750 0070 74000000 .4byte $LFE5-$LFB5 751 0074 48 .byte 0x4 752 .4byte $LCFI9-$LFB5 753 0075 0E .byte 0xe 754 0076 18 .uleb128 0x18 755 0077 48 .byte 0x4 756 .4byte $LCFI11-$LCFI9 757 0078 11 .byte 0x11 758 0079 10 .uleb128 0x10 759 007a 7E .sleb128 -2 760 007b 11 .byte 0x11 761 007c 1F .uleb128 0x1f 762 007d 7F .sleb128 -1 763 007e 0000 .align 2 764 $LEFDE6: 765 $LSFDE8: 766 0080 0C000000 .4byte $LEFDE8-$LASFDE8 767 $LASFDE8:GAS LISTING /tmp/ccKe3Yhi.s page 18 768 0084 00000000 .4byte $Lframe0 769 0088 A8010000 .4byte $LFB6 770 008c 10000000 .4byte $LFE6-$LFB6 771 .align 2 772 $LEFDE8: 773 $LSFDE10: 774 0090 24000000 .4byte $LEFDE10-$LASFDE10 775 $LASFDE10: 776 0094 00000000 .4byte $Lframe0 777 0098 B8010000 .4byte $LFB7 778 009c DC000000 .4byte $LFE7-$LFB7 779 00a0 44 .byte 0x4 780 .4byte $LCFI12-$LFB7 781 00a1 0E .byte 0xe 782 00a2 28 .uleb128 0x28 783 00a3 44 .byte 0x4 784 .4byte $LCFI13-$LCFI12 785 00a4 11 .byte 0x11 786 00a5 11 .uleb128 0x11 787 00a6 7B .sleb128 -5 788 00a7 48 .byte 0x4 789 .4byte $LCFI14-$LCFI13 790 00a8 11 .byte 0x11 791 00a9 13 .uleb128 0x13 792 00aa 7D .sleb128 -3 793 00ab 58 .byte 0x4 794 .4byte $LCFI17-$LCFI14 795 00ac 11 .byte 0x11 796 00ad 10 .uleb128 0x10 797 00ae 7A .sleb128 -6 798 00af 11 .byte 0x11 799 00b0 1F .uleb128 0x1f 800 00b1 7E .sleb128 -2 801 00b2 11 .byte 0x11 802 00b3 12 .uleb128 0x12 803 00b4 7C .sleb128 -4 804 00b5 000000 .align 2 805 $LEFDE10: 806 $LSFDE12: 807 00b8 14000000 .4byte $LEFDE12-$LASFDE12 808 $LASFDE12: 809 00bc 00000000 .4byte $Lframe0 810 00c0 94020000 .4byte $LFB8 811 00c4 38000000 .4byte $LFE8-$LFB8 812 00c8 44 .byte 0x4 813 .4byte $LCFI18-$LFB8 814 00c9 0E .byte 0xe 815 00ca 20 .uleb128 0x20 816 00cb 44 .byte 0x4 817 .4byte $LCFI19-$LCFI18 818 00cc 11 .byte 0x11 819 00cd 1F .uleb128 0x1f 820 00ce 7E .sleb128 -2 821 00cf 00 .align 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -