annotate compal/c123-boot.disasm @ 158:8ed06e07b19e

start of C123 bootloader re
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 06:43:14 +0000
parents
children 7c198e6716e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
158
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 RESET entry and exception vectors:
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 0: ea000225 b 0x89c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 4: ea000825 b 0x20a0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 8: ea000825 b 0x20a4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 c: ea000825 b 0x20a8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 10: ea000825 b 0x20ac
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 14: ea000825 b 0x20b0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 18: ea000825 b 0x20b4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 ; magic words, vary by version
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 20: 44aa338a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 24: 44aa338b
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 28: 44aa33b8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 2c: 44aa33b9
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 <30-7FF: all FFs>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 00000800: 42 4F 4F 54 2E 39 30 2E 30 34 00 00 00 00 00 00 BOOT.90.04......
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 00000810: 31 30 30 33 01 01 00 00 FF FF FF FF FF FF FF FF 1003............
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 00000820: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 ; everything up to 0x958 is the same as in the C139 version
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 830: 00000006
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 834: 00000000
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25 838: 00000000
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26 83c: 00000048
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 840: 00000044
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28 844: 00000052
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 848: 0000001b
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 84c: 00000005
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 850: 00000000
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 854: 00000000
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33 858: 00000000
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 85c: 00000000
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35 860: 000000fa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 864: ffff5800
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37 868: ffff5000
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 86c: fffffb00
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39 870: 02a102a1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40 874: 028302a1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41 878: 00c00281
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 87c: 002a0040
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 880: 00000040
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44 884: fffffd00
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 888: ffff9800
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 88c: fffffb10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 890: ffffff08
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 894: 20061081
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 898: 00000800
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 ; RESET entry point
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52 89c: e51f1020 ldr r1, =0xfffffd00 ; via 0x884
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 8a0: e1d120b2 ldrh r2, [r1, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 8a4: e51f002c ldr r0, =0x40 ; via 0x880
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 8a8: e1800002 orr r0, r0, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 8ac: e1c100b2 strh r0, [r1, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 8b0: e51f1030 ldr r1, =0xffff9800 ; via 0x888
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 8b4: e15f22b6 ldrh r2, =0x2006 ; via 0x896
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 8b8: e1c120b0 strh r2, [r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 8bc: e5912000 ldr r2, [r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 8c0: e2022001 and r2, r2, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 8c4: e3520001 cmp r2, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63 8c8: 0afffffb beq 0x8bc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 8cc: e51f1050 ldr r1, =0xfffffd00 ; via 0x884
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 8d0: e15f24b4 ldrh r2, =0x1081 ; via 0x894
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 8d4: e1c120b0 strh r2, [r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 8d8: e51f1054 ldr r1, =0xfffffb10 ; via 0x88c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 8dc: e15f24bc ldrh r2, =0x800 ; via 0x898
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 8e0: e1d100b0 ldrh r0, [r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 8e4: e1800002 orr r0, r0, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 8e8: e1c100b0 strh r0, [r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 8ec: e51f1064 ldr r1, =0xffffff08 ; via 0x890
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 8f0: e15f25be ldrh r2, =0x0 ; via 0x89a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 8f4: e1c120b0 strh r2, [r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 8f8: e51f1094 ldr r1, =0xfffffb00 ; via 0x86c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 8fc: e15f29b4 ldrh r2, =0x2a1 ; via 0x870
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 900: e1c120b0 strh r2, [r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 904: e15f29ba ldrh r2, =0x2a1 ; via 0x872
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 908: e1c120b2 strh r2, [r1, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 90c: e15f2ab0 ldrh r2, =0x2a1 ; via 0x874
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 910: e1c120b4 strh r2, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82 914: e15f2ab6 ldrh r2, =0x283 ; via 0x876
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 918: e1c120b6 strh r2, [r1, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 91c: e15f2abc ldrh r2, =0x281 ; via 0x878
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 920: e1c120ba strh r2, [r1, #10] ; 0xa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 924: e15f2bb2 ldrh r2, =0xc0 ; via 0x87a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87 928: e1c120bc strh r2, [r1, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 92c: e15f2bb8 ldrh r2, =0x40 ; via 0x87c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 930: e1c120b8 strh r2, [r1, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 934: e15f2bbe ldrh r2, =0x2a ; via 0x87e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 938: e1c120be strh r2, [r1, #14] ; 0xe
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92 93c: e59f0020 ldr r0, =0x83e424 ; via 0x964
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93 940: e3a01b01 mov r1, #1024 ; 0x400
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 944: e2411004 sub r1, r1, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95 948: e0802001 add r2, r0, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 94c: e3c22003 bic r2, r2, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 950: e1a0d002 mov sp, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 ; business logic
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 954: e92d100f stmdb sp!, {r0, r1, r2, r3, r12}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100 958: eb00051e bl 0x1dd8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 95c: e8bd100f ldmia sp!, {r0, r1, r2, r3, r12}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102 960: ea0005e4 b 0x20f8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 ; stack address, varies by version
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 964: 0083e424
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 968: 4961 ldr r1, =0xfffffa08 ; via 0xaf0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108 96a: 4862 ldr r0, =0xffff ; via 0xaf4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109 96c: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110 96e: 4862 ldr r0, =0xfffffa0a ; via 0xaf8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 970: 211f mov r1, #31 ; 0x1f
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112 972: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113 974: 4861 ldr r0, =0xfffff804 ; via 0xafc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114 976: 21f5 mov r1, #245 ; 0xf5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 978: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 97a: 21a0 mov r1, #160 ; 0xa0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 97c: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118 97e: 4860 ldr r0, =0xffff9800 ; via 0xb00
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 980: 4960 ldr r1, =0x2002 ; via 0xb04
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 982: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121 984: 485e ldr r0, =0xffff9800 ; via 0xb00
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122 986: 8800 ldrh r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 988: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 98a: d2fb bcs 0x984
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 98c: 495e ldr r1, =0xfffffd00 ; via 0xb08
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 98e: 485f ldr r0, =0x1001 ; via 0xb0c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127 990: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 992: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130 994: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131 996: b0ff sub sp, #508 ; 0x1fc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132 998: b0ca sub sp, #296 ; 0x128
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133 99a: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134 99c: 9001 str r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135 99e: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136 9a0: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137 9a2: d14e bne 0xa42
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 9a4: a846 add r0, sp, #280 ; 0x118
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139 9a6: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140 9a8: f001 f842 bl 0x1a30
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141 9ac: a9c8 add r1, sp, #800 ; 0x320
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 9ae: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
143 9b0: a846 add r0, sp, #280 ; 0x118
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
144 9b2: a902 add r1, sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
145 9b4: f000 fb00 bl 0xfb8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
146 9b8: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
147 9ba: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
148 9bc: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
149 9be: d01b beq 0x9f8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
150 9c0: a924 add r1, sp, #144 ; 0x90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
151 9c2: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
152 9c4: 7a00 ldrb r0, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
153 9c6: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
154 9c8: 2191 mov r1, #145 ; 0x91
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
155 9ca: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
156 9cc: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
157 9ce: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
158 9d0: 5488 strb r0, [r1, r2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
159 9d2: e01b b 0xa0c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
160 9d4: a802 add r0, sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
161 9d6: a924 add r1, sp, #144 ; 0x90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
162 9d8: f000 fddc bl 0x1594
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
163 9dc: e016 b 0xa0c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
164 9de: a802 add r0, sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
165 9e0: a924 add r1, sp, #144 ; 0x90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
166 9e2: aac8 add r2, sp, #800 ; 0x320
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
167 9e4: 7812 ldrb r2, [r2, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
168 9e6: f000 fde9 bl 0x15bc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
169 9ea: e00f b 0xa0c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
170 9ec: a802 add r0, sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
171 9ee: a924 add r1, sp, #144 ; 0x90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
172 9f0: f000 fe1b bl 0x162a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
173 9f4: 90c7 str r0, [sp, #796] ; 0x31c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
174 9f6: e009 b 0xa0c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
175 9f8: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
176 9fa: 7a00 ldrb r0, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
177 9fc: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
178 9fe: d0e9 beq 0x9d4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
179 a00: 3809 sub r0, #9
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
180 a02: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
181 a04: d0eb beq 0x9de
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
182 a06: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
183 a08: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
184 a0a: d0ef beq 0x9ec
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
185 a0c: a824 add r0, sp, #144 ; 0x90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
186 a0e: a986 add r1, sp, #536 ; 0x218
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
187 a10: f000 fbb5 bl 0x117e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
188 a14: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
189 a16: d111 bne 0xa3c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
190 a18: a886 add r0, sp, #536 ; 0x218
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
191 a1a: a9c8 add r1, sp, #800 ; 0x320
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
192 a1c: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
193 a1e: f000 ffdc bl 0x19da
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
194 a22: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
195 a24: d00a beq 0xa3c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
196 a26: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
197 a28: 7a00 ldrb r0, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
198 a2a: 280a cmp r0, #10 ; 0xa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
199 a2c: d106 bne 0xa3c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
200 a2e: a8c8 add r0, sp, #800 ; 0x320
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
201 a30: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
202 a32: f001 f92d bl 0x1c90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
203 a36: 98c7 ldr r0, [sp, #796] ; 0x31c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
204 a38: f000 fabc bl 0xfb4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
205 a3c: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
206 a3e: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
207 a40: d0b0 beq 0x9a4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
208 a42: b07f add sp, #508 ; 0x1fc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
209 a44: b04a add sp, #296 ; 0x128
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
210 a46: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
211
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
212 a48: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
213 a4a: b0ff sub sp, #508 ; 0x1fc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
214 a4c: b0c8 sub sp, #288 ; 0x120
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
215 a4e: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
216 a50: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
217 a52: a846 add r0, sp, #280 ; 0x118
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
218 a54: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
219 a56: f000 ffeb bl 0x1a30
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
220 a5a: a9c6 add r1, sp, #792 ; 0x318
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
221 a5c: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
222 a5e: a8c6 add r0, sp, #792 ; 0x318
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
223 a60: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
224 a62: 28ff cmp r0, #255 ; 0xff
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
225 a64: d031 beq 0xaca
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
226 a66: a846 add r0, sp, #280 ; 0x118
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
227 a68: a902 add r1, sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
228 a6a: f000 faa5 bl 0xfb8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
229 a6e: 9001 str r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
230 a70: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
231 a72: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
232 a74: d014 beq 0xaa0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
233 a76: a924 add r1, sp, #144 ; 0x90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
234 a78: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
235 a7a: 7a00 ldrb r0, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
236 a7c: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
237 a7e: 2291 mov r2, #145 ; 0x91
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
238 a80: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
239 a82: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
240 a84: 7909 ldrb r1, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
241 a86: 5411 strb r1, [r2, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
242 a88: a824 add r0, sp, #144 ; 0x90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
243 a8a: a986 add r1, sp, #536 ; 0x218
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
244 a8c: f000 fb77 bl 0x117e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
245 a90: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
246 a92: d11a bne 0xaca
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
247 a94: a886 add r0, sp, #536 ; 0x218
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
248 a96: a9c6 add r1, sp, #792 ; 0x318
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
249 a98: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
250 a9a: f000 ff9e bl 0x19da
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
251 a9e: e014 b 0xaca
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
252 aa0: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
253 aa2: 7a00 ldrb r0, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
254 aa4: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
255 aa6: d110 bne 0xaca
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
256 aa8: a802 add r0, sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
257 aaa: a924 add r1, sp, #144 ; 0x90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
258 aac: f000 fd72 bl 0x1594
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
259 ab0: a824 add r0, sp, #144 ; 0x90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
260 ab2: a986 add r1, sp, #536 ; 0x218
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
261 ab4: f000 fb63 bl 0x117e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
262 ab8: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
263 aba: d104 bne 0xac6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
264 abc: a886 add r0, sp, #536 ; 0x218
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
265 abe: a9c6 add r1, sp, #792 ; 0x318
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
266 ac0: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
267 ac2: f000 ff8a bl 0x19da
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
268 ac6: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
269 ac8: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
270 aca: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
271 acc: b07f add sp, #508 ; 0x1fc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
272 ace: b048 add sp, #288 ; 0x120
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
273 ad0: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
274
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
275 ; Main entry routine at the same location as in the C139 version
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
276 ad2: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
277 ad4: b082 sub sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
278 ad6: f7ff ff47 bl 0x968
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
279 ada: f001 f881 bl 0x1be0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
280 ade: f000 fd47 bl 0x1570
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
281 ae2: f000 f81f bl 0xb24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
282 ae6: f000 f940 bl 0xd6a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
283 aea: b002 add sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
284 aec: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
285 aee: 46c0 nop (mov r8, r8)
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
286
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
287 af0: fffffa08
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
288 af4: 0000ffff
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
289 af8: fffffa0a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
290 afc: fffff804
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
291 b00: ffff9800
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
292 b04: 00002002
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
293 b08: fffffd00
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
294 b0c: 00001001
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
295
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
296 b10: e3a0d502 mov sp, #8388608 ; 0x800000
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
297 b14: e28dd802 add sp, sp, #131072 ; 0x20000
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
298 b18: e28fe005 add lr, pc, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
299 b1c: e12fff1e bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
300 b20: e1a00000 mov r0, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
301
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
302 b24: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
303 b26: b082 sub sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
304 b28: 49e8 ldr r1, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
305 b2a: 48e9 ldr r0, =0xffff5800 ; via 0xed0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
306 b2c: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
307 b2e: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
308 b30: 2102 mov r1, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
309 b32: f000 f9cf bl 0xed4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
310 b36: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
311 b38: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
312 b3a: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
313 b3c: 2005 mov r0, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
314 b3e: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
315 b40: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
316 b42: d207 bcs 0xb54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
317 b44: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
318 b46: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
319 b48: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
320 b4a: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
321 b4c: 2005 mov r0, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
322 b4e: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
323 b50: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
324 b52: d3f7 bcc 0xb44
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
325 b54: f000 f82a bl 0xbac
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
326 b58: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
327 b5a: 2107 mov r1, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
328 b5c: f000 f9ba bl 0xed4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
329 b60: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
330 b62: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
331 b64: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
332 b66: 2005 mov r0, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
333 b68: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
334 b6a: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
335 b6c: d207 bcs 0xb7e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
336 b6e: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
337 b70: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
338 b72: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
339 b74: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
340 b76: 2005 mov r0, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
341 b78: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
342 b7a: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
343 b7c: d3f7 bcc 0xb6e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
344 b7e: f000 f815 bl 0xbac
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
345 b82: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
346 b84: 9001 str r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
347 b86: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
348 b88: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
349 b8a: 2005 mov r0, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
350 b8c: 0400 lsl r0, r0, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
351 b8e: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
352 b90: d20a bcs 0xba8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
353 b92: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
354 b94: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
355 b96: 9001 str r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
356 b98: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
357 b9a: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
358 b9c: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
359 b9e: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
360 ba0: 2005 mov r0, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
361 ba2: 0400 lsl r0, r0, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
362 ba4: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
363 ba6: d3f4 bcc 0xb92
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
364 ba8: b002 add sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
365 baa: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
366 bac: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
367 bae: b086 sub sp, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
368 bb0: 48f3 ldr r0, =0x800100 ; via 0xf80
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
369 bb2: 9005 str r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
370 bb4: 201b mov r0, #27 ; 0x1b
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
371 bb6: f000 f935 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
372 bba: 20f6 mov r0, #246 ; 0xf6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
373 bbc: f000 f932 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
374 bc0: 2002 mov r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
375 bc2: f000 f92f bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
376 bc6: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
377 bc8: f000 f92c bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
378 bcc: 2041 mov r0, #65 ; 0x41
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
379 bce: f000 f929 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
380 bd2: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
381 bd4: f000 f926 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
382 bd8: 2040 mov r0, #64 ; 0x40
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
383 bda: f000 f923 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
384 bde: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
385 be0: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
386 be2: f000 f937 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
387 be6: 281b cmp r0, #27 ; 0x1b
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
388 be8: d000 beq 0xbec
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
389 bea: e0bc b 0xd66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
390 bec: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
391 bee: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
392 bf0: f000 f930 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
393 bf4: 28f6 cmp r0, #246 ; 0xf6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
394 bf6: d000 beq 0xbfa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
395 bf8: e0b5 b 0xd66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
396 bfa: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
397 bfc: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
398 bfe: f000 f929 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
399 c02: 2802 cmp r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
400 c04: d000 beq 0xc08
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
401 c06: e0ae b 0xd66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
402 c08: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
403 c0a: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
404 c0c: f000 f922 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
405 c10: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
406 c12: d000 beq 0xc16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
407 c14: e0a7 b 0xd66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
408 c16: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
409 c18: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
410 c1a: f000 f91b bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
411 c1e: 2852 cmp r0, #82 ; 0x52
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
412 c20: d000 beq 0xc24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
413 c22: e0a0 b 0xd66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
414 c24: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
415 c26: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
416 c28: f000 f914 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
417 c2c: 2801 cmp r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
418 c2e: d000 beq 0xc32
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
419 c30: e099 b 0xd66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
420 c32: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
421 c34: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
422 c36: f000 f90d bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
423 c3a: 2853 cmp r0, #83 ; 0x53
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
424 c3c: d000 beq 0xc40
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
425 c3e: e092 b 0xd66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
426 c40: 201b mov r0, #27 ; 0x1b
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
427 c42: f000 f8ef bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
428 c46: 20f6 mov r0, #246 ; 0xf6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
429 c48: f000 f8ec bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
430 c4c: 2002 mov r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
431 c4e: f000 f8e9 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
432 c52: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
433 c54: f000 f8e6 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
434 c58: 2041 mov r0, #65 ; 0x41
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
435 c5a: f000 f8e3 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
436 c5e: 2002 mov r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
437 c60: f000 f8e0 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
438 c64: 2043 mov r0, #67 ; 0x43
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
439 c66: f000 f8dd bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
440 c6a: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
441 c6c: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
442 c6e: f000 f8f1 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
443 c72: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
444 c74: 7208 strb r0, [r1, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
445 c76: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
446 c78: 2102 mov r1, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
447 c7a: 7441 strb r1, [r0, #17] ; 0x11
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
448 c7c: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
449 c7e: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
450 c80: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
451 c82: 2802 cmp r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
452 c84: d216 bcs 0xcb4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
453 c86: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
454 c88: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
455 c8a: f000 f8e3 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
456 c8e: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
457 c90: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
458 c92: 1a51 sub r1, r2, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
459 c94: 7348 strb r0, [r1, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
460 c96: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
461 c98: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
462 c9a: 1a40 sub r0, r0, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
463 c9c: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
464 c9e: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
465 ca0: 7c49 ldrb r1, [r1, #17] ; 0x11
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
466 ca2: 4048 eor r0, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
467 ca4: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
468 ca6: 7448 strb r0, [r1, #17] ; 0x11
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
469 ca8: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
470 caa: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
471 cac: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
472 cae: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
473 cb0: 2802 cmp r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
474 cb2: d3e8 bcc 0xc86
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
475 cb4: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
476 cb6: 8980 ldrh r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
477 cb8: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
478 cba: 1e41 sub r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
479 cbc: 8191 strh r1, [r2, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
480 cbe: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
481 cc0: d016 beq 0xcf0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
482 cc2: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
483 cc4: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
484 cc6: f000 f8c5 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
485 cca: 9905 ldr r1, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
486 ccc: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
487 cce: 9805 ldr r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
488 cd0: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
489 cd2: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
490 cd4: 7c40 ldrb r0, [r0, #17] ; 0x11
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
491 cd6: 4041 eor r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
492 cd8: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
493 cda: 7441 strb r1, [r0, #17] ; 0x11
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
494 cdc: 9805 ldr r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
495 cde: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
496 ce0: 9005 str r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
497 ce2: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
498 ce4: 8982 ldrh r2, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
499 ce6: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
500 ce8: 1e50 sub r0, r2, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
501 cea: 8188 strh r0, [r1, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
502 cec: 2a00 cmp r2, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
503 cee: d1e8 bne 0xcc2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
504 cf0: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
505 cf2: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
506 cf4: f000 f8ae bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
507 cf8: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
508 cfa: 7408 strb r0, [r1, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
509 cfc: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
510 cfe: 7c01 ldrb r1, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
511 d00: 7c40 ldrb r0, [r0, #17] ; 0x11
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
512 d02: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
513 d04: d015 beq 0xd32
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
514 d06: 201b mov r0, #27 ; 0x1b
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
515 d08: f000 f88c bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
516 d0c: 20f6 mov r0, #246 ; 0xf6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
517 d0e: f000 f889 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
518 d12: 2002 mov r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
519 d14: f000 f886 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
520 d18: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
521 d1a: f000 f883 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
522 d1e: 2045 mov r0, #69 ; 0x45
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
523 d20: f000 f880 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
524 d24: 2053 mov r0, #83 ; 0x53
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
525 d26: f000 f87d bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
526 d2a: 2016 mov r0, #22 ; 0x16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
527 d2c: f000 f87a bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
528 d30: e019 b 0xd66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
529 d32: 201b mov r0, #27 ; 0x1b
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
530 d34: f000 f876 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
531 d38: 20f6 mov r0, #246 ; 0xf6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
532 d3a: f000 f873 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
533 d3e: 2002 mov r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
534 d40: f000 f870 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
535 d44: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
536 d46: f000 f86d bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
537 d4a: 2041 mov r0, #65 ; 0x41
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
538 d4c: f000 f86a bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
539 d50: 2003 mov r0, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
540 d52: f000 f867 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
541 d56: 2042 mov r0, #66 ; 0x42
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
542 d58: f000 f864 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
543 d5c: 485b ldr r0, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
544 d5e: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
545 d60: 498f ldr r1, =0x800100 ; via 0xfa0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
546 d62: f000 f85e bl 0xe22
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
547 d66: b006 add sp, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
548 d68: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
549 d6a: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
550 d6c: b081 sub sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
551 d6e: 2066 mov r0, #102 ; 0x66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
552 d70: f000 f858 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
553 d74: 2074 mov r0, #116 ; 0x74
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
554 d76: f000 f855 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
555 d7a: 206d mov r0, #109 ; 0x6d
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
556 d7c: f000 f852 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
557 d80: 2074 mov r0, #116 ; 0x74
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
558 d82: f000 f84f bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
559 d86: 206f mov r0, #111 ; 0x6f
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
560 d88: f000 f84c bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
561 d8c: 206f mov r0, #111 ; 0x6f
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
562 d8e: f000 f849 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
563 d92: 206c mov r0, #108 ; 0x6c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
564 d94: f000 f846 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
565 d98: 4982 ldr r1, =0x83ff80 ; via 0xfa4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
566 d9a: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
567 d9c: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
568 d9e: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
569 da0: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
570 da2: 0c00 lsr r0, r0, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
571 da4: d105 bne 0xdb2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
572 da6: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
573 da8: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
574 daa: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
575 dac: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
576 dae: 0c00 lsr r0, r0, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
577 db0: d0f9 beq 0xda6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
578 db2: 2007 mov r0, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
579 db4: 0400 lsl r0, r0, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
580 db6: f000 f84d bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
581 dba: 2879 cmp r0, #121 ; 0x79
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
582 dbc: d10e bne 0xddc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
583 dbe: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
584 dc0: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
585 dc2: f000 f847 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
586 dc6: 2865 cmp r0, #101 ; 0x65
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
587 dc8: d108 bne 0xddc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
588 dca: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
589 dcc: 0300 lsl r0, r0, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
590 dce: f000 f841 bl 0xe54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
591 dd2: 2873 cmp r0, #115 ; 0x73
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
592 dd4: d102 bne 0xddc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
593 dd6: 4873 ldr r0, =0x83ff80 ; via 0xfa4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
594 dd8: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
595 dda: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
596 ddc: f000 f8cc bl 0xf78
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
597 de0: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
598 de2: d00d beq 0xe00
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
599 de4: 206d mov r0, #109 ; 0x6d
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
600 de6: f000 f81d bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
601 dea: 206f mov r0, #111 ; 0x6f
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
602 dec: f000 f81a bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
603 df0: 2064 mov r0, #100 ; 0x64
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
604 df2: f000 f817 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
605 df6: 2065 mov r0, #101 ; 0x65
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
606 df8: f000 f814 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
607 dfc: 206d mov r0, #109 ; 0x6d
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
608 dfe: e00c b 0xe1a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
609 e00: 2065 mov r0, #101 ; 0x65
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
610 e02: f000 f80f bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
611 e06: 2072 mov r0, #114 ; 0x72
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
612 e08: f000 f80c bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
613 e0c: 2072 mov r0, #114 ; 0x72
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
614 e0e: f000 f809 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
615 e12: 206f mov r0, #111 ; 0x6f
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
616 e14: f000 f806 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
617 e18: 2072 mov r0, #114 ; 0x72
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
618 e1a: f000 f803 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
619 e1e: b001 add sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
620 e20: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
621 e22: 4708 bx r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
622 e24: b081 sub sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
623 e26: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
624 e28: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
625 e2a: 4828 ldr r0, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
626 e2c: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
627 e2e: 7940 ldrb r0, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
628 e30: 0980 lsr r0, r0, #6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
629 e32: d3fa bcc 0xe2a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
630 e34: 4825 ldr r0, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
631 e36: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
632 e38: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
633 e3a: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
634 e3c: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
635 e3e: b001 add sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
636 e40: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
637 e42: 4822 ldr r0, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
638 e44: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
639 e46: 7940 ldrb r0, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
640 e48: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
641 e4a: d3fa bcc 0xe42
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
642 e4c: 481f ldr r0, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
643 e4e: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
644 e50: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
645 e52: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
646 e54: b083 sub sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
647 e56: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
648 e58: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
649 e5a: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
650 e5c: 481b ldr r0, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
651 e5e: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
652 e60: 7940 ldrb r0, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
653 e62: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
654 e64: d20c bcs 0xe80
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
655 e66: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
656 e68: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
657 e6a: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
658 e6c: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
659 e6e: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
660 e70: d101 bne 0xe76
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
661 e72: 20ff mov r0, #255 ; 0xff
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
662 e74: e007 b 0xe86
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
663 e76: 4815 ldr r0, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
664 e78: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
665 e7a: 7940 ldrb r0, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
666 e7c: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
667 e7e: d3f2 bcc 0xe66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
668 e80: 4812 ldr r0, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
669 e82: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
670 e84: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
671 e86: b003 add sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
672 e88: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
673 e8a: b081 sub sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
674 e8c: e001 b 0xe92
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
675 e8e: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
676 e90: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
677 e92: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
678 e94: 480d ldr r0, =0x83ff00 ; via 0xecc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
679 e96: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
680 e98: 7940 ldrb r0, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
681 e9a: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
682 e9c: d202 bcs 0xea4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
683 e9e: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
684 ea0: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
685 ea2: dcf4 bgt 0xe8e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
686 ea4: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
687 ea6: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
688 ea8: dd01 ble 0xeae
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
689 eaa: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
690 eac: e000 b 0xeb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
691 eae: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
692 eb0: b001 add sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
693 eb2: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
694 eb4: b082 sub sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
695 eb6: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
696 eb8: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
697 eba: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
698 ebc: 7188 strb r0, [r1, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
699 ebe: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
700 ec0: 4839 ldr r0, =0xfffef000 ; via 0xfa8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
701 ec2: 8800 ldrh r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
702 ec4: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
703 ec6: b002 add sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
704 ec8: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
705 eca: 46c0 nop (mov r8, r8)
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
706 ecc: ff00 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
707 ece: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
708 ed0: 5800 ldr r0, [r0, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
709 ed2: ffff <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
710 ed4: b081 sub sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
711 ed6: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
712 ed8: 7051 strb r1, [r2, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
713 eda: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
714 edc: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
715 ede: 4933 ldr r1, =0xffff6000 ; via 0xfac
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
716 ee0: 2002 mov r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
717 ee2: 880a ldrh r2, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
718 ee4: 4310 orr r0, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
719 ee6: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
720 ee8: 4830 ldr r0, =0xffff6000 ; via 0xfac
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
721 eea: 8801 ldrh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
722 eec: 0849 lsr r1, r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
723 eee: 0049 lsl r1, r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
724 ef0: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
725 ef2: 492e ldr r1, =0xffff6000 ; via 0xfac
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
726 ef4: 8808 ldrh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
727 ef6: 2202 mov r2, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
728 ef8: 4390 bic r0, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
729 efa: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
730 efc: 482c ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
731 efe: 6801 ldr r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
732 f00: 2007 mov r0, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
733 f02: 7208 strb r0, [r1, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
734 f04: 482a ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
735 f06: 6801 ldr r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
736 f08: 20bf mov r0, #191 ; 0xbf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
737 f0a: 70c8 strb r0, [r1, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
738 f0c: 4828 ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
739 f0e: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
740 f10: 1c80 add r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
741 f12: 2110 mov r1, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
742 f14: 8802 ldrh r2, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
743 f16: 4311 orr r1, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
744 f18: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
745 f1a: 4825 ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
746 f1c: 6801 ldr r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
747 f1e: 2080 mov r0, #128 ; 0x80
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
748 f20: 70c8 strb r0, [r1, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
749 f22: 4823 ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
750 f24: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
751 f26: 2107 mov r1, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
752 f28: 7081 strb r1, [r0, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
753 f2a: 4821 ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
754 f2c: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
755 f2e: 21bf mov r1, #191 ; 0xbf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
756 f30: 70c1 strb r1, [r0, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
757 f32: 481f ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
758 f34: 6801 ldr r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
759 f36: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
760 f38: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
761 f3a: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
762 f3c: 481c ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
763 f3e: 6801 ldr r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
764 f40: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
765 f42: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
766 f44: 7048 strb r0, [r1, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
767 f46: 481a ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
768 f48: 6801 ldr r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
769 f4a: 2003 mov r0, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
770 f4c: 70c8 strb r0, [r1, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
771 f4e: 4818 ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
772 f50: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
773 f52: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
774 f54: 7201 strb r1, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
775 f56: 4816 ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
776 f58: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
777 f5a: 7940 ldrb r0, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
778 f5c: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
779 f5e: d309 bcc 0xf74
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
780 f60: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
781 f62: 4813 ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
782 f64: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
783 f66: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
784 f68: 7088 strb r0, [r1, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
785 f6a: 4811 ldr r0, =0x83ff00 ; via 0xfb0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
786 f6c: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
787 f6e: 7940 ldrb r0, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
788 f70: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
789 f72: d2f5 bcs 0xf60
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
790 f74: b001 add sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
791 f76: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
792 f78: 480a ldr r0, =0x83ff80 ; via 0xfa4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
793 f7a: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
794 f7c: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
795 f7e: 46c0 nop (mov r8, r8)
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
796 f80: 0100 lsl r0, r0, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
797 f82: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
798 f84: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
799 f86: b081 sub sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
800 f88: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
801 f8a: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
802 f8c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
803 f8e: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
804 f90: f7ff ff48 bl 0xe24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
805 f94: b001 add sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
806 f96: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
807 f98: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
808 f9a: f7ff ff52 bl 0xe42
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
809 f9e: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
810 fa0: 0100 lsl r0, r0, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
811 fa2: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
812 fa4: ff80 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
813 fa6: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
814 fa8: f000 fffe bl 0x1fa8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
815 fac: 6000 str r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
816 fae: ffff <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
817 fb0: ff00 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
818 fb2: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
819 fb4: 4700 bx r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
820 fb6: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
821 fb8: b08c sub sp, #48 ; 0x30
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
822 fba: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
823 fbc: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
824 fbe: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
825 fc0: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
826 fc2: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
827 fc4: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
828 fc6: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
829 fc8: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
830 fca: 9105 str r1, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
831 fcc: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
832 fce: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
833 fd0: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
834 fd2: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
835 fd4: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
836 fd6: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
837 fd8: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
838 fda: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
839 fdc: e0a8 b 0x1130
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
840 fde: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
841 fe0: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
842 fe2: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
843 fe4: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
844 fe6: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
845 fe8: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
846 fea: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
847 fec: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
848 fee: 8441 strh r1, [r0, #34] ; 0x22
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
849 ff0: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
850 ff2: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
851 ff4: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
852 ff6: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
853 ff8: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
854 ffa: 8401 strh r1, [r0, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
855 ffc: 8c00 ldrh r0, [r0, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
856 ffe: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
857 1000: 8c49 ldrh r1, [r1, #34] ; 0x22
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
858 1002: 0209 lsl r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
859 1004: 1840 add r0, r0, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
860 1006: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
861 1008: 8088 strh r0, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
862 100a: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
863 100c: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
864 100e: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
865 1010: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
866 1012: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
867 1014: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
868 1016: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
869 1018: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
870 101a: 7601 strb r1, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
871 101c: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
872 101e: 7e00 ldrb r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
873 1020: 7188 strb r0, [r1, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
874 1022: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
875 1024: 7e00 ldrb r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
876 1026: 2840 cmp r0, #64 ; 0x40
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
877 1028: dc00 bgt 0x102c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
878 102a: e09f b 0x116c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
879 102c: 2004 mov r0, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
880 102e: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
881 1030: e09c b 0x116c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
882 1032: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
883 1034: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
884 1036: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
885 1038: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
886 103a: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
887 103c: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
888 103e: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
889 1040: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
890 1042: 8441 strh r1, [r0, #34] ; 0x22
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
891 1044: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
892 1046: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
893 1048: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
894 104a: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
895 104c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
896 104e: 8401 strh r1, [r0, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
897 1050: 8c00 ldrh r0, [r0, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
898 1052: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
899 1054: 8c49 ldrh r1, [r1, #34] ; 0x22
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
900 1056: 0209 lsl r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
901 1058: 1841 add r1, r0, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
902 105a: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
903 105c: 8081 strh r1, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
904 105e: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
905 1060: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
906 1062: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
907 1064: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
908 1066: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
909 1068: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
910 106a: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
911 106c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
912 106e: 7601 strb r1, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
913 1070: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
914 1072: 7e00 ldrb r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
915 1074: 7188 strb r0, [r1, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
916 1076: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
917 1078: 7e00 ldrb r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
918 107a: 2840 cmp r0, #64 ; 0x40
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
919 107c: dcd6 bgt 0x102c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
920 107e: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
921 1080: 3008 add r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
922 1082: 9007 str r0, [sp, #28] ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
923 1084: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
924 1086: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
925 1088: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
926 108a: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
927 108c: 7e00 ldrb r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
928 108e: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
929 1090: da6c bge 0x116c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
930 1092: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
931 1094: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
932 1096: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
933 1098: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
934 109a: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
935 109c: 84c1 strh r1, [r0, #38] ; 0x26
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
936 109e: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
937 10a0: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
938 10a2: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
939 10a4: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
940 10a6: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
941 10a8: 8481 strh r1, [r0, #36] ; 0x24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
942 10aa: 9807 ldr r0, [sp, #28] ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
943 10ac: 1c81 add r1, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
944 10ae: 9107 str r1, [sp, #28] ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
945 10b0: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
946 10b2: 8c89 ldrh r1, [r1, #36] ; 0x24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
947 10b4: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
948 10b6: 8cd2 ldrh r2, [r2, #38] ; 0x26
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
949 10b8: 0212 lsl r2, r2, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
950 10ba: 1889 add r1, r1, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
951 10bc: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
952 10be: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
953 10c0: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
954 10c2: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
955 10c4: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
956 10c6: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
957 10c8: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
958 10ca: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
959 10cc: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
960 10ce: 7e00 ldrb r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
961 10d0: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
962 10d2: dbde blt 0x1092
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
963 10d4: e04a b 0x116c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
964 10d6: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
965 10d8: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
966 10da: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
967 10dc: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
968 10de: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
969 10e0: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
970 10e2: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
971 10e4: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
972 10e6: 8501 strh r1, [r0, #40] ; 0x28
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
973 10e8: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
974 10ea: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
975 10ec: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
976 10ee: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
977 10f0: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
978 10f2: 8541 strh r1, [r0, #42] ; 0x2a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
979 10f4: 8d41 ldrh r1, [r0, #42] ; 0x2a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
980 10f6: 8d00 ldrh r0, [r0, #40] ; 0x28
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
981 10f8: 0200 lsl r0, r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
982 10fa: 1809 add r1, r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
983 10fc: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
984 10fe: 8081 strh r1, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
985 1100: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
986 1102: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
987 1104: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
988 1106: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
989 1108: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
990 110a: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
991 110c: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
992 110e: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
993 1110: 8581 strh r1, [r0, #44] ; 0x2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
994 1112: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
995 1114: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
996 1116: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
997 1118: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
998 111a: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
999 111c: 85c1 strh r1, [r0, #46] ; 0x2e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1000 111e: 8dc1 ldrh r1, [r0, #46] ; 0x2e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1001 1120: 8d80 ldrh r0, [r0, #44] ; 0x2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1002 1122: 0200 lsl r0, r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1003 1124: 1808 add r0, r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1004 1126: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1005 1128: 80c8 strh r0, [r1, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1006 112a: e01f b 0x116c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1007 112c: 2008 mov r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1008 112e: e77e b 0x102e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1009 1130: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1010 1132: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1011 1134: 290a cmp r1, #10 ; 0xa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1012 1136: d8f9 bhi 0x112c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1013 1138: a001 add r0, pc, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1014 113a: 0089 lsl r1, r1, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1015 113c: 5840 ldr r0, [r0, r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1016 113e: 4687 mov pc, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1017 1140: 116c asr r4, r5, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1018 1142: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1019 1144: 116c asr r4, r5, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1020 1146: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1021 1148: 116c asr r4, r5, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1022 114a: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1023 114c: 116c asr r4, r5, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1024 114e: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1025 1150: 116c asr r4, r5, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1026 1152: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1027 1154: 116c asr r4, r5, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1028 1156: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1029 1158: 116c asr r4, r5, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1030 115a: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1031 115c: 0fde lsr r6, r3, #31
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1032 115e: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1033 1160: 1032 asr r2, r6, #32
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1034 1162: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1035 1164: 116c asr r4, r5, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1036 1166: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1037 1168: 10d6 asr r6, r2, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1038 116a: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1039 116c: 9905 ldr r1, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1040 116e: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1041 1170: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1042 1172: d001 beq 0x1178
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1043 1174: 2004 mov r0, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1044 1176: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1045 1178: 9803 ldr r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1046 117a: b00c add sp, #48 ; 0x30
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1047 117c: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1048 117e: b089 sub sp, #36 ; 0x24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1049 1180: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1050 1182: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1051 1184: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1052 1186: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1053 1188: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1054 118a: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1055 118c: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1056 118e: 9005 str r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1057 1190: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1058 1192: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1059 1194: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1060 1196: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1061 1198: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1062 119a: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1063 119c: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1064 119e: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1065 11a0: 7408 strb r0, [r1, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1066 11a2: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1067 11a4: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1068 11a6: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1069 11a8: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1070 11aa: 7849 ldrb r1, [r1, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1071 11ac: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1072 11ae: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1073 11b0: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1074 11b2: 7c00 ldrb r0, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1075 11b4: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1076 11b6: 7408 strb r0, [r1, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1077 11b8: e0e4 b 0x1384
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1078 11ba: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1079 11bc: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1080 11be: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1081 11c0: d000 beq 0x11c4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1082 11c2: e0fd b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1083 11c4: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1084 11c6: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1085 11c8: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1086 11ca: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1087 11cc: 7909 ldrb r1, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1088 11ce: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1089 11d0: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1090 11d2: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1091 11d4: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1092 11d6: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1093 11d8: 7949 ldrb r1, [r1, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1094 11da: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1095 11dc: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1096 11de: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1097 11e0: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1098 11e2: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1099 11e4: 7989 ldrb r1, [r1, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1100 11e6: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1101 11e8: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1102 11ea: 7c00 ldrb r0, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1103 11ec: 3003 add r0, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1104 11ee: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1105 11f0: 7408 strb r0, [r1, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1106 11f2: e0e5 b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1107 11f4: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1108 11f6: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1109 11f8: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1110 11fa: d000 beq 0x11fe
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1111 11fc: e0e0 b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1112 11fe: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1113 1200: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1114 1202: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1115 1204: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1116 1206: 7909 ldrb r1, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1117 1208: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1118 120a: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1119 120c: 7c00 ldrb r0, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1120 120e: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1121 1210: e7ed b 0x11ee
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1122 1212: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1123 1214: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1124 1216: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1125 1218: d000 beq 0x121c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1126 121a: e0d1 b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1127 121c: e7ef b 0x11fe
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1128 121e: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1129 1220: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1130 1222: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1131 1224: d000 beq 0x1228
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1132 1226: e0cb b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1133 1228: e7e9 b 0x11fe
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1134 122a: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1135 122c: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1136 122e: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1137 1230: d000 beq 0x1234
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1138 1232: e0c5 b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1139 1234: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1140 1236: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1141 1238: 8880 ldrh r0, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1142 123a: 8408 strh r0, [r1, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1143 123c: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1144 123e: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1145 1240: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1146 1242: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1147 1244: 8c09 ldrh r1, [r1, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1148 1246: 0409 lsl r1, r1, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1149 1248: 0e09 lsr r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1150 124a: 0209 lsl r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1151 124c: 1209 asr r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1152 124e: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1153 1250: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1154 1252: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1155 1254: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1156 1256: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1157 1258: 8c09 ldrh r1, [r1, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1158 125a: 0609 lsl r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1159 125c: 0e09 lsr r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1160 125e: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1161 1260: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1162 1262: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1163 1264: 88c0 ldrh r0, [r0, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1164 1266: 8408 strh r0, [r1, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1165 1268: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1166 126a: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1167 126c: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1168 126e: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1169 1270: 8c09 ldrh r1, [r1, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1170 1272: 0409 lsl r1, r1, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1171 1274: 0e09 lsr r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1172 1276: 0209 lsl r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1173 1278: 1209 asr r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1174 127a: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1175 127c: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1176 127e: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1177 1280: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1178 1282: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1179 1284: 8c09 ldrh r1, [r1, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1180 1286: 0609 lsl r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1181 1288: 0e09 lsr r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1182 128a: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1183 128c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1184 128e: 7c00 ldrb r0, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1185 1290: 3004 add r0, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1186 1292: e7ac b 0x11ee
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1187 1294: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1188 1296: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1189 1298: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1190 129a: d000 beq 0x129e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1191 129c: e090 b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1192 129e: e7ae b 0x11fe
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1193 12a0: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1194 12a2: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1195 12a4: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1196 12a6: d000 beq 0x12aa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1197 12a8: e08a b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1198 12aa: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1199 12ac: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1200 12ae: 7c00 ldrb r0, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1201 12b0: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1202 12b2: 7408 strb r0, [r1, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1203 12b4: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1204 12b6: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1205 12b8: 7909 ldrb r1, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1206 12ba: 7601 strb r1, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1207 12bc: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1208 12be: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1209 12c0: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1210 12c2: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1211 12c4: 7e09 ldrb r1, [r1, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1212 12c6: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1213 12c8: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1214 12ca: 7e00 ldrb r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1215 12cc: 2840 cmp r0, #64 ; 0x40
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1216 12ce: dd01 ble 0x12d4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1217 12d0: 2004 mov r0, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1218 12d2: e055 b 0x1380
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1219 12d4: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1220 12d6: 3006 add r0, #6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1221 12d8: 9007 str r0, [sp, #28] ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1222 12da: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1223 12dc: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1224 12de: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1225 12e0: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1226 12e2: 7e00 ldrb r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1227 12e4: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1228 12e6: da6b bge 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1229 12e8: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1230 12ea: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1231 12ec: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1232 12ee: 9907 ldr r1, [sp, #28] ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1233 12f0: 8809 ldrh r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1234 12f2: 0409 lsl r1, r1, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1235 12f4: 0e09 lsr r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1236 12f6: 0209 lsl r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1237 12f8: 1209 asr r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1238 12fa: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1239 12fc: 9807 ldr r0, [sp, #28] ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1240 12fe: 8801 ldrh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1241 1300: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1242 1302: 9007 str r0, [sp, #28] ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1243 1304: 0608 lsl r0, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1244 1306: 0e01 lsr r1, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1245 1308: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1246 130a: 1c42 add r2, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1247 130c: 9201 str r2, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1248 130e: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1249 1310: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1250 1312: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1251 1314: 7c00 ldrb r0, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1252 1316: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1253 1318: 7408 strb r0, [r1, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1254 131a: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1255 131c: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1256 131e: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1257 1320: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1258 1322: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1259 1324: 7e00 ldrb r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1260 1326: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1261 1328: dbde blt 0x12e8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1262 132a: e049 b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1263 132c: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1264 132e: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1265 1330: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1266 1332: d145 bne 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1267 1334: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1268 1336: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1269 1338: 8880 ldrh r0, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1270 133a: 8408 strh r0, [r1, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1271 133c: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1272 133e: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1273 1340: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1274 1342: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1275 1344: 8c09 ldrh r1, [r1, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1276 1346: 0409 lsl r1, r1, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1277 1348: 0e09 lsr r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1278 134a: 0209 lsl r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1279 134c: 1209 asr r1, r1, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1280 134e: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1281 1350: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1282 1352: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1283 1354: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1284 1356: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1285 1358: 8c09 ldrh r1, [r1, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1286 135a: 0609 lsl r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1287 135c: 0e09 lsr r1, r1, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1288 135e: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1289 1360: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1290 1362: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1291 1364: 88c9 ldrh r1, [r1, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1292 1366: 8401 strh r1, [r0, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1293 1368: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1294 136a: 1c48 add r0, r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1295 136c: 9001 str r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1296 136e: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1297 1370: 8c00 ldrh r0, [r0, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1298 1372: 0400 lsl r0, r0, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1299 1374: 0e00 lsr r0, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1300 1376: 0200 lsl r0, r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1301 1378: 1200 asr r0, r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1302 137a: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1303 137c: e77e b 0x127c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1304 137e: 2008 mov r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1305 1380: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1306 1382: e01d b 0x13c0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1307 1384: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1308 1386: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1309 1388: 280a cmp r0, #10 ; 0xa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1310 138a: d8f8 bhi 0x137e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1311 138c: a101 add r1, pc, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1312 138e: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1313 1390: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1314 1392: 4687 mov pc, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1315 1394: 11ba asr r2, r7, #6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1316 1396: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1317 1398: 11f4 asr r4, r6, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1318 139a: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1319 139c: 1212 asr r2, r2, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1320 139e: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1321 13a0: 121e asr r6, r3, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1322 13a2: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1323 13a4: 13c0 asr r0, r0, #15
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1324 13a6: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1325 13a8: 122a asr r2, r5, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1326 13aa: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1327 13ac: 1294 asr r4, r2, #10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1328 13ae: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1329 13b0: 12a0 asr r0, r4, #10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1330 13b2: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1331 13b4: 13c0 asr r0, r0, #15
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1332 13b6: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1333 13b8: 132c asr r4, r5, #12
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1334 13ba: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1335 13bc: 13c0 asr r0, r0, #15
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1336 13be: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1337 13c0: 9805 ldr r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1338 13c2: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1339 13c4: 7c09 ldrb r1, [r1, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1340 13c6: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1341 13c8: 9803 ldr r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1342 13ca: b009 add sp, #36 ; 0x24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1343 13cc: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1344 13ce: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1345 13d0: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1346 13d2: b083 sub sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1347 13d4: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1348 13d6: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1349 13d8: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1350 13da: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1351 13dc: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1352 13de: e073 b 0x14c8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1353 13e0: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1354 13e2: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1355 13e4: 28aa cmp r0, #170 ; 0xaa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1356 13e6: d106 bne 0x13f6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1357 13e8: 4965 ldr r1, =0x83ff10 ; via 0x1580
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1358 13ea: 4865 ldr r0, =0x83ff10 ; via 0x1580
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1359 13ec: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1360 13ee: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1361 13f0: 07c0 lsl r0, r0, #31
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1362 13f2: 0fc0 lsr r0, r0, #31
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1363 13f4: e013 b 0x141e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1364 13f6: 4862 ldr r0, =0x83ff10 ; via 0x1580
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1365 13f8: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1366 13fa: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1367 13fc: d06b beq 0x14d6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1368 13fe: 4961 ldr r1, =0x83ff04 ; via 0x1584
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1369 1400: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1370 1402: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1371 1404: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1372 1406: 4960 ldr r1, =0x83ff0e ; via 0x1588
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1373 1408: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1374 140a: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1375 140c: 495f ldr r1, =0x83ff0c ; via 0x158c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1376 140e: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1377 1410: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1378 1412: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1379 1414: 495a ldr r1, =0x83ff10 ; via 0x1580
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1380 1416: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1381 1418: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1382 141a: 495d ldr r1, =0x83ff08 ; via 0x1590
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1383 141c: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1384 141e: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1385 1420: e059 b 0x14d6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1386 1422: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1387 1424: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1388 1426: 28aa cmp r0, #170 ; 0xaa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1389 1428: d113 bne 0x1452
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1390 142a: 4855 ldr r0, =0x83ff10 ; via 0x1580
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1391 142c: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1392 142e: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1393 1430: d00b beq 0x144a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1394 1432: 4954 ldr r1, =0x83ff04 ; via 0x1584
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1395 1434: 6808 ldr r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1396 1436: 1c42 add r2, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1397 1438: 600a str r2, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1398 143a: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1399 143c: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1400 143e: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1401 1440: 4951 ldr r1, =0x83ff0e ; via 0x1588
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1402 1442: 7808 ldrb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1403 1444: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1404 1446: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1405 1448: e013 b 0x1472
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1406 144a: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1407 144c: 484c ldr r0, =0x83ff10 ; via 0x1580
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1408 144e: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1409 1450: e01c b 0x148c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1410 1452: 484b ldr r0, =0x83ff10 ; via 0x1580
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1411 1454: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1412 1456: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1413 1458: d00d beq 0x1476
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1414 145a: 494a ldr r1, =0x83ff04 ; via 0x1584
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1415 145c: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1416 145e: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1417 1460: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1418 1462: 4849 ldr r0, =0x83ff0e ; via 0x1588
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1419 1464: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1420 1466: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1421 1468: 4948 ldr r1, =0x83ff0c ; via 0x158c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1422 146a: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1423 146c: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1424 146e: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1425 1470: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1426 1472: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1427 1474: e7ea b 0x144c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1428 1476: 4843 ldr r0, =0x83ff04 ; via 0x1584
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1429 1478: 6801 ldr r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1430 147a: 1c4a add r2, r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1431 147c: 6002 str r2, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1432 147e: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1433 1480: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1434 1482: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1435 1484: 4940 ldr r1, =0x83ff0e ; via 0x1588
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1436 1486: 7808 ldrb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1437 1488: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1438 148a: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1439 148c: 483f ldr r0, =0x83ff0c ; via 0x158c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1440 148e: 8801 ldrh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1441 1490: 3901 sub r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1442 1492: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1443 1494: 483d ldr r0, =0x83ff0c ; via 0x158c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1444 1496: 8800 ldrh r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1445 1498: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1446 149a: d11c bne 0x14d6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1447 149c: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1448 149e: 483a ldr r0, =0x83ff0e ; via 0x1588
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1449 14a0: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1450 14a2: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1451 14a4: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1452 14a6: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1453 14a8: 4839 ldr r0, =0x83ff08 ; via 0x1590
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1454 14aa: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1455 14ac: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1456 14ae: 4834 ldr r0, =0x83ff10 ; via 0x1580
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1457 14b0: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1458 14b2: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1459 14b4: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1460 14b6: 2801 cmp r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1461 14b8: d10d bne 0x14d6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1462 14ba: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1463 14bc: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1464 14be: 28dd cmp r0, #221 ; 0xdd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1465 14c0: d109 bne 0x14d6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1466 14c2: f7ff fb2f bl 0xb24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1467 14c6: e006 b 0x14d6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1468 14c8: 4831 ldr r0, =0x83ff08 ; via 0x1590
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1469 14ca: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1470 14cc: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1471 14ce: d087 beq 0x13e0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1472 14d0: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1473 14d2: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1474 14d4: d0a5 beq 0x1422
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1475 14d6: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1476 14d8: b003 add sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1477 14da: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1478 14dc: b086 sub sp, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1479 14de: 9202 str r2, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1480 14e0: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1481 14e2: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1482 14e4: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1483 14e6: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1484 14e8: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1485 14ea: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1486 14ec: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1487 14ee: 9100 str r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1488 14f0: 9005 str r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1489 14f2: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1490 14f4: 20aa mov r0, #170 ; 0xaa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1491 14f6: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1492 14f8: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1493 14fa: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1494 14fc: 9001 str r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1495 14fe: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1496 1500: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1497 1502: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1498 1504: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1499 1506: 8188 strh r0, [r1, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1500 1508: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1501 150a: 8981 ldrh r1, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1502 150c: 9805 ldr r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1503 150e: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1504 1510: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1505 1512: da23 bge 0x155c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1506 1514: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1507 1516: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1508 1518: 28aa cmp r0, #170 ; 0xaa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1509 151a: d108 bne 0x152e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1510 151c: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1511 151e: 1c41 add r1, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1512 1520: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1513 1522: 21aa mov r1, #170 ; 0xaa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1514 1524: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1515 1526: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1516 1528: 8808 ldrh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1517 152a: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1518 152c: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1519 152e: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1520 1530: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1521 1532: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1522 1534: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1523 1536: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1524 1538: 1c42 add r2, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1525 153a: 9201 str r2, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1526 153c: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1527 153e: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1528 1540: 8808 ldrh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1529 1542: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1530 1544: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1531 1546: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1532 1548: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1533 154a: 8980 ldrh r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1534 154c: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1535 154e: 8188 strh r0, [r1, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1536 1550: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1537 1552: 8980 ldrh r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1538 1554: 9905 ldr r1, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1539 1556: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1540 1558: 4288 cmp r0, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1541 155a: dbdb blt 0x1514
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1542 155c: 9904 ldr r1, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1543 155e: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1544 1560: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1545 1562: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1546 1564: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1547 1566: 8808 ldrh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1548 1568: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1549 156a: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1550 156c: b006 add sp, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1551 156e: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1552 1570: 4907 ldr r1, =0x83ff08 ; via 0x1590
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1553 1572: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1554 1574: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1555 1576: 4802 ldr r0, =0x83ff10 ; via 0x1580
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1556 1578: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1557 157a: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1558 157c: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1559 157e: 46c0 nop (mov r8, r8)
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1560 1580: ff10 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1561 1582: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1562 1584: ff04 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1563 1586: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1564 1588: ff0e <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1565 158a: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1566 158c: ff0c <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1567 158e: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1568 1590: ff08 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1569 1592: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1570 1594: b082 sub sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1571 1596: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1572 1598: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1573 159a: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1574 159c: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1575 159e: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1576 15a0: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1577 15a2: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1578 15a4: 7041 strb r1, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1579 15a6: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1580 15a8: 2102 mov r1, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1581 15aa: 7101 strb r1, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1582 15ac: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1583 15ae: 2106 mov r1, #6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1584 15b0: 7141 strb r1, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1585 15b2: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1586 15b4: 2102 mov r1, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1587 15b6: 7181 strb r1, [r0, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1588 15b8: b002 add sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1589 15ba: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1590 15bc: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1591 15be: b084 sub sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1592 15c0: 466b mov r3, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1593 15c2: 721a strb r2, [r3, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1594 15c4: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1595 15c6: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1596 15c8: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1597 15ca: 2009 mov r0, #9
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1598 15cc: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1599 15ce: e015 b 0x15fc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1600 15d0: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1601 15d2: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1602 15d4: 7041 strb r1, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1603 15d6: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1604 15d8: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1605 15da: 8940 ldrh r0, [r0, #10] ; 0xa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1606 15dc: 8088 strh r0, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1607 15de: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1608 15e0: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1609 15e2: 8980 ldrh r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1610 15e4: 80c8 strh r0, [r1, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1611 15e6: e01e b 0x1626
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1612 15e8: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1613 15ea: e004 b 0x15f6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1614 15ec: 2103 mov r1, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1615 15ee: e002 b 0x15f6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1616 15f0: 2105 mov r1, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1617 15f2: e000 b 0x15f6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1618 15f4: 2106 mov r1, #6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1619 15f6: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1620 15f8: 7041 strb r1, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1621 15fa: e014 b 0x1626
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1622 15fc: 200a mov r0, #10 ; 0xa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1623 15fe: 4468 add r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1624 1600: a903 add r1, sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1625 1602: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1626 1604: 7a12 ldrb r2, [r2, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1627 1606: f000 fb71 bl 0x1cec
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1628 160a: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1629 160c: d0e0 beq 0x15d0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1630 160e: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1631 1610: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1632 1612: d0e9 beq 0x15e8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1633 1614: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1634 1616: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1635 1618: d0e8 beq 0x15ec
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1636 161a: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1637 161c: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1638 161e: d0e7 beq 0x15f0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1639 1620: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1640 1622: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1641 1624: d0e6 beq 0x15f4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1642 1626: b004 add sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1643 1628: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1644 162a: b084 sub sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1645 162c: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1646 162e: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1647 1630: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1648 1632: 200a mov r0, #10 ; 0xa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1649 1634: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1650 1636: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1651 1638: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1652 163a: 7041 strb r1, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1653 163c: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1654 163e: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1655 1640: 8880 ldrh r0, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1656 1642: 8108 strh r0, [r1, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1657 1644: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1658 1646: 88c0 ldrh r0, [r0, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1659 1648: 8148 strh r0, [r1, #10] ; 0xa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1660 164a: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1661 164c: 8941 ldrh r1, [r0, #10] ; 0xa
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1662 164e: 8900 ldrh r0, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1663 1650: 0400 lsl r0, r0, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1664 1652: 1808 add r0, r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1665 1654: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1666 1656: 9803 ldr r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1667 1658: b004 add sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1668 165a: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1669 165c: b085 sub sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1670 165e: 9303 str r3, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1671 1660: 9202 str r2, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1672 1662: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1673 1664: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1674 1666: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1675 1668: 48ea ldr r0, =0x83ff19 ; via 0x1a14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1676 166a: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1677 166c: 7802 ldrb r2, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1678 166e: 1889 add r1, r1, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1679 1670: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1680 1672: 48e9 ldr r0, =0x83ff1a ; via 0x1a18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1681 1674: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1682 1676: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1683 1678: d00e beq 0x1698
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1684 167a: 48e8 ldr r0, =0x83ff26 ; via 0x1a1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1685 167c: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1686 167e: 780a ldrb r2, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1687 1680: 8801 ldrh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1688 1682: 1851 add r1, r2, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1689 1684: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1690 1686: 9903 ldr r1, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1691 1688: 48e4 ldr r0, =0x83ff26 ; via 0x1a1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1692 168a: 8800 ldrh r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1693 168c: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1694 168e: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1695 1690: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1696 1692: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1697 1694: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1698 1696: e009 b 0x16ac
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1699 1698: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1700 169a: 6808 ldr r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1701 169c: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1702 169e: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1703 16a0: 49de ldr r1, =0x83ff26 ; via 0x1a1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1704 16a2: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1705 16a4: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1706 16a6: 0200 lsl r0, r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1707 16a8: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1708 16aa: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1709 16ac: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1710 16ae: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1711 16b0: 49d9 ldr r1, =0x83ff1a ; via 0x1a18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1712 16b2: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1713 16b4: 4388 bic r0, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1714 16b6: 49d8 ldr r1, =0x83ff1a ; via 0x1a18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1715 16b8: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1716 16ba: 48d9 ldr r0, =0x83ff24 ; via 0x1a20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1717 16bc: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1718 16be: 3901 sub r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1719 16c0: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1720 16c2: 48d7 ldr r0, =0x83ff24 ; via 0x1a20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1721 16c4: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1722 16c6: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1723 16c8: d102 bne 0x16d0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1724 16ca: 48d6 ldr r0, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1725 16cc: 2106 mov r1, #6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1726 16ce: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1727 16d0: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1728 16d2: b005 add sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1729 16d4: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1730 16d6: b083 sub sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1731 16d8: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1732 16da: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1733 16dc: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1734 16de: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1735 16e0: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1736 16e2: 48d1 ldr r0, =0x83ff1b ; via 0x1a28
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1737 16e4: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1738 16e6: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1739 16e8: d10a bne 0x1700
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1740 16ea: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1741 16ec: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1742 16ee: 2853 cmp r0, #83 ; 0x53
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1743 16f0: d102 bne 0x16f8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1744 16f2: 48cd ldr r0, =0x83ff1b ; via 0x1a28
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1745 16f4: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1746 16f6: e01a b 0x172e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1747 16f8: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1748 16fa: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1749 16fc: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1750 16fe: e03b b 0x1778
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1751 1700: 49c9 ldr r1, =0x83ff1b ; via 0x1a28
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1752 1702: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1753 1704: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1754 1706: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1755 1708: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1756 170a: 2830 cmp r0, #48 ; 0x30
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1757 170c: d111 bne 0x1732
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1758 170e: 48c7 ldr r0, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1759 1710: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1760 1712: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1761 1714: d006 beq 0x1724
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1762 1716: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1763 1718: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1764 171a: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1765 171c: 49c3 ldr r1, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1766 171e: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1767 1720: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1768 1722: e02a b 0x177a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1769 1724: 48bf ldr r0, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1770 1726: 2102 mov r1, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1771 1728: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1772 172a: 48ef ldr r0, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1773 172c: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1774 172e: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1775 1730: e024 b 0x177c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1776 1732: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1777 1734: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1778 1736: 2833 cmp r0, #51 ; 0x33
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1779 1738: d105 bne 0x1746
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1780 173a: 48bc ldr r0, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1781 173c: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1782 173e: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1783 1740: d0da beq 0x16f8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1784 1742: 2004 mov r0, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1785 1744: e00c b 0x1760
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1786 1746: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1787 1748: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1788 174a: 2837 cmp r0, #55 ; 0x37
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1789 174c: d10e bne 0x176c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1790 174e: 48b7 ldr r0, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1791 1750: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1792 1752: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1793 1754: d103 bne 0x175e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1794 1756: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1795 1758: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1796 175a: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1797 175c: e00c b 0x1778
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1798 175e: 2003 mov r0, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1799 1760: 49b0 ldr r1, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1800 1762: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1801 1764: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1802 1766: 49e0 ldr r1, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1803 1768: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1804 176a: e007 b 0x177c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1805 176c: 9901 ldr r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1806 176e: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1807 1770: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1808 1772: 48ae ldr r0, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1809 1774: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1810 1776: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1811 1778: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1812 177a: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1813 177c: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1814 177e: b003 add sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1815 1780: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1816 1782: b083 sub sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1817 1784: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1818 1786: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1819 1788: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1820 178a: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1821 178c: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1822 178e: 49d7 ldr r1, =0x830 ; via 0x1aec
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1823 1790: 48d5 ldr r0, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1824 1792: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1825 1794: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1826 1796: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1827 1798: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1828 179a: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1829 179c: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1830 179e: d10d bne 0x17bc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1831 17a0: 49d1 ldr r1, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1832 17a2: 7808 ldrb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1833 17a4: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1834 17a6: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1835 17a8: 48cf ldr r0, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1836 17aa: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1837 17ac: 2807 cmp r0, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1838 17ae: d10d bne 0x17cc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1839 17b0: 489c ldr r0, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1840 17b2: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1841 17b4: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1842 17b6: 489d ldr r0, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1843 17b8: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1844 17ba: e007 b 0x17cc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1845 17bc: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1846 17be: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1847 17c0: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1848 17c2: 4998 ldr r1, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1849 17c4: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1850 17c6: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1851 17c8: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1852 17ca: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1853 17cc: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1854 17ce: b003 add sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1855 17d0: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1856 17d2: b083 sub sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1857 17d4: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1858 17d6: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1859 17d8: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1860 17da: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1861 17dc: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1862 17de: 49c4 ldr r1, =0x84c ; via 0x1af0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1863 17e0: 48c1 ldr r0, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1864 17e2: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1865 17e4: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1866 17e6: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1867 17e8: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1868 17ea: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1869 17ec: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1870 17ee: d112 bne 0x1816
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1871 17f0: 49bd ldr r1, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1872 17f2: 7808 ldrb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1873 17f4: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1874 17f6: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1875 17f8: 48bb ldr r0, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1876 17fa: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1877 17fc: 2806 cmp r0, #6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1878 17fe: d114 bne 0x182a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1879 1800: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1880 1802: 2102 mov r1, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1881 1804: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1882 1806: 4887 ldr r0, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1883 1808: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1884 180a: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1885 180c: 4887 ldr r0, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1886 180e: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1887 1810: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1888 1812: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1889 1814: e008 b 0x1828
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1890 1816: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1891 1818: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1892 181a: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1893 181c: 4981 ldr r1, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1894 181e: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1895 1820: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1896 1822: 4982 ldr r1, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1897 1824: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1898 1826: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1899 1828: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1900 182a: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1901 182c: b003 add sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1902 182e: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1903 1830: b081 sub sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1904 1832: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1905 1834: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1906 1836: 497a ldr r1, =0x83ff24 ; via 0x1a20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1907 1838: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1908 183a: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1909 183c: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1910 183e: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1911 1840: 4874 ldr r0, =0x83ff19 ; via 0x1a14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1912 1842: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1913 1844: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1914 1846: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1915 1848: 48a7 ldr r0, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1916 184a: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1917 184c: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1918 184e: 48e3 ldr r0, =0x83ff14 ; via 0x1bdc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1919 1850: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1920 1852: 4874 ldr r0, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1921 1854: 2105 mov r1, #5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1922 1856: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1923 1858: b001 add sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1924 185a: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1925 185c: b084 sub sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1926 185e: 9202 str r2, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1927 1860: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1928 1862: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1929 1864: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1930 1866: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1931 1868: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1932 186a: 496d ldr r1, =0x83ff24 ; via 0x1a20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1933 186c: 7808 ldrb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1934 186e: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1935 1870: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1936 1872: 486b ldr r0, =0x83ff24 ; via 0x1a20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1937 1874: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1938 1876: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1939 1878: d026 beq 0x18c8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1940 187a: 4866 ldr r0, =0x83ff19 ; via 0x1a14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1941 187c: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1942 187e: 780a ldrb r2, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1943 1880: 7801 ldrb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1944 1882: 1851 add r1, r2, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1945 1884: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1946 1886: 4998 ldr r1, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1947 1888: 7808 ldrb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1948 188a: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1949 188c: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1950 188e: 49d3 ldr r1, =0x83ff14 ; via 0x1bdc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1951 1890: 2204 mov r2, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1952 1892: 4895 ldr r0, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1953 1894: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1954 1896: 1a10 sub r0, r2, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1955 1898: 00c2 lsl r2, r0, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1956 189a: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1957 189c: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1958 189e: 4090 lsl r0, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1959 18a0: 680a ldr r2, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1960 18a2: 1880 add r0, r0, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1961 18a4: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1962 18a6: 4890 ldr r0, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1963 18a8: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1964 18aa: 2804 cmp r0, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1965 18ac: d117 bne 0x18de
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1966 18ae: 9902 ldr r1, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1967 18b0: 48ca ldr r0, =0x83ff14 ; via 0x1bdc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1968 18b2: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1969 18b4: 3802 sub r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1970 18b6: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1971 18b8: 485a ldr r0, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1972 18ba: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1973 18bc: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1974 18be: 4856 ldr r0, =0x83ff1a ; via 0x1a18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1975 18c0: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1976 18c2: 4889 ldr r0, =0x83ff1c ; via 0x1ae8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1977 18c4: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1978 18c6: e00a b 0x18de
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1979 18c8: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1980 18ca: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1981 18cc: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1982 18ce: 4955 ldr r1, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1983 18d0: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1984 18d2: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1985 18d4: 4855 ldr r0, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1986 18d6: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1987 18d8: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1988 18da: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1989 18dc: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1990 18de: 9803 ldr r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1991 18e0: b004 add sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1992 18e2: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1993 18e4: b083 sub sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1994 18e6: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1995 18e8: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1996 18ea: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1997 18ec: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1998 18ee: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1999 18f0: 494c ldr r1, =0x83ff20 ; via 0x1a24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2000 18f2: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2001 18f4: 20ff mov r0, #255 ; 0xff
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2002 18f6: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2003 18f8: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2004 18fa: 4388 bic r0, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2005 18fc: 4945 ldr r1, =0x83ff19 ; via 0x1a14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2006 18fe: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2007 1900: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2008 1902: d007 beq 0x1914
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2009 1904: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2010 1906: 2101 mov r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2011 1908: 6001 str r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2012 190a: 4848 ldr r0, =0x83ff18 ; via 0x1a2c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2013 190c: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2014 190e: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2015 1910: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2016 1912: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2017 1914: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2018 1916: b003 add sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2019 1918: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2020 191a: b085 sub sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2021 191c: 466b mov r3, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2022 191e: 719a strb r2, [r3, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2023 1920: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2024 1922: 8091 strh r1, [r2, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2025 1924: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2026 1926: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2027 1928: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2028 192a: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2029 192c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2030 192e: 8880 ldrh r0, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2031 1930: 8208 strh r0, [r1, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2032 1932: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2033 1934: 8a00 ldrh r0, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2034 1936: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2035 1938: d01e beq 0x1978
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2036 193a: 49e3 ldr r1, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2037 193c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2038 193e: 7980 ldrb r0, [r0, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2039 1940: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2040 1942: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2041 1944: 7941 ldrb r1, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2042 1946: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2043 1948: 7301 strb r1, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2044 194a: 7b00 ldrb r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2045 194c: 0980 lsr r0, r0, #6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2046 194e: d3f4 bcc 0x193a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2047 1950: 49dd ldr r1, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2048 1952: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2049 1954: 7980 ldrb r0, [r0, #6]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2050 1956: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2051 1958: 5809 ldr r1, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2052 195a: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2053 195c: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2054 195e: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2055 1960: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2056 1962: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2057 1964: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2058 1966: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2059 1968: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2060 196a: 8a00 ldrh r0, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2061 196c: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2062 196e: 8208 strh r0, [r1, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2063 1970: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2064 1972: 8a00 ldrh r0, [r0, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2065 1974: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2066 1976: d1e0 bne 0x193a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2067 1978: b005 add sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2068 197a: 46f7 mov pc, lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2069 197c: b082 sub sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2070 197e: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2071 1980: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2072 1982: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2073 1984: 8088 strh r0, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2074 1986: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2075 1988: 8881 ldrh r1, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2076 198a: 20ff mov r0, #255 ; 0xff
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2077 198c: 30f5 add r0, #245 ; 0xf5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2078 198e: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2079 1990: da21 bge 0x19d6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2080 1992: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2081 1994: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2082 1996: 8880 ldrh r0, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2083 1998: 3001 add r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2084 199a: 8088 strh r0, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2085 199c: 48ca ldr r0, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2086 199e: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2087 19a0: 0089 lsl r1, r1, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2088 19a2: 5840 ldr r0, [r0, r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2089 19a4: 7940 ldrb r0, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2090 19a6: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2091 19a8: 7048 strb r0, [r1, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2092 19aa: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2093 19ac: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2094 19ae: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2095 19b0: d30b bcc 0x19ca
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2096 19b2: 49c5 ldr r1, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2097 19b4: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2098 19b6: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2099 19b8: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2100 19ba: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2101 19bc: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2102 19be: 0600 lsl r0, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2103 19c0: 0e00 lsr r0, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2104 19c2: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2105 19c4: 7088 strb r0, [r1, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2106 19c6: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2107 19c8: 8088 strh r0, [r1, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2108 19ca: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2109 19cc: 8881 ldrh r1, [r0, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2110 19ce: 20ff mov r0, #255 ; 0xff
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2111 19d0: 30f5 add r0, #245 ; 0xf5
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2112 19d2: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2113 19d4: dbdd blt 0x1992
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2114 19d6: b002 add sp, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2115 19d8: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2116 19da: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2117 19dc: b08c sub sp, #48 ; 0x30
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2118 19de: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2119 19e0: 7111 strb r1, [r2, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2120 19e2: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2121 19e4: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2122 19e6: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2123 19e8: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2124 19ea: a904 add r1, sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2125 19ec: aa03 add r2, sp, #12 ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2126 19ee: f7ff fd75 bl 0x14dc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2127 19f2: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2128 19f4: 8980 ldrh r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2129 19f6: 2820 cmp r0, #32 ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2130 19f8: dd02 ble 0x1a00
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2131 19fa: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2132 19fc: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2133 19fe: e006 b 0x1a0e
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2134 1a00: a804 add r0, sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2135 1a02: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2136 1a04: 8989 ldrh r1, [r1, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2137 1a06: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2138 1a08: 7912 ldrb r2, [r2, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2139 1a0a: f7ff ff86 bl 0x191a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2140 1a0e: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2141 1a10: b00c add sp, #48 ; 0x30
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2142 1a12: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2143 1a14: ff19 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2144 1a16: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2145 1a18: ff1a <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2146 1a1a: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2147 1a1c: ff26 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2148 1a1e: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2149 1a20: ff24 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2150 1a22: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2151 1a24: ff20 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2152 1a26: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2153 1a28: ff1b <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2154 1a2a: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2155 1a2c: ff18 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2156 1a2e: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2157 1a30: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2158 1a32: b084 sub sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2159 1a34: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2160 1a36: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2161 1a38: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2162 1a3a: 20ff mov r0, #255 ; 0xff
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2163 1a3c: 7308 strb r0, [r1, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2164 1a3e: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2165 1a40: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2166 1a42: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2167 1a44: 48a1 ldr r0, =0xffff5805 ; via 0x1ccc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2168 1a46: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2169 1a48: 7348 strb r0, [r1, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2170 1a4a: 48a1 ldr r0, =0xffff5005 ; via 0x1cd0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2171 1a4c: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2172 1a4e: 7388 strb r0, [r1, #14] ; 0xe
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2173 1a50: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2174 1a52: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2175 1a54: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2176 1a56: d206 bcs 0x1a66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2177 1a58: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2178 1a5a: 7b80 ldrb r0, [r0, #14] ; 0xe
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2179 1a5c: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2180 1a5e: d202 bcs 0x1a66
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2181 1a60: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2182 1a62: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2183 1a64: d0ed beq 0x1a42
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2184 1a66: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2185 1a68: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2186 1a6a: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2187 1a6c: d316 bcc 0x1a9c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2188 1a6e: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2189 1a70: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2190 1a72: 7308 strb r0, [r1, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2191 1a74: 4994 ldr r1, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2192 1a76: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2193 1a78: 7b00 ldrb r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2194 1a7a: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2195 1a7c: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2196 1a7e: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2197 1a80: 0600 lsl r0, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2198 1a82: 0e00 lsr r0, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2199 1a84: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2200 1a86: 73c8 strb r0, [r1, #15] ; 0xf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2201 1a88: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2202 1a8a: 7bc0 ldrb r0, [r0, #15] ; 0xf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2203 1a8c: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2204 1a8e: f7ff fc9f bl 0x13d0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2205 1a92: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2206 1a94: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2207 1a96: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2208 1a98: d11c bne 0x1ad4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2209 1a9a: e018 b 0x1ace
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2210 1a9c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2211 1a9e: 7b80 ldrb r0, [r0, #14] ; 0xe
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2212 1aa0: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2213 1aa2: d317 bcc 0x1ad4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2214 1aa4: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2215 1aa6: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2216 1aa8: 7308 strb r0, [r1, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2217 1aaa: 4987 ldr r1, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2218 1aac: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2219 1aae: 7b00 ldrb r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2220 1ab0: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2221 1ab2: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2222 1ab4: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2223 1ab6: 0600 lsl r0, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2224 1ab8: 0e01 lsr r1, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2225 1aba: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2226 1abc: 73c1 strb r1, [r0, #15] ; 0xf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2227 1abe: 7bc0 ldrb r0, [r0, #15] ; 0xf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2228 1ac0: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2229 1ac2: f7ff fc85 bl 0x13d0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2230 1ac6: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2231 1ac8: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2232 1aca: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2233 1acc: d102 bne 0x1ad4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2234 1ace: 20ff mov r0, #255 ; 0xff
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2235 1ad0: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2236 1ad2: 7308 strb r0, [r1, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2237 1ad4: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2238 1ad6: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2239 1ad8: d102 bne 0x1ae0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2240 1ada: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2241 1adc: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2242 1ade: d0b0 beq 0x1a42
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2243 1ae0: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2244 1ae2: 7b00 ldrb r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2245 1ae4: b004 add sp, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2246 1ae6: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2247 1ae8: ff1c <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2248 1aea: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2249 1aec: 0830 lsr r0, r6, #32
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2250 1aee: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2251 1af0: 084c lsr r4, r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2252 1af2: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2253 1af4: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2254 1af6: b086 sub sp, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2255 1af8: 466b mov r3, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2256 1afa: 721a strb r2, [r3, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2257 1afc: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2258 1afe: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2259 1b00: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2260 1b02: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2261 1b04: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2262 1b06: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2263 1b08: d05b beq 0x1bc2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2264 1b0a: 496f ldr r1, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2265 1b0c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2266 1b0e: 7a00 ldrb r0, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2267 1b10: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2268 1b12: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2269 1b14: 7941 ldrb r1, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2270 1b16: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2271 1b18: 7301 strb r1, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2272 1b1a: 7b00 ldrb r0, [r0, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2273 1b1c: 0840 lsr r0, r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2274 1b1e: d3f4 bcc 0x1b0a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2275 1b20: 4969 ldr r1, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2276 1b22: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2277 1b24: 7a00 ldrb r0, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2278 1b26: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2279 1b28: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2280 1b2a: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2281 1b2c: 0600 lsl r0, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2282 1b2e: 0e01 lsr r1, r0, #24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2283 1b30: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2284 1b32: 7341 strb r1, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2285 1b34: e02c b 0x1b90
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2286 1b36: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2287 1b38: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2288 1b3a: a905 add r1, sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2289 1b3c: 9a00 ldr r2, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2290 1b3e: 9b01 ldr r3, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2291 1b40: f7ff fd8c bl 0x165c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2292 1b44: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2293 1b46: e039 b 0x1bbc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2294 1b48: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2295 1b4a: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2296 1b4c: a905 add r1, sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2297 1b4e: f7ff fdc2 bl 0x16d6
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2298 1b52: e7f7 b 0x1b44
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2299 1b54: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2300 1b56: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2301 1b58: a905 add r1, sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2302 1b5a: f7ff fe12 bl 0x1782
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2303 1b5e: e7f1 b 0x1b44
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2304 1b60: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2305 1b62: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2306 1b64: a905 add r1, sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2307 1b66: f7ff fe34 bl 0x17d2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2308 1b6a: e7eb b 0x1b44
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2309 1b6c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2310 1b6e: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2311 1b70: f7ff fe5e bl 0x1830
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2312 1b74: e022 b 0x1bbc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2313 1b76: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2314 1b78: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2315 1b7a: a905 add r1, sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2316 1b7c: 9a00 ldr r2, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2317 1b7e: f7ff fe6d bl 0x185c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2318 1b82: e7df b 0x1b44
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2319 1b84: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2320 1b86: 7b40 ldrb r0, [r0, #13] ; 0xd
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2321 1b88: a905 add r1, sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2322 1b8a: f7ff feab bl 0x18e4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2323 1b8e: e7d9 b 0x1b44
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2324 1b90: 4850 ldr r0, =0x83ff20 ; via 0x1cd4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2325 1b92: 6800 ldr r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2326 1b94: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2327 1b96: d0ce beq 0x1b36
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2328 1b98: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2329 1b9a: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2330 1b9c: d0d4 beq 0x1b48
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2331 1b9e: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2332 1ba0: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2333 1ba2: d0d7 beq 0x1b54
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2334 1ba4: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2335 1ba6: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2336 1ba8: d0da beq 0x1b60
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2337 1baa: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2338 1bac: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2339 1bae: d0dd beq 0x1b6c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2340 1bb0: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2341 1bb2: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2342 1bb4: d0df beq 0x1b76
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2343 1bb6: 3801 sub r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2344 1bb8: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2345 1bba: d0e3 beq 0x1b84
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2346 1bbc: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2347 1bbe: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2348 1bc0: d1a3 bne 0x1b0a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2349 1bc2: 9805 ldr r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2350 1bc4: b006 add sp, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2351 1bc6: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2352 1bc8: 4942 ldr r1, =0x83ff20 ; via 0x1cd4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2353 1bca: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2354 1bcc: 6008 str r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2355 1bce: 4842 ldr r0, =0x83ff1b ; via 0x1cd8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2356 1bd0: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2357 1bd2: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2358 1bd4: 4841 ldr r0, =0x83ff18 ; via 0x1cdc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2359 1bd6: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2360 1bd8: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2361 1bda: 46c0 nop (mov r8, r8)
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2362 1bdc: ff14 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2363 1bde: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2364 1be0: b081 sub sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2365 1be2: 483f ldr r0, =0xffff5800 ; via 0x1ce0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2366 1be4: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2367 1be6: 493f ldr r1, =0xffff6000 ; via 0x1ce4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2368 1be8: 2002 mov r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2369 1bea: 880a ldrh r2, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2370 1bec: 4310 orr r0, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2371 1bee: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2372 1bf0: 483c ldr r0, =0xffff6000 ; via 0x1ce4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2373 1bf2: 8801 ldrh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2374 1bf4: 0849 lsr r1, r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2375 1bf6: 0049 lsl r1, r1, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2376 1bf8: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2377 1bfa: 493a ldr r1, =0xffff6000 ; via 0x1ce4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2378 1bfc: 8808 ldrh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2379 1bfe: 2202 mov r2, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2380 1c00: 4390 bic r0, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2381 1c02: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2382 1c04: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2383 1c06: 2007 mov r0, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2384 1c08: 7208 strb r0, [r1, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2385 1c0a: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2386 1c0c: 20bf mov r0, #191 ; 0xbf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2387 1c0e: 70c8 strb r0, [r1, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2388 1c10: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2389 1c12: 1c81 add r1, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2390 1c14: 2010 mov r0, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2391 1c16: 880a ldrh r2, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2392 1c18: 4310 orr r0, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2393 1c1a: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2394 1c1c: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2395 1c1e: 2180 mov r1, #128 ; 0x80
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2396 1c20: 70c1 strb r1, [r0, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2397 1c22: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2398 1c24: 2107 mov r1, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2399 1c26: 7081 strb r1, [r0, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2400 1c28: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2401 1c2a: 21bf mov r1, #191 ; 0xbf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2402 1c2c: 70c1 strb r1, [r0, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2403 1c2e: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2404 1c30: 2107 mov r1, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2405 1c32: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2406 1c34: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2407 1c36: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2408 1c38: 7041 strb r1, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2409 1c3a: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2410 1c3c: 2103 mov r1, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2411 1c3e: 70c1 strb r1, [r0, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2412 1c40: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2413 1c42: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2414 1c44: 7201 strb r1, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2415 1c46: 4828 ldr r0, =0xffff5000 ; via 0x1ce8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2416 1c48: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2417 1c4a: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2418 1c4c: 2107 mov r1, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2419 1c4e: 7201 strb r1, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2420 1c50: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2421 1c52: 20bf mov r0, #191 ; 0xbf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2422 1c54: 70c8 strb r0, [r1, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2423 1c56: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2424 1c58: 1c80 add r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2425 1c5a: 2110 mov r1, #16 ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2426 1c5c: 8802 ldrh r2, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2427 1c5e: 4311 orr r1, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2428 1c60: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2429 1c62: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2430 1c64: 2180 mov r1, #128 ; 0x80
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2431 1c66: 70c1 strb r1, [r0, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2432 1c68: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2433 1c6a: 2107 mov r1, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2434 1c6c: 7081 strb r1, [r0, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2435 1c6e: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2436 1c70: 21bf mov r1, #191 ; 0xbf
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2437 1c72: 70c1 strb r1, [r0, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2438 1c74: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2439 1c76: 2107 mov r1, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2440 1c78: 7001 strb r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2441 1c7a: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2442 1c7c: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2443 1c7e: 7041 strb r1, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2444 1c80: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2445 1c82: 2003 mov r0, #3
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2446 1c84: 70c8 strb r0, [r1, #3]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2447 1c86: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2448 1c88: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2449 1c8a: 7201 strb r1, [r0, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2450 1c8c: b001 add sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2451 1c8e: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2452 1c90: b081 sub sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2453 1c92: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2454 1c94: 7008 strb r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2455 1c96: 490c ldr r1, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2456 1c98: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2457 1c9a: 7800 ldrb r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2458 1c9c: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2459 1c9e: 5808 ldr r0, [r1, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2460 1ca0: 7941 ldrb r1, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2461 1ca2: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2462 1ca4: 7041 strb r1, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2463 1ca6: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2464 1ca8: 09c0 lsr r0, r0, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2465 1caa: d20b bcs 0x1cc4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2466 1cac: 4806 ldr r0, =0x864 ; via 0x1cc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2467 1cae: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2468 1cb0: 7809 ldrb r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2469 1cb2: 0089 lsl r1, r1, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2470 1cb4: 5840 ldr r0, [r0, r1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2471 1cb6: 7940 ldrb r0, [r0, #5]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2472 1cb8: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2473 1cba: 7048 strb r0, [r1, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2474 1cbc: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2475 1cbe: 7840 ldrb r0, [r0, #1]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2476 1cc0: 09c0 lsr r0, r0, #7
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2477 1cc2: d3f3 bcc 0x1cac
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2478 1cc4: b001 add sp, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2479 1cc6: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2480 1cc8: 0864 lsr r4, r4, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2481 1cca: 0000 lsl r0, r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2482 1ccc: 5805 ldr r5, [r0, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2483 1cce: ffff <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2484 1cd0: 5005 str r5, [r0, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2485 1cd2: ffff <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2486 1cd4: ff20 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2487 1cd6: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2488 1cd8: ff1b <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2489 1cda: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2490 1cdc: ff18 <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2491 1cde: 0083 lsl r3, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2492 1ce0: 5800 ldr r0, [r0, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2493 1ce2: ffff <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2494 1ce4: 6000 str r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2495 1ce6: ffff <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2496 1ce8: 5000 str r0, [r0, r0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2497 1cea: ffff <half-bl>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2498 1cec: b500 push {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2499 1cee: b087 sub sp, #28 ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2500 1cf0: 466b mov r3, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2501 1cf2: 721a strb r2, [r3, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2502 1cf4: 9101 str r1, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2503 1cf6: 9000 str r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2504 1cf8: 9900 ldr r1, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2505 1cfa: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2506 1cfc: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2507 1cfe: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2508 1d00: 2100 mov r1, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2509 1d02: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2510 1d04: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2511 1d06: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2512 1d08: f7ff ff5e bl 0x1bc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2513 1d0c: a805 add r0, sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2514 1d0e: a906 add r1, sp, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2515 1d10: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2516 1d12: 7a12 ldrb r2, [r2, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2517 1d14: f7ff feee bl 0x1af4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2518 1d18: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2519 1d1a: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2520 1d1c: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2521 1d1e: d11f bne 0x1d60
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2522 1d20: 9803 ldr r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2523 1d22: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2524 1d24: d11c bne 0x1d60
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2525 1d26: 9800 ldr r0, [sp, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2526 1d28: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2527 1d2a: 8b0a ldrh r2, [r1, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2528 1d2c: 8801 ldrh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2529 1d2e: 1851 add r1, r2, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2530 1d30: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2531 1d32: 9905 ldr r1, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2532 1d34: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2533 1d36: 8b00 ldrh r0, [r0, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2534 1d38: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2535 1d3a: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2536 1d3c: 9905 ldr r1, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2537 1d3e: 8809 ldrh r1, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2538 1d40: 8802 ldrh r2, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2539 1d42: 1889 add r1, r1, r2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2540 1d44: 8001 strh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2541 1d46: a805 add r0, sp, #20 ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2542 1d48: a906 add r1, sp, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2543 1d4a: 466a mov r2, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2544 1d4c: 7a12 ldrb r2, [r2, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2545 1d4e: f7ff fed1 bl 0x1af4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2546 1d52: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2547 1d54: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2548 1d56: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2549 1d58: d102 bne 0x1d60
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2550 1d5a: 9803 ldr r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2551 1d5c: 2800 cmp r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2552 1d5e: d0e2 beq 0x1d26
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2553 1d60: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2554 1d62: 2801 cmp r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2555 1d64: d101 bne 0x1d6a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2556 1d66: 2004 mov r0, #4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2557 1d68: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2558 1d6a: 9803 ldr r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2559 1d6c: b007 add sp, #28 ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2560 1d6e: bd00 pop {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2561 1d70: b089 sub sp, #36 ; 0x24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2562 1d72: 201a mov r0, #26 ; 0x1a
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2563 1d74: 9005 str r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2564 1d76: 2018 mov r0, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2565 1d78: 9006 str r0, [sp, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2566 1d7a: 2000 mov r0, #0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2567 1d7c: 9008 str r0, [sp, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2568 1d7e: 4669 mov r1, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2569 1d80: 9805 ldr r0, [sp, #20] ; 0x14
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2570 1d82: 8800 ldrh r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2571 1d84: 8008 strh r0, [r1, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2572 1d86: 9806 ldr r0, [sp, #24] ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2573 1d88: 8800 ldrh r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2574 1d8a: 8048 strh r0, [r1, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2575 1d8c: 4668 mov r0, sp
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2576 1d8e: 8841 ldrh r1, [r0, #2]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2577 1d90: 8800 ldrh r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2578 1d92: 0400 lsl r0, r0, #16
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2579 1d94: 1808 add r0, r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2580 1d96: 9001 str r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2581 1d98: 9801 ldr r0, [sp, #4]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2582 1d9a: 0200 lsl r0, r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2583 1d9c: 0a00 lsr r0, r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2584 1d9e: 0080 lsl r0, r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2585 1da0: 3008 add r0, #8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2586 1da2: 9007 str r0, [sp, #28] ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2587 1da4: 9807 ldr r0, [sp, #28] ; 0x1c
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2588 1da6: 3018 add r0, #24 ; 0x18
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2589 1da8: 9002 str r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2590 1daa: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2591 1dac: 9004 str r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2592 1dae: 9802 ldr r0, [sp, #8]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2593 1db0: 3002 add r0, #2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2594 1db2: 9003 str r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2595 1db4: 9803 ldr r0, [sp, #12] ; 0xc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2596 1db6: 8801 ldrh r1, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2597 1db8: 4806 ldr r0, =0xffff ; via 0x1dd4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2598 1dba: 4281 cmp r1, r0
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2599 1dbc: d104 bne 0x1dc8
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2600 1dbe: 9804 ldr r0, [sp, #16] ; 0x10
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2601 1dc0: 8800 ldrh r0, [r0, #0]
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2602 1dc2: 4904 ldr r1, =0xffff ; via 0x1dd4
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2603 1dc4: 4288 cmp r0, r1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2604 1dc6: d001 beq 0x1dcc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2605 1dc8: 2001 mov r0, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2606 1dca: 9008 str r0, [sp, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2607 1dcc: 9808 ldr r0, [sp, #32] ; 0x20
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2608 1dce: b009 add sp, #36 ; 0x24
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2609 1dd0: 4770 bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2610 1dd2: 46c0 nop (mov r8, r8)
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2611
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2612 1dd4: 0000ffff
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2613
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2614 ; ARM->Thumb call veneer around 0xad2 routine
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2615 1dd8: e92d4000 stmdb sp!, {lr}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2616 1ddc: e28fe001 add lr, pc, #1
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2617 1de0: e12fff1e bx lr
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2618 1de4: f7fe fe75 bl 0xad2
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2619 1de8: 4778 bx pc
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2620 1dea: 46c0 nop (mov r8, r8)
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2621 1dec: e8bd8000 ldmia sp!, {pc}
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2622
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2623 <1DF0-1EFF: all FFs>
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2624
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2625 1f00: 00000001
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2626
8ed06e07b19e start of C123 bootloader re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2627 <1F04-end: all FFs>