annotate compal/c123-boot.disasm @ 285:e5b0164f6060

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