annotate dsample-fw-disasm @ 270:41edb6ec565e

dsample-fw-disasm: cinit for magic1 tables
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Jan 2018 08:03:10 +0000
parents d0bb4b083595
children 3858229ddb00
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 ; The present work is a disassembly analysis of the 20020917 firmware image
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 ; read out of our vintage D-Sample C05 board.
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 0: ea0004e7 b 0x13a4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5 4: ea003ffd b 0x10000
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6 8: ea003ffd b 0x10004
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7 c: ea003ffd b 0x10008
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8 10: ea003ffd b 0x1000c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 14: ea003ffd b 0x10010
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10 18: ea003ffd b 0x10014
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11 1c: ea003ffd b 0x10018
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13 ; constant pool before _INT_Bootloader_Start matches TCS211
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 1378: fffffb00
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15 137c: 02a102a1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 1380: 028302a1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 1384: 00c00281
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
18 1388: 002a0040
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
19 138c: fffffd00
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
20 1390: ffff9800
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
21 1394: fffffb10
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
22 1398: ffffff08
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
23 139c: 20061081
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
24 13a0: 00000800
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
25
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
26 _INT_Bootloader_Start: ; code fully matches TCS211
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
27 13a4: e51f101c ldr r1, =0xffff9800 ; via 0x1390
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
28 13a8: e15f21b2 ldrh r2, =0x2006 ; via 0x139e
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
29 13ac: e1c120b0 strh r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
30 13b0: e5912000 ldr r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
31 13b4: e2022001 and r2, r2, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
32 13b8: e3520001 cmp r2, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
33 13bc: 0afffffb beq 0x13b0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
34 13c0: e51f103c ldr r1, =0xfffffd00 ; via 0x138c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
35 13c4: e15f23b0 ldrh r2, =0x1081 ; via 0x139c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
36 13c8: e1c120b0 strh r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
37 13cc: e51f1040 ldr r1, =0xfffffb10 ; via 0x1394
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
38 13d0: e15f23b8 ldrh r2, =0x800 ; via 0x13a0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
39 13d4: e1d100b0 ldrh r0, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
40 13d8: e1800002 orr r0, r0, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
41 13dc: e1c100b0 strh r0, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
42 13e0: e51f1050 ldr r1, =0xffffff08 ; via 0x1398
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
43 13e4: e15f24ba ldrh r2, =0x0 ; via 0x13a2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
44 13e8: e1c120b0 strh r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
45 13ec: e51f107c ldr r1, =0xfffffb00 ; via 0x1378
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
46 13f0: e15f27bc ldrh r2, =0x2a1 ; via 0x137c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
47 13f4: e1c120b0 strh r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
48 13f8: e15f28b2 ldrh r2, =0x2a1 ; via 0x137e
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
49 13fc: e1c120b2 strh r2, [r1, #2]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
50 1400: e15f28b8 ldrh r2, =0x2a1 ; via 0x1380
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
51 1404: e1c120b4 strh r2, [r1, #4]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
52 1408: e15f28be ldrh r2, =0x283 ; via 0x1382
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
53 140c: e1c120b6 strh r2, [r1, #6]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
54 1410: e15f29b4 ldrh r2, =0x281 ; via 0x1384
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
55 1414: e1c120ba strh r2, [r1, #10] ; 0xa
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
56 1418: e15f29ba ldrh r2, =0xc0 ; via 0x1386
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
57 141c: e1c120bc strh r2, [r1, #12] ; 0xc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
58 1420: e15f2ab0 ldrh r2, =0x40 ; via 0x1388
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
59 1424: e1c120b8 strh r2, [r1, #8]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
60 1428: e15f2ab6 ldrh r2, =0x2a ; via 0x138a
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
61 142c: e1c120be strh r2, [r1, #14] ; 0xe
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
62 1430: e59f0020 ldr r0, =0x107921c ; via 0x1458
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
63 1434: e3a01b01 mov r1, #1024 ; 0x400
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
64 1438: e2411004 sub r1, r1, #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
65 143c: e0802001 add r2, r0, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
66 1440: e3c22003 bic r2, r2, #3
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
67 1444: e1a0d002 mov sp, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
68 1448: e92d100f stmdb sp!, {r0, r1, r2, r3, r12}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
69 144c: eb000046 bl 0x156c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
70 1450: e8bd100f ldmia sp!, {r0, r1, r2, r3, r12}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
71 1454: ea003afd b 0x10050
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
72 1458: 0107921c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
73
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
74 _sta_select_application: (ARM->Thumb veneer)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
75 156c: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
76 1570: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
77 1574: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
78 1578: f7ff fd63 bl 0x1042
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
79 157c: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
80 157e: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
81 1580: e8bd8000 ldmia sp!, {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
82
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
83 ; branch target addresses differ from TCS211
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
84 10000: ea0000bf b 0x10304
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
85 10004: ea0000c4 b 0x1031c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
86 10008: ea0000c9 b 0x10334
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
87 1000c: ea0000ce b 0x1034c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
88 10010: ea0000d3 b 0x10364
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
89 10014: ea0000b0 b 0x102dc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
90 10018: ea0000b4 b 0x102f0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
91
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
92 ; Constant pool
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
93 ; Difference between this version and TCS211: the newer TCS211 version
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
94 ; includes constants 0xFFFEF006 and 0x00000008 for the 8 MiB
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
95 ; memory bank setup. This difference must be responsible for the
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
96 ; 0x10050 vs. 0x10058 discrepancy.
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
97
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
98 1001c: 02a102a1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
99 10020: 028302a1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
100 10024: 02c00e85
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
101 10028: 002a0040
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
102 1002c: fffffb00
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
103 10030: fffffd00
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
104 10034: ffff9800
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
105 10038: fffffb10
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
106 1003c: ffffff08
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
107 10040: 20021081
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
108 10044: f7ff0800
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
109 10048: 00000000
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
110 1004c: 0001047c ; .cinit base
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
111
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
112 _INT_Initialize:
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
113 ; beginning matches TCS211
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
114 10050: e51f1024 ldr r1, =0xffff9800 ; via 0x10034
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
115 10054: e15f21ba ldrh r2, =0x2002 ; via 0x10042
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
116 10058: e1c120b0 strh r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
117 1005c: e5912000 ldr r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
118 10060: e2022001 and r2, r2, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
119 10064: e3520001 cmp r2, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
120 10068: 0afffffb beq 0x1005c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
121 1006c: e51f1044 ldr r1, =0xfffffd00 ; via 0x10030
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
122 10070: e15f23b8 ldrh r2, =0x1081 ; via 0x10040
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
123 10074: e1c120b0 strh r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
124 10078: e51f1048 ldr r1, =0xfffffb10 ; via 0x10038
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
125 1007c: e15f23be ldrh r2, =0xf7ff ; via 0x10046
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
126 10080: e1d100b0 ldrh r0, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
127 10084: e0000002 and r0, r0, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
128 10088: e1c100b0 strh r0, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
129 1008c: e51f1058 ldr r1, =0xffffff08 ; via 0x1003c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
130 10090: e15f25b0 ldrh r2, =0x0 ; via 0x10048
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
131 10094: e1c120b0 strh r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
132 10098: e51f1074 ldr r1, =0xfffffb00 ; via 0x1002c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
133 1009c: e15f28b8 ldrh r2, =0x2a1 ; via 0x1001c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
134 100a0: e1c120b0 strh r2, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
135 100a4: e15f28be ldrh r2, =0x2a1 ; via 0x1001e
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
136 100a8: e1c120b2 strh r2, [r1, #2]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
137 100ac: e15f29b4 ldrh r2, =0x2a1 ; via 0x10020
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
138 100b0: e1c120b4 strh r2, [r1, #4]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
139 100b4: e15f29ba ldrh r2, =0x283 ; via 0x10022
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
140 100b8: e1c120b6 strh r2, [r1, #6]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
141 100bc: e15f2ab0 ldrh r2, =0xe85 ; via 0x10024
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
142 100c0: e1c120ba strh r2, [r1, #10] ; 0xa
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
143 100c4: e15f2ab6 ldrh r2, =0x2c0 ; via 0x10026
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
144 100c8: e1c120bc strh r2, [r1, #12] ; 0xc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
145 100cc: e15f2abc ldrh r2, =0x40 ; via 0x10028
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
146 100d0: e1c120b8 strh r2, [r1, #8]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
147 100d4: e15f2bb2 ldrh r2, =0x2a ; via 0x1002a
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
148 100d8: e1c120be strh r2, [r1, #14] ; 0xe
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
149 ; TCS211 version does the 8 MiB memory bank setup at this point
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
150 100dc: e10f0000 mrs r0, CPSR
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
151 100e0: e3c0001f bic r0, r0, #31 ; 0x1f
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
152 100e4: e3800013 orr r0, r0, #19 ; 0x13
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
153 100e8: e38000c0 orr r0, r0, #192 ; 0xc0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
154 100ec: e129f000 msr CPSR_fc, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
155 ; bss clearing is done inline here, whereas TCS211 version calls _INT_memset
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
156 100f0: e59f0304 ldr r0, =0x1000cf4 ; via 0x103fc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
157 100f4: e3a02000 mov r2, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
158 100f8: e59f1300 ldr r1, =0x107921c ; via 0x10400
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
159 100fc: e4802004 str r2, [r0], #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
160 10100: e1500001 cmp r0, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
161 10104: 1afffffc bne 0x100fc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
162 10108: e59f02f4 ldr r0, =0x819450 ; via 0x10404
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
163 1010c: e3a02000 mov r2, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
164 10110: e59f12f0 ldr r1, =0x83eda0 ; via 0x10408
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
165 10114: e4802004 str r2, [r0], #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
166 10118: e1500001 cmp r0, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
167 1011c: 1afffffc bne 0x10114
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
168 ; setting _INT_Loaded_Flag?
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
169 ; code matches TCS211 0x10150 from this point onward
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
170 10120: e3a00001 mov r0, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
171 10124: e59f12e4 ldr r1, =0x107916c ; via 0x10410
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
172 10128: e5810000 str r0, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
173 ; stack setup matching 0x1015c in TCS211
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
174 1012c: e59f02d8 ldr r0, =0x1079308 ; via 0x1040c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
175 10130: e3a01b01 mov r1, #1024 ; 0x400
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
176 10134: e2411004 sub r1, r1, #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
177 10138: e0802001 add r2, r0, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
178 1013c: e1a0a000 mov r10, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
179 10140: e59f32cc ldr r3, =0x83c148 ; via 0x10414
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
180 10144: e583a000 str r10, [r3]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
181 10148: e1a0d002 mov sp, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
182 1014c: e59f32c4 ldr r3, =0x83c26c ; via 0x10418
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
183 10150: e583d000 str sp, [r3]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
184 10154: e3a01080 mov r1, #128 ; 0x80
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
185 10158: e0822001 add r2, r2, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
186 1015c: e10f0000 mrs r0, CPSR
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
187 10160: e3c0001f bic r0, r0, #31 ; 0x1f
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
188 10164: e3800012 orr r0, r0, #18 ; 0x12
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
189 10168: e129f000 msr CPSR_fc, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
190 1016c: e1a0d002 mov sp, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
191 10170: e3a01c02 mov r1, #512 ; 0x200
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
192 10174: e0822001 add r2, r2, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
193 10178: e10f0000 mrs r0, CPSR
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
194 1017c: e3c0001f bic r0, r0, #31 ; 0x1f
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
195 10180: e3800011 orr r0, r0, #17 ; 0x11
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
196 10184: e129f000 msr CPSR_fc, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
197 10188: e1a0d002 mov sp, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
198 1018c: e10f0000 mrs r0, CPSR
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
199 10190: e3c0001f bic r0, r0, #31 ; 0x1f
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
200 10194: e3800017 orr r0, r0, #23 ; 0x17
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
201 10198: e129f000 msr CPSR_fc, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
202 1019c: e59fd288 ldr sp, =0x1079270 ; via 0x1042c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
203 101a0: e10f0000 mrs r0, CPSR
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
204 101a4: e3c0001f bic r0, r0, #31 ; 0x1f
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
205 101a8: e380001b orr r0, r0, #27 ; 0x1b
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
206 101ac: e129f000 msr CPSR_fc, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
207 101b0: e59fd274 ldr sp, =0x1079270 ; via 0x1042c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
208 101b4: e10f0000 mrs r0, CPSR
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
209 101b8: e3c0001f bic r0, r0, #31 ; 0x1f
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
210 101bc: e3800013 orr r0, r0, #19 ; 0x13
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
211 101c0: e129f000 msr CPSR_fc, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
212 101c4: e59f3250 ldr r3, =0x83c0b0 ; via 0x1041c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
213 101c8: e2822004 add r2, r2, #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
214 101cc: e5832000 str r2, [r3]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
215 101d0: e3a01b01 mov r1, #1024 ; 0x400
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
216 101d4: e3c11003 bic r1, r1, #3
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
217 101d8: e0822001 add r2, r2, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
218 101dc: e59f323c ldr r3, =0x83c134 ; via 0x10420
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
219 101e0: e5831000 str r1, [r3]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
220 101e4: e3a01002 mov r1, #2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
221 101e8: e59f3234 ldr r3, =0x83c144 ; via 0x10424
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
222 101ec: e5831000 str r1, [r3]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
223 101f0: e1a04002 mov r4, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
224 101f4: eb09153c bl 0x2556ec ; _f_load_int_mem
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
225 101f8: e1a02004 mov r2, r4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
226 101fc: e59f1210 ldr r1, =0x83c148 ; via 0x10414
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
227 10200: e5910000 ldr r0, [r1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
228 10204: e3a030fe mov r3, #254 ; 0xfe
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
229 10208: e5c03000 strb r3, [r0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
230 1020c: e5c03001 strb r3, [r0, #1]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
231 10210: e5c03002 strb r3, [r0, #2]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
232 10214: e5c03003 strb r3, [r0, #3]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
233 10218: e4903004 ldr r3, [r0], #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
234 1021c: e4803004 str r3, [r0], #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
235 10220: e1500002 cmp r0, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
236 10224: bafffffc blt 0x1021c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
237 10228: e51f01e4 ldr r0, =0x1047c ; via 0x1004c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
238 1022c: e3700001 cmn r0, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
239 10230: 1b00007f blne 0x10434 ; _auto_init
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
240 10234: e59f01ec ldr r0, =0x1078744 ; via 0x10428
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
241 10238: ea09151f b 0x2556bc ; _INC_Initialize
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
242
269
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
243 ; cinit record for synth_900
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
244 11014: 0000002d
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
245 11018: 0083be30
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
246 1101c: 00000000
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
247 11020: 0000007c
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
248 11024: 000003a7
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
249 11028: 00000004
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
250 1102c: 0000037a
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
251 11030: 00000001
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
252 11034: 000003ce
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
253 11038: 000003ff
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
254 1103c: 0000039d
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
255 11040: 00000004
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
256 11044: 00000370
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
257 11048: c046c001
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
258
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
259 ; cinit record for synth_1800
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
260 1104c: 00000015
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
261 11050: 0083be60
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
262 11054: 000001ff
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
263 11058: 00000375
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
264 1105c: 0000070d
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
265 11060: 00000001
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
266 11064: 000006ae
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
267 11068: c046c0ff
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
268
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
269 ; cinit record for synth_1900
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
270 1106c: 00000015
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
271 11070: 0083be78
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
272 11074: 000001ff
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
273 11078: 0000032a
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
274 1107c: 0000078a
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
275 11080: 00000001
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
276 11084: 0000073a
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
277 11088: c046c0ff
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
278
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
279 ; cinit record for synth_850
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
280 1108c: 00000015
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
281 11090: 0083be90
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
282 11094: 0000007f
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
283 11098: 000000fb
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
284 1109c: 00000365
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
285 110a0: 00000004
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
286 110a4: 00000338
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
287 110a8: c046c001
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
288
270
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
289 ; cinit record for EGSM band magic1 table
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
290 11174: 00000040
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
291 11178: 0083bf48
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
292 1117c: 0820001a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
293 11180: 08540023
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
294 11184: 0847002a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
295 11188: 08610036
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
296 1118c: 0847003c
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
297 11190: 08610045
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
298 11194: 0847004f
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
299 11198: 083a005e
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
300 1119c: 08470069
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
301 111a0: 08540070
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
302 111a4: 082d0075
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
303 111a8: 0847007c
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
304 111ac: 082003dc
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
305 111b0: 083a03f6
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
306 111b4: 082003ff
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
307 111b8: 082003ff
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
308
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
309 ; cinit record for DCS band magic1 table
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
310 111bc: 00000040
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
311 111c0: 0083bf88
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
312 111c4: 0820023b
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
313 111c8: 08470262
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
314 111cc: 083a029f
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
315 111d0: 082d02b0
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
316 111d4: 083a02cf
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
317 111d8: 086102da
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
318 111dc: 083a02f3
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
319 111e0: 0847031a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
320 111e4: 0820034d
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
321 111e8: 082d0375
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
322 111ec: 082d0375
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
323 111f0: 082d0375
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
324 111f4: 082d0375
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
325 111f8: 082d0375
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
326 111fc: 082d0375
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
327 11200: 082d0375
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
328
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
329 ; cinit record for GSM850 band magic1 table
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
330 11204: 00000040
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
331 11208: 0083bfc8
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
332 1120c: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
333 11210: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
334 11214: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
335 11218: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
336 1121c: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
337 11220: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
338 11224: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
339 11228: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
340 1122c: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
341 11230: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
342 11234: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
343 11238: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
344 1123c: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
345 11240: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
346 11244: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
347 11248: 092400fb
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
348
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
349 ; cinit record for PCS band magic1 table
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
350 1124c: 00000040
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
351 11250: 0083c008
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
352 11254: 08470226
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
353 11258: 082d0267
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
354 1125c: 083a0282
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
355 11260: 082002be
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
356 11264: 08540309
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
357 11268: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
358 1126c: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
359 11270: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
360 11274: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
361 11278: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
362 1127c: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
363 11280: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
364 11284: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
365 11288: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
366 1128c: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
367 11290: 0861032a
41edb6ec565e dsample-fw-disasm: cinit for magic1 tables
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
368
269
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
369 ; cinit record for the rf_path array
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
370 11294: 00000050
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
371 11298: 0083c048
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
372
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
373 ; EGSM
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
374 1129c: 16162000
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
375 112a0: 00141612
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
376 112a4: 0083be30
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
377 112a8: 0083bf48
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
378 112ac: 0083bec8
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
379
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
380 ; DCS
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
381 112b0: 16166000
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
382 112b4: 00121614
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
383 112b8: 0083be60
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
384 112bc: 0083bf88
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
385 112c0: 0083bee8
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
386
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
387 ; PCS
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
388 112c4: 16064000
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
389 112c8: 00121614
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
390 112cc: 0083be78
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
391 112d0: 0083c008
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
392 112d4: 0083bf28
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
393
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
394 ; GSM850
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
395 112d8: 16162000
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
396 112dc: 00141612
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
397 112e0: 0083be90
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
398 112e4: 0083bfc8
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
399 112e8: 0083bf08
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
400
263
7b679943b57d dsample-fw-disasm: comment fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 207
diff changeset
401 $Init_Target:
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
402 2458f0: b570 push {r4, r5, r6, lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
403 2458f2: b081 sub sp, #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
404 ; write 0x6000 into FFFE:F008 like TCS211
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
405 2458f4: 4d62 ldr r5, =0xfffef006 ; via 0x245a80
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
406 2458f6: 2003 mov r0, #3
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
407 2458f8: 0340 lsl r0, r0, #13
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
408 2458fa: 8068 strh r0, [r5, #2]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
409 ; TM_DisableWatchdog() ?
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
410 2458fc: f006 fd03 bl 0x24c306
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
411 ; 8 MiB memory bank setup
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
412 245900: 2008 mov r0, #8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
413 245902: 8829 ldrh r1, [r5, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
414 245904: 4308 orr r0, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
415 245906: 8028 strh r0, [r5, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
416
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
417 ; CNTL_CLK (FFFF:FD02) register setup
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
418 ;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
419 ; TCS211 does this:
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
420 ; CNTL_CLK |= 0x0005;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
421 ; CNTL_CLK &= 0xFF3F;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
422 ; CNTL_CLK |= 0x0080;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
423 ; CNTL_CLK &= 0xFFDF;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
424 ;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
425 ; The present version does this:
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
426 ; CNTL_CLK = 0x0005;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
427 ; CNTL_CLK &= 0xFF3F;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
428 ; CNTL_CLK &= 0xFFDF;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
429 ;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
430 ; Difference 1: initial straight write vs. OR: it must be the effect
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
431 ; of the change in the definition of the CLKM_INITCNTL()
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
432 ; macro seen in the diff between MV100 and Sotovik versions.
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
433 ;
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
434 ; Difference 2: VTCXO_DIV2 bit setting for Clara (13 MHz) vs. Rita (26 MHz)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
435
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
436 245908: 485e ldr r0, =0xfffffd02 ; via 0x245a84
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
437 24590a: 2105 mov r1, #5
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
438 24590c: 8001 strh r1, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
439 24590e: 495e ldr r1, =0xff3f ; via 0x245a88
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
440 245910: 8802 ldrh r2, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
441 245912: 4011 and r1, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
442 245914: 8001 strh r1, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
443 245916: 495d ldr r1, =0xffdf ; via 0x245a8c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
444 245918: 8802 ldrh r2, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
445 24591a: 4011 and r1, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
446 24591c: 8001 strh r1, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
447
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
448 ; RHEA_CNTL_REG setup: this version writes 0x7F00, TCS211 writes 0xFF00
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
449 24591e: 4e5c ldr r6, =0xfffff900 ; via 0x245a90
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
450 245920: 207f mov r0, #127 ; 0x7f
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
451 245922: 0200 lsl r0, r0, #8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
452 245924: 8030 strh r0, [r6, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
453
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
454 ; PLL setup: the code structure (sequence of steps) is the same as in TCS211,
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
455 ; but the PLL multiplier is set to 6 instead of 8. Thus the DSP runs at
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
456 ; 78 MHz and the ARM runs at 39 MHz.
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
457 245926: 4c5b ldr r4, =0xffff9800 ; via 0x245a94
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
458 245928: 485b ldr r0, =0xfff3 ; via 0x245a98
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
459 24592a: 8821 ldrh r1, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
460 24592c: 4008 and r0, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
461 24592e: 8020 strh r0, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
462 245930: 8820 ldrh r0, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
463 245932: 8020 strh r0, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
464 245934: 4859 ldr r0, =0xf01f ; via 0x245a9c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
465 245936: 8821 ldrh r1, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
466 245938: 4008 and r0, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
467 24593a: 8020 strh r0, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
468 24593c: 2003 mov r0, #3
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
469 24593e: 0200 lsl r0, r0, #8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
470 245940: 8821 ldrh r1, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
471 245942: 4308 orr r0, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
472 245944: 8020 strh r0, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
473
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
474 ; ARM clock setup: divide by 2 like in TCS211
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
475 245946: 2000 mov r0, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
476 245948: 2102 mov r1, #2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
477 24594a: 2200 mov r2, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
478 24594c: f007 fe00 bl 0x24d550
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
479
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
480 ; Memory timings: definitely peculiar
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
481 245950: 4953 ldr r1, =0xfffffb00 ; via 0x245aa0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
482 245952: 20a5 mov r0, #165 ; 0xa5
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
483 245954: 8008 strh r0, [r1, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
484 245956: 8048 strh r0, [r1, #2]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
485 245958: 20a2 mov r0, #162 ; 0xa2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
486 24595a: 8088 strh r0, [r1, #4]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
487 24595c: 2085 mov r0, #133 ; 0x85
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
488 24595e: 80c8 strh r0, [r1, #6]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
489 245960: 2080 mov r0, #128 ; 0x80
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
490 245962: 8148 strh r0, [r1, #10] ; 0xa
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
491 245964: 200b mov r0, #11 ; 0xb
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
492 245966: 0180 lsl r0, r0, #6
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
493 245968: 8188 strh r0, [r1, #12] ; 0xc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
494 24596a: 2040 mov r0, #64 ; 0x40
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
495 24596c: 8108 strh r0, [r1, #8]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
496
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
497 ; FFFF:F902 and FFFF:F904 registers set up exactly the same as in TCS211
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
498 24596e: 2020 mov r0, #32 ; 0x20
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
499 245970: 8070 strh r0, [r6, #2]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
500 245972: 2000 mov r0, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
501 245974: 80b0 strh r0, [r6, #4]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
502
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
503 ; PLL turn-on just like in TCS211
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
504 245976: 2010 mov r0, #16 ; 0x10
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
505 245978: 8821 ldrh r1, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
506 24597a: 4308 orr r0, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
507 24597c: 8020 strh r0, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
508
263
7b679943b57d dsample-fw-disasm: comment fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 207
diff changeset
509 ; remaining Init_Target() code not studied yet
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
510 24597e: 4849 ldr r0, =0xfffffa08 ; via 0x245aa4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
511 245980: 4949 ldr r1, =0xffff ; via 0x245aa8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
512 245982: 8001 strh r1, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
513 245984: 241f mov r4, #31 ; 0x1f
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
514 245986: 8044 strh r4, [r0, #2]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
515 245988: 2103 mov r1, #3
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
516 24598a: 8181 strh r1, [r0, #12] ; 0xc
264
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
517 24598c: f005 fc28 bl 0x24b1e0 ; $IQ_SetupInterrupts
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
518 245990: 4846 ldr r0, =0xfffffc00 ; via 0x245aac
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
519 245992: 2124 mov r1, #36 ; 0x24
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
520 245994: 8001 strh r1, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
521 245996: 210d mov r1, #13 ; 0xd
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
522 245998: 8041 strh r1, [r0, #2]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
523 24599a: 2300 mov r3, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
524 24599c: 4844 ldr r0, =0xfffe2016 ; via 0x245ab0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
525 24599e: 8003 strh r3, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
526 2459a0: 4844 ldr r0, =0xfffe2014 ; via 0x245ab4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
527 2459a2: 2102 mov r1, #2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
528 2459a4: 8001 strh r1, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
529 2459a6: 4844 ldr r0, =0xfffe2002 ; via 0x245ab8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
530 2459a8: 2184 mov r1, #132 ; 0x84
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
531 2459aa: 8001 strh r1, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
532 2459ac: 4943 ldr r1, =0xfffe2000 ; via 0x245abc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
533 2459ae: 4844 ldr r0, =0x3de0 ; via 0x245ac0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
534 2459b0: 8008 strh r0, [r1, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
535 2459b2: 4a44 ldr r2, =0xfffe2022 ; via 0x245ac4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
536 2459b4: 2009 mov r0, #9
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
537 2459b6: 8010 strh r0, [r2, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
538 2459b8: 4843 ldr r0, =0xfffe2020 ; via 0x245ac8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
539 2459ba: 4a44 ldr r2, =0x45a ; via 0x245acc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
540 2459bc: 8002 strh r2, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
541 2459be: 4844 ldr r0, =0xfffe201e ; via 0x245ad0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
542 2459c0: 22b4 mov r2, #180 ; 0xb4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
543 2459c2: 8002 strh r2, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
544 2459c4: 4843 ldr r0, =0xfffe201c ; via 0x245ad4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
545 2459c6: 8004 strh r4, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
546 2459c8: 1c1c add r4, r3, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
547 2459ca: 4843 ldr r0, =0xfffe2024 ; via 0x245ad8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
548 2459cc: 8004 strh r4, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
549 2459ce: 4b43 ldr r3, =0xfffe2010 ; via 0x245adc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
550 2459d0: 2002 mov r0, #2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
551 2459d2: 881a ldrh r2, [r3, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
552 2459d4: 4310 orr r0, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
553 2459d6: 8018 strh r0, [r3, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
554 2459d8: 4840 ldr r0, =0xfffe2010 ; via 0x245adc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
555 2459da: 2304 mov r3, #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
556 2459dc: 8802 ldrh r2, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
557 2459de: 4313 orr r3, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
558 2459e0: 8003 strh r3, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
559 2459e2: 2027 mov r0, #39 ; 0x27
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
560 2459e4: 80e8 strh r0, [r5, #6]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
561 2459e6: 8a08 ldrh r0, [r1, #16] ; 0x10
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
562 2459e8: 0840 lsr r0, r0, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
563 2459ea: d310 bcc 0x245a0e
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
564 2459ec: 8a08 ldrh r0, [r1, #16] ; 0x10
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
565 2459ee: 0400 lsl r0, r0, #16
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
566 2459f0: 0c40 lsr r0, r0, #17
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
567 2459f2: 0040 lsl r0, r0, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
568 2459f4: 8208 strh r0, [r1, #16] ; 0x10
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
569 2459f6: 2001 mov r0, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
570 2459f8: 9000 str r0, [sp, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
571 2459fa: e002 b 0x245a02
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
572 2459fc: 9800 ldr r0, [sp, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
573 2459fe: 3001 add r0, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
574 245a00: 9000 str r0, [sp, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
575 245a02: 9800 ldr r0, [sp, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
576 245a04: 2832 cmp r0, #50 ; 0x32
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
577 245a06: d3f9 bcc 0x2459fc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
578 245a08: 8a48 ldrh r0, [r1, #18] ; 0x12
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
579 245a0a: 2800 cmp r0, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
580 245a0c: d0fc beq 0x245a08
264
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
581 245a0e: f006 fdbf bl 0x24c590 ; $AI_ClockEnable
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
582 245a12: f006 fdc3 bl 0x24c59c ; $AI_InitIOConfig
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
583 245a16: 2027 mov r0, #39 ; 0x27
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
584 245a18: 0500 lsl r0, r0, #20
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
585 245a1a: 8004 strh r4, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
586 245a1c: 2001 mov r0, #1
264
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
587 245a1e: f006 fc80 bl 0x24c322 ; $TM_EnableTimer
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
588 245a22: 2002 mov r0, #2
264
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
589 245a24: f006 fc7d bl 0x24c322 ; $TM_EnableTimer
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
590 245a28: b001 add sp, #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
591 245a2a: bd70 pop {r4, r5, r6, pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
592
263
7b679943b57d dsample-fw-disasm: comment fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 207
diff changeset
593 $Init_Drivers:
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
594 245a2c: b500 push {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
595 245a2e: f7ce f9b0 bl 0x213d92
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
596 245a32: f7af fb41 bl 0x1f50b8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
597 245a36: f7da fd20 bl 0x22047a
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
598 245a3a: f755 fc4f bl 0x19b2dc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
599 245a3e: bd00 pop {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
600
263
7b679943b57d dsample-fw-disasm: comment fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 207
diff changeset
601 $Init_Serial_Flows:
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
602 245a40: b500 push {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
603 245a42: 4827 ldr r0, =0x10786fc ; via 0x245ae0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
604 245a44: f795 f98e bl 0x1dad64
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
605 245a48: 2000 mov r0, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
606 245a4a: 2102 mov r1, #2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
607 245a4c: 2200 mov r2, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
608 245a4e: f795 fbdc bl 0x1db20a
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
609 245a52: f795 fc51 bl 0x1db2f8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
610 245a56: bd00 pop {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
611
263
7b679943b57d dsample-fw-disasm: comment fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 207
diff changeset
612 $Init_Unmask_IT:
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
613 245a58: b500 push {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
614 245a5a: 2004 mov r0, #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
615 245a5c: f005 fc21 bl 0x24b2a2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
616 245a60: 2012 mov r0, #18 ; 0x12
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
617 245a62: f005 fc1e bl 0x24b2a2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
618 245a66: 2007 mov r0, #7
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
619 245a68: f005 fc1b bl 0x24b2a2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
620 245a6c: 2008 mov r0, #8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
621 245a6e: f005 fc18 bl 0x24b2a2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
622 245a72: bd00 pop {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
623
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
624 ; The following BX LR instructions must be empty functions in the same init
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
625 ; module as the recognizable functions above, as they lie between the previous
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
626 ; code and its associated literal pool.
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
627 245a74: 4770 bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
628 245a76: 4770 bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
629 245a78: 4770 bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
630 245a7a: 4770 bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
631 245a7c: 4770 bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
632 245a7e: 4770 bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
633
264
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
634 $AI_EnableBit:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
635 24c4f4: 4a4e ldr r2, =0xfffef00a ; via 0x24c630
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
636 24c4f6: 2101 mov r1, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
637 24c4f8: 4081 lsl r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
638 24c4fa: 8810 ldrh r0, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
639 24c4fc: 4301 orr r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
640 24c4fe: 8011 strh r1, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
641 24c500: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
642
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
643 $AI_DisableBit:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
644 24c502: 4a4b ldr r2, =0xfffef00a ; via 0x24c630
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
645 24c504: 2101 mov r1, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
646 24c506: 4081 lsl r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
647 24c508: 8810 ldrh r0, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
648 24c50a: 4388 bic r0, r1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
649 24c50c: 8010 strh r0, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
650 24c50e: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
651
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
652 $AI_SetBit:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
653 24c510: 4a48 ldr r2, =0xfffe4802 ; via 0x24c634
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
654 24c512: 2101 mov r1, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
655 24c514: 4081 lsl r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
656 24c516: 8810 ldrh r0, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
657 24c518: 4301 orr r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
658 24c51a: 8011 strh r1, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
659 24c51c: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
660
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
661 $AI_ResetBit:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
662 24c51e: 4a45 ldr r2, =0xfffe4802 ; via 0x24c634
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
663 24c520: 2101 mov r1, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
664 24c522: 4081 lsl r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
665 24c524: 8810 ldrh r0, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
666 24c526: 4388 bic r0, r1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
667 24c528: 8010 strh r0, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
668 24c52a: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
669
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
670 $AI_ConfigBitAsOutput:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
671 24c52c: 4a42 ldr r2, =0xfffe4804 ; via 0x24c638
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
672 24c52e: 2101 mov r1, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
673 24c530: 4081 lsl r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
674 24c532: 8810 ldrh r0, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
675 24c534: 4388 bic r0, r1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
676 24c536: 8010 strh r0, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
677 24c538: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
678
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
679 $AI_ConfigBitAsInput:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
680 24c53a: 4a3f ldr r2, =0xfffe4804 ; via 0x24c638
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
681 24c53c: 2101 mov r1, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
682 24c53e: 4081 lsl r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
683 24c540: 8810 ldrh r0, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
684 24c542: 4301 orr r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
685 24c544: 8011 strh r1, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
686 24c546: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
687
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
688 $AI_ReadBit:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
689 24c548: 493c ldr r1, =0xfffe4800 ; via 0x24c63c
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
690 24c54a: 8809 ldrh r1, [r1, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
691 24c54c: 4101 asr r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
692 24c54e: 07c8 lsl r0, r1, #31
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
693 24c550: 0fc0 lsr r0, r0, #31
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
694 24c552: 0600 lsl r0, r0, #24
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
695 24c554: 0e00 lsr r0, r0, #24
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
696 24c556: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
697
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
698 $AI_Power:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
699 24c558: b500 push {lr}
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
700 24c55a: 2800 cmp r0, #0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
701 24c55c: d110 bne 0x24c580
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
702 24c55e: f772 fcbf bl 0x1beee0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
703 24c562: 0940 lsr r0, r0, #5
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
704 24c564: d2fb bcs 0x24c55e
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
705 24c566: f004 fc89 bl 0x250e7c
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
706 24c56a: 4835 ldr r0, =0xfffe3000 ; via 0x24c640
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
707 24c56c: 217c mov r1, #124 ; 0x7c
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
708 24c56e: 8141 strh r1, [r0, #10] ; 0xa
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
709 24c570: 2131 mov r1, #49 ; 0x31
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
710 24c572: 8802 ldrh r2, [r0, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
711 24c574: 4311 orr r1, r2
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
712 24c576: 8001 strh r1, [r0, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
713 24c578: 2102 mov r1, #2
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
714 24c57a: 8882 ldrh r2, [r0, #4]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
715 24c57c: 4311 orr r1, r2
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
716 24c57e: 8081 strh r1, [r0, #4]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
717 24c580: bd00 pop {pc}
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
718
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
719 $AI_ResetIoConfig:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
720 24c582: 492d ldr r1, =0xfffe4804 ; via 0x24c638
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
721 24c584: 482f ldr r0, =0xffff ; via 0x24c644
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
722 24c586: 8008 strh r0, [r1, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
723 24c588: 4829 ldr r0, =0xfffef00a ; via 0x24c630
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
724 24c58a: 2100 mov r1, #0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
725 24c58c: 8001 strh r1, [r0, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
726 24c58e: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
727
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
728 $AI_ClockEnable:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
729 24c590: 492d ldr r1, =0xfffe4806 ; via 0x24c648
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
730 24c592: 2020 mov r0, #32 ; 0x20
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
731 24c594: 880a ldrh r2, [r1, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
732 24c596: 4310 orr r0, r2
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
733 24c598: 8008 strh r0, [r1, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
734 24c59a: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
735
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
736 $AI_InitIOConfig:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
737 24c59c: b500 push {lr}
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
738 24c59e: f7ff fff0 bl 0x24c582 ; $AI_ResetIoConfig
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
739 24c5a2: 2002 mov r0, #2
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
740 24c5a4: f7ff ffa6 bl 0x24c4f4 ; $AI_EnableBit
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
741 24c5a8: 2004 mov r0, #4
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
742 24c5aa: f7ff ffa3 bl 0x24c4f4 ; $AI_EnableBit
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
743 24c5ae: 2005 mov r0, #5
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
744 24c5b0: f7ff ffa0 bl 0x24c4f4 ; $AI_EnableBit
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
745 24c5b4: 2006 mov r0, #6
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
746 24c5b6: f7ff ff9d bl 0x24c4f4 ; $AI_EnableBit
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
747 24c5ba: 2007 mov r0, #7
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
748 24c5bc: f7ff ff9a bl 0x24c4f4 ; $AI_EnableBit
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
749 24c5c0: 2008 mov r0, #8
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
750 24c5c2: f7ff ff97 bl 0x24c4f4 ; $AI_EnableBit
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
751 24c5c6: 2009 mov r0, #9
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
752 24c5c8: f7ff ff94 bl 0x24c4f4 ; $AI_EnableBit
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
753 24c5cc: 4919 ldr r1, =0xfffe4802 ; via 0x24c634
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
754 24c5ce: 481f ldr r0, =0x3f02 ; via 0x24c64c
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
755 24c5d0: 8008 strh r0, [r1, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
756 24c5d2: 2001 mov r0, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
757 24c5d4: f7ff ffaa bl 0x24c52c ; $AI_ConfigBitAsOutput
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
758 24c5d8: 2002 mov r0, #2
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
759 24c5da: f7ff ffa7 bl 0x24c52c ; $AI_ConfigBitAsOutput
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
760 24c5de: 2005 mov r0, #5
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
761 24c5e0: f7ff ffa4 bl 0x24c52c ; $AI_ConfigBitAsOutput
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
762 24c5e4: 2007 mov r0, #7
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
763 24c5e6: f7ff ffa1 bl 0x24c52c ; $AI_ConfigBitAsOutput
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
764 24c5ea: 2009 mov r0, #9
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
765 24c5ec: f7ff ff9e bl 0x24c52c ; $AI_ConfigBitAsOutput
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
766 24c5f0: 200e mov r0, #14 ; 0xe
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
767 24c5f2: f7ff ff9b bl 0x24c52c ; $AI_ConfigBitAsOutput
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
768 24c5f6: 200f mov r0, #15 ; 0xf
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
769 24c5f8: f7ff ff98 bl 0x24c52c ; $AI_ConfigBitAsOutput
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
770 24c5fc: bd00 pop {pc}
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
771
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
772 $AI_SelectIOForIT:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
773 24c5fe: 0109 lsl r1, r1, #4
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
774 24c600: 1840 add r0, r0, r1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
775 24c602: 0040 lsl r0, r0, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
776 24c604: 3001 add r0, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
777 24c606: 4912 ldr r1, =0xfffe4814 ; via 0x24c650
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
778 24c608: 8008 strh r0, [r1, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
779 24c60a: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
780
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
781 $AI_CheckITSource:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
782 24c60c: 2100 mov r1, #0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
783 24c60e: 4a11 ldr r2, =0xfffe4816 ; via 0x24c654
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
784 24c610: 8812 ldrh r2, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
785 24c612: 4210 tst r0, r2
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
786 24c614: d000 beq 0x24c618
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
787 24c616: 2101 mov r1, #1
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
788 24c618: 1c08 add r0, r1, #0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
789 24c61a: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
790
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
791 $AI_UnmaskIT:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
792 24c61c: 4a0e ldr r2, =0xfffe4818 ; via 0x24c658
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
793 24c61e: 8811 ldrh r1, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
794 24c620: 4381 bic r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
795 24c622: 8011 strh r1, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
796 24c624: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
797
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
798 $AI_MaskIT:
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
799 24c626: 4a0c ldr r2, =0xfffe4818 ; via 0x24c658
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
800 24c628: 8811 ldrh r1, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
801 24c62a: 4301 orr r1, r0
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
802 24c62c: 8011 strh r1, [r2, #0]
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
803 24c62e: 4770 bx lr
e4a596bbb2bf dsample-fw-disasm: ARMIO functions located
Mychaela Falconia <falcon@freecalypso.org>
parents: 263
diff changeset
804
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
805 ; Appears to the old Thumb implementation of f_load_int_mem(),
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
806 ; differs from TCS211 version which is ARM and appears to be assembly
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
807 250408: b5f0 push {r4, r5, r6, r7, lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
808 25040a: 4640 mov r0, r8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
809 25040c: 4649 mov r1, r9
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
810 25040e: 4652 mov r2, r10
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
811 250410: 465b mov r3, r11
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
812 250412: b40f push {r0, r1, r2, r3}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
813 250414: 4f22 ldr r7, =0x1079168 ; via 0x2504a0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
814 250416: 2000 mov r0, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
815 250418: 8038 strh r0, [r7, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
816 25041a: 4922 ldr r1, =0x107916a ; via 0x2504a4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
817 25041c: 4688 mov r8, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
818 25041e: 8008 strh r0, [r1, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
819 250420: 4821 ldr r0, =0x800000 ; via 0x2504a8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
820 250422: 4922 ldr r1, =0x81944c ; via 0x2504ac
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
821 250424: 1a09 sub r1, r1, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
822 250426: 3904 sub r1, #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
823 250428: 468c mov r12, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
824 25042a: 2104 mov r1, #4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
825 25042c: 180e add r6, r1, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
826 25042e: 1c30 add r0, r6, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
827 250430: 4661 mov r1, r12
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
828 250432: f7ff ffe0 bl 0x2503f6
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
829 250436: 4c1e ldr r4, =0x83eda4 ; via 0x2504b0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
830 250438: 481e ldr r0, =0x83f294 ; via 0x2504b4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
831 25043a: 1b05 sub r5, r0, r4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
832 25043c: 1c20 add r0, r4, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
833 25043e: 1c29 add r1, r5, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
834 250440: f7ff ffd9 bl 0x2503f6
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
835 250444: 481c ldr r0, =0x20508 ; via 0x2504b8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
836 250446: 4681 mov r9, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
837 250448: 4661 mov r1, r12
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
838 25044a: f7ff ffc7 bl 0x2503dc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
839 25044e: 4682 mov r10, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
840 250450: 8038 strh r0, [r7, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
841 250452: 481a ldr r0, =0x155e8 ; via 0x2504bc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
842 250454: 4683 mov r11, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
843 250456: 1c29 add r1, r5, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
844 250458: f7ff ffc0 bl 0x2503dc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
845 25045c: 4651 mov r1, r10
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
846 25045e: 1808 add r0, r1, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
847 250460: 8038 strh r0, [r7, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
848 250462: 4648 mov r0, r9
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
849 250464: 4661 mov r1, r12
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
850 250466: 1c32 add r2, r6, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
851 250468: f7ff ffae bl 0x2503c8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
852 25046c: 4658 mov r0, r11
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
853 25046e: 1c29 add r1, r5, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
854 250470: 1c22 add r2, r4, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
855 250472: f7ff ffa9 bl 0x2503c8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
856 250476: 1c30 add r0, r6, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
857 250478: 4661 mov r1, r12
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
858 25047a: f7ff ffaf bl 0x2503dc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
859 25047e: 1c06 add r6, r0, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
860 250480: 4640 mov r0, r8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
861 250482: 8006 strh r6, [r0, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
862 250484: 1c20 add r0, r4, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
863 250486: 1c29 add r1, r5, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
864 250488: f7ff ffa8 bl 0x2503dc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
865 25048c: 1830 add r0, r6, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
866 25048e: 4641 mov r1, r8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
867 250490: 8008 strh r0, [r1, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
868 250492: bc0f pop {r0, r1, r2, r3}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
869 250494: 4680 mov r8, r0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
870 250496: 4689 mov r9, r1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
871 250498: 4692 mov r10, r2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
872 25049a: 469b mov r11, r3
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
873 25049c: bdf0 pop {r4, r5, r6, r7, pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
874
265
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
875 IRAM code flash address = 0x20508
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
876 IRAM code run start address = 0x800004
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
877 IRAM code run end address = 0x81944c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
878
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
879 Run address = load address + 0x7DFAFC
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
880
263
7b679943b57d dsample-fw-disasm: comment fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 207
diff changeset
881 $INC_Initialize:
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
882 254654: b530 push {r4, r5, lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
883 254656: 1c05 add r5, r0, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
884 254658: 4c13 ldr r4, =0x1079150 ; via 0x2546a8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
885 25465a: 2001 mov r0, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
886 25465c: 6020 str r0, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
887 25465e: f001 f9eb bl 0x255a38
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
888 254662: f001 f9ed bl 0x255a40
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
889 254666: f001 f9ad bl 0x2559c4
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
890 25466a: f000 fd45 bl 0x2550f8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
891 25466e: f7fb ffa3 bl 0x2505b8
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
892 254672: f000 ff0d bl 0x255490
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
893 254676: f000 fedb bl 0x255430
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
894 25467a: f000 fef9 bl 0x255470
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
895 25467e: f000 fec7 bl 0x255410
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
896 254682: f000 ff25 bl 0x2554d0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
897 254686: f000 fee3 bl 0x255450
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
898 25468a: f000 ff31 bl 0x2554f0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
899 25468e: f7fe faef bl 0x252c70
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
900 254692: f000 ff0d bl 0x2554b0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
901 254696: 1c28 add r0, r5, #0
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
902 254698: f000 fda5 bl 0x2551e6 ; app init
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
903 25469c: 2002 mov r0, #2
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
904 25469e: 6020 str r0, [r4, #0]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
905 2546a0: f001 fefa bl 0x256498 ; $TCT_Schedule veneer
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
906 2546a4: bd30 pop {r4, r5, pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
907
263
7b679943b57d dsample-fw-disasm: comment fixes
Mychaela Falconia <falcon@freecalypso.org>
parents: 207
diff changeset
908 $Application_Initialize:
207
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
909 2551e6: b500 push {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
910 2551e8: f7f0 fb82 bl 0x2458f0 ; $Init_Target
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
911 2551ec: f7f0 fc1e bl 0x245a2c ; $Init_Drivers
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
912 2551f0: f001 fa82 bl 0x2566f8 ; $Cust_Init_Layer1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
913 2551f4: f7f0 fc24 bl 0x245a40 ; $Init_Serial_Flows
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
914 2551f8: f7a0 fba6 bl 0x1f5948 ; $StartFrame
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
915 2551fc: f7f0 fc2c bl 0x245a58 ; $Init_Unmask_IT
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
916 255200: bd00 pop {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
917
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
918 2556a4: e58de004 str lr, [sp, #4]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
919 2556a8: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
920 2556ac: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
921 2556b0: f7e8 f8e6 bl 0x23d880
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
922 2556b4: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
923 2556b6: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
924 2556b8: e59df004 ldr pc, [sp, #4]
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
925
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
926 ; _INC_Initialize call veneer
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
927 2556bc: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
928 2556c0: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
929 2556c4: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
930 2556c8: f7fe ffc4 bl 0x254654
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
931 2556cc: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
932 2556ce: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
933 2556d0: e8bd8000 ldmia sp!, {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
934
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
935 2556d4: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
936 2556d8: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
937 2556dc: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
938 2556e0: f7e7 fb27 bl 0x23cd32
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
939 2556e4: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
940 2556e6: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
941 2556e8: e8bd8000 ldmia sp!, {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
942
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
943 ; _f_load_int_mem call veneer
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
944 2556ec: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
945 2556f0: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
946 2556f4: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
947 2556f8: f7fa fe86 bl 0x250408
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
948 2556fc: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
949 2556fe: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
950 255700: e8bd8000 ldmia sp!, {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
951
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
952 255704: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
953 255708: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
954 25570c: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
955 255710: f7ff fd69 bl 0x2551e6
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
956 255714: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
957 255716: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
958 255718: e8bd8000 ldmia sp!, {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
959
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
960 25571c: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
961 255720: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
962 255724: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
963 255728: f76e f932 bl 0x1c3990
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
964 25572c: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
965 25572e: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
966 255730: e8bd8000 ldmia sp!, {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
967
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
968 255734: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
969 255738: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
970 25573c: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
971 255740: f7a6 fe10 bl 0x1fc364
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
972 255744: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
973 255746: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
974 255748: e8bd8000 ldmia sp!, {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
975
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
976 25574c: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
977 255750: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
978 255754: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
979 255758: f6f4 fa10 bl 0x149b7c
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
980 25575c: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
981 25575e: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
982 255760: e8bd8000 ldmia sp!, {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
983
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
984 255764: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
985 255768: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
986 25576c: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
987 255770: f785 ff3b bl 0x1db5ea
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
988 255774: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
989 255776: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
990 255778: e8bd8000 ldmia sp!, {pc}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
991
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
992 25577c: e92d4000 stmdb sp!, {lr}
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
993 255780: e28fe001 add lr, pc, #1
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
994 255784: e12fff1e bx lr
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
995 255788: f785 ff10 bl 0x1db5ac
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
996 25578c: 4778 bx pc
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
997 25578e: 46c0 nop (mov r8, r8)
d12a3207b1aa D-Sample 20020917 firmware analysis
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff changeset
998 255790: e8bd8000 ldmia sp!, {pc}
265
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
999
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1000 ; $Cust_Init_Layer1 call trampoline
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1001 2566f8: b082 sub sp, #8
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1002 2566fa: 9400 str r4, [sp, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1003 2566fc: 4c01 ldr r4, =0x803bf8 ; via 0x256704
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1004 2566fe: 9401 str r4, [sp, #4]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1005 256700: bd10 pop {r4, pc}
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1006 256702: 0000
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1007
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1008 IRAM code:
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1009
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1010 $Cust_get_pwr_data:
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1011 803b5c: b5f0 push {r4, r5, r6, r7, lr}
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1012 803b5e: 4642 mov r2, r8
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1013 803b60: b404 push {r2}
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1014 803b62: 1c0e add r6, r1, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1015 803b64: 1c05 add r5, r0, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1016 803b66: 1c30 add r0, r6, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1017 803b68: f7ff ff66 bl 0x803a38 ; $Cust_is_band_high
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1018 803b6c: 1c04 add r4, r0, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1019 803b6e: 1c30 add r0, r6, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1020 803b70: f00e fa45 bl 0x811ffe ; $Convert_l1_radio_freq
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1021 803b74: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1022 803b76: 0c06 lsr r6, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1023 803b78: 20dd mov r0, #221 ; 0xdd
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1024 803b7a: 0080 lsl r0, r0, #2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1025 803b7c: 4360 mul r0, r4
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1026 803b7e: 4680 mov r8, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1027 803b80: 20dd mov r0, #221 ; 0xdd
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1028 803b82: 4360 mul r0, r4
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1029 803b84: 1828 add r0, r5, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1030 803b86: 0080 lsl r0, r0, #2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1031 803b88: 4b9e ldr r3, =0x83a2f0 ; via 0x803e04
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1032 803b8a: 1819 add r1, r3, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1033 803b8c: 315c add r1, #92 ; 0x5c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1034 803b8e: 8809 ldrh r1, [r1, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1035 803b90: 468c mov r12, r1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1036 803b92: 499e ldr r1, =0x83a34f ; via 0x803e0c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1037 803b94: 5c08 ldrb r0, [r1, r0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1038 803b96: 0141 lsl r1, r0, #5
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1039 803b98: 4640 mov r0, r8
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1040 803b9a: 1845 add r5, r0, r1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1041 803b9c: 2400 mov r4, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1042 803b9e: e002 b 0x803ba6
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1043 803ba0: 1c60 add r0, r4, #1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1044 803ba2: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1045 803ba4: 0c04 lsr r4, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1046 803ba6: 00a2 lsl r2, r4, #2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1047 803ba8: 18a8 add r0, r5, r2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1048 803baa: 1819 add r1, r3, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1049 803bac: 31dc add r1, #220 ; 0xdc
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1050 803bae: 2702 mov r7, #2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1051 803bb0: 1950 add r0, r2, r5
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1052 803bb2: 181a add r2, r3, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1053 803bb4: 20dc mov r0, #220 ; 0xdc
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1054 803bb6: 5a80 ldrh r0, [r0, r2]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1055 803bb8: 4286 cmp r6, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1056 803bba: dcf1 bgt 0x803ba0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1057 803bbc: 5e79 ldrsh r1, [r7, r1]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1058 803bbe: 4660 mov r0, r12
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1059 803bc0: 4341 mul r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1060 803bc2: 09c8 lsr r0, r1, #7
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1061 803bc4: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1062 803bc6: 0c00 lsr r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1063 803bc8: 4684 mov r12, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1064 803bca: 4640 mov r0, r8
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1065 803bcc: 18c0 add r0, r0, r3
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1066 803bce: 21d7 mov r1, #215 ; 0xd7
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1067 803bd0: 0089 lsl r1, r1, #2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1068 803bd2: 1808 add r0, r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1069 803bd4: 4a8a ldr r2, =0x83a2da ; via 0x803e00
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1070 803bd6: 2100 mov r1, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1071 803bd8: 5e51 ldrsh r1, [r2, r1]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1072 803bda: e000 b 0x803bde
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1073 803bdc: 3004 add r0, #4
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1074 803bde: 2200 mov r2, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1075 803be0: 5e82 ldrsh r2, [r0, r2]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1076 803be2: 4291 cmp r1, r2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1077 803be4: dcfa bgt 0x803bdc
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1078 803be6: 2102 mov r1, #2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1079 803be8: 5e09 ldrsh r1, [r1, r0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1080 803bea: 4660 mov r0, r12
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1081 803bec: 1808 add r0, r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1082 803bee: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1083 803bf0: 0c00 lsr r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1084 803bf2: bc04 pop {r2}
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1085 803bf4: 4690 mov r8, r2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1086 803bf6: bdf0 pop {r4, r5, r6, r7, pc}
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1087
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1088 $Cust_Init_Layer1:
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1089 803bf8: b500 push {lr}
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1090 803bfa: b084 sub sp, #16 ; 0x10
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1091 803bfc: 4669 mov r1, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1092 803bfe: 2006 mov r0, #6
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1093 803c00: 7008 strb r0, [r1, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1094 803c02: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1095 803c04: 2101 mov r1, #1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1096 803c06: 7101 strb r1, [r0, #4]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1097 803c08: 2000 mov r0, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1098 803c0a: 4669 mov r1, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1099 803c0c: 70c8 strb r0, [r1, #3]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1100 803c0e: 7208 strb r0, [r1, #8]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1101 803c10: 487f ldr r0, =0x5ff ; via 0x803e10
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1102 803c12: 9003 str r0, [sp, #12] ; 0xc
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1103 803c14: 2001 mov r0, #1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1104 803c16: 80c8 strh r0, [r1, #6]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1105 803c18: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1106 803c1a: f03b f9bb bl 0x83ef94 ; $l1_initialize
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1107 803c1e: 480b ldr r0, =0x839ea8 ; via 0x803c4c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1108 803c20: 21ff mov r1, #255 ; 0xff
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1109 803c22: 319d add r1, #157 ; 0x9d
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1110 803c24: 2200 mov r2, #0
267
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1111 803c26: f000 f868 bl 0x803cfa ; $get_cal_from_nvmem
265
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1112 803c2a: 487a ldr r0, =0x83a09c ; via 0x803e14
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1113 803c2c: 2124 mov r1, #36 ; 0x24
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1114 803c2e: 2201 mov r2, #1
267
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1115 803c30: f000 f863 bl 0x803cfa ; $get_cal_from_nvmem
265
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1116 803c34: b004 add sp, #16 ; 0x10
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1117 803c36: bd00 pop {pc}
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1118
267
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1119 _std_config:
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1120 8053f8: 00000000
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1121 8053fc: 00000000
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1122 805400: 00000005
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1123 805404: 00000001
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1124 805408: 00000001
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1125 80540c: 00000001
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1126 805410: 00150003
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1127 805414: 00000200
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1128 805418: 001c0002
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1129 80541c: 00000200
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1130 805420: 001c0205
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1131 805424: 00000001
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1132 805428: 001c0201
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1133 80542c: 00000001
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1134 805430: 00000004
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1135 805434: 00000080
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1136 805438: 00150304
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1137 80543c: 00000001
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1138
266
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1139 ; apparent beginning of tpudrv10 module
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1140
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1141 811df8: b500 push {lr}
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1142 811dfa: b084 sub sp, #16 ; 0x10
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1143 811dfc: 4669 mov r1, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1144 811dfe: 8008 strh r0, [r1, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1145 811e00: 2014 mov r0, #20 ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1146 811e02: 49c6 ldr r1, =0x83c0a1 ; via 0x81211c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1147 811e04: 7809 ldrb r1, [r1, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1148 811e06: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1149 811e08: 49c3 ldr r1, =0x83c054 ; via 0x812118
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1150 811e0a: 5808 ldr r0, [r1, r0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1151 811e0c: 9003 str r0, [sp, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1152 811e0e: 9803 ldr r0, [sp, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1153 811e10: 8801 ldrh r1, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1154 811e12: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1155 811e14: 8800 ldrh r0, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1156 811e16: 4281 cmp r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1157 811e18: da08 bge 0x811e2c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1158 811e1a: 9803 ldr r0, [sp, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1159 811e1c: 3004 add r0, #4
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1160 811e1e: 9003 str r0, [sp, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1161 811e20: 9803 ldr r0, [sp, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1162 811e22: 8800 ldrh r0, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1163 811e24: 4669 mov r1, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1164 811e26: 8809 ldrh r1, [r1, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1165 811e28: 4288 cmp r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1166 811e2a: dbf6 blt 0x811e1a
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1167 811e2c: 4669 mov r1, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1168 811e2e: 9803 ldr r0, [sp, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1169 811e30: 8840 ldrh r0, [r0, #2]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1170 811e32: 0040 lsl r0, r0, #1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1171 811e34: 80c8 strh r0, [r1, #6]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1172 811e36: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1173 811e38: 88c0 ldrh r0, [r0, #6]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1174 811e3a: 210d mov r1, #13 ; 0xd
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1175 811e3c: f002 fd8e bl 0x81495c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1176 811e40: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1177 811e42: 8101 strh r1, [r0, #8]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1178 811e44: 8900 ldrh r0, [r0, #8]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1179 811e46: 1081 asr r1, r0, #2
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1180 811e48: 0f49 lsr r1, r1, #29
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1181 811e4a: 1808 add r0, r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1182 811e4c: 10c1 asr r1, r0, #3
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1183 811e4e: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1184 811e50: 8041 strh r1, [r0, #2]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1185 811e52: 8901 ldrh r1, [r0, #8]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1186 811e54: 8840 ldrh r0, [r0, #2]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1187 811e56: 00c0 lsl r0, r0, #3
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1188 811e58: 1a09 sub r1, r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1189 811e5a: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1190 811e5c: 8081 strh r1, [r0, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1191 811e5e: 8880 ldrh r0, [r0, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1192 811e60: 0740 lsl r0, r0, #29
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1193 811e62: 0f40 lsr r0, r0, #29
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1194 811e64: 0141 lsl r1, r0, #5
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1195 811e66: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1196 811e68: 8840 ldrh r0, [r0, #2]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1197 811e6a: 0680 lsl r0, r0, #26
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1198 811e6c: 0e80 lsr r0, r0, #26
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1199 811e6e: 0200 lsl r0, r0, #8
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1200 811e70: 4301 orr r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1201 811e72: 0408 lsl r0, r1, #16
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1202 811e74: 0c00 lsr r0, r0, #16
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1203 811e76: b004 add sp, #16 ; 0x10
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1204 811e78: bd00 pop {pc}
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1205
267
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1206 $calc_a_b:
266
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1207 811e7a: b500 push {lr}
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1208 811e7c: b08d sub sp, #52 ; 0x34
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1209 811e7e: 466a mov r2, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1210 811e80: 7091 strb r1, [r2, #2]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1211 811e82: 4669 mov r1, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1212 811e84: 8008 strh r0, [r1, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1213 811e86: 2014 mov r0, #20 ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1214 811e88: 49a4 ldr r1, =0x83c0a1 ; via 0x81211c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1215 811e8a: 7809 ldrb r1, [r1, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1216 811e8c: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1217 811e8e: 49a4 ldr r1, =0x83c050 ; via 0x812120
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1218 811e90: 5808 ldr r0, [r1, r0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1219 811e92: 900c str r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1220 811e94: 980c ldr r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1221 811e96: 8881 ldrh r1, [r0, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1222 811e98: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1223 811e9a: 8800 ldrh r0, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1224 811e9c: 4281 cmp r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1225 811e9e: da08 bge 0x811eb2
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1226 811ea0: 980c ldr r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1227 811ea2: 3018 add r0, #24 ; 0x18
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1228 811ea4: 900c str r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1229 811ea6: 980c ldr r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1230 811ea8: 8881 ldrh r1, [r0, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1231 811eaa: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1232 811eac: 8800 ldrh r0, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1233 811eae: 4281 cmp r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1234 811eb0: dbf6 blt 0x811ea0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1235 811eb2: 2014 mov r0, #20 ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1236 811eb4: 4999 ldr r1, =0x83c0a1 ; via 0x81211c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1237 811eb6: 7809 ldrb r1, [r1, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1238 811eb8: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1239 811eba: 4997 ldr r1, =0x83c054 ; via 0x812118
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1240 811ebc: 5808 ldr r0, [r1, r0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1241 811ebe: 900a str r0, [sp, #40] ; 0x28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1242 811ec0: 980a ldr r0, [sp, #40] ; 0x28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1243 811ec2: 8801 ldrh r1, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1244 811ec4: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1245 811ec6: 8800 ldrh r0, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1246 811ec8: 4281 cmp r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1247 811eca: da08 bge 0x811ede
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1248 811ecc: 980a ldr r0, [sp, #40] ; 0x28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1249 811ece: 3004 add r0, #4
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1250 811ed0: 900a str r0, [sp, #40] ; 0x28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1251 811ed2: 980a ldr r0, [sp, #40] ; 0x28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1252 811ed4: 8801 ldrh r1, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1253 811ed6: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1254 811ed8: 8800 ldrh r0, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1255 811eda: 4281 cmp r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1256 811edc: dbf6 blt 0x811ecc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1257 811ede: 980a ldr r0, [sp, #40] ; 0x28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1258 811ee0: 8840 ldrh r0, [r0, #2]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1259 811ee2: 9009 str r0, [sp, #36] ; 0x24
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1260 811ee4: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1261 811ee6: 7880 ldrb r0, [r0, #2]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1262 811ee8: 2800 cmp r0, #0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1263 811eea: d026 beq 0x811f3a
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1264 811eec: 488d ldr r0, =0x27627 ; via 0x812124
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1265 811eee: 990c ldr r1, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1266 811ef0: 7b09 ldrb r1, [r1, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1267 811ef2: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1268 811ef4: 3008 add r0, #8
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1269 811ef6: 9008 str r0, [sp, #32] ; 0x20
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1270 811ef8: 980c ldr r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1271 811efa: 6880 ldr r0, [r0, #8]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1272 811efc: 0081 lsl r1, r0, #2
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1273 811efe: 1841 add r1, r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1274 811f00: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1275 811f02: 8800 ldrh r0, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1276 811f04: 1841 add r1, r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1277 811f06: 980c ldr r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1278 811f08: 6800 ldr r0, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1279 811f0a: 1a08 sub r0, r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1280 811f0c: 9007 str r0, [sp, #28] ; 0x1c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1281 811f0e: 9807 ldr r0, [sp, #28] ; 0x1c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1282 811f10: 990c ldr r1, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1283 811f12: 7b09 ldrb r1, [r1, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1284 811f14: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1285 811f16: 4669 mov r1, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1286 811f18: 8088 strh r0, [r1, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1287 811f1a: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1288 811f1c: 8880 ldrh r0, [r0, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1289 811f1e: 0540 lsl r0, r0, #21
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1290 811f20: 9006 str r0, [sp, #24] ; 0x18
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1291 811f22: 9808 ldr r0, [sp, #32] ; 0x20
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1292 811f24: 9907 ldr r1, [sp, #28] ; 0x1c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1293 811f26: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1294 811f28: 9005 str r0, [sp, #20] ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1295 811f2a: 2014 mov r0, #20 ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1296 811f2c: 497b ldr r1, =0x83c0a1 ; via 0x81211c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1297 811f2e: 7809 ldrb r1, [r1, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1298 811f30: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1299 811f32: 497d ldr r1, =0x83c058 ; via 0x812128
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1300 811f34: 5808 ldr r0, [r1, r0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1301 811f36: 900b str r0, [sp, #44] ; 0x2c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1302 811f38: e024 b 0x811f84
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1303 811f3a: 487c ldr r0, =0x2762f ; via 0x81212c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1304 811f3c: 9008 str r0, [sp, #32] ; 0x20
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1305 811f3e: 980c ldr r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1306 811f40: 6900 ldr r0, [r0, #16] ; 0x10
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1307 811f42: 0081 lsl r1, r0, #2
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1308 811f44: 1840 add r0, r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1309 811f46: 4669 mov r1, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1310 811f48: 8809 ldrh r1, [r1, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1311 811f4a: 1809 add r1, r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1312 811f4c: 980c ldr r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1313 811f4e: 6800 ldr r0, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1314 811f50: 1a08 sub r0, r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1315 811f52: 9007 str r0, [sp, #28] ; 0x1c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1316 811f54: 2114 mov r1, #20 ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1317 811f56: 980c ldr r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1318 811f58: 5609 ldrsb r1, [r1, r0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1319 811f5a: 9809 ldr r0, [sp, #36] ; 0x24
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1320 811f5c: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1321 811f5e: 9907 ldr r1, [sp, #28] ; 0x1c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1322 811f60: 1841 add r1, r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1323 811f62: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1324 811f64: 8081 strh r1, [r0, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1325 811f66: 8880 ldrh r0, [r0, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1326 811f68: 0540 lsl r0, r0, #21
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1327 811f6a: 9006 str r0, [sp, #24] ; 0x18
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1328 811f6c: 2114 mov r1, #20 ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1329 811f6e: 980c ldr r0, [sp, #48] ; 0x30
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1330 811f70: 5609 ldrsb r1, [r1, r0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1331 811f72: 9809 ldr r0, [sp, #36] ; 0x24
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1332 811f74: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1333 811f76: 9907 ldr r1, [sp, #28] ; 0x1c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1334 811f78: 1841 add r1, r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1335 811f7a: 9808 ldr r0, [sp, #32] ; 0x20
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1336 811f7c: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1337 811f7e: 9005 str r0, [sp, #20] ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1338 811f80: 486b ldr r0, =0x83bea8 ; via 0x812130
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1339 811f82: 900b str r0, [sp, #44] ; 0x2c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1340 811f84: 980b ldr r0, [sp, #44] ; 0x2c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1341 811f86: 8801 ldrh r1, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1342 811f88: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1343 811f8a: 8880 ldrh r0, [r0, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1344 811f8c: 4281 cmp r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1345 811f8e: da08 bge 0x811fa2
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1346 811f90: 980b ldr r0, [sp, #44] ; 0x2c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1347 811f92: 3004 add r0, #4
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1348 811f94: 900b str r0, [sp, #44] ; 0x2c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1349 811f96: 980b ldr r0, [sp, #44] ; 0x2c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1350 811f98: 8801 ldrh r1, [r0, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1351 811f9a: 4668 mov r0, sp
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1352 811f9c: 8880 ldrh r0, [r0, #4]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1353 811f9e: 4281 cmp r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1354 811fa0: dbf6 blt 0x811f90
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1355 811fa2: 4964 ldr r1, =0x83be2c ; via 0x812134
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1356 811fa4: 980b ldr r0, [sp, #44] ; 0x2c
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1357 811fa6: 7880 ldrb r0, [r0, #2]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1358 811fa8: 0740 lsl r0, r0, #29
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1359 811faa: 0f40 lsr r0, r0, #29
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1360 811fac: 0140 lsl r0, r0, #5
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1361 811fae: 7008 strb r0, [r1, #0]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1362 811fb0: 9805 ldr r0, [sp, #20] ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1363 811fb2: 2110 mov r1, #16 ; 0x10
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1364 811fb4: f001 fe92 bl 0x813cdc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1365 811fb8: 0d48 lsr r0, r1, #21
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1366 811fba: 9002 str r0, [sp, #8]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1367 811fbc: 9905 ldr r1, [sp, #20] ; 0x14
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1368 811fbe: 9802 ldr r0, [sp, #8]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1369 811fc0: 0640 lsl r0, r0, #25
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1370 811fc2: 1a08 sub r0, r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1371 811fc4: 0d40 lsr r0, r0, #21
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1372 811fc6: 9003 str r0, [sp, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1373 811fc8: 9903 ldr r1, [sp, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1374 811fca: 9802 ldr r0, [sp, #8]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1375 811fcc: 0100 lsl r0, r0, #4
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1376 811fce: 1809 add r1, r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1377 811fd0: 200d mov r0, #13 ; 0xd
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1378 811fd2: 0540 lsl r0, r0, #21
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1379 811fd4: 4348 mul r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1380 811fd6: 9906 ldr r1, [sp, #24] ; 0x18
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1381 811fd8: 1a08 sub r0, r1, r0
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1382 811fda: 0d40 lsr r0, r0, #21
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1383 811fdc: 9004 str r0, [sp, #16] ; 0x10
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1384 811fde: 9803 ldr r0, [sp, #12] ; 0xc
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1385 811fe0: 0700 lsl r0, r0, #28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1386 811fe2: 0f00 lsr r0, r0, #28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1387 811fe4: 0300 lsl r0, r0, #12
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1388 811fe6: 9902 ldr r1, [sp, #8]
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1389 811fe8: 0649 lsl r1, r1, #25
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1390 811fea: 0e49 lsr r1, r1, #25
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1391 811fec: 0409 lsl r1, r1, #16
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1392 811fee: 4308 orr r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1393 811ff0: 9904 ldr r1, [sp, #16] ; 0x10
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1394 811ff2: 0709 lsl r1, r1, #28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1395 811ff4: 0f09 lsr r1, r1, #28
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1396 811ff6: 0209 lsl r1, r1, #8
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1397 811ff8: 4308 orr r0, r1
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1398 811ffa: b00d add sp, #52 ; 0x34
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1399 811ffc: bd00 pop {pc}
bb46e9f67cd5 dsample-fw-disasm: found apparent beginning of the tpudrv10 module
Mychaela Falconia <falcon@freecalypso.org>
parents: 265
diff changeset
1400
265
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1401 $Convert_l1_radio_freq:
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1402 811ffe: b081 sub sp, #4
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1403 812000: 4669 mov r1, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1404 812002: 8008 strh r0, [r1, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1405 812004: e06c b 0x8120e0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1406 812006: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1407 812008: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1408 81200a: e083 b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1409 81200c: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1410 81200e: 8801 ldrh r1, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1411 812010: 4849 ldr r0, =0x83cdc0 ; via 0x812138
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1412 812012: 6800 ldr r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1413 812014: 4281 cmp r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1414 812016: d202 bcs 0x81201e
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1415 812018: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1416 81201a: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1417 81201c: e07a b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1418 81201e: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1419 812020: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1420 812022: 4945 ldr r1, =0x83cdc0 ; via 0x812138
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1421 812024: 6809 ldr r1, [r1, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1422 812026: 1a41 sub r1, r0, r1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1423 812028: 2001 mov r0, #1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1424 81202a: 0240 lsl r0, r0, #9
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1425 81202c: 1840 add r0, r0, r1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1426 81202e: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1427 812030: 0c00 lsr r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1428 812032: e06f b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1429 812034: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1430 812036: 8801 ldrh r1, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1431 812038: 483f ldr r0, =0x83cdc0 ; via 0x812138
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1432 81203a: 6800 ldr r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1433 81203c: 4281 cmp r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1434 81203e: d213 bcs 0x812068
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1435 812040: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1436 812042: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1437 812044: 287c cmp r0, #124 ; 0x7c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1438 812046: dc02 bgt 0x81204e
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1439 812048: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1440 81204a: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1441 81204c: e062 b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1442 81204e: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1443 812050: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1444 812052: 28ae cmp r0, #174 ; 0xae
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1445 812054: da06 bge 0x812064
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1446 812056: 4939 ldr r1, =0x352 ; via 0x81213c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1447 812058: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1448 81205a: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1449 81205c: 1808 add r0, r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1450 81205e: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1451 812060: 0c00 lsr r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1452 812062: e057 b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1453 812064: 2000 mov r0, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1454 812066: e055 b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1455 812068: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1456 81206a: 8801 ldrh r1, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1457 81206c: 4832 ldr r0, =0x83cdc0 ; via 0x812138
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1458 81206e: 6800 ldr r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1459 812070: 1a09 sub r1, r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1460 812072: 2001 mov r0, #1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1461 812074: 0240 lsl r0, r0, #9
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1462 812076: 1840 add r0, r0, r1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1463 812078: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1464 81207a: 0c00 lsr r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1465 81207c: e04a b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1466 81207e: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1467 812080: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1468 812082: 287c cmp r0, #124 ; 0x7c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1469 812084: dc02 bgt 0x81208c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1470 812086: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1471 812088: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1472 81208a: e043 b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1473 81208c: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1474 81208e: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1475 812090: 28ae cmp r0, #174 ; 0xae
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1476 812092: da06 bge 0x8120a2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1477 812094: 4929 ldr r1, =0x352 ; via 0x81213c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1478 812096: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1479 812098: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1480 81209a: 1808 add r0, r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1481 81209c: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1482 81209e: 0c00 lsr r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1483 8120a0: e038 b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1484 8120a2: 2000 mov r0, #0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1485 8120a4: e036 b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1486 8120a6: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1487 8120a8: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1488 8120aa: 4923 ldr r1, =0x83cdc0 ; via 0x812138
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1489 8120ac: 6809 ldr r1, [r1, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1490 8120ae: 4288 cmp r0, r1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1491 8120b0: d208 bcs 0x8120c4
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1492 8120b2: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1493 8120b4: 8801 ldrh r1, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1494 8120b6: 4822 ldr r0, =0x83cdbc ; via 0x812140
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1495 8120b8: 6800 ldr r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1496 8120ba: 1a08 sub r0, r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1497 8120bc: 3080 add r0, #128 ; 0x80
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1498 8120be: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1499 8120c0: 0c00 lsr r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1500 8120c2: e027 b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1501 8120c4: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1502 8120c6: 8801 ldrh r1, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1503 8120c8: 481b ldr r0, =0x83cdc0 ; via 0x812138
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1504 8120ca: 6800 ldr r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1505 8120cc: 1a08 sub r0, r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1506 8120ce: 2101 mov r1, #1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1507 8120d0: 0249 lsl r1, r1, #9
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1508 8120d2: 1808 add r0, r1, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1509 8120d4: 0400 lsl r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1510 8120d6: 0c00 lsr r0, r0, #16
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1511 8120d8: e01c b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1512 8120da: 4668 mov r0, sp
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1513 8120dc: 8800 ldrh r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1514 8120de: e019 b 0x812114
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1515 8120e0: 4818 ldr r0, =0x83cdb4 ; via 0x812144
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1516 8120e2: 7800 ldrb r0, [r0, #0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1517 8120e4: 1e40 sub r0, r0, #1
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1518 8120e6: 2807 cmp r0, #7
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1519 8120e8: d8f7 bhi 0x8120da
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1520 8120ea: a102 add r1, pc, #8
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1521 8120ec: 0080 lsl r0, r0, #2
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1522 8120ee: 5808 ldr r0, [r1, r0]
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1523 8120f0: 4687 mov pc, r0
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1524 8120f2: 46c0 nop (mov r8, r8)
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1525
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1526 8120f4: 00812006
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1527 8120f8: 0081207e
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1528 8120fc: 00812006
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1529 812100: 00812006
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1530 812104: 0081200c
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1531 812108: 00812034
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1532 81210c: 00812006
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1533 812110: 008120a6
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1534
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1535 812114: b001 add sp, #4
d15f701b1434 dsample-fw-disasm: beginning to locate tpudrv10 code
Mychaela Falconia <falcon@freecalypso.org>
parents: 264
diff changeset
1536 812116: 4770 bx lr
267
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1537
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1538 $rf_init:
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1539 812148: b500 push {lr}
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1540 81214a: b081 sub sp, #4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1541 81214c: 9000 str r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1542 81214e: 49fb ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1543 812150: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1544 812152: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1545 812154: f002 fc02 bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1546 812158: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1547 81215a: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1548 81215c: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1549 81215e: 49f8 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1550 812160: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1551 812162: 1c83 add r3, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1552 812164: 600b str r3, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1553 812166: 8002 strh r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1554 812168: 48f5 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1555 81216a: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1556 81216c: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1557 81216e: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1558 812170: 48f4 ldr r0, =0x88e0 ; via 0x812544
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1559 812172: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1560 812174: 49f2 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1561 812176: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1562 812178: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1563 81217a: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1564 81217c: 49f2 ldr r1, =0x8026 ; via 0x812548
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1565 81217e: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1566 812180: 49ef ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1567 812182: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1568 812184: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1569 812186: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1570 812188: 49f0 ldr r1, =0x8006 ; via 0x81254c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1571 81218a: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1572 81218c: 49ec ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1573 81218e: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1574 812190: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1575 812192: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1576 812194: 49ec ldr r1, =0x8026 ; via 0x812548
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1577 812196: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1578 812198: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1579 81219a: 3008 add r0, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1580 81219c: 9000 str r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1581 81219e: 49e7 ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1582 8121a0: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1583 8121a2: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1584 8121a4: f002 fbda bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1585 8121a8: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1586 8121aa: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1587 8121ac: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1588 8121ae: 49e4 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1589 8121b0: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1590 8121b2: 1c83 add r3, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1591 8121b4: 600b str r3, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1592 8121b6: 8002 strh r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1593 8121b8: 49e5 ldr r1, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1594 8121ba: 48e6 ldr r0, =0x8008 ; via 0x812554
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1595 8121bc: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1596 8121be: 48e0 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1597 8121c0: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1598 8121c2: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1599 8121c4: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1600 8121c6: 48e4 ldr r0, =0x8004 ; via 0x812558
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1601 8121c8: 4ae1 ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1602 8121ca: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1603 8121cc: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1604 8121ce: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1605 8121d0: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1606 8121d2: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1607 8121d4: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1608 8121d6: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1609 8121d8: 48d9 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1610 8121da: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1611 8121dc: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1612 8121de: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1613 8121e0: 48de ldr r0, =0x8003 ; via 0x81255c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1614 8121e2: 4adb ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1615 8121e4: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1616 8121e6: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1617 8121e8: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1618 8121ea: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1619 8121ec: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1620 8121ee: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1621 8121f0: 49d3 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1622 8121f2: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1623 8121f4: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1624 8121f6: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1625 8121f8: 49d9 ldr r1, =0x89e0 ; via 0x812560
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1626 8121fa: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1627 8121fc: 49d0 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1628 8121fe: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1629 812200: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1630 812202: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1631 812204: 49d7 ldr r1, =0x8041 ; via 0x812564
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1632 812206: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1633 812208: 48cd ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1634 81220a: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1635 81220c: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1636 81220e: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1637 812210: 48d5 ldr r0, =0x83e6 ; via 0x812568
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1638 812212: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1639 812214: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1640 812216: 3007 add r0, #7
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1641 812218: 9000 str r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1642 81221a: 49c8 ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1643 81221c: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1644 81221e: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1645 812220: f002 fb9c bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1646 812224: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1647 812226: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1648 812228: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1649 81222a: 49c5 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1650 81222c: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1651 81222e: 1c83 add r3, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1652 812230: 600b str r3, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1653 812232: 8002 strh r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1654 812234: 49c1 ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1655 812236: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1656 812238: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1657 81223a: f002 fb8f bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1658 81223e: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1659 812240: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1660 812242: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1661 812244: 48be ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1662 812246: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1663 812248: 1c8b add r3, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1664 81224a: 6003 str r3, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1665 81224c: 800a strh r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1666 81224e: 49bb ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1667 812250: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1668 812252: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1669 812254: f002 fb82 bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1670 812258: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1671 81225a: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1672 81225c: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1673 81225e: 48b8 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1674 812260: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1675 812262: 1c8b add r3, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1676 812264: 6003 str r3, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1677 812266: 800a strh r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1678 812268: 49b4 ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1679 81226a: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1680 81226c: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1681 81226e: f002 fb75 bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1682 812272: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1683 812274: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1684 812276: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1685 812278: 48b1 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1686 81227a: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1687 81227c: 1c8b add r3, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1688 81227e: 6003 str r3, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1689 812280: 800a strh r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1690 812282: 49ae ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1691 812284: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1692 812286: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1693 812288: f002 fb68 bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1694 81228c: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1695 81228e: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1696 812290: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1697 812292: 48ab ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1698 812294: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1699 812296: 1c8b add r3, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1700 812298: 6003 str r3, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1701 81229a: 800a strh r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1702 81229c: 49a7 ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1703 81229e: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1704 8122a0: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1705 8122a2: f002 fb5b bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1706 8122a6: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1707 8122a8: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1708 8122aa: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1709 8122ac: 48a4 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1710 8122ae: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1711 8122b0: 1c8b add r3, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1712 8122b2: 6003 str r3, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1713 8122b4: 800a strh r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1714 8122b6: 49a2 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1715 8122b8: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1716 8122ba: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1717 8122bc: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1718 8122be: 49aa ldr r1, =0x83e6 ; via 0x812568
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1719 8122c0: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1720 8122c2: 489f ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1721 8122c4: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1722 8122c6: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1723 8122c8: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1724 8122ca: 48a8 ldr r0, =0x83c6 ; via 0x81256c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1725 8122cc: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1726 8122ce: 489c ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1727 8122d0: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1728 8122d2: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1729 8122d4: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1730 8122d6: 48a4 ldr r0, =0x83e6 ; via 0x812568
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1731 8122d8: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1732 8122da: 499d ldr r1, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1733 8122dc: 48a4 ldr r0, =0x8018 ; via 0x812570
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1734 8122de: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1735 8122e0: 4897 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1736 8122e2: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1737 8122e4: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1738 8122e6: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1739 8122e8: 489b ldr r0, =0x8004 ; via 0x812558
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1740 8122ea: 4a99 ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1741 8122ec: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1742 8122ee: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1743 8122f0: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1744 8122f2: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1745 8122f4: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1746 8122f6: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1747 8122f8: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1748 8122fa: 4891 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1749 8122fc: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1750 8122fe: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1751 812300: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1752 812302: 4896 ldr r0, =0x8003 ; via 0x81255c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1753 812304: 4a92 ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1754 812306: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1755 812308: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1756 81230a: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1757 81230c: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1758 81230e: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1759 812310: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1760 812312: 498b ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1761 812314: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1762 812316: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1763 812318: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1764 81231a: 4991 ldr r1, =0x89e0 ; via 0x812560
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1765 81231c: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1766 81231e: 4888 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1767 812320: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1768 812322: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1769 812324: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1770 812326: 488f ldr r0, =0x8041 ; via 0x812564
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1771 812328: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1772 81232a: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1773 81232c: 3009 add r0, #9
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1774 81232e: 9000 str r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1775 812330: 4982 ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1776 812332: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1777 812334: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1778 812336: f002 fb11 bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1779 81233a: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1780 81233c: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1781 81233e: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1782 812340: 497f ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1783 812342: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1784 812344: 1c83 add r3, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1785 812346: 600b str r3, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1786 812348: 8002 strh r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1787 81234a: 4981 ldr r1, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1788 81234c: 4889 ldr r0, =0x140753 ; via 0x812574
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1789 81234e: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1790 812350: 487b ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1791 812352: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1792 812354: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1793 812356: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1794 812358: 487f ldr r0, =0x8004 ; via 0x812558
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1795 81235a: 4a7d ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1796 81235c: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1797 81235e: 0c12 lsr r2, r2, #16
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1798 812360: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1799 812362: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1800 812364: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1801 812366: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1802 812368: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1803 81236a: 4875 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1804 81236c: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1805 81236e: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1806 812370: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1807 812372: 487a ldr r0, =0x8003 ; via 0x81255c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1808 812374: 4a76 ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1809 812376: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1810 812378: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1811 81237a: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1812 81237c: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1813 81237e: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1814 812380: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1815 812382: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1816 812384: 486e ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1817 812386: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1818 812388: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1819 81238a: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1820 81238c: 48e5 ldr r0, =0x8002 ; via 0x812724
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1821 81238e: 4a70 ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1822 812390: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1823 812392: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1824 812394: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1825 812396: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1826 812398: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1827 81239a: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1828 81239c: 4968 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1829 81239e: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1830 8123a0: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1831 8123a2: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1832 8123a4: 49e0 ldr r1, =0x8ae0 ; via 0x812728
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1833 8123a6: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1834 8123a8: 4865 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1835 8123aa: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1836 8123ac: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1837 8123ae: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1838 8123b0: 486c ldr r0, =0x8041 ; via 0x812564
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1839 8123b2: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1840 8123b4: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1841 8123b6: 3008 add r0, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1842 8123b8: 9000 str r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1843 8123ba: 4960 ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1844 8123bc: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1845 8123be: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1846 8123c0: f002 facc bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1847 8123c4: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1848 8123c6: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1849 8123c8: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1850 8123ca: 495d ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1851 8123cc: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1852 8123ce: 1c83 add r3, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1853 8123d0: 600b str r3, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1854 8123d2: 8002 strh r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1855 8123d4: 495e ldr r1, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1856 8123d6: 4868 ldr r0, =0x2db084 ; via 0x812578
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1857 8123d8: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1858 8123da: 4859 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1859 8123dc: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1860 8123de: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1861 8123e0: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1862 8123e2: 485d ldr r0, =0x8004 ; via 0x812558
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1863 8123e4: 4a5a ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1864 8123e6: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1865 8123e8: 0c12 lsr r2, r2, #16
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1866 8123ea: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1867 8123ec: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1868 8123ee: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1869 8123f0: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1870 8123f2: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1871 8123f4: 4852 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1872 8123f6: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1873 8123f8: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1874 8123fa: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1875 8123fc: 4857 ldr r0, =0x8003 ; via 0x81255c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1876 8123fe: 4a54 ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1877 812400: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1878 812402: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1879 812404: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1880 812406: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1881 812408: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1882 81240a: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1883 81240c: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1884 81240e: 484c ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1885 812410: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1886 812412: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1887 812414: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1888 812416: 48c3 ldr r0, =0x8002 ; via 0x812724
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1889 812418: 4a4d ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1890 81241a: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1891 81241c: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1892 81241e: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1893 812420: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1894 812422: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1895 812424: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1896 812426: 4946 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1897 812428: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1898 81242a: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1899 81242c: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1900 81242e: 49be ldr r1, =0x8ae0 ; via 0x812728
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1901 812430: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1902 812432: 4843 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1903 812434: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1904 812436: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1905 812438: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1906 81243a: 484a ldr r0, =0x8041 ; via 0x812564
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1907 81243c: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1908 81243e: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1909 812440: 3008 add r0, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1910 812442: 9000 str r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1911 812444: 493d ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1912 812446: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1913 812448: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1914 81244a: f002 fa87 bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1915 81244e: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1916 812450: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1917 812452: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1918 812454: 493a ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1919 812456: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1920 812458: 1c83 add r3, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1921 81245a: 600b str r3, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1922 81245c: 8002 strh r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1923 81245e: 4838 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1924 812460: 6802 ldr r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1925 812462: 1c91 add r1, r2, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1926 812464: 6001 str r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1927 812466: 4846 ldr r0, =0x83be26 ; via 0x812580
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1928 812468: 7800 ldrb r0, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1929 81246a: 0100 lsl r0, r0, #4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1930 81246c: 4945 ldr r1, =0x83be25 ; via 0x812584
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1931 81246e: 7809 ldrb r1, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1932 812470: 0149 lsl r1, r1, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1933 812472: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1934 812474: 2106 mov r1, #6
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1935 812476: 4301 orr r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1936 812478: 0608 lsl r0, r1, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1937 81247a: 0e00 lsr r0, r0, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1938 81247c: 0141 lsl r1, r0, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1939 81247e: 483f ldr r0, =0x8004 ; via 0x81257c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1940 812480: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1941 812482: 8010 strh r0, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1942 812484: 482e ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1943 812486: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1944 812488: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1945 81248a: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1946 81248c: 482d ldr r0, =0x88e0 ; via 0x812544
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1947 81248e: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1948 812490: 482b ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1949 812492: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1950 812494: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1951 812496: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1952 812498: 4832 ldr r0, =0x8041 ; via 0x812564
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1953 81249a: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1954 81249c: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1955 81249e: 30ff add r0, #255 ; 0xff
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1956 8124a0: 3081 add r0, #129 ; 0x81
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1957 8124a2: 9000 str r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1958 8124a4: 4925 ldr r1, =0x1388 ; via 0x81253c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1959 8124a6: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1960 8124a8: 1808 add r0, r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1961 8124aa: f002 fa57 bl 0x81495c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1962 8124ae: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1963 8124b0: 034a lsl r2, r1, #13
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1964 8124b2: 4302 orr r2, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1965 8124b4: 4922 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1966 8124b6: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1967 8124b8: 1c83 add r3, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1968 8124ba: 600b str r3, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1969 8124bc: 8002 strh r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1970 8124be: 2007 mov r0, #7
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1971 8124c0: 4931 ldr r1, =0x83be24 ; via 0x812588
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1972 8124c2: 7809 ldrb r1, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1973 8124c4: 04c9 lsl r1, r1, #19
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1974 8124c6: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1975 8124c8: 4921 ldr r1, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1976 8124ca: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1977 8124cc: 481c ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1978 8124ce: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1979 8124d0: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1980 8124d2: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1981 8124d4: 4820 ldr r0, =0x8004 ; via 0x812558
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1982 8124d6: 4a1e ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1983 8124d8: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1984 8124da: 0c12 lsr r2, r2, #16
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1985 8124dc: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1986 8124de: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1987 8124e0: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1988 8124e2: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1989 8124e4: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1990 8124e6: 4816 ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1991 8124e8: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1992 8124ea: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1993 8124ec: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1994 8124ee: 481b ldr r0, =0x8003 ; via 0x81255c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1995 8124f0: 4a17 ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1996 8124f2: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1997 8124f4: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1998 8124f6: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
1999 8124f8: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2000 8124fa: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2001 8124fc: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2002 8124fe: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2003 812500: 480f ldr r0, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2004 812502: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2005 812504: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2006 812506: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2007 812508: 4886 ldr r0, =0x8002 ; via 0x812724
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2008 81250a: 4a11 ldr r2, =0x83c09c ; via 0x812550
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2009 81250c: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2010 81250e: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2011 812510: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2012 812512: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2013 812514: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2014 812516: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2015 812518: 4909 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2016 81251a: 680a ldr r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2017 81251c: 1c90 add r0, r2, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2018 81251e: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2019 812520: 4881 ldr r0, =0x8ae0 ; via 0x812728
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2020 812522: 8010 strh r0, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2021 812524: 4906 ldr r1, =0x83c0a4 ; via 0x812540
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2022 812526: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2023 812528: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2024 81252a: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2025 81252c: 490d ldr r1, =0x8041 ; via 0x812564
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2026 81252e: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2027 812530: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2028 812532: 3008 add r0, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2029 812534: 9000 str r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2030 812536: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2031 812538: b001 add sp, #4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2032 81253a: bd00 pop {pc}
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2033
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2034 $rf_program:
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2035 81258c: b500 push {lr}
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2036 81258e: b088 sub sp, #32 ; 0x20
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2037 812590: 9202 str r2, [sp, #8]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2038 812592: 466a mov r2, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2039 812594: 8091 strh r1, [r2, #4]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2040 812596: 9000 str r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2041 812598: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2042 81259a: 8880 ldrh r0, [r0, #4]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2043 81259c: f7f1 fa4c bl 0x803a38 ; $Cust_is_band_high
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2044 8125a0: 49fa ldr r1, =0x83c0a0 ; via 0x81298c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2045 8125a2: 7008 strb r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2046 8125a4: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2047 8125a6: 8880 ldrh r0, [r0, #4]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2048 8125a8: f7ff fd29 bl 0x811ffe ; $Convert_l1_radio_freq
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2049 8125ac: 4669 mov r1, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2050 8125ae: 8388 strh r0, [r1, #28] ; 0x1c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2051 8125b0: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2052 8125b2: 8b80 ldrh r0, [r0, #28] ; 0x1c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2053 8125b4: f000 fa58 bl 0x812a68 ; $arfcn_to_rf_index
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2054 8125b8: 49f2 ldr r1, =0x83c0a1 ; via 0x812984
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2055 8125ba: 7008 strb r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2056 8125bc: 9802 ldr r0, [sp, #8]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2057 8125be: 2801 cmp r0, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2058 8125c0: d000 beq 0x8125c4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2059 8125c2: e0b3 b 0x81272c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2060 8125c4: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2061 8125c6: 8b80 ldrh r0, [r0, #28] ; 0x1c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2062 8125c8: 2101 mov r1, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2063 8125ca: f7ff fc56 bl 0x811e7a
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2064 8125ce: 9004 str r0, [sp, #16] ; 0x10
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2065 8125d0: 9904 ldr r1, [sp, #16] ; 0x10
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2066 8125d2: 48f2 ldr r0, =0x83be2c ; via 0x81299c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2067 8125d4: 7800 ldrb r0, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2068 8125d6: 4301 orr r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2069 8125d8: 2002 mov r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2070 8125da: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2071 8125dc: 49f1 ldr r1, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2072 8125de: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2073 8125e0: 48ef ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2074 8125e2: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2075 8125e4: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2076 8125e6: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2077 8125e8: 48f0 ldr r0, =0x8004 ; via 0x8129ac
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2078 8125ea: 4aee ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2079 8125ec: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2080 8125ee: 0c12 lsr r2, r2, #16
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2081 8125f0: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2082 8125f2: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2083 8125f4: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2084 8125f6: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2085 8125f8: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2086 8125fa: 48e9 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2087 8125fc: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2088 8125fe: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2089 812600: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2090 812602: 48eb ldr r0, =0x8003 ; via 0x8129b0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2091 812604: 4ae7 ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2092 812606: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2093 812608: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2094 81260a: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2095 81260c: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2096 81260e: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2097 812610: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2098 812612: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2099 812614: 48e2 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2100 812616: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2101 812618: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2102 81261a: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2103 81261c: 4841 ldr r0, =0x8002 ; via 0x812724
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2104 81261e: 4ae1 ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2105 812620: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2106 812622: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2107 812624: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2108 812626: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2109 812628: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2110 81262a: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2111 81262c: 49dc ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2112 81262e: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2113 812630: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2114 812632: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2115 812634: 493c ldr r1, =0x8ae0 ; via 0x812728
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2116 812636: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2117 812638: 49d9 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2118 81263a: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2119 81263c: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2120 81263e: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2121 812640: 49d9 ldr r1, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2122 812642: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2123 812644: 49d6 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2124 812646: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2125 812648: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2126 81264a: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2127 81264c: 49d0 ldr r1, =0xa001 ; via 0x812990
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2128 81264e: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2129 812650: 2014 mov r0, #20 ; 0x14
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2130 812652: 49cc ldr r1, =0x83c0a1 ; via 0x812984
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2131 812654: 7809 ldrb r1, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2132 812656: 4348 mul r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2133 812658: 49cf ldr r1, =0x83c048 ; via 0x812998
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2134 81265a: 5a09 ldrh r1, [r1, r0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2135 81265c: 48cd ldr r0, =0x8a18 ; via 0x812994
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2136 81265e: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2137 812660: 49d0 ldr r1, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2138 812662: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2139 812664: 48ce ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2140 812666: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2141 812668: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2142 81266a: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2143 81266c: 48cf ldr r0, =0x8004 ; via 0x8129ac
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2144 81266e: 4acd ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2145 812670: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2146 812672: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2147 812674: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2148 812676: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2149 812678: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2150 81267a: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2151 81267c: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2152 81267e: 48c8 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2153 812680: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2154 812682: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2155 812684: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2156 812686: 48ca ldr r0, =0x8003 ; via 0x8129b0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2157 812688: 4ac6 ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2158 81268a: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2159 81268c: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2160 81268e: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2161 812690: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2162 812692: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2163 812694: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2164 812696: 49c2 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2165 812698: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2166 81269a: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2167 81269c: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2168 81269e: 49f1 ldr r1, =0x89e0 ; via 0x812a64
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2169 8126a0: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2170 8126a2: 49bf ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2171 8126a4: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2172 8126a6: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2173 8126a8: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2174 8126aa: 49bf ldr r1, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2175 8126ac: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2176 8126ae: 9804 ldr r0, [sp, #16] ; 0x10
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2177 8126b0: 49ba ldr r1, =0x83be2c ; via 0x81299c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2178 8126b2: 7809 ldrb r1, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2179 8126b4: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2180 8126b6: 2102 mov r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2181 8126b8: 4301 orr r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2182 8126ba: 48ba ldr r0, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2183 8126bc: 6001 str r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2184 8126be: 48b8 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2185 8126c0: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2186 8126c2: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2187 8126c4: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2188 8126c6: 48b9 ldr r0, =0x8004 ; via 0x8129ac
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2189 8126c8: 4ab6 ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2190 8126ca: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2191 8126cc: 0c12 lsr r2, r2, #16
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2192 8126ce: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2193 8126d0: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2194 8126d2: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2195 8126d4: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2196 8126d6: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2197 8126d8: 48b1 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2198 8126da: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2199 8126dc: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2200 8126de: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2201 8126e0: 48b3 ldr r0, =0x8003 ; via 0x8129b0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2202 8126e2: 4ab0 ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2203 8126e4: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2204 8126e6: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2205 8126e8: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2206 8126ea: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2207 8126ec: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2208 8126ee: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2209 8126f0: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2210 8126f2: 48ab ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2211 8126f4: 6802 ldr r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2212 8126f6: 1c91 add r1, r2, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2213 8126f8: 6001 str r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2214 8126fa: 480a ldr r0, =0x8002 ; via 0x812724
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2215 8126fc: 49a9 ldr r1, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2216 8126fe: 6809 ldr r1, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2217 812700: 0609 lsl r1, r1, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2218 812702: 0e09 lsr r1, r1, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2219 812704: 0149 lsl r1, r1, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2220 812706: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2221 812708: 8010 strh r0, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2222 81270a: 49a5 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2223 81270c: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2224 81270e: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2225 812710: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2226 812712: 4905 ldr r1, =0x8ae0 ; via 0x812728
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2227 812714: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2228 812716: 48a2 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2229 812718: 6802 ldr r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2230 81271a: 1c91 add r1, r2, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2231 81271c: 6001 str r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2232 81271e: 48a2 ldr r0, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2233 812720: 8010 strh r0, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2234 812722: e12c b 0x81297e
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2235 812724: 8002 strh r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2236 812726: 0000 lsl r0, r0, #0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2237 812728: 8ae0 ldrh r0, [r4, #22] ; 0x16
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2238 81272a: 0000 lsl r0, r0, #0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2239 81272c: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2240 81272e: 8b80 ldrh r0, [r0, #28] ; 0x1c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2241 812730: 2100 mov r1, #0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2242 812732: f7ff fba2 bl 0x811e7a
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2243 812736: 9004 str r0, [sp, #16] ; 0x10
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2244 812738: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2245 81273a: 8b80 ldrh r0, [r0, #28] ; 0x1c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2246 81273c: f7ff fb5c bl 0x811df8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2247 812740: 9005 str r0, [sp, #20] ; 0x14
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2248 812742: 4897 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2249 812744: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2250 812746: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2251 812748: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2252 81274a: 48fa ldr r0, =0x9004 ; via 0x812b34
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2253 81274c: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2254 81274e: 4894 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2255 812750: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2256 812752: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2257 812754: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2258 812756: 48f8 ldr r0, =0x80c0 ; via 0x812b38
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2259 812758: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2260 81275a: 4891 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2261 81275c: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2262 81275e: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2263 812760: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2264 812762: 4891 ldr r0, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2265 812764: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2266 812766: 498e ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2267 812768: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2268 81276a: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2269 81276c: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2270 81276e: 49f3 ldr r1, =0x82e6 ; via 0x812b3c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2271 812770: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2272 812772: 2014 mov r0, #20 ; 0x14
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2273 812774: 4983 ldr r1, =0x83c0a1 ; via 0x812984
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2274 812776: 7809 ldrb r1, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2275 812778: 4348 mul r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2276 81277a: 4987 ldr r1, =0x83c048 ; via 0x812998
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2277 81277c: 5a09 ldrh r1, [r1, r0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2278 81277e: 20a3 mov r0, #163 ; 0xa3
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2279 812780: 00c0 lsl r0, r0, #3
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2280 812782: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2281 812784: 4987 ldr r1, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2282 812786: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2283 812788: 4885 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2284 81278a: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2285 81278c: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2286 81278e: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2287 812790: 4886 ldr r0, =0x8004 ; via 0x8129ac
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2288 812792: 4a84 ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2289 812794: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2290 812796: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2291 812798: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2292 81279a: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2293 81279c: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2294 81279e: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2295 8127a0: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2296 8127a2: 487f ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2297 8127a4: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2298 8127a6: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2299 8127a8: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2300 8127aa: 4881 ldr r0, =0x8003 ; via 0x8129b0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2301 8127ac: 4a7d ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2302 8127ae: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2303 8127b0: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2304 8127b2: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2305 8127b4: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2306 8127b6: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2307 8127b8: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2308 8127ba: 4979 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2309 8127bc: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2310 8127be: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2311 8127c0: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2312 8127c2: 49a8 ldr r1, =0x89e0 ; via 0x812a64
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2313 8127c4: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2314 8127c6: 4976 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2315 8127c8: 680a ldr r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2316 8127ca: 1c90 add r0, r2, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2317 8127cc: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2318 8127ce: 4876 ldr r0, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2319 8127d0: 8010 strh r0, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2320 8127d2: 9904 ldr r1, [sp, #16] ; 0x10
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2321 8127d4: 4871 ldr r0, =0x83be2c ; via 0x81299c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2322 8127d6: 7800 ldrb r0, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2323 8127d8: 4301 orr r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2324 8127da: 2002 mov r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2325 8127dc: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2326 8127de: 4971 ldr r1, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2327 8127e0: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2328 8127e2: 486f ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2329 8127e4: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2330 8127e6: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2331 8127e8: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2332 8127ea: 4870 ldr r0, =0x8004 ; via 0x8129ac
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2333 8127ec: 4a6d ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2334 8127ee: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2335 8127f0: 0c12 lsr r2, r2, #16
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2336 8127f2: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2337 8127f4: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2338 8127f6: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2339 8127f8: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2340 8127fa: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2341 8127fc: 4868 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2342 8127fe: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2343 812800: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2344 812802: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2345 812804: 486a ldr r0, =0x8003 ; via 0x8129b0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2346 812806: 4a67 ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2347 812808: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2348 81280a: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2349 81280c: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2350 81280e: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2351 812810: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2352 812812: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2353 812814: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2354 812816: 4862 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2355 812818: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2356 81281a: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2357 81281c: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2358 81281e: 48cc ldr r0, =0x8002 ; via 0x812b50
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2359 812820: 4a60 ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2360 812822: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2361 812824: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2362 812826: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2363 812828: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2364 81282a: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2365 81282c: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2366 81282e: 495c ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2367 812830: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2368 812832: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2369 812834: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2370 812836: 49c7 ldr r1, =0x8ae0 ; via 0x812b54
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2371 812838: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2372 81283a: 4959 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2373 81283c: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2374 81283e: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2375 812840: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2376 812842: 4959 ldr r1, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2377 812844: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2378 812846: 4956 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2379 812848: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2380 81284a: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2381 81284c: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2382 81284e: 2165 mov r1, #101 ; 0x65
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2383 812850: 01c9 lsl r1, r1, #7
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2384 812852: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2385 812854: 4952 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2386 812856: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2387 812858: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2388 81285a: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2389 81285c: 49b8 ldr r1, =0x9804 ; via 0x812b40
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2390 81285e: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2391 812860: 494f ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2392 812862: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2393 812864: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2394 812866: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2395 812868: 49b3 ldr r1, =0x80c0 ; via 0x812b38
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2396 81286a: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2397 81286c: 494c ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2398 81286e: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2399 812870: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2400 812872: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2401 812874: 494c ldr r1, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2402 812876: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2403 812878: 4949 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2404 81287a: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2405 81287c: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2406 81287e: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2407 812880: 49b0 ldr r1, =0x328b ; via 0x812b44
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2408 812882: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2409 812884: 2005 mov r0, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2410 812886: 9905 ldr r1, [sp, #20] ; 0x14
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2411 812888: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2412 81288a: 4946 ldr r1, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2413 81288c: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2414 81288e: 4844 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2415 812890: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2416 812892: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2417 812894: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2418 812896: 4845 ldr r0, =0x8004 ; via 0x8129ac
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2419 812898: 4a42 ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2420 81289a: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2421 81289c: 0a12 lsr r2, r2, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2422 81289e: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2423 8128a0: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2424 8128a2: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2425 8128a4: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2426 8128a6: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2427 8128a8: 483d ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2428 8128aa: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2429 8128ac: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2430 8128ae: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2431 8128b0: 483f ldr r0, =0x8003 ; via 0x8129b0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2432 8128b2: 4a3c ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2433 8128b4: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2434 8128b6: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2435 8128b8: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2436 8128ba: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2437 8128bc: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2438 8128be: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2439 8128c0: 4937 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2440 8128c2: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2441 8128c4: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2442 8128c6: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2443 8128c8: 4966 ldr r1, =0x89e0 ; via 0x812a64
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2444 8128ca: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2445 8128cc: 4934 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2446 8128ce: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2447 8128d0: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2448 8128d2: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2449 8128d4: 4934 ldr r1, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2450 8128d6: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2451 8128d8: 4931 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2452 8128da: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2453 8128dc: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2454 8128de: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2455 8128e0: 4999 ldr r1, =0x32f7 ; via 0x812b48
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2456 8128e2: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2457 8128e4: 492f ldr r1, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2458 8128e6: 4899 ldr r0, =0x140973 ; via 0x812b4c
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2459 8128e8: 6008 str r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2460 8128ea: 482d ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2461 8128ec: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2462 8128ee: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2463 8128f0: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2464 8128f2: 482e ldr r0, =0x8004 ; via 0x8129ac
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2465 8128f4: 4a2b ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2466 8128f6: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2467 8128f8: 0c12 lsr r2, r2, #16
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2468 8128fa: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2469 8128fc: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2470 8128fe: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2471 812900: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2472 812902: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2473 812904: 4826 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2474 812906: 6802 ldr r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2475 812908: 1c91 add r1, r2, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2476 81290a: 6001 str r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2477 81290c: 4828 ldr r0, =0x8003 ; via 0x8129b0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2478 81290e: 4925 ldr r1, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2479 812910: 6809 ldr r1, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2480 812912: 0a09 lsr r1, r1, #8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2481 812914: 0609 lsl r1, r1, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2482 812916: 0e09 lsr r1, r1, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2483 812918: 0149 lsl r1, r1, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2484 81291a: 4308 orr r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2485 81291c: 8010 strh r0, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2486 81291e: 4820 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2487 812920: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2488 812922: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2489 812924: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2490 812926: 488a ldr r0, =0x8002 ; via 0x812b50
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2491 812928: 4a1e ldr r2, =0x83c09c ; via 0x8129a4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2492 81292a: 6812 ldr r2, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2493 81292c: 0612 lsl r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2494 81292e: 0e12 lsr r2, r2, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2495 812930: 0152 lsl r2, r2, #5
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2496 812932: 4310 orr r0, r2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2497 812934: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2498 812936: 4a1a ldr r2, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2499 812938: 6810 ldr r0, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2500 81293a: 1c81 add r1, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2501 81293c: 6011 str r1, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2502 81293e: 4985 ldr r1, =0x8ae0 ; via 0x812b54
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2503 812940: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2504 812942: 4917 ldr r1, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2505 812944: 6808 ldr r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2506 812946: 1c82 add r2, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2507 812948: 600a str r2, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2508 81294a: 4917 ldr r1, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2509 81294c: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2510 81294e: 4a14 ldr r2, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2511 812950: 6810 ldr r0, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2512 812952: 1c81 add r1, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2513 812954: 6011 str r1, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2514 812956: 49e4 ldr r1, =0x3305 ; via 0x812ce8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2515 812958: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2516 81295a: 4811 ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2517 81295c: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2518 81295e: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2519 812960: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2520 812962: 4874 ldr r0, =0x9004 ; via 0x812b34
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2521 812964: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2522 812966: 480e ldr r0, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2523 812968: 6801 ldr r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2524 81296a: 1c8a add r2, r1, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2525 81296c: 6002 str r2, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2526 81296e: 4872 ldr r0, =0x80c0 ; via 0x812b38
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2527 812970: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2528 812972: 4a0b ldr r2, =0x83c0a4 ; via 0x8129a0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2529 812974: 6810 ldr r0, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2530 812976: 1c81 add r1, r0, #2
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2531 812978: 6011 str r1, [r2, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2532 81297a: 490b ldr r1, =0x8041 ; via 0x8129a8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2533 81297c: 8001 strh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2534 81297e: 9800 ldr r0, [sp, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2535 812980: b008 add sp, #32 ; 0x20
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2536 812982: bd00 pop {pc}
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2537
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2538 $arfcn_to_rf_index:
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2539 812a68: b081 sub sp, #4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2540 812a6a: 4669 mov r1, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2541 812a6c: 8008 strh r0, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2542 812a6e: 49d9 ldr r1, =0x8053f8 ; via 0x812dd4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2543 812a70: 48db ldr r0, =0x83cdb4 ; via 0x812de0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2544 812a72: 7800 ldrb r0, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2545 812a74: 00c0 lsl r0, r0, #3
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2546 812a76: 5c09 ldrb r1, [r1, r0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2547 812a78: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2548 812a7a: 70c1 strb r1, [r0, #3]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2549 812a7c: 48d6 ldr r0, =0x8053f9 ; via 0x812dd8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2550 812a7e: 49d8 ldr r1, =0x83cdb4 ; via 0x812de0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2551 812a80: 7809 ldrb r1, [r1, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2552 812a82: 00c9 lsl r1, r1, #3
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2553 812a84: 5c40 ldrb r0, [r0, r1]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2554 812a86: 2800 cmp r0, #0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2555 812a88: d011 beq 0x812aae
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2556 812a8a: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2557 812a8c: 8801 ldrh r1, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2558 812a8e: 2001 mov r0, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2559 812a90: 0240 lsl r0, r0, #9
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2560 812a92: 4281 cmp r1, r0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2561 812a94: db0b blt 0x812aae
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2562 812a96: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2563 812a98: 8800 ldrh r0, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2564 812a9a: 49d0 ldr r1, =0x375 ; via 0x812ddc
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2565 812a9c: 4288 cmp r0, r1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2566 812a9e: dc06 bgt 0x812aae
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2567 812aa0: 49cd ldr r1, =0x8053f9 ; via 0x812dd8
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2568 812aa2: 48cf ldr r0, =0x83cdb4 ; via 0x812de0
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2569 812aa4: 7800 ldrb r0, [r0, #0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2570 812aa6: 00c0 lsl r0, r0, #3
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2571 812aa8: 5c09 ldrb r1, [r1, r0]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2572 812aaa: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2573 812aac: 70c1 strb r1, [r0, #3]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2574 812aae: 4668 mov r0, sp
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2575 812ab0: 78c0 ldrb r0, [r0, #3]
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2576 812ab2: 3801 sub r0, #1
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2577 812ab4: 0600 lsl r0, r0, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2578 812ab6: 0e00 lsr r0, r0, #24
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2579 812ab8: b001 add sp, #4
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2580 812aba: 4770 bx lr
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2581
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2582 IRAM data:
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2583
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2584 0x839ea8 rf structure
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2585 0x83a09c adc_cal structure
269
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
2586 0x83be30 synth_900
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
2587 0x83be60 synth_1800
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
2588 0x83be78 synth_1900
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
2589 0x83be90 synth_850
d0bb4b083595 dsample-fw-disasm: located cinit records for rf_path and synth_*
Mychaela Falconia <falcon@freecalypso.org>
parents: 267
diff changeset
2590 0x83c048 rf_path array of structs
267
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2591 0x83c09c rf_data 32-bit var?
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2592 0x83c0a0 rf_band 8-bit var
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2593 0x83c0a1 rf_index 8-bit var
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2594 0x83c0a4 TP_Ptr
ace3136d0601 dsample-fw-disasm tpudrv10 code analysis: got to calc_a_b()
Mychaela Falconia <falcon@freecalypso.org>
parents: 266
diff changeset
2595 0x83cdb4 l1_config structure