comparison pirelli/fw-disasm @ 246:b2002dcbad3d

pirelli/fw-disasm: l1_abb_power_on() located
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Dec 2017 00:03:49 +0000
parents 9cd7fa86da47
children 1e1191fbdf90
comparison
equal deleted inserted replaced
245:9cd7fa86da47 246:b2002dcbad3d
478 406c4: e4d13001 ldrb r3, [r1], #1 478 406c4: e4d13001 ldrb r3, [r1], #1
479 406c8: e4c03001 strb r3, [r0], #1 479 406c8: e4c03001 strb r3, [r0], #1
480 406cc: e2522001 subs r2, r2, #1 480 406cc: e2522001 subs r2, r2, #1
481 406d0: 1afffffb bne 0x406c4 481 406d0: 1afffffb bne 0x406c4
482 406d4: e8bd8001 ldmia sp!, {r0, pc} 482 406d4: e8bd8001 ldmia sp!, {r0, pc}
483
484 $l1_abb_power_on:
485 31c036: b510 push {r4, lr}
486 31c038: b084 sub sp, #16 ; 0x10
487 31c03a: 2000 mov r0, #0
488 31c03c: 4669 mov r1, sp
489 31c03e: 8008 strh r0, [r1, #0]
490 31c040: 466a mov r2, sp
491 31c042: 213c mov r1, #60 ; 0x3c
492 31c044: 8051 strh r1, [r2, #2]
493 31c046: 2105 mov r1, #5
494 31c048: 8091 strh r1, [r2, #4]
495 31c04a: 4669 mov r1, sp
496 31c04c: 80c8 strh r0, [r1, #6]
497 31c04e: 2201 mov r2, #1
498 31c050: 810a strh r2, [r1, #8]
499 31c052: 8148 strh r0, [r1, #10] ; 0xa
500 31c054: 8188 strh r0, [r1, #12] ; 0xc
501 31c056: 4668 mov r0, sp
502 31c058: f0d3 fcc5 bl 0x3ef9e6 ; $SPI_InitDev
503 31c05c: f02d f924 bl 0x3492a8 ; $ABB_free_13M
504 31c060: f02d f954 bl 0x34930c ; $ABB_Read_Status
505 31c064: 2001 mov r0, #1
506 31c066: 2136 mov r1, #54 ; 0x36
507 31c068: f02d f8f7 bl 0x34925a ; $ABB_Read_Register_on_page
508 31c06c: 4cdf ldr r4, =0x8029a4 ; via 0x31c3ec
509 31c06e: 48e0 ldr r0, =0x15a4 ; via 0x31c3f0
510 31c070: 5d01 ldrb r1, [r0, r4]
511 31c072: 2005 mov r0, #5
512 31c074: 0340 lsl r0, r0, #13
513 31c076: f02d f96b bl 0x349350 ; $ABB_on
514 31c07a: 20ff mov r0, #255 ; 0xff
515 31c07c: 49ac ldr r1, =0x3df ; via 0x31c330
516 31c07e: f02d fa5c bl 0x34953a ; $ABB_Conf_ADC
517 31c082: 48db ldr r0, =0x15a4 ; via 0x31c3f0
518 31c084: 5d00 ldrb r0, [r0, r4]
519 31c086: 2800 cmp r0, #0
520 31c088: d101 bne 0x31c08e
521 31c08a: f0c0 fc4d bl 0x3dc928 ; $Create_ABB_HISR
522 31c08e: 4c24 ldr r4, =0xffd001a8 ; via 0x31c120
523 31c090: 48a8 ldr r0, =0x8028a5 ; via 0x31c334
524 31c092: 7800 ldrb r0, [r0, #0]
525 31c094: 2800 cmp r0, #0
526 31c096: d108 bne 0x31c0aa
527 31c098: 20ff mov r0, #255 ; 0xff
528 31c09a: 30dd add r0, #221 ; 0xdd
529 31c09c: 1900 add r0, r0, r4
530 31c09e: 2100 mov r1, #0
531 31c0a0: 2200 mov r2, #0
532 31c0a2: 2301 mov r3, #1
533 31c0a4: f0de f83a bl 0x3fa11c
534 31c0a8: e007 b 0x31c0ba
535 31c0aa: 20ff mov r0, #255 ; 0xff
536 31c0ac: 30dd add r0, #221 ; 0xdd
537 31c0ae: 1900 add r0, r0, r4
538 31c0b0: 2105 mov r1, #5
539 31c0b2: 2205 mov r2, #5
540 31c0b4: 2301 mov r3, #1
541 31c0b6: f0de f831 bl 0x3fa11c
542 31c0ba: 489f ldr r0, =0x802868 ; via 0x31c338
543 31c0bc: 2196 mov r1, #150 ; 0x96
544 31c0be: 5a09 ldrh r1, [r1, r0]
545 31c0c0: 8121 strh r1, [r4, #8]
546 31c0c2: 2198 mov r1, #152 ; 0x98
547 31c0c4: 5a09 ldrh r1, [r1, r0]
548 31c0c6: 8661 strh r1, [r4, #50] ; 0x32
549 31c0c8: 219a mov r1, #154 ; 0x9a
550 31c0ca: 5a09 ldrh r1, [r1, r0]
551 31c0cc: 86a1 strh r1, [r4, #52] ; 0x34
552 31c0ce: 219c mov r1, #156 ; 0x9c
553 31c0d0: 5a09 ldrh r1, [r1, r0]
554 31c0d2: 86e1 strh r1, [r4, #54] ; 0x36
555 31c0d4: 4a99 ldr r2, =0xffd001e8 ; via 0x31c33c
556 31c0d6: 219e mov r1, #158 ; 0x9e
557 31c0d8: 5a09 ldrh r1, [r1, r0]
558 31c0da: 80d1 strh r1, [r2, #6]
559 31c0dc: 21a0 mov r1, #160 ; 0xa0
560 31c0de: 5a09 ldrh r1, [r1, r0]
561 31c0e0: 8621 strh r1, [r4, #48] ; 0x30
562 31c0e2: 21a2 mov r1, #162 ; 0xa2
563 31c0e4: 5a09 ldrh r1, [r1, r0]
564 31c0e6: 8761 strh r1, [r4, #58] ; 0x3a
565 31c0e8: 21a4 mov r1, #164 ; 0xa4
566 31c0ea: 5a09 ldrh r1, [r1, r0]
567 31c0ec: 87a1 strh r1, [r4, #60] ; 0x3c
568 31c0ee: 21a6 mov r1, #166 ; 0xa6
569 31c0f0: 5a09 ldrh r1, [r1, r0]
570 31c0f2: 87e1 strh r1, [r4, #62] ; 0x3e
571 31c0f4: 21a8 mov r1, #168 ; 0xa8
572 31c0f6: 5a09 ldrh r1, [r1, r0]
573 31c0f8: 8011 strh r1, [r2, #0]
574 31c0fa: 21aa mov r1, #170 ; 0xaa
575 31c0fc: 5a09 ldrh r1, [r1, r0]
576 31c0fe: 8051 strh r1, [r2, #2]
577 31c100: 21ac mov r1, #172 ; 0xac
578 31c102: 5a09 ldrh r1, [r1, r0]
579 31c104: 8091 strh r1, [r2, #4]
580 31c106: 21ae mov r1, #174 ; 0xae
581 31c108: 5a09 ldrh r1, [r1, r0]
582 31c10a: 85e1 strh r1, [r4, #46] ; 0x2e
583 31c10c: 21b0 mov r1, #176 ; 0xb0
584 31c10e: 5a09 ldrh r1, [r1, r0]
585 31c110: 8721 strh r1, [r4, #56] ; 0x38
586 31c112: 21b2 mov r1, #178 ; 0xb2
587 31c114: 5a08 ldrh r0, [r1, r0]
588 31c116: 85a0 strh r0, [r4, #44] ; 0x2c
589 31c118: b004 add sp, #16 ; 0x10
590 31c11a: bd10 pop {r4, pc}
483 591
484 $l1_initialize: 592 $l1_initialize:
485 31c6e4: b530 push {r4, r5, lr} 593 31c6e4: b530 push {r4, r5, lr}
486 31c6e6: 1c04 add r4, r0, #0 594 31c6e6: 1c04 add r4, r0, #0
487 31c6e8: 483f ldr r0, =0x803f48 ; via 0x31c7e8 595 31c6e8: 483f ldr r0, =0x803f48 ; via 0x31c7e8