FreeCalypso > hg > freecalypso-reveng
comparison pirelli/fw-disasm @ 244:f40f069b0d06
pirelli/fw-disasm: ABB_Read_ADC() and ABB_Conf_ADC() located
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 23 Dec 2017 16:38:50 +0000 |
parents | 83715e0c65de |
children | 9cd7fa86da47 |
comparison
equal
deleted
inserted
replaced
243:83715e0c65de | 244:f40f069b0d06 |
---|---|
766 349474: 4851 ldr r0, =0x17741e0 ; via 0x3495bc | 766 349474: 4851 ldr r0, =0x17741e0 ; via 0x3495bc |
767 349476: f0b0 fa31 bl 0x3f98dc | 767 349476: f0b0 fa31 bl 0x3f98dc |
768 34947a: b003 add sp, #12 ; 0xc | 768 34947a: b003 add sp, #12 ; 0xc |
769 34947c: bd00 pop {pc} | 769 34947c: bd00 pop {pc} |
770 34947e: 46c0 nop (mov r8, r8) | 770 34947e: 46c0 nop (mov r8, r8) |
771 | |
772 349480: fffe300c | |
773 349484: fffe300e | |
774 349488: fffe3006 | |
775 34948c: fffe3004 | |
776 349490: fffe300a | |
777 349494: 0000021b | |
778 | |
779 $ABB_Read_ADC: | |
780 349498: b500 push {lr} | |
781 34949a: b082 sub sp, #8 | |
782 34949c: 9000 str r0, [sp, #0] | |
783 34949e: 4847 ldr r0, =0x17741e0 ; via 0x3495bc | |
784 3494a0: 2100 mov r1, #0 | |
785 3494a2: 43c9 mvn r1, r1 | |
786 3494a4: f0b0 fa22 bl 0x3f98ec | |
787 3494a8: 4958 ldr r1, =0xfffe3000 ; via 0x34960c | |
788 3494aa: 2031 mov r0, #49 ; 0x31 | |
789 3494ac: 880a ldrh r2, [r1, #0] | |
790 3494ae: 4310 orr r0, r2 | |
791 3494b0: 8008 strh r0, [r1, #0] | |
792 3494b2: 4669 mov r1, sp | |
793 3494b4: 48ef ldr r0, =0xfffe3006 ; via 0x349874 | |
794 3494b6: 8800 ldrh r0, [r0, #0] | |
795 3494b8: 8088 strh r0, [r1, #4] | |
796 3494ba: 2001 mov r0, #1 | |
797 3494bc: f7ff fe0b bl 0x3490d6 | |
798 3494c0: 201e mov r0, #30 ; 0x1e | |
799 3494c2: f7ff fe52 bl 0x34916a | |
800 3494c6: 9900 ldr r1, [sp, #0] | |
801 3494c8: 1c8a add r2, r1, #2 | |
802 3494ca: 9200 str r2, [sp, #0] | |
803 3494cc: 8008 strh r0, [r1, #0] | |
804 3494ce: 2020 mov r0, #32 ; 0x20 | |
805 3494d0: f7ff fe4b bl 0x34916a | |
806 3494d4: 9900 ldr r1, [sp, #0] | |
807 3494d6: 1c8a add r2, r1, #2 | |
808 3494d8: 9200 str r2, [sp, #0] | |
809 3494da: 8008 strh r0, [r1, #0] | |
810 3494dc: 2022 mov r0, #34 ; 0x22 | |
811 3494de: f7ff fe44 bl 0x34916a | |
812 3494e2: 9900 ldr r1, [sp, #0] | |
813 3494e4: 1c8a add r2, r1, #2 | |
814 3494e6: 9200 str r2, [sp, #0] | |
815 3494e8: 8008 strh r0, [r1, #0] | |
816 3494ea: 2024 mov r0, #36 ; 0x24 | |
817 3494ec: f7ff fe3d bl 0x34916a | |
818 3494f0: 9900 ldr r1, [sp, #0] | |
819 3494f2: 1c8a add r2, r1, #2 | |
820 3494f4: 9200 str r2, [sp, #0] | |
821 3494f6: 8008 strh r0, [r1, #0] | |
822 3494f8: 2026 mov r0, #38 ; 0x26 | |
823 3494fa: f7ff fe36 bl 0x34916a | |
824 3494fe: 9900 ldr r1, [sp, #0] | |
825 349500: 1c8a add r2, r1, #2 | |
826 349502: 9200 str r2, [sp, #0] | |
827 349504: 8008 strh r0, [r1, #0] | |
828 349506: 2028 mov r0, #40 ; 0x28 | |
829 349508: f7ff fe2f bl 0x34916a | |
830 34950c: 9900 ldr r1, [sp, #0] | |
831 34950e: 1c8a add r2, r1, #2 | |
832 349510: 9200 str r2, [sp, #0] | |
833 349512: 8008 strh r0, [r1, #0] | |
834 349514: 202a mov r0, #42 ; 0x2a | |
835 349516: f7ff fe28 bl 0x34916a | |
836 34951a: 9900 ldr r1, [sp, #0] | |
837 34951c: 1c8a add r2, r1, #2 | |
838 34951e: 9200 str r2, [sp, #0] | |
839 349520: 8008 strh r0, [r1, #0] | |
840 349522: 202c mov r0, #44 ; 0x2c | |
841 349524: f7ff fe21 bl 0x34916a | |
842 349528: 9900 ldr r1, [sp, #0] | |
843 34952a: 1c8a add r2, r1, #2 | |
844 34952c: 9200 str r2, [sp, #0] | |
845 34952e: 8008 strh r0, [r1, #0] | |
846 349530: 4822 ldr r0, =0x17741e0 ; via 0x3495bc | |
847 349532: f0b0 f9d3 bl 0x3f98dc | |
848 349536: b002 add sp, #8 | |
849 349538: bd00 pop {pc} | |
850 | |
851 $ABB_Conf_ADC: | |
852 34953a: b500 push {lr} | |
853 34953c: b082 sub sp, #8 | |
854 34953e: 466a mov r2, sp | |
855 349540: 8051 strh r1, [r2, #2] | |
856 349542: 4669 mov r1, sp | |
857 349544: 8008 strh r0, [r1, #0] | |
858 349546: 481d ldr r0, =0x17741e0 ; via 0x3495bc | |
859 349548: 2100 mov r1, #0 | |
860 34954a: 43c9 mvn r1, r1 | |
861 34954c: f0b0 f9ce bl 0x3f98ec | |
862 349550: 492e ldr r1, =0xfffe3000 ; via 0x34960c | |
863 349552: 2031 mov r0, #49 ; 0x31 | |
864 349554: 880a ldrh r2, [r1, #0] | |
865 349556: 4310 orr r0, r2 | |
866 349558: 8008 strh r0, [r1, #0] | |
867 34955a: 4669 mov r1, sp | |
868 34955c: 48c5 ldr r0, =0xfffe3006 ; via 0x349874 | |
869 34955e: 8800 ldrh r0, [r0, #0] | |
870 349560: 8088 strh r0, [r1, #4] | |
871 349562: 2001 mov r0, #1 | |
872 349564: f7ff fdb7 bl 0x3490d6 | |
873 349568: 201a mov r0, #26 ; 0x1a | |
874 34956a: 4669 mov r1, sp | |
875 34956c: 8809 ldrh r1, [r1, #0] | |
876 34956e: f7ff fdd6 bl 0x34911e | |
877 349572: 2034 mov r0, #52 ; 0x34 | |
878 349574: f7ff fdf9 bl 0x34916a | |
879 349578: 4669 mov r1, sp | |
880 34957a: 80c8 strh r0, [r1, #6] | |
881 34957c: 4668 mov r0, sp | |
882 34957e: 8840 ldrh r0, [r0, #2] | |
883 349580: 49cb ldr r1, =0x3df ; via 0x3498b0 | |
884 349582: 4288 cmp r0, r1 | |
885 349584: d104 bne 0x349590 | |
886 349586: 48ca ldr r0, =0x3df ; via 0x3498b0 | |
887 349588: 4669 mov r1, sp | |
888 34958a: 88c9 ldrh r1, [r1, #6] | |
889 34958c: 4008 and r0, r1 | |
890 34958e: e007 b 0x3495a0 | |
891 349590: 4668 mov r0, sp | |
892 349592: 8840 ldrh r0, [r0, #2] | |
893 349594: 2820 cmp r0, #32 ; 0x20 | |
894 349596: d108 bne 0x3495aa | |
895 349598: 2020 mov r0, #32 ; 0x20 | |
896 34959a: 4669 mov r1, sp | |
897 34959c: 88c9 ldrh r1, [r1, #6] | |
898 34959e: 4308 orr r0, r1 | |
899 3495a0: 0400 lsl r0, r0, #16 | |
900 3495a2: 0c01 lsr r1, r0, #16 | |
901 3495a4: 2034 mov r0, #52 ; 0x34 | |
902 3495a6: f7ff fdba bl 0x34911e | |
903 3495aa: 4804 ldr r0, =0x17741e0 ; via 0x3495bc | |
904 3495ac: f0b0 f996 bl 0x3f98dc | |
905 3495b0: b002 add sp, #8 | |
906 3495b2: bd00 pop {pc} | |
771 | 907 |
772 $Init_Target: | 908 $Init_Target: |
773 3bb7d4: b570 push {r4, r5, r6, lr} | 909 3bb7d4: b570 push {r4, r5, r6, lr} |
774 3bb7d6: b081 sub sp, #4 | 910 3bb7d6: b081 sub sp, #4 |
775 3bb7d8: 4c96 ldr r4, =0xfffef008 ; via 0x3bba34 | 911 3bb7d8: 4c96 ldr r4, =0xfffef008 ; via 0x3bba34 |