yc11xx_asm.txt 178 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024
  1. ========================================================================
  2. ** ELF Header Information
  3. File Name: .\Objects\yc11xx.axf
  4. Machine class: ELFCLASS32 (32-bit)
  5. Data encoding: ELFDATA2LSB (Little endian)
  6. Header version: EV_CURRENT (Current version)
  7. Operating System ABI: none
  8. ABI Version: 0
  9. File Type: ET_EXEC (Executable) (2)
  10. Machine: EM_ARM (ARM)
  11. Image Entry point: 0x000000c1
  12. Flags: EF_ARM_HASENTRY + EF_ARM_ABI_FLOAT_SOFT (0x05000202)
  13. ARM ELF revision: 5 (ABI version 2)
  14. Conforms to Soft float procedure-call standard
  15. Built with
  16. Component: ARM Compiler 5.06 update 7 (build 960) Tool: armasm [4d35fa]
  17. Component: ARM Compiler 5.06 update 7 (build 960) Tool: armlink [4d3601]
  18. Header size: 52 bytes (0x34)
  19. Program header entry size: 32 bytes (0x20)
  20. Section header entry size: 40 bytes (0x28)
  21. Program header entries: 1
  22. Section header entries: 16
  23. Program header offset: 90104 (0x00015ff8)
  24. Section header offset: 90136 (0x00016018)
  25. Section header string table index: 15
  26. ========================================================================
  27. ** Program header #0 (PT_LOAD) [PF_X + PF_W + PF_R + PF_ARM_ENTRY]
  28. Size : 7036 bytes (5956 bytes in file)
  29. Virtual address: 0x00000000 (Alignment 16)
  30. ========================================================================
  31. ** Section #1 'ER_IROM1' (SHT_PROGBITS) [SHF_ALLOC + SHF_EXECINSTR]
  32. Size : 5936 bytes (alignment 16)
  33. Address: 0x00000000
  34. $d.realdata
  35. RESET
  36. __Vectors
  37. 0x00000000: 10014000 .@.. DCD 268517376
  38. 0x00000004: 00000121 !... DCD 289
  39. 0x00000008: 0000012d -... DCD 301
  40. 0x0000000c: 00000131 1... DCD 305
  41. 0x00000010: 00000000 .... DCD 0
  42. 0x00000014: 00000000 .... DCD 0
  43. 0x00000018: 00000000 .... DCD 0
  44. 0x0000001c: 00000000 .... DCD 0
  45. 0x00000020: 00000000 .... DCD 0
  46. 0x00000024: 00000000 .... DCD 0
  47. 0x00000028: 00000000 .... DCD 0
  48. 0x0000002c: 00000135 5... DCD 309
  49. 0x00000030: 00000000 .... DCD 0
  50. 0x00000034: 00000000 .... DCD 0
  51. 0x00000038: 00000139 9... DCD 313
  52. 0x0000003c: 00000125 %... DCD 293
  53. 0x00000040: 0000013d =... DCD 317
  54. 0x00000044: 00000141 A... DCD 321
  55. 0x00000048: 00000145 E... DCD 325
  56. 0x0000004c: 00000149 I... DCD 329
  57. 0x00000050: 0000014d M... DCD 333
  58. 0x00000054: 00000151 Q... DCD 337
  59. 0x00000058: 00000155 U... DCD 341
  60. 0x0000005c: 00000159 Y... DCD 345
  61. 0x00000060: 0000015d ]... DCD 349
  62. 0x00000064: 00000125 %... DCD 293
  63. 0x00000068: 00000125 %... DCD 293
  64. 0x0000006c: 00000000 .... DCD 0
  65. 0x00000070: 00000000 .... DCD 0
  66. 0x00000074: 00000000 .... DCD 0
  67. 0x00000078: 00000000 .... DCD 0
  68. 0x0000007c: 00000000 .... DCD 0
  69. 0x00000080: 00000000 .... DCD 0
  70. 0x00000084: 00000125 %... DCD 293
  71. 0x00000088: 00000125 %... DCD 293
  72. 0x0000008c: 00000125 %... DCD 293
  73. 0x00000090: 00000125 %... DCD 293
  74. 0x00000094: 00000125 %... DCD 293
  75. 0x00000098: 00000125 %... DCD 293
  76. 0x0000009c: 00000125 %... DCD 293
  77. 0x000000a0: 00000125 %... DCD 293
  78. 0x000000a4: 00000125 %... DCD 293
  79. 0x000000a8: 00000125 %... DCD 293
  80. 0x000000ac: 00000125 %... DCD 293
  81. 0x000000b0: 00000125 %... DCD 293
  82. 0x000000b4: 00000125 %... DCD 293
  83. 0x000000b8: 00000125 %... DCD 293
  84. 0x000000bc: 00000125 %... DCD 293
  85. $t
  86. .ARM.Collect$$$$00000000
  87. .ARM.Collect$$$$00000001
  88. __Vectors_End
  89. __main
  90. _main_stk
  91. 0x000000c0: 4804 .H LDR r0,__lit__00000000 ; [0xd4] = 0x10014000
  92. 0x000000c2: 4685 .F MOV sp,r0
  93. .ARM.Collect$$$$00000004
  94. _main_scatterload
  95. 0x000000c4: f001fa9a .... BL __scatterload ; 0x15fc
  96. .ARM.Collect$$$$00000008
  97. .ARM.Collect$$$$0000000A
  98. .ARM.Collect$$$$0000000B
  99. __main_after_scatterload
  100. _main_clock
  101. _main_cpp_init
  102. _main_init
  103. 0x000000c8: 4800 .H LDR r0,[pc,#0] ; [0xcc] = 0x109
  104. 0x000000ca: 4700 .G BX r0
  105. $d
  106. 0x000000cc: 00000109 .... DCD 265
  107. $t
  108. .ARM.Collect$$$$0000000E
  109. __rt_lib_shutdown_fini
  110. 0x000000d0: 46c0 .F MOV r8,r8
  111. 0x000000d2: 46c0 .F MOV r8,r8
  112. $d
  113. .ARM.Collect$$$$00002712
  114. __lit__00000000
  115. .ARM.Collect$$$$0000000F
  116. .ARM.Collect$$$$00000011
  117. __rt_final_cpp
  118. __rt_final_exit
  119. 0x000000d4: 10014000 .@.. DCD 268517376
  120. $t
  121. .text
  122. ADC_Configuration
  123. 0x000000d8: b508 .. PUSH {r3,lr}
  124. 0x000000da: 21c0 .! MOVS r1,#0xc0
  125. 0x000000dc: 2017 . MOVS r0,#0x17
  126. 0x000000de: f000fc1b .... BL GPIO_SetGpioMultFunction ; 0x918
  127. 0x000000e2: 2105 .! MOVS r1,#5
  128. 0x000000e4: 4668 hF MOV r0,sp
  129. 0x000000e6: 7001 .p STRB r1,[r0,#0]
  130. 0x000000e8: 2100 .! MOVS r1,#0
  131. 0x000000ea: 7041 Ap STRB r1,[r0,#1]
  132. 0x000000ec: f000fccd .... BL ADC_Init ; 0xa8a
  133. 0x000000f0: bd08 .. POP {r3,pc}
  134. ADC_Test
  135. 0x000000f2: b510 .. PUSH {r4,lr}
  136. 0x000000f4: 2400 .$ MOVS r4,#0
  137. 0x000000f6: 20ff . MOVS r0,#0xff
  138. 0x000000f8: 30f5 .0 ADDS r0,r0,#0xf5
  139. 0x000000fa: f000ff0a .... BL SYS_delay_ms ; 0xf12
  140. 0x000000fe: 2005 . MOVS r0,#5
  141. 0x00000100: f000fd24 ..$. BL ADC_GetVoltage ; 0xb4c
  142. 0x00000104: 4604 .F MOV r4,r0
  143. 0x00000106: bd10 .. POP {r4,pc}
  144. main
  145. 0x00000108: f000fdd5 .... BL SYS_TimerInit ; 0xcb6
  146. 0x0000010c: f7ffffe4 .... BL ADC_Configuration ; 0xd8
  147. 0x00000110: e005 .. B 0x11e ; main + 22
  148. 0x00000112: 20ff . MOVS r0,#0xff
  149. 0x00000114: 30f5 .0 ADDS r0,r0,#0xf5
  150. 0x00000116: f000fefc .... BL SYS_delay_ms ; 0xf12
  151. 0x0000011a: f7ffffea .... BL ADC_Test ; 0xf2
  152. 0x0000011e: e7f8 .. B 0x112 ; main + 10
  153. .text
  154. Reset_Handler
  155. 0x00000120: 4801 .H LDR r0,[pc,#4] ; [0x128] = 0xc1
  156. 0x00000122: 4700 .G BX r0
  157. GPIO0_IRQHandler
  158. GPIO10_IRQHandler
  159. GPIO11_IRQHandler
  160. GPIO12_IRQHandler
  161. GPIO13_IRQHandler
  162. GPIO14_IRQHandler
  163. GPIO15_IRQHandler
  164. GPIO16_IRQHandler
  165. GPIO17_IRQHandler
  166. GPIO18_IRQHandler
  167. GPIO19_IRQHandler
  168. GPIO1_IRQHandler
  169. GPIO20_IRQHandler
  170. GPIO21_IRQHandler
  171. GPIO22_IRQHandler
  172. GPIO8_IRQHandler
  173. GPIO9_IRQHandler
  174. SysTick_Handler
  175. 0x00000124: e7fe .. B GPIO0_IRQHandler ; 0x124
  176. $d
  177. 0x00000126: 0000 .. DCW 0
  178. 0x00000128: 000000c1 .... DCD 193
  179. $t
  180. .text
  181. NMI_Handler
  182. 0x0000012c: bf00 .. NOP
  183. 0x0000012e: e7fe .. B 0x12e ; NMI_Handler + 2
  184. HardFault_Handler
  185. 0x00000130: bf00 .. NOP
  186. 0x00000132: e7fe .. B 0x132 ; HardFault_Handler + 2
  187. SVC_Handler
  188. 0x00000134: bf00 .. NOP
  189. 0x00000136: e7fe .. B 0x136 ; SVC_Handler + 2
  190. PendSV_Handler
  191. 0x00000138: bf00 .. NOP
  192. 0x0000013a: e7fe .. B 0x13a ; PendSV_Handler + 2
  193. USB_IRQHandler
  194. 0x0000013c: bf00 .. NOP
  195. 0x0000013e: e7fe .. B 0x13e ; USB_IRQHandler + 2
  196. IIC_IRQHandler
  197. 0x00000140: bf00 .. NOP
  198. 0x00000142: e7fe .. B 0x142 ; IIC_IRQHandler + 2
  199. QSPI_IRQHandler
  200. 0x00000144: bf00 .. NOP
  201. 0x00000146: e7fe .. B 0x146 ; QSPI_IRQHandler + 2
  202. SPI_IRQHandler
  203. 0x00000148: bf00 .. NOP
  204. 0x0000014a: e7fe .. B 0x14a ; SPI_IRQHandler + 2
  205. UART_IRQHandler
  206. 0x0000014c: bf00 .. NOP
  207. 0x0000014e: e7fe .. B 0x14e ; UART_IRQHandler + 2
  208. UARTB_IRQHandler
  209. 0x00000150: bf00 .. NOP
  210. 0x00000152: e7fe .. B 0x152 ; UARTB_IRQHandler + 2
  211. ADC_IRQHandler
  212. 0x00000154: bf00 .. NOP
  213. 0x00000156: e7fe .. B 0x156 ; ADC_IRQHandler + 2
  214. IIS_IRQHandler
  215. 0x00000158: bf00 .. NOP
  216. 0x0000015a: e7fe .. B 0x15a ; IIS_IRQHandler + 2
  217. BT_IRQHandler
  218. 0x0000015c: bf00 .. NOP
  219. 0x0000015e: e7fe .. B 0x15e ; BT_IRQHandler + 2
  220. .text
  221. USART_Init
  222. 0x00000160: b5fe .. PUSH {r1-r7,lr}
  223. 0x00000162: 4605 .F MOV r5,r0
  224. 0x00000164: 460c .F MOV r4,r1
  225. 0x00000166: 2000 . MOVS r0,#0
  226. 0x00000168: 9001 .. STR r0,[sp,#4]
  227. 0x0000016a: 2600 .& MOVS r6,#0
  228. 0x0000016c: 9000 .. STR r0,[sp,#0]
  229. 0x0000016e: 2700 .' MOVS r7,#0
  230. 0x00000170: 2001 . MOVS r0,#1
  231. 0x00000172: 49f7 .I LDR r1,[pc,#988] ; [0x550] = 0x10008040
  232. 0x00000174: 70c8 .p STRB r0,[r1,#3]
  233. 0x00000176: 4608 .F MOV r0,r1
  234. 0x00000178: 7c40 @| LDRB r0,[r0,#0x11]
  235. 0x0000017a: 2180 .! MOVS r1,#0x80
  236. 0x0000017c: 4388 .C BICS r0,r0,r1
  237. 0x0000017e: 49f4 .I LDR r1,[pc,#976] ; [0x550] = 0x10008040
  238. 0x00000180: 7448 Ht STRB r0,[r1,#0x11]
  239. 0x00000182: 2c00 ., CMP r4,#0
  240. 0x00000184: d104 .. BNE 0x190 ; USART_Init + 48
  241. 0x00000186: 4af3 .J LDR r2,[pc,#972] ; [0x554] = 0x1660
  242. 0x00000188: 212b +! MOVS r1,#0x2b
  243. 0x0000018a: a0f3 .. ADR r0,{pc}+0x3ce ; 0x558
  244. 0x0000018c: f001f969 ..i. BL _assert_handler ; 0x1462
  245. 0x00000190: 2d00 .- CMP r5,#0
  246. 0x00000192: d006 .. BEQ 0x1a2 ; USART_Init + 66
  247. 0x00000194: 2d01 .- CMP r5,#1
  248. 0x00000196: d004 .. BEQ 0x1a2 ; USART_Init + 66
  249. 0x00000198: 4aee .J LDR r2,[pc,#952] ; [0x554] = 0x1660
  250. 0x0000019a: 212c ,! MOVS r1,#0x2c
  251. 0x0000019c: a0ee .. ADR r0,{pc}+0x3bc ; 0x558
  252. 0x0000019e: f001f960 ..`. BL _assert_handler ; 0x1462
  253. 0x000001a2: 6820 h LDR r0,[r4,#0]
  254. 0x000001a4: 2800 .( CMP r0,#0
  255. 0x000001a6: d003 .. BEQ 0x1b0 ; USART_Init + 80
  256. 0x000001a8: 49f8 .I LDR r1,[pc,#992] ; [0x58c] = 0xa710
  257. 0x000001aa: 6820 h LDR r0,[r4,#0]
  258. 0x000001ac: 4288 .B CMP r0,r1
  259. 0x000001ae: d904 .. BLS 0x1ba ; USART_Init + 90
  260. 0x000001b0: 4ae8 .J LDR r2,[pc,#928] ; [0x554] = 0x1660
  261. 0x000001b2: 212d -! MOVS r1,#0x2d
  262. 0x000001b4: a0e8 .. ADR r0,{pc}+0x3a4 ; 0x558
  263. 0x000001b6: f001f954 ..T. BL _assert_handler ; 0x1462
  264. 0x000001ba: 88a0 .. LDRH r0,[r4,#4]
  265. 0x000001bc: 2800 .( CMP r0,#0
  266. 0x000001be: d007 .. BEQ 0x1d0 ; USART_Init + 112
  267. 0x000001c0: 88a0 .. LDRH r0,[r4,#4]
  268. 0x000001c2: 2804 .( CMP r0,#4
  269. 0x000001c4: d004 .. BEQ 0x1d0 ; USART_Init + 112
  270. 0x000001c6: 4ae3 .J LDR r2,[pc,#908] ; [0x554] = 0x1660
  271. 0x000001c8: 212e .! MOVS r1,#0x2e
  272. 0x000001ca: a0e3 .. ADR r0,{pc}+0x38e ; 0x558
  273. 0x000001cc: f001f949 ..I. BL _assert_handler ; 0x1462
  274. 0x000001d0: 88e0 .. LDRH r0,[r4,#6]
  275. 0x000001d2: 2800 .( CMP r0,#0
  276. 0x000001d4: d007 .. BEQ 0x1e6 ; USART_Init + 134
  277. 0x000001d6: 88e0 .. LDRH r0,[r4,#6]
  278. 0x000001d8: 2808 .( CMP r0,#8
  279. 0x000001da: d004 .. BEQ 0x1e6 ; USART_Init + 134
  280. 0x000001dc: 4add .J LDR r2,[pc,#884] ; [0x554] = 0x1660
  281. 0x000001de: 212f /! MOVS r1,#0x2f
  282. 0x000001e0: a0dd .. ADR r0,{pc}+0x378 ; 0x558
  283. 0x000001e2: f001f93e ..>. BL _assert_handler ; 0x1462
  284. 0x000001e6: 8920 . LDRH r0,[r4,#8]
  285. 0x000001e8: 2800 .( CMP r0,#0
  286. 0x000001ea: d007 .. BEQ 0x1fc ; USART_Init + 156
  287. 0x000001ec: 8920 . LDRH r0,[r4,#8]
  288. 0x000001ee: 2802 .( CMP r0,#2
  289. 0x000001f0: d004 .. BEQ 0x1fc ; USART_Init + 156
  290. 0x000001f2: 4ad8 .J LDR r2,[pc,#864] ; [0x554] = 0x1660
  291. 0x000001f4: 2130 0! MOVS r1,#0x30
  292. 0x000001f6: a0d8 .. ADR r0,{pc}+0x362 ; 0x558
  293. 0x000001f8: f001f933 ..3. BL _assert_handler ; 0x1462
  294. 0x000001fc: 8960 `. LDRH r0,[r4,#0xa]
  295. 0x000001fe: 2840 @( CMP r0,#0x40
  296. 0x00000200: d007 .. BEQ 0x212 ; USART_Init + 178
  297. 0x00000202: 8960 `. LDRH r0,[r4,#0xa]
  298. 0x00000204: 2800 .( CMP r0,#0
  299. 0x00000206: d004 .. BEQ 0x212 ; USART_Init + 178
  300. 0x00000208: 4ad2 .J LDR r2,[pc,#840] ; [0x554] = 0x1660
  301. 0x0000020a: 2131 1! MOVS r1,#0x31
  302. 0x0000020c: a0d2 .. ADR r0,{pc}+0x34c ; 0x558
  303. 0x0000020e: f001f928 ..(. BL _assert_handler ; 0x1462
  304. 0x00000212: 89a0 .. LDRH r0,[r4,#0xc]
  305. 0x00000214: 2800 .( CMP r0,#0
  306. 0x00000216: d007 .. BEQ 0x228 ; USART_Init + 200
  307. 0x00000218: 89a0 .. LDRH r0,[r4,#0xc]
  308. 0x0000021a: 2810 .( CMP r0,#0x10
  309. 0x0000021c: d004 .. BEQ 0x228 ; USART_Init + 200
  310. 0x0000021e: 4acd .J LDR r2,[pc,#820] ; [0x554] = 0x1660
  311. 0x00000220: 2132 2! MOVS r1,#0x32
  312. 0x00000222: a0cd .. ADR r0,{pc}+0x336 ; 0x558
  313. 0x00000224: f001f91d .... BL _assert_handler ; 0x1462
  314. 0x00000228: 89e0 .. LDRH r0,[r4,#0xe]
  315. 0x0000022a: 2800 .( CMP r0,#0
  316. 0x0000022c: dd04 .. BLE 0x238 ; USART_Init + 216
  317. 0x0000022e: 89e0 .. LDRH r0,[r4,#0xe]
  318. 0x00000230: 21ff .! MOVS r1,#0xff
  319. 0x00000232: 3101 .1 ADDS r1,#1
  320. 0x00000234: 4288 .B CMP r0,r1
  321. 0x00000236: dd04 .. BLE 0x242 ; USART_Init + 226
  322. 0x00000238: 4ac6 .J LDR r2,[pc,#792] ; [0x554] = 0x1660
  323. 0x0000023a: 2133 3! MOVS r1,#0x33
  324. 0x0000023c: a0c6 .. ADR r0,{pc}+0x31c ; 0x558
  325. 0x0000023e: f001f910 .... BL _assert_handler ; 0x1462
  326. 0x00000242: 8a20 . LDRH r0,[r4,#0x10]
  327. 0x00000244: 2800 .( CMP r0,#0
  328. 0x00000246: dd04 .. BLE 0x252 ; USART_Init + 242
  329. 0x00000248: 8a20 . LDRH r0,[r4,#0x10]
  330. 0x0000024a: 21ff .! MOVS r1,#0xff
  331. 0x0000024c: 3101 .1 ADDS r1,#1
  332. 0x0000024e: 4288 .B CMP r0,r1
  333. 0x00000250: dd04 .. BLE 0x25c ; USART_Init + 252
  334. 0x00000252: 4ac0 .J LDR r2,[pc,#768] ; [0x554] = 0x1660
  335. 0x00000254: 2134 4! MOVS r1,#0x34
  336. 0x00000256: a0c0 .. ADR r0,{pc}+0x302 ; 0x558
  337. 0x00000258: f001f903 .... BL _assert_handler ; 0x1462
  338. 0x0000025c: 8820 . LDRH r0,[r4,#0]
  339. 0x0000025e: 0129 ). LSLS r1,r5,#4
  340. 0x00000260: 4acb .J LDR r2,[pc,#812] ; [0x590] = 0x10010514
  341. 0x00000262: 5250 PR STRH r0,[r2,r1]
  342. 0x00000264: 2d00 .- CMP r5,#0
  343. 0x00000266: d112 .. BNE 0x28e ; USART_Init + 302
  344. 0x00000268: 4eca .N LDR r6,[pc,#808] ; [0x594] = 0x10010534
  345. 0x0000026a: 0129 ). LSLS r1,r5,#4
  346. 0x0000026c: 1889 .. ADDS r1,r1,r2
  347. 0x0000026e: 810e .. STRH r6,[r1,#8]
  348. 0x00000270: 89e0 .. LDRH r0,[r4,#0xe]
  349. 0x00000272: 1980 .. ADDS r0,r0,r6
  350. 0x00000274: 0129 ). LSLS r1,r5,#4
  351. 0x00000276: 1889 .. ADDS r1,r1,r2
  352. 0x00000278: 8148 H. STRH r0,[r1,#0xa]
  353. 0x0000027a: 4ec7 .N LDR r6,[pc,#796] ; [0x598] = 0x10010634
  354. 0x0000027c: 0129 ). LSLS r1,r5,#4
  355. 0x0000027e: 1889 .. ADDS r1,r1,r2
  356. 0x00000280: 804e N. STRH r6,[r1,#2]
  357. 0x00000282: 8a20 . LDRH r0,[r4,#0x10]
  358. 0x00000284: 1980 .. ADDS r0,r0,r6
  359. 0x00000286: 0129 ). LSLS r1,r5,#4
  360. 0x00000288: 1889 .. ADDS r1,r1,r2
  361. 0x0000028a: 8088 .. STRH r0,[r1,#4]
  362. 0x0000028c: e012 .. B 0x2b4 ; USART_Init + 340
  363. 0x0000028e: 4ec3 .N LDR r6,[pc,#780] ; [0x59c] = 0x10010734
  364. 0x00000290: 0129 ). LSLS r1,r5,#4
  365. 0x00000292: 4abf .J LDR r2,[pc,#764] ; [0x590] = 0x10010514
  366. 0x00000294: 1889 .. ADDS r1,r1,r2
  367. 0x00000296: 810e .. STRH r6,[r1,#8]
  368. 0x00000298: 89e0 .. LDRH r0,[r4,#0xe]
  369. 0x0000029a: 1980 .. ADDS r0,r0,r6
  370. 0x0000029c: 0129 ). LSLS r1,r5,#4
  371. 0x0000029e: 1889 .. ADDS r1,r1,r2
  372. 0x000002a0: 8148 H. STRH r0,[r1,#0xa]
  373. 0x000002a2: 4ebf .N LDR r6,[pc,#764] ; [0x5a0] = 0x10010834
  374. 0x000002a4: 0129 ). LSLS r1,r5,#4
  375. 0x000002a6: 1889 .. ADDS r1,r1,r2
  376. 0x000002a8: 804e N. STRH r6,[r1,#2]
  377. 0x000002aa: 8a20 . LDRH r0,[r4,#0x10]
  378. 0x000002ac: 1980 .. ADDS r0,r0,r6
  379. 0x000002ae: 0129 ). LSLS r1,r5,#4
  380. 0x000002b0: 1889 .. ADDS r1,r1,r2
  381. 0x000002b2: 8088 .. STRH r0,[r1,#4]
  382. 0x000002b4: 7aa0 .z LDRB r0,[r4,#0xa]
  383. 0x000002b6: 7b21 !{ LDRB r1,[r4,#0xc]
  384. 0x000002b8: 4308 .C ORRS r0,r0,r1
  385. 0x000002ba: 7a21 !z LDRB r1,[r4,#8]
  386. 0x000002bc: 4308 .C ORRS r0,r0,r1
  387. 0x000002be: 79a1 .y LDRB r1,[r4,#6]
  388. 0x000002c0: 4308 .C ORRS r0,r0,r1
  389. 0x000002c2: 7921 !y LDRB r1,[r4,#4]
  390. 0x000002c4: 4308 .C ORRS r0,r0,r1
  391. 0x000002c6: 2181 .! MOVS r1,#0x81
  392. 0x000002c8: 4308 .C ORRS r0,r0,r1
  393. 0x000002ca: b2c0 .. UXTB r0,r0
  394. 0x000002cc: 9001 .. STR r0,[sp,#4]
  395. 0x000002ce: 0129 ). LSLS r1,r5,#4
  396. 0x000002d0: 4aaf .J LDR r2,[pc,#700] ; [0x590] = 0x10010514
  397. 0x000002d2: 1889 .. ADDS r1,r1,r2
  398. 0x000002d4: 9801 .. LDR r0,[sp,#4]
  399. 0x000002d6: 7388 .s STRB r0,[r1,#0xe]
  400. 0x000002d8: 2d00 .- CMP r5,#0
  401. 0x000002da: d104 .. BNE 0x2e6 ; USART_Init + 390
  402. 0x000002dc: 48b1 .H LDR r0,[pc,#708] ; [0x5a4] = 0x8060
  403. 0x000002de: 9000 .. STR r0,[sp,#0]
  404. 0x000002e0: 4f9b .O LDR r7,[pc,#620] ; [0x550] = 0x10008040
  405. 0x000002e2: 3712 .7 ADDS r7,r7,#0x12
  406. 0x000002e4: e004 .. B 0x2f0 ; USART_Init + 400
  407. 0x000002e6: 48af .H LDR r0,[pc,#700] ; [0x5a4] = 0x8060
  408. 0x000002e8: 3011 .0 ADDS r0,r0,#0x11
  409. 0x000002ea: 9000 .. STR r0,[sp,#0]
  410. 0x000002ec: 4f98 .O LDR r7,[pc,#608] ; [0x550] = 0x10008040
  411. 0x000002ee: 3732 27 ADDS r7,r7,#0x32
  412. 0x000002f0: 2101 .! MOVS r1,#1
  413. 0x000002f2: 0709 .. LSLS r1,r1,#28
  414. 0x000002f4: 9800 .. LDR r0,[sp,#0]
  415. 0x000002f6: 1840 @. ADDS r0,r0,r1
  416. 0x000002f8: 7800 .x LDRB r0,[r0,#0]
  417. 0x000002fa: 0841 A. LSRS r1,r0,#1
  418. 0x000002fc: 0049 I. LSLS r1,r1,#1
  419. 0x000002fe: 2201 ." MOVS r2,#1
  420. 0x00000300: 0712 .. LSLS r2,r2,#28
  421. 0x00000302: 9800 .. LDR r0,[sp,#0]
  422. 0x00000304: 1880 .. ADDS r0,r0,r2
  423. 0x00000306: 7001 .p STRB r1,[r0,#0]
  424. 0x00000308: 0128 (. LSLS r0,r5,#4
  425. 0x0000030a: 4aa1 .J LDR r2,[pc,#644] ; [0x590] = 0x10010514
  426. 0x0000030c: 5a11 .Z LDRH r1,[r2,r0]
  427. 0x0000030e: 4638 8F MOV r0,r7
  428. 0x00000310: f000fa14 .... BL HW_REG_16BIT ; 0x73c
  429. 0x00000314: 0128 (. LSLS r0,r5,#4
  430. 0x00000316: 4a9e .J LDR r2,[pc,#632] ; [0x590] = 0x10010514
  431. 0x00000318: 1880 .. ADDS r0,r0,r2
  432. 0x0000031a: 8901 .. LDRH r1,[r0,#8]
  433. 0x0000031c: 4638 8F MOV r0,r7
  434. 0x0000031e: 3008 .0 ADDS r0,r0,#8
  435. 0x00000320: f000fa0c .... BL HW_REG_16BIT ; 0x73c
  436. 0x00000324: 0128 (. LSLS r0,r5,#4
  437. 0x00000326: 4a9a .J LDR r2,[pc,#616] ; [0x590] = 0x10010514
  438. 0x00000328: 1880 .. ADDS r0,r0,r2
  439. 0x0000032a: 8941 A. LDRH r1,[r0,#0xa]
  440. 0x0000032c: 4638 8F MOV r0,r7
  441. 0x0000032e: 300a .0 ADDS r0,r0,#0xa
  442. 0x00000330: f000fa04 .... BL HW_REG_16BIT ; 0x73c
  443. 0x00000334: 0128 (. LSLS r0,r5,#4
  444. 0x00000336: 4a96 .J LDR r2,[pc,#600] ; [0x590] = 0x10010514
  445. 0x00000338: 1880 .. ADDS r0,r0,r2
  446. 0x0000033a: 8901 .. LDRH r1,[r0,#8]
  447. 0x0000033c: 4638 8F MOV r0,r7
  448. 0x0000033e: 300c .0 ADDS r0,r0,#0xc
  449. 0x00000340: f000f9fc .... BL HW_REG_16BIT ; 0x73c
  450. 0x00000344: 0128 (. LSLS r0,r5,#4
  451. 0x00000346: 4a92 .J LDR r2,[pc,#584] ; [0x590] = 0x10010514
  452. 0x00000348: 1880 .. ADDS r0,r0,r2
  453. 0x0000034a: 8841 A. LDRH r1,[r0,#2]
  454. 0x0000034c: 1cb8 .. ADDS r0,r7,#2
  455. 0x0000034e: f000f9f5 .... BL HW_REG_16BIT ; 0x73c
  456. 0x00000352: 0128 (. LSLS r0,r5,#4
  457. 0x00000354: 4a8e .J LDR r2,[pc,#568] ; [0x590] = 0x10010514
  458. 0x00000356: 1880 .. ADDS r0,r0,r2
  459. 0x00000358: 8881 .. LDRH r1,[r0,#4]
  460. 0x0000035a: 1d38 8. ADDS r0,r7,#4
  461. 0x0000035c: f000f9ee .... BL HW_REG_16BIT ; 0x73c
  462. 0x00000360: 0128 (. LSLS r0,r5,#4
  463. 0x00000362: 4a8b .J LDR r2,[pc,#556] ; [0x590] = 0x10010514
  464. 0x00000364: 1880 .. ADDS r0,r0,r2
  465. 0x00000366: 8841 A. LDRH r1,[r0,#2]
  466. 0x00000368: 1db8 .. ADDS r0,r7,#6
  467. 0x0000036a: f000f9e7 .... BL HW_REG_16BIT ; 0x73c
  468. 0x0000036e: 2101 .! MOVS r1,#1
  469. 0x00000370: 0709 .. LSLS r1,r1,#28
  470. 0x00000372: 9800 .. LDR r0,[sp,#0]
  471. 0x00000374: 1840 @. ADDS r0,r0,r1
  472. 0x00000376: 7800 .x LDRB r0,[r0,#0]
  473. 0x00000378: 0129 ). LSLS r1,r5,#4
  474. 0x0000037a: 4a85 .J LDR r2,[pc,#532] ; [0x590] = 0x10010514
  475. 0x0000037c: 1889 .. ADDS r1,r1,r2
  476. 0x0000037e: 7b89 .{ LDRB r1,[r1,#0xe]
  477. 0x00000380: 4308 .C ORRS r0,r0,r1
  478. 0x00000382: 2201 ." MOVS r2,#1
  479. 0x00000384: 0712 .. LSLS r2,r2,#28
  480. 0x00000386: 9900 .. LDR r1,[sp,#0]
  481. 0x00000388: 1889 .. ADDS r1,r1,r2
  482. 0x0000038a: 7008 .p STRB r0,[r1,#0]
  483. 0x0000038c: bdfe .. POP {r1-r7,pc}
  484. USART_DeInit
  485. 0x0000038e: b510 .. PUSH {r4,lr}
  486. 0x00000390: 4604 .F MOV r4,r0
  487. 0x00000392: 2c00 ., CMP r4,#0
  488. 0x00000394: d006 .. BEQ 0x3a4 ; USART_DeInit + 22
  489. 0x00000396: 2c01 ., CMP r4,#1
  490. 0x00000398: d004 .. BEQ 0x3a4 ; USART_DeInit + 22
  491. 0x0000039a: 4a83 .J LDR r2,[pc,#524] ; [0x5a8] = 0x166b
  492. 0x0000039c: 2171 q! MOVS r1,#0x71
  493. 0x0000039e: a06e n. ADR r0,{pc}+0x1ba ; 0x558
  494. 0x000003a0: f001f85f .._. BL _assert_handler ; 0x1462
  495. 0x000003a4: 2c00 ., CMP r4,#0
  496. 0x000003a6: d10b .. BNE 0x3c0 ; USART_DeInit + 50
  497. 0x000003a8: 4869 iH LDR r0,[pc,#420] ; [0x550] = 0x10008040
  498. 0x000003aa: 3020 0 ADDS r0,r0,#0x20
  499. 0x000003ac: 7800 .x LDRB r0,[r0,#0]
  500. 0x000003ae: 2101 .! MOVS r1,#1
  501. 0x000003b0: 4308 .C ORRS r0,r0,r1
  502. 0x000003b2: 4967 gI LDR r1,[pc,#412] ; [0x550] = 0x10008040
  503. 0x000003b4: 3120 1 ADDS r1,r1,#0x20
  504. 0x000003b6: 7008 .p STRB r0,[r1,#0]
  505. 0x000003b8: 4608 .F MOV r0,r1
  506. 0x000003ba: 7800 .x LDRB r0,[r0,#0]
  507. 0x000003bc: 7008 .p STRB r0,[r1,#0]
  508. 0x000003be: e00a .. B 0x3d6 ; USART_DeInit + 72
  509. 0x000003c0: 4863 cH LDR r0,[pc,#396] ; [0x550] = 0x10008040
  510. 0x000003c2: 3020 0 ADDS r0,r0,#0x20
  511. 0x000003c4: 7c40 @| LDRB r0,[r0,#0x11]
  512. 0x000003c6: 2101 .! MOVS r1,#1
  513. 0x000003c8: 4308 .C ORRS r0,r0,r1
  514. 0x000003ca: 4961 aI LDR r1,[pc,#388] ; [0x550] = 0x10008040
  515. 0x000003cc: 3120 1 ADDS r1,r1,#0x20
  516. 0x000003ce: 7448 Ht STRB r0,[r1,#0x11]
  517. 0x000003d0: 4608 .F MOV r0,r1
  518. 0x000003d2: 7c40 @| LDRB r0,[r0,#0x11]
  519. 0x000003d4: 7448 Ht STRB r0,[r1,#0x11]
  520. 0x000003d6: bd10 .. POP {r4,pc}
  521. USART_SendData
  522. 0x000003d8: b5f8 .. PUSH {r3-r7,lr}
  523. 0x000003da: 4604 .F MOV r4,r0
  524. 0x000003dc: 460f .F MOV r7,r1
  525. 0x000003de: 2500 .% MOVS r5,#0
  526. 0x000003e0: 2600 .& MOVS r6,#0
  527. 0x000003e2: 2c00 ., CMP r4,#0
  528. 0x000003e4: d006 .. BEQ 0x3f4 ; USART_SendData + 28
  529. 0x000003e6: 2c01 ., CMP r4,#1
  530. 0x000003e8: d004 .. BEQ 0x3f4 ; USART_SendData + 28
  531. 0x000003ea: 4a70 pJ LDR r2,[pc,#448] ; [0x5ac] = 0x1678
  532. 0x000003ec: 2199 .! MOVS r1,#0x99
  533. 0x000003ee: a05a Z. ADR r0,{pc}+0x16a ; 0x558
  534. 0x000003f0: f001f837 ..7. BL _assert_handler ; 0x1462
  535. 0x000003f4: 2c00 ., CMP r4,#0
  536. 0x000003f6: d102 .. BNE 0x3fe ; USART_SendData + 38
  537. 0x000003f8: 4d55 UM LDR r5,[pc,#340] ; [0x550] = 0x10008040
  538. 0x000003fa: 3512 .5 ADDS r5,r5,#0x12
  539. 0x000003fc: e001 .. B 0x402 ; USART_SendData + 42
  540. 0x000003fe: 4d54 TM LDR r5,[pc,#336] ; [0x550] = 0x10008040
  541. 0x00000400: 3532 25 ADDS r5,r5,#0x32
  542. 0x00000402: 4628 (F MOV r0,r5
  543. 0x00000404: 3008 .0 ADDS r0,r0,#8
  544. 0x00000406: 2800 .( CMP r0,#0
  545. 0x00000408: d104 .. BNE 0x414 ; USART_SendData + 60
  546. 0x0000040a: 4a68 hJ LDR r2,[pc,#416] ; [0x5ac] = 0x1678
  547. 0x0000040c: 21a0 .! MOVS r1,#0xa0
  548. 0x0000040e: a052 R. ADR r0,{pc}+0x14a ; 0x558
  549. 0x00000410: f001f827 ..'. BL _assert_handler ; 0x1462
  550. 0x00000414: 2c00 ., CMP r4,#0
  551. 0x00000416: d109 .. BNE 0x42c ; USART_SendData + 84
  552. 0x00000418: bf00 .. NOP
  553. 0x0000041a: 4865 eH LDR r0,[pc,#404] ; [0x5b0] = 0x10008300
  554. 0x0000041c: 7b80 .{ LDRB r0,[r0,#0xe]
  555. 0x0000041e: 4964 dI LDR r1,[pc,#400] ; [0x5b0] = 0x10008300
  556. 0x00000420: 7bc9 .{ LDRB r1,[r1,#0xf]
  557. 0x00000422: 0209 .. LSLS r1,r1,#8
  558. 0x00000424: 4308 .C ORRS r0,r0,r1
  559. 0x00000426: 2800 .( CMP r0,#0
  560. 0x00000428: dcf7 .. BGT 0x41a ; USART_SendData + 66
  561. 0x0000042a: e00a .. B 0x442 ; USART_SendData + 106
  562. 0x0000042c: bf00 .. NOP
  563. 0x0000042e: 4860 `H LDR r0,[pc,#384] ; [0x5b0] = 0x10008300
  564. 0x00000430: 3040 @0 ADDS r0,r0,#0x40
  565. 0x00000432: 7d80 .} LDRB r0,[r0,#0x16]
  566. 0x00000434: 495e ^I LDR r1,[pc,#376] ; [0x5b0] = 0x10008300
  567. 0x00000436: 3140 @1 ADDS r1,r1,#0x40
  568. 0x00000438: 7dc9 .} LDRB r1,[r1,#0x17]
  569. 0x0000043a: 0209 .. LSLS r1,r1,#8
  570. 0x0000043c: 4308 .C ORRS r0,r0,r1
  571. 0x0000043e: 2800 .( CMP r0,#0
  572. 0x00000440: dcf5 .. BGT 0x42e ; USART_SendData + 86
  573. 0x00000442: 4628 (F MOV r0,r5
  574. 0x00000444: 300c .0 ADDS r0,r0,#0xc
  575. 0x00000446: f000f982 .... BL HR_REG_16BIT ; 0x74e
  576. 0x0000044a: 4606 .F MOV r6,r0
  577. 0x0000044c: 4859 YH LDR r0,[pc,#356] ; [0x5b4] = 0x10010000
  578. 0x0000044e: 1830 0. ADDS r0,r6,r0
  579. 0x00000450: 7007 .p STRB r7,[r0,#0]
  580. 0x00000452: 4628 (F MOV r0,r5
  581. 0x00000454: 300a .0 ADDS r0,r0,#0xa
  582. 0x00000456: f000f97a ..z. BL HR_REG_16BIT ; 0x74e
  583. 0x0000045a: 42b0 .B CMP r0,r6
  584. 0x0000045c: d105 .. BNE 0x46a ; USART_SendData + 146
  585. 0x0000045e: 4628 (F MOV r0,r5
  586. 0x00000460: 3008 .0 ADDS r0,r0,#8
  587. 0x00000462: f000f974 ..t. BL HR_REG_16BIT ; 0x74e
  588. 0x00000466: 4606 .F MOV r6,r0
  589. 0x00000468: e001 .. B 0x46e ; USART_SendData + 150
  590. 0x0000046a: 1c70 p. ADDS r0,r6,#1
  591. 0x0000046c: b286 .. UXTH r6,r0
  592. 0x0000046e: 4631 1F MOV r1,r6
  593. 0x00000470: 4628 (F MOV r0,r5
  594. 0x00000472: 300c .0 ADDS r0,r0,#0xc
  595. 0x00000474: f000f962 ..b. BL HW_REG_16BIT ; 0x73c
  596. 0x00000478: bdf8 .. POP {r3-r7,pc}
  597. USART_ReceiveData
  598. 0x0000047a: b5f8 .. PUSH {r3-r7,lr}
  599. 0x0000047c: 4604 .F MOV r4,r0
  600. 0x0000047e: 2500 .% MOVS r5,#0
  601. 0x00000480: 2600 .& MOVS r6,#0
  602. 0x00000482: 2700 .' MOVS r7,#0
  603. 0x00000484: 2c00 ., CMP r4,#0
  604. 0x00000486: d006 .. BEQ 0x496 ; USART_ReceiveData + 28
  605. 0x00000488: 2c01 ., CMP r4,#1
  606. 0x0000048a: d004 .. BEQ 0x496 ; USART_ReceiveData + 28
  607. 0x0000048c: 4a4a JJ LDR r2,[pc,#296] ; [0x5b8] = 0x1687
  608. 0x0000048e: 21b9 .! MOVS r1,#0xb9
  609. 0x00000490: a031 1. ADR r0,{pc}+0xc8 ; 0x558
  610. 0x00000492: f000ffe6 .... BL _assert_handler ; 0x1462
  611. 0x00000496: 2c00 ., CMP r4,#0
  612. 0x00000498: d102 .. BNE 0x4a0 ; USART_ReceiveData + 38
  613. 0x0000049a: 4d2d -M LDR r5,[pc,#180] ; [0x550] = 0x10008040
  614. 0x0000049c: 3512 .5 ADDS r5,r5,#0x12
  615. 0x0000049e: e001 .. B 0x4a4 ; USART_ReceiveData + 42
  616. 0x000004a0: 4d2b +M LDR r5,[pc,#172] ; [0x550] = 0x10008040
  617. 0x000004a2: 3532 25 ADDS r5,r5,#0x32
  618. 0x000004a4: 1da8 .. ADDS r0,r5,#6
  619. 0x000004a6: f000f952 ..R. BL HR_REG_16BIT ; 0x74e
  620. 0x000004aa: 4606 .F MOV r6,r0
  621. 0x000004ac: 4841 AH LDR r0,[pc,#260] ; [0x5b4] = 0x10010000
  622. 0x000004ae: 1830 0. ADDS r0,r6,r0
  623. 0x000004b0: f000f94d ..M. BL HR_REG_16BIT ; 0x74e
  624. 0x000004b4: 4607 .F MOV r7,r0
  625. 0x000004b6: 1d28 (. ADDS r0,r5,#4
  626. 0x000004b8: f000f949 ..I. BL HR_REG_16BIT ; 0x74e
  627. 0x000004bc: 42b0 .B CMP r0,r6
  628. 0x000004be: d104 .. BNE 0x4ca ; USART_ReceiveData + 80
  629. 0x000004c0: 1ca8 .. ADDS r0,r5,#2
  630. 0x000004c2: f000f944 ..D. BL HR_REG_16BIT ; 0x74e
  631. 0x000004c6: 4606 .F MOV r6,r0
  632. 0x000004c8: e001 .. B 0x4ce ; USART_ReceiveData + 84
  633. 0x000004ca: 1c70 p. ADDS r0,r6,#1
  634. 0x000004cc: b286 .. UXTH r6,r0
  635. 0x000004ce: 4631 1F MOV r1,r6
  636. 0x000004d0: 1da8 .. ADDS r0,r5,#6
  637. 0x000004d2: f000f933 ..3. BL HW_REG_16BIT ; 0x73c
  638. 0x000004d6: 4638 8F MOV r0,r7
  639. 0x000004d8: bdf8 .. POP {r3-r7,pc}
  640. USART_GetRxCount
  641. 0x000004da: b510 .. PUSH {r4,lr}
  642. 0x000004dc: 4604 .F MOV r4,r0
  643. 0x000004de: 2c00 ., CMP r4,#0
  644. 0x000004e0: d006 .. BEQ 0x4f0 ; USART_GetRxCount + 22
  645. 0x000004e2: 2c01 ., CMP r4,#1
  646. 0x000004e4: d004 .. BEQ 0x4f0 ; USART_GetRxCount + 22
  647. 0x000004e6: 4a35 5J LDR r2,[pc,#212] ; [0x5bc] = 0x1699
  648. 0x000004e8: 21cc .! MOVS r1,#0xcc
  649. 0x000004ea: a01b .. ADR r0,{pc}+0x6e ; 0x558
  650. 0x000004ec: f000ffb9 .... BL _assert_handler ; 0x1462
  651. 0x000004f0: 2c00 ., CMP r4,#0
  652. 0x000004f2: d104 .. BNE 0x4fe ; USART_GetRxCount + 36
  653. 0x000004f4: 482e .H LDR r0,[pc,#184] ; [0x5b0] = 0x10008300
  654. 0x000004f6: 3012 .0 ADDS r0,r0,#0x12
  655. 0x000004f8: f000f929 ..). BL HR_REG_16BIT ; 0x74e
  656. 0x000004fc: bd10 .. POP {r4,pc}
  657. 0x000004fe: 482c ,H LDR r0,[pc,#176] ; [0x5b0] = 0x10008300
  658. 0x00000500: 305a Z0 ADDS r0,r0,#0x5a
  659. 0x00000502: f000f924 ..$. BL HR_REG_16BIT ; 0x74e
  660. 0x00000506: e7f9 .. B 0x4fc ; USART_GetRxCount + 34
  661. USART_ReadDatatoBuff
  662. 0x00000508: b5f7 .. PUSH {r0-r2,r4-r7,lr}
  663. 0x0000050a: b084 .. SUB sp,sp,#0x10
  664. 0x0000050c: 4604 .F MOV r4,r0
  665. 0x0000050e: 4615 .F MOV r5,r2
  666. 0x00000510: 2000 . MOVS r0,#0
  667. 0x00000512: 9003 .. STR r0,[sp,#0xc]
  668. 0x00000514: 2600 .& MOVS r6,#0
  669. 0x00000516: 2700 .' MOVS r7,#0
  670. 0x00000518: 9002 .. STR r0,[sp,#8]
  671. 0x0000051a: 9001 .. STR r0,[sp,#4]
  672. 0x0000051c: 2c00 ., CMP r4,#0
  673. 0x0000051e: d006 .. BEQ 0x52e ; USART_ReadDatatoBuff + 38
  674. 0x00000520: 2c01 ., CMP r4,#1
  675. 0x00000522: d004 .. BEQ 0x52e ; USART_ReadDatatoBuff + 38
  676. 0x00000524: 4a26 &J LDR r2,[pc,#152] ; [0x5c0] = 0x16aa
  677. 0x00000526: 21dc .! MOVS r1,#0xdc
  678. 0x00000528: a00b .. ADR r0,{pc}+0x30 ; 0x558
  679. 0x0000052a: f000ff9a .... BL _assert_handler ; 0x1462
  680. 0x0000052e: 9805 .. LDR r0,[sp,#0x14]
  681. 0x00000530: 2800 .( CMP r0,#0
  682. 0x00000532: d104 .. BNE 0x53e ; USART_ReadDatatoBuff + 54
  683. 0x00000534: 4a22 "J LDR r2,[pc,#136] ; [0x5c0] = 0x16aa
  684. 0x00000536: 21dd .! MOVS r1,#0xdd
  685. 0x00000538: a007 .. ADR r0,{pc}+0x20 ; 0x558
  686. 0x0000053a: f000ff92 .... BL _assert_handler ; 0x1462
  687. 0x0000053e: 2c00 ., CMP r4,#0
  688. 0x00000540: d140 @. BNE 0x5c4 ; USART_ReadDatatoBuff + 188
  689. 0x00000542: 4803 .H LDR r0,[pc,#12] ; [0x550] = 0x10008040
  690. 0x00000544: 3012 .0 ADDS r0,r0,#0x12
  691. 0x00000546: 9001 .. STR r0,[sp,#4]
  692. 0x00000548: 4819 .H LDR r0,[pc,#100] ; [0x5b0] = 0x10008300
  693. 0x0000054a: 3012 .0 ADDS r0,r0,#0x12
  694. 0x0000054c: 9002 .. STR r0,[sp,#8]
  695. 0x0000054e: e03d =. B 0x5cc ; USART_ReadDatatoBuff + 196
  696. $d
  697. 0x00000550: 10008040 @... DCD 268468288
  698. 0x00000554: 00001660 `... DCD 5728
  699. 0x00000558: 2e5c2e2e ..\. DCD 777793070
  700. 0x0000055c: 2e2e5c2e .\.. DCD 774790190
  701. 0x00000560: 5c2e2e5c \..\ DCD 1546530396
  702. 0x00000564: 7262694c Libr DCD 1919052108
  703. 0x00000568: 65697261 arie DCD 1701409377
  704. 0x0000056c: 72645c72 r\dr DCD 1919179890
  705. 0x00000570: 72657669 iver DCD 1919252073
  706. 0x00000574: 61755c73 s\ua DCD 1635081331
  707. 0x00000578: 795c7472 rt\y DCD 2036102258
  708. 0x0000057c: 78313163 c11x DCD 2016489827
  709. 0x00000580: 61755f78 x_ua DCD 1635082104
  710. 0x00000584: 632e7472 rt.c DCD 1663988850
  711. 0x00000588: 00000000 .... DCD 0
  712. 0x0000058c: 0000a710 .... DCD 42768
  713. 0x00000590: 10010514 .... DCD 268502292
  714. 0x00000594: 10010534 4... DCD 268502324
  715. 0x00000598: 10010634 4... DCD 268502580
  716. 0x0000059c: 10010734 4... DCD 268502836
  717. 0x000005a0: 10010834 4... DCD 268503092
  718. 0x000005a4: 00008060 `... DCD 32864
  719. 0x000005a8: 0000166b k... DCD 5739
  720. 0x000005ac: 00001678 x... DCD 5752
  721. 0x000005b0: 10008300 .... DCD 268468992
  722. 0x000005b4: 10010000 .... DCD 268500992
  723. 0x000005b8: 00001687 .... DCD 5767
  724. 0x000005bc: 00001699 .... DCD 5785
  725. 0x000005c0: 000016aa .... DCD 5802
  726. $t
  727. 0x000005c4: 4858 XH LDR r0,[pc,#352] ; [0x728] = 0x10008072
  728. 0x000005c6: 9001 .. STR r0,[sp,#4]
  729. 0x000005c8: 4858 XH LDR r0,[pc,#352] ; [0x72c] = 0x1000835a
  730. 0x000005ca: 9002 .. STR r0,[sp,#8]
  731. 0x000005cc: 9802 .. LDR r0,[sp,#8]
  732. 0x000005ce: f000f8be .... BL HR_REG_16BIT ; 0x74e
  733. 0x000005d2: 9003 .. STR r0,[sp,#0xc]
  734. 0x000005d4: 2d00 .- CMP r5,#0
  735. 0x000005d6: d006 .. BEQ 0x5e6 ; USART_ReadDatatoBuff + 222
  736. 0x000005d8: 9803 .. LDR r0,[sp,#0xc]
  737. 0x000005da: 42a8 .B CMP r0,r5
  738. 0x000005dc: da02 .. BGE 0x5e4 ; USART_ReadDatatoBuff + 220
  739. 0x000005de: 2000 . MOVS r0,#0
  740. 0x000005e0: b007 .. ADD sp,sp,#0x1c
  741. 0x000005e2: bdf0 .. POP {r4-r7,pc}
  742. 0x000005e4: 9503 .. STR r5,[sp,#0xc]
  743. 0x000005e6: 9803 .. LDR r0,[sp,#0xc]
  744. 0x000005e8: 2800 .( CMP r0,#0
  745. 0x000005ea: d100 .. BNE 0x5ee ; USART_ReadDatatoBuff + 230
  746. 0x000005ec: e7f8 .. B 0x5e0 ; USART_ReadDatatoBuff + 216
  747. 0x000005ee: 9801 .. LDR r0,[sp,#4]
  748. 0x000005f0: 1d80 .. ADDS r0,r0,#6
  749. 0x000005f2: f000f8ac .... BL HR_REG_16BIT ; 0x74e
  750. 0x000005f6: 4606 .F MOV r6,r0
  751. 0x000005f8: 2700 .' MOVS r7,#0
  752. 0x000005fa: e014 .. B 0x626 ; USART_ReadDatatoBuff + 286
  753. 0x000005fc: 484c LH LDR r0,[pc,#304] ; [0x730] = 0x10010000
  754. 0x000005fe: 1830 0. ADDS r0,r6,r0
  755. 0x00000600: 7801 .x LDRB r1,[r0,#0]
  756. 0x00000602: 9805 .. LDR r0,[sp,#0x14]
  757. 0x00000604: 55c1 .U STRB r1,[r0,r7]
  758. 0x00000606: 9801 .. LDR r0,[sp,#4]
  759. 0x00000608: 1d00 .. ADDS r0,r0,#4
  760. 0x0000060a: f000f8a0 .... BL HR_REG_16BIT ; 0x74e
  761. 0x0000060e: 42b0 .B CMP r0,r6
  762. 0x00000610: d105 .. BNE 0x61e ; USART_ReadDatatoBuff + 278
  763. 0x00000612: 9801 .. LDR r0,[sp,#4]
  764. 0x00000614: 1c80 .. ADDS r0,r0,#2
  765. 0x00000616: f000f89a .... BL HR_REG_16BIT ; 0x74e
  766. 0x0000061a: 4606 .F MOV r6,r0
  767. 0x0000061c: e001 .. B 0x622 ; USART_ReadDatatoBuff + 282
  768. 0x0000061e: 1c70 p. ADDS r0,r6,#1
  769. 0x00000620: b286 .. UXTH r6,r0
  770. 0x00000622: 1c78 x. ADDS r0,r7,#1
  771. 0x00000624: b287 .. UXTH r7,r0
  772. 0x00000626: 9803 .. LDR r0,[sp,#0xc]
  773. 0x00000628: 4287 .B CMP r7,r0
  774. 0x0000062a: dbe7 .. BLT 0x5fc ; USART_ReadDatatoBuff + 244
  775. 0x0000062c: 4631 1F MOV r1,r6
  776. 0x0000062e: 9801 .. LDR r0,[sp,#4]
  777. 0x00000630: 1d80 .. ADDS r0,r0,#6
  778. 0x00000632: f000f883 .... BL HW_REG_16BIT ; 0x73c
  779. 0x00000636: 4638 8F MOV r0,r7
  780. 0x00000638: e7d2 .. B 0x5e0 ; USART_ReadDatatoBuff + 216
  781. USART_SendDataFromBuff
  782. 0x0000063a: b5f7 .. PUSH {r0-r2,r4-r7,lr}
  783. 0x0000063c: b082 .. SUB sp,sp,#8
  784. 0x0000063e: 4604 .F MOV r4,r0
  785. 0x00000640: 2600 .& MOVS r6,#0
  786. 0x00000642: 2000 . MOVS r0,#0
  787. 0x00000644: 9001 .. STR r0,[sp,#4]
  788. 0x00000646: 2500 .% MOVS r5,#0
  789. 0x00000648: 2c00 ., CMP r4,#0
  790. 0x0000064a: d007 .. BEQ 0x65c ; USART_SendDataFromBuff + 34
  791. 0x0000064c: 2c01 ., CMP r4,#1
  792. 0x0000064e: d005 .. BEQ 0x65c ; USART_SendDataFromBuff + 34
  793. 0x00000650: 4a38 8J LDR r2,[pc,#224] ; [0x734] = 0x16bf
  794. 0x00000652: 21ff .! MOVS r1,#0xff
  795. 0x00000654: 3103 .1 ADDS r1,#3
  796. 0x00000656: 4838 8H LDR r0,[pc,#224] ; [0x738] = 0x558
  797. 0x00000658: f000ff03 .... BL _assert_handler ; 0x1462
  798. 0x0000065c: 9803 .. LDR r0,[sp,#0xc]
  799. 0x0000065e: 2800 .( CMP r0,#0
  800. 0x00000660: d105 .. BNE 0x66e ; USART_SendDataFromBuff + 52
  801. 0x00000662: 4a34 4J LDR r2,[pc,#208] ; [0x734] = 0x16bf
  802. 0x00000664: 21ff .! MOVS r1,#0xff
  803. 0x00000666: 3104 .1 ADDS r1,#4
  804. 0x00000668: 4833 3H LDR r0,[pc,#204] ; [0x738] = 0x558
  805. 0x0000066a: f000fefa .... BL _assert_handler ; 0x1462
  806. 0x0000066e: 9804 .. LDR r0,[sp,#0x10]
  807. 0x00000670: 2800 .( CMP r0,#0
  808. 0x00000672: dc05 .. BGT 0x680 ; USART_SendDataFromBuff + 70
  809. 0x00000674: 4a2f /J LDR r2,[pc,#188] ; [0x734] = 0x16bf
  810. 0x00000676: 21ff .! MOVS r1,#0xff
  811. 0x00000678: 3105 .1 ADDS r1,#5
  812. 0x0000067a: 482f /H LDR r0,[pc,#188] ; [0x738] = 0x558
  813. 0x0000067c: f000fef1 .... BL _assert_handler ; 0x1462
  814. 0x00000680: 2c00 ., CMP r4,#0
  815. 0x00000682: d102 .. BNE 0x68a ; USART_SendDataFromBuff + 80
  816. 0x00000684: 4d28 (M LDR r5,[pc,#160] ; [0x728] = 0x10008072
  817. 0x00000686: 3d20 = SUBS r5,r5,#0x20
  818. 0x00000688: e000 .. B 0x68c ; USART_SendDataFromBuff + 82
  819. 0x0000068a: 4d27 'M LDR r5,[pc,#156] ; [0x728] = 0x10008072
  820. 0x0000068c: 4628 (F MOV r0,r5
  821. 0x0000068e: 3008 .0 ADDS r0,r0,#8
  822. 0x00000690: 2800 .( CMP r0,#0
  823. 0x00000692: d105 .. BNE 0x6a0 ; USART_SendDataFromBuff + 102
  824. 0x00000694: 4a27 'J LDR r2,[pc,#156] ; [0x734] = 0x16bf
  825. 0x00000696: 21ff .! MOVS r1,#0xff
  826. 0x00000698: 310c .1 ADDS r1,r1,#0xc
  827. 0x0000069a: 4827 'H LDR r0,[pc,#156] ; [0x738] = 0x558
  828. 0x0000069c: f000fee1 .... BL _assert_handler ; 0x1462
  829. 0x000006a0: 2c00 ., CMP r4,#0
  830. 0x000006a2: d10b .. BNE 0x6bc ; USART_SendDataFromBuff + 130
  831. 0x000006a4: bf00 .. NOP
  832. 0x000006a6: 4821 !H LDR r0,[pc,#132] ; [0x72c] = 0x1000835a
  833. 0x000006a8: 385a Z8 SUBS r0,r0,#0x5a
  834. 0x000006aa: 7b80 .{ LDRB r0,[r0,#0xe]
  835. 0x000006ac: 491f .I LDR r1,[pc,#124] ; [0x72c] = 0x1000835a
  836. 0x000006ae: 395a Z9 SUBS r1,r1,#0x5a
  837. 0x000006b0: 7bc9 .{ LDRB r1,[r1,#0xf]
  838. 0x000006b2: 0209 .. LSLS r1,r1,#8
  839. 0x000006b4: 4308 .C ORRS r0,r0,r1
  840. 0x000006b6: 2800 .( CMP r0,#0
  841. 0x000006b8: dcf5 .. BGT 0x6a6 ; USART_SendDataFromBuff + 108
  842. 0x000006ba: e00a .. B 0x6d2 ; USART_SendDataFromBuff + 152
  843. 0x000006bc: bf00 .. NOP
  844. 0x000006be: 481b .H LDR r0,[pc,#108] ; [0x72c] = 0x1000835a
  845. 0x000006c0: 381a .8 SUBS r0,r0,#0x1a
  846. 0x000006c2: 7d80 .} LDRB r0,[r0,#0x16]
  847. 0x000006c4: 4919 .I LDR r1,[pc,#100] ; [0x72c] = 0x1000835a
  848. 0x000006c6: 391a .9 SUBS r1,r1,#0x1a
  849. 0x000006c8: 7dc9 .} LDRB r1,[r1,#0x17]
  850. 0x000006ca: 0209 .. LSLS r1,r1,#8
  851. 0x000006cc: 4308 .C ORRS r0,r0,r1
  852. 0x000006ce: 2800 .( CMP r0,#0
  853. 0x000006d0: dcf5 .. BGT 0x6be ; USART_SendDataFromBuff + 132
  854. 0x000006d2: 4628 (F MOV r0,r5
  855. 0x000006d4: 300c .0 ADDS r0,r0,#0xc
  856. 0x000006d6: f000f83a ..:. BL HR_REG_16BIT ; 0x74e
  857. 0x000006da: 4606 .F MOV r6,r0
  858. 0x000006dc: 2700 .' MOVS r7,#0
  859. 0x000006de: e018 .. B 0x712 ; USART_SendDataFromBuff + 216
  860. 0x000006e0: 9803 .. LDR r0,[sp,#0xc]
  861. 0x000006e2: 5dc0 .] LDRB r0,[r0,r7]
  862. 0x000006e4: 4912 .I LDR r1,[pc,#72] ; [0x730] = 0x10010000
  863. 0x000006e6: 1871 q. ADDS r1,r6,r1
  864. 0x000006e8: 7008 .p STRB r0,[r1,#0]
  865. 0x000006ea: 4628 (F MOV r0,r5
  866. 0x000006ec: 300a .0 ADDS r0,r0,#0xa
  867. 0x000006ee: f000f82e .... BL HR_REG_16BIT ; 0x74e
  868. 0x000006f2: 42b0 .B CMP r0,r6
  869. 0x000006f4: d105 .. BNE 0x702 ; USART_SendDataFromBuff + 200
  870. 0x000006f6: 4628 (F MOV r0,r5
  871. 0x000006f8: 3008 .0 ADDS r0,r0,#8
  872. 0x000006fa: f000f828 ..(. BL HR_REG_16BIT ; 0x74e
  873. 0x000006fe: 4606 .F MOV r6,r0
  874. 0x00000700: e001 .. B 0x706 ; USART_SendDataFromBuff + 204
  875. 0x00000702: 1c70 p. ADDS r0,r6,#1
  876. 0x00000704: b286 .. UXTH r6,r0
  877. 0x00000706: 9801 .. LDR r0,[sp,#4]
  878. 0x00000708: 1c40 @. ADDS r0,r0,#1
  879. 0x0000070a: b280 .. UXTH r0,r0
  880. 0x0000070c: 9001 .. STR r0,[sp,#4]
  881. 0x0000070e: 1c78 x. ADDS r0,r7,#1
  882. 0x00000710: b287 .. UXTH r7,r0
  883. 0x00000712: 9804 .. LDR r0,[sp,#0x10]
  884. 0x00000714: 4287 .B CMP r7,r0
  885. 0x00000716: dbe3 .. BLT 0x6e0 ; USART_SendDataFromBuff + 166
  886. 0x00000718: 4631 1F MOV r1,r6
  887. 0x0000071a: 4628 (F MOV r0,r5
  888. 0x0000071c: 300c .0 ADDS r0,r0,#0xc
  889. 0x0000071e: f000f80d .... BL HW_REG_16BIT ; 0x73c
  890. 0x00000722: 9801 .. LDR r0,[sp,#4]
  891. 0x00000724: b005 .. ADD sp,sp,#0x14
  892. 0x00000726: bdf0 .. POP {r4-r7,pc}
  893. $d
  894. 0x00000728: 10008072 r... DCD 268468338
  895. 0x0000072c: 1000835a Z... DCD 268469082
  896. 0x00000730: 10010000 .... DCD 268500992
  897. 0x00000734: 000016bf .... DCD 5823
  898. 0x00000738: 00000558 X... DCD 1368
  899. $t
  900. .text
  901. HW_REG_16BIT
  902. 0x0000073c: b570 p. PUSH {r4-r6,lr}
  903. 0x0000073e: 4604 .F MOV r4,r0
  904. 0x00000740: 460d .F MOV r5,r1
  905. 0x00000742: 7025 %p STRB r5,[r4,#0]
  906. 0x00000744: f000f859 ..Y. BL hw_delay ; 0x7fa
  907. 0x00000748: 1228 (. ASRS r0,r5,#8
  908. 0x0000074a: 7060 `p STRB r0,[r4,#1]
  909. 0x0000074c: bd70 p. POP {r4-r6,pc}
  910. HR_REG_16BIT
  911. 0x0000074e: b570 p. PUSH {r4-r6,lr}
  912. 0x00000750: 4604 .F MOV r4,r0
  913. 0x00000752: 2500 .% MOVS r5,#0
  914. 0x00000754: 2600 .& MOVS r6,#0
  915. 0x00000756: f000f850 ..P. BL hw_delay ; 0x7fa
  916. 0x0000075a: 7825 %x LDRB r5,[r4,#0]
  917. 0x0000075c: f000f84d ..M. BL hw_delay ; 0x7fa
  918. 0x00000760: 7866 fx LDRB r6,[r4,#1]
  919. 0x00000762: 0230 0. LSLS r0,r6,#8
  920. 0x00000764: 21ff .! MOVS r1,#0xff
  921. 0x00000766: 0209 .. LSLS r1,r1,#8
  922. 0x00000768: 4008 .@ ANDS r0,r0,r1
  923. 0x0000076a: 4305 .C ORRS r5,r5,r0
  924. 0x0000076c: 4628 (F MOV r0,r5
  925. 0x0000076e: bd70 p. POP {r4-r6,pc}
  926. HR_REG_24BIT
  927. 0x00000770: b570 p. PUSH {r4-r6,lr}
  928. 0x00000772: 4604 .F MOV r4,r0
  929. 0x00000774: 2500 .% MOVS r5,#0
  930. 0x00000776: f000f840 ..@. BL hw_delay ; 0x7fa
  931. 0x0000077a: 7825 %x LDRB r5,[r4,#0]
  932. 0x0000077c: f000f83d ..=. BL hw_delay ; 0x7fa
  933. 0x00000780: 7860 `x LDRB r0,[r4,#1]
  934. 0x00000782: 0200 .. LSLS r0,r0,#8
  935. 0x00000784: 4305 .C ORRS r5,r5,r0
  936. 0x00000786: f000f838 ..8. BL hw_delay ; 0x7fa
  937. 0x0000078a: 78a0 .x LDRB r0,[r4,#2]
  938. 0x0000078c: 0400 .. LSLS r0,r0,#16
  939. 0x0000078e: 4305 .C ORRS r5,r5,r0
  940. 0x00000790: 4628 (F MOV r0,r5
  941. 0x00000792: bd70 p. POP {r4-r6,pc}
  942. xmemcpy
  943. 0x00000794: b510 .. PUSH {r4,lr}
  944. 0x00000796: e003 .. B 0x7a0 ; xmemcpy + 12
  945. 0x00000798: 780b .x LDRB r3,[r1,#0]
  946. 0x0000079a: 7003 .p STRB r3,[r0,#0]
  947. 0x0000079c: 1c49 I. ADDS r1,r1,#1
  948. 0x0000079e: 1c40 @. ADDS r0,r0,#1
  949. 0x000007a0: 4613 .F MOV r3,r2
  950. 0x000007a2: 1e54 T. SUBS r4,r2,#1
  951. 0x000007a4: b2a2 .. UXTH r2,r4
  952. 0x000007a6: 2b00 .+ CMP r3,#0
  953. 0x000007a8: d1f6 .. BNE 0x798 ; xmemcpy + 4
  954. 0x000007aa: bd10 .. POP {r4,pc}
  955. xstrlen
  956. 0x000007ac: 4601 .F MOV r1,r0
  957. 0x000007ae: 2200 ." MOVS r2,#0
  958. 0x000007b0: e001 .. B 0x7b6 ; xstrlen + 10
  959. 0x000007b2: 1c52 R. ADDS r2,r2,#1
  960. 0x000007b4: 1c49 I. ADDS r1,r1,#1
  961. 0x000007b6: 7808 .x LDRB r0,[r1,#0]
  962. 0x000007b8: 2800 .( CMP r0,#0
  963. 0x000007ba: d1fa .. BNE 0x7b2 ; xstrlen + 6
  964. 0x000007bc: b290 .. UXTH r0,r2
  965. 0x000007be: 4770 pG BX lr
  966. error_handle
  967. 0x000007c0: bf00 .. NOP
  968. 0x000007c2: e7fe .. B 0x7c2 ; error_handle + 2
  969. whileDelay
  970. 0x000007c4: b510 .. PUSH {r4,lr}
  971. 0x000007c6: 2100 .! MOVS r1,#0
  972. 0x000007c8: e006 .. B 0x7d8 ; whileDelay + 20
  973. 0x000007ca: 4a0f .J LDR r2,[pc,#60] ; [0x808] = 0x4e20
  974. 0x000007cc: bf00 .. NOP
  975. 0x000007ce: 4613 .F MOV r3,r2
  976. 0x000007d0: 1e52 R. SUBS r2,r2,#1
  977. 0x000007d2: 2b00 .+ CMP r3,#0
  978. 0x000007d4: d1fb .. BNE 0x7ce ; whileDelay + 10
  979. 0x000007d6: 1c49 I. ADDS r1,r1,#1
  980. 0x000007d8: 4281 .B CMP r1,r0
  981. 0x000007da: dbf6 .. BLT 0x7ca ; whileDelay + 6
  982. 0x000007dc: bd10 .. POP {r4,pc}
  983. whileDelayshort
  984. 0x000007de: b510 .. PUSH {r4,lr}
  985. 0x000007e0: 2100 .! MOVS r1,#0
  986. 0x000007e2: e007 .. B 0x7f4 ; whileDelayshort + 22
  987. 0x000007e4: 227d }" MOVS r2,#0x7d
  988. 0x000007e6: 0112 .. LSLS r2,r2,#4
  989. 0x000007e8: bf00 .. NOP
  990. 0x000007ea: 4613 .F MOV r3,r2
  991. 0x000007ec: 1e52 R. SUBS r2,r2,#1
  992. 0x000007ee: 2b00 .+ CMP r3,#0
  993. 0x000007f0: d1fb .. BNE 0x7ea ; whileDelayshort + 12
  994. 0x000007f2: 1c49 I. ADDS r1,r1,#1
  995. 0x000007f4: 4281 .B CMP r1,r0
  996. 0x000007f6: dbf5 .. BLT 0x7e4 ; whileDelayshort + 6
  997. 0x000007f8: bd10 .. POP {r4,pc}
  998. hw_delay
  999. 0x000007fa: bf00 .. NOP
  1000. 0x000007fc: bf00 .. NOP
  1001. 0x000007fe: bf00 .. NOP
  1002. 0x00000800: bf00 .. NOP
  1003. 0x00000802: bf00 .. NOP
  1004. 0x00000804: 4770 pG BX lr
  1005. $d
  1006. 0x00000806: 0000 .. DCW 0
  1007. 0x00000808: 00004e20 N.. DCD 20000
  1008. $t
  1009. .text
  1010. GPIO_SetOut
  1011. 0x0000080c: b570 p. PUSH {r4-r6,lr}
  1012. 0x0000080e: 4604 .F MOV r4,r0
  1013. 0x00000810: 460d .F MOV r5,r1
  1014. 0x00000812: f000f905 .... BL hw_delay ; 0xa20
  1015. 0x00000816: 2c20 , CMP r4,#0x20
  1016. 0x00000818: d100 .. BNE 0x81c ; GPIO_SetOut + 16
  1017. 0x0000081a: bd70 p. POP {r4-r6,pc}
  1018. 0x0000081c: 2d00 .- CMP r5,#0
  1019. 0x0000081e: d002 .. BEQ 0x826 ; GPIO_SetOut + 26
  1020. 0x00000820: 2d01 .- CMP r5,#1
  1021. 0x00000822: d112 .. BNE 0x84a ; GPIO_SetOut + 62
  1022. 0x00000824: e008 .. B 0x838 ; GPIO_SetOut + 44
  1023. 0x00000826: 203e > MOVS r0,#0x3e
  1024. 0x00000828: 06e1 .. LSLS r1,r4,#27
  1025. 0x0000082a: 0ec9 .. LSRS r1,r1,#27
  1026. 0x0000082c: 4a7f .J LDR r2,[pc,#508] ; [0xa2c] = 0x8080
  1027. 0x0000082e: 1889 .. ADDS r1,r1,r2
  1028. 0x00000830: 0552 R. LSLS r2,r2,#21
  1029. 0x00000832: 1889 .. ADDS r1,r1,r2
  1030. 0x00000834: 7008 .p STRB r0,[r1,#0]
  1031. 0x00000836: e009 .. B 0x84c ; GPIO_SetOut + 64
  1032. 0x00000838: 203f ? MOVS r0,#0x3f
  1033. 0x0000083a: 06e1 .. LSLS r1,r4,#27
  1034. 0x0000083c: 0ec9 .. LSRS r1,r1,#27
  1035. 0x0000083e: 4a7b {J LDR r2,[pc,#492] ; [0xa2c] = 0x8080
  1036. 0x00000840: 1889 .. ADDS r1,r1,r2
  1037. 0x00000842: 0552 R. LSLS r2,r2,#21
  1038. 0x00000844: 1889 .. ADDS r1,r1,r2
  1039. 0x00000846: 7008 .p STRB r0,[r1,#0]
  1040. 0x00000848: e000 .. B 0x84c ; GPIO_SetOut + 64
  1041. 0x0000084a: bf00 .. NOP
  1042. 0x0000084c: bf00 .. NOP
  1043. 0x0000084e: f000f8e7 .... BL hw_delay ; 0xa20
  1044. 0x00000852: bf00 .. NOP
  1045. 0x00000854: e7e1 .. B 0x81a ; GPIO_SetOut + 14
  1046. GPIO_SetInput
  1047. 0x00000856: b570 p. PUSH {r4-r6,lr}
  1048. 0x00000858: 4604 .F MOV r4,r0
  1049. 0x0000085a: 460d .F MOV r5,r1
  1050. 0x0000085c: f000f8e0 .... BL hw_delay ; 0xa20
  1051. 0x00000860: 2c20 , CMP r4,#0x20
  1052. 0x00000862: d100 .. BNE 0x866 ; GPIO_SetInput + 16
  1053. 0x00000864: bd70 p. POP {r4-r6,pc}
  1054. 0x00000866: 2d01 .- CMP r5,#1
  1055. 0x00000868: d006 .. BEQ 0x878 ; GPIO_SetInput + 34
  1056. 0x0000086a: 2d02 .- CMP r5,#2
  1057. 0x0000086c: d00d .. BEQ 0x88a ; GPIO_SetInput + 52
  1058. 0x0000086e: 2d03 .- CMP r5,#3
  1059. 0x00000870: d014 .. BEQ 0x89c ; GPIO_SetInput + 70
  1060. 0x00000872: 2d04 .- CMP r5,#4
  1061. 0x00000874: d124 $. BNE 0x8c0 ; GPIO_SetInput + 106
  1062. 0x00000876: e01a .. B 0x8ae ; GPIO_SetInput + 88
  1063. 0x00000878: 2000 . MOVS r0,#0
  1064. 0x0000087a: 06e1 .. LSLS r1,r4,#27
  1065. 0x0000087c: 0ec9 .. LSRS r1,r1,#27
  1066. 0x0000087e: 4a6b kJ LDR r2,[pc,#428] ; [0xa2c] = 0x8080
  1067. 0x00000880: 1889 .. ADDS r1,r1,r2
  1068. 0x00000882: 0552 R. LSLS r2,r2,#21
  1069. 0x00000884: 1889 .. ADDS r1,r1,r2
  1070. 0x00000886: 7008 .p STRB r0,[r1,#0]
  1071. 0x00000888: e01b .. B 0x8c2 ; GPIO_SetInput + 108
  1072. 0x0000088a: 2040 @ MOVS r0,#0x40
  1073. 0x0000088c: 06e1 .. LSLS r1,r4,#27
  1074. 0x0000088e: 0ec9 .. LSRS r1,r1,#27
  1075. 0x00000890: 4a66 fJ LDR r2,[pc,#408] ; [0xa2c] = 0x8080
  1076. 0x00000892: 1889 .. ADDS r1,r1,r2
  1077. 0x00000894: 0582 .. LSLS r2,r0,#22
  1078. 0x00000896: 1889 .. ADDS r1,r1,r2
  1079. 0x00000898: 7008 .p STRB r0,[r1,#0]
  1080. 0x0000089a: e012 .. B 0x8c2 ; GPIO_SetInput + 108
  1081. 0x0000089c: 2080 . MOVS r0,#0x80
  1082. 0x0000089e: 06e1 .. LSLS r1,r4,#27
  1083. 0x000008a0: 0ec9 .. LSRS r1,r1,#27
  1084. 0x000008a2: 4a62 bJ LDR r2,[pc,#392] ; [0xa2c] = 0x8080
  1085. 0x000008a4: 1889 .. ADDS r1,r1,r2
  1086. 0x000008a6: 0542 B. LSLS r2,r0,#21
  1087. 0x000008a8: 1889 .. ADDS r1,r1,r2
  1088. 0x000008aa: 7008 .p STRB r0,[r1,#0]
  1089. 0x000008ac: e009 .. B 0x8c2 ; GPIO_SetInput + 108
  1090. 0x000008ae: 20c0 . MOVS r0,#0xc0
  1091. 0x000008b0: 06e1 .. LSLS r1,r4,#27
  1092. 0x000008b2: 0ec9 .. LSRS r1,r1,#27
  1093. 0x000008b4: 4a5d ]J LDR r2,[pc,#372] ; [0xa2c] = 0x8080
  1094. 0x000008b6: 1889 .. ADDS r1,r1,r2
  1095. 0x000008b8: 0552 R. LSLS r2,r2,#21
  1096. 0x000008ba: 1889 .. ADDS r1,r1,r2
  1097. 0x000008bc: 7008 .p STRB r0,[r1,#0]
  1098. 0x000008be: e000 .. B 0x8c2 ; GPIO_SetInput + 108
  1099. 0x000008c0: bf00 .. NOP
  1100. 0x000008c2: bf00 .. NOP
  1101. 0x000008c4: f000f8ac .... BL hw_delay ; 0xa20
  1102. 0x000008c8: bf00 .. NOP
  1103. 0x000008ca: e7cb .. B 0x864 ; GPIO_SetInput + 14
  1104. GPIO_ClearWakeup
  1105. 0x000008cc: b530 0. PUSH {r4,r5,lr}
  1106. 0x000008ce: 4601 .F MOV r1,r0
  1107. 0x000008d0: 2920 ) CMP r1,#0x20
  1108. 0x000008d2: d100 .. BNE 0x8d6 ; GPIO_ClearWakeup + 10
  1109. 0x000008d4: bd30 0. POP {r4,r5,pc}
  1110. 0x000008d6: 06cb .. LSLS r3,r1,#27
  1111. 0x000008d8: 0f98 .. LSRS r0,r3,#30
  1112. 0x000008da: 074a J. LSLS r2,r1,#29
  1113. 0x000008dc: 0f52 R. LSRS r2,r2,#29
  1114. 0x000008de: 4603 .F MOV r3,r0
  1115. 0x000008e0: 33ab .3 ADDS r3,r3,#0xab
  1116. 0x000008e2: 2401 .$ MOVS r4,#1
  1117. 0x000008e4: 0724 $. LSLS r4,r4,#28
  1118. 0x000008e6: 191b .. ADDS r3,r3,r4
  1119. 0x000008e8: 781c .x LDRB r4,[r3,#0]
  1120. 0x000008ea: 2301 .# MOVS r3,#1
  1121. 0x000008ec: 4093 .@ LSLS r3,r3,r2
  1122. 0x000008ee: 439c .C BICS r4,r4,r3
  1123. 0x000008f0: 4603 .F MOV r3,r0
  1124. 0x000008f2: 33ab .3 ADDS r3,r3,#0xab
  1125. 0x000008f4: 2501 .% MOVS r5,#1
  1126. 0x000008f6: 072d -. LSLS r5,r5,#28
  1127. 0x000008f8: 195b [. ADDS r3,r3,r5
  1128. 0x000008fa: 701c .p STRB r4,[r3,#0]
  1129. 0x000008fc: 4603 .F MOV r3,r0
  1130. 0x000008fe: 33af .3 ADDS r3,r3,#0xaf
  1131. 0x00000900: 462c ,F MOV r4,r5
  1132. 0x00000902: 191b .. ADDS r3,r3,r4
  1133. 0x00000904: 781b .x LDRB r3,[r3,#0]
  1134. 0x00000906: 2401 .$ MOVS r4,#1
  1135. 0x00000908: 4094 .@ LSLS r4,r4,r2
  1136. 0x0000090a: 43a3 .C BICS r3,r3,r4
  1137. 0x0000090c: 4604 .F MOV r4,r0
  1138. 0x0000090e: 34af .4 ADDS r4,r4,#0xaf
  1139. 0x00000910: 1964 d. ADDS r4,r4,r5
  1140. 0x00000912: 7023 #p STRB r3,[r4,#0]
  1141. 0x00000914: bf00 .. NOP
  1142. 0x00000916: e7dd .. B 0x8d4 ; GPIO_ClearWakeup + 8
  1143. GPIO_SetGpioMultFunction
  1144. 0x00000918: 06c2 .. LSLS r2,r0,#27
  1145. 0x0000091a: 0ed2 .. LSRS r2,r2,#27
  1146. 0x0000091c: 4b43 CK LDR r3,[pc,#268] ; [0xa2c] = 0x8080
  1147. 0x0000091e: 18d2 .. ADDS r2,r2,r3
  1148. 0x00000920: 055b [. LSLS r3,r3,#21
  1149. 0x00000922: 18d2 .. ADDS r2,r2,r3
  1150. 0x00000924: 7011 .p STRB r1,[r2,#0]
  1151. 0x00000926: 4770 pG BX lr
  1152. gpioGetBit
  1153. 0x00000928: b570 p. PUSH {r4-r6,lr}
  1154. 0x0000092a: 4602 .F MOV r2,r0
  1155. 0x0000092c: 2300 .# MOVS r3,#0
  1156. 0x0000092e: 2400 .$ MOVS r4,#0
  1157. 0x00000930: 2500 .% MOVS r5,#0
  1158. 0x00000932: 0753 S. LSLS r3,r2,#29
  1159. 0x00000934: 0f5b [. LSRS r3,r3,#29
  1160. 0x00000936: 06d0 .. LSLS r0,r2,#27
  1161. 0x00000938: 0f84 .. LSRS r4,r0,#30
  1162. 0x0000093a: 1908 .. ADDS r0,r1,r4
  1163. 0x0000093c: 2601 .& MOVS r6,#1
  1164. 0x0000093e: 0736 6. LSLS r6,r6,#28
  1165. 0x00000940: 4330 0C ORRS r0,r0,r6
  1166. 0x00000942: 7805 .x LDRB r5,[r0,#0]
  1167. 0x00000944: 2001 . MOVS r0,#1
  1168. 0x00000946: 4098 .@ LSLS r0,r0,r3
  1169. 0x00000948: 4028 (@ ANDS r0,r0,r5
  1170. 0x0000094a: bd70 p. POP {r4-r6,pc}
  1171. GPIO_GetInputStatus
  1172. 0x0000094c: b510 .. PUSH {r4,lr}
  1173. 0x0000094e: 4604 .F MOV r4,r0
  1174. 0x00000950: 2c20 , CMP r4,#0x20
  1175. 0x00000952: d101 .. BNE 0x958 ; GPIO_GetInputStatus + 12
  1176. 0x00000954: f7ffff34 ..4. BL error_handle ; 0x7c0
  1177. 0x00000958: 06e0 .. LSLS r0,r4,#27
  1178. 0x0000095a: 0ec0 .. LSRS r0,r0,#27
  1179. 0x0000095c: 4934 4I LDR r1,[pc,#208] ; [0xa30] = 0x831c
  1180. 0x0000095e: f7ffffe3 .... BL gpioGetBit ; 0x928
  1181. 0x00000962: bd10 .. POP {r4,pc}
  1182. GPIO_SetWakeup
  1183. 0x00000964: b570 p. PUSH {r4-r6,lr}
  1184. 0x00000966: 4602 .F MOV r2,r0
  1185. 0x00000968: 460b .F MOV r3,r1
  1186. 0x0000096a: 2a20 * CMP r2,#0x20
  1187. 0x0000096c: d100 .. BNE 0x970 ; GPIO_SetWakeup + 12
  1188. 0x0000096e: bd70 p. POP {r4-r6,pc}
  1189. 0x00000970: 06d4 .. LSLS r4,r2,#27
  1190. 0x00000972: 0fa0 .. LSRS r0,r4,#30
  1191. 0x00000974: 0751 Q. LSLS r1,r2,#29
  1192. 0x00000976: 0f49 I. LSRS r1,r1,#29
  1193. 0x00000978: 2b00 .+ CMP r3,#0
  1194. 0x0000097a: d002 .. BEQ 0x982 ; GPIO_SetWakeup + 30
  1195. 0x0000097c: 2b01 .+ CMP r3,#1
  1196. 0x0000097e: d13a :. BNE 0x9f6 ; GPIO_SetWakeup + 146
  1197. 0x00000980: e01c .. B 0x9bc ; GPIO_SetWakeup + 88
  1198. 0x00000982: 4604 .F MOV r4,r0
  1199. 0x00000984: 34ab .4 ADDS r4,r4,#0xab
  1200. 0x00000986: 2501 .% MOVS r5,#1
  1201. 0x00000988: 072d -. LSLS r5,r5,#28
  1202. 0x0000098a: 1964 d. ADDS r4,r4,r5
  1203. 0x0000098c: 7824 $x LDRB r4,[r4,#0]
  1204. 0x0000098e: 2501 .% MOVS r5,#1
  1205. 0x00000990: 408d .@ LSLS r5,r5,r1
  1206. 0x00000992: 432c ,C ORRS r4,r4,r5
  1207. 0x00000994: b2e5 .. UXTB r5,r4
  1208. 0x00000996: 4604 .F MOV r4,r0
  1209. 0x00000998: 34ab .4 ADDS r4,r4,#0xab
  1210. 0x0000099a: 2601 .& MOVS r6,#1
  1211. 0x0000099c: 0736 6. LSLS r6,r6,#28
  1212. 0x0000099e: 19a4 .. ADDS r4,r4,r6
  1213. 0x000009a0: 7025 %p STRB r5,[r4,#0]
  1214. 0x000009a2: 4604 .F MOV r4,r0
  1215. 0x000009a4: 34af .4 ADDS r4,r4,#0xaf
  1216. 0x000009a6: 4635 5F MOV r5,r6
  1217. 0x000009a8: 1964 d. ADDS r4,r4,r5
  1218. 0x000009aa: 7825 %x LDRB r5,[r4,#0]
  1219. 0x000009ac: 2401 .$ MOVS r4,#1
  1220. 0x000009ae: 408c .@ LSLS r4,r4,r1
  1221. 0x000009b0: 43a5 .C BICS r5,r5,r4
  1222. 0x000009b2: 4604 .F MOV r4,r0
  1223. 0x000009b4: 34af .4 ADDS r4,r4,#0xaf
  1224. 0x000009b6: 19a4 .. ADDS r4,r4,r6
  1225. 0x000009b8: 7025 %p STRB r5,[r4,#0]
  1226. 0x000009ba: e01c .. B 0x9f6 ; GPIO_SetWakeup + 146
  1227. 0x000009bc: 4604 .F MOV r4,r0
  1228. 0x000009be: 34af .4 ADDS r4,r4,#0xaf
  1229. 0x000009c0: 2501 .% MOVS r5,#1
  1230. 0x000009c2: 072d -. LSLS r5,r5,#28
  1231. 0x000009c4: 1964 d. ADDS r4,r4,r5
  1232. 0x000009c6: 7824 $x LDRB r4,[r4,#0]
  1233. 0x000009c8: 2501 .% MOVS r5,#1
  1234. 0x000009ca: 408d .@ LSLS r5,r5,r1
  1235. 0x000009cc: 432c ,C ORRS r4,r4,r5
  1236. 0x000009ce: b2e5 .. UXTB r5,r4
  1237. 0x000009d0: 4604 .F MOV r4,r0
  1238. 0x000009d2: 34af .4 ADDS r4,r4,#0xaf
  1239. 0x000009d4: 2601 .& MOVS r6,#1
  1240. 0x000009d6: 0736 6. LSLS r6,r6,#28
  1241. 0x000009d8: 19a4 .. ADDS r4,r4,r6
  1242. 0x000009da: 7025 %p STRB r5,[r4,#0]
  1243. 0x000009dc: 4604 .F MOV r4,r0
  1244. 0x000009de: 34ab .4 ADDS r4,r4,#0xab
  1245. 0x000009e0: 4635 5F MOV r5,r6
  1246. 0x000009e2: 1964 d. ADDS r4,r4,r5
  1247. 0x000009e4: 7824 $x LDRB r4,[r4,#0]
  1248. 0x000009e6: 2501 .% MOVS r5,#1
  1249. 0x000009e8: 408d .@ LSLS r5,r5,r1
  1250. 0x000009ea: 43ac .C BICS r4,r4,r5
  1251. 0x000009ec: 4605 .F MOV r5,r0
  1252. 0x000009ee: 35ab .5 ADDS r5,r5,#0xab
  1253. 0x000009f0: 19ad .. ADDS r5,r5,r6
  1254. 0x000009f2: 702c ,p STRB r4,[r5,#0]
  1255. 0x000009f4: bf00 .. NOP
  1256. 0x000009f6: bf00 .. NOP
  1257. 0x000009f8: bf00 .. NOP
  1258. 0x000009fa: e7b8 .. B 0x96e ; GPIO_SetWakeup + 10
  1259. GPIO_SetWakeupByCurrentState
  1260. 0x000009fc: b570 p. PUSH {r4-r6,lr}
  1261. 0x000009fe: 4604 .F MOV r4,r0
  1262. 0x00000a00: 4620 F MOV r0,r4
  1263. 0x00000a02: f7ffffa3 .... BL GPIO_GetInputStatus ; 0x94c
  1264. 0x00000a06: 4605 .F MOV r5,r0
  1265. 0x00000a08: 2d00 .- CMP r5,#0
  1266. 0x00000a0a: d004 .. BEQ 0xa16 ; GPIO_SetWakeupByCurrentState + 26
  1267. 0x00000a0c: 2100 .! MOVS r1,#0
  1268. 0x00000a0e: 4620 F MOV r0,r4
  1269. 0x00000a10: f7ffffa8 .... BL GPIO_SetWakeup ; 0x964
  1270. 0x00000a14: e003 .. B 0xa1e ; GPIO_SetWakeupByCurrentState + 34
  1271. 0x00000a16: 2101 .! MOVS r1,#1
  1272. 0x00000a18: 4620 F MOV r0,r4
  1273. 0x00000a1a: f7ffffa3 .... BL GPIO_SetWakeup ; 0x964
  1274. 0x00000a1e: bd70 p. POP {r4-r6,pc}
  1275. hw_delay
  1276. 0x00000a20: bf00 .. NOP
  1277. 0x00000a22: bf00 .. NOP
  1278. 0x00000a24: bf00 .. NOP
  1279. 0x00000a26: bf00 .. NOP
  1280. 0x00000a28: bf00 .. NOP
  1281. 0x00000a2a: 4770 pG BX lr
  1282. $d
  1283. 0x00000a2c: 00008080 .... DCD 32896
  1284. 0x00000a30: 0000831c .... DCD 33564
  1285. $t
  1286. .text
  1287. calculate_voltage
  1288. 0x00000a34: b5ff .. PUSH {r0-r7,lr}
  1289. 0x00000a36: b089 .. SUB sp,sp,#0x24
  1290. 0x00000a38: 9e12 .. LDR r6,[sp,#0x48]
  1291. 0x00000a3a: 217d }! MOVS r1,#0x7d
  1292. 0x00000a3c: 00c9 .. LSLS r1,r1,#3
  1293. 0x00000a3e: 9809 .. LDR r0,[sp,#0x24]
  1294. 0x00000a40: 4348 HC MULS r0,r1,r0
  1295. 0x00000a42: 990b .. LDR r1,[sp,#0x2c]
  1296. 0x00000a44: 1a44 D. SUBS r4,r0,r1
  1297. 0x00000a46: 17e7 .. ASRS r7,r4,#31
  1298. 0x00000a48: 9707 .. STR r7,[sp,#0x1c]
  1299. 0x00000a4a: 9406 .. STR r4,[sp,#0x18]
  1300. 0x00000a4c: 990b .. LDR r1,[sp,#0x2c]
  1301. 0x00000a4e: 980a .. LDR r0,[sp,#0x28]
  1302. 0x00000a50: 1a40 @. SUBS r0,r0,r1
  1303. 0x00000a52: 9005 .. STR r0,[sp,#0x14]
  1304. 0x00000a54: 980c .. LDR r0,[sp,#0x30]
  1305. 0x00000a56: 1b85 .. SUBS r5,r0,r6
  1306. 0x00000a58: 9504 .. STR r5,[sp,#0x10]
  1307. 0x00000a5a: 9d04 .. LDR r5,[sp,#0x10]
  1308. 0x00000a5c: 17e8 .. ASRS r0,r5,#31
  1309. 0x00000a5e: 9f07 .. LDR r7,[sp,#0x1c]
  1310. 0x00000a60: 9c06 .. LDR r4,[sp,#0x18]
  1311. 0x00000a62: 9008 .. STR r0,[sp,#0x20]
  1312. 0x00000a64: 4620 F MOV r0,r4
  1313. 0x00000a66: 4639 9F MOV r1,r7
  1314. 0x00000a68: 462a *F MOV r2,r5
  1315. 0x00000a6a: 9b08 .. LDR r3,[sp,#0x20]
  1316. 0x00000a6c: f000fd48 ..H. BL __aeabi_lmul ; 0x1500
  1317. 0x00000a70: 9101 .. STR r1,[sp,#4]
  1318. 0x00000a72: 9000 .. STR r0,[sp,#0]
  1319. 0x00000a74: 9805 .. LDR r0,[sp,#0x14]
  1320. 0x00000a76: 17c3 .. ASRS r3,r0,#31
  1321. 0x00000a78: 4602 .F MOV r2,r0
  1322. 0x00000a7a: 9800 .. LDR r0,[sp,#0]
  1323. 0x00000a7c: f000fd1a .... BL __aeabi_ldivmod ; 0x14b4
  1324. 0x00000a80: 1980 .. ADDS r0,r0,r6
  1325. 0x00000a82: 9003 .. STR r0,[sp,#0xc]
  1326. 0x00000a84: 9803 .. LDR r0,[sp,#0xc]
  1327. 0x00000a86: b00d .. ADD sp,sp,#0x34
  1328. 0x00000a88: bdf0 .. POP {r4-r7,pc}
  1329. ADC_Init
  1330. 0x00000a8a: b510 .. PUSH {r4,lr}
  1331. 0x00000a8c: 4604 .F MOV r4,r0
  1332. 0x00000a8e: 7820 x LDRB r0,[r4,#0]
  1333. 0x00000a90: 2800 .( CMP r0,#0
  1334. 0x00000a92: d019 .. BEQ 0xac8 ; ADC_Init + 62
  1335. 0x00000a94: 7820 x LDRB r0,[r4,#0]
  1336. 0x00000a96: 2801 .( CMP r0,#1
  1337. 0x00000a98: d016 .. BEQ 0xac8 ; ADC_Init + 62
  1338. 0x00000a9a: 7820 x LDRB r0,[r4,#0]
  1339. 0x00000a9c: 2802 .( CMP r0,#2
  1340. 0x00000a9e: d013 .. BEQ 0xac8 ; ADC_Init + 62
  1341. 0x00000aa0: 7820 x LDRB r0,[r4,#0]
  1342. 0x00000aa2: 2803 .( CMP r0,#3
  1343. 0x00000aa4: d010 .. BEQ 0xac8 ; ADC_Init + 62
  1344. 0x00000aa6: 7820 x LDRB r0,[r4,#0]
  1345. 0x00000aa8: 2804 .( CMP r0,#4
  1346. 0x00000aaa: d00d .. BEQ 0xac8 ; ADC_Init + 62
  1347. 0x00000aac: 7820 x LDRB r0,[r4,#0]
  1348. 0x00000aae: 2805 .( CMP r0,#5
  1349. 0x00000ab0: d00a .. BEQ 0xac8 ; ADC_Init + 62
  1350. 0x00000ab2: 7820 x LDRB r0,[r4,#0]
  1351. 0x00000ab4: 2806 .( CMP r0,#6
  1352. 0x00000ab6: d007 .. BEQ 0xac8 ; ADC_Init + 62
  1353. 0x00000ab8: 7820 x LDRB r0,[r4,#0]
  1354. 0x00000aba: 2807 .( CMP r0,#7
  1355. 0x00000abc: d004 .. BEQ 0xac8 ; ADC_Init + 62
  1356. 0x00000abe: 4a68 hJ LDR r2,[pc,#416] ; [0xc60] = 0x16d6
  1357. 0x00000ac0: 2121 !! MOVS r1,#0x21
  1358. 0x00000ac2: a068 h. ADR r0,{pc}+0x1a2 ; 0xc64
  1359. 0x00000ac4: f000fccd .... BL _assert_handler ; 0x1462
  1360. 0x00000ac8: 7860 `x LDRB r0,[r4,#1]
  1361. 0x00000aca: 2800 .( CMP r0,#0
  1362. 0x00000acc: d00d .. BEQ 0xaea ; ADC_Init + 96
  1363. 0x00000ace: 7860 `x LDRB r0,[r4,#1]
  1364. 0x00000ad0: 2801 .( CMP r0,#1
  1365. 0x00000ad2: d00a .. BEQ 0xaea ; ADC_Init + 96
  1366. 0x00000ad4: 7860 `x LDRB r0,[r4,#1]
  1367. 0x00000ad6: 2802 .( CMP r0,#2
  1368. 0x00000ad8: d007 .. BEQ 0xaea ; ADC_Init + 96
  1369. 0x00000ada: 7860 `x LDRB r0,[r4,#1]
  1370. 0x00000adc: 2803 .( CMP r0,#3
  1371. 0x00000ade: d004 .. BEQ 0xaea ; ADC_Init + 96
  1372. 0x00000ae0: 4a5f _J LDR r2,[pc,#380] ; [0xc60] = 0x16d6
  1373. 0x00000ae2: 2122 "! MOVS r1,#0x22
  1374. 0x00000ae4: a05f _. ADR r0,{pc}+0x180 ; 0xc64
  1375. 0x00000ae6: f000fcbc .... BL _assert_handler ; 0x1462
  1376. 0x00000aea: 7860 `x LDRB r0,[r4,#1]
  1377. 0x00000aec: 0100 .. LSLS r0,r0,#4
  1378. 0x00000aee: 218f .! MOVS r1,#0x8f
  1379. 0x00000af0: 4308 .C ORRS r0,r0,r1
  1380. 0x00000af2: 4967 gI LDR r1,[pc,#412] ; [0xc90] = 0x10008960
  1381. 0x00000af4: 7448 Ht STRB r0,[r1,#0x11]
  1382. 0x00000af6: 207c | MOVS r0,#0x7c
  1383. 0x00000af8: 4965 eI LDR r1,[pc,#404] ; [0xc90] = 0x10008960
  1384. 0x00000afa: 3960 `9 SUBS r1,r1,#0x60
  1385. 0x00000afc: 7188 .q STRB r0,[r1,#6]
  1386. 0x00000afe: 20aa . MOVS r0,#0xaa
  1387. 0x00000b00: 4963 cI LDR r1,[pc,#396] ; [0xc90] = 0x10008960
  1388. 0x00000b02: 7488 .t STRB r0,[r1,#0x12]
  1389. 0x00000b04: 7820 x LDRB r0,[r4,#0]
  1390. 0x00000b06: 2130 0! MOVS r1,#0x30
  1391. 0x00000b08: 4308 .C ORRS r0,r0,r1
  1392. 0x00000b0a: 4961 aI LDR r1,[pc,#388] ; [0xc90] = 0x10008960
  1393. 0x00000b0c: 74c8 .t STRB r0,[r1,#0x13]
  1394. 0x00000b0e: 2080 . MOVS r0,#0x80
  1395. 0x00000b10: 4960 `I LDR r1,[pc,#384] ; [0xc94] = 0x10008060
  1396. 0x00000b12: 70c8 .p STRB r0,[r1,#3]
  1397. 0x00000b14: bd10 .. POP {r4,pc}
  1398. ADC_GetResult
  1399. 0x00000b16: 4601 .F MOV r1,r0
  1400. 0x00000b18: 4a5f _J LDR r2,[pc,#380] ; [0xc98] = 0x1388
  1401. 0x00000b1a: 207c | MOVS r0,#0x7c
  1402. 0x00000b1c: 4b5c \K LDR r3,[pc,#368] ; [0xc90] = 0x10008960
  1403. 0x00000b1e: 3b60 `; SUBS r3,r3,#0x60
  1404. 0x00000b20: 7198 .q STRB r0,[r3,#6]
  1405. 0x00000b22: 20aa . MOVS r0,#0xaa
  1406. 0x00000b24: 4b5a ZK LDR r3,[pc,#360] ; [0xc90] = 0x10008960
  1407. 0x00000b26: 7498 .t STRB r0,[r3,#0x12]
  1408. 0x00000b28: 2030 0 MOVS r0,#0x30
  1409. 0x00000b2a: 4308 .C ORRS r0,r0,r1
  1410. 0x00000b2c: 74d8 .t STRB r0,[r3,#0x13]
  1411. 0x00000b2e: 2080 . MOVS r0,#0x80
  1412. 0x00000b30: 4b58 XK LDR r3,[pc,#352] ; [0xc94] = 0x10008060
  1413. 0x00000b32: 70d8 .p STRB r0,[r3,#3]
  1414. 0x00000b34: bf00 .. NOP
  1415. 0x00000b36: 4610 .F MOV r0,r2
  1416. 0x00000b38: 1e52 R. SUBS r2,r2,#1
  1417. 0x00000b3a: 2800 .( CMP r0,#0
  1418. 0x00000b3c: d1fb .. BNE 0xb36 ; ADC_GetResult + 32
  1419. 0x00000b3e: 4857 WH LDR r0,[pc,#348] ; [0xc9c] = 0x10008340
  1420. 0x00000b40: 7c80 .| LDRB r0,[r0,#0x12]
  1421. 0x00000b42: 4b56 VK LDR r3,[pc,#344] ; [0xc9c] = 0x10008340
  1422. 0x00000b44: 7cdb .| LDRB r3,[r3,#0x13]
  1423. 0x00000b46: 021b .. LSLS r3,r3,#8
  1424. 0x00000b48: 4318 .C ORRS r0,r0,r3
  1425. 0x00000b4a: 4770 pG BX lr
  1426. ADC_GetVoltage
  1427. 0x00000b4c: b5f1 .. PUSH {r0,r4-r7,lr}
  1428. 0x00000b4e: b08a .. SUB sp,sp,#0x28
  1429. 0x00000b50: 2000 . MOVS r0,#0
  1430. 0x00000b52: 9009 .. STR r0,[sp,#0x24]
  1431. 0x00000b54: 9008 .. STR r0,[sp,#0x20]
  1432. 0x00000b56: 9007 .. STR r0,[sp,#0x1c]
  1433. 0x00000b58: 26ff .& MOVS r6,#0xff
  1434. 0x00000b5a: 36f5 .6 ADDS r6,r6,#0xf5
  1435. 0x00000b5c: 0077 w. LSLS r7,r6,#1
  1436. 0x00000b5e: 2400 .$ MOVS r4,#0
  1437. 0x00000b60: 2500 .% MOVS r5,#0
  1438. 0x00000b62: 484b KH LDR r0,[pc,#300] ; [0xc90] = 0x10008960
  1439. 0x00000b64: 7c40 @| LDRB r0,[r0,#0x11]
  1440. 0x00000b66: 2170 p! MOVS r1,#0x70
  1441. 0x00000b68: 4008 .@ ANDS r0,r0,r1
  1442. 0x00000b6a: 1100 .. ASRS r0,r0,#4
  1443. 0x00000b6c: 9006 .. STR r0,[sp,#0x18]
  1444. 0x00000b6e: 2000 . MOVS r0,#0
  1445. 0x00000b70: 9002 .. STR r0,[sp,#8]
  1446. 0x00000b72: 9003 .. STR r0,[sp,#0xc]
  1447. 0x00000b74: 9004 .. STR r0,[sp,#0x10]
  1448. 0x00000b76: 9005 .. STR r0,[sp,#0x14]
  1449. 0x00000b78: 220e ." MOVS r2,#0xe
  1450. 0x00000b7a: a902 .. ADD r1,sp,#8
  1451. 0x00000b7c: 4848 HH LDR r0,[pc,#288] ; [0xca0] = 0x1fe2
  1452. 0x00000b7e: f000fa8c .... BL read_otp_data ; 0x109a
  1453. 0x00000b82: 4669 iF MOV r1,sp
  1454. 0x00000b84: 7d48 H} LDRB r0,[r1,#0x15]
  1455. 0x00000b86: 0200 .. LSLS r0,r0,#8
  1456. 0x00000b88: 7d09 .} LDRB r1,[r1,#0x14]
  1457. 0x00000b8a: 4308 .C ORRS r0,r0,r1
  1458. 0x00000b8c: 4945 EI LDR r1,[pc,#276] ; [0xca4] = 0xaa55
  1459. 0x00000b8e: 4288 .B CMP r0,r1
  1460. 0x00000b90: d002 .. BEQ 0xb98 ; ADC_GetVoltage + 76
  1461. 0x00000b92: 1e60 `. SUBS r0,r4,#1
  1462. 0x00000b94: b00b .. ADD sp,sp,#0x2c
  1463. 0x00000b96: bdf0 .. POP {r4-r7,pc}
  1464. 0x00000b98: 9806 .. LDR r0,[sp,#0x18]
  1465. 0x00000b9a: 2800 .( CMP r0,#0
  1466. 0x00000b9c: d004 .. BEQ 0xba8 ; ADC_GetVoltage + 92
  1467. 0x00000b9e: 2802 .( CMP r0,#2
  1468. 0x00000ba0: d019 .. BEQ 0xbd6 ; ADC_GetVoltage + 138
  1469. 0x00000ba2: 2803 .( CMP r0,#3
  1470. 0x00000ba4: d145 E. BNE 0xc32 ; ADC_GetVoltage + 230
  1471. 0x00000ba6: e02d -. B 0xc04 ; ADC_GetVoltage + 184
  1472. 0x00000ba8: 4668 hF MOV r0,sp
  1473. 0x00000baa: 7a40 @z LDRB r0,[r0,#9]
  1474. 0x00000bac: 0201 .. LSLS r1,r0,#8
  1475. 0x00000bae: 4668 hF MOV r0,sp
  1476. 0x00000bb0: 7a00 .z LDRB r0,[r0,#8]
  1477. 0x00000bb2: 4308 .C ORRS r0,r0,r1
  1478. 0x00000bb4: 217d }! MOVS r1,#0x7d
  1479. 0x00000bb6: 00c9 .. LSLS r1,r1,#3
  1480. 0x00000bb8: 4348 HC MULS r0,r1,r0
  1481. 0x00000bba: 4604 .F MOV r4,r0
  1482. 0x00000bbc: 4668 hF MOV r0,sp
  1483. 0x00000bbe: 7bc0 .{ LDRB r0,[r0,#0xf]
  1484. 0x00000bc0: 0200 .. LSLS r0,r0,#8
  1485. 0x00000bc2: 4669 iF MOV r1,sp
  1486. 0x00000bc4: 7b89 .{ LDRB r1,[r1,#0xe]
  1487. 0x00000bc6: 4308 .C ORRS r0,r0,r1
  1488. 0x00000bc8: 217d }! MOVS r1,#0x7d
  1489. 0x00000bca: 00c9 .. LSLS r1,r1,#3
  1490. 0x00000bcc: 4348 HC MULS r0,r1,r0
  1491. 0x00000bce: 4605 .F MOV r5,r0
  1492. 0x00000bd0: 104e N. ASRS r6,r1,#1
  1493. 0x00000bd2: 460f .F MOV r7,r1
  1494. 0x00000bd4: e030 0. B 0xc38 ; ADC_GetVoltage + 236
  1495. 0x00000bd6: 4668 hF MOV r0,sp
  1496. 0x00000bd8: 7ac0 .z LDRB r0,[r0,#0xb]
  1497. 0x00000bda: 0201 .. LSLS r1,r0,#8
  1498. 0x00000bdc: 4668 hF MOV r0,sp
  1499. 0x00000bde: 7a80 .z LDRB r0,[r0,#0xa]
  1500. 0x00000be0: 4308 .C ORRS r0,r0,r1
  1501. 0x00000be2: 217d }! MOVS r1,#0x7d
  1502. 0x00000be4: 00c9 .. LSLS r1,r1,#3
  1503. 0x00000be6: 4348 HC MULS r0,r1,r0
  1504. 0x00000be8: 4604 .F MOV r4,r0
  1505. 0x00000bea: 4668 hF MOV r0,sp
  1506. 0x00000bec: 7c40 @| LDRB r0,[r0,#0x11]
  1507. 0x00000bee: 0200 .. LSLS r0,r0,#8
  1508. 0x00000bf0: 4669 iF MOV r1,sp
  1509. 0x00000bf2: 7c09 .| LDRB r1,[r1,#0x10]
  1510. 0x00000bf4: 4308 .C ORRS r0,r0,r1
  1511. 0x00000bf6: 217d }! MOVS r1,#0x7d
  1512. 0x00000bf8: 00c9 .. LSLS r1,r1,#3
  1513. 0x00000bfa: 4348 HC MULS r0,r1,r0
  1514. 0x00000bfc: 4605 .F MOV r5,r0
  1515. 0x00000bfe: 4e2a *N LDR r6,[pc,#168] ; [0xca8] = 0xbb8
  1516. 0x00000c00: 4f25 %O LDR r7,[pc,#148] ; [0xc98] = 0x1388
  1517. 0x00000c02: e019 .. B 0xc38 ; ADC_GetVoltage + 236
  1518. 0x00000c04: 4668 hF MOV r0,sp
  1519. 0x00000c06: 7b40 @{ LDRB r0,[r0,#0xd]
  1520. 0x00000c08: 0201 .. LSLS r1,r0,#8
  1521. 0x00000c0a: 4668 hF MOV r0,sp
  1522. 0x00000c0c: 7b00 .{ LDRB r0,[r0,#0xc]
  1523. 0x00000c0e: 4308 .C ORRS r0,r0,r1
  1524. 0x00000c10: 217d }! MOVS r1,#0x7d
  1525. 0x00000c12: 00c9 .. LSLS r1,r1,#3
  1526. 0x00000c14: 4348 HC MULS r0,r1,r0
  1527. 0x00000c16: 4604 .F MOV r4,r0
  1528. 0x00000c18: 4668 hF MOV r0,sp
  1529. 0x00000c1a: 7cc0 .| LDRB r0,[r0,#0x13]
  1530. 0x00000c1c: 0200 .. LSLS r0,r0,#8
  1531. 0x00000c1e: 4669 iF MOV r1,sp
  1532. 0x00000c20: 7c89 .| LDRB r1,[r1,#0x12]
  1533. 0x00000c22: 4308 .C ORRS r0,r0,r1
  1534. 0x00000c24: 217d }! MOVS r1,#0x7d
  1535. 0x00000c26: 00c9 .. LSLS r1,r1,#3
  1536. 0x00000c28: 4348 HC MULS r0,r1,r0
  1537. 0x00000c2a: 4605 .F MOV r5,r0
  1538. 0x00000c2c: 4e1e .N LDR r6,[pc,#120] ; [0xca8] = 0xbb8
  1539. 0x00000c2e: 4f1f .O LDR r7,[pc,#124] ; [0xcac] = 0xce4
  1540. 0x00000c30: e002 .. B 0xc38 ; ADC_GetVoltage + 236
  1541. 0x00000c32: 2000 . MOVS r0,#0
  1542. 0x00000c34: 43c0 .C MVNS r0,r0
  1543. 0x00000c36: e7ad .. B 0xb94 ; ADC_GetVoltage + 72
  1544. 0x00000c38: bf00 .. NOP
  1545. 0x00000c3a: 2c00 ., CMP r4,#0
  1546. 0x00000c3c: d001 .. BEQ 0xc42 ; ADC_GetVoltage + 246
  1547. 0x00000c3e: 2d00 .- CMP r5,#0
  1548. 0x00000c40: d102 .. BNE 0xc48 ; ADC_GetVoltage + 252
  1549. 0x00000c42: 2000 . MOVS r0,#0
  1550. 0x00000c44: 43c0 .C MVNS r0,r0
  1551. 0x00000c46: e7a5 .. B 0xb94 ; ADC_GetVoltage + 72
  1552. 0x00000c48: 980a .. LDR r0,[sp,#0x28]
  1553. 0x00000c4a: f7ffff64 ..d. BL ADC_GetResult ; 0xb16
  1554. 0x00000c4e: 9009 .. STR r0,[sp,#0x24]
  1555. 0x00000c50: 463b ;F MOV r3,r7
  1556. 0x00000c52: 4622 "F MOV r2,r4
  1557. 0x00000c54: 4629 )F MOV r1,r5
  1558. 0x00000c56: 9600 .. STR r6,[sp,#0]
  1559. 0x00000c58: 9809 .. LDR r0,[sp,#0x24]
  1560. 0x00000c5a: f7fffeeb .... BL calculate_voltage ; 0xa34
  1561. 0x00000c5e: e799 .. B 0xb94 ; ADC_GetVoltage + 72
  1562. $d
  1563. 0x00000c60: 000016d6 .... DCD 5846
  1564. 0x00000c64: 2e5c2e2e ..\. DCD 777793070
  1565. 0x00000c68: 2e2e5c2e .\.. DCD 774790190
  1566. 0x00000c6c: 5c2e2e5c \..\ DCD 1546530396
  1567. 0x00000c70: 7262694c Libr DCD 1919052108
  1568. 0x00000c74: 65697261 arie DCD 1701409377
  1569. 0x00000c78: 72645c72 r\dr DCD 1919179890
  1570. 0x00000c7c: 72657669 iver DCD 1919252073
  1571. 0x00000c80: 64615c73 s\ad DCD 1684102259
  1572. 0x00000c84: 72445c63 c\Dr DCD 1917082723
  1573. 0x00000c88: 64615f76 v_ad DCD 1684103030
  1574. 0x00000c8c: 00632e63 c.c. DCD 6499939
  1575. 0x00000c90: 10008960 `... DCD 268470624
  1576. 0x00000c94: 10008060 `... DCD 268468320
  1577. 0x00000c98: 00001388 .... DCD 5000
  1578. 0x00000c9c: 10008340 @... DCD 268469056
  1579. 0x00000ca0: 00001fe2 .... DCD 8162
  1580. 0x00000ca4: 0000aa55 U... DCD 43605
  1581. 0x00000ca8: 00000bb8 .... DCD 3000
  1582. 0x00000cac: 00000ce4 .... DCD 3300
  1583. $t
  1584. .text
  1585. SYS_TimerExpireDefaultHandle
  1586. 0x00000cb0: bf00 .. NOP
  1587. 0x00000cb2: bf00 .. NOP
  1588. 0x00000cb4: 4770 pG BX lr
  1589. SYS_TimerInit
  1590. 0x00000cb6: b510 .. PUSH {r4,lr}
  1591. 0x00000cb8: 48b6 .H LDR r0,[pc,#728] ; [0xf94] = 0x10010934
  1592. 0x00000cba: 49b7 .I LDR r1,[pc,#732] ; [0xf98] = 0x10010500
  1593. 0x00000cbc: 6008 .` STR r0,[r1,#0]
  1594. 0x00000cbe: 2000 . MOVS r0,#0
  1595. 0x00000cc0: 6809 .h LDR r1,[r1,#0]
  1596. 0x00000cc2: 6108 .a STR r0,[r1,#0x10]
  1597. 0x00000cc4: 48b5 .H LDR r0,[pc,#724] ; [0xf9c] = 0xcb1
  1598. 0x00000cc6: 49b4 .I LDR r1,[pc,#720] ; [0xf98] = 0x10010500
  1599. 0x00000cc8: 6809 .h LDR r1,[r1,#0]
  1600. 0x00000cca: 60c8 .` STR r0,[r1,#0xc]
  1601. 0x00000ccc: 2001 . MOVS r0,#1
  1602. 0x00000cce: 49b2 .I LDR r1,[pc,#712] ; [0xf98] = 0x10010500
  1603. 0x00000cd0: 6809 .h LDR r1,[r1,#0]
  1604. 0x00000cd2: 7208 .r STRB r0,[r1,#8]
  1605. 0x00000cd4: 2000 . MOVS r0,#0
  1606. 0x00000cd6: 49b0 .I LDR r1,[pc,#704] ; [0xf98] = 0x10010500
  1607. 0x00000cd8: 6809 .h LDR r1,[r1,#0]
  1608. 0x00000cda: 6008 .` STR r0,[r1,#0]
  1609. 0x00000cdc: 4cb0 .L LDR r4,[pc,#704] ; [0xfa0] = 0x5dc0
  1610. 0x00000cde: 1e60 `. SUBS r0,r4,#1
  1611. 0x00000ce0: 49b0 .I LDR r1,[pc,#704] ; [0xfa4] = 0xffffff
  1612. 0x00000ce2: 4288 .B CMP r0,r1
  1613. 0x00000ce4: d900 .. BLS 0xce8 ; SYS_TimerInit + 50
  1614. 0x00000ce6: e00c .. B 0xd02 ; SYS_TimerInit + 76
  1615. 0x00000ce8: 1e60 `. SUBS r0,r4,#1
  1616. 0x00000cea: 49af .I LDR r1,[pc,#700] ; [0xfa8] = 0xe000e000
  1617. 0x00000cec: 6148 Ha STR r0,[r1,#0x14]
  1618. 0x00000cee: 2103 .! MOVS r1,#3
  1619. 0x00000cf0: 1f08 .. SUBS r0,r1,#4
  1620. 0x00000cf2: f000f917 .... BL NVIC_SetPriority ; 0xf24
  1621. 0x00000cf6: 2000 . MOVS r0,#0
  1622. 0x00000cf8: 49ab .I LDR r1,[pc,#684] ; [0xfa8] = 0xe000e000
  1623. 0x00000cfa: 6188 .a STR r0,[r1,#0x18]
  1624. 0x00000cfc: 2007 . MOVS r0,#7
  1625. 0x00000cfe: 6108 .a STR r0,[r1,#0x10]
  1626. 0x00000d00: bf00 .. NOP
  1627. 0x00000d02: bd10 .. POP {r4,pc}
  1628. SYS_TimerisExist
  1629. 0x00000d04: 4602 .F MOV r2,r0
  1630. 0x00000d06: 2a00 .* CMP r2,#0
  1631. 0x00000d08: d100 .. BNE 0xd0c ; SYS_TimerisExist + 8
  1632. 0x00000d0a: 4770 pG BX lr
  1633. 0x00000d0c: 48a2 .H LDR r0,[pc,#648] ; [0xf98] = 0x10010500
  1634. 0x00000d0e: 6801 .h LDR r1,[r0,#0]
  1635. 0x00000d10: e004 .. B 0xd1c ; SYS_TimerisExist + 24
  1636. 0x00000d12: 428a .B CMP r2,r1
  1637. 0x00000d14: d101 .. BNE 0xd1a ; SYS_TimerisExist + 22
  1638. 0x00000d16: 2001 . MOVS r0,#1
  1639. 0x00000d18: e7f7 .. B 0xd0a ; SYS_TimerisExist + 6
  1640. 0x00000d1a: 6909 .i LDR r1,[r1,#0x10]
  1641. 0x00000d1c: 6908 .i LDR r0,[r1,#0x10]
  1642. 0x00000d1e: 2800 .( CMP r0,#0
  1643. 0x00000d20: d1f7 .. BNE 0xd12 ; SYS_TimerisExist + 14
  1644. 0x00000d22: bf00 .. NOP
  1645. 0x00000d24: e7f1 .. B 0xd0a ; SYS_TimerisExist + 6
  1646. SYS_SetTimer
  1647. 0x00000d26: b5f0 .. PUSH {r4-r7,lr}
  1648. 0x00000d28: 4604 .F MOV r4,r0
  1649. 0x00000d2a: 460d .F MOV r5,r1
  1650. 0x00000d2c: 4616 .F MOV r6,r2
  1651. 0x00000d2e: 2c00 ., CMP r4,#0
  1652. 0x00000d30: d100 .. BNE 0xd34 ; SYS_SetTimer + 14
  1653. 0x00000d32: bdf0 .. POP {r4-r7,pc}
  1654. 0x00000d34: 4620 F MOV r0,r4
  1655. 0x00000d36: f7ffffe5 .... BL SYS_TimerisExist ; 0xd04
  1656. 0x00000d3a: 2800 .( CMP r0,#0
  1657. 0x00000d3c: d001 .. BEQ 0xd42 ; SYS_SetTimer + 28
  1658. 0x00000d3e: 2001 . MOVS r0,#1
  1659. 0x00000d40: e7f7 .. B 0xd32 ; SYS_SetTimer + 12
  1660. 0x00000d42: 2b00 .+ CMP r3,#0
  1661. 0x00000d44: d102 .. BNE 0xd4c ; SYS_SetTimer + 38
  1662. 0x00000d46: 4895 .H LDR r0,[pc,#596] ; [0xf9c] = 0xcb1
  1663. 0x00000d48: 60e0 .` STR r0,[r4,#0xc]
  1664. 0x00000d4a: e000 .. B 0xd4e ; SYS_SetTimer + 40
  1665. 0x00000d4c: 60e3 .` STR r3,[r4,#0xc]
  1666. 0x00000d4e: b672 r. CPSID i
  1667. 0x00000d50: 6065 e` STR r5,[r4,#4]
  1668. 0x00000d52: 4896 .H LDR r0,[pc,#600] ; [0xfac] = 0x10010504
  1669. 0x00000d54: 6800 .h LDR r0,[r0,#0]
  1670. 0x00000d56: 1940 @. ADDS r0,r0,r5
  1671. 0x00000d58: 6020 ` STR r0,[r4,#0]
  1672. 0x00000d5a: 2001 . MOVS r0,#1
  1673. 0x00000d5c: 7220 r STRB r0,[r4,#8]
  1674. 0x00000d5e: 7266 fr STRB r6,[r4,#9]
  1675. 0x00000d60: 488d .H LDR r0,[pc,#564] ; [0xf98] = 0x10010500
  1676. 0x00000d62: 6807 .h LDR r7,[r0,#0]
  1677. 0x00000d64: 6004 .` STR r4,[r0,#0]
  1678. 0x00000d66: 6800 .h LDR r0,[r0,#0]
  1679. 0x00000d68: 6107 .a STR r7,[r0,#0x10]
  1680. 0x00000d6a: b662 b. CPSIE i
  1681. 0x00000d6c: 2001 . MOVS r0,#1
  1682. 0x00000d6e: e7e0 .. B 0xd32 ; SYS_SetTimer + 12
  1683. SYS_ResetTimer
  1684. 0x00000d70: 4601 .F MOV r1,r0
  1685. 0x00000d72: 2900 .) CMP r1,#0
  1686. 0x00000d74: d100 .. BNE 0xd78 ; SYS_ResetTimer + 8
  1687. 0x00000d76: 4770 pG BX lr
  1688. 0x00000d78: 4887 .H LDR r0,[pc,#540] ; [0xf98] = 0x10010500
  1689. 0x00000d7a: 6802 .h LDR r2,[r0,#0]
  1690. 0x00000d7c: e009 .. B 0xd92 ; SYS_ResetTimer + 34
  1691. 0x00000d7e: 4291 .B CMP r1,r2
  1692. 0x00000d80: d106 .. BNE 0xd90 ; SYS_ResetTimer + 32
  1693. 0x00000d82: 4b8a .K LDR r3,[pc,#552] ; [0xfac] = 0x10010504
  1694. 0x00000d84: 6848 Hh LDR r0,[r1,#4]
  1695. 0x00000d86: 681b .h LDR r3,[r3,#0]
  1696. 0x00000d88: 18c0 .. ADDS r0,r0,r3
  1697. 0x00000d8a: 6008 .` STR r0,[r1,#0]
  1698. 0x00000d8c: 2001 . MOVS r0,#1
  1699. 0x00000d8e: e7f2 .. B 0xd76 ; SYS_ResetTimer + 6
  1700. 0x00000d90: 6912 .i LDR r2,[r2,#0x10]
  1701. 0x00000d92: 6910 .i LDR r0,[r2,#0x10]
  1702. 0x00000d94: 2800 .( CMP r0,#0
  1703. 0x00000d96: d1f2 .. BNE 0xd7e ; SYS_ResetTimer + 14
  1704. 0x00000d98: bf00 .. NOP
  1705. 0x00000d9a: e7ec .. B 0xd76 ; SYS_ResetTimer + 6
  1706. SYS_TimerTest
  1707. 0x00000d9c: 2100 .! MOVS r1,#0
  1708. 0x00000d9e: 4a7e ~J LDR r2,[pc,#504] ; [0xf98] = 0x10010500
  1709. 0x00000da0: 6810 .h LDR r0,[r2,#0]
  1710. 0x00000da2: e001 .. B 0xda8 ; SYS_TimerTest + 12
  1711. 0x00000da4: 1c49 I. ADDS r1,r1,#1
  1712. 0x00000da6: 6900 .i LDR r0,[r0,#0x10]
  1713. 0x00000da8: 6902 .i LDR r2,[r0,#0x10]
  1714. 0x00000daa: 2a00 .* CMP r2,#0
  1715. 0x00000dac: d1fa .. BNE 0xda4 ; SYS_TimerTest + 8
  1716. 0x00000dae: 4770 pG BX lr
  1717. SYS_ReleaseTimer
  1718. 0x00000db0: b510 .. PUSH {r4,lr}
  1719. 0x00000db2: 4602 .F MOV r2,r0
  1720. 0x00000db4: 2a00 .* CMP r2,#0
  1721. 0x00000db6: d100 .. BNE 0xdba ; SYS_ReleaseTimer + 10
  1722. 0x00000db8: bd10 .. POP {r4,pc}
  1723. 0x00000dba: 4876 vH LDR r0,[pc,#472] ; [0xf94] = 0x10010934
  1724. 0x00000dbc: 4282 .B CMP r2,r0
  1725. 0x00000dbe: d101 .. BNE 0xdc4 ; SYS_ReleaseTimer + 20
  1726. 0x00000dc0: 2000 . MOVS r0,#0
  1727. 0x00000dc2: e7f9 .. B 0xdb8 ; SYS_ReleaseTimer + 8
  1728. 0x00000dc4: 4874 tH LDR r0,[pc,#464] ; [0xf98] = 0x10010500
  1729. 0x00000dc6: 6801 .h LDR r1,[r0,#0]
  1730. 0x00000dc8: 460b .F MOV r3,r1
  1731. 0x00000dca: e00f .. B 0xdec ; SYS_ReleaseTimer + 60
  1732. 0x00000dcc: 428a .B CMP r2,r1
  1733. 0x00000dce: d10b .. BNE 0xde8 ; SYS_ReleaseTimer + 56
  1734. 0x00000dd0: 2000 . MOVS r0,#0
  1735. 0x00000dd2: 7208 .r STRB r0,[r1,#8]
  1736. 0x00000dd4: 428b .B CMP r3,r1
  1737. 0x00000dd6: d103 .. BNE 0xde0 ; SYS_ReleaseTimer + 48
  1738. 0x00000dd8: 4c6f oL LDR r4,[pc,#444] ; [0xf98] = 0x10010500
  1739. 0x00000dda: 6908 .i LDR r0,[r1,#0x10]
  1740. 0x00000ddc: 6020 ` STR r0,[r4,#0]
  1741. 0x00000dde: e001 .. B 0xde4 ; SYS_ReleaseTimer + 52
  1742. 0x00000de0: 6908 .i LDR r0,[r1,#0x10]
  1743. 0x00000de2: 6118 .a STR r0,[r3,#0x10]
  1744. 0x00000de4: 2001 . MOVS r0,#1
  1745. 0x00000de6: e7e7 .. B 0xdb8 ; SYS_ReleaseTimer + 8
  1746. 0x00000de8: 460b .F MOV r3,r1
  1747. 0x00000dea: 6909 .i LDR r1,[r1,#0x10]
  1748. 0x00000dec: 6908 .i LDR r0,[r1,#0x10]
  1749. 0x00000dee: 2800 .( CMP r0,#0
  1750. 0x00000df0: d1ec .. BNE 0xdcc ; SYS_ReleaseTimer + 28
  1751. 0x00000df2: bf00 .. NOP
  1752. 0x00000df4: e7e0 .. B 0xdb8 ; SYS_ReleaseTimer + 8
  1753. SYS_timerPolling
  1754. 0x00000df6: b510 .. PUSH {r4,lr}
  1755. 0x00000df8: 486d mH LDR r0,[pc,#436] ; [0xfb0] = 0x10010508
  1756. 0x00000dfa: 7800 .x LDRB r0,[r0,#0]
  1757. 0x00000dfc: 2800 .( CMP r0,#0
  1758. 0x00000dfe: d020 . BEQ 0xe42 ; SYS_timerPolling + 76
  1759. 0x00000e00: 2000 . MOVS r0,#0
  1760. 0x00000e02: 496b kI LDR r1,[pc,#428] ; [0xfb0] = 0x10010508
  1761. 0x00000e04: 7008 .p STRB r0,[r1,#0]
  1762. 0x00000e06: 4864 dH LDR r0,[pc,#400] ; [0xf98] = 0x10010500
  1763. 0x00000e08: 6804 .h LDR r4,[r0,#0]
  1764. 0x00000e0a: e017 .. B 0xe3c ; SYS_timerPolling + 70
  1765. 0x00000e0c: 7a20 z LDRB r0,[r4,#8]
  1766. 0x00000e0e: 2801 .( CMP r0,#1
  1767. 0x00000e10: d113 .. BNE 0xe3a ; SYS_timerPolling + 68
  1768. 0x00000e12: 4966 fI LDR r1,[pc,#408] ; [0xfac] = 0x10010504
  1769. 0x00000e14: 6820 h LDR r0,[r4,#0]
  1770. 0x00000e16: 6809 .h LDR r1,[r1,#0]
  1771. 0x00000e18: 4288 .B CMP r0,r1
  1772. 0x00000e1a: d80e .. BHI 0xe3a ; SYS_timerPolling + 68
  1773. 0x00000e1c: 7a60 `z LDRB r0,[r4,#9]
  1774. 0x00000e1e: 2800 .( CMP r0,#0
  1775. 0x00000e20: d103 .. BNE 0xe2a ; SYS_timerPolling + 52
  1776. 0x00000e22: 4620 F MOV r0,r4
  1777. 0x00000e24: f7ffffc4 .... BL SYS_ReleaseTimer ; 0xdb0
  1778. 0x00000e28: e004 .. B 0xe34 ; SYS_timerPolling + 62
  1779. 0x00000e2a: 4960 `I LDR r1,[pc,#384] ; [0xfac] = 0x10010504
  1780. 0x00000e2c: 6860 `h LDR r0,[r4,#4]
  1781. 0x00000e2e: 6809 .h LDR r1,[r1,#0]
  1782. 0x00000e30: 1840 @. ADDS r0,r0,r1
  1783. 0x00000e32: 6020 ` STR r0,[r4,#0]
  1784. 0x00000e34: 68e1 .h LDR r1,[r4,#0xc]
  1785. 0x00000e36: 6960 `i LDR r0,[r4,#0x14]
  1786. 0x00000e38: 4788 .G BLX r1
  1787. 0x00000e3a: 6924 $i LDR r4,[r4,#0x10]
  1788. 0x00000e3c: 6920 i LDR r0,[r4,#0x10]
  1789. 0x00000e3e: 2800 .( CMP r0,#0
  1790. 0x00000e40: d1e4 .. BNE 0xe0c ; SYS_timerPolling + 22
  1791. 0x00000e42: bd10 .. POP {r4,pc}
  1792. SYS_ReleaseAllTimer
  1793. 0x00000e44: 4954 TI LDR r1,[pc,#336] ; [0xf98] = 0x10010500
  1794. 0x00000e46: 6808 .h LDR r0,[r1,#0]
  1795. 0x00000e48: e002 .. B 0xe50 ; SYS_ReleaseAllTimer + 12
  1796. 0x00000e4a: 2100 .! MOVS r1,#0
  1797. 0x00000e4c: 7201 .r STRB r1,[r0,#8]
  1798. 0x00000e4e: 6900 .i LDR r0,[r0,#0x10]
  1799. 0x00000e50: 6901 .i LDR r1,[r0,#0x10]
  1800. 0x00000e52: 2900 .) CMP r1,#0
  1801. 0x00000e54: d1f9 .. BNE 0xe4a ; SYS_ReleaseAllTimer + 6
  1802. 0x00000e56: 494f OI LDR r1,[pc,#316] ; [0xf94] = 0x10010934
  1803. 0x00000e58: 4a4f OJ LDR r2,[pc,#316] ; [0xf98] = 0x10010500
  1804. 0x00000e5a: 6011 .` STR r1,[r2,#0]
  1805. 0x00000e5c: 4770 pG BX lr
  1806. SYS_ClkTicks
  1807. 0x00000e5e: 4a55 UJ LDR r2,[pc,#340] ; [0xfb4] = 0x10008300
  1808. 0x00000e60: 7812 .x LDRB r2,[r2,#0]
  1809. 0x00000e62: 4b54 TK LDR r3,[pc,#336] ; [0xfb4] = 0x10008300
  1810. 0x00000e64: 785b [x LDRB r3,[r3,#1]
  1811. 0x00000e66: 021b .. LSLS r3,r3,#8
  1812. 0x00000e68: 431a .C ORRS r2,r2,r3
  1813. 0x00000e6a: 4b52 RK LDR r3,[pc,#328] ; [0xfb4] = 0x10008300
  1814. 0x00000e6c: 789b .x LDRB r3,[r3,#2]
  1815. 0x00000e6e: 041b .. LSLS r3,r3,#16
  1816. 0x00000e70: 431a .C ORRS r2,r2,r3
  1817. 0x00000e72: 4b50 PK LDR r3,[pc,#320] ; [0xfb4] = 0x10008300
  1818. 0x00000e74: 78db .x LDRB r3,[r3,#3]
  1819. 0x00000e76: 061b .. LSLS r3,r3,#24
  1820. 0x00000e78: 431a .C ORRS r2,r2,r3
  1821. 0x00000e7a: 4610 .F MOV r0,r2
  1822. 0x00000e7c: 2100 .! MOVS r1,#0
  1823. 0x00000e7e: 4a4e NJ LDR r2,[pc,#312] ; [0xfb8] = 0x1001050c
  1824. 0x00000e80: 6812 .h LDR r2,[r2,#0]
  1825. 0x00000e82: 2a00 .* CMP r2,#0
  1826. 0x00000e84: d102 .. BNE 0xe8c ; SYS_ClkTicks + 46
  1827. 0x00000e86: 4a4c LJ LDR r2,[pc,#304] ; [0xfb8] = 0x1001050c
  1828. 0x00000e88: 6010 .` STR r0,[r2,#0]
  1829. 0x00000e8a: e01a .. B 0xec2 ; SYS_ClkTicks + 100
  1830. 0x00000e8c: 4a4a JJ LDR r2,[pc,#296] ; [0xfb8] = 0x1001050c
  1831. 0x00000e8e: 6812 .h LDR r2,[r2,#0]
  1832. 0x00000e90: 4282 .B CMP r2,r0
  1833. 0x00000e92: d902 .. BLS 0xe9a ; SYS_ClkTicks + 60
  1834. 0x00000e94: 4a48 HJ LDR r2,[pc,#288] ; [0xfb8] = 0x1001050c
  1835. 0x00000e96: 6010 .` STR r0,[r2,#0]
  1836. 0x00000e98: 4770 pG BX lr
  1837. 0x00000e9a: 4a47 GJ LDR r2,[pc,#284] ; [0xfb8] = 0x1001050c
  1838. 0x00000e9c: 6812 .h LDR r2,[r2,#0]
  1839. 0x00000e9e: 1a81 .. SUBS r1,r0,r2
  1840. 0x00000ea0: e00d .. B 0xebe ; SYS_ClkTicks + 96
  1841. 0x00000ea2: 4a42 BJ LDR r2,[pc,#264] ; [0xfac] = 0x10010504
  1842. 0x00000ea4: 6812 .h LDR r2,[r2,#0]
  1843. 0x00000ea6: 1c52 R. ADDS r2,r2,#1
  1844. 0x00000ea8: 4b40 @K LDR r3,[pc,#256] ; [0xfac] = 0x10010504
  1845. 0x00000eaa: 601a .` STR r2,[r3,#0]
  1846. 0x00000eac: 4a42 BJ LDR r2,[pc,#264] ; [0xfb8] = 0x1001050c
  1847. 0x00000eae: 6812 .h LDR r2,[r2,#0]
  1848. 0x00000eb0: 3220 2 ADDS r2,r2,#0x20
  1849. 0x00000eb2: 4b41 AK LDR r3,[pc,#260] ; [0xfb8] = 0x1001050c
  1850. 0x00000eb4: 601a .` STR r2,[r3,#0]
  1851. 0x00000eb6: 3920 9 SUBS r1,r1,#0x20
  1852. 0x00000eb8: 2201 ." MOVS r2,#1
  1853. 0x00000eba: 4b3d =K LDR r3,[pc,#244] ; [0xfb0] = 0x10010508
  1854. 0x00000ebc: 701a .p STRB r2,[r3,#0]
  1855. 0x00000ebe: 2920 ) CMP r1,#0x20
  1856. 0x00000ec0: d2ef .. BCS 0xea2 ; SYS_ClkTicks + 68
  1857. 0x00000ec2: bf00 .. NOP
  1858. 0x00000ec4: e7e8 .. B 0xe98 ; SYS_ClkTicks + 58
  1859. SYStick_handle
  1860. 0x00000ec6: b500 .. PUSH {lr}
  1861. 0x00000ec8: f7ffffc9 .... BL SYS_ClkTicks ; 0xe5e
  1862. 0x00000ecc: 2001 . MOVS r0,#1
  1863. 0x00000ece: 4938 8I LDR r1,[pc,#224] ; [0xfb0] = 0x10010508
  1864. 0x00000ed0: 7008 .p STRB r0,[r1,#0]
  1865. 0x00000ed2: bd00 .. POP {pc}
  1866. SYS_delay_us
  1867. 0x00000ed4: b570 p. PUSH {r4-r6,lr}
  1868. 0x00000ed6: 4603 .F MOV r3,r0
  1869. 0x00000ed8: bf00 .. NOP
  1870. 0x00000eda: 4e33 3N LDR r6,[pc,#204] ; [0xfa8] = 0xe000e000
  1871. 0x00000edc: 6975 ui LDR r5,[r6,#0x14]
  1872. 0x00000ede: 2618 .& MOVS r6,#0x18
  1873. 0x00000ee0: 435e ^C MULS r6,r3,r6
  1874. 0x00000ee2: 4634 4F MOV r4,r6
  1875. 0x00000ee4: 2200 ." MOVS r2,#0
  1876. 0x00000ee6: 4e30 0N LDR r6,[pc,#192] ; [0xfa8] = 0xe000e000
  1877. 0x00000ee8: 69b1 .i LDR r1,[r6,#0x18]
  1878. 0x00000eea: e00f .. B 0xf0c ; SYS_delay_us + 56
  1879. 0x00000eec: 4e2e .N LDR r6,[pc,#184] ; [0xfa8] = 0xe000e000
  1880. 0x00000eee: 69b0 .i LDR r0,[r6,#0x18]
  1881. 0x00000ef0: 4288 .B CMP r0,r1
  1882. 0x00000ef2: d00b .. BEQ 0xf0c ; SYS_delay_us + 56
  1883. 0x00000ef4: 4288 .B CMP r0,r1
  1884. 0x00000ef6: d202 .. BCS 0xefe ; SYS_delay_us + 42
  1885. 0x00000ef8: 1a0e .. SUBS r6,r1,r0
  1886. 0x00000efa: 18b2 .. ADDS r2,r6,r2
  1887. 0x00000efc: e002 .. B 0xf04 ; SYS_delay_us + 48
  1888. 0x00000efe: 1a2e .. SUBS r6,r5,r0
  1889. 0x00000f00: 1876 v. ADDS r6,r6,r1
  1890. 0x00000f02: 18b2 .. ADDS r2,r6,r2
  1891. 0x00000f04: 4601 .F MOV r1,r0
  1892. 0x00000f06: 42a2 .B CMP r2,r4
  1893. 0x00000f08: d300 .. BCC 0xf0c ; SYS_delay_us + 56
  1894. 0x00000f0a: e000 .. B 0xf0e ; SYS_delay_us + 58
  1895. 0x00000f0c: e7ee .. B 0xeec ; SYS_delay_us + 24
  1896. 0x00000f0e: bf00 .. NOP
  1897. 0x00000f10: bd70 p. POP {r4-r6,pc}
  1898. SYS_delay_ms
  1899. 0x00000f12: b510 .. PUSH {r4,lr}
  1900. 0x00000f14: 4604 .F MOV r4,r0
  1901. 0x00000f16: 217d }! MOVS r1,#0x7d
  1902. 0x00000f18: 00c9 .. LSLS r1,r1,#3
  1903. 0x00000f1a: 4361 aC MULS r1,r4,r1
  1904. 0x00000f1c: 4608 .F MOV r0,r1
  1905. 0x00000f1e: f7ffffd9 .... BL SYS_delay_us ; 0xed4
  1906. 0x00000f22: bd10 .. POP {r4,pc}
  1907. NVIC_SetPriority
  1908. 0x00000f24: b510 .. PUSH {r4,lr}
  1909. 0x00000f26: 2800 .( CMP r0,#0
  1910. 0x00000f28: da19 .. BGE 0xf5e ; NVIC_SetPriority + 58
  1911. 0x00000f2a: 4a24 $J LDR r2,[pc,#144] ; [0xfbc] = 0xe000ed1c
  1912. 0x00000f2c: 0703 .. LSLS r3,r0,#28
  1913. 0x00000f2e: 0f1b .. LSRS r3,r3,#28
  1914. 0x00000f30: 3b08 .; SUBS r3,r3,#8
  1915. 0x00000f32: 089b .. LSRS r3,r3,#2
  1916. 0x00000f34: 009b .. LSLS r3,r3,#2
  1917. 0x00000f36: 58d2 .X LDR r2,[r2,r3]
  1918. 0x00000f38: 0783 .. LSLS r3,r0,#30
  1919. 0x00000f3a: 0edc .. LSRS r4,r3,#27
  1920. 0x00000f3c: 23ff .# MOVS r3,#0xff
  1921. 0x00000f3e: 40a3 .@ LSLS r3,r3,r4
  1922. 0x00000f40: 439a .C BICS r2,r2,r3
  1923. 0x00000f42: 078b .. LSLS r3,r1,#30
  1924. 0x00000f44: 0e1b .. LSRS r3,r3,#24
  1925. 0x00000f46: 0784 .. LSLS r4,r0,#30
  1926. 0x00000f48: 0ee4 .. LSRS r4,r4,#27
  1927. 0x00000f4a: 40a3 .@ LSLS r3,r3,r4
  1928. 0x00000f4c: 431a .C ORRS r2,r2,r3
  1929. 0x00000f4e: 4b1b .K LDR r3,[pc,#108] ; [0xfbc] = 0xe000ed1c
  1930. 0x00000f50: 0704 .. LSLS r4,r0,#28
  1931. 0x00000f52: 0f24 $. LSRS r4,r4,#28
  1932. 0x00000f54: 3c08 .< SUBS r4,r4,#8
  1933. 0x00000f56: 08a4 .. LSRS r4,r4,#2
  1934. 0x00000f58: 00a4 .. LSLS r4,r4,#2
  1935. 0x00000f5a: 511a .Q STR r2,[r3,r4]
  1936. 0x00000f5c: e018 .. B 0xf90 ; NVIC_SetPriority + 108
  1937. 0x00000f5e: 4a18 .J LDR r2,[pc,#96] ; [0xfc0] = 0xe000e100
  1938. 0x00000f60: 2303 .# MOVS r3,#3
  1939. 0x00000f62: 021b .. LSLS r3,r3,#8
  1940. 0x00000f64: 18d2 .. ADDS r2,r2,r3
  1941. 0x00000f66: 0883 .. LSRS r3,r0,#2
  1942. 0x00000f68: 009b .. LSLS r3,r3,#2
  1943. 0x00000f6a: 58d2 .X LDR r2,[r2,r3]
  1944. 0x00000f6c: 0783 .. LSLS r3,r0,#30
  1945. 0x00000f6e: 0edc .. LSRS r4,r3,#27
  1946. 0x00000f70: 23ff .# MOVS r3,#0xff
  1947. 0x00000f72: 40a3 .@ LSLS r3,r3,r4
  1948. 0x00000f74: 439a .C BICS r2,r2,r3
  1949. 0x00000f76: 078b .. LSLS r3,r1,#30
  1950. 0x00000f78: 0e1b .. LSRS r3,r3,#24
  1951. 0x00000f7a: 0784 .. LSLS r4,r0,#30
  1952. 0x00000f7c: 0ee4 .. LSRS r4,r4,#27
  1953. 0x00000f7e: 40a3 .@ LSLS r3,r3,r4
  1954. 0x00000f80: 431a .C ORRS r2,r2,r3
  1955. 0x00000f82: 4b0f .K LDR r3,[pc,#60] ; [0xfc0] = 0xe000e100
  1956. 0x00000f84: 2403 .$ MOVS r4,#3
  1957. 0x00000f86: 0224 $. LSLS r4,r4,#8
  1958. 0x00000f88: 191b .. ADDS r3,r3,r4
  1959. 0x00000f8a: 0884 .. LSRS r4,r0,#2
  1960. 0x00000f8c: 00a4 .. LSLS r4,r4,#2
  1961. 0x00000f8e: 511a .Q STR r2,[r3,r4]
  1962. 0x00000f90: bd10 .. POP {r4,pc}
  1963. $d
  1964. 0x00000f92: 0000 .. DCW 0
  1965. 0x00000f94: 10010934 4... DCD 268503348
  1966. 0x00000f98: 10010500 .... DCD 268502272
  1967. 0x00000f9c: 00000cb1 .... DCD 3249
  1968. 0x00000fa0: 00005dc0 .].. DCD 24000
  1969. 0x00000fa4: 00ffffff .... DCD 16777215
  1970. 0x00000fa8: e000e000 .... DCD 3758153728
  1971. 0x00000fac: 10010504 .... DCD 268502276
  1972. 0x00000fb0: 10010508 .... DCD 268502280
  1973. 0x00000fb4: 10008300 .... DCD 268468992
  1974. 0x00000fb8: 1001050c .... DCD 268502284
  1975. 0x00000fbc: e000ed1c .... DCD 3758157084
  1976. 0x00000fc0: e000e100 .... DCD 3758153984
  1977. $t
  1978. .text
  1979. deinit_otp
  1980. 0x00000fc4: 4849 IH LDR r0,[pc,#292] ; [0x10ec] = 0x10008960
  1981. 0x00000fc6: 7cc0 .| LDRB r0,[r0,#0x13]
  1982. 0x00000fc8: 2140 @! MOVS r1,#0x40
  1983. 0x00000fca: 4388 .C BICS r0,r0,r1
  1984. 0x00000fcc: 4947 GI LDR r1,[pc,#284] ; [0x10ec] = 0x10008960
  1985. 0x00000fce: 74c8 .t STRB r0,[r1,#0x13]
  1986. 0x00000fd0: 4770 pG BX lr
  1987. init_otp
  1988. 0x00000fd2: b510 .. PUSH {r4,lr}
  1989. 0x00000fd4: 4845 EH LDR r0,[pc,#276] ; [0x10ec] = 0x10008960
  1990. 0x00000fd6: 7cc0 .| LDRB r0,[r0,#0x13]
  1991. 0x00000fd8: 2140 @! MOVS r1,#0x40
  1992. 0x00000fda: 4308 .C ORRS r0,r0,r1
  1993. 0x00000fdc: 4943 CI LDR r1,[pc,#268] ; [0x10ec] = 0x10008960
  1994. 0x00000fde: 74c8 .t STRB r0,[r1,#0x13]
  1995. 0x00000fe0: 20ff . MOVS r0,#0xff
  1996. 0x00000fe2: 302d -0 ADDS r0,r0,#0x2d
  1997. 0x00000fe4: f7ffff76 ..v. BL SYS_delay_us ; 0xed4
  1998. 0x00000fe8: bd10 .. POP {r4,pc}
  1999. otp_set_addr
  2000. 0x00000fea: 00c0 .. LSLS r0,r0,#3
  2001. 0x00000fec: bf00 .. NOP
  2002. 0x00000fee: 4a40 @J LDR r2,[pc,#256] ; [0x10f0] = 0x10008040
  2003. 0x00000ff0: 7110 .q STRB r0,[r2,#4]
  2004. 0x00000ff2: 0401 .. LSLS r1,r0,#16
  2005. 0x00000ff4: 0e09 .. LSRS r1,r1,#24
  2006. 0x00000ff6: 7151 Qq STRB r1,[r2,#5]
  2007. 0x00000ff8: bf00 .. NOP
  2008. 0x00000ffa: 2100 .! MOVS r1,#0
  2009. 0x00000ffc: 7191 .q STRB r1,[r2,#6]
  2010. 0x00000ffe: 4770 pG BX lr
  2011. otp_ce
  2012. 0x00001000: b510 .. PUSH {r4,lr}
  2013. 0x00001002: 2082 . MOVS r0,#0x82
  2014. 0x00001004: 493a :I LDR r1,[pc,#232] ; [0x10f0] = 0x10008040
  2015. 0x00001006: 71c8 .q STRB r0,[r1,#7]
  2016. 0x00001008: 2001 . MOVS r0,#1
  2017. 0x0000100a: f7ffff63 ..c. BL SYS_delay_us ; 0xed4
  2018. 0x0000100e: 2080 . MOVS r0,#0x80
  2019. 0x00001010: 4937 7I LDR r1,[pc,#220] ; [0x10f0] = 0x10008040
  2020. 0x00001012: 71c8 .q STRB r0,[r1,#7]
  2021. 0x00001014: 2082 . MOVS r0,#0x82
  2022. 0x00001016: 71c8 .q STRB r0,[r1,#7]
  2023. 0x00001018: 200d . MOVS r0,#0xd
  2024. 0x0000101a: f7ffff5b ..[. BL SYS_delay_us ; 0xed4
  2025. 0x0000101e: bd10 .. POP {r4,pc}
  2026. read_otp_init
  2027. 0x00001020: b570 p. PUSH {r4-r6,lr}
  2028. 0x00001022: 4605 .F MOV r5,r0
  2029. 0x00001024: 460c .F MOV r4,r1
  2030. 0x00001026: f7ffffeb .... BL otp_ce ; 0x1000
  2031. 0x0000102a: 20a2 . MOVS r0,#0xa2
  2032. 0x0000102c: 4930 0I LDR r1,[pc,#192] ; [0x10f0] = 0x10008040
  2033. 0x0000102e: 71c8 .q STRB r0,[r1,#7]
  2034. 0x00001030: bf00 .. NOP
  2035. 0x00001032: 720d .r STRB r5,[r1,#8]
  2036. 0x00001034: 0428 (. LSLS r0,r5,#16
  2037. 0x00001036: 0e00 .. LSRS r0,r0,#24
  2038. 0x00001038: 7248 Hr STRB r0,[r1,#9]
  2039. 0x0000103a: bf00 .. NOP
  2040. 0x0000103c: bf00 .. NOP
  2041. 0x0000103e: 728c .r STRB r4,[r1,#0xa]
  2042. 0x00001040: 0420 . LSLS r0,r4,#16
  2043. 0x00001042: 0e00 .. LSRS r0,r0,#24
  2044. 0x00001044: 72c8 .r STRB r0,[r1,#0xb]
  2045. 0x00001046: bf00 .. NOP
  2046. 0x00001048: 2011 . MOVS r0,#0x11
  2047. 0x0000104a: 7188 .q STRB r0,[r1,#6]
  2048. 0x0000104c: 2001 . MOVS r0,#1
  2049. 0x0000104e: 4928 (I LDR r1,[pc,#160] ; [0x10f0] = 0x10008040
  2050. 0x00001050: 3940 @9 SUBS r1,r1,#0x40
  2051. 0x00001052: 7288 .r STRB r0,[r1,#0xa]
  2052. 0x00001054: bd70 p. POP {r4-r6,pc}
  2053. read_otp
  2054. 0x00001056: b570 p. PUSH {r4-r6,lr}
  2055. 0x00001058: 4606 .F MOV r6,r0
  2056. 0x0000105a: 460d .F MOV r5,r1
  2057. 0x0000105c: 4614 .F MOV r4,r2
  2058. 0x0000105e: 4630 0F MOV r0,r6
  2059. 0x00001060: f7ffffc3 .... BL otp_set_addr ; 0xfea
  2060. 0x00001064: 4621 !F MOV r1,r4
  2061. 0x00001066: 4823 #H LDR r0,[pc,#140] ; [0x10f4] = 0x4c23
  2062. 0x00001068: f7ffffda .... BL read_otp_init ; 0x1020
  2063. 0x0000106c: bf00 .. NOP
  2064. 0x0000106e: 4822 "H LDR r0,[pc,#136] ; [0x10f8] = 0x10008320
  2065. 0x00001070: 7c00 .| LDRB r0,[r0,#0x10]
  2066. 0x00001072: 2102 .! MOVS r1,#2
  2067. 0x00001074: 4008 .@ ANDS r0,r0,r1
  2068. 0x00001076: 2800 .( CMP r0,#0
  2069. 0x00001078: d0f9 .. BEQ 0x106e ; read_otp + 24
  2070. 0x0000107a: 2083 . MOVS r0,#0x83
  2071. 0x0000107c: 491c .I LDR r1,[pc,#112] ; [0x10f0] = 0x10008040
  2072. 0x0000107e: 71c8 .q STRB r0,[r1,#7]
  2073. 0x00001080: 2000 . MOVS r0,#0
  2074. 0x00001082: e007 .. B 0x1094 ; read_otp + 62
  2075. 0x00001084: 491b .I LDR r1,[pc,#108] ; [0x10f4] = 0x4c23
  2076. 0x00001086: 1841 A. ADDS r1,r0,r1
  2077. 0x00001088: 2201 ." MOVS r2,#1
  2078. 0x0000108a: 0712 .. LSLS r2,r2,#28
  2079. 0x0000108c: 4311 .C ORRS r1,r1,r2
  2080. 0x0000108e: 7809 .x LDRB r1,[r1,#0]
  2081. 0x00001090: 5429 )T STRB r1,[r5,r0]
  2082. 0x00001092: 1c40 @. ADDS r0,r0,#1
  2083. 0x00001094: 42a0 .B CMP r0,r4
  2084. 0x00001096: d3f5 .. BCC 0x1084 ; read_otp + 46
  2085. 0x00001098: bd70 p. POP {r4-r6,pc}
  2086. read_otp_data
  2087. 0x0000109a: b5f7 .. PUSH {r0-r2,r4-r7,lr}
  2088. 0x0000109c: 4614 .F MOV r4,r2
  2089. 0x0000109e: b672 r. CPSID i
  2090. 0x000010a0: 2600 .& MOVS r6,#0
  2091. 0x000010a2: 2700 .' MOVS r7,#0
  2092. 0x000010a4: 2500 .% MOVS r5,#0
  2093. 0x000010a6: 0967 g. LSRS r7,r4,#5
  2094. 0x000010a8: 06e0 .. LSLS r0,r4,#27
  2095. 0x000010aa: 0ec0 .. LSRS r0,r0,#27
  2096. 0x000010ac: 2800 .( CMP r0,#0
  2097. 0x000010ae: d000 .. BEQ 0x10b2 ; read_otp_data + 24
  2098. 0x000010b0: 1c7f .. ADDS r7,r7,#1
  2099. 0x000010b2: f7ffff8e .... BL init_otp ; 0xfd2
  2100. 0x000010b6: 2600 .& MOVS r6,#0
  2101. 0x000010b8: e012 .. B 0x10e0 ; read_otp_data + 70
  2102. 0x000010ba: 2c20 , CMP r4,#0x20
  2103. 0x000010bc: d901 .. BLS 0x10c2 ; read_otp_data + 40
  2104. 0x000010be: 2020 MOVS r0,#0x20
  2105. 0x000010c0: e000 .. B 0x10c4 ; read_otp_data + 42
  2106. 0x000010c2: 4620 F MOV r0,r4
  2107. 0x000010c4: 4605 .F MOV r5,r0
  2108. 0x000010c6: 4622 "F MOV r2,r4
  2109. 0x000010c8: 9901 .. LDR r1,[sp,#4]
  2110. 0x000010ca: 9800 .. LDR r0,[sp,#0]
  2111. 0x000010cc: f7ffffc3 .... BL read_otp ; 0x1056
  2112. 0x000010d0: 9800 .. LDR r0,[sp,#0]
  2113. 0x000010d2: 1940 @. ADDS r0,r0,r5
  2114. 0x000010d4: 9000 .. STR r0,[sp,#0]
  2115. 0x000010d6: 9801 .. LDR r0,[sp,#4]
  2116. 0x000010d8: 1940 @. ADDS r0,r0,r5
  2117. 0x000010da: 9001 .. STR r0,[sp,#4]
  2118. 0x000010dc: 1b64 d. SUBS r4,r4,r5
  2119. 0x000010de: 1c76 v. ADDS r6,r6,#1
  2120. 0x000010e0: 42be .B CMP r6,r7
  2121. 0x000010e2: d3ea .. BCC 0x10ba ; read_otp_data + 32
  2122. 0x000010e4: f7ffff6e ..n. BL deinit_otp ; 0xfc4
  2123. 0x000010e8: b662 b. CPSIE i
  2124. 0x000010ea: bdfe .. POP {r1-r7,pc}
  2125. $d
  2126. 0x000010ec: 10008960 `... DCD 268470624
  2127. 0x000010f0: 10008040 @... DCD 268468288
  2128. 0x000010f4: 00004c23 #L.. DCD 19491
  2129. 0x000010f8: 10008320 ... DCD 268469024
  2130. $t
  2131. .text
  2132. printport_init
  2133. 0x000010fc: b500 .. PUSH {lr}
  2134. 0x000010fe: b085 .. SUB sp,sp,#0x14
  2135. 0x00001100: 48d9 .H LDR r0,[pc,#868] ; [0x1468] = 0x8034
  2136. 0x00001102: 9000 .. STR r0,[sp,#0]
  2137. 0x00001104: 2100 .! MOVS r1,#0
  2138. 0x00001106: 4668 hF MOV r0,sp
  2139. 0x00001108: 8181 .. STRH r1,[r0,#0xc]
  2140. 0x0000110a: 8081 .. STRH r1,[r0,#4]
  2141. 0x0000110c: 80c1 .. STRH r1,[r0,#6]
  2142. 0x0000110e: 8141 A. STRH r1,[r0,#0xa]
  2143. 0x00001110: 8101 .. STRH r1,[r0,#8]
  2144. 0x00001112: 21ff .! MOVS r1,#0xff
  2145. 0x00001114: 3101 .1 ADDS r1,#1
  2146. 0x00001116: 81c1 .. STRH r1,[r0,#0xe]
  2147. 0x00001118: 8201 .. STRH r1,[r0,#0x10]
  2148. 0x0000111a: 48d4 .H LDR r0,[pc,#848] ; [0x146c] = 0x10010510
  2149. 0x0000111c: 7800 .x LDRB r0,[r0,#0]
  2150. 0x0000111e: 2800 .( CMP r0,#0
  2151. 0x00001120: d10a .. BNE 0x1138 ; printport_init + 60
  2152. 0x00001122: 49d2 .I LDR r1,[pc,#840] ; [0x146c] = 0x10010510
  2153. 0x00001124: 7888 .x LDRB r0,[r1,#2]
  2154. 0x00001126: 2108 .! MOVS r1,#8
  2155. 0x00001128: f7fffbf6 .... BL GPIO_SetGpioMultFunction ; 0x918
  2156. 0x0000112c: 49cf .I LDR r1,[pc,#828] ; [0x146c] = 0x10010510
  2157. 0x0000112e: 7848 Hx LDRB r0,[r1,#1]
  2158. 0x00001130: 2109 .! MOVS r1,#9
  2159. 0x00001132: f7fffbf1 .... BL GPIO_SetGpioMultFunction ; 0x918
  2160. 0x00001136: e00d .. B 0x1154 ; printport_init + 88
  2161. 0x00001138: 48cc .H LDR r0,[pc,#816] ; [0x146c] = 0x10010510
  2162. 0x0000113a: 7800 .x LDRB r0,[r0,#0]
  2163. 0x0000113c: 2801 .( CMP r0,#1
  2164. 0x0000113e: d109 .. BNE 0x1154 ; printport_init + 88
  2165. 0x00001140: 49ca .I LDR r1,[pc,#808] ; [0x146c] = 0x10010510
  2166. 0x00001142: 7888 .x LDRB r0,[r1,#2]
  2167. 0x00001144: 210c .! MOVS r1,#0xc
  2168. 0x00001146: f7fffbe7 .... BL GPIO_SetGpioMultFunction ; 0x918
  2169. 0x0000114a: 49c8 .I LDR r1,[pc,#800] ; [0x146c] = 0x10010510
  2170. 0x0000114c: 7848 Hx LDRB r0,[r1,#1]
  2171. 0x0000114e: 210d .! MOVS r1,#0xd
  2172. 0x00001150: f7fffbe2 .... BL GPIO_SetGpioMultFunction ; 0x918
  2173. 0x00001154: 49c5 .I LDR r1,[pc,#788] ; [0x146c] = 0x10010510
  2174. 0x00001156: 7808 .x LDRB r0,[r1,#0]
  2175. 0x00001158: 4669 iF MOV r1,sp
  2176. 0x0000115a: f7fff801 .... BL USART_Init ; 0x160
  2177. 0x0000115e: b005 .. ADD sp,sp,#0x14
  2178. 0x00001160: bd00 .. POP {pc}
  2179. setprintport
  2180. 0x00001162: 49c2 .I LDR r1,[pc,#776] ; [0x146c] = 0x10010510
  2181. 0x00001164: 7008 .p STRB r0,[r1,#0]
  2182. 0x00001166: 4770 pG BX lr
  2183. setprintportcb
  2184. 0x00001168: 7801 .x LDRB r1,[r0,#0]
  2185. 0x0000116a: 4ac0 .J LDR r2,[pc,#768] ; [0x146c] = 0x10010510
  2186. 0x0000116c: 7011 .p STRB r1,[r2,#0]
  2187. 0x0000116e: 7881 .x LDRB r1,[r0,#2]
  2188. 0x00001170: 7091 .p STRB r1,[r2,#2]
  2189. 0x00001172: 7841 Ax LDRB r1,[r0,#1]
  2190. 0x00001174: 7051 Qp STRB r1,[r2,#1]
  2191. 0x00001176: 4770 pG BX lr
  2192. printfsend
  2193. 0x00001178: b570 p. PUSH {r4-r6,lr}
  2194. 0x0000117a: 4604 .F MOV r4,r0
  2195. 0x0000117c: 460d .F MOV r5,r1
  2196. 0x0000117e: b2aa .. UXTH r2,r5
  2197. 0x00001180: 49ba .I LDR r1,[pc,#744] ; [0x146c] = 0x10010510
  2198. 0x00001182: 7808 .x LDRB r0,[r1,#0]
  2199. 0x00001184: 4621 !F MOV r1,r4
  2200. 0x00001186: f7fffa58 ..X. BL USART_SendDataFromBuff ; 0x63a
  2201. 0x0000118a: bd70 p. POP {r4-r6,pc}
  2202. MyPrintf
  2203. 0x0000118c: b40f .. PUSH {r0-r3}
  2204. 0x0000118e: b5f0 .. PUSH {r4-r7,lr}
  2205. 0x00001190: b08b .. SUB sp,sp,#0x2c
  2206. 0x00001192: a811 .. ADD r0,sp,#0x44
  2207. 0x00001194: 9001 .. STR r0,[sp,#4]
  2208. 0x00001196: e142 B. B 0x141e ; MyPrintf + 658
  2209. 0x00001198: 2400 .$ MOVS r4,#0
  2210. 0x0000119a: e000 .. B 0x119e ; MyPrintf + 18
  2211. 0x0000119c: 1c64 d. ADDS r4,r4,#1
  2212. 0x0000119e: 9810 .. LDR r0,[sp,#0x40]
  2213. 0x000011a0: 5d00 .] LDRB r0,[r0,r4]
  2214. 0x000011a2: 2825 %( CMP r0,#0x25
  2215. 0x000011a4: d003 .. BEQ 0x11ae ; MyPrintf + 34
  2216. 0x000011a6: 9810 .. LDR r0,[sp,#0x40]
  2217. 0x000011a8: 5d00 .] LDRB r0,[r0,r4]
  2218. 0x000011aa: 2800 .( CMP r0,#0
  2219. 0x000011ac: d1f6 .. BNE 0x119c ; MyPrintf + 16
  2220. 0x000011ae: 2c00 ., CMP r4,#0
  2221. 0x000011b0: d003 .. BEQ 0x11ba ; MyPrintf + 46
  2222. 0x000011b2: 4621 !F MOV r1,r4
  2223. 0x000011b4: 9810 .. LDR r0,[sp,#0x40]
  2224. 0x000011b6: f7ffffdf .... BL printfsend ; 0x1178
  2225. 0x000011ba: 9810 .. LDR r0,[sp,#0x40]
  2226. 0x000011bc: 1900 .. ADDS r0,r0,r4
  2227. 0x000011be: 9010 .. STR r0,[sp,#0x40]
  2228. 0x000011c0: 9810 .. LDR r0,[sp,#0x40]
  2229. 0x000011c2: 7800 .x LDRB r0,[r0,#0]
  2230. 0x000011c4: 2825 %( CMP r0,#0x25
  2231. 0x000011c6: d1e6 .. BNE 0x1196 ; MyPrintf + 10
  2232. 0x000011c8: 9810 .. LDR r0,[sp,#0x40]
  2233. 0x000011ca: 1c40 @. ADDS r0,r0,#1
  2234. 0x000011cc: 9010 .. STR r0,[sp,#0x40]
  2235. 0x000011ce: 2500 .% MOVS r5,#0
  2236. 0x000011d0: 2020 MOVS r0,#0x20
  2237. 0x000011d2: 9003 .. STR r0,[sp,#0xc]
  2238. 0x000011d4: bf00 .. NOP
  2239. 0x000011d6: 9810 .. LDR r0,[sp,#0x40]
  2240. 0x000011d8: 7801 .x LDRB r1,[r0,#0]
  2241. 0x000011da: 1c40 @. ADDS r0,r0,#1
  2242. 0x000011dc: 9010 .. STR r0,[sp,#0x40]
  2243. 0x000011de: 2938 8) CMP r1,#0x38
  2244. 0x000011e0: d030 0. BEQ 0x1244 ; MyPrintf + 184
  2245. 0x000011e2: dc14 .. BGT 0x120e ; MyPrintf + 130
  2246. 0x000011e4: 2933 3) CMP r1,#0x33
  2247. 0x000011e6: d028 (. BEQ 0x123a ; MyPrintf + 174
  2248. 0x000011e8: dc08 .. BGT 0x11fc ; MyPrintf + 112
  2249. 0x000011ea: 2925 %) CMP r1,#0x25
  2250. 0x000011ec: d06f o. BEQ 0x12ce ; MyPrintf + 322
  2251. 0x000011ee: 2930 0) CMP r1,#0x30
  2252. 0x000011f0: d020 . BEQ 0x1234 ; MyPrintf + 168
  2253. 0x000011f2: 2931 1) CMP r1,#0x31
  2254. 0x000011f4: d01f .. BEQ 0x1236 ; MyPrintf + 170
  2255. 0x000011f6: 2932 2) CMP r1,#0x32
  2256. 0x000011f8: d16a j. BNE 0x12d0 ; MyPrintf + 324
  2257. 0x000011fa: e01d .. B 0x1238 ; MyPrintf + 172
  2258. 0x000011fc: 2934 4) CMP r1,#0x34
  2259. 0x000011fe: d01d .. BEQ 0x123c ; MyPrintf + 176
  2260. 0x00001200: 2935 5) CMP r1,#0x35
  2261. 0x00001202: d01c .. BEQ 0x123e ; MyPrintf + 178
  2262. 0x00001204: 2936 6) CMP r1,#0x36
  2263. 0x00001206: d01b .. BEQ 0x1240 ; MyPrintf + 180
  2264. 0x00001208: 2937 7) CMP r1,#0x37
  2265. 0x0000120a: d1f5 .. BNE 0x11f8 ; MyPrintf + 108
  2266. 0x0000120c: e019 .. B 0x1242 ; MyPrintf + 182
  2267. 0x0000120e: 2970 p) CMP r1,#0x70
  2268. 0x00001210: d073 s. BEQ 0x12fa ; MyPrintf + 366
  2269. 0x00001212: dc08 .. BGT 0x1226 ; MyPrintf + 154
  2270. 0x00001214: 2939 9) CMP r1,#0x39
  2271. 0x00001216: d016 .. BEQ 0x1246 ; MyPrintf + 186
  2272. 0x00001218: 2958 X) CMP r1,#0x58
  2273. 0x0000121a: d070 p. BEQ 0x12fe ; MyPrintf + 370
  2274. 0x0000121c: 2963 c) CMP r1,#0x63
  2275. 0x0000121e: d022 ". BEQ 0x1266 ; MyPrintf + 218
  2276. 0x00001220: 2964 d) CMP r1,#0x64
  2277. 0x00001222: d1e9 .. BNE 0x11f8 ; MyPrintf + 108
  2278. 0x00001224: e02a *. B 0x127c ; MyPrintf + 240
  2279. 0x00001226: 2973 s) CMP r1,#0x73
  2280. 0x00001228: d03c <. BEQ 0x12a4 ; MyPrintf + 280
  2281. 0x0000122a: 2975 u) CMP r1,#0x75
  2282. 0x0000122c: d05a Z. BEQ 0x12e4 ; MyPrintf + 344
  2283. 0x0000122e: 2978 x) CMP r1,#0x78
  2284. 0x00001230: d1e2 .. BNE 0x11f8 ; MyPrintf + 108
  2285. 0x00001232: e071 q. B 0x1318 ; MyPrintf + 396
  2286. 0x00001234: bf00 .. NOP
  2287. 0x00001236: bf00 .. NOP
  2288. 0x00001238: bf00 .. NOP
  2289. 0x0000123a: bf00 .. NOP
  2290. 0x0000123c: bf00 .. NOP
  2291. 0x0000123e: bf00 .. NOP
  2292. 0x00001240: bf00 .. NOP
  2293. 0x00001242: bf00 .. NOP
  2294. 0x00001244: bf00 .. NOP
  2295. 0x00001246: 9810 .. LDR r0,[sp,#0x40]
  2296. 0x00001248: 3820 8 SUBS r0,r0,#0x20
  2297. 0x0000124a: 7fc0 .. LDRB r0,[r0,#0x1f]
  2298. 0x0000124c: 2830 0( CMP r0,#0x30
  2299. 0x0000124e: d102 .. BNE 0x1256 ; MyPrintf + 202
  2300. 0x00001250: 2d00 .- CMP r5,#0
  2301. 0x00001252: d100 .. BNE 0x1256 ; MyPrintf + 202
  2302. 0x00001254: 9003 .. STR r0,[sp,#0xc]
  2303. 0x00001256: 200a . MOVS r0,#0xa
  2304. 0x00001258: 4345 EC MULS r5,r0,r5
  2305. 0x0000125a: 9810 .. LDR r0,[sp,#0x40]
  2306. 0x0000125c: 3820 8 SUBS r0,r0,#0x20
  2307. 0x0000125e: 7fc0 .. LDRB r0,[r0,#0x1f]
  2308. 0x00001260: 3830 08 SUBS r0,r0,#0x30
  2309. 0x00001262: 1945 E. ADDS r5,r0,r5
  2310. 0x00001264: e7b7 .. B 0x11d6 ; MyPrintf + 74
  2311. 0x00001266: 9801 .. LDR r0,[sp,#4]
  2312. 0x00001268: 6800 .h LDR r0,[r0,#0]
  2313. 0x0000126a: 900a .. STR r0,[sp,#0x28]
  2314. 0x0000126c: 9801 .. LDR r0,[sp,#4]
  2315. 0x0000126e: 1d00 .. ADDS r0,r0,#4
  2316. 0x00001270: 9001 .. STR r0,[sp,#4]
  2317. 0x00001272: 2101 .! MOVS r1,#1
  2318. 0x00001274: a80a .. ADD r0,sp,#0x28
  2319. 0x00001276: f7ffff7f .... BL printfsend ; 0x1178
  2320. 0x0000127a: e0cf .. B 0x141c ; MyPrintf + 656
  2321. 0x0000127c: 9801 .. LDR r0,[sp,#4]
  2322. 0x0000127e: 6800 .h LDR r0,[r0,#0]
  2323. 0x00001280: 900a .. STR r0,[sp,#0x28]
  2324. 0x00001282: 9801 .. LDR r0,[sp,#4]
  2325. 0x00001284: 1d00 .. ADDS r0,r0,#4
  2326. 0x00001286: 9001 .. STR r0,[sp,#4]
  2327. 0x00001288: 2600 .& MOVS r6,#0
  2328. 0x0000128a: 980a .. LDR r0,[sp,#0x28]
  2329. 0x0000128c: 2800 .( CMP r0,#0
  2330. 0x0000128e: da05 .. BGE 0x129c ; MyPrintf + 272
  2331. 0x00001290: 980a .. LDR r0,[sp,#0x28]
  2332. 0x00001292: 4240 @B RSBS r0,r0,#0
  2333. 0x00001294: 900a .. STR r0,[sp,#0x28]
  2334. 0x00001296: 2001 . MOVS r0,#1
  2335. 0x00001298: 9009 .. STR r0,[sp,#0x24]
  2336. 0x0000129a: e001 .. B 0x12a0 ; MyPrintf + 276
  2337. 0x0000129c: 2000 . MOVS r0,#0
  2338. 0x0000129e: 9009 .. STR r0,[sp,#0x24]
  2339. 0x000012a0: 270a .' MOVS r7,#0xa
  2340. 0x000012a2: e047 G. B 0x1334 ; MyPrintf + 424
  2341. 0x000012a4: 9801 .. LDR r0,[sp,#4]
  2342. 0x000012a6: 6800 .h LDR r0,[r0,#0]
  2343. 0x000012a8: 9008 .. STR r0,[sp,#0x20]
  2344. 0x000012aa: 9801 .. LDR r0,[sp,#4]
  2345. 0x000012ac: 1d00 .. ADDS r0,r0,#4
  2346. 0x000012ae: 9001 .. STR r0,[sp,#4]
  2347. 0x000012b0: 2400 .$ MOVS r4,#0
  2348. 0x000012b2: e000 .. B 0x12b6 ; MyPrintf + 298
  2349. 0x000012b4: 1c64 d. ADDS r4,r4,#1
  2350. 0x000012b6: 9808 .. LDR r0,[sp,#0x20]
  2351. 0x000012b8: 5d00 .] LDRB r0,[r0,r4]
  2352. 0x000012ba: 2800 .( CMP r0,#0
  2353. 0x000012bc: d1fa .. BNE 0x12b4 ; MyPrintf + 296
  2354. 0x000012be: 4621 !F MOV r1,r4
  2355. 0x000012c0: 9808 .. LDR r0,[sp,#0x20]
  2356. 0x000012c2: f7ffff59 ..Y. BL printfsend ; 0x1178
  2357. 0x000012c6: 42a5 .B CMP r5,r4
  2358. 0x000012c8: d90b .. BLS 0x12e2 ; MyPrintf + 342
  2359. 0x000012ca: 1b2d -. SUBS r5,r5,r4
  2360. 0x000012cc: e005 .. B 0x12da ; MyPrintf + 334
  2361. 0x000012ce: e09a .. B 0x1406 ; MyPrintf + 634
  2362. 0x000012d0: e09f .. B 0x1412 ; MyPrintf + 646
  2363. 0x000012d2: 2101 .! MOVS r1,#1
  2364. 0x000012d4: a066 f. ADR r0,{pc}+0x19c ; 0x1470
  2365. 0x000012d6: f7ffff4f ..O. BL printfsend ; 0x1178
  2366. 0x000012da: 4628 (F MOV r0,r5
  2367. 0x000012dc: 1e6d m. SUBS r5,r5,#1
  2368. 0x000012de: 2800 .( CMP r0,#0
  2369. 0x000012e0: d1f7 .. BNE 0x12d2 ; MyPrintf + 326
  2370. 0x000012e2: e09b .. B 0x141c ; MyPrintf + 656
  2371. 0x000012e4: 9801 .. LDR r0,[sp,#4]
  2372. 0x000012e6: 6800 .h LDR r0,[r0,#0]
  2373. 0x000012e8: 900a .. STR r0,[sp,#0x28]
  2374. 0x000012ea: 9801 .. LDR r0,[sp,#4]
  2375. 0x000012ec: 1d00 .. ADDS r0,r0,#4
  2376. 0x000012ee: 9001 .. STR r0,[sp,#4]
  2377. 0x000012f0: 2600 .& MOVS r6,#0
  2378. 0x000012f2: 270a .' MOVS r7,#0xa
  2379. 0x000012f4: 2000 . MOVS r0,#0
  2380. 0x000012f6: 9009 .. STR r0,[sp,#0x24]
  2381. 0x000012f8: e01c .. B 0x1334 ; MyPrintf + 424
  2382. 0x000012fa: e00e .. B 0x131a ; MyPrintf + 398
  2383. 0x000012fc: e7ff .. B 0x12fe ; MyPrintf + 370
  2384. 0x000012fe: 9801 .. LDR r0,[sp,#4]
  2385. 0x00001300: 6800 .h LDR r0,[r0,#0]
  2386. 0x00001302: 900a .. STR r0,[sp,#0x28]
  2387. 0x00001304: 9801 .. LDR r0,[sp,#4]
  2388. 0x00001306: 1d00 .. ADDS r0,r0,#4
  2389. 0x00001308: 9001 .. STR r0,[sp,#4]
  2390. 0x0000130a: 2600 .& MOVS r6,#0
  2391. 0x0000130c: 2710 .' MOVS r7,#0x10
  2392. 0x0000130e: 2000 . MOVS r0,#0
  2393. 0x00001310: 9009 .. STR r0,[sp,#0x24]
  2394. 0x00001312: 2058 X MOVS r0,#0x58
  2395. 0x00001314: 9002 .. STR r0,[sp,#8]
  2396. 0x00001316: e00d .. B 0x1334 ; MyPrintf + 424
  2397. 0x00001318: bf00 .. NOP
  2398. 0x0000131a: 9801 .. LDR r0,[sp,#4]
  2399. 0x0000131c: 6800 .h LDR r0,[r0,#0]
  2400. 0x0000131e: 900a .. STR r0,[sp,#0x28]
  2401. 0x00001320: 9801 .. LDR r0,[sp,#4]
  2402. 0x00001322: 1d00 .. ADDS r0,r0,#4
  2403. 0x00001324: 9001 .. STR r0,[sp,#4]
  2404. 0x00001326: 2600 .& MOVS r6,#0
  2405. 0x00001328: 2710 .' MOVS r7,#0x10
  2406. 0x0000132a: 2000 . MOVS r0,#0
  2407. 0x0000132c: 9009 .. STR r0,[sp,#0x24]
  2408. 0x0000132e: 2078 x MOVS r0,#0x78
  2409. 0x00001330: 9002 .. STR r0,[sp,#8]
  2410. 0x00001332: bf00 .. NOP
  2411. 0x00001334: 2401 .$ MOVS r4,#1
  2412. 0x00001336: e003 .. B 0x1340 ; MyPrintf + 436
  2413. 0x00001338: 4620 F MOV r0,r4
  2414. 0x0000133a: 4378 xC MULS r0,r7,r0
  2415. 0x0000133c: 4604 .F MOV r4,r0
  2416. 0x0000133e: 1e6d m. SUBS r5,r5,#1
  2417. 0x00001340: 4620 F MOV r0,r4
  2418. 0x00001342: 4378 xC MULS r0,r7,r0
  2419. 0x00001344: 990a .. LDR r1,[sp,#0x28]
  2420. 0x00001346: 4288 .B CMP r0,r1
  2421. 0x00001348: d807 .. BHI 0x135a ; MyPrintf + 462
  2422. 0x0000134a: 4621 !F MOV r1,r4
  2423. 0x0000134c: 4379 yC MULS r1,r7,r1
  2424. 0x0000134e: 4608 .F MOV r0,r1
  2425. 0x00001350: 4639 9F MOV r1,r7
  2426. 0x00001352: f000f899 .... BL __aeabi_uidiv ; 0x1488
  2427. 0x00001356: 42a0 .B CMP r0,r4
  2428. 0x00001358: d0ee .. BEQ 0x1338 ; MyPrintf + 428
  2429. 0x0000135a: 9809 .. LDR r0,[sp,#0x24]
  2430. 0x0000135c: 2800 .( CMP r0,#0
  2431. 0x0000135e: d000 .. BEQ 0x1362 ; MyPrintf + 470
  2432. 0x00001360: 1e6d m. SUBS r5,r5,#1
  2433. 0x00001362: 9809 .. LDR r0,[sp,#0x24]
  2434. 0x00001364: 2800 .( CMP r0,#0
  2435. 0x00001366: d009 .. BEQ 0x137c ; MyPrintf + 496
  2436. 0x00001368: 9803 .. LDR r0,[sp,#0xc]
  2437. 0x0000136a: 2830 0( CMP r0,#0x30
  2438. 0x0000136c: d106 .. BNE 0x137c ; MyPrintf + 496
  2439. 0x0000136e: 222d -" MOVS r2,#0x2d
  2440. 0x00001370: 4630 0F MOV r0,r6
  2441. 0x00001372: 1c76 v. ADDS r6,r6,#1
  2442. 0x00001374: a904 .. ADD r1,sp,#0x10
  2443. 0x00001376: 540a .T STRB r2,[r1,r0]
  2444. 0x00001378: 2000 . MOVS r0,#0
  2445. 0x0000137a: 9009 .. STR r0,[sp,#0x24]
  2446. 0x0000137c: 2d01 .- CMP r5,#1
  2447. 0x0000137e: d90b .. BLS 0x1398 ; MyPrintf + 524
  2448. 0x00001380: 2d10 .- CMP r5,#0x10
  2449. 0x00001382: d209 .. BCS 0x1398 ; MyPrintf + 524
  2450. 0x00001384: 1e6d m. SUBS r5,r5,#1
  2451. 0x00001386: e005 .. B 0x1394 ; MyPrintf + 520
  2452. 0x00001388: 4631 1F MOV r1,r6
  2453. 0x0000138a: 1c76 v. ADDS r6,r6,#1
  2454. 0x0000138c: aa04 .. ADD r2,sp,#0x10
  2455. 0x0000138e: 9803 .. LDR r0,[sp,#0xc]
  2456. 0x00001390: 5450 PT STRB r0,[r2,r1]
  2457. 0x00001392: 1e6d m. SUBS r5,r5,#1
  2458. 0x00001394: 2d00 .- CMP r5,#0
  2459. 0x00001396: d1f7 .. BNE 0x1388 ; MyPrintf + 508
  2460. 0x00001398: 9809 .. LDR r0,[sp,#0x24]
  2461. 0x0000139a: 2800 .( CMP r0,#0
  2462. 0x0000139c: d004 .. BEQ 0x13a8 ; MyPrintf + 540
  2463. 0x0000139e: 222d -" MOVS r2,#0x2d
  2464. 0x000013a0: 4630 0F MOV r0,r6
  2465. 0x000013a2: 1c76 v. ADDS r6,r6,#1
  2466. 0x000013a4: a904 .. ADD r1,sp,#0x10
  2467. 0x000013a6: 540a .T STRB r2,[r1,r0]
  2468. 0x000013a8: e026 &. B 0x13f8 ; MyPrintf + 620
  2469. 0x000013aa: 9802 .. LDR r0,[sp,#8]
  2470. 0x000013ac: 2878 x( CMP r0,#0x78
  2471. 0x000013ae: d10f .. BNE 0x13d0 ; MyPrintf + 580
  2472. 0x000013b0: 4621 !F MOV r1,r4
  2473. 0x000013b2: 980a .. LDR r0,[sp,#0x28]
  2474. 0x000013b4: f000f868 ..h. BL __aeabi_uidiv ; 0x1488
  2475. 0x000013b8: 4639 9F MOV r1,r7
  2476. 0x000013ba: 9000 .. STR r0,[sp,#0]
  2477. 0x000013bc: f000f864 ..d. BL __aeabi_uidiv ; 0x1488
  2478. 0x000013c0: 482c ,H LDR r0,[pc,#176] ; [0x1474] = 0x16e0
  2479. 0x000013c2: 6800 .h LDR r0,[r0,#0]
  2480. 0x000013c4: 5c42 B\ LDRB r2,[r0,r1]
  2481. 0x000013c6: 4630 0F MOV r0,r6
  2482. 0x000013c8: 1c76 v. ADDS r6,r6,#1
  2483. 0x000013ca: a904 .. ADD r1,sp,#0x10
  2484. 0x000013cc: 540a .T STRB r2,[r1,r0]
  2485. 0x000013ce: e00e .. B 0x13ee ; MyPrintf + 610
  2486. 0x000013d0: 4621 !F MOV r1,r4
  2487. 0x000013d2: 980a .. LDR r0,[sp,#0x28]
  2488. 0x000013d4: f000f858 ..X. BL __aeabi_uidiv ; 0x1488
  2489. 0x000013d8: 4639 9F MOV r1,r7
  2490. 0x000013da: 9000 .. STR r0,[sp,#0]
  2491. 0x000013dc: f000f854 ..T. BL __aeabi_uidiv ; 0x1488
  2492. 0x000013e0: 4825 %H LDR r0,[pc,#148] ; [0x1478] = 0x16e4
  2493. 0x000013e2: 6800 .h LDR r0,[r0,#0]
  2494. 0x000013e4: 5c42 B\ LDRB r2,[r0,r1]
  2495. 0x000013e6: 4630 0F MOV r0,r6
  2496. 0x000013e8: 1c76 v. ADDS r6,r6,#1
  2497. 0x000013ea: a904 .. ADD r1,sp,#0x10
  2498. 0x000013ec: 540a .T STRB r2,[r1,r0]
  2499. 0x000013ee: 4639 9F MOV r1,r7
  2500. 0x000013f0: 4620 F MOV r0,r4
  2501. 0x000013f2: f000f849 ..I. BL __aeabi_uidiv ; 0x1488
  2502. 0x000013f6: 4604 .F MOV r4,r0
  2503. 0x000013f8: 2c00 ., CMP r4,#0
  2504. 0x000013fa: d1d6 .. BNE 0x13aa ; MyPrintf + 542
  2505. 0x000013fc: 4631 1F MOV r1,r6
  2506. 0x000013fe: a804 .. ADD r0,sp,#0x10
  2507. 0x00001400: f7fffeba .... BL printfsend ; 0x1178
  2508. 0x00001404: e00a .. B 0x141c ; MyPrintf + 656
  2509. 0x00001406: 9910 .. LDR r1,[sp,#0x40]
  2510. 0x00001408: 1e48 H. SUBS r0,r1,#1
  2511. 0x0000140a: 2101 .! MOVS r1,#1
  2512. 0x0000140c: f7fffeb4 .... BL printfsend ; 0x1178
  2513. 0x00001410: e004 .. B 0x141c ; MyPrintf + 656
  2514. 0x00001412: 2105 .! MOVS r1,#5
  2515. 0x00001414: a019 .. ADR r0,{pc}+0x68 ; 0x147c
  2516. 0x00001416: f7fffeaf .... BL printfsend ; 0x1178
  2517. 0x0000141a: bf00 .. NOP
  2518. 0x0000141c: bf00 .. NOP
  2519. 0x0000141e: 9810 .. LDR r0,[sp,#0x40]
  2520. 0x00001420: 7800 .x LDRB r0,[r0,#0]
  2521. 0x00001422: 2800 .( CMP r0,#0
  2522. 0x00001424: d000 .. BEQ 0x1428 ; MyPrintf + 668
  2523. 0x00001426: e6b7 .. B 0x1198 ; MyPrintf + 12
  2524. 0x00001428: 9001 .. STR r0,[sp,#4]
  2525. 0x0000142a: b00b .. ADD sp,sp,#0x2c
  2526. 0x0000142c: bcf0 .. POP {r4-r7}
  2527. 0x0000142e: bc08 .. POP {r3}
  2528. 0x00001430: b004 .. ADD sp,sp,#0x10
  2529. 0x00001432: 4718 .G BX r3
  2530. open_log_print
  2531. 0x00001434: 4913 .I LDR r1,[pc,#76] ; [0x1484] = 0x10010513
  2532. 0x00001436: 7008 .p STRB r0,[r1,#0]
  2533. 0x00001438: 4770 pG BX lr
  2534. log_print
  2535. 0x0000143a: b510 .. PUSH {r4,lr}
  2536. 0x0000143c: 4604 .F MOV r4,r0
  2537. 0x0000143e: 4811 .H LDR r0,[pc,#68] ; [0x1484] = 0x10010513
  2538. 0x00001440: 7800 .x LDRB r0,[r0,#0]
  2539. 0x00001442: 2800 .( CMP r0,#0
  2540. 0x00001444: d002 .. BEQ 0x144c ; log_print + 18
  2541. 0x00001446: 4620 F MOV r0,r4
  2542. 0x00001448: f7fffea0 .... BL MyPrintf ; 0x118c
  2543. 0x0000144c: bd10 .. POP {r4,pc}
  2544. log2_print
  2545. 0x0000144e: b510 .. PUSH {r4,lr}
  2546. 0x00001450: 4604 .F MOV r4,r0
  2547. 0x00001452: 480c .H LDR r0,[pc,#48] ; [0x1484] = 0x10010513
  2548. 0x00001454: 7800 .x LDRB r0,[r0,#0]
  2549. 0x00001456: 2801 .( CMP r0,#1
  2550. 0x00001458: dd02 .. BLE 0x1460 ; log2_print + 18
  2551. 0x0000145a: 4620 F MOV r0,r4
  2552. 0x0000145c: f7fffe96 .... BL MyPrintf ; 0x118c
  2553. 0x00001460: bd10 .. POP {r4,pc}
  2554. _assert_handler
  2555. 0x00001462: bf00 .. NOP
  2556. 0x00001464: e7fe .. B 0x1464 ; _assert_handler + 2
  2557. $d
  2558. 0x00001466: 0000 .. DCW 0
  2559. 0x00001468: 00008034 4... DCD 32820
  2560. 0x0000146c: 10010510 .... DCD 268502288
  2561. 0x00001470: 00000020 ... DCD 32
  2562. 0x00001474: 000016e0 .... DCD 5856
  2563. 0x00001478: 000016e4 .... DCD 5860
  2564. 0x0000147c: 4f525245 ERRO DCD 1330795077
  2565. 0x00001480: 00000052 R... DCD 82
  2566. 0x00001484: 10010513 .... DCD 268502291
  2567. $t
  2568. .text
  2569. __aeabi_uidiv
  2570. __aeabi_uidivmod
  2571. 0x00001488: b530 0. PUSH {r4,r5,lr}
  2572. 0x0000148a: 460b .F MOV r3,r1
  2573. 0x0000148c: 4601 .F MOV r1,r0
  2574. 0x0000148e: 2000 . MOVS r0,#0
  2575. 0x00001490: 2220 " MOVS r2,#0x20
  2576. 0x00001492: 2401 .$ MOVS r4,#1
  2577. 0x00001494: e009 .. B 0x14aa ; __aeabi_uidiv + 34
  2578. 0x00001496: 460d .F MOV r5,r1
  2579. 0x00001498: 40d5 .@ LSRS r5,r5,r2
  2580. 0x0000149a: 429d .B CMP r5,r3
  2581. 0x0000149c: d305 .. BCC 0x14aa ; __aeabi_uidiv + 34
  2582. 0x0000149e: 461d .F MOV r5,r3
  2583. 0x000014a0: 4095 .@ LSLS r5,r5,r2
  2584. 0x000014a2: 1b49 I. SUBS r1,r1,r5
  2585. 0x000014a4: 4625 %F MOV r5,r4
  2586. 0x000014a6: 4095 .@ LSLS r5,r5,r2
  2587. 0x000014a8: 1940 @. ADDS r0,r0,r5
  2588. 0x000014aa: 4615 .F MOV r5,r2
  2589. 0x000014ac: 1e52 R. SUBS r2,r2,#1
  2590. 0x000014ae: 2d00 .- CMP r5,#0
  2591. 0x000014b0: dcf1 .. BGT 0x1496 ; __aeabi_uidiv + 14
  2592. 0x000014b2: bd30 0. POP {r4,r5,pc}
  2593. .text
  2594. __aeabi_ldivmod
  2595. 0x000014b4: b5f8 .. PUSH {r3-r7,lr}
  2596. 0x000014b6: 2400 .$ MOVS r4,#0
  2597. 0x000014b8: 4625 %F MOV r5,r4
  2598. 0x000014ba: 2900 .) CMP r1,#0
  2599. 0x000014bc: da04 .. BGE 0x14c8 ; __aeabi_ldivmod + 20
  2600. 0x000014be: 460e .F MOV r6,r1
  2601. 0x000014c0: 2401 .$ MOVS r4,#1
  2602. 0x000014c2: 2100 .! MOVS r1,#0
  2603. 0x000014c4: 4240 @B RSBS r0,r0,#0
  2604. 0x000014c6: 41b1 .A SBCS r1,r1,r6
  2605. 0x000014c8: 2b00 .+ CMP r3,#0
  2606. 0x000014ca: da04 .. BGE 0x14d6 ; __aeabi_ldivmod + 34
  2607. 0x000014cc: 461e .F MOV r6,r3
  2608. 0x000014ce: 2300 .# MOVS r3,#0
  2609. 0x000014d0: 4252 RB RSBS r2,r2,#0
  2610. 0x000014d2: 2501 .% MOVS r5,#1
  2611. 0x000014d4: 41b3 .A SBCS r3,r3,r6
  2612. 0x000014d6: f000f850 ..P. BL __aeabi_uldivmod ; 0x157a
  2613. 0x000014da: 468c .F MOV r12,r1
  2614. 0x000014dc: 4617 .F MOV r7,r2
  2615. 0x000014de: 461e .F MOV r6,r3
  2616. 0x000014e0: 42ac .B CMP r4,r5
  2617. 0x000014e2: d003 .. BEQ 0x14ec ; __aeabi_ldivmod + 56
  2618. 0x000014e4: 2500 .% MOVS r5,#0
  2619. 0x000014e6: 4240 @B RSBS r0,r0,#0
  2620. 0x000014e8: 418d .A SBCS r5,r5,r1
  2621. 0x000014ea: 46ac .F MOV r12,r5
  2622. 0x000014ec: 2c00 ., CMP r4,#0
  2623. 0x000014ee: d002 .. BEQ 0x14f6 ; __aeabi_ldivmod + 66
  2624. 0x000014f0: 2600 .& MOVS r6,#0
  2625. 0x000014f2: 4257 WB RSBS r7,r2,#0
  2626. 0x000014f4: 419e .A SBCS r6,r6,r3
  2627. 0x000014f6: 4661 aF MOV r1,r12
  2628. 0x000014f8: 463a :F MOV r2,r7
  2629. 0x000014fa: 4633 3F MOV r3,r6
  2630. 0x000014fc: b001 .. ADD sp,sp,#4
  2631. 0x000014fe: bdf0 .. POP {r4-r7,pc}
  2632. .text
  2633. __aeabi_lmul
  2634. _ll_mul
  2635. 0x00001500: b5f0 .. PUSH {r4-r7,lr}
  2636. 0x00001502: b41f .. PUSH {r0-r4}
  2637. 0x00001504: b086 .. SUB sp,sp,#0x18
  2638. 0x00001506: 2000 . MOVS r0,#0
  2639. 0x00001508: 9000 .. STR r0,[sp,#0]
  2640. 0x0000150a: 9001 .. STR r0,[sp,#4]
  2641. 0x0000150c: 9002 .. STR r0,[sp,#8]
  2642. 0x0000150e: 9806 .. LDR r0,[sp,#0x18]
  2643. 0x00001510: 9906 .. LDR r1,[sp,#0x18]
  2644. 0x00001512: b280 .. UXTH r0,r0
  2645. 0x00001514: 9004 .. STR r0,[sp,#0x10]
  2646. 0x00001516: 9807 .. LDR r0,[sp,#0x1c]
  2647. 0x00001518: 0c09 .. LSRS r1,r1,#16
  2648. 0x0000151a: 0402 .. LSLS r2,r0,#16
  2649. 0x0000151c: 1400 .. ASRS r0,r0,#16
  2650. 0x0000151e: 4311 .C ORRS r1,r1,r2
  2651. 0x00001520: 9007 .. STR r0,[sp,#0x1c]
  2652. 0x00001522: 2700 .' MOVS r7,#0
  2653. 0x00001524: 9d08 .. LDR r5,[sp,#0x20]
  2654. 0x00001526: 9809 .. LDR r0,[sp,#0x24]
  2655. 0x00001528: 9106 .. STR r1,[sp,#0x18]
  2656. 0x0000152a: 463e >F MOV r6,r7
  2657. 0x0000152c: 463c <F MOV r4,r7
  2658. 0x0000152e: 9003 .. STR r0,[sp,#0xc]
  2659. 0x00001530: 9803 .. LDR r0,[sp,#0xc]
  2660. 0x00001532: b2a9 .. UXTH r1,r5
  2661. 0x00001534: 0402 .. LSLS r2,r0,#16
  2662. 0x00001536: 0c00 .. LSRS r0,r0,#16
  2663. 0x00001538: 9003 .. STR r0,[sp,#0xc]
  2664. 0x0000153a: 9804 .. LDR r0,[sp,#0x10]
  2665. 0x0000153c: 0c2d -. LSRS r5,r5,#16
  2666. 0x0000153e: 4315 .C ORRS r5,r5,r2
  2667. 0x00001540: 4348 HC MULS r0,r1,r0
  2668. 0x00001542: 2100 .! MOVS r1,#0
  2669. 0x00001544: 4622 "F MOV r2,r4
  2670. 0x00001546: f000f848 ..H. BL __aeabi_llsl ; 0x15da
  2671. 0x0000154a: 19c7 .. ADDS r7,r0,r7
  2672. 0x0000154c: 4171 qA ADCS r1,r1,r6
  2673. 0x0000154e: 3410 .4 ADDS r4,r4,#0x10
  2674. 0x00001550: 460e .F MOV r6,r1
  2675. 0x00001552: 2c40 @, CMP r4,#0x40
  2676. 0x00001554: dbec .. BLT 0x1530 ; __aeabi_lmul + 48
  2677. 0x00001556: 4638 8F MOV r0,r7
  2678. 0x00001558: 9a02 .. LDR r2,[sp,#8]
  2679. 0x0000155a: f000f83e ..>. BL __aeabi_llsl ; 0x15da
  2680. 0x0000155e: 9a00 .. LDR r2,[sp,#0]
  2681. 0x00001560: 9b01 .. LDR r3,[sp,#4]
  2682. 0x00001562: 1880 .. ADDS r0,r0,r2
  2683. 0x00001564: 9000 .. STR r0,[sp,#0]
  2684. 0x00001566: 4159 YA ADCS r1,r1,r3
  2685. 0x00001568: 9802 .. LDR r0,[sp,#8]
  2686. 0x0000156a: 9101 .. STR r1,[sp,#4]
  2687. 0x0000156c: 3010 .0 ADDS r0,r0,#0x10
  2688. 0x0000156e: 9002 .. STR r0,[sp,#8]
  2689. 0x00001570: 2840 @( CMP r0,#0x40
  2690. 0x00001572: dbcc .. BLT 0x150e ; __aeabi_lmul + 14
  2691. 0x00001574: 9800 .. LDR r0,[sp,#0]
  2692. 0x00001576: b00b .. ADD sp,sp,#0x2c
  2693. 0x00001578: bdf0 .. POP {r4-r7,pc}
  2694. .text
  2695. __aeabi_uldivmod
  2696. 0x0000157a: b5f0 .. PUSH {r4-r7,lr}
  2697. 0x0000157c: b41f .. PUSH {r0-r4}
  2698. 0x0000157e: 4606 .F MOV r6,r0
  2699. 0x00001580: 2000 . MOVS r0,#0
  2700. 0x00001582: b082 .. SUB sp,sp,#8
  2701. 0x00001584: 4605 .F MOV r5,r0
  2702. 0x00001586: 2440 @$ MOVS r4,#0x40
  2703. 0x00001588: 9101 .. STR r1,[sp,#4]
  2704. 0x0000158a: 9000 .. STR r0,[sp,#0]
  2705. 0x0000158c: e01b .. B 0x15c6 ; __aeabi_uldivmod + 76
  2706. 0x0000158e: 9901 .. LDR r1,[sp,#4]
  2707. 0x00001590: 4622 "F MOV r2,r4
  2708. 0x00001592: 460f .F MOV r7,r1
  2709. 0x00001594: 4630 0F MOV r0,r6
  2710. 0x00001596: f000f843 ..C. BL __aeabi_llsr ; 0x1620
  2711. 0x0000159a: 9a04 .. LDR r2,[sp,#0x10]
  2712. 0x0000159c: 9b05 .. LDR r3,[sp,#0x14]
  2713. 0x0000159e: 1a80 .. SUBS r0,r0,r2
  2714. 0x000015a0: 4199 .A SBCS r1,r1,r3
  2715. 0x000015a2: d310 .. BCC 0x15c6 ; __aeabi_uldivmod + 76
  2716. 0x000015a4: 4610 .F MOV r0,r2
  2717. 0x000015a6: 4619 .F MOV r1,r3
  2718. 0x000015a8: 4622 "F MOV r2,r4
  2719. 0x000015aa: f000f816 .... BL __aeabi_llsl ; 0x15da
  2720. 0x000015ae: 1a36 6. SUBS r6,r6,r0
  2721. 0x000015b0: 418f .A SBCS r7,r7,r1
  2722. 0x000015b2: 9701 .. STR r7,[sp,#4]
  2723. 0x000015b4: 4622 "F MOV r2,r4
  2724. 0x000015b6: 2001 . MOVS r0,#1
  2725. 0x000015b8: 2100 .! MOVS r1,#0
  2726. 0x000015ba: 9f00 .. LDR r7,[sp,#0]
  2727. 0x000015bc: f000f80d .... BL __aeabi_llsl ; 0x15da
  2728. 0x000015c0: 1838 8. ADDS r0,r7,r0
  2729. 0x000015c2: 414d MA ADCS r5,r5,r1
  2730. 0x000015c4: 9000 .. STR r0,[sp,#0]
  2731. 0x000015c6: 4620 F MOV r0,r4
  2732. 0x000015c8: 1e64 d. SUBS r4,r4,#1
  2733. 0x000015ca: 2800 .( CMP r0,#0
  2734. 0x000015cc: dcdf .. BGT 0x158e ; __aeabi_uldivmod + 20
  2735. 0x000015ce: 9b01 .. LDR r3,[sp,#4]
  2736. 0x000015d0: 9800 .. LDR r0,[sp,#0]
  2737. 0x000015d2: 4629 )F MOV r1,r5
  2738. 0x000015d4: 4632 2F MOV r2,r6
  2739. 0x000015d6: b007 .. ADD sp,sp,#0x1c
  2740. 0x000015d8: bdf0 .. POP {r4-r7,pc}
  2741. .text
  2742. __aeabi_llsl
  2743. _ll_shift_l
  2744. 0x000015da: b510 .. PUSH {r4,lr}
  2745. 0x000015dc: 2a20 * CMP r2,#0x20
  2746. 0x000015de: db04 .. BLT 0x15ea ; __aeabi_llsl + 16
  2747. 0x000015e0: 4601 .F MOV r1,r0
  2748. 0x000015e2: 3a20 : SUBS r2,r2,#0x20
  2749. 0x000015e4: 4091 .@ LSLS r1,r1,r2
  2750. 0x000015e6: 2000 . MOVS r0,#0
  2751. 0x000015e8: bd10 .. POP {r4,pc}
  2752. 0x000015ea: 4091 .@ LSLS r1,r1,r2
  2753. 0x000015ec: 2320 # MOVS r3,#0x20
  2754. 0x000015ee: 1a9c .. SUBS r4,r3,r2
  2755. 0x000015f0: 4603 .F MOV r3,r0
  2756. 0x000015f2: 40e3 .@ LSRS r3,r3,r4
  2757. 0x000015f4: 4319 .C ORRS r1,r1,r3
  2758. 0x000015f6: 4090 .@ LSLS r0,r0,r2
  2759. 0x000015f8: bd10 .. POP {r4,pc}
  2760. 0x000015fa: 0000 .. MOVS r0,r0
  2761. .text
  2762. __scatterload
  2763. __scatterload_rt2
  2764. 0x000015fc: 4c06 .L LDR r4,[pc,#24] ; [0x1618] = 0x1710
  2765. 0x000015fe: 2501 .% MOVS r5,#1
  2766. 0x00001600: 4e06 .N LDR r6,[pc,#24] ; [0x161c] = 0x1730
  2767. 0x00001602: e005 .. B 0x1610 ; __scatterload + 20
  2768. 0x00001604: 68e3 .h LDR r3,[r4,#0xc]
  2769. 0x00001606: cc07 .. LDM r4!,{r0-r2}
  2770. 0x00001608: 432b +C ORRS r3,r3,r5
  2771. 0x0000160a: 3c0c .< SUBS r4,r4,#0xc
  2772. 0x0000160c: 4798 .G BLX r3
  2773. 0x0000160e: 3410 .4 ADDS r4,r4,#0x10
  2774. 0x00001610: 42b4 .B CMP r4,r6
  2775. 0x00001612: d3f7 .. BCC 0x1604 ; __scatterload + 8
  2776. 0x00001614: f7fefd58 ..X. BL __main_after_scatterload ; 0xc8
  2777. $d
  2778. 0x00001618: 00001710 .... DCD 5904
  2779. 0x0000161c: 00001730 0... DCD 5936
  2780. $t
  2781. .text
  2782. __aeabi_llsr
  2783. _ll_ushift_r
  2784. 0x00001620: b510 .. PUSH {r4,lr}
  2785. 0x00001622: 2a20 * CMP r2,#0x20
  2786. 0x00001624: db04 .. BLT 0x1630 ; __aeabi_llsr + 16
  2787. 0x00001626: 4608 .F MOV r0,r1
  2788. 0x00001628: 3a20 : SUBS r2,r2,#0x20
  2789. 0x0000162a: 40d0 .@ LSRS r0,r0,r2
  2790. 0x0000162c: 2100 .! MOVS r1,#0
  2791. 0x0000162e: bd10 .. POP {r4,pc}
  2792. 0x00001630: 460b .F MOV r3,r1
  2793. 0x00001632: 40d3 .@ LSRS r3,r3,r2
  2794. 0x00001634: 40d0 .@ LSRS r0,r0,r2
  2795. 0x00001636: 2420 $ MOVS r4,#0x20
  2796. 0x00001638: 1aa2 .. SUBS r2,r4,r2
  2797. 0x0000163a: 4091 .@ LSLS r1,r1,r2
  2798. 0x0000163c: 4308 .C ORRS r0,r0,r1
  2799. 0x0000163e: 4619 .F MOV r1,r3
  2800. 0x00001640: bd10 .. POP {r4,pc}
  2801. i.__scatterload_copy
  2802. __scatterload_copy
  2803. 0x00001642: e002 .. B 0x164a ; __scatterload_copy + 8
  2804. 0x00001644: c808 .. LDM r0!,{r3}
  2805. 0x00001646: 1f12 .. SUBS r2,r2,#4
  2806. 0x00001648: c108 .. STM r1!,{r3}
  2807. 0x0000164a: 2a00 .* CMP r2,#0
  2808. 0x0000164c: d1fa .. BNE 0x1644 ; __scatterload_copy + 2
  2809. 0x0000164e: 4770 pG BX lr
  2810. i.__scatterload_null
  2811. __scatterload_null
  2812. 0x00001650: 4770 pG BX lr
  2813. i.__scatterload_zeroinit
  2814. __scatterload_zeroinit
  2815. 0x00001652: 2000 . MOVS r0,#0
  2816. 0x00001654: e001 .. B 0x165a ; __scatterload_zeroinit + 8
  2817. 0x00001656: c101 .. STM r1!,{r0}
  2818. 0x00001658: 1f12 .. SUBS r2,r2,#4
  2819. 0x0000165a: 2a00 .* CMP r2,#0
  2820. 0x0000165c: d1fb .. BNE 0x1656 ; __scatterload_zeroinit + 4
  2821. 0x0000165e: 4770 pG BX lr
  2822. $d.realdata
  2823. .constdata
  2824. __FUNCTION__
  2825. 0x00001660: 52415355 USAR DCD 1380012885
  2826. 0x00001664: 6e495f54 T_In DCD 1850302292
  2827. 0x00001668: 7469 it DCW 29801
  2828. 0x0000166a: 00 . DCB 0
  2829. __FUNCTION__
  2830. 0x0000166b: 55 U DCB 85
  2831. 0x0000166c: 54524153 SART DCD 1414676819
  2832. 0x00001670: 4965445f _DeI DCD 1231373407
  2833. 0x00001674: 0074696e nit. DCD 7629166
  2834. __FUNCTION__
  2835. 0x00001678: 52415355 USAR DCD 1380012885
  2836. 0x0000167c: 65535f54 T_Se DCD 1699962708
  2837. 0x00001680: 6144646e ndDa DCD 1631872110
  2838. 0x00001684: 6174 ta DCW 24948
  2839. 0x00001686: 00 . DCB 0
  2840. __FUNCTION__
  2841. 0x00001687: 55 U DCB 85
  2842. 0x00001688: 54524153 SART DCD 1414676819
  2843. 0x0000168c: 6365525f _Rec DCD 1667584607
  2844. 0x00001690: 65766965 eive DCD 1702259045
  2845. 0x00001694: 61746144 Data DCD 1635017028
  2846. 0x00001698: 00 . DCB 0
  2847. __FUNCTION__
  2848. 0x00001699: 555341 USA DCB 85,83,65
  2849. 0x0000169c: 475f5452 RT_G DCD 1197429842
  2850. 0x000016a0: 78527465 etRx DCD 2018669669
  2851. 0x000016a4: 6e756f43 Coun DCD 1853189955
  2852. 0x000016a8: 0074 t. DCW 116
  2853. __FUNCTION__
  2854. 0x000016aa: 5355 US DCW 21333
  2855. 0x000016ac: 5f545241 ART_ DCD 1599361601
  2856. 0x000016b0: 64616552 Read DCD 1684104530
  2857. 0x000016b4: 61746144 Data DCD 1635017028
  2858. 0x000016b8: 75426f74 toBu DCD 1967288180
  2859. 0x000016bc: 6666 ff DCW 26214
  2860. 0x000016be: 00 . DCB 0
  2861. __FUNCTION__
  2862. 0x000016bf: 55 U DCB 85
  2863. 0x000016c0: 54524153 SART DCD 1414676819
  2864. 0x000016c4: 6e65535f _Sen DCD 1852134239
  2865. 0x000016c8: 74614464 dDat DCD 1952531556
  2866. 0x000016cc: 6f724661 aFro DCD 1869760097
  2867. 0x000016d0: 6675426d mBuf DCD 1718960749
  2868. 0x000016d4: 0066 f. DCW 102
  2869. .constdata
  2870. __FUNCTION__
  2871. 0x000016d6: 4441 AD DCW 17473
  2872. 0x000016d8: 6e495f43 C_In DCD 1850302275
  2873. 0x000016dc: 00007469 it.. DCD 29801
  2874. .constdata
  2875. g_pcHex1
  2876. 0x000016e0: 000016fc .... DCD 5884
  2877. g_pcHex2
  2878. 0x000016e4: 000016e8 .... DCD 5864
  2879. .conststring
  2880. 0x000016e8: 33323130 0123 DCD 858927408
  2881. 0x000016ec: 37363534 4567 DCD 926299444
  2882. 0x000016f0: 42413938 89AB DCD 1111570744
  2883. 0x000016f4: 46454443 CDEF DCD 1178944579
  2884. 0x000016f8: 00000000 .... DCD 0
  2885. 0x000016fc: 33323130 0123 DCD 858927408
  2886. 0x00001700: 37363534 4567 DCD 926299444
  2887. 0x00001704: 62613938 89ab DCD 1650538808
  2888. 0x00001708: 66656463 cdef DCD 1717920867
  2889. 0x0000170c: 00000000 .... DCD 0
  2890. Region$$Table$$Base
  2891. 0x00001710: 00001730 0... DCD 5936
  2892. 0x00001714: 10010500 .... DCD 268502272
  2893. 0x00001718: 00000014 .... DCD 20
  2894. 0x0000171c: 00001642 B... DCD 5698
  2895. 0x00001720: 00001744 D... DCD 5956
  2896. 0x00001724: 10010514 .... DCD 268502292
  2897. 0x00001728: 00000438 8... DCD 1080
  2898. 0x0000172c: 00001652 R... DCD 5714
  2899. Region$$Table$$Limit
  2900. ** Section #2 'RW_IRAM1' (SHT_PROGBITS) [SHF_ALLOC + SHF_WRITE]
  2901. Size : 20 bytes (alignment 4)
  2902. Address: 0x10010500
  2903. ** Section #3 'RW_IRAM1' (SHT_NOBITS) [SHF_ALLOC + SHF_WRITE]
  2904. Size : 1080 bytes (alignment 4)
  2905. Address: 0x10010514
  2906. ** Section #4 '.debug_abbrev' (SHT_PROGBITS)
  2907. Size : 1476 bytes
  2908. ** Section #5 '.debug_frame' (SHT_PROGBITS)
  2909. Size : 2488 bytes
  2910. ** Section #6 '.debug_info' (SHT_PROGBITS)
  2911. Size : 20304 bytes
  2912. ** Section #7 '.debug_line' (SHT_PROGBITS)
  2913. Size : 7360 bytes
  2914. ** Section #8 '.debug_loc' (SHT_PROGBITS)
  2915. Size : 4988 bytes
  2916. ** Section #9 '.debug_macinfo' (SHT_PROGBITS)
  2917. Size : 30824 bytes
  2918. ** Section #10 '.debug_pubnames' (SHT_PROGBITS)
  2919. Size : 1723 bytes
  2920. ** Section #11 '.symtab' (SHT_SYMTAB)
  2921. Size : 4032 bytes (alignment 4)
  2922. String table #12 '.strtab'
  2923. Last local symbol no. 118
  2924. ** Section #12 '.strtab' (SHT_STRTAB)
  2925. Size : 3124 bytes
  2926. ** Section #13 '.note' (SHT_NOTE)
  2927. Size : 28 bytes (alignment 4)
  2928. ** Section #14 '.comment' (SHT_PROGBITS)
  2929. Size : 7592 bytes
  2930. ** Section #15 '.shstrtab' (SHT_STRTAB)
  2931. Size : 156 bytes
  2932. address size variable name type
  2933. 0x10010513 0x1 is_open_log_print uint8_t
  2934. address size variable name type
  2935. 0x10010510 0x3 printportcb printport_CB
  2936. 0x10010510 0x1 printportcb.print_port USART_TypeDef
  2937. 0x10010511 0x1 printportcb.print_rxio uint8_t
  2938. 0x10010512 0x1 printportcb.print_txio uint8_t
  2939. address size variable name type
  2940. 0x1001050c 0x4 gSystemTimerAdjustClknbt uint32_t
  2941. address size variable name type
  2942. 0x10010934 0x18 header_Timer SYS_TIMER_TYPE
  2943. 0x10010934 0x4 header_Timer.mTimerValue uint32_t
  2944. 0x10010938 0x4 header_Timer.mTick uint32_t
  2945. 0x1001093c 0x1 header_Timer.mTimerStatus TIMER_STATUS
  2946. 0x1001093d 0x1 * header_Timer.mIsCycle TIMER_TYPE
  2947. 0x10010940 0x4 header_Timer.pfExpireCb Timer_Expire_CB
  2948. 0x10010944 0x4 header_Timer.pNextTimer pointer to sTimerType
  2949. 0x10010948 0x4 header_Timer.cbParams int32_t
  2950. address size variable name type
  2951. 0x10010500 0x4 pheader pointer to SYS_TIMER_TYPE
  2952. address size variable name type
  2953. 0x10010508 0x1 sys_Timer_Check_Flag uint8_t
  2954. address size variable name type
  2955. 0x10010504 0x4 sys_tick_count uint32_t
  2956. address size variable name type
  2957. 0x10010514 0x20 regBeck array[2] of UartxRegControlBackup
  2958. address size variable name type
  2959. 0x10010634 0x100 uartA_rx_buf array[256] of uint8_t
  2960. address size variable name type
  2961. 0x10010534 0x100 uartA_tx_buf array[256] of uint8_t
  2962. address size variable name type
  2963. 0x10010834 0x100 uartB_rx_buf array[256] of uint8_t
  2964. address size variable name type
  2965. 0x10010734 0x100 uartB_tx_buf array[256] of uint8_t