uart_leds.txt 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154
  1. Debug/bin\uart_leds.elf: file format elf32-littlearm
  2. Disassembly of section .text:
  3. 08000000 <g_pfnVectors>:
  4. 8000000: 14 04 00 20 25 01 00 08 8d 01 00 08 8d 01 00 08 ... %...........
  5. 8000010: 8d 01 00 08 8d 01 00 08 8d 01 00 08 00 00 00 00 ................
  6. ...
  7. 800002c: 8d 01 00 08 8d 01 00 08 00 00 00 00 8d 01 00 08 ................
  8. 800003c: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  9. 800004c: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  10. 800005c: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  11. 800006c: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  12. 800007c: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  13. ...
  14. 800009c: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  15. 80000ac: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  16. 80000bc: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  17. 80000cc: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  18. 80000dc: 8d 01 00 08 8d 01 00 08 8d 01 00 08 8d 01 00 08 ................
  19. ...
  20. 8000118: 8d 01 00 08 8d 01 00 08 5f f8 08 f1 ........_...
  21. 08000124 <Default_Reset_Handler>:
  22. 8000124: b580 push {r7, lr}
  23. 8000126: b082 sub sp, #8
  24. 8000128: af00 add r7, sp, #0
  25. 800012a: 4b13 ldr r3, [pc, #76] ; (8000178 <zero_loop+0x1c>)
  26. 800012c: 607b str r3, [r7, #4]
  27. 800012e: 4b13 ldr r3, [pc, #76] ; (800017c <zero_loop+0x20>)
  28. 8000130: 603b str r3, [r7, #0]
  29. 8000132: e00b b.n 800014c <Default_Reset_Handler+0x28>
  30. 8000134: 687b ldr r3, [r7, #4]
  31. 8000136: 681a ldr r2, [r3, #0]
  32. 8000138: 683b ldr r3, [r7, #0]
  33. 800013a: 601a str r2, [r3, #0]
  34. 800013c: 683b ldr r3, [r7, #0]
  35. 800013e: f103 0304 add.w r3, r3, #4
  36. 8000142: 603b str r3, [r7, #0]
  37. 8000144: 687b ldr r3, [r7, #4]
  38. 8000146: f103 0304 add.w r3, r3, #4
  39. 800014a: 607b str r3, [r7, #4]
  40. 800014c: 683a ldr r2, [r7, #0]
  41. 800014e: 4b0c ldr r3, [pc, #48] ; (8000180 <zero_loop+0x24>)
  42. 8000150: 429a cmp r2, r3
  43. 8000152: d3ef bcc.n 8000134 <Default_Reset_Handler+0x10>
  44. 8000154: 480b ldr r0, [pc, #44] ; (8000184 <zero_loop+0x28>)
  45. 8000156: 490c ldr r1, [pc, #48] ; (8000188 <zero_loop+0x2c>)
  46. 8000158: f04f 0200 mov.w r2, #0
  47. 0800015c <zero_loop>:
  48. 800015c: 4288 cmp r0, r1
  49. 800015e: bfb8 it lt
  50. 8000160: f840 2b04 strlt.w r2, [r0], #4
  51. 8000164: dbfa blt.n 800015c <zero_loop>
  52. 8000166: f000 f815 bl 8000194 <SystemInit>
  53. 800016a: f000 fa5f bl 800062c <main>
  54. 800016e: f107 0708 add.w r7, r7, #8
  55. 8000172: 46bd mov sp, r7
  56. 8000174: bd80 pop {r7, pc}
  57. 8000176: bf00 nop
  58. 8000178: 08000c1c .word 0x08000c1c
  59. 800017c: 20000000 .word 0x20000000
  60. 8000180: 20000014 .word 0x20000014
  61. 8000184: 20000014 .word 0x20000014
  62. 8000188: 20000014 .word 0x20000014
  63. 0800018c <ADC1_IRQHandler>:
  64. 800018c: b480 push {r7}
  65. 800018e: af00 add r7, sp, #0
  66. 8000190: e7fe b.n 8000190 <ADC1_IRQHandler+0x4>
  67. 8000192: bf00 nop
  68. 08000194 <SystemInit>:
  69. 8000194: b580 push {r7, lr}
  70. 8000196: af00 add r7, sp, #0
  71. 8000198: 4b17 ldr r3, [pc, #92] ; (80001f8 <SystemInit+0x64>)
  72. 800019a: 4a17 ldr r2, [pc, #92] ; (80001f8 <SystemInit+0x64>)
  73. 800019c: 6812 ldr r2, [r2, #0]
  74. 800019e: f042 0201 orr.w r2, r2, #1
  75. 80001a2: 601a str r2, [r3, #0]
  76. 80001a4: 4a14 ldr r2, [pc, #80] ; (80001f8 <SystemInit+0x64>)
  77. 80001a6: 4b14 ldr r3, [pc, #80] ; (80001f8 <SystemInit+0x64>)
  78. 80001a8: 6859 ldr r1, [r3, #4]
  79. 80001aa: 4b14 ldr r3, [pc, #80] ; (80001fc <SystemInit+0x68>)
  80. 80001ac: ea01 0303 and.w r3, r1, r3
  81. 80001b0: 6053 str r3, [r2, #4]
  82. 80001b2: 4a11 ldr r2, [pc, #68] ; (80001f8 <SystemInit+0x64>)
  83. 80001b4: 4b10 ldr r3, [pc, #64] ; (80001f8 <SystemInit+0x64>)
  84. 80001b6: 681b ldr r3, [r3, #0]
  85. 80001b8: f023 7384 bic.w r3, r3, #17301504 ; 0x1080000
  86. 80001bc: f423 3380 bic.w r3, r3, #65536 ; 0x10000
  87. 80001c0: 6013 str r3, [r2, #0]
  88. 80001c2: 4b0d ldr r3, [pc, #52] ; (80001f8 <SystemInit+0x64>)
  89. 80001c4: 4a0c ldr r2, [pc, #48] ; (80001f8 <SystemInit+0x64>)
  90. 80001c6: 6812 ldr r2, [r2, #0]
  91. 80001c8: f422 2280 bic.w r2, r2, #262144 ; 0x40000
  92. 80001cc: 601a str r2, [r3, #0]
  93. 80001ce: 4b0a ldr r3, [pc, #40] ; (80001f8 <SystemInit+0x64>)
  94. 80001d0: 4a09 ldr r2, [pc, #36] ; (80001f8 <SystemInit+0x64>)
  95. 80001d2: 6852 ldr r2, [r2, #4]
  96. 80001d4: f422 02fe bic.w r2, r2, #8323072 ; 0x7f0000
  97. 80001d8: 605a str r2, [r3, #4]
  98. 80001da: 4b07 ldr r3, [pc, #28] ; (80001f8 <SystemInit+0x64>)
  99. 80001dc: f44f 021f mov.w r2, #10420224 ; 0x9f0000
  100. 80001e0: 609a str r2, [r3, #8]
  101. 80001e2: 4b05 ldr r3, [pc, #20] ; (80001f8 <SystemInit+0x64>)
  102. 80001e4: f04f 0200 mov.w r2, #0
  103. 80001e8: 62da str r2, [r3, #44] ; 0x2c
  104. 80001ea: f000 f80b bl 8000204 <SetSysClock>
  105. 80001ee: 4b04 ldr r3, [pc, #16] ; (8000200 <SystemInit+0x6c>)
  106. 80001f0: f04f 6200 mov.w r2, #134217728 ; 0x8000000
  107. 80001f4: 609a str r2, [r3, #8]
  108. 80001f6: bd80 pop {r7, pc}
  109. 80001f8: 40021000 .word 0x40021000
  110. 80001fc: f8ff0000 .word 0xf8ff0000
  111. 8000200: e000ed00 .word 0xe000ed00
  112. 08000204 <SetSysClock>:
  113. 8000204: b580 push {r7, lr}
  114. 8000206: af00 add r7, sp, #0
  115. 8000208: f000 f802 bl 8000210 <SetSysClockTo24>
  116. 800020c: bd80 pop {r7, pc}
  117. 800020e: bf00 nop
  118. 08000210 <SetSysClockTo24>:
  119. 8000210: b480 push {r7}
  120. 8000212: b083 sub sp, #12
  121. 8000214: af00 add r7, sp, #0
  122. 8000216: f04f 0300 mov.w r3, #0
  123. 800021a: 607b str r3, [r7, #4]
  124. 800021c: f04f 0300 mov.w r3, #0
  125. 8000220: 603b str r3, [r7, #0]
  126. 8000222: 4b31 ldr r3, [pc, #196] ; (80002e8 <SetSysClockTo24+0xd8>)
  127. 8000224: 4a30 ldr r2, [pc, #192] ; (80002e8 <SetSysClockTo24+0xd8>)
  128. 8000226: 6812 ldr r2, [r2, #0]
  129. 8000228: f442 3280 orr.w r2, r2, #65536 ; 0x10000
  130. 800022c: 601a str r2, [r3, #0]
  131. 800022e: 4b2e ldr r3, [pc, #184] ; (80002e8 <SetSysClockTo24+0xd8>)
  132. 8000230: 681b ldr r3, [r3, #0]
  133. 8000232: f403 3300 and.w r3, r3, #131072 ; 0x20000
  134. 8000236: 603b str r3, [r7, #0]
  135. 8000238: 687b ldr r3, [r7, #4]
  136. 800023a: f103 0301 add.w r3, r3, #1
  137. 800023e: 607b str r3, [r7, #4]
  138. 8000240: 683b ldr r3, [r7, #0]
  139. 8000242: 2b00 cmp r3, #0
  140. 8000244: d103 bne.n 800024e <SetSysClockTo24+0x3e>
  141. 8000246: 687b ldr r3, [r7, #4]
  142. 8000248: f5b3 6fa0 cmp.w r3, #1280 ; 0x500
  143. 800024c: d1ef bne.n 800022e <SetSysClockTo24+0x1e>
  144. 800024e: 4b26 ldr r3, [pc, #152] ; (80002e8 <SetSysClockTo24+0xd8>)
  145. 8000250: 681b ldr r3, [r3, #0]
  146. 8000252: f403 3300 and.w r3, r3, #131072 ; 0x20000
  147. 8000256: 2b00 cmp r3, #0
  148. 8000258: d003 beq.n 8000262 <SetSysClockTo24+0x52>
  149. 800025a: f04f 0301 mov.w r3, #1
  150. 800025e: 603b str r3, [r7, #0]
  151. 8000260: e002 b.n 8000268 <SetSysClockTo24+0x58>
  152. 8000262: f04f 0300 mov.w r3, #0
  153. 8000266: 603b str r3, [r7, #0]
  154. 8000268: 683b ldr r3, [r7, #0]
  155. 800026a: 2b01 cmp r3, #1
  156. 800026c: d137 bne.n 80002de <SetSysClockTo24+0xce>
  157. 800026e: 4b1e ldr r3, [pc, #120] ; (80002e8 <SetSysClockTo24+0xd8>)
  158. 8000270: 4a1d ldr r2, [pc, #116] ; (80002e8 <SetSysClockTo24+0xd8>)
  159. 8000272: 6852 ldr r2, [r2, #4]
  160. 8000274: 605a str r2, [r3, #4]
  161. 8000276: 4b1c ldr r3, [pc, #112] ; (80002e8 <SetSysClockTo24+0xd8>)
  162. 8000278: 4a1b ldr r2, [pc, #108] ; (80002e8 <SetSysClockTo24+0xd8>)
  163. 800027a: 6852 ldr r2, [r2, #4]
  164. 800027c: 605a str r2, [r3, #4]
  165. 800027e: 4b1a ldr r3, [pc, #104] ; (80002e8 <SetSysClockTo24+0xd8>)
  166. 8000280: 4a19 ldr r2, [pc, #100] ; (80002e8 <SetSysClockTo24+0xd8>)
  167. 8000282: 6852 ldr r2, [r2, #4]
  168. 8000284: 605a str r2, [r3, #4]
  169. 8000286: 4b18 ldr r3, [pc, #96] ; (80002e8 <SetSysClockTo24+0xd8>)
  170. 8000288: 4a17 ldr r2, [pc, #92] ; (80002e8 <SetSysClockTo24+0xd8>)
  171. 800028a: 6852 ldr r2, [r2, #4]
  172. 800028c: f422 127c bic.w r2, r2, #4128768 ; 0x3f0000
  173. 8000290: 605a str r2, [r3, #4]
  174. 8000292: 4b15 ldr r3, [pc, #84] ; (80002e8 <SetSysClockTo24+0xd8>)
  175. 8000294: 4a14 ldr r2, [pc, #80] ; (80002e8 <SetSysClockTo24+0xd8>)
  176. 8000296: 6852 ldr r2, [r2, #4]
  177. 8000298: f442 1298 orr.w r2, r2, #1245184 ; 0x130000
  178. 800029c: 605a str r2, [r3, #4]
  179. 800029e: 4b12 ldr r3, [pc, #72] ; (80002e8 <SetSysClockTo24+0xd8>)
  180. 80002a0: 4a11 ldr r2, [pc, #68] ; (80002e8 <SetSysClockTo24+0xd8>)
  181. 80002a2: 6812 ldr r2, [r2, #0]
  182. 80002a4: f042 7280 orr.w r2, r2, #16777216 ; 0x1000000
  183. 80002a8: 601a str r2, [r3, #0]
  184. 80002aa: bf00 nop
  185. 80002ac: 4b0e ldr r3, [pc, #56] ; (80002e8 <SetSysClockTo24+0xd8>)
  186. 80002ae: 681b ldr r3, [r3, #0]
  187. 80002b0: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
  188. 80002b4: 2b00 cmp r3, #0
  189. 80002b6: d0f9 beq.n 80002ac <SetSysClockTo24+0x9c>
  190. 80002b8: 4b0b ldr r3, [pc, #44] ; (80002e8 <SetSysClockTo24+0xd8>)
  191. 80002ba: 4a0b ldr r2, [pc, #44] ; (80002e8 <SetSysClockTo24+0xd8>)
  192. 80002bc: 6852 ldr r2, [r2, #4]
  193. 80002be: f022 0203 bic.w r2, r2, #3
  194. 80002c2: 605a str r2, [r3, #4]
  195. 80002c4: 4b08 ldr r3, [pc, #32] ; (80002e8 <SetSysClockTo24+0xd8>)
  196. 80002c6: 4a08 ldr r2, [pc, #32] ; (80002e8 <SetSysClockTo24+0xd8>)
  197. 80002c8: 6852 ldr r2, [r2, #4]
  198. 80002ca: f042 0202 orr.w r2, r2, #2
  199. 80002ce: 605a str r2, [r3, #4]
  200. 80002d0: bf00 nop
  201. 80002d2: 4b05 ldr r3, [pc, #20] ; (80002e8 <SetSysClockTo24+0xd8>)
  202. 80002d4: 685b ldr r3, [r3, #4]
  203. 80002d6: f003 030c and.w r3, r3, #12
  204. 80002da: 2b08 cmp r3, #8
  205. 80002dc: d1f9 bne.n 80002d2 <SetSysClockTo24+0xc2>
  206. 80002de: f107 070c add.w r7, r7, #12
  207. 80002e2: 46bd mov sp, r7
  208. 80002e4: bc80 pop {r7}
  209. 80002e6: 4770 bx lr
  210. 80002e8: 40021000 .word 0x40021000
  211. 080002ec <GPIO_Init>:
  212. 80002ec: b480 push {r7}
  213. 80002ee: b089 sub sp, #36 ; 0x24
  214. 80002f0: af00 add r7, sp, #0
  215. 80002f2: 6078 str r0, [r7, #4]
  216. 80002f4: 6039 str r1, [r7, #0]
  217. 80002f6: f04f 0300 mov.w r3, #0
  218. 80002fa: 61fb str r3, [r7, #28]
  219. 80002fc: f04f 0300 mov.w r3, #0
  220. 8000300: 613b str r3, [r7, #16]
  221. 8000302: f04f 0300 mov.w r3, #0
  222. 8000306: 61bb str r3, [r7, #24]
  223. 8000308: f04f 0300 mov.w r3, #0
  224. 800030c: 60fb str r3, [r7, #12]
  225. 800030e: f04f 0300 mov.w r3, #0
  226. 8000312: 617b str r3, [r7, #20]
  227. 8000314: f04f 0300 mov.w r3, #0
  228. 8000318: 60bb str r3, [r7, #8]
  229. 800031a: 683b ldr r3, [r7, #0]
  230. 800031c: 78db ldrb r3, [r3, #3]
  231. 800031e: f003 030f and.w r3, r3, #15
  232. 8000322: 61fb str r3, [r7, #28]
  233. 8000324: 683b ldr r3, [r7, #0]
  234. 8000326: 78db ldrb r3, [r3, #3]
  235. 8000328: f003 0310 and.w r3, r3, #16
  236. 800032c: 2b00 cmp r3, #0
  237. 800032e: d005 beq.n 800033c <GPIO_Init+0x50>
  238. 8000330: 683b ldr r3, [r7, #0]
  239. 8000332: 789b ldrb r3, [r3, #2]
  240. 8000334: 69fa ldr r2, [r7, #28]
  241. 8000336: ea42 0303 orr.w r3, r2, r3
  242. 800033a: 61fb str r3, [r7, #28]
  243. 800033c: 683b ldr r3, [r7, #0]
  244. 800033e: 881b ldrh r3, [r3, #0]
  245. 8000340: f003 03ff and.w r3, r3, #255 ; 0xff
  246. 8000344: 2b00 cmp r3, #0
  247. 8000346: d051 beq.n 80003ec <GPIO_Init+0x100>
  248. 8000348: 687b ldr r3, [r7, #4]
  249. 800034a: 681b ldr r3, [r3, #0]
  250. 800034c: 617b str r3, [r7, #20]
  251. 800034e: f04f 0300 mov.w r3, #0
  252. 8000352: 61bb str r3, [r7, #24]
  253. 8000354: e044 b.n 80003e0 <GPIO_Init+0xf4>
  254. 8000356: 69bb ldr r3, [r7, #24]
  255. 8000358: f04f 0201 mov.w r2, #1
  256. 800035c: fa02 f303 lsl.w r3, r2, r3
  257. 8000360: 60fb str r3, [r7, #12]
  258. 8000362: 683b ldr r3, [r7, #0]
  259. 8000364: 881b ldrh r3, [r3, #0]
  260. 8000366: 461a mov r2, r3
  261. 8000368: 68fb ldr r3, [r7, #12]
  262. 800036a: ea02 0303 and.w r3, r2, r3
  263. 800036e: 613b str r3, [r7, #16]
  264. 8000370: 693a ldr r2, [r7, #16]
  265. 8000372: 68fb ldr r3, [r7, #12]
  266. 8000374: 429a cmp r2, r3
  267. 8000376: d12f bne.n 80003d8 <GPIO_Init+0xec>
  268. 8000378: 69bb ldr r3, [r7, #24]
  269. 800037a: ea4f 0383 mov.w r3, r3, lsl #2
  270. 800037e: 60fb str r3, [r7, #12]
  271. 8000380: 68fb ldr r3, [r7, #12]
  272. 8000382: f04f 020f mov.w r2, #15
  273. 8000386: fa02 f303 lsl.w r3, r2, r3
  274. 800038a: 60bb str r3, [r7, #8]
  275. 800038c: 68bb ldr r3, [r7, #8]
  276. 800038e: ea6f 0303 mvn.w r3, r3
  277. 8000392: 697a ldr r2, [r7, #20]
  278. 8000394: ea02 0303 and.w r3, r2, r3
  279. 8000398: 617b str r3, [r7, #20]
  280. 800039a: 68fb ldr r3, [r7, #12]
  281. 800039c: 69fa ldr r2, [r7, #28]
  282. 800039e: fa02 f303 lsl.w r3, r2, r3
  283. 80003a2: 697a ldr r2, [r7, #20]
  284. 80003a4: ea42 0303 orr.w r3, r2, r3
  285. 80003a8: 617b str r3, [r7, #20]
  286. 80003aa: 683b ldr r3, [r7, #0]
  287. 80003ac: 78db ldrb r3, [r3, #3]
  288. 80003ae: 2b28 cmp r3, #40 ; 0x28
  289. 80003b0: d107 bne.n 80003c2 <GPIO_Init+0xd6>
  290. 80003b2: 69bb ldr r3, [r7, #24]
  291. 80003b4: f04f 0201 mov.w r2, #1
  292. 80003b8: fa02 f203 lsl.w r2, r2, r3
  293. 80003bc: 687b ldr r3, [r7, #4]
  294. 80003be: 615a str r2, [r3, #20]
  295. 80003c0: e00a b.n 80003d8 <GPIO_Init+0xec>
  296. 80003c2: 683b ldr r3, [r7, #0]
  297. 80003c4: 78db ldrb r3, [r3, #3]
  298. 80003c6: 2b48 cmp r3, #72 ; 0x48
  299. 80003c8: d106 bne.n 80003d8 <GPIO_Init+0xec>
  300. 80003ca: 69bb ldr r3, [r7, #24]
  301. 80003cc: f04f 0201 mov.w r2, #1
  302. 80003d0: fa02 f203 lsl.w r2, r2, r3
  303. 80003d4: 687b ldr r3, [r7, #4]
  304. 80003d6: 611a str r2, [r3, #16]
  305. 80003d8: 69bb ldr r3, [r7, #24]
  306. 80003da: f103 0301 add.w r3, r3, #1
  307. 80003de: 61bb str r3, [r7, #24]
  308. 80003e0: 69bb ldr r3, [r7, #24]
  309. 80003e2: 2b07 cmp r3, #7
  310. 80003e4: d9b7 bls.n 8000356 <GPIO_Init+0x6a>
  311. 80003e6: 687b ldr r3, [r7, #4]
  312. 80003e8: 697a ldr r2, [r7, #20]
  313. 80003ea: 601a str r2, [r3, #0]
  314. 80003ec: 683b ldr r3, [r7, #0]
  315. 80003ee: 881b ldrh r3, [r3, #0]
  316. 80003f0: 2bff cmp r3, #255 ; 0xff
  317. 80003f2: d956 bls.n 80004a2 <GPIO_Init+0x1b6>
  318. 80003f4: 687b ldr r3, [r7, #4]
  319. 80003f6: 685b ldr r3, [r3, #4]
  320. 80003f8: 617b str r3, [r7, #20]
  321. 80003fa: f04f 0300 mov.w r3, #0
  322. 80003fe: 61bb str r3, [r7, #24]
  323. 8000400: e049 b.n 8000496 <GPIO_Init+0x1aa>
  324. 8000402: 69bb ldr r3, [r7, #24]
  325. 8000404: f103 0308 add.w r3, r3, #8
  326. 8000408: f04f 0201 mov.w r2, #1
  327. 800040c: fa02 f303 lsl.w r3, r2, r3
  328. 8000410: 60fb str r3, [r7, #12]
  329. 8000412: 683b ldr r3, [r7, #0]
  330. 8000414: 881b ldrh r3, [r3, #0]
  331. 8000416: 461a mov r2, r3
  332. 8000418: 68fb ldr r3, [r7, #12]
  333. 800041a: ea02 0303 and.w r3, r2, r3
  334. 800041e: 613b str r3, [r7, #16]
  335. 8000420: 693a ldr r2, [r7, #16]
  336. 8000422: 68fb ldr r3, [r7, #12]
  337. 8000424: 429a cmp r2, r3
  338. 8000426: d132 bne.n 800048e <GPIO_Init+0x1a2>
  339. 8000428: 69bb ldr r3, [r7, #24]
  340. 800042a: ea4f 0383 mov.w r3, r3, lsl #2
  341. 800042e: 60fb str r3, [r7, #12]
  342. 8000430: 68fb ldr r3, [r7, #12]
  343. 8000432: f04f 020f mov.w r2, #15
  344. 8000436: fa02 f303 lsl.w r3, r2, r3
  345. 800043a: 60bb str r3, [r7, #8]
  346. 800043c: 68bb ldr r3, [r7, #8]
  347. 800043e: ea6f 0303 mvn.w r3, r3
  348. 8000442: 697a ldr r2, [r7, #20]
  349. 8000444: ea02 0303 and.w r3, r2, r3
  350. 8000448: 617b str r3, [r7, #20]
  351. 800044a: 68fb ldr r3, [r7, #12]
  352. 800044c: 69fa ldr r2, [r7, #28]
  353. 800044e: fa02 f303 lsl.w r3, r2, r3
  354. 8000452: 697a ldr r2, [r7, #20]
  355. 8000454: ea42 0303 orr.w r3, r2, r3
  356. 8000458: 617b str r3, [r7, #20]
  357. 800045a: 683b ldr r3, [r7, #0]
  358. 800045c: 78db ldrb r3, [r3, #3]
  359. 800045e: 2b28 cmp r3, #40 ; 0x28
  360. 8000460: d108 bne.n 8000474 <GPIO_Init+0x188>
  361. 8000462: 69bb ldr r3, [r7, #24]
  362. 8000464: f103 0308 add.w r3, r3, #8
  363. 8000468: f04f 0201 mov.w r2, #1
  364. 800046c: fa02 f203 lsl.w r2, r2, r3
  365. 8000470: 687b ldr r3, [r7, #4]
  366. 8000472: 615a str r2, [r3, #20]
  367. 8000474: 683b ldr r3, [r7, #0]
  368. 8000476: 78db ldrb r3, [r3, #3]
  369. 8000478: 2b48 cmp r3, #72 ; 0x48
  370. 800047a: d108 bne.n 800048e <GPIO_Init+0x1a2>
  371. 800047c: 69bb ldr r3, [r7, #24]
  372. 800047e: f103 0308 add.w r3, r3, #8
  373. 8000482: f04f 0201 mov.w r2, #1
  374. 8000486: fa02 f203 lsl.w r2, r2, r3
  375. 800048a: 687b ldr r3, [r7, #4]
  376. 800048c: 611a str r2, [r3, #16]
  377. 800048e: 69bb ldr r3, [r7, #24]
  378. 8000490: f103 0301 add.w r3, r3, #1
  379. 8000494: 61bb str r3, [r7, #24]
  380. 8000496: 69bb ldr r3, [r7, #24]
  381. 8000498: 2b07 cmp r3, #7
  382. 800049a: d9b2 bls.n 8000402 <GPIO_Init+0x116>
  383. 800049c: 687b ldr r3, [r7, #4]
  384. 800049e: 697a ldr r2, [r7, #20]
  385. 80004a0: 605a str r2, [r3, #4]
  386. 80004a2: f107 0724 add.w r7, r7, #36 ; 0x24
  387. 80004a6: 46bd mov sp, r7
  388. 80004a8: bc80 pop {r7}
  389. 80004aa: 4770 bx lr
  390. 080004ac <GPIO_PinRemapConfig>:
  391. 80004ac: b480 push {r7}
  392. 80004ae: b087 sub sp, #28
  393. 80004b0: af00 add r7, sp, #0
  394. 80004b2: 6078 str r0, [r7, #4]
  395. 80004b4: 460b mov r3, r1
  396. 80004b6: 70fb strb r3, [r7, #3]
  397. 80004b8: f04f 0300 mov.w r3, #0
  398. 80004bc: 613b str r3, [r7, #16]
  399. 80004be: f04f 0300 mov.w r3, #0
  400. 80004c2: 60fb str r3, [r7, #12]
  401. 80004c4: f04f 0300 mov.w r3, #0
  402. 80004c8: 617b str r3, [r7, #20]
  403. 80004ca: f04f 0300 mov.w r3, #0
  404. 80004ce: 60bb str r3, [r7, #8]
  405. 80004d0: 687b ldr r3, [r7, #4]
  406. 80004d2: 2b00 cmp r3, #0
  407. 80004d4: da03 bge.n 80004de <GPIO_PinRemapConfig+0x32>
  408. 80004d6: 4b35 ldr r3, [pc, #212] ; (80005ac <GPIO_PinRemapConfig+0x100>)
  409. 80004d8: 69db ldr r3, [r3, #28]
  410. 80004da: 617b str r3, [r7, #20]
  411. 80004dc: e002 b.n 80004e4 <GPIO_PinRemapConfig+0x38>
  412. 80004de: 4b33 ldr r3, [pc, #204] ; (80005ac <GPIO_PinRemapConfig+0x100>)
  413. 80004e0: 685b ldr r3, [r3, #4]
  414. 80004e2: 617b str r3, [r7, #20]
  415. 80004e4: 687b ldr r3, [r7, #4]
  416. 80004e6: f403 2370 and.w r3, r3, #983040 ; 0xf0000
  417. 80004ea: ea4f 4313 mov.w r3, r3, lsr #16
  418. 80004ee: 60bb str r3, [r7, #8]
  419. 80004f0: 687b ldr r3, [r7, #4]
  420. 80004f2: ea4f 4303 mov.w r3, r3, lsl #16
  421. 80004f6: ea4f 4313 mov.w r3, r3, lsr #16
  422. 80004fa: 613b str r3, [r7, #16]
  423. 80004fc: 687b ldr r3, [r7, #4]
  424. 80004fe: f403 1340 and.w r3, r3, #3145728 ; 0x300000
  425. 8000502: f5b3 1f40 cmp.w r3, #3145728 ; 0x300000
  426. 8000506: d10a bne.n 800051e <GPIO_PinRemapConfig+0x72>
  427. 8000508: 697b ldr r3, [r7, #20]
  428. 800050a: f023 6370 bic.w r3, r3, #251658240 ; 0xf000000
  429. 800050e: 617b str r3, [r7, #20]
  430. 8000510: 4b26 ldr r3, [pc, #152] ; (80005ac <GPIO_PinRemapConfig+0x100>)
  431. 8000512: 4a26 ldr r2, [pc, #152] ; (80005ac <GPIO_PinRemapConfig+0x100>)
  432. 8000514: 6852 ldr r2, [r2, #4]
  433. 8000516: f022 6270 bic.w r2, r2, #251658240 ; 0xf000000
  434. 800051a: 605a str r2, [r3, #4]
  435. 800051c: e028 b.n 8000570 <GPIO_PinRemapConfig+0xc4>
  436. 800051e: 687b ldr r3, [r7, #4]
  437. 8000520: f403 1380 and.w r3, r3, #1048576 ; 0x100000
  438. 8000524: 2b00 cmp r3, #0
  439. 8000526: d011 beq.n 800054c <GPIO_PinRemapConfig+0xa0>
  440. 8000528: 68bb ldr r3, [r7, #8]
  441. 800052a: f04f 0203 mov.w r2, #3
  442. 800052e: fa02 f303 lsl.w r3, r2, r3
  443. 8000532: 60fb str r3, [r7, #12]
  444. 8000534: 68fb ldr r3, [r7, #12]
  445. 8000536: ea6f 0303 mvn.w r3, r3
  446. 800053a: 697a ldr r2, [r7, #20]
  447. 800053c: ea02 0303 and.w r3, r2, r3
  448. 8000540: 617b str r3, [r7, #20]
  449. 8000542: 697b ldr r3, [r7, #20]
  450. 8000544: f043 6370 orr.w r3, r3, #251658240 ; 0xf000000
  451. 8000548: 617b str r3, [r7, #20]
  452. 800054a: e011 b.n 8000570 <GPIO_PinRemapConfig+0xc4>
  453. 800054c: 687b ldr r3, [r7, #4]
  454. 800054e: ea4f 5353 mov.w r3, r3, lsr #21
  455. 8000552: ea4f 1303 mov.w r3, r3, lsl #4
  456. 8000556: 693a ldr r2, [r7, #16]
  457. 8000558: fa02 f303 lsl.w r3, r2, r3
  458. 800055c: ea6f 0303 mvn.w r3, r3
  459. 8000560: 697a ldr r2, [r7, #20]
  460. 8000562: ea02 0303 and.w r3, r2, r3
  461. 8000566: 617b str r3, [r7, #20]
  462. 8000568: 697b ldr r3, [r7, #20]
  463. 800056a: f043 6370 orr.w r3, r3, #251658240 ; 0xf000000
  464. 800056e: 617b str r3, [r7, #20]
  465. 8000570: 78fb ldrb r3, [r7, #3]
  466. 8000572: 2b00 cmp r3, #0
  467. 8000574: d00b beq.n 800058e <GPIO_PinRemapConfig+0xe2>
  468. 8000576: 687b ldr r3, [r7, #4]
  469. 8000578: ea4f 5353 mov.w r3, r3, lsr #21
  470. 800057c: ea4f 1303 mov.w r3, r3, lsl #4
  471. 8000580: 693a ldr r2, [r7, #16]
  472. 8000582: fa02 f303 lsl.w r3, r2, r3
  473. 8000586: 697a ldr r2, [r7, #20]
  474. 8000588: ea42 0303 orr.w r3, r2, r3
  475. 800058c: 617b str r3, [r7, #20]
  476. 800058e: 687b ldr r3, [r7, #4]
  477. 8000590: 2b00 cmp r3, #0
  478. 8000592: da03 bge.n 800059c <GPIO_PinRemapConfig+0xf0>
  479. 8000594: 4b05 ldr r3, [pc, #20] ; (80005ac <GPIO_PinRemapConfig+0x100>)
  480. 8000596: 697a ldr r2, [r7, #20]
  481. 8000598: 61da str r2, [r3, #28]
  482. 800059a: e002 b.n 80005a2 <GPIO_PinRemapConfig+0xf6>
  483. 800059c: 4b03 ldr r3, [pc, #12] ; (80005ac <GPIO_PinRemapConfig+0x100>)
  484. 800059e: 697a ldr r2, [r7, #20]
  485. 80005a0: 605a str r2, [r3, #4]
  486. 80005a2: f107 071c add.w r7, r7, #28
  487. 80005a6: 46bd mov sp, r7
  488. 80005a8: bc80 pop {r7}
  489. 80005aa: 4770 bx lr
  490. 80005ac: 40010000 .word 0x40010000
  491. 080005b0 <send_to_uart>:
  492. 80005b0: b480 push {r7}
  493. 80005b2: b083 sub sp, #12
  494. 80005b4: af00 add r7, sp, #0
  495. 80005b6: 4603 mov r3, r0
  496. 80005b8: 71fb strb r3, [r7, #7]
  497. 80005ba: bf00 nop
  498. 80005bc: 4b07 ldr r3, [pc, #28] ; (80005dc <send_to_uart+0x2c>)
  499. 80005be: 881b ldrh r3, [r3, #0]
  500. 80005c0: b29b uxth r3, r3
  501. 80005c2: f003 0340 and.w r3, r3, #64 ; 0x40
  502. 80005c6: 2b00 cmp r3, #0
  503. 80005c8: d0f8 beq.n 80005bc <send_to_uart+0xc>
  504. 80005ca: 4b04 ldr r3, [pc, #16] ; (80005dc <send_to_uart+0x2c>)
  505. 80005cc: 79fa ldrb r2, [r7, #7]
  506. 80005ce: b292 uxth r2, r2
  507. 80005d0: 809a strh r2, [r3, #4]
  508. 80005d2: f107 070c add.w r7, r7, #12
  509. 80005d6: 46bd mov sp, r7
  510. 80005d8: bc80 pop {r7}
  511. 80005da: 4770 bx lr
  512. 80005dc: 40013800 .word 0x40013800
  513. 080005e0 <send_str>:
  514. 80005e0: b580 push {r7, lr}
  515. 80005e2: b084 sub sp, #16
  516. 80005e4: af00 add r7, sp, #0
  517. 80005e6: 6078 str r0, [r7, #4]
  518. 80005e8: f04f 0300 mov.w r3, #0
  519. 80005ec: 73fb strb r3, [r7, #15]
  520. 80005ee: e00a b.n 8000606 <send_str+0x26>
  521. 80005f0: 7bfb ldrb r3, [r7, #15]
  522. 80005f2: 687a ldr r2, [r7, #4]
  523. 80005f4: 18d3 adds r3, r2, r3
  524. 80005f6: 781b ldrb r3, [r3, #0]
  525. 80005f8: 4618 mov r0, r3
  526. 80005fa: f7ff ffd9 bl 80005b0 <send_to_uart>
  527. 80005fe: 7bfb ldrb r3, [r7, #15]
  528. 8000600: f103 0301 add.w r3, r3, #1
  529. 8000604: 73fb strb r3, [r7, #15]
  530. 8000606: 7bfb ldrb r3, [r7, #15]
  531. 8000608: 687a ldr r2, [r7, #4]
  532. 800060a: 18d3 adds r3, r2, r3
  533. 800060c: 781b ldrb r3, [r3, #0]
  534. 800060e: 2b00 cmp r3, #0
  535. 8000610: d1ee bne.n 80005f0 <send_str+0x10>
  536. 8000612: f04f 000d mov.w r0, #13
  537. 8000616: f7ff ffcb bl 80005b0 <send_to_uart>
  538. 800061a: f04f 000a mov.w r0, #10
  539. 800061e: f7ff ffc7 bl 80005b0 <send_to_uart>
  540. 8000622: f107 0710 add.w r7, r7, #16
  541. 8000626: 46bd mov sp, r7
  542. 8000628: bd80 pop {r7, pc}
  543. 800062a: bf00 nop
  544. 0800062c <main>:
  545. 800062c: b580 push {r7, lr}
  546. 800062e: b086 sub sp, #24
  547. 8000630: af00 add r7, sp, #0
  548. 8000632: f244 000d movw r0, #16397 ; 0x400d
  549. 8000636: f04f 0101 mov.w r1, #1
  550. 800063a: f000 f9bd bl 80009b8 <RCC_APB2PeriphClockCmd>
  551. 800063e: 4877 ldr r0, [pc, #476] ; (800081c <main+0x1f0>)
  552. 8000640: f04f 0101 mov.w r1, #1
  553. 8000644: f7ff ff32 bl 80004ac <GPIO_PinRemapConfig>
  554. 8000648: f240 33ff movw r3, #1023 ; 0x3ff
  555. 800064c: 823b strh r3, [r7, #16]
  556. 800064e: f04f 0310 mov.w r3, #16
  557. 8000652: 74fb strb r3, [r7, #19]
  558. 8000654: f04f 0302 mov.w r3, #2
  559. 8000658: 74bb strb r3, [r7, #18]
  560. 800065a: f107 0310 add.w r3, r7, #16
  561. 800065e: 4870 ldr r0, [pc, #448] ; (8000820 <main+0x1f4>)
  562. 8000660: 4619 mov r1, r3
  563. 8000662: f7ff fe43 bl 80002ec <GPIO_Init>
  564. 8000666: 4b6e ldr r3, [pc, #440] ; (8000820 <main+0x1f4>)
  565. 8000668: f04f 0200 mov.w r2, #0
  566. 800066c: 60da str r2, [r3, #12]
  567. 800066e: f44f 6380 mov.w r3, #1024 ; 0x400
  568. 8000672: 823b strh r3, [r7, #16]
  569. 8000674: f04f 0304 mov.w r3, #4
  570. 8000678: 74fb strb r3, [r7, #19]
  571. 800067a: f107 0310 add.w r3, r7, #16
  572. 800067e: 4869 ldr r0, [pc, #420] ; (8000824 <main+0x1f8>)
  573. 8000680: 4619 mov r1, r3
  574. 8000682: f7ff fe33 bl 80002ec <GPIO_Init>
  575. 8000686: f44f 7300 mov.w r3, #512 ; 0x200
  576. 800068a: 823b strh r3, [r7, #16]
  577. 800068c: f04f 0303 mov.w r3, #3
  578. 8000690: 74bb strb r3, [r7, #18]
  579. 8000692: f04f 0318 mov.w r3, #24
  580. 8000696: 74fb strb r3, [r7, #19]
  581. 8000698: f107 0310 add.w r3, r7, #16
  582. 800069c: 4861 ldr r0, [pc, #388] ; (8000824 <main+0x1f8>)
  583. 800069e: 4619 mov r1, r3
  584. 80006a0: f7ff fe24 bl 80002ec <GPIO_Init>
  585. 80006a4: f44f 5316 mov.w r3, #9600 ; 0x2580
  586. 80006a8: 603b str r3, [r7, #0]
  587. 80006aa: f04f 0300 mov.w r3, #0
  588. 80006ae: 80bb strh r3, [r7, #4]
  589. 80006b0: f04f 0300 mov.w r3, #0
  590. 80006b4: 80fb strh r3, [r7, #6]
  591. 80006b6: f04f 0300 mov.w r3, #0
  592. 80006ba: 813b strh r3, [r7, #8]
  593. 80006bc: f04f 0300 mov.w r3, #0
  594. 80006c0: 81bb strh r3, [r7, #12]
  595. 80006c2: f04f 030c mov.w r3, #12
  596. 80006c6: 817b strh r3, [r7, #10]
  597. 80006c8: 463b mov r3, r7
  598. 80006ca: 4857 ldr r0, [pc, #348] ; (8000828 <main+0x1fc>)
  599. 80006cc: 4619 mov r1, r3
  600. 80006ce: f000 f995 bl 80009fc <USART_Init>
  601. 80006d2: 4855 ldr r0, [pc, #340] ; (8000828 <main+0x1fc>)
  602. 80006d4: f04f 0101 mov.w r1, #1
  603. 80006d8: f000 fa68 bl 8000bac <USART_Cmd>
  604. 80006dc: e002 b.n 80006e4 <main+0xb8>
  605. 80006de: bf00 nop
  606. 80006e0: e000 b.n 80006e4 <main+0xb8>
  607. 80006e2: bf00 nop
  608. 80006e4: 4b50 ldr r3, [pc, #320] ; (8000828 <main+0x1fc>)
  609. 80006e6: 881b ldrh r3, [r3, #0]
  610. 80006e8: b29b uxth r3, r3
  611. 80006ea: f003 0320 and.w r3, r3, #32
  612. 80006ee: 2b00 cmp r3, #0
  613. 80006f0: d0f5 beq.n 80006de <main+0xb2>
  614. 80006f2: 4b4d ldr r3, [pc, #308] ; (8000828 <main+0x1fc>)
  615. 80006f4: 889b ldrh r3, [r3, #4]
  616. 80006f6: b29b uxth r3, r3
  617. 80006f8: 757b strb r3, [r7, #21]
  618. 80006fa: 7d7b ldrb r3, [r7, #21]
  619. 80006fc: f1a3 0330 sub.w r3, r3, #48 ; 0x30
  620. 8000700: 2b0f cmp r3, #15
  621. 8000702: d8ee bhi.n 80006e2 <main+0xb6>
  622. 8000704: a201 add r2, pc, #4 ; (adr r2, 800070c <main+0xe0>)
  623. 8000706: f852 f023 ldr.w pc, [r2, r3, lsl #2]
  624. 800070a: bf00 nop
  625. 800070c: 0800074d .word 0x0800074d
  626. 8000710: 0800075b .word 0x0800075b
  627. 8000714: 08000769 .word 0x08000769
  628. 8000718: 08000777 .word 0x08000777
  629. 800071c: 08000785 .word 0x08000785
  630. 8000720: 08000793 .word 0x08000793
  631. 8000724: 080007a1 .word 0x080007a1
  632. 8000728: 080007af .word 0x080007af
  633. 800072c: 080007bd .word 0x080007bd
  634. 8000730: 080007cb .word 0x080007cb
  635. 8000734: 080006e3 .word 0x080006e3
  636. 8000738: 080006e3 .word 0x080006e3
  637. 800073c: 080006e3 .word 0x080006e3
  638. 8000740: 080006e3 .word 0x080006e3
  639. 8000744: 080006e3 .word 0x080006e3
  640. 8000748: 080007d9 .word 0x080007d9
  641. 800074c: 4b34 ldr r3, [pc, #208] ; (8000820 <main+0x1f4>)
  642. 800074e: 4a34 ldr r2, [pc, #208] ; (8000820 <main+0x1f4>)
  643. 8000750: 68d2 ldr r2, [r2, #12]
  644. 8000752: f082 0201 eor.w r2, r2, #1
  645. 8000756: 60da str r2, [r3, #12]
  646. 8000758: e05f b.n 800081a <main+0x1ee>
  647. 800075a: 4b31 ldr r3, [pc, #196] ; (8000820 <main+0x1f4>)
  648. 800075c: 4a30 ldr r2, [pc, #192] ; (8000820 <main+0x1f4>)
  649. 800075e: 68d2 ldr r2, [r2, #12]
  650. 8000760: f082 0202 eor.w r2, r2, #2
  651. 8000764: 60da str r2, [r3, #12]
  652. 8000766: e058 b.n 800081a <main+0x1ee>
  653. 8000768: 4b2d ldr r3, [pc, #180] ; (8000820 <main+0x1f4>)
  654. 800076a: 4a2d ldr r2, [pc, #180] ; (8000820 <main+0x1f4>)
  655. 800076c: 68d2 ldr r2, [r2, #12]
  656. 800076e: f082 0204 eor.w r2, r2, #4
  657. 8000772: 60da str r2, [r3, #12]
  658. 8000774: e051 b.n 800081a <main+0x1ee>
  659. 8000776: 4b2a ldr r3, [pc, #168] ; (8000820 <main+0x1f4>)
  660. 8000778: 4a29 ldr r2, [pc, #164] ; (8000820 <main+0x1f4>)
  661. 800077a: 68d2 ldr r2, [r2, #12]
  662. 800077c: f082 0208 eor.w r2, r2, #8
  663. 8000780: 60da str r2, [r3, #12]
  664. 8000782: e04a b.n 800081a <main+0x1ee>
  665. 8000784: 4b26 ldr r3, [pc, #152] ; (8000820 <main+0x1f4>)
  666. 8000786: 4a26 ldr r2, [pc, #152] ; (8000820 <main+0x1f4>)
  667. 8000788: 68d2 ldr r2, [r2, #12]
  668. 800078a: f082 0210 eor.w r2, r2, #16
  669. 800078e: 60da str r2, [r3, #12]
  670. 8000790: e043 b.n 800081a <main+0x1ee>
  671. 8000792: 4b23 ldr r3, [pc, #140] ; (8000820 <main+0x1f4>)
  672. 8000794: 4a22 ldr r2, [pc, #136] ; (8000820 <main+0x1f4>)
  673. 8000796: 68d2 ldr r2, [r2, #12]
  674. 8000798: f082 0220 eor.w r2, r2, #32
  675. 800079c: 60da str r2, [r3, #12]
  676. 800079e: e03c b.n 800081a <main+0x1ee>
  677. 80007a0: 4b1f ldr r3, [pc, #124] ; (8000820 <main+0x1f4>)
  678. 80007a2: 4a1f ldr r2, [pc, #124] ; (8000820 <main+0x1f4>)
  679. 80007a4: 68d2 ldr r2, [r2, #12]
  680. 80007a6: f082 0240 eor.w r2, r2, #64 ; 0x40
  681. 80007aa: 60da str r2, [r3, #12]
  682. 80007ac: e035 b.n 800081a <main+0x1ee>
  683. 80007ae: 4b1c ldr r3, [pc, #112] ; (8000820 <main+0x1f4>)
  684. 80007b0: 4a1b ldr r2, [pc, #108] ; (8000820 <main+0x1f4>)
  685. 80007b2: 68d2 ldr r2, [r2, #12]
  686. 80007b4: f082 0280 eor.w r2, r2, #128 ; 0x80
  687. 80007b8: 60da str r2, [r3, #12]
  688. 80007ba: e02e b.n 800081a <main+0x1ee>
  689. 80007bc: 4b18 ldr r3, [pc, #96] ; (8000820 <main+0x1f4>)
  690. 80007be: 4a18 ldr r2, [pc, #96] ; (8000820 <main+0x1f4>)
  691. 80007c0: 68d2 ldr r2, [r2, #12]
  692. 80007c2: f482 7280 eor.w r2, r2, #256 ; 0x100
  693. 80007c6: 60da str r2, [r3, #12]
  694. 80007c8: e027 b.n 800081a <main+0x1ee>
  695. 80007ca: 4b15 ldr r3, [pc, #84] ; (8000820 <main+0x1f4>)
  696. 80007cc: 4a14 ldr r2, [pc, #80] ; (8000820 <main+0x1f4>)
  697. 80007ce: 68d2 ldr r2, [r2, #12]
  698. 80007d0: f482 7200 eor.w r2, r2, #512 ; 0x200
  699. 80007d4: 60da str r2, [r3, #12]
  700. 80007d6: e020 b.n 800081a <main+0x1ee>
  701. 80007d8: 4814 ldr r0, [pc, #80] ; (800082c <main+0x200>)
  702. 80007da: f7ff ff01 bl 80005e0 <send_str>
  703. 80007de: f04f 0301 mov.w r3, #1
  704. 80007e2: 82fb strh r3, [r7, #22]
  705. 80007e4: e011 b.n 800080a <main+0x1de>
  706. 80007e6: 4b0e ldr r3, [pc, #56] ; (8000820 <main+0x1f4>)
  707. 80007e8: 68da ldr r2, [r3, #12]
  708. 80007ea: 8afb ldrh r3, [r7, #22]
  709. 80007ec: ea02 0303 and.w r3, r2, r3
  710. 80007f0: 2b00 cmp r3, #0
  711. 80007f2: d003 beq.n 80007fc <main+0x1d0>
  712. 80007f4: 480e ldr r0, [pc, #56] ; (8000830 <main+0x204>)
  713. 80007f6: f7ff fef3 bl 80005e0 <send_str>
  714. 80007fa: e002 b.n 8000802 <main+0x1d6>
  715. 80007fc: 480d ldr r0, [pc, #52] ; (8000834 <main+0x208>)
  716. 80007fe: f7ff feef bl 80005e0 <send_str>
  717. 8000802: 8afb ldrh r3, [r7, #22]
  718. 8000804: ea4f 0343 mov.w r3, r3, lsl #1
  719. 8000808: 82fb strh r3, [r7, #22]
  720. 800080a: 8afb ldrh r3, [r7, #22]
  721. 800080c: f5b3 7f00 cmp.w r3, #512 ; 0x200
  722. 8000810: d9e9 bls.n 80007e6 <main+0x1ba>
  723. 8000812: 4809 ldr r0, [pc, #36] ; (8000838 <main+0x20c>)
  724. 8000814: f7ff fee4 bl 80005e0 <send_str>
  725. 8000818: bf00 nop
  726. 800081a: e763 b.n 80006e4 <main+0xb8>
  727. 800081c: 00300200 .word 0x00300200
  728. 8000820: 40010c00 .word 0x40010c00
  729. 8000824: 40010800 .word 0x40010800
  730. 8000828: 40013800 .word 0x40013800
  731. 800082c: 08000bec .word 0x08000bec
  732. 8000830: 08000c00 .word 0x08000c00
  733. 8000834: 08000c04 .word 0x08000c04
  734. 8000838: 08000c08 .word 0x08000c08
  735. 0800083c <RCC_GetClocksFreq>:
  736. 800083c: b480 push {r7}
  737. 800083e: b089 sub sp, #36 ; 0x24
  738. 8000840: af00 add r7, sp, #0
  739. 8000842: 6078 str r0, [r7, #4]
  740. 8000844: f04f 0300 mov.w r3, #0
  741. 8000848: 61fb str r3, [r7, #28]
  742. 800084a: f04f 0300 mov.w r3, #0
  743. 800084e: 61bb str r3, [r7, #24]
  744. 8000850: f04f 0300 mov.w r3, #0
  745. 8000854: 617b str r3, [r7, #20]
  746. 8000856: f04f 0300 mov.w r3, #0
  747. 800085a: 613b str r3, [r7, #16]
  748. 800085c: f04f 0300 mov.w r3, #0
  749. 8000860: 60fb str r3, [r7, #12]
  750. 8000862: 4b50 ldr r3, [pc, #320] ; (80009a4 <RCC_GetClocksFreq+0x168>)
  751. 8000864: 685b ldr r3, [r3, #4]
  752. 8000866: f003 030c and.w r3, r3, #12
  753. 800086a: 61fb str r3, [r7, #28]
  754. 800086c: 69fb ldr r3, [r7, #28]
  755. 800086e: 2b04 cmp r3, #4
  756. 8000870: d007 beq.n 8000882 <RCC_GetClocksFreq+0x46>
  757. 8000872: 2b08 cmp r3, #8
  758. 8000874: d009 beq.n 800088a <RCC_GetClocksFreq+0x4e>
  759. 8000876: 2b00 cmp r3, #0
  760. 8000878: d132 bne.n 80008e0 <RCC_GetClocksFreq+0xa4>
  761. 800087a: 687b ldr r3, [r7, #4]
  762. 800087c: 4a4a ldr r2, [pc, #296] ; (80009a8 <RCC_GetClocksFreq+0x16c>)
  763. 800087e: 601a str r2, [r3, #0]
  764. 8000880: e032 b.n 80008e8 <RCC_GetClocksFreq+0xac>
  765. 8000882: 687b ldr r3, [r7, #4]
  766. 8000884: 4a48 ldr r2, [pc, #288] ; (80009a8 <RCC_GetClocksFreq+0x16c>)
  767. 8000886: 601a str r2, [r3, #0]
  768. 8000888: e02e b.n 80008e8 <RCC_GetClocksFreq+0xac>
  769. 800088a: 4b46 ldr r3, [pc, #280] ; (80009a4 <RCC_GetClocksFreq+0x168>)
  770. 800088c: 685b ldr r3, [r3, #4]
  771. 800088e: f403 1370 and.w r3, r3, #3932160 ; 0x3c0000
  772. 8000892: 61bb str r3, [r7, #24]
  773. 8000894: 4b43 ldr r3, [pc, #268] ; (80009a4 <RCC_GetClocksFreq+0x168>)
  774. 8000896: 685b ldr r3, [r3, #4]
  775. 8000898: f403 3380 and.w r3, r3, #65536 ; 0x10000
  776. 800089c: 617b str r3, [r7, #20]
  777. 800089e: 69bb ldr r3, [r7, #24]
  778. 80008a0: ea4f 4393 mov.w r3, r3, lsr #18
  779. 80008a4: f103 0302 add.w r3, r3, #2
  780. 80008a8: 61bb str r3, [r7, #24]
  781. 80008aa: 697b ldr r3, [r7, #20]
  782. 80008ac: 2b00 cmp r3, #0
  783. 80008ae: d106 bne.n 80008be <RCC_GetClocksFreq+0x82>
  784. 80008b0: 69bb ldr r3, [r7, #24]
  785. 80008b2: 4a3e ldr r2, [pc, #248] ; (80009ac <RCC_GetClocksFreq+0x170>)
  786. 80008b4: fb02 f203 mul.w r2, r2, r3
  787. 80008b8: 687b ldr r3, [r7, #4]
  788. 80008ba: 601a str r2, [r3, #0]
  789. 80008bc: e014 b.n 80008e8 <RCC_GetClocksFreq+0xac>
  790. 80008be: 4b39 ldr r3, [pc, #228] ; (80009a4 <RCC_GetClocksFreq+0x168>)
  791. 80008c0: 6adb ldr r3, [r3, #44] ; 0x2c
  792. 80008c2: f003 030f and.w r3, r3, #15
  793. 80008c6: f103 0301 add.w r3, r3, #1
  794. 80008ca: 60fb str r3, [r7, #12]
  795. 80008cc: 4a36 ldr r2, [pc, #216] ; (80009a8 <RCC_GetClocksFreq+0x16c>)
  796. 80008ce: 68fb ldr r3, [r7, #12]
  797. 80008d0: fbb2 f3f3 udiv r3, r2, r3
  798. 80008d4: 69ba ldr r2, [r7, #24]
  799. 80008d6: fb02 f203 mul.w r2, r2, r3
  800. 80008da: 687b ldr r3, [r7, #4]
  801. 80008dc: 601a str r2, [r3, #0]
  802. 80008de: e003 b.n 80008e8 <RCC_GetClocksFreq+0xac>
  803. 80008e0: 687b ldr r3, [r7, #4]
  804. 80008e2: 4a31 ldr r2, [pc, #196] ; (80009a8 <RCC_GetClocksFreq+0x16c>)
  805. 80008e4: 601a str r2, [r3, #0]
  806. 80008e6: bf00 nop
  807. 80008e8: 4b2e ldr r3, [pc, #184] ; (80009a4 <RCC_GetClocksFreq+0x168>)
  808. 80008ea: 685b ldr r3, [r3, #4]
  809. 80008ec: f003 03f0 and.w r3, r3, #240 ; 0xf0
  810. 80008f0: 61fb str r3, [r7, #28]
  811. 80008f2: 69fb ldr r3, [r7, #28]
  812. 80008f4: ea4f 1313 mov.w r3, r3, lsr #4
  813. 80008f8: 61fb str r3, [r7, #28]
  814. 80008fa: 4a2d ldr r2, [pc, #180] ; (80009b0 <RCC_GetClocksFreq+0x174>)
  815. 80008fc: 69fb ldr r3, [r7, #28]
  816. 80008fe: 18d3 adds r3, r2, r3
  817. 8000900: 781b ldrb r3, [r3, #0]
  818. 8000902: b2db uxtb r3, r3
  819. 8000904: 613b str r3, [r7, #16]
  820. 8000906: 687b ldr r3, [r7, #4]
  821. 8000908: 681a ldr r2, [r3, #0]
  822. 800090a: 693b ldr r3, [r7, #16]
  823. 800090c: fa22 f203 lsr.w r2, r2, r3
  824. 8000910: 687b ldr r3, [r7, #4]
  825. 8000912: 605a str r2, [r3, #4]
  826. 8000914: 4b23 ldr r3, [pc, #140] ; (80009a4 <RCC_GetClocksFreq+0x168>)
  827. 8000916: 685b ldr r3, [r3, #4]
  828. 8000918: f403 63e0 and.w r3, r3, #1792 ; 0x700
  829. 800091c: 61fb str r3, [r7, #28]
  830. 800091e: 69fb ldr r3, [r7, #28]
  831. 8000920: ea4f 2313 mov.w r3, r3, lsr #8
  832. 8000924: 61fb str r3, [r7, #28]
  833. 8000926: 4a22 ldr r2, [pc, #136] ; (80009b0 <RCC_GetClocksFreq+0x174>)
  834. 8000928: 69fb ldr r3, [r7, #28]
  835. 800092a: 18d3 adds r3, r2, r3
  836. 800092c: 781b ldrb r3, [r3, #0]
  837. 800092e: b2db uxtb r3, r3
  838. 8000930: 613b str r3, [r7, #16]
  839. 8000932: 687b ldr r3, [r7, #4]
  840. 8000934: 685a ldr r2, [r3, #4]
  841. 8000936: 693b ldr r3, [r7, #16]
  842. 8000938: fa22 f203 lsr.w r2, r2, r3
  843. 800093c: 687b ldr r3, [r7, #4]
  844. 800093e: 609a str r2, [r3, #8]
  845. 8000940: 4b18 ldr r3, [pc, #96] ; (80009a4 <RCC_GetClocksFreq+0x168>)
  846. 8000942: 685b ldr r3, [r3, #4]
  847. 8000944: f403 5360 and.w r3, r3, #14336 ; 0x3800
  848. 8000948: 61fb str r3, [r7, #28]
  849. 800094a: 69fb ldr r3, [r7, #28]
  850. 800094c: ea4f 23d3 mov.w r3, r3, lsr #11
  851. 8000950: 61fb str r3, [r7, #28]
  852. 8000952: 4a17 ldr r2, [pc, #92] ; (80009b0 <RCC_GetClocksFreq+0x174>)
  853. 8000954: 69fb ldr r3, [r7, #28]
  854. 8000956: 18d3 adds r3, r2, r3
  855. 8000958: 781b ldrb r3, [r3, #0]
  856. 800095a: b2db uxtb r3, r3
  857. 800095c: 613b str r3, [r7, #16]
  858. 800095e: 687b ldr r3, [r7, #4]
  859. 8000960: 685a ldr r2, [r3, #4]
  860. 8000962: 693b ldr r3, [r7, #16]
  861. 8000964: fa22 f203 lsr.w r2, r2, r3
  862. 8000968: 687b ldr r3, [r7, #4]
  863. 800096a: 60da str r2, [r3, #12]
  864. 800096c: 4b0d ldr r3, [pc, #52] ; (80009a4 <RCC_GetClocksFreq+0x168>)
  865. 800096e: 685b ldr r3, [r3, #4]
  866. 8000970: f403 4340 and.w r3, r3, #49152 ; 0xc000
  867. 8000974: 61fb str r3, [r7, #28]
  868. 8000976: 69fb ldr r3, [r7, #28]
  869. 8000978: ea4f 3393 mov.w r3, r3, lsr #14
  870. 800097c: 61fb str r3, [r7, #28]
  871. 800097e: 4a0d ldr r2, [pc, #52] ; (80009b4 <RCC_GetClocksFreq+0x178>)
  872. 8000980: 69fb ldr r3, [r7, #28]
  873. 8000982: 18d3 adds r3, r2, r3
  874. 8000984: 781b ldrb r3, [r3, #0]
  875. 8000986: b2db uxtb r3, r3
  876. 8000988: 613b str r3, [r7, #16]
  877. 800098a: 687b ldr r3, [r7, #4]
  878. 800098c: 68da ldr r2, [r3, #12]
  879. 800098e: 693b ldr r3, [r7, #16]
  880. 8000990: fbb2 f2f3 udiv r2, r2, r3
  881. 8000994: 687b ldr r3, [r7, #4]
  882. 8000996: 611a str r2, [r3, #16]
  883. 8000998: f107 0724 add.w r7, r7, #36 ; 0x24
  884. 800099c: 46bd mov sp, r7
  885. 800099e: bc80 pop {r7}
  886. 80009a0: 4770 bx lr
  887. 80009a2: bf00 nop
  888. 80009a4: 40021000 .word 0x40021000
  889. 80009a8: 007a1200 .word 0x007a1200
  890. 80009ac: 003d0900 .word 0x003d0900
  891. 80009b0: 20000000 .word 0x20000000
  892. 80009b4: 20000010 .word 0x20000010
  893. 080009b8 <RCC_APB2PeriphClockCmd>:
  894. 80009b8: b480 push {r7}
  895. 80009ba: b083 sub sp, #12
  896. 80009bc: af00 add r7, sp, #0
  897. 80009be: 6078 str r0, [r7, #4]
  898. 80009c0: 460b mov r3, r1
  899. 80009c2: 70fb strb r3, [r7, #3]
  900. 80009c4: 78fb ldrb r3, [r7, #3]
  901. 80009c6: 2b00 cmp r3, #0
  902. 80009c8: d007 beq.n 80009da <RCC_APB2PeriphClockCmd+0x22>
  903. 80009ca: 4b0b ldr r3, [pc, #44] ; (80009f8 <RCC_APB2PeriphClockCmd+0x40>)
  904. 80009cc: 4a0a ldr r2, [pc, #40] ; (80009f8 <RCC_APB2PeriphClockCmd+0x40>)
  905. 80009ce: 6991 ldr r1, [r2, #24]
  906. 80009d0: 687a ldr r2, [r7, #4]
  907. 80009d2: ea41 0202 orr.w r2, r1, r2
  908. 80009d6: 619a str r2, [r3, #24]
  909. 80009d8: e008 b.n 80009ec <RCC_APB2PeriphClockCmd+0x34>
  910. 80009da: 4b07 ldr r3, [pc, #28] ; (80009f8 <RCC_APB2PeriphClockCmd+0x40>)
  911. 80009dc: 4a06 ldr r2, [pc, #24] ; (80009f8 <RCC_APB2PeriphClockCmd+0x40>)
  912. 80009de: 6991 ldr r1, [r2, #24]
  913. 80009e0: 687a ldr r2, [r7, #4]
  914. 80009e2: ea6f 0202 mvn.w r2, r2
  915. 80009e6: ea01 0202 and.w r2, r1, r2
  916. 80009ea: 619a str r2, [r3, #24]
  917. 80009ec: f107 070c add.w r7, r7, #12
  918. 80009f0: 46bd mov sp, r7
  919. 80009f2: bc80 pop {r7}
  920. 80009f4: 4770 bx lr
  921. 80009f6: bf00 nop
  922. 80009f8: 40021000 .word 0x40021000
  923. 080009fc <USART_Init>:
  924. 80009fc: b580 push {r7, lr}
  925. 80009fe: b08c sub sp, #48 ; 0x30
  926. 8000a00: af00 add r7, sp, #0
  927. 8000a02: 6078 str r0, [r7, #4]
  928. 8000a04: 6039 str r1, [r7, #0]
  929. 8000a06: f04f 0300 mov.w r3, #0
  930. 8000a0a: 62fb str r3, [r7, #44] ; 0x2c
  931. 8000a0c: f04f 0300 mov.w r3, #0
  932. 8000a10: 62bb str r3, [r7, #40] ; 0x28
  933. 8000a12: f04f 0300 mov.w r3, #0
  934. 8000a16: 627b str r3, [r7, #36] ; 0x24
  935. 8000a18: f04f 0300 mov.w r3, #0
  936. 8000a1c: 623b str r3, [r7, #32]
  937. 8000a1e: f04f 0300 mov.w r3, #0
  938. 8000a22: 61fb str r3, [r7, #28]
  939. 8000a24: 687b ldr r3, [r7, #4]
  940. 8000a26: 61fb str r3, [r7, #28]
  941. 8000a28: 687b ldr r3, [r7, #4]
  942. 8000a2a: 8a1b ldrh r3, [r3, #16]
  943. 8000a2c: b29b uxth r3, r3
  944. 8000a2e: 62fb str r3, [r7, #44] ; 0x2c
  945. 8000a30: 6afa ldr r2, [r7, #44] ; 0x2c
  946. 8000a32: f64c 73ff movw r3, #53247 ; 0xcfff
  947. 8000a36: ea02 0303 and.w r3, r2, r3
  948. 8000a3a: 62fb str r3, [r7, #44] ; 0x2c
  949. 8000a3c: 683b ldr r3, [r7, #0]
  950. 8000a3e: 88db ldrh r3, [r3, #6]
  951. 8000a40: 6afa ldr r2, [r7, #44] ; 0x2c
  952. 8000a42: ea42 0303 orr.w r3, r2, r3
  953. 8000a46: 62fb str r3, [r7, #44] ; 0x2c
  954. 8000a48: 6afb ldr r3, [r7, #44] ; 0x2c
  955. 8000a4a: b29a uxth r2, r3
  956. 8000a4c: 687b ldr r3, [r7, #4]
  957. 8000a4e: 821a strh r2, [r3, #16]
  958. 8000a50: 687b ldr r3, [r7, #4]
  959. 8000a52: 899b ldrh r3, [r3, #12]
  960. 8000a54: b29b uxth r3, r3
  961. 8000a56: 62fb str r3, [r7, #44] ; 0x2c
  962. 8000a58: 6afa ldr r2, [r7, #44] ; 0x2c
  963. 8000a5a: f64e 13f3 movw r3, #59891 ; 0xe9f3
  964. 8000a5e: ea02 0303 and.w r3, r2, r3
  965. 8000a62: 62fb str r3, [r7, #44] ; 0x2c
  966. 8000a64: 683b ldr r3, [r7, #0]
  967. 8000a66: 889a ldrh r2, [r3, #4]
  968. 8000a68: 683b ldr r3, [r7, #0]
  969. 8000a6a: 891b ldrh r3, [r3, #8]
  970. 8000a6c: ea42 0303 orr.w r3, r2, r3
  971. 8000a70: b29a uxth r2, r3
  972. 8000a72: 683b ldr r3, [r7, #0]
  973. 8000a74: 895b ldrh r3, [r3, #10]
  974. 8000a76: ea42 0303 orr.w r3, r2, r3
  975. 8000a7a: b29b uxth r3, r3
  976. 8000a7c: 6afa ldr r2, [r7, #44] ; 0x2c
  977. 8000a7e: ea42 0303 orr.w r3, r2, r3
  978. 8000a82: 62fb str r3, [r7, #44] ; 0x2c
  979. 8000a84: 6afb ldr r3, [r7, #44] ; 0x2c
  980. 8000a86: b29a uxth r2, r3
  981. 8000a88: 687b ldr r3, [r7, #4]
  982. 8000a8a: 819a strh r2, [r3, #12]
  983. 8000a8c: 687b ldr r3, [r7, #4]
  984. 8000a8e: 8a9b ldrh r3, [r3, #20]
  985. 8000a90: b29b uxth r3, r3
  986. 8000a92: 62fb str r3, [r7, #44] ; 0x2c
  987. 8000a94: 6afa ldr r2, [r7, #44] ; 0x2c
  988. 8000a96: f64f 43ff movw r3, #64767 ; 0xfcff
  989. 8000a9a: ea02 0303 and.w r3, r2, r3
  990. 8000a9e: 62fb str r3, [r7, #44] ; 0x2c
  991. 8000aa0: 683b ldr r3, [r7, #0]
  992. 8000aa2: 899b ldrh r3, [r3, #12]
  993. 8000aa4: 6afa ldr r2, [r7, #44] ; 0x2c
  994. 8000aa6: ea42 0303 orr.w r3, r2, r3
  995. 8000aaa: 62fb str r3, [r7, #44] ; 0x2c
  996. 8000aac: 6afb ldr r3, [r7, #44] ; 0x2c
  997. 8000aae: b29a uxth r2, r3
  998. 8000ab0: 687b ldr r3, [r7, #4]
  999. 8000ab2: 829a strh r2, [r3, #20]
  1000. 8000ab4: f107 0308 add.w r3, r7, #8
  1001. 8000ab8: 4618 mov r0, r3
  1002. 8000aba: f7ff febf bl 800083c <RCC_GetClocksFreq>
  1003. 8000abe: 69fa ldr r2, [r7, #28]
  1004. 8000ac0: 4b38 ldr r3, [pc, #224] ; (8000ba4 <USART_Init+0x1a8>)
  1005. 8000ac2: 429a cmp r2, r3
  1006. 8000ac4: d102 bne.n 8000acc <USART_Init+0xd0>
  1007. 8000ac6: 697b ldr r3, [r7, #20]
  1008. 8000ac8: 62bb str r3, [r7, #40] ; 0x28
  1009. 8000aca: e001 b.n 8000ad0 <USART_Init+0xd4>
  1010. 8000acc: 693b ldr r3, [r7, #16]
  1011. 8000ace: 62bb str r3, [r7, #40] ; 0x28
  1012. 8000ad0: 687b ldr r3, [r7, #4]
  1013. 8000ad2: 899b ldrh r3, [r3, #12]
  1014. 8000ad4: b29b uxth r3, r3
  1015. 8000ad6: b29b uxth r3, r3
  1016. 8000ad8: b21b sxth r3, r3
  1017. 8000ada: 2b00 cmp r3, #0
  1018. 8000adc: da0f bge.n 8000afe <USART_Init+0x102>
  1019. 8000ade: 6aba ldr r2, [r7, #40] ; 0x28
  1020. 8000ae0: 4613 mov r3, r2
  1021. 8000ae2: ea4f 0383 mov.w r3, r3, lsl #2
  1022. 8000ae6: 189b adds r3, r3, r2
  1023. 8000ae8: ea4f 0283 mov.w r2, r3, lsl #2
  1024. 8000aec: 189a adds r2, r3, r2
  1025. 8000aee: 683b ldr r3, [r7, #0]
  1026. 8000af0: 681b ldr r3, [r3, #0]
  1027. 8000af2: ea4f 0343 mov.w r3, r3, lsl #1
  1028. 8000af6: fbb2 f3f3 udiv r3, r2, r3
  1029. 8000afa: 627b str r3, [r7, #36] ; 0x24
  1030. 8000afc: e00e b.n 8000b1c <USART_Init+0x120>
  1031. 8000afe: 6aba ldr r2, [r7, #40] ; 0x28
  1032. 8000b00: 4613 mov r3, r2
  1033. 8000b02: ea4f 0383 mov.w r3, r3, lsl #2
  1034. 8000b06: 189b adds r3, r3, r2
  1035. 8000b08: ea4f 0283 mov.w r2, r3, lsl #2
  1036. 8000b0c: 189a adds r2, r3, r2
  1037. 8000b0e: 683b ldr r3, [r7, #0]
  1038. 8000b10: 681b ldr r3, [r3, #0]
  1039. 8000b12: ea4f 0383 mov.w r3, r3, lsl #2
  1040. 8000b16: fbb2 f3f3 udiv r3, r2, r3
  1041. 8000b1a: 627b str r3, [r7, #36] ; 0x24
  1042. 8000b1c: 6a7a ldr r2, [r7, #36] ; 0x24
  1043. 8000b1e: 4b22 ldr r3, [pc, #136] ; (8000ba8 <USART_Init+0x1ac>)
  1044. 8000b20: fba3 1302 umull r1, r3, r3, r2
  1045. 8000b24: ea4f 1353 mov.w r3, r3, lsr #5
  1046. 8000b28: ea4f 1303 mov.w r3, r3, lsl #4
  1047. 8000b2c: 62fb str r3, [r7, #44] ; 0x2c
  1048. 8000b2e: 6afb ldr r3, [r7, #44] ; 0x2c
  1049. 8000b30: ea4f 1313 mov.w r3, r3, lsr #4
  1050. 8000b34: f04f 0264 mov.w r2, #100 ; 0x64
  1051. 8000b38: fb02 f303 mul.w r3, r2, r3
  1052. 8000b3c: 6a7a ldr r2, [r7, #36] ; 0x24
  1053. 8000b3e: 1ad3 subs r3, r2, r3
  1054. 8000b40: 623b str r3, [r7, #32]
  1055. 8000b42: 687b ldr r3, [r7, #4]
  1056. 8000b44: 899b ldrh r3, [r3, #12]
  1057. 8000b46: b29b uxth r3, r3
  1058. 8000b48: b29b uxth r3, r3
  1059. 8000b4a: b21b sxth r3, r3
  1060. 8000b4c: 2b00 cmp r3, #0
  1061. 8000b4e: da10 bge.n 8000b72 <USART_Init+0x176>
  1062. 8000b50: 6a3b ldr r3, [r7, #32]
  1063. 8000b52: ea4f 03c3 mov.w r3, r3, lsl #3
  1064. 8000b56: f103 0232 add.w r2, r3, #50 ; 0x32
  1065. 8000b5a: 4b13 ldr r3, [pc, #76] ; (8000ba8 <USART_Init+0x1ac>)
  1066. 8000b5c: fba3 1302 umull r1, r3, r3, r2
  1067. 8000b60: ea4f 1353 mov.w r3, r3, lsr #5
  1068. 8000b64: f003 0307 and.w r3, r3, #7
  1069. 8000b68: 6afa ldr r2, [r7, #44] ; 0x2c
  1070. 8000b6a: ea42 0303 orr.w r3, r2, r3
  1071. 8000b6e: 62fb str r3, [r7, #44] ; 0x2c
  1072. 8000b70: e00f b.n 8000b92 <USART_Init+0x196>
  1073. 8000b72: 6a3b ldr r3, [r7, #32]
  1074. 8000b74: ea4f 1303 mov.w r3, r3, lsl #4
  1075. 8000b78: f103 0232 add.w r2, r3, #50 ; 0x32
  1076. 8000b7c: 4b0a ldr r3, [pc, #40] ; (8000ba8 <USART_Init+0x1ac>)
  1077. 8000b7e: fba3 1302 umull r1, r3, r3, r2
  1078. 8000b82: ea4f 1353 mov.w r3, r3, lsr #5
  1079. 8000b86: f003 030f and.w r3, r3, #15
  1080. 8000b8a: 6afa ldr r2, [r7, #44] ; 0x2c
  1081. 8000b8c: ea42 0303 orr.w r3, r2, r3
  1082. 8000b90: 62fb str r3, [r7, #44] ; 0x2c
  1083. 8000b92: 6afb ldr r3, [r7, #44] ; 0x2c
  1084. 8000b94: b29a uxth r2, r3
  1085. 8000b96: 687b ldr r3, [r7, #4]
  1086. 8000b98: 811a strh r2, [r3, #8]
  1087. 8000b9a: f107 0730 add.w r7, r7, #48 ; 0x30
  1088. 8000b9e: 46bd mov sp, r7
  1089. 8000ba0: bd80 pop {r7, pc}
  1090. 8000ba2: bf00 nop
  1091. 8000ba4: 40013800 .word 0x40013800
  1092. 8000ba8: 51eb851f .word 0x51eb851f
  1093. 08000bac <USART_Cmd>:
  1094. 8000bac: b480 push {r7}
  1095. 8000bae: b083 sub sp, #12
  1096. 8000bb0: af00 add r7, sp, #0
  1097. 8000bb2: 6078 str r0, [r7, #4]
  1098. 8000bb4: 460b mov r3, r1
  1099. 8000bb6: 70fb strb r3, [r7, #3]
  1100. 8000bb8: 78fb ldrb r3, [r7, #3]
  1101. 8000bba: 2b00 cmp r3, #0
  1102. 8000bbc: d008 beq.n 8000bd0 <USART_Cmd+0x24>
  1103. 8000bbe: 687b ldr r3, [r7, #4]
  1104. 8000bc0: 899b ldrh r3, [r3, #12]
  1105. 8000bc2: b29b uxth r3, r3
  1106. 8000bc4: f443 5300 orr.w r3, r3, #8192 ; 0x2000
  1107. 8000bc8: b29a uxth r2, r3
  1108. 8000bca: 687b ldr r3, [r7, #4]
  1109. 8000bcc: 819a strh r2, [r3, #12]
  1110. 8000bce: e007 b.n 8000be0 <USART_Cmd+0x34>
  1111. 8000bd0: 687b ldr r3, [r7, #4]
  1112. 8000bd2: 899b ldrh r3, [r3, #12]
  1113. 8000bd4: b29b uxth r3, r3
  1114. 8000bd6: f423 5300 bic.w r3, r3, #8192 ; 0x2000
  1115. 8000bda: b29a uxth r2, r3
  1116. 8000bdc: 687b ldr r3, [r7, #4]
  1117. 8000bde: 819a strh r2, [r3, #12]
  1118. 8000be0: f107 070c add.w r7, r7, #12
  1119. 8000be4: 46bd mov sp, r7
  1120. 8000be6: bc80 pop {r7}
  1121. 8000be8: 4770 bx lr
  1122. 8000bea: bf00 nop
  1123. 8000bec: 4c3d3d3d .word 0x4c3d3d3d
  1124. 8000bf0: 20734445 .word 0x20734445
  1125. 8000bf4: 74617473 .word 0x74617473
  1126. 8000bf8: 3d3d3a65 .word 0x3d3d3a65
  1127. 8000bfc: 0000003d .word 0x0000003d
  1128. 8000c00: 00004e4f .word 0x00004e4f
  1129. 8000c04: 0046464f .word 0x0046464f
  1130. 8000c08: 3d3d3d3d .word 0x3d3d3d3d
  1131. 8000c0c: 3d3d3d3d .word 0x3d3d3d3d
  1132. 8000c10: 3d3d3d3d .word 0x3d3d3d3d
  1133. 8000c14: 3d3d3d3d .word 0x3d3d3d3d
  1134. 8000c18: 0000003d .word 0x0000003d