emberInit汇编代码:
emberInit:
0x8010654: 0xb580 PUSH {R7, LR}
0x8010656: 0x481c LDR.N R0, [PC, #0x70] ; [0x80106c8] 0x8040796 (134481814)
0x8010658: 0x7801 LDRB R1, [R0]
0x801065a: 0xb911 CBNZ R1, 0x8010662
0x801065c: 0x7941 LDRB R1, [R0, #0x5]
0x801065e: 0x2980 CMP R1, #128 ; 0x80
0x8010660: 0xd00a BEQ.N 0x8010678
0x8010662: 0x7801 LDRB R1, [R0]
0x8010664: 0x2901 CMP R1, #1
0x8010666: 0xd105 BNE.N 0x8010674
0x8010668: 0x78c1 LDRB R1, [R0, #0x3]
0x801066a: 0x2900 CMP R1, #0
0x801066c: 0xd102 BNE.N 0x8010674
0x801066e: 0x7940 LDRB R0, [R0, #0x5]
0x8010670: 0x0600 LSLS R0, R0, #24
0x8010672: 0xd401 BMI.N 0x8010678
0x8010674: 0x20b0 MOVS R0, #176 ; 0xb0
0x8010676: 0xbd02 POP {R1, PC}
0x8010678: 0xf7f7 0xfaa4 BL emCheckAvailableMemory ; 0x8007bc4
0x801067c: 0xf001 0xfee4 BL emDebugInit ; 0x8012448
0x8010680: 0xf7f1 0xf868 BL halStackInitTokens ; 0x8001754
0x8010684: 0x2800 CMP R0, #0
0x8010686: 0xd11d BNE.N 0x80106c4
0x8010688: 0xf7f1 0xff52 BL halStackProcessBootCount ; 0x8002530
0x801068c: 0xf7fb 0xfc34 BL emSecurityReadFrameCounterToken ; 0x800bef8
0x8010690: 0xf002 0xf824 BL emRadioSeedRandom ; 0x80126dc
0x8010694: 0x480d LDR.N R0, [PC, #0x34] ; [0x80106cc] emHaveFullZdo
0x8010696: 0x7800 LDRB R0, [R0]
0x8010698: 0xb108 CBZ R0, 0x801069e
0x801069a: 0xf001 0xf8df BL emInitializeBindingTable ; 0x801185c
0x801069e: 0xf7fe 0xfcf3 BL emInitializeAddressTable ; 0x800f088
0x80106a2: 0xf7f3 0xfc9d BL halGetResetInfo ; 0x8003fe0
0x80106a6: 0xf002 0xf82b BL emDebugResetInfo ; 0x8012700
0x80106aa: 0xf7f4 0xfb97 BL emMacInit ; 0x8004ddc
0x80106ae: 0xf7f4 0xfca9 BL emNetworkInit ; 0x8005004
0x80106b2: 0xf000 0xff41 BL emInitializeCbke ; 0x8011538
0x80106b6: 0x2001 MOVS R0, #1
0x80106b8: 0xf7f1 0xfb4e BL emRadioInit ; 0x8001d58
0x80106bc: 0x2000 MOVS R0, #0
0x80106be: 0xf7fd 0xfb57 BL emSetNodeType ; 0x800dd70
0x80106c2: 0x2000 MOVS R0, #0
0x80106c4: 0xbd02 POP {R1, PC}
0x80106c6: 0xbf00 NOP
0x80106c8: 0x08040796 DC32 134481814 ; '....'
0x80106cc: 0x200009da DC32 emHaveFullZdo
|