diff --git a/Core/Src/main.c b/Core/Src/main.c index a3033eb..abf212f 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -247,7 +247,7 @@ static void MX_GPIO_Init(void) /*Configure GPIO pin : MAX_INT_Pin */ GPIO_InitStruct.Pin = MAX_INT_Pin; GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - GPIO_InitStruct.Pull = GPIO_NOPULL; + GPIO_InitStruct.Pull = GPIO_PULLUP; HAL_GPIO_Init(MAX_INT_GPIO_Port, &GPIO_InitStruct); } diff --git a/Debug/SW_APPs/APP_blood.d b/Debug/SW_APPs/APP_blood.d index bf3688f..2559684 100644 --- a/Debug/SW_APPs/APP_blood.d +++ b/Debug/SW_APPs/APP_blood.d @@ -27,7 +27,8 @@ SW_APPs/APP_blood.o: ../SW_APPs/APP_blood.c ../SW_APPs/APP_blood.h \ ../SW_APPs/windows.h \ /Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/lcd.h \ /Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/LCD.h \ - /Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/iic.h + /Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/iic.h \ + ../SW_APPs/FFT.h ../SW_APPs/APP_blood.h: @@ -90,3 +91,5 @@ SW_APPs/APP_blood.o: ../SW_APPs/APP_blood.c ../SW_APPs/APP_blood.h \ /Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/LCD.h: /Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/iic.h: + +../SW_APPs/FFT.h: diff --git a/Debug/SW_APPs/APP_blood.su b/Debug/SW_APPs/APP_blood.su index 2359c39..2b98007 100644 --- a/Debug/SW_APPs/APP_blood.su +++ b/Debug/SW_APPs/APP_blood.su @@ -1,5 +1,14 @@ -APP_blood.c:14:9:Max30102_reset 16 static -APP_blood.c:20:6:MAX30102_Config 16 static -APP_blood.c:43:6:max30102_read_fifo 16 static -APP_blood.c:89:6:APP_blood_init 16 static -APP_blood.c:98:6:APP_blood_loop 16 static +APP_blood.c:18:9:Max30102_reset 16 static +APP_blood.c:24:6:MAX30102_Config 16 static +APP_blood.c:47:6:max30102_read_fifo 16 static +APP_blood.c:93:6:APP_blood_init 16 static +APP_blood.c:178:8:my_floor 24 static +APP_blood.c:188:8:my_fmod 48 static +APP_blood.c:202:8:XSin 64 static +APP_blood.c:227:8:XCos 16 static +APP_blood.c:233:5:qsqrt 32 static +APP_blood.c:272:14:EE 40 static +APP_blood.c:284:6:FFT 104 static +APP_blood.c:341:5:find_max_num_index 32 static +APP_blood.c:360:6:blood_data_translate 64 static +APP_blood.c:432:6:APP_blood_loop 24 static diff --git a/Debug/m3s.bin b/Debug/m3s.bin index 3762361..bf84c4f 100755 Binary files a/Debug/m3s.bin and b/Debug/m3s.bin differ diff --git a/Debug/m3s.list b/Debug/m3s.list index dd1cb09..55e4aa0 100644 --- a/Debug/m3s.list +++ b/Debug/m3s.list @@ -5,45 +5,45 @@ Sections: Idx Name Size VMA LMA File off Algn 0 .isr_vector 000001e4 08000000 08000000 00010000 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 1 .text 000086f0 080001e8 080001e8 000101e8 2**3 + 1 .text 000096c8 080001e8 080001e8 000101e8 2**3 CONTENTS, ALLOC, LOAD, READONLY, CODE - 2 .rodata 00000f54 080088d8 080088d8 000188d8 2**3 + 2 .rodata 0000129c 080098b0 080098b0 000198b0 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA - 3 .ARM.extab 00000000 0800982c 0800982c 000201dc 2**0 + 3 .ARM.extab 00000000 0800ab4c 0800ab4c 000201e0 2**0 CONTENTS - 4 .ARM 00000000 0800982c 0800982c 000201dc 2**0 + 4 .ARM 00000000 0800ab4c 0800ab4c 000201e0 2**0 CONTENTS - 5 .preinit_array 00000000 0800982c 0800982c 000201dc 2**0 + 5 .preinit_array 00000000 0800ab4c 0800ab4c 000201e0 2**0 CONTENTS, ALLOC, LOAD, DATA - 6 .init_array 00000004 0800982c 0800982c 0001982c 2**2 + 6 .init_array 00000004 0800ab4c 0800ab4c 0001ab4c 2**2 CONTENTS, ALLOC, LOAD, DATA - 7 .fini_array 00000004 08009830 08009830 00019830 2**2 + 7 .fini_array 00000004 0800ab50 0800ab50 0001ab50 2**2 CONTENTS, ALLOC, LOAD, DATA - 8 .data 000001dc 20000000 08009834 00020000 2**2 + 8 .data 000001e0 20000000 0800ab54 00020000 2**2 CONTENTS, ALLOC, LOAD, DATA - 9 .bss 00000170 200001dc 08009a10 000201dc 2**2 + 9 .bss 00002284 200001e0 0800ad34 000201e0 2**2 ALLOC - 10 ._user_heap_stack 00000c04 2000034c 08009a10 0002034c 2**0 + 10 ._user_heap_stack 00000c04 20002464 0800ad34 00022464 2**0 ALLOC - 11 .ARM.attributes 00000029 00000000 00000000 000201dc 2**0 + 11 .ARM.attributes 00000029 00000000 00000000 000201e0 2**0 CONTENTS, READONLY - 12 .debug_info 0000cb14 00000000 00000000 00020205 2**0 + 12 .debug_info 0000d8e3 00000000 00000000 00020209 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 13 .debug_abbrev 0000289b 00000000 00000000 0002cd19 2**0 + 13 .debug_abbrev 00002a70 00000000 00000000 0002daec 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 14 .debug_aranges 00000b30 00000000 00000000 0002f5b8 2**3 + 14 .debug_aranges 00000b78 00000000 00000000 00030560 2**3 CONTENTS, READONLY, DEBUGGING, OCTETS - 15 .debug_ranges 00000a28 00000000 00000000 000300e8 2**3 + 15 .debug_ranges 00000a70 00000000 00000000 000310d8 2**3 CONTENTS, READONLY, DEBUGGING, OCTETS - 16 .debug_macro 0001b6a6 00000000 00000000 00030b10 2**0 + 16 .debug_macro 0001ba4e 00000000 00000000 00031b48 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 17 .debug_line 0000ef31 00000000 00000000 0004c1b6 2**0 + 17 .debug_line 0000f831 00000000 00000000 0004d596 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 18 .debug_str 00095f1a 00000000 00000000 0005b0e7 2**0 + 18 .debug_str 00096907 00000000 00000000 0005cdc7 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 19 .comment 00000053 00000000 00000000 000f1001 2**0 + 19 .comment 00000053 00000000 00000000 000f36ce 2**0 CONTENTS, READONLY - 20 .debug_frame 00003e18 00000000 00000000 000f1054 2**2 + 20 .debug_frame 000040d4 00000000 00000000 000f3724 2**2 CONTENTS, READONLY, DEBUGGING, OCTETS Disassembly of section .text: @@ -60,9 +60,9 @@ Disassembly of section .text: 80001fa: 2301 movs r3, #1 80001fc: 7023 strb r3, [r4, #0] 80001fe: bd10 pop {r4, pc} - 8000200: 200001dc .word 0x200001dc + 8000200: 200001e0 .word 0x200001e0 8000204: 00000000 .word 0x00000000 - 8000208: 080088c0 .word 0x080088c0 + 8000208: 08009898 .word 0x08009898 0800020c : 800020c: b508 push {r3, lr} @@ -73,8 +73,8 @@ Disassembly of section .text: 8000216: f3af 8000 nop.w 800021a: bd08 pop {r3, pc} 800021c: 00000000 .word 0x00000000 - 8000220: 200001e0 .word 0x200001e0 - 8000224: 080088c0 .word 0x080088c0 + 8000220: 200001e4 .word 0x200001e4 + 8000224: 08009898 .word 0x08009898 08000228 : 8000228: 4603 mov r3, r0 @@ -1338,17287 +1338,19179 @@ Disassembly of section .text: 80010b8: e75f b.n 8000f7a <__aeabi_fmul+0x15e> 80010ba: bf00 nop -080010bc <__aeabi_f2iz>: - 80010bc: ea4f 0240 mov.w r2, r0, lsl #1 - 80010c0: f1b2 4ffe cmp.w r2, #2130706432 ; 0x7f000000 - 80010c4: d30f bcc.n 80010e6 <__aeabi_f2iz+0x2a> - 80010c6: f04f 039e mov.w r3, #158 ; 0x9e - 80010ca: ebb3 6212 subs.w r2, r3, r2, lsr #24 - 80010ce: d90d bls.n 80010ec <__aeabi_f2iz+0x30> - 80010d0: ea4f 2300 mov.w r3, r0, lsl #8 - 80010d4: f043 4300 orr.w r3, r3, #2147483648 ; 0x80000000 - 80010d8: f010 4f00 tst.w r0, #2147483648 ; 0x80000000 - 80010dc: fa23 f002 lsr.w r0, r3, r2 - 80010e0: bf18 it ne - 80010e2: 4240 negne r0, r0 - 80010e4: 4770 bx lr - 80010e6: f04f 0000 mov.w r0, #0 - 80010ea: 4770 bx lr - 80010ec: f112 0f61 cmn.w r2, #97 ; 0x61 - 80010f0: d101 bne.n 80010f6 <__aeabi_f2iz+0x3a> - 80010f2: 0242 lsls r2, r0, #9 - 80010f4: d105 bne.n 8001102 <__aeabi_f2iz+0x46> - 80010f6: f010 4000 ands.w r0, r0, #2147483648 ; 0x80000000 - 80010fa: bf08 it eq - 80010fc: f06f 4000 mvneq.w r0, #2147483648 ; 0x80000000 - 8001100: 4770 bx lr - 8001102: f04f 0000 mov.w r0, #0 - 8001106: 4770 bx lr +080010bc <__gesf2>: + 80010bc: f04f 3cff mov.w ip, #4294967295 ; 0xffffffff + 80010c0: e006 b.n 80010d0 <__cmpsf2+0x4> + 80010c2: bf00 nop -08001108
: +080010c4 <__lesf2>: + 80010c4: f04f 0c01 mov.w ip, #1 + 80010c8: e002 b.n 80010d0 <__cmpsf2+0x4> + 80010ca: bf00 nop + +080010cc <__cmpsf2>: + 80010cc: f04f 0c01 mov.w ip, #1 + 80010d0: f84d cd04 str.w ip, [sp, #-4]! + 80010d4: ea4f 0240 mov.w r2, r0, lsl #1 + 80010d8: ea4f 0341 mov.w r3, r1, lsl #1 + 80010dc: ea7f 6c22 mvns.w ip, r2, asr #24 + 80010e0: bf18 it ne + 80010e2: ea7f 6c23 mvnsne.w ip, r3, asr #24 + 80010e6: d011 beq.n 800110c <__cmpsf2+0x40> + 80010e8: b001 add sp, #4 + 80010ea: ea52 0c53 orrs.w ip, r2, r3, lsr #1 + 80010ee: bf18 it ne + 80010f0: ea90 0f01 teqne r0, r1 + 80010f4: bf58 it pl + 80010f6: ebb2 0003 subspl.w r0, r2, r3 + 80010fa: bf88 it hi + 80010fc: 17c8 asrhi r0, r1, #31 + 80010fe: bf38 it cc + 8001100: ea6f 70e1 mvncc.w r0, r1, asr #31 + 8001104: bf18 it ne + 8001106: f040 0001 orrne.w r0, r0, #1 + 800110a: 4770 bx lr + 800110c: ea7f 6c22 mvns.w ip, r2, asr #24 + 8001110: d102 bne.n 8001118 <__cmpsf2+0x4c> + 8001112: ea5f 2c40 movs.w ip, r0, lsl #9 + 8001116: d105 bne.n 8001124 <__cmpsf2+0x58> + 8001118: ea7f 6c23 mvns.w ip, r3, asr #24 + 800111c: d1e4 bne.n 80010e8 <__cmpsf2+0x1c> + 800111e: ea5f 2c41 movs.w ip, r1, lsl #9 + 8001122: d0e1 beq.n 80010e8 <__cmpsf2+0x1c> + 8001124: f85d 0b04 ldr.w r0, [sp], #4 + 8001128: 4770 bx lr + 800112a: bf00 nop + +0800112c <__aeabi_cfrcmple>: + 800112c: 4684 mov ip, r0 + 800112e: 4608 mov r0, r1 + 8001130: 4661 mov r1, ip + 8001132: e7ff b.n 8001134 <__aeabi_cfcmpeq> + +08001134 <__aeabi_cfcmpeq>: + 8001134: b50f push {r0, r1, r2, r3, lr} + 8001136: f7ff ffc9 bl 80010cc <__cmpsf2> + 800113a: 2800 cmp r0, #0 + 800113c: bf48 it mi + 800113e: f110 0f00 cmnmi.w r0, #0 + 8001142: bd0f pop {r0, r1, r2, r3, pc} + +08001144 <__aeabi_fcmpeq>: + 8001144: f84d ed08 str.w lr, [sp, #-8]! + 8001148: f7ff fff4 bl 8001134 <__aeabi_cfcmpeq> + 800114c: bf0c ite eq + 800114e: 2001 moveq r0, #1 + 8001150: 2000 movne r0, #0 + 8001152: f85d fb08 ldr.w pc, [sp], #8 + 8001156: bf00 nop + +08001158 <__aeabi_fcmplt>: + 8001158: f84d ed08 str.w lr, [sp, #-8]! + 800115c: f7ff ffea bl 8001134 <__aeabi_cfcmpeq> + 8001160: bf34 ite cc + 8001162: 2001 movcc r0, #1 + 8001164: 2000 movcs r0, #0 + 8001166: f85d fb08 ldr.w pc, [sp], #8 + 800116a: bf00 nop + +0800116c <__aeabi_fcmple>: + 800116c: f84d ed08 str.w lr, [sp, #-8]! + 8001170: f7ff ffe0 bl 8001134 <__aeabi_cfcmpeq> + 8001174: bf94 ite ls + 8001176: 2001 movls r0, #1 + 8001178: 2000 movhi r0, #0 + 800117a: f85d fb08 ldr.w pc, [sp], #8 + 800117e: bf00 nop + +08001180 <__aeabi_fcmpge>: + 8001180: f84d ed08 str.w lr, [sp, #-8]! + 8001184: f7ff ffd2 bl 800112c <__aeabi_cfrcmple> + 8001188: bf94 ite ls + 800118a: 2001 movls r0, #1 + 800118c: 2000 movhi r0, #0 + 800118e: f85d fb08 ldr.w pc, [sp], #8 + 8001192: bf00 nop + +08001194 <__aeabi_fcmpgt>: + 8001194: f84d ed08 str.w lr, [sp, #-8]! + 8001198: f7ff ffc8 bl 800112c <__aeabi_cfrcmple> + 800119c: bf34 ite cc + 800119e: 2001 movcc r0, #1 + 80011a0: 2000 movcs r0, #0 + 80011a2: f85d fb08 ldr.w pc, [sp], #8 + 80011a6: bf00 nop + +080011a8 <__aeabi_fcmpun>: + 80011a8: ea4f 0240 mov.w r2, r0, lsl #1 + 80011ac: ea4f 0341 mov.w r3, r1, lsl #1 + 80011b0: ea7f 6c22 mvns.w ip, r2, asr #24 + 80011b4: d102 bne.n 80011bc <__aeabi_fcmpun+0x14> + 80011b6: ea5f 2c40 movs.w ip, r0, lsl #9 + 80011ba: d108 bne.n 80011ce <__aeabi_fcmpun+0x26> + 80011bc: ea7f 6c23 mvns.w ip, r3, asr #24 + 80011c0: d102 bne.n 80011c8 <__aeabi_fcmpun+0x20> + 80011c2: ea5f 2c41 movs.w ip, r1, lsl #9 + 80011c6: d102 bne.n 80011ce <__aeabi_fcmpun+0x26> + 80011c8: f04f 0000 mov.w r0, #0 + 80011cc: 4770 bx lr + 80011ce: f04f 0001 mov.w r0, #1 + 80011d2: 4770 bx lr + +080011d4 <__aeabi_f2iz>: + 80011d4: ea4f 0240 mov.w r2, r0, lsl #1 + 80011d8: f1b2 4ffe cmp.w r2, #2130706432 ; 0x7f000000 + 80011dc: d30f bcc.n 80011fe <__aeabi_f2iz+0x2a> + 80011de: f04f 039e mov.w r3, #158 ; 0x9e + 80011e2: ebb3 6212 subs.w r2, r3, r2, lsr #24 + 80011e6: d90d bls.n 8001204 <__aeabi_f2iz+0x30> + 80011e8: ea4f 2300 mov.w r3, r0, lsl #8 + 80011ec: f043 4300 orr.w r3, r3, #2147483648 ; 0x80000000 + 80011f0: f010 4f00 tst.w r0, #2147483648 ; 0x80000000 + 80011f4: fa23 f002 lsr.w r0, r3, r2 + 80011f8: bf18 it ne + 80011fa: 4240 negne r0, r0 + 80011fc: 4770 bx lr + 80011fe: f04f 0000 mov.w r0, #0 + 8001202: 4770 bx lr + 8001204: f112 0f61 cmn.w r2, #97 ; 0x61 + 8001208: d101 bne.n 800120e <__aeabi_f2iz+0x3a> + 800120a: 0242 lsls r2, r0, #9 + 800120c: d105 bne.n 800121a <__aeabi_f2iz+0x46> + 800120e: f010 4000 ands.w r0, r0, #2147483648 ; 0x80000000 + 8001212: bf08 it eq + 8001214: f06f 4000 mvneq.w r0, #2147483648 ; 0x80000000 + 8001218: 4770 bx lr + 800121a: f04f 0000 mov.w r0, #0 + 800121e: 4770 bx lr + +08001220
: /** * @brief The application entry point. * @retval int */ int main(void) { - 8001108: b580 push {r7, lr} - 800110a: af00 add r7, sp, #0 + 8001220: b580 push {r7, lr} + 8001222: af00 add r7, sp, #0 /* USER CODE END 1 */ /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); - 800110c: f000 fb8e bl 800182c + 8001224: f000 fb8e bl 8001944 /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); - 8001110: f000 f809 bl 8001126 + 8001228: f000 f809 bl 800123e /* USER CODE BEGIN SysInit */ /* USER CODE END SysInit */ /* Initialize all configured peripherals */ MX_GPIO_Init(); - 8001114: f000 f87a bl 800120c + 800122c: f000 f87a bl 8001324 MX_FSMC_Init(); - 8001118: f000 f93a bl 8001390 + 8001230: f000 f93a bl 80014a8 MX_I2C2_Init(); - 800111c: f000 f848 bl 80011b0 + 8001234: f000 f848 bl 80012c8 /* USER CODE BEGIN 2 */ main_app(); - 8001120: f004 f9cc bl 80054bc + 8001238: f005 f8b8 bl 80063ac /* USER CODE END 2 */ /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) - 8001124: e7fe b.n 8001124 + 800123c: e7fe b.n 800123c -08001126 : +0800123e : /** * @brief System Clock Configuration * @retval None */ void SystemClock_Config(void) { - 8001126: b580 push {r7, lr} - 8001128: b090 sub sp, #64 ; 0x40 - 800112a: af00 add r7, sp, #0 + 800123e: b580 push {r7, lr} + 8001240: b090 sub sp, #64 ; 0x40 + 8001242: af00 add r7, sp, #0 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; - 800112c: f107 0318 add.w r3, r7, #24 - 8001130: 2228 movs r2, #40 ; 0x28 - 8001132: 2100 movs r1, #0 - 8001134: 4618 mov r0, r3 - 8001136: f004 fd2b bl 8005b90 + 8001244: f107 0318 add.w r3, r7, #24 + 8001248: 2228 movs r2, #40 ; 0x28 + 800124a: 2100 movs r1, #0 + 800124c: 4618 mov r0, r3 + 800124e: f005 fc17 bl 8006a80 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; - 800113a: 1d3b adds r3, r7, #4 - 800113c: 2200 movs r2, #0 - 800113e: 601a str r2, [r3, #0] - 8001140: 605a str r2, [r3, #4] - 8001142: 609a str r2, [r3, #8] - 8001144: 60da str r2, [r3, #12] - 8001146: 611a str r2, [r3, #16] + 8001252: 1d3b adds r3, r7, #4 + 8001254: 2200 movs r2, #0 + 8001256: 601a str r2, [r3, #0] + 8001258: 605a str r2, [r3, #4] + 800125a: 609a str r2, [r3, #8] + 800125c: 60da str r2, [r3, #12] + 800125e: 611a str r2, [r3, #16] /** Initializes the RCC Oscillators according to the specified parameters * in the RCC_OscInitTypeDef structure. */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; - 8001148: 2301 movs r3, #1 - 800114a: 61bb str r3, [r7, #24] + 8001260: 2301 movs r3, #1 + 8001262: 61bb str r3, [r7, #24] RCC_OscInitStruct.HSEState = RCC_HSE_ON; - 800114c: f44f 3380 mov.w r3, #65536 ; 0x10000 - 8001150: 61fb str r3, [r7, #28] + 8001264: f44f 3380 mov.w r3, #65536 ; 0x10000 + 8001268: 61fb str r3, [r7, #28] RCC_OscInitStruct.HSEPredivValue = RCC_HSE_PREDIV_DIV1; - 8001152: 2300 movs r3, #0 - 8001154: 623b str r3, [r7, #32] + 800126a: 2300 movs r3, #0 + 800126c: 623b str r3, [r7, #32] RCC_OscInitStruct.HSIState = RCC_HSI_ON; - 8001156: 2301 movs r3, #1 - 8001158: 62bb str r3, [r7, #40] ; 0x28 + 800126e: 2301 movs r3, #1 + 8001270: 62bb str r3, [r7, #40] ; 0x28 RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; - 800115a: 2302 movs r3, #2 - 800115c: 637b str r3, [r7, #52] ; 0x34 + 8001272: 2302 movs r3, #2 + 8001274: 637b str r3, [r7, #52] ; 0x34 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; - 800115e: f44f 3380 mov.w r3, #65536 ; 0x10000 - 8001162: 63bb str r3, [r7, #56] ; 0x38 + 8001276: f44f 3380 mov.w r3, #65536 ; 0x10000 + 800127a: 63bb str r3, [r7, #56] ; 0x38 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL9; - 8001164: f44f 13e0 mov.w r3, #1835008 ; 0x1c0000 - 8001168: 63fb str r3, [r7, #60] ; 0x3c + 800127c: f44f 13e0 mov.w r3, #1835008 ; 0x1c0000 + 8001280: 63fb str r3, [r7, #60] ; 0x3c if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) - 800116a: f107 0318 add.w r3, r7, #24 - 800116e: 4618 mov r0, r3 - 8001170: f001 fe8a bl 8002e88 - 8001174: 4603 mov r3, r0 - 8001176: 2b00 cmp r3, #0 - 8001178: d001 beq.n 800117e + 8001282: f107 0318 add.w r3, r7, #24 + 8001286: 4618 mov r0, r3 + 8001288: f001 fe8a bl 8002fa0 + 800128c: 4603 mov r3, r0 + 800128e: 2b00 cmp r3, #0 + 8001290: d001 beq.n 8001296 { Error_Handler(); - 800117a: f000 f96d bl 8001458 + 8001292: f000 f96d bl 8001570 } /** Initializes the CPU, AHB and APB buses clocks */ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK - 800117e: 230f movs r3, #15 - 8001180: 607b str r3, [r7, #4] + 8001296: 230f movs r3, #15 + 8001298: 607b str r3, [r7, #4] |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2; RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; - 8001182: 2302 movs r3, #2 - 8001184: 60bb str r3, [r7, #8] + 800129a: 2302 movs r3, #2 + 800129c: 60bb str r3, [r7, #8] RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; - 8001186: 2300 movs r3, #0 - 8001188: 60fb str r3, [r7, #12] + 800129e: 2300 movs r3, #0 + 80012a0: 60fb str r3, [r7, #12] RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2; - 800118a: f44f 6380 mov.w r3, #1024 ; 0x400 - 800118e: 613b str r3, [r7, #16] + 80012a2: f44f 6380 mov.w r3, #1024 ; 0x400 + 80012a6: 613b str r3, [r7, #16] RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; - 8001190: 2300 movs r3, #0 - 8001192: 617b str r3, [r7, #20] + 80012a8: 2300 movs r3, #0 + 80012aa: 617b str r3, [r7, #20] if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK) - 8001194: 1d3b adds r3, r7, #4 - 8001196: 2102 movs r1, #2 - 8001198: 4618 mov r0, r3 - 800119a: f002 f8f5 bl 8003388 - 800119e: 4603 mov r3, r0 - 80011a0: 2b00 cmp r3, #0 - 80011a2: d001 beq.n 80011a8 + 80012ac: 1d3b adds r3, r7, #4 + 80012ae: 2102 movs r1, #2 + 80012b0: 4618 mov r0, r3 + 80012b2: f002 f8f5 bl 80034a0 + 80012b6: 4603 mov r3, r0 + 80012b8: 2b00 cmp r3, #0 + 80012ba: d001 beq.n 80012c0 { Error_Handler(); - 80011a4: f000 f958 bl 8001458 + 80012bc: f000 f958 bl 8001570 } } - 80011a8: bf00 nop - 80011aa: 3740 adds r7, #64 ; 0x40 - 80011ac: 46bd mov sp, r7 - 80011ae: bd80 pop {r7, pc} + 80012c0: bf00 nop + 80012c2: 3740 adds r7, #64 ; 0x40 + 80012c4: 46bd mov sp, r7 + 80012c6: bd80 pop {r7, pc} -080011b0 : +080012c8 : * @brief I2C2 Initialization Function * @param None * @retval None */ static void MX_I2C2_Init(void) { - 80011b0: b580 push {r7, lr} - 80011b2: af00 add r7, sp, #0 + 80012c8: b580 push {r7, lr} + 80012ca: af00 add r7, sp, #0 /* USER CODE END I2C2_Init 0 */ /* USER CODE BEGIN I2C2_Init 1 */ /* USER CODE END I2C2_Init 1 */ hi2c2.Instance = I2C2; - 80011b4: 4b12 ldr r3, [pc, #72] ; (8001200 ) - 80011b6: 4a13 ldr r2, [pc, #76] ; (8001204 ) - 80011b8: 601a str r2, [r3, #0] + 80012cc: 4b12 ldr r3, [pc, #72] ; (8001318 ) + 80012ce: 4a13 ldr r2, [pc, #76] ; (800131c ) + 80012d0: 601a str r2, [r3, #0] hi2c2.Init.ClockSpeed = 100000; - 80011ba: 4b11 ldr r3, [pc, #68] ; (8001200 ) - 80011bc: 4a12 ldr r2, [pc, #72] ; (8001208 ) - 80011be: 605a str r2, [r3, #4] + 80012d2: 4b11 ldr r3, [pc, #68] ; (8001318 ) + 80012d4: 4a12 ldr r2, [pc, #72] ; (8001320 ) + 80012d6: 605a str r2, [r3, #4] hi2c2.Init.DutyCycle = I2C_DUTYCYCLE_2; - 80011c0: 4b0f ldr r3, [pc, #60] ; (8001200 ) - 80011c2: 2200 movs r2, #0 - 80011c4: 609a str r2, [r3, #8] + 80012d8: 4b0f ldr r3, [pc, #60] ; (8001318 ) + 80012da: 2200 movs r2, #0 + 80012dc: 609a str r2, [r3, #8] hi2c2.Init.OwnAddress1 = 0; - 80011c6: 4b0e ldr r3, [pc, #56] ; (8001200 ) - 80011c8: 2200 movs r2, #0 - 80011ca: 60da str r2, [r3, #12] + 80012de: 4b0e ldr r3, [pc, #56] ; (8001318 ) + 80012e0: 2200 movs r2, #0 + 80012e2: 60da str r2, [r3, #12] hi2c2.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; - 80011cc: 4b0c ldr r3, [pc, #48] ; (8001200 ) - 80011ce: f44f 4280 mov.w r2, #16384 ; 0x4000 - 80011d2: 611a str r2, [r3, #16] + 80012e4: 4b0c ldr r3, [pc, #48] ; (8001318 ) + 80012e6: f44f 4280 mov.w r2, #16384 ; 0x4000 + 80012ea: 611a str r2, [r3, #16] hi2c2.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE; - 80011d4: 4b0a ldr r3, [pc, #40] ; (8001200 ) - 80011d6: 2200 movs r2, #0 - 80011d8: 615a str r2, [r3, #20] + 80012ec: 4b0a ldr r3, [pc, #40] ; (8001318 ) + 80012ee: 2200 movs r2, #0 + 80012f0: 615a str r2, [r3, #20] hi2c2.Init.OwnAddress2 = 0; - 80011da: 4b09 ldr r3, [pc, #36] ; (8001200 ) - 80011dc: 2200 movs r2, #0 - 80011de: 619a str r2, [r3, #24] + 80012f2: 4b09 ldr r3, [pc, #36] ; (8001318 ) + 80012f4: 2200 movs r2, #0 + 80012f6: 619a str r2, [r3, #24] hi2c2.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE; - 80011e0: 4b07 ldr r3, [pc, #28] ; (8001200 ) - 80011e2: 2200 movs r2, #0 - 80011e4: 61da str r2, [r3, #28] + 80012f8: 4b07 ldr r3, [pc, #28] ; (8001318 ) + 80012fa: 2200 movs r2, #0 + 80012fc: 61da str r2, [r3, #28] hi2c2.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE; - 80011e6: 4b06 ldr r3, [pc, #24] ; (8001200 ) - 80011e8: 2200 movs r2, #0 - 80011ea: 621a str r2, [r3, #32] + 80012fe: 4b06 ldr r3, [pc, #24] ; (8001318 ) + 8001300: 2200 movs r2, #0 + 8001302: 621a str r2, [r3, #32] if (HAL_I2C_Init(&hi2c2) != HAL_OK) - 80011ec: 4804 ldr r0, [pc, #16] ; (8001200 ) - 80011ee: f000 fe4b bl 8001e88 - 80011f2: 4603 mov r3, r0 - 80011f4: 2b00 cmp r3, #0 - 80011f6: d001 beq.n 80011fc + 8001304: 4804 ldr r0, [pc, #16] ; (8001318 ) + 8001306: f000 fe4b bl 8001fa0 + 800130a: 4603 mov r3, r0 + 800130c: 2b00 cmp r3, #0 + 800130e: d001 beq.n 8001314 { Error_Handler(); - 80011f8: f000 f92e bl 8001458 + 8001310: f000 f92e bl 8001570 } /* USER CODE BEGIN I2C2_Init 2 */ /* USER CODE END I2C2_Init 2 */ } - 80011fc: bf00 nop - 80011fe: bd80 pop {r7, pc} - 8001200: 20000208 .word 0x20000208 - 8001204: 40005800 .word 0x40005800 - 8001208: 000186a0 .word 0x000186a0 + 8001314: bf00 nop + 8001316: bd80 pop {r7, pc} + 8001318: 20000218 .word 0x20000218 + 800131c: 40005800 .word 0x40005800 + 8001320: 000186a0 .word 0x000186a0 -0800120c : +08001324 : * @brief GPIO Initialization Function * @param None * @retval None */ static void MX_GPIO_Init(void) { - 800120c: b580 push {r7, lr} - 800120e: b08a sub sp, #40 ; 0x28 - 8001210: af00 add r7, sp, #0 + 8001324: b580 push {r7, lr} + 8001326: b08a sub sp, #40 ; 0x28 + 8001328: af00 add r7, sp, #0 GPIO_InitTypeDef GPIO_InitStruct = {0}; - 8001212: f107 0318 add.w r3, r7, #24 - 8001216: 2200 movs r2, #0 - 8001218: 601a str r2, [r3, #0] - 800121a: 605a str r2, [r3, #4] - 800121c: 609a str r2, [r3, #8] - 800121e: 60da str r2, [r3, #12] + 800132a: f107 0318 add.w r3, r7, #24 + 800132e: 2200 movs r2, #0 + 8001330: 601a str r2, [r3, #0] + 8001332: 605a str r2, [r3, #4] + 8001334: 609a str r2, [r3, #8] + 8001336: 60da str r2, [r3, #12] /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOF_CLK_ENABLE(); - 8001220: 4b58 ldr r3, [pc, #352] ; (8001384 ) - 8001222: 699b ldr r3, [r3, #24] - 8001224: 4a57 ldr r2, [pc, #348] ; (8001384 ) - 8001226: f043 0380 orr.w r3, r3, #128 ; 0x80 - 800122a: 6193 str r3, [r2, #24] - 800122c: 4b55 ldr r3, [pc, #340] ; (8001384 ) - 800122e: 699b ldr r3, [r3, #24] - 8001230: f003 0380 and.w r3, r3, #128 ; 0x80 - 8001234: 617b str r3, [r7, #20] - 8001236: 697b ldr r3, [r7, #20] + 8001338: 4b58 ldr r3, [pc, #352] ; (800149c ) + 800133a: 699b ldr r3, [r3, #24] + 800133c: 4a57 ldr r2, [pc, #348] ; (800149c ) + 800133e: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8001342: 6193 str r3, [r2, #24] + 8001344: 4b55 ldr r3, [pc, #340] ; (800149c ) + 8001346: 699b ldr r3, [r3, #24] + 8001348: f003 0380 and.w r3, r3, #128 ; 0x80 + 800134c: 617b str r3, [r7, #20] + 800134e: 697b ldr r3, [r7, #20] __HAL_RCC_GPIOB_CLK_ENABLE(); - 8001238: 4b52 ldr r3, [pc, #328] ; (8001384 ) - 800123a: 699b ldr r3, [r3, #24] - 800123c: 4a51 ldr r2, [pc, #324] ; (8001384 ) - 800123e: f043 0308 orr.w r3, r3, #8 - 8001242: 6193 str r3, [r2, #24] - 8001244: 4b4f ldr r3, [pc, #316] ; (8001384 ) - 8001246: 699b ldr r3, [r3, #24] - 8001248: f003 0308 and.w r3, r3, #8 - 800124c: 613b str r3, [r7, #16] - 800124e: 693b ldr r3, [r7, #16] + 8001350: 4b52 ldr r3, [pc, #328] ; (800149c ) + 8001352: 699b ldr r3, [r3, #24] + 8001354: 4a51 ldr r2, [pc, #324] ; (800149c ) + 8001356: f043 0308 orr.w r3, r3, #8 + 800135a: 6193 str r3, [r2, #24] + 800135c: 4b4f ldr r3, [pc, #316] ; (800149c ) + 800135e: 699b ldr r3, [r3, #24] + 8001360: f003 0308 and.w r3, r3, #8 + 8001364: 613b str r3, [r7, #16] + 8001366: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOG_CLK_ENABLE(); - 8001250: 4b4c ldr r3, [pc, #304] ; (8001384 ) - 8001252: 699b ldr r3, [r3, #24] - 8001254: 4a4b ldr r2, [pc, #300] ; (8001384 ) - 8001256: f443 7380 orr.w r3, r3, #256 ; 0x100 - 800125a: 6193 str r3, [r2, #24] - 800125c: 4b49 ldr r3, [pc, #292] ; (8001384 ) - 800125e: 699b ldr r3, [r3, #24] - 8001260: f403 7380 and.w r3, r3, #256 ; 0x100 - 8001264: 60fb str r3, [r7, #12] - 8001266: 68fb ldr r3, [r7, #12] + 8001368: 4b4c ldr r3, [pc, #304] ; (800149c ) + 800136a: 699b ldr r3, [r3, #24] + 800136c: 4a4b ldr r2, [pc, #300] ; (800149c ) + 800136e: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8001372: 6193 str r3, [r2, #24] + 8001374: 4b49 ldr r3, [pc, #292] ; (800149c ) + 8001376: 699b ldr r3, [r3, #24] + 8001378: f403 7380 and.w r3, r3, #256 ; 0x100 + 800137c: 60fb str r3, [r7, #12] + 800137e: 68fb ldr r3, [r7, #12] __HAL_RCC_GPIOE_CLK_ENABLE(); - 8001268: 4b46 ldr r3, [pc, #280] ; (8001384 ) - 800126a: 699b ldr r3, [r3, #24] - 800126c: 4a45 ldr r2, [pc, #276] ; (8001384 ) - 800126e: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8001272: 6193 str r3, [r2, #24] - 8001274: 4b43 ldr r3, [pc, #268] ; (8001384 ) - 8001276: 699b ldr r3, [r3, #24] - 8001278: f003 0340 and.w r3, r3, #64 ; 0x40 - 800127c: 60bb str r3, [r7, #8] - 800127e: 68bb ldr r3, [r7, #8] + 8001380: 4b46 ldr r3, [pc, #280] ; (800149c ) + 8001382: 699b ldr r3, [r3, #24] + 8001384: 4a45 ldr r2, [pc, #276] ; (800149c ) + 8001386: f043 0340 orr.w r3, r3, #64 ; 0x40 + 800138a: 6193 str r3, [r2, #24] + 800138c: 4b43 ldr r3, [pc, #268] ; (800149c ) + 800138e: 699b ldr r3, [r3, #24] + 8001390: f003 0340 and.w r3, r3, #64 ; 0x40 + 8001394: 60bb str r3, [r7, #8] + 8001396: 68bb ldr r3, [r7, #8] __HAL_RCC_GPIOD_CLK_ENABLE(); - 8001280: 4b40 ldr r3, [pc, #256] ; (8001384 ) - 8001282: 699b ldr r3, [r3, #24] - 8001284: 4a3f ldr r2, [pc, #252] ; (8001384 ) - 8001286: f043 0320 orr.w r3, r3, #32 - 800128a: 6193 str r3, [r2, #24] - 800128c: 4b3d ldr r3, [pc, #244] ; (8001384 ) - 800128e: 699b ldr r3, [r3, #24] - 8001290: f003 0320 and.w r3, r3, #32 - 8001294: 607b str r3, [r7, #4] - 8001296: 687b ldr r3, [r7, #4] + 8001398: 4b40 ldr r3, [pc, #256] ; (800149c ) + 800139a: 699b ldr r3, [r3, #24] + 800139c: 4a3f ldr r2, [pc, #252] ; (800149c ) + 800139e: f043 0320 orr.w r3, r3, #32 + 80013a2: 6193 str r3, [r2, #24] + 80013a4: 4b3d ldr r3, [pc, #244] ; (800149c ) + 80013a6: 699b ldr r3, [r3, #24] + 80013a8: f003 0320 and.w r3, r3, #32 + 80013ac: 607b str r3, [r7, #4] + 80013ae: 687b ldr r3, [r7, #4] /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(TDIN_GPIO_Port, TDIN_Pin, GPIO_PIN_SET); - 8001298: 2201 movs r2, #1 - 800129a: f44f 7100 mov.w r1, #512 ; 0x200 - 800129e: 483a ldr r0, [pc, #232] ; (8001388 ) - 80012a0: f000 fdd9 bl 8001e56 + 80013b0: 2201 movs r2, #1 + 80013b2: f44f 7100 mov.w r1, #512 ; 0x200 + 80013b6: 483a ldr r0, [pc, #232] ; (80014a0 ) + 80013b8: f000 fdd9 bl 8001f6e /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(LCD_BL_GPIO_Port, LCD_BL_Pin, GPIO_PIN_RESET); - 80012a4: 2200 movs r2, #0 - 80012a6: 2101 movs r1, #1 - 80012a8: 4838 ldr r0, [pc, #224] ; (800138c ) - 80012aa: f000 fdd4 bl 8001e56 + 80013bc: 2200 movs r2, #0 + 80013be: 2101 movs r1, #1 + 80013c0: 4838 ldr r0, [pc, #224] ; (80014a4 ) + 80013c2: f000 fdd4 bl 8001f6e /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOB, TCLK_Pin|TCS_Pin|MAX_IRD_Pin|MAX_RD_Pin, GPIO_PIN_SET); - 80012ae: 2201 movs r2, #1 - 80012b0: f245 0106 movw r1, #20486 ; 0x5006 - 80012b4: 4835 ldr r0, [pc, #212] ; (800138c ) - 80012b6: f000 fdce bl 8001e56 + 80013c6: 2201 movs r2, #1 + 80013c8: f245 0106 movw r1, #20486 ; 0x5006 + 80013cc: 4835 ldr r0, [pc, #212] ; (80014a4 ) + 80013ce: f000 fdce bl 8001f6e /*Configure GPIO pin : TDOUT_Pin */ GPIO_InitStruct.Pin = TDOUT_Pin; - 80012ba: f44f 7380 mov.w r3, #256 ; 0x100 - 80012be: 61bb str r3, [r7, #24] + 80013d2: f44f 7380 mov.w r3, #256 ; 0x100 + 80013d6: 61bb str r3, [r7, #24] GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 80012c0: 2300 movs r3, #0 - 80012c2: 61fb str r3, [r7, #28] + 80013d8: 2300 movs r3, #0 + 80013da: 61fb str r3, [r7, #28] GPIO_InitStruct.Pull = GPIO_NOPULL; - 80012c4: 2300 movs r3, #0 - 80012c6: 623b str r3, [r7, #32] + 80013dc: 2300 movs r3, #0 + 80013de: 623b str r3, [r7, #32] HAL_GPIO_Init(TDOUT_GPIO_Port, &GPIO_InitStruct); - 80012c8: f107 0318 add.w r3, r7, #24 - 80012cc: 4619 mov r1, r3 - 80012ce: 482e ldr r0, [pc, #184] ; (8001388 ) - 80012d0: f000 fc16 bl 8001b00 + 80013e0: f107 0318 add.w r3, r7, #24 + 80013e4: 4619 mov r1, r3 + 80013e6: 482e ldr r0, [pc, #184] ; (80014a0 ) + 80013e8: f000 fc16 bl 8001c18 /*Configure GPIO pin : TDIN_Pin */ GPIO_InitStruct.Pin = TDIN_Pin; - 80012d4: f44f 7300 mov.w r3, #512 ; 0x200 - 80012d8: 61bb str r3, [r7, #24] + 80013ec: f44f 7300 mov.w r3, #512 ; 0x200 + 80013f0: 61bb str r3, [r7, #24] GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 80012da: 2301 movs r3, #1 - 80012dc: 61fb str r3, [r7, #28] + 80013f2: 2301 movs r3, #1 + 80013f4: 61fb str r3, [r7, #28] GPIO_InitStruct.Pull = GPIO_NOPULL; - 80012de: 2300 movs r3, #0 - 80012e0: 623b str r3, [r7, #32] + 80013f6: 2300 movs r3, #0 + 80013f8: 623b str r3, [r7, #32] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - 80012e2: 2303 movs r3, #3 - 80012e4: 627b str r3, [r7, #36] ; 0x24 + 80013fa: 2303 movs r3, #3 + 80013fc: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(TDIN_GPIO_Port, &GPIO_InitStruct); - 80012e6: f107 0318 add.w r3, r7, #24 - 80012ea: 4619 mov r1, r3 - 80012ec: 4826 ldr r0, [pc, #152] ; (8001388 ) - 80012ee: f000 fc07 bl 8001b00 + 80013fe: f107 0318 add.w r3, r7, #24 + 8001402: 4619 mov r1, r3 + 8001404: 4826 ldr r0, [pc, #152] ; (80014a0 ) + 8001406: f000 fc07 bl 8001c18 /*Configure GPIO pin : TPEN_Pin */ GPIO_InitStruct.Pin = TPEN_Pin; - 80012f2: f44f 6380 mov.w r3, #1024 ; 0x400 - 80012f6: 61bb str r3, [r7, #24] + 800140a: f44f 6380 mov.w r3, #1024 ; 0x400 + 800140e: 61bb str r3, [r7, #24] GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 80012f8: 2300 movs r3, #0 - 80012fa: 61fb str r3, [r7, #28] + 8001410: 2300 movs r3, #0 + 8001412: 61fb str r3, [r7, #28] GPIO_InitStruct.Pull = GPIO_PULLUP; - 80012fc: 2301 movs r3, #1 - 80012fe: 623b str r3, [r7, #32] + 8001414: 2301 movs r3, #1 + 8001416: 623b str r3, [r7, #32] HAL_GPIO_Init(TPEN_GPIO_Port, &GPIO_InitStruct); - 8001300: f107 0318 add.w r3, r7, #24 - 8001304: 4619 mov r1, r3 - 8001306: 4820 ldr r0, [pc, #128] ; (8001388 ) - 8001308: f000 fbfa bl 8001b00 + 8001418: f107 0318 add.w r3, r7, #24 + 800141c: 4619 mov r1, r3 + 800141e: 4820 ldr r0, [pc, #128] ; (80014a0 ) + 8001420: f000 fbfa bl 8001c18 /*Configure GPIO pin : LCD_BL_Pin */ GPIO_InitStruct.Pin = LCD_BL_Pin; - 800130c: 2301 movs r3, #1 - 800130e: 61bb str r3, [r7, #24] + 8001424: 2301 movs r3, #1 + 8001426: 61bb str r3, [r7, #24] GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 8001310: 2301 movs r3, #1 - 8001312: 61fb str r3, [r7, #28] + 8001428: 2301 movs r3, #1 + 800142a: 61fb str r3, [r7, #28] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001314: 2300 movs r3, #0 - 8001316: 623b str r3, [r7, #32] + 800142c: 2300 movs r3, #0 + 800142e: 623b str r3, [r7, #32] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8001318: 2302 movs r3, #2 - 800131a: 627b str r3, [r7, #36] ; 0x24 + 8001430: 2302 movs r3, #2 + 8001432: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(LCD_BL_GPIO_Port, &GPIO_InitStruct); - 800131c: f107 0318 add.w r3, r7, #24 - 8001320: 4619 mov r1, r3 - 8001322: 481a ldr r0, [pc, #104] ; (800138c ) - 8001324: f000 fbec bl 8001b00 + 8001434: f107 0318 add.w r3, r7, #24 + 8001438: 4619 mov r1, r3 + 800143a: 481a ldr r0, [pc, #104] ; (80014a4 ) + 800143c: f000 fbec bl 8001c18 /*Configure GPIO pins : TCLK_Pin TCS_Pin */ GPIO_InitStruct.Pin = TCLK_Pin|TCS_Pin; - 8001328: 2306 movs r3, #6 - 800132a: 61bb str r3, [r7, #24] + 8001440: 2306 movs r3, #6 + 8001442: 61bb str r3, [r7, #24] GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 800132c: 2301 movs r3, #1 - 800132e: 61fb str r3, [r7, #28] + 8001444: 2301 movs r3, #1 + 8001446: 61fb str r3, [r7, #28] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001330: 2300 movs r3, #0 - 8001332: 623b str r3, [r7, #32] + 8001448: 2300 movs r3, #0 + 800144a: 623b str r3, [r7, #32] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - 8001334: 2303 movs r3, #3 - 8001336: 627b str r3, [r7, #36] ; 0x24 + 800144c: 2303 movs r3, #3 + 800144e: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); - 8001338: f107 0318 add.w r3, r7, #24 - 800133c: 4619 mov r1, r3 - 800133e: 4813 ldr r0, [pc, #76] ; (800138c ) - 8001340: f000 fbde bl 8001b00 + 8001450: f107 0318 add.w r3, r7, #24 + 8001454: 4619 mov r1, r3 + 8001456: 4813 ldr r0, [pc, #76] ; (80014a4 ) + 8001458: f000 fbde bl 8001c18 /*Configure GPIO pins : MAX_IRD_Pin MAX_RD_Pin */ GPIO_InitStruct.Pin = MAX_IRD_Pin|MAX_RD_Pin; - 8001344: f44f 43a0 mov.w r3, #20480 ; 0x5000 - 8001348: 61bb str r3, [r7, #24] + 800145c: f44f 43a0 mov.w r3, #20480 ; 0x5000 + 8001460: 61bb str r3, [r7, #24] GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 800134a: 2301 movs r3, #1 - 800134c: 61fb str r3, [r7, #28] + 8001462: 2301 movs r3, #1 + 8001464: 61fb str r3, [r7, #28] GPIO_InitStruct.Pull = GPIO_PULLUP; - 800134e: 2301 movs r3, #1 - 8001350: 623b str r3, [r7, #32] + 8001466: 2301 movs r3, #1 + 8001468: 623b str r3, [r7, #32] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - 8001352: 2303 movs r3, #3 - 8001354: 627b str r3, [r7, #36] ; 0x24 + 800146a: 2303 movs r3, #3 + 800146c: 627b str r3, [r7, #36] ; 0x24 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); - 8001356: f107 0318 add.w r3, r7, #24 - 800135a: 4619 mov r1, r3 - 800135c: 480b ldr r0, [pc, #44] ; (800138c ) - 800135e: f000 fbcf bl 8001b00 + 800146e: f107 0318 add.w r3, r7, #24 + 8001472: 4619 mov r1, r3 + 8001474: 480b ldr r0, [pc, #44] ; (80014a4 ) + 8001476: f000 fbcf bl 8001c18 /*Configure GPIO pin : MAX_INT_Pin */ GPIO_InitStruct.Pin = MAX_INT_Pin; - 8001362: f44f 5300 mov.w r3, #8192 ; 0x2000 - 8001366: 61bb str r3, [r7, #24] + 800147a: f44f 5300 mov.w r3, #8192 ; 0x2000 + 800147e: 61bb str r3, [r7, #24] GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 8001368: 2300 movs r3, #0 - 800136a: 61fb str r3, [r7, #28] - GPIO_InitStruct.Pull = GPIO_NOPULL; - 800136c: 2300 movs r3, #0 - 800136e: 623b str r3, [r7, #32] + 8001480: 2300 movs r3, #0 + 8001482: 61fb str r3, [r7, #28] + GPIO_InitStruct.Pull = GPIO_PULLUP; + 8001484: 2301 movs r3, #1 + 8001486: 623b str r3, [r7, #32] HAL_GPIO_Init(MAX_INT_GPIO_Port, &GPIO_InitStruct); - 8001370: f107 0318 add.w r3, r7, #24 - 8001374: 4619 mov r1, r3 - 8001376: 4805 ldr r0, [pc, #20] ; (800138c ) - 8001378: f000 fbc2 bl 8001b00 + 8001488: f107 0318 add.w r3, r7, #24 + 800148c: 4619 mov r1, r3 + 800148e: 4805 ldr r0, [pc, #20] ; (80014a4 ) + 8001490: f000 fbc2 bl 8001c18 } - 800137c: bf00 nop - 800137e: 3728 adds r7, #40 ; 0x28 - 8001380: 46bd mov sp, r7 - 8001382: bd80 pop {r7, pc} - 8001384: 40021000 .word 0x40021000 - 8001388: 40011c00 .word 0x40011c00 - 800138c: 40010c00 .word 0x40010c00 + 8001494: bf00 nop + 8001496: 3728 adds r7, #40 ; 0x28 + 8001498: 46bd mov sp, r7 + 800149a: bd80 pop {r7, pc} + 800149c: 40021000 .word 0x40021000 + 80014a0: 40011c00 .word 0x40011c00 + 80014a4: 40010c00 .word 0x40010c00 -08001390 : +080014a8 : /* FSMC initialization function */ static void MX_FSMC_Init(void) { - 8001390: b580 push {r7, lr} - 8001392: b088 sub sp, #32 - 8001394: af00 add r7, sp, #0 + 80014a8: b580 push {r7, lr} + 80014aa: b088 sub sp, #32 + 80014ac: af00 add r7, sp, #0 /* USER CODE BEGIN FSMC_Init 0 */ /* USER CODE END FSMC_Init 0 */ FSMC_NORSRAM_TimingTypeDef Timing = {0}; - 8001396: 1d3b adds r3, r7, #4 - 8001398: 2200 movs r2, #0 - 800139a: 601a str r2, [r3, #0] - 800139c: 605a str r2, [r3, #4] - 800139e: 609a str r2, [r3, #8] - 80013a0: 60da str r2, [r3, #12] - 80013a2: 611a str r2, [r3, #16] - 80013a4: 615a str r2, [r3, #20] - 80013a6: 619a str r2, [r3, #24] + 80014ae: 1d3b adds r3, r7, #4 + 80014b0: 2200 movs r2, #0 + 80014b2: 601a str r2, [r3, #0] + 80014b4: 605a str r2, [r3, #4] + 80014b6: 609a str r2, [r3, #8] + 80014b8: 60da str r2, [r3, #12] + 80014ba: 611a str r2, [r3, #16] + 80014bc: 615a str r2, [r3, #20] + 80014be: 619a str r2, [r3, #24] /* USER CODE END FSMC_Init 1 */ /** Perform the SRAM1 memory initialization sequence */ hsram1.Instance = FSMC_NORSRAM_DEVICE; - 80013a8: 4b28 ldr r3, [pc, #160] ; (800144c ) - 80013aa: f04f 4220 mov.w r2, #2684354560 ; 0xa0000000 - 80013ae: 601a str r2, [r3, #0] + 80014c0: 4b28 ldr r3, [pc, #160] ; (8001564 ) + 80014c2: f04f 4220 mov.w r2, #2684354560 ; 0xa0000000 + 80014c6: 601a str r2, [r3, #0] hsram1.Extended = FSMC_NORSRAM_EXTENDED_DEVICE; - 80013b0: 4b26 ldr r3, [pc, #152] ; (800144c ) - 80013b2: 4a27 ldr r2, [pc, #156] ; (8001450 ) - 80013b4: 605a str r2, [r3, #4] + 80014c8: 4b26 ldr r3, [pc, #152] ; (8001564 ) + 80014ca: 4a27 ldr r2, [pc, #156] ; (8001568 ) + 80014cc: 605a str r2, [r3, #4] /* hsram1.Init */ hsram1.Init.NSBank = FSMC_NORSRAM_BANK4; - 80013b6: 4b25 ldr r3, [pc, #148] ; (800144c ) - 80013b8: 2206 movs r2, #6 - 80013ba: 609a str r2, [r3, #8] + 80014ce: 4b25 ldr r3, [pc, #148] ; (8001564 ) + 80014d0: 2206 movs r2, #6 + 80014d2: 609a str r2, [r3, #8] hsram1.Init.DataAddressMux = FSMC_DATA_ADDRESS_MUX_DISABLE; - 80013bc: 4b23 ldr r3, [pc, #140] ; (800144c ) - 80013be: 2200 movs r2, #0 - 80013c0: 60da str r2, [r3, #12] + 80014d4: 4b23 ldr r3, [pc, #140] ; (8001564 ) + 80014d6: 2200 movs r2, #0 + 80014d8: 60da str r2, [r3, #12] hsram1.Init.MemoryType = FSMC_MEMORY_TYPE_SRAM; - 80013c2: 4b22 ldr r3, [pc, #136] ; (800144c ) - 80013c4: 2200 movs r2, #0 - 80013c6: 611a str r2, [r3, #16] + 80014da: 4b22 ldr r3, [pc, #136] ; (8001564 ) + 80014dc: 2200 movs r2, #0 + 80014de: 611a str r2, [r3, #16] hsram1.Init.MemoryDataWidth = FSMC_NORSRAM_MEM_BUS_WIDTH_16; - 80013c8: 4b20 ldr r3, [pc, #128] ; (800144c ) - 80013ca: 2210 movs r2, #16 - 80013cc: 615a str r2, [r3, #20] + 80014e0: 4b20 ldr r3, [pc, #128] ; (8001564 ) + 80014e2: 2210 movs r2, #16 + 80014e4: 615a str r2, [r3, #20] hsram1.Init.BurstAccessMode = FSMC_BURST_ACCESS_MODE_DISABLE; - 80013ce: 4b1f ldr r3, [pc, #124] ; (800144c ) - 80013d0: 2200 movs r2, #0 - 80013d2: 619a str r2, [r3, #24] + 80014e6: 4b1f ldr r3, [pc, #124] ; (8001564 ) + 80014e8: 2200 movs r2, #0 + 80014ea: 619a str r2, [r3, #24] hsram1.Init.WaitSignalPolarity = FSMC_WAIT_SIGNAL_POLARITY_LOW; - 80013d4: 4b1d ldr r3, [pc, #116] ; (800144c ) - 80013d6: 2200 movs r2, #0 - 80013d8: 61da str r2, [r3, #28] + 80014ec: 4b1d ldr r3, [pc, #116] ; (8001564 ) + 80014ee: 2200 movs r2, #0 + 80014f0: 61da str r2, [r3, #28] hsram1.Init.WrapMode = FSMC_WRAP_MODE_DISABLE; - 80013da: 4b1c ldr r3, [pc, #112] ; (800144c ) - 80013dc: 2200 movs r2, #0 - 80013de: 621a str r2, [r3, #32] + 80014f2: 4b1c ldr r3, [pc, #112] ; (8001564 ) + 80014f4: 2200 movs r2, #0 + 80014f6: 621a str r2, [r3, #32] hsram1.Init.WaitSignalActive = FSMC_WAIT_TIMING_BEFORE_WS; - 80013e0: 4b1a ldr r3, [pc, #104] ; (800144c ) - 80013e2: 2200 movs r2, #0 - 80013e4: 625a str r2, [r3, #36] ; 0x24 + 80014f8: 4b1a ldr r3, [pc, #104] ; (8001564 ) + 80014fa: 2200 movs r2, #0 + 80014fc: 625a str r2, [r3, #36] ; 0x24 hsram1.Init.WriteOperation = FSMC_WRITE_OPERATION_ENABLE; - 80013e6: 4b19 ldr r3, [pc, #100] ; (800144c ) - 80013e8: f44f 5280 mov.w r2, #4096 ; 0x1000 - 80013ec: 629a str r2, [r3, #40] ; 0x28 + 80014fe: 4b19 ldr r3, [pc, #100] ; (8001564 ) + 8001500: f44f 5280 mov.w r2, #4096 ; 0x1000 + 8001504: 629a str r2, [r3, #40] ; 0x28 hsram1.Init.WaitSignal = FSMC_WAIT_SIGNAL_DISABLE; - 80013ee: 4b17 ldr r3, [pc, #92] ; (800144c ) - 80013f0: 2200 movs r2, #0 - 80013f2: 62da str r2, [r3, #44] ; 0x2c + 8001506: 4b17 ldr r3, [pc, #92] ; (8001564 ) + 8001508: 2200 movs r2, #0 + 800150a: 62da str r2, [r3, #44] ; 0x2c hsram1.Init.ExtendedMode = FSMC_EXTENDED_MODE_DISABLE; - 80013f4: 4b15 ldr r3, [pc, #84] ; (800144c ) - 80013f6: 2200 movs r2, #0 - 80013f8: 631a str r2, [r3, #48] ; 0x30 + 800150c: 4b15 ldr r3, [pc, #84] ; (8001564 ) + 800150e: 2200 movs r2, #0 + 8001510: 631a str r2, [r3, #48] ; 0x30 hsram1.Init.AsynchronousWait = FSMC_ASYNCHRONOUS_WAIT_DISABLE; - 80013fa: 4b14 ldr r3, [pc, #80] ; (800144c ) - 80013fc: 2200 movs r2, #0 - 80013fe: 635a str r2, [r3, #52] ; 0x34 + 8001512: 4b14 ldr r3, [pc, #80] ; (8001564 ) + 8001514: 2200 movs r2, #0 + 8001516: 635a str r2, [r3, #52] ; 0x34 hsram1.Init.WriteBurst = FSMC_WRITE_BURST_DISABLE; - 8001400: 4b12 ldr r3, [pc, #72] ; (800144c ) - 8001402: 2200 movs r2, #0 - 8001404: 639a str r2, [r3, #56] ; 0x38 + 8001518: 4b12 ldr r3, [pc, #72] ; (8001564 ) + 800151a: 2200 movs r2, #0 + 800151c: 639a str r2, [r3, #56] ; 0x38 /* Timing */ Timing.AddressSetupTime = 0; - 8001406: 2300 movs r3, #0 - 8001408: 607b str r3, [r7, #4] + 800151e: 2300 movs r3, #0 + 8001520: 607b str r3, [r7, #4] Timing.AddressHoldTime = 15; - 800140a: 230f movs r3, #15 - 800140c: 60bb str r3, [r7, #8] + 8001522: 230f movs r3, #15 + 8001524: 60bb str r3, [r7, #8] Timing.DataSetupTime = 1; - 800140e: 2301 movs r3, #1 - 8001410: 60fb str r3, [r7, #12] + 8001526: 2301 movs r3, #1 + 8001528: 60fb str r3, [r7, #12] Timing.BusTurnAroundDuration = 0; - 8001412: 2300 movs r3, #0 - 8001414: 613b str r3, [r7, #16] + 800152a: 2300 movs r3, #0 + 800152c: 613b str r3, [r7, #16] Timing.CLKDivision = 16; - 8001416: 2310 movs r3, #16 - 8001418: 617b str r3, [r7, #20] + 800152e: 2310 movs r3, #16 + 8001530: 617b str r3, [r7, #20] Timing.DataLatency = 17; - 800141a: 2311 movs r3, #17 - 800141c: 61bb str r3, [r7, #24] + 8001532: 2311 movs r3, #17 + 8001534: 61bb str r3, [r7, #24] Timing.AccessMode = FSMC_ACCESS_MODE_A; - 800141e: 2300 movs r3, #0 - 8001420: 61fb str r3, [r7, #28] + 8001536: 2300 movs r3, #0 + 8001538: 61fb str r3, [r7, #28] /* ExtTiming */ if (HAL_SRAM_Init(&hsram1, &Timing, NULL) != HAL_OK) - 8001422: 1d3b adds r3, r7, #4 - 8001424: 2200 movs r2, #0 - 8001426: 4619 mov r1, r3 - 8001428: 4808 ldr r0, [pc, #32] ; (800144c ) - 800142a: f002 f933 bl 8003694 - 800142e: 4603 mov r3, r0 - 8001430: 2b00 cmp r3, #0 - 8001432: d001 beq.n 8001438 + 800153a: 1d3b adds r3, r7, #4 + 800153c: 2200 movs r2, #0 + 800153e: 4619 mov r1, r3 + 8001540: 4808 ldr r0, [pc, #32] ; (8001564 ) + 8001542: f002 f933 bl 80037ac + 8001546: 4603 mov r3, r0 + 8001548: 2b00 cmp r3, #0 + 800154a: d001 beq.n 8001550 { Error_Handler( ); - 8001434: f000 f810 bl 8001458 + 800154c: f000 f810 bl 8001570 } /** Disconnect NADV */ __HAL_AFIO_FSMCNADV_DISCONNECTED(); - 8001438: 4b06 ldr r3, [pc, #24] ; (8001454 ) - 800143a: 69db ldr r3, [r3, #28] - 800143c: 4a05 ldr r2, [pc, #20] ; (8001454 ) - 800143e: f443 6380 orr.w r3, r3, #1024 ; 0x400 - 8001442: 61d3 str r3, [r2, #28] + 8001550: 4b06 ldr r3, [pc, #24] ; (800156c ) + 8001552: 69db ldr r3, [r3, #28] + 8001554: 4a05 ldr r2, [pc, #20] ; (800156c ) + 8001556: f443 6380 orr.w r3, r3, #1024 ; 0x400 + 800155a: 61d3 str r3, [r2, #28] /* USER CODE BEGIN FSMC_Init 2 */ /* USER CODE END FSMC_Init 2 */ } - 8001444: bf00 nop - 8001446: 3720 adds r7, #32 - 8001448: 46bd mov sp, r7 - 800144a: bd80 pop {r7, pc} - 800144c: 2000025c .word 0x2000025c - 8001450: a0000104 .word 0xa0000104 - 8001454: 40010000 .word 0x40010000 + 800155c: bf00 nop + 800155e: 3720 adds r7, #32 + 8001560: 46bd mov sp, r7 + 8001562: bd80 pop {r7, pc} + 8001564: 2000026c .word 0x2000026c + 8001568: a0000104 .word 0xa0000104 + 800156c: 40010000 .word 0x40010000 -08001458 : +08001570 : /** * @brief This function is executed in case of error occurrence. * @retval None */ void Error_Handler(void) { - 8001458: b480 push {r7} - 800145a: af00 add r7, sp, #0 + 8001570: b480 push {r7} + 8001572: af00 add r7, sp, #0 \details Disables IRQ interrupts by setting the I-bit in the CPSR. Can only be executed in Privileged modes. */ __STATIC_FORCEINLINE void __disable_irq(void) { __ASM volatile ("cpsid i" : : : "memory"); - 800145c: b672 cpsid i + 8001574: b672 cpsid i } - 800145e: bf00 nop + 8001576: bf00 nop /* USER CODE BEGIN Error_Handler_Debug */ /* User can add his own implementation to report the HAL error return state */ __disable_irq(); while (1) - 8001460: e7fe b.n 8001460 + 8001578: e7fe b.n 8001578 ... -08001464 : +0800157c : /* USER CODE END 0 */ /** * Initializes the Global MSP. */ void HAL_MspInit(void) { - 8001464: b480 push {r7} - 8001466: b085 sub sp, #20 - 8001468: af00 add r7, sp, #0 + 800157c: b480 push {r7} + 800157e: b085 sub sp, #20 + 8001580: af00 add r7, sp, #0 /* USER CODE BEGIN MspInit 0 */ /* USER CODE END MspInit 0 */ __HAL_RCC_AFIO_CLK_ENABLE(); - 800146a: 4b15 ldr r3, [pc, #84] ; (80014c0 ) - 800146c: 699b ldr r3, [r3, #24] - 800146e: 4a14 ldr r2, [pc, #80] ; (80014c0 ) - 8001470: f043 0301 orr.w r3, r3, #1 - 8001474: 6193 str r3, [r2, #24] - 8001476: 4b12 ldr r3, [pc, #72] ; (80014c0 ) - 8001478: 699b ldr r3, [r3, #24] - 800147a: f003 0301 and.w r3, r3, #1 - 800147e: 60bb str r3, [r7, #8] - 8001480: 68bb ldr r3, [r7, #8] + 8001582: 4b15 ldr r3, [pc, #84] ; (80015d8 ) + 8001584: 699b ldr r3, [r3, #24] + 8001586: 4a14 ldr r2, [pc, #80] ; (80015d8 ) + 8001588: f043 0301 orr.w r3, r3, #1 + 800158c: 6193 str r3, [r2, #24] + 800158e: 4b12 ldr r3, [pc, #72] ; (80015d8 ) + 8001590: 699b ldr r3, [r3, #24] + 8001592: f003 0301 and.w r3, r3, #1 + 8001596: 60bb str r3, [r7, #8] + 8001598: 68bb ldr r3, [r7, #8] __HAL_RCC_PWR_CLK_ENABLE(); - 8001482: 4b0f ldr r3, [pc, #60] ; (80014c0 ) - 8001484: 69db ldr r3, [r3, #28] - 8001486: 4a0e ldr r2, [pc, #56] ; (80014c0 ) - 8001488: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 800148c: 61d3 str r3, [r2, #28] - 800148e: 4b0c ldr r3, [pc, #48] ; (80014c0 ) - 8001490: 69db ldr r3, [r3, #28] - 8001492: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 8001496: 607b str r3, [r7, #4] - 8001498: 687b ldr r3, [r7, #4] + 800159a: 4b0f ldr r3, [pc, #60] ; (80015d8 ) + 800159c: 69db ldr r3, [r3, #28] + 800159e: 4a0e ldr r2, [pc, #56] ; (80015d8 ) + 80015a0: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 80015a4: 61d3 str r3, [r2, #28] + 80015a6: 4b0c ldr r3, [pc, #48] ; (80015d8 ) + 80015a8: 69db ldr r3, [r3, #28] + 80015aa: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 80015ae: 607b str r3, [r7, #4] + 80015b0: 687b ldr r3, [r7, #4] /* System interrupt init*/ /** DISABLE: JTAG-DP Disabled and SW-DP Disabled */ __HAL_AFIO_REMAP_SWJ_DISABLE(); - 800149a: 4b0a ldr r3, [pc, #40] ; (80014c4 ) - 800149c: 685b ldr r3, [r3, #4] - 800149e: 60fb str r3, [r7, #12] - 80014a0: 68fb ldr r3, [r7, #12] - 80014a2: f023 63e0 bic.w r3, r3, #117440512 ; 0x7000000 - 80014a6: 60fb str r3, [r7, #12] - 80014a8: 68fb ldr r3, [r7, #12] - 80014aa: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 - 80014ae: 60fb str r3, [r7, #12] - 80014b0: 4a04 ldr r2, [pc, #16] ; (80014c4 ) - 80014b2: 68fb ldr r3, [r7, #12] - 80014b4: 6053 str r3, [r2, #4] + 80015b2: 4b0a ldr r3, [pc, #40] ; (80015dc ) + 80015b4: 685b ldr r3, [r3, #4] + 80015b6: 60fb str r3, [r7, #12] + 80015b8: 68fb ldr r3, [r7, #12] + 80015ba: f023 63e0 bic.w r3, r3, #117440512 ; 0x7000000 + 80015be: 60fb str r3, [r7, #12] + 80015c0: 68fb ldr r3, [r7, #12] + 80015c2: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000 + 80015c6: 60fb str r3, [r7, #12] + 80015c8: 4a04 ldr r2, [pc, #16] ; (80015dc ) + 80015ca: 68fb ldr r3, [r7, #12] + 80015cc: 6053 str r3, [r2, #4] /* USER CODE BEGIN MspInit 1 */ /* USER CODE END MspInit 1 */ } - 80014b6: bf00 nop - 80014b8: 3714 adds r7, #20 - 80014ba: 46bd mov sp, r7 - 80014bc: bc80 pop {r7} - 80014be: 4770 bx lr - 80014c0: 40021000 .word 0x40021000 - 80014c4: 40010000 .word 0x40010000 + 80015ce: bf00 nop + 80015d0: 3714 adds r7, #20 + 80015d2: 46bd mov sp, r7 + 80015d4: bc80 pop {r7} + 80015d6: 4770 bx lr + 80015d8: 40021000 .word 0x40021000 + 80015dc: 40010000 .word 0x40010000 -080014c8 : +080015e0 : * This function configures the hardware resources used in this example * @param hi2c: I2C handle pointer * @retval None */ void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c) { - 80014c8: b580 push {r7, lr} - 80014ca: b088 sub sp, #32 - 80014cc: af00 add r7, sp, #0 - 80014ce: 6078 str r0, [r7, #4] + 80015e0: b580 push {r7, lr} + 80015e2: b088 sub sp, #32 + 80015e4: af00 add r7, sp, #0 + 80015e6: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 80014d0: f107 0310 add.w r3, r7, #16 - 80014d4: 2200 movs r2, #0 - 80014d6: 601a str r2, [r3, #0] - 80014d8: 605a str r2, [r3, #4] - 80014da: 609a str r2, [r3, #8] - 80014dc: 60da str r2, [r3, #12] + 80015e8: f107 0310 add.w r3, r7, #16 + 80015ec: 2200 movs r2, #0 + 80015ee: 601a str r2, [r3, #0] + 80015f0: 605a str r2, [r3, #4] + 80015f2: 609a str r2, [r3, #8] + 80015f4: 60da str r2, [r3, #12] if(hi2c->Instance==I2C2) - 80014de: 687b ldr r3, [r7, #4] - 80014e0: 681b ldr r3, [r3, #0] - 80014e2: 4a16 ldr r2, [pc, #88] ; (800153c ) - 80014e4: 4293 cmp r3, r2 - 80014e6: d124 bne.n 8001532 + 80015f6: 687b ldr r3, [r7, #4] + 80015f8: 681b ldr r3, [r3, #0] + 80015fa: 4a16 ldr r2, [pc, #88] ; (8001654 ) + 80015fc: 4293 cmp r3, r2 + 80015fe: d124 bne.n 800164a { /* USER CODE BEGIN I2C2_MspInit 0 */ /* USER CODE END I2C2_MspInit 0 */ __HAL_RCC_GPIOB_CLK_ENABLE(); - 80014e8: 4b15 ldr r3, [pc, #84] ; (8001540 ) - 80014ea: 699b ldr r3, [r3, #24] - 80014ec: 4a14 ldr r2, [pc, #80] ; (8001540 ) - 80014ee: f043 0308 orr.w r3, r3, #8 - 80014f2: 6193 str r3, [r2, #24] - 80014f4: 4b12 ldr r3, [pc, #72] ; (8001540 ) - 80014f6: 699b ldr r3, [r3, #24] - 80014f8: f003 0308 and.w r3, r3, #8 - 80014fc: 60fb str r3, [r7, #12] - 80014fe: 68fb ldr r3, [r7, #12] + 8001600: 4b15 ldr r3, [pc, #84] ; (8001658 ) + 8001602: 699b ldr r3, [r3, #24] + 8001604: 4a14 ldr r2, [pc, #80] ; (8001658 ) + 8001606: f043 0308 orr.w r3, r3, #8 + 800160a: 6193 str r3, [r2, #24] + 800160c: 4b12 ldr r3, [pc, #72] ; (8001658 ) + 800160e: 699b ldr r3, [r3, #24] + 8001610: f003 0308 and.w r3, r3, #8 + 8001614: 60fb str r3, [r7, #12] + 8001616: 68fb ldr r3, [r7, #12] /**I2C2 GPIO Configuration PB10 ------> I2C2_SCL PB11 ------> I2C2_SDA */ GPIO_InitStruct.Pin = GPIO_PIN_10|GPIO_PIN_11; - 8001500: f44f 6340 mov.w r3, #3072 ; 0xc00 - 8001504: 613b str r3, [r7, #16] + 8001618: f44f 6340 mov.w r3, #3072 ; 0xc00 + 800161c: 613b str r3, [r7, #16] GPIO_InitStruct.Mode = GPIO_MODE_AF_OD; - 8001506: 2312 movs r3, #18 - 8001508: 617b str r3, [r7, #20] + 800161e: 2312 movs r3, #18 + 8001620: 617b str r3, [r7, #20] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - 800150a: 2303 movs r3, #3 - 800150c: 61fb str r3, [r7, #28] + 8001622: 2303 movs r3, #3 + 8001624: 61fb str r3, [r7, #28] HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); - 800150e: f107 0310 add.w r3, r7, #16 - 8001512: 4619 mov r1, r3 - 8001514: 480b ldr r0, [pc, #44] ; (8001544 ) - 8001516: f000 faf3 bl 8001b00 + 8001626: f107 0310 add.w r3, r7, #16 + 800162a: 4619 mov r1, r3 + 800162c: 480b ldr r0, [pc, #44] ; (800165c ) + 800162e: f000 faf3 bl 8001c18 /* Peripheral clock enable */ __HAL_RCC_I2C2_CLK_ENABLE(); - 800151a: 4b09 ldr r3, [pc, #36] ; (8001540 ) - 800151c: 69db ldr r3, [r3, #28] - 800151e: 4a08 ldr r2, [pc, #32] ; (8001540 ) - 8001520: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 - 8001524: 61d3 str r3, [r2, #28] - 8001526: 4b06 ldr r3, [pc, #24] ; (8001540 ) - 8001528: 69db ldr r3, [r3, #28] - 800152a: f403 0380 and.w r3, r3, #4194304 ; 0x400000 - 800152e: 60bb str r3, [r7, #8] - 8001530: 68bb ldr r3, [r7, #8] + 8001632: 4b09 ldr r3, [pc, #36] ; (8001658 ) + 8001634: 69db ldr r3, [r3, #28] + 8001636: 4a08 ldr r2, [pc, #32] ; (8001658 ) + 8001638: f443 0380 orr.w r3, r3, #4194304 ; 0x400000 + 800163c: 61d3 str r3, [r2, #28] + 800163e: 4b06 ldr r3, [pc, #24] ; (8001658 ) + 8001640: 69db ldr r3, [r3, #28] + 8001642: f403 0380 and.w r3, r3, #4194304 ; 0x400000 + 8001646: 60bb str r3, [r7, #8] + 8001648: 68bb ldr r3, [r7, #8] /* USER CODE BEGIN I2C2_MspInit 1 */ /* USER CODE END I2C2_MspInit 1 */ } } - 8001532: bf00 nop - 8001534: 3720 adds r7, #32 - 8001536: 46bd mov sp, r7 - 8001538: bd80 pop {r7, pc} - 800153a: bf00 nop - 800153c: 40005800 .word 0x40005800 - 8001540: 40021000 .word 0x40021000 - 8001544: 40010c00 .word 0x40010c00 + 800164a: bf00 nop + 800164c: 3720 adds r7, #32 + 800164e: 46bd mov sp, r7 + 8001650: bd80 pop {r7, pc} + 8001652: bf00 nop + 8001654: 40005800 .word 0x40005800 + 8001658: 40021000 .word 0x40021000 + 800165c: 40010c00 .word 0x40010c00 -08001548 : +08001660 : } static uint32_t FSMC_Initialized = 0; static void HAL_FSMC_MspInit(void){ - 8001548: b580 push {r7, lr} - 800154a: b086 sub sp, #24 - 800154c: af00 add r7, sp, #0 + 8001660: b580 push {r7, lr} + 8001662: b086 sub sp, #24 + 8001664: af00 add r7, sp, #0 /* USER CODE BEGIN FSMC_MspInit 0 */ /* USER CODE END FSMC_MspInit 0 */ GPIO_InitTypeDef GPIO_InitStruct ={0}; - 800154e: f107 0308 add.w r3, r7, #8 - 8001552: 2200 movs r2, #0 - 8001554: 601a str r2, [r3, #0] - 8001556: 605a str r2, [r3, #4] - 8001558: 609a str r2, [r3, #8] - 800155a: 60da str r2, [r3, #12] + 8001666: f107 0308 add.w r3, r7, #8 + 800166a: 2200 movs r2, #0 + 800166c: 601a str r2, [r3, #0] + 800166e: 605a str r2, [r3, #4] + 8001670: 609a str r2, [r3, #8] + 8001672: 60da str r2, [r3, #12] if (FSMC_Initialized) { - 800155c: 4b1f ldr r3, [pc, #124] ; (80015dc ) - 800155e: 681b ldr r3, [r3, #0] - 8001560: 2b00 cmp r3, #0 - 8001562: d136 bne.n 80015d2 + 8001674: 4b1f ldr r3, [pc, #124] ; (80016f4 ) + 8001676: 681b ldr r3, [r3, #0] + 8001678: 2b00 cmp r3, #0 + 800167a: d136 bne.n 80016ea return; } FSMC_Initialized = 1; - 8001564: 4b1d ldr r3, [pc, #116] ; (80015dc ) - 8001566: 2201 movs r2, #1 - 8001568: 601a str r2, [r3, #0] + 800167c: 4b1d ldr r3, [pc, #116] ; (80016f4 ) + 800167e: 2201 movs r2, #1 + 8001680: 601a str r2, [r3, #0] /* Peripheral clock enable */ __HAL_RCC_FSMC_CLK_ENABLE(); - 800156a: 4b1d ldr r3, [pc, #116] ; (80015e0 ) - 800156c: 695b ldr r3, [r3, #20] - 800156e: 4a1c ldr r2, [pc, #112] ; (80015e0 ) - 8001570: f443 7380 orr.w r3, r3, #256 ; 0x100 - 8001574: 6153 str r3, [r2, #20] - 8001576: 4b1a ldr r3, [pc, #104] ; (80015e0 ) - 8001578: 695b ldr r3, [r3, #20] - 800157a: f403 7380 and.w r3, r3, #256 ; 0x100 - 800157e: 607b str r3, [r7, #4] - 8001580: 687b ldr r3, [r7, #4] + 8001682: 4b1d ldr r3, [pc, #116] ; (80016f8 ) + 8001684: 695b ldr r3, [r3, #20] + 8001686: 4a1c ldr r2, [pc, #112] ; (80016f8 ) + 8001688: f443 7380 orr.w r3, r3, #256 ; 0x100 + 800168c: 6153 str r3, [r2, #20] + 800168e: 4b1a ldr r3, [pc, #104] ; (80016f8 ) + 8001690: 695b ldr r3, [r3, #20] + 8001692: f403 7380 and.w r3, r3, #256 ; 0x100 + 8001696: 607b str r3, [r7, #4] + 8001698: 687b ldr r3, [r7, #4] PD1 ------> FSMC_D3 PD4 ------> FSMC_NOE PD5 ------> FSMC_NWE PG12 ------> FSMC_NE4 */ GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_12; - 8001582: f241 0301 movw r3, #4097 ; 0x1001 - 8001586: 60bb str r3, [r7, #8] + 800169a: f241 0301 movw r3, #4097 ; 0x1001 + 800169e: 60bb str r3, [r7, #8] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001588: 2302 movs r3, #2 - 800158a: 60fb str r3, [r7, #12] + 80016a0: 2302 movs r3, #2 + 80016a2: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - 800158c: 2303 movs r3, #3 - 800158e: 617b str r3, [r7, #20] + 80016a4: 2303 movs r3, #3 + 80016a6: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOG, &GPIO_InitStruct); - 8001590: f107 0308 add.w r3, r7, #8 - 8001594: 4619 mov r1, r3 - 8001596: 4813 ldr r0, [pc, #76] ; (80015e4 ) - 8001598: f000 fab2 bl 8001b00 + 80016a8: f107 0308 add.w r3, r7, #8 + 80016ac: 4619 mov r1, r3 + 80016ae: 4813 ldr r0, [pc, #76] ; (80016fc ) + 80016b0: f000 fab2 bl 8001c18 GPIO_InitStruct.Pin = GPIO_PIN_7|GPIO_PIN_8|GPIO_PIN_9|GPIO_PIN_10 - 800159c: f64f 7380 movw r3, #65408 ; 0xff80 - 80015a0: 60bb str r3, [r7, #8] + 80016b4: f64f 7380 movw r3, #65408 ; 0xff80 + 80016b8: 60bb str r3, [r7, #8] |GPIO_PIN_11|GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14 |GPIO_PIN_15; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80015a2: 2302 movs r3, #2 - 80015a4: 60fb str r3, [r7, #12] + 80016ba: 2302 movs r3, #2 + 80016bc: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - 80015a6: 2303 movs r3, #3 - 80015a8: 617b str r3, [r7, #20] + 80016be: 2303 movs r3, #3 + 80016c0: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOE, &GPIO_InitStruct); - 80015aa: f107 0308 add.w r3, r7, #8 - 80015ae: 4619 mov r1, r3 - 80015b0: 480d ldr r0, [pc, #52] ; (80015e8 ) - 80015b2: f000 faa5 bl 8001b00 + 80016c2: f107 0308 add.w r3, r7, #8 + 80016c6: 4619 mov r1, r3 + 80016c8: 480d ldr r0, [pc, #52] ; (8001700 ) + 80016ca: f000 faa5 bl 8001c18 GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9|GPIO_PIN_10|GPIO_PIN_14 - 80015b6: f24c 7333 movw r3, #50995 ; 0xc733 - 80015ba: 60bb str r3, [r7, #8] + 80016ce: f24c 7333 movw r3, #50995 ; 0xc733 + 80016d2: 60bb str r3, [r7, #8] |GPIO_PIN_15|GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_4 |GPIO_PIN_5; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80015bc: 2302 movs r3, #2 - 80015be: 60fb str r3, [r7, #12] + 80016d4: 2302 movs r3, #2 + 80016d6: 60fb str r3, [r7, #12] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - 80015c0: 2303 movs r3, #3 - 80015c2: 617b str r3, [r7, #20] + 80016d8: 2303 movs r3, #3 + 80016da: 617b str r3, [r7, #20] HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); - 80015c4: f107 0308 add.w r3, r7, #8 - 80015c8: 4619 mov r1, r3 - 80015ca: 4808 ldr r0, [pc, #32] ; (80015ec ) - 80015cc: f000 fa98 bl 8001b00 - 80015d0: e000 b.n 80015d4 + 80016dc: f107 0308 add.w r3, r7, #8 + 80016e0: 4619 mov r1, r3 + 80016e2: 4808 ldr r0, [pc, #32] ; (8001704 ) + 80016e4: f000 fa98 bl 8001c18 + 80016e8: e000 b.n 80016ec return; - 80015d2: bf00 nop + 80016ea: bf00 nop /* USER CODE BEGIN FSMC_MspInit 1 */ /* USER CODE END FSMC_MspInit 1 */ } - 80015d4: 3718 adds r7, #24 - 80015d6: 46bd mov sp, r7 - 80015d8: bd80 pop {r7, pc} - 80015da: bf00 nop - 80015dc: 200001f8 .word 0x200001f8 - 80015e0: 40021000 .word 0x40021000 - 80015e4: 40012000 .word 0x40012000 - 80015e8: 40011800 .word 0x40011800 - 80015ec: 40011400 .word 0x40011400 + 80016ec: 3718 adds r7, #24 + 80016ee: 46bd mov sp, r7 + 80016f0: bd80 pop {r7, pc} + 80016f2: bf00 nop + 80016f4: 200001fc .word 0x200001fc + 80016f8: 40021000 .word 0x40021000 + 80016fc: 40012000 .word 0x40012000 + 8001700: 40011800 .word 0x40011800 + 8001704: 40011400 .word 0x40011400 -080015f0 : +08001708 : void HAL_SRAM_MspInit(SRAM_HandleTypeDef* hsram){ - 80015f0: b580 push {r7, lr} - 80015f2: b082 sub sp, #8 - 80015f4: af00 add r7, sp, #0 - 80015f6: 6078 str r0, [r7, #4] + 8001708: b580 push {r7, lr} + 800170a: b082 sub sp, #8 + 800170c: af00 add r7, sp, #0 + 800170e: 6078 str r0, [r7, #4] /* USER CODE BEGIN SRAM_MspInit 0 */ /* USER CODE END SRAM_MspInit 0 */ HAL_FSMC_MspInit(); - 80015f8: f7ff ffa6 bl 8001548 + 8001710: f7ff ffa6 bl 8001660 /* USER CODE BEGIN SRAM_MspInit 1 */ /* USER CODE END SRAM_MspInit 1 */ } - 80015fc: bf00 nop - 80015fe: 3708 adds r7, #8 - 8001600: 46bd mov sp, r7 - 8001602: bd80 pop {r7, pc} + 8001714: bf00 nop + 8001716: 3708 adds r7, #8 + 8001718: 46bd mov sp, r7 + 800171a: bd80 pop {r7, pc} -08001604 : +0800171c : /******************************************************************************/ /** * @brief This function handles Non maskable interrupt. */ void NMI_Handler(void) { - 8001604: b480 push {r7} - 8001606: af00 add r7, sp, #0 + 800171c: b480 push {r7} + 800171e: af00 add r7, sp, #0 /* USER CODE BEGIN NonMaskableInt_IRQn 0 */ /* USER CODE END NonMaskableInt_IRQn 0 */ /* USER CODE BEGIN NonMaskableInt_IRQn 1 */ while (1) - 8001608: e7fe b.n 8001608 + 8001720: e7fe b.n 8001720 -0800160a : +08001722 : /** * @brief This function handles Hard fault interrupt. */ void HardFault_Handler(void) { - 800160a: b480 push {r7} - 800160c: af00 add r7, sp, #0 + 8001722: b480 push {r7} + 8001724: af00 add r7, sp, #0 /* USER CODE BEGIN HardFault_IRQn 0 */ /* USER CODE END HardFault_IRQn 0 */ while (1) - 800160e: e7fe b.n 800160e + 8001726: e7fe b.n 8001726 -08001610 : +08001728 : /** * @brief This function handles Memory management fault. */ void MemManage_Handler(void) { - 8001610: b480 push {r7} - 8001612: af00 add r7, sp, #0 + 8001728: b480 push {r7} + 800172a: af00 add r7, sp, #0 /* USER CODE BEGIN MemoryManagement_IRQn 0 */ /* USER CODE END MemoryManagement_IRQn 0 */ while (1) - 8001614: e7fe b.n 8001614 + 800172c: e7fe b.n 800172c -08001616 : +0800172e : /** * @brief This function handles Prefetch fault, memory access fault. */ void BusFault_Handler(void) { - 8001616: b480 push {r7} - 8001618: af00 add r7, sp, #0 + 800172e: b480 push {r7} + 8001730: af00 add r7, sp, #0 /* USER CODE BEGIN BusFault_IRQn 0 */ /* USER CODE END BusFault_IRQn 0 */ while (1) - 800161a: e7fe b.n 800161a + 8001732: e7fe b.n 8001732 -0800161c : +08001734 : /** * @brief This function handles Undefined instruction or illegal state. */ void UsageFault_Handler(void) { - 800161c: b480 push {r7} - 800161e: af00 add r7, sp, #0 + 8001734: b480 push {r7} + 8001736: af00 add r7, sp, #0 /* USER CODE BEGIN UsageFault_IRQn 0 */ /* USER CODE END UsageFault_IRQn 0 */ while (1) - 8001620: e7fe b.n 8001620 + 8001738: e7fe b.n 8001738 -08001622 : +0800173a : /** * @brief This function handles System service call via SWI instruction. */ void SVC_Handler(void) { - 8001622: b480 push {r7} - 8001624: af00 add r7, sp, #0 + 800173a: b480 push {r7} + 800173c: af00 add r7, sp, #0 /* USER CODE END SVCall_IRQn 0 */ /* USER CODE BEGIN SVCall_IRQn 1 */ /* USER CODE END SVCall_IRQn 1 */ } - 8001626: bf00 nop - 8001628: 46bd mov sp, r7 - 800162a: bc80 pop {r7} - 800162c: 4770 bx lr + 800173e: bf00 nop + 8001740: 46bd mov sp, r7 + 8001742: bc80 pop {r7} + 8001744: 4770 bx lr -0800162e : +08001746 : /** * @brief This function handles Debug monitor. */ void DebugMon_Handler(void) { - 800162e: b480 push {r7} - 8001630: af00 add r7, sp, #0 + 8001746: b480 push {r7} + 8001748: af00 add r7, sp, #0 /* USER CODE END DebugMonitor_IRQn 0 */ /* USER CODE BEGIN DebugMonitor_IRQn 1 */ /* USER CODE END DebugMonitor_IRQn 1 */ } - 8001632: bf00 nop - 8001634: 46bd mov sp, r7 - 8001636: bc80 pop {r7} - 8001638: 4770 bx lr + 800174a: bf00 nop + 800174c: 46bd mov sp, r7 + 800174e: bc80 pop {r7} + 8001750: 4770 bx lr -0800163a : +08001752 : /** * @brief This function handles Pendable request for system service. */ void PendSV_Handler(void) { - 800163a: b480 push {r7} - 800163c: af00 add r7, sp, #0 + 8001752: b480 push {r7} + 8001754: af00 add r7, sp, #0 /* USER CODE END PendSV_IRQn 0 */ /* USER CODE BEGIN PendSV_IRQn 1 */ /* USER CODE END PendSV_IRQn 1 */ } - 800163e: bf00 nop - 8001640: 46bd mov sp, r7 - 8001642: bc80 pop {r7} - 8001644: 4770 bx lr + 8001756: bf00 nop + 8001758: 46bd mov sp, r7 + 800175a: bc80 pop {r7} + 800175c: 4770 bx lr -08001646 : +0800175e : /** * @brief This function handles System tick timer. */ void SysTick_Handler(void) { - 8001646: b580 push {r7, lr} - 8001648: af00 add r7, sp, #0 + 800175e: b580 push {r7, lr} + 8001760: af00 add r7, sp, #0 /* USER CODE BEGIN SysTick_IRQn 0 */ /* USER CODE END SysTick_IRQn 0 */ HAL_IncTick(); - 800164a: f000 f935 bl 80018b8 + 8001762: f000 f935 bl 80019d0 /* USER CODE BEGIN SysTick_IRQn 1 */ /* USER CODE END SysTick_IRQn 1 */ } - 800164e: bf00 nop - 8001650: bd80 pop {r7, pc} + 8001766: bf00 nop + 8001768: bd80 pop {r7, pc} -08001652 <_getpid>: +0800176a <_getpid>: void initialise_monitor_handles() { } int _getpid(void) { - 8001652: b480 push {r7} - 8001654: af00 add r7, sp, #0 + 800176a: b480 push {r7} + 800176c: af00 add r7, sp, #0 return 1; - 8001656: 2301 movs r3, #1 + 800176e: 2301 movs r3, #1 } - 8001658: 4618 mov r0, r3 - 800165a: 46bd mov sp, r7 - 800165c: bc80 pop {r7} - 800165e: 4770 bx lr + 8001770: 4618 mov r0, r3 + 8001772: 46bd mov sp, r7 + 8001774: bc80 pop {r7} + 8001776: 4770 bx lr -08001660 <_kill>: +08001778 <_kill>: int _kill(int pid, int sig) { - 8001660: b580 push {r7, lr} - 8001662: b082 sub sp, #8 - 8001664: af00 add r7, sp, #0 - 8001666: 6078 str r0, [r7, #4] - 8001668: 6039 str r1, [r7, #0] + 8001778: b580 push {r7, lr} + 800177a: b082 sub sp, #8 + 800177c: af00 add r7, sp, #0 + 800177e: 6078 str r0, [r7, #4] + 8001780: 6039 str r1, [r7, #0] errno = EINVAL; - 800166a: f004 fa57 bl 8005b1c <__errno> - 800166e: 4603 mov r3, r0 - 8001670: 2216 movs r2, #22 - 8001672: 601a str r2, [r3, #0] + 8001782: f005 f943 bl 8006a0c <__errno> + 8001786: 4603 mov r3, r0 + 8001788: 2216 movs r2, #22 + 800178a: 601a str r2, [r3, #0] return -1; - 8001674: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff + 800178c: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff } - 8001678: 4618 mov r0, r3 - 800167a: 3708 adds r7, #8 - 800167c: 46bd mov sp, r7 - 800167e: bd80 pop {r7, pc} + 8001790: 4618 mov r0, r3 + 8001792: 3708 adds r7, #8 + 8001794: 46bd mov sp, r7 + 8001796: bd80 pop {r7, pc} -08001680 <_exit>: +08001798 <_exit>: void _exit (int status) { - 8001680: b580 push {r7, lr} - 8001682: b082 sub sp, #8 - 8001684: af00 add r7, sp, #0 - 8001686: 6078 str r0, [r7, #4] + 8001798: b580 push {r7, lr} + 800179a: b082 sub sp, #8 + 800179c: af00 add r7, sp, #0 + 800179e: 6078 str r0, [r7, #4] _kill(status, -1); - 8001688: f04f 31ff mov.w r1, #4294967295 ; 0xffffffff - 800168c: 6878 ldr r0, [r7, #4] - 800168e: f7ff ffe7 bl 8001660 <_kill> + 80017a0: f04f 31ff mov.w r1, #4294967295 ; 0xffffffff + 80017a4: 6878 ldr r0, [r7, #4] + 80017a6: f7ff ffe7 bl 8001778 <_kill> while (1) {} /* Make sure we hang here */ - 8001692: e7fe b.n 8001692 <_exit+0x12> + 80017aa: e7fe b.n 80017aa <_exit+0x12> -08001694 <_read>: +080017ac <_read>: } __attribute__((weak)) int _read(int file, char *ptr, int len) { - 8001694: b580 push {r7, lr} - 8001696: b086 sub sp, #24 - 8001698: af00 add r7, sp, #0 - 800169a: 60f8 str r0, [r7, #12] - 800169c: 60b9 str r1, [r7, #8] - 800169e: 607a str r2, [r7, #4] + 80017ac: b580 push {r7, lr} + 80017ae: b086 sub sp, #24 + 80017b0: af00 add r7, sp, #0 + 80017b2: 60f8 str r0, [r7, #12] + 80017b4: 60b9 str r1, [r7, #8] + 80017b6: 607a str r2, [r7, #4] int DataIdx; for (DataIdx = 0; DataIdx < len; DataIdx++) - 80016a0: 2300 movs r3, #0 - 80016a2: 617b str r3, [r7, #20] - 80016a4: e00a b.n 80016bc <_read+0x28> + 80017b8: 2300 movs r3, #0 + 80017ba: 617b str r3, [r7, #20] + 80017bc: e00a b.n 80017d4 <_read+0x28> { *ptr++ = __io_getchar(); - 80016a6: f3af 8000 nop.w - 80016aa: 4601 mov r1, r0 - 80016ac: 68bb ldr r3, [r7, #8] - 80016ae: 1c5a adds r2, r3, #1 - 80016b0: 60ba str r2, [r7, #8] - 80016b2: b2ca uxtb r2, r1 - 80016b4: 701a strb r2, [r3, #0] + 80017be: f3af 8000 nop.w + 80017c2: 4601 mov r1, r0 + 80017c4: 68bb ldr r3, [r7, #8] + 80017c6: 1c5a adds r2, r3, #1 + 80017c8: 60ba str r2, [r7, #8] + 80017ca: b2ca uxtb r2, r1 + 80017cc: 701a strb r2, [r3, #0] for (DataIdx = 0; DataIdx < len; DataIdx++) - 80016b6: 697b ldr r3, [r7, #20] - 80016b8: 3301 adds r3, #1 - 80016ba: 617b str r3, [r7, #20] - 80016bc: 697a ldr r2, [r7, #20] - 80016be: 687b ldr r3, [r7, #4] - 80016c0: 429a cmp r2, r3 - 80016c2: dbf0 blt.n 80016a6 <_read+0x12> + 80017ce: 697b ldr r3, [r7, #20] + 80017d0: 3301 adds r3, #1 + 80017d2: 617b str r3, [r7, #20] + 80017d4: 697a ldr r2, [r7, #20] + 80017d6: 687b ldr r3, [r7, #4] + 80017d8: 429a cmp r2, r3 + 80017da: dbf0 blt.n 80017be <_read+0x12> } return len; - 80016c4: 687b ldr r3, [r7, #4] + 80017dc: 687b ldr r3, [r7, #4] } - 80016c6: 4618 mov r0, r3 - 80016c8: 3718 adds r7, #24 - 80016ca: 46bd mov sp, r7 - 80016cc: bd80 pop {r7, pc} + 80017de: 4618 mov r0, r3 + 80017e0: 3718 adds r7, #24 + 80017e2: 46bd mov sp, r7 + 80017e4: bd80 pop {r7, pc} -080016ce <_write>: +080017e6 <_write>: __attribute__((weak)) int _write(int file, char *ptr, int len) { - 80016ce: b580 push {r7, lr} - 80016d0: b086 sub sp, #24 - 80016d2: af00 add r7, sp, #0 - 80016d4: 60f8 str r0, [r7, #12] - 80016d6: 60b9 str r1, [r7, #8] - 80016d8: 607a str r2, [r7, #4] + 80017e6: b580 push {r7, lr} + 80017e8: b086 sub sp, #24 + 80017ea: af00 add r7, sp, #0 + 80017ec: 60f8 str r0, [r7, #12] + 80017ee: 60b9 str r1, [r7, #8] + 80017f0: 607a str r2, [r7, #4] int DataIdx; for (DataIdx = 0; DataIdx < len; DataIdx++) - 80016da: 2300 movs r3, #0 - 80016dc: 617b str r3, [r7, #20] - 80016de: e009 b.n 80016f4 <_write+0x26> + 80017f2: 2300 movs r3, #0 + 80017f4: 617b str r3, [r7, #20] + 80017f6: e009 b.n 800180c <_write+0x26> { __io_putchar(*ptr++); - 80016e0: 68bb ldr r3, [r7, #8] - 80016e2: 1c5a adds r2, r3, #1 - 80016e4: 60ba str r2, [r7, #8] - 80016e6: 781b ldrb r3, [r3, #0] - 80016e8: 4618 mov r0, r3 - 80016ea: f3af 8000 nop.w + 80017f8: 68bb ldr r3, [r7, #8] + 80017fa: 1c5a adds r2, r3, #1 + 80017fc: 60ba str r2, [r7, #8] + 80017fe: 781b ldrb r3, [r3, #0] + 8001800: 4618 mov r0, r3 + 8001802: f3af 8000 nop.w for (DataIdx = 0; DataIdx < len; DataIdx++) - 80016ee: 697b ldr r3, [r7, #20] - 80016f0: 3301 adds r3, #1 - 80016f2: 617b str r3, [r7, #20] - 80016f4: 697a ldr r2, [r7, #20] - 80016f6: 687b ldr r3, [r7, #4] - 80016f8: 429a cmp r2, r3 - 80016fa: dbf1 blt.n 80016e0 <_write+0x12> + 8001806: 697b ldr r3, [r7, #20] + 8001808: 3301 adds r3, #1 + 800180a: 617b str r3, [r7, #20] + 800180c: 697a ldr r2, [r7, #20] + 800180e: 687b ldr r3, [r7, #4] + 8001810: 429a cmp r2, r3 + 8001812: dbf1 blt.n 80017f8 <_write+0x12> } return len; - 80016fc: 687b ldr r3, [r7, #4] + 8001814: 687b ldr r3, [r7, #4] } - 80016fe: 4618 mov r0, r3 - 8001700: 3718 adds r7, #24 - 8001702: 46bd mov sp, r7 - 8001704: bd80 pop {r7, pc} + 8001816: 4618 mov r0, r3 + 8001818: 3718 adds r7, #24 + 800181a: 46bd mov sp, r7 + 800181c: bd80 pop {r7, pc} -08001706 <_close>: +0800181e <_close>: int _close(int file) { - 8001706: b480 push {r7} - 8001708: b083 sub sp, #12 - 800170a: af00 add r7, sp, #0 - 800170c: 6078 str r0, [r7, #4] + 800181e: b480 push {r7} + 8001820: b083 sub sp, #12 + 8001822: af00 add r7, sp, #0 + 8001824: 6078 str r0, [r7, #4] return -1; - 800170e: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff + 8001826: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff } - 8001712: 4618 mov r0, r3 - 8001714: 370c adds r7, #12 - 8001716: 46bd mov sp, r7 - 8001718: bc80 pop {r7} - 800171a: 4770 bx lr + 800182a: 4618 mov r0, r3 + 800182c: 370c adds r7, #12 + 800182e: 46bd mov sp, r7 + 8001830: bc80 pop {r7} + 8001832: 4770 bx lr -0800171c <_fstat>: +08001834 <_fstat>: int _fstat(int file, struct stat *st) { - 800171c: b480 push {r7} - 800171e: b083 sub sp, #12 - 8001720: af00 add r7, sp, #0 - 8001722: 6078 str r0, [r7, #4] - 8001724: 6039 str r1, [r7, #0] + 8001834: b480 push {r7} + 8001836: b083 sub sp, #12 + 8001838: af00 add r7, sp, #0 + 800183a: 6078 str r0, [r7, #4] + 800183c: 6039 str r1, [r7, #0] st->st_mode = S_IFCHR; - 8001726: 683b ldr r3, [r7, #0] - 8001728: f44f 5200 mov.w r2, #8192 ; 0x2000 - 800172c: 605a str r2, [r3, #4] + 800183e: 683b ldr r3, [r7, #0] + 8001840: f44f 5200 mov.w r2, #8192 ; 0x2000 + 8001844: 605a str r2, [r3, #4] return 0; - 800172e: 2300 movs r3, #0 + 8001846: 2300 movs r3, #0 } - 8001730: 4618 mov r0, r3 - 8001732: 370c adds r7, #12 - 8001734: 46bd mov sp, r7 - 8001736: bc80 pop {r7} - 8001738: 4770 bx lr + 8001848: 4618 mov r0, r3 + 800184a: 370c adds r7, #12 + 800184c: 46bd mov sp, r7 + 800184e: bc80 pop {r7} + 8001850: 4770 bx lr -0800173a <_isatty>: +08001852 <_isatty>: int _isatty(int file) { - 800173a: b480 push {r7} - 800173c: b083 sub sp, #12 - 800173e: af00 add r7, sp, #0 - 8001740: 6078 str r0, [r7, #4] + 8001852: b480 push {r7} + 8001854: b083 sub sp, #12 + 8001856: af00 add r7, sp, #0 + 8001858: 6078 str r0, [r7, #4] return 1; - 8001742: 2301 movs r3, #1 + 800185a: 2301 movs r3, #1 } - 8001744: 4618 mov r0, r3 - 8001746: 370c adds r7, #12 - 8001748: 46bd mov sp, r7 - 800174a: bc80 pop {r7} - 800174c: 4770 bx lr + 800185c: 4618 mov r0, r3 + 800185e: 370c adds r7, #12 + 8001860: 46bd mov sp, r7 + 8001862: bc80 pop {r7} + 8001864: 4770 bx lr -0800174e <_lseek>: +08001866 <_lseek>: int _lseek(int file, int ptr, int dir) { - 800174e: b480 push {r7} - 8001750: b085 sub sp, #20 - 8001752: af00 add r7, sp, #0 - 8001754: 60f8 str r0, [r7, #12] - 8001756: 60b9 str r1, [r7, #8] - 8001758: 607a str r2, [r7, #4] + 8001866: b480 push {r7} + 8001868: b085 sub sp, #20 + 800186a: af00 add r7, sp, #0 + 800186c: 60f8 str r0, [r7, #12] + 800186e: 60b9 str r1, [r7, #8] + 8001870: 607a str r2, [r7, #4] return 0; - 800175a: 2300 movs r3, #0 + 8001872: 2300 movs r3, #0 } - 800175c: 4618 mov r0, r3 - 800175e: 3714 adds r7, #20 - 8001760: 46bd mov sp, r7 - 8001762: bc80 pop {r7} - 8001764: 4770 bx lr + 8001874: 4618 mov r0, r3 + 8001876: 3714 adds r7, #20 + 8001878: 46bd mov sp, r7 + 800187a: bc80 pop {r7} + 800187c: 4770 bx lr ... -08001768 <_sbrk>: +08001880 <_sbrk>: * * @param incr Memory size * @return Pointer to allocated memory */ void *_sbrk(ptrdiff_t incr) { - 8001768: b580 push {r7, lr} - 800176a: b086 sub sp, #24 - 800176c: af00 add r7, sp, #0 - 800176e: 6078 str r0, [r7, #4] + 8001880: b580 push {r7, lr} + 8001882: b086 sub sp, #24 + 8001884: af00 add r7, sp, #0 + 8001886: 6078 str r0, [r7, #4] extern uint8_t _end; /* Symbol defined in the linker script */ extern uint8_t _estack; /* Symbol defined in the linker script */ extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */ const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size; - 8001770: 4a14 ldr r2, [pc, #80] ; (80017c4 <_sbrk+0x5c>) - 8001772: 4b15 ldr r3, [pc, #84] ; (80017c8 <_sbrk+0x60>) - 8001774: 1ad3 subs r3, r2, r3 - 8001776: 617b str r3, [r7, #20] + 8001888: 4a14 ldr r2, [pc, #80] ; (80018dc <_sbrk+0x5c>) + 800188a: 4b15 ldr r3, [pc, #84] ; (80018e0 <_sbrk+0x60>) + 800188c: 1ad3 subs r3, r2, r3 + 800188e: 617b str r3, [r7, #20] const uint8_t *max_heap = (uint8_t *)stack_limit; - 8001778: 697b ldr r3, [r7, #20] - 800177a: 613b str r3, [r7, #16] + 8001890: 697b ldr r3, [r7, #20] + 8001892: 613b str r3, [r7, #16] uint8_t *prev_heap_end; /* Initialize heap end at first call */ if (NULL == __sbrk_heap_end) - 800177c: 4b13 ldr r3, [pc, #76] ; (80017cc <_sbrk+0x64>) - 800177e: 681b ldr r3, [r3, #0] - 8001780: 2b00 cmp r3, #0 - 8001782: d102 bne.n 800178a <_sbrk+0x22> + 8001894: 4b13 ldr r3, [pc, #76] ; (80018e4 <_sbrk+0x64>) + 8001896: 681b ldr r3, [r3, #0] + 8001898: 2b00 cmp r3, #0 + 800189a: d102 bne.n 80018a2 <_sbrk+0x22> { __sbrk_heap_end = &_end; - 8001784: 4b11 ldr r3, [pc, #68] ; (80017cc <_sbrk+0x64>) - 8001786: 4a12 ldr r2, [pc, #72] ; (80017d0 <_sbrk+0x68>) - 8001788: 601a str r2, [r3, #0] + 800189c: 4b11 ldr r3, [pc, #68] ; (80018e4 <_sbrk+0x64>) + 800189e: 4a12 ldr r2, [pc, #72] ; (80018e8 <_sbrk+0x68>) + 80018a0: 601a str r2, [r3, #0] } /* Protect heap from growing into the reserved MSP stack */ if (__sbrk_heap_end + incr > max_heap) - 800178a: 4b10 ldr r3, [pc, #64] ; (80017cc <_sbrk+0x64>) - 800178c: 681a ldr r2, [r3, #0] - 800178e: 687b ldr r3, [r7, #4] - 8001790: 4413 add r3, r2 - 8001792: 693a ldr r2, [r7, #16] - 8001794: 429a cmp r2, r3 - 8001796: d207 bcs.n 80017a8 <_sbrk+0x40> + 80018a2: 4b10 ldr r3, [pc, #64] ; (80018e4 <_sbrk+0x64>) + 80018a4: 681a ldr r2, [r3, #0] + 80018a6: 687b ldr r3, [r7, #4] + 80018a8: 4413 add r3, r2 + 80018aa: 693a ldr r2, [r7, #16] + 80018ac: 429a cmp r2, r3 + 80018ae: d207 bcs.n 80018c0 <_sbrk+0x40> { errno = ENOMEM; - 8001798: f004 f9c0 bl 8005b1c <__errno> - 800179c: 4603 mov r3, r0 - 800179e: 220c movs r2, #12 - 80017a0: 601a str r2, [r3, #0] + 80018b0: f005 f8ac bl 8006a0c <__errno> + 80018b4: 4603 mov r3, r0 + 80018b6: 220c movs r2, #12 + 80018b8: 601a str r2, [r3, #0] return (void *)-1; - 80017a2: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff - 80017a6: e009 b.n 80017bc <_sbrk+0x54> + 80018ba: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff + 80018be: e009 b.n 80018d4 <_sbrk+0x54> } prev_heap_end = __sbrk_heap_end; - 80017a8: 4b08 ldr r3, [pc, #32] ; (80017cc <_sbrk+0x64>) - 80017aa: 681b ldr r3, [r3, #0] - 80017ac: 60fb str r3, [r7, #12] + 80018c0: 4b08 ldr r3, [pc, #32] ; (80018e4 <_sbrk+0x64>) + 80018c2: 681b ldr r3, [r3, #0] + 80018c4: 60fb str r3, [r7, #12] __sbrk_heap_end += incr; - 80017ae: 4b07 ldr r3, [pc, #28] ; (80017cc <_sbrk+0x64>) - 80017b0: 681a ldr r2, [r3, #0] - 80017b2: 687b ldr r3, [r7, #4] - 80017b4: 4413 add r3, r2 - 80017b6: 4a05 ldr r2, [pc, #20] ; (80017cc <_sbrk+0x64>) - 80017b8: 6013 str r3, [r2, #0] + 80018c6: 4b07 ldr r3, [pc, #28] ; (80018e4 <_sbrk+0x64>) + 80018c8: 681a ldr r2, [r3, #0] + 80018ca: 687b ldr r3, [r7, #4] + 80018cc: 4413 add r3, r2 + 80018ce: 4a05 ldr r2, [pc, #20] ; (80018e4 <_sbrk+0x64>) + 80018d0: 6013 str r3, [r2, #0] return (void *)prev_heap_end; - 80017ba: 68fb ldr r3, [r7, #12] + 80018d2: 68fb ldr r3, [r7, #12] } - 80017bc: 4618 mov r0, r3 - 80017be: 3718 adds r7, #24 - 80017c0: 46bd mov sp, r7 - 80017c2: bd80 pop {r7, pc} - 80017c4: 20010000 .word 0x20010000 - 80017c8: 00000800 .word 0x00000800 - 80017cc: 200001fc .word 0x200001fc - 80017d0: 20000350 .word 0x20000350 + 80018d4: 4618 mov r0, r3 + 80018d6: 3718 adds r7, #24 + 80018d8: 46bd mov sp, r7 + 80018da: bd80 pop {r7, pc} + 80018dc: 20010000 .word 0x20010000 + 80018e0: 00000800 .word 0x00000800 + 80018e4: 20000200 .word 0x20000200 + 80018e8: 20002468 .word 0x20002468 -080017d4 : +080018ec : * @note This function should be used only after reset. * @param None * @retval None */ void SystemInit (void) { - 80017d4: b480 push {r7} - 80017d6: af00 add r7, sp, #0 + 80018ec: b480 push {r7} + 80018ee: af00 add r7, sp, #0 /* Configure the Vector Table location -------------------------------------*/ #if defined(USER_VECT_TAB_ADDRESS) SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */ #endif /* USER_VECT_TAB_ADDRESS */ } - 80017d8: bf00 nop - 80017da: 46bd mov sp, r7 - 80017dc: bc80 pop {r7} - 80017de: 4770 bx lr + 80018f0: bf00 nop + 80018f2: 46bd mov sp, r7 + 80018f4: bc80 pop {r7} + 80018f6: 4770 bx lr -080017e0 : +080018f8 : .weak Reset_Handler .type Reset_Handler, %function Reset_Handler: /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata - 80017e0: 480c ldr r0, [pc, #48] ; (8001814 ) + 80018f8: 480c ldr r0, [pc, #48] ; (800192c ) ldr r1, =_edata - 80017e2: 490d ldr r1, [pc, #52] ; (8001818 ) + 80018fa: 490d ldr r1, [pc, #52] ; (8001930 ) ldr r2, =_sidata - 80017e4: 4a0d ldr r2, [pc, #52] ; (800181c ) + 80018fc: 4a0d ldr r2, [pc, #52] ; (8001934 ) movs r3, #0 - 80017e6: 2300 movs r3, #0 + 80018fe: 2300 movs r3, #0 b LoopCopyDataInit - 80017e8: e002 b.n 80017f0 + 8001900: e002 b.n 8001908 -080017ea : +08001902 : CopyDataInit: ldr r4, [r2, r3] - 80017ea: 58d4 ldr r4, [r2, r3] + 8001902: 58d4 ldr r4, [r2, r3] str r4, [r0, r3] - 80017ec: 50c4 str r4, [r0, r3] + 8001904: 50c4 str r4, [r0, r3] adds r3, r3, #4 - 80017ee: 3304 adds r3, #4 + 8001906: 3304 adds r3, #4 -080017f0 : +08001908 : LoopCopyDataInit: adds r4, r0, r3 - 80017f0: 18c4 adds r4, r0, r3 + 8001908: 18c4 adds r4, r0, r3 cmp r4, r1 - 80017f2: 428c cmp r4, r1 + 800190a: 428c cmp r4, r1 bcc CopyDataInit - 80017f4: d3f9 bcc.n 80017ea + 800190c: d3f9 bcc.n 8001902 /* Zero fill the bss segment. */ ldr r2, =_sbss - 80017f6: 4a0a ldr r2, [pc, #40] ; (8001820 ) + 800190e: 4a0a ldr r2, [pc, #40] ; (8001938 ) ldr r4, =_ebss - 80017f8: 4c0a ldr r4, [pc, #40] ; (8001824 ) + 8001910: 4c0a ldr r4, [pc, #40] ; (800193c ) movs r3, #0 - 80017fa: 2300 movs r3, #0 + 8001912: 2300 movs r3, #0 b LoopFillZerobss - 80017fc: e001 b.n 8001802 + 8001914: e001 b.n 800191a -080017fe : +08001916 : FillZerobss: str r3, [r2] - 80017fe: 6013 str r3, [r2, #0] + 8001916: 6013 str r3, [r2, #0] adds r2, r2, #4 - 8001800: 3204 adds r2, #4 + 8001918: 3204 adds r2, #4 -08001802 : +0800191a : LoopFillZerobss: cmp r2, r4 - 8001802: 42a2 cmp r2, r4 + 800191a: 42a2 cmp r2, r4 bcc FillZerobss - 8001804: d3fb bcc.n 80017fe + 800191c: d3fb bcc.n 8001916 /* Call the clock system intitialization function.*/ bl SystemInit - 8001806: f7ff ffe5 bl 80017d4 + 800191e: f7ff ffe5 bl 80018ec /* Call static constructors */ bl __libc_init_array - 800180a: f004 f98d bl 8005b28 <__libc_init_array> + 8001922: f005 f879 bl 8006a18 <__libc_init_array> /* Call the application's entry point.*/ bl main - 800180e: f7ff fc7b bl 8001108
+ 8001926: f7ff fc7b bl 8001220
bx lr - 8001812: 4770 bx lr + 800192a: 4770 bx lr ldr r0, =_sdata - 8001814: 20000000 .word 0x20000000 + 800192c: 20000000 .word 0x20000000 ldr r1, =_edata - 8001818: 200001dc .word 0x200001dc + 8001930: 200001e0 .word 0x200001e0 ldr r2, =_sidata - 800181c: 08009834 .word 0x08009834 + 8001934: 0800ab54 .word 0x0800ab54 ldr r2, =_sbss - 8001820: 200001dc .word 0x200001dc + 8001938: 200001e0 .word 0x200001e0 ldr r4, =_ebss - 8001824: 2000034c .word 0x2000034c + 800193c: 20002464 .word 0x20002464 -08001828 : +08001940 : * @retval : None */ .section .text.Default_Handler,"ax",%progbits Default_Handler: Infinite_Loop: b Infinite_Loop - 8001828: e7fe b.n 8001828 + 8001940: e7fe b.n 8001940 ... -0800182c : +08001944 : * need to ensure that the SysTick time base is always set to 1 millisecond * to have correct HAL operation. * @retval HAL status */ HAL_StatusTypeDef HAL_Init(void) { - 800182c: b580 push {r7, lr} - 800182e: af00 add r7, sp, #0 + 8001944: b580 push {r7, lr} + 8001946: af00 add r7, sp, #0 defined(STM32F102x6) || defined(STM32F102xB) || \ defined(STM32F103x6) || defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG) || \ defined(STM32F105xC) || defined(STM32F107xC) /* Prefetch buffer is not available on value line devices */ __HAL_FLASH_PREFETCH_BUFFER_ENABLE(); - 8001830: 4b08 ldr r3, [pc, #32] ; (8001854 ) - 8001832: 681b ldr r3, [r3, #0] - 8001834: 4a07 ldr r2, [pc, #28] ; (8001854 ) - 8001836: f043 0310 orr.w r3, r3, #16 - 800183a: 6013 str r3, [r2, #0] + 8001948: 4b08 ldr r3, [pc, #32] ; (800196c ) + 800194a: 681b ldr r3, [r3, #0] + 800194c: 4a07 ldr r2, [pc, #28] ; (800196c ) + 800194e: f043 0310 orr.w r3, r3, #16 + 8001952: 6013 str r3, [r2, #0] #endif #endif /* PREFETCH_ENABLE */ /* Set Interrupt Group Priority */ HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4); - 800183c: 2003 movs r0, #3 - 800183e: f000 f92b bl 8001a98 + 8001954: 2003 movs r0, #3 + 8001956: f000 f92b bl 8001bb0 /* Use systick as time base source and configure 1ms tick (default clock after Reset is HSI) */ HAL_InitTick(TICK_INT_PRIORITY); - 8001842: 200f movs r0, #15 - 8001844: f000 f808 bl 8001858 + 800195a: 200f movs r0, #15 + 800195c: f000 f808 bl 8001970 /* Init the low level hardware */ HAL_MspInit(); - 8001848: f7ff fe0c bl 8001464 + 8001960: f7ff fe0c bl 800157c /* Return function status */ return HAL_OK; - 800184c: 2300 movs r3, #0 + 8001964: 2300 movs r3, #0 } - 800184e: 4618 mov r0, r3 - 8001850: bd80 pop {r7, pc} - 8001852: bf00 nop - 8001854: 40022000 .word 0x40022000 + 8001966: 4618 mov r0, r3 + 8001968: bd80 pop {r7, pc} + 800196a: bf00 nop + 800196c: 40022000 .word 0x40022000 -08001858 : +08001970 : * implementation in user file. * @param TickPriority Tick interrupt priority. * @retval HAL status */ __weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) { - 8001858: b580 push {r7, lr} - 800185a: b082 sub sp, #8 - 800185c: af00 add r7, sp, #0 - 800185e: 6078 str r0, [r7, #4] + 8001970: b580 push {r7, lr} + 8001972: b082 sub sp, #8 + 8001974: af00 add r7, sp, #0 + 8001976: 6078 str r0, [r7, #4] /* Configure the SysTick to have interrupt in 1ms time basis*/ if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) - 8001860: 4b12 ldr r3, [pc, #72] ; (80018ac ) - 8001862: 681a ldr r2, [r3, #0] - 8001864: 4b12 ldr r3, [pc, #72] ; (80018b0 ) - 8001866: 781b ldrb r3, [r3, #0] - 8001868: 4619 mov r1, r3 - 800186a: f44f 737a mov.w r3, #1000 ; 0x3e8 - 800186e: fbb3 f3f1 udiv r3, r3, r1 - 8001872: fbb2 f3f3 udiv r3, r2, r3 - 8001876: 4618 mov r0, r3 - 8001878: f000 f935 bl 8001ae6 - 800187c: 4603 mov r3, r0 - 800187e: 2b00 cmp r3, #0 - 8001880: d001 beq.n 8001886 + 8001978: 4b12 ldr r3, [pc, #72] ; (80019c4 ) + 800197a: 681a ldr r2, [r3, #0] + 800197c: 4b12 ldr r3, [pc, #72] ; (80019c8 ) + 800197e: 781b ldrb r3, [r3, #0] + 8001980: 4619 mov r1, r3 + 8001982: f44f 737a mov.w r3, #1000 ; 0x3e8 + 8001986: fbb3 f3f1 udiv r3, r3, r1 + 800198a: fbb2 f3f3 udiv r3, r2, r3 + 800198e: 4618 mov r0, r3 + 8001990: f000 f935 bl 8001bfe + 8001994: 4603 mov r3, r0 + 8001996: 2b00 cmp r3, #0 + 8001998: d001 beq.n 800199e { return HAL_ERROR; - 8001882: 2301 movs r3, #1 - 8001884: e00e b.n 80018a4 + 800199a: 2301 movs r3, #1 + 800199c: e00e b.n 80019bc } /* Configure the SysTick IRQ priority */ if (TickPriority < (1UL << __NVIC_PRIO_BITS)) - 8001886: 687b ldr r3, [r7, #4] - 8001888: 2b0f cmp r3, #15 - 800188a: d80a bhi.n 80018a2 + 800199e: 687b ldr r3, [r7, #4] + 80019a0: 2b0f cmp r3, #15 + 80019a2: d80a bhi.n 80019ba { HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U); - 800188c: 2200 movs r2, #0 - 800188e: 6879 ldr r1, [r7, #4] - 8001890: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 8001894: f000 f90b bl 8001aae + 80019a4: 2200 movs r2, #0 + 80019a6: 6879 ldr r1, [r7, #4] + 80019a8: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 80019ac: f000 f90b bl 8001bc6 uwTickPrio = TickPriority; - 8001898: 4a06 ldr r2, [pc, #24] ; (80018b4 ) - 800189a: 687b ldr r3, [r7, #4] - 800189c: 6013 str r3, [r2, #0] + 80019b0: 4a06 ldr r2, [pc, #24] ; (80019cc ) + 80019b2: 687b ldr r3, [r7, #4] + 80019b4: 6013 str r3, [r2, #0] { return HAL_ERROR; } /* Return function status */ return HAL_OK; - 800189e: 2300 movs r3, #0 - 80018a0: e000 b.n 80018a4 + 80019b6: 2300 movs r3, #0 + 80019b8: e000 b.n 80019bc return HAL_ERROR; - 80018a2: 2301 movs r3, #1 + 80019ba: 2301 movs r3, #1 } - 80018a4: 4618 mov r0, r3 - 80018a6: 3708 adds r7, #8 - 80018a8: 46bd mov sp, r7 - 80018aa: bd80 pop {r7, pc} - 80018ac: 20000000 .word 0x20000000 - 80018b0: 20000008 .word 0x20000008 - 80018b4: 20000004 .word 0x20000004 + 80019bc: 4618 mov r0, r3 + 80019be: 3708 adds r7, #8 + 80019c0: 46bd mov sp, r7 + 80019c2: bd80 pop {r7, pc} + 80019c4: 20000000 .word 0x20000000 + 80019c8: 20000008 .word 0x20000008 + 80019cc: 20000004 .word 0x20000004 -080018b8 : +080019d0 : * @note This function is declared as __weak to be overwritten in case of other * implementations in user file. * @retval None */ __weak void HAL_IncTick(void) { - 80018b8: b480 push {r7} - 80018ba: af00 add r7, sp, #0 + 80019d0: b480 push {r7} + 80019d2: af00 add r7, sp, #0 uwTick += uwTickFreq; - 80018bc: 4b05 ldr r3, [pc, #20] ; (80018d4 ) - 80018be: 781b ldrb r3, [r3, #0] - 80018c0: 461a mov r2, r3 - 80018c2: 4b05 ldr r3, [pc, #20] ; (80018d8 ) - 80018c4: 681b ldr r3, [r3, #0] - 80018c6: 4413 add r3, r2 - 80018c8: 4a03 ldr r2, [pc, #12] ; (80018d8 ) - 80018ca: 6013 str r3, [r2, #0] + 80019d4: 4b05 ldr r3, [pc, #20] ; (80019ec ) + 80019d6: 781b ldrb r3, [r3, #0] + 80019d8: 461a mov r2, r3 + 80019da: 4b05 ldr r3, [pc, #20] ; (80019f0 ) + 80019dc: 681b ldr r3, [r3, #0] + 80019de: 4413 add r3, r2 + 80019e0: 4a03 ldr r2, [pc, #12] ; (80019f0 ) + 80019e2: 6013 str r3, [r2, #0] } - 80018cc: bf00 nop - 80018ce: 46bd mov sp, r7 - 80018d0: bc80 pop {r7} - 80018d2: 4770 bx lr - 80018d4: 20000008 .word 0x20000008 - 80018d8: 200002a4 .word 0x200002a4 + 80019e4: bf00 nop + 80019e6: 46bd mov sp, r7 + 80019e8: bc80 pop {r7} + 80019ea: 4770 bx lr + 80019ec: 20000008 .word 0x20000008 + 80019f0: 200002b4 .word 0x200002b4 -080018dc : +080019f4 : * @note This function is declared as __weak to be overwritten in case of other * implementations in user file. * @retval tick value */ __weak uint32_t HAL_GetTick(void) { - 80018dc: b480 push {r7} - 80018de: af00 add r7, sp, #0 + 80019f4: b480 push {r7} + 80019f6: af00 add r7, sp, #0 return uwTick; - 80018e0: 4b02 ldr r3, [pc, #8] ; (80018ec ) - 80018e2: 681b ldr r3, [r3, #0] + 80019f8: 4b02 ldr r3, [pc, #8] ; (8001a04 ) + 80019fa: 681b ldr r3, [r3, #0] } - 80018e4: 4618 mov r0, r3 - 80018e6: 46bd mov sp, r7 - 80018e8: bc80 pop {r7} - 80018ea: 4770 bx lr - 80018ec: 200002a4 .word 0x200002a4 + 80019fc: 4618 mov r0, r3 + 80019fe: 46bd mov sp, r7 + 8001a00: bc80 pop {r7} + 8001a02: 4770 bx lr + 8001a04: 200002b4 .word 0x200002b4 -080018f0 : +08001a08 : * implementations in user file. * @param Delay specifies the delay time length, in milliseconds. * @retval None */ __weak void HAL_Delay(uint32_t Delay) { - 80018f0: b580 push {r7, lr} - 80018f2: b084 sub sp, #16 - 80018f4: af00 add r7, sp, #0 - 80018f6: 6078 str r0, [r7, #4] + 8001a08: b580 push {r7, lr} + 8001a0a: b084 sub sp, #16 + 8001a0c: af00 add r7, sp, #0 + 8001a0e: 6078 str r0, [r7, #4] uint32_t tickstart = HAL_GetTick(); - 80018f8: f7ff fff0 bl 80018dc - 80018fc: 60b8 str r0, [r7, #8] + 8001a10: f7ff fff0 bl 80019f4 + 8001a14: 60b8 str r0, [r7, #8] uint32_t wait = Delay; - 80018fe: 687b ldr r3, [r7, #4] - 8001900: 60fb str r3, [r7, #12] + 8001a16: 687b ldr r3, [r7, #4] + 8001a18: 60fb str r3, [r7, #12] /* Add a freq to guarantee minimum wait */ if (wait < HAL_MAX_DELAY) - 8001902: 68fb ldr r3, [r7, #12] - 8001904: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff - 8001908: d005 beq.n 8001916 + 8001a1a: 68fb ldr r3, [r7, #12] + 8001a1c: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff + 8001a20: d005 beq.n 8001a2e { wait += (uint32_t)(uwTickFreq); - 800190a: 4b0a ldr r3, [pc, #40] ; (8001934 ) - 800190c: 781b ldrb r3, [r3, #0] - 800190e: 461a mov r2, r3 - 8001910: 68fb ldr r3, [r7, #12] - 8001912: 4413 add r3, r2 - 8001914: 60fb str r3, [r7, #12] + 8001a22: 4b0a ldr r3, [pc, #40] ; (8001a4c ) + 8001a24: 781b ldrb r3, [r3, #0] + 8001a26: 461a mov r2, r3 + 8001a28: 68fb ldr r3, [r7, #12] + 8001a2a: 4413 add r3, r2 + 8001a2c: 60fb str r3, [r7, #12] } while ((HAL_GetTick() - tickstart) < wait) - 8001916: bf00 nop - 8001918: f7ff ffe0 bl 80018dc - 800191c: 4602 mov r2, r0 - 800191e: 68bb ldr r3, [r7, #8] - 8001920: 1ad3 subs r3, r2, r3 - 8001922: 68fa ldr r2, [r7, #12] - 8001924: 429a cmp r2, r3 - 8001926: d8f7 bhi.n 8001918 + 8001a2e: bf00 nop + 8001a30: f7ff ffe0 bl 80019f4 + 8001a34: 4602 mov r2, r0 + 8001a36: 68bb ldr r3, [r7, #8] + 8001a38: 1ad3 subs r3, r2, r3 + 8001a3a: 68fa ldr r2, [r7, #12] + 8001a3c: 429a cmp r2, r3 + 8001a3e: d8f7 bhi.n 8001a30 { } } - 8001928: bf00 nop - 800192a: bf00 nop - 800192c: 3710 adds r7, #16 - 800192e: 46bd mov sp, r7 - 8001930: bd80 pop {r7, pc} - 8001932: bf00 nop - 8001934: 20000008 .word 0x20000008 + 8001a40: bf00 nop + 8001a42: bf00 nop + 8001a44: 3710 adds r7, #16 + 8001a46: 46bd mov sp, r7 + 8001a48: bd80 pop {r7, pc} + 8001a4a: bf00 nop + 8001a4c: 20000008 .word 0x20000008 -08001938 <__NVIC_SetPriorityGrouping>: +08001a50 <__NVIC_SetPriorityGrouping>: In case of a conflict between priority grouping and available priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set. \param [in] PriorityGroup Priority grouping field. */ __STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup) { - 8001938: b480 push {r7} - 800193a: b085 sub sp, #20 - 800193c: af00 add r7, sp, #0 - 800193e: 6078 str r0, [r7, #4] + 8001a50: b480 push {r7} + 8001a52: b085 sub sp, #20 + 8001a54: af00 add r7, sp, #0 + 8001a56: 6078 str r0, [r7, #4] uint32_t reg_value; uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */ - 8001940: 687b ldr r3, [r7, #4] - 8001942: f003 0307 and.w r3, r3, #7 - 8001946: 60fb str r3, [r7, #12] + 8001a58: 687b ldr r3, [r7, #4] + 8001a5a: f003 0307 and.w r3, r3, #7 + 8001a5e: 60fb str r3, [r7, #12] reg_value = SCB->AIRCR; /* read old register configuration */ - 8001948: 4b0c ldr r3, [pc, #48] ; (800197c <__NVIC_SetPriorityGrouping+0x44>) - 800194a: 68db ldr r3, [r3, #12] - 800194c: 60bb str r3, [r7, #8] + 8001a60: 4b0c ldr r3, [pc, #48] ; (8001a94 <__NVIC_SetPriorityGrouping+0x44>) + 8001a62: 68db ldr r3, [r3, #12] + 8001a64: 60bb str r3, [r7, #8] reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to change */ - 800194e: 68ba ldr r2, [r7, #8] - 8001950: f64f 03ff movw r3, #63743 ; 0xf8ff - 8001954: 4013 ands r3, r2 - 8001956: 60bb str r3, [r7, #8] + 8001a66: 68ba ldr r2, [r7, #8] + 8001a68: f64f 03ff movw r3, #63743 ; 0xf8ff + 8001a6c: 4013 ands r3, r2 + 8001a6e: 60bb str r3, [r7, #8] reg_value = (reg_value | ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) | (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key and priority group */ - 8001958: 68fb ldr r3, [r7, #12] - 800195a: 021a lsls r2, r3, #8 + 8001a70: 68fb ldr r3, [r7, #12] + 8001a72: 021a lsls r2, r3, #8 ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) | - 800195c: 68bb ldr r3, [r7, #8] - 800195e: 4313 orrs r3, r2 + 8001a74: 68bb ldr r3, [r7, #8] + 8001a76: 4313 orrs r3, r2 reg_value = (reg_value | - 8001960: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 - 8001964: f443 3300 orr.w r3, r3, #131072 ; 0x20000 - 8001968: 60bb str r3, [r7, #8] + 8001a78: f043 63bf orr.w r3, r3, #100139008 ; 0x5f80000 + 8001a7c: f443 3300 orr.w r3, r3, #131072 ; 0x20000 + 8001a80: 60bb str r3, [r7, #8] SCB->AIRCR = reg_value; - 800196a: 4a04 ldr r2, [pc, #16] ; (800197c <__NVIC_SetPriorityGrouping+0x44>) - 800196c: 68bb ldr r3, [r7, #8] - 800196e: 60d3 str r3, [r2, #12] + 8001a82: 4a04 ldr r2, [pc, #16] ; (8001a94 <__NVIC_SetPriorityGrouping+0x44>) + 8001a84: 68bb ldr r3, [r7, #8] + 8001a86: 60d3 str r3, [r2, #12] } - 8001970: bf00 nop - 8001972: 3714 adds r7, #20 - 8001974: 46bd mov sp, r7 - 8001976: bc80 pop {r7} - 8001978: 4770 bx lr - 800197a: bf00 nop - 800197c: e000ed00 .word 0xe000ed00 + 8001a88: bf00 nop + 8001a8a: 3714 adds r7, #20 + 8001a8c: 46bd mov sp, r7 + 8001a8e: bc80 pop {r7} + 8001a90: 4770 bx lr + 8001a92: bf00 nop + 8001a94: e000ed00 .word 0xe000ed00 -08001980 <__NVIC_GetPriorityGrouping>: +08001a98 <__NVIC_GetPriorityGrouping>: \brief Get Priority Grouping \details Reads the priority grouping field from the NVIC Interrupt Controller. \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field). */ __STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void) { - 8001980: b480 push {r7} - 8001982: af00 add r7, sp, #0 + 8001a98: b480 push {r7} + 8001a9a: af00 add r7, sp, #0 return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos)); - 8001984: 4b04 ldr r3, [pc, #16] ; (8001998 <__NVIC_GetPriorityGrouping+0x18>) - 8001986: 68db ldr r3, [r3, #12] - 8001988: 0a1b lsrs r3, r3, #8 - 800198a: f003 0307 and.w r3, r3, #7 + 8001a9c: 4b04 ldr r3, [pc, #16] ; (8001ab0 <__NVIC_GetPriorityGrouping+0x18>) + 8001a9e: 68db ldr r3, [r3, #12] + 8001aa0: 0a1b lsrs r3, r3, #8 + 8001aa2: f003 0307 and.w r3, r3, #7 } - 800198e: 4618 mov r0, r3 - 8001990: 46bd mov sp, r7 - 8001992: bc80 pop {r7} - 8001994: 4770 bx lr - 8001996: bf00 nop - 8001998: e000ed00 .word 0xe000ed00 + 8001aa6: 4618 mov r0, r3 + 8001aa8: 46bd mov sp, r7 + 8001aaa: bc80 pop {r7} + 8001aac: 4770 bx lr + 8001aae: bf00 nop + 8001ab0: e000ed00 .word 0xe000ed00 -0800199c <__NVIC_SetPriority>: +08001ab4 <__NVIC_SetPriority>: \param [in] IRQn Interrupt number. \param [in] priority Priority to set. \note The priority cannot be set for every processor exception. */ __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) { - 800199c: b480 push {r7} - 800199e: b083 sub sp, #12 - 80019a0: af00 add r7, sp, #0 - 80019a2: 4603 mov r3, r0 - 80019a4: 6039 str r1, [r7, #0] - 80019a6: 71fb strb r3, [r7, #7] + 8001ab4: b480 push {r7} + 8001ab6: b083 sub sp, #12 + 8001ab8: af00 add r7, sp, #0 + 8001aba: 4603 mov r3, r0 + 8001abc: 6039 str r1, [r7, #0] + 8001abe: 71fb strb r3, [r7, #7] if ((int32_t)(IRQn) >= 0) - 80019a8: f997 3007 ldrsb.w r3, [r7, #7] - 80019ac: 2b00 cmp r3, #0 - 80019ae: db0a blt.n 80019c6 <__NVIC_SetPriority+0x2a> + 8001ac0: f997 3007 ldrsb.w r3, [r7, #7] + 8001ac4: 2b00 cmp r3, #0 + 8001ac6: db0a blt.n 8001ade <__NVIC_SetPriority+0x2a> { NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); - 80019b0: 683b ldr r3, [r7, #0] - 80019b2: b2da uxtb r2, r3 - 80019b4: 490c ldr r1, [pc, #48] ; (80019e8 <__NVIC_SetPriority+0x4c>) - 80019b6: f997 3007 ldrsb.w r3, [r7, #7] - 80019ba: 0112 lsls r2, r2, #4 - 80019bc: b2d2 uxtb r2, r2 - 80019be: 440b add r3, r1 - 80019c0: f883 2300 strb.w r2, [r3, #768] ; 0x300 + 8001ac8: 683b ldr r3, [r7, #0] + 8001aca: b2da uxtb r2, r3 + 8001acc: 490c ldr r1, [pc, #48] ; (8001b00 <__NVIC_SetPriority+0x4c>) + 8001ace: f997 3007 ldrsb.w r3, [r7, #7] + 8001ad2: 0112 lsls r2, r2, #4 + 8001ad4: b2d2 uxtb r2, r2 + 8001ad6: 440b add r3, r1 + 8001ad8: f883 2300 strb.w r2, [r3, #768] ; 0x300 } else { SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); } } - 80019c4: e00a b.n 80019dc <__NVIC_SetPriority+0x40> + 8001adc: e00a b.n 8001af4 <__NVIC_SetPriority+0x40> SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); - 80019c6: 683b ldr r3, [r7, #0] - 80019c8: b2da uxtb r2, r3 - 80019ca: 4908 ldr r1, [pc, #32] ; (80019ec <__NVIC_SetPriority+0x50>) - 80019cc: 79fb ldrb r3, [r7, #7] - 80019ce: f003 030f and.w r3, r3, #15 - 80019d2: 3b04 subs r3, #4 - 80019d4: 0112 lsls r2, r2, #4 - 80019d6: b2d2 uxtb r2, r2 - 80019d8: 440b add r3, r1 - 80019da: 761a strb r2, [r3, #24] + 8001ade: 683b ldr r3, [r7, #0] + 8001ae0: b2da uxtb r2, r3 + 8001ae2: 4908 ldr r1, [pc, #32] ; (8001b04 <__NVIC_SetPriority+0x50>) + 8001ae4: 79fb ldrb r3, [r7, #7] + 8001ae6: f003 030f and.w r3, r3, #15 + 8001aea: 3b04 subs r3, #4 + 8001aec: 0112 lsls r2, r2, #4 + 8001aee: b2d2 uxtb r2, r2 + 8001af0: 440b add r3, r1 + 8001af2: 761a strb r2, [r3, #24] } - 80019dc: bf00 nop - 80019de: 370c adds r7, #12 - 80019e0: 46bd mov sp, r7 - 80019e2: bc80 pop {r7} - 80019e4: 4770 bx lr - 80019e6: bf00 nop - 80019e8: e000e100 .word 0xe000e100 - 80019ec: e000ed00 .word 0xe000ed00 + 8001af4: bf00 nop + 8001af6: 370c adds r7, #12 + 8001af8: 46bd mov sp, r7 + 8001afa: bc80 pop {r7} + 8001afc: 4770 bx lr + 8001afe: bf00 nop + 8001b00: e000e100 .word 0xe000e100 + 8001b04: e000ed00 .word 0xe000ed00 -080019f0 : +08001b08 : \param [in] PreemptPriority Preemptive priority value (starting from 0). \param [in] SubPriority Subpriority value (starting from 0). \return Encoded priority. Value can be used in the function \ref NVIC_SetPriority(). */ __STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority) { - 80019f0: b480 push {r7} - 80019f2: b089 sub sp, #36 ; 0x24 - 80019f4: af00 add r7, sp, #0 - 80019f6: 60f8 str r0, [r7, #12] - 80019f8: 60b9 str r1, [r7, #8] - 80019fa: 607a str r2, [r7, #4] + 8001b08: b480 push {r7} + 8001b0a: b089 sub sp, #36 ; 0x24 + 8001b0c: af00 add r7, sp, #0 + 8001b0e: 60f8 str r0, [r7, #12] + 8001b10: 60b9 str r1, [r7, #8] + 8001b12: 607a str r2, [r7, #4] uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */ - 80019fc: 68fb ldr r3, [r7, #12] - 80019fe: f003 0307 and.w r3, r3, #7 - 8001a02: 61fb str r3, [r7, #28] + 8001b14: 68fb ldr r3, [r7, #12] + 8001b16: f003 0307 and.w r3, r3, #7 + 8001b1a: 61fb str r3, [r7, #28] uint32_t PreemptPriorityBits; uint32_t SubPriorityBits; PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp); - 8001a04: 69fb ldr r3, [r7, #28] - 8001a06: f1c3 0307 rsb r3, r3, #7 - 8001a0a: 2b04 cmp r3, #4 - 8001a0c: bf28 it cs - 8001a0e: 2304 movcs r3, #4 - 8001a10: 61bb str r3, [r7, #24] + 8001b1c: 69fb ldr r3, [r7, #28] + 8001b1e: f1c3 0307 rsb r3, r3, #7 + 8001b22: 2b04 cmp r3, #4 + 8001b24: bf28 it cs + 8001b26: 2304 movcs r3, #4 + 8001b28: 61bb str r3, [r7, #24] SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS)); - 8001a12: 69fb ldr r3, [r7, #28] - 8001a14: 3304 adds r3, #4 - 8001a16: 2b06 cmp r3, #6 - 8001a18: d902 bls.n 8001a20 - 8001a1a: 69fb ldr r3, [r7, #28] - 8001a1c: 3b03 subs r3, #3 - 8001a1e: e000 b.n 8001a22 - 8001a20: 2300 movs r3, #0 - 8001a22: 617b str r3, [r7, #20] + 8001b2a: 69fb ldr r3, [r7, #28] + 8001b2c: 3304 adds r3, #4 + 8001b2e: 2b06 cmp r3, #6 + 8001b30: d902 bls.n 8001b38 + 8001b32: 69fb ldr r3, [r7, #28] + 8001b34: 3b03 subs r3, #3 + 8001b36: e000 b.n 8001b3a + 8001b38: 2300 movs r3, #0 + 8001b3a: 617b str r3, [r7, #20] return ( ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | - 8001a24: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff - 8001a28: 69bb ldr r3, [r7, #24] - 8001a2a: fa02 f303 lsl.w r3, r2, r3 - 8001a2e: 43da mvns r2, r3 - 8001a30: 68bb ldr r3, [r7, #8] - 8001a32: 401a ands r2, r3 - 8001a34: 697b ldr r3, [r7, #20] - 8001a36: 409a lsls r2, r3 + 8001b3c: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff + 8001b40: 69bb ldr r3, [r7, #24] + 8001b42: fa02 f303 lsl.w r3, r2, r3 + 8001b46: 43da mvns r2, r3 + 8001b48: 68bb ldr r3, [r7, #8] + 8001b4a: 401a ands r2, r3 + 8001b4c: 697b ldr r3, [r7, #20] + 8001b4e: 409a lsls r2, r3 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) - 8001a38: f04f 31ff mov.w r1, #4294967295 ; 0xffffffff - 8001a3c: 697b ldr r3, [r7, #20] - 8001a3e: fa01 f303 lsl.w r3, r1, r3 - 8001a42: 43d9 mvns r1, r3 - 8001a44: 687b ldr r3, [r7, #4] - 8001a46: 400b ands r3, r1 + 8001b50: f04f 31ff mov.w r1, #4294967295 ; 0xffffffff + 8001b54: 697b ldr r3, [r7, #20] + 8001b56: fa01 f303 lsl.w r3, r1, r3 + 8001b5a: 43d9 mvns r1, r3 + 8001b5c: 687b ldr r3, [r7, #4] + 8001b5e: 400b ands r3, r1 ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | - 8001a48: 4313 orrs r3, r2 + 8001b60: 4313 orrs r3, r2 ); } - 8001a4a: 4618 mov r0, r3 - 8001a4c: 3724 adds r7, #36 ; 0x24 - 8001a4e: 46bd mov sp, r7 - 8001a50: bc80 pop {r7} - 8001a52: 4770 bx lr + 8001b62: 4618 mov r0, r3 + 8001b64: 3724 adds r7, #36 ; 0x24 + 8001b66: 46bd mov sp, r7 + 8001b68: bc80 pop {r7} + 8001b6a: 4770 bx lr -08001a54 : +08001b6c : \note When the variable __Vendor_SysTickConfig is set to 1, then the function SysTick_Config is not included. In this case, the file device.h must contain a vendor-specific implementation of this function. */ __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks) { - 8001a54: b580 push {r7, lr} - 8001a56: b082 sub sp, #8 - 8001a58: af00 add r7, sp, #0 - 8001a5a: 6078 str r0, [r7, #4] + 8001b6c: b580 push {r7, lr} + 8001b6e: b082 sub sp, #8 + 8001b70: af00 add r7, sp, #0 + 8001b72: 6078 str r0, [r7, #4] if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk) - 8001a5c: 687b ldr r3, [r7, #4] - 8001a5e: 3b01 subs r3, #1 - 8001a60: f1b3 7f80 cmp.w r3, #16777216 ; 0x1000000 - 8001a64: d301 bcc.n 8001a6a + 8001b74: 687b ldr r3, [r7, #4] + 8001b76: 3b01 subs r3, #1 + 8001b78: f1b3 7f80 cmp.w r3, #16777216 ; 0x1000000 + 8001b7c: d301 bcc.n 8001b82 { return (1UL); /* Reload value impossible */ - 8001a66: 2301 movs r3, #1 - 8001a68: e00f b.n 8001a8a + 8001b7e: 2301 movs r3, #1 + 8001b80: e00f b.n 8001ba2 } SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ - 8001a6a: 4a0a ldr r2, [pc, #40] ; (8001a94 ) - 8001a6c: 687b ldr r3, [r7, #4] - 8001a6e: 3b01 subs r3, #1 - 8001a70: 6053 str r3, [r2, #4] + 8001b82: 4a0a ldr r2, [pc, #40] ; (8001bac ) + 8001b84: 687b ldr r3, [r7, #4] + 8001b86: 3b01 subs r3, #1 + 8001b88: 6053 str r3, [r2, #4] NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */ - 8001a72: 210f movs r1, #15 - 8001a74: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 8001a78: f7ff ff90 bl 800199c <__NVIC_SetPriority> + 8001b8a: 210f movs r1, #15 + 8001b8c: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 8001b90: f7ff ff90 bl 8001ab4 <__NVIC_SetPriority> SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ - 8001a7c: 4b05 ldr r3, [pc, #20] ; (8001a94 ) - 8001a7e: 2200 movs r2, #0 - 8001a80: 609a str r2, [r3, #8] + 8001b94: 4b05 ldr r3, [pc, #20] ; (8001bac ) + 8001b96: 2200 movs r2, #0 + 8001b98: 609a str r2, [r3, #8] SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | - 8001a82: 4b04 ldr r3, [pc, #16] ; (8001a94 ) - 8001a84: 2207 movs r2, #7 - 8001a86: 601a str r2, [r3, #0] + 8001b9a: 4b04 ldr r3, [pc, #16] ; (8001bac ) + 8001b9c: 2207 movs r2, #7 + 8001b9e: 601a str r2, [r3, #0] SysTick_CTRL_TICKINT_Msk | SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */ return (0UL); /* Function successful */ - 8001a88: 2300 movs r3, #0 + 8001ba0: 2300 movs r3, #0 } - 8001a8a: 4618 mov r0, r3 - 8001a8c: 3708 adds r7, #8 - 8001a8e: 46bd mov sp, r7 - 8001a90: bd80 pop {r7, pc} - 8001a92: bf00 nop - 8001a94: e000e010 .word 0xe000e010 + 8001ba2: 4618 mov r0, r3 + 8001ba4: 3708 adds r7, #8 + 8001ba6: 46bd mov sp, r7 + 8001ba8: bd80 pop {r7, pc} + 8001baa: bf00 nop + 8001bac: e000e010 .word 0xe000e010 -08001a98 : +08001bb0 : * @note When the NVIC_PriorityGroup_0 is selected, IRQ preemption is no more possible. * The pending IRQ priority will be managed only by the subpriority. * @retval None */ void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup) { - 8001a98: b580 push {r7, lr} - 8001a9a: b082 sub sp, #8 - 8001a9c: af00 add r7, sp, #0 - 8001a9e: 6078 str r0, [r7, #4] + 8001bb0: b580 push {r7, lr} + 8001bb2: b082 sub sp, #8 + 8001bb4: af00 add r7, sp, #0 + 8001bb6: 6078 str r0, [r7, #4] /* Check the parameters */ assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup)); /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */ NVIC_SetPriorityGrouping(PriorityGroup); - 8001aa0: 6878 ldr r0, [r7, #4] - 8001aa2: f7ff ff49 bl 8001938 <__NVIC_SetPriorityGrouping> + 8001bb8: 6878 ldr r0, [r7, #4] + 8001bba: f7ff ff49 bl 8001a50 <__NVIC_SetPriorityGrouping> } - 8001aa6: bf00 nop - 8001aa8: 3708 adds r7, #8 - 8001aaa: 46bd mov sp, r7 - 8001aac: bd80 pop {r7, pc} + 8001bbe: bf00 nop + 8001bc0: 3708 adds r7, #8 + 8001bc2: 46bd mov sp, r7 + 8001bc4: bd80 pop {r7, pc} -08001aae : +08001bc6 : * This parameter can be a value between 0 and 15 * A lower priority value indicates a higher priority. * @retval None */ void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority) { - 8001aae: b580 push {r7, lr} - 8001ab0: b086 sub sp, #24 - 8001ab2: af00 add r7, sp, #0 - 8001ab4: 4603 mov r3, r0 - 8001ab6: 60b9 str r1, [r7, #8] - 8001ab8: 607a str r2, [r7, #4] - 8001aba: 73fb strb r3, [r7, #15] + 8001bc6: b580 push {r7, lr} + 8001bc8: b086 sub sp, #24 + 8001bca: af00 add r7, sp, #0 + 8001bcc: 4603 mov r3, r0 + 8001bce: 60b9 str r1, [r7, #8] + 8001bd0: 607a str r2, [r7, #4] + 8001bd2: 73fb strb r3, [r7, #15] uint32_t prioritygroup = 0x00U; - 8001abc: 2300 movs r3, #0 - 8001abe: 617b str r3, [r7, #20] + 8001bd4: 2300 movs r3, #0 + 8001bd6: 617b str r3, [r7, #20] /* Check the parameters */ assert_param(IS_NVIC_SUB_PRIORITY(SubPriority)); assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority)); prioritygroup = NVIC_GetPriorityGrouping(); - 8001ac0: f7ff ff5e bl 8001980 <__NVIC_GetPriorityGrouping> - 8001ac4: 6178 str r0, [r7, #20] + 8001bd8: f7ff ff5e bl 8001a98 <__NVIC_GetPriorityGrouping> + 8001bdc: 6178 str r0, [r7, #20] NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority)); - 8001ac6: 687a ldr r2, [r7, #4] - 8001ac8: 68b9 ldr r1, [r7, #8] - 8001aca: 6978 ldr r0, [r7, #20] - 8001acc: f7ff ff90 bl 80019f0 - 8001ad0: 4602 mov r2, r0 - 8001ad2: f997 300f ldrsb.w r3, [r7, #15] - 8001ad6: 4611 mov r1, r2 - 8001ad8: 4618 mov r0, r3 - 8001ada: f7ff ff5f bl 800199c <__NVIC_SetPriority> + 8001bde: 687a ldr r2, [r7, #4] + 8001be0: 68b9 ldr r1, [r7, #8] + 8001be2: 6978 ldr r0, [r7, #20] + 8001be4: f7ff ff90 bl 8001b08 + 8001be8: 4602 mov r2, r0 + 8001bea: f997 300f ldrsb.w r3, [r7, #15] + 8001bee: 4611 mov r1, r2 + 8001bf0: 4618 mov r0, r3 + 8001bf2: f7ff ff5f bl 8001ab4 <__NVIC_SetPriority> } - 8001ade: bf00 nop - 8001ae0: 3718 adds r7, #24 - 8001ae2: 46bd mov sp, r7 - 8001ae4: bd80 pop {r7, pc} + 8001bf6: bf00 nop + 8001bf8: 3718 adds r7, #24 + 8001bfa: 46bd mov sp, r7 + 8001bfc: bd80 pop {r7, pc} -08001ae6 : +08001bfe : * @param TicksNumb: Specifies the ticks Number of ticks between two interrupts. * @retval status: - 0 Function succeeded. * - 1 Function failed. */ uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb) { - 8001ae6: b580 push {r7, lr} - 8001ae8: b082 sub sp, #8 - 8001aea: af00 add r7, sp, #0 - 8001aec: 6078 str r0, [r7, #4] + 8001bfe: b580 push {r7, lr} + 8001c00: b082 sub sp, #8 + 8001c02: af00 add r7, sp, #0 + 8001c04: 6078 str r0, [r7, #4] return SysTick_Config(TicksNumb); - 8001aee: 6878 ldr r0, [r7, #4] - 8001af0: f7ff ffb0 bl 8001a54 - 8001af4: 4603 mov r3, r0 + 8001c06: 6878 ldr r0, [r7, #4] + 8001c08: f7ff ffb0 bl 8001b6c + 8001c0c: 4603 mov r3, r0 } - 8001af6: 4618 mov r0, r3 - 8001af8: 3708 adds r7, #8 - 8001afa: 46bd mov sp, r7 - 8001afc: bd80 pop {r7, pc} + 8001c0e: 4618 mov r0, r3 + 8001c10: 3708 adds r7, #8 + 8001c12: 46bd mov sp, r7 + 8001c14: bd80 pop {r7, pc} ... -08001b00 : +08001c18 : * @param GPIO_Init: pointer to a GPIO_InitTypeDef structure that contains * the configuration information for the specified GPIO peripheral. * @retval None */ void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init) { - 8001b00: b480 push {r7} - 8001b02: b08b sub sp, #44 ; 0x2c - 8001b04: af00 add r7, sp, #0 - 8001b06: 6078 str r0, [r7, #4] - 8001b08: 6039 str r1, [r7, #0] + 8001c18: b480 push {r7} + 8001c1a: b08b sub sp, #44 ; 0x2c + 8001c1c: af00 add r7, sp, #0 + 8001c1e: 6078 str r0, [r7, #4] + 8001c20: 6039 str r1, [r7, #0] uint32_t position = 0x00u; - 8001b0a: 2300 movs r3, #0 - 8001b0c: 627b str r3, [r7, #36] ; 0x24 + 8001c22: 2300 movs r3, #0 + 8001c24: 627b str r3, [r7, #36] ; 0x24 uint32_t ioposition; uint32_t iocurrent; uint32_t temp; uint32_t config = 0x00u; - 8001b0e: 2300 movs r3, #0 - 8001b10: 623b str r3, [r7, #32] + 8001c26: 2300 movs r3, #0 + 8001c28: 623b str r3, [r7, #32] assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); assert_param(IS_GPIO_PIN(GPIO_Init->Pin)); assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); /* Configure the port pins */ while (((GPIO_Init->Pin) >> position) != 0x00u) - 8001b12: e179 b.n 8001e08 + 8001c2a: e179 b.n 8001f20 { /* Get the IO position */ ioposition = (0x01uL << position); - 8001b14: 2201 movs r2, #1 - 8001b16: 6a7b ldr r3, [r7, #36] ; 0x24 - 8001b18: fa02 f303 lsl.w r3, r2, r3 - 8001b1c: 61fb str r3, [r7, #28] + 8001c2c: 2201 movs r2, #1 + 8001c2e: 6a7b ldr r3, [r7, #36] ; 0x24 + 8001c30: fa02 f303 lsl.w r3, r2, r3 + 8001c34: 61fb str r3, [r7, #28] /* Get the current IO position */ iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition; - 8001b1e: 683b ldr r3, [r7, #0] - 8001b20: 681b ldr r3, [r3, #0] - 8001b22: 69fa ldr r2, [r7, #28] - 8001b24: 4013 ands r3, r2 - 8001b26: 61bb str r3, [r7, #24] + 8001c36: 683b ldr r3, [r7, #0] + 8001c38: 681b ldr r3, [r3, #0] + 8001c3a: 69fa ldr r2, [r7, #28] + 8001c3c: 4013 ands r3, r2 + 8001c3e: 61bb str r3, [r7, #24] if (iocurrent == ioposition) - 8001b28: 69ba ldr r2, [r7, #24] - 8001b2a: 69fb ldr r3, [r7, #28] - 8001b2c: 429a cmp r2, r3 - 8001b2e: f040 8168 bne.w 8001e02 + 8001c40: 69ba ldr r2, [r7, #24] + 8001c42: 69fb ldr r3, [r7, #28] + 8001c44: 429a cmp r2, r3 + 8001c46: f040 8168 bne.w 8001f1a { /* Check the Alternate function parameters */ assert_param(IS_GPIO_AF_INSTANCE(GPIOx)); /* Based on the required mode, filling config variable with MODEy[1:0] and CNFy[3:2] corresponding bits */ switch (GPIO_Init->Mode) - 8001b32: 683b ldr r3, [r7, #0] - 8001b34: 685b ldr r3, [r3, #4] - 8001b36: 4aa0 ldr r2, [pc, #640] ; (8001db8 ) - 8001b38: 4293 cmp r3, r2 - 8001b3a: d05e beq.n 8001bfa - 8001b3c: 4a9e ldr r2, [pc, #632] ; (8001db8 ) - 8001b3e: 4293 cmp r3, r2 - 8001b40: d875 bhi.n 8001c2e - 8001b42: 4a9e ldr r2, [pc, #632] ; (8001dbc ) - 8001b44: 4293 cmp r3, r2 - 8001b46: d058 beq.n 8001bfa - 8001b48: 4a9c ldr r2, [pc, #624] ; (8001dbc ) - 8001b4a: 4293 cmp r3, r2 - 8001b4c: d86f bhi.n 8001c2e - 8001b4e: 4a9c ldr r2, [pc, #624] ; (8001dc0 ) - 8001b50: 4293 cmp r3, r2 - 8001b52: d052 beq.n 8001bfa - 8001b54: 4a9a ldr r2, [pc, #616] ; (8001dc0 ) - 8001b56: 4293 cmp r3, r2 - 8001b58: d869 bhi.n 8001c2e - 8001b5a: 4a9a ldr r2, [pc, #616] ; (8001dc4 ) - 8001b5c: 4293 cmp r3, r2 - 8001b5e: d04c beq.n 8001bfa - 8001b60: 4a98 ldr r2, [pc, #608] ; (8001dc4 ) - 8001b62: 4293 cmp r3, r2 - 8001b64: d863 bhi.n 8001c2e - 8001b66: 4a98 ldr r2, [pc, #608] ; (8001dc8 ) - 8001b68: 4293 cmp r3, r2 - 8001b6a: d046 beq.n 8001bfa - 8001b6c: 4a96 ldr r2, [pc, #600] ; (8001dc8 ) - 8001b6e: 4293 cmp r3, r2 - 8001b70: d85d bhi.n 8001c2e - 8001b72: 2b12 cmp r3, #18 - 8001b74: d82a bhi.n 8001bcc - 8001b76: 2b12 cmp r3, #18 - 8001b78: d859 bhi.n 8001c2e - 8001b7a: a201 add r2, pc, #4 ; (adr r2, 8001b80 ) - 8001b7c: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8001b80: 08001bfb .word 0x08001bfb - 8001b84: 08001bd5 .word 0x08001bd5 - 8001b88: 08001be7 .word 0x08001be7 - 8001b8c: 08001c29 .word 0x08001c29 - 8001b90: 08001c2f .word 0x08001c2f - 8001b94: 08001c2f .word 0x08001c2f - 8001b98: 08001c2f .word 0x08001c2f - 8001b9c: 08001c2f .word 0x08001c2f - 8001ba0: 08001c2f .word 0x08001c2f - 8001ba4: 08001c2f .word 0x08001c2f - 8001ba8: 08001c2f .word 0x08001c2f - 8001bac: 08001c2f .word 0x08001c2f - 8001bb0: 08001c2f .word 0x08001c2f - 8001bb4: 08001c2f .word 0x08001c2f - 8001bb8: 08001c2f .word 0x08001c2f - 8001bbc: 08001c2f .word 0x08001c2f - 8001bc0: 08001c2f .word 0x08001c2f - 8001bc4: 08001bdd .word 0x08001bdd - 8001bc8: 08001bf1 .word 0x08001bf1 - 8001bcc: 4a7f ldr r2, [pc, #508] ; (8001dcc ) - 8001bce: 4293 cmp r3, r2 - 8001bd0: d013 beq.n 8001bfa + 8001c4a: 683b ldr r3, [r7, #0] + 8001c4c: 685b ldr r3, [r3, #4] + 8001c4e: 4aa0 ldr r2, [pc, #640] ; (8001ed0 ) + 8001c50: 4293 cmp r3, r2 + 8001c52: d05e beq.n 8001d12 + 8001c54: 4a9e ldr r2, [pc, #632] ; (8001ed0 ) + 8001c56: 4293 cmp r3, r2 + 8001c58: d875 bhi.n 8001d46 + 8001c5a: 4a9e ldr r2, [pc, #632] ; (8001ed4 ) + 8001c5c: 4293 cmp r3, r2 + 8001c5e: d058 beq.n 8001d12 + 8001c60: 4a9c ldr r2, [pc, #624] ; (8001ed4 ) + 8001c62: 4293 cmp r3, r2 + 8001c64: d86f bhi.n 8001d46 + 8001c66: 4a9c ldr r2, [pc, #624] ; (8001ed8 ) + 8001c68: 4293 cmp r3, r2 + 8001c6a: d052 beq.n 8001d12 + 8001c6c: 4a9a ldr r2, [pc, #616] ; (8001ed8 ) + 8001c6e: 4293 cmp r3, r2 + 8001c70: d869 bhi.n 8001d46 + 8001c72: 4a9a ldr r2, [pc, #616] ; (8001edc ) + 8001c74: 4293 cmp r3, r2 + 8001c76: d04c beq.n 8001d12 + 8001c78: 4a98 ldr r2, [pc, #608] ; (8001edc ) + 8001c7a: 4293 cmp r3, r2 + 8001c7c: d863 bhi.n 8001d46 + 8001c7e: 4a98 ldr r2, [pc, #608] ; (8001ee0 ) + 8001c80: 4293 cmp r3, r2 + 8001c82: d046 beq.n 8001d12 + 8001c84: 4a96 ldr r2, [pc, #600] ; (8001ee0 ) + 8001c86: 4293 cmp r3, r2 + 8001c88: d85d bhi.n 8001d46 + 8001c8a: 2b12 cmp r3, #18 + 8001c8c: d82a bhi.n 8001ce4 + 8001c8e: 2b12 cmp r3, #18 + 8001c90: d859 bhi.n 8001d46 + 8001c92: a201 add r2, pc, #4 ; (adr r2, 8001c98 ) + 8001c94: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8001c98: 08001d13 .word 0x08001d13 + 8001c9c: 08001ced .word 0x08001ced + 8001ca0: 08001cff .word 0x08001cff + 8001ca4: 08001d41 .word 0x08001d41 + 8001ca8: 08001d47 .word 0x08001d47 + 8001cac: 08001d47 .word 0x08001d47 + 8001cb0: 08001d47 .word 0x08001d47 + 8001cb4: 08001d47 .word 0x08001d47 + 8001cb8: 08001d47 .word 0x08001d47 + 8001cbc: 08001d47 .word 0x08001d47 + 8001cc0: 08001d47 .word 0x08001d47 + 8001cc4: 08001d47 .word 0x08001d47 + 8001cc8: 08001d47 .word 0x08001d47 + 8001ccc: 08001d47 .word 0x08001d47 + 8001cd0: 08001d47 .word 0x08001d47 + 8001cd4: 08001d47 .word 0x08001d47 + 8001cd8: 08001d47 .word 0x08001d47 + 8001cdc: 08001cf5 .word 0x08001cf5 + 8001ce0: 08001d09 .word 0x08001d09 + 8001ce4: 4a7f ldr r2, [pc, #508] ; (8001ee4 ) + 8001ce6: 4293 cmp r3, r2 + 8001ce8: d013 beq.n 8001d12 config = GPIO_CR_MODE_INPUT + GPIO_CR_CNF_ANALOG; break; /* Parameters are checked with assert_param */ default: break; - 8001bd2: e02c b.n 8001c2e + 8001cea: e02c b.n 8001d46 config = GPIO_Init->Speed + GPIO_CR_CNF_GP_OUTPUT_PP; - 8001bd4: 683b ldr r3, [r7, #0] - 8001bd6: 68db ldr r3, [r3, #12] - 8001bd8: 623b str r3, [r7, #32] + 8001cec: 683b ldr r3, [r7, #0] + 8001cee: 68db ldr r3, [r3, #12] + 8001cf0: 623b str r3, [r7, #32] break; - 8001bda: e029 b.n 8001c30 + 8001cf2: e029 b.n 8001d48 config = GPIO_Init->Speed + GPIO_CR_CNF_GP_OUTPUT_OD; - 8001bdc: 683b ldr r3, [r7, #0] - 8001bde: 68db ldr r3, [r3, #12] - 8001be0: 3304 adds r3, #4 - 8001be2: 623b str r3, [r7, #32] + 8001cf4: 683b ldr r3, [r7, #0] + 8001cf6: 68db ldr r3, [r3, #12] + 8001cf8: 3304 adds r3, #4 + 8001cfa: 623b str r3, [r7, #32] break; - 8001be4: e024 b.n 8001c30 + 8001cfc: e024 b.n 8001d48 config = GPIO_Init->Speed + GPIO_CR_CNF_AF_OUTPUT_PP; - 8001be6: 683b ldr r3, [r7, #0] - 8001be8: 68db ldr r3, [r3, #12] - 8001bea: 3308 adds r3, #8 - 8001bec: 623b str r3, [r7, #32] + 8001cfe: 683b ldr r3, [r7, #0] + 8001d00: 68db ldr r3, [r3, #12] + 8001d02: 3308 adds r3, #8 + 8001d04: 623b str r3, [r7, #32] break; - 8001bee: e01f b.n 8001c30 + 8001d06: e01f b.n 8001d48 config = GPIO_Init->Speed + GPIO_CR_CNF_AF_OUTPUT_OD; - 8001bf0: 683b ldr r3, [r7, #0] - 8001bf2: 68db ldr r3, [r3, #12] - 8001bf4: 330c adds r3, #12 - 8001bf6: 623b str r3, [r7, #32] + 8001d08: 683b ldr r3, [r7, #0] + 8001d0a: 68db ldr r3, [r3, #12] + 8001d0c: 330c adds r3, #12 + 8001d0e: 623b str r3, [r7, #32] break; - 8001bf8: e01a b.n 8001c30 + 8001d10: e01a b.n 8001d48 if (GPIO_Init->Pull == GPIO_NOPULL) - 8001bfa: 683b ldr r3, [r7, #0] - 8001bfc: 689b ldr r3, [r3, #8] - 8001bfe: 2b00 cmp r3, #0 - 8001c00: d102 bne.n 8001c08 + 8001d12: 683b ldr r3, [r7, #0] + 8001d14: 689b ldr r3, [r3, #8] + 8001d16: 2b00 cmp r3, #0 + 8001d18: d102 bne.n 8001d20 config = GPIO_CR_MODE_INPUT + GPIO_CR_CNF_INPUT_FLOATING; - 8001c02: 2304 movs r3, #4 - 8001c04: 623b str r3, [r7, #32] + 8001d1a: 2304 movs r3, #4 + 8001d1c: 623b str r3, [r7, #32] break; - 8001c06: e013 b.n 8001c30 + 8001d1e: e013 b.n 8001d48 else if (GPIO_Init->Pull == GPIO_PULLUP) - 8001c08: 683b ldr r3, [r7, #0] - 8001c0a: 689b ldr r3, [r3, #8] - 8001c0c: 2b01 cmp r3, #1 - 8001c0e: d105 bne.n 8001c1c + 8001d20: 683b ldr r3, [r7, #0] + 8001d22: 689b ldr r3, [r3, #8] + 8001d24: 2b01 cmp r3, #1 + 8001d26: d105 bne.n 8001d34 config = GPIO_CR_MODE_INPUT + GPIO_CR_CNF_INPUT_PU_PD; - 8001c10: 2308 movs r3, #8 - 8001c12: 623b str r3, [r7, #32] + 8001d28: 2308 movs r3, #8 + 8001d2a: 623b str r3, [r7, #32] GPIOx->BSRR = ioposition; - 8001c14: 687b ldr r3, [r7, #4] - 8001c16: 69fa ldr r2, [r7, #28] - 8001c18: 611a str r2, [r3, #16] + 8001d2c: 687b ldr r3, [r7, #4] + 8001d2e: 69fa ldr r2, [r7, #28] + 8001d30: 611a str r2, [r3, #16] break; - 8001c1a: e009 b.n 8001c30 + 8001d32: e009 b.n 8001d48 config = GPIO_CR_MODE_INPUT + GPIO_CR_CNF_INPUT_PU_PD; - 8001c1c: 2308 movs r3, #8 - 8001c1e: 623b str r3, [r7, #32] + 8001d34: 2308 movs r3, #8 + 8001d36: 623b str r3, [r7, #32] GPIOx->BRR = ioposition; - 8001c20: 687b ldr r3, [r7, #4] - 8001c22: 69fa ldr r2, [r7, #28] - 8001c24: 615a str r2, [r3, #20] + 8001d38: 687b ldr r3, [r7, #4] + 8001d3a: 69fa ldr r2, [r7, #28] + 8001d3c: 615a str r2, [r3, #20] break; - 8001c26: e003 b.n 8001c30 + 8001d3e: e003 b.n 8001d48 config = GPIO_CR_MODE_INPUT + GPIO_CR_CNF_ANALOG; - 8001c28: 2300 movs r3, #0 - 8001c2a: 623b str r3, [r7, #32] + 8001d40: 2300 movs r3, #0 + 8001d42: 623b str r3, [r7, #32] break; - 8001c2c: e000 b.n 8001c30 + 8001d44: e000 b.n 8001d48 break; - 8001c2e: bf00 nop + 8001d46: bf00 nop } /* Check if the current bit belongs to first half or last half of the pin count number in order to address CRH or CRL register*/ configregister = (iocurrent < GPIO_PIN_8) ? &GPIOx->CRL : &GPIOx->CRH; - 8001c30: 69bb ldr r3, [r7, #24] - 8001c32: 2bff cmp r3, #255 ; 0xff - 8001c34: d801 bhi.n 8001c3a - 8001c36: 687b ldr r3, [r7, #4] - 8001c38: e001 b.n 8001c3e - 8001c3a: 687b ldr r3, [r7, #4] - 8001c3c: 3304 adds r3, #4 - 8001c3e: 617b str r3, [r7, #20] + 8001d48: 69bb ldr r3, [r7, #24] + 8001d4a: 2bff cmp r3, #255 ; 0xff + 8001d4c: d801 bhi.n 8001d52 + 8001d4e: 687b ldr r3, [r7, #4] + 8001d50: e001 b.n 8001d56 + 8001d52: 687b ldr r3, [r7, #4] + 8001d54: 3304 adds r3, #4 + 8001d56: 617b str r3, [r7, #20] registeroffset = (iocurrent < GPIO_PIN_8) ? (position << 2u) : ((position - 8u) << 2u); - 8001c40: 69bb ldr r3, [r7, #24] - 8001c42: 2bff cmp r3, #255 ; 0xff - 8001c44: d802 bhi.n 8001c4c - 8001c46: 6a7b ldr r3, [r7, #36] ; 0x24 - 8001c48: 009b lsls r3, r3, #2 - 8001c4a: e002 b.n 8001c52 - 8001c4c: 6a7b ldr r3, [r7, #36] ; 0x24 - 8001c4e: 3b08 subs r3, #8 - 8001c50: 009b lsls r3, r3, #2 - 8001c52: 613b str r3, [r7, #16] + 8001d58: 69bb ldr r3, [r7, #24] + 8001d5a: 2bff cmp r3, #255 ; 0xff + 8001d5c: d802 bhi.n 8001d64 + 8001d5e: 6a7b ldr r3, [r7, #36] ; 0x24 + 8001d60: 009b lsls r3, r3, #2 + 8001d62: e002 b.n 8001d6a + 8001d64: 6a7b ldr r3, [r7, #36] ; 0x24 + 8001d66: 3b08 subs r3, #8 + 8001d68: 009b lsls r3, r3, #2 + 8001d6a: 613b str r3, [r7, #16] /* Apply the new configuration of the pin to the register */ MODIFY_REG((*configregister), ((GPIO_CRL_MODE0 | GPIO_CRL_CNF0) << registeroffset), (config << registeroffset)); - 8001c54: 697b ldr r3, [r7, #20] - 8001c56: 681a ldr r2, [r3, #0] - 8001c58: 210f movs r1, #15 - 8001c5a: 693b ldr r3, [r7, #16] - 8001c5c: fa01 f303 lsl.w r3, r1, r3 - 8001c60: 43db mvns r3, r3 - 8001c62: 401a ands r2, r3 - 8001c64: 6a39 ldr r1, [r7, #32] - 8001c66: 693b ldr r3, [r7, #16] - 8001c68: fa01 f303 lsl.w r3, r1, r3 - 8001c6c: 431a orrs r2, r3 - 8001c6e: 697b ldr r3, [r7, #20] - 8001c70: 601a str r2, [r3, #0] + 8001d6c: 697b ldr r3, [r7, #20] + 8001d6e: 681a ldr r2, [r3, #0] + 8001d70: 210f movs r1, #15 + 8001d72: 693b ldr r3, [r7, #16] + 8001d74: fa01 f303 lsl.w r3, r1, r3 + 8001d78: 43db mvns r3, r3 + 8001d7a: 401a ands r2, r3 + 8001d7c: 6a39 ldr r1, [r7, #32] + 8001d7e: 693b ldr r3, [r7, #16] + 8001d80: fa01 f303 lsl.w r3, r1, r3 + 8001d84: 431a orrs r2, r3 + 8001d86: 697b ldr r3, [r7, #20] + 8001d88: 601a str r2, [r3, #0] /*--------------------- EXTI Mode Configuration ------------------------*/ /* Configure the External Interrupt or event for the current IO */ if ((GPIO_Init->Mode & EXTI_MODE) == EXTI_MODE) - 8001c72: 683b ldr r3, [r7, #0] - 8001c74: 685b ldr r3, [r3, #4] - 8001c76: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 8001c7a: 2b00 cmp r3, #0 - 8001c7c: f000 80c1 beq.w 8001e02 + 8001d8a: 683b ldr r3, [r7, #0] + 8001d8c: 685b ldr r3, [r3, #4] + 8001d8e: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 8001d92: 2b00 cmp r3, #0 + 8001d94: f000 80c1 beq.w 8001f1a { /* Enable AFIO Clock */ __HAL_RCC_AFIO_CLK_ENABLE(); - 8001c80: 4b53 ldr r3, [pc, #332] ; (8001dd0 ) - 8001c82: 699b ldr r3, [r3, #24] - 8001c84: 4a52 ldr r2, [pc, #328] ; (8001dd0 ) - 8001c86: f043 0301 orr.w r3, r3, #1 - 8001c8a: 6193 str r3, [r2, #24] - 8001c8c: 4b50 ldr r3, [pc, #320] ; (8001dd0 ) - 8001c8e: 699b ldr r3, [r3, #24] - 8001c90: f003 0301 and.w r3, r3, #1 - 8001c94: 60bb str r3, [r7, #8] - 8001c96: 68bb ldr r3, [r7, #8] + 8001d98: 4b53 ldr r3, [pc, #332] ; (8001ee8 ) + 8001d9a: 699b ldr r3, [r3, #24] + 8001d9c: 4a52 ldr r2, [pc, #328] ; (8001ee8 ) + 8001d9e: f043 0301 orr.w r3, r3, #1 + 8001da2: 6193 str r3, [r2, #24] + 8001da4: 4b50 ldr r3, [pc, #320] ; (8001ee8 ) + 8001da6: 699b ldr r3, [r3, #24] + 8001da8: f003 0301 and.w r3, r3, #1 + 8001dac: 60bb str r3, [r7, #8] + 8001dae: 68bb ldr r3, [r7, #8] temp = AFIO->EXTICR[position >> 2u]; - 8001c98: 4a4e ldr r2, [pc, #312] ; (8001dd4 ) - 8001c9a: 6a7b ldr r3, [r7, #36] ; 0x24 - 8001c9c: 089b lsrs r3, r3, #2 - 8001c9e: 3302 adds r3, #2 - 8001ca0: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8001ca4: 60fb str r3, [r7, #12] + 8001db0: 4a4e ldr r2, [pc, #312] ; (8001eec ) + 8001db2: 6a7b ldr r3, [r7, #36] ; 0x24 + 8001db4: 089b lsrs r3, r3, #2 + 8001db6: 3302 adds r3, #2 + 8001db8: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8001dbc: 60fb str r3, [r7, #12] CLEAR_BIT(temp, (0x0Fu) << (4u * (position & 0x03u))); - 8001ca6: 6a7b ldr r3, [r7, #36] ; 0x24 - 8001ca8: f003 0303 and.w r3, r3, #3 - 8001cac: 009b lsls r3, r3, #2 - 8001cae: 220f movs r2, #15 - 8001cb0: fa02 f303 lsl.w r3, r2, r3 - 8001cb4: 43db mvns r3, r3 - 8001cb6: 68fa ldr r2, [r7, #12] - 8001cb8: 4013 ands r3, r2 - 8001cba: 60fb str r3, [r7, #12] + 8001dbe: 6a7b ldr r3, [r7, #36] ; 0x24 + 8001dc0: f003 0303 and.w r3, r3, #3 + 8001dc4: 009b lsls r3, r3, #2 + 8001dc6: 220f movs r2, #15 + 8001dc8: fa02 f303 lsl.w r3, r2, r3 + 8001dcc: 43db mvns r3, r3 + 8001dce: 68fa ldr r2, [r7, #12] + 8001dd0: 4013 ands r3, r2 + 8001dd2: 60fb str r3, [r7, #12] SET_BIT(temp, (GPIO_GET_INDEX(GPIOx)) << (4u * (position & 0x03u))); - 8001cbc: 687b ldr r3, [r7, #4] - 8001cbe: 4a46 ldr r2, [pc, #280] ; (8001dd8 ) - 8001cc0: 4293 cmp r3, r2 - 8001cc2: d01f beq.n 8001d04 - 8001cc4: 687b ldr r3, [r7, #4] - 8001cc6: 4a45 ldr r2, [pc, #276] ; (8001ddc ) - 8001cc8: 4293 cmp r3, r2 - 8001cca: d019 beq.n 8001d00 - 8001ccc: 687b ldr r3, [r7, #4] - 8001cce: 4a44 ldr r2, [pc, #272] ; (8001de0 ) - 8001cd0: 4293 cmp r3, r2 - 8001cd2: d013 beq.n 8001cfc - 8001cd4: 687b ldr r3, [r7, #4] - 8001cd6: 4a43 ldr r2, [pc, #268] ; (8001de4 ) - 8001cd8: 4293 cmp r3, r2 - 8001cda: d00d beq.n 8001cf8 - 8001cdc: 687b ldr r3, [r7, #4] - 8001cde: 4a42 ldr r2, [pc, #264] ; (8001de8 ) - 8001ce0: 4293 cmp r3, r2 - 8001ce2: d007 beq.n 8001cf4 - 8001ce4: 687b ldr r3, [r7, #4] - 8001ce6: 4a41 ldr r2, [pc, #260] ; (8001dec ) - 8001ce8: 4293 cmp r3, r2 - 8001cea: d101 bne.n 8001cf0 - 8001cec: 2305 movs r3, #5 - 8001cee: e00a b.n 8001d06 - 8001cf0: 2306 movs r3, #6 - 8001cf2: e008 b.n 8001d06 - 8001cf4: 2304 movs r3, #4 - 8001cf6: e006 b.n 8001d06 - 8001cf8: 2303 movs r3, #3 - 8001cfa: e004 b.n 8001d06 - 8001cfc: 2302 movs r3, #2 - 8001cfe: e002 b.n 8001d06 - 8001d00: 2301 movs r3, #1 - 8001d02: e000 b.n 8001d06 - 8001d04: 2300 movs r3, #0 - 8001d06: 6a7a ldr r2, [r7, #36] ; 0x24 - 8001d08: f002 0203 and.w r2, r2, #3 - 8001d0c: 0092 lsls r2, r2, #2 - 8001d0e: 4093 lsls r3, r2 - 8001d10: 68fa ldr r2, [r7, #12] - 8001d12: 4313 orrs r3, r2 - 8001d14: 60fb str r3, [r7, #12] + 8001dd4: 687b ldr r3, [r7, #4] + 8001dd6: 4a46 ldr r2, [pc, #280] ; (8001ef0 ) + 8001dd8: 4293 cmp r3, r2 + 8001dda: d01f beq.n 8001e1c + 8001ddc: 687b ldr r3, [r7, #4] + 8001dde: 4a45 ldr r2, [pc, #276] ; (8001ef4 ) + 8001de0: 4293 cmp r3, r2 + 8001de2: d019 beq.n 8001e18 + 8001de4: 687b ldr r3, [r7, #4] + 8001de6: 4a44 ldr r2, [pc, #272] ; (8001ef8 ) + 8001de8: 4293 cmp r3, r2 + 8001dea: d013 beq.n 8001e14 + 8001dec: 687b ldr r3, [r7, #4] + 8001dee: 4a43 ldr r2, [pc, #268] ; (8001efc ) + 8001df0: 4293 cmp r3, r2 + 8001df2: d00d beq.n 8001e10 + 8001df4: 687b ldr r3, [r7, #4] + 8001df6: 4a42 ldr r2, [pc, #264] ; (8001f00 ) + 8001df8: 4293 cmp r3, r2 + 8001dfa: d007 beq.n 8001e0c + 8001dfc: 687b ldr r3, [r7, #4] + 8001dfe: 4a41 ldr r2, [pc, #260] ; (8001f04 ) + 8001e00: 4293 cmp r3, r2 + 8001e02: d101 bne.n 8001e08 + 8001e04: 2305 movs r3, #5 + 8001e06: e00a b.n 8001e1e + 8001e08: 2306 movs r3, #6 + 8001e0a: e008 b.n 8001e1e + 8001e0c: 2304 movs r3, #4 + 8001e0e: e006 b.n 8001e1e + 8001e10: 2303 movs r3, #3 + 8001e12: e004 b.n 8001e1e + 8001e14: 2302 movs r3, #2 + 8001e16: e002 b.n 8001e1e + 8001e18: 2301 movs r3, #1 + 8001e1a: e000 b.n 8001e1e + 8001e1c: 2300 movs r3, #0 + 8001e1e: 6a7a ldr r2, [r7, #36] ; 0x24 + 8001e20: f002 0203 and.w r2, r2, #3 + 8001e24: 0092 lsls r2, r2, #2 + 8001e26: 4093 lsls r3, r2 + 8001e28: 68fa ldr r2, [r7, #12] + 8001e2a: 4313 orrs r3, r2 + 8001e2c: 60fb str r3, [r7, #12] AFIO->EXTICR[position >> 2u] = temp; - 8001d16: 492f ldr r1, [pc, #188] ; (8001dd4 ) - 8001d18: 6a7b ldr r3, [r7, #36] ; 0x24 - 8001d1a: 089b lsrs r3, r3, #2 - 8001d1c: 3302 adds r3, #2 - 8001d1e: 68fa ldr r2, [r7, #12] - 8001d20: f841 2023 str.w r2, [r1, r3, lsl #2] + 8001e2e: 492f ldr r1, [pc, #188] ; (8001eec ) + 8001e30: 6a7b ldr r3, [r7, #36] ; 0x24 + 8001e32: 089b lsrs r3, r3, #2 + 8001e34: 3302 adds r3, #2 + 8001e36: 68fa ldr r2, [r7, #12] + 8001e38: f841 2023 str.w r2, [r1, r3, lsl #2] /* Configure the interrupt mask */ if ((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT) - 8001d24: 683b ldr r3, [r7, #0] - 8001d26: 685b ldr r3, [r3, #4] - 8001d28: f403 3380 and.w r3, r3, #65536 ; 0x10000 - 8001d2c: 2b00 cmp r3, #0 - 8001d2e: d006 beq.n 8001d3e + 8001e3c: 683b ldr r3, [r7, #0] + 8001e3e: 685b ldr r3, [r3, #4] + 8001e40: f403 3380 and.w r3, r3, #65536 ; 0x10000 + 8001e44: 2b00 cmp r3, #0 + 8001e46: d006 beq.n 8001e56 { SET_BIT(EXTI->IMR, iocurrent); - 8001d30: 4b2f ldr r3, [pc, #188] ; (8001df0 ) - 8001d32: 681a ldr r2, [r3, #0] - 8001d34: 492e ldr r1, [pc, #184] ; (8001df0 ) - 8001d36: 69bb ldr r3, [r7, #24] - 8001d38: 4313 orrs r3, r2 - 8001d3a: 600b str r3, [r1, #0] - 8001d3c: e006 b.n 8001d4c + 8001e48: 4b2f ldr r3, [pc, #188] ; (8001f08 ) + 8001e4a: 681a ldr r2, [r3, #0] + 8001e4c: 492e ldr r1, [pc, #184] ; (8001f08 ) + 8001e4e: 69bb ldr r3, [r7, #24] + 8001e50: 4313 orrs r3, r2 + 8001e52: 600b str r3, [r1, #0] + 8001e54: e006 b.n 8001e64 } else { CLEAR_BIT(EXTI->IMR, iocurrent); - 8001d3e: 4b2c ldr r3, [pc, #176] ; (8001df0 ) - 8001d40: 681a ldr r2, [r3, #0] - 8001d42: 69bb ldr r3, [r7, #24] - 8001d44: 43db mvns r3, r3 - 8001d46: 492a ldr r1, [pc, #168] ; (8001df0 ) - 8001d48: 4013 ands r3, r2 - 8001d4a: 600b str r3, [r1, #0] + 8001e56: 4b2c ldr r3, [pc, #176] ; (8001f08 ) + 8001e58: 681a ldr r2, [r3, #0] + 8001e5a: 69bb ldr r3, [r7, #24] + 8001e5c: 43db mvns r3, r3 + 8001e5e: 492a ldr r1, [pc, #168] ; (8001f08 ) + 8001e60: 4013 ands r3, r2 + 8001e62: 600b str r3, [r1, #0] } /* Configure the event mask */ if ((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT) - 8001d4c: 683b ldr r3, [r7, #0] - 8001d4e: 685b ldr r3, [r3, #4] - 8001d50: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 8001d54: 2b00 cmp r3, #0 - 8001d56: d006 beq.n 8001d66 + 8001e64: 683b ldr r3, [r7, #0] + 8001e66: 685b ldr r3, [r3, #4] + 8001e68: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 8001e6c: 2b00 cmp r3, #0 + 8001e6e: d006 beq.n 8001e7e { SET_BIT(EXTI->EMR, iocurrent); - 8001d58: 4b25 ldr r3, [pc, #148] ; (8001df0 ) - 8001d5a: 685a ldr r2, [r3, #4] - 8001d5c: 4924 ldr r1, [pc, #144] ; (8001df0 ) - 8001d5e: 69bb ldr r3, [r7, #24] - 8001d60: 4313 orrs r3, r2 - 8001d62: 604b str r3, [r1, #4] - 8001d64: e006 b.n 8001d74 + 8001e70: 4b25 ldr r3, [pc, #148] ; (8001f08 ) + 8001e72: 685a ldr r2, [r3, #4] + 8001e74: 4924 ldr r1, [pc, #144] ; (8001f08 ) + 8001e76: 69bb ldr r3, [r7, #24] + 8001e78: 4313 orrs r3, r2 + 8001e7a: 604b str r3, [r1, #4] + 8001e7c: e006 b.n 8001e8c } else { CLEAR_BIT(EXTI->EMR, iocurrent); - 8001d66: 4b22 ldr r3, [pc, #136] ; (8001df0 ) - 8001d68: 685a ldr r2, [r3, #4] - 8001d6a: 69bb ldr r3, [r7, #24] - 8001d6c: 43db mvns r3, r3 - 8001d6e: 4920 ldr r1, [pc, #128] ; (8001df0 ) - 8001d70: 4013 ands r3, r2 - 8001d72: 604b str r3, [r1, #4] + 8001e7e: 4b22 ldr r3, [pc, #136] ; (8001f08 ) + 8001e80: 685a ldr r2, [r3, #4] + 8001e82: 69bb ldr r3, [r7, #24] + 8001e84: 43db mvns r3, r3 + 8001e86: 4920 ldr r1, [pc, #128] ; (8001f08 ) + 8001e88: 4013 ands r3, r2 + 8001e8a: 604b str r3, [r1, #4] } /* Enable or disable the rising trigger */ if ((GPIO_Init->Mode & RISING_EDGE) == RISING_EDGE) - 8001d74: 683b ldr r3, [r7, #0] - 8001d76: 685b ldr r3, [r3, #4] - 8001d78: f403 1380 and.w r3, r3, #1048576 ; 0x100000 - 8001d7c: 2b00 cmp r3, #0 - 8001d7e: d006 beq.n 8001d8e + 8001e8c: 683b ldr r3, [r7, #0] + 8001e8e: 685b ldr r3, [r3, #4] + 8001e90: f403 1380 and.w r3, r3, #1048576 ; 0x100000 + 8001e94: 2b00 cmp r3, #0 + 8001e96: d006 beq.n 8001ea6 { SET_BIT(EXTI->RTSR, iocurrent); - 8001d80: 4b1b ldr r3, [pc, #108] ; (8001df0 ) - 8001d82: 689a ldr r2, [r3, #8] - 8001d84: 491a ldr r1, [pc, #104] ; (8001df0 ) - 8001d86: 69bb ldr r3, [r7, #24] - 8001d88: 4313 orrs r3, r2 - 8001d8a: 608b str r3, [r1, #8] - 8001d8c: e006 b.n 8001d9c + 8001e98: 4b1b ldr r3, [pc, #108] ; (8001f08 ) + 8001e9a: 689a ldr r2, [r3, #8] + 8001e9c: 491a ldr r1, [pc, #104] ; (8001f08 ) + 8001e9e: 69bb ldr r3, [r7, #24] + 8001ea0: 4313 orrs r3, r2 + 8001ea2: 608b str r3, [r1, #8] + 8001ea4: e006 b.n 8001eb4 } else { CLEAR_BIT(EXTI->RTSR, iocurrent); - 8001d8e: 4b18 ldr r3, [pc, #96] ; (8001df0 ) - 8001d90: 689a ldr r2, [r3, #8] - 8001d92: 69bb ldr r3, [r7, #24] - 8001d94: 43db mvns r3, r3 - 8001d96: 4916 ldr r1, [pc, #88] ; (8001df0 ) - 8001d98: 4013 ands r3, r2 - 8001d9a: 608b str r3, [r1, #8] + 8001ea6: 4b18 ldr r3, [pc, #96] ; (8001f08 ) + 8001ea8: 689a ldr r2, [r3, #8] + 8001eaa: 69bb ldr r3, [r7, #24] + 8001eac: 43db mvns r3, r3 + 8001eae: 4916 ldr r1, [pc, #88] ; (8001f08 ) + 8001eb0: 4013 ands r3, r2 + 8001eb2: 608b str r3, [r1, #8] } /* Enable or disable the falling trigger */ if ((GPIO_Init->Mode & FALLING_EDGE) == FALLING_EDGE) - 8001d9c: 683b ldr r3, [r7, #0] - 8001d9e: 685b ldr r3, [r3, #4] - 8001da0: f403 1300 and.w r3, r3, #2097152 ; 0x200000 - 8001da4: 2b00 cmp r3, #0 - 8001da6: d025 beq.n 8001df4 + 8001eb4: 683b ldr r3, [r7, #0] + 8001eb6: 685b ldr r3, [r3, #4] + 8001eb8: f403 1300 and.w r3, r3, #2097152 ; 0x200000 + 8001ebc: 2b00 cmp r3, #0 + 8001ebe: d025 beq.n 8001f0c { SET_BIT(EXTI->FTSR, iocurrent); - 8001da8: 4b11 ldr r3, [pc, #68] ; (8001df0 ) - 8001daa: 68da ldr r2, [r3, #12] - 8001dac: 4910 ldr r1, [pc, #64] ; (8001df0 ) - 8001dae: 69bb ldr r3, [r7, #24] - 8001db0: 4313 orrs r3, r2 - 8001db2: 60cb str r3, [r1, #12] - 8001db4: e025 b.n 8001e02 - 8001db6: bf00 nop - 8001db8: 10320000 .word 0x10320000 - 8001dbc: 10310000 .word 0x10310000 - 8001dc0: 10220000 .word 0x10220000 - 8001dc4: 10210000 .word 0x10210000 - 8001dc8: 10120000 .word 0x10120000 - 8001dcc: 10110000 .word 0x10110000 - 8001dd0: 40021000 .word 0x40021000 - 8001dd4: 40010000 .word 0x40010000 - 8001dd8: 40010800 .word 0x40010800 - 8001ddc: 40010c00 .word 0x40010c00 - 8001de0: 40011000 .word 0x40011000 - 8001de4: 40011400 .word 0x40011400 - 8001de8: 40011800 .word 0x40011800 - 8001dec: 40011c00 .word 0x40011c00 - 8001df0: 40010400 .word 0x40010400 + 8001ec0: 4b11 ldr r3, [pc, #68] ; (8001f08 ) + 8001ec2: 68da ldr r2, [r3, #12] + 8001ec4: 4910 ldr r1, [pc, #64] ; (8001f08 ) + 8001ec6: 69bb ldr r3, [r7, #24] + 8001ec8: 4313 orrs r3, r2 + 8001eca: 60cb str r3, [r1, #12] + 8001ecc: e025 b.n 8001f1a + 8001ece: bf00 nop + 8001ed0: 10320000 .word 0x10320000 + 8001ed4: 10310000 .word 0x10310000 + 8001ed8: 10220000 .word 0x10220000 + 8001edc: 10210000 .word 0x10210000 + 8001ee0: 10120000 .word 0x10120000 + 8001ee4: 10110000 .word 0x10110000 + 8001ee8: 40021000 .word 0x40021000 + 8001eec: 40010000 .word 0x40010000 + 8001ef0: 40010800 .word 0x40010800 + 8001ef4: 40010c00 .word 0x40010c00 + 8001ef8: 40011000 .word 0x40011000 + 8001efc: 40011400 .word 0x40011400 + 8001f00: 40011800 .word 0x40011800 + 8001f04: 40011c00 .word 0x40011c00 + 8001f08: 40010400 .word 0x40010400 } else { CLEAR_BIT(EXTI->FTSR, iocurrent); - 8001df4: 4b0b ldr r3, [pc, #44] ; (8001e24 ) - 8001df6: 68da ldr r2, [r3, #12] - 8001df8: 69bb ldr r3, [r7, #24] - 8001dfa: 43db mvns r3, r3 - 8001dfc: 4909 ldr r1, [pc, #36] ; (8001e24 ) - 8001dfe: 4013 ands r3, r2 - 8001e00: 60cb str r3, [r1, #12] + 8001f0c: 4b0b ldr r3, [pc, #44] ; (8001f3c ) + 8001f0e: 68da ldr r2, [r3, #12] + 8001f10: 69bb ldr r3, [r7, #24] + 8001f12: 43db mvns r3, r3 + 8001f14: 4909 ldr r1, [pc, #36] ; (8001f3c ) + 8001f16: 4013 ands r3, r2 + 8001f18: 60cb str r3, [r1, #12] } } } position++; - 8001e02: 6a7b ldr r3, [r7, #36] ; 0x24 - 8001e04: 3301 adds r3, #1 - 8001e06: 627b str r3, [r7, #36] ; 0x24 + 8001f1a: 6a7b ldr r3, [r7, #36] ; 0x24 + 8001f1c: 3301 adds r3, #1 + 8001f1e: 627b str r3, [r7, #36] ; 0x24 while (((GPIO_Init->Pin) >> position) != 0x00u) - 8001e08: 683b ldr r3, [r7, #0] - 8001e0a: 681a ldr r2, [r3, #0] - 8001e0c: 6a7b ldr r3, [r7, #36] ; 0x24 - 8001e0e: fa22 f303 lsr.w r3, r2, r3 - 8001e12: 2b00 cmp r3, #0 - 8001e14: f47f ae7e bne.w 8001b14 + 8001f20: 683b ldr r3, [r7, #0] + 8001f22: 681a ldr r2, [r3, #0] + 8001f24: 6a7b ldr r3, [r7, #36] ; 0x24 + 8001f26: fa22 f303 lsr.w r3, r2, r3 + 8001f2a: 2b00 cmp r3, #0 + 8001f2c: f47f ae7e bne.w 8001c2c } } - 8001e18: bf00 nop - 8001e1a: bf00 nop - 8001e1c: 372c adds r7, #44 ; 0x2c - 8001e1e: 46bd mov sp, r7 - 8001e20: bc80 pop {r7} - 8001e22: 4770 bx lr - 8001e24: 40010400 .word 0x40010400 + 8001f30: bf00 nop + 8001f32: bf00 nop + 8001f34: 372c adds r7, #44 ; 0x2c + 8001f36: 46bd mov sp, r7 + 8001f38: bc80 pop {r7} + 8001f3a: 4770 bx lr + 8001f3c: 40010400 .word 0x40010400 -08001e28 : +08001f40 : * @param GPIO_Pin: specifies the port bit to read. * This parameter can be GPIO_PIN_x where x can be (0..15). * @retval The input port pin value. */ GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) { - 8001e28: b480 push {r7} - 8001e2a: b085 sub sp, #20 - 8001e2c: af00 add r7, sp, #0 - 8001e2e: 6078 str r0, [r7, #4] - 8001e30: 460b mov r3, r1 - 8001e32: 807b strh r3, [r7, #2] + 8001f40: b480 push {r7} + 8001f42: b085 sub sp, #20 + 8001f44: af00 add r7, sp, #0 + 8001f46: 6078 str r0, [r7, #4] + 8001f48: 460b mov r3, r1 + 8001f4a: 807b strh r3, [r7, #2] GPIO_PinState bitstatus; /* Check the parameters */ assert_param(IS_GPIO_PIN(GPIO_Pin)); if ((GPIOx->IDR & GPIO_Pin) != (uint32_t)GPIO_PIN_RESET) - 8001e34: 687b ldr r3, [r7, #4] - 8001e36: 689a ldr r2, [r3, #8] - 8001e38: 887b ldrh r3, [r7, #2] - 8001e3a: 4013 ands r3, r2 - 8001e3c: 2b00 cmp r3, #0 - 8001e3e: d002 beq.n 8001e46 + 8001f4c: 687b ldr r3, [r7, #4] + 8001f4e: 689a ldr r2, [r3, #8] + 8001f50: 887b ldrh r3, [r7, #2] + 8001f52: 4013 ands r3, r2 + 8001f54: 2b00 cmp r3, #0 + 8001f56: d002 beq.n 8001f5e { bitstatus = GPIO_PIN_SET; - 8001e40: 2301 movs r3, #1 - 8001e42: 73fb strb r3, [r7, #15] - 8001e44: e001 b.n 8001e4a + 8001f58: 2301 movs r3, #1 + 8001f5a: 73fb strb r3, [r7, #15] + 8001f5c: e001 b.n 8001f62 } else { bitstatus = GPIO_PIN_RESET; - 8001e46: 2300 movs r3, #0 - 8001e48: 73fb strb r3, [r7, #15] + 8001f5e: 2300 movs r3, #0 + 8001f60: 73fb strb r3, [r7, #15] } return bitstatus; - 8001e4a: 7bfb ldrb r3, [r7, #15] + 8001f62: 7bfb ldrb r3, [r7, #15] } - 8001e4c: 4618 mov r0, r3 - 8001e4e: 3714 adds r7, #20 - 8001e50: 46bd mov sp, r7 - 8001e52: bc80 pop {r7} - 8001e54: 4770 bx lr + 8001f64: 4618 mov r0, r3 + 8001f66: 3714 adds r7, #20 + 8001f68: 46bd mov sp, r7 + 8001f6a: bc80 pop {r7} + 8001f6c: 4770 bx lr -08001e56 : +08001f6e : * @arg GPIO_PIN_RESET: to clear the port pin * @arg GPIO_PIN_SET: to set the port pin * @retval None */ void HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState) { - 8001e56: b480 push {r7} - 8001e58: b083 sub sp, #12 - 8001e5a: af00 add r7, sp, #0 - 8001e5c: 6078 str r0, [r7, #4] - 8001e5e: 460b mov r3, r1 - 8001e60: 807b strh r3, [r7, #2] - 8001e62: 4613 mov r3, r2 - 8001e64: 707b strb r3, [r7, #1] + 8001f6e: b480 push {r7} + 8001f70: b083 sub sp, #12 + 8001f72: af00 add r7, sp, #0 + 8001f74: 6078 str r0, [r7, #4] + 8001f76: 460b mov r3, r1 + 8001f78: 807b strh r3, [r7, #2] + 8001f7a: 4613 mov r3, r2 + 8001f7c: 707b strb r3, [r7, #1] /* Check the parameters */ assert_param(IS_GPIO_PIN(GPIO_Pin)); assert_param(IS_GPIO_PIN_ACTION(PinState)); if (PinState != GPIO_PIN_RESET) - 8001e66: 787b ldrb r3, [r7, #1] - 8001e68: 2b00 cmp r3, #0 - 8001e6a: d003 beq.n 8001e74 + 8001f7e: 787b ldrb r3, [r7, #1] + 8001f80: 2b00 cmp r3, #0 + 8001f82: d003 beq.n 8001f8c { GPIOx->BSRR = GPIO_Pin; - 8001e6c: 887a ldrh r2, [r7, #2] - 8001e6e: 687b ldr r3, [r7, #4] - 8001e70: 611a str r2, [r3, #16] + 8001f84: 887a ldrh r2, [r7, #2] + 8001f86: 687b ldr r3, [r7, #4] + 8001f88: 611a str r2, [r3, #16] } else { GPIOx->BSRR = (uint32_t)GPIO_Pin << 16u; } } - 8001e72: e003 b.n 8001e7c + 8001f8a: e003 b.n 8001f94 GPIOx->BSRR = (uint32_t)GPIO_Pin << 16u; - 8001e74: 887b ldrh r3, [r7, #2] - 8001e76: 041a lsls r2, r3, #16 - 8001e78: 687b ldr r3, [r7, #4] - 8001e7a: 611a str r2, [r3, #16] + 8001f8c: 887b ldrh r3, [r7, #2] + 8001f8e: 041a lsls r2, r3, #16 + 8001f90: 687b ldr r3, [r7, #4] + 8001f92: 611a str r2, [r3, #16] } - 8001e7c: bf00 nop - 8001e7e: 370c adds r7, #12 - 8001e80: 46bd mov sp, r7 - 8001e82: bc80 pop {r7} - 8001e84: 4770 bx lr + 8001f94: bf00 nop + 8001f96: 370c adds r7, #12 + 8001f98: 46bd mov sp, r7 + 8001f9a: bc80 pop {r7} + 8001f9c: 4770 bx lr ... -08001e88 : +08001fa0 : * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains * the configuration information for the specified I2C. * @retval HAL status */ HAL_StatusTypeDef HAL_I2C_Init(I2C_HandleTypeDef *hi2c) { - 8001e88: b580 push {r7, lr} - 8001e8a: b084 sub sp, #16 - 8001e8c: af00 add r7, sp, #0 - 8001e8e: 6078 str r0, [r7, #4] + 8001fa0: b580 push {r7, lr} + 8001fa2: b084 sub sp, #16 + 8001fa4: af00 add r7, sp, #0 + 8001fa6: 6078 str r0, [r7, #4] uint32_t freqrange; uint32_t pclk1; /* Check the I2C handle allocation */ if (hi2c == NULL) - 8001e90: 687b ldr r3, [r7, #4] - 8001e92: 2b00 cmp r3, #0 - 8001e94: d101 bne.n 8001e9a + 8001fa8: 687b ldr r3, [r7, #4] + 8001faa: 2b00 cmp r3, #0 + 8001fac: d101 bne.n 8001fb2 { return HAL_ERROR; - 8001e96: 2301 movs r3, #1 - 8001e98: e12b b.n 80020f2 + 8001fae: 2301 movs r3, #1 + 8001fb0: e12b b.n 800220a assert_param(IS_I2C_DUAL_ADDRESS(hi2c->Init.DualAddressMode)); assert_param(IS_I2C_OWN_ADDRESS2(hi2c->Init.OwnAddress2)); assert_param(IS_I2C_GENERAL_CALL(hi2c->Init.GeneralCallMode)); assert_param(IS_I2C_NO_STRETCH(hi2c->Init.NoStretchMode)); if (hi2c->State == HAL_I2C_STATE_RESET) - 8001e9a: 687b ldr r3, [r7, #4] - 8001e9c: f893 303d ldrb.w r3, [r3, #61] ; 0x3d - 8001ea0: b2db uxtb r3, r3 - 8001ea2: 2b00 cmp r3, #0 - 8001ea4: d106 bne.n 8001eb4 + 8001fb2: 687b ldr r3, [r7, #4] + 8001fb4: f893 303d ldrb.w r3, [r3, #61] ; 0x3d + 8001fb8: b2db uxtb r3, r3 + 8001fba: 2b00 cmp r3, #0 + 8001fbc: d106 bne.n 8001fcc { /* Allocate lock resource and initialize it */ hi2c->Lock = HAL_UNLOCKED; - 8001ea6: 687b ldr r3, [r7, #4] - 8001ea8: 2200 movs r2, #0 - 8001eaa: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8001fbe: 687b ldr r3, [r7, #4] + 8001fc0: 2200 movs r2, #0 + 8001fc2: f883 203c strb.w r2, [r3, #60] ; 0x3c /* Init the low level hardware : GPIO, CLOCK, NVIC */ hi2c->MspInitCallback(hi2c); #else /* Init the low level hardware : GPIO, CLOCK, NVIC */ HAL_I2C_MspInit(hi2c); - 8001eae: 6878 ldr r0, [r7, #4] - 8001eb0: f7ff fb0a bl 80014c8 + 8001fc6: 6878 ldr r0, [r7, #4] + 8001fc8: f7ff fb0a bl 80015e0 #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */ } hi2c->State = HAL_I2C_STATE_BUSY; - 8001eb4: 687b ldr r3, [r7, #4] - 8001eb6: 2224 movs r2, #36 ; 0x24 - 8001eb8: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8001fcc: 687b ldr r3, [r7, #4] + 8001fce: 2224 movs r2, #36 ; 0x24 + 8001fd0: f883 203d strb.w r2, [r3, #61] ; 0x3d /* Disable the selected I2C peripheral */ __HAL_I2C_DISABLE(hi2c); - 8001ebc: 687b ldr r3, [r7, #4] - 8001ebe: 681b ldr r3, [r3, #0] - 8001ec0: 681a ldr r2, [r3, #0] - 8001ec2: 687b ldr r3, [r7, #4] - 8001ec4: 681b ldr r3, [r3, #0] - 8001ec6: f022 0201 bic.w r2, r2, #1 - 8001eca: 601a str r2, [r3, #0] + 8001fd4: 687b ldr r3, [r7, #4] + 8001fd6: 681b ldr r3, [r3, #0] + 8001fd8: 681a ldr r2, [r3, #0] + 8001fda: 687b ldr r3, [r7, #4] + 8001fdc: 681b ldr r3, [r3, #0] + 8001fde: f022 0201 bic.w r2, r2, #1 + 8001fe2: 601a str r2, [r3, #0] /*Reset I2C*/ hi2c->Instance->CR1 |= I2C_CR1_SWRST; - 8001ecc: 687b ldr r3, [r7, #4] - 8001ece: 681b ldr r3, [r3, #0] - 8001ed0: 681a ldr r2, [r3, #0] - 8001ed2: 687b ldr r3, [r7, #4] - 8001ed4: 681b ldr r3, [r3, #0] - 8001ed6: f442 4200 orr.w r2, r2, #32768 ; 0x8000 - 8001eda: 601a str r2, [r3, #0] + 8001fe4: 687b ldr r3, [r7, #4] + 8001fe6: 681b ldr r3, [r3, #0] + 8001fe8: 681a ldr r2, [r3, #0] + 8001fea: 687b ldr r3, [r7, #4] + 8001fec: 681b ldr r3, [r3, #0] + 8001fee: f442 4200 orr.w r2, r2, #32768 ; 0x8000 + 8001ff2: 601a str r2, [r3, #0] hi2c->Instance->CR1 &= ~I2C_CR1_SWRST; - 8001edc: 687b ldr r3, [r7, #4] - 8001ede: 681b ldr r3, [r3, #0] - 8001ee0: 681a ldr r2, [r3, #0] - 8001ee2: 687b ldr r3, [r7, #4] - 8001ee4: 681b ldr r3, [r3, #0] - 8001ee6: f422 4200 bic.w r2, r2, #32768 ; 0x8000 - 8001eea: 601a str r2, [r3, #0] + 8001ff4: 687b ldr r3, [r7, #4] + 8001ff6: 681b ldr r3, [r3, #0] + 8001ff8: 681a ldr r2, [r3, #0] + 8001ffa: 687b ldr r3, [r7, #4] + 8001ffc: 681b ldr r3, [r3, #0] + 8001ffe: f422 4200 bic.w r2, r2, #32768 ; 0x8000 + 8002002: 601a str r2, [r3, #0] /* Get PCLK1 frequency */ pclk1 = HAL_RCC_GetPCLK1Freq(); - 8001eec: f001 fba0 bl 8003630 - 8001ef0: 60f8 str r0, [r7, #12] + 8002004: f001 fba0 bl 8003748 + 8002008: 60f8 str r0, [r7, #12] /* Check the minimum allowed PCLK1 frequency */ if (I2C_MIN_PCLK_FREQ(pclk1, hi2c->Init.ClockSpeed) == 1U) - 8001ef2: 687b ldr r3, [r7, #4] - 8001ef4: 685b ldr r3, [r3, #4] - 8001ef6: 4a81 ldr r2, [pc, #516] ; (80020fc ) - 8001ef8: 4293 cmp r3, r2 - 8001efa: d807 bhi.n 8001f0c - 8001efc: 68fb ldr r3, [r7, #12] - 8001efe: 4a80 ldr r2, [pc, #512] ; (8002100 ) - 8001f00: 4293 cmp r3, r2 - 8001f02: bf94 ite ls - 8001f04: 2301 movls r3, #1 - 8001f06: 2300 movhi r3, #0 - 8001f08: b2db uxtb r3, r3 - 8001f0a: e006 b.n 8001f1a - 8001f0c: 68fb ldr r3, [r7, #12] - 8001f0e: 4a7d ldr r2, [pc, #500] ; (8002104 ) - 8001f10: 4293 cmp r3, r2 - 8001f12: bf94 ite ls - 8001f14: 2301 movls r3, #1 - 8001f16: 2300 movhi r3, #0 - 8001f18: b2db uxtb r3, r3 - 8001f1a: 2b00 cmp r3, #0 - 8001f1c: d001 beq.n 8001f22 + 800200a: 687b ldr r3, [r7, #4] + 800200c: 685b ldr r3, [r3, #4] + 800200e: 4a81 ldr r2, [pc, #516] ; (8002214 ) + 8002010: 4293 cmp r3, r2 + 8002012: d807 bhi.n 8002024 + 8002014: 68fb ldr r3, [r7, #12] + 8002016: 4a80 ldr r2, [pc, #512] ; (8002218 ) + 8002018: 4293 cmp r3, r2 + 800201a: bf94 ite ls + 800201c: 2301 movls r3, #1 + 800201e: 2300 movhi r3, #0 + 8002020: b2db uxtb r3, r3 + 8002022: e006 b.n 8002032 + 8002024: 68fb ldr r3, [r7, #12] + 8002026: 4a7d ldr r2, [pc, #500] ; (800221c ) + 8002028: 4293 cmp r3, r2 + 800202a: bf94 ite ls + 800202c: 2301 movls r3, #1 + 800202e: 2300 movhi r3, #0 + 8002030: b2db uxtb r3, r3 + 8002032: 2b00 cmp r3, #0 + 8002034: d001 beq.n 800203a { return HAL_ERROR; - 8001f1e: 2301 movs r3, #1 - 8001f20: e0e7 b.n 80020f2 + 8002036: 2301 movs r3, #1 + 8002038: e0e7 b.n 800220a } /* Calculate frequency range */ freqrange = I2C_FREQRANGE(pclk1); - 8001f22: 68fb ldr r3, [r7, #12] - 8001f24: 4a78 ldr r2, [pc, #480] ; (8002108 ) - 8001f26: fba2 2303 umull r2, r3, r2, r3 - 8001f2a: 0c9b lsrs r3, r3, #18 - 8001f2c: 60bb str r3, [r7, #8] + 800203a: 68fb ldr r3, [r7, #12] + 800203c: 4a78 ldr r2, [pc, #480] ; (8002220 ) + 800203e: fba2 2303 umull r2, r3, r2, r3 + 8002042: 0c9b lsrs r3, r3, #18 + 8002044: 60bb str r3, [r7, #8] /*---------------------------- I2Cx CR2 Configuration ----------------------*/ /* Configure I2Cx: Frequency range */ MODIFY_REG(hi2c->Instance->CR2, I2C_CR2_FREQ, freqrange); - 8001f2e: 687b ldr r3, [r7, #4] - 8001f30: 681b ldr r3, [r3, #0] - 8001f32: 685b ldr r3, [r3, #4] - 8001f34: f023 013f bic.w r1, r3, #63 ; 0x3f - 8001f38: 687b ldr r3, [r7, #4] - 8001f3a: 681b ldr r3, [r3, #0] - 8001f3c: 68ba ldr r2, [r7, #8] - 8001f3e: 430a orrs r2, r1 - 8001f40: 605a str r2, [r3, #4] + 8002046: 687b ldr r3, [r7, #4] + 8002048: 681b ldr r3, [r3, #0] + 800204a: 685b ldr r3, [r3, #4] + 800204c: f023 013f bic.w r1, r3, #63 ; 0x3f + 8002050: 687b ldr r3, [r7, #4] + 8002052: 681b ldr r3, [r3, #0] + 8002054: 68ba ldr r2, [r7, #8] + 8002056: 430a orrs r2, r1 + 8002058: 605a str r2, [r3, #4] /*---------------------------- I2Cx TRISE Configuration --------------------*/ /* Configure I2Cx: Rise Time */ MODIFY_REG(hi2c->Instance->TRISE, I2C_TRISE_TRISE, I2C_RISE_TIME(freqrange, hi2c->Init.ClockSpeed)); - 8001f42: 687b ldr r3, [r7, #4] - 8001f44: 681b ldr r3, [r3, #0] - 8001f46: 6a1b ldr r3, [r3, #32] - 8001f48: f023 013f bic.w r1, r3, #63 ; 0x3f - 8001f4c: 687b ldr r3, [r7, #4] - 8001f4e: 685b ldr r3, [r3, #4] - 8001f50: 4a6a ldr r2, [pc, #424] ; (80020fc ) - 8001f52: 4293 cmp r3, r2 - 8001f54: d802 bhi.n 8001f5c - 8001f56: 68bb ldr r3, [r7, #8] - 8001f58: 3301 adds r3, #1 - 8001f5a: e009 b.n 8001f70 - 8001f5c: 68bb ldr r3, [r7, #8] - 8001f5e: f44f 7296 mov.w r2, #300 ; 0x12c - 8001f62: fb02 f303 mul.w r3, r2, r3 - 8001f66: 4a69 ldr r2, [pc, #420] ; (800210c ) - 8001f68: fba2 2303 umull r2, r3, r2, r3 - 8001f6c: 099b lsrs r3, r3, #6 - 8001f6e: 3301 adds r3, #1 - 8001f70: 687a ldr r2, [r7, #4] - 8001f72: 6812 ldr r2, [r2, #0] - 8001f74: 430b orrs r3, r1 - 8001f76: 6213 str r3, [r2, #32] + 800205a: 687b ldr r3, [r7, #4] + 800205c: 681b ldr r3, [r3, #0] + 800205e: 6a1b ldr r3, [r3, #32] + 8002060: f023 013f bic.w r1, r3, #63 ; 0x3f + 8002064: 687b ldr r3, [r7, #4] + 8002066: 685b ldr r3, [r3, #4] + 8002068: 4a6a ldr r2, [pc, #424] ; (8002214 ) + 800206a: 4293 cmp r3, r2 + 800206c: d802 bhi.n 8002074 + 800206e: 68bb ldr r3, [r7, #8] + 8002070: 3301 adds r3, #1 + 8002072: e009 b.n 8002088 + 8002074: 68bb ldr r3, [r7, #8] + 8002076: f44f 7296 mov.w r2, #300 ; 0x12c + 800207a: fb02 f303 mul.w r3, r2, r3 + 800207e: 4a69 ldr r2, [pc, #420] ; (8002224 ) + 8002080: fba2 2303 umull r2, r3, r2, r3 + 8002084: 099b lsrs r3, r3, #6 + 8002086: 3301 adds r3, #1 + 8002088: 687a ldr r2, [r7, #4] + 800208a: 6812 ldr r2, [r2, #0] + 800208c: 430b orrs r3, r1 + 800208e: 6213 str r3, [r2, #32] /*---------------------------- I2Cx CCR Configuration ----------------------*/ /* Configure I2Cx: Speed */ MODIFY_REG(hi2c->Instance->CCR, (I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), I2C_SPEED(pclk1, hi2c->Init.ClockSpeed, hi2c->Init.DutyCycle)); - 8001f78: 687b ldr r3, [r7, #4] - 8001f7a: 681b ldr r3, [r3, #0] - 8001f7c: 69db ldr r3, [r3, #28] - 8001f7e: f423 424f bic.w r2, r3, #52992 ; 0xcf00 - 8001f82: f022 02ff bic.w r2, r2, #255 ; 0xff - 8001f86: 687b ldr r3, [r7, #4] - 8001f88: 685b ldr r3, [r3, #4] - 8001f8a: 495c ldr r1, [pc, #368] ; (80020fc ) - 8001f8c: 428b cmp r3, r1 - 8001f8e: d819 bhi.n 8001fc4 - 8001f90: 68fb ldr r3, [r7, #12] - 8001f92: 1e59 subs r1, r3, #1 - 8001f94: 687b ldr r3, [r7, #4] - 8001f96: 685b ldr r3, [r3, #4] - 8001f98: 005b lsls r3, r3, #1 - 8001f9a: fbb1 f3f3 udiv r3, r1, r3 - 8001f9e: 1c59 adds r1, r3, #1 - 8001fa0: f640 73fc movw r3, #4092 ; 0xffc - 8001fa4: 400b ands r3, r1 - 8001fa6: 2b00 cmp r3, #0 - 8001fa8: d00a beq.n 8001fc0 - 8001faa: 68fb ldr r3, [r7, #12] - 8001fac: 1e59 subs r1, r3, #1 - 8001fae: 687b ldr r3, [r7, #4] - 8001fb0: 685b ldr r3, [r3, #4] - 8001fb2: 005b lsls r3, r3, #1 - 8001fb4: fbb1 f3f3 udiv r3, r1, r3 - 8001fb8: 3301 adds r3, #1 - 8001fba: f3c3 030b ubfx r3, r3, #0, #12 - 8001fbe: e051 b.n 8002064 - 8001fc0: 2304 movs r3, #4 - 8001fc2: e04f b.n 8002064 - 8001fc4: 687b ldr r3, [r7, #4] - 8001fc6: 689b ldr r3, [r3, #8] - 8001fc8: 2b00 cmp r3, #0 - 8001fca: d111 bne.n 8001ff0 - 8001fcc: 68fb ldr r3, [r7, #12] - 8001fce: 1e58 subs r0, r3, #1 - 8001fd0: 687b ldr r3, [r7, #4] - 8001fd2: 6859 ldr r1, [r3, #4] - 8001fd4: 460b mov r3, r1 - 8001fd6: 005b lsls r3, r3, #1 - 8001fd8: 440b add r3, r1 - 8001fda: fbb0 f3f3 udiv r3, r0, r3 - 8001fde: 3301 adds r3, #1 - 8001fe0: f3c3 030b ubfx r3, r3, #0, #12 - 8001fe4: 2b00 cmp r3, #0 - 8001fe6: bf0c ite eq - 8001fe8: 2301 moveq r3, #1 - 8001fea: 2300 movne r3, #0 - 8001fec: b2db uxtb r3, r3 - 8001fee: e012 b.n 8002016 - 8001ff0: 68fb ldr r3, [r7, #12] - 8001ff2: 1e58 subs r0, r3, #1 - 8001ff4: 687b ldr r3, [r7, #4] - 8001ff6: 6859 ldr r1, [r3, #4] - 8001ff8: 460b mov r3, r1 - 8001ffa: 009b lsls r3, r3, #2 - 8001ffc: 440b add r3, r1 - 8001ffe: 0099 lsls r1, r3, #2 - 8002000: 440b add r3, r1 - 8002002: fbb0 f3f3 udiv r3, r0, r3 - 8002006: 3301 adds r3, #1 - 8002008: f3c3 030b ubfx r3, r3, #0, #12 - 800200c: 2b00 cmp r3, #0 - 800200e: bf0c ite eq - 8002010: 2301 moveq r3, #1 - 8002012: 2300 movne r3, #0 - 8002014: b2db uxtb r3, r3 - 8002016: 2b00 cmp r3, #0 - 8002018: d001 beq.n 800201e - 800201a: 2301 movs r3, #1 - 800201c: e022 b.n 8002064 - 800201e: 687b ldr r3, [r7, #4] - 8002020: 689b ldr r3, [r3, #8] - 8002022: 2b00 cmp r3, #0 - 8002024: d10e bne.n 8002044 - 8002026: 68fb ldr r3, [r7, #12] - 8002028: 1e58 subs r0, r3, #1 - 800202a: 687b ldr r3, [r7, #4] - 800202c: 6859 ldr r1, [r3, #4] - 800202e: 460b mov r3, r1 - 8002030: 005b lsls r3, r3, #1 - 8002032: 440b add r3, r1 - 8002034: fbb0 f3f3 udiv r3, r0, r3 - 8002038: 3301 adds r3, #1 - 800203a: f3c3 030b ubfx r3, r3, #0, #12 - 800203e: f443 4300 orr.w r3, r3, #32768 ; 0x8000 - 8002042: e00f b.n 8002064 - 8002044: 68fb ldr r3, [r7, #12] - 8002046: 1e58 subs r0, r3, #1 - 8002048: 687b ldr r3, [r7, #4] - 800204a: 6859 ldr r1, [r3, #4] - 800204c: 460b mov r3, r1 - 800204e: 009b lsls r3, r3, #2 - 8002050: 440b add r3, r1 - 8002052: 0099 lsls r1, r3, #2 - 8002054: 440b add r3, r1 - 8002056: fbb0 f3f3 udiv r3, r0, r3 - 800205a: 3301 adds r3, #1 - 800205c: f3c3 030b ubfx r3, r3, #0, #12 - 8002060: f443 4340 orr.w r3, r3, #49152 ; 0xc000 - 8002064: 6879 ldr r1, [r7, #4] - 8002066: 6809 ldr r1, [r1, #0] - 8002068: 4313 orrs r3, r2 - 800206a: 61cb str r3, [r1, #28] + 8002090: 687b ldr r3, [r7, #4] + 8002092: 681b ldr r3, [r3, #0] + 8002094: 69db ldr r3, [r3, #28] + 8002096: f423 424f bic.w r2, r3, #52992 ; 0xcf00 + 800209a: f022 02ff bic.w r2, r2, #255 ; 0xff + 800209e: 687b ldr r3, [r7, #4] + 80020a0: 685b ldr r3, [r3, #4] + 80020a2: 495c ldr r1, [pc, #368] ; (8002214 ) + 80020a4: 428b cmp r3, r1 + 80020a6: d819 bhi.n 80020dc + 80020a8: 68fb ldr r3, [r7, #12] + 80020aa: 1e59 subs r1, r3, #1 + 80020ac: 687b ldr r3, [r7, #4] + 80020ae: 685b ldr r3, [r3, #4] + 80020b0: 005b lsls r3, r3, #1 + 80020b2: fbb1 f3f3 udiv r3, r1, r3 + 80020b6: 1c59 adds r1, r3, #1 + 80020b8: f640 73fc movw r3, #4092 ; 0xffc + 80020bc: 400b ands r3, r1 + 80020be: 2b00 cmp r3, #0 + 80020c0: d00a beq.n 80020d8 + 80020c2: 68fb ldr r3, [r7, #12] + 80020c4: 1e59 subs r1, r3, #1 + 80020c6: 687b ldr r3, [r7, #4] + 80020c8: 685b ldr r3, [r3, #4] + 80020ca: 005b lsls r3, r3, #1 + 80020cc: fbb1 f3f3 udiv r3, r1, r3 + 80020d0: 3301 adds r3, #1 + 80020d2: f3c3 030b ubfx r3, r3, #0, #12 + 80020d6: e051 b.n 800217c + 80020d8: 2304 movs r3, #4 + 80020da: e04f b.n 800217c + 80020dc: 687b ldr r3, [r7, #4] + 80020de: 689b ldr r3, [r3, #8] + 80020e0: 2b00 cmp r3, #0 + 80020e2: d111 bne.n 8002108 + 80020e4: 68fb ldr r3, [r7, #12] + 80020e6: 1e58 subs r0, r3, #1 + 80020e8: 687b ldr r3, [r7, #4] + 80020ea: 6859 ldr r1, [r3, #4] + 80020ec: 460b mov r3, r1 + 80020ee: 005b lsls r3, r3, #1 + 80020f0: 440b add r3, r1 + 80020f2: fbb0 f3f3 udiv r3, r0, r3 + 80020f6: 3301 adds r3, #1 + 80020f8: f3c3 030b ubfx r3, r3, #0, #12 + 80020fc: 2b00 cmp r3, #0 + 80020fe: bf0c ite eq + 8002100: 2301 moveq r3, #1 + 8002102: 2300 movne r3, #0 + 8002104: b2db uxtb r3, r3 + 8002106: e012 b.n 800212e + 8002108: 68fb ldr r3, [r7, #12] + 800210a: 1e58 subs r0, r3, #1 + 800210c: 687b ldr r3, [r7, #4] + 800210e: 6859 ldr r1, [r3, #4] + 8002110: 460b mov r3, r1 + 8002112: 009b lsls r3, r3, #2 + 8002114: 440b add r3, r1 + 8002116: 0099 lsls r1, r3, #2 + 8002118: 440b add r3, r1 + 800211a: fbb0 f3f3 udiv r3, r0, r3 + 800211e: 3301 adds r3, #1 + 8002120: f3c3 030b ubfx r3, r3, #0, #12 + 8002124: 2b00 cmp r3, #0 + 8002126: bf0c ite eq + 8002128: 2301 moveq r3, #1 + 800212a: 2300 movne r3, #0 + 800212c: b2db uxtb r3, r3 + 800212e: 2b00 cmp r3, #0 + 8002130: d001 beq.n 8002136 + 8002132: 2301 movs r3, #1 + 8002134: e022 b.n 800217c + 8002136: 687b ldr r3, [r7, #4] + 8002138: 689b ldr r3, [r3, #8] + 800213a: 2b00 cmp r3, #0 + 800213c: d10e bne.n 800215c + 800213e: 68fb ldr r3, [r7, #12] + 8002140: 1e58 subs r0, r3, #1 + 8002142: 687b ldr r3, [r7, #4] + 8002144: 6859 ldr r1, [r3, #4] + 8002146: 460b mov r3, r1 + 8002148: 005b lsls r3, r3, #1 + 800214a: 440b add r3, r1 + 800214c: fbb0 f3f3 udiv r3, r0, r3 + 8002150: 3301 adds r3, #1 + 8002152: f3c3 030b ubfx r3, r3, #0, #12 + 8002156: f443 4300 orr.w r3, r3, #32768 ; 0x8000 + 800215a: e00f b.n 800217c + 800215c: 68fb ldr r3, [r7, #12] + 800215e: 1e58 subs r0, r3, #1 + 8002160: 687b ldr r3, [r7, #4] + 8002162: 6859 ldr r1, [r3, #4] + 8002164: 460b mov r3, r1 + 8002166: 009b lsls r3, r3, #2 + 8002168: 440b add r3, r1 + 800216a: 0099 lsls r1, r3, #2 + 800216c: 440b add r3, r1 + 800216e: fbb0 f3f3 udiv r3, r0, r3 + 8002172: 3301 adds r3, #1 + 8002174: f3c3 030b ubfx r3, r3, #0, #12 + 8002178: f443 4340 orr.w r3, r3, #49152 ; 0xc000 + 800217c: 6879 ldr r1, [r7, #4] + 800217e: 6809 ldr r1, [r1, #0] + 8002180: 4313 orrs r3, r2 + 8002182: 61cb str r3, [r1, #28] /*---------------------------- I2Cx CR1 Configuration ----------------------*/ /* Configure I2Cx: Generalcall and NoStretch mode */ MODIFY_REG(hi2c->Instance->CR1, (I2C_CR1_ENGC | I2C_CR1_NOSTRETCH), (hi2c->Init.GeneralCallMode | hi2c->Init.NoStretchMode)); - 800206c: 687b ldr r3, [r7, #4] - 800206e: 681b ldr r3, [r3, #0] - 8002070: 681b ldr r3, [r3, #0] - 8002072: f023 01c0 bic.w r1, r3, #192 ; 0xc0 - 8002076: 687b ldr r3, [r7, #4] - 8002078: 69da ldr r2, [r3, #28] - 800207a: 687b ldr r3, [r7, #4] - 800207c: 6a1b ldr r3, [r3, #32] - 800207e: 431a orrs r2, r3 - 8002080: 687b ldr r3, [r7, #4] - 8002082: 681b ldr r3, [r3, #0] - 8002084: 430a orrs r2, r1 - 8002086: 601a str r2, [r3, #0] + 8002184: 687b ldr r3, [r7, #4] + 8002186: 681b ldr r3, [r3, #0] + 8002188: 681b ldr r3, [r3, #0] + 800218a: f023 01c0 bic.w r1, r3, #192 ; 0xc0 + 800218e: 687b ldr r3, [r7, #4] + 8002190: 69da ldr r2, [r3, #28] + 8002192: 687b ldr r3, [r7, #4] + 8002194: 6a1b ldr r3, [r3, #32] + 8002196: 431a orrs r2, r3 + 8002198: 687b ldr r3, [r7, #4] + 800219a: 681b ldr r3, [r3, #0] + 800219c: 430a orrs r2, r1 + 800219e: 601a str r2, [r3, #0] /*---------------------------- I2Cx OAR1 Configuration ---------------------*/ /* Configure I2Cx: Own Address1 and addressing mode */ MODIFY_REG(hi2c->Instance->OAR1, (I2C_OAR1_ADDMODE | I2C_OAR1_ADD8_9 | I2C_OAR1_ADD1_7 | I2C_OAR1_ADD0), (hi2c->Init.AddressingMode | hi2c->Init.OwnAddress1)); - 8002088: 687b ldr r3, [r7, #4] - 800208a: 681b ldr r3, [r3, #0] - 800208c: 689b ldr r3, [r3, #8] - 800208e: f423 4303 bic.w r3, r3, #33536 ; 0x8300 - 8002092: f023 03ff bic.w r3, r3, #255 ; 0xff - 8002096: 687a ldr r2, [r7, #4] - 8002098: 6911 ldr r1, [r2, #16] - 800209a: 687a ldr r2, [r7, #4] - 800209c: 68d2 ldr r2, [r2, #12] - 800209e: 4311 orrs r1, r2 - 80020a0: 687a ldr r2, [r7, #4] - 80020a2: 6812 ldr r2, [r2, #0] - 80020a4: 430b orrs r3, r1 - 80020a6: 6093 str r3, [r2, #8] + 80021a0: 687b ldr r3, [r7, #4] + 80021a2: 681b ldr r3, [r3, #0] + 80021a4: 689b ldr r3, [r3, #8] + 80021a6: f423 4303 bic.w r3, r3, #33536 ; 0x8300 + 80021aa: f023 03ff bic.w r3, r3, #255 ; 0xff + 80021ae: 687a ldr r2, [r7, #4] + 80021b0: 6911 ldr r1, [r2, #16] + 80021b2: 687a ldr r2, [r7, #4] + 80021b4: 68d2 ldr r2, [r2, #12] + 80021b6: 4311 orrs r1, r2 + 80021b8: 687a ldr r2, [r7, #4] + 80021ba: 6812 ldr r2, [r2, #0] + 80021bc: 430b orrs r3, r1 + 80021be: 6093 str r3, [r2, #8] /*---------------------------- I2Cx OAR2 Configuration ---------------------*/ /* Configure I2Cx: Dual mode and Own Address2 */ MODIFY_REG(hi2c->Instance->OAR2, (I2C_OAR2_ENDUAL | I2C_OAR2_ADD2), (hi2c->Init.DualAddressMode | hi2c->Init.OwnAddress2)); - 80020a8: 687b ldr r3, [r7, #4] - 80020aa: 681b ldr r3, [r3, #0] - 80020ac: 68db ldr r3, [r3, #12] - 80020ae: f023 01ff bic.w r1, r3, #255 ; 0xff - 80020b2: 687b ldr r3, [r7, #4] - 80020b4: 695a ldr r2, [r3, #20] - 80020b6: 687b ldr r3, [r7, #4] - 80020b8: 699b ldr r3, [r3, #24] - 80020ba: 431a orrs r2, r3 - 80020bc: 687b ldr r3, [r7, #4] - 80020be: 681b ldr r3, [r3, #0] - 80020c0: 430a orrs r2, r1 - 80020c2: 60da str r2, [r3, #12] + 80021c0: 687b ldr r3, [r7, #4] + 80021c2: 681b ldr r3, [r3, #0] + 80021c4: 68db ldr r3, [r3, #12] + 80021c6: f023 01ff bic.w r1, r3, #255 ; 0xff + 80021ca: 687b ldr r3, [r7, #4] + 80021cc: 695a ldr r2, [r3, #20] + 80021ce: 687b ldr r3, [r7, #4] + 80021d0: 699b ldr r3, [r3, #24] + 80021d2: 431a orrs r2, r3 + 80021d4: 687b ldr r3, [r7, #4] + 80021d6: 681b ldr r3, [r3, #0] + 80021d8: 430a orrs r2, r1 + 80021da: 60da str r2, [r3, #12] /* Enable the selected I2C peripheral */ __HAL_I2C_ENABLE(hi2c); - 80020c4: 687b ldr r3, [r7, #4] - 80020c6: 681b ldr r3, [r3, #0] - 80020c8: 681a ldr r2, [r3, #0] - 80020ca: 687b ldr r3, [r7, #4] - 80020cc: 681b ldr r3, [r3, #0] - 80020ce: f042 0201 orr.w r2, r2, #1 - 80020d2: 601a str r2, [r3, #0] + 80021dc: 687b ldr r3, [r7, #4] + 80021de: 681b ldr r3, [r3, #0] + 80021e0: 681a ldr r2, [r3, #0] + 80021e2: 687b ldr r3, [r7, #4] + 80021e4: 681b ldr r3, [r3, #0] + 80021e6: f042 0201 orr.w r2, r2, #1 + 80021ea: 601a str r2, [r3, #0] hi2c->ErrorCode = HAL_I2C_ERROR_NONE; - 80020d4: 687b ldr r3, [r7, #4] - 80020d6: 2200 movs r2, #0 - 80020d8: 641a str r2, [r3, #64] ; 0x40 + 80021ec: 687b ldr r3, [r7, #4] + 80021ee: 2200 movs r2, #0 + 80021f0: 641a str r2, [r3, #64] ; 0x40 hi2c->State = HAL_I2C_STATE_READY; - 80020da: 687b ldr r3, [r7, #4] - 80020dc: 2220 movs r2, #32 - 80020de: f883 203d strb.w r2, [r3, #61] ; 0x3d + 80021f2: 687b ldr r3, [r7, #4] + 80021f4: 2220 movs r2, #32 + 80021f6: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->PreviousState = I2C_STATE_NONE; - 80020e2: 687b ldr r3, [r7, #4] - 80020e4: 2200 movs r2, #0 - 80020e6: 631a str r2, [r3, #48] ; 0x30 + 80021fa: 687b ldr r3, [r7, #4] + 80021fc: 2200 movs r2, #0 + 80021fe: 631a str r2, [r3, #48] ; 0x30 hi2c->Mode = HAL_I2C_MODE_NONE; - 80020e8: 687b ldr r3, [r7, #4] - 80020ea: 2200 movs r2, #0 - 80020ec: f883 203e strb.w r2, [r3, #62] ; 0x3e + 8002200: 687b ldr r3, [r7, #4] + 8002202: 2200 movs r2, #0 + 8002204: f883 203e strb.w r2, [r3, #62] ; 0x3e return HAL_OK; - 80020f0: 2300 movs r3, #0 + 8002208: 2300 movs r3, #0 } - 80020f2: 4618 mov r0, r3 - 80020f4: 3710 adds r7, #16 - 80020f6: 46bd mov sp, r7 - 80020f8: bd80 pop {r7, pc} - 80020fa: bf00 nop - 80020fc: 000186a0 .word 0x000186a0 - 8002100: 001e847f .word 0x001e847f - 8002104: 003d08ff .word 0x003d08ff - 8002108: 431bde83 .word 0x431bde83 - 800210c: 10624dd3 .word 0x10624dd3 + 800220a: 4618 mov r0, r3 + 800220c: 3710 adds r7, #16 + 800220e: 46bd mov sp, r7 + 8002210: bd80 pop {r7, pc} + 8002212: bf00 nop + 8002214: 000186a0 .word 0x000186a0 + 8002218: 001e847f .word 0x001e847f + 800221c: 003d08ff .word 0x003d08ff + 8002220: 431bde83 .word 0x431bde83 + 8002224: 10624dd3 .word 0x10624dd3 -08002110 : +08002228 : * @param Size Amount of data to be sent * @param Timeout Timeout duration * @retval HAL status */ HAL_StatusTypeDef HAL_I2C_Mem_Write(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout) { - 8002110: b580 push {r7, lr} - 8002112: b088 sub sp, #32 - 8002114: af02 add r7, sp, #8 - 8002116: 60f8 str r0, [r7, #12] - 8002118: 4608 mov r0, r1 - 800211a: 4611 mov r1, r2 - 800211c: 461a mov r2, r3 - 800211e: 4603 mov r3, r0 - 8002120: 817b strh r3, [r7, #10] - 8002122: 460b mov r3, r1 - 8002124: 813b strh r3, [r7, #8] - 8002126: 4613 mov r3, r2 - 8002128: 80fb strh r3, [r7, #6] + 8002228: b580 push {r7, lr} + 800222a: b088 sub sp, #32 + 800222c: af02 add r7, sp, #8 + 800222e: 60f8 str r0, [r7, #12] + 8002230: 4608 mov r0, r1 + 8002232: 4611 mov r1, r2 + 8002234: 461a mov r2, r3 + 8002236: 4603 mov r3, r0 + 8002238: 817b strh r3, [r7, #10] + 800223a: 460b mov r3, r1 + 800223c: 813b strh r3, [r7, #8] + 800223e: 4613 mov r3, r2 + 8002240: 80fb strh r3, [r7, #6] /* Init tickstart for timeout management*/ uint32_t tickstart = HAL_GetTick(); - 800212a: f7ff fbd7 bl 80018dc - 800212e: 6178 str r0, [r7, #20] + 8002242: f7ff fbd7 bl 80019f4 + 8002246: 6178 str r0, [r7, #20] /* Check the parameters */ assert_param(IS_I2C_MEMADD_SIZE(MemAddSize)); if (hi2c->State == HAL_I2C_STATE_READY) - 8002130: 68fb ldr r3, [r7, #12] - 8002132: f893 303d ldrb.w r3, [r3, #61] ; 0x3d - 8002136: b2db uxtb r3, r3 - 8002138: 2b20 cmp r3, #32 - 800213a: f040 80d9 bne.w 80022f0 + 8002248: 68fb ldr r3, [r7, #12] + 800224a: f893 303d ldrb.w r3, [r3, #61] ; 0x3d + 800224e: b2db uxtb r3, r3 + 8002250: 2b20 cmp r3, #32 + 8002252: f040 80d9 bne.w 8002408 { /* Wait until BUSY flag is reset */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG, tickstart) != HAL_OK) - 800213e: 697b ldr r3, [r7, #20] - 8002140: 9300 str r3, [sp, #0] - 8002142: 2319 movs r3, #25 - 8002144: 2201 movs r2, #1 - 8002146: 496d ldr r1, [pc, #436] ; (80022fc ) - 8002148: 68f8 ldr r0, [r7, #12] - 800214a: f000 fcc1 bl 8002ad0 - 800214e: 4603 mov r3, r0 - 8002150: 2b00 cmp r3, #0 - 8002152: d001 beq.n 8002158 + 8002256: 697b ldr r3, [r7, #20] + 8002258: 9300 str r3, [sp, #0] + 800225a: 2319 movs r3, #25 + 800225c: 2201 movs r2, #1 + 800225e: 496d ldr r1, [pc, #436] ; (8002414 ) + 8002260: 68f8 ldr r0, [r7, #12] + 8002262: f000 fcc1 bl 8002be8 + 8002266: 4603 mov r3, r0 + 8002268: 2b00 cmp r3, #0 + 800226a: d001 beq.n 8002270 { return HAL_BUSY; - 8002154: 2302 movs r3, #2 - 8002156: e0cc b.n 80022f2 + 800226c: 2302 movs r3, #2 + 800226e: e0cc b.n 800240a } /* Process Locked */ __HAL_LOCK(hi2c); - 8002158: 68fb ldr r3, [r7, #12] - 800215a: f893 303c ldrb.w r3, [r3, #60] ; 0x3c - 800215e: 2b01 cmp r3, #1 - 8002160: d101 bne.n 8002166 - 8002162: 2302 movs r3, #2 - 8002164: e0c5 b.n 80022f2 - 8002166: 68fb ldr r3, [r7, #12] - 8002168: 2201 movs r2, #1 - 800216a: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002270: 68fb ldr r3, [r7, #12] + 8002272: f893 303c ldrb.w r3, [r3, #60] ; 0x3c + 8002276: 2b01 cmp r3, #1 + 8002278: d101 bne.n 800227e + 800227a: 2302 movs r3, #2 + 800227c: e0c5 b.n 800240a + 800227e: 68fb ldr r3, [r7, #12] + 8002280: 2201 movs r2, #1 + 8002282: f883 203c strb.w r2, [r3, #60] ; 0x3c /* Check if the I2C is already enabled */ if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE) - 800216e: 68fb ldr r3, [r7, #12] - 8002170: 681b ldr r3, [r3, #0] - 8002172: 681b ldr r3, [r3, #0] - 8002174: f003 0301 and.w r3, r3, #1 - 8002178: 2b01 cmp r3, #1 - 800217a: d007 beq.n 800218c + 8002286: 68fb ldr r3, [r7, #12] + 8002288: 681b ldr r3, [r3, #0] + 800228a: 681b ldr r3, [r3, #0] + 800228c: f003 0301 and.w r3, r3, #1 + 8002290: 2b01 cmp r3, #1 + 8002292: d007 beq.n 80022a4 { /* Enable I2C peripheral */ __HAL_I2C_ENABLE(hi2c); - 800217c: 68fb ldr r3, [r7, #12] - 800217e: 681b ldr r3, [r3, #0] - 8002180: 681a ldr r2, [r3, #0] - 8002182: 68fb ldr r3, [r7, #12] - 8002184: 681b ldr r3, [r3, #0] - 8002186: f042 0201 orr.w r2, r2, #1 - 800218a: 601a str r2, [r3, #0] + 8002294: 68fb ldr r3, [r7, #12] + 8002296: 681b ldr r3, [r3, #0] + 8002298: 681a ldr r2, [r3, #0] + 800229a: 68fb ldr r3, [r7, #12] + 800229c: 681b ldr r3, [r3, #0] + 800229e: f042 0201 orr.w r2, r2, #1 + 80022a2: 601a str r2, [r3, #0] } /* Disable Pos */ CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS); - 800218c: 68fb ldr r3, [r7, #12] - 800218e: 681b ldr r3, [r3, #0] - 8002190: 681a ldr r2, [r3, #0] - 8002192: 68fb ldr r3, [r7, #12] - 8002194: 681b ldr r3, [r3, #0] - 8002196: f422 6200 bic.w r2, r2, #2048 ; 0x800 - 800219a: 601a str r2, [r3, #0] + 80022a4: 68fb ldr r3, [r7, #12] + 80022a6: 681b ldr r3, [r3, #0] + 80022a8: 681a ldr r2, [r3, #0] + 80022aa: 68fb ldr r3, [r7, #12] + 80022ac: 681b ldr r3, [r3, #0] + 80022ae: f422 6200 bic.w r2, r2, #2048 ; 0x800 + 80022b2: 601a str r2, [r3, #0] hi2c->State = HAL_I2C_STATE_BUSY_TX; - 800219c: 68fb ldr r3, [r7, #12] - 800219e: 2221 movs r2, #33 ; 0x21 - 80021a0: f883 203d strb.w r2, [r3, #61] ; 0x3d + 80022b4: 68fb ldr r3, [r7, #12] + 80022b6: 2221 movs r2, #33 ; 0x21 + 80022b8: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_MEM; - 80021a4: 68fb ldr r3, [r7, #12] - 80021a6: 2240 movs r2, #64 ; 0x40 - 80021a8: f883 203e strb.w r2, [r3, #62] ; 0x3e + 80022bc: 68fb ldr r3, [r7, #12] + 80022be: 2240 movs r2, #64 ; 0x40 + 80022c0: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode = HAL_I2C_ERROR_NONE; - 80021ac: 68fb ldr r3, [r7, #12] - 80021ae: 2200 movs r2, #0 - 80021b0: 641a str r2, [r3, #64] ; 0x40 + 80022c4: 68fb ldr r3, [r7, #12] + 80022c6: 2200 movs r2, #0 + 80022c8: 641a str r2, [r3, #64] ; 0x40 /* Prepare transfer parameters */ hi2c->pBuffPtr = pData; - 80021b2: 68fb ldr r3, [r7, #12] - 80021b4: 6a3a ldr r2, [r7, #32] - 80021b6: 625a str r2, [r3, #36] ; 0x24 + 80022ca: 68fb ldr r3, [r7, #12] + 80022cc: 6a3a ldr r2, [r7, #32] + 80022ce: 625a str r2, [r3, #36] ; 0x24 hi2c->XferCount = Size; - 80021b8: 68fb ldr r3, [r7, #12] - 80021ba: 8cba ldrh r2, [r7, #36] ; 0x24 - 80021bc: 855a strh r2, [r3, #42] ; 0x2a + 80022d0: 68fb ldr r3, [r7, #12] + 80022d2: 8cba ldrh r2, [r7, #36] ; 0x24 + 80022d4: 855a strh r2, [r3, #42] ; 0x2a hi2c->XferSize = hi2c->XferCount; - 80021be: 68fb ldr r3, [r7, #12] - 80021c0: 8d5b ldrh r3, [r3, #42] ; 0x2a - 80021c2: b29a uxth r2, r3 - 80021c4: 68fb ldr r3, [r7, #12] - 80021c6: 851a strh r2, [r3, #40] ; 0x28 + 80022d6: 68fb ldr r3, [r7, #12] + 80022d8: 8d5b ldrh r3, [r3, #42] ; 0x2a + 80022da: b29a uxth r2, r3 + 80022dc: 68fb ldr r3, [r7, #12] + 80022de: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferOptions = I2C_NO_OPTION_FRAME; - 80021c8: 68fb ldr r3, [r7, #12] - 80021ca: 4a4d ldr r2, [pc, #308] ; (8002300 ) - 80021cc: 62da str r2, [r3, #44] ; 0x2c + 80022e0: 68fb ldr r3, [r7, #12] + 80022e2: 4a4d ldr r2, [pc, #308] ; (8002418 ) + 80022e4: 62da str r2, [r3, #44] ; 0x2c /* Send Slave Address and Memory Address */ if (I2C_RequestMemoryWrite(hi2c, DevAddress, MemAddress, MemAddSize, Timeout, tickstart) != HAL_OK) - 80021ce: 88f8 ldrh r0, [r7, #6] - 80021d0: 893a ldrh r2, [r7, #8] - 80021d2: 8979 ldrh r1, [r7, #10] - 80021d4: 697b ldr r3, [r7, #20] - 80021d6: 9301 str r3, [sp, #4] - 80021d8: 6abb ldr r3, [r7, #40] ; 0x28 - 80021da: 9300 str r3, [sp, #0] - 80021dc: 4603 mov r3, r0 - 80021de: 68f8 ldr r0, [r7, #12] - 80021e0: f000 faf8 bl 80027d4 - 80021e4: 4603 mov r3, r0 - 80021e6: 2b00 cmp r3, #0 - 80021e8: d052 beq.n 8002290 + 80022e6: 88f8 ldrh r0, [r7, #6] + 80022e8: 893a ldrh r2, [r7, #8] + 80022ea: 8979 ldrh r1, [r7, #10] + 80022ec: 697b ldr r3, [r7, #20] + 80022ee: 9301 str r3, [sp, #4] + 80022f0: 6abb ldr r3, [r7, #40] ; 0x28 + 80022f2: 9300 str r3, [sp, #0] + 80022f4: 4603 mov r3, r0 + 80022f6: 68f8 ldr r0, [r7, #12] + 80022f8: f000 faf8 bl 80028ec + 80022fc: 4603 mov r3, r0 + 80022fe: 2b00 cmp r3, #0 + 8002300: d052 beq.n 80023a8 { return HAL_ERROR; - 80021ea: 2301 movs r3, #1 - 80021ec: e081 b.n 80022f2 + 8002302: 2301 movs r3, #1 + 8002304: e081 b.n 800240a } while (hi2c->XferSize > 0U) { /* Wait until TXE flag is set */ if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK) - 80021ee: 697a ldr r2, [r7, #20] - 80021f0: 6ab9 ldr r1, [r7, #40] ; 0x28 - 80021f2: 68f8 ldr r0, [r7, #12] - 80021f4: f000 fd42 bl 8002c7c - 80021f8: 4603 mov r3, r0 - 80021fa: 2b00 cmp r3, #0 - 80021fc: d00d beq.n 800221a + 8002306: 697a ldr r2, [r7, #20] + 8002308: 6ab9 ldr r1, [r7, #40] ; 0x28 + 800230a: 68f8 ldr r0, [r7, #12] + 800230c: f000 fd42 bl 8002d94 + 8002310: 4603 mov r3, r0 + 8002312: 2b00 cmp r3, #0 + 8002314: d00d beq.n 8002332 { if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) - 80021fe: 68fb ldr r3, [r7, #12] - 8002200: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002202: 2b04 cmp r3, #4 - 8002204: d107 bne.n 8002216 + 8002316: 68fb ldr r3, [r7, #12] + 8002318: 6c1b ldr r3, [r3, #64] ; 0x40 + 800231a: 2b04 cmp r3, #4 + 800231c: d107 bne.n 800232e { /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 8002206: 68fb ldr r3, [r7, #12] - 8002208: 681b ldr r3, [r3, #0] - 800220a: 681a ldr r2, [r3, #0] - 800220c: 68fb ldr r3, [r7, #12] - 800220e: 681b ldr r3, [r3, #0] - 8002210: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002214: 601a str r2, [r3, #0] + 800231e: 68fb ldr r3, [r7, #12] + 8002320: 681b ldr r3, [r3, #0] + 8002322: 681a ldr r2, [r3, #0] + 8002324: 68fb ldr r3, [r7, #12] + 8002326: 681b ldr r3, [r3, #0] + 8002328: f442 7200 orr.w r2, r2, #512 ; 0x200 + 800232c: 601a str r2, [r3, #0] } return HAL_ERROR; - 8002216: 2301 movs r3, #1 - 8002218: e06b b.n 80022f2 + 800232e: 2301 movs r3, #1 + 8002330: e06b b.n 800240a } /* Write data to DR */ hi2c->Instance->DR = *hi2c->pBuffPtr; - 800221a: 68fb ldr r3, [r7, #12] - 800221c: 6a5b ldr r3, [r3, #36] ; 0x24 - 800221e: 781a ldrb r2, [r3, #0] - 8002220: 68fb ldr r3, [r7, #12] - 8002222: 681b ldr r3, [r3, #0] - 8002224: 611a str r2, [r3, #16] + 8002332: 68fb ldr r3, [r7, #12] + 8002334: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002336: 781a ldrb r2, [r3, #0] + 8002338: 68fb ldr r3, [r7, #12] + 800233a: 681b ldr r3, [r3, #0] + 800233c: 611a str r2, [r3, #16] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 8002226: 68fb ldr r3, [r7, #12] - 8002228: 6a5b ldr r3, [r3, #36] ; 0x24 - 800222a: 1c5a adds r2, r3, #1 - 800222c: 68fb ldr r3, [r7, #12] - 800222e: 625a str r2, [r3, #36] ; 0x24 + 800233e: 68fb ldr r3, [r7, #12] + 8002340: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002342: 1c5a adds r2, r3, #1 + 8002344: 68fb ldr r3, [r7, #12] + 8002346: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 8002230: 68fb ldr r3, [r7, #12] - 8002232: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8002234: 3b01 subs r3, #1 - 8002236: b29a uxth r2, r3 - 8002238: 68fb ldr r3, [r7, #12] - 800223a: 851a strh r2, [r3, #40] ; 0x28 + 8002348: 68fb ldr r3, [r7, #12] + 800234a: 8d1b ldrh r3, [r3, #40] ; 0x28 + 800234c: 3b01 subs r3, #1 + 800234e: b29a uxth r2, r3 + 8002350: 68fb ldr r3, [r7, #12] + 8002352: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 800223c: 68fb ldr r3, [r7, #12] - 800223e: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8002240: b29b uxth r3, r3 - 8002242: 3b01 subs r3, #1 - 8002244: b29a uxth r2, r3 - 8002246: 68fb ldr r3, [r7, #12] - 8002248: 855a strh r2, [r3, #42] ; 0x2a + 8002354: 68fb ldr r3, [r7, #12] + 8002356: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8002358: b29b uxth r3, r3 + 800235a: 3b01 subs r3, #1 + 800235c: b29a uxth r2, r3 + 800235e: 68fb ldr r3, [r7, #12] + 8002360: 855a strh r2, [r3, #42] ; 0x2a if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET) && (hi2c->XferSize != 0U)) - 800224a: 68fb ldr r3, [r7, #12] - 800224c: 681b ldr r3, [r3, #0] - 800224e: 695b ldr r3, [r3, #20] - 8002250: f003 0304 and.w r3, r3, #4 - 8002254: 2b04 cmp r3, #4 - 8002256: d11b bne.n 8002290 - 8002258: 68fb ldr r3, [r7, #12] - 800225a: 8d1b ldrh r3, [r3, #40] ; 0x28 - 800225c: 2b00 cmp r3, #0 - 800225e: d017 beq.n 8002290 + 8002362: 68fb ldr r3, [r7, #12] + 8002364: 681b ldr r3, [r3, #0] + 8002366: 695b ldr r3, [r3, #20] + 8002368: f003 0304 and.w r3, r3, #4 + 800236c: 2b04 cmp r3, #4 + 800236e: d11b bne.n 80023a8 + 8002370: 68fb ldr r3, [r7, #12] + 8002372: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8002374: 2b00 cmp r3, #0 + 8002376: d017 beq.n 80023a8 { /* Write data to DR */ hi2c->Instance->DR = *hi2c->pBuffPtr; - 8002260: 68fb ldr r3, [r7, #12] - 8002262: 6a5b ldr r3, [r3, #36] ; 0x24 - 8002264: 781a ldrb r2, [r3, #0] - 8002266: 68fb ldr r3, [r7, #12] - 8002268: 681b ldr r3, [r3, #0] - 800226a: 611a str r2, [r3, #16] + 8002378: 68fb ldr r3, [r7, #12] + 800237a: 6a5b ldr r3, [r3, #36] ; 0x24 + 800237c: 781a ldrb r2, [r3, #0] + 800237e: 68fb ldr r3, [r7, #12] + 8002380: 681b ldr r3, [r3, #0] + 8002382: 611a str r2, [r3, #16] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 800226c: 68fb ldr r3, [r7, #12] - 800226e: 6a5b ldr r3, [r3, #36] ; 0x24 - 8002270: 1c5a adds r2, r3, #1 - 8002272: 68fb ldr r3, [r7, #12] - 8002274: 625a str r2, [r3, #36] ; 0x24 + 8002384: 68fb ldr r3, [r7, #12] + 8002386: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002388: 1c5a adds r2, r3, #1 + 800238a: 68fb ldr r3, [r7, #12] + 800238c: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 8002276: 68fb ldr r3, [r7, #12] - 8002278: 8d1b ldrh r3, [r3, #40] ; 0x28 - 800227a: 3b01 subs r3, #1 - 800227c: b29a uxth r2, r3 - 800227e: 68fb ldr r3, [r7, #12] - 8002280: 851a strh r2, [r3, #40] ; 0x28 + 800238e: 68fb ldr r3, [r7, #12] + 8002390: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8002392: 3b01 subs r3, #1 + 8002394: b29a uxth r2, r3 + 8002396: 68fb ldr r3, [r7, #12] + 8002398: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 8002282: 68fb ldr r3, [r7, #12] - 8002284: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8002286: b29b uxth r3, r3 - 8002288: 3b01 subs r3, #1 - 800228a: b29a uxth r2, r3 - 800228c: 68fb ldr r3, [r7, #12] - 800228e: 855a strh r2, [r3, #42] ; 0x2a + 800239a: 68fb ldr r3, [r7, #12] + 800239c: 8d5b ldrh r3, [r3, #42] ; 0x2a + 800239e: b29b uxth r3, r3 + 80023a0: 3b01 subs r3, #1 + 80023a2: b29a uxth r2, r3 + 80023a4: 68fb ldr r3, [r7, #12] + 80023a6: 855a strh r2, [r3, #42] ; 0x2a while (hi2c->XferSize > 0U) - 8002290: 68fb ldr r3, [r7, #12] - 8002292: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8002294: 2b00 cmp r3, #0 - 8002296: d1aa bne.n 80021ee + 80023a8: 68fb ldr r3, [r7, #12] + 80023aa: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80023ac: 2b00 cmp r3, #0 + 80023ae: d1aa bne.n 8002306 } } /* Wait until BTF flag is set */ if (I2C_WaitOnBTFFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK) - 8002298: 697a ldr r2, [r7, #20] - 800229a: 6ab9 ldr r1, [r7, #40] ; 0x28 - 800229c: 68f8 ldr r0, [r7, #12] - 800229e: f000 fd2e bl 8002cfe - 80022a2: 4603 mov r3, r0 - 80022a4: 2b00 cmp r3, #0 - 80022a6: d00d beq.n 80022c4 + 80023b0: 697a ldr r2, [r7, #20] + 80023b2: 6ab9 ldr r1, [r7, #40] ; 0x28 + 80023b4: 68f8 ldr r0, [r7, #12] + 80023b6: f000 fd2e bl 8002e16 + 80023ba: 4603 mov r3, r0 + 80023bc: 2b00 cmp r3, #0 + 80023be: d00d beq.n 80023dc { if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) - 80022a8: 68fb ldr r3, [r7, #12] - 80022aa: 6c1b ldr r3, [r3, #64] ; 0x40 - 80022ac: 2b04 cmp r3, #4 - 80022ae: d107 bne.n 80022c0 + 80023c0: 68fb ldr r3, [r7, #12] + 80023c2: 6c1b ldr r3, [r3, #64] ; 0x40 + 80023c4: 2b04 cmp r3, #4 + 80023c6: d107 bne.n 80023d8 { /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 80022b0: 68fb ldr r3, [r7, #12] - 80022b2: 681b ldr r3, [r3, #0] - 80022b4: 681a ldr r2, [r3, #0] - 80022b6: 68fb ldr r3, [r7, #12] - 80022b8: 681b ldr r3, [r3, #0] - 80022ba: f442 7200 orr.w r2, r2, #512 ; 0x200 - 80022be: 601a str r2, [r3, #0] + 80023c8: 68fb ldr r3, [r7, #12] + 80023ca: 681b ldr r3, [r3, #0] + 80023cc: 681a ldr r2, [r3, #0] + 80023ce: 68fb ldr r3, [r7, #12] + 80023d0: 681b ldr r3, [r3, #0] + 80023d2: f442 7200 orr.w r2, r2, #512 ; 0x200 + 80023d6: 601a str r2, [r3, #0] } return HAL_ERROR; - 80022c0: 2301 movs r3, #1 - 80022c2: e016 b.n 80022f2 + 80023d8: 2301 movs r3, #1 + 80023da: e016 b.n 800240a } /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 80022c4: 68fb ldr r3, [r7, #12] - 80022c6: 681b ldr r3, [r3, #0] - 80022c8: 681a ldr r2, [r3, #0] - 80022ca: 68fb ldr r3, [r7, #12] - 80022cc: 681b ldr r3, [r3, #0] - 80022ce: f442 7200 orr.w r2, r2, #512 ; 0x200 - 80022d2: 601a str r2, [r3, #0] + 80023dc: 68fb ldr r3, [r7, #12] + 80023de: 681b ldr r3, [r3, #0] + 80023e0: 681a ldr r2, [r3, #0] + 80023e2: 68fb ldr r3, [r7, #12] + 80023e4: 681b ldr r3, [r3, #0] + 80023e6: f442 7200 orr.w r2, r2, #512 ; 0x200 + 80023ea: 601a str r2, [r3, #0] hi2c->State = HAL_I2C_STATE_READY; - 80022d4: 68fb ldr r3, [r7, #12] - 80022d6: 2220 movs r2, #32 - 80022d8: f883 203d strb.w r2, [r3, #61] ; 0x3d + 80023ec: 68fb ldr r3, [r7, #12] + 80023ee: 2220 movs r2, #32 + 80023f0: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 80022dc: 68fb ldr r3, [r7, #12] - 80022de: 2200 movs r2, #0 - 80022e0: f883 203e strb.w r2, [r3, #62] ; 0x3e + 80023f4: 68fb ldr r3, [r7, #12] + 80023f6: 2200 movs r2, #0 + 80023f8: f883 203e strb.w r2, [r3, #62] ; 0x3e /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 80022e4: 68fb ldr r3, [r7, #12] - 80022e6: 2200 movs r2, #0 - 80022e8: f883 203c strb.w r2, [r3, #60] ; 0x3c + 80023fc: 68fb ldr r3, [r7, #12] + 80023fe: 2200 movs r2, #0 + 8002400: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_OK; - 80022ec: 2300 movs r3, #0 - 80022ee: e000 b.n 80022f2 + 8002404: 2300 movs r3, #0 + 8002406: e000 b.n 800240a } else { return HAL_BUSY; - 80022f0: 2302 movs r3, #2 + 8002408: 2302 movs r3, #2 } } - 80022f2: 4618 mov r0, r3 - 80022f4: 3718 adds r7, #24 - 80022f6: 46bd mov sp, r7 - 80022f8: bd80 pop {r7, pc} - 80022fa: bf00 nop - 80022fc: 00100002 .word 0x00100002 - 8002300: ffff0000 .word 0xffff0000 + 800240a: 4618 mov r0, r3 + 800240c: 3718 adds r7, #24 + 800240e: 46bd mov sp, r7 + 8002410: bd80 pop {r7, pc} + 8002412: bf00 nop + 8002414: 00100002 .word 0x00100002 + 8002418: ffff0000 .word 0xffff0000 -08002304 : +0800241c : * @param Size Amount of data to be sent * @param Timeout Timeout duration * @retval HAL status */ HAL_StatusTypeDef HAL_I2C_Mem_Read(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size, uint32_t Timeout) { - 8002304: b580 push {r7, lr} - 8002306: b08c sub sp, #48 ; 0x30 - 8002308: af02 add r7, sp, #8 - 800230a: 60f8 str r0, [r7, #12] - 800230c: 4608 mov r0, r1 - 800230e: 4611 mov r1, r2 - 8002310: 461a mov r2, r3 - 8002312: 4603 mov r3, r0 - 8002314: 817b strh r3, [r7, #10] - 8002316: 460b mov r3, r1 - 8002318: 813b strh r3, [r7, #8] - 800231a: 4613 mov r3, r2 - 800231c: 80fb strh r3, [r7, #6] + 800241c: b580 push {r7, lr} + 800241e: b08c sub sp, #48 ; 0x30 + 8002420: af02 add r7, sp, #8 + 8002422: 60f8 str r0, [r7, #12] + 8002424: 4608 mov r0, r1 + 8002426: 4611 mov r1, r2 + 8002428: 461a mov r2, r3 + 800242a: 4603 mov r3, r0 + 800242c: 817b strh r3, [r7, #10] + 800242e: 460b mov r3, r1 + 8002430: 813b strh r3, [r7, #8] + 8002432: 4613 mov r3, r2 + 8002434: 80fb strh r3, [r7, #6] __IO uint32_t count = 0U; - 800231e: 2300 movs r3, #0 - 8002320: 623b str r3, [r7, #32] + 8002436: 2300 movs r3, #0 + 8002438: 623b str r3, [r7, #32] /* Init tickstart for timeout management*/ uint32_t tickstart = HAL_GetTick(); - 8002322: f7ff fadb bl 80018dc - 8002326: 6278 str r0, [r7, #36] ; 0x24 + 800243a: f7ff fadb bl 80019f4 + 800243e: 6278 str r0, [r7, #36] ; 0x24 /* Check the parameters */ assert_param(IS_I2C_MEMADD_SIZE(MemAddSize)); if (hi2c->State == HAL_I2C_STATE_READY) - 8002328: 68fb ldr r3, [r7, #12] - 800232a: f893 303d ldrb.w r3, [r3, #61] ; 0x3d - 800232e: b2db uxtb r3, r3 - 8002330: 2b20 cmp r3, #32 - 8002332: f040 8244 bne.w 80027be + 8002440: 68fb ldr r3, [r7, #12] + 8002442: f893 303d ldrb.w r3, [r3, #61] ; 0x3d + 8002446: b2db uxtb r3, r3 + 8002448: 2b20 cmp r3, #32 + 800244a: f040 8244 bne.w 80028d6 { /* Wait until BUSY flag is reset */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG, tickstart) != HAL_OK) - 8002336: 6a7b ldr r3, [r7, #36] ; 0x24 - 8002338: 9300 str r3, [sp, #0] - 800233a: 2319 movs r3, #25 - 800233c: 2201 movs r2, #1 - 800233e: 4982 ldr r1, [pc, #520] ; (8002548 ) - 8002340: 68f8 ldr r0, [r7, #12] - 8002342: f000 fbc5 bl 8002ad0 - 8002346: 4603 mov r3, r0 - 8002348: 2b00 cmp r3, #0 - 800234a: d001 beq.n 8002350 + 800244e: 6a7b ldr r3, [r7, #36] ; 0x24 + 8002450: 9300 str r3, [sp, #0] + 8002452: 2319 movs r3, #25 + 8002454: 2201 movs r2, #1 + 8002456: 4982 ldr r1, [pc, #520] ; (8002660 ) + 8002458: 68f8 ldr r0, [r7, #12] + 800245a: f000 fbc5 bl 8002be8 + 800245e: 4603 mov r3, r0 + 8002460: 2b00 cmp r3, #0 + 8002462: d001 beq.n 8002468 { return HAL_BUSY; - 800234c: 2302 movs r3, #2 - 800234e: e237 b.n 80027c0 + 8002464: 2302 movs r3, #2 + 8002466: e237 b.n 80028d8 } /* Process Locked */ __HAL_LOCK(hi2c); - 8002350: 68fb ldr r3, [r7, #12] - 8002352: f893 303c ldrb.w r3, [r3, #60] ; 0x3c - 8002356: 2b01 cmp r3, #1 - 8002358: d101 bne.n 800235e - 800235a: 2302 movs r3, #2 - 800235c: e230 b.n 80027c0 - 800235e: 68fb ldr r3, [r7, #12] - 8002360: 2201 movs r2, #1 - 8002362: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002468: 68fb ldr r3, [r7, #12] + 800246a: f893 303c ldrb.w r3, [r3, #60] ; 0x3c + 800246e: 2b01 cmp r3, #1 + 8002470: d101 bne.n 8002476 + 8002472: 2302 movs r3, #2 + 8002474: e230 b.n 80028d8 + 8002476: 68fb ldr r3, [r7, #12] + 8002478: 2201 movs r2, #1 + 800247a: f883 203c strb.w r2, [r3, #60] ; 0x3c /* Check if the I2C is already enabled */ if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE) - 8002366: 68fb ldr r3, [r7, #12] - 8002368: 681b ldr r3, [r3, #0] - 800236a: 681b ldr r3, [r3, #0] - 800236c: f003 0301 and.w r3, r3, #1 - 8002370: 2b01 cmp r3, #1 - 8002372: d007 beq.n 8002384 + 800247e: 68fb ldr r3, [r7, #12] + 8002480: 681b ldr r3, [r3, #0] + 8002482: 681b ldr r3, [r3, #0] + 8002484: f003 0301 and.w r3, r3, #1 + 8002488: 2b01 cmp r3, #1 + 800248a: d007 beq.n 800249c { /* Enable I2C peripheral */ __HAL_I2C_ENABLE(hi2c); - 8002374: 68fb ldr r3, [r7, #12] - 8002376: 681b ldr r3, [r3, #0] - 8002378: 681a ldr r2, [r3, #0] - 800237a: 68fb ldr r3, [r7, #12] - 800237c: 681b ldr r3, [r3, #0] - 800237e: f042 0201 orr.w r2, r2, #1 - 8002382: 601a str r2, [r3, #0] + 800248c: 68fb ldr r3, [r7, #12] + 800248e: 681b ldr r3, [r3, #0] + 8002490: 681a ldr r2, [r3, #0] + 8002492: 68fb ldr r3, [r7, #12] + 8002494: 681b ldr r3, [r3, #0] + 8002496: f042 0201 orr.w r2, r2, #1 + 800249a: 601a str r2, [r3, #0] } /* Disable Pos */ CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS); - 8002384: 68fb ldr r3, [r7, #12] - 8002386: 681b ldr r3, [r3, #0] - 8002388: 681a ldr r2, [r3, #0] - 800238a: 68fb ldr r3, [r7, #12] - 800238c: 681b ldr r3, [r3, #0] - 800238e: f422 6200 bic.w r2, r2, #2048 ; 0x800 - 8002392: 601a str r2, [r3, #0] + 800249c: 68fb ldr r3, [r7, #12] + 800249e: 681b ldr r3, [r3, #0] + 80024a0: 681a ldr r2, [r3, #0] + 80024a2: 68fb ldr r3, [r7, #12] + 80024a4: 681b ldr r3, [r3, #0] + 80024a6: f422 6200 bic.w r2, r2, #2048 ; 0x800 + 80024aa: 601a str r2, [r3, #0] hi2c->State = HAL_I2C_STATE_BUSY_RX; - 8002394: 68fb ldr r3, [r7, #12] - 8002396: 2222 movs r2, #34 ; 0x22 - 8002398: f883 203d strb.w r2, [r3, #61] ; 0x3d + 80024ac: 68fb ldr r3, [r7, #12] + 80024ae: 2222 movs r2, #34 ; 0x22 + 80024b0: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_MEM; - 800239c: 68fb ldr r3, [r7, #12] - 800239e: 2240 movs r2, #64 ; 0x40 - 80023a0: f883 203e strb.w r2, [r3, #62] ; 0x3e + 80024b4: 68fb ldr r3, [r7, #12] + 80024b6: 2240 movs r2, #64 ; 0x40 + 80024b8: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode = HAL_I2C_ERROR_NONE; - 80023a4: 68fb ldr r3, [r7, #12] - 80023a6: 2200 movs r2, #0 - 80023a8: 641a str r2, [r3, #64] ; 0x40 + 80024bc: 68fb ldr r3, [r7, #12] + 80024be: 2200 movs r2, #0 + 80024c0: 641a str r2, [r3, #64] ; 0x40 /* Prepare transfer parameters */ hi2c->pBuffPtr = pData; - 80023aa: 68fb ldr r3, [r7, #12] - 80023ac: 6b3a ldr r2, [r7, #48] ; 0x30 - 80023ae: 625a str r2, [r3, #36] ; 0x24 + 80024c2: 68fb ldr r3, [r7, #12] + 80024c4: 6b3a ldr r2, [r7, #48] ; 0x30 + 80024c6: 625a str r2, [r3, #36] ; 0x24 hi2c->XferCount = Size; - 80023b0: 68fb ldr r3, [r7, #12] - 80023b2: 8eba ldrh r2, [r7, #52] ; 0x34 - 80023b4: 855a strh r2, [r3, #42] ; 0x2a + 80024c8: 68fb ldr r3, [r7, #12] + 80024ca: 8eba ldrh r2, [r7, #52] ; 0x34 + 80024cc: 855a strh r2, [r3, #42] ; 0x2a hi2c->XferSize = hi2c->XferCount; - 80023b6: 68fb ldr r3, [r7, #12] - 80023b8: 8d5b ldrh r3, [r3, #42] ; 0x2a - 80023ba: b29a uxth r2, r3 - 80023bc: 68fb ldr r3, [r7, #12] - 80023be: 851a strh r2, [r3, #40] ; 0x28 + 80024ce: 68fb ldr r3, [r7, #12] + 80024d0: 8d5b ldrh r3, [r3, #42] ; 0x2a + 80024d2: b29a uxth r2, r3 + 80024d4: 68fb ldr r3, [r7, #12] + 80024d6: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferOptions = I2C_NO_OPTION_FRAME; - 80023c0: 68fb ldr r3, [r7, #12] - 80023c2: 4a62 ldr r2, [pc, #392] ; (800254c ) - 80023c4: 62da str r2, [r3, #44] ; 0x2c + 80024d8: 68fb ldr r3, [r7, #12] + 80024da: 4a62 ldr r2, [pc, #392] ; (8002664 ) + 80024dc: 62da str r2, [r3, #44] ; 0x2c /* Send Slave Address and Memory Address */ if (I2C_RequestMemoryRead(hi2c, DevAddress, MemAddress, MemAddSize, Timeout, tickstart) != HAL_OK) - 80023c6: 88f8 ldrh r0, [r7, #6] - 80023c8: 893a ldrh r2, [r7, #8] - 80023ca: 8979 ldrh r1, [r7, #10] - 80023cc: 6a7b ldr r3, [r7, #36] ; 0x24 - 80023ce: 9301 str r3, [sp, #4] - 80023d0: 6bbb ldr r3, [r7, #56] ; 0x38 - 80023d2: 9300 str r3, [sp, #0] - 80023d4: 4603 mov r3, r0 - 80023d6: 68f8 ldr r0, [r7, #12] - 80023d8: f000 fa92 bl 8002900 - 80023dc: 4603 mov r3, r0 - 80023de: 2b00 cmp r3, #0 - 80023e0: d001 beq.n 80023e6 + 80024de: 88f8 ldrh r0, [r7, #6] + 80024e0: 893a ldrh r2, [r7, #8] + 80024e2: 8979 ldrh r1, [r7, #10] + 80024e4: 6a7b ldr r3, [r7, #36] ; 0x24 + 80024e6: 9301 str r3, [sp, #4] + 80024e8: 6bbb ldr r3, [r7, #56] ; 0x38 + 80024ea: 9300 str r3, [sp, #0] + 80024ec: 4603 mov r3, r0 + 80024ee: 68f8 ldr r0, [r7, #12] + 80024f0: f000 fa92 bl 8002a18 + 80024f4: 4603 mov r3, r0 + 80024f6: 2b00 cmp r3, #0 + 80024f8: d001 beq.n 80024fe { return HAL_ERROR; - 80023e2: 2301 movs r3, #1 - 80023e4: e1ec b.n 80027c0 + 80024fa: 2301 movs r3, #1 + 80024fc: e1ec b.n 80028d8 } if (hi2c->XferSize == 0U) - 80023e6: 68fb ldr r3, [r7, #12] - 80023e8: 8d1b ldrh r3, [r3, #40] ; 0x28 - 80023ea: 2b00 cmp r3, #0 - 80023ec: d113 bne.n 8002416 + 80024fe: 68fb ldr r3, [r7, #12] + 8002500: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8002502: 2b00 cmp r3, #0 + 8002504: d113 bne.n 800252e { /* Clear ADDR flag */ __HAL_I2C_CLEAR_ADDRFLAG(hi2c); - 80023ee: 2300 movs r3, #0 - 80023f0: 61fb str r3, [r7, #28] - 80023f2: 68fb ldr r3, [r7, #12] - 80023f4: 681b ldr r3, [r3, #0] - 80023f6: 695b ldr r3, [r3, #20] - 80023f8: 61fb str r3, [r7, #28] - 80023fa: 68fb ldr r3, [r7, #12] - 80023fc: 681b ldr r3, [r3, #0] - 80023fe: 699b ldr r3, [r3, #24] - 8002400: 61fb str r3, [r7, #28] - 8002402: 69fb ldr r3, [r7, #28] + 8002506: 2300 movs r3, #0 + 8002508: 61fb str r3, [r7, #28] + 800250a: 68fb ldr r3, [r7, #12] + 800250c: 681b ldr r3, [r3, #0] + 800250e: 695b ldr r3, [r3, #20] + 8002510: 61fb str r3, [r7, #28] + 8002512: 68fb ldr r3, [r7, #12] + 8002514: 681b ldr r3, [r3, #0] + 8002516: 699b ldr r3, [r3, #24] + 8002518: 61fb str r3, [r7, #28] + 800251a: 69fb ldr r3, [r7, #28] /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 8002404: 68fb ldr r3, [r7, #12] - 8002406: 681b ldr r3, [r3, #0] - 8002408: 681a ldr r2, [r3, #0] - 800240a: 68fb ldr r3, [r7, #12] - 800240c: 681b ldr r3, [r3, #0] - 800240e: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002412: 601a str r2, [r3, #0] - 8002414: e1c0 b.n 8002798 + 800251c: 68fb ldr r3, [r7, #12] + 800251e: 681b ldr r3, [r3, #0] + 8002520: 681a ldr r2, [r3, #0] + 8002522: 68fb ldr r3, [r7, #12] + 8002524: 681b ldr r3, [r3, #0] + 8002526: f442 7200 orr.w r2, r2, #512 ; 0x200 + 800252a: 601a str r2, [r3, #0] + 800252c: e1c0 b.n 80028b0 } else if (hi2c->XferSize == 1U) - 8002416: 68fb ldr r3, [r7, #12] - 8002418: 8d1b ldrh r3, [r3, #40] ; 0x28 - 800241a: 2b01 cmp r3, #1 - 800241c: d11e bne.n 800245c + 800252e: 68fb ldr r3, [r7, #12] + 8002530: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8002532: 2b01 cmp r3, #1 + 8002534: d11e bne.n 8002574 { /* Disable Acknowledge */ CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK); - 800241e: 68fb ldr r3, [r7, #12] - 8002420: 681b ldr r3, [r3, #0] - 8002422: 681a ldr r2, [r3, #0] - 8002424: 68fb ldr r3, [r7, #12] - 8002426: 681b ldr r3, [r3, #0] - 8002428: f422 6280 bic.w r2, r2, #1024 ; 0x400 - 800242c: 601a str r2, [r3, #0] + 8002536: 68fb ldr r3, [r7, #12] + 8002538: 681b ldr r3, [r3, #0] + 800253a: 681a ldr r2, [r3, #0] + 800253c: 68fb ldr r3, [r7, #12] + 800253e: 681b ldr r3, [r3, #0] + 8002540: f422 6280 bic.w r2, r2, #1024 ; 0x400 + 8002544: 601a str r2, [r3, #0] __ASM volatile ("cpsid i" : : : "memory"); - 800242e: b672 cpsid i + 8002546: b672 cpsid i } - 8002430: bf00 nop + 8002548: bf00 nop /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3 software sequence must complete before the current byte end of transfer */ __disable_irq(); /* Clear ADDR flag */ __HAL_I2C_CLEAR_ADDRFLAG(hi2c); - 8002432: 2300 movs r3, #0 - 8002434: 61bb str r3, [r7, #24] - 8002436: 68fb ldr r3, [r7, #12] - 8002438: 681b ldr r3, [r3, #0] - 800243a: 695b ldr r3, [r3, #20] - 800243c: 61bb str r3, [r7, #24] - 800243e: 68fb ldr r3, [r7, #12] - 8002440: 681b ldr r3, [r3, #0] - 8002442: 699b ldr r3, [r3, #24] - 8002444: 61bb str r3, [r7, #24] - 8002446: 69bb ldr r3, [r7, #24] + 800254a: 2300 movs r3, #0 + 800254c: 61bb str r3, [r7, #24] + 800254e: 68fb ldr r3, [r7, #12] + 8002550: 681b ldr r3, [r3, #0] + 8002552: 695b ldr r3, [r3, #20] + 8002554: 61bb str r3, [r7, #24] + 8002556: 68fb ldr r3, [r7, #12] + 8002558: 681b ldr r3, [r3, #0] + 800255a: 699b ldr r3, [r3, #24] + 800255c: 61bb str r3, [r7, #24] + 800255e: 69bb ldr r3, [r7, #24] /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 8002448: 68fb ldr r3, [r7, #12] - 800244a: 681b ldr r3, [r3, #0] - 800244c: 681a ldr r2, [r3, #0] - 800244e: 68fb ldr r3, [r7, #12] - 8002450: 681b ldr r3, [r3, #0] - 8002452: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002456: 601a str r2, [r3, #0] + 8002560: 68fb ldr r3, [r7, #12] + 8002562: 681b ldr r3, [r3, #0] + 8002564: 681a ldr r2, [r3, #0] + 8002566: 68fb ldr r3, [r7, #12] + 8002568: 681b ldr r3, [r3, #0] + 800256a: f442 7200 orr.w r2, r2, #512 ; 0x200 + 800256e: 601a str r2, [r3, #0] __ASM volatile ("cpsie i" : : : "memory"); - 8002458: b662 cpsie i + 8002570: b662 cpsie i } - 800245a: e035 b.n 80024c8 + 8002572: e035 b.n 80025e0 /* Re-enable IRQs */ __enable_irq(); } else if (hi2c->XferSize == 2U) - 800245c: 68fb ldr r3, [r7, #12] - 800245e: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8002460: 2b02 cmp r3, #2 - 8002462: d11e bne.n 80024a2 + 8002574: 68fb ldr r3, [r7, #12] + 8002576: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8002578: 2b02 cmp r3, #2 + 800257a: d11e bne.n 80025ba { /* Enable Pos */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_POS); - 8002464: 68fb ldr r3, [r7, #12] - 8002466: 681b ldr r3, [r3, #0] - 8002468: 681a ldr r2, [r3, #0] - 800246a: 68fb ldr r3, [r7, #12] - 800246c: 681b ldr r3, [r3, #0] - 800246e: f442 6200 orr.w r2, r2, #2048 ; 0x800 - 8002472: 601a str r2, [r3, #0] + 800257c: 68fb ldr r3, [r7, #12] + 800257e: 681b ldr r3, [r3, #0] + 8002580: 681a ldr r2, [r3, #0] + 8002582: 68fb ldr r3, [r7, #12] + 8002584: 681b ldr r3, [r3, #0] + 8002586: f442 6200 orr.w r2, r2, #2048 ; 0x800 + 800258a: 601a str r2, [r3, #0] __ASM volatile ("cpsid i" : : : "memory"); - 8002474: b672 cpsid i + 800258c: b672 cpsid i } - 8002476: bf00 nop + 800258e: bf00 nop /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3 software sequence must complete before the current byte end of transfer */ __disable_irq(); /* Clear ADDR flag */ __HAL_I2C_CLEAR_ADDRFLAG(hi2c); - 8002478: 2300 movs r3, #0 - 800247a: 617b str r3, [r7, #20] - 800247c: 68fb ldr r3, [r7, #12] - 800247e: 681b ldr r3, [r3, #0] - 8002480: 695b ldr r3, [r3, #20] - 8002482: 617b str r3, [r7, #20] - 8002484: 68fb ldr r3, [r7, #12] - 8002486: 681b ldr r3, [r3, #0] - 8002488: 699b ldr r3, [r3, #24] - 800248a: 617b str r3, [r7, #20] - 800248c: 697b ldr r3, [r7, #20] + 8002590: 2300 movs r3, #0 + 8002592: 617b str r3, [r7, #20] + 8002594: 68fb ldr r3, [r7, #12] + 8002596: 681b ldr r3, [r3, #0] + 8002598: 695b ldr r3, [r3, #20] + 800259a: 617b str r3, [r7, #20] + 800259c: 68fb ldr r3, [r7, #12] + 800259e: 681b ldr r3, [r3, #0] + 80025a0: 699b ldr r3, [r3, #24] + 80025a2: 617b str r3, [r7, #20] + 80025a4: 697b ldr r3, [r7, #20] /* Disable Acknowledge */ CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK); - 800248e: 68fb ldr r3, [r7, #12] - 8002490: 681b ldr r3, [r3, #0] - 8002492: 681a ldr r2, [r3, #0] - 8002494: 68fb ldr r3, [r7, #12] - 8002496: 681b ldr r3, [r3, #0] - 8002498: f422 6280 bic.w r2, r2, #1024 ; 0x400 - 800249c: 601a str r2, [r3, #0] + 80025a6: 68fb ldr r3, [r7, #12] + 80025a8: 681b ldr r3, [r3, #0] + 80025aa: 681a ldr r2, [r3, #0] + 80025ac: 68fb ldr r3, [r7, #12] + 80025ae: 681b ldr r3, [r3, #0] + 80025b0: f422 6280 bic.w r2, r2, #1024 ; 0x400 + 80025b4: 601a str r2, [r3, #0] __ASM volatile ("cpsie i" : : : "memory"); - 800249e: b662 cpsie i + 80025b6: b662 cpsie i } - 80024a0: e012 b.n 80024c8 + 80025b8: e012 b.n 80025e0 __enable_irq(); } else { /* Enable Acknowledge */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK); - 80024a2: 68fb ldr r3, [r7, #12] - 80024a4: 681b ldr r3, [r3, #0] - 80024a6: 681a ldr r2, [r3, #0] - 80024a8: 68fb ldr r3, [r7, #12] - 80024aa: 681b ldr r3, [r3, #0] - 80024ac: f442 6280 orr.w r2, r2, #1024 ; 0x400 - 80024b0: 601a str r2, [r3, #0] + 80025ba: 68fb ldr r3, [r7, #12] + 80025bc: 681b ldr r3, [r3, #0] + 80025be: 681a ldr r2, [r3, #0] + 80025c0: 68fb ldr r3, [r7, #12] + 80025c2: 681b ldr r3, [r3, #0] + 80025c4: f442 6280 orr.w r2, r2, #1024 ; 0x400 + 80025c8: 601a str r2, [r3, #0] /* Clear ADDR flag */ __HAL_I2C_CLEAR_ADDRFLAG(hi2c); - 80024b2: 2300 movs r3, #0 - 80024b4: 613b str r3, [r7, #16] - 80024b6: 68fb ldr r3, [r7, #12] - 80024b8: 681b ldr r3, [r3, #0] - 80024ba: 695b ldr r3, [r3, #20] - 80024bc: 613b str r3, [r7, #16] - 80024be: 68fb ldr r3, [r7, #12] - 80024c0: 681b ldr r3, [r3, #0] - 80024c2: 699b ldr r3, [r3, #24] - 80024c4: 613b str r3, [r7, #16] - 80024c6: 693b ldr r3, [r7, #16] + 80025ca: 2300 movs r3, #0 + 80025cc: 613b str r3, [r7, #16] + 80025ce: 68fb ldr r3, [r7, #12] + 80025d0: 681b ldr r3, [r3, #0] + 80025d2: 695b ldr r3, [r3, #20] + 80025d4: 613b str r3, [r7, #16] + 80025d6: 68fb ldr r3, [r7, #12] + 80025d8: 681b ldr r3, [r3, #0] + 80025da: 699b ldr r3, [r3, #24] + 80025dc: 613b str r3, [r7, #16] + 80025de: 693b ldr r3, [r7, #16] } while (hi2c->XferSize > 0U) - 80024c8: e166 b.n 8002798 + 80025e0: e166 b.n 80028b0 { if (hi2c->XferSize <= 3U) - 80024ca: 68fb ldr r3, [r7, #12] - 80024cc: 8d1b ldrh r3, [r3, #40] ; 0x28 - 80024ce: 2b03 cmp r3, #3 - 80024d0: f200 811f bhi.w 8002712 + 80025e2: 68fb ldr r3, [r7, #12] + 80025e4: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80025e6: 2b03 cmp r3, #3 + 80025e8: f200 811f bhi.w 800282a { /* One byte */ if (hi2c->XferSize == 1U) - 80024d4: 68fb ldr r3, [r7, #12] - 80024d6: 8d1b ldrh r3, [r3, #40] ; 0x28 - 80024d8: 2b01 cmp r3, #1 - 80024da: d123 bne.n 8002524 + 80025ec: 68fb ldr r3, [r7, #12] + 80025ee: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80025f0: 2b01 cmp r3, #1 + 80025f2: d123 bne.n 800263c { /* Wait until RXNE flag is set */ if (I2C_WaitOnRXNEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK) - 80024dc: 6a7a ldr r2, [r7, #36] ; 0x24 - 80024de: 6bb9 ldr r1, [r7, #56] ; 0x38 - 80024e0: 68f8 ldr r0, [r7, #12] - 80024e2: f000 fc4d bl 8002d80 - 80024e6: 4603 mov r3, r0 - 80024e8: 2b00 cmp r3, #0 - 80024ea: d001 beq.n 80024f0 + 80025f4: 6a7a ldr r2, [r7, #36] ; 0x24 + 80025f6: 6bb9 ldr r1, [r7, #56] ; 0x38 + 80025f8: 68f8 ldr r0, [r7, #12] + 80025fa: f000 fc4d bl 8002e98 + 80025fe: 4603 mov r3, r0 + 8002600: 2b00 cmp r3, #0 + 8002602: d001 beq.n 8002608 { return HAL_ERROR; - 80024ec: 2301 movs r3, #1 - 80024ee: e167 b.n 80027c0 + 8002604: 2301 movs r3, #1 + 8002606: e167 b.n 80028d8 } /* Read data from DR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR; - 80024f0: 68fb ldr r3, [r7, #12] - 80024f2: 681b ldr r3, [r3, #0] - 80024f4: 691a ldr r2, [r3, #16] - 80024f6: 68fb ldr r3, [r7, #12] - 80024f8: 6a5b ldr r3, [r3, #36] ; 0x24 - 80024fa: b2d2 uxtb r2, r2 - 80024fc: 701a strb r2, [r3, #0] + 8002608: 68fb ldr r3, [r7, #12] + 800260a: 681b ldr r3, [r3, #0] + 800260c: 691a ldr r2, [r3, #16] + 800260e: 68fb ldr r3, [r7, #12] + 8002610: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002612: b2d2 uxtb r2, r2 + 8002614: 701a strb r2, [r3, #0] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 80024fe: 68fb ldr r3, [r7, #12] - 8002500: 6a5b ldr r3, [r3, #36] ; 0x24 - 8002502: 1c5a adds r2, r3, #1 - 8002504: 68fb ldr r3, [r7, #12] - 8002506: 625a str r2, [r3, #36] ; 0x24 + 8002616: 68fb ldr r3, [r7, #12] + 8002618: 6a5b ldr r3, [r3, #36] ; 0x24 + 800261a: 1c5a adds r2, r3, #1 + 800261c: 68fb ldr r3, [r7, #12] + 800261e: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 8002508: 68fb ldr r3, [r7, #12] - 800250a: 8d1b ldrh r3, [r3, #40] ; 0x28 - 800250c: 3b01 subs r3, #1 - 800250e: b29a uxth r2, r3 - 8002510: 68fb ldr r3, [r7, #12] - 8002512: 851a strh r2, [r3, #40] ; 0x28 + 8002620: 68fb ldr r3, [r7, #12] + 8002622: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8002624: 3b01 subs r3, #1 + 8002626: b29a uxth r2, r3 + 8002628: 68fb ldr r3, [r7, #12] + 800262a: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 8002514: 68fb ldr r3, [r7, #12] - 8002516: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8002518: b29b uxth r3, r3 - 800251a: 3b01 subs r3, #1 - 800251c: b29a uxth r2, r3 - 800251e: 68fb ldr r3, [r7, #12] - 8002520: 855a strh r2, [r3, #42] ; 0x2a - 8002522: e139 b.n 8002798 + 800262c: 68fb ldr r3, [r7, #12] + 800262e: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8002630: b29b uxth r3, r3 + 8002632: 3b01 subs r3, #1 + 8002634: b29a uxth r2, r3 + 8002636: 68fb ldr r3, [r7, #12] + 8002638: 855a strh r2, [r3, #42] ; 0x2a + 800263a: e139 b.n 80028b0 } /* Two bytes */ else if (hi2c->XferSize == 2U) - 8002524: 68fb ldr r3, [r7, #12] - 8002526: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8002528: 2b02 cmp r3, #2 - 800252a: d152 bne.n 80025d2 + 800263c: 68fb ldr r3, [r7, #12] + 800263e: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8002640: 2b02 cmp r3, #2 + 8002642: d152 bne.n 80026ea { /* Wait until BTF flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET, Timeout, tickstart) != HAL_OK) - 800252c: 6a7b ldr r3, [r7, #36] ; 0x24 - 800252e: 9300 str r3, [sp, #0] - 8002530: 6bbb ldr r3, [r7, #56] ; 0x38 - 8002532: 2200 movs r2, #0 - 8002534: 4906 ldr r1, [pc, #24] ; (8002550 ) - 8002536: 68f8 ldr r0, [r7, #12] - 8002538: f000 faca bl 8002ad0 - 800253c: 4603 mov r3, r0 - 800253e: 2b00 cmp r3, #0 - 8002540: d008 beq.n 8002554 + 8002644: 6a7b ldr r3, [r7, #36] ; 0x24 + 8002646: 9300 str r3, [sp, #0] + 8002648: 6bbb ldr r3, [r7, #56] ; 0x38 + 800264a: 2200 movs r2, #0 + 800264c: 4906 ldr r1, [pc, #24] ; (8002668 ) + 800264e: 68f8 ldr r0, [r7, #12] + 8002650: f000 faca bl 8002be8 + 8002654: 4603 mov r3, r0 + 8002656: 2b00 cmp r3, #0 + 8002658: d008 beq.n 800266c { return HAL_ERROR; - 8002542: 2301 movs r3, #1 - 8002544: e13c b.n 80027c0 - 8002546: bf00 nop - 8002548: 00100002 .word 0x00100002 - 800254c: ffff0000 .word 0xffff0000 - 8002550: 00010004 .word 0x00010004 + 800265a: 2301 movs r3, #1 + 800265c: e13c b.n 80028d8 + 800265e: bf00 nop + 8002660: 00100002 .word 0x00100002 + 8002664: ffff0000 .word 0xffff0000 + 8002668: 00010004 .word 0x00010004 __ASM volatile ("cpsid i" : : : "memory"); - 8002554: b672 cpsid i + 800266c: b672 cpsid i } - 8002556: bf00 nop + 800266e: bf00 nop /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3 software sequence must complete before the current byte end of transfer */ __disable_irq(); /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 8002558: 68fb ldr r3, [r7, #12] - 800255a: 681b ldr r3, [r3, #0] - 800255c: 681a ldr r2, [r3, #0] - 800255e: 68fb ldr r3, [r7, #12] - 8002560: 681b ldr r3, [r3, #0] - 8002562: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002566: 601a str r2, [r3, #0] + 8002670: 68fb ldr r3, [r7, #12] + 8002672: 681b ldr r3, [r3, #0] + 8002674: 681a ldr r2, [r3, #0] + 8002676: 68fb ldr r3, [r7, #12] + 8002678: 681b ldr r3, [r3, #0] + 800267a: f442 7200 orr.w r2, r2, #512 ; 0x200 + 800267e: 601a str r2, [r3, #0] /* Read data from DR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR; - 8002568: 68fb ldr r3, [r7, #12] - 800256a: 681b ldr r3, [r3, #0] - 800256c: 691a ldr r2, [r3, #16] - 800256e: 68fb ldr r3, [r7, #12] - 8002570: 6a5b ldr r3, [r3, #36] ; 0x24 - 8002572: b2d2 uxtb r2, r2 - 8002574: 701a strb r2, [r3, #0] + 8002680: 68fb ldr r3, [r7, #12] + 8002682: 681b ldr r3, [r3, #0] + 8002684: 691a ldr r2, [r3, #16] + 8002686: 68fb ldr r3, [r7, #12] + 8002688: 6a5b ldr r3, [r3, #36] ; 0x24 + 800268a: b2d2 uxtb r2, r2 + 800268c: 701a strb r2, [r3, #0] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 8002576: 68fb ldr r3, [r7, #12] - 8002578: 6a5b ldr r3, [r3, #36] ; 0x24 - 800257a: 1c5a adds r2, r3, #1 - 800257c: 68fb ldr r3, [r7, #12] - 800257e: 625a str r2, [r3, #36] ; 0x24 + 800268e: 68fb ldr r3, [r7, #12] + 8002690: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002692: 1c5a adds r2, r3, #1 + 8002694: 68fb ldr r3, [r7, #12] + 8002696: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 8002580: 68fb ldr r3, [r7, #12] - 8002582: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8002584: 3b01 subs r3, #1 - 8002586: b29a uxth r2, r3 - 8002588: 68fb ldr r3, [r7, #12] - 800258a: 851a strh r2, [r3, #40] ; 0x28 + 8002698: 68fb ldr r3, [r7, #12] + 800269a: 8d1b ldrh r3, [r3, #40] ; 0x28 + 800269c: 3b01 subs r3, #1 + 800269e: b29a uxth r2, r3 + 80026a0: 68fb ldr r3, [r7, #12] + 80026a2: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 800258c: 68fb ldr r3, [r7, #12] - 800258e: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8002590: b29b uxth r3, r3 - 8002592: 3b01 subs r3, #1 - 8002594: b29a uxth r2, r3 - 8002596: 68fb ldr r3, [r7, #12] - 8002598: 855a strh r2, [r3, #42] ; 0x2a + 80026a4: 68fb ldr r3, [r7, #12] + 80026a6: 8d5b ldrh r3, [r3, #42] ; 0x2a + 80026a8: b29b uxth r3, r3 + 80026aa: 3b01 subs r3, #1 + 80026ac: b29a uxth r2, r3 + 80026ae: 68fb ldr r3, [r7, #12] + 80026b0: 855a strh r2, [r3, #42] ; 0x2a __ASM volatile ("cpsie i" : : : "memory"); - 800259a: b662 cpsie i + 80026b2: b662 cpsie i } - 800259c: bf00 nop + 80026b4: bf00 nop /* Re-enable IRQs */ __enable_irq(); /* Read data from DR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR; - 800259e: 68fb ldr r3, [r7, #12] - 80025a0: 681b ldr r3, [r3, #0] - 80025a2: 691a ldr r2, [r3, #16] - 80025a4: 68fb ldr r3, [r7, #12] - 80025a6: 6a5b ldr r3, [r3, #36] ; 0x24 - 80025a8: b2d2 uxtb r2, r2 - 80025aa: 701a strb r2, [r3, #0] + 80026b6: 68fb ldr r3, [r7, #12] + 80026b8: 681b ldr r3, [r3, #0] + 80026ba: 691a ldr r2, [r3, #16] + 80026bc: 68fb ldr r3, [r7, #12] + 80026be: 6a5b ldr r3, [r3, #36] ; 0x24 + 80026c0: b2d2 uxtb r2, r2 + 80026c2: 701a strb r2, [r3, #0] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 80025ac: 68fb ldr r3, [r7, #12] - 80025ae: 6a5b ldr r3, [r3, #36] ; 0x24 - 80025b0: 1c5a adds r2, r3, #1 - 80025b2: 68fb ldr r3, [r7, #12] - 80025b4: 625a str r2, [r3, #36] ; 0x24 + 80026c4: 68fb ldr r3, [r7, #12] + 80026c6: 6a5b ldr r3, [r3, #36] ; 0x24 + 80026c8: 1c5a adds r2, r3, #1 + 80026ca: 68fb ldr r3, [r7, #12] + 80026cc: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 80025b6: 68fb ldr r3, [r7, #12] - 80025b8: 8d1b ldrh r3, [r3, #40] ; 0x28 - 80025ba: 3b01 subs r3, #1 - 80025bc: b29a uxth r2, r3 - 80025be: 68fb ldr r3, [r7, #12] - 80025c0: 851a strh r2, [r3, #40] ; 0x28 + 80026ce: 68fb ldr r3, [r7, #12] + 80026d0: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80026d2: 3b01 subs r3, #1 + 80026d4: b29a uxth r2, r3 + 80026d6: 68fb ldr r3, [r7, #12] + 80026d8: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 80025c2: 68fb ldr r3, [r7, #12] - 80025c4: 8d5b ldrh r3, [r3, #42] ; 0x2a - 80025c6: b29b uxth r3, r3 - 80025c8: 3b01 subs r3, #1 - 80025ca: b29a uxth r2, r3 - 80025cc: 68fb ldr r3, [r7, #12] - 80025ce: 855a strh r2, [r3, #42] ; 0x2a - 80025d0: e0e2 b.n 8002798 + 80026da: 68fb ldr r3, [r7, #12] + 80026dc: 8d5b ldrh r3, [r3, #42] ; 0x2a + 80026de: b29b uxth r3, r3 + 80026e0: 3b01 subs r3, #1 + 80026e2: b29a uxth r2, r3 + 80026e4: 68fb ldr r3, [r7, #12] + 80026e6: 855a strh r2, [r3, #42] ; 0x2a + 80026e8: e0e2 b.n 80028b0 } /* 3 Last bytes */ else { /* Wait until BTF flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET, Timeout, tickstart) != HAL_OK) - 80025d2: 6a7b ldr r3, [r7, #36] ; 0x24 - 80025d4: 9300 str r3, [sp, #0] - 80025d6: 6bbb ldr r3, [r7, #56] ; 0x38 - 80025d8: 2200 movs r2, #0 - 80025da: 497b ldr r1, [pc, #492] ; (80027c8 ) - 80025dc: 68f8 ldr r0, [r7, #12] - 80025de: f000 fa77 bl 8002ad0 - 80025e2: 4603 mov r3, r0 - 80025e4: 2b00 cmp r3, #0 - 80025e6: d001 beq.n 80025ec + 80026ea: 6a7b ldr r3, [r7, #36] ; 0x24 + 80026ec: 9300 str r3, [sp, #0] + 80026ee: 6bbb ldr r3, [r7, #56] ; 0x38 + 80026f0: 2200 movs r2, #0 + 80026f2: 497b ldr r1, [pc, #492] ; (80028e0 ) + 80026f4: 68f8 ldr r0, [r7, #12] + 80026f6: f000 fa77 bl 8002be8 + 80026fa: 4603 mov r3, r0 + 80026fc: 2b00 cmp r3, #0 + 80026fe: d001 beq.n 8002704 { return HAL_ERROR; - 80025e8: 2301 movs r3, #1 - 80025ea: e0e9 b.n 80027c0 + 8002700: 2301 movs r3, #1 + 8002702: e0e9 b.n 80028d8 } /* Disable Acknowledge */ CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK); - 80025ec: 68fb ldr r3, [r7, #12] - 80025ee: 681b ldr r3, [r3, #0] - 80025f0: 681a ldr r2, [r3, #0] - 80025f2: 68fb ldr r3, [r7, #12] - 80025f4: 681b ldr r3, [r3, #0] - 80025f6: f422 6280 bic.w r2, r2, #1024 ; 0x400 - 80025fa: 601a str r2, [r3, #0] + 8002704: 68fb ldr r3, [r7, #12] + 8002706: 681b ldr r3, [r3, #0] + 8002708: 681a ldr r2, [r3, #0] + 800270a: 68fb ldr r3, [r7, #12] + 800270c: 681b ldr r3, [r3, #0] + 800270e: f422 6280 bic.w r2, r2, #1024 ; 0x400 + 8002712: 601a str r2, [r3, #0] __ASM volatile ("cpsid i" : : : "memory"); - 80025fc: b672 cpsid i + 8002714: b672 cpsid i } - 80025fe: bf00 nop + 8002716: bf00 nop /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3 software sequence must complete before the current byte end of transfer */ __disable_irq(); /* Read data from DR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR; - 8002600: 68fb ldr r3, [r7, #12] - 8002602: 681b ldr r3, [r3, #0] - 8002604: 691a ldr r2, [r3, #16] - 8002606: 68fb ldr r3, [r7, #12] - 8002608: 6a5b ldr r3, [r3, #36] ; 0x24 - 800260a: b2d2 uxtb r2, r2 - 800260c: 701a strb r2, [r3, #0] + 8002718: 68fb ldr r3, [r7, #12] + 800271a: 681b ldr r3, [r3, #0] + 800271c: 691a ldr r2, [r3, #16] + 800271e: 68fb ldr r3, [r7, #12] + 8002720: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002722: b2d2 uxtb r2, r2 + 8002724: 701a strb r2, [r3, #0] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 800260e: 68fb ldr r3, [r7, #12] - 8002610: 6a5b ldr r3, [r3, #36] ; 0x24 - 8002612: 1c5a adds r2, r3, #1 - 8002614: 68fb ldr r3, [r7, #12] - 8002616: 625a str r2, [r3, #36] ; 0x24 + 8002726: 68fb ldr r3, [r7, #12] + 8002728: 6a5b ldr r3, [r3, #36] ; 0x24 + 800272a: 1c5a adds r2, r3, #1 + 800272c: 68fb ldr r3, [r7, #12] + 800272e: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 8002618: 68fb ldr r3, [r7, #12] - 800261a: 8d1b ldrh r3, [r3, #40] ; 0x28 - 800261c: 3b01 subs r3, #1 - 800261e: b29a uxth r2, r3 - 8002620: 68fb ldr r3, [r7, #12] - 8002622: 851a strh r2, [r3, #40] ; 0x28 + 8002730: 68fb ldr r3, [r7, #12] + 8002732: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8002734: 3b01 subs r3, #1 + 8002736: b29a uxth r2, r3 + 8002738: 68fb ldr r3, [r7, #12] + 800273a: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 8002624: 68fb ldr r3, [r7, #12] - 8002626: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8002628: b29b uxth r3, r3 - 800262a: 3b01 subs r3, #1 - 800262c: b29a uxth r2, r3 - 800262e: 68fb ldr r3, [r7, #12] - 8002630: 855a strh r2, [r3, #42] ; 0x2a + 800273c: 68fb ldr r3, [r7, #12] + 800273e: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8002740: b29b uxth r3, r3 + 8002742: 3b01 subs r3, #1 + 8002744: b29a uxth r2, r3 + 8002746: 68fb ldr r3, [r7, #12] + 8002748: 855a strh r2, [r3, #42] ; 0x2a /* Wait until BTF flag is set */ count = I2C_TIMEOUT_FLAG * (SystemCoreClock / 25U / 1000U); - 8002632: 4b66 ldr r3, [pc, #408] ; (80027cc ) - 8002634: 681b ldr r3, [r3, #0] - 8002636: 08db lsrs r3, r3, #3 - 8002638: 4a65 ldr r2, [pc, #404] ; (80027d0 ) - 800263a: fba2 2303 umull r2, r3, r2, r3 - 800263e: 0a1a lsrs r2, r3, #8 - 8002640: 4613 mov r3, r2 - 8002642: 009b lsls r3, r3, #2 - 8002644: 4413 add r3, r2 - 8002646: 00da lsls r2, r3, #3 - 8002648: 1ad3 subs r3, r2, r3 - 800264a: 623b str r3, [r7, #32] + 800274a: 4b66 ldr r3, [pc, #408] ; (80028e4 ) + 800274c: 681b ldr r3, [r3, #0] + 800274e: 08db lsrs r3, r3, #3 + 8002750: 4a65 ldr r2, [pc, #404] ; (80028e8 ) + 8002752: fba2 2303 umull r2, r3, r2, r3 + 8002756: 0a1a lsrs r2, r3, #8 + 8002758: 4613 mov r3, r2 + 800275a: 009b lsls r3, r3, #2 + 800275c: 4413 add r3, r2 + 800275e: 00da lsls r2, r3, #3 + 8002760: 1ad3 subs r3, r2, r3 + 8002762: 623b str r3, [r7, #32] do { count--; - 800264c: 6a3b ldr r3, [r7, #32] - 800264e: 3b01 subs r3, #1 - 8002650: 623b str r3, [r7, #32] + 8002764: 6a3b ldr r3, [r7, #32] + 8002766: 3b01 subs r3, #1 + 8002768: 623b str r3, [r7, #32] if (count == 0U) - 8002652: 6a3b ldr r3, [r7, #32] - 8002654: 2b00 cmp r3, #0 - 8002656: d118 bne.n 800268a + 800276a: 6a3b ldr r3, [r7, #32] + 800276c: 2b00 cmp r3, #0 + 800276e: d118 bne.n 80027a2 { hi2c->PreviousState = I2C_STATE_NONE; - 8002658: 68fb ldr r3, [r7, #12] - 800265a: 2200 movs r2, #0 - 800265c: 631a str r2, [r3, #48] ; 0x30 + 8002770: 68fb ldr r3, [r7, #12] + 8002772: 2200 movs r2, #0 + 8002774: 631a str r2, [r3, #48] ; 0x30 hi2c->State = HAL_I2C_STATE_READY; - 800265e: 68fb ldr r3, [r7, #12] - 8002660: 2220 movs r2, #32 - 8002662: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8002776: 68fb ldr r3, [r7, #12] + 8002778: 2220 movs r2, #32 + 800277a: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 8002666: 68fb ldr r3, [r7, #12] - 8002668: 2200 movs r2, #0 - 800266a: f883 203e strb.w r2, [r3, #62] ; 0x3e + 800277e: 68fb ldr r3, [r7, #12] + 8002780: 2200 movs r2, #0 + 8002782: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 800266e: 68fb ldr r3, [r7, #12] - 8002670: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002672: f043 0220 orr.w r2, r3, #32 - 8002676: 68fb ldr r3, [r7, #12] - 8002678: 641a str r2, [r3, #64] ; 0x40 + 8002786: 68fb ldr r3, [r7, #12] + 8002788: 6c1b ldr r3, [r3, #64] ; 0x40 + 800278a: f043 0220 orr.w r2, r3, #32 + 800278e: 68fb ldr r3, [r7, #12] + 8002790: 641a str r2, [r3, #64] ; 0x40 __ASM volatile ("cpsie i" : : : "memory"); - 800267a: b662 cpsie i + 8002792: b662 cpsie i } - 800267c: bf00 nop + 8002794: bf00 nop /* Re-enable IRQs */ __enable_irq(); /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 800267e: 68fb ldr r3, [r7, #12] - 8002680: 2200 movs r2, #0 - 8002682: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002796: 68fb ldr r3, [r7, #12] + 8002798: 2200 movs r2, #0 + 800279a: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8002686: 2301 movs r3, #1 - 8002688: e09a b.n 80027c0 + 800279e: 2301 movs r3, #1 + 80027a0: e09a b.n 80028d8 } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == RESET); - 800268a: 68fb ldr r3, [r7, #12] - 800268c: 681b ldr r3, [r3, #0] - 800268e: 695b ldr r3, [r3, #20] - 8002690: f003 0304 and.w r3, r3, #4 - 8002694: 2b04 cmp r3, #4 - 8002696: d1d9 bne.n 800264c + 80027a2: 68fb ldr r3, [r7, #12] + 80027a4: 681b ldr r3, [r3, #0] + 80027a6: 695b ldr r3, [r3, #20] + 80027a8: f003 0304 and.w r3, r3, #4 + 80027ac: 2b04 cmp r3, #4 + 80027ae: d1d9 bne.n 8002764 /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 8002698: 68fb ldr r3, [r7, #12] - 800269a: 681b ldr r3, [r3, #0] - 800269c: 681a ldr r2, [r3, #0] - 800269e: 68fb ldr r3, [r7, #12] - 80026a0: 681b ldr r3, [r3, #0] - 80026a2: f442 7200 orr.w r2, r2, #512 ; 0x200 - 80026a6: 601a str r2, [r3, #0] + 80027b0: 68fb ldr r3, [r7, #12] + 80027b2: 681b ldr r3, [r3, #0] + 80027b4: 681a ldr r2, [r3, #0] + 80027b6: 68fb ldr r3, [r7, #12] + 80027b8: 681b ldr r3, [r3, #0] + 80027ba: f442 7200 orr.w r2, r2, #512 ; 0x200 + 80027be: 601a str r2, [r3, #0] /* Read data from DR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR; - 80026a8: 68fb ldr r3, [r7, #12] - 80026aa: 681b ldr r3, [r3, #0] - 80026ac: 691a ldr r2, [r3, #16] - 80026ae: 68fb ldr r3, [r7, #12] - 80026b0: 6a5b ldr r3, [r3, #36] ; 0x24 - 80026b2: b2d2 uxtb r2, r2 - 80026b4: 701a strb r2, [r3, #0] + 80027c0: 68fb ldr r3, [r7, #12] + 80027c2: 681b ldr r3, [r3, #0] + 80027c4: 691a ldr r2, [r3, #16] + 80027c6: 68fb ldr r3, [r7, #12] + 80027c8: 6a5b ldr r3, [r3, #36] ; 0x24 + 80027ca: b2d2 uxtb r2, r2 + 80027cc: 701a strb r2, [r3, #0] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 80026b6: 68fb ldr r3, [r7, #12] - 80026b8: 6a5b ldr r3, [r3, #36] ; 0x24 - 80026ba: 1c5a adds r2, r3, #1 - 80026bc: 68fb ldr r3, [r7, #12] - 80026be: 625a str r2, [r3, #36] ; 0x24 + 80027ce: 68fb ldr r3, [r7, #12] + 80027d0: 6a5b ldr r3, [r3, #36] ; 0x24 + 80027d2: 1c5a adds r2, r3, #1 + 80027d4: 68fb ldr r3, [r7, #12] + 80027d6: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 80026c0: 68fb ldr r3, [r7, #12] - 80026c2: 8d1b ldrh r3, [r3, #40] ; 0x28 - 80026c4: 3b01 subs r3, #1 - 80026c6: b29a uxth r2, r3 - 80026c8: 68fb ldr r3, [r7, #12] - 80026ca: 851a strh r2, [r3, #40] ; 0x28 + 80027d8: 68fb ldr r3, [r7, #12] + 80027da: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80027dc: 3b01 subs r3, #1 + 80027de: b29a uxth r2, r3 + 80027e0: 68fb ldr r3, [r7, #12] + 80027e2: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 80026cc: 68fb ldr r3, [r7, #12] - 80026ce: 8d5b ldrh r3, [r3, #42] ; 0x2a - 80026d0: b29b uxth r3, r3 - 80026d2: 3b01 subs r3, #1 - 80026d4: b29a uxth r2, r3 - 80026d6: 68fb ldr r3, [r7, #12] - 80026d8: 855a strh r2, [r3, #42] ; 0x2a + 80027e4: 68fb ldr r3, [r7, #12] + 80027e6: 8d5b ldrh r3, [r3, #42] ; 0x2a + 80027e8: b29b uxth r3, r3 + 80027ea: 3b01 subs r3, #1 + 80027ec: b29a uxth r2, r3 + 80027ee: 68fb ldr r3, [r7, #12] + 80027f0: 855a strh r2, [r3, #42] ; 0x2a __ASM volatile ("cpsie i" : : : "memory"); - 80026da: b662 cpsie i + 80027f2: b662 cpsie i } - 80026dc: bf00 nop + 80027f4: bf00 nop /* Re-enable IRQs */ __enable_irq(); /* Read data from DR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR; - 80026de: 68fb ldr r3, [r7, #12] - 80026e0: 681b ldr r3, [r3, #0] - 80026e2: 691a ldr r2, [r3, #16] - 80026e4: 68fb ldr r3, [r7, #12] - 80026e6: 6a5b ldr r3, [r3, #36] ; 0x24 - 80026e8: b2d2 uxtb r2, r2 - 80026ea: 701a strb r2, [r3, #0] + 80027f6: 68fb ldr r3, [r7, #12] + 80027f8: 681b ldr r3, [r3, #0] + 80027fa: 691a ldr r2, [r3, #16] + 80027fc: 68fb ldr r3, [r7, #12] + 80027fe: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002800: b2d2 uxtb r2, r2 + 8002802: 701a strb r2, [r3, #0] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 80026ec: 68fb ldr r3, [r7, #12] - 80026ee: 6a5b ldr r3, [r3, #36] ; 0x24 - 80026f0: 1c5a adds r2, r3, #1 - 80026f2: 68fb ldr r3, [r7, #12] - 80026f4: 625a str r2, [r3, #36] ; 0x24 + 8002804: 68fb ldr r3, [r7, #12] + 8002806: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002808: 1c5a adds r2, r3, #1 + 800280a: 68fb ldr r3, [r7, #12] + 800280c: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 80026f6: 68fb ldr r3, [r7, #12] - 80026f8: 8d1b ldrh r3, [r3, #40] ; 0x28 - 80026fa: 3b01 subs r3, #1 - 80026fc: b29a uxth r2, r3 - 80026fe: 68fb ldr r3, [r7, #12] - 8002700: 851a strh r2, [r3, #40] ; 0x28 + 800280e: 68fb ldr r3, [r7, #12] + 8002810: 8d1b ldrh r3, [r3, #40] ; 0x28 + 8002812: 3b01 subs r3, #1 + 8002814: b29a uxth r2, r3 + 8002816: 68fb ldr r3, [r7, #12] + 8002818: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 8002702: 68fb ldr r3, [r7, #12] - 8002704: 8d5b ldrh r3, [r3, #42] ; 0x2a - 8002706: b29b uxth r3, r3 - 8002708: 3b01 subs r3, #1 - 800270a: b29a uxth r2, r3 - 800270c: 68fb ldr r3, [r7, #12] - 800270e: 855a strh r2, [r3, #42] ; 0x2a - 8002710: e042 b.n 8002798 + 800281a: 68fb ldr r3, [r7, #12] + 800281c: 8d5b ldrh r3, [r3, #42] ; 0x2a + 800281e: b29b uxth r3, r3 + 8002820: 3b01 subs r3, #1 + 8002822: b29a uxth r2, r3 + 8002824: 68fb ldr r3, [r7, #12] + 8002826: 855a strh r2, [r3, #42] ; 0x2a + 8002828: e042 b.n 80028b0 } } else { /* Wait until RXNE flag is set */ if (I2C_WaitOnRXNEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK) - 8002712: 6a7a ldr r2, [r7, #36] ; 0x24 - 8002714: 6bb9 ldr r1, [r7, #56] ; 0x38 - 8002716: 68f8 ldr r0, [r7, #12] - 8002718: f000 fb32 bl 8002d80 - 800271c: 4603 mov r3, r0 - 800271e: 2b00 cmp r3, #0 - 8002720: d001 beq.n 8002726 + 800282a: 6a7a ldr r2, [r7, #36] ; 0x24 + 800282c: 6bb9 ldr r1, [r7, #56] ; 0x38 + 800282e: 68f8 ldr r0, [r7, #12] + 8002830: f000 fb32 bl 8002e98 + 8002834: 4603 mov r3, r0 + 8002836: 2b00 cmp r3, #0 + 8002838: d001 beq.n 800283e { return HAL_ERROR; - 8002722: 2301 movs r3, #1 - 8002724: e04c b.n 80027c0 + 800283a: 2301 movs r3, #1 + 800283c: e04c b.n 80028d8 } /* Read data from DR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR; - 8002726: 68fb ldr r3, [r7, #12] - 8002728: 681b ldr r3, [r3, #0] - 800272a: 691a ldr r2, [r3, #16] - 800272c: 68fb ldr r3, [r7, #12] - 800272e: 6a5b ldr r3, [r3, #36] ; 0x24 - 8002730: b2d2 uxtb r2, r2 - 8002732: 701a strb r2, [r3, #0] + 800283e: 68fb ldr r3, [r7, #12] + 8002840: 681b ldr r3, [r3, #0] + 8002842: 691a ldr r2, [r3, #16] + 8002844: 68fb ldr r3, [r7, #12] + 8002846: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002848: b2d2 uxtb r2, r2 + 800284a: 701a strb r2, [r3, #0] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 8002734: 68fb ldr r3, [r7, #12] - 8002736: 6a5b ldr r3, [r3, #36] ; 0x24 - 8002738: 1c5a adds r2, r3, #1 - 800273a: 68fb ldr r3, [r7, #12] - 800273c: 625a str r2, [r3, #36] ; 0x24 + 800284c: 68fb ldr r3, [r7, #12] + 800284e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002850: 1c5a adds r2, r3, #1 + 8002852: 68fb ldr r3, [r7, #12] + 8002854: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 800273e: 68fb ldr r3, [r7, #12] - 8002740: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8002742: 3b01 subs r3, #1 - 8002744: b29a uxth r2, r3 - 8002746: 68fb ldr r3, [r7, #12] - 8002748: 851a strh r2, [r3, #40] ; 0x28 + 8002856: 68fb ldr r3, [r7, #12] + 8002858: 8d1b ldrh r3, [r3, #40] ; 0x28 + 800285a: 3b01 subs r3, #1 + 800285c: b29a uxth r2, r3 + 800285e: 68fb ldr r3, [r7, #12] + 8002860: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 800274a: 68fb ldr r3, [r7, #12] - 800274c: 8d5b ldrh r3, [r3, #42] ; 0x2a - 800274e: b29b uxth r3, r3 - 8002750: 3b01 subs r3, #1 - 8002752: b29a uxth r2, r3 - 8002754: 68fb ldr r3, [r7, #12] - 8002756: 855a strh r2, [r3, #42] ; 0x2a + 8002862: 68fb ldr r3, [r7, #12] + 8002864: 8d5b ldrh r3, [r3, #42] ; 0x2a + 8002866: b29b uxth r3, r3 + 8002868: 3b01 subs r3, #1 + 800286a: b29a uxth r2, r3 + 800286c: 68fb ldr r3, [r7, #12] + 800286e: 855a strh r2, [r3, #42] ; 0x2a if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET) - 8002758: 68fb ldr r3, [r7, #12] - 800275a: 681b ldr r3, [r3, #0] - 800275c: 695b ldr r3, [r3, #20] - 800275e: f003 0304 and.w r3, r3, #4 - 8002762: 2b04 cmp r3, #4 - 8002764: d118 bne.n 8002798 + 8002870: 68fb ldr r3, [r7, #12] + 8002872: 681b ldr r3, [r3, #0] + 8002874: 695b ldr r3, [r3, #20] + 8002876: f003 0304 and.w r3, r3, #4 + 800287a: 2b04 cmp r3, #4 + 800287c: d118 bne.n 80028b0 { /* Read data from DR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR; - 8002766: 68fb ldr r3, [r7, #12] - 8002768: 681b ldr r3, [r3, #0] - 800276a: 691a ldr r2, [r3, #16] - 800276c: 68fb ldr r3, [r7, #12] - 800276e: 6a5b ldr r3, [r3, #36] ; 0x24 - 8002770: b2d2 uxtb r2, r2 - 8002772: 701a strb r2, [r3, #0] + 800287e: 68fb ldr r3, [r7, #12] + 8002880: 681b ldr r3, [r3, #0] + 8002882: 691a ldr r2, [r3, #16] + 8002884: 68fb ldr r3, [r7, #12] + 8002886: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002888: b2d2 uxtb r2, r2 + 800288a: 701a strb r2, [r3, #0] /* Increment Buffer pointer */ hi2c->pBuffPtr++; - 8002774: 68fb ldr r3, [r7, #12] - 8002776: 6a5b ldr r3, [r3, #36] ; 0x24 - 8002778: 1c5a adds r2, r3, #1 - 800277a: 68fb ldr r3, [r7, #12] - 800277c: 625a str r2, [r3, #36] ; 0x24 + 800288c: 68fb ldr r3, [r7, #12] + 800288e: 6a5b ldr r3, [r3, #36] ; 0x24 + 8002890: 1c5a adds r2, r3, #1 + 8002892: 68fb ldr r3, [r7, #12] + 8002894: 625a str r2, [r3, #36] ; 0x24 /* Update counter */ hi2c->XferSize--; - 800277e: 68fb ldr r3, [r7, #12] - 8002780: 8d1b ldrh r3, [r3, #40] ; 0x28 - 8002782: 3b01 subs r3, #1 - 8002784: b29a uxth r2, r3 - 8002786: 68fb ldr r3, [r7, #12] - 8002788: 851a strh r2, [r3, #40] ; 0x28 + 8002896: 68fb ldr r3, [r7, #12] + 8002898: 8d1b ldrh r3, [r3, #40] ; 0x28 + 800289a: 3b01 subs r3, #1 + 800289c: b29a uxth r2, r3 + 800289e: 68fb ldr r3, [r7, #12] + 80028a0: 851a strh r2, [r3, #40] ; 0x28 hi2c->XferCount--; - 800278a: 68fb ldr r3, [r7, #12] - 800278c: 8d5b ldrh r3, [r3, #42] ; 0x2a - 800278e: b29b uxth r3, r3 - 8002790: 3b01 subs r3, #1 - 8002792: b29a uxth r2, r3 - 8002794: 68fb ldr r3, [r7, #12] - 8002796: 855a strh r2, [r3, #42] ; 0x2a + 80028a2: 68fb ldr r3, [r7, #12] + 80028a4: 8d5b ldrh r3, [r3, #42] ; 0x2a + 80028a6: b29b uxth r3, r3 + 80028a8: 3b01 subs r3, #1 + 80028aa: b29a uxth r2, r3 + 80028ac: 68fb ldr r3, [r7, #12] + 80028ae: 855a strh r2, [r3, #42] ; 0x2a while (hi2c->XferSize > 0U) - 8002798: 68fb ldr r3, [r7, #12] - 800279a: 8d1b ldrh r3, [r3, #40] ; 0x28 - 800279c: 2b00 cmp r3, #0 - 800279e: f47f ae94 bne.w 80024ca + 80028b0: 68fb ldr r3, [r7, #12] + 80028b2: 8d1b ldrh r3, [r3, #40] ; 0x28 + 80028b4: 2b00 cmp r3, #0 + 80028b6: f47f ae94 bne.w 80025e2 } } } hi2c->State = HAL_I2C_STATE_READY; - 80027a2: 68fb ldr r3, [r7, #12] - 80027a4: 2220 movs r2, #32 - 80027a6: f883 203d strb.w r2, [r3, #61] ; 0x3d + 80028ba: 68fb ldr r3, [r7, #12] + 80028bc: 2220 movs r2, #32 + 80028be: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 80027aa: 68fb ldr r3, [r7, #12] - 80027ac: 2200 movs r2, #0 - 80027ae: f883 203e strb.w r2, [r3, #62] ; 0x3e + 80028c2: 68fb ldr r3, [r7, #12] + 80028c4: 2200 movs r2, #0 + 80028c6: f883 203e strb.w r2, [r3, #62] ; 0x3e /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 80027b2: 68fb ldr r3, [r7, #12] - 80027b4: 2200 movs r2, #0 - 80027b6: f883 203c strb.w r2, [r3, #60] ; 0x3c + 80028ca: 68fb ldr r3, [r7, #12] + 80028cc: 2200 movs r2, #0 + 80028ce: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_OK; - 80027ba: 2300 movs r3, #0 - 80027bc: e000 b.n 80027c0 + 80028d2: 2300 movs r3, #0 + 80028d4: e000 b.n 80028d8 } else { return HAL_BUSY; - 80027be: 2302 movs r3, #2 + 80028d6: 2302 movs r3, #2 } } - 80027c0: 4618 mov r0, r3 - 80027c2: 3728 adds r7, #40 ; 0x28 - 80027c4: 46bd mov sp, r7 - 80027c6: bd80 pop {r7, pc} - 80027c8: 00010004 .word 0x00010004 - 80027cc: 20000000 .word 0x20000000 - 80027d0: 14f8b589 .word 0x14f8b589 + 80028d8: 4618 mov r0, r3 + 80028da: 3728 adds r7, #40 ; 0x28 + 80028dc: 46bd mov sp, r7 + 80028de: bd80 pop {r7, pc} + 80028e0: 00010004 .word 0x00010004 + 80028e4: 20000000 .word 0x20000000 + 80028e8: 14f8b589 .word 0x14f8b589 -080027d4 : +080028ec : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_RequestMemoryWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint32_t Timeout, uint32_t Tickstart) { - 80027d4: b580 push {r7, lr} - 80027d6: b088 sub sp, #32 - 80027d8: af02 add r7, sp, #8 - 80027da: 60f8 str r0, [r7, #12] - 80027dc: 4608 mov r0, r1 - 80027de: 4611 mov r1, r2 - 80027e0: 461a mov r2, r3 - 80027e2: 4603 mov r3, r0 - 80027e4: 817b strh r3, [r7, #10] - 80027e6: 460b mov r3, r1 - 80027e8: 813b strh r3, [r7, #8] - 80027ea: 4613 mov r3, r2 - 80027ec: 80fb strh r3, [r7, #6] + 80028ec: b580 push {r7, lr} + 80028ee: b088 sub sp, #32 + 80028f0: af02 add r7, sp, #8 + 80028f2: 60f8 str r0, [r7, #12] + 80028f4: 4608 mov r0, r1 + 80028f6: 4611 mov r1, r2 + 80028f8: 461a mov r2, r3 + 80028fa: 4603 mov r3, r0 + 80028fc: 817b strh r3, [r7, #10] + 80028fe: 460b mov r3, r1 + 8002900: 813b strh r3, [r7, #8] + 8002902: 4613 mov r3, r2 + 8002904: 80fb strh r3, [r7, #6] /* Generate Start */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_START); - 80027ee: 68fb ldr r3, [r7, #12] - 80027f0: 681b ldr r3, [r3, #0] - 80027f2: 681a ldr r2, [r3, #0] - 80027f4: 68fb ldr r3, [r7, #12] - 80027f6: 681b ldr r3, [r3, #0] - 80027f8: f442 7280 orr.w r2, r2, #256 ; 0x100 - 80027fc: 601a str r2, [r3, #0] + 8002906: 68fb ldr r3, [r7, #12] + 8002908: 681b ldr r3, [r3, #0] + 800290a: 681a ldr r2, [r3, #0] + 800290c: 68fb ldr r3, [r7, #12] + 800290e: 681b ldr r3, [r3, #0] + 8002910: f442 7280 orr.w r2, r2, #256 ; 0x100 + 8002914: 601a str r2, [r3, #0] /* Wait until SB flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, Tickstart) != HAL_OK) - 80027fe: 6a7b ldr r3, [r7, #36] ; 0x24 - 8002800: 9300 str r3, [sp, #0] - 8002802: 6a3b ldr r3, [r7, #32] - 8002804: 2200 movs r2, #0 - 8002806: f04f 1101 mov.w r1, #65537 ; 0x10001 - 800280a: 68f8 ldr r0, [r7, #12] - 800280c: f000 f960 bl 8002ad0 - 8002810: 4603 mov r3, r0 - 8002812: 2b00 cmp r3, #0 - 8002814: d00d beq.n 8002832 + 8002916: 6a7b ldr r3, [r7, #36] ; 0x24 + 8002918: 9300 str r3, [sp, #0] + 800291a: 6a3b ldr r3, [r7, #32] + 800291c: 2200 movs r2, #0 + 800291e: f04f 1101 mov.w r1, #65537 ; 0x10001 + 8002922: 68f8 ldr r0, [r7, #12] + 8002924: f000 f960 bl 8002be8 + 8002928: 4603 mov r3, r0 + 800292a: 2b00 cmp r3, #0 + 800292c: d00d beq.n 800294a { if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START) - 8002816: 68fb ldr r3, [r7, #12] - 8002818: 681b ldr r3, [r3, #0] - 800281a: 681b ldr r3, [r3, #0] - 800281c: f403 7380 and.w r3, r3, #256 ; 0x100 - 8002820: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 8002824: d103 bne.n 800282e + 800292e: 68fb ldr r3, [r7, #12] + 8002930: 681b ldr r3, [r3, #0] + 8002932: 681b ldr r3, [r3, #0] + 8002934: f403 7380 and.w r3, r3, #256 ; 0x100 + 8002938: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 800293c: d103 bne.n 8002946 { hi2c->ErrorCode = HAL_I2C_WRONG_START; - 8002826: 68fb ldr r3, [r7, #12] - 8002828: f44f 7200 mov.w r2, #512 ; 0x200 - 800282c: 641a str r2, [r3, #64] ; 0x40 + 800293e: 68fb ldr r3, [r7, #12] + 8002940: f44f 7200 mov.w r2, #512 ; 0x200 + 8002944: 641a str r2, [r3, #64] ; 0x40 } return HAL_TIMEOUT; - 800282e: 2303 movs r3, #3 - 8002830: e05f b.n 80028f2 + 8002946: 2303 movs r3, #3 + 8002948: e05f b.n 8002a0a } /* Send slave address */ hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(DevAddress); - 8002832: 897b ldrh r3, [r7, #10] - 8002834: b2db uxtb r3, r3 - 8002836: 461a mov r2, r3 - 8002838: 68fb ldr r3, [r7, #12] - 800283a: 681b ldr r3, [r3, #0] - 800283c: f002 02fe and.w r2, r2, #254 ; 0xfe - 8002840: 611a str r2, [r3, #16] + 800294a: 897b ldrh r3, [r7, #10] + 800294c: b2db uxtb r3, r3 + 800294e: 461a mov r2, r3 + 8002950: 68fb ldr r3, [r7, #12] + 8002952: 681b ldr r3, [r3, #0] + 8002954: f002 02fe and.w r2, r2, #254 ; 0xfe + 8002958: 611a str r2, [r3, #16] /* Wait until ADDR flag is set */ if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, Timeout, Tickstart) != HAL_OK) - 8002842: 6a7b ldr r3, [r7, #36] ; 0x24 - 8002844: 6a3a ldr r2, [r7, #32] - 8002846: 492d ldr r1, [pc, #180] ; (80028fc ) - 8002848: 68f8 ldr r0, [r7, #12] - 800284a: f000 f998 bl 8002b7e - 800284e: 4603 mov r3, r0 - 8002850: 2b00 cmp r3, #0 - 8002852: d001 beq.n 8002858 + 800295a: 6a7b ldr r3, [r7, #36] ; 0x24 + 800295c: 6a3a ldr r2, [r7, #32] + 800295e: 492d ldr r1, [pc, #180] ; (8002a14 ) + 8002960: 68f8 ldr r0, [r7, #12] + 8002962: f000 f998 bl 8002c96 + 8002966: 4603 mov r3, r0 + 8002968: 2b00 cmp r3, #0 + 800296a: d001 beq.n 8002970 { return HAL_ERROR; - 8002854: 2301 movs r3, #1 - 8002856: e04c b.n 80028f2 + 800296c: 2301 movs r3, #1 + 800296e: e04c b.n 8002a0a } /* Clear ADDR flag */ __HAL_I2C_CLEAR_ADDRFLAG(hi2c); - 8002858: 2300 movs r3, #0 - 800285a: 617b str r3, [r7, #20] - 800285c: 68fb ldr r3, [r7, #12] - 800285e: 681b ldr r3, [r3, #0] - 8002860: 695b ldr r3, [r3, #20] - 8002862: 617b str r3, [r7, #20] - 8002864: 68fb ldr r3, [r7, #12] - 8002866: 681b ldr r3, [r3, #0] - 8002868: 699b ldr r3, [r3, #24] - 800286a: 617b str r3, [r7, #20] - 800286c: 697b ldr r3, [r7, #20] + 8002970: 2300 movs r3, #0 + 8002972: 617b str r3, [r7, #20] + 8002974: 68fb ldr r3, [r7, #12] + 8002976: 681b ldr r3, [r3, #0] + 8002978: 695b ldr r3, [r3, #20] + 800297a: 617b str r3, [r7, #20] + 800297c: 68fb ldr r3, [r7, #12] + 800297e: 681b ldr r3, [r3, #0] + 8002980: 699b ldr r3, [r3, #24] + 8002982: 617b str r3, [r7, #20] + 8002984: 697b ldr r3, [r7, #20] /* Wait until TXE flag is set */ if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK) - 800286e: 6a7a ldr r2, [r7, #36] ; 0x24 - 8002870: 6a39 ldr r1, [r7, #32] - 8002872: 68f8 ldr r0, [r7, #12] - 8002874: f000 fa02 bl 8002c7c - 8002878: 4603 mov r3, r0 - 800287a: 2b00 cmp r3, #0 - 800287c: d00d beq.n 800289a + 8002986: 6a7a ldr r2, [r7, #36] ; 0x24 + 8002988: 6a39 ldr r1, [r7, #32] + 800298a: 68f8 ldr r0, [r7, #12] + 800298c: f000 fa02 bl 8002d94 + 8002990: 4603 mov r3, r0 + 8002992: 2b00 cmp r3, #0 + 8002994: d00d beq.n 80029b2 { if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) - 800287e: 68fb ldr r3, [r7, #12] - 8002880: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002882: 2b04 cmp r3, #4 - 8002884: d107 bne.n 8002896 + 8002996: 68fb ldr r3, [r7, #12] + 8002998: 6c1b ldr r3, [r3, #64] ; 0x40 + 800299a: 2b04 cmp r3, #4 + 800299c: d107 bne.n 80029ae { /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 8002886: 68fb ldr r3, [r7, #12] - 8002888: 681b ldr r3, [r3, #0] - 800288a: 681a ldr r2, [r3, #0] - 800288c: 68fb ldr r3, [r7, #12] - 800288e: 681b ldr r3, [r3, #0] - 8002890: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002894: 601a str r2, [r3, #0] + 800299e: 68fb ldr r3, [r7, #12] + 80029a0: 681b ldr r3, [r3, #0] + 80029a2: 681a ldr r2, [r3, #0] + 80029a4: 68fb ldr r3, [r7, #12] + 80029a6: 681b ldr r3, [r3, #0] + 80029a8: f442 7200 orr.w r2, r2, #512 ; 0x200 + 80029ac: 601a str r2, [r3, #0] } return HAL_ERROR; - 8002896: 2301 movs r3, #1 - 8002898: e02b b.n 80028f2 + 80029ae: 2301 movs r3, #1 + 80029b0: e02b b.n 8002a0a } /* If Memory address size is 8Bit */ if (MemAddSize == I2C_MEMADD_SIZE_8BIT) - 800289a: 88fb ldrh r3, [r7, #6] - 800289c: 2b01 cmp r3, #1 - 800289e: d105 bne.n 80028ac + 80029b2: 88fb ldrh r3, [r7, #6] + 80029b4: 2b01 cmp r3, #1 + 80029b6: d105 bne.n 80029c4 { /* Send Memory Address */ hi2c->Instance->DR = I2C_MEM_ADD_LSB(MemAddress); - 80028a0: 893b ldrh r3, [r7, #8] - 80028a2: b2da uxtb r2, r3 - 80028a4: 68fb ldr r3, [r7, #12] - 80028a6: 681b ldr r3, [r3, #0] - 80028a8: 611a str r2, [r3, #16] - 80028aa: e021 b.n 80028f0 + 80029b8: 893b ldrh r3, [r7, #8] + 80029ba: b2da uxtb r2, r3 + 80029bc: 68fb ldr r3, [r7, #12] + 80029be: 681b ldr r3, [r3, #0] + 80029c0: 611a str r2, [r3, #16] + 80029c2: e021 b.n 8002a08 } /* If Memory address size is 16Bit */ else { /* Send MSB of Memory Address */ hi2c->Instance->DR = I2C_MEM_ADD_MSB(MemAddress); - 80028ac: 893b ldrh r3, [r7, #8] - 80028ae: 0a1b lsrs r3, r3, #8 - 80028b0: b29b uxth r3, r3 - 80028b2: b2da uxtb r2, r3 - 80028b4: 68fb ldr r3, [r7, #12] - 80028b6: 681b ldr r3, [r3, #0] - 80028b8: 611a str r2, [r3, #16] + 80029c4: 893b ldrh r3, [r7, #8] + 80029c6: 0a1b lsrs r3, r3, #8 + 80029c8: b29b uxth r3, r3 + 80029ca: b2da uxtb r2, r3 + 80029cc: 68fb ldr r3, [r7, #12] + 80029ce: 681b ldr r3, [r3, #0] + 80029d0: 611a str r2, [r3, #16] /* Wait until TXE flag is set */ if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK) - 80028ba: 6a7a ldr r2, [r7, #36] ; 0x24 - 80028bc: 6a39 ldr r1, [r7, #32] - 80028be: 68f8 ldr r0, [r7, #12] - 80028c0: f000 f9dc bl 8002c7c - 80028c4: 4603 mov r3, r0 - 80028c6: 2b00 cmp r3, #0 - 80028c8: d00d beq.n 80028e6 + 80029d2: 6a7a ldr r2, [r7, #36] ; 0x24 + 80029d4: 6a39 ldr r1, [r7, #32] + 80029d6: 68f8 ldr r0, [r7, #12] + 80029d8: f000 f9dc bl 8002d94 + 80029dc: 4603 mov r3, r0 + 80029de: 2b00 cmp r3, #0 + 80029e0: d00d beq.n 80029fe { if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) - 80028ca: 68fb ldr r3, [r7, #12] - 80028cc: 6c1b ldr r3, [r3, #64] ; 0x40 - 80028ce: 2b04 cmp r3, #4 - 80028d0: d107 bne.n 80028e2 + 80029e2: 68fb ldr r3, [r7, #12] + 80029e4: 6c1b ldr r3, [r3, #64] ; 0x40 + 80029e6: 2b04 cmp r3, #4 + 80029e8: d107 bne.n 80029fa { /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 80028d2: 68fb ldr r3, [r7, #12] - 80028d4: 681b ldr r3, [r3, #0] - 80028d6: 681a ldr r2, [r3, #0] - 80028d8: 68fb ldr r3, [r7, #12] - 80028da: 681b ldr r3, [r3, #0] - 80028dc: f442 7200 orr.w r2, r2, #512 ; 0x200 - 80028e0: 601a str r2, [r3, #0] + 80029ea: 68fb ldr r3, [r7, #12] + 80029ec: 681b ldr r3, [r3, #0] + 80029ee: 681a ldr r2, [r3, #0] + 80029f0: 68fb ldr r3, [r7, #12] + 80029f2: 681b ldr r3, [r3, #0] + 80029f4: f442 7200 orr.w r2, r2, #512 ; 0x200 + 80029f8: 601a str r2, [r3, #0] } return HAL_ERROR; - 80028e2: 2301 movs r3, #1 - 80028e4: e005 b.n 80028f2 + 80029fa: 2301 movs r3, #1 + 80029fc: e005 b.n 8002a0a } /* Send LSB of Memory Address */ hi2c->Instance->DR = I2C_MEM_ADD_LSB(MemAddress); - 80028e6: 893b ldrh r3, [r7, #8] - 80028e8: b2da uxtb r2, r3 - 80028ea: 68fb ldr r3, [r7, #12] - 80028ec: 681b ldr r3, [r3, #0] - 80028ee: 611a str r2, [r3, #16] + 80029fe: 893b ldrh r3, [r7, #8] + 8002a00: b2da uxtb r2, r3 + 8002a02: 68fb ldr r3, [r7, #12] + 8002a04: 681b ldr r3, [r3, #0] + 8002a06: 611a str r2, [r3, #16] } return HAL_OK; - 80028f0: 2300 movs r3, #0 + 8002a08: 2300 movs r3, #0 } - 80028f2: 4618 mov r0, r3 - 80028f4: 3718 adds r7, #24 - 80028f6: 46bd mov sp, r7 - 80028f8: bd80 pop {r7, pc} - 80028fa: bf00 nop - 80028fc: 00010002 .word 0x00010002 + 8002a0a: 4618 mov r0, r3 + 8002a0c: 3718 adds r7, #24 + 8002a0e: 46bd mov sp, r7 + 8002a10: bd80 pop {r7, pc} + 8002a12: bf00 nop + 8002a14: 00010002 .word 0x00010002 -08002900 : +08002a18 : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_RequestMemoryRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint32_t Timeout, uint32_t Tickstart) { - 8002900: b580 push {r7, lr} - 8002902: b088 sub sp, #32 - 8002904: af02 add r7, sp, #8 - 8002906: 60f8 str r0, [r7, #12] - 8002908: 4608 mov r0, r1 - 800290a: 4611 mov r1, r2 - 800290c: 461a mov r2, r3 - 800290e: 4603 mov r3, r0 - 8002910: 817b strh r3, [r7, #10] - 8002912: 460b mov r3, r1 - 8002914: 813b strh r3, [r7, #8] - 8002916: 4613 mov r3, r2 - 8002918: 80fb strh r3, [r7, #6] + 8002a18: b580 push {r7, lr} + 8002a1a: b088 sub sp, #32 + 8002a1c: af02 add r7, sp, #8 + 8002a1e: 60f8 str r0, [r7, #12] + 8002a20: 4608 mov r0, r1 + 8002a22: 4611 mov r1, r2 + 8002a24: 461a mov r2, r3 + 8002a26: 4603 mov r3, r0 + 8002a28: 817b strh r3, [r7, #10] + 8002a2a: 460b mov r3, r1 + 8002a2c: 813b strh r3, [r7, #8] + 8002a2e: 4613 mov r3, r2 + 8002a30: 80fb strh r3, [r7, #6] /* Enable Acknowledge */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK); - 800291a: 68fb ldr r3, [r7, #12] - 800291c: 681b ldr r3, [r3, #0] - 800291e: 681a ldr r2, [r3, #0] - 8002920: 68fb ldr r3, [r7, #12] - 8002922: 681b ldr r3, [r3, #0] - 8002924: f442 6280 orr.w r2, r2, #1024 ; 0x400 - 8002928: 601a str r2, [r3, #0] + 8002a32: 68fb ldr r3, [r7, #12] + 8002a34: 681b ldr r3, [r3, #0] + 8002a36: 681a ldr r2, [r3, #0] + 8002a38: 68fb ldr r3, [r7, #12] + 8002a3a: 681b ldr r3, [r3, #0] + 8002a3c: f442 6280 orr.w r2, r2, #1024 ; 0x400 + 8002a40: 601a str r2, [r3, #0] /* Generate Start */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_START); - 800292a: 68fb ldr r3, [r7, #12] - 800292c: 681b ldr r3, [r3, #0] - 800292e: 681a ldr r2, [r3, #0] - 8002930: 68fb ldr r3, [r7, #12] - 8002932: 681b ldr r3, [r3, #0] - 8002934: f442 7280 orr.w r2, r2, #256 ; 0x100 - 8002938: 601a str r2, [r3, #0] + 8002a42: 68fb ldr r3, [r7, #12] + 8002a44: 681b ldr r3, [r3, #0] + 8002a46: 681a ldr r2, [r3, #0] + 8002a48: 68fb ldr r3, [r7, #12] + 8002a4a: 681b ldr r3, [r3, #0] + 8002a4c: f442 7280 orr.w r2, r2, #256 ; 0x100 + 8002a50: 601a str r2, [r3, #0] /* Wait until SB flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, Tickstart) != HAL_OK) - 800293a: 6a7b ldr r3, [r7, #36] ; 0x24 - 800293c: 9300 str r3, [sp, #0] - 800293e: 6a3b ldr r3, [r7, #32] - 8002940: 2200 movs r2, #0 - 8002942: f04f 1101 mov.w r1, #65537 ; 0x10001 - 8002946: 68f8 ldr r0, [r7, #12] - 8002948: f000 f8c2 bl 8002ad0 - 800294c: 4603 mov r3, r0 - 800294e: 2b00 cmp r3, #0 - 8002950: d00d beq.n 800296e + 8002a52: 6a7b ldr r3, [r7, #36] ; 0x24 + 8002a54: 9300 str r3, [sp, #0] + 8002a56: 6a3b ldr r3, [r7, #32] + 8002a58: 2200 movs r2, #0 + 8002a5a: f04f 1101 mov.w r1, #65537 ; 0x10001 + 8002a5e: 68f8 ldr r0, [r7, #12] + 8002a60: f000 f8c2 bl 8002be8 + 8002a64: 4603 mov r3, r0 + 8002a66: 2b00 cmp r3, #0 + 8002a68: d00d beq.n 8002a86 { if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START) - 8002952: 68fb ldr r3, [r7, #12] - 8002954: 681b ldr r3, [r3, #0] - 8002956: 681b ldr r3, [r3, #0] - 8002958: f403 7380 and.w r3, r3, #256 ; 0x100 - 800295c: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 8002960: d103 bne.n 800296a + 8002a6a: 68fb ldr r3, [r7, #12] + 8002a6c: 681b ldr r3, [r3, #0] + 8002a6e: 681b ldr r3, [r3, #0] + 8002a70: f403 7380 and.w r3, r3, #256 ; 0x100 + 8002a74: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 8002a78: d103 bne.n 8002a82 { hi2c->ErrorCode = HAL_I2C_WRONG_START; - 8002962: 68fb ldr r3, [r7, #12] - 8002964: f44f 7200 mov.w r2, #512 ; 0x200 - 8002968: 641a str r2, [r3, #64] ; 0x40 + 8002a7a: 68fb ldr r3, [r7, #12] + 8002a7c: f44f 7200 mov.w r2, #512 ; 0x200 + 8002a80: 641a str r2, [r3, #64] ; 0x40 } return HAL_TIMEOUT; - 800296a: 2303 movs r3, #3 - 800296c: e0aa b.n 8002ac4 + 8002a82: 2303 movs r3, #3 + 8002a84: e0aa b.n 8002bdc } /* Send slave address */ hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(DevAddress); - 800296e: 897b ldrh r3, [r7, #10] - 8002970: b2db uxtb r3, r3 - 8002972: 461a mov r2, r3 - 8002974: 68fb ldr r3, [r7, #12] - 8002976: 681b ldr r3, [r3, #0] - 8002978: f002 02fe and.w r2, r2, #254 ; 0xfe - 800297c: 611a str r2, [r3, #16] + 8002a86: 897b ldrh r3, [r7, #10] + 8002a88: b2db uxtb r3, r3 + 8002a8a: 461a mov r2, r3 + 8002a8c: 68fb ldr r3, [r7, #12] + 8002a8e: 681b ldr r3, [r3, #0] + 8002a90: f002 02fe and.w r2, r2, #254 ; 0xfe + 8002a94: 611a str r2, [r3, #16] /* Wait until ADDR flag is set */ if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, Timeout, Tickstart) != HAL_OK) - 800297e: 6a7b ldr r3, [r7, #36] ; 0x24 - 8002980: 6a3a ldr r2, [r7, #32] - 8002982: 4952 ldr r1, [pc, #328] ; (8002acc ) - 8002984: 68f8 ldr r0, [r7, #12] - 8002986: f000 f8fa bl 8002b7e - 800298a: 4603 mov r3, r0 - 800298c: 2b00 cmp r3, #0 - 800298e: d001 beq.n 8002994 + 8002a96: 6a7b ldr r3, [r7, #36] ; 0x24 + 8002a98: 6a3a ldr r2, [r7, #32] + 8002a9a: 4952 ldr r1, [pc, #328] ; (8002be4 ) + 8002a9c: 68f8 ldr r0, [r7, #12] + 8002a9e: f000 f8fa bl 8002c96 + 8002aa2: 4603 mov r3, r0 + 8002aa4: 2b00 cmp r3, #0 + 8002aa6: d001 beq.n 8002aac { return HAL_ERROR; - 8002990: 2301 movs r3, #1 - 8002992: e097 b.n 8002ac4 + 8002aa8: 2301 movs r3, #1 + 8002aaa: e097 b.n 8002bdc } /* Clear ADDR flag */ __HAL_I2C_CLEAR_ADDRFLAG(hi2c); - 8002994: 2300 movs r3, #0 - 8002996: 617b str r3, [r7, #20] - 8002998: 68fb ldr r3, [r7, #12] - 800299a: 681b ldr r3, [r3, #0] - 800299c: 695b ldr r3, [r3, #20] - 800299e: 617b str r3, [r7, #20] - 80029a0: 68fb ldr r3, [r7, #12] - 80029a2: 681b ldr r3, [r3, #0] - 80029a4: 699b ldr r3, [r3, #24] - 80029a6: 617b str r3, [r7, #20] - 80029a8: 697b ldr r3, [r7, #20] + 8002aac: 2300 movs r3, #0 + 8002aae: 617b str r3, [r7, #20] + 8002ab0: 68fb ldr r3, [r7, #12] + 8002ab2: 681b ldr r3, [r3, #0] + 8002ab4: 695b ldr r3, [r3, #20] + 8002ab6: 617b str r3, [r7, #20] + 8002ab8: 68fb ldr r3, [r7, #12] + 8002aba: 681b ldr r3, [r3, #0] + 8002abc: 699b ldr r3, [r3, #24] + 8002abe: 617b str r3, [r7, #20] + 8002ac0: 697b ldr r3, [r7, #20] /* Wait until TXE flag is set */ if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK) - 80029aa: 6a7a ldr r2, [r7, #36] ; 0x24 - 80029ac: 6a39 ldr r1, [r7, #32] - 80029ae: 68f8 ldr r0, [r7, #12] - 80029b0: f000 f964 bl 8002c7c - 80029b4: 4603 mov r3, r0 - 80029b6: 2b00 cmp r3, #0 - 80029b8: d00d beq.n 80029d6 + 8002ac2: 6a7a ldr r2, [r7, #36] ; 0x24 + 8002ac4: 6a39 ldr r1, [r7, #32] + 8002ac6: 68f8 ldr r0, [r7, #12] + 8002ac8: f000 f964 bl 8002d94 + 8002acc: 4603 mov r3, r0 + 8002ace: 2b00 cmp r3, #0 + 8002ad0: d00d beq.n 8002aee { if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) - 80029ba: 68fb ldr r3, [r7, #12] - 80029bc: 6c1b ldr r3, [r3, #64] ; 0x40 - 80029be: 2b04 cmp r3, #4 - 80029c0: d107 bne.n 80029d2 + 8002ad2: 68fb ldr r3, [r7, #12] + 8002ad4: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002ad6: 2b04 cmp r3, #4 + 8002ad8: d107 bne.n 8002aea { /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 80029c2: 68fb ldr r3, [r7, #12] - 80029c4: 681b ldr r3, [r3, #0] - 80029c6: 681a ldr r2, [r3, #0] - 80029c8: 68fb ldr r3, [r7, #12] - 80029ca: 681b ldr r3, [r3, #0] - 80029cc: f442 7200 orr.w r2, r2, #512 ; 0x200 - 80029d0: 601a str r2, [r3, #0] + 8002ada: 68fb ldr r3, [r7, #12] + 8002adc: 681b ldr r3, [r3, #0] + 8002ade: 681a ldr r2, [r3, #0] + 8002ae0: 68fb ldr r3, [r7, #12] + 8002ae2: 681b ldr r3, [r3, #0] + 8002ae4: f442 7200 orr.w r2, r2, #512 ; 0x200 + 8002ae8: 601a str r2, [r3, #0] } return HAL_ERROR; - 80029d2: 2301 movs r3, #1 - 80029d4: e076 b.n 8002ac4 + 8002aea: 2301 movs r3, #1 + 8002aec: e076 b.n 8002bdc } /* If Memory address size is 8Bit */ if (MemAddSize == I2C_MEMADD_SIZE_8BIT) - 80029d6: 88fb ldrh r3, [r7, #6] - 80029d8: 2b01 cmp r3, #1 - 80029da: d105 bne.n 80029e8 + 8002aee: 88fb ldrh r3, [r7, #6] + 8002af0: 2b01 cmp r3, #1 + 8002af2: d105 bne.n 8002b00 { /* Send Memory Address */ hi2c->Instance->DR = I2C_MEM_ADD_LSB(MemAddress); - 80029dc: 893b ldrh r3, [r7, #8] - 80029de: b2da uxtb r2, r3 - 80029e0: 68fb ldr r3, [r7, #12] - 80029e2: 681b ldr r3, [r3, #0] - 80029e4: 611a str r2, [r3, #16] - 80029e6: e021 b.n 8002a2c + 8002af4: 893b ldrh r3, [r7, #8] + 8002af6: b2da uxtb r2, r3 + 8002af8: 68fb ldr r3, [r7, #12] + 8002afa: 681b ldr r3, [r3, #0] + 8002afc: 611a str r2, [r3, #16] + 8002afe: e021 b.n 8002b44 } /* If Memory address size is 16Bit */ else { /* Send MSB of Memory Address */ hi2c->Instance->DR = I2C_MEM_ADD_MSB(MemAddress); - 80029e8: 893b ldrh r3, [r7, #8] - 80029ea: 0a1b lsrs r3, r3, #8 - 80029ec: b29b uxth r3, r3 - 80029ee: b2da uxtb r2, r3 - 80029f0: 68fb ldr r3, [r7, #12] - 80029f2: 681b ldr r3, [r3, #0] - 80029f4: 611a str r2, [r3, #16] + 8002b00: 893b ldrh r3, [r7, #8] + 8002b02: 0a1b lsrs r3, r3, #8 + 8002b04: b29b uxth r3, r3 + 8002b06: b2da uxtb r2, r3 + 8002b08: 68fb ldr r3, [r7, #12] + 8002b0a: 681b ldr r3, [r3, #0] + 8002b0c: 611a str r2, [r3, #16] /* Wait until TXE flag is set */ if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK) - 80029f6: 6a7a ldr r2, [r7, #36] ; 0x24 - 80029f8: 6a39 ldr r1, [r7, #32] - 80029fa: 68f8 ldr r0, [r7, #12] - 80029fc: f000 f93e bl 8002c7c - 8002a00: 4603 mov r3, r0 - 8002a02: 2b00 cmp r3, #0 - 8002a04: d00d beq.n 8002a22 + 8002b0e: 6a7a ldr r2, [r7, #36] ; 0x24 + 8002b10: 6a39 ldr r1, [r7, #32] + 8002b12: 68f8 ldr r0, [r7, #12] + 8002b14: f000 f93e bl 8002d94 + 8002b18: 4603 mov r3, r0 + 8002b1a: 2b00 cmp r3, #0 + 8002b1c: d00d beq.n 8002b3a { if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) - 8002a06: 68fb ldr r3, [r7, #12] - 8002a08: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002a0a: 2b04 cmp r3, #4 - 8002a0c: d107 bne.n 8002a1e + 8002b1e: 68fb ldr r3, [r7, #12] + 8002b20: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002b22: 2b04 cmp r3, #4 + 8002b24: d107 bne.n 8002b36 { /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 8002a0e: 68fb ldr r3, [r7, #12] - 8002a10: 681b ldr r3, [r3, #0] - 8002a12: 681a ldr r2, [r3, #0] - 8002a14: 68fb ldr r3, [r7, #12] - 8002a16: 681b ldr r3, [r3, #0] - 8002a18: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002a1c: 601a str r2, [r3, #0] + 8002b26: 68fb ldr r3, [r7, #12] + 8002b28: 681b ldr r3, [r3, #0] + 8002b2a: 681a ldr r2, [r3, #0] + 8002b2c: 68fb ldr r3, [r7, #12] + 8002b2e: 681b ldr r3, [r3, #0] + 8002b30: f442 7200 orr.w r2, r2, #512 ; 0x200 + 8002b34: 601a str r2, [r3, #0] } return HAL_ERROR; - 8002a1e: 2301 movs r3, #1 - 8002a20: e050 b.n 8002ac4 + 8002b36: 2301 movs r3, #1 + 8002b38: e050 b.n 8002bdc } /* Send LSB of Memory Address */ hi2c->Instance->DR = I2C_MEM_ADD_LSB(MemAddress); - 8002a22: 893b ldrh r3, [r7, #8] - 8002a24: b2da uxtb r2, r3 - 8002a26: 68fb ldr r3, [r7, #12] - 8002a28: 681b ldr r3, [r3, #0] - 8002a2a: 611a str r2, [r3, #16] + 8002b3a: 893b ldrh r3, [r7, #8] + 8002b3c: b2da uxtb r2, r3 + 8002b3e: 68fb ldr r3, [r7, #12] + 8002b40: 681b ldr r3, [r3, #0] + 8002b42: 611a str r2, [r3, #16] } /* Wait until TXE flag is set */ if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK) - 8002a2c: 6a7a ldr r2, [r7, #36] ; 0x24 - 8002a2e: 6a39 ldr r1, [r7, #32] - 8002a30: 68f8 ldr r0, [r7, #12] - 8002a32: f000 f923 bl 8002c7c - 8002a36: 4603 mov r3, r0 - 8002a38: 2b00 cmp r3, #0 - 8002a3a: d00d beq.n 8002a58 + 8002b44: 6a7a ldr r2, [r7, #36] ; 0x24 + 8002b46: 6a39 ldr r1, [r7, #32] + 8002b48: 68f8 ldr r0, [r7, #12] + 8002b4a: f000 f923 bl 8002d94 + 8002b4e: 4603 mov r3, r0 + 8002b50: 2b00 cmp r3, #0 + 8002b52: d00d beq.n 8002b70 { if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) - 8002a3c: 68fb ldr r3, [r7, #12] - 8002a3e: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002a40: 2b04 cmp r3, #4 - 8002a42: d107 bne.n 8002a54 + 8002b54: 68fb ldr r3, [r7, #12] + 8002b56: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002b58: 2b04 cmp r3, #4 + 8002b5a: d107 bne.n 8002b6c { /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 8002a44: 68fb ldr r3, [r7, #12] - 8002a46: 681b ldr r3, [r3, #0] - 8002a48: 681a ldr r2, [r3, #0] - 8002a4a: 68fb ldr r3, [r7, #12] - 8002a4c: 681b ldr r3, [r3, #0] - 8002a4e: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002a52: 601a str r2, [r3, #0] + 8002b5c: 68fb ldr r3, [r7, #12] + 8002b5e: 681b ldr r3, [r3, #0] + 8002b60: 681a ldr r2, [r3, #0] + 8002b62: 68fb ldr r3, [r7, #12] + 8002b64: 681b ldr r3, [r3, #0] + 8002b66: f442 7200 orr.w r2, r2, #512 ; 0x200 + 8002b6a: 601a str r2, [r3, #0] } return HAL_ERROR; - 8002a54: 2301 movs r3, #1 - 8002a56: e035 b.n 8002ac4 + 8002b6c: 2301 movs r3, #1 + 8002b6e: e035 b.n 8002bdc } /* Generate Restart */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_START); - 8002a58: 68fb ldr r3, [r7, #12] - 8002a5a: 681b ldr r3, [r3, #0] - 8002a5c: 681a ldr r2, [r3, #0] - 8002a5e: 68fb ldr r3, [r7, #12] - 8002a60: 681b ldr r3, [r3, #0] - 8002a62: f442 7280 orr.w r2, r2, #256 ; 0x100 - 8002a66: 601a str r2, [r3, #0] + 8002b70: 68fb ldr r3, [r7, #12] + 8002b72: 681b ldr r3, [r3, #0] + 8002b74: 681a ldr r2, [r3, #0] + 8002b76: 68fb ldr r3, [r7, #12] + 8002b78: 681b ldr r3, [r3, #0] + 8002b7a: f442 7280 orr.w r2, r2, #256 ; 0x100 + 8002b7e: 601a str r2, [r3, #0] /* Wait until SB flag is set */ if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, Tickstart) != HAL_OK) - 8002a68: 6a7b ldr r3, [r7, #36] ; 0x24 - 8002a6a: 9300 str r3, [sp, #0] - 8002a6c: 6a3b ldr r3, [r7, #32] - 8002a6e: 2200 movs r2, #0 - 8002a70: f04f 1101 mov.w r1, #65537 ; 0x10001 - 8002a74: 68f8 ldr r0, [r7, #12] - 8002a76: f000 f82b bl 8002ad0 - 8002a7a: 4603 mov r3, r0 - 8002a7c: 2b00 cmp r3, #0 - 8002a7e: d00d beq.n 8002a9c + 8002b80: 6a7b ldr r3, [r7, #36] ; 0x24 + 8002b82: 9300 str r3, [sp, #0] + 8002b84: 6a3b ldr r3, [r7, #32] + 8002b86: 2200 movs r2, #0 + 8002b88: f04f 1101 mov.w r1, #65537 ; 0x10001 + 8002b8c: 68f8 ldr r0, [r7, #12] + 8002b8e: f000 f82b bl 8002be8 + 8002b92: 4603 mov r3, r0 + 8002b94: 2b00 cmp r3, #0 + 8002b96: d00d beq.n 8002bb4 { if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START) - 8002a80: 68fb ldr r3, [r7, #12] - 8002a82: 681b ldr r3, [r3, #0] - 8002a84: 681b ldr r3, [r3, #0] - 8002a86: f403 7380 and.w r3, r3, #256 ; 0x100 - 8002a8a: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 8002a8e: d103 bne.n 8002a98 + 8002b98: 68fb ldr r3, [r7, #12] + 8002b9a: 681b ldr r3, [r3, #0] + 8002b9c: 681b ldr r3, [r3, #0] + 8002b9e: f403 7380 and.w r3, r3, #256 ; 0x100 + 8002ba2: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 8002ba6: d103 bne.n 8002bb0 { hi2c->ErrorCode = HAL_I2C_WRONG_START; - 8002a90: 68fb ldr r3, [r7, #12] - 8002a92: f44f 7200 mov.w r2, #512 ; 0x200 - 8002a96: 641a str r2, [r3, #64] ; 0x40 + 8002ba8: 68fb ldr r3, [r7, #12] + 8002baa: f44f 7200 mov.w r2, #512 ; 0x200 + 8002bae: 641a str r2, [r3, #64] ; 0x40 } return HAL_TIMEOUT; - 8002a98: 2303 movs r3, #3 - 8002a9a: e013 b.n 8002ac4 + 8002bb0: 2303 movs r3, #3 + 8002bb2: e013 b.n 8002bdc } /* Send slave address */ hi2c->Instance->DR = I2C_7BIT_ADD_READ(DevAddress); - 8002a9c: 897b ldrh r3, [r7, #10] - 8002a9e: b2db uxtb r3, r3 - 8002aa0: f043 0301 orr.w r3, r3, #1 - 8002aa4: b2da uxtb r2, r3 - 8002aa6: 68fb ldr r3, [r7, #12] - 8002aa8: 681b ldr r3, [r3, #0] - 8002aaa: 611a str r2, [r3, #16] + 8002bb4: 897b ldrh r3, [r7, #10] + 8002bb6: b2db uxtb r3, r3 + 8002bb8: f043 0301 orr.w r3, r3, #1 + 8002bbc: b2da uxtb r2, r3 + 8002bbe: 68fb ldr r3, [r7, #12] + 8002bc0: 681b ldr r3, [r3, #0] + 8002bc2: 611a str r2, [r3, #16] /* Wait until ADDR flag is set */ if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, Timeout, Tickstart) != HAL_OK) - 8002aac: 6a7b ldr r3, [r7, #36] ; 0x24 - 8002aae: 6a3a ldr r2, [r7, #32] - 8002ab0: 4906 ldr r1, [pc, #24] ; (8002acc ) - 8002ab2: 68f8 ldr r0, [r7, #12] - 8002ab4: f000 f863 bl 8002b7e - 8002ab8: 4603 mov r3, r0 - 8002aba: 2b00 cmp r3, #0 - 8002abc: d001 beq.n 8002ac2 + 8002bc4: 6a7b ldr r3, [r7, #36] ; 0x24 + 8002bc6: 6a3a ldr r2, [r7, #32] + 8002bc8: 4906 ldr r1, [pc, #24] ; (8002be4 ) + 8002bca: 68f8 ldr r0, [r7, #12] + 8002bcc: f000 f863 bl 8002c96 + 8002bd0: 4603 mov r3, r0 + 8002bd2: 2b00 cmp r3, #0 + 8002bd4: d001 beq.n 8002bda { return HAL_ERROR; - 8002abe: 2301 movs r3, #1 - 8002ac0: e000 b.n 8002ac4 + 8002bd6: 2301 movs r3, #1 + 8002bd8: e000 b.n 8002bdc } return HAL_OK; - 8002ac2: 2300 movs r3, #0 + 8002bda: 2300 movs r3, #0 } - 8002ac4: 4618 mov r0, r3 - 8002ac6: 3718 adds r7, #24 - 8002ac8: 46bd mov sp, r7 - 8002aca: bd80 pop {r7, pc} - 8002acc: 00010002 .word 0x00010002 + 8002bdc: 4618 mov r0, r3 + 8002bde: 3718 adds r7, #24 + 8002be0: 46bd mov sp, r7 + 8002be2: bd80 pop {r7, pc} + 8002be4: 00010002 .word 0x00010002 -08002ad0 : +08002be8 : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_WaitOnFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Flag, FlagStatus Status, uint32_t Timeout, uint32_t Tickstart) { - 8002ad0: b580 push {r7, lr} - 8002ad2: b084 sub sp, #16 - 8002ad4: af00 add r7, sp, #0 - 8002ad6: 60f8 str r0, [r7, #12] - 8002ad8: 60b9 str r1, [r7, #8] - 8002ada: 603b str r3, [r7, #0] - 8002adc: 4613 mov r3, r2 - 8002ade: 71fb strb r3, [r7, #7] + 8002be8: b580 push {r7, lr} + 8002bea: b084 sub sp, #16 + 8002bec: af00 add r7, sp, #0 + 8002bee: 60f8 str r0, [r7, #12] + 8002bf0: 60b9 str r1, [r7, #8] + 8002bf2: 603b str r3, [r7, #0] + 8002bf4: 4613 mov r3, r2 + 8002bf6: 71fb strb r3, [r7, #7] /* Wait until flag is set */ while (__HAL_I2C_GET_FLAG(hi2c, Flag) == Status) - 8002ae0: e025 b.n 8002b2e + 8002bf8: e025 b.n 8002c46 { /* Check for the Timeout */ if (Timeout != HAL_MAX_DELAY) - 8002ae2: 683b ldr r3, [r7, #0] - 8002ae4: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff - 8002ae8: d021 beq.n 8002b2e + 8002bfa: 683b ldr r3, [r7, #0] + 8002bfc: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff + 8002c00: d021 beq.n 8002c46 { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) - 8002aea: f7fe fef7 bl 80018dc - 8002aee: 4602 mov r2, r0 - 8002af0: 69bb ldr r3, [r7, #24] - 8002af2: 1ad3 subs r3, r2, r3 - 8002af4: 683a ldr r2, [r7, #0] - 8002af6: 429a cmp r2, r3 - 8002af8: d302 bcc.n 8002b00 - 8002afa: 683b ldr r3, [r7, #0] - 8002afc: 2b00 cmp r3, #0 - 8002afe: d116 bne.n 8002b2e + 8002c02: f7fe fef7 bl 80019f4 + 8002c06: 4602 mov r2, r0 + 8002c08: 69bb ldr r3, [r7, #24] + 8002c0a: 1ad3 subs r3, r2, r3 + 8002c0c: 683a ldr r2, [r7, #0] + 8002c0e: 429a cmp r2, r3 + 8002c10: d302 bcc.n 8002c18 + 8002c12: 683b ldr r3, [r7, #0] + 8002c14: 2b00 cmp r3, #0 + 8002c16: d116 bne.n 8002c46 { hi2c->PreviousState = I2C_STATE_NONE; - 8002b00: 68fb ldr r3, [r7, #12] - 8002b02: 2200 movs r2, #0 - 8002b04: 631a str r2, [r3, #48] ; 0x30 + 8002c18: 68fb ldr r3, [r7, #12] + 8002c1a: 2200 movs r2, #0 + 8002c1c: 631a str r2, [r3, #48] ; 0x30 hi2c->State = HAL_I2C_STATE_READY; - 8002b06: 68fb ldr r3, [r7, #12] - 8002b08: 2220 movs r2, #32 - 8002b0a: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8002c1e: 68fb ldr r3, [r7, #12] + 8002c20: 2220 movs r2, #32 + 8002c22: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 8002b0e: 68fb ldr r3, [r7, #12] - 8002b10: 2200 movs r2, #0 - 8002b12: f883 203e strb.w r2, [r3, #62] ; 0x3e + 8002c26: 68fb ldr r3, [r7, #12] + 8002c28: 2200 movs r2, #0 + 8002c2a: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 8002b16: 68fb ldr r3, [r7, #12] - 8002b18: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002b1a: f043 0220 orr.w r2, r3, #32 - 8002b1e: 68fb ldr r3, [r7, #12] - 8002b20: 641a str r2, [r3, #64] ; 0x40 + 8002c2e: 68fb ldr r3, [r7, #12] + 8002c30: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002c32: f043 0220 orr.w r2, r3, #32 + 8002c36: 68fb ldr r3, [r7, #12] + 8002c38: 641a str r2, [r3, #64] ; 0x40 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8002b22: 68fb ldr r3, [r7, #12] - 8002b24: 2200 movs r2, #0 - 8002b26: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002c3a: 68fb ldr r3, [r7, #12] + 8002c3c: 2200 movs r2, #0 + 8002c3e: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8002b2a: 2301 movs r3, #1 - 8002b2c: e023 b.n 8002b76 + 8002c42: 2301 movs r3, #1 + 8002c44: e023 b.n 8002c8e while (__HAL_I2C_GET_FLAG(hi2c, Flag) == Status) - 8002b2e: 68bb ldr r3, [r7, #8] - 8002b30: 0c1b lsrs r3, r3, #16 - 8002b32: b2db uxtb r3, r3 - 8002b34: 2b01 cmp r3, #1 - 8002b36: d10d bne.n 8002b54 - 8002b38: 68fb ldr r3, [r7, #12] - 8002b3a: 681b ldr r3, [r3, #0] - 8002b3c: 695b ldr r3, [r3, #20] - 8002b3e: 43da mvns r2, r3 - 8002b40: 68bb ldr r3, [r7, #8] - 8002b42: 4013 ands r3, r2 - 8002b44: b29b uxth r3, r3 - 8002b46: 2b00 cmp r3, #0 - 8002b48: bf0c ite eq - 8002b4a: 2301 moveq r3, #1 - 8002b4c: 2300 movne r3, #0 - 8002b4e: b2db uxtb r3, r3 - 8002b50: 461a mov r2, r3 - 8002b52: e00c b.n 8002b6e - 8002b54: 68fb ldr r3, [r7, #12] - 8002b56: 681b ldr r3, [r3, #0] - 8002b58: 699b ldr r3, [r3, #24] - 8002b5a: 43da mvns r2, r3 - 8002b5c: 68bb ldr r3, [r7, #8] - 8002b5e: 4013 ands r3, r2 - 8002b60: b29b uxth r3, r3 - 8002b62: 2b00 cmp r3, #0 - 8002b64: bf0c ite eq - 8002b66: 2301 moveq r3, #1 - 8002b68: 2300 movne r3, #0 - 8002b6a: b2db uxtb r3, r3 - 8002b6c: 461a mov r2, r3 - 8002b6e: 79fb ldrb r3, [r7, #7] - 8002b70: 429a cmp r2, r3 - 8002b72: d0b6 beq.n 8002ae2 + 8002c46: 68bb ldr r3, [r7, #8] + 8002c48: 0c1b lsrs r3, r3, #16 + 8002c4a: b2db uxtb r3, r3 + 8002c4c: 2b01 cmp r3, #1 + 8002c4e: d10d bne.n 8002c6c + 8002c50: 68fb ldr r3, [r7, #12] + 8002c52: 681b ldr r3, [r3, #0] + 8002c54: 695b ldr r3, [r3, #20] + 8002c56: 43da mvns r2, r3 + 8002c58: 68bb ldr r3, [r7, #8] + 8002c5a: 4013 ands r3, r2 + 8002c5c: b29b uxth r3, r3 + 8002c5e: 2b00 cmp r3, #0 + 8002c60: bf0c ite eq + 8002c62: 2301 moveq r3, #1 + 8002c64: 2300 movne r3, #0 + 8002c66: b2db uxtb r3, r3 + 8002c68: 461a mov r2, r3 + 8002c6a: e00c b.n 8002c86 + 8002c6c: 68fb ldr r3, [r7, #12] + 8002c6e: 681b ldr r3, [r3, #0] + 8002c70: 699b ldr r3, [r3, #24] + 8002c72: 43da mvns r2, r3 + 8002c74: 68bb ldr r3, [r7, #8] + 8002c76: 4013 ands r3, r2 + 8002c78: b29b uxth r3, r3 + 8002c7a: 2b00 cmp r3, #0 + 8002c7c: bf0c ite eq + 8002c7e: 2301 moveq r3, #1 + 8002c80: 2300 movne r3, #0 + 8002c82: b2db uxtb r3, r3 + 8002c84: 461a mov r2, r3 + 8002c86: 79fb ldrb r3, [r7, #7] + 8002c88: 429a cmp r2, r3 + 8002c8a: d0b6 beq.n 8002bfa } } } return HAL_OK; - 8002b74: 2300 movs r3, #0 + 8002c8c: 2300 movs r3, #0 } - 8002b76: 4618 mov r0, r3 - 8002b78: 3710 adds r7, #16 - 8002b7a: 46bd mov sp, r7 - 8002b7c: bd80 pop {r7, pc} + 8002c8e: 4618 mov r0, r3 + 8002c90: 3710 adds r7, #16 + 8002c92: 46bd mov sp, r7 + 8002c94: bd80 pop {r7, pc} -08002b7e : +08002c96 : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_WaitOnMasterAddressFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Flag, uint32_t Timeout, uint32_t Tickstart) { - 8002b7e: b580 push {r7, lr} - 8002b80: b084 sub sp, #16 - 8002b82: af00 add r7, sp, #0 - 8002b84: 60f8 str r0, [r7, #12] - 8002b86: 60b9 str r1, [r7, #8] - 8002b88: 607a str r2, [r7, #4] - 8002b8a: 603b str r3, [r7, #0] + 8002c96: b580 push {r7, lr} + 8002c98: b084 sub sp, #16 + 8002c9a: af00 add r7, sp, #0 + 8002c9c: 60f8 str r0, [r7, #12] + 8002c9e: 60b9 str r1, [r7, #8] + 8002ca0: 607a str r2, [r7, #4] + 8002ca2: 603b str r3, [r7, #0] while (__HAL_I2C_GET_FLAG(hi2c, Flag) == RESET) - 8002b8c: e051 b.n 8002c32 + 8002ca4: e051 b.n 8002d4a { if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF) == SET) - 8002b8e: 68fb ldr r3, [r7, #12] - 8002b90: 681b ldr r3, [r3, #0] - 8002b92: 695b ldr r3, [r3, #20] - 8002b94: f403 6380 and.w r3, r3, #1024 ; 0x400 - 8002b98: f5b3 6f80 cmp.w r3, #1024 ; 0x400 - 8002b9c: d123 bne.n 8002be6 + 8002ca6: 68fb ldr r3, [r7, #12] + 8002ca8: 681b ldr r3, [r3, #0] + 8002caa: 695b ldr r3, [r3, #20] + 8002cac: f403 6380 and.w r3, r3, #1024 ; 0x400 + 8002cb0: f5b3 6f80 cmp.w r3, #1024 ; 0x400 + 8002cb4: d123 bne.n 8002cfe { /* Generate Stop */ SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP); - 8002b9e: 68fb ldr r3, [r7, #12] - 8002ba0: 681b ldr r3, [r3, #0] - 8002ba2: 681a ldr r2, [r3, #0] - 8002ba4: 68fb ldr r3, [r7, #12] - 8002ba6: 681b ldr r3, [r3, #0] - 8002ba8: f442 7200 orr.w r2, r2, #512 ; 0x200 - 8002bac: 601a str r2, [r3, #0] + 8002cb6: 68fb ldr r3, [r7, #12] + 8002cb8: 681b ldr r3, [r3, #0] + 8002cba: 681a ldr r2, [r3, #0] + 8002cbc: 68fb ldr r3, [r7, #12] + 8002cbe: 681b ldr r3, [r3, #0] + 8002cc0: f442 7200 orr.w r2, r2, #512 ; 0x200 + 8002cc4: 601a str r2, [r3, #0] /* Clear AF Flag */ __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF); - 8002bae: 68fb ldr r3, [r7, #12] - 8002bb0: 681b ldr r3, [r3, #0] - 8002bb2: f46f 6280 mvn.w r2, #1024 ; 0x400 - 8002bb6: 615a str r2, [r3, #20] + 8002cc6: 68fb ldr r3, [r7, #12] + 8002cc8: 681b ldr r3, [r3, #0] + 8002cca: f46f 6280 mvn.w r2, #1024 ; 0x400 + 8002cce: 615a str r2, [r3, #20] hi2c->PreviousState = I2C_STATE_NONE; - 8002bb8: 68fb ldr r3, [r7, #12] - 8002bba: 2200 movs r2, #0 - 8002bbc: 631a str r2, [r3, #48] ; 0x30 + 8002cd0: 68fb ldr r3, [r7, #12] + 8002cd2: 2200 movs r2, #0 + 8002cd4: 631a str r2, [r3, #48] ; 0x30 hi2c->State = HAL_I2C_STATE_READY; - 8002bbe: 68fb ldr r3, [r7, #12] - 8002bc0: 2220 movs r2, #32 - 8002bc2: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8002cd6: 68fb ldr r3, [r7, #12] + 8002cd8: 2220 movs r2, #32 + 8002cda: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 8002bc6: 68fb ldr r3, [r7, #12] - 8002bc8: 2200 movs r2, #0 - 8002bca: f883 203e strb.w r2, [r3, #62] ; 0x3e + 8002cde: 68fb ldr r3, [r7, #12] + 8002ce0: 2200 movs r2, #0 + 8002ce2: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode |= HAL_I2C_ERROR_AF; - 8002bce: 68fb ldr r3, [r7, #12] - 8002bd0: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002bd2: f043 0204 orr.w r2, r3, #4 - 8002bd6: 68fb ldr r3, [r7, #12] - 8002bd8: 641a str r2, [r3, #64] ; 0x40 + 8002ce6: 68fb ldr r3, [r7, #12] + 8002ce8: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002cea: f043 0204 orr.w r2, r3, #4 + 8002cee: 68fb ldr r3, [r7, #12] + 8002cf0: 641a str r2, [r3, #64] ; 0x40 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8002bda: 68fb ldr r3, [r7, #12] - 8002bdc: 2200 movs r2, #0 - 8002bde: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002cf2: 68fb ldr r3, [r7, #12] + 8002cf4: 2200 movs r2, #0 + 8002cf6: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8002be2: 2301 movs r3, #1 - 8002be4: e046 b.n 8002c74 + 8002cfa: 2301 movs r3, #1 + 8002cfc: e046 b.n 8002d8c } /* Check for the Timeout */ if (Timeout != HAL_MAX_DELAY) - 8002be6: 687b ldr r3, [r7, #4] - 8002be8: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff - 8002bec: d021 beq.n 8002c32 + 8002cfe: 687b ldr r3, [r7, #4] + 8002d00: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff + 8002d04: d021 beq.n 8002d4a { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) - 8002bee: f7fe fe75 bl 80018dc - 8002bf2: 4602 mov r2, r0 - 8002bf4: 683b ldr r3, [r7, #0] - 8002bf6: 1ad3 subs r3, r2, r3 - 8002bf8: 687a ldr r2, [r7, #4] - 8002bfa: 429a cmp r2, r3 - 8002bfc: d302 bcc.n 8002c04 - 8002bfe: 687b ldr r3, [r7, #4] - 8002c00: 2b00 cmp r3, #0 - 8002c02: d116 bne.n 8002c32 + 8002d06: f7fe fe75 bl 80019f4 + 8002d0a: 4602 mov r2, r0 + 8002d0c: 683b ldr r3, [r7, #0] + 8002d0e: 1ad3 subs r3, r2, r3 + 8002d10: 687a ldr r2, [r7, #4] + 8002d12: 429a cmp r2, r3 + 8002d14: d302 bcc.n 8002d1c + 8002d16: 687b ldr r3, [r7, #4] + 8002d18: 2b00 cmp r3, #0 + 8002d1a: d116 bne.n 8002d4a { hi2c->PreviousState = I2C_STATE_NONE; - 8002c04: 68fb ldr r3, [r7, #12] - 8002c06: 2200 movs r2, #0 - 8002c08: 631a str r2, [r3, #48] ; 0x30 + 8002d1c: 68fb ldr r3, [r7, #12] + 8002d1e: 2200 movs r2, #0 + 8002d20: 631a str r2, [r3, #48] ; 0x30 hi2c->State = HAL_I2C_STATE_READY; - 8002c0a: 68fb ldr r3, [r7, #12] - 8002c0c: 2220 movs r2, #32 - 8002c0e: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8002d22: 68fb ldr r3, [r7, #12] + 8002d24: 2220 movs r2, #32 + 8002d26: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 8002c12: 68fb ldr r3, [r7, #12] - 8002c14: 2200 movs r2, #0 - 8002c16: f883 203e strb.w r2, [r3, #62] ; 0x3e + 8002d2a: 68fb ldr r3, [r7, #12] + 8002d2c: 2200 movs r2, #0 + 8002d2e: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 8002c1a: 68fb ldr r3, [r7, #12] - 8002c1c: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002c1e: f043 0220 orr.w r2, r3, #32 - 8002c22: 68fb ldr r3, [r7, #12] - 8002c24: 641a str r2, [r3, #64] ; 0x40 + 8002d32: 68fb ldr r3, [r7, #12] + 8002d34: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002d36: f043 0220 orr.w r2, r3, #32 + 8002d3a: 68fb ldr r3, [r7, #12] + 8002d3c: 641a str r2, [r3, #64] ; 0x40 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8002c26: 68fb ldr r3, [r7, #12] - 8002c28: 2200 movs r2, #0 - 8002c2a: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002d3e: 68fb ldr r3, [r7, #12] + 8002d40: 2200 movs r2, #0 + 8002d42: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8002c2e: 2301 movs r3, #1 - 8002c30: e020 b.n 8002c74 + 8002d46: 2301 movs r3, #1 + 8002d48: e020 b.n 8002d8c while (__HAL_I2C_GET_FLAG(hi2c, Flag) == RESET) - 8002c32: 68bb ldr r3, [r7, #8] - 8002c34: 0c1b lsrs r3, r3, #16 - 8002c36: b2db uxtb r3, r3 - 8002c38: 2b01 cmp r3, #1 - 8002c3a: d10c bne.n 8002c56 - 8002c3c: 68fb ldr r3, [r7, #12] - 8002c3e: 681b ldr r3, [r3, #0] - 8002c40: 695b ldr r3, [r3, #20] - 8002c42: 43da mvns r2, r3 - 8002c44: 68bb ldr r3, [r7, #8] - 8002c46: 4013 ands r3, r2 - 8002c48: b29b uxth r3, r3 - 8002c4a: 2b00 cmp r3, #0 - 8002c4c: bf14 ite ne - 8002c4e: 2301 movne r3, #1 - 8002c50: 2300 moveq r3, #0 - 8002c52: b2db uxtb r3, r3 - 8002c54: e00b b.n 8002c6e - 8002c56: 68fb ldr r3, [r7, #12] - 8002c58: 681b ldr r3, [r3, #0] - 8002c5a: 699b ldr r3, [r3, #24] - 8002c5c: 43da mvns r2, r3 - 8002c5e: 68bb ldr r3, [r7, #8] - 8002c60: 4013 ands r3, r2 - 8002c62: b29b uxth r3, r3 - 8002c64: 2b00 cmp r3, #0 - 8002c66: bf14 ite ne - 8002c68: 2301 movne r3, #1 - 8002c6a: 2300 moveq r3, #0 - 8002c6c: b2db uxtb r3, r3 - 8002c6e: 2b00 cmp r3, #0 - 8002c70: d18d bne.n 8002b8e + 8002d4a: 68bb ldr r3, [r7, #8] + 8002d4c: 0c1b lsrs r3, r3, #16 + 8002d4e: b2db uxtb r3, r3 + 8002d50: 2b01 cmp r3, #1 + 8002d52: d10c bne.n 8002d6e + 8002d54: 68fb ldr r3, [r7, #12] + 8002d56: 681b ldr r3, [r3, #0] + 8002d58: 695b ldr r3, [r3, #20] + 8002d5a: 43da mvns r2, r3 + 8002d5c: 68bb ldr r3, [r7, #8] + 8002d5e: 4013 ands r3, r2 + 8002d60: b29b uxth r3, r3 + 8002d62: 2b00 cmp r3, #0 + 8002d64: bf14 ite ne + 8002d66: 2301 movne r3, #1 + 8002d68: 2300 moveq r3, #0 + 8002d6a: b2db uxtb r3, r3 + 8002d6c: e00b b.n 8002d86 + 8002d6e: 68fb ldr r3, [r7, #12] + 8002d70: 681b ldr r3, [r3, #0] + 8002d72: 699b ldr r3, [r3, #24] + 8002d74: 43da mvns r2, r3 + 8002d76: 68bb ldr r3, [r7, #8] + 8002d78: 4013 ands r3, r2 + 8002d7a: b29b uxth r3, r3 + 8002d7c: 2b00 cmp r3, #0 + 8002d7e: bf14 ite ne + 8002d80: 2301 movne r3, #1 + 8002d82: 2300 moveq r3, #0 + 8002d84: b2db uxtb r3, r3 + 8002d86: 2b00 cmp r3, #0 + 8002d88: d18d bne.n 8002ca6 } } } return HAL_OK; - 8002c72: 2300 movs r3, #0 + 8002d8a: 2300 movs r3, #0 } - 8002c74: 4618 mov r0, r3 - 8002c76: 3710 adds r7, #16 - 8002c78: 46bd mov sp, r7 - 8002c7a: bd80 pop {r7, pc} + 8002d8c: 4618 mov r0, r3 + 8002d8e: 3710 adds r7, #16 + 8002d90: 46bd mov sp, r7 + 8002d92: bd80 pop {r7, pc} -08002c7c : +08002d94 : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_WaitOnTXEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) { - 8002c7c: b580 push {r7, lr} - 8002c7e: b084 sub sp, #16 - 8002c80: af00 add r7, sp, #0 - 8002c82: 60f8 str r0, [r7, #12] - 8002c84: 60b9 str r1, [r7, #8] - 8002c86: 607a str r2, [r7, #4] + 8002d94: b580 push {r7, lr} + 8002d96: b084 sub sp, #16 + 8002d98: af00 add r7, sp, #0 + 8002d9a: 60f8 str r0, [r7, #12] + 8002d9c: 60b9 str r1, [r7, #8] + 8002d9e: 607a str r2, [r7, #4] while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXE) == RESET) - 8002c88: e02d b.n 8002ce6 + 8002da0: e02d b.n 8002dfe { /* Check if a NACK is detected */ if (I2C_IsAcknowledgeFailed(hi2c) != HAL_OK) - 8002c8a: 68f8 ldr r0, [r7, #12] - 8002c8c: f000 f8ce bl 8002e2c - 8002c90: 4603 mov r3, r0 - 8002c92: 2b00 cmp r3, #0 - 8002c94: d001 beq.n 8002c9a + 8002da2: 68f8 ldr r0, [r7, #12] + 8002da4: f000 f8ce bl 8002f44 + 8002da8: 4603 mov r3, r0 + 8002daa: 2b00 cmp r3, #0 + 8002dac: d001 beq.n 8002db2 { return HAL_ERROR; - 8002c96: 2301 movs r3, #1 - 8002c98: e02d b.n 8002cf6 + 8002dae: 2301 movs r3, #1 + 8002db0: e02d b.n 8002e0e } /* Check for the Timeout */ if (Timeout != HAL_MAX_DELAY) - 8002c9a: 68bb ldr r3, [r7, #8] - 8002c9c: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff - 8002ca0: d021 beq.n 8002ce6 + 8002db2: 68bb ldr r3, [r7, #8] + 8002db4: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff + 8002db8: d021 beq.n 8002dfe { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) - 8002ca2: f7fe fe1b bl 80018dc - 8002ca6: 4602 mov r2, r0 - 8002ca8: 687b ldr r3, [r7, #4] - 8002caa: 1ad3 subs r3, r2, r3 - 8002cac: 68ba ldr r2, [r7, #8] - 8002cae: 429a cmp r2, r3 - 8002cb0: d302 bcc.n 8002cb8 - 8002cb2: 68bb ldr r3, [r7, #8] - 8002cb4: 2b00 cmp r3, #0 - 8002cb6: d116 bne.n 8002ce6 + 8002dba: f7fe fe1b bl 80019f4 + 8002dbe: 4602 mov r2, r0 + 8002dc0: 687b ldr r3, [r7, #4] + 8002dc2: 1ad3 subs r3, r2, r3 + 8002dc4: 68ba ldr r2, [r7, #8] + 8002dc6: 429a cmp r2, r3 + 8002dc8: d302 bcc.n 8002dd0 + 8002dca: 68bb ldr r3, [r7, #8] + 8002dcc: 2b00 cmp r3, #0 + 8002dce: d116 bne.n 8002dfe { hi2c->PreviousState = I2C_STATE_NONE; - 8002cb8: 68fb ldr r3, [r7, #12] - 8002cba: 2200 movs r2, #0 - 8002cbc: 631a str r2, [r3, #48] ; 0x30 + 8002dd0: 68fb ldr r3, [r7, #12] + 8002dd2: 2200 movs r2, #0 + 8002dd4: 631a str r2, [r3, #48] ; 0x30 hi2c->State = HAL_I2C_STATE_READY; - 8002cbe: 68fb ldr r3, [r7, #12] - 8002cc0: 2220 movs r2, #32 - 8002cc2: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8002dd6: 68fb ldr r3, [r7, #12] + 8002dd8: 2220 movs r2, #32 + 8002dda: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 8002cc6: 68fb ldr r3, [r7, #12] - 8002cc8: 2200 movs r2, #0 - 8002cca: f883 203e strb.w r2, [r3, #62] ; 0x3e + 8002dde: 68fb ldr r3, [r7, #12] + 8002de0: 2200 movs r2, #0 + 8002de2: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 8002cce: 68fb ldr r3, [r7, #12] - 8002cd0: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002cd2: f043 0220 orr.w r2, r3, #32 - 8002cd6: 68fb ldr r3, [r7, #12] - 8002cd8: 641a str r2, [r3, #64] ; 0x40 + 8002de6: 68fb ldr r3, [r7, #12] + 8002de8: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002dea: f043 0220 orr.w r2, r3, #32 + 8002dee: 68fb ldr r3, [r7, #12] + 8002df0: 641a str r2, [r3, #64] ; 0x40 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8002cda: 68fb ldr r3, [r7, #12] - 8002cdc: 2200 movs r2, #0 - 8002cde: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002df2: 68fb ldr r3, [r7, #12] + 8002df4: 2200 movs r2, #0 + 8002df6: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8002ce2: 2301 movs r3, #1 - 8002ce4: e007 b.n 8002cf6 + 8002dfa: 2301 movs r3, #1 + 8002dfc: e007 b.n 8002e0e while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXE) == RESET) - 8002ce6: 68fb ldr r3, [r7, #12] - 8002ce8: 681b ldr r3, [r3, #0] - 8002cea: 695b ldr r3, [r3, #20] - 8002cec: f003 0380 and.w r3, r3, #128 ; 0x80 - 8002cf0: 2b80 cmp r3, #128 ; 0x80 - 8002cf2: d1ca bne.n 8002c8a + 8002dfe: 68fb ldr r3, [r7, #12] + 8002e00: 681b ldr r3, [r3, #0] + 8002e02: 695b ldr r3, [r3, #20] + 8002e04: f003 0380 and.w r3, r3, #128 ; 0x80 + 8002e08: 2b80 cmp r3, #128 ; 0x80 + 8002e0a: d1ca bne.n 8002da2 } } } return HAL_OK; - 8002cf4: 2300 movs r3, #0 + 8002e0c: 2300 movs r3, #0 } - 8002cf6: 4618 mov r0, r3 - 8002cf8: 3710 adds r7, #16 - 8002cfa: 46bd mov sp, r7 - 8002cfc: bd80 pop {r7, pc} + 8002e0e: 4618 mov r0, r3 + 8002e10: 3710 adds r7, #16 + 8002e12: 46bd mov sp, r7 + 8002e14: bd80 pop {r7, pc} -08002cfe : +08002e16 : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_WaitOnBTFFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) { - 8002cfe: b580 push {r7, lr} - 8002d00: b084 sub sp, #16 - 8002d02: af00 add r7, sp, #0 - 8002d04: 60f8 str r0, [r7, #12] - 8002d06: 60b9 str r1, [r7, #8] - 8002d08: 607a str r2, [r7, #4] + 8002e16: b580 push {r7, lr} + 8002e18: b084 sub sp, #16 + 8002e1a: af00 add r7, sp, #0 + 8002e1c: 60f8 str r0, [r7, #12] + 8002e1e: 60b9 str r1, [r7, #8] + 8002e20: 607a str r2, [r7, #4] while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == RESET) - 8002d0a: e02d b.n 8002d68 + 8002e22: e02d b.n 8002e80 { /* Check if a NACK is detected */ if (I2C_IsAcknowledgeFailed(hi2c) != HAL_OK) - 8002d0c: 68f8 ldr r0, [r7, #12] - 8002d0e: f000 f88d bl 8002e2c - 8002d12: 4603 mov r3, r0 - 8002d14: 2b00 cmp r3, #0 - 8002d16: d001 beq.n 8002d1c + 8002e24: 68f8 ldr r0, [r7, #12] + 8002e26: f000 f88d bl 8002f44 + 8002e2a: 4603 mov r3, r0 + 8002e2c: 2b00 cmp r3, #0 + 8002e2e: d001 beq.n 8002e34 { return HAL_ERROR; - 8002d18: 2301 movs r3, #1 - 8002d1a: e02d b.n 8002d78 + 8002e30: 2301 movs r3, #1 + 8002e32: e02d b.n 8002e90 } /* Check for the Timeout */ if (Timeout != HAL_MAX_DELAY) - 8002d1c: 68bb ldr r3, [r7, #8] - 8002d1e: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff - 8002d22: d021 beq.n 8002d68 + 8002e34: 68bb ldr r3, [r7, #8] + 8002e36: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff + 8002e3a: d021 beq.n 8002e80 { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) - 8002d24: f7fe fdda bl 80018dc - 8002d28: 4602 mov r2, r0 - 8002d2a: 687b ldr r3, [r7, #4] - 8002d2c: 1ad3 subs r3, r2, r3 - 8002d2e: 68ba ldr r2, [r7, #8] - 8002d30: 429a cmp r2, r3 - 8002d32: d302 bcc.n 8002d3a - 8002d34: 68bb ldr r3, [r7, #8] - 8002d36: 2b00 cmp r3, #0 - 8002d38: d116 bne.n 8002d68 + 8002e3c: f7fe fdda bl 80019f4 + 8002e40: 4602 mov r2, r0 + 8002e42: 687b ldr r3, [r7, #4] + 8002e44: 1ad3 subs r3, r2, r3 + 8002e46: 68ba ldr r2, [r7, #8] + 8002e48: 429a cmp r2, r3 + 8002e4a: d302 bcc.n 8002e52 + 8002e4c: 68bb ldr r3, [r7, #8] + 8002e4e: 2b00 cmp r3, #0 + 8002e50: d116 bne.n 8002e80 { hi2c->PreviousState = I2C_STATE_NONE; - 8002d3a: 68fb ldr r3, [r7, #12] - 8002d3c: 2200 movs r2, #0 - 8002d3e: 631a str r2, [r3, #48] ; 0x30 + 8002e52: 68fb ldr r3, [r7, #12] + 8002e54: 2200 movs r2, #0 + 8002e56: 631a str r2, [r3, #48] ; 0x30 hi2c->State = HAL_I2C_STATE_READY; - 8002d40: 68fb ldr r3, [r7, #12] - 8002d42: 2220 movs r2, #32 - 8002d44: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8002e58: 68fb ldr r3, [r7, #12] + 8002e5a: 2220 movs r2, #32 + 8002e5c: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 8002d48: 68fb ldr r3, [r7, #12] - 8002d4a: 2200 movs r2, #0 - 8002d4c: f883 203e strb.w r2, [r3, #62] ; 0x3e + 8002e60: 68fb ldr r3, [r7, #12] + 8002e62: 2200 movs r2, #0 + 8002e64: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 8002d50: 68fb ldr r3, [r7, #12] - 8002d52: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002d54: f043 0220 orr.w r2, r3, #32 - 8002d58: 68fb ldr r3, [r7, #12] - 8002d5a: 641a str r2, [r3, #64] ; 0x40 + 8002e68: 68fb ldr r3, [r7, #12] + 8002e6a: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002e6c: f043 0220 orr.w r2, r3, #32 + 8002e70: 68fb ldr r3, [r7, #12] + 8002e72: 641a str r2, [r3, #64] ; 0x40 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8002d5c: 68fb ldr r3, [r7, #12] - 8002d5e: 2200 movs r2, #0 - 8002d60: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002e74: 68fb ldr r3, [r7, #12] + 8002e76: 2200 movs r2, #0 + 8002e78: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8002d64: 2301 movs r3, #1 - 8002d66: e007 b.n 8002d78 + 8002e7c: 2301 movs r3, #1 + 8002e7e: e007 b.n 8002e90 while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == RESET) - 8002d68: 68fb ldr r3, [r7, #12] - 8002d6a: 681b ldr r3, [r3, #0] - 8002d6c: 695b ldr r3, [r3, #20] - 8002d6e: f003 0304 and.w r3, r3, #4 - 8002d72: 2b04 cmp r3, #4 - 8002d74: d1ca bne.n 8002d0c + 8002e80: 68fb ldr r3, [r7, #12] + 8002e82: 681b ldr r3, [r3, #0] + 8002e84: 695b ldr r3, [r3, #20] + 8002e86: f003 0304 and.w r3, r3, #4 + 8002e8a: 2b04 cmp r3, #4 + 8002e8c: d1ca bne.n 8002e24 } } } return HAL_OK; - 8002d76: 2300 movs r3, #0 + 8002e8e: 2300 movs r3, #0 } - 8002d78: 4618 mov r0, r3 - 8002d7a: 3710 adds r7, #16 - 8002d7c: 46bd mov sp, r7 - 8002d7e: bd80 pop {r7, pc} + 8002e90: 4618 mov r0, r3 + 8002e92: 3710 adds r7, #16 + 8002e94: 46bd mov sp, r7 + 8002e96: bd80 pop {r7, pc} -08002d80 : +08002e98 : * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status */ static HAL_StatusTypeDef I2C_WaitOnRXNEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart) { - 8002d80: b580 push {r7, lr} - 8002d82: b084 sub sp, #16 - 8002d84: af00 add r7, sp, #0 - 8002d86: 60f8 str r0, [r7, #12] - 8002d88: 60b9 str r1, [r7, #8] - 8002d8a: 607a str r2, [r7, #4] + 8002e98: b580 push {r7, lr} + 8002e9a: b084 sub sp, #16 + 8002e9c: af00 add r7, sp, #0 + 8002e9e: 60f8 str r0, [r7, #12] + 8002ea0: 60b9 str r1, [r7, #8] + 8002ea2: 607a str r2, [r7, #4] while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_RXNE) == RESET) - 8002d8c: e042 b.n 8002e14 + 8002ea4: e042 b.n 8002f2c { /* Check if a STOPF is detected */ if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == SET) - 8002d8e: 68fb ldr r3, [r7, #12] - 8002d90: 681b ldr r3, [r3, #0] - 8002d92: 695b ldr r3, [r3, #20] - 8002d94: f003 0310 and.w r3, r3, #16 - 8002d98: 2b10 cmp r3, #16 - 8002d9a: d119 bne.n 8002dd0 + 8002ea6: 68fb ldr r3, [r7, #12] + 8002ea8: 681b ldr r3, [r3, #0] + 8002eaa: 695b ldr r3, [r3, #20] + 8002eac: f003 0310 and.w r3, r3, #16 + 8002eb0: 2b10 cmp r3, #16 + 8002eb2: d119 bne.n 8002ee8 { /* Clear STOP Flag */ __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_STOPF); - 8002d9c: 68fb ldr r3, [r7, #12] - 8002d9e: 681b ldr r3, [r3, #0] - 8002da0: f06f 0210 mvn.w r2, #16 - 8002da4: 615a str r2, [r3, #20] + 8002eb4: 68fb ldr r3, [r7, #12] + 8002eb6: 681b ldr r3, [r3, #0] + 8002eb8: f06f 0210 mvn.w r2, #16 + 8002ebc: 615a str r2, [r3, #20] hi2c->PreviousState = I2C_STATE_NONE; - 8002da6: 68fb ldr r3, [r7, #12] - 8002da8: 2200 movs r2, #0 - 8002daa: 631a str r2, [r3, #48] ; 0x30 + 8002ebe: 68fb ldr r3, [r7, #12] + 8002ec0: 2200 movs r2, #0 + 8002ec2: 631a str r2, [r3, #48] ; 0x30 hi2c->State = HAL_I2C_STATE_READY; - 8002dac: 68fb ldr r3, [r7, #12] - 8002dae: 2220 movs r2, #32 - 8002db0: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8002ec4: 68fb ldr r3, [r7, #12] + 8002ec6: 2220 movs r2, #32 + 8002ec8: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 8002db4: 68fb ldr r3, [r7, #12] - 8002db6: 2200 movs r2, #0 - 8002db8: f883 203e strb.w r2, [r3, #62] ; 0x3e + 8002ecc: 68fb ldr r3, [r7, #12] + 8002ece: 2200 movs r2, #0 + 8002ed0: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode |= HAL_I2C_ERROR_NONE; - 8002dbc: 68fb ldr r3, [r7, #12] - 8002dbe: 6c1a ldr r2, [r3, #64] ; 0x40 - 8002dc0: 68fb ldr r3, [r7, #12] - 8002dc2: 641a str r2, [r3, #64] ; 0x40 + 8002ed4: 68fb ldr r3, [r7, #12] + 8002ed6: 6c1a ldr r2, [r3, #64] ; 0x40 + 8002ed8: 68fb ldr r3, [r7, #12] + 8002eda: 641a str r2, [r3, #64] ; 0x40 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8002dc4: 68fb ldr r3, [r7, #12] - 8002dc6: 2200 movs r2, #0 - 8002dc8: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002edc: 68fb ldr r3, [r7, #12] + 8002ede: 2200 movs r2, #0 + 8002ee0: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8002dcc: 2301 movs r3, #1 - 8002dce: e029 b.n 8002e24 + 8002ee4: 2301 movs r3, #1 + 8002ee6: e029 b.n 8002f3c } /* Check for the Timeout */ if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) - 8002dd0: f7fe fd84 bl 80018dc - 8002dd4: 4602 mov r2, r0 - 8002dd6: 687b ldr r3, [r7, #4] - 8002dd8: 1ad3 subs r3, r2, r3 - 8002dda: 68ba ldr r2, [r7, #8] - 8002ddc: 429a cmp r2, r3 - 8002dde: d302 bcc.n 8002de6 - 8002de0: 68bb ldr r3, [r7, #8] - 8002de2: 2b00 cmp r3, #0 - 8002de4: d116 bne.n 8002e14 + 8002ee8: f7fe fd84 bl 80019f4 + 8002eec: 4602 mov r2, r0 + 8002eee: 687b ldr r3, [r7, #4] + 8002ef0: 1ad3 subs r3, r2, r3 + 8002ef2: 68ba ldr r2, [r7, #8] + 8002ef4: 429a cmp r2, r3 + 8002ef6: d302 bcc.n 8002efe + 8002ef8: 68bb ldr r3, [r7, #8] + 8002efa: 2b00 cmp r3, #0 + 8002efc: d116 bne.n 8002f2c { hi2c->PreviousState = I2C_STATE_NONE; - 8002de6: 68fb ldr r3, [r7, #12] - 8002de8: 2200 movs r2, #0 - 8002dea: 631a str r2, [r3, #48] ; 0x30 + 8002efe: 68fb ldr r3, [r7, #12] + 8002f00: 2200 movs r2, #0 + 8002f02: 631a str r2, [r3, #48] ; 0x30 hi2c->State = HAL_I2C_STATE_READY; - 8002dec: 68fb ldr r3, [r7, #12] - 8002dee: 2220 movs r2, #32 - 8002df0: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8002f04: 68fb ldr r3, [r7, #12] + 8002f06: 2220 movs r2, #32 + 8002f08: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 8002df4: 68fb ldr r3, [r7, #12] - 8002df6: 2200 movs r2, #0 - 8002df8: f883 203e strb.w r2, [r3, #62] ; 0x3e + 8002f0c: 68fb ldr r3, [r7, #12] + 8002f0e: 2200 movs r2, #0 + 8002f10: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - 8002dfc: 68fb ldr r3, [r7, #12] - 8002dfe: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002e00: f043 0220 orr.w r2, r3, #32 - 8002e04: 68fb ldr r3, [r7, #12] - 8002e06: 641a str r2, [r3, #64] ; 0x40 + 8002f14: 68fb ldr r3, [r7, #12] + 8002f16: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002f18: f043 0220 orr.w r2, r3, #32 + 8002f1c: 68fb ldr r3, [r7, #12] + 8002f1e: 641a str r2, [r3, #64] ; 0x40 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8002e08: 68fb ldr r3, [r7, #12] - 8002e0a: 2200 movs r2, #0 - 8002e0c: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002f20: 68fb ldr r3, [r7, #12] + 8002f22: 2200 movs r2, #0 + 8002f24: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8002e10: 2301 movs r3, #1 - 8002e12: e007 b.n 8002e24 + 8002f28: 2301 movs r3, #1 + 8002f2a: e007 b.n 8002f3c while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_RXNE) == RESET) - 8002e14: 68fb ldr r3, [r7, #12] - 8002e16: 681b ldr r3, [r3, #0] - 8002e18: 695b ldr r3, [r3, #20] - 8002e1a: f003 0340 and.w r3, r3, #64 ; 0x40 - 8002e1e: 2b40 cmp r3, #64 ; 0x40 - 8002e20: d1b5 bne.n 8002d8e + 8002f2c: 68fb ldr r3, [r7, #12] + 8002f2e: 681b ldr r3, [r3, #0] + 8002f30: 695b ldr r3, [r3, #20] + 8002f32: f003 0340 and.w r3, r3, #64 ; 0x40 + 8002f36: 2b40 cmp r3, #64 ; 0x40 + 8002f38: d1b5 bne.n 8002ea6 } } return HAL_OK; - 8002e22: 2300 movs r3, #0 + 8002f3a: 2300 movs r3, #0 } - 8002e24: 4618 mov r0, r3 - 8002e26: 3710 adds r7, #16 - 8002e28: 46bd mov sp, r7 - 8002e2a: bd80 pop {r7, pc} + 8002f3c: 4618 mov r0, r3 + 8002f3e: 3710 adds r7, #16 + 8002f40: 46bd mov sp, r7 + 8002f42: bd80 pop {r7, pc} -08002e2c : +08002f44 : * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains * the configuration information for the specified I2C. * @retval HAL status */ static HAL_StatusTypeDef I2C_IsAcknowledgeFailed(I2C_HandleTypeDef *hi2c) { - 8002e2c: b480 push {r7} - 8002e2e: b083 sub sp, #12 - 8002e30: af00 add r7, sp, #0 - 8002e32: 6078 str r0, [r7, #4] + 8002f44: b480 push {r7} + 8002f46: b083 sub sp, #12 + 8002f48: af00 add r7, sp, #0 + 8002f4a: 6078 str r0, [r7, #4] if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF) == SET) - 8002e34: 687b ldr r3, [r7, #4] - 8002e36: 681b ldr r3, [r3, #0] - 8002e38: 695b ldr r3, [r3, #20] - 8002e3a: f403 6380 and.w r3, r3, #1024 ; 0x400 - 8002e3e: f5b3 6f80 cmp.w r3, #1024 ; 0x400 - 8002e42: d11b bne.n 8002e7c + 8002f4c: 687b ldr r3, [r7, #4] + 8002f4e: 681b ldr r3, [r3, #0] + 8002f50: 695b ldr r3, [r3, #20] + 8002f52: f403 6380 and.w r3, r3, #1024 ; 0x400 + 8002f56: f5b3 6f80 cmp.w r3, #1024 ; 0x400 + 8002f5a: d11b bne.n 8002f94 { /* Clear NACKF Flag */ __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF); - 8002e44: 687b ldr r3, [r7, #4] - 8002e46: 681b ldr r3, [r3, #0] - 8002e48: f46f 6280 mvn.w r2, #1024 ; 0x400 - 8002e4c: 615a str r2, [r3, #20] + 8002f5c: 687b ldr r3, [r7, #4] + 8002f5e: 681b ldr r3, [r3, #0] + 8002f60: f46f 6280 mvn.w r2, #1024 ; 0x400 + 8002f64: 615a str r2, [r3, #20] hi2c->PreviousState = I2C_STATE_NONE; - 8002e4e: 687b ldr r3, [r7, #4] - 8002e50: 2200 movs r2, #0 - 8002e52: 631a str r2, [r3, #48] ; 0x30 + 8002f66: 687b ldr r3, [r7, #4] + 8002f68: 2200 movs r2, #0 + 8002f6a: 631a str r2, [r3, #48] ; 0x30 hi2c->State = HAL_I2C_STATE_READY; - 8002e54: 687b ldr r3, [r7, #4] - 8002e56: 2220 movs r2, #32 - 8002e58: f883 203d strb.w r2, [r3, #61] ; 0x3d + 8002f6c: 687b ldr r3, [r7, #4] + 8002f6e: 2220 movs r2, #32 + 8002f70: f883 203d strb.w r2, [r3, #61] ; 0x3d hi2c->Mode = HAL_I2C_MODE_NONE; - 8002e5c: 687b ldr r3, [r7, #4] - 8002e5e: 2200 movs r2, #0 - 8002e60: f883 203e strb.w r2, [r3, #62] ; 0x3e + 8002f74: 687b ldr r3, [r7, #4] + 8002f76: 2200 movs r2, #0 + 8002f78: f883 203e strb.w r2, [r3, #62] ; 0x3e hi2c->ErrorCode |= HAL_I2C_ERROR_AF; - 8002e64: 687b ldr r3, [r7, #4] - 8002e66: 6c1b ldr r3, [r3, #64] ; 0x40 - 8002e68: f043 0204 orr.w r2, r3, #4 - 8002e6c: 687b ldr r3, [r7, #4] - 8002e6e: 641a str r2, [r3, #64] ; 0x40 + 8002f7c: 687b ldr r3, [r7, #4] + 8002f7e: 6c1b ldr r3, [r3, #64] ; 0x40 + 8002f80: f043 0204 orr.w r2, r3, #4 + 8002f84: 687b ldr r3, [r7, #4] + 8002f86: 641a str r2, [r3, #64] ; 0x40 /* Process Unlocked */ __HAL_UNLOCK(hi2c); - 8002e70: 687b ldr r3, [r7, #4] - 8002e72: 2200 movs r2, #0 - 8002e74: f883 203c strb.w r2, [r3, #60] ; 0x3c + 8002f88: 687b ldr r3, [r7, #4] + 8002f8a: 2200 movs r2, #0 + 8002f8c: f883 203c strb.w r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8002e78: 2301 movs r3, #1 - 8002e7a: e000 b.n 8002e7e + 8002f90: 2301 movs r3, #1 + 8002f92: e000 b.n 8002f96 } return HAL_OK; - 8002e7c: 2300 movs r3, #0 + 8002f94: 2300 movs r3, #0 } - 8002e7e: 4618 mov r0, r3 - 8002e80: 370c adds r7, #12 - 8002e82: 46bd mov sp, r7 - 8002e84: bc80 pop {r7} - 8002e86: 4770 bx lr + 8002f96: 4618 mov r0, r3 + 8002f98: 370c adds r7, #12 + 8002f9a: 46bd mov sp, r7 + 8002f9c: bc80 pop {r7} + 8002f9e: 4770 bx lr -08002e88 : +08002fa0 : * supported by this macro. User should request a transition to HSE Off * first and then HSE On or HSE Bypass. * @retval HAL status */ HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct) { - 8002e88: b580 push {r7, lr} - 8002e8a: b086 sub sp, #24 - 8002e8c: af00 add r7, sp, #0 - 8002e8e: 6078 str r0, [r7, #4] + 8002fa0: b580 push {r7, lr} + 8002fa2: b086 sub sp, #24 + 8002fa4: af00 add r7, sp, #0 + 8002fa6: 6078 str r0, [r7, #4] uint32_t tickstart; uint32_t pll_config; /* Check Null pointer */ if (RCC_OscInitStruct == NULL) - 8002e90: 687b ldr r3, [r7, #4] - 8002e92: 2b00 cmp r3, #0 - 8002e94: d101 bne.n 8002e9a + 8002fa8: 687b ldr r3, [r7, #4] + 8002faa: 2b00 cmp r3, #0 + 8002fac: d101 bne.n 8002fb2 { return HAL_ERROR; - 8002e96: 2301 movs r3, #1 - 8002e98: e26c b.n 8003374 + 8002fae: 2301 movs r3, #1 + 8002fb0: e26c b.n 800348c /* Check the parameters */ assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); /*------------------------------- HSE Configuration ------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE) - 8002e9a: 687b ldr r3, [r7, #4] - 8002e9c: 681b ldr r3, [r3, #0] - 8002e9e: f003 0301 and.w r3, r3, #1 - 8002ea2: 2b00 cmp r3, #0 - 8002ea4: f000 8087 beq.w 8002fb6 + 8002fb2: 687b ldr r3, [r7, #4] + 8002fb4: 681b ldr r3, [r3, #0] + 8002fb6: f003 0301 and.w r3, r3, #1 + 8002fba: 2b00 cmp r3, #0 + 8002fbc: f000 8087 beq.w 80030ce { /* Check the parameters */ assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState)); /* When the HSE is used as system clock or clock source for PLL in these cases it is not allowed to be disabled */ if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSE) - 8002ea8: 4b92 ldr r3, [pc, #584] ; (80030f4 ) - 8002eaa: 685b ldr r3, [r3, #4] - 8002eac: f003 030c and.w r3, r3, #12 - 8002eb0: 2b04 cmp r3, #4 - 8002eb2: d00c beq.n 8002ece + 8002fc0: 4b92 ldr r3, [pc, #584] ; (800320c ) + 8002fc2: 685b ldr r3, [r3, #4] + 8002fc4: f003 030c and.w r3, r3, #12 + 8002fc8: 2b04 cmp r3, #4 + 8002fca: d00c beq.n 8002fe6 || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL_OSCSOURCE() == RCC_PLLSOURCE_HSE))) - 8002eb4: 4b8f ldr r3, [pc, #572] ; (80030f4 ) - 8002eb6: 685b ldr r3, [r3, #4] - 8002eb8: f003 030c and.w r3, r3, #12 - 8002ebc: 2b08 cmp r3, #8 - 8002ebe: d112 bne.n 8002ee6 - 8002ec0: 4b8c ldr r3, [pc, #560] ; (80030f4 ) - 8002ec2: 685b ldr r3, [r3, #4] - 8002ec4: f403 3380 and.w r3, r3, #65536 ; 0x10000 - 8002ec8: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8002ecc: d10b bne.n 8002ee6 + 8002fcc: 4b8f ldr r3, [pc, #572] ; (800320c ) + 8002fce: 685b ldr r3, [r3, #4] + 8002fd0: f003 030c and.w r3, r3, #12 + 8002fd4: 2b08 cmp r3, #8 + 8002fd6: d112 bne.n 8002ffe + 8002fd8: 4b8c ldr r3, [pc, #560] ; (800320c ) + 8002fda: 685b ldr r3, [r3, #4] + 8002fdc: f403 3380 and.w r3, r3, #65536 ; 0x10000 + 8002fe0: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 8002fe4: d10b bne.n 8002ffe { if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 8002ece: 4b89 ldr r3, [pc, #548] ; (80030f4 ) - 8002ed0: 681b ldr r3, [r3, #0] - 8002ed2: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 8002ed6: 2b00 cmp r3, #0 - 8002ed8: d06c beq.n 8002fb4 - 8002eda: 687b ldr r3, [r7, #4] - 8002edc: 685b ldr r3, [r3, #4] - 8002ede: 2b00 cmp r3, #0 - 8002ee0: d168 bne.n 8002fb4 + 8002fe6: 4b89 ldr r3, [pc, #548] ; (800320c ) + 8002fe8: 681b ldr r3, [r3, #0] + 8002fea: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 8002fee: 2b00 cmp r3, #0 + 8002ff0: d06c beq.n 80030cc + 8002ff2: 687b ldr r3, [r7, #4] + 8002ff4: 685b ldr r3, [r3, #4] + 8002ff6: 2b00 cmp r3, #0 + 8002ff8: d168 bne.n 80030cc { return HAL_ERROR; - 8002ee2: 2301 movs r3, #1 - 8002ee4: e246 b.n 8003374 + 8002ffa: 2301 movs r3, #1 + 8002ffc: e246 b.n 800348c } } else { /* Set the new HSE configuration ---------------------------------------*/ __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState); - 8002ee6: 687b ldr r3, [r7, #4] - 8002ee8: 685b ldr r3, [r3, #4] - 8002eea: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 8002eee: d106 bne.n 8002efe - 8002ef0: 4b80 ldr r3, [pc, #512] ; (80030f4 ) - 8002ef2: 681b ldr r3, [r3, #0] - 8002ef4: 4a7f ldr r2, [pc, #508] ; (80030f4 ) - 8002ef6: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8002efa: 6013 str r3, [r2, #0] - 8002efc: e02e b.n 8002f5c - 8002efe: 687b ldr r3, [r7, #4] - 8002f00: 685b ldr r3, [r3, #4] - 8002f02: 2b00 cmp r3, #0 - 8002f04: d10c bne.n 8002f20 - 8002f06: 4b7b ldr r3, [pc, #492] ; (80030f4 ) - 8002f08: 681b ldr r3, [r3, #0] - 8002f0a: 4a7a ldr r2, [pc, #488] ; (80030f4 ) - 8002f0c: f423 3380 bic.w r3, r3, #65536 ; 0x10000 - 8002f10: 6013 str r3, [r2, #0] - 8002f12: 4b78 ldr r3, [pc, #480] ; (80030f4 ) - 8002f14: 681b ldr r3, [r3, #0] - 8002f16: 4a77 ldr r2, [pc, #476] ; (80030f4 ) - 8002f18: f423 2380 bic.w r3, r3, #262144 ; 0x40000 - 8002f1c: 6013 str r3, [r2, #0] - 8002f1e: e01d b.n 8002f5c - 8002f20: 687b ldr r3, [r7, #4] - 8002f22: 685b ldr r3, [r3, #4] - 8002f24: f5b3 2fa0 cmp.w r3, #327680 ; 0x50000 - 8002f28: d10c bne.n 8002f44 - 8002f2a: 4b72 ldr r3, [pc, #456] ; (80030f4 ) - 8002f2c: 681b ldr r3, [r3, #0] - 8002f2e: 4a71 ldr r2, [pc, #452] ; (80030f4 ) - 8002f30: f443 2380 orr.w r3, r3, #262144 ; 0x40000 - 8002f34: 6013 str r3, [r2, #0] - 8002f36: 4b6f ldr r3, [pc, #444] ; (80030f4 ) - 8002f38: 681b ldr r3, [r3, #0] - 8002f3a: 4a6e ldr r2, [pc, #440] ; (80030f4 ) - 8002f3c: f443 3380 orr.w r3, r3, #65536 ; 0x10000 - 8002f40: 6013 str r3, [r2, #0] - 8002f42: e00b b.n 8002f5c - 8002f44: 4b6b ldr r3, [pc, #428] ; (80030f4 ) - 8002f46: 681b ldr r3, [r3, #0] - 8002f48: 4a6a ldr r2, [pc, #424] ; (80030f4 ) - 8002f4a: f423 3380 bic.w r3, r3, #65536 ; 0x10000 - 8002f4e: 6013 str r3, [r2, #0] - 8002f50: 4b68 ldr r3, [pc, #416] ; (80030f4 ) - 8002f52: 681b ldr r3, [r3, #0] - 8002f54: 4a67 ldr r2, [pc, #412] ; (80030f4 ) - 8002f56: f423 2380 bic.w r3, r3, #262144 ; 0x40000 - 8002f5a: 6013 str r3, [r2, #0] + 8002ffe: 687b ldr r3, [r7, #4] + 8003000: 685b ldr r3, [r3, #4] + 8003002: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 8003006: d106 bne.n 8003016 + 8003008: 4b80 ldr r3, [pc, #512] ; (800320c ) + 800300a: 681b ldr r3, [r3, #0] + 800300c: 4a7f ldr r2, [pc, #508] ; (800320c ) + 800300e: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 8003012: 6013 str r3, [r2, #0] + 8003014: e02e b.n 8003074 + 8003016: 687b ldr r3, [r7, #4] + 8003018: 685b ldr r3, [r3, #4] + 800301a: 2b00 cmp r3, #0 + 800301c: d10c bne.n 8003038 + 800301e: 4b7b ldr r3, [pc, #492] ; (800320c ) + 8003020: 681b ldr r3, [r3, #0] + 8003022: 4a7a ldr r2, [pc, #488] ; (800320c ) + 8003024: f423 3380 bic.w r3, r3, #65536 ; 0x10000 + 8003028: 6013 str r3, [r2, #0] + 800302a: 4b78 ldr r3, [pc, #480] ; (800320c ) + 800302c: 681b ldr r3, [r3, #0] + 800302e: 4a77 ldr r2, [pc, #476] ; (800320c ) + 8003030: f423 2380 bic.w r3, r3, #262144 ; 0x40000 + 8003034: 6013 str r3, [r2, #0] + 8003036: e01d b.n 8003074 + 8003038: 687b ldr r3, [r7, #4] + 800303a: 685b ldr r3, [r3, #4] + 800303c: f5b3 2fa0 cmp.w r3, #327680 ; 0x50000 + 8003040: d10c bne.n 800305c + 8003042: 4b72 ldr r3, [pc, #456] ; (800320c ) + 8003044: 681b ldr r3, [r3, #0] + 8003046: 4a71 ldr r2, [pc, #452] ; (800320c ) + 8003048: f443 2380 orr.w r3, r3, #262144 ; 0x40000 + 800304c: 6013 str r3, [r2, #0] + 800304e: 4b6f ldr r3, [pc, #444] ; (800320c ) + 8003050: 681b ldr r3, [r3, #0] + 8003052: 4a6e ldr r2, [pc, #440] ; (800320c ) + 8003054: f443 3380 orr.w r3, r3, #65536 ; 0x10000 + 8003058: 6013 str r3, [r2, #0] + 800305a: e00b b.n 8003074 + 800305c: 4b6b ldr r3, [pc, #428] ; (800320c ) + 800305e: 681b ldr r3, [r3, #0] + 8003060: 4a6a ldr r2, [pc, #424] ; (800320c ) + 8003062: f423 3380 bic.w r3, r3, #65536 ; 0x10000 + 8003066: 6013 str r3, [r2, #0] + 8003068: 4b68 ldr r3, [pc, #416] ; (800320c ) + 800306a: 681b ldr r3, [r3, #0] + 800306c: 4a67 ldr r2, [pc, #412] ; (800320c ) + 800306e: f423 2380 bic.w r3, r3, #262144 ; 0x40000 + 8003072: 6013 str r3, [r2, #0] /* Check the HSE State */ if (RCC_OscInitStruct->HSEState != RCC_HSE_OFF) - 8002f5c: 687b ldr r3, [r7, #4] - 8002f5e: 685b ldr r3, [r3, #4] - 8002f60: 2b00 cmp r3, #0 - 8002f62: d013 beq.n 8002f8c + 8003074: 687b ldr r3, [r7, #4] + 8003076: 685b ldr r3, [r3, #4] + 8003078: 2b00 cmp r3, #0 + 800307a: d013 beq.n 80030a4 { /* Get Start Tick */ tickstart = HAL_GetTick(); - 8002f64: f7fe fcba bl 80018dc - 8002f68: 6138 str r0, [r7, #16] + 800307c: f7fe fcba bl 80019f4 + 8003080: 6138 str r0, [r7, #16] /* Wait till HSE is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8002f6a: e008 b.n 8002f7e + 8003082: e008 b.n 8003096 { if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE) - 8002f6c: f7fe fcb6 bl 80018dc - 8002f70: 4602 mov r2, r0 - 8002f72: 693b ldr r3, [r7, #16] - 8002f74: 1ad3 subs r3, r2, r3 - 8002f76: 2b64 cmp r3, #100 ; 0x64 - 8002f78: d901 bls.n 8002f7e + 8003084: f7fe fcb6 bl 80019f4 + 8003088: 4602 mov r2, r0 + 800308a: 693b ldr r3, [r7, #16] + 800308c: 1ad3 subs r3, r2, r3 + 800308e: 2b64 cmp r3, #100 ; 0x64 + 8003090: d901 bls.n 8003096 { return HAL_TIMEOUT; - 8002f7a: 2303 movs r3, #3 - 8002f7c: e1fa b.n 8003374 + 8003092: 2303 movs r3, #3 + 8003094: e1fa b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8002f7e: 4b5d ldr r3, [pc, #372] ; (80030f4 ) - 8002f80: 681b ldr r3, [r3, #0] - 8002f82: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 8002f86: 2b00 cmp r3, #0 - 8002f88: d0f0 beq.n 8002f6c - 8002f8a: e014 b.n 8002fb6 + 8003096: 4b5d ldr r3, [pc, #372] ; (800320c ) + 8003098: 681b ldr r3, [r3, #0] + 800309a: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 800309e: 2b00 cmp r3, #0 + 80030a0: d0f0 beq.n 8003084 + 80030a2: e014 b.n 80030ce } } else { /* Get Start Tick */ tickstart = HAL_GetTick(); - 8002f8c: f7fe fca6 bl 80018dc - 8002f90: 6138 str r0, [r7, #16] + 80030a4: f7fe fca6 bl 80019f4 + 80030a8: 6138 str r0, [r7, #16] /* Wait till HSE is disabled */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 8002f92: e008 b.n 8002fa6 + 80030aa: e008 b.n 80030be { if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE) - 8002f94: f7fe fca2 bl 80018dc - 8002f98: 4602 mov r2, r0 - 8002f9a: 693b ldr r3, [r7, #16] - 8002f9c: 1ad3 subs r3, r2, r3 - 8002f9e: 2b64 cmp r3, #100 ; 0x64 - 8002fa0: d901 bls.n 8002fa6 + 80030ac: f7fe fca2 bl 80019f4 + 80030b0: 4602 mov r2, r0 + 80030b2: 693b ldr r3, [r7, #16] + 80030b4: 1ad3 subs r3, r2, r3 + 80030b6: 2b64 cmp r3, #100 ; 0x64 + 80030b8: d901 bls.n 80030be { return HAL_TIMEOUT; - 8002fa2: 2303 movs r3, #3 - 8002fa4: e1e6 b.n 8003374 + 80030ba: 2303 movs r3, #3 + 80030bc: e1e6 b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 8002fa6: 4b53 ldr r3, [pc, #332] ; (80030f4 ) - 8002fa8: 681b ldr r3, [r3, #0] - 8002faa: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 8002fae: 2b00 cmp r3, #0 - 8002fb0: d1f0 bne.n 8002f94 - 8002fb2: e000 b.n 8002fb6 + 80030be: 4b53 ldr r3, [pc, #332] ; (800320c ) + 80030c0: 681b ldr r3, [r3, #0] + 80030c2: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 80030c6: 2b00 cmp r3, #0 + 80030c8: d1f0 bne.n 80030ac + 80030ca: e000 b.n 80030ce if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 8002fb4: bf00 nop + 80030cc: bf00 nop } } } } /*----------------------------- HSI Configuration --------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI) - 8002fb6: 687b ldr r3, [r7, #4] - 8002fb8: 681b ldr r3, [r3, #0] - 8002fba: f003 0302 and.w r3, r3, #2 - 8002fbe: 2b00 cmp r3, #0 - 8002fc0: d063 beq.n 800308a + 80030ce: 687b ldr r3, [r7, #4] + 80030d0: 681b ldr r3, [r3, #0] + 80030d2: f003 0302 and.w r3, r3, #2 + 80030d6: 2b00 cmp r3, #0 + 80030d8: d063 beq.n 80031a2 /* Check the parameters */ assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState)); assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue)); /* Check if HSI is used as system clock or as PLL source when PLL is selected as system clock */ if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSI) - 8002fc2: 4b4c ldr r3, [pc, #304] ; (80030f4 ) - 8002fc4: 685b ldr r3, [r3, #4] - 8002fc6: f003 030c and.w r3, r3, #12 - 8002fca: 2b00 cmp r3, #0 - 8002fcc: d00b beq.n 8002fe6 + 80030da: 4b4c ldr r3, [pc, #304] ; (800320c ) + 80030dc: 685b ldr r3, [r3, #4] + 80030de: f003 030c and.w r3, r3, #12 + 80030e2: 2b00 cmp r3, #0 + 80030e4: d00b beq.n 80030fe || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL_OSCSOURCE() == RCC_PLLSOURCE_HSI_DIV2))) - 8002fce: 4b49 ldr r3, [pc, #292] ; (80030f4 ) - 8002fd0: 685b ldr r3, [r3, #4] - 8002fd2: f003 030c and.w r3, r3, #12 - 8002fd6: 2b08 cmp r3, #8 - 8002fd8: d11c bne.n 8003014 - 8002fda: 4b46 ldr r3, [pc, #280] ; (80030f4 ) - 8002fdc: 685b ldr r3, [r3, #4] - 8002fde: f403 3380 and.w r3, r3, #65536 ; 0x10000 - 8002fe2: 2b00 cmp r3, #0 - 8002fe4: d116 bne.n 8003014 + 80030e6: 4b49 ldr r3, [pc, #292] ; (800320c ) + 80030e8: 685b ldr r3, [r3, #4] + 80030ea: f003 030c and.w r3, r3, #12 + 80030ee: 2b08 cmp r3, #8 + 80030f0: d11c bne.n 800312c + 80030f2: 4b46 ldr r3, [pc, #280] ; (800320c ) + 80030f4: 685b ldr r3, [r3, #4] + 80030f6: f403 3380 and.w r3, r3, #65536 ; 0x10000 + 80030fa: 2b00 cmp r3, #0 + 80030fc: d116 bne.n 800312c { /* When HSI is used as system clock it will not disabled */ if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) - 8002fe6: 4b43 ldr r3, [pc, #268] ; (80030f4 ) - 8002fe8: 681b ldr r3, [r3, #0] - 8002fea: f003 0302 and.w r3, r3, #2 - 8002fee: 2b00 cmp r3, #0 - 8002ff0: d005 beq.n 8002ffe - 8002ff2: 687b ldr r3, [r7, #4] - 8002ff4: 691b ldr r3, [r3, #16] - 8002ff6: 2b01 cmp r3, #1 - 8002ff8: d001 beq.n 8002ffe + 80030fe: 4b43 ldr r3, [pc, #268] ; (800320c ) + 8003100: 681b ldr r3, [r3, #0] + 8003102: f003 0302 and.w r3, r3, #2 + 8003106: 2b00 cmp r3, #0 + 8003108: d005 beq.n 8003116 + 800310a: 687b ldr r3, [r7, #4] + 800310c: 691b ldr r3, [r3, #16] + 800310e: 2b01 cmp r3, #1 + 8003110: d001 beq.n 8003116 { return HAL_ERROR; - 8002ffa: 2301 movs r3, #1 - 8002ffc: e1ba b.n 8003374 + 8003112: 2301 movs r3, #1 + 8003114: e1ba b.n 800348c } /* Otherwise, just the calibration is allowed */ else { /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 8002ffe: 4b3d ldr r3, [pc, #244] ; (80030f4 ) - 8003000: 681b ldr r3, [r3, #0] - 8003002: f023 02f8 bic.w r2, r3, #248 ; 0xf8 - 8003006: 687b ldr r3, [r7, #4] - 8003008: 695b ldr r3, [r3, #20] - 800300a: 00db lsls r3, r3, #3 - 800300c: 4939 ldr r1, [pc, #228] ; (80030f4 ) - 800300e: 4313 orrs r3, r2 - 8003010: 600b str r3, [r1, #0] + 8003116: 4b3d ldr r3, [pc, #244] ; (800320c ) + 8003118: 681b ldr r3, [r3, #0] + 800311a: f023 02f8 bic.w r2, r3, #248 ; 0xf8 + 800311e: 687b ldr r3, [r7, #4] + 8003120: 695b ldr r3, [r3, #20] + 8003122: 00db lsls r3, r3, #3 + 8003124: 4939 ldr r1, [pc, #228] ; (800320c ) + 8003126: 4313 orrs r3, r2 + 8003128: 600b str r3, [r1, #0] if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) - 8003012: e03a b.n 800308a + 800312a: e03a b.n 80031a2 } } else { /* Check the HSI State */ if (RCC_OscInitStruct->HSIState != RCC_HSI_OFF) - 8003014: 687b ldr r3, [r7, #4] - 8003016: 691b ldr r3, [r3, #16] - 8003018: 2b00 cmp r3, #0 - 800301a: d020 beq.n 800305e + 800312c: 687b ldr r3, [r7, #4] + 800312e: 691b ldr r3, [r3, #16] + 8003130: 2b00 cmp r3, #0 + 8003132: d020 beq.n 8003176 { /* Enable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_ENABLE(); - 800301c: 4b36 ldr r3, [pc, #216] ; (80030f8 ) - 800301e: 2201 movs r2, #1 - 8003020: 601a str r2, [r3, #0] + 8003134: 4b36 ldr r3, [pc, #216] ; (8003210 ) + 8003136: 2201 movs r2, #1 + 8003138: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003022: f7fe fc5b bl 80018dc - 8003026: 6138 str r0, [r7, #16] + 800313a: f7fe fc5b bl 80019f4 + 800313e: 6138 str r0, [r7, #16] /* Wait till HSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8003028: e008 b.n 800303c + 8003140: e008 b.n 8003154 { if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE) - 800302a: f7fe fc57 bl 80018dc - 800302e: 4602 mov r2, r0 - 8003030: 693b ldr r3, [r7, #16] - 8003032: 1ad3 subs r3, r2, r3 - 8003034: 2b02 cmp r3, #2 - 8003036: d901 bls.n 800303c + 8003142: f7fe fc57 bl 80019f4 + 8003146: 4602 mov r2, r0 + 8003148: 693b ldr r3, [r7, #16] + 800314a: 1ad3 subs r3, r2, r3 + 800314c: 2b02 cmp r3, #2 + 800314e: d901 bls.n 8003154 { return HAL_TIMEOUT; - 8003038: 2303 movs r3, #3 - 800303a: e19b b.n 8003374 + 8003150: 2303 movs r3, #3 + 8003152: e19b b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 800303c: 4b2d ldr r3, [pc, #180] ; (80030f4 ) - 800303e: 681b ldr r3, [r3, #0] - 8003040: f003 0302 and.w r3, r3, #2 - 8003044: 2b00 cmp r3, #0 - 8003046: d0f0 beq.n 800302a + 8003154: 4b2d ldr r3, [pc, #180] ; (800320c ) + 8003156: 681b ldr r3, [r3, #0] + 8003158: f003 0302 and.w r3, r3, #2 + 800315c: 2b00 cmp r3, #0 + 800315e: d0f0 beq.n 8003142 } } /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 8003048: 4b2a ldr r3, [pc, #168] ; (80030f4 ) - 800304a: 681b ldr r3, [r3, #0] - 800304c: f023 02f8 bic.w r2, r3, #248 ; 0xf8 - 8003050: 687b ldr r3, [r7, #4] - 8003052: 695b ldr r3, [r3, #20] - 8003054: 00db lsls r3, r3, #3 - 8003056: 4927 ldr r1, [pc, #156] ; (80030f4 ) - 8003058: 4313 orrs r3, r2 - 800305a: 600b str r3, [r1, #0] - 800305c: e015 b.n 800308a + 8003160: 4b2a ldr r3, [pc, #168] ; (800320c ) + 8003162: 681b ldr r3, [r3, #0] + 8003164: f023 02f8 bic.w r2, r3, #248 ; 0xf8 + 8003168: 687b ldr r3, [r7, #4] + 800316a: 695b ldr r3, [r3, #20] + 800316c: 00db lsls r3, r3, #3 + 800316e: 4927 ldr r1, [pc, #156] ; (800320c ) + 8003170: 4313 orrs r3, r2 + 8003172: 600b str r3, [r1, #0] + 8003174: e015 b.n 80031a2 } else { /* Disable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_DISABLE(); - 800305e: 4b26 ldr r3, [pc, #152] ; (80030f8 ) - 8003060: 2200 movs r2, #0 - 8003062: 601a str r2, [r3, #0] + 8003176: 4b26 ldr r3, [pc, #152] ; (8003210 ) + 8003178: 2200 movs r2, #0 + 800317a: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003064: f7fe fc3a bl 80018dc - 8003068: 6138 str r0, [r7, #16] + 800317c: f7fe fc3a bl 80019f4 + 8003180: 6138 str r0, [r7, #16] /* Wait till HSI is disabled */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 800306a: e008 b.n 800307e + 8003182: e008 b.n 8003196 { if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE) - 800306c: f7fe fc36 bl 80018dc - 8003070: 4602 mov r2, r0 - 8003072: 693b ldr r3, [r7, #16] - 8003074: 1ad3 subs r3, r2, r3 - 8003076: 2b02 cmp r3, #2 - 8003078: d901 bls.n 800307e + 8003184: f7fe fc36 bl 80019f4 + 8003188: 4602 mov r2, r0 + 800318a: 693b ldr r3, [r7, #16] + 800318c: 1ad3 subs r3, r2, r3 + 800318e: 2b02 cmp r3, #2 + 8003190: d901 bls.n 8003196 { return HAL_TIMEOUT; - 800307a: 2303 movs r3, #3 - 800307c: e17a b.n 8003374 + 8003192: 2303 movs r3, #3 + 8003194: e17a b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 800307e: 4b1d ldr r3, [pc, #116] ; (80030f4 ) - 8003080: 681b ldr r3, [r3, #0] - 8003082: f003 0302 and.w r3, r3, #2 - 8003086: 2b00 cmp r3, #0 - 8003088: d1f0 bne.n 800306c + 8003196: 4b1d ldr r3, [pc, #116] ; (800320c ) + 8003198: 681b ldr r3, [r3, #0] + 800319a: f003 0302 and.w r3, r3, #2 + 800319e: 2b00 cmp r3, #0 + 80031a0: d1f0 bne.n 8003184 } } } } /*------------------------------ LSI Configuration -------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI) - 800308a: 687b ldr r3, [r7, #4] - 800308c: 681b ldr r3, [r3, #0] - 800308e: f003 0308 and.w r3, r3, #8 - 8003092: 2b00 cmp r3, #0 - 8003094: d03a beq.n 800310c + 80031a2: 687b ldr r3, [r7, #4] + 80031a4: 681b ldr r3, [r3, #0] + 80031a6: f003 0308 and.w r3, r3, #8 + 80031aa: 2b00 cmp r3, #0 + 80031ac: d03a beq.n 8003224 { /* Check the parameters */ assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState)); /* Check the LSI State */ if (RCC_OscInitStruct->LSIState != RCC_LSI_OFF) - 8003096: 687b ldr r3, [r7, #4] - 8003098: 699b ldr r3, [r3, #24] - 800309a: 2b00 cmp r3, #0 - 800309c: d019 beq.n 80030d2 + 80031ae: 687b ldr r3, [r7, #4] + 80031b0: 699b ldr r3, [r3, #24] + 80031b2: 2b00 cmp r3, #0 + 80031b4: d019 beq.n 80031ea { /* Enable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_ENABLE(); - 800309e: 4b17 ldr r3, [pc, #92] ; (80030fc ) - 80030a0: 2201 movs r2, #1 - 80030a2: 601a str r2, [r3, #0] + 80031b6: 4b17 ldr r3, [pc, #92] ; (8003214 ) + 80031b8: 2201 movs r2, #1 + 80031ba: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 80030a4: f7fe fc1a bl 80018dc - 80030a8: 6138 str r0, [r7, #16] + 80031bc: f7fe fc1a bl 80019f4 + 80031c0: 6138 str r0, [r7, #16] /* Wait till LSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 80030aa: e008 b.n 80030be + 80031c2: e008 b.n 80031d6 { if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE) - 80030ac: f7fe fc16 bl 80018dc - 80030b0: 4602 mov r2, r0 - 80030b2: 693b ldr r3, [r7, #16] - 80030b4: 1ad3 subs r3, r2, r3 - 80030b6: 2b02 cmp r3, #2 - 80030b8: d901 bls.n 80030be + 80031c4: f7fe fc16 bl 80019f4 + 80031c8: 4602 mov r2, r0 + 80031ca: 693b ldr r3, [r7, #16] + 80031cc: 1ad3 subs r3, r2, r3 + 80031ce: 2b02 cmp r3, #2 + 80031d0: d901 bls.n 80031d6 { return HAL_TIMEOUT; - 80030ba: 2303 movs r3, #3 - 80030bc: e15a b.n 8003374 + 80031d2: 2303 movs r3, #3 + 80031d4: e15a b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 80030be: 4b0d ldr r3, [pc, #52] ; (80030f4 ) - 80030c0: 6a5b ldr r3, [r3, #36] ; 0x24 - 80030c2: f003 0302 and.w r3, r3, #2 - 80030c6: 2b00 cmp r3, #0 - 80030c8: d0f0 beq.n 80030ac + 80031d6: 4b0d ldr r3, [pc, #52] ; (800320c ) + 80031d8: 6a5b ldr r3, [r3, #36] ; 0x24 + 80031da: f003 0302 and.w r3, r3, #2 + 80031de: 2b00 cmp r3, #0 + 80031e0: d0f0 beq.n 80031c4 } } /* To have a fully stabilized clock in the specified range, a software delay of 1ms should be added.*/ RCC_Delay(1); - 80030ca: 2001 movs r0, #1 - 80030cc: f000 fac4 bl 8003658 - 80030d0: e01c b.n 800310c + 80031e2: 2001 movs r0, #1 + 80031e4: f000 fac4 bl 8003770 + 80031e8: e01c b.n 8003224 } else { /* Disable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_DISABLE(); - 80030d2: 4b0a ldr r3, [pc, #40] ; (80030fc ) - 80030d4: 2200 movs r2, #0 - 80030d6: 601a str r2, [r3, #0] + 80031ea: 4b0a ldr r3, [pc, #40] ; (8003214 ) + 80031ec: 2200 movs r2, #0 + 80031ee: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 80030d8: f7fe fc00 bl 80018dc - 80030dc: 6138 str r0, [r7, #16] + 80031f0: f7fe fc00 bl 80019f4 + 80031f4: 6138 str r0, [r7, #16] /* Wait till LSI is disabled */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 80030de: e00f b.n 8003100 + 80031f6: e00f b.n 8003218 { if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE) - 80030e0: f7fe fbfc bl 80018dc - 80030e4: 4602 mov r2, r0 - 80030e6: 693b ldr r3, [r7, #16] - 80030e8: 1ad3 subs r3, r2, r3 - 80030ea: 2b02 cmp r3, #2 - 80030ec: d908 bls.n 8003100 + 80031f8: f7fe fbfc bl 80019f4 + 80031fc: 4602 mov r2, r0 + 80031fe: 693b ldr r3, [r7, #16] + 8003200: 1ad3 subs r3, r2, r3 + 8003202: 2b02 cmp r3, #2 + 8003204: d908 bls.n 8003218 { return HAL_TIMEOUT; - 80030ee: 2303 movs r3, #3 - 80030f0: e140 b.n 8003374 - 80030f2: bf00 nop - 80030f4: 40021000 .word 0x40021000 - 80030f8: 42420000 .word 0x42420000 - 80030fc: 42420480 .word 0x42420480 + 8003206: 2303 movs r3, #3 + 8003208: e140 b.n 800348c + 800320a: bf00 nop + 800320c: 40021000 .word 0x40021000 + 8003210: 42420000 .word 0x42420000 + 8003214: 42420480 .word 0x42420480 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 8003100: 4b9e ldr r3, [pc, #632] ; (800337c ) - 8003102: 6a5b ldr r3, [r3, #36] ; 0x24 - 8003104: f003 0302 and.w r3, r3, #2 - 8003108: 2b00 cmp r3, #0 - 800310a: d1e9 bne.n 80030e0 + 8003218: 4b9e ldr r3, [pc, #632] ; (8003494 ) + 800321a: 6a5b ldr r3, [r3, #36] ; 0x24 + 800321c: f003 0302 and.w r3, r3, #2 + 8003220: 2b00 cmp r3, #0 + 8003222: d1e9 bne.n 80031f8 } } } } /*------------------------------ LSE Configuration -------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE) - 800310c: 687b ldr r3, [r7, #4] - 800310e: 681b ldr r3, [r3, #0] - 8003110: f003 0304 and.w r3, r3, #4 - 8003114: 2b00 cmp r3, #0 - 8003116: f000 80a6 beq.w 8003266 + 8003224: 687b ldr r3, [r7, #4] + 8003226: 681b ldr r3, [r3, #0] + 8003228: f003 0304 and.w r3, r3, #4 + 800322c: 2b00 cmp r3, #0 + 800322e: f000 80a6 beq.w 800337e { FlagStatus pwrclkchanged = RESET; - 800311a: 2300 movs r3, #0 - 800311c: 75fb strb r3, [r7, #23] + 8003232: 2300 movs r3, #0 + 8003234: 75fb strb r3, [r7, #23] /* Check the parameters */ assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState)); /* Update LSE configuration in Backup Domain control register */ /* Requires to enable write access to Backup Domain of necessary */ if (__HAL_RCC_PWR_IS_CLK_DISABLED()) - 800311e: 4b97 ldr r3, [pc, #604] ; (800337c ) - 8003120: 69db ldr r3, [r3, #28] - 8003122: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 8003126: 2b00 cmp r3, #0 - 8003128: d10d bne.n 8003146 + 8003236: 4b97 ldr r3, [pc, #604] ; (8003494 ) + 8003238: 69db ldr r3, [r3, #28] + 800323a: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 800323e: 2b00 cmp r3, #0 + 8003240: d10d bne.n 800325e { __HAL_RCC_PWR_CLK_ENABLE(); - 800312a: 4b94 ldr r3, [pc, #592] ; (800337c ) - 800312c: 69db ldr r3, [r3, #28] - 800312e: 4a93 ldr r2, [pc, #588] ; (800337c ) - 8003130: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 - 8003134: 61d3 str r3, [r2, #28] - 8003136: 4b91 ldr r3, [pc, #580] ; (800337c ) - 8003138: 69db ldr r3, [r3, #28] - 800313a: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 - 800313e: 60bb str r3, [r7, #8] - 8003140: 68bb ldr r3, [r7, #8] + 8003242: 4b94 ldr r3, [pc, #592] ; (8003494 ) + 8003244: 69db ldr r3, [r3, #28] + 8003246: 4a93 ldr r2, [pc, #588] ; (8003494 ) + 8003248: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000 + 800324c: 61d3 str r3, [r2, #28] + 800324e: 4b91 ldr r3, [pc, #580] ; (8003494 ) + 8003250: 69db ldr r3, [r3, #28] + 8003252: f003 5380 and.w r3, r3, #268435456 ; 0x10000000 + 8003256: 60bb str r3, [r7, #8] + 8003258: 68bb ldr r3, [r7, #8] pwrclkchanged = SET; - 8003142: 2301 movs r3, #1 - 8003144: 75fb strb r3, [r7, #23] + 800325a: 2301 movs r3, #1 + 800325c: 75fb strb r3, [r7, #23] } if (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 8003146: 4b8e ldr r3, [pc, #568] ; (8003380 ) - 8003148: 681b ldr r3, [r3, #0] - 800314a: f403 7380 and.w r3, r3, #256 ; 0x100 - 800314e: 2b00 cmp r3, #0 - 8003150: d118 bne.n 8003184 + 800325e: 4b8e ldr r3, [pc, #568] ; (8003498 ) + 8003260: 681b ldr r3, [r3, #0] + 8003262: f403 7380 and.w r3, r3, #256 ; 0x100 + 8003266: 2b00 cmp r3, #0 + 8003268: d118 bne.n 800329c { /* Enable write access to Backup domain */ SET_BIT(PWR->CR, PWR_CR_DBP); - 8003152: 4b8b ldr r3, [pc, #556] ; (8003380 ) - 8003154: 681b ldr r3, [r3, #0] - 8003156: 4a8a ldr r2, [pc, #552] ; (8003380 ) - 8003158: f443 7380 orr.w r3, r3, #256 ; 0x100 - 800315c: 6013 str r3, [r2, #0] + 800326a: 4b8b ldr r3, [pc, #556] ; (8003498 ) + 800326c: 681b ldr r3, [r3, #0] + 800326e: 4a8a ldr r2, [pc, #552] ; (8003498 ) + 8003270: f443 7380 orr.w r3, r3, #256 ; 0x100 + 8003274: 6013 str r3, [r2, #0] /* Wait for Backup domain Write protection disable */ tickstart = HAL_GetTick(); - 800315e: f7fe fbbd bl 80018dc - 8003162: 6138 str r0, [r7, #16] + 8003276: f7fe fbbd bl 80019f4 + 800327a: 6138 str r0, [r7, #16] while (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 8003164: e008 b.n 8003178 + 800327c: e008 b.n 8003290 { if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE) - 8003166: f7fe fbb9 bl 80018dc - 800316a: 4602 mov r2, r0 - 800316c: 693b ldr r3, [r7, #16] - 800316e: 1ad3 subs r3, r2, r3 - 8003170: 2b64 cmp r3, #100 ; 0x64 - 8003172: d901 bls.n 8003178 + 800327e: f7fe fbb9 bl 80019f4 + 8003282: 4602 mov r2, r0 + 8003284: 693b ldr r3, [r7, #16] + 8003286: 1ad3 subs r3, r2, r3 + 8003288: 2b64 cmp r3, #100 ; 0x64 + 800328a: d901 bls.n 8003290 { return HAL_TIMEOUT; - 8003174: 2303 movs r3, #3 - 8003176: e0fd b.n 8003374 + 800328c: 2303 movs r3, #3 + 800328e: e0fd b.n 800348c while (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 8003178: 4b81 ldr r3, [pc, #516] ; (8003380 ) - 800317a: 681b ldr r3, [r3, #0] - 800317c: f403 7380 and.w r3, r3, #256 ; 0x100 - 8003180: 2b00 cmp r3, #0 - 8003182: d0f0 beq.n 8003166 + 8003290: 4b81 ldr r3, [pc, #516] ; (8003498 ) + 8003292: 681b ldr r3, [r3, #0] + 8003294: f403 7380 and.w r3, r3, #256 ; 0x100 + 8003298: 2b00 cmp r3, #0 + 800329a: d0f0 beq.n 800327e } } } /* Set the new LSE configuration -----------------------------------------*/ __HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState); - 8003184: 687b ldr r3, [r7, #4] - 8003186: 68db ldr r3, [r3, #12] - 8003188: 2b01 cmp r3, #1 - 800318a: d106 bne.n 800319a - 800318c: 4b7b ldr r3, [pc, #492] ; (800337c ) - 800318e: 6a1b ldr r3, [r3, #32] - 8003190: 4a7a ldr r2, [pc, #488] ; (800337c ) - 8003192: f043 0301 orr.w r3, r3, #1 - 8003196: 6213 str r3, [r2, #32] - 8003198: e02d b.n 80031f6 - 800319a: 687b ldr r3, [r7, #4] - 800319c: 68db ldr r3, [r3, #12] - 800319e: 2b00 cmp r3, #0 - 80031a0: d10c bne.n 80031bc - 80031a2: 4b76 ldr r3, [pc, #472] ; (800337c ) - 80031a4: 6a1b ldr r3, [r3, #32] - 80031a6: 4a75 ldr r2, [pc, #468] ; (800337c ) - 80031a8: f023 0301 bic.w r3, r3, #1 - 80031ac: 6213 str r3, [r2, #32] - 80031ae: 4b73 ldr r3, [pc, #460] ; (800337c ) - 80031b0: 6a1b ldr r3, [r3, #32] - 80031b2: 4a72 ldr r2, [pc, #456] ; (800337c ) - 80031b4: f023 0304 bic.w r3, r3, #4 - 80031b8: 6213 str r3, [r2, #32] - 80031ba: e01c b.n 80031f6 - 80031bc: 687b ldr r3, [r7, #4] - 80031be: 68db ldr r3, [r3, #12] - 80031c0: 2b05 cmp r3, #5 - 80031c2: d10c bne.n 80031de - 80031c4: 4b6d ldr r3, [pc, #436] ; (800337c ) - 80031c6: 6a1b ldr r3, [r3, #32] - 80031c8: 4a6c ldr r2, [pc, #432] ; (800337c ) - 80031ca: f043 0304 orr.w r3, r3, #4 - 80031ce: 6213 str r3, [r2, #32] - 80031d0: 4b6a ldr r3, [pc, #424] ; (800337c ) - 80031d2: 6a1b ldr r3, [r3, #32] - 80031d4: 4a69 ldr r2, [pc, #420] ; (800337c ) - 80031d6: f043 0301 orr.w r3, r3, #1 - 80031da: 6213 str r3, [r2, #32] - 80031dc: e00b b.n 80031f6 - 80031de: 4b67 ldr r3, [pc, #412] ; (800337c ) - 80031e0: 6a1b ldr r3, [r3, #32] - 80031e2: 4a66 ldr r2, [pc, #408] ; (800337c ) - 80031e4: f023 0301 bic.w r3, r3, #1 - 80031e8: 6213 str r3, [r2, #32] - 80031ea: 4b64 ldr r3, [pc, #400] ; (800337c ) - 80031ec: 6a1b ldr r3, [r3, #32] - 80031ee: 4a63 ldr r2, [pc, #396] ; (800337c ) - 80031f0: f023 0304 bic.w r3, r3, #4 - 80031f4: 6213 str r3, [r2, #32] + 800329c: 687b ldr r3, [r7, #4] + 800329e: 68db ldr r3, [r3, #12] + 80032a0: 2b01 cmp r3, #1 + 80032a2: d106 bne.n 80032b2 + 80032a4: 4b7b ldr r3, [pc, #492] ; (8003494 ) + 80032a6: 6a1b ldr r3, [r3, #32] + 80032a8: 4a7a ldr r2, [pc, #488] ; (8003494 ) + 80032aa: f043 0301 orr.w r3, r3, #1 + 80032ae: 6213 str r3, [r2, #32] + 80032b0: e02d b.n 800330e + 80032b2: 687b ldr r3, [r7, #4] + 80032b4: 68db ldr r3, [r3, #12] + 80032b6: 2b00 cmp r3, #0 + 80032b8: d10c bne.n 80032d4 + 80032ba: 4b76 ldr r3, [pc, #472] ; (8003494 ) + 80032bc: 6a1b ldr r3, [r3, #32] + 80032be: 4a75 ldr r2, [pc, #468] ; (8003494 ) + 80032c0: f023 0301 bic.w r3, r3, #1 + 80032c4: 6213 str r3, [r2, #32] + 80032c6: 4b73 ldr r3, [pc, #460] ; (8003494 ) + 80032c8: 6a1b ldr r3, [r3, #32] + 80032ca: 4a72 ldr r2, [pc, #456] ; (8003494 ) + 80032cc: f023 0304 bic.w r3, r3, #4 + 80032d0: 6213 str r3, [r2, #32] + 80032d2: e01c b.n 800330e + 80032d4: 687b ldr r3, [r7, #4] + 80032d6: 68db ldr r3, [r3, #12] + 80032d8: 2b05 cmp r3, #5 + 80032da: d10c bne.n 80032f6 + 80032dc: 4b6d ldr r3, [pc, #436] ; (8003494 ) + 80032de: 6a1b ldr r3, [r3, #32] + 80032e0: 4a6c ldr r2, [pc, #432] ; (8003494 ) + 80032e2: f043 0304 orr.w r3, r3, #4 + 80032e6: 6213 str r3, [r2, #32] + 80032e8: 4b6a ldr r3, [pc, #424] ; (8003494 ) + 80032ea: 6a1b ldr r3, [r3, #32] + 80032ec: 4a69 ldr r2, [pc, #420] ; (8003494 ) + 80032ee: f043 0301 orr.w r3, r3, #1 + 80032f2: 6213 str r3, [r2, #32] + 80032f4: e00b b.n 800330e + 80032f6: 4b67 ldr r3, [pc, #412] ; (8003494 ) + 80032f8: 6a1b ldr r3, [r3, #32] + 80032fa: 4a66 ldr r2, [pc, #408] ; (8003494 ) + 80032fc: f023 0301 bic.w r3, r3, #1 + 8003300: 6213 str r3, [r2, #32] + 8003302: 4b64 ldr r3, [pc, #400] ; (8003494 ) + 8003304: 6a1b ldr r3, [r3, #32] + 8003306: 4a63 ldr r2, [pc, #396] ; (8003494 ) + 8003308: f023 0304 bic.w r3, r3, #4 + 800330c: 6213 str r3, [r2, #32] /* Check the LSE State */ if (RCC_OscInitStruct->LSEState != RCC_LSE_OFF) - 80031f6: 687b ldr r3, [r7, #4] - 80031f8: 68db ldr r3, [r3, #12] - 80031fa: 2b00 cmp r3, #0 - 80031fc: d015 beq.n 800322a + 800330e: 687b ldr r3, [r7, #4] + 8003310: 68db ldr r3, [r3, #12] + 8003312: 2b00 cmp r3, #0 + 8003314: d015 beq.n 8003342 { /* Get Start Tick */ tickstart = HAL_GetTick(); - 80031fe: f7fe fb6d bl 80018dc - 8003202: 6138 str r0, [r7, #16] + 8003316: f7fe fb6d bl 80019f4 + 800331a: 6138 str r0, [r7, #16] /* Wait till LSE is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 8003204: e00a b.n 800321c + 800331c: e00a b.n 8003334 { if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE) - 8003206: f7fe fb69 bl 80018dc - 800320a: 4602 mov r2, r0 - 800320c: 693b ldr r3, [r7, #16] - 800320e: 1ad3 subs r3, r2, r3 - 8003210: f241 3288 movw r2, #5000 ; 0x1388 - 8003214: 4293 cmp r3, r2 - 8003216: d901 bls.n 800321c + 800331e: f7fe fb69 bl 80019f4 + 8003322: 4602 mov r2, r0 + 8003324: 693b ldr r3, [r7, #16] + 8003326: 1ad3 subs r3, r2, r3 + 8003328: f241 3288 movw r2, #5000 ; 0x1388 + 800332c: 4293 cmp r3, r2 + 800332e: d901 bls.n 8003334 { return HAL_TIMEOUT; - 8003218: 2303 movs r3, #3 - 800321a: e0ab b.n 8003374 + 8003330: 2303 movs r3, #3 + 8003332: e0ab b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 800321c: 4b57 ldr r3, [pc, #348] ; (800337c ) - 800321e: 6a1b ldr r3, [r3, #32] - 8003220: f003 0302 and.w r3, r3, #2 - 8003224: 2b00 cmp r3, #0 - 8003226: d0ee beq.n 8003206 - 8003228: e014 b.n 8003254 + 8003334: 4b57 ldr r3, [pc, #348] ; (8003494 ) + 8003336: 6a1b ldr r3, [r3, #32] + 8003338: f003 0302 and.w r3, r3, #2 + 800333c: 2b00 cmp r3, #0 + 800333e: d0ee beq.n 800331e + 8003340: e014 b.n 800336c } } else { /* Get Start Tick */ tickstart = HAL_GetTick(); - 800322a: f7fe fb57 bl 80018dc - 800322e: 6138 str r0, [r7, #16] + 8003342: f7fe fb57 bl 80019f4 + 8003346: 6138 str r0, [r7, #16] /* Wait till LSE is disabled */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8003230: e00a b.n 8003248 + 8003348: e00a b.n 8003360 { if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE) - 8003232: f7fe fb53 bl 80018dc - 8003236: 4602 mov r2, r0 - 8003238: 693b ldr r3, [r7, #16] - 800323a: 1ad3 subs r3, r2, r3 - 800323c: f241 3288 movw r2, #5000 ; 0x1388 - 8003240: 4293 cmp r3, r2 - 8003242: d901 bls.n 8003248 + 800334a: f7fe fb53 bl 80019f4 + 800334e: 4602 mov r2, r0 + 8003350: 693b ldr r3, [r7, #16] + 8003352: 1ad3 subs r3, r2, r3 + 8003354: f241 3288 movw r2, #5000 ; 0x1388 + 8003358: 4293 cmp r3, r2 + 800335a: d901 bls.n 8003360 { return HAL_TIMEOUT; - 8003244: 2303 movs r3, #3 - 8003246: e095 b.n 8003374 + 800335c: 2303 movs r3, #3 + 800335e: e095 b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8003248: 4b4c ldr r3, [pc, #304] ; (800337c ) - 800324a: 6a1b ldr r3, [r3, #32] - 800324c: f003 0302 and.w r3, r3, #2 - 8003250: 2b00 cmp r3, #0 - 8003252: d1ee bne.n 8003232 + 8003360: 4b4c ldr r3, [pc, #304] ; (8003494 ) + 8003362: 6a1b ldr r3, [r3, #32] + 8003364: f003 0302 and.w r3, r3, #2 + 8003368: 2b00 cmp r3, #0 + 800336a: d1ee bne.n 800334a } } } /* Require to disable power clock if necessary */ if (pwrclkchanged == SET) - 8003254: 7dfb ldrb r3, [r7, #23] - 8003256: 2b01 cmp r3, #1 - 8003258: d105 bne.n 8003266 + 800336c: 7dfb ldrb r3, [r7, #23] + 800336e: 2b01 cmp r3, #1 + 8003370: d105 bne.n 800337e { __HAL_RCC_PWR_CLK_DISABLE(); - 800325a: 4b48 ldr r3, [pc, #288] ; (800337c ) - 800325c: 69db ldr r3, [r3, #28] - 800325e: 4a47 ldr r2, [pc, #284] ; (800337c ) - 8003260: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 - 8003264: 61d3 str r3, [r2, #28] + 8003372: 4b48 ldr r3, [pc, #288] ; (8003494 ) + 8003374: 69db ldr r3, [r3, #28] + 8003376: 4a47 ldr r2, [pc, #284] ; (8003494 ) + 8003378: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000 + 800337c: 61d3 str r3, [r2, #28] #endif /* RCC_CR_PLL2ON */ /*-------------------------------- PLL Configuration -----------------------*/ /* Check the parameters */ assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState)); if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE) - 8003266: 687b ldr r3, [r7, #4] - 8003268: 69db ldr r3, [r3, #28] - 800326a: 2b00 cmp r3, #0 - 800326c: f000 8081 beq.w 8003372 + 800337e: 687b ldr r3, [r7, #4] + 8003380: 69db ldr r3, [r3, #28] + 8003382: 2b00 cmp r3, #0 + 8003384: f000 8081 beq.w 800348a { /* Check if the PLL is used as system clock or not */ if (__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_SYSCLKSOURCE_STATUS_PLLCLK) - 8003270: 4b42 ldr r3, [pc, #264] ; (800337c ) - 8003272: 685b ldr r3, [r3, #4] - 8003274: f003 030c and.w r3, r3, #12 - 8003278: 2b08 cmp r3, #8 - 800327a: d061 beq.n 8003340 + 8003388: 4b42 ldr r3, [pc, #264] ; (8003494 ) + 800338a: 685b ldr r3, [r3, #4] + 800338c: f003 030c and.w r3, r3, #12 + 8003390: 2b08 cmp r3, #8 + 8003392: d061 beq.n 8003458 { if ((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON) - 800327c: 687b ldr r3, [r7, #4] - 800327e: 69db ldr r3, [r3, #28] - 8003280: 2b02 cmp r3, #2 - 8003282: d146 bne.n 8003312 + 8003394: 687b ldr r3, [r7, #4] + 8003396: 69db ldr r3, [r3, #28] + 8003398: 2b02 cmp r3, #2 + 800339a: d146 bne.n 800342a /* Check the parameters */ assert_param(IS_RCC_PLLSOURCE(RCC_OscInitStruct->PLL.PLLSource)); assert_param(IS_RCC_PLL_MUL(RCC_OscInitStruct->PLL.PLLMUL)); /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 8003284: 4b3f ldr r3, [pc, #252] ; (8003384 ) - 8003286: 2200 movs r2, #0 - 8003288: 601a str r2, [r3, #0] + 800339c: 4b3f ldr r3, [pc, #252] ; (800349c ) + 800339e: 2200 movs r2, #0 + 80033a0: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 800328a: f7fe fb27 bl 80018dc - 800328e: 6138 str r0, [r7, #16] + 80033a2: f7fe fb27 bl 80019f4 + 80033a6: 6138 str r0, [r7, #16] /* Wait till PLL is disabled */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8003290: e008 b.n 80032a4 + 80033a8: e008 b.n 80033bc { if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) - 8003292: f7fe fb23 bl 80018dc - 8003296: 4602 mov r2, r0 - 8003298: 693b ldr r3, [r7, #16] - 800329a: 1ad3 subs r3, r2, r3 - 800329c: 2b02 cmp r3, #2 - 800329e: d901 bls.n 80032a4 + 80033aa: f7fe fb23 bl 80019f4 + 80033ae: 4602 mov r2, r0 + 80033b0: 693b ldr r3, [r7, #16] + 80033b2: 1ad3 subs r3, r2, r3 + 80033b4: 2b02 cmp r3, #2 + 80033b6: d901 bls.n 80033bc { return HAL_TIMEOUT; - 80032a0: 2303 movs r3, #3 - 80032a2: e067 b.n 8003374 + 80033b8: 2303 movs r3, #3 + 80033ba: e067 b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 80032a4: 4b35 ldr r3, [pc, #212] ; (800337c ) - 80032a6: 681b ldr r3, [r3, #0] - 80032a8: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 80032ac: 2b00 cmp r3, #0 - 80032ae: d1f0 bne.n 8003292 + 80033bc: 4b35 ldr r3, [pc, #212] ; (8003494 ) + 80033be: 681b ldr r3, [r3, #0] + 80033c0: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 80033c4: 2b00 cmp r3, #0 + 80033c6: d1f0 bne.n 80033aa } } /* Configure the HSE prediv factor --------------------------------*/ /* It can be written only when the PLL is disabled. Not used in PLL source is different than HSE */ if (RCC_OscInitStruct->PLL.PLLSource == RCC_PLLSOURCE_HSE) - 80032b0: 687b ldr r3, [r7, #4] - 80032b2: 6a1b ldr r3, [r3, #32] - 80032b4: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 - 80032b8: d108 bne.n 80032cc + 80033c8: 687b ldr r3, [r7, #4] + 80033ca: 6a1b ldr r3, [r3, #32] + 80033cc: f5b3 3f80 cmp.w r3, #65536 ; 0x10000 + 80033d0: d108 bne.n 80033e4 /* Set PREDIV1 source */ SET_BIT(RCC->CFGR2, RCC_OscInitStruct->Prediv1Source); #endif /* RCC_CFGR2_PREDIV1SRC */ /* Set PREDIV1 Value */ __HAL_RCC_HSE_PREDIV_CONFIG(RCC_OscInitStruct->HSEPredivValue); - 80032ba: 4b30 ldr r3, [pc, #192] ; (800337c ) - 80032bc: 685b ldr r3, [r3, #4] - 80032be: f423 3200 bic.w r2, r3, #131072 ; 0x20000 - 80032c2: 687b ldr r3, [r7, #4] - 80032c4: 689b ldr r3, [r3, #8] - 80032c6: 492d ldr r1, [pc, #180] ; (800337c ) - 80032c8: 4313 orrs r3, r2 - 80032ca: 604b str r3, [r1, #4] + 80033d2: 4b30 ldr r3, [pc, #192] ; (8003494 ) + 80033d4: 685b ldr r3, [r3, #4] + 80033d6: f423 3200 bic.w r2, r3, #131072 ; 0x20000 + 80033da: 687b ldr r3, [r7, #4] + 80033dc: 689b ldr r3, [r3, #8] + 80033de: 492d ldr r1, [pc, #180] ; (8003494 ) + 80033e0: 4313 orrs r3, r2 + 80033e2: 604b str r3, [r1, #4] } /* Configure the main PLL clock source and multiplication factors. */ __HAL_RCC_PLL_CONFIG(RCC_OscInitStruct->PLL.PLLSource, - 80032cc: 4b2b ldr r3, [pc, #172] ; (800337c ) - 80032ce: 685b ldr r3, [r3, #4] - 80032d0: f423 1274 bic.w r2, r3, #3997696 ; 0x3d0000 - 80032d4: 687b ldr r3, [r7, #4] - 80032d6: 6a19 ldr r1, [r3, #32] - 80032d8: 687b ldr r3, [r7, #4] - 80032da: 6a5b ldr r3, [r3, #36] ; 0x24 - 80032dc: 430b orrs r3, r1 - 80032de: 4927 ldr r1, [pc, #156] ; (800337c ) - 80032e0: 4313 orrs r3, r2 - 80032e2: 604b str r3, [r1, #4] + 80033e4: 4b2b ldr r3, [pc, #172] ; (8003494 ) + 80033e6: 685b ldr r3, [r3, #4] + 80033e8: f423 1274 bic.w r2, r3, #3997696 ; 0x3d0000 + 80033ec: 687b ldr r3, [r7, #4] + 80033ee: 6a19 ldr r1, [r3, #32] + 80033f0: 687b ldr r3, [r7, #4] + 80033f2: 6a5b ldr r3, [r3, #36] ; 0x24 + 80033f4: 430b orrs r3, r1 + 80033f6: 4927 ldr r1, [pc, #156] ; (8003494 ) + 80033f8: 4313 orrs r3, r2 + 80033fa: 604b str r3, [r1, #4] RCC_OscInitStruct->PLL.PLLMUL); /* Enable the main PLL. */ __HAL_RCC_PLL_ENABLE(); - 80032e4: 4b27 ldr r3, [pc, #156] ; (8003384 ) - 80032e6: 2201 movs r2, #1 - 80032e8: 601a str r2, [r3, #0] + 80033fc: 4b27 ldr r3, [pc, #156] ; (800349c ) + 80033fe: 2201 movs r2, #1 + 8003400: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 80032ea: f7fe faf7 bl 80018dc - 80032ee: 6138 str r0, [r7, #16] + 8003402: f7fe faf7 bl 80019f4 + 8003406: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 80032f0: e008 b.n 8003304 + 8003408: e008 b.n 800341c { if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) - 80032f2: f7fe faf3 bl 80018dc - 80032f6: 4602 mov r2, r0 - 80032f8: 693b ldr r3, [r7, #16] - 80032fa: 1ad3 subs r3, r2, r3 - 80032fc: 2b02 cmp r3, #2 - 80032fe: d901 bls.n 8003304 + 800340a: f7fe faf3 bl 80019f4 + 800340e: 4602 mov r2, r0 + 8003410: 693b ldr r3, [r7, #16] + 8003412: 1ad3 subs r3, r2, r3 + 8003414: 2b02 cmp r3, #2 + 8003416: d901 bls.n 800341c { return HAL_TIMEOUT; - 8003300: 2303 movs r3, #3 - 8003302: e037 b.n 8003374 + 8003418: 2303 movs r3, #3 + 800341a: e037 b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8003304: 4b1d ldr r3, [pc, #116] ; (800337c ) - 8003306: 681b ldr r3, [r3, #0] - 8003308: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 800330c: 2b00 cmp r3, #0 - 800330e: d0f0 beq.n 80032f2 - 8003310: e02f b.n 8003372 + 800341c: 4b1d ldr r3, [pc, #116] ; (8003494 ) + 800341e: 681b ldr r3, [r3, #0] + 8003420: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 8003424: 2b00 cmp r3, #0 + 8003426: d0f0 beq.n 800340a + 8003428: e02f b.n 800348a } } else { /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 8003312: 4b1c ldr r3, [pc, #112] ; (8003384 ) - 8003314: 2200 movs r2, #0 - 8003316: 601a str r2, [r3, #0] + 800342a: 4b1c ldr r3, [pc, #112] ; (800349c ) + 800342c: 2200 movs r2, #0 + 800342e: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003318: f7fe fae0 bl 80018dc - 800331c: 6138 str r0, [r7, #16] + 8003430: f7fe fae0 bl 80019f4 + 8003434: 6138 str r0, [r7, #16] /* Wait till PLL is disabled */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 800331e: e008 b.n 8003332 + 8003436: e008 b.n 800344a { if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) - 8003320: f7fe fadc bl 80018dc - 8003324: 4602 mov r2, r0 - 8003326: 693b ldr r3, [r7, #16] - 8003328: 1ad3 subs r3, r2, r3 - 800332a: 2b02 cmp r3, #2 - 800332c: d901 bls.n 8003332 + 8003438: f7fe fadc bl 80019f4 + 800343c: 4602 mov r2, r0 + 800343e: 693b ldr r3, [r7, #16] + 8003440: 1ad3 subs r3, r2, r3 + 8003442: 2b02 cmp r3, #2 + 8003444: d901 bls.n 800344a { return HAL_TIMEOUT; - 800332e: 2303 movs r3, #3 - 8003330: e020 b.n 8003374 + 8003446: 2303 movs r3, #3 + 8003448: e020 b.n 800348c while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8003332: 4b12 ldr r3, [pc, #72] ; (800337c ) - 8003334: 681b ldr r3, [r3, #0] - 8003336: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 800333a: 2b00 cmp r3, #0 - 800333c: d1f0 bne.n 8003320 - 800333e: e018 b.n 8003372 + 800344a: 4b12 ldr r3, [pc, #72] ; (8003494 ) + 800344c: 681b ldr r3, [r3, #0] + 800344e: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 8003452: 2b00 cmp r3, #0 + 8003454: d1f0 bne.n 8003438 + 8003456: e018 b.n 800348a } } else { /* Check if there is a request to disable the PLL used as System clock source */ if ((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) - 8003340: 687b ldr r3, [r7, #4] - 8003342: 69db ldr r3, [r3, #28] - 8003344: 2b01 cmp r3, #1 - 8003346: d101 bne.n 800334c + 8003458: 687b ldr r3, [r7, #4] + 800345a: 69db ldr r3, [r3, #28] + 800345c: 2b01 cmp r3, #1 + 800345e: d101 bne.n 8003464 { return HAL_ERROR; - 8003348: 2301 movs r3, #1 - 800334a: e013 b.n 8003374 + 8003460: 2301 movs r3, #1 + 8003462: e013 b.n 800348c } else { /* Do not return HAL_ERROR if request repeats the current configuration */ pll_config = RCC->CFGR; - 800334c: 4b0b ldr r3, [pc, #44] ; (800337c ) - 800334e: 685b ldr r3, [r3, #4] - 8003350: 60fb str r3, [r7, #12] + 8003464: 4b0b ldr r3, [pc, #44] ; (8003494 ) + 8003466: 685b ldr r3, [r3, #4] + 8003468: 60fb str r3, [r7, #12] if ((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 8003352: 68fb ldr r3, [r7, #12] - 8003354: f403 3280 and.w r2, r3, #65536 ; 0x10000 - 8003358: 687b ldr r3, [r7, #4] - 800335a: 6a1b ldr r3, [r3, #32] - 800335c: 429a cmp r2, r3 - 800335e: d106 bne.n 800336e + 800346a: 68fb ldr r3, [r7, #12] + 800346c: f403 3280 and.w r2, r3, #65536 ; 0x10000 + 8003470: 687b ldr r3, [r7, #4] + 8003472: 6a1b ldr r3, [r3, #32] + 8003474: 429a cmp r2, r3 + 8003476: d106 bne.n 8003486 (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL)) - 8003360: 68fb ldr r3, [r7, #12] - 8003362: f403 1270 and.w r2, r3, #3932160 ; 0x3c0000 - 8003366: 687b ldr r3, [r7, #4] - 8003368: 6a5b ldr r3, [r3, #36] ; 0x24 + 8003478: 68fb ldr r3, [r7, #12] + 800347a: f403 1270 and.w r2, r3, #3932160 ; 0x3c0000 + 800347e: 687b ldr r3, [r7, #4] + 8003480: 6a5b ldr r3, [r3, #36] ; 0x24 if ((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 800336a: 429a cmp r2, r3 - 800336c: d001 beq.n 8003372 + 8003482: 429a cmp r2, r3 + 8003484: d001 beq.n 800348a { return HAL_ERROR; - 800336e: 2301 movs r3, #1 - 8003370: e000 b.n 8003374 + 8003486: 2301 movs r3, #1 + 8003488: e000 b.n 800348c } } } } return HAL_OK; - 8003372: 2300 movs r3, #0 + 800348a: 2300 movs r3, #0 } - 8003374: 4618 mov r0, r3 - 8003376: 3718 adds r7, #24 - 8003378: 46bd mov sp, r7 - 800337a: bd80 pop {r7, pc} - 800337c: 40021000 .word 0x40021000 - 8003380: 40007000 .word 0x40007000 - 8003384: 42420060 .word 0x42420060 + 800348c: 4618 mov r0, r3 + 800348e: 3718 adds r7, #24 + 8003490: 46bd mov sp, r7 + 8003492: bd80 pop {r7, pc} + 8003494: 40021000 .word 0x40021000 + 8003498: 40007000 .word 0x40007000 + 800349c: 42420060 .word 0x42420060 -08003388 : +080034a0 : * You can use @ref HAL_RCC_GetClockConfig() function to know which clock is * currently used as system clock source. * @retval HAL status */ HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) { - 8003388: b580 push {r7, lr} - 800338a: b084 sub sp, #16 - 800338c: af00 add r7, sp, #0 - 800338e: 6078 str r0, [r7, #4] - 8003390: 6039 str r1, [r7, #0] + 80034a0: b580 push {r7, lr} + 80034a2: b084 sub sp, #16 + 80034a4: af00 add r7, sp, #0 + 80034a6: 6078 str r0, [r7, #4] + 80034a8: 6039 str r1, [r7, #0] uint32_t tickstart; /* Check Null pointer */ if (RCC_ClkInitStruct == NULL) - 8003392: 687b ldr r3, [r7, #4] - 8003394: 2b00 cmp r3, #0 - 8003396: d101 bne.n 800339c + 80034aa: 687b ldr r3, [r7, #4] + 80034ac: 2b00 cmp r3, #0 + 80034ae: d101 bne.n 80034b4 { return HAL_ERROR; - 8003398: 2301 movs r3, #1 - 800339a: e0d0 b.n 800353e + 80034b0: 2301 movs r3, #1 + 80034b2: e0d0 b.n 8003656 must be correctly programmed according to the frequency of the CPU clock (HCLK) of the device. */ #if defined(FLASH_ACR_LATENCY) /* Increasing the number of wait states because of higher CPU frequency */ if (FLatency > __HAL_FLASH_GET_LATENCY()) - 800339c: 4b6a ldr r3, [pc, #424] ; (8003548 ) - 800339e: 681b ldr r3, [r3, #0] - 80033a0: f003 0307 and.w r3, r3, #7 - 80033a4: 683a ldr r2, [r7, #0] - 80033a6: 429a cmp r2, r3 - 80033a8: d910 bls.n 80033cc + 80034b4: 4b6a ldr r3, [pc, #424] ; (8003660 ) + 80034b6: 681b ldr r3, [r3, #0] + 80034b8: f003 0307 and.w r3, r3, #7 + 80034bc: 683a ldr r2, [r7, #0] + 80034be: 429a cmp r2, r3 + 80034c0: d910 bls.n 80034e4 { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 80033aa: 4b67 ldr r3, [pc, #412] ; (8003548 ) - 80033ac: 681b ldr r3, [r3, #0] - 80033ae: f023 0207 bic.w r2, r3, #7 - 80033b2: 4965 ldr r1, [pc, #404] ; (8003548 ) - 80033b4: 683b ldr r3, [r7, #0] - 80033b6: 4313 orrs r3, r2 - 80033b8: 600b str r3, [r1, #0] + 80034c2: 4b67 ldr r3, [pc, #412] ; (8003660 ) + 80034c4: 681b ldr r3, [r3, #0] + 80034c6: f023 0207 bic.w r2, r3, #7 + 80034ca: 4965 ldr r1, [pc, #404] ; (8003660 ) + 80034cc: 683b ldr r3, [r7, #0] + 80034ce: 4313 orrs r3, r2 + 80034d0: 600b str r3, [r1, #0] /* Check that the new number of wait states is taken into account to access the Flash memory by reading the FLASH_ACR register */ if (__HAL_FLASH_GET_LATENCY() != FLatency) - 80033ba: 4b63 ldr r3, [pc, #396] ; (8003548 ) - 80033bc: 681b ldr r3, [r3, #0] - 80033be: f003 0307 and.w r3, r3, #7 - 80033c2: 683a ldr r2, [r7, #0] - 80033c4: 429a cmp r2, r3 - 80033c6: d001 beq.n 80033cc + 80034d2: 4b63 ldr r3, [pc, #396] ; (8003660 ) + 80034d4: 681b ldr r3, [r3, #0] + 80034d6: f003 0307 and.w r3, r3, #7 + 80034da: 683a ldr r2, [r7, #0] + 80034dc: 429a cmp r2, r3 + 80034de: d001 beq.n 80034e4 { return HAL_ERROR; - 80033c8: 2301 movs r3, #1 - 80033ca: e0b8 b.n 800353e + 80034e0: 2301 movs r3, #1 + 80034e2: e0b8 b.n 8003656 } } #endif /* FLASH_ACR_LATENCY */ /*-------------------------- HCLK Configuration --------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) - 80033cc: 687b ldr r3, [r7, #4] - 80033ce: 681b ldr r3, [r3, #0] - 80033d0: f003 0302 and.w r3, r3, #2 - 80033d4: 2b00 cmp r3, #0 - 80033d6: d020 beq.n 800341a + 80034e4: 687b ldr r3, [r7, #4] + 80034e6: 681b ldr r3, [r3, #0] + 80034e8: f003 0302 and.w r3, r3, #2 + 80034ec: 2b00 cmp r3, #0 + 80034ee: d020 beq.n 8003532 { /* Set the highest APBx dividers in order to ensure that we do not go through a non-spec phase whatever we decrease or increase HCLK. */ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1) - 80033d8: 687b ldr r3, [r7, #4] - 80033da: 681b ldr r3, [r3, #0] - 80033dc: f003 0304 and.w r3, r3, #4 - 80033e0: 2b00 cmp r3, #0 - 80033e2: d005 beq.n 80033f0 + 80034f0: 687b ldr r3, [r7, #4] + 80034f2: 681b ldr r3, [r3, #0] + 80034f4: f003 0304 and.w r3, r3, #4 + 80034f8: 2b00 cmp r3, #0 + 80034fa: d005 beq.n 8003508 { MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_HCLK_DIV16); - 80033e4: 4b59 ldr r3, [pc, #356] ; (800354c ) - 80033e6: 685b ldr r3, [r3, #4] - 80033e8: 4a58 ldr r2, [pc, #352] ; (800354c ) - 80033ea: f443 63e0 orr.w r3, r3, #1792 ; 0x700 - 80033ee: 6053 str r3, [r2, #4] + 80034fc: 4b59 ldr r3, [pc, #356] ; (8003664 ) + 80034fe: 685b ldr r3, [r3, #4] + 8003500: 4a58 ldr r2, [pc, #352] ; (8003664 ) + 8003502: f443 63e0 orr.w r3, r3, #1792 ; 0x700 + 8003506: 6053 str r3, [r2, #4] } if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2) - 80033f0: 687b ldr r3, [r7, #4] - 80033f2: 681b ldr r3, [r3, #0] - 80033f4: f003 0308 and.w r3, r3, #8 - 80033f8: 2b00 cmp r3, #0 - 80033fa: d005 beq.n 8003408 + 8003508: 687b ldr r3, [r7, #4] + 800350a: 681b ldr r3, [r3, #0] + 800350c: f003 0308 and.w r3, r3, #8 + 8003510: 2b00 cmp r3, #0 + 8003512: d005 beq.n 8003520 { MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, (RCC_HCLK_DIV16 << 3)); - 80033fc: 4b53 ldr r3, [pc, #332] ; (800354c ) - 80033fe: 685b ldr r3, [r3, #4] - 8003400: 4a52 ldr r2, [pc, #328] ; (800354c ) - 8003402: f443 5360 orr.w r3, r3, #14336 ; 0x3800 - 8003406: 6053 str r3, [r2, #4] + 8003514: 4b53 ldr r3, [pc, #332] ; (8003664 ) + 8003516: 685b ldr r3, [r3, #4] + 8003518: 4a52 ldr r2, [pc, #328] ; (8003664 ) + 800351a: f443 5360 orr.w r3, r3, #14336 ; 0x3800 + 800351e: 6053 str r3, [r2, #4] } /* Set the new HCLK clock divider */ assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider); - 8003408: 4b50 ldr r3, [pc, #320] ; (800354c ) - 800340a: 685b ldr r3, [r3, #4] - 800340c: f023 02f0 bic.w r2, r3, #240 ; 0xf0 - 8003410: 687b ldr r3, [r7, #4] - 8003412: 689b ldr r3, [r3, #8] - 8003414: 494d ldr r1, [pc, #308] ; (800354c ) - 8003416: 4313 orrs r3, r2 - 8003418: 604b str r3, [r1, #4] + 8003520: 4b50 ldr r3, [pc, #320] ; (8003664 ) + 8003522: 685b ldr r3, [r3, #4] + 8003524: f023 02f0 bic.w r2, r3, #240 ; 0xf0 + 8003528: 687b ldr r3, [r7, #4] + 800352a: 689b ldr r3, [r3, #8] + 800352c: 494d ldr r1, [pc, #308] ; (8003664 ) + 800352e: 4313 orrs r3, r2 + 8003530: 604b str r3, [r1, #4] } /*------------------------- SYSCLK Configuration ---------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) - 800341a: 687b ldr r3, [r7, #4] - 800341c: 681b ldr r3, [r3, #0] - 800341e: f003 0301 and.w r3, r3, #1 - 8003422: 2b00 cmp r3, #0 - 8003424: d040 beq.n 80034a8 + 8003532: 687b ldr r3, [r7, #4] + 8003534: 681b ldr r3, [r3, #0] + 8003536: f003 0301 and.w r3, r3, #1 + 800353a: 2b00 cmp r3, #0 + 800353c: d040 beq.n 80035c0 { assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); /* HSE is selected as System Clock Source */ if (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) - 8003426: 687b ldr r3, [r7, #4] - 8003428: 685b ldr r3, [r3, #4] - 800342a: 2b01 cmp r3, #1 - 800342c: d107 bne.n 800343e + 800353e: 687b ldr r3, [r7, #4] + 8003540: 685b ldr r3, [r3, #4] + 8003542: 2b01 cmp r3, #1 + 8003544: d107 bne.n 8003556 { /* Check the HSE ready flag */ if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 800342e: 4b47 ldr r3, [pc, #284] ; (800354c ) - 8003430: 681b ldr r3, [r3, #0] - 8003432: f403 3300 and.w r3, r3, #131072 ; 0x20000 - 8003436: 2b00 cmp r3, #0 - 8003438: d115 bne.n 8003466 + 8003546: 4b47 ldr r3, [pc, #284] ; (8003664 ) + 8003548: 681b ldr r3, [r3, #0] + 800354a: f403 3300 and.w r3, r3, #131072 ; 0x20000 + 800354e: 2b00 cmp r3, #0 + 8003550: d115 bne.n 800357e { return HAL_ERROR; - 800343a: 2301 movs r3, #1 - 800343c: e07f b.n 800353e + 8003552: 2301 movs r3, #1 + 8003554: e07f b.n 8003656 } } /* PLL is selected as System Clock Source */ else if (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) - 800343e: 687b ldr r3, [r7, #4] - 8003440: 685b ldr r3, [r3, #4] - 8003442: 2b02 cmp r3, #2 - 8003444: d107 bne.n 8003456 + 8003556: 687b ldr r3, [r7, #4] + 8003558: 685b ldr r3, [r3, #4] + 800355a: 2b02 cmp r3, #2 + 800355c: d107 bne.n 800356e { /* Check the PLL ready flag */ if (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8003446: 4b41 ldr r3, [pc, #260] ; (800354c ) - 8003448: 681b ldr r3, [r3, #0] - 800344a: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 - 800344e: 2b00 cmp r3, #0 - 8003450: d109 bne.n 8003466 + 800355e: 4b41 ldr r3, [pc, #260] ; (8003664 ) + 8003560: 681b ldr r3, [r3, #0] + 8003562: f003 7300 and.w r3, r3, #33554432 ; 0x2000000 + 8003566: 2b00 cmp r3, #0 + 8003568: d109 bne.n 800357e { return HAL_ERROR; - 8003452: 2301 movs r3, #1 - 8003454: e073 b.n 800353e + 800356a: 2301 movs r3, #1 + 800356c: e073 b.n 8003656 } /* HSI is selected as System Clock Source */ else { /* Check the HSI ready flag */ if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8003456: 4b3d ldr r3, [pc, #244] ; (800354c ) - 8003458: 681b ldr r3, [r3, #0] - 800345a: f003 0302 and.w r3, r3, #2 - 800345e: 2b00 cmp r3, #0 - 8003460: d101 bne.n 8003466 + 800356e: 4b3d ldr r3, [pc, #244] ; (8003664 ) + 8003570: 681b ldr r3, [r3, #0] + 8003572: f003 0302 and.w r3, r3, #2 + 8003576: 2b00 cmp r3, #0 + 8003578: d101 bne.n 800357e { return HAL_ERROR; - 8003462: 2301 movs r3, #1 - 8003464: e06b b.n 800353e + 800357a: 2301 movs r3, #1 + 800357c: e06b b.n 8003656 } } __HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource); - 8003466: 4b39 ldr r3, [pc, #228] ; (800354c ) - 8003468: 685b ldr r3, [r3, #4] - 800346a: f023 0203 bic.w r2, r3, #3 - 800346e: 687b ldr r3, [r7, #4] - 8003470: 685b ldr r3, [r3, #4] - 8003472: 4936 ldr r1, [pc, #216] ; (800354c ) - 8003474: 4313 orrs r3, r2 - 8003476: 604b str r3, [r1, #4] + 800357e: 4b39 ldr r3, [pc, #228] ; (8003664 ) + 8003580: 685b ldr r3, [r3, #4] + 8003582: f023 0203 bic.w r2, r3, #3 + 8003586: 687b ldr r3, [r7, #4] + 8003588: 685b ldr r3, [r3, #4] + 800358a: 4936 ldr r1, [pc, #216] ; (8003664 ) + 800358c: 4313 orrs r3, r2 + 800358e: 604b str r3, [r1, #4] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003478: f7fe fa30 bl 80018dc - 800347c: 60f8 str r0, [r7, #12] + 8003590: f7fe fa30 bl 80019f4 + 8003594: 60f8 str r0, [r7, #12] while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 800347e: e00a b.n 8003496 + 8003596: e00a b.n 80035ae { if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE) - 8003480: f7fe fa2c bl 80018dc - 8003484: 4602 mov r2, r0 - 8003486: 68fb ldr r3, [r7, #12] - 8003488: 1ad3 subs r3, r2, r3 - 800348a: f241 3288 movw r2, #5000 ; 0x1388 - 800348e: 4293 cmp r3, r2 - 8003490: d901 bls.n 8003496 + 8003598: f7fe fa2c bl 80019f4 + 800359c: 4602 mov r2, r0 + 800359e: 68fb ldr r3, [r7, #12] + 80035a0: 1ad3 subs r3, r2, r3 + 80035a2: f241 3288 movw r2, #5000 ; 0x1388 + 80035a6: 4293 cmp r3, r2 + 80035a8: d901 bls.n 80035ae { return HAL_TIMEOUT; - 8003492: 2303 movs r3, #3 - 8003494: e053 b.n 800353e + 80035aa: 2303 movs r3, #3 + 80035ac: e053 b.n 8003656 while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 8003496: 4b2d ldr r3, [pc, #180] ; (800354c ) - 8003498: 685b ldr r3, [r3, #4] - 800349a: f003 020c and.w r2, r3, #12 - 800349e: 687b ldr r3, [r7, #4] - 80034a0: 685b ldr r3, [r3, #4] - 80034a2: 009b lsls r3, r3, #2 - 80034a4: 429a cmp r2, r3 - 80034a6: d1eb bne.n 8003480 + 80035ae: 4b2d ldr r3, [pc, #180] ; (8003664 ) + 80035b0: 685b ldr r3, [r3, #4] + 80035b2: f003 020c and.w r2, r3, #12 + 80035b6: 687b ldr r3, [r7, #4] + 80035b8: 685b ldr r3, [r3, #4] + 80035ba: 009b lsls r3, r3, #2 + 80035bc: 429a cmp r2, r3 + 80035be: d1eb bne.n 8003598 } } #if defined(FLASH_ACR_LATENCY) /* Decreasing the number of wait states because of lower CPU frequency */ if (FLatency < __HAL_FLASH_GET_LATENCY()) - 80034a8: 4b27 ldr r3, [pc, #156] ; (8003548 ) - 80034aa: 681b ldr r3, [r3, #0] - 80034ac: f003 0307 and.w r3, r3, #7 - 80034b0: 683a ldr r2, [r7, #0] - 80034b2: 429a cmp r2, r3 - 80034b4: d210 bcs.n 80034d8 + 80035c0: 4b27 ldr r3, [pc, #156] ; (8003660 ) + 80035c2: 681b ldr r3, [r3, #0] + 80035c4: f003 0307 and.w r3, r3, #7 + 80035c8: 683a ldr r2, [r7, #0] + 80035ca: 429a cmp r2, r3 + 80035cc: d210 bcs.n 80035f0 { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 80034b6: 4b24 ldr r3, [pc, #144] ; (8003548 ) - 80034b8: 681b ldr r3, [r3, #0] - 80034ba: f023 0207 bic.w r2, r3, #7 - 80034be: 4922 ldr r1, [pc, #136] ; (8003548 ) - 80034c0: 683b ldr r3, [r7, #0] - 80034c2: 4313 orrs r3, r2 - 80034c4: 600b str r3, [r1, #0] + 80035ce: 4b24 ldr r3, [pc, #144] ; (8003660 ) + 80035d0: 681b ldr r3, [r3, #0] + 80035d2: f023 0207 bic.w r2, r3, #7 + 80035d6: 4922 ldr r1, [pc, #136] ; (8003660 ) + 80035d8: 683b ldr r3, [r7, #0] + 80035da: 4313 orrs r3, r2 + 80035dc: 600b str r3, [r1, #0] /* Check that the new number of wait states is taken into account to access the Flash memory by reading the FLASH_ACR register */ if (__HAL_FLASH_GET_LATENCY() != FLatency) - 80034c6: 4b20 ldr r3, [pc, #128] ; (8003548 ) - 80034c8: 681b ldr r3, [r3, #0] - 80034ca: f003 0307 and.w r3, r3, #7 - 80034ce: 683a ldr r2, [r7, #0] - 80034d0: 429a cmp r2, r3 - 80034d2: d001 beq.n 80034d8 + 80035de: 4b20 ldr r3, [pc, #128] ; (8003660 ) + 80035e0: 681b ldr r3, [r3, #0] + 80035e2: f003 0307 and.w r3, r3, #7 + 80035e6: 683a ldr r2, [r7, #0] + 80035e8: 429a cmp r2, r3 + 80035ea: d001 beq.n 80035f0 { return HAL_ERROR; - 80034d4: 2301 movs r3, #1 - 80034d6: e032 b.n 800353e + 80035ec: 2301 movs r3, #1 + 80035ee: e032 b.n 8003656 } } #endif /* FLASH_ACR_LATENCY */ /*-------------------------- PCLK1 Configuration ---------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1) - 80034d8: 687b ldr r3, [r7, #4] - 80034da: 681b ldr r3, [r3, #0] - 80034dc: f003 0304 and.w r3, r3, #4 - 80034e0: 2b00 cmp r3, #0 - 80034e2: d008 beq.n 80034f6 + 80035f0: 687b ldr r3, [r7, #4] + 80035f2: 681b ldr r3, [r3, #0] + 80035f4: f003 0304 and.w r3, r3, #4 + 80035f8: 2b00 cmp r3, #0 + 80035fa: d008 beq.n 800360e { assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider); - 80034e4: 4b19 ldr r3, [pc, #100] ; (800354c ) - 80034e6: 685b ldr r3, [r3, #4] - 80034e8: f423 62e0 bic.w r2, r3, #1792 ; 0x700 - 80034ec: 687b ldr r3, [r7, #4] - 80034ee: 68db ldr r3, [r3, #12] - 80034f0: 4916 ldr r1, [pc, #88] ; (800354c ) - 80034f2: 4313 orrs r3, r2 - 80034f4: 604b str r3, [r1, #4] + 80035fc: 4b19 ldr r3, [pc, #100] ; (8003664 ) + 80035fe: 685b ldr r3, [r3, #4] + 8003600: f423 62e0 bic.w r2, r3, #1792 ; 0x700 + 8003604: 687b ldr r3, [r7, #4] + 8003606: 68db ldr r3, [r3, #12] + 8003608: 4916 ldr r1, [pc, #88] ; (8003664 ) + 800360a: 4313 orrs r3, r2 + 800360c: 604b str r3, [r1, #4] } /*-------------------------- PCLK2 Configuration ---------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2) - 80034f6: 687b ldr r3, [r7, #4] - 80034f8: 681b ldr r3, [r3, #0] - 80034fa: f003 0308 and.w r3, r3, #8 - 80034fe: 2b00 cmp r3, #0 - 8003500: d009 beq.n 8003516 + 800360e: 687b ldr r3, [r7, #4] + 8003610: 681b ldr r3, [r3, #0] + 8003612: f003 0308 and.w r3, r3, #8 + 8003616: 2b00 cmp r3, #0 + 8003618: d009 beq.n 800362e { assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB2CLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3)); - 8003502: 4b12 ldr r3, [pc, #72] ; (800354c ) - 8003504: 685b ldr r3, [r3, #4] - 8003506: f423 5260 bic.w r2, r3, #14336 ; 0x3800 - 800350a: 687b ldr r3, [r7, #4] - 800350c: 691b ldr r3, [r3, #16] - 800350e: 00db lsls r3, r3, #3 - 8003510: 490e ldr r1, [pc, #56] ; (800354c ) - 8003512: 4313 orrs r3, r2 - 8003514: 604b str r3, [r1, #4] + 800361a: 4b12 ldr r3, [pc, #72] ; (8003664 ) + 800361c: 685b ldr r3, [r3, #4] + 800361e: f423 5260 bic.w r2, r3, #14336 ; 0x3800 + 8003622: 687b ldr r3, [r7, #4] + 8003624: 691b ldr r3, [r3, #16] + 8003626: 00db lsls r3, r3, #3 + 8003628: 490e ldr r1, [pc, #56] ; (8003664 ) + 800362a: 4313 orrs r3, r2 + 800362c: 604b str r3, [r1, #4] } /* Update the SystemCoreClock global variable */ SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE) >> RCC_CFGR_HPRE_Pos]; - 8003516: f000 f821 bl 800355c - 800351a: 4602 mov r2, r0 - 800351c: 4b0b ldr r3, [pc, #44] ; (800354c ) - 800351e: 685b ldr r3, [r3, #4] - 8003520: 091b lsrs r3, r3, #4 - 8003522: f003 030f and.w r3, r3, #15 - 8003526: 490a ldr r1, [pc, #40] ; (8003550 ) - 8003528: 5ccb ldrb r3, [r1, r3] - 800352a: fa22 f303 lsr.w r3, r2, r3 - 800352e: 4a09 ldr r2, [pc, #36] ; (8003554 ) - 8003530: 6013 str r3, [r2, #0] + 800362e: f000 f821 bl 8003674 + 8003632: 4602 mov r2, r0 + 8003634: 4b0b ldr r3, [pc, #44] ; (8003664 ) + 8003636: 685b ldr r3, [r3, #4] + 8003638: 091b lsrs r3, r3, #4 + 800363a: f003 030f and.w r3, r3, #15 + 800363e: 490a ldr r1, [pc, #40] ; (8003668 ) + 8003640: 5ccb ldrb r3, [r1, r3] + 8003642: fa22 f303 lsr.w r3, r2, r3 + 8003646: 4a09 ldr r2, [pc, #36] ; (800366c ) + 8003648: 6013 str r3, [r2, #0] /* Configure the source of time base considering new system clocks settings*/ HAL_InitTick(uwTickPrio); - 8003532: 4b09 ldr r3, [pc, #36] ; (8003558 ) - 8003534: 681b ldr r3, [r3, #0] - 8003536: 4618 mov r0, r3 - 8003538: f7fe f98e bl 8001858 + 800364a: 4b09 ldr r3, [pc, #36] ; (8003670 ) + 800364c: 681b ldr r3, [r3, #0] + 800364e: 4618 mov r0, r3 + 8003650: f7fe f98e bl 8001970 return HAL_OK; - 800353c: 2300 movs r3, #0 + 8003654: 2300 movs r3, #0 } - 800353e: 4618 mov r0, r3 - 8003540: 3710 adds r7, #16 - 8003542: 46bd mov sp, r7 - 8003544: bd80 pop {r7, pc} - 8003546: bf00 nop - 8003548: 40022000 .word 0x40022000 - 800354c: 40021000 .word 0x40021000 - 8003550: 080089cc .word 0x080089cc - 8003554: 20000000 .word 0x20000000 - 8003558: 20000004 .word 0x20000004 + 8003656: 4618 mov r0, r3 + 8003658: 3710 adds r7, #16 + 800365a: 46bd mov sp, r7 + 800365c: bd80 pop {r7, pc} + 800365e: bf00 nop + 8003660: 40022000 .word 0x40022000 + 8003664: 40021000 .word 0x40021000 + 8003668: 080099c0 .word 0x080099c0 + 800366c: 20000000 .word 0x20000000 + 8003670: 20000004 .word 0x20000004 -0800355c : +08003674 : * right SYSCLK value. Otherwise, any configuration based on this function will be incorrect. * * @retval SYSCLK frequency */ uint32_t HAL_RCC_GetSysClockFreq(void) { - 800355c: b490 push {r4, r7} - 800355e: b08a sub sp, #40 ; 0x28 - 8003560: af00 add r7, sp, #0 + 8003674: b490 push {r4, r7} + 8003676: b08a sub sp, #40 ; 0x28 + 8003678: af00 add r7, sp, #0 #if defined(RCC_CFGR2_PREDIV1SRC) const uint8_t aPLLMULFactorTable[14] = {0, 0, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 13}; const uint8_t aPredivFactorTable[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; #else const uint8_t aPLLMULFactorTable[16] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16}; - 8003562: 4b2a ldr r3, [pc, #168] ; (800360c ) - 8003564: 1d3c adds r4, r7, #4 - 8003566: cb0f ldmia r3, {r0, r1, r2, r3} - 8003568: e884 000f stmia.w r4, {r0, r1, r2, r3} + 800367a: 4b2a ldr r3, [pc, #168] ; (8003724 ) + 800367c: 1d3c adds r4, r7, #4 + 800367e: cb0f ldmia r3, {r0, r1, r2, r3} + 8003680: e884 000f stmia.w r4, {r0, r1, r2, r3} #if defined(RCC_CFGR2_PREDIV1) const uint8_t aPredivFactorTable[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; #else const uint8_t aPredivFactorTable[2] = {1, 2}; - 800356c: f240 2301 movw r3, #513 ; 0x201 - 8003570: 803b strh r3, [r7, #0] + 8003684: f240 2301 movw r3, #513 ; 0x201 + 8003688: 803b strh r3, [r7, #0] #endif /*RCC_CFGR2_PREDIV1*/ #endif uint32_t tmpreg = 0U, prediv = 0U, pllclk = 0U, pllmul = 0U; - 8003572: 2300 movs r3, #0 - 8003574: 61fb str r3, [r7, #28] - 8003576: 2300 movs r3, #0 - 8003578: 61bb str r3, [r7, #24] - 800357a: 2300 movs r3, #0 - 800357c: 627b str r3, [r7, #36] ; 0x24 - 800357e: 2300 movs r3, #0 - 8003580: 617b str r3, [r7, #20] + 800368a: 2300 movs r3, #0 + 800368c: 61fb str r3, [r7, #28] + 800368e: 2300 movs r3, #0 + 8003690: 61bb str r3, [r7, #24] + 8003692: 2300 movs r3, #0 + 8003694: 627b str r3, [r7, #36] ; 0x24 + 8003696: 2300 movs r3, #0 + 8003698: 617b str r3, [r7, #20] uint32_t sysclockfreq = 0U; - 8003582: 2300 movs r3, #0 - 8003584: 623b str r3, [r7, #32] + 800369a: 2300 movs r3, #0 + 800369c: 623b str r3, [r7, #32] #if defined(RCC_CFGR2_PREDIV1SRC) uint32_t prediv2 = 0U, pll2mul = 0U; #endif /*RCC_CFGR2_PREDIV1SRC*/ tmpreg = RCC->CFGR; - 8003586: 4b22 ldr r3, [pc, #136] ; (8003610 ) - 8003588: 685b ldr r3, [r3, #4] - 800358a: 61fb str r3, [r7, #28] + 800369e: 4b22 ldr r3, [pc, #136] ; (8003728 ) + 80036a0: 685b ldr r3, [r3, #4] + 80036a2: 61fb str r3, [r7, #28] /* Get SYSCLK source -------------------------------------------------------*/ switch (tmpreg & RCC_CFGR_SWS) - 800358c: 69fb ldr r3, [r7, #28] - 800358e: f003 030c and.w r3, r3, #12 - 8003592: 2b04 cmp r3, #4 - 8003594: d002 beq.n 800359c - 8003596: 2b08 cmp r3, #8 - 8003598: d003 beq.n 80035a2 - 800359a: e02d b.n 80035f8 + 80036a4: 69fb ldr r3, [r7, #28] + 80036a6: f003 030c and.w r3, r3, #12 + 80036aa: 2b04 cmp r3, #4 + 80036ac: d002 beq.n 80036b4 + 80036ae: 2b08 cmp r3, #8 + 80036b0: d003 beq.n 80036ba + 80036b2: e02d b.n 8003710 { case RCC_SYSCLKSOURCE_STATUS_HSE: /* HSE used as system clock */ { sysclockfreq = HSE_VALUE; - 800359c: 4b1d ldr r3, [pc, #116] ; (8003614 ) - 800359e: 623b str r3, [r7, #32] + 80036b4: 4b1d ldr r3, [pc, #116] ; (800372c ) + 80036b6: 623b str r3, [r7, #32] break; - 80035a0: e02d b.n 80035fe + 80036b8: e02d b.n 8003716 } case RCC_SYSCLKSOURCE_STATUS_PLLCLK: /* PLL used as system clock */ { pllmul = aPLLMULFactorTable[(uint32_t)(tmpreg & RCC_CFGR_PLLMULL) >> RCC_CFGR_PLLMULL_Pos]; - 80035a2: 69fb ldr r3, [r7, #28] - 80035a4: 0c9b lsrs r3, r3, #18 - 80035a6: f003 030f and.w r3, r3, #15 - 80035aa: f107 0228 add.w r2, r7, #40 ; 0x28 - 80035ae: 4413 add r3, r2 - 80035b0: f813 3c24 ldrb.w r3, [r3, #-36] - 80035b4: 617b str r3, [r7, #20] + 80036ba: 69fb ldr r3, [r7, #28] + 80036bc: 0c9b lsrs r3, r3, #18 + 80036be: f003 030f and.w r3, r3, #15 + 80036c2: f107 0228 add.w r2, r7, #40 ; 0x28 + 80036c6: 4413 add r3, r2 + 80036c8: f813 3c24 ldrb.w r3, [r3, #-36] + 80036cc: 617b str r3, [r7, #20] if ((tmpreg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2) - 80035b6: 69fb ldr r3, [r7, #28] - 80035b8: f403 3380 and.w r3, r3, #65536 ; 0x10000 - 80035bc: 2b00 cmp r3, #0 - 80035be: d013 beq.n 80035e8 + 80036ce: 69fb ldr r3, [r7, #28] + 80036d0: f403 3380 and.w r3, r3, #65536 ; 0x10000 + 80036d4: 2b00 cmp r3, #0 + 80036d6: d013 beq.n 8003700 { #if defined(RCC_CFGR2_PREDIV1) prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV1) >> RCC_CFGR2_PREDIV1_Pos]; #else prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR & RCC_CFGR_PLLXTPRE) >> RCC_CFGR_PLLXTPRE_Pos]; - 80035c0: 4b13 ldr r3, [pc, #76] ; (8003610 ) - 80035c2: 685b ldr r3, [r3, #4] - 80035c4: 0c5b lsrs r3, r3, #17 - 80035c6: f003 0301 and.w r3, r3, #1 - 80035ca: f107 0228 add.w r2, r7, #40 ; 0x28 - 80035ce: 4413 add r3, r2 - 80035d0: f813 3c28 ldrb.w r3, [r3, #-40] - 80035d4: 61bb str r3, [r7, #24] + 80036d8: 4b13 ldr r3, [pc, #76] ; (8003728 ) + 80036da: 685b ldr r3, [r3, #4] + 80036dc: 0c5b lsrs r3, r3, #17 + 80036de: f003 0301 and.w r3, r3, #1 + 80036e2: f107 0228 add.w r2, r7, #40 ; 0x28 + 80036e6: 4413 add r3, r2 + 80036e8: f813 3c28 ldrb.w r3, [r3, #-40] + 80036ec: 61bb str r3, [r7, #24] { pllclk = pllclk / 2; } #else /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV1 * PLLMUL */ pllclk = (uint32_t)((HSE_VALUE * pllmul) / prediv); - 80035d6: 697b ldr r3, [r7, #20] - 80035d8: 4a0e ldr r2, [pc, #56] ; (8003614 ) - 80035da: fb02 f203 mul.w r2, r2, r3 - 80035de: 69bb ldr r3, [r7, #24] - 80035e0: fbb2 f3f3 udiv r3, r2, r3 - 80035e4: 627b str r3, [r7, #36] ; 0x24 - 80035e6: e004 b.n 80035f2 + 80036ee: 697b ldr r3, [r7, #20] + 80036f0: 4a0e ldr r2, [pc, #56] ; (800372c ) + 80036f2: fb02 f203 mul.w r2, r2, r3 + 80036f6: 69bb ldr r3, [r7, #24] + 80036f8: fbb2 f3f3 udiv r3, r2, r3 + 80036fc: 627b str r3, [r7, #36] ; 0x24 + 80036fe: e004 b.n 800370a #endif /*RCC_CFGR2_PREDIV1SRC*/ } else { /* HSI used as PLL clock source : PLLCLK = HSI/2 * PLLMUL */ pllclk = (uint32_t)((HSI_VALUE >> 1) * pllmul); - 80035e8: 697b ldr r3, [r7, #20] - 80035ea: 4a0b ldr r2, [pc, #44] ; (8003618 ) - 80035ec: fb02 f303 mul.w r3, r2, r3 - 80035f0: 627b str r3, [r7, #36] ; 0x24 + 8003700: 697b ldr r3, [r7, #20] + 8003702: 4a0b ldr r2, [pc, #44] ; (8003730 ) + 8003704: fb02 f303 mul.w r3, r2, r3 + 8003708: 627b str r3, [r7, #36] ; 0x24 } sysclockfreq = pllclk; - 80035f2: 6a7b ldr r3, [r7, #36] ; 0x24 - 80035f4: 623b str r3, [r7, #32] + 800370a: 6a7b ldr r3, [r7, #36] ; 0x24 + 800370c: 623b str r3, [r7, #32] break; - 80035f6: e002 b.n 80035fe + 800370e: e002 b.n 8003716 } case RCC_SYSCLKSOURCE_STATUS_HSI: /* HSI used as system clock source */ default: /* HSI used as system clock */ { sysclockfreq = HSI_VALUE; - 80035f8: 4b06 ldr r3, [pc, #24] ; (8003614 ) - 80035fa: 623b str r3, [r7, #32] + 8003710: 4b06 ldr r3, [pc, #24] ; (800372c ) + 8003712: 623b str r3, [r7, #32] break; - 80035fc: bf00 nop + 8003714: bf00 nop } } return sysclockfreq; - 80035fe: 6a3b ldr r3, [r7, #32] + 8003716: 6a3b ldr r3, [r7, #32] } - 8003600: 4618 mov r0, r3 - 8003602: 3728 adds r7, #40 ; 0x28 - 8003604: 46bd mov sp, r7 - 8003606: bc90 pop {r4, r7} - 8003608: 4770 bx lr - 800360a: bf00 nop - 800360c: 080088d8 .word 0x080088d8 - 8003610: 40021000 .word 0x40021000 - 8003614: 007a1200 .word 0x007a1200 - 8003618: 003d0900 .word 0x003d0900 + 8003718: 4618 mov r0, r3 + 800371a: 3728 adds r7, #40 ; 0x28 + 800371c: 46bd mov sp, r7 + 800371e: bc90 pop {r4, r7} + 8003720: 4770 bx lr + 8003722: bf00 nop + 8003724: 080098b0 .word 0x080098b0 + 8003728: 40021000 .word 0x40021000 + 800372c: 007a1200 .word 0x007a1200 + 8003730: 003d0900 .word 0x003d0900 -0800361c : +08003734 : * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency * and updated within this function * @retval HCLK frequency */ uint32_t HAL_RCC_GetHCLKFreq(void) { - 800361c: b480 push {r7} - 800361e: af00 add r7, sp, #0 + 8003734: b480 push {r7} + 8003736: af00 add r7, sp, #0 return SystemCoreClock; - 8003620: 4b02 ldr r3, [pc, #8] ; (800362c ) - 8003622: 681b ldr r3, [r3, #0] + 8003738: 4b02 ldr r3, [pc, #8] ; (8003744 ) + 800373a: 681b ldr r3, [r3, #0] } - 8003624: 4618 mov r0, r3 - 8003626: 46bd mov sp, r7 - 8003628: bc80 pop {r7} - 800362a: 4770 bx lr - 800362c: 20000000 .word 0x20000000 + 800373c: 4618 mov r0, r3 + 800373e: 46bd mov sp, r7 + 8003740: bc80 pop {r7} + 8003742: 4770 bx lr + 8003744: 20000000 .word 0x20000000 -08003630 : +08003748 : * @note Each time PCLK1 changes, this function must be called to update the * right PCLK1 value. Otherwise, any configuration based on this function will be incorrect. * @retval PCLK1 frequency */ uint32_t HAL_RCC_GetPCLK1Freq(void) { - 8003630: b580 push {r7, lr} - 8003632: af00 add r7, sp, #0 + 8003748: b580 push {r7, lr} + 800374a: af00 add r7, sp, #0 /* Get HCLK source and Compute PCLK1 frequency ---------------------------*/ return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE1) >> RCC_CFGR_PPRE1_Pos]); - 8003634: f7ff fff2 bl 800361c - 8003638: 4602 mov r2, r0 - 800363a: 4b05 ldr r3, [pc, #20] ; (8003650 ) - 800363c: 685b ldr r3, [r3, #4] - 800363e: 0a1b lsrs r3, r3, #8 - 8003640: f003 0307 and.w r3, r3, #7 - 8003644: 4903 ldr r1, [pc, #12] ; (8003654 ) - 8003646: 5ccb ldrb r3, [r1, r3] - 8003648: fa22 f303 lsr.w r3, r2, r3 + 800374c: f7ff fff2 bl 8003734 + 8003750: 4602 mov r2, r0 + 8003752: 4b05 ldr r3, [pc, #20] ; (8003768 ) + 8003754: 685b ldr r3, [r3, #4] + 8003756: 0a1b lsrs r3, r3, #8 + 8003758: f003 0307 and.w r3, r3, #7 + 800375c: 4903 ldr r1, [pc, #12] ; (800376c ) + 800375e: 5ccb ldrb r3, [r1, r3] + 8003760: fa22 f303 lsr.w r3, r2, r3 } - 800364c: 4618 mov r0, r3 - 800364e: bd80 pop {r7, pc} - 8003650: 40021000 .word 0x40021000 - 8003654: 080089dc .word 0x080089dc + 8003764: 4618 mov r0, r3 + 8003766: bd80 pop {r7, pc} + 8003768: 40021000 .word 0x40021000 + 800376c: 080099d0 .word 0x080099d0 -08003658 : +08003770 : * @brief This function provides delay (in milliseconds) based on CPU cycles method. * @param mdelay: specifies the delay time length, in milliseconds. * @retval None */ static void RCC_Delay(uint32_t mdelay) { - 8003658: b480 push {r7} - 800365a: b085 sub sp, #20 - 800365c: af00 add r7, sp, #0 - 800365e: 6078 str r0, [r7, #4] + 8003770: b480 push {r7} + 8003772: b085 sub sp, #20 + 8003774: af00 add r7, sp, #0 + 8003776: 6078 str r0, [r7, #4] __IO uint32_t Delay = mdelay * (SystemCoreClock / 8U / 1000U); - 8003660: 4b0a ldr r3, [pc, #40] ; (800368c ) - 8003662: 681b ldr r3, [r3, #0] - 8003664: 4a0a ldr r2, [pc, #40] ; (8003690 ) - 8003666: fba2 2303 umull r2, r3, r2, r3 - 800366a: 0a5b lsrs r3, r3, #9 - 800366c: 687a ldr r2, [r7, #4] - 800366e: fb02 f303 mul.w r3, r2, r3 - 8003672: 60fb str r3, [r7, #12] + 8003778: 4b0a ldr r3, [pc, #40] ; (80037a4 ) + 800377a: 681b ldr r3, [r3, #0] + 800377c: 4a0a ldr r2, [pc, #40] ; (80037a8 ) + 800377e: fba2 2303 umull r2, r3, r2, r3 + 8003782: 0a5b lsrs r3, r3, #9 + 8003784: 687a ldr r2, [r7, #4] + 8003786: fb02 f303 mul.w r3, r2, r3 + 800378a: 60fb str r3, [r7, #12] do { __NOP(); - 8003674: bf00 nop + 800378c: bf00 nop } while (Delay --); - 8003676: 68fb ldr r3, [r7, #12] - 8003678: 1e5a subs r2, r3, #1 - 800367a: 60fa str r2, [r7, #12] - 800367c: 2b00 cmp r3, #0 - 800367e: d1f9 bne.n 8003674 + 800378e: 68fb ldr r3, [r7, #12] + 8003790: 1e5a subs r2, r3, #1 + 8003792: 60fa str r2, [r7, #12] + 8003794: 2b00 cmp r3, #0 + 8003796: d1f9 bne.n 800378c } - 8003680: bf00 nop - 8003682: bf00 nop - 8003684: 3714 adds r7, #20 - 8003686: 46bd mov sp, r7 - 8003688: bc80 pop {r7} - 800368a: 4770 bx lr - 800368c: 20000000 .word 0x20000000 - 8003690: 10624dd3 .word 0x10624dd3 + 8003798: bf00 nop + 800379a: bf00 nop + 800379c: 3714 adds r7, #20 + 800379e: 46bd mov sp, r7 + 80037a0: bc80 pop {r7} + 80037a2: 4770 bx lr + 80037a4: 20000000 .word 0x20000000 + 80037a8: 10624dd3 .word 0x10624dd3 -08003694 : +080037ac : * @param ExtTiming Pointer to SRAM extended mode timing structure * @retval HAL status */ HAL_StatusTypeDef HAL_SRAM_Init(SRAM_HandleTypeDef *hsram, FSMC_NORSRAM_TimingTypeDef *Timing, FSMC_NORSRAM_TimingTypeDef *ExtTiming) { - 8003694: b580 push {r7, lr} - 8003696: b084 sub sp, #16 - 8003698: af00 add r7, sp, #0 - 800369a: 60f8 str r0, [r7, #12] - 800369c: 60b9 str r1, [r7, #8] - 800369e: 607a str r2, [r7, #4] + 80037ac: b580 push {r7, lr} + 80037ae: b084 sub sp, #16 + 80037b0: af00 add r7, sp, #0 + 80037b2: 60f8 str r0, [r7, #12] + 80037b4: 60b9 str r1, [r7, #8] + 80037b6: 607a str r2, [r7, #4] /* Check the SRAM handle parameter */ if ((hsram == NULL) || (hsram->Init.BurstAccessMode == FSMC_BURST_ACCESS_MODE_ENABLE)) - 80036a0: 68fb ldr r3, [r7, #12] - 80036a2: 2b00 cmp r3, #0 - 80036a4: d004 beq.n 80036b0 - 80036a6: 68fb ldr r3, [r7, #12] - 80036a8: 699b ldr r3, [r3, #24] - 80036aa: f5b3 7f80 cmp.w r3, #256 ; 0x100 - 80036ae: d101 bne.n 80036b4 + 80037b8: 68fb ldr r3, [r7, #12] + 80037ba: 2b00 cmp r3, #0 + 80037bc: d004 beq.n 80037c8 + 80037be: 68fb ldr r3, [r7, #12] + 80037c0: 699b ldr r3, [r3, #24] + 80037c2: f5b3 7f80 cmp.w r3, #256 ; 0x100 + 80037c6: d101 bne.n 80037cc { return HAL_ERROR; - 80036b0: 2301 movs r3, #1 - 80036b2: e038 b.n 8003726 + 80037c8: 2301 movs r3, #1 + 80037ca: e038 b.n 800383e } if (hsram->State == HAL_SRAM_STATE_RESET) - 80036b4: 68fb ldr r3, [r7, #12] - 80036b6: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 - 80036ba: b2db uxtb r3, r3 - 80036bc: 2b00 cmp r3, #0 - 80036be: d106 bne.n 80036ce + 80037cc: 68fb ldr r3, [r7, #12] + 80037ce: f893 3041 ldrb.w r3, [r3, #65] ; 0x41 + 80037d2: b2db uxtb r3, r3 + 80037d4: 2b00 cmp r3, #0 + 80037d6: d106 bne.n 80037e6 { /* Allocate lock resource and initialize it */ hsram->Lock = HAL_UNLOCKED; - 80036c0: 68fb ldr r3, [r7, #12] - 80036c2: 2200 movs r2, #0 - 80036c4: f883 2040 strb.w r2, [r3, #64] ; 0x40 + 80037d8: 68fb ldr r3, [r7, #12] + 80037da: 2200 movs r2, #0 + 80037dc: f883 2040 strb.w r2, [r3, #64] ; 0x40 /* Init the low level hardware */ hsram->MspInitCallback(hsram); #else /* Initialize the low level hardware (MSP) */ HAL_SRAM_MspInit(hsram); - 80036c8: 68f8 ldr r0, [r7, #12] - 80036ca: f7fd ff91 bl 80015f0 + 80037e0: 68f8 ldr r0, [r7, #12] + 80037e2: f7fd ff91 bl 8001708 #endif /* USE_HAL_SRAM_REGISTER_CALLBACKS */ } /* Initialize SRAM control Interface */ (void)FSMC_NORSRAM_Init(hsram->Instance, &(hsram->Init)); - 80036ce: 68fb ldr r3, [r7, #12] - 80036d0: 681a ldr r2, [r3, #0] - 80036d2: 68fb ldr r3, [r7, #12] - 80036d4: 3308 adds r3, #8 - 80036d6: 4619 mov r1, r3 - 80036d8: 4610 mov r0, r2 - 80036da: f000 f829 bl 8003730 + 80037e6: 68fb ldr r3, [r7, #12] + 80037e8: 681a ldr r2, [r3, #0] + 80037ea: 68fb ldr r3, [r7, #12] + 80037ec: 3308 adds r3, #8 + 80037ee: 4619 mov r1, r3 + 80037f0: 4610 mov r0, r2 + 80037f2: f000 f829 bl 8003848 /* Initialize SRAM timing Interface */ (void)FSMC_NORSRAM_Timing_Init(hsram->Instance, Timing, hsram->Init.NSBank); - 80036de: 68fb ldr r3, [r7, #12] - 80036e0: 6818 ldr r0, [r3, #0] - 80036e2: 68fb ldr r3, [r7, #12] - 80036e4: 689b ldr r3, [r3, #8] - 80036e6: 461a mov r2, r3 - 80036e8: 68b9 ldr r1, [r7, #8] - 80036ea: f000 f88b bl 8003804 + 80037f6: 68fb ldr r3, [r7, #12] + 80037f8: 6818 ldr r0, [r3, #0] + 80037fa: 68fb ldr r3, [r7, #12] + 80037fc: 689b ldr r3, [r3, #8] + 80037fe: 461a mov r2, r3 + 8003800: 68b9 ldr r1, [r7, #8] + 8003802: f000 f88b bl 800391c /* Initialize SRAM extended mode timing Interface */ (void)FSMC_NORSRAM_Extended_Timing_Init(hsram->Extended, ExtTiming, hsram->Init.NSBank, - 80036ee: 68fb ldr r3, [r7, #12] - 80036f0: 6858 ldr r0, [r3, #4] - 80036f2: 68fb ldr r3, [r7, #12] - 80036f4: 689a ldr r2, [r3, #8] - 80036f6: 68fb ldr r3, [r7, #12] - 80036f8: 6b1b ldr r3, [r3, #48] ; 0x30 - 80036fa: 6879 ldr r1, [r7, #4] - 80036fc: f000 f8b6 bl 800386c + 8003806: 68fb ldr r3, [r7, #12] + 8003808: 6858 ldr r0, [r3, #4] + 800380a: 68fb ldr r3, [r7, #12] + 800380c: 689a ldr r2, [r3, #8] + 800380e: 68fb ldr r3, [r7, #12] + 8003810: 6b1b ldr r3, [r3, #48] ; 0x30 + 8003812: 6879 ldr r1, [r7, #4] + 8003814: f000 f8b6 bl 8003984 hsram->Init.ExtendedMode); /* Enable the NORSRAM device */ __FSMC_NORSRAM_ENABLE(hsram->Instance, hsram->Init.NSBank); - 8003700: 68fb ldr r3, [r7, #12] - 8003702: 681b ldr r3, [r3, #0] - 8003704: 68fa ldr r2, [r7, #12] - 8003706: 6892 ldr r2, [r2, #8] - 8003708: f853 1022 ldr.w r1, [r3, r2, lsl #2] - 800370c: 68fb ldr r3, [r7, #12] - 800370e: 681b ldr r3, [r3, #0] - 8003710: 68fa ldr r2, [r7, #12] - 8003712: 6892 ldr r2, [r2, #8] - 8003714: f041 0101 orr.w r1, r1, #1 - 8003718: f843 1022 str.w r1, [r3, r2, lsl #2] + 8003818: 68fb ldr r3, [r7, #12] + 800381a: 681b ldr r3, [r3, #0] + 800381c: 68fa ldr r2, [r7, #12] + 800381e: 6892 ldr r2, [r2, #8] + 8003820: f853 1022 ldr.w r1, [r3, r2, lsl #2] + 8003824: 68fb ldr r3, [r7, #12] + 8003826: 681b ldr r3, [r3, #0] + 8003828: 68fa ldr r2, [r7, #12] + 800382a: 6892 ldr r2, [r2, #8] + 800382c: f041 0101 orr.w r1, r1, #1 + 8003830: f843 1022 str.w r1, [r3, r2, lsl #2] /* Initialize the SRAM controller state */ hsram->State = HAL_SRAM_STATE_READY; - 800371c: 68fb ldr r3, [r7, #12] - 800371e: 2201 movs r2, #1 - 8003720: f883 2041 strb.w r2, [r3, #65] ; 0x41 + 8003834: 68fb ldr r3, [r7, #12] + 8003836: 2201 movs r2, #1 + 8003838: f883 2041 strb.w r2, [r3, #65] ; 0x41 return HAL_OK; - 8003724: 2300 movs r3, #0 + 800383c: 2300 movs r3, #0 } - 8003726: 4618 mov r0, r3 - 8003728: 3710 adds r7, #16 - 800372a: 46bd mov sp, r7 - 800372c: bd80 pop {r7, pc} + 800383e: 4618 mov r0, r3 + 8003840: 3710 adds r7, #16 + 8003842: 46bd mov sp, r7 + 8003844: bd80 pop {r7, pc} ... -08003730 : +08003848 : * @param Init Pointer to NORSRAM Initialization structure * @retval HAL status */ HAL_StatusTypeDef FSMC_NORSRAM_Init(FSMC_NORSRAM_TypeDef *Device, FSMC_NORSRAM_InitTypeDef *Init) { - 8003730: b480 push {r7} - 8003732: b087 sub sp, #28 - 8003734: af00 add r7, sp, #0 - 8003736: 6078 str r0, [r7, #4] - 8003738: 6039 str r1, [r7, #0] + 8003848: b480 push {r7} + 800384a: b087 sub sp, #28 + 800384c: af00 add r7, sp, #0 + 800384e: 6078 str r0, [r7, #4] + 8003850: 6039 str r1, [r7, #0] assert_param(IS_FSMC_ASYNWAIT(Init->AsynchronousWait)); assert_param(IS_FSMC_WRITE_BURST(Init->WriteBurst)); assert_param(IS_FSMC_PAGESIZE(Init->PageSize)); /* Disable NORSRAM Device */ __FSMC_NORSRAM_DISABLE(Device, Init->NSBank); - 800373a: 683b ldr r3, [r7, #0] - 800373c: 681a ldr r2, [r3, #0] - 800373e: 687b ldr r3, [r7, #4] - 8003740: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8003744: 683a ldr r2, [r7, #0] - 8003746: 6812 ldr r2, [r2, #0] - 8003748: f023 0101 bic.w r1, r3, #1 - 800374c: 687b ldr r3, [r7, #4] - 800374e: f843 1022 str.w r1, [r3, r2, lsl #2] + 8003852: 683b ldr r3, [r7, #0] + 8003854: 681a ldr r2, [r3, #0] + 8003856: 687b ldr r3, [r7, #4] + 8003858: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 800385c: 683a ldr r2, [r7, #0] + 800385e: 6812 ldr r2, [r2, #0] + 8003860: f023 0101 bic.w r1, r3, #1 + 8003864: 687b ldr r3, [r7, #4] + 8003866: f843 1022 str.w r1, [r3, r2, lsl #2] /* Set NORSRAM device control parameters */ if (Init->MemoryType == FSMC_MEMORY_TYPE_NOR) - 8003752: 683b ldr r3, [r7, #0] - 8003754: 689b ldr r3, [r3, #8] - 8003756: 2b08 cmp r3, #8 - 8003758: d102 bne.n 8003760 + 800386a: 683b ldr r3, [r7, #0] + 800386c: 689b ldr r3, [r3, #8] + 800386e: 2b08 cmp r3, #8 + 8003870: d102 bne.n 8003878 { flashaccess = FSMC_NORSRAM_FLASH_ACCESS_ENABLE; - 800375a: 2340 movs r3, #64 ; 0x40 - 800375c: 617b str r3, [r7, #20] - 800375e: e001 b.n 8003764 + 8003872: 2340 movs r3, #64 ; 0x40 + 8003874: 617b str r3, [r7, #20] + 8003876: e001 b.n 800387c } else { flashaccess = FSMC_NORSRAM_FLASH_ACCESS_DISABLE; - 8003760: 2300 movs r3, #0 - 8003762: 617b str r3, [r7, #20] + 8003878: 2300 movs r3, #0 + 800387a: 617b str r3, [r7, #20] } btcr_reg = (flashaccess | \ Init->DataAddressMux | \ - 8003764: 683b ldr r3, [r7, #0] - 8003766: 685a ldr r2, [r3, #4] + 800387c: 683b ldr r3, [r7, #0] + 800387e: 685a ldr r2, [r3, #4] btcr_reg = (flashaccess | \ - 8003768: 697b ldr r3, [r7, #20] - 800376a: 431a orrs r2, r3 + 8003880: 697b ldr r3, [r7, #20] + 8003882: 431a orrs r2, r3 Init->MemoryType | \ - 800376c: 683b ldr r3, [r7, #0] - 800376e: 689b ldr r3, [r3, #8] + 8003884: 683b ldr r3, [r7, #0] + 8003886: 689b ldr r3, [r3, #8] Init->DataAddressMux | \ - 8003770: 431a orrs r2, r3 + 8003888: 431a orrs r2, r3 Init->MemoryDataWidth | \ - 8003772: 683b ldr r3, [r7, #0] - 8003774: 68db ldr r3, [r3, #12] + 800388a: 683b ldr r3, [r7, #0] + 800388c: 68db ldr r3, [r3, #12] Init->MemoryType | \ - 8003776: 431a orrs r2, r3 + 800388e: 431a orrs r2, r3 Init->BurstAccessMode | \ - 8003778: 683b ldr r3, [r7, #0] - 800377a: 691b ldr r3, [r3, #16] + 8003890: 683b ldr r3, [r7, #0] + 8003892: 691b ldr r3, [r3, #16] Init->MemoryDataWidth | \ - 800377c: 431a orrs r2, r3 + 8003894: 431a orrs r2, r3 Init->WaitSignalPolarity | \ - 800377e: 683b ldr r3, [r7, #0] - 8003780: 695b ldr r3, [r3, #20] + 8003896: 683b ldr r3, [r7, #0] + 8003898: 695b ldr r3, [r3, #20] Init->BurstAccessMode | \ - 8003782: 431a orrs r2, r3 + 800389a: 431a orrs r2, r3 Init->WaitSignalActive | \ - 8003784: 683b ldr r3, [r7, #0] - 8003786: 69db ldr r3, [r3, #28] + 800389c: 683b ldr r3, [r7, #0] + 800389e: 69db ldr r3, [r3, #28] Init->WaitSignalPolarity | \ - 8003788: 431a orrs r2, r3 + 80038a0: 431a orrs r2, r3 Init->WriteOperation | \ - 800378a: 683b ldr r3, [r7, #0] - 800378c: 6a1b ldr r3, [r3, #32] + 80038a2: 683b ldr r3, [r7, #0] + 80038a4: 6a1b ldr r3, [r3, #32] Init->WaitSignalActive | \ - 800378e: 431a orrs r2, r3 + 80038a6: 431a orrs r2, r3 Init->WaitSignal | \ - 8003790: 683b ldr r3, [r7, #0] - 8003792: 6a5b ldr r3, [r3, #36] ; 0x24 + 80038a8: 683b ldr r3, [r7, #0] + 80038aa: 6a5b ldr r3, [r3, #36] ; 0x24 Init->WriteOperation | \ - 8003794: 431a orrs r2, r3 + 80038ac: 431a orrs r2, r3 Init->ExtendedMode | \ - 8003796: 683b ldr r3, [r7, #0] - 8003798: 6a9b ldr r3, [r3, #40] ; 0x28 + 80038ae: 683b ldr r3, [r7, #0] + 80038b0: 6a9b ldr r3, [r3, #40] ; 0x28 Init->WaitSignal | \ - 800379a: 431a orrs r2, r3 + 80038b2: 431a orrs r2, r3 Init->AsynchronousWait | \ - 800379c: 683b ldr r3, [r7, #0] - 800379e: 6adb ldr r3, [r3, #44] ; 0x2c + 80038b4: 683b ldr r3, [r7, #0] + 80038b6: 6adb ldr r3, [r3, #44] ; 0x2c Init->ExtendedMode | \ - 80037a0: 431a orrs r2, r3 + 80038b8: 431a orrs r2, r3 Init->WriteBurst); - 80037a2: 683b ldr r3, [r7, #0] - 80037a4: 6b1b ldr r3, [r3, #48] ; 0x30 + 80038ba: 683b ldr r3, [r7, #0] + 80038bc: 6b1b ldr r3, [r3, #48] ; 0x30 btcr_reg = (flashaccess | \ - 80037a6: 4313 orrs r3, r2 - 80037a8: 613b str r3, [r7, #16] + 80038be: 4313 orrs r3, r2 + 80038c0: 613b str r3, [r7, #16] btcr_reg |= Init->WrapMode; - 80037aa: 683b ldr r3, [r7, #0] - 80037ac: 699b ldr r3, [r3, #24] - 80037ae: 693a ldr r2, [r7, #16] - 80037b0: 4313 orrs r3, r2 - 80037b2: 613b str r3, [r7, #16] + 80038c2: 683b ldr r3, [r7, #0] + 80038c4: 699b ldr r3, [r3, #24] + 80038c6: 693a ldr r2, [r7, #16] + 80038c8: 4313 orrs r3, r2 + 80038ca: 613b str r3, [r7, #16] btcr_reg |= Init->PageSize; - 80037b4: 683b ldr r3, [r7, #0] - 80037b6: 6b5b ldr r3, [r3, #52] ; 0x34 - 80037b8: 693a ldr r2, [r7, #16] - 80037ba: 4313 orrs r3, r2 - 80037bc: 613b str r3, [r7, #16] + 80038cc: 683b ldr r3, [r7, #0] + 80038ce: 6b5b ldr r3, [r3, #52] ; 0x34 + 80038d0: 693a ldr r2, [r7, #16] + 80038d2: 4313 orrs r3, r2 + 80038d4: 613b str r3, [r7, #16] mask = (FSMC_BCRx_MBKEN | - 80037be: 4b10 ldr r3, [pc, #64] ; (8003800 ) - 80037c0: 60fb str r3, [r7, #12] + 80038d6: 4b10 ldr r3, [pc, #64] ; (8003918 ) + 80038d8: 60fb str r3, [r7, #12] FSMC_BCRx_WAITEN | FSMC_BCRx_EXTMOD | FSMC_BCRx_ASYNCWAIT | FSMC_BCRx_CBURSTRW); mask |= FSMC_BCRx_WRAPMOD; - 80037c2: 68fb ldr r3, [r7, #12] - 80037c4: f443 6380 orr.w r3, r3, #1024 ; 0x400 - 80037c8: 60fb str r3, [r7, #12] + 80038da: 68fb ldr r3, [r7, #12] + 80038dc: f443 6380 orr.w r3, r3, #1024 ; 0x400 + 80038e0: 60fb str r3, [r7, #12] mask |= 0x00070000U; /* CPSIZE to be defined in CMSIS file */ - 80037ca: 68fb ldr r3, [r7, #12] - 80037cc: f443 23e0 orr.w r3, r3, #458752 ; 0x70000 - 80037d0: 60fb str r3, [r7, #12] + 80038e2: 68fb ldr r3, [r7, #12] + 80038e4: f443 23e0 orr.w r3, r3, #458752 ; 0x70000 + 80038e8: 60fb str r3, [r7, #12] MODIFY_REG(Device->BTCR[Init->NSBank], mask, btcr_reg); - 80037d2: 683b ldr r3, [r7, #0] - 80037d4: 681a ldr r2, [r3, #0] - 80037d6: 687b ldr r3, [r7, #4] - 80037d8: f853 2022 ldr.w r2, [r3, r2, lsl #2] - 80037dc: 68fb ldr r3, [r7, #12] - 80037de: 43db mvns r3, r3 - 80037e0: ea02 0103 and.w r1, r2, r3 - 80037e4: 683b ldr r3, [r7, #0] - 80037e6: 681a ldr r2, [r3, #0] - 80037e8: 693b ldr r3, [r7, #16] - 80037ea: 4319 orrs r1, r3 - 80037ec: 687b ldr r3, [r7, #4] - 80037ee: f843 1022 str.w r1, [r3, r2, lsl #2] + 80038ea: 683b ldr r3, [r7, #0] + 80038ec: 681a ldr r2, [r3, #0] + 80038ee: 687b ldr r3, [r7, #4] + 80038f0: f853 2022 ldr.w r2, [r3, r2, lsl #2] + 80038f4: 68fb ldr r3, [r7, #12] + 80038f6: 43db mvns r3, r3 + 80038f8: ea02 0103 and.w r1, r2, r3 + 80038fc: 683b ldr r3, [r7, #0] + 80038fe: 681a ldr r2, [r3, #0] + 8003900: 693b ldr r3, [r7, #16] + 8003902: 4319 orrs r1, r3 + 8003904: 687b ldr r3, [r7, #4] + 8003906: f843 1022 str.w r1, [r3, r2, lsl #2] return HAL_OK; - 80037f2: 2300 movs r3, #0 + 800390a: 2300 movs r3, #0 } - 80037f4: 4618 mov r0, r3 - 80037f6: 371c adds r7, #28 - 80037f8: 46bd mov sp, r7 - 80037fa: bc80 pop {r7} - 80037fc: 4770 bx lr - 80037fe: bf00 nop - 8003800: 0008fb7f .word 0x0008fb7f + 800390c: 4618 mov r0, r3 + 800390e: 371c adds r7, #28 + 8003910: 46bd mov sp, r7 + 8003912: bc80 pop {r7} + 8003914: 4770 bx lr + 8003916: bf00 nop + 8003918: 0008fb7f .word 0x0008fb7f -08003804 : +0800391c : * @param Bank NORSRAM bank number * @retval HAL status */ HAL_StatusTypeDef FSMC_NORSRAM_Timing_Init(FSMC_NORSRAM_TypeDef *Device, FSMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank) { - 8003804: b480 push {r7} - 8003806: b085 sub sp, #20 - 8003808: af00 add r7, sp, #0 - 800380a: 60f8 str r0, [r7, #12] - 800380c: 60b9 str r1, [r7, #8] - 800380e: 607a str r2, [r7, #4] + 800391c: b480 push {r7} + 800391e: b085 sub sp, #20 + 8003920: af00 add r7, sp, #0 + 8003922: 60f8 str r0, [r7, #12] + 8003924: 60b9 str r1, [r7, #8] + 8003926: 607a str r2, [r7, #4] assert_param(IS_FSMC_DATA_LATENCY(Timing->DataLatency)); assert_param(IS_FSMC_ACCESS_MODE(Timing->AccessMode)); assert_param(IS_FSMC_NORSRAM_BANK(Bank)); /* Set FSMC_NORSRAM device timing parameters */ MODIFY_REG(Device->BTCR[Bank + 1U], BTR_CLEAR_MASK, (Timing->AddressSetupTime | - 8003810: 687b ldr r3, [r7, #4] - 8003812: 1c5a adds r2, r3, #1 - 8003814: 68fb ldr r3, [r7, #12] - 8003816: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800381a: f003 4140 and.w r1, r3, #3221225472 ; 0xc0000000 - 800381e: 68bb ldr r3, [r7, #8] - 8003820: 681a ldr r2, [r3, #0] - 8003822: 68bb ldr r3, [r7, #8] - 8003824: 685b ldr r3, [r3, #4] - 8003826: 011b lsls r3, r3, #4 - 8003828: 431a orrs r2, r3 - 800382a: 68bb ldr r3, [r7, #8] - 800382c: 689b ldr r3, [r3, #8] - 800382e: 021b lsls r3, r3, #8 - 8003830: 431a orrs r2, r3 - 8003832: 68bb ldr r3, [r7, #8] - 8003834: 68db ldr r3, [r3, #12] - 8003836: 041b lsls r3, r3, #16 - 8003838: 431a orrs r2, r3 - 800383a: 68bb ldr r3, [r7, #8] - 800383c: 691b ldr r3, [r3, #16] - 800383e: 3b01 subs r3, #1 - 8003840: 051b lsls r3, r3, #20 - 8003842: 431a orrs r2, r3 - 8003844: 68bb ldr r3, [r7, #8] - 8003846: 695b ldr r3, [r3, #20] - 8003848: 3b02 subs r3, #2 - 800384a: 061b lsls r3, r3, #24 - 800384c: 431a orrs r2, r3 - 800384e: 68bb ldr r3, [r7, #8] - 8003850: 699b ldr r3, [r3, #24] - 8003852: 4313 orrs r3, r2 - 8003854: 687a ldr r2, [r7, #4] - 8003856: 3201 adds r2, #1 - 8003858: 4319 orrs r1, r3 - 800385a: 68fb ldr r3, [r7, #12] - 800385c: f843 1022 str.w r1, [r3, r2, lsl #2] + 8003928: 687b ldr r3, [r7, #4] + 800392a: 1c5a adds r2, r3, #1 + 800392c: 68fb ldr r3, [r7, #12] + 800392e: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8003932: f003 4140 and.w r1, r3, #3221225472 ; 0xc0000000 + 8003936: 68bb ldr r3, [r7, #8] + 8003938: 681a ldr r2, [r3, #0] + 800393a: 68bb ldr r3, [r7, #8] + 800393c: 685b ldr r3, [r3, #4] + 800393e: 011b lsls r3, r3, #4 + 8003940: 431a orrs r2, r3 + 8003942: 68bb ldr r3, [r7, #8] + 8003944: 689b ldr r3, [r3, #8] + 8003946: 021b lsls r3, r3, #8 + 8003948: 431a orrs r2, r3 + 800394a: 68bb ldr r3, [r7, #8] + 800394c: 68db ldr r3, [r3, #12] + 800394e: 041b lsls r3, r3, #16 + 8003950: 431a orrs r2, r3 + 8003952: 68bb ldr r3, [r7, #8] + 8003954: 691b ldr r3, [r3, #16] + 8003956: 3b01 subs r3, #1 + 8003958: 051b lsls r3, r3, #20 + 800395a: 431a orrs r2, r3 + 800395c: 68bb ldr r3, [r7, #8] + 800395e: 695b ldr r3, [r3, #20] + 8003960: 3b02 subs r3, #2 + 8003962: 061b lsls r3, r3, #24 + 8003964: 431a orrs r2, r3 + 8003966: 68bb ldr r3, [r7, #8] + 8003968: 699b ldr r3, [r3, #24] + 800396a: 4313 orrs r3, r2 + 800396c: 687a ldr r2, [r7, #4] + 800396e: 3201 adds r2, #1 + 8003970: 4319 orrs r1, r3 + 8003972: 68fb ldr r3, [r7, #12] + 8003974: f843 1022 str.w r1, [r3, r2, lsl #2] ((Timing->BusTurnAroundDuration) << FSMC_BTRx_BUSTURN_Pos) | (((Timing->CLKDivision) - 1U) << FSMC_BTRx_CLKDIV_Pos) | (((Timing->DataLatency) - 2U) << FSMC_BTRx_DATLAT_Pos) | (Timing->AccessMode))); return HAL_OK; - 8003860: 2300 movs r3, #0 + 8003978: 2300 movs r3, #0 } - 8003862: 4618 mov r0, r3 - 8003864: 3714 adds r7, #20 - 8003866: 46bd mov sp, r7 - 8003868: bc80 pop {r7} - 800386a: 4770 bx lr + 800397a: 4618 mov r0, r3 + 800397c: 3714 adds r7, #20 + 800397e: 46bd mov sp, r7 + 8003980: bc80 pop {r7} + 8003982: 4770 bx lr -0800386c : +08003984 : * @retval HAL status */ HAL_StatusTypeDef FSMC_NORSRAM_Extended_Timing_Init(FSMC_NORSRAM_EXTENDED_TypeDef *Device, FSMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank, uint32_t ExtendedMode) { - 800386c: b480 push {r7} - 800386e: b085 sub sp, #20 - 8003870: af00 add r7, sp, #0 - 8003872: 60f8 str r0, [r7, #12] - 8003874: 60b9 str r1, [r7, #8] - 8003876: 607a str r2, [r7, #4] - 8003878: 603b str r3, [r7, #0] + 8003984: b480 push {r7} + 8003986: b085 sub sp, #20 + 8003988: af00 add r7, sp, #0 + 800398a: 60f8 str r0, [r7, #12] + 800398c: 60b9 str r1, [r7, #8] + 800398e: 607a str r2, [r7, #4] + 8003990: 603b str r3, [r7, #0] /* Check the parameters */ assert_param(IS_FSMC_EXTENDED_MODE(ExtendedMode)); /* Set NORSRAM device timing register for write configuration, if extended mode is used */ if (ExtendedMode == FSMC_EXTENDED_MODE_ENABLE) - 800387a: 683b ldr r3, [r7, #0] - 800387c: f5b3 4f80 cmp.w r3, #16384 ; 0x4000 - 8003880: d11d bne.n 80038be + 8003992: 683b ldr r3, [r7, #0] + 8003994: f5b3 4f80 cmp.w r3, #16384 ; 0x4000 + 8003998: d11d bne.n 80039d6 assert_param(IS_FSMC_ACCESS_MODE(Timing->AccessMode)); assert_param(IS_FSMC_NORSRAM_BANK(Bank)); /* Set NORSRAM device timing register for write configuration, if extended mode is used */ #if defined(FSMC_BWTRx_BUSTURN) MODIFY_REG(Device->BWTR[Bank], BWTR_CLEAR_MASK, (Timing->AddressSetupTime | - 8003882: 68fb ldr r3, [r7, #12] - 8003884: 687a ldr r2, [r7, #4] - 8003886: f853 2022 ldr.w r2, [r3, r2, lsl #2] - 800388a: 4b13 ldr r3, [pc, #76] ; (80038d8 ) - 800388c: 4013 ands r3, r2 - 800388e: 68ba ldr r2, [r7, #8] - 8003890: 6811 ldr r1, [r2, #0] - 8003892: 68ba ldr r2, [r7, #8] - 8003894: 6852 ldr r2, [r2, #4] - 8003896: 0112 lsls r2, r2, #4 - 8003898: 4311 orrs r1, r2 - 800389a: 68ba ldr r2, [r7, #8] - 800389c: 6892 ldr r2, [r2, #8] - 800389e: 0212 lsls r2, r2, #8 - 80038a0: 4311 orrs r1, r2 - 80038a2: 68ba ldr r2, [r7, #8] - 80038a4: 6992 ldr r2, [r2, #24] - 80038a6: 4311 orrs r1, r2 - 80038a8: 68ba ldr r2, [r7, #8] - 80038aa: 68d2 ldr r2, [r2, #12] - 80038ac: 0412 lsls r2, r2, #16 - 80038ae: 430a orrs r2, r1 - 80038b0: ea43 0102 orr.w r1, r3, r2 - 80038b4: 68fb ldr r3, [r7, #12] - 80038b6: 687a ldr r2, [r7, #4] - 80038b8: f843 1022 str.w r1, [r3, r2, lsl #2] - 80038bc: e005 b.n 80038ca + 800399a: 68fb ldr r3, [r7, #12] + 800399c: 687a ldr r2, [r7, #4] + 800399e: f853 2022 ldr.w r2, [r3, r2, lsl #2] + 80039a2: 4b13 ldr r3, [pc, #76] ; (80039f0 ) + 80039a4: 4013 ands r3, r2 + 80039a6: 68ba ldr r2, [r7, #8] + 80039a8: 6811 ldr r1, [r2, #0] + 80039aa: 68ba ldr r2, [r7, #8] + 80039ac: 6852 ldr r2, [r2, #4] + 80039ae: 0112 lsls r2, r2, #4 + 80039b0: 4311 orrs r1, r2 + 80039b2: 68ba ldr r2, [r7, #8] + 80039b4: 6892 ldr r2, [r2, #8] + 80039b6: 0212 lsls r2, r2, #8 + 80039b8: 4311 orrs r1, r2 + 80039ba: 68ba ldr r2, [r7, #8] + 80039bc: 6992 ldr r2, [r2, #24] + 80039be: 4311 orrs r1, r2 + 80039c0: 68ba ldr r2, [r7, #8] + 80039c2: 68d2 ldr r2, [r2, #12] + 80039c4: 0412 lsls r2, r2, #16 + 80039c6: 430a orrs r2, r1 + 80039c8: ea43 0102 orr.w r1, r3, r2 + 80039cc: 68fb ldr r3, [r7, #12] + 80039ce: 687a ldr r2, [r7, #4] + 80039d0: f843 1022 str.w r1, [r3, r2, lsl #2] + 80039d4: e005 b.n 80039e2 (((Timing->DataLatency) - 2U) << FSMC_BWTRx_DATLAT_Pos))); #endif /* FSMC_BWTRx_BUSTURN */ } else { Device->BWTR[Bank] = 0x0FFFFFFFU; - 80038be: 68fb ldr r3, [r7, #12] - 80038c0: 687a ldr r2, [r7, #4] - 80038c2: f06f 4170 mvn.w r1, #4026531840 ; 0xf0000000 - 80038c6: f843 1022 str.w r1, [r3, r2, lsl #2] + 80039d6: 68fb ldr r3, [r7, #12] + 80039d8: 687a ldr r2, [r7, #4] + 80039da: f06f 4170 mvn.w r1, #4026531840 ; 0xf0000000 + 80039de: f843 1022 str.w r1, [r3, r2, lsl #2] } return HAL_OK; - 80038ca: 2300 movs r3, #0 + 80039e2: 2300 movs r3, #0 } - 80038cc: 4618 mov r0, r3 - 80038ce: 3714 adds r7, #20 - 80038d0: 46bd mov sp, r7 - 80038d2: bc80 pop {r7} - 80038d4: 4770 bx lr - 80038d6: bf00 nop - 80038d8: cff00000 .word 0xcff00000 + 80039e4: 4618 mov r0, r3 + 80039e6: 3714 adds r7, #20 + 80039e8: 46bd mov sp, r7 + 80039ea: bc80 pop {r7} + 80039ec: 4770 bx lr + 80039ee: bf00 nop + 80039f0: cff00000 .word 0xcff00000 -080038dc : +080039f4 : _lcd_dev lcddev; //管理LCD重要参数 //**************************************************几种快速接口 //写寄存器函数 //regval:寄存器值 void LCD_WR_REG(uint16_t regval) { - 80038dc: b480 push {r7} - 80038de: b083 sub sp, #12 - 80038e0: af00 add r7, sp, #0 - 80038e2: 4603 mov r3, r0 - 80038e4: 80fb strh r3, [r7, #6] + 80039f4: b480 push {r7} + 80039f6: b083 sub sp, #12 + 80039f8: af00 add r7, sp, #0 + 80039fa: 4603 mov r3, r0 + 80039fc: 80fb strh r3, [r7, #6] LCD_REG_ADDRESS=regval;//写入要写的寄存器序号 - 80038e6: f04f 42d8 mov.w r2, #1811939328 ; 0x6c000000 - 80038ea: 88fb ldrh r3, [r7, #6] - 80038ec: 8013 strh r3, [r2, #0] + 80039fe: f04f 42d8 mov.w r2, #1811939328 ; 0x6c000000 + 8003a02: 88fb ldrh r3, [r7, #6] + 8003a04: 8013 strh r3, [r2, #0] } - 80038ee: bf00 nop - 80038f0: 370c adds r7, #12 - 80038f2: 46bd mov sp, r7 - 80038f4: bc80 pop {r7} - 80038f6: 4770 bx lr + 8003a06: bf00 nop + 8003a08: 370c adds r7, #12 + 8003a0a: 46bd mov sp, r7 + 8003a0c: bc80 pop {r7} + 8003a0e: 4770 bx lr -080038f8 : +08003a10 : //写LCD数据 //data:要写入的值 void LCD_WR_DATA(uint16_t data) { - 80038f8: b480 push {r7} - 80038fa: b083 sub sp, #12 - 80038fc: af00 add r7, sp, #0 - 80038fe: 4603 mov r3, r0 - 8003900: 80fb strh r3, [r7, #6] + 8003a10: b480 push {r7} + 8003a12: b083 sub sp, #12 + 8003a14: af00 add r7, sp, #0 + 8003a16: 4603 mov r3, r0 + 8003a18: 80fb strh r3, [r7, #6] LCD_DATA_ADDRESS=data; - 8003902: 4a04 ldr r2, [pc, #16] ; (8003914 ) - 8003904: 88fb ldrh r3, [r7, #6] - 8003906: 8013 strh r3, [r2, #0] + 8003a1a: 4a04 ldr r2, [pc, #16] ; (8003a2c ) + 8003a1c: 88fb ldrh r3, [r7, #6] + 8003a1e: 8013 strh r3, [r2, #0] } - 8003908: bf00 nop - 800390a: 370c adds r7, #12 - 800390c: 46bd mov sp, r7 - 800390e: bc80 pop {r7} - 8003910: 4770 bx lr - 8003912: bf00 nop - 8003914: 6c000800 .word 0x6c000800 + 8003a20: bf00 nop + 8003a22: 370c adds r7, #12 + 8003a24: 46bd mov sp, r7 + 8003a26: bc80 pop {r7} + 8003a28: 4770 bx lr + 8003a2a: bf00 nop + 8003a2c: 6c000800 .word 0x6c000800 -08003918 : +08003a30 : } //写寄存器 //LCD_Reg:寄存器地址 //LCD_RegValue:要写入的数据 void LCD_WriteReg(uint16_t LCD_Reg, uint16_t LCD_RegValue) { - 8003918: b480 push {r7} - 800391a: b083 sub sp, #12 - 800391c: af00 add r7, sp, #0 - 800391e: 4603 mov r3, r0 - 8003920: 460a mov r2, r1 - 8003922: 80fb strh r3, [r7, #6] - 8003924: 4613 mov r3, r2 - 8003926: 80bb strh r3, [r7, #4] + 8003a30: b480 push {r7} + 8003a32: b083 sub sp, #12 + 8003a34: af00 add r7, sp, #0 + 8003a36: 4603 mov r3, r0 + 8003a38: 460a mov r2, r1 + 8003a3a: 80fb strh r3, [r7, #6] + 8003a3c: 4613 mov r3, r2 + 8003a3e: 80bb strh r3, [r7, #4] LCD_REG_ADDRESS = LCD_Reg; //写入要写的寄存器序号 - 8003928: f04f 42d8 mov.w r2, #1811939328 ; 0x6c000000 - 800392c: 88fb ldrh r3, [r7, #6] - 800392e: 8013 strh r3, [r2, #0] + 8003a40: f04f 42d8 mov.w r2, #1811939328 ; 0x6c000000 + 8003a44: 88fb ldrh r3, [r7, #6] + 8003a46: 8013 strh r3, [r2, #0] LCD_DATA_ADDRESS = LCD_RegValue;//写入数据 - 8003930: 4a03 ldr r2, [pc, #12] ; (8003940 ) - 8003932: 88bb ldrh r3, [r7, #4] - 8003934: 8013 strh r3, [r2, #0] + 8003a48: 4a03 ldr r2, [pc, #12] ; (8003a58 ) + 8003a4a: 88bb ldrh r3, [r7, #4] + 8003a4c: 8013 strh r3, [r2, #0] } - 8003936: bf00 nop - 8003938: 370c adds r7, #12 - 800393a: 46bd mov sp, r7 - 800393c: bc80 pop {r7} - 800393e: 4770 bx lr - 8003940: 6c000800 .word 0x6c000800 + 8003a4e: bf00 nop + 8003a50: 370c adds r7, #12 + 8003a52: 46bd mov sp, r7 + 8003a54: bc80 pop {r7} + 8003a56: 4770 bx lr + 8003a58: 6c000800 .word 0x6c000800 -08003944 : +08003a5c : //读寄存器 //LCD_Reg:寄存器地址 //返回值:读到的数据 uint16_t LCD_ReadReg(uint16_t LCD_Reg) { - 8003944: b480 push {r7} - 8003946: b083 sub sp, #12 - 8003948: af00 add r7, sp, #0 - 800394a: 4603 mov r3, r0 - 800394c: 80fb strh r3, [r7, #6] + 8003a5c: b480 push {r7} + 8003a5e: b083 sub sp, #12 + 8003a60: af00 add r7, sp, #0 + 8003a62: 4603 mov r3, r0 + 8003a64: 80fb strh r3, [r7, #6] LCD_REG_ADDRESS=LCD_Reg; //写入要读的寄存器序号 - 800394e: f04f 42d8 mov.w r2, #1811939328 ; 0x6c000000 - 8003952: 88fb ldrh r3, [r7, #6] - 8003954: 8013 strh r3, [r2, #0] + 8003a66: f04f 42d8 mov.w r2, #1811939328 ; 0x6c000000 + 8003a6a: 88fb ldrh r3, [r7, #6] + 8003a6c: 8013 strh r3, [r2, #0] //delay_us(5); return LCD_DATA_ADDRESS; //返回读到的值 - 8003956: 4b04 ldr r3, [pc, #16] ; (8003968 ) - 8003958: 881b ldrh r3, [r3, #0] - 800395a: b29b uxth r3, r3 + 8003a6e: 4b04 ldr r3, [pc, #16] ; (8003a80 ) + 8003a70: 881b ldrh r3, [r3, #0] + 8003a72: b29b uxth r3, r3 } - 800395c: 4618 mov r0, r3 - 800395e: 370c adds r7, #12 - 8003960: 46bd mov sp, r7 - 8003962: bc80 pop {r7} - 8003964: 4770 bx lr - 8003966: bf00 nop - 8003968: 6c000800 .word 0x6c000800 + 8003a74: 4618 mov r0, r3 + 8003a76: 370c adds r7, #12 + 8003a78: 46bd mov sp, r7 + 8003a7a: bc80 pop {r7} + 8003a7c: 4770 bx lr + 8003a7e: bf00 nop + 8003a80: 6c000800 .word 0x6c000800 -0800396c : +08003a84 : //注意:其他函数可能会受到此函数设置的影响(尤其是9341/6804这两个奇葩), //所以,一般设置为L2R_U2D即可,如果设置为其他扫描方式,可能导致显示不正常. //dir:0~7,代表8个方向(具体定义见lcd.h) //9320/9325/9328/4531/4535/1505/b505/8989/5408/9341/5310等IC已经实际测试 void LCD_Scan_Dir(uint8_t dir) { - 800396c: b580 push {r7, lr} - 800396e: b084 sub sp, #16 - 8003970: af00 add r7, sp, #0 - 8003972: 4603 mov r3, r0 - 8003974: 71fb strb r3, [r7, #7] + 8003a84: b580 push {r7, lr} + 8003a86: b084 sub sp, #16 + 8003a88: af00 add r7, sp, #0 + 8003a8a: 4603 mov r3, r0 + 8003a8c: 71fb strb r3, [r7, #7] uint16_t regval=0; - 8003976: 2300 movs r3, #0 - 8003978: 81fb strh r3, [r7, #14] + 8003a8e: 2300 movs r3, #0 + 8003a90: 81fb strh r3, [r7, #14] uint8_t dirreg=0; - 800397a: 2300 movs r3, #0 - 800397c: 737b strb r3, [r7, #13] + 8003a92: 2300 movs r3, #0 + 8003a94: 737b strb r3, [r7, #13] uint16_t temp; if(lcddev.dir==1&&lcddev.id!=0X6804)//横屏时,对6804不改变扫描方向! - 800397e: 4ba8 ldr r3, [pc, #672] ; (8003c20 ) - 8003980: 799b ldrb r3, [r3, #6] - 8003982: 2b01 cmp r3, #1 - 8003984: d134 bne.n 80039f0 - 8003986: 4ba6 ldr r3, [pc, #664] ; (8003c20 ) - 8003988: 889b ldrh r3, [r3, #4] - 800398a: f646 0204 movw r2, #26628 ; 0x6804 - 800398e: 4293 cmp r3, r2 - 8003990: d02e beq.n 80039f0 + 8003a96: 4ba8 ldr r3, [pc, #672] ; (8003d38 ) + 8003a98: 799b ldrb r3, [r3, #6] + 8003a9a: 2b01 cmp r3, #1 + 8003a9c: d134 bne.n 8003b08 + 8003a9e: 4ba6 ldr r3, [pc, #664] ; (8003d38 ) + 8003aa0: 889b ldrh r3, [r3, #4] + 8003aa2: f646 0204 movw r2, #26628 ; 0x6804 + 8003aa6: 4293 cmp r3, r2 + 8003aa8: d02e beq.n 8003b08 { switch(dir)//方向转换 - 8003992: 79fb ldrb r3, [r7, #7] - 8003994: 2b07 cmp r3, #7 - 8003996: d82c bhi.n 80039f2 - 8003998: a201 add r2, pc, #4 ; (adr r2, 80039a0 ) - 800399a: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 800399e: bf00 nop - 80039a0: 080039c1 .word 0x080039c1 - 80039a4: 080039c7 .word 0x080039c7 - 80039a8: 080039cd .word 0x080039cd - 80039ac: 080039d3 .word 0x080039d3 - 80039b0: 080039d9 .word 0x080039d9 - 80039b4: 080039df .word 0x080039df - 80039b8: 080039e5 .word 0x080039e5 - 80039bc: 080039eb .word 0x080039eb + 8003aaa: 79fb ldrb r3, [r7, #7] + 8003aac: 2b07 cmp r3, #7 + 8003aae: d82c bhi.n 8003b0a + 8003ab0: a201 add r2, pc, #4 ; (adr r2, 8003ab8 ) + 8003ab2: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8003ab6: bf00 nop + 8003ab8: 08003ad9 .word 0x08003ad9 + 8003abc: 08003adf .word 0x08003adf + 8003ac0: 08003ae5 .word 0x08003ae5 + 8003ac4: 08003aeb .word 0x08003aeb + 8003ac8: 08003af1 .word 0x08003af1 + 8003acc: 08003af7 .word 0x08003af7 + 8003ad0: 08003afd .word 0x08003afd + 8003ad4: 08003b03 .word 0x08003b03 { case 0:dir=6;break; - 80039c0: 2306 movs r3, #6 - 80039c2: 71fb strb r3, [r7, #7] - 80039c4: e015 b.n 80039f2 + 8003ad8: 2306 movs r3, #6 + 8003ada: 71fb strb r3, [r7, #7] + 8003adc: e015 b.n 8003b0a case 1:dir=7;break; - 80039c6: 2307 movs r3, #7 - 80039c8: 71fb strb r3, [r7, #7] - 80039ca: e012 b.n 80039f2 + 8003ade: 2307 movs r3, #7 + 8003ae0: 71fb strb r3, [r7, #7] + 8003ae2: e012 b.n 8003b0a case 2:dir=4;break; - 80039cc: 2304 movs r3, #4 - 80039ce: 71fb strb r3, [r7, #7] - 80039d0: e00f b.n 80039f2 + 8003ae4: 2304 movs r3, #4 + 8003ae6: 71fb strb r3, [r7, #7] + 8003ae8: e00f b.n 8003b0a case 3:dir=5;break; - 80039d2: 2305 movs r3, #5 - 80039d4: 71fb strb r3, [r7, #7] - 80039d6: e00c b.n 80039f2 + 8003aea: 2305 movs r3, #5 + 8003aec: 71fb strb r3, [r7, #7] + 8003aee: e00c b.n 8003b0a case 4:dir=1;break; - 80039d8: 2301 movs r3, #1 - 80039da: 71fb strb r3, [r7, #7] - 80039dc: e009 b.n 80039f2 + 8003af0: 2301 movs r3, #1 + 8003af2: 71fb strb r3, [r7, #7] + 8003af4: e009 b.n 8003b0a case 5:dir=0;break; - 80039de: 2300 movs r3, #0 - 80039e0: 71fb strb r3, [r7, #7] - 80039e2: e006 b.n 80039f2 + 8003af6: 2300 movs r3, #0 + 8003af8: 71fb strb r3, [r7, #7] + 8003afa: e006 b.n 8003b0a case 6:dir=3;break; - 80039e4: 2303 movs r3, #3 - 80039e6: 71fb strb r3, [r7, #7] - 80039e8: e003 b.n 80039f2 + 8003afc: 2303 movs r3, #3 + 8003afe: 71fb strb r3, [r7, #7] + 8003b00: e003 b.n 8003b0a case 7:dir=2;break; - 80039ea: 2302 movs r3, #2 - 80039ec: 71fb strb r3, [r7, #7] - 80039ee: e000 b.n 80039f2 + 8003b02: 2302 movs r3, #2 + 8003b04: 71fb strb r3, [r7, #7] + 8003b06: e000 b.n 8003b0a } } - 80039f0: bf00 nop + 8003b08: bf00 nop if(lcddev.id==0x9341||lcddev.id==0X6804||lcddev.id==0X5310)//9341/6804/5310,很特殊 - 80039f2: 4b8b ldr r3, [pc, #556] ; (8003c20 ) - 80039f4: 889b ldrh r3, [r3, #4] - 80039f6: f249 3241 movw r2, #37697 ; 0x9341 - 80039fa: 4293 cmp r3, r2 - 80039fc: d00c beq.n 8003a18 - 80039fe: 4b88 ldr r3, [pc, #544] ; (8003c20 ) - 8003a00: 889b ldrh r3, [r3, #4] - 8003a02: f646 0204 movw r2, #26628 ; 0x6804 - 8003a06: 4293 cmp r3, r2 - 8003a08: d006 beq.n 8003a18 - 8003a0a: 4b85 ldr r3, [pc, #532] ; (8003c20 ) - 8003a0c: 889b ldrh r3, [r3, #4] - 8003a0e: f245 3210 movw r2, #21264 ; 0x5310 - 8003a12: 4293 cmp r3, r2 - 8003a14: f040 80bb bne.w 8003b8e + 8003b0a: 4b8b ldr r3, [pc, #556] ; (8003d38 ) + 8003b0c: 889b ldrh r3, [r3, #4] + 8003b0e: f249 3241 movw r2, #37697 ; 0x9341 + 8003b12: 4293 cmp r3, r2 + 8003b14: d00c beq.n 8003b30 + 8003b16: 4b88 ldr r3, [pc, #544] ; (8003d38 ) + 8003b18: 889b ldrh r3, [r3, #4] + 8003b1a: f646 0204 movw r2, #26628 ; 0x6804 + 8003b1e: 4293 cmp r3, r2 + 8003b20: d006 beq.n 8003b30 + 8003b22: 4b85 ldr r3, [pc, #532] ; (8003d38 ) + 8003b24: 889b ldrh r3, [r3, #4] + 8003b26: f245 3210 movw r2, #21264 ; 0x5310 + 8003b2a: 4293 cmp r3, r2 + 8003b2c: f040 80bb bne.w 8003ca6 { switch(dir) - 8003a18: 79fb ldrb r3, [r7, #7] - 8003a1a: 2b07 cmp r3, #7 - 8003a1c: d835 bhi.n 8003a8a - 8003a1e: a201 add r2, pc, #4 ; (adr r2, 8003a24 ) - 8003a20: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8003a24: 08003a8b .word 0x08003a8b - 8003a28: 08003a45 .word 0x08003a45 - 8003a2c: 08003a4f .word 0x08003a4f - 8003a30: 08003a59 .word 0x08003a59 - 8003a34: 08003a63 .word 0x08003a63 - 8003a38: 08003a6d .word 0x08003a6d - 8003a3c: 08003a77 .word 0x08003a77 - 8003a40: 08003a81 .word 0x08003a81 + 8003b30: 79fb ldrb r3, [r7, #7] + 8003b32: 2b07 cmp r3, #7 + 8003b34: d835 bhi.n 8003ba2 + 8003b36: a201 add r2, pc, #4 ; (adr r2, 8003b3c ) + 8003b38: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8003b3c: 08003ba3 .word 0x08003ba3 + 8003b40: 08003b5d .word 0x08003b5d + 8003b44: 08003b67 .word 0x08003b67 + 8003b48: 08003b71 .word 0x08003b71 + 8003b4c: 08003b7b .word 0x08003b7b + 8003b50: 08003b85 .word 0x08003b85 + 8003b54: 08003b8f .word 0x08003b8f + 8003b58: 08003b99 .word 0x08003b99 { case L2R_U2D://从左到右,从上到下 regval|=(0<<7)|(0<<6)|(0<<5); break; case L2R_D2U://从左到右,从下到上 regval|=(1<<7)|(0<<6)|(0<<5); - 8003a44: 89fb ldrh r3, [r7, #14] - 8003a46: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8003a4a: 81fb strh r3, [r7, #14] + 8003b5c: 89fb ldrh r3, [r7, #14] + 8003b5e: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8003b62: 81fb strh r3, [r7, #14] break; - 8003a4c: e01d b.n 8003a8a + 8003b64: e01d b.n 8003ba2 case R2L_U2D://从右到左,从上到下 regval|=(0<<7)|(1<<6)|(0<<5); - 8003a4e: 89fb ldrh r3, [r7, #14] - 8003a50: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8003a54: 81fb strh r3, [r7, #14] + 8003b66: 89fb ldrh r3, [r7, #14] + 8003b68: f043 0340 orr.w r3, r3, #64 ; 0x40 + 8003b6c: 81fb strh r3, [r7, #14] break; - 8003a56: e018 b.n 8003a8a + 8003b6e: e018 b.n 8003ba2 case R2L_D2U://从右到左,从下到上 regval|=(1<<7)|(1<<6)|(0<<5); - 8003a58: 89fb ldrh r3, [r7, #14] - 8003a5a: f043 03c0 orr.w r3, r3, #192 ; 0xc0 - 8003a5e: 81fb strh r3, [r7, #14] + 8003b70: 89fb ldrh r3, [r7, #14] + 8003b72: f043 03c0 orr.w r3, r3, #192 ; 0xc0 + 8003b76: 81fb strh r3, [r7, #14] break; - 8003a60: e013 b.n 8003a8a + 8003b78: e013 b.n 8003ba2 case U2D_L2R://从上到下,从左到右 regval|=(0<<7)|(0<<6)|(1<<5); - 8003a62: 89fb ldrh r3, [r7, #14] - 8003a64: f043 0320 orr.w r3, r3, #32 - 8003a68: 81fb strh r3, [r7, #14] + 8003b7a: 89fb ldrh r3, [r7, #14] + 8003b7c: f043 0320 orr.w r3, r3, #32 + 8003b80: 81fb strh r3, [r7, #14] break; - 8003a6a: e00e b.n 8003a8a + 8003b82: e00e b.n 8003ba2 case U2D_R2L://从上到下,从右到左 regval|=(0<<7)|(1<<6)|(1<<5); - 8003a6c: 89fb ldrh r3, [r7, #14] - 8003a6e: f043 0360 orr.w r3, r3, #96 ; 0x60 - 8003a72: 81fb strh r3, [r7, #14] + 8003b84: 89fb ldrh r3, [r7, #14] + 8003b86: f043 0360 orr.w r3, r3, #96 ; 0x60 + 8003b8a: 81fb strh r3, [r7, #14] break; - 8003a74: e009 b.n 8003a8a + 8003b8c: e009 b.n 8003ba2 case D2U_L2R://从下到上,从左到右 regval|=(1<<7)|(0<<6)|(1<<5); - 8003a76: 89fb ldrh r3, [r7, #14] - 8003a78: f043 03a0 orr.w r3, r3, #160 ; 0xa0 - 8003a7c: 81fb strh r3, [r7, #14] + 8003b8e: 89fb ldrh r3, [r7, #14] + 8003b90: f043 03a0 orr.w r3, r3, #160 ; 0xa0 + 8003b94: 81fb strh r3, [r7, #14] break; - 8003a7e: e004 b.n 8003a8a + 8003b96: e004 b.n 8003ba2 case D2U_R2L://从下到上,从右到左 regval|=(1<<7)|(1<<6)|(1<<5); - 8003a80: 89fb ldrh r3, [r7, #14] - 8003a82: f043 03e0 orr.w r3, r3, #224 ; 0xe0 - 8003a86: 81fb strh r3, [r7, #14] + 8003b98: 89fb ldrh r3, [r7, #14] + 8003b9a: f043 03e0 orr.w r3, r3, #224 ; 0xe0 + 8003b9e: 81fb strh r3, [r7, #14] break; - 8003a88: bf00 nop + 8003ba0: bf00 nop } dirreg=0X36; - 8003a8a: 2336 movs r3, #54 ; 0x36 - 8003a8c: 737b strb r3, [r7, #13] + 8003ba2: 2336 movs r3, #54 ; 0x36 + 8003ba4: 737b strb r3, [r7, #13] if(lcddev.id!=0X5310)regval|=0X08;//5310不需要BGR - 8003a8e: 4b64 ldr r3, [pc, #400] ; (8003c20 ) - 8003a90: 889b ldrh r3, [r3, #4] - 8003a92: f245 3210 movw r2, #21264 ; 0x5310 - 8003a96: 4293 cmp r3, r2 - 8003a98: d003 beq.n 8003aa2 - 8003a9a: 89fb ldrh r3, [r7, #14] - 8003a9c: f043 0308 orr.w r3, r3, #8 - 8003aa0: 81fb strh r3, [r7, #14] + 8003ba6: 4b64 ldr r3, [pc, #400] ; (8003d38 ) + 8003ba8: 889b ldrh r3, [r3, #4] + 8003baa: f245 3210 movw r2, #21264 ; 0x5310 + 8003bae: 4293 cmp r3, r2 + 8003bb0: d003 beq.n 8003bba + 8003bb2: 89fb ldrh r3, [r7, #14] + 8003bb4: f043 0308 orr.w r3, r3, #8 + 8003bb8: 81fb strh r3, [r7, #14] if(lcddev.id==0X6804)regval|=0x02;//6804的BIT6和9341的反了 - 8003aa2: 4b5f ldr r3, [pc, #380] ; (8003c20 ) - 8003aa4: 889b ldrh r3, [r3, #4] - 8003aa6: f646 0204 movw r2, #26628 ; 0x6804 - 8003aaa: 4293 cmp r3, r2 - 8003aac: d103 bne.n 8003ab6 - 8003aae: 89fb ldrh r3, [r7, #14] - 8003ab0: f043 0302 orr.w r3, r3, #2 - 8003ab4: 81fb strh r3, [r7, #14] + 8003bba: 4b5f ldr r3, [pc, #380] ; (8003d38 ) + 8003bbc: 889b ldrh r3, [r3, #4] + 8003bbe: f646 0204 movw r2, #26628 ; 0x6804 + 8003bc2: 4293 cmp r3, r2 + 8003bc4: d103 bne.n 8003bce + 8003bc6: 89fb ldrh r3, [r7, #14] + 8003bc8: f043 0302 orr.w r3, r3, #2 + 8003bcc: 81fb strh r3, [r7, #14] LCD_WriteReg(dirreg,regval); - 8003ab6: 7b7b ldrb r3, [r7, #13] - 8003ab8: b29b uxth r3, r3 - 8003aba: 89fa ldrh r2, [r7, #14] - 8003abc: 4611 mov r1, r2 - 8003abe: 4618 mov r0, r3 - 8003ac0: f7ff ff2a bl 8003918 + 8003bce: 7b7b ldrb r3, [r7, #13] + 8003bd0: b29b uxth r3, r3 + 8003bd2: 89fa ldrh r2, [r7, #14] + 8003bd4: 4611 mov r1, r2 + 8003bd6: 4618 mov r0, r3 + 8003bd8: f7ff ff2a bl 8003a30 if((regval&0X20)||lcddev.dir==1) - 8003ac4: 89fb ldrh r3, [r7, #14] - 8003ac6: f003 0320 and.w r3, r3, #32 - 8003aca: 2b00 cmp r3, #0 - 8003acc: d103 bne.n 8003ad6 - 8003ace: 4b54 ldr r3, [pc, #336] ; (8003c20 ) - 8003ad0: 799b ldrb r3, [r3, #6] - 8003ad2: 2b01 cmp r3, #1 - 8003ad4: d110 bne.n 8003af8 + 8003bdc: 89fb ldrh r3, [r7, #14] + 8003bde: f003 0320 and.w r3, r3, #32 + 8003be2: 2b00 cmp r3, #0 + 8003be4: d103 bne.n 8003bee + 8003be6: 4b54 ldr r3, [pc, #336] ; (8003d38 ) + 8003be8: 799b ldrb r3, [r3, #6] + 8003bea: 2b01 cmp r3, #1 + 8003bec: d110 bne.n 8003c10 { if(lcddev.width) - 8003ad8: 881a ldrh r2, [r3, #0] - 8003ada: 4b51 ldr r3, [pc, #324] ; (8003c20 ) - 8003adc: 885b ldrh r3, [r3, #2] - 8003ade: 429a cmp r2, r3 - 8003ae0: d21a bcs.n 8003b18 + 8003bee: 4b52 ldr r3, [pc, #328] ; (8003d38 ) + 8003bf0: 881a ldrh r2, [r3, #0] + 8003bf2: 4b51 ldr r3, [pc, #324] ; (8003d38 ) + 8003bf4: 885b ldrh r3, [r3, #2] + 8003bf6: 429a cmp r2, r3 + 8003bf8: d21a bcs.n 8003c30 { temp=lcddev.width; - 8003ae2: 4b4f ldr r3, [pc, #316] ; (8003c20 ) - 8003ae4: 881b ldrh r3, [r3, #0] - 8003ae6: 817b strh r3, [r7, #10] + 8003bfa: 4b4f ldr r3, [pc, #316] ; (8003d38 ) + 8003bfc: 881b ldrh r3, [r3, #0] + 8003bfe: 817b strh r3, [r7, #10] lcddev.width=lcddev.height; - 8003ae8: 4b4d ldr r3, [pc, #308] ; (8003c20 ) - 8003aea: 885a ldrh r2, [r3, #2] - 8003aec: 4b4c ldr r3, [pc, #304] ; (8003c20 ) - 8003aee: 801a strh r2, [r3, #0] + 8003c00: 4b4d ldr r3, [pc, #308] ; (8003d38 ) + 8003c02: 885a ldrh r2, [r3, #2] + 8003c04: 4b4c ldr r3, [pc, #304] ; (8003d38 ) + 8003c06: 801a strh r2, [r3, #0] lcddev.height=temp; - 8003af0: 4a4b ldr r2, [pc, #300] ; (8003c20 ) - 8003af2: 897b ldrh r3, [r7, #10] - 8003af4: 8053 strh r3, [r2, #2] + 8003c08: 4a4b ldr r2, [pc, #300] ; (8003d38 ) + 8003c0a: 897b ldrh r3, [r7, #10] + 8003c0c: 8053 strh r3, [r2, #2] if(lcddev.width + 8003c0e: e00f b.n 8003c30 } }else { if(lcddev.width>lcddev.height)//交换X,Y - 8003af8: 4b49 ldr r3, [pc, #292] ; (8003c20 ) - 8003afa: 881a ldrh r2, [r3, #0] - 8003afc: 4b48 ldr r3, [pc, #288] ; (8003c20 ) - 8003afe: 885b ldrh r3, [r3, #2] - 8003b00: 429a cmp r2, r3 - 8003b02: d909 bls.n 8003b18 + 8003c10: 4b49 ldr r3, [pc, #292] ; (8003d38 ) + 8003c12: 881a ldrh r2, [r3, #0] + 8003c14: 4b48 ldr r3, [pc, #288] ; (8003d38 ) + 8003c16: 885b ldrh r3, [r3, #2] + 8003c18: 429a cmp r2, r3 + 8003c1a: d909 bls.n 8003c30 { temp=lcddev.width; - 8003b04: 4b46 ldr r3, [pc, #280] ; (8003c20 ) - 8003b06: 881b ldrh r3, [r3, #0] - 8003b08: 817b strh r3, [r7, #10] + 8003c1c: 4b46 ldr r3, [pc, #280] ; (8003d38 ) + 8003c1e: 881b ldrh r3, [r3, #0] + 8003c20: 817b strh r3, [r7, #10] lcddev.width=lcddev.height; - 8003b0a: 4b45 ldr r3, [pc, #276] ; (8003c20 ) - 8003b0c: 885a ldrh r2, [r3, #2] - 8003b0e: 4b44 ldr r3, [pc, #272] ; (8003c20 ) - 8003b10: 801a strh r2, [r3, #0] + 8003c22: 4b45 ldr r3, [pc, #276] ; (8003d38 ) + 8003c24: 885a ldrh r2, [r3, #2] + 8003c26: 4b44 ldr r3, [pc, #272] ; (8003d38 ) + 8003c28: 801a strh r2, [r3, #0] lcddev.height=temp; - 8003b12: 4a43 ldr r2, [pc, #268] ; (8003c20 ) - 8003b14: 897b ldrh r3, [r7, #10] - 8003b16: 8053 strh r3, [r2, #2] + 8003c2a: 4a43 ldr r2, [pc, #268] ; (8003d38 ) + 8003c2c: 897b ldrh r3, [r7, #10] + 8003c2e: 8053 strh r3, [r2, #2] } } LCD_WR_REG(lcddev.setxcmd); - 8003b18: 4b41 ldr r3, [pc, #260] ; (8003c20 ) - 8003b1a: 7a1b ldrb r3, [r3, #8] - 8003b1c: b29b uxth r3, r3 - 8003b1e: 4618 mov r0, r3 - 8003b20: f7ff fedc bl 80038dc + 8003c30: 4b41 ldr r3, [pc, #260] ; (8003d38 ) + 8003c32: 7a1b ldrb r3, [r3, #8] + 8003c34: b29b uxth r3, r3 + 8003c36: 4618 mov r0, r3 + 8003c38: f7ff fedc bl 80039f4 LCD_WR_DATA(0);LCD_WR_DATA(0); - 8003b24: 2000 movs r0, #0 - 8003b26: f7ff fee7 bl 80038f8 - 8003b2a: 2000 movs r0, #0 - 8003b2c: f7ff fee4 bl 80038f8 + 8003c3c: 2000 movs r0, #0 + 8003c3e: f7ff fee7 bl 8003a10 + 8003c42: 2000 movs r0, #0 + 8003c44: f7ff fee4 bl 8003a10 LCD_WR_DATA((lcddev.width-1)>>8);LCD_WR_DATA((lcddev.width-1)&0XFF); - 8003b30: 4b3b ldr r3, [pc, #236] ; (8003c20 ) - 8003b32: 881b ldrh r3, [r3, #0] - 8003b34: 3b01 subs r3, #1 - 8003b36: 121b asrs r3, r3, #8 - 8003b38: b29b uxth r3, r3 - 8003b3a: 4618 mov r0, r3 - 8003b3c: f7ff fedc bl 80038f8 - 8003b40: 4b37 ldr r3, [pc, #220] ; (8003c20 ) - 8003b42: 881b ldrh r3, [r3, #0] - 8003b44: 3b01 subs r3, #1 - 8003b46: b29b uxth r3, r3 - 8003b48: b2db uxtb r3, r3 - 8003b4a: b29b uxth r3, r3 - 8003b4c: 4618 mov r0, r3 - 8003b4e: f7ff fed3 bl 80038f8 + 8003c48: 4b3b ldr r3, [pc, #236] ; (8003d38 ) + 8003c4a: 881b ldrh r3, [r3, #0] + 8003c4c: 3b01 subs r3, #1 + 8003c4e: 121b asrs r3, r3, #8 + 8003c50: b29b uxth r3, r3 + 8003c52: 4618 mov r0, r3 + 8003c54: f7ff fedc bl 8003a10 + 8003c58: 4b37 ldr r3, [pc, #220] ; (8003d38 ) + 8003c5a: 881b ldrh r3, [r3, #0] + 8003c5c: 3b01 subs r3, #1 + 8003c5e: b29b uxth r3, r3 + 8003c60: b2db uxtb r3, r3 + 8003c62: b29b uxth r3, r3 + 8003c64: 4618 mov r0, r3 + 8003c66: f7ff fed3 bl 8003a10 LCD_WR_REG(lcddev.setycmd); - 8003b52: 4b33 ldr r3, [pc, #204] ; (8003c20 ) - 8003b54: 7a5b ldrb r3, [r3, #9] - 8003b56: b29b uxth r3, r3 - 8003b58: 4618 mov r0, r3 - 8003b5a: f7ff febf bl 80038dc + 8003c6a: 4b33 ldr r3, [pc, #204] ; (8003d38 ) + 8003c6c: 7a5b ldrb r3, [r3, #9] + 8003c6e: b29b uxth r3, r3 + 8003c70: 4618 mov r0, r3 + 8003c72: f7ff febf bl 80039f4 LCD_WR_DATA(0);LCD_WR_DATA(0); - 8003b5e: 2000 movs r0, #0 - 8003b60: f7ff feca bl 80038f8 - 8003b64: 2000 movs r0, #0 - 8003b66: f7ff fec7 bl 80038f8 + 8003c76: 2000 movs r0, #0 + 8003c78: f7ff feca bl 8003a10 + 8003c7c: 2000 movs r0, #0 + 8003c7e: f7ff fec7 bl 8003a10 LCD_WR_DATA((lcddev.height-1)>>8);LCD_WR_DATA((lcddev.height-1)&0XFF); - 8003b6a: 4b2d ldr r3, [pc, #180] ; (8003c20 ) - 8003b6c: 885b ldrh r3, [r3, #2] - 8003b6e: 3b01 subs r3, #1 - 8003b70: 121b asrs r3, r3, #8 - 8003b72: b29b uxth r3, r3 - 8003b74: 4618 mov r0, r3 - 8003b76: f7ff febf bl 80038f8 - 8003b7a: 4b29 ldr r3, [pc, #164] ; (8003c20 ) - 8003b7c: 885b ldrh r3, [r3, #2] - 8003b7e: 3b01 subs r3, #1 - 8003b80: b29b uxth r3, r3 - 8003b82: b2db uxtb r3, r3 - 8003b84: b29b uxth r3, r3 - 8003b86: 4618 mov r0, r3 - 8003b88: f7ff feb6 bl 80038f8 - 8003b8c: e058 b.n 8003c40 + 8003c82: 4b2d ldr r3, [pc, #180] ; (8003d38 ) + 8003c84: 885b ldrh r3, [r3, #2] + 8003c86: 3b01 subs r3, #1 + 8003c88: 121b asrs r3, r3, #8 + 8003c8a: b29b uxth r3, r3 + 8003c8c: 4618 mov r0, r3 + 8003c8e: f7ff febf bl 8003a10 + 8003c92: 4b29 ldr r3, [pc, #164] ; (8003d38 ) + 8003c94: 885b ldrh r3, [r3, #2] + 8003c96: 3b01 subs r3, #1 + 8003c98: b29b uxth r3, r3 + 8003c9a: b2db uxtb r3, r3 + 8003c9c: b29b uxth r3, r3 + 8003c9e: 4618 mov r0, r3 + 8003ca0: f7ff feb6 bl 8003a10 + 8003ca4: e058 b.n 8003d58 }else { switch(dir) - 8003b8e: 79fb ldrb r3, [r7, #7] - 8003b90: 2b07 cmp r3, #7 - 8003b92: d836 bhi.n 8003c02 - 8003b94: a201 add r2, pc, #4 ; (adr r2, 8003b9c ) - 8003b96: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8003b9a: bf00 nop - 8003b9c: 08003bbd .word 0x08003bbd - 8003ba0: 08003bc7 .word 0x08003bc7 - 8003ba4: 08003bd1 .word 0x08003bd1 - 8003ba8: 08003c03 .word 0x08003c03 - 8003bac: 08003bdb .word 0x08003bdb - 8003bb0: 08003be5 .word 0x08003be5 - 8003bb4: 08003bef .word 0x08003bef - 8003bb8: 08003bf9 .word 0x08003bf9 + 8003ca6: 79fb ldrb r3, [r7, #7] + 8003ca8: 2b07 cmp r3, #7 + 8003caa: d836 bhi.n 8003d1a + 8003cac: a201 add r2, pc, #4 ; (adr r2, 8003cb4 ) + 8003cae: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8003cb2: bf00 nop + 8003cb4: 08003cd5 .word 0x08003cd5 + 8003cb8: 08003cdf .word 0x08003cdf + 8003cbc: 08003ce9 .word 0x08003ce9 + 8003cc0: 08003d1b .word 0x08003d1b + 8003cc4: 08003cf3 .word 0x08003cf3 + 8003cc8: 08003cfd .word 0x08003cfd + 8003ccc: 08003d07 .word 0x08003d07 + 8003cd0: 08003d11 .word 0x08003d11 { case L2R_U2D://从左到右,从上到下 regval|=(1<<5)|(1<<4)|(0<<3); - 8003bbc: 89fb ldrh r3, [r7, #14] - 8003bbe: f043 0330 orr.w r3, r3, #48 ; 0x30 - 8003bc2: 81fb strh r3, [r7, #14] + 8003cd4: 89fb ldrh r3, [r7, #14] + 8003cd6: f043 0330 orr.w r3, r3, #48 ; 0x30 + 8003cda: 81fb strh r3, [r7, #14] break; - 8003bc4: e01d b.n 8003c02 + 8003cdc: e01d b.n 8003d1a case L2R_D2U://从左到右,从下到上 regval|=(0<<5)|(1<<4)|(0<<3); - 8003bc6: 89fb ldrh r3, [r7, #14] - 8003bc8: f043 0310 orr.w r3, r3, #16 - 8003bcc: 81fb strh r3, [r7, #14] + 8003cde: 89fb ldrh r3, [r7, #14] + 8003ce0: f043 0310 orr.w r3, r3, #16 + 8003ce4: 81fb strh r3, [r7, #14] break; - 8003bce: e018 b.n 8003c02 + 8003ce6: e018 b.n 8003d1a case R2L_U2D://从右到左,从上到下 regval|=(1<<5)|(0<<4)|(0<<3); - 8003bd0: 89fb ldrh r3, [r7, #14] - 8003bd2: f043 0320 orr.w r3, r3, #32 - 8003bd6: 81fb strh r3, [r7, #14] + 8003ce8: 89fb ldrh r3, [r7, #14] + 8003cea: f043 0320 orr.w r3, r3, #32 + 8003cee: 81fb strh r3, [r7, #14] break; - 8003bd8: e013 b.n 8003c02 + 8003cf0: e013 b.n 8003d1a case R2L_D2U://从右到左,从下到上 regval|=(0<<5)|(0<<4)|(0<<3); break; case U2D_L2R://从上到下,从左到右 regval|=(1<<5)|(1<<4)|(1<<3); - 8003bda: 89fb ldrh r3, [r7, #14] - 8003bdc: f043 0338 orr.w r3, r3, #56 ; 0x38 - 8003be0: 81fb strh r3, [r7, #14] + 8003cf2: 89fb ldrh r3, [r7, #14] + 8003cf4: f043 0338 orr.w r3, r3, #56 ; 0x38 + 8003cf8: 81fb strh r3, [r7, #14] break; - 8003be2: e00e b.n 8003c02 + 8003cfa: e00e b.n 8003d1a case U2D_R2L://从上到下,从右到左 regval|=(1<<5)|(0<<4)|(1<<3); - 8003be4: 89fb ldrh r3, [r7, #14] - 8003be6: f043 0328 orr.w r3, r3, #40 ; 0x28 - 8003bea: 81fb strh r3, [r7, #14] + 8003cfc: 89fb ldrh r3, [r7, #14] + 8003cfe: f043 0328 orr.w r3, r3, #40 ; 0x28 + 8003d02: 81fb strh r3, [r7, #14] break; - 8003bec: e009 b.n 8003c02 + 8003d04: e009 b.n 8003d1a case D2U_L2R://从下到上,从左到右 regval|=(0<<5)|(1<<4)|(1<<3); - 8003bee: 89fb ldrh r3, [r7, #14] - 8003bf0: f043 0318 orr.w r3, r3, #24 - 8003bf4: 81fb strh r3, [r7, #14] + 8003d06: 89fb ldrh r3, [r7, #14] + 8003d08: f043 0318 orr.w r3, r3, #24 + 8003d0c: 81fb strh r3, [r7, #14] break; - 8003bf6: e004 b.n 8003c02 + 8003d0e: e004 b.n 8003d1a case D2U_R2L://从下到上,从右到左 regval|=(0<<5)|(0<<4)|(1<<3); - 8003bf8: 89fb ldrh r3, [r7, #14] - 8003bfa: f043 0308 orr.w r3, r3, #8 - 8003bfe: 81fb strh r3, [r7, #14] + 8003d10: 89fb ldrh r3, [r7, #14] + 8003d12: f043 0308 orr.w r3, r3, #8 + 8003d16: 81fb strh r3, [r7, #14] break; - 8003c00: bf00 nop + 8003d18: bf00 nop } if(lcddev.id==0x8989)//8989 IC - 8003c02: 4b07 ldr r3, [pc, #28] ; (8003c20 ) - 8003c04: 889b ldrh r3, [r3, #4] - 8003c06: f648 1289 movw r2, #35209 ; 0x8989 - 8003c0a: 4293 cmp r3, r2 - 8003c0c: d10a bne.n 8003c24 + 8003d1a: 4b07 ldr r3, [pc, #28] ; (8003d38 ) + 8003d1c: 889b ldrh r3, [r3, #4] + 8003d1e: f648 1289 movw r2, #35209 ; 0x8989 + 8003d22: 4293 cmp r3, r2 + 8003d24: d10a bne.n 8003d3c { dirreg=0X11; - 8003c0e: 2311 movs r3, #17 - 8003c10: 737b strb r3, [r7, #13] + 8003d26: 2311 movs r3, #17 + 8003d28: 737b strb r3, [r7, #13] regval|=0X6040; //65K - 8003c12: 89fb ldrh r3, [r7, #14] - 8003c14: f443 43c0 orr.w r3, r3, #24576 ; 0x6000 - 8003c18: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8003c1c: 81fb strh r3, [r7, #14] - 8003c1e: e007 b.n 8003c30 - 8003c20: 200002a8 .word 0x200002a8 + 8003d2a: 89fb ldrh r3, [r7, #14] + 8003d2c: f443 43c0 orr.w r3, r3, #24576 ; 0x6000 + 8003d30: f043 0340 orr.w r3, r3, #64 ; 0x40 + 8003d34: 81fb strh r3, [r7, #14] + 8003d36: e007 b.n 8003d48 + 8003d38: 200002b8 .word 0x200002b8 }else//其他驱动IC { dirreg=0X03; - 8003c24: 2303 movs r3, #3 - 8003c26: 737b strb r3, [r7, #13] + 8003d3c: 2303 movs r3, #3 + 8003d3e: 737b strb r3, [r7, #13] regval|=1<<12; - 8003c28: 89fb ldrh r3, [r7, #14] - 8003c2a: f443 5380 orr.w r3, r3, #4096 ; 0x1000 - 8003c2e: 81fb strh r3, [r7, #14] + 8003d40: 89fb ldrh r3, [r7, #14] + 8003d42: f443 5380 orr.w r3, r3, #4096 ; 0x1000 + 8003d46: 81fb strh r3, [r7, #14] } LCD_WriteReg(dirreg,regval); - 8003c30: 7b7b ldrb r3, [r7, #13] - 8003c32: b29b uxth r3, r3 - 8003c34: 89fa ldrh r2, [r7, #14] - 8003c36: 4611 mov r1, r2 - 8003c38: 4618 mov r0, r3 - 8003c3a: f7ff fe6d bl 8003918 + 8003d48: 7b7b ldrb r3, [r7, #13] + 8003d4a: b29b uxth r3, r3 + 8003d4c: 89fa ldrh r2, [r7, #14] + 8003d4e: 4611 mov r1, r2 + 8003d50: 4618 mov r0, r3 + 8003d52: f7ff fe6d bl 8003a30 } } - 8003c3e: bf00 nop - 8003c40: bf00 nop - 8003c42: 3710 adds r7, #16 - 8003c44: 46bd mov sp, r7 - 8003c46: bd80 pop {r7, pc} + 8003d56: bf00 nop + 8003d58: bf00 nop + 8003d5a: 3710 adds r7, #16 + 8003d5c: 46bd mov sp, r7 + 8003d5e: bd80 pop {r7, pc} -08003c48 : +08003d60 : //设置LCD显示方向 //dir:0,竖屏;1,横屏 void LCD_Display_Dir(uint8_t dir) { - 8003c48: b580 push {r7, lr} - 8003c4a: b082 sub sp, #8 - 8003c4c: af00 add r7, sp, #0 - 8003c4e: 4603 mov r3, r0 - 8003c50: 71fb strb r3, [r7, #7] + 8003d60: b580 push {r7, lr} + 8003d62: b082 sub sp, #8 + 8003d64: af00 add r7, sp, #0 + 8003d66: 4603 mov r3, r0 + 8003d68: 71fb strb r3, [r7, #7] if(dir==0) //竖屏 - 8003c52: 79fb ldrb r3, [r7, #7] - 8003c54: 2b00 cmp r3, #0 - 8003c56: d154 bne.n 8003d02 + 8003d6a: 79fb ldrb r3, [r7, #7] + 8003d6c: 2b00 cmp r3, #0 + 8003d6e: d154 bne.n 8003e1a { lcddev.dir=0; //竖屏 - 8003c58: 4b5d ldr r3, [pc, #372] ; (8003dd0 ) - 8003c5a: 2200 movs r2, #0 - 8003c5c: 719a strb r2, [r3, #6] + 8003d70: 4b5d ldr r3, [pc, #372] ; (8003ee8 ) + 8003d72: 2200 movs r2, #0 + 8003d74: 719a strb r2, [r3, #6] lcddev.width=240; - 8003c5e: 4b5c ldr r3, [pc, #368] ; (8003dd0 ) - 8003c60: 22f0 movs r2, #240 ; 0xf0 - 8003c62: 801a strh r2, [r3, #0] + 8003d76: 4b5c ldr r3, [pc, #368] ; (8003ee8 ) + 8003d78: 22f0 movs r2, #240 ; 0xf0 + 8003d7a: 801a strh r2, [r3, #0] lcddev.height=320; - 8003c64: 4b5a ldr r3, [pc, #360] ; (8003dd0 ) - 8003c66: f44f 72a0 mov.w r2, #320 ; 0x140 - 8003c6a: 805a strh r2, [r3, #2] + 8003d7c: 4b5a ldr r3, [pc, #360] ; (8003ee8 ) + 8003d7e: f44f 72a0 mov.w r2, #320 ; 0x140 + 8003d82: 805a strh r2, [r3, #2] if(lcddev.id==0X9341||lcddev.id==0X6804||lcddev.id==0X5310) - 8003c6c: 4b58 ldr r3, [pc, #352] ; (8003dd0 ) - 8003c6e: 889b ldrh r3, [r3, #4] - 8003c70: f249 3241 movw r2, #37697 ; 0x9341 - 8003c74: 4293 cmp r3, r2 - 8003c76: d00b beq.n 8003c90 - 8003c78: 4b55 ldr r3, [pc, #340] ; (8003dd0 ) - 8003c7a: 889b ldrh r3, [r3, #4] - 8003c7c: f646 0204 movw r2, #26628 ; 0x6804 - 8003c80: 4293 cmp r3, r2 - 8003c82: d005 beq.n 8003c90 - 8003c84: 4b52 ldr r3, [pc, #328] ; (8003dd0 ) - 8003c86: 889b ldrh r3, [r3, #4] - 8003c88: f245 3210 movw r2, #21264 ; 0x5310 - 8003c8c: 4293 cmp r3, r2 - 8003c8e: d11e bne.n 8003cce + 8003d84: 4b58 ldr r3, [pc, #352] ; (8003ee8 ) + 8003d86: 889b ldrh r3, [r3, #4] + 8003d88: f249 3241 movw r2, #37697 ; 0x9341 + 8003d8c: 4293 cmp r3, r2 + 8003d8e: d00b beq.n 8003da8 + 8003d90: 4b55 ldr r3, [pc, #340] ; (8003ee8 ) + 8003d92: 889b ldrh r3, [r3, #4] + 8003d94: f646 0204 movw r2, #26628 ; 0x6804 + 8003d98: 4293 cmp r3, r2 + 8003d9a: d005 beq.n 8003da8 + 8003d9c: 4b52 ldr r3, [pc, #328] ; (8003ee8 ) + 8003d9e: 889b ldrh r3, [r3, #4] + 8003da0: f245 3210 movw r2, #21264 ; 0x5310 + 8003da4: 4293 cmp r3, r2 + 8003da6: d11e bne.n 8003de6 { lcddev.wramcmd=0X2C; - 8003c90: 4b4f ldr r3, [pc, #316] ; (8003dd0 ) - 8003c92: 222c movs r2, #44 ; 0x2c - 8003c94: 71da strb r2, [r3, #7] + 8003da8: 4b4f ldr r3, [pc, #316] ; (8003ee8 ) + 8003daa: 222c movs r2, #44 ; 0x2c + 8003dac: 71da strb r2, [r3, #7] lcddev.setxcmd=0X2A; - 8003c96: 4b4e ldr r3, [pc, #312] ; (8003dd0 ) - 8003c98: 222a movs r2, #42 ; 0x2a - 8003c9a: 721a strb r2, [r3, #8] + 8003dae: 4b4e ldr r3, [pc, #312] ; (8003ee8 ) + 8003db0: 222a movs r2, #42 ; 0x2a + 8003db2: 721a strb r2, [r3, #8] lcddev.setycmd=0X2B; - 8003c9c: 4b4c ldr r3, [pc, #304] ; (8003dd0 ) - 8003c9e: 222b movs r2, #43 ; 0x2b - 8003ca0: 725a strb r2, [r3, #9] + 8003db4: 4b4c ldr r3, [pc, #304] ; (8003ee8 ) + 8003db6: 222b movs r2, #43 ; 0x2b + 8003db8: 725a strb r2, [r3, #9] if(lcddev.id==0X6804||lcddev.id==0X5310) - 8003ca2: 4b4b ldr r3, [pc, #300] ; (8003dd0 ) - 8003ca4: 889b ldrh r3, [r3, #4] - 8003ca6: f646 0204 movw r2, #26628 ; 0x6804 - 8003caa: 4293 cmp r3, r2 - 8003cac: d006 beq.n 8003cbc - 8003cae: 4b48 ldr r3, [pc, #288] ; (8003dd0 ) - 8003cb0: 889b ldrh r3, [r3, #4] - 8003cb2: f245 3210 movw r2, #21264 ; 0x5310 - 8003cb6: 4293 cmp r3, r2 - 8003cb8: f040 8081 bne.w 8003dbe + 8003dba: 4b4b ldr r3, [pc, #300] ; (8003ee8 ) + 8003dbc: 889b ldrh r3, [r3, #4] + 8003dbe: f646 0204 movw r2, #26628 ; 0x6804 + 8003dc2: 4293 cmp r3, r2 + 8003dc4: d006 beq.n 8003dd4 + 8003dc6: 4b48 ldr r3, [pc, #288] ; (8003ee8 ) + 8003dc8: 889b ldrh r3, [r3, #4] + 8003dca: f245 3210 movw r2, #21264 ; 0x5310 + 8003dce: 4293 cmp r3, r2 + 8003dd0: f040 8081 bne.w 8003ed6 { lcddev.width=320; - 8003cbc: 4b44 ldr r3, [pc, #272] ; (8003dd0 ) - 8003cbe: f44f 72a0 mov.w r2, #320 ; 0x140 - 8003cc2: 801a strh r2, [r3, #0] + 8003dd4: 4b44 ldr r3, [pc, #272] ; (8003ee8 ) + 8003dd6: f44f 72a0 mov.w r2, #320 ; 0x140 + 8003dda: 801a strh r2, [r3, #0] lcddev.height=480; - 8003cc4: 4b42 ldr r3, [pc, #264] ; (8003dd0 ) - 8003cc6: f44f 72f0 mov.w r2, #480 ; 0x1e0 - 8003cca: 805a strh r2, [r3, #2] + 8003ddc: 4b42 ldr r3, [pc, #264] ; (8003ee8 ) + 8003dde: f44f 72f0 mov.w r2, #480 ; 0x1e0 + 8003de2: 805a strh r2, [r3, #2] if(lcddev.id==0X6804||lcddev.id==0X5310) - 8003ccc: e077 b.n 8003dbe + 8003de4: e077 b.n 8003ed6 } }else if(lcddev.id==0X8989) - 8003cce: 4b40 ldr r3, [pc, #256] ; (8003dd0 ) - 8003cd0: 889b ldrh r3, [r3, #4] - 8003cd2: f648 1289 movw r2, #35209 ; 0x8989 - 8003cd6: 4293 cmp r3, r2 - 8003cd8: d109 bne.n 8003cee + 8003de6: 4b40 ldr r3, [pc, #256] ; (8003ee8 ) + 8003de8: 889b ldrh r3, [r3, #4] + 8003dea: f648 1289 movw r2, #35209 ; 0x8989 + 8003dee: 4293 cmp r3, r2 + 8003df0: d109 bne.n 8003e06 { lcddev.wramcmd=R34; - 8003cda: 4b3d ldr r3, [pc, #244] ; (8003dd0 ) - 8003cdc: 2222 movs r2, #34 ; 0x22 - 8003cde: 71da strb r2, [r3, #7] + 8003df2: 4b3d ldr r3, [pc, #244] ; (8003ee8 ) + 8003df4: 2222 movs r2, #34 ; 0x22 + 8003df6: 71da strb r2, [r3, #7] lcddev.setxcmd=0X4E; - 8003ce0: 4b3b ldr r3, [pc, #236] ; (8003dd0 ) - 8003ce2: 224e movs r2, #78 ; 0x4e - 8003ce4: 721a strb r2, [r3, #8] + 8003df8: 4b3b ldr r3, [pc, #236] ; (8003ee8 ) + 8003dfa: 224e movs r2, #78 ; 0x4e + 8003dfc: 721a strb r2, [r3, #8] lcddev.setycmd=0X4F; - 8003ce6: 4b3a ldr r3, [pc, #232] ; (8003dd0 ) - 8003ce8: 224f movs r2, #79 ; 0x4f - 8003cea: 725a strb r2, [r3, #9] - 8003cec: e068 b.n 8003dc0 + 8003dfe: 4b3a ldr r3, [pc, #232] ; (8003ee8 ) + 8003e00: 224f movs r2, #79 ; 0x4f + 8003e02: 725a strb r2, [r3, #9] + 8003e04: e068 b.n 8003ed8 }else { lcddev.wramcmd=R34; - 8003cee: 4b38 ldr r3, [pc, #224] ; (8003dd0 ) - 8003cf0: 2222 movs r2, #34 ; 0x22 - 8003cf2: 71da strb r2, [r3, #7] + 8003e06: 4b38 ldr r3, [pc, #224] ; (8003ee8 ) + 8003e08: 2222 movs r2, #34 ; 0x22 + 8003e0a: 71da strb r2, [r3, #7] lcddev.setxcmd=R32; - 8003cf4: 4b36 ldr r3, [pc, #216] ; (8003dd0 ) - 8003cf6: 2220 movs r2, #32 - 8003cf8: 721a strb r2, [r3, #8] + 8003e0c: 4b36 ldr r3, [pc, #216] ; (8003ee8 ) + 8003e0e: 2220 movs r2, #32 + 8003e10: 721a strb r2, [r3, #8] lcddev.setycmd=R33; - 8003cfa: 4b35 ldr r3, [pc, #212] ; (8003dd0 ) - 8003cfc: 2221 movs r2, #33 ; 0x21 - 8003cfe: 725a strb r2, [r3, #9] - 8003d00: e05e b.n 8003dc0 + 8003e12: 4b35 ldr r3, [pc, #212] ; (8003ee8 ) + 8003e14: 2221 movs r2, #33 ; 0x21 + 8003e16: 725a strb r2, [r3, #9] + 8003e18: e05e b.n 8003ed8 } }else //横屏 { lcddev.dir=1; //横屏 - 8003d02: 4b33 ldr r3, [pc, #204] ; (8003dd0 ) - 8003d04: 2201 movs r2, #1 - 8003d06: 719a strb r2, [r3, #6] + 8003e1a: 4b33 ldr r3, [pc, #204] ; (8003ee8 ) + 8003e1c: 2201 movs r2, #1 + 8003e1e: 719a strb r2, [r3, #6] lcddev.width=320; - 8003d08: 4b31 ldr r3, [pc, #196] ; (8003dd0 ) - 8003d0a: f44f 72a0 mov.w r2, #320 ; 0x140 - 8003d0e: 801a strh r2, [r3, #0] + 8003e20: 4b31 ldr r3, [pc, #196] ; (8003ee8 ) + 8003e22: f44f 72a0 mov.w r2, #320 ; 0x140 + 8003e26: 801a strh r2, [r3, #0] lcddev.height=240; - 8003d10: 4b2f ldr r3, [pc, #188] ; (8003dd0 ) - 8003d12: 22f0 movs r2, #240 ; 0xf0 - 8003d14: 805a strh r2, [r3, #2] + 8003e28: 4b2f ldr r3, [pc, #188] ; (8003ee8 ) + 8003e2a: 22f0 movs r2, #240 ; 0xf0 + 8003e2c: 805a strh r2, [r3, #2] if(lcddev.id==0X9341||lcddev.id==0X5310) - 8003d16: 4b2e ldr r3, [pc, #184] ; (8003dd0 ) - 8003d18: 889b ldrh r3, [r3, #4] - 8003d1a: f249 3241 movw r2, #37697 ; 0x9341 - 8003d1e: 4293 cmp r3, r2 - 8003d20: d005 beq.n 8003d2e - 8003d22: 4b2b ldr r3, [pc, #172] ; (8003dd0 ) - 8003d24: 889b ldrh r3, [r3, #4] - 8003d26: f245 3210 movw r2, #21264 ; 0x5310 - 8003d2a: 4293 cmp r3, r2 - 8003d2c: d109 bne.n 8003d42 + 8003e2e: 4b2e ldr r3, [pc, #184] ; (8003ee8 ) + 8003e30: 889b ldrh r3, [r3, #4] + 8003e32: f249 3241 movw r2, #37697 ; 0x9341 + 8003e36: 4293 cmp r3, r2 + 8003e38: d005 beq.n 8003e46 + 8003e3a: 4b2b ldr r3, [pc, #172] ; (8003ee8 ) + 8003e3c: 889b ldrh r3, [r3, #4] + 8003e3e: f245 3210 movw r2, #21264 ; 0x5310 + 8003e42: 4293 cmp r3, r2 + 8003e44: d109 bne.n 8003e5a { lcddev.wramcmd=0X2C; - 8003d2e: 4b28 ldr r3, [pc, #160] ; (8003dd0 ) - 8003d30: 222c movs r2, #44 ; 0x2c - 8003d32: 71da strb r2, [r3, #7] + 8003e46: 4b28 ldr r3, [pc, #160] ; (8003ee8 ) + 8003e48: 222c movs r2, #44 ; 0x2c + 8003e4a: 71da strb r2, [r3, #7] lcddev.setxcmd=0X2A; - 8003d34: 4b26 ldr r3, [pc, #152] ; (8003dd0 ) - 8003d36: 222a movs r2, #42 ; 0x2a - 8003d38: 721a strb r2, [r3, #8] + 8003e4c: 4b26 ldr r3, [pc, #152] ; (8003ee8 ) + 8003e4e: 222a movs r2, #42 ; 0x2a + 8003e50: 721a strb r2, [r3, #8] lcddev.setycmd=0X2B; - 8003d3a: 4b25 ldr r3, [pc, #148] ; (8003dd0 ) - 8003d3c: 222b movs r2, #43 ; 0x2b - 8003d3e: 725a strb r2, [r3, #9] - 8003d40: e028 b.n 8003d94 + 8003e52: 4b25 ldr r3, [pc, #148] ; (8003ee8 ) + 8003e54: 222b movs r2, #43 ; 0x2b + 8003e56: 725a strb r2, [r3, #9] + 8003e58: e028 b.n 8003eac }else if(lcddev.id==0X6804) - 8003d42: 4b23 ldr r3, [pc, #140] ; (8003dd0 ) - 8003d44: 889b ldrh r3, [r3, #4] - 8003d46: f646 0204 movw r2, #26628 ; 0x6804 - 8003d4a: 4293 cmp r3, r2 - 8003d4c: d109 bne.n 8003d62 + 8003e5a: 4b23 ldr r3, [pc, #140] ; (8003ee8 ) + 8003e5c: 889b ldrh r3, [r3, #4] + 8003e5e: f646 0204 movw r2, #26628 ; 0x6804 + 8003e62: 4293 cmp r3, r2 + 8003e64: d109 bne.n 8003e7a { lcddev.wramcmd=0X2C; - 8003d4e: 4b20 ldr r3, [pc, #128] ; (8003dd0 ) - 8003d50: 222c movs r2, #44 ; 0x2c - 8003d52: 71da strb r2, [r3, #7] + 8003e66: 4b20 ldr r3, [pc, #128] ; (8003ee8 ) + 8003e68: 222c movs r2, #44 ; 0x2c + 8003e6a: 71da strb r2, [r3, #7] lcddev.setxcmd=0X2B; - 8003d54: 4b1e ldr r3, [pc, #120] ; (8003dd0 ) - 8003d56: 222b movs r2, #43 ; 0x2b - 8003d58: 721a strb r2, [r3, #8] + 8003e6c: 4b1e ldr r3, [pc, #120] ; (8003ee8 ) + 8003e6e: 222b movs r2, #43 ; 0x2b + 8003e70: 721a strb r2, [r3, #8] lcddev.setycmd=0X2A; - 8003d5a: 4b1d ldr r3, [pc, #116] ; (8003dd0 ) - 8003d5c: 222a movs r2, #42 ; 0x2a - 8003d5e: 725a strb r2, [r3, #9] - 8003d60: e018 b.n 8003d94 + 8003e72: 4b1d ldr r3, [pc, #116] ; (8003ee8 ) + 8003e74: 222a movs r2, #42 ; 0x2a + 8003e76: 725a strb r2, [r3, #9] + 8003e78: e018 b.n 8003eac }else if(lcddev.id==0X8989) - 8003d62: 4b1b ldr r3, [pc, #108] ; (8003dd0 ) - 8003d64: 889b ldrh r3, [r3, #4] - 8003d66: f648 1289 movw r2, #35209 ; 0x8989 - 8003d6a: 4293 cmp r3, r2 - 8003d6c: d109 bne.n 8003d82 + 8003e7a: 4b1b ldr r3, [pc, #108] ; (8003ee8 ) + 8003e7c: 889b ldrh r3, [r3, #4] + 8003e7e: f648 1289 movw r2, #35209 ; 0x8989 + 8003e82: 4293 cmp r3, r2 + 8003e84: d109 bne.n 8003e9a { lcddev.wramcmd=R34; - 8003d6e: 4b18 ldr r3, [pc, #96] ; (8003dd0 ) - 8003d70: 2222 movs r2, #34 ; 0x22 - 8003d72: 71da strb r2, [r3, #7] + 8003e86: 4b18 ldr r3, [pc, #96] ; (8003ee8 ) + 8003e88: 2222 movs r2, #34 ; 0x22 + 8003e8a: 71da strb r2, [r3, #7] lcddev.setxcmd=0X4F; - 8003d74: 4b16 ldr r3, [pc, #88] ; (8003dd0 ) - 8003d76: 224f movs r2, #79 ; 0x4f - 8003d78: 721a strb r2, [r3, #8] + 8003e8c: 4b16 ldr r3, [pc, #88] ; (8003ee8 ) + 8003e8e: 224f movs r2, #79 ; 0x4f + 8003e90: 721a strb r2, [r3, #8] lcddev.setycmd=0X4E; - 8003d7a: 4b15 ldr r3, [pc, #84] ; (8003dd0 ) - 8003d7c: 224e movs r2, #78 ; 0x4e - 8003d7e: 725a strb r2, [r3, #9] - 8003d80: e008 b.n 8003d94 + 8003e92: 4b15 ldr r3, [pc, #84] ; (8003ee8 ) + 8003e94: 224e movs r2, #78 ; 0x4e + 8003e96: 725a strb r2, [r3, #9] + 8003e98: e008 b.n 8003eac }else { lcddev.wramcmd=R34; - 8003d82: 4b13 ldr r3, [pc, #76] ; (8003dd0 ) - 8003d84: 2222 movs r2, #34 ; 0x22 - 8003d86: 71da strb r2, [r3, #7] + 8003e9a: 4b13 ldr r3, [pc, #76] ; (8003ee8 ) + 8003e9c: 2222 movs r2, #34 ; 0x22 + 8003e9e: 71da strb r2, [r3, #7] lcddev.setxcmd=R33; - 8003d88: 4b11 ldr r3, [pc, #68] ; (8003dd0 ) - 8003d8a: 2221 movs r2, #33 ; 0x21 - 8003d8c: 721a strb r2, [r3, #8] + 8003ea0: 4b11 ldr r3, [pc, #68] ; (8003ee8 ) + 8003ea2: 2221 movs r2, #33 ; 0x21 + 8003ea4: 721a strb r2, [r3, #8] lcddev.setycmd=R32; - 8003d8e: 4b10 ldr r3, [pc, #64] ; (8003dd0 ) - 8003d90: 2220 movs r2, #32 - 8003d92: 725a strb r2, [r3, #9] + 8003ea6: 4b10 ldr r3, [pc, #64] ; (8003ee8 ) + 8003ea8: 2220 movs r2, #32 + 8003eaa: 725a strb r2, [r3, #9] } if(lcddev.id==0X6804||lcddev.id==0X5310) - 8003d94: 4b0e ldr r3, [pc, #56] ; (8003dd0 ) - 8003d96: 889b ldrh r3, [r3, #4] - 8003d98: f646 0204 movw r2, #26628 ; 0x6804 - 8003d9c: 4293 cmp r3, r2 - 8003d9e: d005 beq.n 8003dac - 8003da0: 4b0b ldr r3, [pc, #44] ; (8003dd0 ) - 8003da2: 889b ldrh r3, [r3, #4] - 8003da4: f245 3210 movw r2, #21264 ; 0x5310 - 8003da8: 4293 cmp r3, r2 - 8003daa: d109 bne.n 8003dc0 + 8003eac: 4b0e ldr r3, [pc, #56] ; (8003ee8 ) + 8003eae: 889b ldrh r3, [r3, #4] + 8003eb0: f646 0204 movw r2, #26628 ; 0x6804 + 8003eb4: 4293 cmp r3, r2 + 8003eb6: d005 beq.n 8003ec4 + 8003eb8: 4b0b ldr r3, [pc, #44] ; (8003ee8 ) + 8003eba: 889b ldrh r3, [r3, #4] + 8003ebc: f245 3210 movw r2, #21264 ; 0x5310 + 8003ec0: 4293 cmp r3, r2 + 8003ec2: d109 bne.n 8003ed8 { lcddev.width=480; - 8003dac: 4b08 ldr r3, [pc, #32] ; (8003dd0 ) - 8003dae: f44f 72f0 mov.w r2, #480 ; 0x1e0 - 8003db2: 801a strh r2, [r3, #0] + 8003ec4: 4b08 ldr r3, [pc, #32] ; (8003ee8 ) + 8003ec6: f44f 72f0 mov.w r2, #480 ; 0x1e0 + 8003eca: 801a strh r2, [r3, #0] lcddev.height=320; - 8003db4: 4b06 ldr r3, [pc, #24] ; (8003dd0 ) - 8003db6: f44f 72a0 mov.w r2, #320 ; 0x140 - 8003dba: 805a strh r2, [r3, #2] - 8003dbc: e000 b.n 8003dc0 + 8003ecc: 4b06 ldr r3, [pc, #24] ; (8003ee8 ) + 8003ece: f44f 72a0 mov.w r2, #320 ; 0x140 + 8003ed2: 805a strh r2, [r3, #2] + 8003ed4: e000 b.n 8003ed8 if(lcddev.id==0X6804||lcddev.id==0X5310) - 8003dbe: bf00 nop + 8003ed6: bf00 nop } } LCD_Scan_Dir(DFT_SCAN_DIR); //默认扫描方向 - 8003dc0: 2000 movs r0, #0 - 8003dc2: f7ff fdd3 bl 800396c + 8003ed8: 2000 movs r0, #0 + 8003eda: f7ff fdd3 bl 8003a84 } - 8003dc6: bf00 nop - 8003dc8: 3708 adds r7, #8 - 8003dca: 46bd mov sp, r7 - 8003dcc: bd80 pop {r7, pc} - 8003dce: bf00 nop - 8003dd0: 200002a8 .word 0x200002a8 + 8003ede: bf00 nop + 8003ee0: 3708 adds r7, #8 + 8003ee2: 46bd mov sp, r7 + 8003ee4: bd80 pop {r7, pc} + 8003ee6: bf00 nop + 8003ee8: 200002b8 .word 0x200002b8 -08003dd4 : +08003eec : //初始化lcd //该初始化函数可以初始化各种液晶! void LCDx_Init(void) { - 8003dd4: b580 push {r7, lr} - 8003dd6: af00 add r7, sp, #0 + 8003eec: b580 push {r7, lr} + 8003eee: af00 add r7, sp, #0 HAL_Delay(50); // delay 50 ms - 8003dd8: 2032 movs r0, #50 ; 0x32 - 8003dda: f7fd fd89 bl 80018f0 + 8003ef0: 2032 movs r0, #50 ; 0x32 + 8003ef2: f7fd fd89 bl 8001a08 LCD_WriteReg(0x0000,0x0001); - 8003dde: 2101 movs r1, #1 - 8003de0: 2000 movs r0, #0 - 8003de2: f7ff fd99 bl 8003918 + 8003ef6: 2101 movs r1, #1 + 8003ef8: 2000 movs r0, #0 + 8003efa: f7ff fd99 bl 8003a30 HAL_Delay(50); // delay 50 ms - 8003de6: 2032 movs r0, #50 ; 0x32 - 8003de8: f7fd fd82 bl 80018f0 + 8003efe: 2032 movs r0, #50 ; 0x32 + 8003f00: f7fd fd82 bl 8001a08 lcddev.id = LCD_ReadReg(0x0000); - 8003dec: 2000 movs r0, #0 - 8003dee: f7ff fda9 bl 8003944 - 8003df2: 4603 mov r3, r0 - 8003df4: 461a mov r2, r3 - 8003df6: 4b70 ldr r3, [pc, #448] ; (8003fb8 ) - 8003df8: 809a strh r2, [r3, #4] + 8003f04: 2000 movs r0, #0 + 8003f06: f7ff fda9 bl 8003a5c + 8003f0a: 4603 mov r3, r0 + 8003f0c: 461a mov r2, r3 + 8003f0e: 4b70 ldr r3, [pc, #448] ; (80040d0 ) + 8003f10: 809a strh r2, [r3, #4] LCD_WriteReg(0x00E5,0x78F0); - 8003dfa: f647 01f0 movw r1, #30960 ; 0x78f0 - 8003dfe: 20e5 movs r0, #229 ; 0xe5 - 8003e00: f7ff fd8a bl 8003918 + 8003f12: f647 01f0 movw r1, #30960 ; 0x78f0 + 8003f16: 20e5 movs r0, #229 ; 0xe5 + 8003f18: f7ff fd8a bl 8003a30 LCD_WriteReg(0x0001,0x0100); - 8003e04: f44f 7180 mov.w r1, #256 ; 0x100 - 8003e08: 2001 movs r0, #1 - 8003e0a: f7ff fd85 bl 8003918 + 8003f1c: f44f 7180 mov.w r1, #256 ; 0x100 + 8003f20: 2001 movs r0, #1 + 8003f22: f7ff fd85 bl 8003a30 LCD_WriteReg(0x0002,0x0700); - 8003e0e: f44f 61e0 mov.w r1, #1792 ; 0x700 - 8003e12: 2002 movs r0, #2 - 8003e14: f7ff fd80 bl 8003918 + 8003f26: f44f 61e0 mov.w r1, #1792 ; 0x700 + 8003f2a: 2002 movs r0, #2 + 8003f2c: f7ff fd80 bl 8003a30 LCD_WriteReg(0x0003,0x1030); - 8003e18: f241 0130 movw r1, #4144 ; 0x1030 - 8003e1c: 2003 movs r0, #3 - 8003e1e: f7ff fd7b bl 8003918 + 8003f30: f241 0130 movw r1, #4144 ; 0x1030 + 8003f34: 2003 movs r0, #3 + 8003f36: f7ff fd7b bl 8003a30 LCD_WriteReg(0x0004,0x0000); - 8003e22: 2100 movs r1, #0 - 8003e24: 2004 movs r0, #4 - 8003e26: f7ff fd77 bl 8003918 + 8003f3a: 2100 movs r1, #0 + 8003f3c: 2004 movs r0, #4 + 8003f3e: f7ff fd77 bl 8003a30 LCD_WriteReg(0x0008,0x0202); - 8003e2a: f240 2102 movw r1, #514 ; 0x202 - 8003e2e: 2008 movs r0, #8 - 8003e30: f7ff fd72 bl 8003918 + 8003f42: f240 2102 movw r1, #514 ; 0x202 + 8003f46: 2008 movs r0, #8 + 8003f48: f7ff fd72 bl 8003a30 LCD_WriteReg(0x0009,0x0000); - 8003e34: 2100 movs r1, #0 - 8003e36: 2009 movs r0, #9 - 8003e38: f7ff fd6e bl 8003918 + 8003f4c: 2100 movs r1, #0 + 8003f4e: 2009 movs r0, #9 + 8003f50: f7ff fd6e bl 8003a30 LCD_WriteReg(0x000A,0x0000); - 8003e3c: 2100 movs r1, #0 - 8003e3e: 200a movs r0, #10 - 8003e40: f7ff fd6a bl 8003918 + 8003f54: 2100 movs r1, #0 + 8003f56: 200a movs r0, #10 + 8003f58: f7ff fd6a bl 8003a30 LCD_WriteReg(0x000C,0x0000); - 8003e44: 2100 movs r1, #0 - 8003e46: 200c movs r0, #12 - 8003e48: f7ff fd66 bl 8003918 + 8003f5c: 2100 movs r1, #0 + 8003f5e: 200c movs r0, #12 + 8003f60: f7ff fd66 bl 8003a30 LCD_WriteReg(0x000D,0x0000); - 8003e4c: 2100 movs r1, #0 - 8003e4e: 200d movs r0, #13 - 8003e50: f7ff fd62 bl 8003918 + 8003f64: 2100 movs r1, #0 + 8003f66: 200d movs r0, #13 + 8003f68: f7ff fd62 bl 8003a30 LCD_WriteReg(0x000F,0x0000); - 8003e54: 2100 movs r1, #0 - 8003e56: 200f movs r0, #15 - 8003e58: f7ff fd5e bl 8003918 + 8003f6c: 2100 movs r1, #0 + 8003f6e: 200f movs r0, #15 + 8003f70: f7ff fd5e bl 8003a30 //power on sequence VGHVGL LCD_WriteReg(0x0010,0x0000); - 8003e5c: 2100 movs r1, #0 - 8003e5e: 2010 movs r0, #16 - 8003e60: f7ff fd5a bl 8003918 + 8003f74: 2100 movs r1, #0 + 8003f76: 2010 movs r0, #16 + 8003f78: f7ff fd5a bl 8003a30 LCD_WriteReg(0x0011,0x0007); - 8003e64: 2107 movs r1, #7 - 8003e66: 2011 movs r0, #17 - 8003e68: f7ff fd56 bl 8003918 + 8003f7c: 2107 movs r1, #7 + 8003f7e: 2011 movs r0, #17 + 8003f80: f7ff fd56 bl 8003a30 LCD_WriteReg(0x0012,0x0000); - 8003e6c: 2100 movs r1, #0 - 8003e6e: 2012 movs r0, #18 - 8003e70: f7ff fd52 bl 8003918 + 8003f84: 2100 movs r1, #0 + 8003f86: 2012 movs r0, #18 + 8003f88: f7ff fd52 bl 8003a30 LCD_WriteReg(0x0013,0x0000); - 8003e74: 2100 movs r1, #0 - 8003e76: 2013 movs r0, #19 - 8003e78: f7ff fd4e bl 8003918 + 8003f8c: 2100 movs r1, #0 + 8003f8e: 2013 movs r0, #19 + 8003f90: f7ff fd4e bl 8003a30 LCD_WriteReg(0x0007,0x0000); - 8003e7c: 2100 movs r1, #0 - 8003e7e: 2007 movs r0, #7 - 8003e80: f7ff fd4a bl 8003918 + 8003f94: 2100 movs r1, #0 + 8003f96: 2007 movs r0, #7 + 8003f98: f7ff fd4a bl 8003a30 //vgh LCD_WriteReg(0x0010,0x1690); - 8003e84: f241 6190 movw r1, #5776 ; 0x1690 - 8003e88: 2010 movs r0, #16 - 8003e8a: f7ff fd45 bl 8003918 + 8003f9c: f241 6190 movw r1, #5776 ; 0x1690 + 8003fa0: 2010 movs r0, #16 + 8003fa2: f7ff fd45 bl 8003a30 LCD_WriteReg(0x0011,0x0227); - 8003e8e: f240 2127 movw r1, #551 ; 0x227 - 8003e92: 2011 movs r0, #17 - 8003e94: f7ff fd40 bl 8003918 + 8003fa6: f240 2127 movw r1, #551 ; 0x227 + 8003faa: 2011 movs r0, #17 + 8003fac: f7ff fd40 bl 8003a30 //delayms(100); //vregiout LCD_WriteReg(0x0012,0x009D); //0x001b - 8003e98: 219d movs r1, #157 ; 0x9d - 8003e9a: 2012 movs r0, #18 - 8003e9c: f7ff fd3c bl 8003918 + 8003fb0: 219d movs r1, #157 ; 0x9d + 8003fb2: 2012 movs r0, #18 + 8003fb4: f7ff fd3c bl 8003a30 //delayms(100); //vom amplitude LCD_WriteReg(0x0013,0x1900); - 8003ea0: f44f 51c8 mov.w r1, #6400 ; 0x1900 - 8003ea4: 2013 movs r0, #19 - 8003ea6: f7ff fd37 bl 8003918 + 8003fb8: f44f 51c8 mov.w r1, #6400 ; 0x1900 + 8003fbc: 2013 movs r0, #19 + 8003fbe: f7ff fd37 bl 8003a30 //delayms(100); //vom H LCD_WriteReg(0x0029,0x0025); - 8003eaa: 2125 movs r1, #37 ; 0x25 - 8003eac: 2029 movs r0, #41 ; 0x29 - 8003eae: f7ff fd33 bl 8003918 + 8003fc2: 2125 movs r1, #37 ; 0x25 + 8003fc4: 2029 movs r0, #41 ; 0x29 + 8003fc6: f7ff fd33 bl 8003a30 LCD_WriteReg(0x002B,0x000D); - 8003eb2: 210d movs r1, #13 - 8003eb4: 202b movs r0, #43 ; 0x2b - 8003eb6: f7ff fd2f bl 8003918 + 8003fca: 210d movs r1, #13 + 8003fcc: 202b movs r0, #43 ; 0x2b + 8003fce: f7ff fd2f bl 8003a30 //gamma LCD_WriteReg(0x0030,0x0007); - 8003eba: 2107 movs r1, #7 - 8003ebc: 2030 movs r0, #48 ; 0x30 - 8003ebe: f7ff fd2b bl 8003918 + 8003fd2: 2107 movs r1, #7 + 8003fd4: 2030 movs r0, #48 ; 0x30 + 8003fd6: f7ff fd2b bl 8003a30 LCD_WriteReg(0x0031,0x0303); - 8003ec2: f240 3103 movw r1, #771 ; 0x303 - 8003ec6: 2031 movs r0, #49 ; 0x31 - 8003ec8: f7ff fd26 bl 8003918 + 8003fda: f240 3103 movw r1, #771 ; 0x303 + 8003fde: 2031 movs r0, #49 ; 0x31 + 8003fe0: f7ff fd26 bl 8003a30 LCD_WriteReg(0x0032,0x0003);// 0006 - 8003ecc: 2103 movs r1, #3 - 8003ece: 2032 movs r0, #50 ; 0x32 - 8003ed0: f7ff fd22 bl 8003918 + 8003fe4: 2103 movs r1, #3 + 8003fe6: 2032 movs r0, #50 ; 0x32 + 8003fe8: f7ff fd22 bl 8003a30 LCD_WriteReg(0x0035,0x0206); - 8003ed4: f240 2106 movw r1, #518 ; 0x206 - 8003ed8: 2035 movs r0, #53 ; 0x35 - 8003eda: f7ff fd1d bl 8003918 + 8003fec: f240 2106 movw r1, #518 ; 0x206 + 8003ff0: 2035 movs r0, #53 ; 0x35 + 8003ff2: f7ff fd1d bl 8003a30 LCD_WriteReg(0x0036,0x0008); - 8003ede: 2108 movs r1, #8 - 8003ee0: 2036 movs r0, #54 ; 0x36 - 8003ee2: f7ff fd19 bl 8003918 + 8003ff6: 2108 movs r1, #8 + 8003ff8: 2036 movs r0, #54 ; 0x36 + 8003ffa: f7ff fd19 bl 8003a30 LCD_WriteReg(0x0037,0x0406); - 8003ee6: f240 4106 movw r1, #1030 ; 0x406 - 8003eea: 2037 movs r0, #55 ; 0x37 - 8003eec: f7ff fd14 bl 8003918 + 8003ffe: f240 4106 movw r1, #1030 ; 0x406 + 8004002: 2037 movs r0, #55 ; 0x37 + 8004004: f7ff fd14 bl 8003a30 LCD_WriteReg(0x0038,0x0304);//0200 - 8003ef0: f44f 7141 mov.w r1, #772 ; 0x304 - 8003ef4: 2038 movs r0, #56 ; 0x38 - 8003ef6: f7ff fd0f bl 8003918 + 8004008: f44f 7141 mov.w r1, #772 ; 0x304 + 800400c: 2038 movs r0, #56 ; 0x38 + 800400e: f7ff fd0f bl 8003a30 LCD_WriteReg(0x0039,0x0007); - 8003efa: 2107 movs r1, #7 - 8003efc: 2039 movs r0, #57 ; 0x39 - 8003efe: f7ff fd0b bl 8003918 + 8004012: 2107 movs r1, #7 + 8004014: 2039 movs r0, #57 ; 0x39 + 8004016: f7ff fd0b bl 8003a30 LCD_WriteReg(0x003C,0x0602);// 0504 - 8003f02: f240 6102 movw r1, #1538 ; 0x602 - 8003f06: 203c movs r0, #60 ; 0x3c - 8003f08: f7ff fd06 bl 8003918 + 800401a: f240 6102 movw r1, #1538 ; 0x602 + 800401e: 203c movs r0, #60 ; 0x3c + 8004020: f7ff fd06 bl 8003a30 LCD_WriteReg(0x003D,0x0008); - 8003f0c: 2108 movs r1, #8 - 8003f0e: 203d movs r0, #61 ; 0x3d - 8003f10: f7ff fd02 bl 8003918 + 8004024: 2108 movs r1, #8 + 8004026: 203d movs r0, #61 ; 0x3d + 8004028: f7ff fd02 bl 8003a30 //ram LCD_WriteReg(0x0050,0x0000); - 8003f14: 2100 movs r1, #0 - 8003f16: 2050 movs r0, #80 ; 0x50 - 8003f18: f7ff fcfe bl 8003918 + 800402c: 2100 movs r1, #0 + 800402e: 2050 movs r0, #80 ; 0x50 + 8004030: f7ff fcfe bl 8003a30 LCD_WriteReg(0x0051,0x00EF); - 8003f1c: 21ef movs r1, #239 ; 0xef - 8003f1e: 2051 movs r0, #81 ; 0x51 - 8003f20: f7ff fcfa bl 8003918 + 8004034: 21ef movs r1, #239 ; 0xef + 8004036: 2051 movs r0, #81 ; 0x51 + 8004038: f7ff fcfa bl 8003a30 LCD_WriteReg(0x0052,0x0000); - 8003f24: 2100 movs r1, #0 - 8003f26: 2052 movs r0, #82 ; 0x52 - 8003f28: f7ff fcf6 bl 8003918 + 800403c: 2100 movs r1, #0 + 800403e: 2052 movs r0, #82 ; 0x52 + 8004040: f7ff fcf6 bl 8003a30 LCD_WriteReg(0x0053,0x013F); - 8003f2c: f240 113f movw r1, #319 ; 0x13f - 8003f30: 2053 movs r0, #83 ; 0x53 - 8003f32: f7ff fcf1 bl 8003918 + 8004044: f240 113f movw r1, #319 ; 0x13f + 8004048: 2053 movs r0, #83 ; 0x53 + 800404a: f7ff fcf1 bl 8003a30 LCD_WriteReg(0x0060,0xA700); - 8003f36: f44f 4127 mov.w r1, #42752 ; 0xa700 - 8003f3a: 2060 movs r0, #96 ; 0x60 - 8003f3c: f7ff fcec bl 8003918 + 800404e: f44f 4127 mov.w r1, #42752 ; 0xa700 + 8004052: 2060 movs r0, #96 ; 0x60 + 8004054: f7ff fcec bl 8003a30 LCD_WriteReg(0x0061,0x0001); - 8003f40: 2101 movs r1, #1 - 8003f42: 2061 movs r0, #97 ; 0x61 - 8003f44: f7ff fce8 bl 8003918 + 8004058: 2101 movs r1, #1 + 800405a: 2061 movs r0, #97 ; 0x61 + 800405c: f7ff fce8 bl 8003a30 LCD_WriteReg(0x006A,0x0000); - 8003f48: 2100 movs r1, #0 - 8003f4a: 206a movs r0, #106 ; 0x6a - 8003f4c: f7ff fce4 bl 8003918 + 8004060: 2100 movs r1, #0 + 8004062: 206a movs r0, #106 ; 0x6a + 8004064: f7ff fce4 bl 8003a30 // LCD_WriteReg(0x0080,0x0000); - 8003f50: 2100 movs r1, #0 - 8003f52: 2080 movs r0, #128 ; 0x80 - 8003f54: f7ff fce0 bl 8003918 + 8004068: 2100 movs r1, #0 + 800406a: 2080 movs r0, #128 ; 0x80 + 800406c: f7ff fce0 bl 8003a30 LCD_WriteReg(0x0081,0x0000); - 8003f58: 2100 movs r1, #0 - 8003f5a: 2081 movs r0, #129 ; 0x81 - 8003f5c: f7ff fcdc bl 8003918 + 8004070: 2100 movs r1, #0 + 8004072: 2081 movs r0, #129 ; 0x81 + 8004074: f7ff fcdc bl 8003a30 LCD_WriteReg(0x0082,0x0000); - 8003f60: 2100 movs r1, #0 - 8003f62: 2082 movs r0, #130 ; 0x82 - 8003f64: f7ff fcd8 bl 8003918 + 8004078: 2100 movs r1, #0 + 800407a: 2082 movs r0, #130 ; 0x82 + 800407c: f7ff fcd8 bl 8003a30 LCD_WriteReg(0x0083,0x0000); - 8003f68: 2100 movs r1, #0 - 8003f6a: 2083 movs r0, #131 ; 0x83 - 8003f6c: f7ff fcd4 bl 8003918 + 8004080: 2100 movs r1, #0 + 8004082: 2083 movs r0, #131 ; 0x83 + 8004084: f7ff fcd4 bl 8003a30 LCD_WriteReg(0x0084,0x0000); - 8003f70: 2100 movs r1, #0 - 8003f72: 2084 movs r0, #132 ; 0x84 - 8003f74: f7ff fcd0 bl 8003918 + 8004088: 2100 movs r1, #0 + 800408a: 2084 movs r0, #132 ; 0x84 + 800408c: f7ff fcd0 bl 8003a30 LCD_WriteReg(0x0085,0x0000); - 8003f78: 2100 movs r1, #0 - 8003f7a: 2085 movs r0, #133 ; 0x85 - 8003f7c: f7ff fccc bl 8003918 + 8004090: 2100 movs r1, #0 + 8004092: 2085 movs r0, #133 ; 0x85 + 8004094: f7ff fccc bl 8003a30 // LCD_WriteReg(0x0090,0x0010); - 8003f80: 2110 movs r1, #16 - 8003f82: 2090 movs r0, #144 ; 0x90 - 8003f84: f7ff fcc8 bl 8003918 + 8004098: 2110 movs r1, #16 + 800409a: 2090 movs r0, #144 ; 0x90 + 800409c: f7ff fcc8 bl 8003a30 LCD_WriteReg(0x0092,0x0600); - 8003f88: f44f 61c0 mov.w r1, #1536 ; 0x600 - 8003f8c: 2092 movs r0, #146 ; 0x92 - 8003f8e: f7ff fcc3 bl 8003918 + 80040a0: f44f 61c0 mov.w r1, #1536 ; 0x600 + 80040a4: 2092 movs r0, #146 ; 0x92 + 80040a6: f7ff fcc3 bl 8003a30 LCD_WriteReg(0x0007,0x0133); - 8003f92: f240 1133 movw r1, #307 ; 0x133 - 8003f96: 2007 movs r0, #7 - 8003f98: f7ff fcbe bl 8003918 + 80040aa: f240 1133 movw r1, #307 ; 0x133 + 80040ae: 2007 movs r0, #7 + 80040b0: f7ff fcbe bl 8003a30 LCD_WriteReg(0x00,0x0022);// - 8003f9c: 2122 movs r1, #34 ; 0x22 - 8003f9e: 2000 movs r0, #0 - 8003fa0: f7ff fcba bl 8003918 + 80040b4: 2122 movs r1, #34 ; 0x22 + 80040b6: 2000 movs r0, #0 + 80040b8: f7ff fcba bl 8003a30 LCD_Display_Dir(1); //默认为h屏 - 8003fa4: 2001 movs r0, #1 - 8003fa6: f7ff fe4f bl 8003c48 + 80040bc: 2001 movs r0, #1 + 80040be: f7ff fe4f bl 8003d60 LCD_BL(0); - 8003faa: 2200 movs r2, #0 - 8003fac: 2101 movs r1, #1 - 8003fae: 4803 ldr r0, [pc, #12] ; (8003fbc ) - 8003fb0: f7fd ff51 bl 8001e56 + 80040c2: 2200 movs r2, #0 + 80040c4: 2101 movs r1, #1 + 80040c6: 4803 ldr r0, [pc, #12] ; (80040d4 ) + 80040c8: f7fd ff51 bl 8001f6e } - 8003fb4: bf00 nop - 8003fb6: bd80 pop {r7, pc} - 8003fb8: 200002a8 .word 0x200002a8 - 8003fbc: 40010c00 .word 0x40010c00 + 80040cc: bf00 nop + 80040ce: bd80 pop {r7, pc} + 80040d0: 200002b8 .word 0x200002b8 + 80040d4: 40010c00 .word 0x40010c00 -08003fc0 : +080040d8 : //***********************************************************打点 读点 什么的 //设置光标位置 //Xpos:横坐标 //Ypos:纵坐标 void LCD_SetCursor(uint16_t Xpos, uint16_t Ypos) { - 8003fc0: b580 push {r7, lr} - 8003fc2: b082 sub sp, #8 - 8003fc4: af00 add r7, sp, #0 - 8003fc6: 4603 mov r3, r0 - 8003fc8: 460a mov r2, r1 - 8003fca: 80fb strh r3, [r7, #6] - 8003fcc: 4613 mov r3, r2 - 8003fce: 80bb strh r3, [r7, #4] + 80040d8: b580 push {r7, lr} + 80040da: b082 sub sp, #8 + 80040dc: af00 add r7, sp, #0 + 80040de: 4603 mov r3, r0 + 80040e0: 460a mov r2, r1 + 80040e2: 80fb strh r3, [r7, #6] + 80040e4: 4613 mov r3, r2 + 80040e6: 80bb strh r3, [r7, #4] if(lcddev.id==0X9341||lcddev.id==0X5310) - 8003fd0: 4b42 ldr r3, [pc, #264] ; (80040dc ) - 8003fd2: 889b ldrh r3, [r3, #4] - 8003fd4: f249 3241 movw r2, #37697 ; 0x9341 - 8003fd8: 4293 cmp r3, r2 - 8003fda: d005 beq.n 8003fe8 - 8003fdc: 4b3f ldr r3, [pc, #252] ; (80040dc ) - 8003fde: 889b ldrh r3, [r3, #4] - 8003fe0: f245 3210 movw r2, #21264 ; 0x5310 - 8003fe4: 4293 cmp r3, r2 - 8003fe6: d124 bne.n 8004032 + 80040e8: 4b42 ldr r3, [pc, #264] ; (80041f4 ) + 80040ea: 889b ldrh r3, [r3, #4] + 80040ec: f249 3241 movw r2, #37697 ; 0x9341 + 80040f0: 4293 cmp r3, r2 + 80040f2: d005 beq.n 8004100 + 80040f4: 4b3f ldr r3, [pc, #252] ; (80041f4 ) + 80040f6: 889b ldrh r3, [r3, #4] + 80040f8: f245 3210 movw r2, #21264 ; 0x5310 + 80040fc: 4293 cmp r3, r2 + 80040fe: d124 bne.n 800414a { LCD_WR_REG(lcddev.setxcmd); - 8003fe8: 4b3c ldr r3, [pc, #240] ; (80040dc ) - 8003fea: 7a1b ldrb r3, [r3, #8] - 8003fec: b29b uxth r3, r3 - 8003fee: 4618 mov r0, r3 - 8003ff0: f7ff fc74 bl 80038dc + 8004100: 4b3c ldr r3, [pc, #240] ; (80041f4 ) + 8004102: 7a1b ldrb r3, [r3, #8] + 8004104: b29b uxth r3, r3 + 8004106: 4618 mov r0, r3 + 8004108: f7ff fc74 bl 80039f4 LCD_WR_DATA(Xpos>>8); - 8003ff4: 88fb ldrh r3, [r7, #6] - 8003ff6: 0a1b lsrs r3, r3, #8 - 8003ff8: b29b uxth r3, r3 - 8003ffa: 4618 mov r0, r3 - 8003ffc: f7ff fc7c bl 80038f8 + 800410c: 88fb ldrh r3, [r7, #6] + 800410e: 0a1b lsrs r3, r3, #8 + 8004110: b29b uxth r3, r3 + 8004112: 4618 mov r0, r3 + 8004114: f7ff fc7c bl 8003a10 LCD_WR_DATA(Xpos&0XFF); - 8004000: 88fb ldrh r3, [r7, #6] - 8004002: b2db uxtb r3, r3 - 8004004: b29b uxth r3, r3 - 8004006: 4618 mov r0, r3 - 8004008: f7ff fc76 bl 80038f8 + 8004118: 88fb ldrh r3, [r7, #6] + 800411a: b2db uxtb r3, r3 + 800411c: b29b uxth r3, r3 + 800411e: 4618 mov r0, r3 + 8004120: f7ff fc76 bl 8003a10 LCD_WR_REG(lcddev.setycmd); - 800400c: 4b33 ldr r3, [pc, #204] ; (80040dc ) - 800400e: 7a5b ldrb r3, [r3, #9] - 8004010: b29b uxth r3, r3 - 8004012: 4618 mov r0, r3 - 8004014: f7ff fc62 bl 80038dc + 8004124: 4b33 ldr r3, [pc, #204] ; (80041f4 ) + 8004126: 7a5b ldrb r3, [r3, #9] + 8004128: b29b uxth r3, r3 + 800412a: 4618 mov r0, r3 + 800412c: f7ff fc62 bl 80039f4 LCD_WR_DATA(Ypos>>8); - 8004018: 88bb ldrh r3, [r7, #4] - 800401a: 0a1b lsrs r3, r3, #8 - 800401c: b29b uxth r3, r3 - 800401e: 4618 mov r0, r3 - 8004020: f7ff fc6a bl 80038f8 + 8004130: 88bb ldrh r3, [r7, #4] + 8004132: 0a1b lsrs r3, r3, #8 + 8004134: b29b uxth r3, r3 + 8004136: 4618 mov r0, r3 + 8004138: f7ff fc6a bl 8003a10 LCD_WR_DATA(Ypos&0XFF); - 8004024: 88bb ldrh r3, [r7, #4] - 8004026: b2db uxtb r3, r3 - 8004028: b29b uxth r3, r3 - 800402a: 4618 mov r0, r3 - 800402c: f7ff fc64 bl 80038f8 + 800413c: 88bb ldrh r3, [r7, #4] + 800413e: b2db uxtb r3, r3 + 8004140: b29b uxth r3, r3 + 8004142: 4618 mov r0, r3 + 8004144: f7ff fc64 bl 8003a10 { if(lcddev.dir==1)Xpos=lcddev.width-1-Xpos;//横屏其实就是调转x,y坐标 LCD_WriteReg(lcddev.setxcmd, Xpos); LCD_WriteReg(lcddev.setycmd, Ypos); } } - 8004030: e050 b.n 80040d4 + 8004148: e050 b.n 80041ec }else if(lcddev.id==0X6804) - 8004032: 4b2a ldr r3, [pc, #168] ; (80040dc ) - 8004034: 889b ldrh r3, [r3, #4] - 8004036: f646 0204 movw r2, #26628 ; 0x6804 - 800403a: 4293 cmp r3, r2 - 800403c: d12f bne.n 800409e + 800414a: 4b2a ldr r3, [pc, #168] ; (80041f4 ) + 800414c: 889b ldrh r3, [r3, #4] + 800414e: f646 0204 movw r2, #26628 ; 0x6804 + 8004152: 4293 cmp r3, r2 + 8004154: d12f bne.n 80041b6 if(lcddev.dir==1)Xpos=lcddev.width-1-Xpos;//横屏时处理 - 800403e: 4b27 ldr r3, [pc, #156] ; (80040dc ) - 8004040: 799b ldrb r3, [r3, #6] - 8004042: 2b01 cmp r3, #1 - 8004044: d106 bne.n 8004054 - 8004046: 4b25 ldr r3, [pc, #148] ; (80040dc ) - 8004048: 881a ldrh r2, [r3, #0] - 800404a: 88fb ldrh r3, [r7, #6] - 800404c: 1ad3 subs r3, r2, r3 - 800404e: b29b uxth r3, r3 - 8004050: 3b01 subs r3, #1 - 8004052: 80fb strh r3, [r7, #6] + 8004156: 4b27 ldr r3, [pc, #156] ; (80041f4 ) + 8004158: 799b ldrb r3, [r3, #6] + 800415a: 2b01 cmp r3, #1 + 800415c: d106 bne.n 800416c + 800415e: 4b25 ldr r3, [pc, #148] ; (80041f4 ) + 8004160: 881a ldrh r2, [r3, #0] + 8004162: 88fb ldrh r3, [r7, #6] + 8004164: 1ad3 subs r3, r2, r3 + 8004166: b29b uxth r3, r3 + 8004168: 3b01 subs r3, #1 + 800416a: 80fb strh r3, [r7, #6] LCD_WR_REG(lcddev.setxcmd); - 8004054: 4b21 ldr r3, [pc, #132] ; (80040dc ) - 8004056: 7a1b ldrb r3, [r3, #8] - 8004058: b29b uxth r3, r3 - 800405a: 4618 mov r0, r3 - 800405c: f7ff fc3e bl 80038dc + 800416c: 4b21 ldr r3, [pc, #132] ; (80041f4 ) + 800416e: 7a1b ldrb r3, [r3, #8] + 8004170: b29b uxth r3, r3 + 8004172: 4618 mov r0, r3 + 8004174: f7ff fc3e bl 80039f4 LCD_WR_DATA(Xpos>>8); - 8004060: 88fb ldrh r3, [r7, #6] - 8004062: 0a1b lsrs r3, r3, #8 - 8004064: b29b uxth r3, r3 - 8004066: 4618 mov r0, r3 - 8004068: f7ff fc46 bl 80038f8 + 8004178: 88fb ldrh r3, [r7, #6] + 800417a: 0a1b lsrs r3, r3, #8 + 800417c: b29b uxth r3, r3 + 800417e: 4618 mov r0, r3 + 8004180: f7ff fc46 bl 8003a10 LCD_WR_DATA(Xpos&0XFF); - 800406c: 88fb ldrh r3, [r7, #6] - 800406e: b2db uxtb r3, r3 - 8004070: b29b uxth r3, r3 - 8004072: 4618 mov r0, r3 - 8004074: f7ff fc40 bl 80038f8 + 8004184: 88fb ldrh r3, [r7, #6] + 8004186: b2db uxtb r3, r3 + 8004188: b29b uxth r3, r3 + 800418a: 4618 mov r0, r3 + 800418c: f7ff fc40 bl 8003a10 LCD_WR_REG(lcddev.setycmd); - 8004078: 4b18 ldr r3, [pc, #96] ; (80040dc ) - 800407a: 7a5b ldrb r3, [r3, #9] - 800407c: b29b uxth r3, r3 - 800407e: 4618 mov r0, r3 - 8004080: f7ff fc2c bl 80038dc + 8004190: 4b18 ldr r3, [pc, #96] ; (80041f4 ) + 8004192: 7a5b ldrb r3, [r3, #9] + 8004194: b29b uxth r3, r3 + 8004196: 4618 mov r0, r3 + 8004198: f7ff fc2c bl 80039f4 LCD_WR_DATA(Ypos>>8); - 8004084: 88bb ldrh r3, [r7, #4] - 8004086: 0a1b lsrs r3, r3, #8 - 8004088: b29b uxth r3, r3 - 800408a: 4618 mov r0, r3 - 800408c: f7ff fc34 bl 80038f8 + 800419c: 88bb ldrh r3, [r7, #4] + 800419e: 0a1b lsrs r3, r3, #8 + 80041a0: b29b uxth r3, r3 + 80041a2: 4618 mov r0, r3 + 80041a4: f7ff fc34 bl 8003a10 LCD_WR_DATA(Ypos&0XFF); - 8004090: 88bb ldrh r3, [r7, #4] - 8004092: b2db uxtb r3, r3 - 8004094: b29b uxth r3, r3 - 8004096: 4618 mov r0, r3 - 8004098: f7ff fc2e bl 80038f8 + 80041a8: 88bb ldrh r3, [r7, #4] + 80041aa: b2db uxtb r3, r3 + 80041ac: b29b uxth r3, r3 + 80041ae: 4618 mov r0, r3 + 80041b0: f7ff fc2e bl 8003a10 } - 800409c: e01a b.n 80040d4 + 80041b4: e01a b.n 80041ec if(lcddev.dir==1)Xpos=lcddev.width-1-Xpos;//横屏其实就是调转x,y坐标 - 800409e: 4b0f ldr r3, [pc, #60] ; (80040dc ) - 80040a0: 799b ldrb r3, [r3, #6] - 80040a2: 2b01 cmp r3, #1 - 80040a4: d106 bne.n 80040b4 - 80040a6: 4b0d ldr r3, [pc, #52] ; (80040dc ) - 80040a8: 881a ldrh r2, [r3, #0] - 80040aa: 88fb ldrh r3, [r7, #6] - 80040ac: 1ad3 subs r3, r2, r3 - 80040ae: b29b uxth r3, r3 - 80040b0: 3b01 subs r3, #1 - 80040b2: 80fb strh r3, [r7, #6] + 80041b6: 4b0f ldr r3, [pc, #60] ; (80041f4 ) + 80041b8: 799b ldrb r3, [r3, #6] + 80041ba: 2b01 cmp r3, #1 + 80041bc: d106 bne.n 80041cc + 80041be: 4b0d ldr r3, [pc, #52] ; (80041f4 ) + 80041c0: 881a ldrh r2, [r3, #0] + 80041c2: 88fb ldrh r3, [r7, #6] + 80041c4: 1ad3 subs r3, r2, r3 + 80041c6: b29b uxth r3, r3 + 80041c8: 3b01 subs r3, #1 + 80041ca: 80fb strh r3, [r7, #6] LCD_WriteReg(lcddev.setxcmd, Xpos); - 80040b4: 4b09 ldr r3, [pc, #36] ; (80040dc ) - 80040b6: 7a1b ldrb r3, [r3, #8] - 80040b8: b29b uxth r3, r3 - 80040ba: 88fa ldrh r2, [r7, #6] - 80040bc: 4611 mov r1, r2 - 80040be: 4618 mov r0, r3 - 80040c0: f7ff fc2a bl 8003918 + 80041cc: 4b09 ldr r3, [pc, #36] ; (80041f4 ) + 80041ce: 7a1b ldrb r3, [r3, #8] + 80041d0: b29b uxth r3, r3 + 80041d2: 88fa ldrh r2, [r7, #6] + 80041d4: 4611 mov r1, r2 + 80041d6: 4618 mov r0, r3 + 80041d8: f7ff fc2a bl 8003a30 LCD_WriteReg(lcddev.setycmd, Ypos); - 80040c4: 4b05 ldr r3, [pc, #20] ; (80040dc ) - 80040c6: 7a5b ldrb r3, [r3, #9] - 80040c8: b29b uxth r3, r3 - 80040ca: 88ba ldrh r2, [r7, #4] - 80040cc: 4611 mov r1, r2 - 80040ce: 4618 mov r0, r3 - 80040d0: f7ff fc22 bl 8003918 + 80041dc: 4b05 ldr r3, [pc, #20] ; (80041f4 ) + 80041de: 7a5b ldrb r3, [r3, #9] + 80041e0: b29b uxth r3, r3 + 80041e2: 88ba ldrh r2, [r7, #4] + 80041e4: 4611 mov r1, r2 + 80041e6: 4618 mov r0, r3 + 80041e8: f7ff fc22 bl 8003a30 } - 80040d4: bf00 nop - 80040d6: 3708 adds r7, #8 - 80040d8: 46bd mov sp, r7 - 80040da: bd80 pop {r7, pc} - 80040dc: 200002a8 .word 0x200002a8 + 80041ec: bf00 nop + 80041ee: 3708 adds r7, #8 + 80041f0: 46bd mov sp, r7 + 80041f2: bd80 pop {r7, pc} + 80041f4: 200002b8 .word 0x200002b8 -080040e0 : +080041f8 : } //画点 //x,y:坐标 //POINT_COLOR:此点的颜色 void LCD_set_dot(uint16_t x,uint16_t y,uint16_t color) { - 80040e0: b580 push {r7, lr} - 80040e2: b082 sub sp, #8 - 80040e4: af00 add r7, sp, #0 - 80040e6: 4603 mov r3, r0 - 80040e8: 80fb strh r3, [r7, #6] - 80040ea: 460b mov r3, r1 - 80040ec: 80bb strh r3, [r7, #4] - 80040ee: 4613 mov r3, r2 - 80040f0: 807b strh r3, [r7, #2] + 80041f8: b580 push {r7, lr} + 80041fa: b082 sub sp, #8 + 80041fc: af00 add r7, sp, #0 + 80041fe: 4603 mov r3, r0 + 8004200: 80fb strh r3, [r7, #6] + 8004202: 460b mov r3, r1 + 8004204: 80bb strh r3, [r7, #4] + 8004206: 4613 mov r3, r2 + 8004208: 807b strh r3, [r7, #2] LCD_SetCursor(x,y); //设置光标位置 - 80040f2: 88ba ldrh r2, [r7, #4] - 80040f4: 88fb ldrh r3, [r7, #6] - 80040f6: 4611 mov r1, r2 - 80040f8: 4618 mov r0, r3 - 80040fa: f7ff ff61 bl 8003fc0 + 800420a: 88ba ldrh r2, [r7, #4] + 800420c: 88fb ldrh r3, [r7, #6] + 800420e: 4611 mov r1, r2 + 8004210: 4618 mov r0, r3 + 8004212: f7ff ff61 bl 80040d8 LCD_REG_ADDRESS=lcddev.wramcmd; //开始写入GRAM - 80040fe: 4b06 ldr r3, [pc, #24] ; (8004118 ) - 8004100: 79da ldrb r2, [r3, #7] - 8004102: f04f 43d8 mov.w r3, #1811939328 ; 0x6c000000 - 8004106: b292 uxth r2, r2 - 8004108: 801a strh r2, [r3, #0] + 8004216: 4b06 ldr r3, [pc, #24] ; (8004230 ) + 8004218: 79da ldrb r2, [r3, #7] + 800421a: f04f 43d8 mov.w r3, #1811939328 ; 0x6c000000 + 800421e: b292 uxth r2, r2 + 8004220: 801a strh r2, [r3, #0] LCD_DATA_ADDRESS=color; - 800410a: 4a04 ldr r2, [pc, #16] ; (800411c ) - 800410c: 887b ldrh r3, [r7, #2] - 800410e: 8013 strh r3, [r2, #0] + 8004222: 4a04 ldr r2, [pc, #16] ; (8004234 ) + 8004224: 887b ldrh r3, [r7, #2] + 8004226: 8013 strh r3, [r2, #0] } - 8004110: bf00 nop - 8004112: 3708 adds r7, #8 - 8004114: 46bd mov sp, r7 - 8004116: bd80 pop {r7, pc} - 8004118: 200002a8 .word 0x200002a8 - 800411c: 6c000800 .word 0x6c000800 + 8004228: bf00 nop + 800422a: 3708 adds r7, #8 + 800422c: 46bd mov sp, r7 + 800422e: bd80 pop {r7, pc} + 8004230: 200002b8 .word 0x200002b8 + 8004234: 6c000800 .word 0x6c000800 -08004120 : +08004238 : //清屏函数 //color:要清屏的填充色 void LCD_Clear(uint16_t color) { - 8004120: b580 push {r7, lr} - 8004122: b084 sub sp, #16 - 8004124: af00 add r7, sp, #0 - 8004126: 4603 mov r3, r0 - 8004128: 80fb strh r3, [r7, #6] + 8004238: b580 push {r7, lr} + 800423a: b084 sub sp, #16 + 800423c: af00 add r7, sp, #0 + 800423e: 4603 mov r3, r0 + 8004240: 80fb strh r3, [r7, #6] uint32_t index=0; - 800412a: 2300 movs r3, #0 - 800412c: 60fb str r3, [r7, #12] + 8004242: 2300 movs r3, #0 + 8004244: 60fb str r3, [r7, #12] uint32_t totalpoint=lcddev.width; - 800412e: 4b23 ldr r3, [pc, #140] ; (80041bc ) - 8004130: 881b ldrh r3, [r3, #0] - 8004132: 60bb str r3, [r7, #8] + 8004246: 4b23 ldr r3, [pc, #140] ; (80042d4 ) + 8004248: 881b ldrh r3, [r3, #0] + 800424a: 60bb str r3, [r7, #8] totalpoint*=lcddev.height; //得到总点数 - 8004134: 4b21 ldr r3, [pc, #132] ; (80041bc ) - 8004136: 885b ldrh r3, [r3, #2] - 8004138: 461a mov r2, r3 - 800413a: 68bb ldr r3, [r7, #8] - 800413c: fb02 f303 mul.w r3, r2, r3 - 8004140: 60bb str r3, [r7, #8] + 800424c: 4b21 ldr r3, [pc, #132] ; (80042d4 ) + 800424e: 885b ldrh r3, [r3, #2] + 8004250: 461a mov r2, r3 + 8004252: 68bb ldr r3, [r7, #8] + 8004254: fb02 f303 mul.w r3, r2, r3 + 8004258: 60bb str r3, [r7, #8] if((lcddev.id==0X6804)&&(lcddev.dir==1))//6804横屏的时候特殊处理 - 8004142: 4b1e ldr r3, [pc, #120] ; (80041bc ) - 8004144: 889b ldrh r3, [r3, #4] - 8004146: f646 0204 movw r2, #26628 ; 0x6804 - 800414a: 4293 cmp r3, r2 - 800414c: d11a bne.n 8004184 - 800414e: 4b1b ldr r3, [pc, #108] ; (80041bc ) - 8004150: 799b ldrb r3, [r3, #6] - 8004152: 2b01 cmp r3, #1 - 8004154: d116 bne.n 8004184 + 800425a: 4b1e ldr r3, [pc, #120] ; (80042d4 ) + 800425c: 889b ldrh r3, [r3, #4] + 800425e: f646 0204 movw r2, #26628 ; 0x6804 + 8004262: 4293 cmp r3, r2 + 8004264: d11a bne.n 800429c + 8004266: 4b1b ldr r3, [pc, #108] ; (80042d4 ) + 8004268: 799b ldrb r3, [r3, #6] + 800426a: 2b01 cmp r3, #1 + 800426c: d116 bne.n 800429c { lcddev.dir=0; - 8004156: 4b19 ldr r3, [pc, #100] ; (80041bc ) - 8004158: 2200 movs r2, #0 - 800415a: 719a strb r2, [r3, #6] + 800426e: 4b19 ldr r3, [pc, #100] ; (80042d4 ) + 8004270: 2200 movs r2, #0 + 8004272: 719a strb r2, [r3, #6] lcddev.setxcmd=0X2A; - 800415c: 4b17 ldr r3, [pc, #92] ; (80041bc ) - 800415e: 222a movs r2, #42 ; 0x2a - 8004160: 721a strb r2, [r3, #8] + 8004274: 4b17 ldr r3, [pc, #92] ; (80042d4 ) + 8004276: 222a movs r2, #42 ; 0x2a + 8004278: 721a strb r2, [r3, #8] lcddev.setycmd=0X2B; - 8004162: 4b16 ldr r3, [pc, #88] ; (80041bc ) - 8004164: 222b movs r2, #43 ; 0x2b - 8004166: 725a strb r2, [r3, #9] + 800427a: 4b16 ldr r3, [pc, #88] ; (80042d4 ) + 800427c: 222b movs r2, #43 ; 0x2b + 800427e: 725a strb r2, [r3, #9] LCD_SetCursor(0x00,0x0000); //设置光标位置 - 8004168: 2100 movs r1, #0 - 800416a: 2000 movs r0, #0 - 800416c: f7ff ff28 bl 8003fc0 + 8004280: 2100 movs r1, #0 + 8004282: 2000 movs r0, #0 + 8004284: f7ff ff28 bl 80040d8 lcddev.dir=1; - 8004170: 4b12 ldr r3, [pc, #72] ; (80041bc ) - 8004172: 2201 movs r2, #1 - 8004174: 719a strb r2, [r3, #6] + 8004288: 4b12 ldr r3, [pc, #72] ; (80042d4 ) + 800428a: 2201 movs r2, #1 + 800428c: 719a strb r2, [r3, #6] lcddev.setxcmd=0X2B; - 8004176: 4b11 ldr r3, [pc, #68] ; (80041bc ) - 8004178: 222b movs r2, #43 ; 0x2b - 800417a: 721a strb r2, [r3, #8] + 800428e: 4b11 ldr r3, [pc, #68] ; (80042d4 ) + 8004290: 222b movs r2, #43 ; 0x2b + 8004292: 721a strb r2, [r3, #8] lcddev.setycmd=0X2A; - 800417c: 4b0f ldr r3, [pc, #60] ; (80041bc ) - 800417e: 222a movs r2, #42 ; 0x2a - 8004180: 725a strb r2, [r3, #9] - 8004182: e003 b.n 800418c + 8004294: 4b0f ldr r3, [pc, #60] ; (80042d4 ) + 8004296: 222a movs r2, #42 ; 0x2a + 8004298: 725a strb r2, [r3, #9] + 800429a: e003 b.n 80042a4 }else LCD_SetCursor(0x00,0x0000); //设置光标位置 - 8004184: 2100 movs r1, #0 - 8004186: 2000 movs r0, #0 - 8004188: f7ff ff1a bl 8003fc0 + 800429c: 2100 movs r1, #0 + 800429e: 2000 movs r0, #0 + 80042a0: f7ff ff1a bl 80040d8 LCD_REG_ADDRESS=lcddev.wramcmd; //开始写入GRAM - 800418c: 4b0b ldr r3, [pc, #44] ; (80041bc ) - 800418e: 79da ldrb r2, [r3, #7] - 8004190: f04f 43d8 mov.w r3, #1811939328 ; 0x6c000000 - 8004194: b292 uxth r2, r2 - 8004196: 801a strh r2, [r3, #0] + 80042a4: 4b0b ldr r3, [pc, #44] ; (80042d4 ) + 80042a6: 79da ldrb r2, [r3, #7] + 80042a8: f04f 43d8 mov.w r3, #1811939328 ; 0x6c000000 + 80042ac: b292 uxth r2, r2 + 80042ae: 801a strh r2, [r3, #0] for(index=0;index + 80042b0: 2300 movs r3, #0 + 80042b2: 60fb str r3, [r7, #12] + 80042b4: e005 b.n 80042c2 { LCD_DATA_ADDRESS=color; - 800419e: 4a08 ldr r2, [pc, #32] ; (80041c0 ) - 80041a0: 88fb ldrh r3, [r7, #6] - 80041a2: 8013 strh r3, [r2, #0] + 80042b6: 4a08 ldr r2, [pc, #32] ; (80042d8 ) + 80042b8: 88fb ldrh r3, [r7, #6] + 80042ba: 8013 strh r3, [r2, #0] for(index=0;index + 80042bc: 68fb ldr r3, [r7, #12] + 80042be: 3301 adds r3, #1 + 80042c0: 60fb str r3, [r7, #12] + 80042c2: 68fa ldr r2, [r7, #12] + 80042c4: 68bb ldr r3, [r7, #8] + 80042c6: 429a cmp r2, r3 + 80042c8: d3f5 bcc.n 80042b6 } } - 80041b2: bf00 nop - 80041b4: bf00 nop - 80041b6: 3710 adds r7, #16 - 80041b8: 46bd mov sp, r7 - 80041ba: bd80 pop {r7, pc} - 80041bc: 200002a8 .word 0x200002a8 - 80041c0: 6c000800 .word 0x6c000800 + 80042ca: bf00 nop + 80042cc: bf00 nop + 80042ce: 3710 adds r7, #16 + 80042d0: 46bd mov sp, r7 + 80042d2: bd80 pop {r7, pc} + 80042d4: 200002b8 .word 0x200002b8 + 80042d8: 6c000800 .word 0x6c000800 -080041c4 : +080042dc : //***********************************2D //画线 //x1,y1:起点坐标 //x2,y2:终点坐标 void LCD_DrawLine(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2,uint16_t color) { - 80041c4: b590 push {r4, r7, lr} - 80041c6: b08d sub sp, #52 ; 0x34 - 80041c8: af00 add r7, sp, #0 - 80041ca: 4604 mov r4, r0 - 80041cc: 4608 mov r0, r1 - 80041ce: 4611 mov r1, r2 - 80041d0: 461a mov r2, r3 - 80041d2: 4623 mov r3, r4 - 80041d4: 80fb strh r3, [r7, #6] - 80041d6: 4603 mov r3, r0 - 80041d8: 80bb strh r3, [r7, #4] - 80041da: 460b mov r3, r1 - 80041dc: 807b strh r3, [r7, #2] - 80041de: 4613 mov r3, r2 - 80041e0: 803b strh r3, [r7, #0] + 80042dc: b590 push {r4, r7, lr} + 80042de: b08d sub sp, #52 ; 0x34 + 80042e0: af00 add r7, sp, #0 + 80042e2: 4604 mov r4, r0 + 80042e4: 4608 mov r0, r1 + 80042e6: 4611 mov r1, r2 + 80042e8: 461a mov r2, r3 + 80042ea: 4623 mov r3, r4 + 80042ec: 80fb strh r3, [r7, #6] + 80042ee: 4603 mov r3, r0 + 80042f0: 80bb strh r3, [r7, #4] + 80042f2: 460b mov r3, r1 + 80042f4: 807b strh r3, [r7, #2] + 80042f6: 4613 mov r3, r2 + 80042f8: 803b strh r3, [r7, #0] uint16_t t; int xerr=0,yerr=0,delta_x,delta_y,distance; - 80041e2: 2300 movs r3, #0 - 80041e4: 62bb str r3, [r7, #40] ; 0x28 - 80041e6: 2300 movs r3, #0 - 80041e8: 627b str r3, [r7, #36] ; 0x24 + 80042fa: 2300 movs r3, #0 + 80042fc: 62bb str r3, [r7, #40] ; 0x28 + 80042fe: 2300 movs r3, #0 + 8004300: 627b str r3, [r7, #36] ; 0x24 int incx,incy,uRow,uCol; delta_x=x2-x1; //计算坐标增量 - 80041ea: 887a ldrh r2, [r7, #2] - 80041ec: 88fb ldrh r3, [r7, #6] - 80041ee: 1ad3 subs r3, r2, r3 - 80041f0: 623b str r3, [r7, #32] + 8004302: 887a ldrh r2, [r7, #2] + 8004304: 88fb ldrh r3, [r7, #6] + 8004306: 1ad3 subs r3, r2, r3 + 8004308: 623b str r3, [r7, #32] delta_y=y2-y1; - 80041f2: 883a ldrh r2, [r7, #0] - 80041f4: 88bb ldrh r3, [r7, #4] - 80041f6: 1ad3 subs r3, r2, r3 - 80041f8: 61fb str r3, [r7, #28] + 800430a: 883a ldrh r2, [r7, #0] + 800430c: 88bb ldrh r3, [r7, #4] + 800430e: 1ad3 subs r3, r2, r3 + 8004310: 61fb str r3, [r7, #28] uRow=x1; - 80041fa: 88fb ldrh r3, [r7, #6] - 80041fc: 60fb str r3, [r7, #12] + 8004312: 88fb ldrh r3, [r7, #6] + 8004314: 60fb str r3, [r7, #12] uCol=y1; - 80041fe: 88bb ldrh r3, [r7, #4] - 8004200: 60bb str r3, [r7, #8] + 8004316: 88bb ldrh r3, [r7, #4] + 8004318: 60bb str r3, [r7, #8] if(delta_x>0)incx=1; //设置单步方向 - 8004202: 6a3b ldr r3, [r7, #32] - 8004204: 2b00 cmp r3, #0 - 8004206: dd02 ble.n 800420e - 8004208: 2301 movs r3, #1 - 800420a: 617b str r3, [r7, #20] - 800420c: e00b b.n 8004226 + 800431a: 6a3b ldr r3, [r7, #32] + 800431c: 2b00 cmp r3, #0 + 800431e: dd02 ble.n 8004326 + 8004320: 2301 movs r3, #1 + 8004322: 617b str r3, [r7, #20] + 8004324: e00b b.n 800433e else if(delta_x==0)incx=0;//垂直线 - 800420e: 6a3b ldr r3, [r7, #32] - 8004210: 2b00 cmp r3, #0 - 8004212: d102 bne.n 800421a - 8004214: 2300 movs r3, #0 - 8004216: 617b str r3, [r7, #20] - 8004218: e005 b.n 8004226 + 8004326: 6a3b ldr r3, [r7, #32] + 8004328: 2b00 cmp r3, #0 + 800432a: d102 bne.n 8004332 + 800432c: 2300 movs r3, #0 + 800432e: 617b str r3, [r7, #20] + 8004330: e005 b.n 800433e else {incx=-1;delta_x=-delta_x;} - 800421a: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff - 800421e: 617b str r3, [r7, #20] - 8004220: 6a3b ldr r3, [r7, #32] - 8004222: 425b negs r3, r3 - 8004224: 623b str r3, [r7, #32] + 8004332: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff + 8004336: 617b str r3, [r7, #20] + 8004338: 6a3b ldr r3, [r7, #32] + 800433a: 425b negs r3, r3 + 800433c: 623b str r3, [r7, #32] if(delta_y>0)incy=1; - 8004226: 69fb ldr r3, [r7, #28] - 8004228: 2b00 cmp r3, #0 - 800422a: dd02 ble.n 8004232 - 800422c: 2301 movs r3, #1 - 800422e: 613b str r3, [r7, #16] - 8004230: e00b b.n 800424a + 800433e: 69fb ldr r3, [r7, #28] + 8004340: 2b00 cmp r3, #0 + 8004342: dd02 ble.n 800434a + 8004344: 2301 movs r3, #1 + 8004346: 613b str r3, [r7, #16] + 8004348: e00b b.n 8004362 else if(delta_y==0)incy=0;//水平线 - 8004232: 69fb ldr r3, [r7, #28] - 8004234: 2b00 cmp r3, #0 - 8004236: d102 bne.n 800423e - 8004238: 2300 movs r3, #0 - 800423a: 613b str r3, [r7, #16] - 800423c: e005 b.n 800424a + 800434a: 69fb ldr r3, [r7, #28] + 800434c: 2b00 cmp r3, #0 + 800434e: d102 bne.n 8004356 + 8004350: 2300 movs r3, #0 + 8004352: 613b str r3, [r7, #16] + 8004354: e005 b.n 8004362 else{incy=-1;delta_y=-delta_y;} - 800423e: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff - 8004242: 613b str r3, [r7, #16] - 8004244: 69fb ldr r3, [r7, #28] - 8004246: 425b negs r3, r3 - 8004248: 61fb str r3, [r7, #28] + 8004356: f04f 33ff mov.w r3, #4294967295 ; 0xffffffff + 800435a: 613b str r3, [r7, #16] + 800435c: 69fb ldr r3, [r7, #28] + 800435e: 425b negs r3, r3 + 8004360: 61fb str r3, [r7, #28] if( delta_x>delta_y)distance=delta_x; //选取基本增量坐标轴 - 800424a: 6a3a ldr r2, [r7, #32] - 800424c: 69fb ldr r3, [r7, #28] - 800424e: 429a cmp r2, r3 - 8004250: dd02 ble.n 8004258 - 8004252: 6a3b ldr r3, [r7, #32] - 8004254: 61bb str r3, [r7, #24] - 8004256: e001 b.n 800425c + 8004362: 6a3a ldr r2, [r7, #32] + 8004364: 69fb ldr r3, [r7, #28] + 8004366: 429a cmp r2, r3 + 8004368: dd02 ble.n 8004370 + 800436a: 6a3b ldr r3, [r7, #32] + 800436c: 61bb str r3, [r7, #24] + 800436e: e001 b.n 8004374 else distance=delta_y; - 8004258: 69fb ldr r3, [r7, #28] - 800425a: 61bb str r3, [r7, #24] + 8004370: 69fb ldr r3, [r7, #28] + 8004372: 61bb str r3, [r7, #24] for(t=0;t<=distance+1;t++ )//画线输出 - 800425c: 2300 movs r3, #0 - 800425e: 85fb strh r3, [r7, #46] ; 0x2e - 8004260: e02b b.n 80042ba + 8004374: 2300 movs r3, #0 + 8004376: 85fb strh r3, [r7, #46] ; 0x2e + 8004378: e02b b.n 80043d2 { LCD_set_dot(uRow,uCol,color);//画点 - 8004262: 68fb ldr r3, [r7, #12] - 8004264: b29b uxth r3, r3 - 8004266: 68ba ldr r2, [r7, #8] - 8004268: b291 uxth r1, r2 - 800426a: f8b7 2040 ldrh.w r2, [r7, #64] ; 0x40 - 800426e: 4618 mov r0, r3 - 8004270: f7ff ff36 bl 80040e0 + 800437a: 68fb ldr r3, [r7, #12] + 800437c: b29b uxth r3, r3 + 800437e: 68ba ldr r2, [r7, #8] + 8004380: b291 uxth r1, r2 + 8004382: f8b7 2040 ldrh.w r2, [r7, #64] ; 0x40 + 8004386: 4618 mov r0, r3 + 8004388: f7ff ff36 bl 80041f8 xerr+=delta_x ; - 8004274: 6aba ldr r2, [r7, #40] ; 0x28 - 8004276: 6a3b ldr r3, [r7, #32] - 8004278: 4413 add r3, r2 - 800427a: 62bb str r3, [r7, #40] ; 0x28 + 800438c: 6aba ldr r2, [r7, #40] ; 0x28 + 800438e: 6a3b ldr r3, [r7, #32] + 8004390: 4413 add r3, r2 + 8004392: 62bb str r3, [r7, #40] ; 0x28 yerr+=delta_y ; - 800427c: 6a7a ldr r2, [r7, #36] ; 0x24 - 800427e: 69fb ldr r3, [r7, #28] - 8004280: 4413 add r3, r2 - 8004282: 627b str r3, [r7, #36] ; 0x24 + 8004394: 6a7a ldr r2, [r7, #36] ; 0x24 + 8004396: 69fb ldr r3, [r7, #28] + 8004398: 4413 add r3, r2 + 800439a: 627b str r3, [r7, #36] ; 0x24 if(xerr>distance) - 8004284: 6aba ldr r2, [r7, #40] ; 0x28 - 8004286: 69bb ldr r3, [r7, #24] - 8004288: 429a cmp r2, r3 - 800428a: dd07 ble.n 800429c + 800439c: 6aba ldr r2, [r7, #40] ; 0x28 + 800439e: 69bb ldr r3, [r7, #24] + 80043a0: 429a cmp r2, r3 + 80043a2: dd07 ble.n 80043b4 { xerr-=distance; - 800428c: 6aba ldr r2, [r7, #40] ; 0x28 - 800428e: 69bb ldr r3, [r7, #24] - 8004290: 1ad3 subs r3, r2, r3 - 8004292: 62bb str r3, [r7, #40] ; 0x28 + 80043a4: 6aba ldr r2, [r7, #40] ; 0x28 + 80043a6: 69bb ldr r3, [r7, #24] + 80043a8: 1ad3 subs r3, r2, r3 + 80043aa: 62bb str r3, [r7, #40] ; 0x28 uRow+=incx; - 8004294: 68fa ldr r2, [r7, #12] - 8004296: 697b ldr r3, [r7, #20] - 8004298: 4413 add r3, r2 - 800429a: 60fb str r3, [r7, #12] + 80043ac: 68fa ldr r2, [r7, #12] + 80043ae: 697b ldr r3, [r7, #20] + 80043b0: 4413 add r3, r2 + 80043b2: 60fb str r3, [r7, #12] } if(yerr>distance) - 800429c: 6a7a ldr r2, [r7, #36] ; 0x24 - 800429e: 69bb ldr r3, [r7, #24] - 80042a0: 429a cmp r2, r3 - 80042a2: dd07 ble.n 80042b4 + 80043b4: 6a7a ldr r2, [r7, #36] ; 0x24 + 80043b6: 69bb ldr r3, [r7, #24] + 80043b8: 429a cmp r2, r3 + 80043ba: dd07 ble.n 80043cc { yerr-=distance; - 80042a4: 6a7a ldr r2, [r7, #36] ; 0x24 - 80042a6: 69bb ldr r3, [r7, #24] - 80042a8: 1ad3 subs r3, r2, r3 - 80042aa: 627b str r3, [r7, #36] ; 0x24 + 80043bc: 6a7a ldr r2, [r7, #36] ; 0x24 + 80043be: 69bb ldr r3, [r7, #24] + 80043c0: 1ad3 subs r3, r2, r3 + 80043c2: 627b str r3, [r7, #36] ; 0x24 uCol+=incy; - 80042ac: 68ba ldr r2, [r7, #8] - 80042ae: 693b ldr r3, [r7, #16] - 80042b0: 4413 add r3, r2 - 80042b2: 60bb str r3, [r7, #8] + 80043c4: 68ba ldr r2, [r7, #8] + 80043c6: 693b ldr r3, [r7, #16] + 80043c8: 4413 add r3, r2 + 80043ca: 60bb str r3, [r7, #8] for(t=0;t<=distance+1;t++ )//画线输出 - 80042b4: 8dfb ldrh r3, [r7, #46] ; 0x2e - 80042b6: 3301 adds r3, #1 - 80042b8: 85fb strh r3, [r7, #46] ; 0x2e - 80042ba: 8dfa ldrh r2, [r7, #46] ; 0x2e - 80042bc: 69bb ldr r3, [r7, #24] - 80042be: 3301 adds r3, #1 - 80042c0: 429a cmp r2, r3 - 80042c2: ddce ble.n 8004262 + 80043cc: 8dfb ldrh r3, [r7, #46] ; 0x2e + 80043ce: 3301 adds r3, #1 + 80043d0: 85fb strh r3, [r7, #46] ; 0x2e + 80043d2: 8dfa ldrh r2, [r7, #46] ; 0x2e + 80043d4: 69bb ldr r3, [r7, #24] + 80043d6: 3301 adds r3, #1 + 80043d8: 429a cmp r2, r3 + 80043da: ddce ble.n 800437a } } } - 80042c4: bf00 nop - 80042c6: bf00 nop - 80042c8: 3734 adds r7, #52 ; 0x34 - 80042ca: 46bd mov sp, r7 - 80042cc: bd90 pop {r4, r7, pc} + 80043dc: bf00 nop + 80043de: bf00 nop + 80043e0: 3734 adds r7, #52 ; 0x34 + 80043e2: 46bd mov sp, r7 + 80043e4: bd90 pop {r4, r7, pc} -080042ce : +080043e6 : //在指定位置画一个指定大小的圆 //(x,y):中心点 //r :半径 void Draw_Circle(uint16_t x0,uint16_t y0,uint16_t r,uint16_t color) { - 80042ce: b590 push {r4, r7, lr} - 80042d0: b087 sub sp, #28 - 80042d2: af00 add r7, sp, #0 - 80042d4: 4604 mov r4, r0 - 80042d6: 4608 mov r0, r1 - 80042d8: 4611 mov r1, r2 - 80042da: 461a mov r2, r3 - 80042dc: 4623 mov r3, r4 - 80042de: 80fb strh r3, [r7, #6] - 80042e0: 4603 mov r3, r0 - 80042e2: 80bb strh r3, [r7, #4] - 80042e4: 460b mov r3, r1 - 80042e6: 807b strh r3, [r7, #2] - 80042e8: 4613 mov r3, r2 - 80042ea: 803b strh r3, [r7, #0] + 80043e6: b590 push {r4, r7, lr} + 80043e8: b087 sub sp, #28 + 80043ea: af00 add r7, sp, #0 + 80043ec: 4604 mov r4, r0 + 80043ee: 4608 mov r0, r1 + 80043f0: 4611 mov r1, r2 + 80043f2: 461a mov r2, r3 + 80043f4: 4623 mov r3, r4 + 80043f6: 80fb strh r3, [r7, #6] + 80043f8: 4603 mov r3, r0 + 80043fa: 80bb strh r3, [r7, #4] + 80043fc: 460b mov r3, r1 + 80043fe: 807b strh r3, [r7, #2] + 8004400: 4613 mov r3, r2 + 8004402: 803b strh r3, [r7, #0] int a,b; int di; a=0;b=r; - 80042ec: 2300 movs r3, #0 - 80042ee: 617b str r3, [r7, #20] - 80042f0: 887b ldrh r3, [r7, #2] - 80042f2: 613b str r3, [r7, #16] + 8004404: 2300 movs r3, #0 + 8004406: 617b str r3, [r7, #20] + 8004408: 887b ldrh r3, [r7, #2] + 800440a: 613b str r3, [r7, #16] di=3-(r<<1); //判断下个点位置的标志 - 80042f4: 887b ldrh r3, [r7, #2] - 80042f6: 005b lsls r3, r3, #1 - 80042f8: f1c3 0303 rsb r3, r3, #3 - 80042fc: 60fb str r3, [r7, #12] + 800440c: 887b ldrh r3, [r7, #2] + 800440e: 005b lsls r3, r3, #1 + 8004410: f1c3 0303 rsb r3, r3, #3 + 8004414: 60fb str r3, [r7, #12] while(a<=b) - 80042fe: e087 b.n 8004410 + 8004416: e087 b.n 8004528 { LCD_set_dot(x0+a,y0-b,color); //5 - 8004300: 697b ldr r3, [r7, #20] - 8004302: b29a uxth r2, r3 - 8004304: 88fb ldrh r3, [r7, #6] - 8004306: 4413 add r3, r2 - 8004308: b298 uxth r0, r3 - 800430a: 693b ldr r3, [r7, #16] - 800430c: b29b uxth r3, r3 - 800430e: 88ba ldrh r2, [r7, #4] - 8004310: 1ad3 subs r3, r2, r3 - 8004312: b29b uxth r3, r3 - 8004314: 883a ldrh r2, [r7, #0] - 8004316: 4619 mov r1, r3 - 8004318: f7ff fee2 bl 80040e0 + 8004418: 697b ldr r3, [r7, #20] + 800441a: b29a uxth r2, r3 + 800441c: 88fb ldrh r3, [r7, #6] + 800441e: 4413 add r3, r2 + 8004420: b298 uxth r0, r3 + 8004422: 693b ldr r3, [r7, #16] + 8004424: b29b uxth r3, r3 + 8004426: 88ba ldrh r2, [r7, #4] + 8004428: 1ad3 subs r3, r2, r3 + 800442a: b29b uxth r3, r3 + 800442c: 883a ldrh r2, [r7, #0] + 800442e: 4619 mov r1, r3 + 8004430: f7ff fee2 bl 80041f8 LCD_set_dot(x0+b,y0-a,color); //0 - 800431c: 693b ldr r3, [r7, #16] - 800431e: b29a uxth r2, r3 - 8004320: 88fb ldrh r3, [r7, #6] - 8004322: 4413 add r3, r2 - 8004324: b298 uxth r0, r3 - 8004326: 697b ldr r3, [r7, #20] - 8004328: b29b uxth r3, r3 - 800432a: 88ba ldrh r2, [r7, #4] - 800432c: 1ad3 subs r3, r2, r3 - 800432e: b29b uxth r3, r3 - 8004330: 883a ldrh r2, [r7, #0] - 8004332: 4619 mov r1, r3 - 8004334: f7ff fed4 bl 80040e0 + 8004434: 693b ldr r3, [r7, #16] + 8004436: b29a uxth r2, r3 + 8004438: 88fb ldrh r3, [r7, #6] + 800443a: 4413 add r3, r2 + 800443c: b298 uxth r0, r3 + 800443e: 697b ldr r3, [r7, #20] + 8004440: b29b uxth r3, r3 + 8004442: 88ba ldrh r2, [r7, #4] + 8004444: 1ad3 subs r3, r2, r3 + 8004446: b29b uxth r3, r3 + 8004448: 883a ldrh r2, [r7, #0] + 800444a: 4619 mov r1, r3 + 800444c: f7ff fed4 bl 80041f8 LCD_set_dot(x0+b,y0+a,color); //4 - 8004338: 693b ldr r3, [r7, #16] - 800433a: b29a uxth r2, r3 - 800433c: 88fb ldrh r3, [r7, #6] - 800433e: 4413 add r3, r2 - 8004340: b298 uxth r0, r3 - 8004342: 697b ldr r3, [r7, #20] - 8004344: b29a uxth r2, r3 - 8004346: 88bb ldrh r3, [r7, #4] - 8004348: 4413 add r3, r2 - 800434a: b29b uxth r3, r3 - 800434c: 883a ldrh r2, [r7, #0] - 800434e: 4619 mov r1, r3 - 8004350: f7ff fec6 bl 80040e0 + 8004450: 693b ldr r3, [r7, #16] + 8004452: b29a uxth r2, r3 + 8004454: 88fb ldrh r3, [r7, #6] + 8004456: 4413 add r3, r2 + 8004458: b298 uxth r0, r3 + 800445a: 697b ldr r3, [r7, #20] + 800445c: b29a uxth r2, r3 + 800445e: 88bb ldrh r3, [r7, #4] + 8004460: 4413 add r3, r2 + 8004462: b29b uxth r3, r3 + 8004464: 883a ldrh r2, [r7, #0] + 8004466: 4619 mov r1, r3 + 8004468: f7ff fec6 bl 80041f8 LCD_set_dot(x0+a,y0+b,color); //6 - 8004354: 697b ldr r3, [r7, #20] - 8004356: b29a uxth r2, r3 - 8004358: 88fb ldrh r3, [r7, #6] - 800435a: 4413 add r3, r2 - 800435c: b298 uxth r0, r3 - 800435e: 693b ldr r3, [r7, #16] - 8004360: b29a uxth r2, r3 - 8004362: 88bb ldrh r3, [r7, #4] - 8004364: 4413 add r3, r2 - 8004366: b29b uxth r3, r3 - 8004368: 883a ldrh r2, [r7, #0] - 800436a: 4619 mov r1, r3 - 800436c: f7ff feb8 bl 80040e0 + 800446c: 697b ldr r3, [r7, #20] + 800446e: b29a uxth r2, r3 + 8004470: 88fb ldrh r3, [r7, #6] + 8004472: 4413 add r3, r2 + 8004474: b298 uxth r0, r3 + 8004476: 693b ldr r3, [r7, #16] + 8004478: b29a uxth r2, r3 + 800447a: 88bb ldrh r3, [r7, #4] + 800447c: 4413 add r3, r2 + 800447e: b29b uxth r3, r3 + 8004480: 883a ldrh r2, [r7, #0] + 8004482: 4619 mov r1, r3 + 8004484: f7ff feb8 bl 80041f8 LCD_set_dot(x0-a,y0+b,color); //1 - 8004370: 697b ldr r3, [r7, #20] - 8004372: b29b uxth r3, r3 - 8004374: 88fa ldrh r2, [r7, #6] - 8004376: 1ad3 subs r3, r2, r3 - 8004378: b298 uxth r0, r3 - 800437a: 693b ldr r3, [r7, #16] - 800437c: b29a uxth r2, r3 - 800437e: 88bb ldrh r3, [r7, #4] - 8004380: 4413 add r3, r2 - 8004382: b29b uxth r3, r3 - 8004384: 883a ldrh r2, [r7, #0] - 8004386: 4619 mov r1, r3 - 8004388: f7ff feaa bl 80040e0 + 8004488: 697b ldr r3, [r7, #20] + 800448a: b29b uxth r3, r3 + 800448c: 88fa ldrh r2, [r7, #6] + 800448e: 1ad3 subs r3, r2, r3 + 8004490: b298 uxth r0, r3 + 8004492: 693b ldr r3, [r7, #16] + 8004494: b29a uxth r2, r3 + 8004496: 88bb ldrh r3, [r7, #4] + 8004498: 4413 add r3, r2 + 800449a: b29b uxth r3, r3 + 800449c: 883a ldrh r2, [r7, #0] + 800449e: 4619 mov r1, r3 + 80044a0: f7ff feaa bl 80041f8 LCD_set_dot(x0-b,y0+a,color); - 800438c: 693b ldr r3, [r7, #16] - 800438e: b29b uxth r3, r3 - 8004390: 88fa ldrh r2, [r7, #6] - 8004392: 1ad3 subs r3, r2, r3 - 8004394: b298 uxth r0, r3 - 8004396: 697b ldr r3, [r7, #20] - 8004398: b29a uxth r2, r3 - 800439a: 88bb ldrh r3, [r7, #4] - 800439c: 4413 add r3, r2 - 800439e: b29b uxth r3, r3 - 80043a0: 883a ldrh r2, [r7, #0] - 80043a2: 4619 mov r1, r3 - 80043a4: f7ff fe9c bl 80040e0 + 80044a4: 693b ldr r3, [r7, #16] + 80044a6: b29b uxth r3, r3 + 80044a8: 88fa ldrh r2, [r7, #6] + 80044aa: 1ad3 subs r3, r2, r3 + 80044ac: b298 uxth r0, r3 + 80044ae: 697b ldr r3, [r7, #20] + 80044b0: b29a uxth r2, r3 + 80044b2: 88bb ldrh r3, [r7, #4] + 80044b4: 4413 add r3, r2 + 80044b6: b29b uxth r3, r3 + 80044b8: 883a ldrh r2, [r7, #0] + 80044ba: 4619 mov r1, r3 + 80044bc: f7ff fe9c bl 80041f8 LCD_set_dot(x0-a,y0-b,color); //2 - 80043a8: 697b ldr r3, [r7, #20] - 80043aa: b29b uxth r3, r3 - 80043ac: 88fa ldrh r2, [r7, #6] - 80043ae: 1ad3 subs r3, r2, r3 - 80043b0: b298 uxth r0, r3 - 80043b2: 693b ldr r3, [r7, #16] - 80043b4: b29b uxth r3, r3 - 80043b6: 88ba ldrh r2, [r7, #4] - 80043b8: 1ad3 subs r3, r2, r3 - 80043ba: b29b uxth r3, r3 - 80043bc: 883a ldrh r2, [r7, #0] - 80043be: 4619 mov r1, r3 - 80043c0: f7ff fe8e bl 80040e0 + 80044c0: 697b ldr r3, [r7, #20] + 80044c2: b29b uxth r3, r3 + 80044c4: 88fa ldrh r2, [r7, #6] + 80044c6: 1ad3 subs r3, r2, r3 + 80044c8: b298 uxth r0, r3 + 80044ca: 693b ldr r3, [r7, #16] + 80044cc: b29b uxth r3, r3 + 80044ce: 88ba ldrh r2, [r7, #4] + 80044d0: 1ad3 subs r3, r2, r3 + 80044d2: b29b uxth r3, r3 + 80044d4: 883a ldrh r2, [r7, #0] + 80044d6: 4619 mov r1, r3 + 80044d8: f7ff fe8e bl 80041f8 LCD_set_dot(x0-b,y0-a,color); //7 - 80043c4: 693b ldr r3, [r7, #16] - 80043c6: b29b uxth r3, r3 - 80043c8: 88fa ldrh r2, [r7, #6] - 80043ca: 1ad3 subs r3, r2, r3 - 80043cc: b298 uxth r0, r3 - 80043ce: 697b ldr r3, [r7, #20] - 80043d0: b29b uxth r3, r3 - 80043d2: 88ba ldrh r2, [r7, #4] - 80043d4: 1ad3 subs r3, r2, r3 - 80043d6: b29b uxth r3, r3 - 80043d8: 883a ldrh r2, [r7, #0] - 80043da: 4619 mov r1, r3 - 80043dc: f7ff fe80 bl 80040e0 + 80044dc: 693b ldr r3, [r7, #16] + 80044de: b29b uxth r3, r3 + 80044e0: 88fa ldrh r2, [r7, #6] + 80044e2: 1ad3 subs r3, r2, r3 + 80044e4: b298 uxth r0, r3 + 80044e6: 697b ldr r3, [r7, #20] + 80044e8: b29b uxth r3, r3 + 80044ea: 88ba ldrh r2, [r7, #4] + 80044ec: 1ad3 subs r3, r2, r3 + 80044ee: b29b uxth r3, r3 + 80044f0: 883a ldrh r2, [r7, #0] + 80044f2: 4619 mov r1, r3 + 80044f4: f7ff fe80 bl 80041f8 a++; - 80043e0: 697b ldr r3, [r7, #20] - 80043e2: 3301 adds r3, #1 - 80043e4: 617b str r3, [r7, #20] + 80044f8: 697b ldr r3, [r7, #20] + 80044fa: 3301 adds r3, #1 + 80044fc: 617b str r3, [r7, #20] //使用Bresenham算法画圆 if(di<0)di +=4*a+6; - 80043e6: 68fb ldr r3, [r7, #12] - 80043e8: 2b00 cmp r3, #0 - 80043ea: da06 bge.n 80043fa - 80043ec: 697b ldr r3, [r7, #20] - 80043ee: 009b lsls r3, r3, #2 - 80043f0: 3306 adds r3, #6 - 80043f2: 68fa ldr r2, [r7, #12] - 80043f4: 4413 add r3, r2 - 80043f6: 60fb str r3, [r7, #12] - 80043f8: e00a b.n 8004410 + 80044fe: 68fb ldr r3, [r7, #12] + 8004500: 2b00 cmp r3, #0 + 8004502: da06 bge.n 8004512 + 8004504: 697b ldr r3, [r7, #20] + 8004506: 009b lsls r3, r3, #2 + 8004508: 3306 adds r3, #6 + 800450a: 68fa ldr r2, [r7, #12] + 800450c: 4413 add r3, r2 + 800450e: 60fb str r3, [r7, #12] + 8004510: e00a b.n 8004528 else { di+=10+4*(a-b); - 80043fa: 697a ldr r2, [r7, #20] - 80043fc: 693b ldr r3, [r7, #16] - 80043fe: 1ad3 subs r3, r2, r3 - 8004400: 009b lsls r3, r3, #2 - 8004402: 330a adds r3, #10 - 8004404: 68fa ldr r2, [r7, #12] - 8004406: 4413 add r3, r2 - 8004408: 60fb str r3, [r7, #12] + 8004512: 697a ldr r2, [r7, #20] + 8004514: 693b ldr r3, [r7, #16] + 8004516: 1ad3 subs r3, r2, r3 + 8004518: 009b lsls r3, r3, #2 + 800451a: 330a adds r3, #10 + 800451c: 68fa ldr r2, [r7, #12] + 800451e: 4413 add r3, r2 + 8004520: 60fb str r3, [r7, #12] b--; - 800440a: 693b ldr r3, [r7, #16] - 800440c: 3b01 subs r3, #1 - 800440e: 613b str r3, [r7, #16] + 8004522: 693b ldr r3, [r7, #16] + 8004524: 3b01 subs r3, #1 + 8004526: 613b str r3, [r7, #16] while(a<=b) - 8004410: 697a ldr r2, [r7, #20] - 8004412: 693b ldr r3, [r7, #16] - 8004414: 429a cmp r2, r3 - 8004416: f77f af73 ble.w 8004300 + 8004528: 697a ldr r2, [r7, #20] + 800452a: 693b ldr r3, [r7, #16] + 800452c: 429a cmp r2, r3 + 800452e: f77f af73 ble.w 8004418 } } } - 800441a: bf00 nop - 800441c: bf00 nop - 800441e: 371c adds r7, #28 - 8004420: 46bd mov sp, r7 - 8004422: bd90 pop {r4, r7, pc} + 8004532: bf00 nop + 8004534: bf00 nop + 8004536: 371c adds r7, #28 + 8004538: 46bd mov sp, r7 + 800453a: bd90 pop {r4, r7, pc} -08004424 : +0800453c : //num:要显示的字符:" "--->"~" //size:字体大小 12/16 //mode:叠加方式(1)还是非叠加方式(0) void LCD_ShowChar(uint16_t x,uint16_t y,uint8_t num,uint8_t size,uint16_t bg,uint16_t color) { - 8004424: b590 push {r4, r7, lr} - 8004426: b085 sub sp, #20 - 8004428: af00 add r7, sp, #0 - 800442a: 4604 mov r4, r0 - 800442c: 4608 mov r0, r1 - 800442e: 4611 mov r1, r2 - 8004430: 461a mov r2, r3 - 8004432: 4623 mov r3, r4 - 8004434: 80fb strh r3, [r7, #6] - 8004436: 4603 mov r3, r0 - 8004438: 80bb strh r3, [r7, #4] - 800443a: 460b mov r3, r1 - 800443c: 70fb strb r3, [r7, #3] - 800443e: 4613 mov r3, r2 - 8004440: 70bb strb r3, [r7, #2] + 800453c: b590 push {r4, r7, lr} + 800453e: b085 sub sp, #20 + 8004540: af00 add r7, sp, #0 + 8004542: 4604 mov r4, r0 + 8004544: 4608 mov r0, r1 + 8004546: 4611 mov r1, r2 + 8004548: 461a mov r2, r3 + 800454a: 4623 mov r3, r4 + 800454c: 80fb strh r3, [r7, #6] + 800454e: 4603 mov r3, r0 + 8004550: 80bb strh r3, [r7, #4] + 8004552: 460b mov r3, r1 + 8004554: 70fb strb r3, [r7, #3] + 8004556: 4613 mov r3, r2 + 8004558: 70bb strb r3, [r7, #2] uint8_t temp,t1,t; uint16_t y0=y; - 8004442: 88bb ldrh r3, [r7, #4] - 8004444: 817b strh r3, [r7, #10] + 800455a: 88bb ldrh r3, [r7, #4] + 800455c: 817b strh r3, [r7, #10] //设置窗口 num=num-' ';//得到偏移后的值 - 8004446: 78fb ldrb r3, [r7, #3] - 8004448: 3b20 subs r3, #32 - 800444a: 70fb strb r3, [r7, #3] + 800455e: 78fb ldrb r3, [r7, #3] + 8004560: 3b20 subs r3, #32 + 8004562: 70fb strb r3, [r7, #3] for(t=0;t + 8004564: 2300 movs r3, #0 + 8004566: 737b strb r3, [r7, #13] + 8004568: e055 b.n 8004616 { if(size==12){temp=asc2_1206[num][t];} //调用1206字体 - 8004452: 78bb ldrb r3, [r7, #2] - 8004454: 2b0c cmp r3, #12 - 8004456: d10b bne.n 8004470 - 8004458: 78fa ldrb r2, [r7, #3] - 800445a: 7b79 ldrb r1, [r7, #13] - 800445c: 482c ldr r0, [pc, #176] ; (8004510 ) - 800445e: 4613 mov r3, r2 - 8004460: 005b lsls r3, r3, #1 - 8004462: 4413 add r3, r2 - 8004464: 009b lsls r3, r3, #2 - 8004466: 4403 add r3, r0 - 8004468: 440b add r3, r1 - 800446a: 781b ldrb r3, [r3, #0] - 800446c: 73fb strb r3, [r7, #15] - 800446e: e007 b.n 8004480 + 800456a: 78bb ldrb r3, [r7, #2] + 800456c: 2b0c cmp r3, #12 + 800456e: d10b bne.n 8004588 + 8004570: 78fa ldrb r2, [r7, #3] + 8004572: 7b79 ldrb r1, [r7, #13] + 8004574: 482c ldr r0, [pc, #176] ; (8004628 ) + 8004576: 4613 mov r3, r2 + 8004578: 005b lsls r3, r3, #1 + 800457a: 4413 add r3, r2 + 800457c: 009b lsls r3, r3, #2 + 800457e: 4403 add r3, r0 + 8004580: 440b add r3, r1 + 8004582: 781b ldrb r3, [r3, #0] + 8004584: 73fb strb r3, [r7, #15] + 8004586: e007 b.n 8004598 else{ temp=asc2_1608[num][t]; } //调用1608字体 - 8004470: 78fa ldrb r2, [r7, #3] - 8004472: 7b7b ldrb r3, [r7, #13] - 8004474: 4927 ldr r1, [pc, #156] ; (8004514 ) - 8004476: 0112 lsls r2, r2, #4 - 8004478: 440a add r2, r1 - 800447a: 4413 add r3, r2 - 800447c: 781b ldrb r3, [r3, #0] - 800447e: 73fb strb r3, [r7, #15] + 8004588: 78fa ldrb r2, [r7, #3] + 800458a: 7b7b ldrb r3, [r7, #13] + 800458c: 4927 ldr r1, [pc, #156] ; (800462c ) + 800458e: 0112 lsls r2, r2, #4 + 8004590: 440a add r2, r1 + 8004592: 4413 add r3, r2 + 8004594: 781b ldrb r3, [r3, #0] + 8004596: 73fb strb r3, [r7, #15] for(t1=0;t1<8;t1++) - 8004480: 2300 movs r3, #0 - 8004482: 73bb strb r3, [r7, #14] - 8004484: e033 b.n 80044ee + 8004598: 2300 movs r3, #0 + 800459a: 73bb strb r3, [r7, #14] + 800459c: e033 b.n 8004606 { if(temp&0x80){LCD_set_dot(x,y,color);}else{if(bg!=color){LCD_set_dot(x,y,bg);}} - 8004486: f997 300f ldrsb.w r3, [r7, #15] - 800448a: 2b00 cmp r3, #0 - 800448c: da06 bge.n 800449c - 800448e: 8cba ldrh r2, [r7, #36] ; 0x24 - 8004490: 88b9 ldrh r1, [r7, #4] - 8004492: 88fb ldrh r3, [r7, #6] - 8004494: 4618 mov r0, r3 - 8004496: f7ff fe23 bl 80040e0 - 800449a: e009 b.n 80044b0 - 800449c: 8c3a ldrh r2, [r7, #32] - 800449e: 8cbb ldrh r3, [r7, #36] ; 0x24 - 80044a0: 429a cmp r2, r3 - 80044a2: d005 beq.n 80044b0 - 80044a4: 8c3a ldrh r2, [r7, #32] - 80044a6: 88b9 ldrh r1, [r7, #4] - 80044a8: 88fb ldrh r3, [r7, #6] - 80044aa: 4618 mov r0, r3 - 80044ac: f7ff fe18 bl 80040e0 + 800459e: f997 300f ldrsb.w r3, [r7, #15] + 80045a2: 2b00 cmp r3, #0 + 80045a4: da06 bge.n 80045b4 + 80045a6: 8cba ldrh r2, [r7, #36] ; 0x24 + 80045a8: 88b9 ldrh r1, [r7, #4] + 80045aa: 88fb ldrh r3, [r7, #6] + 80045ac: 4618 mov r0, r3 + 80045ae: f7ff fe23 bl 80041f8 + 80045b2: e009 b.n 80045c8 + 80045b4: 8c3a ldrh r2, [r7, #32] + 80045b6: 8cbb ldrh r3, [r7, #36] ; 0x24 + 80045b8: 429a cmp r2, r3 + 80045ba: d005 beq.n 80045c8 + 80045bc: 8c3a ldrh r2, [r7, #32] + 80045be: 88b9 ldrh r1, [r7, #4] + 80045c0: 88fb ldrh r3, [r7, #6] + 80045c2: 4618 mov r0, r3 + 80045c4: f7ff fe18 bl 80041f8 temp<<=1; - 80044b0: 7bfb ldrb r3, [r7, #15] - 80044b2: 005b lsls r3, r3, #1 - 80044b4: 73fb strb r3, [r7, #15] + 80045c8: 7bfb ldrb r3, [r7, #15] + 80045ca: 005b lsls r3, r3, #1 + 80045cc: 73fb strb r3, [r7, #15] y++; - 80044b6: 88bb ldrh r3, [r7, #4] - 80044b8: 3301 adds r3, #1 - 80044ba: 80bb strh r3, [r7, #4] + 80045ce: 88bb ldrh r3, [r7, #4] + 80045d0: 3301 adds r3, #1 + 80045d2: 80bb strh r3, [r7, #4] if(x>=lcddev.width){return;}//超区域了 - 80044bc: 4b16 ldr r3, [pc, #88] ; (8004518 ) - 80044be: 881b ldrh r3, [r3, #0] - 80044c0: 88fa ldrh r2, [r7, #6] - 80044c2: 429a cmp r2, r3 - 80044c4: d220 bcs.n 8004508 + 80045d4: 4b16 ldr r3, [pc, #88] ; (8004630 ) + 80045d6: 881b ldrh r3, [r3, #0] + 80045d8: 88fa ldrh r2, [r7, #6] + 80045da: 429a cmp r2, r3 + 80045dc: d220 bcs.n 8004620 if((y-y0)==size) - 80044c6: 88ba ldrh r2, [r7, #4] - 80044c8: 897b ldrh r3, [r7, #10] - 80044ca: 1ad2 subs r2, r2, r3 - 80044cc: 78bb ldrb r3, [r7, #2] - 80044ce: 429a cmp r2, r3 - 80044d0: d10a bne.n 80044e8 + 80045de: 88ba ldrh r2, [r7, #4] + 80045e0: 897b ldrh r3, [r7, #10] + 80045e2: 1ad2 subs r2, r2, r3 + 80045e4: 78bb ldrb r3, [r7, #2] + 80045e6: 429a cmp r2, r3 + 80045e8: d10a bne.n 8004600 { y=y0; - 80044d2: 897b ldrh r3, [r7, #10] - 80044d4: 80bb strh r3, [r7, #4] + 80045ea: 897b ldrh r3, [r7, #10] + 80045ec: 80bb strh r3, [r7, #4] x++; - 80044d6: 88fb ldrh r3, [r7, #6] - 80044d8: 3301 adds r3, #1 - 80044da: 80fb strh r3, [r7, #6] + 80045ee: 88fb ldrh r3, [r7, #6] + 80045f0: 3301 adds r3, #1 + 80045f2: 80fb strh r3, [r7, #6] if(x>=lcddev.width){return;}//超区域了 - 80044dc: 4b0e ldr r3, [pc, #56] ; (8004518 ) - 80044de: 881b ldrh r3, [r3, #0] - 80044e0: 88fa ldrh r2, [r7, #6] - 80044e2: 429a cmp r2, r3 - 80044e4: d307 bcc.n 80044f6 - 80044e6: e010 b.n 800450a + 80045f4: 4b0e ldr r3, [pc, #56] ; (8004630 ) + 80045f6: 881b ldrh r3, [r3, #0] + 80045f8: 88fa ldrh r2, [r7, #6] + 80045fa: 429a cmp r2, r3 + 80045fc: d307 bcc.n 800460e + 80045fe: e010 b.n 8004622 for(t1=0;t1<8;t1++) - 80044e8: 7bbb ldrb r3, [r7, #14] - 80044ea: 3301 adds r3, #1 - 80044ec: 73bb strb r3, [r7, #14] - 80044ee: 7bbb ldrb r3, [r7, #14] - 80044f0: 2b07 cmp r3, #7 - 80044f2: d9c8 bls.n 8004486 - 80044f4: e000 b.n 80044f8 + 8004600: 7bbb ldrb r3, [r7, #14] + 8004602: 3301 adds r3, #1 + 8004604: 73bb strb r3, [r7, #14] + 8004606: 7bbb ldrb r3, [r7, #14] + 8004608: 2b07 cmp r3, #7 + 800460a: d9c8 bls.n 800459e + 800460c: e000 b.n 8004610 break; - 80044f6: bf00 nop + 800460e: bf00 nop for(t=0;t - 8004506: e000 b.n 800450a + 8004610: 7b7b ldrb r3, [r7, #13] + 8004612: 3301 adds r3, #1 + 8004614: 737b strb r3, [r7, #13] + 8004616: 7b7a ldrb r2, [r7, #13] + 8004618: 78bb ldrb r3, [r7, #2] + 800461a: 429a cmp r2, r3 + 800461c: d3a5 bcc.n 800456a + 800461e: e000 b.n 8004622 if(x>=lcddev.width){return;}//超区域了 - 8004508: bf00 nop + 8004620: bf00 nop } } } - 800450a: 3714 adds r7, #20 - 800450c: 46bd mov sp, r7 - 800450e: bd90 pop {r4, r7, pc} - 8004510: 080089e4 .word 0x080089e4 - 8004514: 08008e58 .word 0x08008e58 - 8004518: 200002a8 .word 0x200002a8 + 8004622: 3714 adds r7, #20 + 8004624: 46bd mov sp, r7 + 8004626: bd90 pop {r4, r7, pc} + 8004628: 080099d8 .word 0x080099d8 + 800462c: 08009e4c .word 0x08009e4c + 8004630: 200002b8 .word 0x200002b8 -0800451c : +08004634 : //width,height:区域大小 //size:字体大小 //*p:字符串起始地址 void LCD_ShowString(uint16_t x,uint16_t y,uint8_t *p,uint8_t size,uint16_t bg,uint16_t color) { - 800451c: b590 push {r4, r7, lr} - 800451e: b087 sub sp, #28 - 8004520: af02 add r7, sp, #8 - 8004522: 60ba str r2, [r7, #8] - 8004524: 461a mov r2, r3 - 8004526: 4603 mov r3, r0 - 8004528: 81fb strh r3, [r7, #14] - 800452a: 460b mov r3, r1 - 800452c: 81bb strh r3, [r7, #12] - 800452e: 4613 mov r3, r2 - 8004530: 71fb strb r3, [r7, #7] + 8004634: b590 push {r4, r7, lr} + 8004636: b087 sub sp, #28 + 8004638: af02 add r7, sp, #8 + 800463a: 60ba str r2, [r7, #8] + 800463c: 461a mov r2, r3 + 800463e: 4603 mov r3, r0 + 8004640: 81fb strh r3, [r7, #14] + 8004642: 460b mov r3, r1 + 8004644: 81bb strh r3, [r7, #12] + 8004646: 4613 mov r3, r2 + 8004648: 71fb strb r3, [r7, #7] while(*p!='\0') - 8004532: e026 b.n 8004582 + 800464a: e026 b.n 800469a { if(x>=lcddev.width||*p=='\n') - 8004534: 4b17 ldr r3, [pc, #92] ; (8004594 ) - 8004536: 881b ldrh r3, [r3, #0] - 8004538: 89fa ldrh r2, [r7, #14] - 800453a: 429a cmp r2, r3 - 800453c: d203 bcs.n 8004546 - 800453e: 68bb ldr r3, [r7, #8] - 8004540: 781b ldrb r3, [r3, #0] - 8004542: 2b0a cmp r3, #10 - 8004544: d107 bne.n 8004556 + 800464c: 4b17 ldr r3, [pc, #92] ; (80046ac ) + 800464e: 881b ldrh r3, [r3, #0] + 8004650: 89fa ldrh r2, [r7, #14] + 8004652: 429a cmp r2, r3 + 8004654: d203 bcs.n 800465e + 8004656: 68bb ldr r3, [r7, #8] + 8004658: 781b ldrb r3, [r3, #0] + 800465a: 2b0a cmp r3, #10 + 800465c: d107 bne.n 800466e { x=0; - 8004546: 2300 movs r3, #0 - 8004548: 81fb strh r3, [r7, #14] + 800465e: 2300 movs r3, #0 + 8004660: 81fb strh r3, [r7, #14] y+=size; - 800454a: 79fb ldrb r3, [r7, #7] - 800454c: b29a uxth r2, r3 - 800454e: 89bb ldrh r3, [r7, #12] - 8004550: 4413 add r3, r2 - 8004552: 81bb strh r3, [r7, #12] - 8004554: e012 b.n 800457c + 8004662: 79fb ldrb r3, [r7, #7] + 8004664: b29a uxth r2, r3 + 8004666: 89bb ldrh r3, [r7, #12] + 8004668: 4413 add r3, r2 + 800466a: 81bb strh r3, [r7, #12] + 800466c: e012 b.n 8004694 }else { LCD_ShowChar(x,y,*p,size,bg,color); - 8004556: 68bb ldr r3, [r7, #8] - 8004558: 781a ldrb r2, [r3, #0] - 800455a: 79fc ldrb r4, [r7, #7] - 800455c: 89b9 ldrh r1, [r7, #12] - 800455e: 89f8 ldrh r0, [r7, #14] - 8004560: 8cbb ldrh r3, [r7, #36] ; 0x24 - 8004562: 9301 str r3, [sp, #4] - 8004564: 8c3b ldrh r3, [r7, #32] - 8004566: 9300 str r3, [sp, #0] - 8004568: 4623 mov r3, r4 - 800456a: f7ff ff5b bl 8004424 + 800466e: 68bb ldr r3, [r7, #8] + 8004670: 781a ldrb r2, [r3, #0] + 8004672: 79fc ldrb r4, [r7, #7] + 8004674: 89b9 ldrh r1, [r7, #12] + 8004676: 89f8 ldrh r0, [r7, #14] + 8004678: 8cbb ldrh r3, [r7, #36] ; 0x24 + 800467a: 9301 str r3, [sp, #4] + 800467c: 8c3b ldrh r3, [r7, #32] + 800467e: 9300 str r3, [sp, #0] + 8004680: 4623 mov r3, r4 + 8004682: f7ff ff5b bl 800453c x+=(size/2); - 800456e: 79fb ldrb r3, [r7, #7] - 8004570: 085b lsrs r3, r3, #1 - 8004572: b2db uxtb r3, r3 - 8004574: b29a uxth r2, r3 - 8004576: 89fb ldrh r3, [r7, #14] - 8004578: 4413 add r3, r2 - 800457a: 81fb strh r3, [r7, #14] + 8004686: 79fb ldrb r3, [r7, #7] + 8004688: 085b lsrs r3, r3, #1 + 800468a: b2db uxtb r3, r3 + 800468c: b29a uxth r2, r3 + 800468e: 89fb ldrh r3, [r7, #14] + 8004690: 4413 add r3, r2 + 8004692: 81fb strh r3, [r7, #14] } p++; - 800457c: 68bb ldr r3, [r7, #8] - 800457e: 3301 adds r3, #1 - 8004580: 60bb str r3, [r7, #8] + 8004694: 68bb ldr r3, [r7, #8] + 8004696: 3301 adds r3, #1 + 8004698: 60bb str r3, [r7, #8] while(*p!='\0') - 8004582: 68bb ldr r3, [r7, #8] - 8004584: 781b ldrb r3, [r3, #0] - 8004586: 2b00 cmp r3, #0 - 8004588: d1d4 bne.n 8004534 + 800469a: 68bb ldr r3, [r7, #8] + 800469c: 781b ldrb r3, [r3, #0] + 800469e: 2b00 cmp r3, #0 + 80046a0: d1d4 bne.n 800464c } } - 800458a: bf00 nop - 800458c: bf00 nop - 800458e: 3714 adds r7, #20 - 8004590: 46bd mov sp, r7 - 8004592: bd90 pop {r4, r7, pc} - 8004594: 200002a8 .word 0x200002a8 + 80046a2: bf00 nop + 80046a4: bf00 nop + 80046a6: 3714 adds r7, #20 + 80046a8: 46bd mov sp, r7 + 80046aa: bd90 pop {r4, r7, pc} + 80046ac: 200002b8 .word 0x200002b8 -08004598 : +080046b0 : //因为eeprom芯片的写入速度有限,每写入一个字符都需要等待一段时间才能完成写入 //整个系统不可能等它一个的,传统的解决方法可以使用定时器中断或者多线程开辟子任务在后台保存, //这里的解决方法是使用状态机,通过一个链表将要保存的数据串起来,再通过状态循环一个个保存,保存延时等于循环用时。 eeprom_write_buff_info eeprom_write_buffer; //创建链表 void EPPROM_SLOWWRITE_INIT() //初始化链表 { - 8004598: b480 push {r7} - 800459a: af00 add r7, sp, #0 + 80046b0: b480 push {r7} + 80046b2: af00 add r7, sp, #0 eeprom_write_buffer.buff=NULL; - 800459c: 4b0a ldr r3, [pc, #40] ; (80045c8 ) - 800459e: 2200 movs r2, #0 - 80045a0: 601a str r2, [r3, #0] + 80046b4: 4b0a ldr r3, [pc, #40] ; (80046e0 ) + 80046b6: 2200 movs r2, #0 + 80046b8: 601a str r2, [r3, #0] eeprom_write_buffer.end=NULL; - 80045a2: 4b09 ldr r3, [pc, #36] ; (80045c8 ) - 80045a4: 2200 movs r2, #0 - 80045a6: 609a str r2, [r3, #8] + 80046ba: 4b09 ldr r3, [pc, #36] ; (80046e0 ) + 80046bc: 2200 movs r2, #0 + 80046be: 609a str r2, [r3, #8] eeprom_write_buffer.head=NULL; - 80045a8: 4b07 ldr r3, [pc, #28] ; (80045c8 ) - 80045aa: 2200 movs r2, #0 - 80045ac: 605a str r2, [r3, #4] + 80046c0: 4b07 ldr r3, [pc, #28] ; (80046e0 ) + 80046c2: 2200 movs r2, #0 + 80046c4: 605a str r2, [r3, #4] eeprom_write_buffer.save_timeout=5; //避免状态机循环过快导致的保存失败,这个是最少延时。(感觉没必要写在这里,太浪费空间了) - 80045ae: 4b06 ldr r3, [pc, #24] ; (80045c8 ) - 80045b0: 2205 movs r2, #5 - 80045b2: 741a strb r2, [r3, #16] + 80046c6: 4b06 ldr r3, [pc, #24] ; (80046e0 ) + 80046c8: 2205 movs r2, #5 + 80046ca: 741a strb r2, [r3, #16] eeprom_write_buffer.save_busy=0; //最小延时内为忙状态 - 80045b4: 4a04 ldr r2, [pc, #16] ; (80045c8 ) - 80045b6: 7c53 ldrb r3, [r2, #17] - 80045b8: f36f 0300 bfc r3, #0, #1 - 80045bc: 7453 strb r3, [r2, #17] + 80046cc: 4a04 ldr r2, [pc, #16] ; (80046e0 ) + 80046ce: 7c53 ldrb r3, [r2, #17] + 80046d0: f36f 0300 bfc r3, #0, #1 + 80046d4: 7453 strb r3, [r2, #17] } - 80045be: bf00 nop - 80045c0: 46bd mov sp, r7 - 80045c2: bc80 pop {r7} - 80045c4: 4770 bx lr - 80045c6: bf00 nop - 80045c8: 200002b4 .word 0x200002b4 + 80046d6: bf00 nop + 80046d8: 46bd mov sp, r7 + 80046da: bc80 pop {r7} + 80046dc: 4770 bx lr + 80046de: bf00 nop + 80046e0: 200002c4 .word 0x200002c4 -080045cc : +080046e4 : //循环保存服务,检查链表头是否有数据是否忙。 void EEPROM_SLOWWRITE_SERVER() { - 80045cc: b580 push {r7, lr} - 80045ce: b082 sub sp, #8 - 80045d0: af00 add r7, sp, #0 + 80046e4: b580 push {r7, lr} + 80046e6: b082 sub sp, #8 + 80046e8: af00 add r7, sp, #0 eeprom_write_buff *buff; char data; if(eeprom_write_buffer.save_busy) - 80045d2: 4b20 ldr r3, [pc, #128] ; (8004654 ) - 80045d4: 7c5b ldrb r3, [r3, #17] - 80045d6: f003 0301 and.w r3, r3, #1 - 80045da: b2db uxtb r3, r3 - 80045dc: 2b00 cmp r3, #0 - 80045de: d00c beq.n 80045fa + 80046ea: 4b20 ldr r3, [pc, #128] ; (800476c ) + 80046ec: 7c5b ldrb r3, [r3, #17] + 80046ee: f003 0301 and.w r3, r3, #1 + 80046f2: b2db uxtb r3, r3 + 80046f4: 2b00 cmp r3, #0 + 80046f6: d00c beq.n 8004712 { if(HAL_GetTick()>eeprom_write_buffer.save_time) - 80045e0: f7fd f97c bl 80018dc - 80045e4: 4602 mov r2, r0 - 80045e6: 4b1b ldr r3, [pc, #108] ; (8004654 ) - 80045e8: 68db ldr r3, [r3, #12] - 80045ea: 429a cmp r2, r3 - 80045ec: d92e bls.n 800464c + 80046f8: f7fd f97c bl 80019f4 + 80046fc: 4602 mov r2, r0 + 80046fe: 4b1b ldr r3, [pc, #108] ; (800476c ) + 8004700: 68db ldr r3, [r3, #12] + 8004702: 429a cmp r2, r3 + 8004704: d92e bls.n 8004764 { eeprom_write_buffer.save_busy=0; - 80045ee: 4a19 ldr r2, [pc, #100] ; (8004654 ) - 80045f0: 7c53 ldrb r3, [r2, #17] - 80045f2: f36f 0300 bfc r3, #0, #1 - 80045f6: 7453 strb r3, [r2, #17] + 8004706: 4a19 ldr r2, [pc, #100] ; (800476c ) + 8004708: 7c53 ldrb r3, [r2, #17] + 800470a: f36f 0300 bfc r3, #0, #1 + 800470e: 7453 strb r3, [r2, #17] free(eeprom_write_buffer.head); eeprom_write_buffer.head=buff; } } } - 80045f8: e028 b.n 800464c + 8004710: e028 b.n 8004764 if(eeprom_write_buffer.head!=NULL) - 80045fa: 4b16 ldr r3, [pc, #88] ; (8004654 ) - 80045fc: 685b ldr r3, [r3, #4] - 80045fe: 2b00 cmp r3, #0 - 8004600: d024 beq.n 800464c + 8004712: 4b16 ldr r3, [pc, #88] ; (800476c ) + 8004714: 685b ldr r3, [r3, #4] + 8004716: 2b00 cmp r3, #0 + 8004718: d024 beq.n 8004764 eeprom_write_buffer.save_busy=1; - 8004602: 4a14 ldr r2, [pc, #80] ; (8004654 ) - 8004604: 7c53 ldrb r3, [r2, #17] - 8004606: f043 0301 orr.w r3, r3, #1 - 800460a: 7453 strb r3, [r2, #17] + 800471a: 4a14 ldr r2, [pc, #80] ; (800476c ) + 800471c: 7c53 ldrb r3, [r2, #17] + 800471e: f043 0301 orr.w r3, r3, #1 + 8004722: 7453 strb r3, [r2, #17] eeprom_write_buffer.save_time=HAL_GetTick()+eeprom_write_buffer.save_timeout; - 800460c: f7fd f966 bl 80018dc - 8004610: 4603 mov r3, r0 - 8004612: 4a10 ldr r2, [pc, #64] ; (8004654 ) - 8004614: 7c12 ldrb r2, [r2, #16] - 8004616: 4413 add r3, r2 - 8004618: 4a0e ldr r2, [pc, #56] ; (8004654 ) - 800461a: 60d3 str r3, [r2, #12] + 8004724: f7fd f966 bl 80019f4 + 8004728: 4603 mov r3, r0 + 800472a: 4a10 ldr r2, [pc, #64] ; (800476c ) + 800472c: 7c12 ldrb r2, [r2, #16] + 800472e: 4413 add r3, r2 + 8004730: 4a0e ldr r2, [pc, #56] ; (800476c ) + 8004732: 60d3 str r3, [r2, #12] buff=eeprom_write_buffer.head->next; - 800461c: 4b0d ldr r3, [pc, #52] ; (8004654 ) - 800461e: 685b ldr r3, [r3, #4] - 8004620: 681b ldr r3, [r3, #0] - 8004622: 607b str r3, [r7, #4] + 8004734: 4b0d ldr r3, [pc, #52] ; (800476c ) + 8004736: 685b ldr r3, [r3, #4] + 8004738: 681b ldr r3, [r3, #0] + 800473a: 607b str r3, [r7, #4] data=eeprom_write_buffer.head->date; - 8004624: 4b0b ldr r3, [pc, #44] ; (8004654 ) - 8004626: 685b ldr r3, [r3, #4] - 8004628: 799b ldrb r3, [r3, #6] - 800462a: 70fb strb r3, [r7, #3] + 800473c: 4b0b ldr r3, [pc, #44] ; (800476c ) + 800473e: 685b ldr r3, [r3, #4] + 8004740: 799b ldrb r3, [r3, #6] + 8004742: 70fb strb r3, [r7, #3] IIC_SAND_DATE(EEPROM_ADDRESS,eeprom_write_buffer.head->add,&data,1); - 800462c: 4b09 ldr r3, [pc, #36] ; (8004654 ) - 800462e: 685b ldr r3, [r3, #4] - 8004630: 8899 ldrh r1, [r3, #4] - 8004632: 1cfa adds r2, r7, #3 - 8004634: 2301 movs r3, #1 - 8004636: 20a0 movs r0, #160 ; 0xa0 - 8004638: f000 f866 bl 8004708 + 8004744: 4b09 ldr r3, [pc, #36] ; (800476c ) + 8004746: 685b ldr r3, [r3, #4] + 8004748: 8899 ldrh r1, [r3, #4] + 800474a: 1cfa adds r2, r7, #3 + 800474c: 2301 movs r3, #1 + 800474e: 20a0 movs r0, #160 ; 0xa0 + 8004750: f000 f866 bl 8004820 free(eeprom_write_buffer.head); - 800463c: 4b05 ldr r3, [pc, #20] ; (8004654 ) - 800463e: 685b ldr r3, [r3, #4] - 8004640: 4618 mov r0, r3 - 8004642: f001 fa9d bl 8005b80 + 8004754: 4b05 ldr r3, [pc, #20] ; (800476c ) + 8004756: 685b ldr r3, [r3, #4] + 8004758: 4618 mov r0, r3 + 800475a: f002 f989 bl 8006a70 eeprom_write_buffer.head=buff; - 8004646: 4a03 ldr r2, [pc, #12] ; (8004654 ) - 8004648: 687b ldr r3, [r7, #4] - 800464a: 6053 str r3, [r2, #4] + 800475e: 4a03 ldr r2, [pc, #12] ; (800476c ) + 8004760: 687b ldr r3, [r7, #4] + 8004762: 6053 str r3, [r2, #4] } - 800464c: bf00 nop - 800464e: 3708 adds r7, #8 - 8004650: 46bd mov sp, r7 - 8004652: bd80 pop {r7, pc} - 8004654: 200002b4 .word 0x200002b4 + 8004764: bf00 nop + 8004766: 3708 adds r7, #8 + 8004768: 46bd mov sp, r7 + 800476a: bd80 pop {r7, pc} + 800476c: 200002c4 .word 0x200002c4 -08004658 : +08004770 : //从eeprom读取数据 void EEPROM_READ_BATY(uint16_t IN_DEVICE_ADD,char *DATAS,uint16_t LONG) { - 8004658: b580 push {r7, lr} - 800465a: b082 sub sp, #8 - 800465c: af00 add r7, sp, #0 - 800465e: 4603 mov r3, r0 - 8004660: 6039 str r1, [r7, #0] - 8004662: 80fb strh r3, [r7, #6] - 8004664: 4613 mov r3, r2 - 8004666: 80bb strh r3, [r7, #4] + 8004770: b580 push {r7, lr} + 8004772: b082 sub sp, #8 + 8004774: af00 add r7, sp, #0 + 8004776: 4603 mov r3, r0 + 8004778: 6039 str r1, [r7, #0] + 800477a: 80fb strh r3, [r7, #6] + 800477c: 4613 mov r3, r2 + 800477e: 80bb strh r3, [r7, #4] IIC_READ_DATE(EEPROM_ADDRESS,IN_DEVICE_ADD,DATAS,LONG); - 8004668: 88bb ldrh r3, [r7, #4] - 800466a: 88f9 ldrh r1, [r7, #6] - 800466c: 683a ldr r2, [r7, #0] - 800466e: 20a0 movs r0, #160 ; 0xa0 - 8004670: f000 f868 bl 8004744 + 8004780: 88bb ldrh r3, [r7, #4] + 8004782: 88f9 ldrh r1, [r7, #6] + 8004784: 683a ldr r2, [r7, #0] + 8004786: 20a0 movs r0, #160 ; 0xa0 + 8004788: f000 f868 bl 800485c } - 8004674: bf00 nop - 8004676: 3708 adds r7, #8 - 8004678: 46bd mov sp, r7 - 800467a: bd80 pop {r7, pc} + 800478c: bf00 nop + 800478e: 3708 adds r7, #8 + 8004790: 46bd mov sp, r7 + 8004792: bd80 pop {r7, pc} -0800467c : +08004794 : //向eeprom写入数据 void EEPROM_WRITE_BATY(uint16_t IN_DEVICE_ADD,char *DATAS,uint16_t LONG) { - 800467c: b580 push {r7, lr} - 800467e: b086 sub sp, #24 - 8004680: af00 add r7, sp, #0 - 8004682: 4603 mov r3, r0 - 8004684: 6039 str r1, [r7, #0] - 8004686: 80fb strh r3, [r7, #6] - 8004688: 4613 mov r3, r2 - 800468a: 80bb strh r3, [r7, #4] + 8004794: b580 push {r7, lr} + 8004796: b086 sub sp, #24 + 8004798: af00 add r7, sp, #0 + 800479a: 4603 mov r3, r0 + 800479c: 6039 str r1, [r7, #0] + 800479e: 80fb strh r3, [r7, #6] + 80047a0: 4613 mov r3, r2 + 80047a2: 80bb strh r3, [r7, #4] //IIC_SAND_DATE(EEPROM_ADDRESS,IN_DEVICE_ADD,DATAS,LONG); uint16_t addoffset=0; - 800468c: 2300 movs r3, #0 - 800468e: 82fb strh r3, [r7, #22] + 80047a4: 2300 movs r3, #0 + 80047a6: 82fb strh r3, [r7, #22] eeprom_write_buff *buff; eeprom_write_buff *buff2; while(LONG--) - 8004690: e02d b.n 80046ee + 80047a8: e02d b.n 8004806 { buff =(eeprom_write_buff*)malloc(sizeof(eeprom_write_buff)); - 8004692: 2008 movs r0, #8 - 8004694: f001 fa6c bl 8005b70 - 8004698: 4603 mov r3, r0 - 800469a: 613b str r3, [r7, #16] + 80047aa: 2008 movs r0, #8 + 80047ac: f002 f958 bl 8006a60 + 80047b0: 4603 mov r3, r0 + 80047b2: 613b str r3, [r7, #16] if(buff!=NULL) - 800469c: 693b ldr r3, [r7, #16] - 800469e: 2b00 cmp r3, #0 - 80046a0: d02b beq.n 80046fa + 80047b4: 693b ldr r3, [r7, #16] + 80047b6: 2b00 cmp r3, #0 + 80047b8: d02b beq.n 8004812 { buff->add=IN_DEVICE_ADD+addoffset; - 80046a2: 88fa ldrh r2, [r7, #6] - 80046a4: 8afb ldrh r3, [r7, #22] - 80046a6: 4413 add r3, r2 - 80046a8: b29a uxth r2, r3 - 80046aa: 693b ldr r3, [r7, #16] - 80046ac: 809a strh r2, [r3, #4] + 80047ba: 88fa ldrh r2, [r7, #6] + 80047bc: 8afb ldrh r3, [r7, #22] + 80047be: 4413 add r3, r2 + 80047c0: b29a uxth r2, r3 + 80047c2: 693b ldr r3, [r7, #16] + 80047c4: 809a strh r2, [r3, #4] buff->date=DATAS[addoffset]; - 80046ae: 8afb ldrh r3, [r7, #22] - 80046b0: 683a ldr r2, [r7, #0] - 80046b2: 4413 add r3, r2 - 80046b4: 781a ldrb r2, [r3, #0] - 80046b6: 693b ldr r3, [r7, #16] - 80046b8: 719a strb r2, [r3, #6] + 80047c6: 8afb ldrh r3, [r7, #22] + 80047c8: 683a ldr r2, [r7, #0] + 80047ca: 4413 add r3, r2 + 80047cc: 781a ldrb r2, [r3, #0] + 80047ce: 693b ldr r3, [r7, #16] + 80047d0: 719a strb r2, [r3, #6] buff->next=NULL; - 80046ba: 693b ldr r3, [r7, #16] - 80046bc: 2200 movs r2, #0 - 80046be: 601a str r2, [r3, #0] + 80047d2: 693b ldr r3, [r7, #16] + 80047d4: 2200 movs r2, #0 + 80047d6: 601a str r2, [r3, #0] }else{return ;} if(eeprom_write_buffer.head==NULL) - 80046c0: 4b10 ldr r3, [pc, #64] ; (8004704 ) - 80046c2: 685b ldr r3, [r3, #4] - 80046c4: 2b00 cmp r3, #0 - 80046c6: d106 bne.n 80046d6 + 80047d8: 4b10 ldr r3, [pc, #64] ; (800481c ) + 80047da: 685b ldr r3, [r3, #4] + 80047dc: 2b00 cmp r3, #0 + 80047de: d106 bne.n 80047ee { eeprom_write_buffer.head=buff; - 80046c8: 4a0e ldr r2, [pc, #56] ; (8004704 ) - 80046ca: 693b ldr r3, [r7, #16] - 80046cc: 6053 str r3, [r2, #4] + 80047e0: 4a0e ldr r2, [pc, #56] ; (800481c ) + 80047e2: 693b ldr r3, [r7, #16] + 80047e4: 6053 str r3, [r2, #4] eeprom_write_buffer.end=buff; - 80046ce: 4a0d ldr r2, [pc, #52] ; (8004704 ) - 80046d0: 693b ldr r3, [r7, #16] - 80046d2: 6093 str r3, [r2, #8] - 80046d4: e008 b.n 80046e8 + 80047e6: 4a0d ldr r2, [pc, #52] ; (800481c ) + 80047e8: 693b ldr r3, [r7, #16] + 80047ea: 6093 str r3, [r2, #8] + 80047ec: e008 b.n 8004800 }else { buff2=eeprom_write_buffer.end; - 80046d6: 4b0b ldr r3, [pc, #44] ; (8004704 ) - 80046d8: 689b ldr r3, [r3, #8] - 80046da: 60fb str r3, [r7, #12] + 80047ee: 4b0b ldr r3, [pc, #44] ; (800481c ) + 80047f0: 689b ldr r3, [r3, #8] + 80047f2: 60fb str r3, [r7, #12] buff2->next=buff; - 80046dc: 68fb ldr r3, [r7, #12] - 80046de: 693a ldr r2, [r7, #16] - 80046e0: 601a str r2, [r3, #0] + 80047f4: 68fb ldr r3, [r7, #12] + 80047f6: 693a ldr r2, [r7, #16] + 80047f8: 601a str r2, [r3, #0] eeprom_write_buffer.end=buff; - 80046e2: 4a08 ldr r2, [pc, #32] ; (8004704 ) - 80046e4: 693b ldr r3, [r7, #16] - 80046e6: 6093 str r3, [r2, #8] + 80047fa: 4a08 ldr r2, [pc, #32] ; (800481c ) + 80047fc: 693b ldr r3, [r7, #16] + 80047fe: 6093 str r3, [r2, #8] } addoffset++; - 80046e8: 8afb ldrh r3, [r7, #22] - 80046ea: 3301 adds r3, #1 - 80046ec: 82fb strh r3, [r7, #22] + 8004800: 8afb ldrh r3, [r7, #22] + 8004802: 3301 adds r3, #1 + 8004804: 82fb strh r3, [r7, #22] while(LONG--) - 80046ee: 88bb ldrh r3, [r7, #4] - 80046f0: 1e5a subs r2, r3, #1 - 80046f2: 80ba strh r2, [r7, #4] - 80046f4: 2b00 cmp r3, #0 - 80046f6: d1cc bne.n 8004692 - 80046f8: e000 b.n 80046fc + 8004806: 88bb ldrh r3, [r7, #4] + 8004808: 1e5a subs r2, r3, #1 + 800480a: 80ba strh r2, [r7, #4] + 800480c: 2b00 cmp r3, #0 + 800480e: d1cc bne.n 80047aa + 8004810: e000 b.n 8004814 }else{return ;} - 80046fa: bf00 nop + 8004812: bf00 nop } } - 80046fc: 3718 adds r7, #24 - 80046fe: 46bd mov sp, r7 - 8004700: bd80 pop {r7, pc} - 8004702: bf00 nop - 8004704: 200002b4 .word 0x200002b4 + 8004814: 3718 adds r7, #24 + 8004816: 46bd mov sp, r7 + 8004818: bd80 pop {r7, pc} + 800481a: bf00 nop + 800481c: 200002c4 .word 0x200002c4 -08004708 : +08004820 : //iic硬件接口 extern I2C_HandleTypeDef hi2c2; void IIC_SAND_DATE(uint16_t DEVICE_ADD,uint16_t IN_DEVICE_ADD,char *DATAS,uint16_t LONG) { - 8004708: b580 push {r7, lr} - 800470a: b088 sub sp, #32 - 800470c: af04 add r7, sp, #16 - 800470e: 60ba str r2, [r7, #8] - 8004710: 461a mov r2, r3 - 8004712: 4603 mov r3, r0 - 8004714: 81fb strh r3, [r7, #14] - 8004716: 460b mov r3, r1 - 8004718: 81bb strh r3, [r7, #12] - 800471a: 4613 mov r3, r2 - 800471c: 80fb strh r3, [r7, #6] + 8004820: b580 push {r7, lr} + 8004822: b088 sub sp, #32 + 8004824: af04 add r7, sp, #16 + 8004826: 60ba str r2, [r7, #8] + 8004828: 461a mov r2, r3 + 800482a: 4603 mov r3, r0 + 800482c: 81fb strh r3, [r7, #14] + 800482e: 460b mov r3, r1 + 8004830: 81bb strh r3, [r7, #12] + 8004832: 4613 mov r3, r2 + 8004834: 80fb strh r3, [r7, #6] HAL_I2C_Mem_Write(&hi2c2,DEVICE_ADD,IN_DEVICE_ADD,I2C_MEMADD_SIZE_8BIT,DATAS,LONG,100); - 800471e: 89ba ldrh r2, [r7, #12] - 8004720: 89f9 ldrh r1, [r7, #14] - 8004722: 2364 movs r3, #100 ; 0x64 - 8004724: 9302 str r3, [sp, #8] - 8004726: 88fb ldrh r3, [r7, #6] - 8004728: 9301 str r3, [sp, #4] - 800472a: 68bb ldr r3, [r7, #8] - 800472c: 9300 str r3, [sp, #0] - 800472e: 2301 movs r3, #1 - 8004730: 4803 ldr r0, [pc, #12] ; (8004740 ) - 8004732: f7fd fced bl 8002110 + 8004836: 89ba ldrh r2, [r7, #12] + 8004838: 89f9 ldrh r1, [r7, #14] + 800483a: 2364 movs r3, #100 ; 0x64 + 800483c: 9302 str r3, [sp, #8] + 800483e: 88fb ldrh r3, [r7, #6] + 8004840: 9301 str r3, [sp, #4] + 8004842: 68bb ldr r3, [r7, #8] + 8004844: 9300 str r3, [sp, #0] + 8004846: 2301 movs r3, #1 + 8004848: 4803 ldr r0, [pc, #12] ; (8004858 ) + 800484a: f7fd fced bl 8002228 } - 8004736: bf00 nop - 8004738: 3710 adds r7, #16 - 800473a: 46bd mov sp, r7 - 800473c: bd80 pop {r7, pc} - 800473e: bf00 nop - 8004740: 20000208 .word 0x20000208 + 800484e: bf00 nop + 8004850: 3710 adds r7, #16 + 8004852: 46bd mov sp, r7 + 8004854: bd80 pop {r7, pc} + 8004856: bf00 nop + 8004858: 20000218 .word 0x20000218 -08004744 : +0800485c : void IIC_READ_DATE(uint16_t DEVICE_ADD,uint16_t IN_DEVICE_ADD,char *DATAS,uint16_t LONG) { - 8004744: b580 push {r7, lr} - 8004746: b088 sub sp, #32 - 8004748: af04 add r7, sp, #16 - 800474a: 60ba str r2, [r7, #8] - 800474c: 461a mov r2, r3 - 800474e: 4603 mov r3, r0 - 8004750: 81fb strh r3, [r7, #14] - 8004752: 460b mov r3, r1 - 8004754: 81bb strh r3, [r7, #12] - 8004756: 4613 mov r3, r2 - 8004758: 80fb strh r3, [r7, #6] + 800485c: b580 push {r7, lr} + 800485e: b088 sub sp, #32 + 8004860: af04 add r7, sp, #16 + 8004862: 60ba str r2, [r7, #8] + 8004864: 461a mov r2, r3 + 8004866: 4603 mov r3, r0 + 8004868: 81fb strh r3, [r7, #14] + 800486a: 460b mov r3, r1 + 800486c: 81bb strh r3, [r7, #12] + 800486e: 4613 mov r3, r2 + 8004870: 80fb strh r3, [r7, #6] HAL_I2C_Mem_Read(&hi2c2,DEVICE_ADD,IN_DEVICE_ADD,I2C_MEMADD_SIZE_8BIT,DATAS,LONG,100); - 800475a: 89ba ldrh r2, [r7, #12] - 800475c: 89f9 ldrh r1, [r7, #14] - 800475e: 2364 movs r3, #100 ; 0x64 - 8004760: 9302 str r3, [sp, #8] - 8004762: 88fb ldrh r3, [r7, #6] - 8004764: 9301 str r3, [sp, #4] - 8004766: 68bb ldr r3, [r7, #8] - 8004768: 9300 str r3, [sp, #0] - 800476a: 2301 movs r3, #1 - 800476c: 4803 ldr r0, [pc, #12] ; (800477c ) - 800476e: f7fd fdc9 bl 8002304 + 8004872: 89ba ldrh r2, [r7, #12] + 8004874: 89f9 ldrh r1, [r7, #14] + 8004876: 2364 movs r3, #100 ; 0x64 + 8004878: 9302 str r3, [sp, #8] + 800487a: 88fb ldrh r3, [r7, #6] + 800487c: 9301 str r3, [sp, #4] + 800487e: 68bb ldr r3, [r7, #8] + 8004880: 9300 str r3, [sp, #0] + 8004882: 2301 movs r3, #1 + 8004884: 4803 ldr r0, [pc, #12] ; (8004894 ) + 8004886: f7fd fdc9 bl 800241c } - 8004772: bf00 nop - 8004774: 3710 adds r7, #16 - 8004776: 46bd mov sp, r7 - 8004778: bd80 pop {r7, pc} - 800477a: bf00 nop - 800477c: 20000208 .word 0x20000208 + 800488a: bf00 nop + 800488c: 3710 adds r7, #16 + 800488e: 46bd mov sp, r7 + 8004890: bd80 pop {r7, pc} + 8004892: bf00 nop + 8004894: 20000218 .word 0x20000218 -08004780 : +08004898 : //SPI写数据 //向触摸屏IC写入1byte数据 //num:要写入的数据 void TP_Write_Byte(char num) { - 8004780: b580 push {r7, lr} - 8004782: b084 sub sp, #16 - 8004784: af00 add r7, sp, #0 - 8004786: 4603 mov r3, r0 - 8004788: 71fb strb r3, [r7, #7] + 8004898: b580 push {r7, lr} + 800489a: b084 sub sp, #16 + 800489c: af00 add r7, sp, #0 + 800489e: 4603 mov r3, r0 + 80048a0: 71fb strb r3, [r7, #7] for(uint8_t count=0;count<8;count++) - 800478a: 2300 movs r3, #0 - 800478c: 73fb strb r3, [r7, #15] - 800478e: e020 b.n 80047d2 + 80048a2: 2300 movs r3, #0 + 80048a4: 73fb strb r3, [r7, #15] + 80048a6: e020 b.n 80048ea { if(num&0x80){TDIN(1);} - 8004790: f997 3007 ldrsb.w r3, [r7, #7] - 8004794: 2b00 cmp r3, #0 - 8004796: da06 bge.n 80047a6 - 8004798: 2201 movs r2, #1 - 800479a: f44f 7100 mov.w r1, #512 ; 0x200 - 800479e: 4811 ldr r0, [pc, #68] ; (80047e4 ) - 80047a0: f7fd fb59 bl 8001e56 - 80047a4: e005 b.n 80047b2 + 80048a8: f997 3007 ldrsb.w r3, [r7, #7] + 80048ac: 2b00 cmp r3, #0 + 80048ae: da06 bge.n 80048be + 80048b0: 2201 movs r2, #1 + 80048b2: f44f 7100 mov.w r1, #512 ; 0x200 + 80048b6: 4811 ldr r0, [pc, #68] ; (80048fc ) + 80048b8: f7fd fb59 bl 8001f6e + 80048bc: e005 b.n 80048ca else {TDIN(0);} - 80047a6: 2200 movs r2, #0 - 80047a8: f44f 7100 mov.w r1, #512 ; 0x200 - 80047ac: 480d ldr r0, [pc, #52] ; (80047e4 ) - 80047ae: f7fd fb52 bl 8001e56 + 80048be: 2200 movs r2, #0 + 80048c0: f44f 7100 mov.w r1, #512 ; 0x200 + 80048c4: 480d ldr r0, [pc, #52] ; (80048fc ) + 80048c6: f7fd fb52 bl 8001f6e num<<=1; - 80047b2: 79fb ldrb r3, [r7, #7] - 80047b4: 005b lsls r3, r3, #1 - 80047b6: 71fb strb r3, [r7, #7] + 80048ca: 79fb ldrb r3, [r7, #7] + 80048cc: 005b lsls r3, r3, #1 + 80048ce: 71fb strb r3, [r7, #7] TCLK(0); - 80047b8: 2200 movs r2, #0 - 80047ba: 2102 movs r1, #2 - 80047bc: 480a ldr r0, [pc, #40] ; (80047e8 ) - 80047be: f7fd fb4a bl 8001e56 + 80048d0: 2200 movs r2, #0 + 80048d2: 2102 movs r1, #2 + 80048d4: 480a ldr r0, [pc, #40] ; (8004900 ) + 80048d6: f7fd fb4a bl 8001f6e TCLK(1); //上升沿有效 - 80047c2: 2201 movs r2, #1 - 80047c4: 2102 movs r1, #2 - 80047c6: 4808 ldr r0, [pc, #32] ; (80047e8 ) - 80047c8: f7fd fb45 bl 8001e56 + 80048da: 2201 movs r2, #1 + 80048dc: 2102 movs r1, #2 + 80048de: 4808 ldr r0, [pc, #32] ; (8004900 ) + 80048e0: f7fd fb45 bl 8001f6e for(uint8_t count=0;count<8;count++) - 80047cc: 7bfb ldrb r3, [r7, #15] - 80047ce: 3301 adds r3, #1 - 80047d0: 73fb strb r3, [r7, #15] - 80047d2: 7bfb ldrb r3, [r7, #15] - 80047d4: 2b07 cmp r3, #7 - 80047d6: d9db bls.n 8004790 + 80048e4: 7bfb ldrb r3, [r7, #15] + 80048e6: 3301 adds r3, #1 + 80048e8: 73fb strb r3, [r7, #15] + 80048ea: 7bfb ldrb r3, [r7, #15] + 80048ec: 2b07 cmp r3, #7 + 80048ee: d9db bls.n 80048a8 } } - 80047d8: bf00 nop - 80047da: bf00 nop - 80047dc: 3710 adds r7, #16 - 80047de: 46bd mov sp, r7 - 80047e0: bd80 pop {r7, pc} - 80047e2: bf00 nop - 80047e4: 40011c00 .word 0x40011c00 - 80047e8: 40010c00 .word 0x40010c00 + 80048f0: bf00 nop + 80048f2: bf00 nop + 80048f4: 3710 adds r7, #16 + 80048f6: 46bd mov sp, r7 + 80048f8: bd80 pop {r7, pc} + 80048fa: bf00 nop + 80048fc: 40011c00 .word 0x40011c00 + 8004900: 40010c00 .word 0x40010c00 -080047ec : +08004904 : //SPI读数据 //从触摸屏IC读取adc值 //CMD:指令 //返回值:读到的数据 uint16_t TP_Read_AD(char CMD) { - 80047ec: b580 push {r7, lr} - 80047ee: b084 sub sp, #16 - 80047f0: af00 add r7, sp, #0 - 80047f2: 4603 mov r3, r0 - 80047f4: 71fb strb r3, [r7, #7] + 8004904: b580 push {r7, lr} + 8004906: b084 sub sp, #16 + 8004908: af00 add r7, sp, #0 + 800490a: 4603 mov r3, r0 + 800490c: 71fb strb r3, [r7, #7] uint16_t Num=0; - 80047f6: 2300 movs r3, #0 - 80047f8: 81fb strh r3, [r7, #14] + 800490e: 2300 movs r3, #0 + 8004910: 81fb strh r3, [r7, #14] TCLK(0); //先拉低时钟 - 80047fa: 2200 movs r2, #0 - 80047fc: 2102 movs r1, #2 - 80047fe: 482b ldr r0, [pc, #172] ; (80048ac ) - 8004800: f7fd fb29 bl 8001e56 + 8004912: 2200 movs r2, #0 + 8004914: 2102 movs r1, #2 + 8004916: 482b ldr r0, [pc, #172] ; (80049c4 ) + 8004918: f7fd fb29 bl 8001f6e TDIN(0); //拉低数据线 - 8004804: 2200 movs r2, #0 - 8004806: f44f 7100 mov.w r1, #512 ; 0x200 - 800480a: 4829 ldr r0, [pc, #164] ; (80048b0 ) - 800480c: f7fd fb23 bl 8001e56 + 800491c: 2200 movs r2, #0 + 800491e: f44f 7100 mov.w r1, #512 ; 0x200 + 8004922: 4829 ldr r0, [pc, #164] ; (80049c8 ) + 8004924: f7fd fb23 bl 8001f6e TCS(0); //选中触摸屏IC - 8004810: 2200 movs r2, #0 - 8004812: 2104 movs r1, #4 - 8004814: 4825 ldr r0, [pc, #148] ; (80048ac ) - 8004816: f7fd fb1e bl 8001e56 + 8004928: 2200 movs r2, #0 + 800492a: 2104 movs r1, #4 + 800492c: 4825 ldr r0, [pc, #148] ; (80049c4 ) + 800492e: f7fd fb1e bl 8001f6e TP_Write_Byte(CMD);//发送命令字 - 800481a: 79fb ldrb r3, [r7, #7] - 800481c: 4618 mov r0, r3 - 800481e: f7ff ffaf bl 8004780 + 8004932: 79fb ldrb r3, [r7, #7] + 8004934: 4618 mov r0, r3 + 8004936: f7ff ffaf bl 8004898 HAL_GetTick(); //稍微延时,ad转换需要时间 - 8004822: f7fd f85b bl 80018dc + 800493a: f7fd f85b bl 80019f4 HAL_GetTick(); - 8004826: f7fd f859 bl 80018dc + 800493e: f7fd f859 bl 80019f4 HAL_GetTick(); - 800482a: f7fd f857 bl 80018dc + 8004942: f7fd f857 bl 80019f4 HAL_GetTick(); - 800482e: f7fd f855 bl 80018dc + 8004946: f7fd f855 bl 80019f4 HAL_GetTick(); - 8004832: f7fd f853 bl 80018dc + 800494a: f7fd f853 bl 80019f4 HAL_GetTick(); - 8004836: f7fd f851 bl 80018dc + 800494e: f7fd f851 bl 80019f4 TCLK(1); //给1个时钟,清除BUSY - 800483a: 2201 movs r2, #1 - 800483c: 2102 movs r1, #2 - 800483e: 481b ldr r0, [pc, #108] ; (80048ac ) - 8004840: f7fd fb09 bl 8001e56 + 8004952: 2201 movs r2, #1 + 8004954: 2102 movs r1, #2 + 8004956: 481b ldr r0, [pc, #108] ; (80049c4 ) + 8004958: f7fd fb09 bl 8001f6e TCLK(0); - 8004844: 2200 movs r2, #0 - 8004846: 2102 movs r1, #2 - 8004848: 4818 ldr r0, [pc, #96] ; (80048ac ) - 800484a: f7fd fb04 bl 8001e56 + 800495c: 2200 movs r2, #0 + 800495e: 2102 movs r1, #2 + 8004960: 4818 ldr r0, [pc, #96] ; (80049c4 ) + 8004962: f7fd fb04 bl 8001f6e for(uint8_t count=0;count<16;count++)//读出16位数据,只有高12位有效 - 800484e: 2300 movs r3, #0 - 8004850: 737b strb r3, [r7, #13] - 8004852: e01a b.n 800488a + 8004966: 2300 movs r3, #0 + 8004968: 737b strb r3, [r7, #13] + 800496a: e01a b.n 80049a2 { Num<<=1; - 8004854: 89fb ldrh r3, [r7, #14] - 8004856: 005b lsls r3, r3, #1 - 8004858: 81fb strh r3, [r7, #14] + 800496c: 89fb ldrh r3, [r7, #14] + 800496e: 005b lsls r3, r3, #1 + 8004970: 81fb strh r3, [r7, #14] TCLK(0); //下降沿有效 - 800485a: 2200 movs r2, #0 - 800485c: 2102 movs r1, #2 - 800485e: 4813 ldr r0, [pc, #76] ; (80048ac ) - 8004860: f7fd faf9 bl 8001e56 + 8004972: 2200 movs r2, #0 + 8004974: 2102 movs r1, #2 + 8004976: 4813 ldr r0, [pc, #76] ; (80049c4 ) + 8004978: f7fd faf9 bl 8001f6e TCLK(1);; - 8004864: 2201 movs r2, #1 - 8004866: 2102 movs r1, #2 - 8004868: 4810 ldr r0, [pc, #64] ; (80048ac ) - 800486a: f7fd faf4 bl 8001e56 + 800497c: 2201 movs r2, #1 + 800497e: 2102 movs r1, #2 + 8004980: 4810 ldr r0, [pc, #64] ; (80049c4 ) + 8004982: f7fd faf4 bl 8001f6e if(TDOUT){Num++;} - 800486e: f44f 7180 mov.w r1, #256 ; 0x100 - 8004872: 480f ldr r0, [pc, #60] ; (80048b0 ) - 8004874: f7fd fad8 bl 8001e28 - 8004878: 4603 mov r3, r0 - 800487a: 2b00 cmp r3, #0 - 800487c: d002 beq.n 8004884 - 800487e: 89fb ldrh r3, [r7, #14] - 8004880: 3301 adds r3, #1 - 8004882: 81fb strh r3, [r7, #14] + 8004986: f44f 7180 mov.w r1, #256 ; 0x100 + 800498a: 480f ldr r0, [pc, #60] ; (80049c8 ) + 800498c: f7fd fad8 bl 8001f40 + 8004990: 4603 mov r3, r0 + 8004992: 2b00 cmp r3, #0 + 8004994: d002 beq.n 800499c + 8004996: 89fb ldrh r3, [r7, #14] + 8004998: 3301 adds r3, #1 + 800499a: 81fb strh r3, [r7, #14] for(uint8_t count=0;count<16;count++)//读出16位数据,只有高12位有效 - 8004884: 7b7b ldrb r3, [r7, #13] - 8004886: 3301 adds r3, #1 - 8004888: 737b strb r3, [r7, #13] - 800488a: 7b7b ldrb r3, [r7, #13] - 800488c: 2b0f cmp r3, #15 - 800488e: d9e1 bls.n 8004854 + 800499c: 7b7b ldrb r3, [r7, #13] + 800499e: 3301 adds r3, #1 + 80049a0: 737b strb r3, [r7, #13] + 80049a2: 7b7b ldrb r3, [r7, #13] + 80049a4: 2b0f cmp r3, #15 + 80049a6: d9e1 bls.n 800496c } Num>>=4; //只有高12位有效. - 8004890: 89fb ldrh r3, [r7, #14] - 8004892: 091b lsrs r3, r3, #4 - 8004894: 81fb strh r3, [r7, #14] + 80049a8: 89fb ldrh r3, [r7, #14] + 80049aa: 091b lsrs r3, r3, #4 + 80049ac: 81fb strh r3, [r7, #14] TCS(1); //释放片选 - 8004896: 2201 movs r2, #1 - 8004898: 2104 movs r1, #4 - 800489a: 4804 ldr r0, [pc, #16] ; (80048ac ) - 800489c: f7fd fadb bl 8001e56 + 80049ae: 2201 movs r2, #1 + 80049b0: 2104 movs r1, #4 + 80049b2: 4804 ldr r0, [pc, #16] ; (80049c4 ) + 80049b4: f7fd fadb bl 8001f6e return(Num); - 80048a0: 89fb ldrh r3, [r7, #14] + 80049b8: 89fb ldrh r3, [r7, #14] } - 80048a2: 4618 mov r0, r3 - 80048a4: 3710 adds r7, #16 - 80048a6: 46bd mov sp, r7 - 80048a8: bd80 pop {r7, pc} - 80048aa: bf00 nop - 80048ac: 40010c00 .word 0x40010c00 - 80048b0: 40011c00 .word 0x40011c00 + 80049ba: 4618 mov r0, r3 + 80049bc: 3710 adds r7, #16 + 80049be: 46bd mov sp, r7 + 80049c0: bd80 pop {r7, pc} + 80049c2: bf00 nop + 80049c4: 40010c00 .word 0x40010c00 + 80049c8: 40011c00 .word 0x40011c00 -080048b4 : +080049cc : //xy:指令(CMD_RDX/CMD_RDY) //返回值:读到的数据 #define READ_TIMES 5 //读取次数 #define LOST_VAL 1 //丢弃值 uint16_t TP_Read_XOY(uint8_t xy) { - 80048b4: b590 push {r4, r7, lr} - 80048b6: b089 sub sp, #36 ; 0x24 - 80048b8: af00 add r7, sp, #0 - 80048ba: 4603 mov r3, r0 - 80048bc: 71fb strb r3, [r7, #7] + 80049cc: b590 push {r4, r7, lr} + 80049ce: b089 sub sp, #36 ; 0x24 + 80049d0: af00 add r7, sp, #0 + 80049d2: 4603 mov r3, r0 + 80049d4: 71fb strb r3, [r7, #7] uint16_t i, j; uint16_t buf[READ_TIMES]; uint16_t sum=0; - 80048be: 2300 movs r3, #0 - 80048c0: 837b strh r3, [r7, #26] + 80049d6: 2300 movs r3, #0 + 80049d8: 837b strh r3, [r7, #26] uint16_t temp; for(i=0;i - 80048c8: 8bfc ldrh r4, [r7, #30] - 80048ca: 79fb ldrb r3, [r7, #7] - 80048cc: 4618 mov r0, r3 - 80048ce: f7ff ff8d bl 80047ec - 80048d2: 4603 mov r3, r0 - 80048d4: 461a mov r2, r3 - 80048d6: 0063 lsls r3, r4, #1 - 80048d8: f107 0120 add.w r1, r7, #32 - 80048dc: 440b add r3, r1 - 80048de: f823 2c14 strh.w r2, [r3, #-20] - 80048e2: 8bfb ldrh r3, [r7, #30] - 80048e4: 3301 adds r3, #1 - 80048e6: 83fb strh r3, [r7, #30] - 80048e8: 8bfb ldrh r3, [r7, #30] - 80048ea: 2b04 cmp r3, #4 - 80048ec: d9ec bls.n 80048c8 + 80049da: 2300 movs r3, #0 + 80049dc: 83fb strh r3, [r7, #30] + 80049de: e00f b.n 8004a00 + 80049e0: 8bfc ldrh r4, [r7, #30] + 80049e2: 79fb ldrb r3, [r7, #7] + 80049e4: 4618 mov r0, r3 + 80049e6: f7ff ff8d bl 8004904 + 80049ea: 4603 mov r3, r0 + 80049ec: 461a mov r2, r3 + 80049ee: 0063 lsls r3, r4, #1 + 80049f0: f107 0120 add.w r1, r7, #32 + 80049f4: 440b add r3, r1 + 80049f6: f823 2c14 strh.w r2, [r3, #-20] + 80049fa: 8bfb ldrh r3, [r7, #30] + 80049fc: 3301 adds r3, #1 + 80049fe: 83fb strh r3, [r7, #30] + 8004a00: 8bfb ldrh r3, [r7, #30] + 8004a02: 2b04 cmp r3, #4 + 8004a04: d9ec bls.n 80049e0 for(i=0;i + 8004a06: 2300 movs r3, #0 + 8004a08: 83fb strh r3, [r7, #30] + 8004a0a: e03b b.n 8004a84 { for(j=i+1;j + 8004a0c: 8bfb ldrh r3, [r7, #30] + 8004a0e: 3301 adds r3, #1 + 8004a10: 83bb strh r3, [r7, #28] + 8004a12: e031 b.n 8004a78 { if(buf[i]>buf[j])//升序排列 - 80048fc: 8bfb ldrh r3, [r7, #30] - 80048fe: 005b lsls r3, r3, #1 - 8004900: f107 0220 add.w r2, r7, #32 - 8004904: 4413 add r3, r2 - 8004906: f833 2c14 ldrh.w r2, [r3, #-20] - 800490a: 8bbb ldrh r3, [r7, #28] - 800490c: 005b lsls r3, r3, #1 - 800490e: f107 0120 add.w r1, r7, #32 - 8004912: 440b add r3, r1 - 8004914: f833 3c14 ldrh.w r3, [r3, #-20] - 8004918: 429a cmp r2, r3 - 800491a: d91e bls.n 800495a + 8004a14: 8bfb ldrh r3, [r7, #30] + 8004a16: 005b lsls r3, r3, #1 + 8004a18: f107 0220 add.w r2, r7, #32 + 8004a1c: 4413 add r3, r2 + 8004a1e: f833 2c14 ldrh.w r2, [r3, #-20] + 8004a22: 8bbb ldrh r3, [r7, #28] + 8004a24: 005b lsls r3, r3, #1 + 8004a26: f107 0120 add.w r1, r7, #32 + 8004a2a: 440b add r3, r1 + 8004a2c: f833 3c14 ldrh.w r3, [r3, #-20] + 8004a30: 429a cmp r2, r3 + 8004a32: d91e bls.n 8004a72 { temp=buf[i]; - 800491c: 8bfb ldrh r3, [r7, #30] - 800491e: 005b lsls r3, r3, #1 - 8004920: f107 0220 add.w r2, r7, #32 - 8004924: 4413 add r3, r2 - 8004926: f833 3c14 ldrh.w r3, [r3, #-20] - 800492a: 833b strh r3, [r7, #24] + 8004a34: 8bfb ldrh r3, [r7, #30] + 8004a36: 005b lsls r3, r3, #1 + 8004a38: f107 0220 add.w r2, r7, #32 + 8004a3c: 4413 add r3, r2 + 8004a3e: f833 3c14 ldrh.w r3, [r3, #-20] + 8004a42: 833b strh r3, [r7, #24] buf[i]=buf[j]; - 800492c: 8bbb ldrh r3, [r7, #28] - 800492e: 8bfa ldrh r2, [r7, #30] - 8004930: 005b lsls r3, r3, #1 - 8004932: f107 0120 add.w r1, r7, #32 - 8004936: 440b add r3, r1 - 8004938: f833 1c14 ldrh.w r1, [r3, #-20] - 800493c: 0053 lsls r3, r2, #1 - 800493e: f107 0220 add.w r2, r7, #32 - 8004942: 4413 add r3, r2 - 8004944: 460a mov r2, r1 - 8004946: f823 2c14 strh.w r2, [r3, #-20] + 8004a44: 8bbb ldrh r3, [r7, #28] + 8004a46: 8bfa ldrh r2, [r7, #30] + 8004a48: 005b lsls r3, r3, #1 + 8004a4a: f107 0120 add.w r1, r7, #32 + 8004a4e: 440b add r3, r1 + 8004a50: f833 1c14 ldrh.w r1, [r3, #-20] + 8004a54: 0053 lsls r3, r2, #1 + 8004a56: f107 0220 add.w r2, r7, #32 + 8004a5a: 4413 add r3, r2 + 8004a5c: 460a mov r2, r1 + 8004a5e: f823 2c14 strh.w r2, [r3, #-20] buf[j]=temp; - 800494a: 8bbb ldrh r3, [r7, #28] - 800494c: 005b lsls r3, r3, #1 - 800494e: f107 0220 add.w r2, r7, #32 - 8004952: 4413 add r3, r2 - 8004954: 8b3a ldrh r2, [r7, #24] - 8004956: f823 2c14 strh.w r2, [r3, #-20] + 8004a62: 8bbb ldrh r3, [r7, #28] + 8004a64: 005b lsls r3, r3, #1 + 8004a66: f107 0220 add.w r2, r7, #32 + 8004a6a: 4413 add r3, r2 + 8004a6c: 8b3a ldrh r2, [r7, #24] + 8004a6e: f823 2c14 strh.w r2, [r3, #-20] for(j=i+1;j + 8004a72: 8bbb ldrh r3, [r7, #28] + 8004a74: 3301 adds r3, #1 + 8004a76: 83bb strh r3, [r7, #28] + 8004a78: 8bbb ldrh r3, [r7, #28] + 8004a7a: 2b04 cmp r3, #4 + 8004a7c: d9ca bls.n 8004a14 for(i=0;i + 8004a7e: 8bfb ldrh r3, [r7, #30] + 8004a80: 3301 adds r3, #1 + 8004a82: 83fb strh r3, [r7, #30] + 8004a84: 8bfb ldrh r3, [r7, #30] + 8004a86: 2b03 cmp r3, #3 + 8004a88: d9c0 bls.n 8004a0c } } } sum=0; - 8004972: 2300 movs r3, #0 - 8004974: 837b strh r3, [r7, #26] + 8004a8a: 2300 movs r3, #0 + 8004a8c: 837b strh r3, [r7, #26] for(i=LOST_VAL;i - 800497c: 8bfb ldrh r3, [r7, #30] - 800497e: 005b lsls r3, r3, #1 - 8004980: f107 0220 add.w r2, r7, #32 - 8004984: 4413 add r3, r2 - 8004986: f833 2c14 ldrh.w r2, [r3, #-20] - 800498a: 8b7b ldrh r3, [r7, #26] - 800498c: 4413 add r3, r2 - 800498e: 837b strh r3, [r7, #26] - 8004990: 8bfb ldrh r3, [r7, #30] - 8004992: 3301 adds r3, #1 - 8004994: 83fb strh r3, [r7, #30] - 8004996: 8bfb ldrh r3, [r7, #30] - 8004998: 2b03 cmp r3, #3 - 800499a: d9ef bls.n 800497c + 8004a8e: 2301 movs r3, #1 + 8004a90: 83fb strh r3, [r7, #30] + 8004a92: e00c b.n 8004aae + 8004a94: 8bfb ldrh r3, [r7, #30] + 8004a96: 005b lsls r3, r3, #1 + 8004a98: f107 0220 add.w r2, r7, #32 + 8004a9c: 4413 add r3, r2 + 8004a9e: f833 2c14 ldrh.w r2, [r3, #-20] + 8004aa2: 8b7b ldrh r3, [r7, #26] + 8004aa4: 4413 add r3, r2 + 8004aa6: 837b strh r3, [r7, #26] + 8004aa8: 8bfb ldrh r3, [r7, #30] + 8004aaa: 3301 adds r3, #1 + 8004aac: 83fb strh r3, [r7, #30] + 8004aae: 8bfb ldrh r3, [r7, #30] + 8004ab0: 2b03 cmp r3, #3 + 8004ab2: d9ef bls.n 8004a94 temp=sum/(READ_TIMES-2*LOST_VAL); - 800499c: 8b7b ldrh r3, [r7, #26] - 800499e: 4a05 ldr r2, [pc, #20] ; (80049b4 ) - 80049a0: fba2 2303 umull r2, r3, r2, r3 - 80049a4: 085b lsrs r3, r3, #1 - 80049a6: 833b strh r3, [r7, #24] + 8004ab4: 8b7b ldrh r3, [r7, #26] + 8004ab6: 4a05 ldr r2, [pc, #20] ; (8004acc ) + 8004ab8: fba2 2303 umull r2, r3, r2, r3 + 8004abc: 085b lsrs r3, r3, #1 + 8004abe: 833b strh r3, [r7, #24] return temp; - 80049a8: 8b3b ldrh r3, [r7, #24] + 8004ac0: 8b3b ldrh r3, [r7, #24] } - 80049aa: 4618 mov r0, r3 - 80049ac: 3724 adds r7, #36 ; 0x24 - 80049ae: 46bd mov sp, r7 - 80049b0: bd90 pop {r4, r7, pc} - 80049b2: bf00 nop - 80049b4: aaaaaaab .word 0xaaaaaaab + 8004ac2: 4618 mov r0, r3 + 8004ac4: 3724 adds r7, #36 ; 0x24 + 8004ac6: 46bd mov sp, r7 + 8004ac8: bd90 pop {r4, r7, pc} + 8004aca: bf00 nop + 8004acc: aaaaaaab .word 0xaaaaaaab -080049b8 : +08004ad0 : //读取x,y坐标 //x,y:读取到的坐标ADC值 void TP_Read_XY_ADC(int16_t *x,int16_t *y) { - 80049b8: b580 push {r7, lr} - 80049ba: b084 sub sp, #16 - 80049bc: af00 add r7, sp, #0 - 80049be: 6078 str r0, [r7, #4] - 80049c0: 6039 str r1, [r7, #0] + 8004ad0: b580 push {r7, lr} + 8004ad2: b084 sub sp, #16 + 8004ad4: af00 add r7, sp, #0 + 8004ad6: 6078 str r0, [r7, #4] + 8004ad8: 6039 str r1, [r7, #0] int16_t xtemp,ytemp; xtemp=TP_Read_XOY(CMD_RDX); - 80049c2: 2090 movs r0, #144 ; 0x90 - 80049c4: f7ff ff76 bl 80048b4 - 80049c8: 4603 mov r3, r0 - 80049ca: 81fb strh r3, [r7, #14] + 8004ada: 2090 movs r0, #144 ; 0x90 + 8004adc: f7ff ff76 bl 80049cc + 8004ae0: 4603 mov r3, r0 + 8004ae2: 81fb strh r3, [r7, #14] ytemp=TP_Read_XOY(CMD_RDY); - 80049cc: 20d0 movs r0, #208 ; 0xd0 - 80049ce: f7ff ff71 bl 80048b4 - 80049d2: 4603 mov r3, r0 - 80049d4: 81bb strh r3, [r7, #12] + 8004ae4: 20d0 movs r0, #208 ; 0xd0 + 8004ae6: f7ff ff71 bl 80049cc + 8004aea: 4603 mov r3, r0 + 8004aec: 81bb strh r3, [r7, #12] *x=xtemp; - 80049d6: 687b ldr r3, [r7, #4] - 80049d8: 89fa ldrh r2, [r7, #14] - 80049da: 801a strh r2, [r3, #0] + 8004aee: 687b ldr r3, [r7, #4] + 8004af0: 89fa ldrh r2, [r7, #14] + 8004af2: 801a strh r2, [r3, #0] *y=ytemp; - 80049dc: 683b ldr r3, [r7, #0] - 80049de: 89ba ldrh r2, [r7, #12] - 80049e0: 801a strh r2, [r3, #0] + 8004af4: 683b ldr r3, [r7, #0] + 8004af6: 89ba ldrh r2, [r7, #12] + 8004af8: 801a strh r2, [r3, #0] } - 80049e2: bf00 nop - 80049e4: 3710 adds r7, #16 - 80049e6: 46bd mov sp, r7 - 80049e8: bd80 pop {r7, pc} + 8004afa: bf00 nop + 8004afc: 3710 adds r7, #16 + 8004afe: 46bd mov sp, r7 + 8004b00: bd80 pop {r7, pc} -080049ea : +08004b02 : //该函数能大大提高准确度 //x,y:读取到的坐标值 //返回值:0,失败;1,成功。 #define ERR_RANGE 10 //误差范围 uint8_t TP_Read_XY2(int16_t *x,int16_t *y) { - 80049ea: b580 push {r7, lr} - 80049ec: b084 sub sp, #16 - 80049ee: af00 add r7, sp, #0 - 80049f0: 6078 str r0, [r7, #4] - 80049f2: 6039 str r1, [r7, #0] + 8004b02: b580 push {r7, lr} + 8004b04: b084 sub sp, #16 + 8004b06: af00 add r7, sp, #0 + 8004b08: 6078 str r0, [r7, #4] + 8004b0a: 6039 str r1, [r7, #0] int16_t x1,y1; int16_t x2,y2; TP_Read_XY_ADC(&x1,&y1); - 80049f4: f107 020c add.w r2, r7, #12 - 80049f8: f107 030e add.w r3, r7, #14 - 80049fc: 4611 mov r1, r2 - 80049fe: 4618 mov r0, r3 - 8004a00: f7ff ffda bl 80049b8 + 8004b0c: f107 020c add.w r2, r7, #12 + 8004b10: f107 030e add.w r3, r7, #14 + 8004b14: 4611 mov r1, r2 + 8004b16: 4618 mov r0, r3 + 8004b18: f7ff ffda bl 8004ad0 TP_Read_XY_ADC(&x2,&y2); - 8004a04: f107 0208 add.w r2, r7, #8 - 8004a08: f107 030a add.w r3, r7, #10 - 8004a0c: 4611 mov r1, r2 - 8004a0e: 4618 mov r0, r3 - 8004a10: f7ff ffd2 bl 80049b8 + 8004b1c: f107 0208 add.w r2, r7, #8 + 8004b20: f107 030a add.w r3, r7, #10 + 8004b24: 4611 mov r1, r2 + 8004b26: 4618 mov r0, r3 + 8004b28: f7ff ffd2 bl 8004ad0 if(((x2<=x1&&x1 - 8004a20: f9b7 300a ldrsh.w r3, [r7, #10] - 8004a24: 3309 adds r3, #9 - 8004a26: f9b7 200e ldrsh.w r2, [r7, #14] - 8004a2a: 4293 cmp r3, r2 - 8004a2c: da0c bge.n 8004a48 - 8004a2e: f9b7 200e ldrsh.w r2, [r7, #14] - 8004a32: f9b7 300a ldrsh.w r3, [r7, #10] - 8004a36: 429a cmp r2, r3 - 8004a38: dc3a bgt.n 8004ab0 - 8004a3a: f9b7 300e ldrsh.w r3, [r7, #14] - 8004a3e: 3309 adds r3, #9 - 8004a40: f9b7 200a ldrsh.w r2, [r7, #10] - 8004a44: 4293 cmp r3, r2 - 8004a46: db33 blt.n 8004ab0 + 8004b2c: f9b7 200a ldrsh.w r2, [r7, #10] + 8004b30: f9b7 300e ldrsh.w r3, [r7, #14] + 8004b34: 429a cmp r2, r3 + 8004b36: dc06 bgt.n 8004b46 + 8004b38: f9b7 300a ldrsh.w r3, [r7, #10] + 8004b3c: 3309 adds r3, #9 + 8004b3e: f9b7 200e ldrsh.w r2, [r7, #14] + 8004b42: 4293 cmp r3, r2 + 8004b44: da0c bge.n 8004b60 + 8004b46: f9b7 200e ldrsh.w r2, [r7, #14] + 8004b4a: f9b7 300a ldrsh.w r3, [r7, #10] + 8004b4e: 429a cmp r2, r3 + 8004b50: dc3a bgt.n 8004bc8 + 8004b52: f9b7 300e ldrsh.w r3, [r7, #14] + 8004b56: 3309 adds r3, #9 + 8004b58: f9b7 200a ldrsh.w r2, [r7, #10] + 8004b5c: 4293 cmp r3, r2 + 8004b5e: db33 blt.n 8004bc8 &&((y2<=y1&&y1 - 8004a54: f9b7 3008 ldrsh.w r3, [r7, #8] - 8004a58: 3309 adds r3, #9 - 8004a5a: f9b7 200c ldrsh.w r2, [r7, #12] - 8004a5e: 4293 cmp r3, r2 - 8004a60: da0c bge.n 8004a7c - 8004a62: f9b7 200c ldrsh.w r2, [r7, #12] - 8004a66: f9b7 3008 ldrsh.w r3, [r7, #8] - 8004a6a: 429a cmp r2, r3 - 8004a6c: dc20 bgt.n 8004ab0 - 8004a6e: f9b7 300c ldrsh.w r3, [r7, #12] - 8004a72: 3309 adds r3, #9 - 8004a74: f9b7 2008 ldrsh.w r2, [r7, #8] - 8004a78: 4293 cmp r3, r2 - 8004a7a: db19 blt.n 8004ab0 + 8004b60: f9b7 2008 ldrsh.w r2, [r7, #8] + 8004b64: f9b7 300c ldrsh.w r3, [r7, #12] + 8004b68: 429a cmp r2, r3 + 8004b6a: dc06 bgt.n 8004b7a + 8004b6c: f9b7 3008 ldrsh.w r3, [r7, #8] + 8004b70: 3309 adds r3, #9 + 8004b72: f9b7 200c ldrsh.w r2, [r7, #12] + 8004b76: 4293 cmp r3, r2 + 8004b78: da0c bge.n 8004b94 + 8004b7a: f9b7 200c ldrsh.w r2, [r7, #12] + 8004b7e: f9b7 3008 ldrsh.w r3, [r7, #8] + 8004b82: 429a cmp r2, r3 + 8004b84: dc20 bgt.n 8004bc8 + 8004b86: f9b7 300c ldrsh.w r3, [r7, #12] + 8004b8a: 3309 adds r3, #9 + 8004b8c: f9b7 2008 ldrsh.w r2, [r7, #8] + 8004b90: 4293 cmp r3, r2 + 8004b92: db19 blt.n 8004bc8 { *x=(x1+x2)/2; - 8004a7c: f9b7 300e ldrsh.w r3, [r7, #14] - 8004a80: 461a mov r2, r3 - 8004a82: f9b7 300a ldrsh.w r3, [r7, #10] - 8004a86: 4413 add r3, r2 - 8004a88: 0fda lsrs r2, r3, #31 - 8004a8a: 4413 add r3, r2 - 8004a8c: 105b asrs r3, r3, #1 - 8004a8e: b21a sxth r2, r3 - 8004a90: 687b ldr r3, [r7, #4] - 8004a92: 801a strh r2, [r3, #0] + 8004b94: f9b7 300e ldrsh.w r3, [r7, #14] + 8004b98: 461a mov r2, r3 + 8004b9a: f9b7 300a ldrsh.w r3, [r7, #10] + 8004b9e: 4413 add r3, r2 + 8004ba0: 0fda lsrs r2, r3, #31 + 8004ba2: 4413 add r3, r2 + 8004ba4: 105b asrs r3, r3, #1 + 8004ba6: b21a sxth r2, r3 + 8004ba8: 687b ldr r3, [r7, #4] + 8004baa: 801a strh r2, [r3, #0] *y=(y1+y2)/2; - 8004a94: f9b7 300c ldrsh.w r3, [r7, #12] - 8004a98: 461a mov r2, r3 - 8004a9a: f9b7 3008 ldrsh.w r3, [r7, #8] - 8004a9e: 4413 add r3, r2 - 8004aa0: 0fda lsrs r2, r3, #31 - 8004aa2: 4413 add r3, r2 - 8004aa4: 105b asrs r3, r3, #1 - 8004aa6: b21a sxth r2, r3 - 8004aa8: 683b ldr r3, [r7, #0] - 8004aaa: 801a strh r2, [r3, #0] + 8004bac: f9b7 300c ldrsh.w r3, [r7, #12] + 8004bb0: 461a mov r2, r3 + 8004bb2: f9b7 3008 ldrsh.w r3, [r7, #8] + 8004bb6: 4413 add r3, r2 + 8004bb8: 0fda lsrs r2, r3, #31 + 8004bba: 4413 add r3, r2 + 8004bbc: 105b asrs r3, r3, #1 + 8004bbe: b21a sxth r2, r3 + 8004bc0: 683b ldr r3, [r7, #0] + 8004bc2: 801a strh r2, [r3, #0] return 1; - 8004aac: 2301 movs r3, #1 - 8004aae: e000 b.n 8004ab2 + 8004bc4: 2301 movs r3, #1 + 8004bc6: e000 b.n 8004bca }else return 0; - 8004ab0: 2300 movs r3, #0 + 8004bc8: 2300 movs r3, #0 } - 8004ab2: 4618 mov r0, r3 - 8004ab4: 3710 adds r7, #16 - 8004ab6: 46bd mov sp, r7 - 8004ab8: bd80 pop {r7, pc} + 8004bca: 4618 mov r0, r3 + 8004bcc: 3710 adds r7, #16 + 8004bce: 46bd mov sp, r7 + 8004bd0: bd80 pop {r7, pc} ... -08004abc : +08004bd4 : touch_device t0;// t0 yyds~ touch_config tconfig; //触摸更新服务,状态机写法,循环获取坐标 void TP_Server() { - 8004abc: b598 push {r3, r4, r7, lr} - 8004abe: af00 add r7, sp, #0 + 8004bd4: b598 push {r3, r4, r7, lr} + 8004bd6: af00 add r7, sp, #0 if(TPEN==0) //如果有触摸 - 8004ac0: f44f 6180 mov.w r1, #1024 ; 0x400 - 8004ac4: 4835 ldr r0, [pc, #212] ; (8004b9c ) - 8004ac6: f7fd f9af bl 8001e28 - 8004aca: 4603 mov r3, r0 - 8004acc: 2b00 cmp r3, #0 - 8004ace: d155 bne.n 8004b7c + 8004bd8: f44f 6180 mov.w r1, #1024 ; 0x400 + 8004bdc: 4835 ldr r0, [pc, #212] ; (8004cb4 ) + 8004bde: f7fd f9af bl 8001f40 + 8004be2: 4603 mov r3, r0 + 8004be4: 2b00 cmp r3, #0 + 8004be6: d155 bne.n 8004c94 { if(TP_Read_XY2(&t0.adc_x,&t0.adc_y)) - 8004ad0: 4933 ldr r1, [pc, #204] ; (8004ba0 ) - 8004ad2: 4834 ldr r0, [pc, #208] ; (8004ba4 ) - 8004ad4: f7ff ff89 bl 80049ea - 8004ad8: 4603 mov r3, r0 - 8004ada: 2b00 cmp r3, #0 - 8004adc: d043 beq.n 8004b66 + 8004be8: 4933 ldr r1, [pc, #204] ; (8004cb8 ) + 8004bea: 4834 ldr r0, [pc, #208] ; (8004cbc ) + 8004bec: f7ff ff89 bl 8004b02 + 8004bf0: 4603 mov r3, r0 + 8004bf2: 2b00 cmp r3, #0 + 8004bf4: d043 beq.n 8004c7e {//先读取ad值 t0.pix_x=(t0.adc_x/tconfig.x_acc)-tconfig.x_offset;//转换为像素坐标 - 8004ade: 4b31 ldr r3, [pc, #196] ; (8004ba4 ) - 8004ae0: 881b ldrh r3, [r3, #0] - 8004ae2: 4618 mov r0, r3 - 8004ae4: f7fc f946 bl 8000d74 <__aeabi_i2f> - 8004ae8: 4602 mov r2, r0 - 8004aea: 4b2f ldr r3, [pc, #188] ; (8004ba8 ) - 8004aec: 685b ldr r3, [r3, #4] - 8004aee: 4619 mov r1, r3 - 8004af0: 4610 mov r0, r2 - 8004af2: f7fc fa47 bl 8000f84 <__aeabi_fdiv> - 8004af6: 4603 mov r3, r0 - 8004af8: 461c mov r4, r3 - 8004afa: 4b2b ldr r3, [pc, #172] ; (8004ba8 ) - 8004afc: 68db ldr r3, [r3, #12] - 8004afe: 4618 mov r0, r3 - 8004b00: f7fc f938 bl 8000d74 <__aeabi_i2f> - 8004b04: 4603 mov r3, r0 - 8004b06: 4619 mov r1, r3 - 8004b08: 4620 mov r0, r4 - 8004b0a: f7fc f87d bl 8000c08 <__aeabi_fsub> - 8004b0e: 4603 mov r3, r0 - 8004b10: 4618 mov r0, r3 - 8004b12: f7fc fad3 bl 80010bc <__aeabi_f2iz> - 8004b16: 4603 mov r3, r0 - 8004b18: 4a22 ldr r2, [pc, #136] ; (8004ba4 ) - 8004b1a: 6053 str r3, [r2, #4] + 8004bf6: 4b31 ldr r3, [pc, #196] ; (8004cbc ) + 8004bf8: 881b ldrh r3, [r3, #0] + 8004bfa: 4618 mov r0, r3 + 8004bfc: f7fc f8ba bl 8000d74 <__aeabi_i2f> + 8004c00: 4602 mov r2, r0 + 8004c02: 4b2f ldr r3, [pc, #188] ; (8004cc0 ) + 8004c04: 685b ldr r3, [r3, #4] + 8004c06: 4619 mov r1, r3 + 8004c08: 4610 mov r0, r2 + 8004c0a: f7fc f9bb bl 8000f84 <__aeabi_fdiv> + 8004c0e: 4603 mov r3, r0 + 8004c10: 461c mov r4, r3 + 8004c12: 4b2b ldr r3, [pc, #172] ; (8004cc0 ) + 8004c14: 68db ldr r3, [r3, #12] + 8004c16: 4618 mov r0, r3 + 8004c18: f7fc f8ac bl 8000d74 <__aeabi_i2f> + 8004c1c: 4603 mov r3, r0 + 8004c1e: 4619 mov r1, r3 + 8004c20: 4620 mov r0, r4 + 8004c22: f7fb fff1 bl 8000c08 <__aeabi_fsub> + 8004c26: 4603 mov r3, r0 + 8004c28: 4618 mov r0, r3 + 8004c2a: f7fc fad3 bl 80011d4 <__aeabi_f2iz> + 8004c2e: 4603 mov r3, r0 + 8004c30: 4a22 ldr r2, [pc, #136] ; (8004cbc ) + 8004c32: 6053 str r3, [r2, #4] t0.pix_y=(t0.adc_y/tconfig.y_acc)-tconfig.y_offset; - 8004b1c: 4b21 ldr r3, [pc, #132] ; (8004ba4 ) - 8004b1e: 885b ldrh r3, [r3, #2] - 8004b20: 4618 mov r0, r3 - 8004b22: f7fc f927 bl 8000d74 <__aeabi_i2f> - 8004b26: 4602 mov r2, r0 - 8004b28: 4b1f ldr r3, [pc, #124] ; (8004ba8 ) - 8004b2a: 689b ldr r3, [r3, #8] - 8004b2c: 4619 mov r1, r3 - 8004b2e: 4610 mov r0, r2 - 8004b30: f7fc fa28 bl 8000f84 <__aeabi_fdiv> - 8004b34: 4603 mov r3, r0 - 8004b36: 461c mov r4, r3 - 8004b38: 4b1b ldr r3, [pc, #108] ; (8004ba8 ) - 8004b3a: 691b ldr r3, [r3, #16] - 8004b3c: 4618 mov r0, r3 - 8004b3e: f7fc f919 bl 8000d74 <__aeabi_i2f> - 8004b42: 4603 mov r3, r0 - 8004b44: 4619 mov r1, r3 - 8004b46: 4620 mov r0, r4 - 8004b48: f7fc f85e bl 8000c08 <__aeabi_fsub> - 8004b4c: 4603 mov r3, r0 - 8004b4e: 4618 mov r0, r3 - 8004b50: f7fc fab4 bl 80010bc <__aeabi_f2iz> - 8004b54: 4603 mov r3, r0 - 8004b56: 4a13 ldr r2, [pc, #76] ; (8004ba4 ) - 8004b58: 6093 str r3, [r2, #8] + 8004c34: 4b21 ldr r3, [pc, #132] ; (8004cbc ) + 8004c36: 885b ldrh r3, [r3, #2] + 8004c38: 4618 mov r0, r3 + 8004c3a: f7fc f89b bl 8000d74 <__aeabi_i2f> + 8004c3e: 4602 mov r2, r0 + 8004c40: 4b1f ldr r3, [pc, #124] ; (8004cc0 ) + 8004c42: 689b ldr r3, [r3, #8] + 8004c44: 4619 mov r1, r3 + 8004c46: 4610 mov r0, r2 + 8004c48: f7fc f99c bl 8000f84 <__aeabi_fdiv> + 8004c4c: 4603 mov r3, r0 + 8004c4e: 461c mov r4, r3 + 8004c50: 4b1b ldr r3, [pc, #108] ; (8004cc0 ) + 8004c52: 691b ldr r3, [r3, #16] + 8004c54: 4618 mov r0, r3 + 8004c56: f7fc f88d bl 8000d74 <__aeabi_i2f> + 8004c5a: 4603 mov r3, r0 + 8004c5c: 4619 mov r1, r3 + 8004c5e: 4620 mov r0, r4 + 8004c60: f7fb ffd2 bl 8000c08 <__aeabi_fsub> + 8004c64: 4603 mov r3, r0 + 8004c66: 4618 mov r0, r3 + 8004c68: f7fc fab4 bl 80011d4 <__aeabi_f2iz> + 8004c6c: 4603 mov r3, r0 + 8004c6e: 4a13 ldr r2, [pc, #76] ; (8004cbc ) + 8004c70: 6093 str r3, [r2, #8] t0.d=1; - 8004b5a: 4a12 ldr r2, [pc, #72] ; (8004ba4 ) - 8004b5c: 7b13 ldrb r3, [r2, #12] - 8004b5e: f043 0304 orr.w r3, r3, #4 - 8004b62: 7313 strb r3, [r2, #12] - 8004b64: e004 b.n 8004b70 + 8004c72: 4a12 ldr r2, [pc, #72] ; (8004cbc ) + 8004c74: 7b13 ldrb r3, [r2, #12] + 8004c76: f043 0304 orr.w r3, r3, #4 + 8004c7a: 7313 strb r3, [r2, #12] + 8004c7c: e004 b.n 8004c88 }else { t0.d=0; - 8004b66: 4a0f ldr r2, [pc, #60] ; (8004ba4 ) - 8004b68: 7b13 ldrb r3, [r2, #12] - 8004b6a: f36f 0382 bfc r3, #2, #1 - 8004b6e: 7313 strb r3, [r2, #12] + 8004c7e: 4a0f ldr r2, [pc, #60] ; (8004cbc ) + 8004c80: 7b13 ldrb r3, [r2, #12] + 8004c82: f36f 0382 bfc r3, #2, #1 + 8004c86: 7313 strb r3, [r2, #12] } t0.c=1; - 8004b70: 4a0c ldr r2, [pc, #48] ; (8004ba4 ) - 8004b72: 7b13 ldrb r3, [r2, #12] - 8004b74: f043 0302 orr.w r3, r3, #2 - 8004b78: 7313 strb r3, [r2, #12] + 8004c88: 4a0c ldr r2, [pc, #48] ; (8004cbc ) + 8004c8a: 7b13 ldrb r3, [r2, #12] + 8004c8c: f043 0302 orr.w r3, r3, #2 + 8004c90: 7313 strb r3, [r2, #12] { t0.c=0; t0.pix_x=-1; t0.pix_y=-1; } } - 8004b7a: e00c b.n 8004b96 + 8004c92: e00c b.n 8004cae t0.c=0; - 8004b7c: 4a09 ldr r2, [pc, #36] ; (8004ba4 ) - 8004b7e: 7b13 ldrb r3, [r2, #12] - 8004b80: f36f 0341 bfc r3, #1, #1 - 8004b84: 7313 strb r3, [r2, #12] + 8004c94: 4a09 ldr r2, [pc, #36] ; (8004cbc ) + 8004c96: 7b13 ldrb r3, [r2, #12] + 8004c98: f36f 0341 bfc r3, #1, #1 + 8004c9c: 7313 strb r3, [r2, #12] t0.pix_x=-1; - 8004b86: 4b07 ldr r3, [pc, #28] ; (8004ba4 ) - 8004b88: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff - 8004b8c: 605a str r2, [r3, #4] + 8004c9e: 4b07 ldr r3, [pc, #28] ; (8004cbc ) + 8004ca0: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff + 8004ca4: 605a str r2, [r3, #4] t0.pix_y=-1; - 8004b8e: 4b05 ldr r3, [pc, #20] ; (8004ba4 ) - 8004b90: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff - 8004b94: 609a str r2, [r3, #8] + 8004ca6: 4b05 ldr r3, [pc, #20] ; (8004cbc ) + 8004ca8: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff + 8004cac: 609a str r2, [r3, #8] } - 8004b96: bf00 nop - 8004b98: bd98 pop {r3, r4, r7, pc} - 8004b9a: bf00 nop - 8004b9c: 40011c00 .word 0x40011c00 - 8004ba0: 200002e2 .word 0x200002e2 - 8004ba4: 200002e0 .word 0x200002e0 - 8004ba8: 200002c8 .word 0x200002c8 + 8004cae: bf00 nop + 8004cb0: bd98 pop {r3, r4, r7, pc} + 8004cb2: bf00 nop + 8004cb4: 40011c00 .word 0x40011c00 + 8004cb8: 200002f2 .word 0x200002f2 + 8004cbc: 200002f0 .word 0x200002f0 + 8004cc0: 200002d8 .word 0x200002d8 -08004bac : +08004cc4 : return 0; } //校准用,画一个目标坐标 //r=坐标半径,显示特效用 void TP_DrwaTrage(int x,int y,int r) { - 8004bac: b590 push {r4, r7, lr} - 8004bae: b087 sub sp, #28 - 8004bb0: af02 add r7, sp, #8 - 8004bb2: 60f8 str r0, [r7, #12] - 8004bb4: 60b9 str r1, [r7, #8] - 8004bb6: 607a str r2, [r7, #4] + 8004cc4: b590 push {r4, r7, lr} + 8004cc6: b087 sub sp, #28 + 8004cc8: af02 add r7, sp, #8 + 8004cca: 60f8 str r0, [r7, #12] + 8004ccc: 60b9 str r1, [r7, #8] + 8004cce: 607a str r2, [r7, #4] Draw_Circle(x,y,r+1,GRAY); - 8004bb8: 68fb ldr r3, [r7, #12] - 8004bba: b298 uxth r0, r3 - 8004bbc: 68bb ldr r3, [r7, #8] - 8004bbe: b299 uxth r1, r3 - 8004bc0: 687b ldr r3, [r7, #4] - 8004bc2: b29b uxth r3, r3 - 8004bc4: 3301 adds r3, #1 - 8004bc6: b29a uxth r2, r3 - 8004bc8: f248 4330 movw r3, #33840 ; 0x8430 - 8004bcc: f7ff fb7f bl 80042ce + 8004cd0: 68fb ldr r3, [r7, #12] + 8004cd2: b298 uxth r0, r3 + 8004cd4: 68bb ldr r3, [r7, #8] + 8004cd6: b299 uxth r1, r3 + 8004cd8: 687b ldr r3, [r7, #4] + 8004cda: b29b uxth r3, r3 + 8004cdc: 3301 adds r3, #1 + 8004cde: b29a uxth r2, r3 + 8004ce0: f248 4330 movw r3, #33840 ; 0x8430 + 8004ce4: f7ff fb7f bl 80043e6 Draw_Circle(x,y,r,RED); - 8004bd0: 68fb ldr r3, [r7, #12] - 8004bd2: b298 uxth r0, r3 - 8004bd4: 68bb ldr r3, [r7, #8] - 8004bd6: b299 uxth r1, r3 - 8004bd8: 687b ldr r3, [r7, #4] - 8004bda: b29a uxth r2, r3 - 8004bdc: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004be0: f7ff fb75 bl 80042ce + 8004ce8: 68fb ldr r3, [r7, #12] + 8004cea: b298 uxth r0, r3 + 8004cec: 68bb ldr r3, [r7, #8] + 8004cee: b299 uxth r1, r3 + 8004cf0: 687b ldr r3, [r7, #4] + 8004cf2: b29a uxth r2, r3 + 8004cf4: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004cf8: f7ff fb75 bl 80043e6 LCD_DrawLine(x,y,x+10,y,RED); - 8004be4: 68fb ldr r3, [r7, #12] - 8004be6: b298 uxth r0, r3 - 8004be8: 68bb ldr r3, [r7, #8] - 8004bea: b299 uxth r1, r3 - 8004bec: 68fb ldr r3, [r7, #12] - 8004bee: b29b uxth r3, r3 - 8004bf0: 330a adds r3, #10 - 8004bf2: b29a uxth r2, r3 - 8004bf4: 68bb ldr r3, [r7, #8] - 8004bf6: b29b uxth r3, r3 - 8004bf8: f44f 4478 mov.w r4, #63488 ; 0xf800 - 8004bfc: 9400 str r4, [sp, #0] - 8004bfe: f7ff fae1 bl 80041c4 + 8004cfc: 68fb ldr r3, [r7, #12] + 8004cfe: b298 uxth r0, r3 + 8004d00: 68bb ldr r3, [r7, #8] + 8004d02: b299 uxth r1, r3 + 8004d04: 68fb ldr r3, [r7, #12] + 8004d06: b29b uxth r3, r3 + 8004d08: 330a adds r3, #10 + 8004d0a: b29a uxth r2, r3 + 8004d0c: 68bb ldr r3, [r7, #8] + 8004d0e: b29b uxth r3, r3 + 8004d10: f44f 4478 mov.w r4, #63488 ; 0xf800 + 8004d14: 9400 str r4, [sp, #0] + 8004d16: f7ff fae1 bl 80042dc LCD_DrawLine(x,y,x,y+10,RED); - 8004c02: 68fb ldr r3, [r7, #12] - 8004c04: b298 uxth r0, r3 - 8004c06: 68bb ldr r3, [r7, #8] - 8004c08: b299 uxth r1, r3 - 8004c0a: 68fb ldr r3, [r7, #12] - 8004c0c: b29a uxth r2, r3 - 8004c0e: 68bb ldr r3, [r7, #8] - 8004c10: b29b uxth r3, r3 - 8004c12: 330a adds r3, #10 - 8004c14: b29b uxth r3, r3 - 8004c16: f44f 4478 mov.w r4, #63488 ; 0xf800 - 8004c1a: 9400 str r4, [sp, #0] - 8004c1c: f7ff fad2 bl 80041c4 + 8004d1a: 68fb ldr r3, [r7, #12] + 8004d1c: b298 uxth r0, r3 + 8004d1e: 68bb ldr r3, [r7, #8] + 8004d20: b299 uxth r1, r3 + 8004d22: 68fb ldr r3, [r7, #12] + 8004d24: b29a uxth r2, r3 + 8004d26: 68bb ldr r3, [r7, #8] + 8004d28: b29b uxth r3, r3 + 8004d2a: 330a adds r3, #10 + 8004d2c: b29b uxth r3, r3 + 8004d2e: f44f 4478 mov.w r4, #63488 ; 0xf800 + 8004d32: 9400 str r4, [sp, #0] + 8004d34: f7ff fad2 bl 80042dc LCD_DrawLine(x,y,x-10,y,RED); - 8004c20: 68fb ldr r3, [r7, #12] - 8004c22: b298 uxth r0, r3 - 8004c24: 68bb ldr r3, [r7, #8] - 8004c26: b299 uxth r1, r3 - 8004c28: 68fb ldr r3, [r7, #12] - 8004c2a: b29b uxth r3, r3 - 8004c2c: 3b0a subs r3, #10 - 8004c2e: b29a uxth r2, r3 - 8004c30: 68bb ldr r3, [r7, #8] - 8004c32: b29b uxth r3, r3 - 8004c34: f44f 4478 mov.w r4, #63488 ; 0xf800 - 8004c38: 9400 str r4, [sp, #0] - 8004c3a: f7ff fac3 bl 80041c4 + 8004d38: 68fb ldr r3, [r7, #12] + 8004d3a: b298 uxth r0, r3 + 8004d3c: 68bb ldr r3, [r7, #8] + 8004d3e: b299 uxth r1, r3 + 8004d40: 68fb ldr r3, [r7, #12] + 8004d42: b29b uxth r3, r3 + 8004d44: 3b0a subs r3, #10 + 8004d46: b29a uxth r2, r3 + 8004d48: 68bb ldr r3, [r7, #8] + 8004d4a: b29b uxth r3, r3 + 8004d4c: f44f 4478 mov.w r4, #63488 ; 0xf800 + 8004d50: 9400 str r4, [sp, #0] + 8004d52: f7ff fac3 bl 80042dc LCD_DrawLine(x,y,x,y-10,RED); - 8004c3e: 68fb ldr r3, [r7, #12] - 8004c40: b298 uxth r0, r3 - 8004c42: 68bb ldr r3, [r7, #8] - 8004c44: b299 uxth r1, r3 - 8004c46: 68fb ldr r3, [r7, #12] - 8004c48: b29a uxth r2, r3 - 8004c4a: 68bb ldr r3, [r7, #8] - 8004c4c: b29b uxth r3, r3 - 8004c4e: 3b0a subs r3, #10 - 8004c50: b29b uxth r3, r3 - 8004c52: f44f 4478 mov.w r4, #63488 ; 0xf800 - 8004c56: 9400 str r4, [sp, #0] - 8004c58: f7ff fab4 bl 80041c4 + 8004d56: 68fb ldr r3, [r7, #12] + 8004d58: b298 uxth r0, r3 + 8004d5a: 68bb ldr r3, [r7, #8] + 8004d5c: b299 uxth r1, r3 + 8004d5e: 68fb ldr r3, [r7, #12] + 8004d60: b29a uxth r2, r3 + 8004d62: 68bb ldr r3, [r7, #8] + 8004d64: b29b uxth r3, r3 + 8004d66: 3b0a subs r3, #10 + 8004d68: b29b uxth r3, r3 + 8004d6a: f44f 4478 mov.w r4, #63488 ; 0xf800 + 8004d6e: 9400 str r4, [sp, #0] + 8004d70: f7ff fab4 bl 80042dc } - 8004c5c: bf00 nop - 8004c5e: 3714 adds r7, #20 - 8004c60: 46bd mov sp, r7 - 8004c62: bd90 pop {r4, r7, pc} + 8004d74: bf00 nop + 8004d76: 3714 adds r7, #20 + 8004d78: 46bd mov sp, r7 + 8004d7a: bd90 pop {r4, r7, pc} -08004c64 : +08004d7c : //触摸屏校准 void TP_adjustment() { - 8004c64: b5b0 push {r4, r5, r7, lr} - 8004c66: b0a4 sub sp, #144 ; 0x90 - 8004c68: af02 add r7, sp, #8 + 8004d7c: b5b0 push {r4, r5, r7, lr} + 8004d7e: b0a4 sub sp, #144 ; 0x90 + 8004d80: af02 add r7, sp, #8 //判断是否需要校准,从eeprom获取数据 EEPROM_READ_BATY(16,(char *)&tconfig,sizeof(touch_config)); - 8004c6a: 2218 movs r2, #24 - 8004c6c: 4916 ldr r1, [pc, #88] ; (8004cc8 ) - 8004c6e: 2010 movs r0, #16 - 8004c70: f7ff fcf2 bl 8004658 + 8004d82: 2218 movs r2, #24 + 8004d84: 4916 ldr r1, [pc, #88] ; (8004de0 ) + 8004d86: 2010 movs r0, #16 + 8004d88: f7ff fcf2 bl 8004770 if(tconfig.begin==0xab&&tconfig.end==0xcd) //判断校准标记 - 8004c74: 4b14 ldr r3, [pc, #80] ; (8004cc8 ) - 8004c76: 781b ldrb r3, [r3, #0] - 8004c78: 2bab cmp r3, #171 ; 0xab - 8004c7a: d104 bne.n 8004c86 - 8004c7c: 4b12 ldr r3, [pc, #72] ; (8004cc8 ) - 8004c7e: 7d1b ldrb r3, [r3, #20] - 8004c80: 2bcd cmp r3, #205 ; 0xcd - 8004c82: f000 82a5 beq.w 80051d0 + 8004d8c: 4b14 ldr r3, [pc, #80] ; (8004de0 ) + 8004d8e: 781b ldrb r3, [r3, #0] + 8004d90: 2bab cmp r3, #171 ; 0xab + 8004d92: d104 bne.n 8004d9e + 8004d94: 4b12 ldr r3, [pc, #72] ; (8004de0 ) + 8004d96: 7d1b ldrb r3, [r3, #20] + 8004d98: 2bcd cmp r3, #205 ; 0xcd + 8004d9a: f000 82a5 beq.w 80052e8 { return; //已经校准过了 } //校准方法比较简单,读取4个坐标计算ad值与像素的关系 char str[64]; //用于字符串提示 uint16_t y_adc,x_adc,step=0,r=10; //adc缓存,校准步骤,坐标的半径 - 8004c86: 2300 movs r3, #0 - 8004c88: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 - 8004c8c: 230a movs r3, #10 - 8004c8e: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 + 8004d9e: 2300 movs r3, #0 + 8004da0: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 + 8004da4: 230a movs r3, #10 + 8004da6: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 uint16_t y1,y2,y3,y4,x1,x2,x3,x4; //4个点缓存 int y5,x5,xd,xl,yd,yl; //通过4个点算出xy的长边和短边 float acc_x,acc_y; //算出的关系倍率 int offset_x,offset_y; //算出的偏差 uint32_t wait=HAL_GetTick()+50000,ms100=0; //校准时间,50秒没操作就自动退出 - 8004c92: f7fc fe23 bl 80018dc - 8004c96: 4603 mov r3, r0 - 8004c98: f503 4343 add.w r3, r3, #49920 ; 0xc300 - 8004c9c: 3350 adds r3, #80 ; 0x50 - 8004c9e: 673b str r3, [r7, #112] ; 0x70 - 8004ca0: 2300 movs r3, #0 - 8004ca2: 66fb str r3, [r7, #108] ; 0x6c + 8004daa: f7fc fe23 bl 80019f4 + 8004dae: 4603 mov r3, r0 + 8004db0: f503 4343 add.w r3, r3, #49920 ; 0xc300 + 8004db4: 3350 adds r3, #80 ; 0x50 + 8004db6: 673b str r3, [r7, #112] ; 0x70 + 8004db8: 2300 movs r3, #0 + 8004dba: 66fb str r3, [r7, #108] ; 0x6c //显示字符串提示 LCD_Clear(GRAY); - 8004ca4: f248 4030 movw r0, #33840 ; 0x8430 - 8004ca8: f7ff fa3a bl 8004120 + 8004dbc: f248 4030 movw r0, #33840 ; 0x8430 + 8004dc0: f7ff fa3a bl 8004238 LCD_ShowString(0,50,"Calibrate the touch screen",16,RED,RED); - 8004cac: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004cb0: 9301 str r3, [sp, #4] - 8004cb2: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004cb6: 9300 str r3, [sp, #0] - 8004cb8: 2310 movs r3, #16 - 8004cba: 4a04 ldr r2, [pc, #16] ; (8004ccc ) - 8004cbc: 2132 movs r1, #50 ; 0x32 - 8004cbe: 2000 movs r0, #0 - 8004cc0: f7ff fc2c bl 800451c + 8004dc4: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004dc8: 9301 str r3, [sp, #4] + 8004dca: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004dce: 9300 str r3, [sp, #0] + 8004dd0: 2310 movs r3, #16 + 8004dd2: 4a04 ldr r2, [pc, #16] ; (8004de4 ) + 8004dd4: 2132 movs r1, #50 ; 0x32 + 8004dd6: 2000 movs r0, #0 + 8004dd8: f7ff fc2c bl 8004634 //TP_DrwaTrage(30,30,10); //开始校准 while(HAL_GetTick() - 8004cc6: bf00 nop - 8004cc8: 200002c8 .word 0x200002c8 - 8004ccc: 080088e8 .word 0x080088e8 + 8004ddc: e27c b.n 80052d8 + 8004dde: bf00 nop + 8004de0: 200002d8 .word 0x200002d8 + 8004de4: 080098c0 .word 0x080098c0 { if(TPEN==0) //如果屏幕被按下 - 8004cd0: f44f 6180 mov.w r1, #1024 ; 0x400 - 8004cd4: 48cf ldr r0, [pc, #828] ; (8005014 ) - 8004cd6: f7fd f8a7 bl 8001e28 - 8004cda: 4603 mov r3, r0 - 8004cdc: 2b00 cmp r3, #0 - 8004cde: d146 bne.n 8004d6e + 8004de8: f44f 6180 mov.w r1, #1024 ; 0x400 + 8004dec: 48cf ldr r0, [pc, #828] ; (800512c ) + 8004dee: f7fd f8a7 bl 8001f40 + 8004df2: 4603 mov r3, r0 + 8004df4: 2b00 cmp r3, #0 + 8004df6: d146 bne.n 8004e86 { wait=HAL_GetTick()+50000; //重置50秒 - 8004ce0: f7fc fdfc bl 80018dc - 8004ce4: 4603 mov r3, r0 - 8004ce6: f503 4343 add.w r3, r3, #49920 ; 0xc300 - 8004cea: 3350 adds r3, #80 ; 0x50 - 8004cec: 673b str r3, [r7, #112] ; 0x70 + 8004df8: f7fc fdfc bl 80019f4 + 8004dfc: 4603 mov r3, r0 + 8004dfe: f503 4343 add.w r3, r3, #49920 ; 0xc300 + 8004e02: 3350 adds r3, #80 ; 0x50 + 8004e04: 673b str r3, [r7, #112] ; 0x70 TP_Read_XY2(&x_adc,&y_adc); //读取xy ad值 - 8004cee: 1cba adds r2, r7, #2 - 8004cf0: 463b mov r3, r7 - 8004cf2: 4611 mov r1, r2 - 8004cf4: 4618 mov r0, r3 - 8004cf6: f7ff fe78 bl 80049ea + 8004e06: 1cba adds r2, r7, #2 + 8004e08: 463b mov r3, r7 + 8004e0a: 4611 mov r1, r2 + 8004e0c: 4618 mov r0, r3 + 8004e0e: f7ff fe78 bl 8004b02 //将读到的值显示出来 sprintf(str,"ADC_X:%04d",x_adc); - 8004cfa: 883b ldrh r3, [r7, #0] - 8004cfc: 461a mov r2, r3 - 8004cfe: 1d3b adds r3, r7, #4 - 8004d00: 49c5 ldr r1, [pc, #788] ; (8005018 ) - 8004d02: 4618 mov r0, r3 - 8004d04: f001 fc62 bl 80065cc + 8004e12: 883b ldrh r3, [r7, #0] + 8004e14: 461a mov r2, r3 + 8004e16: 1d3b adds r3, r7, #4 + 8004e18: 49c5 ldr r1, [pc, #788] ; (8005130 ) + 8004e1a: 4618 mov r0, r3 + 8004e1c: f002 fb4e bl 80074bc LCD_ShowString(100, 0, str, 16, RED, GRAY); - 8004d08: 1d3a adds r2, r7, #4 - 8004d0a: f248 4330 movw r3, #33840 ; 0x8430 - 8004d0e: 9301 str r3, [sp, #4] - 8004d10: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004d14: 9300 str r3, [sp, #0] - 8004d16: 2310 movs r3, #16 - 8004d18: 2100 movs r1, #0 - 8004d1a: 2064 movs r0, #100 ; 0x64 - 8004d1c: f7ff fbfe bl 800451c + 8004e20: 1d3a adds r2, r7, #4 + 8004e22: f248 4330 movw r3, #33840 ; 0x8430 + 8004e26: 9301 str r3, [sp, #4] + 8004e28: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004e2c: 9300 str r3, [sp, #0] + 8004e2e: 2310 movs r3, #16 + 8004e30: 2100 movs r1, #0 + 8004e32: 2064 movs r0, #100 ; 0x64 + 8004e34: f7ff fbfe bl 8004634 sprintf(str,"ADC_Y:%04d",y_adc); - 8004d20: 887b ldrh r3, [r7, #2] - 8004d22: 461a mov r2, r3 - 8004d24: 1d3b adds r3, r7, #4 - 8004d26: 49bd ldr r1, [pc, #756] ; (800501c ) - 8004d28: 4618 mov r0, r3 - 8004d2a: f001 fc4f bl 80065cc + 8004e38: 887b ldrh r3, [r7, #2] + 8004e3a: 461a mov r2, r3 + 8004e3c: 1d3b adds r3, r7, #4 + 8004e3e: 49bd ldr r1, [pc, #756] ; (8005134 ) + 8004e40: 4618 mov r0, r3 + 8004e42: f002 fb3b bl 80074bc LCD_ShowString(100, 16, str, 16, RED, GRAY); - 8004d2e: 1d3a adds r2, r7, #4 - 8004d30: f248 4330 movw r3, #33840 ; 0x8430 - 8004d34: 9301 str r3, [sp, #4] - 8004d36: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004d3a: 9300 str r3, [sp, #0] - 8004d3c: 2310 movs r3, #16 - 8004d3e: 2110 movs r1, #16 - 8004d40: 2064 movs r0, #100 ; 0x64 - 8004d42: f7ff fbeb bl 800451c + 8004e46: 1d3a adds r2, r7, #4 + 8004e48: f248 4330 movw r3, #33840 ; 0x8430 + 8004e4c: 9301 str r3, [sp, #4] + 8004e4e: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004e52: 9300 str r3, [sp, #0] + 8004e54: 2310 movs r3, #16 + 8004e56: 2110 movs r1, #16 + 8004e58: 2064 movs r0, #100 ; 0x64 + 8004e5a: f7ff fbeb bl 8004634 //特效,半径开始收缩 if(HAL_GetTick()>ms100) - 8004d46: f7fc fdc9 bl 80018dc - 8004d4a: 4602 mov r2, r0 - 8004d4c: 6efb ldr r3, [r7, #108] ; 0x6c - 8004d4e: 4293 cmp r3, r2 - 8004d50: d20d bcs.n 8004d6e + 8004e5e: f7fc fdc9 bl 80019f4 + 8004e62: 4602 mov r2, r0 + 8004e64: 6efb ldr r3, [r7, #108] ; 0x6c + 8004e66: 4293 cmp r3, r2 + 8004e68: d20d bcs.n 8004e86 { ms100=HAL_GetTick()+100; - 8004d52: f7fc fdc3 bl 80018dc - 8004d56: 4603 mov r3, r0 - 8004d58: 3364 adds r3, #100 ; 0x64 - 8004d5a: 66fb str r3, [r7, #108] ; 0x6c + 8004e6a: f7fc fdc3 bl 80019f4 + 8004e6e: 4603 mov r3, r0 + 8004e70: 3364 adds r3, #100 ; 0x64 + 8004e72: 66fb str r3, [r7, #108] ; 0x6c if(r>0){r--;} - 8004d5c: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004d60: 2b00 cmp r3, #0 - 8004d62: d004 beq.n 8004d6e - 8004d64: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004d68: 3b01 subs r3, #1 - 8004d6a: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 + 8004e74: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8004e78: 2b00 cmp r3, #0 + 8004e7a: d004 beq.n 8004e86 + 8004e7c: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8004e80: 3b01 subs r3, #1 + 8004e82: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 } } //步骤0,将点画在(30,30)此时半径为10 if(step==0) - 8004d6e: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004d72: 2b00 cmp r3, #0 - 8004d74: d129 bne.n 8004dca + 8004e86: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004e8a: 2b00 cmp r3, #0 + 8004e8c: d129 bne.n 8004ee2 { TP_DrwaTrage(30,30,r); - 8004d76: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004d7a: 461a mov r2, r3 - 8004d7c: 211e movs r1, #30 - 8004d7e: 201e movs r0, #30 - 8004d80: f7ff ff14 bl 8004bac + 8004e8e: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8004e92: 461a mov r2, r3 + 8004e94: 211e movs r1, #30 + 8004e96: 201e movs r0, #30 + 8004e98: f7ff ff14 bl 8004cc4 if(r==0)//当半径收缩为0的时候 - 8004d84: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004d88: 2b00 cmp r3, #0 - 8004d8a: d11e bne.n 8004dca + 8004e9c: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8004ea0: 2b00 cmp r3, #0 + 8004ea2: d11e bne.n 8004ee2 { //进入下一个步骤,缓存这个点的值,显示出来 step+=1; - 8004d8c: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004d90: 3301 adds r3, #1 - 8004d92: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 + 8004ea4: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004ea8: 3301 adds r3, #1 + 8004eaa: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 y1=y_adc; - 8004d96: 887b ldrh r3, [r7, #2] - 8004d98: f8a7 3082 strh.w r3, [r7, #130] ; 0x82 + 8004eae: 887b ldrh r3, [r7, #2] + 8004eb0: f8a7 3082 strh.w r3, [r7, #130] ; 0x82 x1=x_adc; - 8004d9c: 883b ldrh r3, [r7, #0] - 8004d9e: f8a7 307a strh.w r3, [r7, #122] ; 0x7a + 8004eb4: 883b ldrh r3, [r7, #0] + 8004eb6: f8a7 307a strh.w r3, [r7, #122] ; 0x7a sprintf(str,"point_1 x:%d y:%d",x1,y1); - 8004da2: f8b7 207a ldrh.w r2, [r7, #122] ; 0x7a - 8004da6: f8b7 3082 ldrh.w r3, [r7, #130] ; 0x82 - 8004daa: 1d38 adds r0, r7, #4 - 8004dac: 499c ldr r1, [pc, #624] ; (8005020 ) - 8004dae: f001 fc0d bl 80065cc + 8004eba: f8b7 207a ldrh.w r2, [r7, #122] ; 0x7a + 8004ebe: f8b7 3082 ldrh.w r3, [r7, #130] ; 0x82 + 8004ec2: 1d38 adds r0, r7, #4 + 8004ec4: 499c ldr r1, [pc, #624] ; (8005138 ) + 8004ec6: f002 faf9 bl 80074bc LCD_ShowString(0,66,str,16,RED,RED); - 8004db2: 1d3a adds r2, r7, #4 - 8004db4: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004db8: 9301 str r3, [sp, #4] - 8004dba: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004dbe: 9300 str r3, [sp, #0] - 8004dc0: 2310 movs r3, #16 - 8004dc2: 2142 movs r1, #66 ; 0x42 - 8004dc4: 2000 movs r0, #0 - 8004dc6: f7ff fba9 bl 800451c + 8004eca: 1d3a adds r2, r7, #4 + 8004ecc: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004ed0: 9301 str r3, [sp, #4] + 8004ed2: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004ed6: 9300 str r3, [sp, #0] + 8004ed8: 2310 movs r3, #16 + 8004eda: 2142 movs r1, #66 ; 0x42 + 8004edc: 2000 movs r0, #0 + 8004ede: f7ff fba9 bl 8004634 } } //步骤1,等待屏幕被松开,进入下一个步骤,重置半径 if(step==1) - 8004dca: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004dce: 2b01 cmp r3, #1 - 8004dd0: d10f bne.n 8004df2 + 8004ee2: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004ee6: 2b01 cmp r3, #1 + 8004ee8: d10f bne.n 8004f0a { if(TPEN==1) - 8004dd2: f44f 6180 mov.w r1, #1024 ; 0x400 - 8004dd6: 488f ldr r0, [pc, #572] ; (8005014 ) - 8004dd8: f7fd f826 bl 8001e28 - 8004ddc: 4603 mov r3, r0 - 8004dde: 2b01 cmp r3, #1 - 8004de0: d107 bne.n 8004df2 + 8004eea: f44f 6180 mov.w r1, #1024 ; 0x400 + 8004eee: 488f ldr r0, [pc, #572] ; (800512c ) + 8004ef0: f7fd f826 bl 8001f40 + 8004ef4: 4603 mov r3, r0 + 8004ef6: 2b01 cmp r3, #1 + 8004ef8: d107 bne.n 8004f0a { step+=1; - 8004de2: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004de6: 3301 adds r3, #1 - 8004de8: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 + 8004efa: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004efe: 3301 adds r3, #1 + 8004f00: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 r=10; - 8004dec: 230a movs r3, #10 - 8004dee: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 + 8004f04: 230a movs r3, #10 + 8004f06: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 } } //下面几个步骤和上面一样 if(step==2) - 8004df2: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004df6: 2b02 cmp r3, #2 - 8004df8: d12a bne.n 8004e50 + 8004f0a: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004f0e: 2b02 cmp r3, #2 + 8004f10: d12a bne.n 8004f68 { TP_DrwaTrage(290,30,r); - 8004dfa: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004dfe: 461a mov r2, r3 - 8004e00: 211e movs r1, #30 - 8004e02: f44f 7091 mov.w r0, #290 ; 0x122 - 8004e06: f7ff fed1 bl 8004bac + 8004f12: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8004f16: 461a mov r2, r3 + 8004f18: 211e movs r1, #30 + 8004f1a: f44f 7091 mov.w r0, #290 ; 0x122 + 8004f1e: f7ff fed1 bl 8004cc4 if(r==0) - 8004e0a: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004e0e: 2b00 cmp r3, #0 - 8004e10: d11e bne.n 8004e50 + 8004f22: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8004f26: 2b00 cmp r3, #0 + 8004f28: d11e bne.n 8004f68 { step+=1; - 8004e12: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004e16: 3301 adds r3, #1 - 8004e18: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 + 8004f2a: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004f2e: 3301 adds r3, #1 + 8004f30: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 y2=y_adc; - 8004e1c: 887b ldrh r3, [r7, #2] - 8004e1e: f8a7 3080 strh.w r3, [r7, #128] ; 0x80 + 8004f34: 887b ldrh r3, [r7, #2] + 8004f36: f8a7 3080 strh.w r3, [r7, #128] ; 0x80 x2=x_adc; - 8004e22: 883b ldrh r3, [r7, #0] - 8004e24: f8a7 3078 strh.w r3, [r7, #120] ; 0x78 + 8004f3a: 883b ldrh r3, [r7, #0] + 8004f3c: f8a7 3078 strh.w r3, [r7, #120] ; 0x78 sprintf(str,"point_2 x:%d y:%d",x2,y2); - 8004e28: f8b7 2078 ldrh.w r2, [r7, #120] ; 0x78 - 8004e2c: f8b7 3080 ldrh.w r3, [r7, #128] ; 0x80 - 8004e30: 1d38 adds r0, r7, #4 - 8004e32: 497c ldr r1, [pc, #496] ; (8005024 ) - 8004e34: f001 fbca bl 80065cc + 8004f40: f8b7 2078 ldrh.w r2, [r7, #120] ; 0x78 + 8004f44: f8b7 3080 ldrh.w r3, [r7, #128] ; 0x80 + 8004f48: 1d38 adds r0, r7, #4 + 8004f4a: 497c ldr r1, [pc, #496] ; (800513c ) + 8004f4c: f002 fab6 bl 80074bc LCD_ShowString(0,66+16,str,16,RED,RED); - 8004e38: 1d3a adds r2, r7, #4 - 8004e3a: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004e3e: 9301 str r3, [sp, #4] - 8004e40: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004e44: 9300 str r3, [sp, #0] - 8004e46: 2310 movs r3, #16 - 8004e48: 2152 movs r1, #82 ; 0x52 - 8004e4a: 2000 movs r0, #0 - 8004e4c: f7ff fb66 bl 800451c + 8004f50: 1d3a adds r2, r7, #4 + 8004f52: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004f56: 9301 str r3, [sp, #4] + 8004f58: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004f5c: 9300 str r3, [sp, #0] + 8004f5e: 2310 movs r3, #16 + 8004f60: 2152 movs r1, #82 ; 0x52 + 8004f62: 2000 movs r0, #0 + 8004f64: f7ff fb66 bl 8004634 } } if(step==3) - 8004e50: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004e54: 2b03 cmp r3, #3 - 8004e56: d10f bne.n 8004e78 + 8004f68: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004f6c: 2b03 cmp r3, #3 + 8004f6e: d10f bne.n 8004f90 { if(TPEN==1) - 8004e58: f44f 6180 mov.w r1, #1024 ; 0x400 - 8004e5c: 486d ldr r0, [pc, #436] ; (8005014 ) - 8004e5e: f7fc ffe3 bl 8001e28 - 8004e62: 4603 mov r3, r0 - 8004e64: 2b01 cmp r3, #1 - 8004e66: d107 bne.n 8004e78 + 8004f70: f44f 6180 mov.w r1, #1024 ; 0x400 + 8004f74: 486d ldr r0, [pc, #436] ; (800512c ) + 8004f76: f7fc ffe3 bl 8001f40 + 8004f7a: 4603 mov r3, r0 + 8004f7c: 2b01 cmp r3, #1 + 8004f7e: d107 bne.n 8004f90 { step+=1; - 8004e68: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004e6c: 3301 adds r3, #1 - 8004e6e: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 + 8004f80: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004f84: 3301 adds r3, #1 + 8004f86: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 r=10; - 8004e72: 230a movs r3, #10 - 8004e74: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 + 8004f8a: 230a movs r3, #10 + 8004f8c: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 } } if(step==4) - 8004e78: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004e7c: 2b04 cmp r3, #4 - 8004e7e: d129 bne.n 8004ed4 + 8004f90: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004f94: 2b04 cmp r3, #4 + 8004f96: d129 bne.n 8004fec { TP_DrwaTrage(30,210,r); - 8004e80: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004e84: 461a mov r2, r3 - 8004e86: 21d2 movs r1, #210 ; 0xd2 - 8004e88: 201e movs r0, #30 - 8004e8a: f7ff fe8f bl 8004bac + 8004f98: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8004f9c: 461a mov r2, r3 + 8004f9e: 21d2 movs r1, #210 ; 0xd2 + 8004fa0: 201e movs r0, #30 + 8004fa2: f7ff fe8f bl 8004cc4 if(r==0) - 8004e8e: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004e92: 2b00 cmp r3, #0 - 8004e94: d11e bne.n 8004ed4 + 8004fa6: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8004faa: 2b00 cmp r3, #0 + 8004fac: d11e bne.n 8004fec { step+=1; - 8004e96: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004e9a: 3301 adds r3, #1 - 8004e9c: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 + 8004fae: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004fb2: 3301 adds r3, #1 + 8004fb4: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 y3=y_adc; - 8004ea0: 887b ldrh r3, [r7, #2] - 8004ea2: f8a7 307e strh.w r3, [r7, #126] ; 0x7e + 8004fb8: 887b ldrh r3, [r7, #2] + 8004fba: f8a7 307e strh.w r3, [r7, #126] ; 0x7e x3=x_adc; - 8004ea6: 883b ldrh r3, [r7, #0] - 8004ea8: f8a7 3076 strh.w r3, [r7, #118] ; 0x76 + 8004fbe: 883b ldrh r3, [r7, #0] + 8004fc0: f8a7 3076 strh.w r3, [r7, #118] ; 0x76 sprintf(str,"point_3 x:%d y:%d",x3,y3); - 8004eac: f8b7 2076 ldrh.w r2, [r7, #118] ; 0x76 - 8004eb0: f8b7 307e ldrh.w r3, [r7, #126] ; 0x7e - 8004eb4: 1d38 adds r0, r7, #4 - 8004eb6: 495c ldr r1, [pc, #368] ; (8005028 ) - 8004eb8: f001 fb88 bl 80065cc + 8004fc4: f8b7 2076 ldrh.w r2, [r7, #118] ; 0x76 + 8004fc8: f8b7 307e ldrh.w r3, [r7, #126] ; 0x7e + 8004fcc: 1d38 adds r0, r7, #4 + 8004fce: 495c ldr r1, [pc, #368] ; (8005140 ) + 8004fd0: f002 fa74 bl 80074bc LCD_ShowString(0,66+16+16,str,16,RED,RED); - 8004ebc: 1d3a adds r2, r7, #4 - 8004ebe: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004ec2: 9301 str r3, [sp, #4] - 8004ec4: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004ec8: 9300 str r3, [sp, #0] - 8004eca: 2310 movs r3, #16 - 8004ecc: 2162 movs r1, #98 ; 0x62 - 8004ece: 2000 movs r0, #0 - 8004ed0: f7ff fb24 bl 800451c + 8004fd4: 1d3a adds r2, r7, #4 + 8004fd6: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004fda: 9301 str r3, [sp, #4] + 8004fdc: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8004fe0: 9300 str r3, [sp, #0] + 8004fe2: 2310 movs r3, #16 + 8004fe4: 2162 movs r1, #98 ; 0x62 + 8004fe6: 2000 movs r0, #0 + 8004fe8: f7ff fb24 bl 8004634 } } if(step==5) - 8004ed4: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004ed8: 2b05 cmp r3, #5 - 8004eda: d10f bne.n 8004efc + 8004fec: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8004ff0: 2b05 cmp r3, #5 + 8004ff2: d10f bne.n 8005014 { if(TPEN==1) - 8004edc: f44f 6180 mov.w r1, #1024 ; 0x400 - 8004ee0: 484c ldr r0, [pc, #304] ; (8005014 ) - 8004ee2: f7fc ffa1 bl 8001e28 - 8004ee6: 4603 mov r3, r0 - 8004ee8: 2b01 cmp r3, #1 - 8004eea: d107 bne.n 8004efc + 8004ff4: f44f 6180 mov.w r1, #1024 ; 0x400 + 8004ff8: 484c ldr r0, [pc, #304] ; (800512c ) + 8004ffa: f7fc ffa1 bl 8001f40 + 8004ffe: 4603 mov r3, r0 + 8005000: 2b01 cmp r3, #1 + 8005002: d107 bne.n 8005014 { step+=1; - 8004eec: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004ef0: 3301 adds r3, #1 - 8004ef2: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 + 8005004: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8005008: 3301 adds r3, #1 + 800500a: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 r=10; - 8004ef6: 230a movs r3, #10 - 8004ef8: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 + 800500e: 230a movs r3, #10 + 8005010: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 } } if(step==6) - 8004efc: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004f00: 2b06 cmp r3, #6 - 8004f02: d12a bne.n 8004f5a + 8005014: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8005018: 2b06 cmp r3, #6 + 800501a: d12a bne.n 8005072 { TP_DrwaTrage(290,210,r); - 8004f04: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004f08: 461a mov r2, r3 - 8004f0a: 21d2 movs r1, #210 ; 0xd2 - 8004f0c: f44f 7091 mov.w r0, #290 ; 0x122 - 8004f10: f7ff fe4c bl 8004bac + 800501c: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8005020: 461a mov r2, r3 + 8005022: 21d2 movs r1, #210 ; 0xd2 + 8005024: f44f 7091 mov.w r0, #290 ; 0x122 + 8005028: f7ff fe4c bl 8004cc4 if(r==0) - 8004f14: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 - 8004f18: 2b00 cmp r3, #0 - 8004f1a: d11e bne.n 8004f5a + 800502c: f8b7 3084 ldrh.w r3, [r7, #132] ; 0x84 + 8005030: 2b00 cmp r3, #0 + 8005032: d11e bne.n 8005072 { step+=1; - 8004f1c: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004f20: 3301 adds r3, #1 - 8004f22: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 + 8005034: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8005038: 3301 adds r3, #1 + 800503a: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 y4=y_adc; - 8004f26: 887b ldrh r3, [r7, #2] - 8004f28: f8a7 307c strh.w r3, [r7, #124] ; 0x7c + 800503e: 887b ldrh r3, [r7, #2] + 8005040: f8a7 307c strh.w r3, [r7, #124] ; 0x7c x4=x_adc; - 8004f2c: 883b ldrh r3, [r7, #0] - 8004f2e: f8a7 3074 strh.w r3, [r7, #116] ; 0x74 + 8005044: 883b ldrh r3, [r7, #0] + 8005046: f8a7 3074 strh.w r3, [r7, #116] ; 0x74 sprintf(str,"point_4 x:%d y:%d",x4,y4); - 8004f32: f8b7 2074 ldrh.w r2, [r7, #116] ; 0x74 - 8004f36: f8b7 307c ldrh.w r3, [r7, #124] ; 0x7c - 8004f3a: 1d38 adds r0, r7, #4 - 8004f3c: 493b ldr r1, [pc, #236] ; (800502c ) - 8004f3e: f001 fb45 bl 80065cc + 800504a: f8b7 2074 ldrh.w r2, [r7, #116] ; 0x74 + 800504e: f8b7 307c ldrh.w r3, [r7, #124] ; 0x7c + 8005052: 1d38 adds r0, r7, #4 + 8005054: 493b ldr r1, [pc, #236] ; (8005144 ) + 8005056: f002 fa31 bl 80074bc LCD_ShowString(0,66+16+16+16,str,16,RED,RED); - 8004f42: 1d3a adds r2, r7, #4 - 8004f44: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004f48: 9301 str r3, [sp, #4] - 8004f4a: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8004f4e: 9300 str r3, [sp, #0] - 8004f50: 2310 movs r3, #16 - 8004f52: 2172 movs r1, #114 ; 0x72 - 8004f54: 2000 movs r0, #0 - 8004f56: f7ff fae1 bl 800451c + 800505a: 1d3a adds r2, r7, #4 + 800505c: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8005060: 9301 str r3, [sp, #4] + 8005062: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8005066: 9300 str r3, [sp, #0] + 8005068: 2310 movs r3, #16 + 800506a: 2172 movs r1, #114 ; 0x72 + 800506c: 2000 movs r0, #0 + 800506e: f7ff fae1 bl 8004634 } } if(step==7) - 8004f5a: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004f5e: 2b07 cmp r3, #7 - 8004f60: d10f bne.n 8004f82 + 8005072: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 8005076: 2b07 cmp r3, #7 + 8005078: d10f bne.n 800509a { if(TPEN==1) - 8004f62: f44f 6180 mov.w r1, #1024 ; 0x400 - 8004f66: 482b ldr r0, [pc, #172] ; (8005014 ) - 8004f68: f7fc ff5e bl 8001e28 - 8004f6c: 4603 mov r3, r0 - 8004f6e: 2b01 cmp r3, #1 - 8004f70: d107 bne.n 8004f82 + 800507a: f44f 6180 mov.w r1, #1024 ; 0x400 + 800507e: 482b ldr r0, [pc, #172] ; (800512c ) + 8005080: f7fc ff5e bl 8001f40 + 8005084: 4603 mov r3, r0 + 8005086: 2b01 cmp r3, #1 + 8005088: d107 bne.n 800509a { step+=1; - 8004f72: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004f76: 3301 adds r3, #1 - 8004f78: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 + 800508a: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 800508e: 3301 adds r3, #1 + 8005090: f8a7 3086 strh.w r3, [r7, #134] ; 0x86 r=10; - 8004f7c: 230a movs r3, #10 - 8004f7e: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 + 8005094: 230a movs r3, #10 + 8005096: f8a7 3084 strh.w r3, [r7, #132] ; 0x84 } } //当4个点读取完,开始计算关系 if(step==8) - 8004f82: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 - 8004f86: 2b08 cmp r3, #8 - 8004f88: f040 811a bne.w 80051c0 + 800509a: f8b7 3086 ldrh.w r3, [r7, #134] ; 0x86 + 800509e: 2b08 cmp r3, #8 + 80050a0: f040 811a bne.w 80052d8 { //其实只需要两个点就能校准,通过取平均值获得xy的长边和短边 xd=((x1+x3)/2); - 8004f8c: f8b7 207a ldrh.w r2, [r7, #122] ; 0x7a - 8004f90: f8b7 3076 ldrh.w r3, [r7, #118] ; 0x76 - 8004f94: 4413 add r3, r2 - 8004f96: 0fda lsrs r2, r3, #31 - 8004f98: 4413 add r3, r2 - 8004f9a: 105b asrs r3, r3, #1 - 8004f9c: 66bb str r3, [r7, #104] ; 0x68 + 80050a4: f8b7 207a ldrh.w r2, [r7, #122] ; 0x7a + 80050a8: f8b7 3076 ldrh.w r3, [r7, #118] ; 0x76 + 80050ac: 4413 add r3, r2 + 80050ae: 0fda lsrs r2, r3, #31 + 80050b0: 4413 add r3, r2 + 80050b2: 105b asrs r3, r3, #1 + 80050b4: 66bb str r3, [r7, #104] ; 0x68 xl=((x2+x4)/2); - 8004f9e: f8b7 2078 ldrh.w r2, [r7, #120] ; 0x78 - 8004fa2: f8b7 3074 ldrh.w r3, [r7, #116] ; 0x74 - 8004fa6: 4413 add r3, r2 - 8004fa8: 0fda lsrs r2, r3, #31 - 8004faa: 4413 add r3, r2 - 8004fac: 105b asrs r3, r3, #1 - 8004fae: 667b str r3, [r7, #100] ; 0x64 + 80050b6: f8b7 2078 ldrh.w r2, [r7, #120] ; 0x78 + 80050ba: f8b7 3074 ldrh.w r3, [r7, #116] ; 0x74 + 80050be: 4413 add r3, r2 + 80050c0: 0fda lsrs r2, r3, #31 + 80050c2: 4413 add r3, r2 + 80050c4: 105b asrs r3, r3, #1 + 80050c6: 667b str r3, [r7, #100] ; 0x64 yd=((y1+y2)/2); - 8004fb0: f8b7 2082 ldrh.w r2, [r7, #130] ; 0x82 - 8004fb4: f8b7 3080 ldrh.w r3, [r7, #128] ; 0x80 - 8004fb8: 4413 add r3, r2 - 8004fba: 0fda lsrs r2, r3, #31 - 8004fbc: 4413 add r3, r2 - 8004fbe: 105b asrs r3, r3, #1 - 8004fc0: 663b str r3, [r7, #96] ; 0x60 + 80050c8: f8b7 2082 ldrh.w r2, [r7, #130] ; 0x82 + 80050cc: f8b7 3080 ldrh.w r3, [r7, #128] ; 0x80 + 80050d0: 4413 add r3, r2 + 80050d2: 0fda lsrs r2, r3, #31 + 80050d4: 4413 add r3, r2 + 80050d6: 105b asrs r3, r3, #1 + 80050d8: 663b str r3, [r7, #96] ; 0x60 yl=((y3+y4)/2); - 8004fc2: f8b7 207e ldrh.w r2, [r7, #126] ; 0x7e - 8004fc6: f8b7 307c ldrh.w r3, [r7, #124] ; 0x7c - 8004fca: 4413 add r3, r2 - 8004fcc: 0fda lsrs r2, r3, #31 - 8004fce: 4413 add r3, r2 - 8004fd0: 105b asrs r3, r3, #1 - 8004fd2: 65fb str r3, [r7, #92] ; 0x5c + 80050da: f8b7 207e ldrh.w r2, [r7, #126] ; 0x7e + 80050de: f8b7 307c ldrh.w r3, [r7, #124] ; 0x7c + 80050e2: 4413 add r3, r2 + 80050e4: 0fda lsrs r2, r3, #31 + 80050e6: 4413 add r3, r2 + 80050e8: 105b asrs r3, r3, #1 + 80050ea: 65fb str r3, [r7, #92] ; 0x5c //长边减去短边可以再获得一个点 x5=xl-xd; - 8004fd4: 6e7a ldr r2, [r7, #100] ; 0x64 - 8004fd6: 6ebb ldr r3, [r7, #104] ; 0x68 - 8004fd8: 1ad3 subs r3, r2, r3 - 8004fda: 65bb str r3, [r7, #88] ; 0x58 + 80050ec: 6e7a ldr r2, [r7, #100] ; 0x64 + 80050ee: 6ebb ldr r3, [r7, #104] ; 0x68 + 80050f0: 1ad3 subs r3, r2, r3 + 80050f2: 65bb str r3, [r7, #88] ; 0x58 y5=yl-yd; - 8004fdc: 6dfa ldr r2, [r7, #92] ; 0x5c - 8004fde: 6e3b ldr r3, [r7, #96] ; 0x60 - 8004fe0: 1ad3 subs r3, r2, r3 - 8004fe2: 657b str r3, [r7, #84] ; 0x54 + 80050f4: 6dfa ldr r2, [r7, #92] ; 0x5c + 80050f6: 6e3b ldr r3, [r7, #96] ; 0x60 + 80050f8: 1ad3 subs r3, r2, r3 + 80050fa: 657b str r3, [r7, #84] ; 0x54 //这个点如果是负数,肯定有错,可能是xy搞反了 if(x5<0||y5<0) - 8004fe4: 6dbb ldr r3, [r7, #88] ; 0x58 - 8004fe6: 2b00 cmp r3, #0 - 8004fe8: db02 blt.n 8004ff0 - 8004fea: 6d7b ldr r3, [r7, #84] ; 0x54 - 8004fec: 2b00 cmp r3, #0 - 8004fee: da21 bge.n 8005034 + 80050fc: 6dbb ldr r3, [r7, #88] ; 0x58 + 80050fe: 2b00 cmp r3, #0 + 8005100: db02 blt.n 8005108 + 8005102: 6d7b ldr r3, [r7, #84] ; 0x54 + 8005104: 2b00 cmp r3, #0 + 8005106: da21 bge.n 800514c { //显示error sprintf(str,"ERROR"); - 8004ff0: 1d3b adds r3, r7, #4 - 8004ff2: 490f ldr r1, [pc, #60] ; (8005030 ) - 8004ff4: 4618 mov r0, r3 - 8004ff6: f001 fae9 bl 80065cc + 8005108: 1d3b adds r3, r7, #4 + 800510a: 490f ldr r1, [pc, #60] ; (8005148 ) + 800510c: 4618 mov r0, r3 + 800510e: f002 f9d5 bl 80074bc LCD_ShowString(0,66+16+16+16+16,str,16,RED, GRAY); - 8004ffa: 1d3a adds r2, r7, #4 - 8004ffc: f248 4330 movw r3, #33840 ; 0x8430 - 8005000: 9301 str r3, [sp, #4] - 8005002: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8005006: 9300 str r3, [sp, #0] - 8005008: 2310 movs r3, #16 - 800500a: 2182 movs r1, #130 ; 0x82 - 800500c: 2000 movs r0, #0 - 800500e: f7ff fa85 bl 800451c + 8005112: 1d3a adds r2, r7, #4 + 8005114: f248 4330 movw r3, #33840 ; 0x8430 + 8005118: 9301 str r3, [sp, #4] + 800511a: f44f 4378 mov.w r3, #63488 ; 0xf800 + 800511e: 9300 str r3, [sp, #0] + 8005120: 2310 movs r3, #16 + 8005122: 2182 movs r1, #130 ; 0x82 + 8005124: 2000 movs r0, #0 + 8005126: f7ff fa85 bl 8004634 { - 8005012: e0cb b.n 80051ac - 8005014: 40011c00 .word 0x40011c00 - 8005018: 08008904 .word 0x08008904 - 800501c: 08008910 .word 0x08008910 - 8005020: 0800891c .word 0x0800891c - 8005024: 08008930 .word 0x08008930 - 8005028: 08008944 .word 0x08008944 - 800502c: 08008958 .word 0x08008958 - 8005030: 0800896c .word 0x0800896c + 800512a: e0cb b.n 80052c4 + 800512c: 40011c00 .word 0x40011c00 + 8005130: 080098dc .word 0x080098dc + 8005134: 080098e8 .word 0x080098e8 + 8005138: 080098f4 .word 0x080098f4 + 800513c: 08009908 .word 0x08009908 + 8005140: 0800991c .word 0x0800991c + 8005144: 08009930 .word 0x08009930 + 8005148: 08009944 .word 0x08009944 }else { //计算关系倍率 //ad的长边减去短边再除去实际屏幕像素的长边减短边(260=320-30-30,180=240-30-30) acc_x=x5/260.0; - 8005034: 6db8 ldr r0, [r7, #88] ; 0x58 - 8005036: f7fb fa51 bl 80004dc <__aeabi_i2d> - 800503a: f04f 0200 mov.w r2, #0 - 800503e: 4b66 ldr r3, [pc, #408] ; (80051d8 ) - 8005040: f7fb fbe0 bl 8000804 <__aeabi_ddiv> - 8005044: 4602 mov r2, r0 - 8005046: 460b mov r3, r1 - 8005048: 4610 mov r0, r2 - 800504a: 4619 mov r1, r3 - 800504c: f7fb fd88 bl 8000b60 <__aeabi_d2f> - 8005050: 4603 mov r3, r0 - 8005052: 653b str r3, [r7, #80] ; 0x50 + 800514c: 6db8 ldr r0, [r7, #88] ; 0x58 + 800514e: f7fb f9c5 bl 80004dc <__aeabi_i2d> + 8005152: f04f 0200 mov.w r2, #0 + 8005156: 4b66 ldr r3, [pc, #408] ; (80052f0 ) + 8005158: f7fb fb54 bl 8000804 <__aeabi_ddiv> + 800515c: 4602 mov r2, r0 + 800515e: 460b mov r3, r1 + 8005160: 4610 mov r0, r2 + 8005162: 4619 mov r1, r3 + 8005164: f7fb fcfc bl 8000b60 <__aeabi_d2f> + 8005168: 4603 mov r3, r0 + 800516a: 653b str r3, [r7, #80] ; 0x50 acc_y=y5/180.0; - 8005054: 6d78 ldr r0, [r7, #84] ; 0x54 - 8005056: f7fb fa41 bl 80004dc <__aeabi_i2d> - 800505a: f04f 0200 mov.w r2, #0 - 800505e: 4b5f ldr r3, [pc, #380] ; (80051dc ) - 8005060: f7fb fbd0 bl 8000804 <__aeabi_ddiv> - 8005064: 4602 mov r2, r0 - 8005066: 460b mov r3, r1 - 8005068: 4610 mov r0, r2 - 800506a: 4619 mov r1, r3 - 800506c: f7fb fd78 bl 8000b60 <__aeabi_d2f> - 8005070: 4603 mov r3, r0 - 8005072: 64fb str r3, [r7, #76] ; 0x4c + 800516c: 6d78 ldr r0, [r7, #84] ; 0x54 + 800516e: f7fb f9b5 bl 80004dc <__aeabi_i2d> + 8005172: f04f 0200 mov.w r2, #0 + 8005176: 4b5f ldr r3, [pc, #380] ; (80052f4 ) + 8005178: f7fb fb44 bl 8000804 <__aeabi_ddiv> + 800517c: 4602 mov r2, r0 + 800517e: 460b mov r3, r1 + 8005180: 4610 mov r0, r2 + 8005182: 4619 mov r1, r3 + 8005184: f7fb fcec bl 8000b60 <__aeabi_d2f> + 8005188: 4603 mov r3, r0 + 800518a: 64fb str r3, [r7, #76] ; 0x4c //验证倍率,将实际值减去验证值就等于误差值,因为有两个点,所以计算了两个误差后求了平均值 offset_x=(((xd/acc_x)-30)+((xl/acc_x)-290))/2; - 8005074: 6eb8 ldr r0, [r7, #104] ; 0x68 - 8005076: f7fb fe7d bl 8000d74 <__aeabi_i2f> - 800507a: 4603 mov r3, r0 - 800507c: 6d39 ldr r1, [r7, #80] ; 0x50 - 800507e: 4618 mov r0, r3 - 8005080: f7fb ff80 bl 8000f84 <__aeabi_fdiv> - 8005084: 4603 mov r3, r0 - 8005086: 4956 ldr r1, [pc, #344] ; (80051e0 ) - 8005088: 4618 mov r0, r3 - 800508a: f7fb fdbd bl 8000c08 <__aeabi_fsub> - 800508e: 4603 mov r3, r0 - 8005090: 461c mov r4, r3 - 8005092: 6e78 ldr r0, [r7, #100] ; 0x64 - 8005094: f7fb fe6e bl 8000d74 <__aeabi_i2f> - 8005098: 4603 mov r3, r0 - 800509a: 6d39 ldr r1, [r7, #80] ; 0x50 - 800509c: 4618 mov r0, r3 - 800509e: f7fb ff71 bl 8000f84 <__aeabi_fdiv> - 80050a2: 4603 mov r3, r0 - 80050a4: 494f ldr r1, [pc, #316] ; (80051e4 ) - 80050a6: 4618 mov r0, r3 - 80050a8: f7fb fdae bl 8000c08 <__aeabi_fsub> - 80050ac: 4603 mov r3, r0 - 80050ae: 4619 mov r1, r3 - 80050b0: 4620 mov r0, r4 - 80050b2: f7fb fdab bl 8000c0c <__addsf3> - 80050b6: 4603 mov r3, r0 - 80050b8: f04f 4180 mov.w r1, #1073741824 ; 0x40000000 - 80050bc: 4618 mov r0, r3 - 80050be: f7fb ff61 bl 8000f84 <__aeabi_fdiv> - 80050c2: 4603 mov r3, r0 - 80050c4: 4618 mov r0, r3 - 80050c6: f7fb fff9 bl 80010bc <__aeabi_f2iz> - 80050ca: 4603 mov r3, r0 - 80050cc: 64bb str r3, [r7, #72] ; 0x48 + 800518c: 6eb8 ldr r0, [r7, #104] ; 0x68 + 800518e: f7fb fdf1 bl 8000d74 <__aeabi_i2f> + 8005192: 4603 mov r3, r0 + 8005194: 6d39 ldr r1, [r7, #80] ; 0x50 + 8005196: 4618 mov r0, r3 + 8005198: f7fb fef4 bl 8000f84 <__aeabi_fdiv> + 800519c: 4603 mov r3, r0 + 800519e: 4956 ldr r1, [pc, #344] ; (80052f8 ) + 80051a0: 4618 mov r0, r3 + 80051a2: f7fb fd31 bl 8000c08 <__aeabi_fsub> + 80051a6: 4603 mov r3, r0 + 80051a8: 461c mov r4, r3 + 80051aa: 6e78 ldr r0, [r7, #100] ; 0x64 + 80051ac: f7fb fde2 bl 8000d74 <__aeabi_i2f> + 80051b0: 4603 mov r3, r0 + 80051b2: 6d39 ldr r1, [r7, #80] ; 0x50 + 80051b4: 4618 mov r0, r3 + 80051b6: f7fb fee5 bl 8000f84 <__aeabi_fdiv> + 80051ba: 4603 mov r3, r0 + 80051bc: 494f ldr r1, [pc, #316] ; (80052fc ) + 80051be: 4618 mov r0, r3 + 80051c0: f7fb fd22 bl 8000c08 <__aeabi_fsub> + 80051c4: 4603 mov r3, r0 + 80051c6: 4619 mov r1, r3 + 80051c8: 4620 mov r0, r4 + 80051ca: f7fb fd1f bl 8000c0c <__addsf3> + 80051ce: 4603 mov r3, r0 + 80051d0: f04f 4180 mov.w r1, #1073741824 ; 0x40000000 + 80051d4: 4618 mov r0, r3 + 80051d6: f7fb fed5 bl 8000f84 <__aeabi_fdiv> + 80051da: 4603 mov r3, r0 + 80051dc: 4618 mov r0, r3 + 80051de: f7fb fff9 bl 80011d4 <__aeabi_f2iz> + 80051e2: 4603 mov r3, r0 + 80051e4: 64bb str r3, [r7, #72] ; 0x48 offset_y=(((yd/acc_y)-30)+((yl/acc_y)-210))/2; - 80050ce: 6e38 ldr r0, [r7, #96] ; 0x60 - 80050d0: f7fb fe50 bl 8000d74 <__aeabi_i2f> - 80050d4: 4603 mov r3, r0 - 80050d6: 6cf9 ldr r1, [r7, #76] ; 0x4c - 80050d8: 4618 mov r0, r3 - 80050da: f7fb ff53 bl 8000f84 <__aeabi_fdiv> - 80050de: 4603 mov r3, r0 - 80050e0: 493f ldr r1, [pc, #252] ; (80051e0 ) - 80050e2: 4618 mov r0, r3 - 80050e4: f7fb fd90 bl 8000c08 <__aeabi_fsub> - 80050e8: 4603 mov r3, r0 - 80050ea: 461c mov r4, r3 - 80050ec: 6df8 ldr r0, [r7, #92] ; 0x5c - 80050ee: f7fb fe41 bl 8000d74 <__aeabi_i2f> - 80050f2: 4603 mov r3, r0 - 80050f4: 6cf9 ldr r1, [r7, #76] ; 0x4c - 80050f6: 4618 mov r0, r3 - 80050f8: f7fb ff44 bl 8000f84 <__aeabi_fdiv> - 80050fc: 4603 mov r3, r0 - 80050fe: 493a ldr r1, [pc, #232] ; (80051e8 ) - 8005100: 4618 mov r0, r3 - 8005102: f7fb fd81 bl 8000c08 <__aeabi_fsub> - 8005106: 4603 mov r3, r0 - 8005108: 4619 mov r1, r3 - 800510a: 4620 mov r0, r4 - 800510c: f7fb fd7e bl 8000c0c <__addsf3> - 8005110: 4603 mov r3, r0 - 8005112: f04f 4180 mov.w r1, #1073741824 ; 0x40000000 - 8005116: 4618 mov r0, r3 - 8005118: f7fb ff34 bl 8000f84 <__aeabi_fdiv> - 800511c: 4603 mov r3, r0 - 800511e: 4618 mov r0, r3 - 8005120: f7fb ffcc bl 80010bc <__aeabi_f2iz> - 8005124: 4603 mov r3, r0 - 8005126: 647b str r3, [r7, #68] ; 0x44 + 80051e6: 6e38 ldr r0, [r7, #96] ; 0x60 + 80051e8: f7fb fdc4 bl 8000d74 <__aeabi_i2f> + 80051ec: 4603 mov r3, r0 + 80051ee: 6cf9 ldr r1, [r7, #76] ; 0x4c + 80051f0: 4618 mov r0, r3 + 80051f2: f7fb fec7 bl 8000f84 <__aeabi_fdiv> + 80051f6: 4603 mov r3, r0 + 80051f8: 493f ldr r1, [pc, #252] ; (80052f8 ) + 80051fa: 4618 mov r0, r3 + 80051fc: f7fb fd04 bl 8000c08 <__aeabi_fsub> + 8005200: 4603 mov r3, r0 + 8005202: 461c mov r4, r3 + 8005204: 6df8 ldr r0, [r7, #92] ; 0x5c + 8005206: f7fb fdb5 bl 8000d74 <__aeabi_i2f> + 800520a: 4603 mov r3, r0 + 800520c: 6cf9 ldr r1, [r7, #76] ; 0x4c + 800520e: 4618 mov r0, r3 + 8005210: f7fb feb8 bl 8000f84 <__aeabi_fdiv> + 8005214: 4603 mov r3, r0 + 8005216: 493a ldr r1, [pc, #232] ; (8005300 ) + 8005218: 4618 mov r0, r3 + 800521a: f7fb fcf5 bl 8000c08 <__aeabi_fsub> + 800521e: 4603 mov r3, r0 + 8005220: 4619 mov r1, r3 + 8005222: 4620 mov r0, r4 + 8005224: f7fb fcf2 bl 8000c0c <__addsf3> + 8005228: 4603 mov r3, r0 + 800522a: f04f 4180 mov.w r1, #1073741824 ; 0x40000000 + 800522e: 4618 mov r0, r3 + 8005230: f7fb fea8 bl 8000f84 <__aeabi_fdiv> + 8005234: 4603 mov r3, r0 + 8005236: 4618 mov r0, r3 + 8005238: f7fb ffcc bl 80011d4 <__aeabi_f2iz> + 800523c: 4603 mov r3, r0 + 800523e: 647b str r3, [r7, #68] ; 0x44 //保存计算结果 tconfig.x_acc=acc_x; - 8005128: 4a30 ldr r2, [pc, #192] ; (80051ec ) - 800512a: 6d3b ldr r3, [r7, #80] ; 0x50 - 800512c: 6053 str r3, [r2, #4] + 8005240: 4a30 ldr r2, [pc, #192] ; (8005304 ) + 8005242: 6d3b ldr r3, [r7, #80] ; 0x50 + 8005244: 6053 str r3, [r2, #4] tconfig.x_offset=offset_x; - 800512e: 4a2f ldr r2, [pc, #188] ; (80051ec ) - 8005130: 6cbb ldr r3, [r7, #72] ; 0x48 - 8005132: 60d3 str r3, [r2, #12] + 8005246: 4a2f ldr r2, [pc, #188] ; (8005304 ) + 8005248: 6cbb ldr r3, [r7, #72] ; 0x48 + 800524a: 60d3 str r3, [r2, #12] tconfig.y_acc=acc_y; - 8005134: 4a2d ldr r2, [pc, #180] ; (80051ec ) - 8005136: 6cfb ldr r3, [r7, #76] ; 0x4c - 8005138: 6093 str r3, [r2, #8] + 800524c: 4a2d ldr r2, [pc, #180] ; (8005304 ) + 800524e: 6cfb ldr r3, [r7, #76] ; 0x4c + 8005250: 6093 str r3, [r2, #8] tconfig.y_offset=offset_y; - 800513a: 4a2c ldr r2, [pc, #176] ; (80051ec ) - 800513c: 6c7b ldr r3, [r7, #68] ; 0x44 - 800513e: 6113 str r3, [r2, #16] + 8005252: 4a2c ldr r2, [pc, #176] ; (8005304 ) + 8005254: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005256: 6113 str r3, [r2, #16] //eeprom块标记 tconfig.begin=0xab; - 8005140: 4b2a ldr r3, [pc, #168] ; (80051ec ) - 8005142: 22ab movs r2, #171 ; 0xab - 8005144: 701a strb r2, [r3, #0] + 8005258: 4b2a ldr r3, [pc, #168] ; (8005304 ) + 800525a: 22ab movs r2, #171 ; 0xab + 800525c: 701a strb r2, [r3, #0] tconfig.end=0xcd; - 8005146: 4b29 ldr r3, [pc, #164] ; (80051ec ) - 8005148: 22cd movs r2, #205 ; 0xcd - 800514a: 751a strb r2, [r3, #20] + 800525e: 4b29 ldr r3, [pc, #164] ; (8005304 ) + 8005260: 22cd movs r2, #205 ; 0xcd + 8005262: 751a strb r2, [r3, #20] //显示计算结果 sprintf(str,"x_acc=%f y_acc=%f",acc_x,acc_y); - 800514c: 6d38 ldr r0, [r7, #80] ; 0x50 - 800514e: f7fb f9d7 bl 8000500 <__aeabi_f2d> - 8005152: 4604 mov r4, r0 - 8005154: 460d mov r5, r1 - 8005156: 6cf8 ldr r0, [r7, #76] ; 0x4c - 8005158: f7fb f9d2 bl 8000500 <__aeabi_f2d> - 800515c: 4602 mov r2, r0 - 800515e: 460b mov r3, r1 - 8005160: 1d38 adds r0, r7, #4 - 8005162: e9cd 2300 strd r2, r3, [sp] - 8005166: 4622 mov r2, r4 - 8005168: 462b mov r3, r5 - 800516a: 4921 ldr r1, [pc, #132] ; (80051f0 ) - 800516c: f001 fa2e bl 80065cc + 8005264: 6d38 ldr r0, [r7, #80] ; 0x50 + 8005266: f7fb f94b bl 8000500 <__aeabi_f2d> + 800526a: 4604 mov r4, r0 + 800526c: 460d mov r5, r1 + 800526e: 6cf8 ldr r0, [r7, #76] ; 0x4c + 8005270: f7fb f946 bl 8000500 <__aeabi_f2d> + 8005274: 4602 mov r2, r0 + 8005276: 460b mov r3, r1 + 8005278: 1d38 adds r0, r7, #4 + 800527a: e9cd 2300 strd r2, r3, [sp] + 800527e: 4622 mov r2, r4 + 8005280: 462b mov r3, r5 + 8005282: 4921 ldr r1, [pc, #132] ; (8005308 ) + 8005284: f002 f91a bl 80074bc LCD_ShowString(0,66+16+16+16+16,str,16,RED,RED); - 8005170: 1d3a adds r2, r7, #4 - 8005172: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8005176: 9301 str r3, [sp, #4] - 8005178: f44f 4378 mov.w r3, #63488 ; 0xf800 - 800517c: 9300 str r3, [sp, #0] - 800517e: 2310 movs r3, #16 - 8005180: 2182 movs r1, #130 ; 0x82 - 8005182: 2000 movs r0, #0 - 8005184: f7ff f9ca bl 800451c + 8005288: 1d3a adds r2, r7, #4 + 800528a: f44f 4378 mov.w r3, #63488 ; 0xf800 + 800528e: 9301 str r3, [sp, #4] + 8005290: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8005294: 9300 str r3, [sp, #0] + 8005296: 2310 movs r3, #16 + 8005298: 2182 movs r1, #130 ; 0x82 + 800529a: 2000 movs r0, #0 + 800529c: f7ff f9ca bl 8004634 sprintf(str,"x_offset=%d y_offset=%d",offset_x,offset_y); - 8005188: 1d38 adds r0, r7, #4 - 800518a: 6c7b ldr r3, [r7, #68] ; 0x44 - 800518c: 6cba ldr r2, [r7, #72] ; 0x48 - 800518e: 4919 ldr r1, [pc, #100] ; (80051f4 ) - 8005190: f001 fa1c bl 80065cc + 80052a0: 1d38 adds r0, r7, #4 + 80052a2: 6c7b ldr r3, [r7, #68] ; 0x44 + 80052a4: 6cba ldr r2, [r7, #72] ; 0x48 + 80052a6: 4919 ldr r1, [pc, #100] ; (800530c ) + 80052a8: f002 f908 bl 80074bc LCD_ShowString(0,66+16+16+16+16+16,str,16,RED,RED); - 8005194: 1d3a adds r2, r7, #4 - 8005196: f44f 4378 mov.w r3, #63488 ; 0xf800 - 800519a: 9301 str r3, [sp, #4] - 800519c: f44f 4378 mov.w r3, #63488 ; 0xf800 - 80051a0: 9300 str r3, [sp, #0] - 80051a2: 2310 movs r3, #16 - 80051a4: 2192 movs r1, #146 ; 0x92 - 80051a6: 2000 movs r0, #0 - 80051a8: f7ff f9b8 bl 800451c + 80052ac: 1d3a adds r2, r7, #4 + 80052ae: f44f 4378 mov.w r3, #63488 ; 0xf800 + 80052b2: 9301 str r3, [sp, #4] + 80052b4: f44f 4378 mov.w r3, #63488 ; 0xf800 + 80052b8: 9300 str r3, [sp, #0] + 80052ba: 2310 movs r3, #16 + 80052bc: 2192 movs r1, #146 ; 0x92 + 80052be: 2000 movs r0, #0 + 80052c0: f7ff f9b8 bl 8004634 } //将结果保存起来 EEPROM_WRITE_BATY(16,(char *)&tconfig,sizeof(touch_config)); - 80051ac: 2218 movs r2, #24 - 80051ae: 490f ldr r1, [pc, #60] ; (80051ec ) - 80051b0: 2010 movs r0, #16 - 80051b2: f7ff fa63 bl 800467c + 80052c4: 2218 movs r2, #24 + 80052c6: 490f ldr r1, [pc, #60] ; (8005304 ) + 80052c8: 2010 movs r0, #16 + 80052ca: f7ff fa63 bl 8004794 HAL_Delay(1000); - 80051b6: f44f 707a mov.w r0, #1000 ; 0x3e8 - 80051ba: f7fc fb99 bl 80018f0 + 80052ce: f44f 707a mov.w r0, #1000 ; 0x3e8 + 80052d2: f7fc fb99 bl 8001a08 return; - 80051be: e008 b.n 80051d2 + 80052d6: e008 b.n 80052ea while(HAL_GetTick() - 80051c4: 4602 mov r2, r0 - 80051c6: 6f3b ldr r3, [r7, #112] ; 0x70 - 80051c8: 4293 cmp r3, r2 - 80051ca: f63f ad81 bhi.w 8004cd0 - 80051ce: e000 b.n 80051d2 + 80052d8: f7fc fb8c bl 80019f4 + 80052dc: 4602 mov r2, r0 + 80052de: 6f3b ldr r3, [r7, #112] ; 0x70 + 80052e0: 4293 cmp r3, r2 + 80052e2: f63f ad81 bhi.w 8004de8 + 80052e6: e000 b.n 80052ea return; //已经校准过了 - 80051d0: bf00 nop + 80052e8: bf00 nop } } } - 80051d2: 3788 adds r7, #136 ; 0x88 - 80051d4: 46bd mov sp, r7 - 80051d6: bdb0 pop {r4, r5, r7, pc} - 80051d8: 40704000 .word 0x40704000 - 80051dc: 40668000 .word 0x40668000 - 80051e0: 41f00000 .word 0x41f00000 - 80051e4: 43910000 .word 0x43910000 - 80051e8: 43520000 .word 0x43520000 - 80051ec: 200002c8 .word 0x200002c8 - 80051f0: 08008974 .word 0x08008974 - 80051f4: 08008988 .word 0x08008988 + 80052ea: 3788 adds r7, #136 ; 0x88 + 80052ec: 46bd mov sp, r7 + 80052ee: bdb0 pop {r4, r5, r7, pc} + 80052f0: 40704000 .word 0x40704000 + 80052f4: 40668000 .word 0x40668000 + 80052f8: 41f00000 .word 0x41f00000 + 80052fc: 43910000 .word 0x43910000 + 8005300: 43520000 .word 0x43520000 + 8005304: 200002d8 .word 0x200002d8 + 8005308: 0800994c .word 0x0800994c + 800530c: 08009960 .word 0x08009960 -080051f8 : -window *blood_win; -uint16_t fifo_red; +08005310 : uint16_t fifo_ir; char blood_str[64]; +uint16_t g_fft_index = 0; //fft输入输出下标 + uint8_t Max30102_reset(void) { - 80051f8: b580 push {r7, lr} - 80051fa: b082 sub sp, #8 - 80051fc: af00 add r7, sp, #0 + 8005310: b580 push {r7, lr} + 8005312: b082 sub sp, #8 + 8005314: af00 add r7, sp, #0 char a=0x40; - 80051fe: 2340 movs r3, #64 ; 0x40 - 8005200: 71fb strb r3, [r7, #7] + 8005316: 2340 movs r3, #64 ; 0x40 + 8005318: 71fb strb r3, [r7, #7] IIC_SAND_DATE(MAX30102_Device_address,REG_MODE_CONFIG, &a,1); - 8005202: 1dfa adds r2, r7, #7 - 8005204: 2301 movs r3, #1 - 8005206: 2109 movs r1, #9 - 8005208: 20ae movs r0, #174 ; 0xae - 800520a: f7ff fa7d bl 8004708 + 800531a: 1dfa adds r2, r7, #7 + 800531c: 2301 movs r3, #1 + 800531e: 2109 movs r1, #9 + 8005320: 20ae movs r0, #174 ; 0xae + 8005322: f7ff fa7d bl 8004820 } - 800520e: bf00 nop - 8005210: 4618 mov r0, r3 - 8005212: 3708 adds r7, #8 - 8005214: 46bd mov sp, r7 - 8005216: bd80 pop {r7, pc} + 8005326: bf00 nop + 8005328: 4618 mov r0, r3 + 800532a: 3708 adds r7, #8 + 800532c: 46bd mov sp, r7 + 800532e: bd80 pop {r7, pc} -08005218 : +08005330 : void MAX30102_Config(void) { - 8005218: b580 push {r7, lr} - 800521a: b082 sub sp, #8 - 800521c: af00 add r7, sp, #0 + 8005330: b580 push {r7, lr} + 8005332: b082 sub sp, #8 + 8005334: af00 add r7, sp, #0 char a; a=0xc0; - 800521e: 23c0 movs r3, #192 ; 0xc0 - 8005220: 71fb strb r3, [r7, #7] + 8005336: 23c0 movs r3, #192 ; 0xc0 + 8005338: 71fb strb r3, [r7, #7] IIC_SAND_DATE(MAX30102_Device_address,REG_INTR_ENABLE_1,&a,1);//// INTR setting - 8005222: 1dfa adds r2, r7, #7 - 8005224: 2301 movs r3, #1 - 8005226: 2102 movs r1, #2 - 8005228: 20ae movs r0, #174 ; 0xae - 800522a: f7ff fa6d bl 8004708 + 800533a: 1dfa adds r2, r7, #7 + 800533c: 2301 movs r3, #1 + 800533e: 2102 movs r1, #2 + 8005340: 20ae movs r0, #174 ; 0xae + 8005342: f7ff fa6d bl 8004820 a=0; - 800522e: 2300 movs r3, #0 - 8005230: 71fb strb r3, [r7, #7] + 8005346: 2300 movs r3, #0 + 8005348: 71fb strb r3, [r7, #7] IIC_SAND_DATE(MAX30102_Device_address,REG_INTR_ENABLE_2,&a,1);// - 8005232: 1dfa adds r2, r7, #7 - 8005234: 2301 movs r3, #1 - 8005236: 2103 movs r1, #3 - 8005238: 20ae movs r0, #174 ; 0xae - 800523a: f7ff fa65 bl 8004708 + 800534a: 1dfa adds r2, r7, #7 + 800534c: 2301 movs r3, #1 + 800534e: 2103 movs r1, #3 + 8005350: 20ae movs r0, #174 ; 0xae + 8005352: f7ff fa65 bl 8004820 IIC_SAND_DATE(MAX30102_Device_address,REG_FIFO_WR_PTR,&a,1);//FIFO_WR_PTR[4:0] - 800523e: 1dfa adds r2, r7, #7 - 8005240: 2301 movs r3, #1 - 8005242: 2104 movs r1, #4 - 8005244: 20ae movs r0, #174 ; 0xae - 8005246: f7ff fa5f bl 8004708 + 8005356: 1dfa adds r2, r7, #7 + 8005358: 2301 movs r3, #1 + 800535a: 2104 movs r1, #4 + 800535c: 20ae movs r0, #174 ; 0xae + 800535e: f7ff fa5f bl 8004820 IIC_SAND_DATE(MAX30102_Device_address,REG_OVF_COUNTER,&a,1);//OVF_COUNTER[4:0] - 800524a: 1dfa adds r2, r7, #7 - 800524c: 2301 movs r3, #1 - 800524e: 2105 movs r1, #5 - 8005250: 20ae movs r0, #174 ; 0xae - 8005252: f7ff fa59 bl 8004708 + 8005362: 1dfa adds r2, r7, #7 + 8005364: 2301 movs r3, #1 + 8005366: 2105 movs r1, #5 + 8005368: 20ae movs r0, #174 ; 0xae + 800536a: f7ff fa59 bl 8004820 IIC_SAND_DATE(MAX30102_Device_address,REG_FIFO_RD_PTR,&a,1);//FIFO_RD_PTR[4:0] - 8005256: 1dfa adds r2, r7, #7 - 8005258: 2301 movs r3, #1 - 800525a: 2106 movs r1, #6 - 800525c: 20ae movs r0, #174 ; 0xae - 800525e: f7ff fa53 bl 8004708 + 800536e: 1dfa adds r2, r7, #7 + 8005370: 2301 movs r3, #1 + 8005372: 2106 movs r1, #6 + 8005374: 20ae movs r0, #174 ; 0xae + 8005376: f7ff fa53 bl 8004820 a=0x0f; - 8005262: 230f movs r3, #15 - 8005264: 71fb strb r3, [r7, #7] + 800537a: 230f movs r3, #15 + 800537c: 71fb strb r3, [r7, #7] IIC_SAND_DATE(MAX30102_Device_address,REG_FIFO_CONFIG,&a,1);//sample avg = 1, fifo rollover=false, fifo almost full = 17 - 8005266: 1dfa adds r2, r7, #7 - 8005268: 2301 movs r3, #1 - 800526a: 2108 movs r1, #8 - 800526c: 20ae movs r0, #174 ; 0xae - 800526e: f7ff fa4b bl 8004708 + 800537e: 1dfa adds r2, r7, #7 + 8005380: 2301 movs r3, #1 + 8005382: 2108 movs r1, #8 + 8005384: 20ae movs r0, #174 ; 0xae + 8005386: f7ff fa4b bl 8004820 a=0x03; - 8005272: 2303 movs r3, #3 - 8005274: 71fb strb r3, [r7, #7] + 800538a: 2303 movs r3, #3 + 800538c: 71fb strb r3, [r7, #7] IIC_SAND_DATE(MAX30102_Device_address,REG_MODE_CONFIG,&a,1);//0x02 for Red only, 0x03 for SpO2 mode 0x07 multimode LED - 8005276: 1dfa adds r2, r7, #7 - 8005278: 2301 movs r3, #1 - 800527a: 2109 movs r1, #9 - 800527c: 20ae movs r0, #174 ; 0xae - 800527e: f7ff fa43 bl 8004708 + 800538e: 1dfa adds r2, r7, #7 + 8005390: 2301 movs r3, #1 + 8005392: 2109 movs r1, #9 + 8005394: 20ae movs r0, #174 ; 0xae + 8005396: f7ff fa43 bl 8004820 a=0x27; - 8005282: 2327 movs r3, #39 ; 0x27 - 8005284: 71fb strb r3, [r7, #7] + 800539a: 2327 movs r3, #39 ; 0x27 + 800539c: 71fb strb r3, [r7, #7] IIC_SAND_DATE(MAX30102_Device_address,REG_SPO2_CONFIG,&a,1); // SPO2_ADC range = 4096nA, SPO2 sample rate (50 Hz), LED pulseWidth (400uS) - 8005286: 1dfa adds r2, r7, #7 - 8005288: 2301 movs r3, #1 - 800528a: 210a movs r1, #10 - 800528c: 20ae movs r0, #174 ; 0xae - 800528e: f7ff fa3b bl 8004708 + 800539e: 1dfa adds r2, r7, #7 + 80053a0: 2301 movs r3, #1 + 80053a2: 210a movs r1, #10 + 80053a4: 20ae movs r0, #174 ; 0xae + 80053a6: f7ff fa3b bl 8004820 a=0x32; - 8005292: 2332 movs r3, #50 ; 0x32 - 8005294: 71fb strb r3, [r7, #7] + 80053aa: 2332 movs r3, #50 ; 0x32 + 80053ac: 71fb strb r3, [r7, #7] IIC_SAND_DATE(MAX30102_Device_address,REG_LED1_PA,&a,1);//Choose value for ~ 10mA for LED1 - 8005296: 1dfa adds r2, r7, #7 - 8005298: 2301 movs r3, #1 - 800529a: 210c movs r1, #12 - 800529c: 20ae movs r0, #174 ; 0xae - 800529e: f7ff fa33 bl 8004708 + 80053ae: 1dfa adds r2, r7, #7 + 80053b0: 2301 movs r3, #1 + 80053b2: 210c movs r1, #12 + 80053b4: 20ae movs r0, #174 ; 0xae + 80053b6: f7ff fa33 bl 8004820 IIC_SAND_DATE(MAX30102_Device_address,REG_LED2_PA,&a,1);// Choose value for ~ 10mA for LED2 - 80052a2: 1dfa adds r2, r7, #7 - 80052a4: 2301 movs r3, #1 - 80052a6: 210d movs r1, #13 - 80052a8: 20ae movs r0, #174 ; 0xae - 80052aa: f7ff fa2d bl 8004708 + 80053ba: 1dfa adds r2, r7, #7 + 80053bc: 2301 movs r3, #1 + 80053be: 210d movs r1, #13 + 80053c0: 20ae movs r0, #174 ; 0xae + 80053c2: f7ff fa2d bl 8004820 a=0x7f; - 80052ae: 237f movs r3, #127 ; 0x7f - 80052b0: 71fb strb r3, [r7, #7] + 80053c6: 237f movs r3, #127 ; 0x7f + 80053c8: 71fb strb r3, [r7, #7] IIC_SAND_DATE(MAX30102_Device_address,REG_PILOT_PA,&a,1);// Choose value for ~ 25mA for Pilot LED - 80052b2: 1dfa adds r2, r7, #7 - 80052b4: 2301 movs r3, #1 - 80052b6: 2110 movs r1, #16 - 80052b8: 20ae movs r0, #174 ; 0xae - 80052ba: f7ff fa25 bl 8004708 + 80053ca: 1dfa adds r2, r7, #7 + 80053cc: 2301 movs r3, #1 + 80053ce: 2110 movs r1, #16 + 80053d0: 20ae movs r0, #174 ; 0xae + 80053d2: f7ff fa25 bl 8004820 } - 80052be: bf00 nop - 80052c0: 3708 adds r7, #8 - 80052c2: 46bd mov sp, r7 - 80052c4: bd80 pop {r7, pc} + 80053d6: bf00 nop + 80053d8: 3708 adds r7, #8 + 80053da: 46bd mov sp, r7 + 80053dc: bd80 pop {r7, pc} ... -080052c8 : +080053e0 : void max30102_read_fifo(void) { - 80052c8: b580 push {r7, lr} - 80052ca: b082 sub sp, #8 - 80052cc: af00 add r7, sp, #0 + 80053e0: b580 push {r7, lr} + 80053e2: b082 sub sp, #8 + 80053e4: af00 add r7, sp, #0 uint16_t un_temp; fifo_red=0; - 80052ce: 4b3c ldr r3, [pc, #240] ; (80053c0 ) - 80052d0: 2200 movs r2, #0 - 80052d2: 801a strh r2, [r3, #0] + 80053e6: 4b3c ldr r3, [pc, #240] ; (80054d8 ) + 80053e8: 2200 movs r2, #0 + 80053ea: 801a strh r2, [r3, #0] fifo_ir=0; - 80052d4: 4b3b ldr r3, [pc, #236] ; (80053c4 ) - 80052d6: 2200 movs r2, #0 - 80052d8: 801a strh r2, [r3, #0] + 80053ec: 4b3b ldr r3, [pc, #236] ; (80054dc ) + 80053ee: 2200 movs r2, #0 + 80053f0: 801a strh r2, [r3, #0] uint8_t ach_i2c_data[6]; //read and clear status register IIC_READ_DATE(MAX30102_Device_address,REG_INTR_STATUS_1,&ach_i2c_data,1); - 80052da: 463a mov r2, r7 - 80052dc: 2301 movs r3, #1 - 80052de: 2100 movs r1, #0 - 80052e0: 20ae movs r0, #174 ; 0xae - 80052e2: f7ff fa2f bl 8004744 + 80053f2: 463a mov r2, r7 + 80053f4: 2301 movs r3, #1 + 80053f6: 2100 movs r1, #0 + 80053f8: 20ae movs r0, #174 ; 0xae + 80053fa: f7ff fa2f bl 800485c IIC_READ_DATE(MAX30102_Device_address,REG_INTR_STATUS_2,&ach_i2c_data,1); - 80052e6: 463a mov r2, r7 - 80052e8: 2301 movs r3, #1 - 80052ea: 2101 movs r1, #1 - 80052ec: 20ae movs r0, #174 ; 0xae - 80052ee: f7ff fa29 bl 8004744 + 80053fe: 463a mov r2, r7 + 8005400: 2301 movs r3, #1 + 8005402: 2101 movs r1, #1 + 8005404: 20ae movs r0, #174 ; 0xae + 8005406: f7ff fa29 bl 800485c ach_i2c_data[0]=REG_FIFO_DATA; - 80052f2: 2307 movs r3, #7 - 80052f4: 703b strb r3, [r7, #0] + 800540a: 2307 movs r3, #7 + 800540c: 703b strb r3, [r7, #0] IIC_READ_DATE(MAX30102_Device_address,REG_FIFO_DATA,&ach_i2c_data,6); - 80052f6: 463a mov r2, r7 - 80052f8: 2306 movs r3, #6 - 80052fa: 2107 movs r1, #7 - 80052fc: 20ae movs r0, #174 ; 0xae - 80052fe: f7ff fa21 bl 8004744 + 800540e: 463a mov r2, r7 + 8005410: 2306 movs r3, #6 + 8005412: 2107 movs r1, #7 + 8005414: 20ae movs r0, #174 ; 0xae + 8005416: f7ff fa21 bl 800485c un_temp=ach_i2c_data[0]; - 8005302: 783b ldrb r3, [r7, #0] - 8005304: 80fb strh r3, [r7, #6] + 800541a: 783b ldrb r3, [r7, #0] + 800541c: 80fb strh r3, [r7, #6] un_temp<<=14; - 8005306: 88fb ldrh r3, [r7, #6] - 8005308: 039b lsls r3, r3, #14 - 800530a: 80fb strh r3, [r7, #6] + 800541e: 88fb ldrh r3, [r7, #6] + 8005420: 039b lsls r3, r3, #14 + 8005422: 80fb strh r3, [r7, #6] fifo_red+=un_temp; - 800530c: 4b2c ldr r3, [pc, #176] ; (80053c0 ) - 800530e: 881a ldrh r2, [r3, #0] - 8005310: 88fb ldrh r3, [r7, #6] - 8005312: 4413 add r3, r2 - 8005314: b29a uxth r2, r3 - 8005316: 4b2a ldr r3, [pc, #168] ; (80053c0 ) - 8005318: 801a strh r2, [r3, #0] + 8005424: 4b2c ldr r3, [pc, #176] ; (80054d8 ) + 8005426: 881a ldrh r2, [r3, #0] + 8005428: 88fb ldrh r3, [r7, #6] + 800542a: 4413 add r3, r2 + 800542c: b29a uxth r2, r3 + 800542e: 4b2a ldr r3, [pc, #168] ; (80054d8 ) + 8005430: 801a strh r2, [r3, #0] un_temp=ach_i2c_data[1]; - 800531a: 787b ldrb r3, [r7, #1] - 800531c: 80fb strh r3, [r7, #6] + 8005432: 787b ldrb r3, [r7, #1] + 8005434: 80fb strh r3, [r7, #6] un_temp<<=6; - 800531e: 88fb ldrh r3, [r7, #6] - 8005320: 019b lsls r3, r3, #6 - 8005322: 80fb strh r3, [r7, #6] + 8005436: 88fb ldrh r3, [r7, #6] + 8005438: 019b lsls r3, r3, #6 + 800543a: 80fb strh r3, [r7, #6] fifo_red+=un_temp; - 8005324: 4b26 ldr r3, [pc, #152] ; (80053c0 ) - 8005326: 881a ldrh r2, [r3, #0] - 8005328: 88fb ldrh r3, [r7, #6] - 800532a: 4413 add r3, r2 - 800532c: b29a uxth r2, r3 - 800532e: 4b24 ldr r3, [pc, #144] ; (80053c0 ) - 8005330: 801a strh r2, [r3, #0] + 800543c: 4b26 ldr r3, [pc, #152] ; (80054d8 ) + 800543e: 881a ldrh r2, [r3, #0] + 8005440: 88fb ldrh r3, [r7, #6] + 8005442: 4413 add r3, r2 + 8005444: b29a uxth r2, r3 + 8005446: 4b24 ldr r3, [pc, #144] ; (80054d8 ) + 8005448: 801a strh r2, [r3, #0] un_temp=ach_i2c_data[2]; - 8005332: 78bb ldrb r3, [r7, #2] - 8005334: 80fb strh r3, [r7, #6] + 800544a: 78bb ldrb r3, [r7, #2] + 800544c: 80fb strh r3, [r7, #6] un_temp>>=2; - 8005336: 88fb ldrh r3, [r7, #6] - 8005338: 089b lsrs r3, r3, #2 - 800533a: 80fb strh r3, [r7, #6] - fifo_red+=un_temp; - 800533c: 4b20 ldr r3, [pc, #128] ; (80053c0 ) - 800533e: 881a ldrh r2, [r3, #0] - 8005340: 88fb ldrh r3, [r7, #6] - 8005342: 4413 add r3, r2 - 8005344: b29a uxth r2, r3 - 8005346: 4b1e ldr r3, [pc, #120] ; (80053c0 ) - 8005348: 801a strh r2, [r3, #0] + 800544e: 88fb ldrh r3, [r7, #6] + 8005450: 089b lsrs r3, r3, #2 + 8005452: 80fb strh r3, [r7, #6] + fifo_red+=un_temp; + 8005454: 4b20 ldr r3, [pc, #128] ; (80054d8 ) + 8005456: 881a ldrh r2, [r3, #0] + 8005458: 88fb ldrh r3, [r7, #6] + 800545a: 4413 add r3, r2 + 800545c: b29a uxth r2, r3 + 800545e: 4b1e ldr r3, [pc, #120] ; (80054d8 ) + 8005460: 801a strh r2, [r3, #0] un_temp=ach_i2c_data[3]; - 800534a: 78fb ldrb r3, [r7, #3] - 800534c: 80fb strh r3, [r7, #6] + 8005462: 78fb ldrb r3, [r7, #3] + 8005464: 80fb strh r3, [r7, #6] un_temp<<=14; - 800534e: 88fb ldrh r3, [r7, #6] - 8005350: 039b lsls r3, r3, #14 - 8005352: 80fb strh r3, [r7, #6] + 8005466: 88fb ldrh r3, [r7, #6] + 8005468: 039b lsls r3, r3, #14 + 800546a: 80fb strh r3, [r7, #6] fifo_ir+=un_temp; - 8005354: 4b1b ldr r3, [pc, #108] ; (80053c4 ) - 8005356: 881a ldrh r2, [r3, #0] - 8005358: 88fb ldrh r3, [r7, #6] - 800535a: 4413 add r3, r2 - 800535c: b29a uxth r2, r3 - 800535e: 4b19 ldr r3, [pc, #100] ; (80053c4 ) - 8005360: 801a strh r2, [r3, #0] + 800546c: 4b1b ldr r3, [pc, #108] ; (80054dc ) + 800546e: 881a ldrh r2, [r3, #0] + 8005470: 88fb ldrh r3, [r7, #6] + 8005472: 4413 add r3, r2 + 8005474: b29a uxth r2, r3 + 8005476: 4b19 ldr r3, [pc, #100] ; (80054dc ) + 8005478: 801a strh r2, [r3, #0] un_temp=ach_i2c_data[4]; - 8005362: 793b ldrb r3, [r7, #4] - 8005364: 80fb strh r3, [r7, #6] + 800547a: 793b ldrb r3, [r7, #4] + 800547c: 80fb strh r3, [r7, #6] un_temp<<=6; - 8005366: 88fb ldrh r3, [r7, #6] - 8005368: 019b lsls r3, r3, #6 - 800536a: 80fb strh r3, [r7, #6] + 800547e: 88fb ldrh r3, [r7, #6] + 8005480: 019b lsls r3, r3, #6 + 8005482: 80fb strh r3, [r7, #6] fifo_ir+=un_temp; - 800536c: 4b15 ldr r3, [pc, #84] ; (80053c4 ) - 800536e: 881a ldrh r2, [r3, #0] - 8005370: 88fb ldrh r3, [r7, #6] - 8005372: 4413 add r3, r2 - 8005374: b29a uxth r2, r3 - 8005376: 4b13 ldr r3, [pc, #76] ; (80053c4 ) - 8005378: 801a strh r2, [r3, #0] + 8005484: 4b15 ldr r3, [pc, #84] ; (80054dc ) + 8005486: 881a ldrh r2, [r3, #0] + 8005488: 88fb ldrh r3, [r7, #6] + 800548a: 4413 add r3, r2 + 800548c: b29a uxth r2, r3 + 800548e: 4b13 ldr r3, [pc, #76] ; (80054dc ) + 8005490: 801a strh r2, [r3, #0] un_temp=ach_i2c_data[5]; - 800537a: 797b ldrb r3, [r7, #5] - 800537c: 80fb strh r3, [r7, #6] + 8005492: 797b ldrb r3, [r7, #5] + 8005494: 80fb strh r3, [r7, #6] un_temp>>=2; - 800537e: 88fb ldrh r3, [r7, #6] - 8005380: 089b lsrs r3, r3, #2 - 8005382: 80fb strh r3, [r7, #6] - fifo_ir+=un_temp; - 8005384: 4b0f ldr r3, [pc, #60] ; (80053c4 ) - 8005386: 881a ldrh r2, [r3, #0] - 8005388: 88fb ldrh r3, [r7, #6] - 800538a: 4413 add r3, r2 - 800538c: b29a uxth r2, r3 - 800538e: 4b0d ldr r3, [pc, #52] ; (80053c4 ) - 8005390: 801a strh r2, [r3, #0] + 8005496: 88fb ldrh r3, [r7, #6] + 8005498: 089b lsrs r3, r3, #2 + 800549a: 80fb strh r3, [r7, #6] + fifo_ir+=un_temp; + 800549c: 4b0f ldr r3, [pc, #60] ; (80054dc ) + 800549e: 881a ldrh r2, [r3, #0] + 80054a0: 88fb ldrh r3, [r7, #6] + 80054a2: 4413 add r3, r2 + 80054a4: b29a uxth r2, r3 + 80054a6: 4b0d ldr r3, [pc, #52] ; (80054dc ) + 80054a8: 801a strh r2, [r3, #0] if(fifo_ir<=10000) - 8005392: 4b0c ldr r3, [pc, #48] ; (80053c4 ) - 8005394: 881b ldrh r3, [r3, #0] - 8005396: f242 7210 movw r2, #10000 ; 0x2710 - 800539a: 4293 cmp r3, r2 - 800539c: d802 bhi.n 80053a4 + 80054aa: 4b0c ldr r3, [pc, #48] ; (80054dc ) + 80054ac: 881b ldrh r3, [r3, #0] + 80054ae: f242 7210 movw r2, #10000 ; 0x2710 + 80054b2: 4293 cmp r3, r2 + 80054b4: d802 bhi.n 80054bc { fifo_ir=0; - 800539e: 4b09 ldr r3, [pc, #36] ; (80053c4 ) - 80053a0: 2200 movs r2, #0 - 80053a2: 801a strh r2, [r3, #0] + 80054b6: 4b09 ldr r3, [pc, #36] ; (80054dc ) + 80054b8: 2200 movs r2, #0 + 80054ba: 801a strh r2, [r3, #0] } if(fifo_red<=10000) - 80053a4: 4b06 ldr r3, [pc, #24] ; (80053c0 ) - 80053a6: 881b ldrh r3, [r3, #0] - 80053a8: f242 7210 movw r2, #10000 ; 0x2710 - 80053ac: 4293 cmp r3, r2 - 80053ae: d802 bhi.n 80053b6 + 80054bc: 4b06 ldr r3, [pc, #24] ; (80054d8 ) + 80054be: 881b ldrh r3, [r3, #0] + 80054c0: f242 7210 movw r2, #10000 ; 0x2710 + 80054c4: 4293 cmp r3, r2 + 80054c6: d802 bhi.n 80054ce { fifo_red=0; - 80053b0: 4b03 ldr r3, [pc, #12] ; (80053c0 ) - 80053b2: 2200 movs r2, #0 - 80053b4: 801a strh r2, [r3, #0] + 80054c8: 4b03 ldr r3, [pc, #12] ; (80054d8 ) + 80054ca: 2200 movs r2, #0 + 80054cc: 801a strh r2, [r3, #0] } } - 80053b6: bf00 nop - 80053b8: 3708 adds r7, #8 - 80053ba: 46bd mov sp, r7 - 80053bc: bd80 pop {r7, pc} - 80053be: bf00 nop - 80053c0: 20000338 .word 0x20000338 - 80053c4: 20000330 .word 0x20000330 + 80054ce: bf00 nop + 80054d0: 3708 adds r7, #8 + 80054d2: 46bd mov sp, r7 + 80054d4: bd80 pop {r7, pc} + 80054d6: bf00 nop + 80054d8: 20002450 .word 0x20002450 + 80054dc: 20000340 .word 0x20000340 -080053c8 : +080054e0 : void APP_blood_init(window *a_window) { - 80053c8: b580 push {r7, lr} - 80053ca: b082 sub sp, #8 - 80053cc: af00 add r7, sp, #0 - 80053ce: 6078 str r0, [r7, #4] + 80054e0: b580 push {r7, lr} + 80054e2: b082 sub sp, #8 + 80054e4: af00 add r7, sp, #0 + 80054e6: 6078 str r0, [r7, #4] blood_win=a_window; - 80053d0: 4a05 ldr r2, [pc, #20] ; (80053e8 ) - 80053d2: 687b ldr r3, [r7, #4] - 80053d4: 6013 str r3, [r2, #0] + 80054e8: 4a0b ldr r2, [pc, #44] ; (8005518 ) + 80054ea: 687b ldr r3, [r7, #4] + 80054ec: 6013 str r3, [r2, #0] + HAL_GPIO_WritePin(MAX_RD_GPIO_Port, MAX_RD_Pin, 0); + 80054ee: 2200 movs r2, #0 + 80054f0: f44f 4180 mov.w r1, #16384 ; 0x4000 + 80054f4: 4809 ldr r0, [pc, #36] ; (800551c ) + 80054f6: f7fc fd3a bl 8001f6e + HAL_GPIO_WritePin(MAX_IRD_GPIO_Port, MAX_IRD_Pin, 0); + 80054fa: 2200 movs r2, #0 + 80054fc: f44f 5180 mov.w r1, #4096 ; 0x1000 + 8005500: 4806 ldr r0, [pc, #24] ; (800551c ) + 8005502: f7fc fd34 bl 8001f6e + Max30102_reset(); - 80053d6: f7ff ff0f bl 80051f8 + 8005506: f7ff ff03 bl 8005310 MAX30102_Config(); - 80053da: f7ff ff1d bl 8005218 - - //HAL_GPIO_WritePin(MAX_RD_GPIO_Port, MAX_RD_Pin, 0); + 800550a: f7ff ff11 bl 8005330 + //读取FIFO + max30102_read_fifo(); + } + } + */ } - 80053de: bf00 nop - 80053e0: 3708 adds r7, #8 - 80053e2: 46bd mov sp, r7 - 80053e4: bd80 pop {r7, pc} - 80053e6: bf00 nop - 80053e8: 20000334 .word 0x20000334 + 800550e: bf00 nop + 8005510: 3708 adds r7, #8 + 8005512: 46bd mov sp, r7 + 8005514: bd80 pop {r7, pc} + 8005516: bf00 nop + 8005518: 20000344 .word 0x20000344 + 800551c: 40010c00 .word 0x40010c00 -080053ec : +08005520 : +struct compx s1[FFT_N+16]; //FFT输入和输出:从S[1]开始存放,根据大小自己定义 +struct compx s2[FFT_N+16]; //FFT输入和输出:从S[1]开始存放,根据大小自己定义 +//向下取整 +double my_floor(double x) +{ + 8005520: b580 push {r7, lr} + 8005522: b084 sub sp, #16 + 8005524: af00 add r7, sp, #0 + 8005526: e9c7 0100 strd r0, r1, [r7] + double y=x; + 800552a: e9d7 2300 ldrd r2, r3, [r7] + 800552e: e9c7 2302 strd r2, r3, [r7, #8] + if( (*( ( (int *) &y)+1) & 0x80000000) != 0) //或者if(x<0) + 8005532: f107 0308 add.w r3, r7, #8 + 8005536: 3304 adds r3, #4 + 8005538: 681b ldr r3, [r3, #0] + 800553a: 2b00 cmp r3, #0 + 800553c: da14 bge.n 8005568 + return (float)((int)x)-1; + 800553e: e9d7 0100 ldrd r0, r1, [r7] + 8005542: f7fb fae5 bl 8000b10 <__aeabi_d2iz> + 8005546: 4603 mov r3, r0 + 8005548: 4618 mov r0, r3 + 800554a: f7fb fc13 bl 8000d74 <__aeabi_i2f> + 800554e: 4603 mov r3, r0 + 8005550: f04f 517e mov.w r1, #1065353216 ; 0x3f800000 + 8005554: 4618 mov r0, r3 + 8005556: f7fb fb57 bl 8000c08 <__aeabi_fsub> + 800555a: 4603 mov r3, r0 + 800555c: 4618 mov r0, r3 + 800555e: f7fa ffcf bl 8000500 <__aeabi_f2d> + 8005562: 4602 mov r2, r0 + 8005564: 460b mov r3, r1 + 8005566: e00d b.n 8005584 + else + return (float)((int)x); + 8005568: e9d7 0100 ldrd r0, r1, [r7] + 800556c: f7fb fad0 bl 8000b10 <__aeabi_d2iz> + 8005570: 4603 mov r3, r0 + 8005572: 4618 mov r0, r3 + 8005574: f7fb fbfe bl 8000d74 <__aeabi_i2f> + 8005578: 4603 mov r3, r0 + 800557a: 4618 mov r0, r3 + 800557c: f7fa ffc0 bl 8000500 <__aeabi_f2d> + 8005580: 4602 mov r2, r0 + 8005582: 460b mov r3, r1 +} + 8005584: 4610 mov r0, r2 + 8005586: 4619 mov r1, r3 + 8005588: 3710 adds r7, #16 + 800558a: 46bd mov sp, r7 + 800558c: bd80 pop {r7, pc} + +0800558e : + +//求余运算 +double my_fmod(double x, double y) +{ + 800558e: b5b0 push {r4, r5, r7, lr} + 8005590: b088 sub sp, #32 + 8005592: af00 add r7, sp, #0 + 8005594: e9c7 0102 strd r0, r1, [r7, #8] + 8005598: e9c7 2300 strd r2, r3, [r7] + double temp, ret; + + if (y == 0.0) + 800559c: f04f 0200 mov.w r2, #0 + 80055a0: f04f 0300 mov.w r3, #0 + 80055a4: e9d7 0100 ldrd r0, r1, [r7] + 80055a8: f7fb fa6a bl 8000a80 <__aeabi_dcmpeq> + 80055ac: 4603 mov r3, r0 + 80055ae: 2b00 cmp r3, #0 + 80055b0: d004 beq.n 80055bc + return 0.0; + 80055b2: f04f 0200 mov.w r2, #0 + 80055b6: f04f 0300 mov.w r3, #0 + 80055ba: e04d b.n 8005658 + temp = my_floor(x/y); + 80055bc: e9d7 2300 ldrd r2, r3, [r7] + 80055c0: e9d7 0102 ldrd r0, r1, [r7, #8] + 80055c4: f7fb f91e bl 8000804 <__aeabi_ddiv> + 80055c8: 4602 mov r2, r0 + 80055ca: 460b mov r3, r1 + 80055cc: 4610 mov r0, r2 + 80055ce: 4619 mov r1, r3 + 80055d0: f7ff ffa6 bl 8005520 + 80055d4: e9c7 0104 strd r0, r1, [r7, #16] + ret = x - temp * y; + 80055d8: e9d7 2300 ldrd r2, r3, [r7] + 80055dc: e9d7 0104 ldrd r0, r1, [r7, #16] + 80055e0: f7fa ffe6 bl 80005b0 <__aeabi_dmul> + 80055e4: 4602 mov r2, r0 + 80055e6: 460b mov r3, r1 + 80055e8: e9d7 0102 ldrd r0, r1, [r7, #8] + 80055ec: f7fa fe28 bl 8000240 <__aeabi_dsub> + 80055f0: 4602 mov r2, r0 + 80055f2: 460b mov r3, r1 + 80055f4: e9c7 2306 strd r2, r3, [r7, #24] + if ((x < 0.0) != (y < 0.0)) + 80055f8: 2301 movs r3, #1 + 80055fa: 461c mov r4, r3 + 80055fc: f04f 0200 mov.w r2, #0 + 8005600: f04f 0300 mov.w r3, #0 + 8005604: e9d7 0102 ldrd r0, r1, [r7, #8] + 8005608: f7fb fa44 bl 8000a94 <__aeabi_dcmplt> + 800560c: 4603 mov r3, r0 + 800560e: 2b00 cmp r3, #0 + 8005610: d101 bne.n 8005616 + 8005612: 2300 movs r3, #0 + 8005614: 461c mov r4, r3 + 8005616: b2e4 uxtb r4, r4 + 8005618: 2301 movs r3, #1 + 800561a: 461d mov r5, r3 + 800561c: f04f 0200 mov.w r2, #0 + 8005620: f04f 0300 mov.w r3, #0 + 8005624: e9d7 0100 ldrd r0, r1, [r7] + 8005628: f7fb fa34 bl 8000a94 <__aeabi_dcmplt> + 800562c: 4603 mov r3, r0 + 800562e: 2b00 cmp r3, #0 + 8005630: d101 bne.n 8005636 + 8005632: 2300 movs r3, #0 + 8005634: 461d mov r5, r3 + 8005636: b2eb uxtb r3, r5 + 8005638: 4063 eors r3, r4 + 800563a: b2db uxtb r3, r3 + 800563c: 2b00 cmp r3, #0 + 800563e: d009 beq.n 8005654 + ret = ret - y; + 8005640: e9d7 2300 ldrd r2, r3, [r7] + 8005644: e9d7 0106 ldrd r0, r1, [r7, #24] + 8005648: f7fa fdfa bl 8000240 <__aeabi_dsub> + 800564c: 4602 mov r2, r0 + 800564e: 460b mov r3, r1 + 8005650: e9c7 2306 strd r2, r3, [r7, #24] + return ret; + 8005654: e9d7 2306 ldrd r2, r3, [r7, #24] +} + 8005658: 4610 mov r0, r2 + 800565a: 4619 mov r1, r3 + 800565c: 3720 adds r7, #32 + 800565e: 46bd mov sp, r7 + 8005660: bdb0 pop {r4, r5, r7, pc} + 8005662: 0000 movs r0, r0 + 8005664: 0000 movs r0, r0 + ... + +08005668 : + +//正弦函数 +double XSin( double x ) +{ + 8005668: e92d 43b0 stmdb sp!, {r4, r5, r7, r8, r9, lr} + 800566c: b08a sub sp, #40 ; 0x28 + 800566e: af00 add r7, sp, #0 + 8005670: e9c7 0100 strd r0, r1, [r7] + int s = 0 , n; + 8005674: 2300 movs r3, #0 + 8005676: 627b str r3, [r7, #36] ; 0x24 + double dx , sx , cx; + if( x < 0 ) + 8005678: f04f 0200 mov.w r2, #0 + 800567c: f04f 0300 mov.w r3, #0 + 8005680: e9d7 0100 ldrd r0, r1, [r7] + 8005684: f7fb fa06 bl 8000a94 <__aeabi_dcmplt> + 8005688: 4603 mov r3, r0 + 800568a: 2b00 cmp r3, #0 + 800568c: d007 beq.n 800569e + s = 1 , x = -x; + 800568e: 2301 movs r3, #1 + 8005690: 627b str r3, [r7, #36] ; 0x24 + 8005692: 683b ldr r3, [r7, #0] + 8005694: 603b str r3, [r7, #0] + 8005696: 687b ldr r3, [r7, #4] + 8005698: f083 4300 eor.w r3, r3, #2147483648 ; 0x80000000 + 800569c: 607b str r3, [r7, #4] + x = my_fmod( x , 2 * XPI ); + 800569e: a392 add r3, pc, #584 ; (adr r3, 80058e8 ) + 80056a0: e9d3 2300 ldrd r2, r3, [r3] + 80056a4: e9d7 0100 ldrd r0, r1, [r7] + 80056a8: f7ff ff71 bl 800558e + 80056ac: e9c7 0100 strd r0, r1, [r7] + if( x > XPI ) + 80056b0: a38f add r3, pc, #572 ; (adr r3, 80058f0 ) + 80056b2: e9d3 2300 ldrd r2, r3, [r3] + 80056b6: e9d7 0100 ldrd r0, r1, [r7] + 80056ba: f7fb fa09 bl 8000ad0 <__aeabi_dcmpgt> + 80056be: 4603 mov r3, r0 + 80056c0: 2b00 cmp r3, #0 + 80056c2: d011 beq.n 80056e8 + s = !s , x -= XPI; + 80056c4: 6a7b ldr r3, [r7, #36] ; 0x24 + 80056c6: 2b00 cmp r3, #0 + 80056c8: bf0c ite eq + 80056ca: 2301 moveq r3, #1 + 80056cc: 2300 movne r3, #0 + 80056ce: b2db uxtb r3, r3 + 80056d0: 627b str r3, [r7, #36] ; 0x24 + 80056d2: a387 add r3, pc, #540 ; (adr r3, 80058f0 ) + 80056d4: e9d3 2300 ldrd r2, r3, [r3] + 80056d8: e9d7 0100 ldrd r0, r1, [r7] + 80056dc: f7fa fdb0 bl 8000240 <__aeabi_dsub> + 80056e0: 4602 mov r2, r0 + 80056e2: 460b mov r3, r1 + 80056e4: e9c7 2300 strd r2, r3, [r7] + if( x > XPI / 2 ) + 80056e8: a383 add r3, pc, #524 ; (adr r3, 80058f8 ) + 80056ea: e9d3 2300 ldrd r2, r3, [r3] + 80056ee: e9d7 0100 ldrd r0, r1, [r7] + 80056f2: f7fb f9ed bl 8000ad0 <__aeabi_dcmpgt> + 80056f6: 4603 mov r3, r0 + 80056f8: 2b00 cmp r3, #0 + 80056fa: d00a beq.n 8005712 + x = XPI - x; + 80056fc: e9d7 2300 ldrd r2, r3, [r7] + 8005700: a17b add r1, pc, #492 ; (adr r1, 80058f0 ) + 8005702: e9d1 0100 ldrd r0, r1, [r1] + 8005706: f7fa fd9b bl 8000240 <__aeabi_dsub> + 800570a: 4602 mov r2, r0 + 800570c: 460b mov r3, r1 + 800570e: e9c7 2300 strd r2, r3, [r7] + n = (int)( x / XINCL ); + 8005712: a37b add r3, pc, #492 ; (adr r3, 8005900 ) + 8005714: e9d3 2300 ldrd r2, r3, [r3] + 8005718: e9d7 0100 ldrd r0, r1, [r7] + 800571c: f7fb f872 bl 8000804 <__aeabi_ddiv> + 8005720: 4602 mov r2, r0 + 8005722: 460b mov r3, r1 + 8005724: 4610 mov r0, r2 + 8005726: 4619 mov r1, r3 + 8005728: f7fb f9f2 bl 8000b10 <__aeabi_d2iz> + 800572c: 4603 mov r3, r0 + 800572e: 623b str r3, [r7, #32] + dx = x - n * XINCL; + 8005730: 6a38 ldr r0, [r7, #32] + 8005732: f7fa fed3 bl 80004dc <__aeabi_i2d> + 8005736: a372 add r3, pc, #456 ; (adr r3, 8005900 ) + 8005738: e9d3 2300 ldrd r2, r3, [r3] + 800573c: f7fa ff38 bl 80005b0 <__aeabi_dmul> + 8005740: 4602 mov r2, r0 + 8005742: 460b mov r3, r1 + 8005744: e9d7 0100 ldrd r0, r1, [r7] + 8005748: f7fa fd7a bl 8000240 <__aeabi_dsub> + 800574c: 4602 mov r2, r0 + 800574e: 460b mov r3, r1 + 8005750: e9c7 2306 strd r2, r3, [r7, #24] + if( dx > XINCL / 2 ) + 8005754: a36c add r3, pc, #432 ; (adr r3, 8005908 ) + 8005756: e9d3 2300 ldrd r2, r3, [r3] + 800575a: e9d7 0106 ldrd r0, r1, [r7, #24] + 800575e: f7fb f9b7 bl 8000ad0 <__aeabi_dcmpgt> + 8005762: 4603 mov r3, r0 + 8005764: 2b00 cmp r3, #0 + 8005766: d00d beq.n 8005784 + ++n , dx -= XINCL; + 8005768: 6a3b ldr r3, [r7, #32] + 800576a: 3301 adds r3, #1 + 800576c: 623b str r3, [r7, #32] + 800576e: a364 add r3, pc, #400 ; (adr r3, 8005900 ) + 8005770: e9d3 2300 ldrd r2, r3, [r3] + 8005774: e9d7 0106 ldrd r0, r1, [r7, #24] + 8005778: f7fa fd62 bl 8000240 <__aeabi_dsub> + 800577c: 4602 mov r2, r0 + 800577e: 460b mov r3, r1 + 8005780: e9c7 2306 strd r2, r3, [r7, #24] + sx = XSinTbl[n]; + 8005784: 4a62 ldr r2, [pc, #392] ; (8005910 ) + 8005786: 6a3b ldr r3, [r7, #32] + 8005788: 00db lsls r3, r3, #3 + 800578a: 4413 add r3, r2 + 800578c: e9d3 2300 ldrd r2, r3, [r3] + 8005790: e9c7 2304 strd r2, r3, [r7, #16] + cx = XSinTbl[XENTRY-n]; + 8005794: 6a3b ldr r3, [r7, #32] + 8005796: f1c3 0364 rsb r3, r3, #100 ; 0x64 + 800579a: 4a5d ldr r2, [pc, #372] ; (8005910 ) + 800579c: 00db lsls r3, r3, #3 + 800579e: 4413 add r3, r2 + 80057a0: e9d3 2300 ldrd r2, r3, [r3] + 80057a4: e9c7 2302 strd r2, r3, [r7, #8] + x = sx + dx*cx - (dx*dx)*sx/2 + 80057a8: e9d7 2302 ldrd r2, r3, [r7, #8] + 80057ac: e9d7 0106 ldrd r0, r1, [r7, #24] + 80057b0: f7fa fefe bl 80005b0 <__aeabi_dmul> + 80057b4: 4602 mov r2, r0 + 80057b6: 460b mov r3, r1 + 80057b8: 4610 mov r0, r2 + 80057ba: 4619 mov r1, r3 + 80057bc: e9d7 2304 ldrd r2, r3, [r7, #16] + 80057c0: f7fa fd40 bl 8000244 <__adddf3> + 80057c4: 4602 mov r2, r0 + 80057c6: 460b mov r3, r1 + 80057c8: 4690 mov r8, r2 + 80057ca: 4699 mov r9, r3 + 80057cc: e9d7 2306 ldrd r2, r3, [r7, #24] + 80057d0: e9d7 0106 ldrd r0, r1, [r7, #24] + 80057d4: f7fa feec bl 80005b0 <__aeabi_dmul> + 80057d8: 4602 mov r2, r0 + 80057da: 460b mov r3, r1 + 80057dc: 4610 mov r0, r2 + 80057de: 4619 mov r1, r3 + 80057e0: e9d7 2304 ldrd r2, r3, [r7, #16] + 80057e4: f7fa fee4 bl 80005b0 <__aeabi_dmul> + 80057e8: 4602 mov r2, r0 + 80057ea: 460b mov r3, r1 + 80057ec: 4610 mov r0, r2 + 80057ee: 4619 mov r1, r3 + 80057f0: f04f 0200 mov.w r2, #0 + 80057f4: f04f 4380 mov.w r3, #1073741824 ; 0x40000000 + 80057f8: f7fb f804 bl 8000804 <__aeabi_ddiv> + 80057fc: 4602 mov r2, r0 + 80057fe: 460b mov r3, r1 + 8005800: 4640 mov r0, r8 + 8005802: 4649 mov r1, r9 + 8005804: f7fa fd1c bl 8000240 <__aeabi_dsub> + 8005808: 4602 mov r2, r0 + 800580a: 460b mov r3, r1 + 800580c: 4690 mov r8, r2 + 800580e: 4699 mov r9, r3 + - (dx*dx*dx)*cx/6 + 8005810: e9d7 2306 ldrd r2, r3, [r7, #24] + 8005814: e9d7 0106 ldrd r0, r1, [r7, #24] + 8005818: f7fa feca bl 80005b0 <__aeabi_dmul> + 800581c: 4602 mov r2, r0 + 800581e: 460b mov r3, r1 + 8005820: 4610 mov r0, r2 + 8005822: 4619 mov r1, r3 + 8005824: e9d7 2306 ldrd r2, r3, [r7, #24] + 8005828: f7fa fec2 bl 80005b0 <__aeabi_dmul> + 800582c: 4602 mov r2, r0 + 800582e: 460b mov r3, r1 + 8005830: 4610 mov r0, r2 + 8005832: 4619 mov r1, r3 + 8005834: e9d7 2302 ldrd r2, r3, [r7, #8] + 8005838: f7fa feba bl 80005b0 <__aeabi_dmul> + 800583c: 4602 mov r2, r0 + 800583e: 460b mov r3, r1 + 8005840: 4610 mov r0, r2 + 8005842: 4619 mov r1, r3 + 8005844: f04f 0200 mov.w r2, #0 + 8005848: 4b32 ldr r3, [pc, #200] ; (8005914 ) + 800584a: f7fa ffdb bl 8000804 <__aeabi_ddiv> + 800584e: 4602 mov r2, r0 + 8005850: 460b mov r3, r1 + 8005852: 4640 mov r0, r8 + 8005854: 4649 mov r1, r9 + 8005856: f7fa fcf3 bl 8000240 <__aeabi_dsub> + 800585a: 4602 mov r2, r0 + 800585c: 460b mov r3, r1 + 800585e: 4690 mov r8, r2 + 8005860: 4699 mov r9, r3 + + (dx*dx*dx*dx)*sx/24; + 8005862: e9d7 2306 ldrd r2, r3, [r7, #24] + 8005866: e9d7 0106 ldrd r0, r1, [r7, #24] + 800586a: f7fa fea1 bl 80005b0 <__aeabi_dmul> + 800586e: 4602 mov r2, r0 + 8005870: 460b mov r3, r1 + 8005872: 4610 mov r0, r2 + 8005874: 4619 mov r1, r3 + 8005876: e9d7 2306 ldrd r2, r3, [r7, #24] + 800587a: f7fa fe99 bl 80005b0 <__aeabi_dmul> + 800587e: 4602 mov r2, r0 + 8005880: 460b mov r3, r1 + 8005882: 4610 mov r0, r2 + 8005884: 4619 mov r1, r3 + 8005886: e9d7 2306 ldrd r2, r3, [r7, #24] + 800588a: f7fa fe91 bl 80005b0 <__aeabi_dmul> + 800588e: 4602 mov r2, r0 + 8005890: 460b mov r3, r1 + 8005892: 4610 mov r0, r2 + 8005894: 4619 mov r1, r3 + 8005896: e9d7 2304 ldrd r2, r3, [r7, #16] + 800589a: f7fa fe89 bl 80005b0 <__aeabi_dmul> + 800589e: 4602 mov r2, r0 + 80058a0: 460b mov r3, r1 + 80058a2: 4610 mov r0, r2 + 80058a4: 4619 mov r1, r3 + 80058a6: f04f 0200 mov.w r2, #0 + 80058aa: 4b1b ldr r3, [pc, #108] ; (8005918 ) + 80058ac: f7fa ffaa bl 8000804 <__aeabi_ddiv> + 80058b0: 4602 mov r2, r0 + 80058b2: 460b mov r3, r1 + x = sx + dx*cx - (dx*dx)*sx/2 + 80058b4: 4640 mov r0, r8 + 80058b6: 4649 mov r1, r9 + 80058b8: f7fa fcc4 bl 8000244 <__adddf3> + 80058bc: 4602 mov r2, r0 + 80058be: 460b mov r3, r1 + 80058c0: e9c7 2300 strd r2, r3, [r7] + + return s ? -x : x; + 80058c4: 6a7b ldr r3, [r7, #36] ; 0x24 + 80058c6: 2b00 cmp r3, #0 + 80058c8: d004 beq.n 80058d4 + 80058ca: 683c ldr r4, [r7, #0] + 80058cc: 687b ldr r3, [r7, #4] + 80058ce: f083 4500 eor.w r5, r3, #2147483648 ; 0x80000000 + 80058d2: e001 b.n 80058d8 + 80058d4: e9d7 4500 ldrd r4, r5, [r7] + 80058d8: 4622 mov r2, r4 + 80058da: 462b mov r3, r5 +} + 80058dc: 4610 mov r0, r2 + 80058de: 4619 mov r1, r3 + 80058e0: 3728 adds r7, #40 ; 0x28 + 80058e2: 46bd mov sp, r7 + 80058e4: e8bd 83b0 ldmia.w sp!, {r4, r5, r7, r8, r9, pc} + 80058e8: 54442d18 .word 0x54442d18 + 80058ec: 401921fb .word 0x401921fb + 80058f0: 54442d18 .word 0x54442d18 + 80058f4: 400921fb .word 0x400921fb + 80058f8: 54442d18 .word 0x54442d18 + 80058fc: 3ff921fb .word 0x3ff921fb + 8005900: 9217271a .word 0x9217271a + 8005904: 3f9015bf .word 0x3f9015bf + 8005908: 9217271a .word 0x9217271a + 800590c: 3f8015bf .word 0x3f8015bf + 8005910: 0800a440 .word 0x0800a440 + 8005914: 40180000 .word 0x40180000 + 8005918: 40380000 .word 0x40380000 + 800591c: 00000000 .word 0x00000000 + +08005920 : + +//余弦函数 +double XCos( double x ) +{ + 8005920: b580 push {r7, lr} + 8005922: b082 sub sp, #8 + 8005924: af00 add r7, sp, #0 + 8005926: e9c7 0100 strd r0, r1, [r7] + return XSin( x + XPI/2 ); + 800592a: a30b add r3, pc, #44 ; (adr r3, 8005958 ) + 800592c: e9d3 2300 ldrd r2, r3, [r3] + 8005930: e9d7 0100 ldrd r0, r1, [r7] + 8005934: f7fa fc86 bl 8000244 <__adddf3> + 8005938: 4602 mov r2, r0 + 800593a: 460b mov r3, r1 + 800593c: 4610 mov r0, r2 + 800593e: 4619 mov r1, r3 + 8005940: f7ff fe92 bl 8005668 + 8005944: 4602 mov r2, r0 + 8005946: 460b mov r3, r1 +} + 8005948: 4610 mov r0, r2 + 800594a: 4619 mov r1, r3 + 800594c: 3708 adds r7, #8 + 800594e: 46bd mov sp, r7 + 8005950: bd80 pop {r7, pc} + 8005952: bf00 nop + 8005954: f3af 8000 nop.w + 8005958: 54442d18 .word 0x54442d18 + 800595c: 3ff921fb .word 0x3ff921fb + +08005960 : +函数功能:对两个复数进行乘法运算 +输入参数:两个以联合体定义的复数a,b +输出参数:a和b的乘积,以联合体的形式输出 +*******************************************************************/ +struct compx EE(struct compx a,struct compx b) +{ + 8005960: b082 sub sp, #8 + 8005962: b590 push {r4, r7, lr} + 8005964: b087 sub sp, #28 + 8005966: af00 add r7, sp, #0 + 8005968: 60f8 str r0, [r7, #12] + 800596a: 1d38 adds r0, r7, #4 + 800596c: e880 0006 stmia.w r0, {r1, r2} + 8005970: 62fb str r3, [r7, #44] ; 0x2c + struct compx c; + c.real=a.real*b.real-a.imag*b.imag; + 8005972: 687b ldr r3, [r7, #4] + 8005974: 6afa ldr r2, [r7, #44] ; 0x2c + 8005976: 4611 mov r1, r2 + 8005978: 4618 mov r0, r3 + 800597a: f7fb fa4f bl 8000e1c <__aeabi_fmul> + 800597e: 4603 mov r3, r0 + 8005980: 461c mov r4, r3 + 8005982: 68bb ldr r3, [r7, #8] + 8005984: 6b3a ldr r2, [r7, #48] ; 0x30 + 8005986: 4611 mov r1, r2 + 8005988: 4618 mov r0, r3 + 800598a: f7fb fa47 bl 8000e1c <__aeabi_fmul> + 800598e: 4603 mov r3, r0 + 8005990: 4619 mov r1, r3 + 8005992: 4620 mov r0, r4 + 8005994: f7fb f938 bl 8000c08 <__aeabi_fsub> + 8005998: 4603 mov r3, r0 + 800599a: 613b str r3, [r7, #16] + c.imag=a.real*b.imag+a.imag*b.real; + 800599c: 687b ldr r3, [r7, #4] + 800599e: 6b3a ldr r2, [r7, #48] ; 0x30 + 80059a0: 4611 mov r1, r2 + 80059a2: 4618 mov r0, r3 + 80059a4: f7fb fa3a bl 8000e1c <__aeabi_fmul> + 80059a8: 4603 mov r3, r0 + 80059aa: 461c mov r4, r3 + 80059ac: 68bb ldr r3, [r7, #8] + 80059ae: 6afa ldr r2, [r7, #44] ; 0x2c + 80059b0: 4611 mov r1, r2 + 80059b2: 4618 mov r0, r3 + 80059b4: f7fb fa32 bl 8000e1c <__aeabi_fmul> + 80059b8: 4603 mov r3, r0 + 80059ba: 4619 mov r1, r3 + 80059bc: 4620 mov r0, r4 + 80059be: f7fb f925 bl 8000c0c <__addsf3> + 80059c2: 4603 mov r3, r0 + 80059c4: 617b str r3, [r7, #20] + return(c); + 80059c6: 68fb ldr r3, [r7, #12] + 80059c8: 461a mov r2, r3 + 80059ca: f107 0310 add.w r3, r7, #16 + 80059ce: e893 0003 ldmia.w r3, {r0, r1} + 80059d2: e882 0003 stmia.w r2, {r0, r1} +} + 80059d6: 68f8 ldr r0, [r7, #12] + 80059d8: 371c adds r7, #28 + 80059da: 46bd mov sp, r7 + 80059dc: e8bd 4090 ldmia.w sp!, {r4, r7, lr} + 80059e0: b002 add sp, #8 + 80059e2: 4770 bx lr + 80059e4: 0000 movs r0, r0 + ... + +080059e8 : +函数原型:void FFT(struct compx *xin,int N) +函数功能:对输入的复数组进行快速傅里叶变换(FFT) +输入参数:*xin复数结构体组的首地址指针,struct型 +*****************************************************************/ +void FFT(struct compx *xin) +{ + 80059e8: b590 push {r4, r7, lr} + 80059ea: b097 sub sp, #92 ; 0x5c + 80059ec: af02 add r7, sp, #8 + 80059ee: 6078 str r0, [r7, #4] + int f,m,nv2,nm1,i,k,l,j=0; + 80059f0: 2300 movs r3, #0 + 80059f2: 63bb str r3, [r7, #56] ; 0x38 + struct compx u,w,t; + + nv2=FFT_N/2; //变址运算,即把自然顺序变成倒位序,采用雷德算法 + 80059f4: f44f 7380 mov.w r3, #256 ; 0x100 + 80059f8: 637b str r3, [r7, #52] ; 0x34 + nm1=FFT_N-1; + 80059fa: f240 13ff movw r3, #511 ; 0x1ff + 80059fe: 633b str r3, [r7, #48] ; 0x30 + for(i=0;i + { + if(i + { + t=xin[j]; + 8005a0e: 6bbb ldr r3, [r7, #56] ; 0x38 + 8005a10: 00db lsls r3, r3, #3 + 8005a12: 687a ldr r2, [r7, #4] + 8005a14: 441a add r2, r3 + 8005a16: f107 030c add.w r3, r7, #12 + 8005a1a: e892 0003 ldmia.w r2, {r0, r1} + 8005a1e: e883 0003 stmia.w r3, {r0, r1} + xin[j]=xin[i]; + 8005a22: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005a24: 00db lsls r3, r3, #3 + 8005a26: 687a ldr r2, [r7, #4] + 8005a28: 18d1 adds r1, r2, r3 + 8005a2a: 6bbb ldr r3, [r7, #56] ; 0x38 + 8005a2c: 00db lsls r3, r3, #3 + 8005a2e: 687a ldr r2, [r7, #4] + 8005a30: 4413 add r3, r2 + 8005a32: 460a mov r2, r1 + 8005a34: e892 0003 ldmia.w r2, {r0, r1} + 8005a38: e883 0003 stmia.w r3, {r0, r1} + xin[i]=t; + 8005a3c: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005a3e: 00db lsls r3, r3, #3 + 8005a40: 687a ldr r2, [r7, #4] + 8005a42: 4413 add r3, r2 + 8005a44: 461a mov r2, r3 + 8005a46: f107 030c add.w r3, r7, #12 + 8005a4a: e893 0003 ldmia.w r3, {r0, r1} + 8005a4e: e882 0003 stmia.w r2, {r0, r1} + } + k=nv2; //求j的下一个倒位序 + 8005a52: 6b7b ldr r3, [r7, #52] ; 0x34 + 8005a54: 643b str r3, [r7, #64] ; 0x40 + + while(k<=j) //如果k<=j,表示j的最高位为1 + 8005a56: e008 b.n 8005a6a + { + j=j-k; //把最高位变成0 + 8005a58: 6bba ldr r2, [r7, #56] ; 0x38 + 8005a5a: 6c3b ldr r3, [r7, #64] ; 0x40 + 8005a5c: 1ad3 subs r3, r2, r3 + 8005a5e: 63bb str r3, [r7, #56] ; 0x38 + k=k/2; //k/2,比较次高位,依次类推,逐个比较,直到某个位为0 + 8005a60: 6c3b ldr r3, [r7, #64] ; 0x40 + 8005a62: 0fda lsrs r2, r3, #31 + 8005a64: 4413 add r3, r2 + 8005a66: 105b asrs r3, r3, #1 + 8005a68: 643b str r3, [r7, #64] ; 0x40 + while(k<=j) //如果k<=j,表示j的最高位为1 + 8005a6a: 6c3a ldr r2, [r7, #64] ; 0x40 + 8005a6c: 6bbb ldr r3, [r7, #56] ; 0x38 + 8005a6e: 429a cmp r2, r3 + 8005a70: ddf2 ble.n 8005a58 + } + + j=j+k; //把0改为1 + 8005a72: 6bba ldr r2, [r7, #56] ; 0x38 + 8005a74: 6c3b ldr r3, [r7, #64] ; 0x40 + 8005a76: 4413 add r3, r2 + 8005a78: 63bb str r3, [r7, #56] ; 0x38 + for(i=0;i + } + + { //FFT运算核,使用蝶形运算完成FFT运算 + int le,lei,ip; + f=FFT_N; + 8005a88: f44f 7300 mov.w r3, #512 ; 0x200 + 8005a8c: 64fb str r3, [r7, #76] ; 0x4c + for(l=1;(f=f/2)!=1;l++) //计算l的值,即计算蝶形级数 + 8005a8e: 2301 movs r3, #1 + 8005a90: 63fb str r3, [r7, #60] ; 0x3c + 8005a92: e002 b.n 8005a9a + 8005a94: 6bfb ldr r3, [r7, #60] ; 0x3c + 8005a96: 3301 adds r3, #1 + 8005a98: 63fb str r3, [r7, #60] ; 0x3c + 8005a9a: 6cfb ldr r3, [r7, #76] ; 0x4c + 8005a9c: 0fda lsrs r2, r3, #31 + 8005a9e: 4413 add r3, r2 + 8005aa0: 105b asrs r3, r3, #1 + 8005aa2: 64fb str r3, [r7, #76] ; 0x4c + 8005aa4: 6cfb ldr r3, [r7, #76] ; 0x4c + 8005aa6: 2b01 cmp r3, #1 + 8005aa8: d1f4 bne.n 8005a94 + ; + for(m=1;m<=l;m++) // 控制蝶形结级数 + 8005aaa: 2301 movs r3, #1 + 8005aac: 64bb str r3, [r7, #72] ; 0x48 + 8005aae: e0ac b.n 8005c0a + { //m表示第m级蝶形,l为蝶形级总数l=log(2)N + le=2<<(m-1); //le蝶形结距离,即第m级蝶形的蝶形结相距le点 + 8005ab0: 6cbb ldr r3, [r7, #72] ; 0x48 + 8005ab2: 3b01 subs r3, #1 + 8005ab4: 2202 movs r2, #2 + 8005ab6: fa02 f303 lsl.w r3, r2, r3 + 8005aba: 62fb str r3, [r7, #44] ; 0x2c + lei=le/2; //同一蝶形结中参加运算的两点的距离 + 8005abc: 6afb ldr r3, [r7, #44] ; 0x2c + 8005abe: 0fda lsrs r2, r3, #31 + 8005ac0: 4413 add r3, r2 + 8005ac2: 105b asrs r3, r3, #1 + 8005ac4: 62bb str r3, [r7, #40] ; 0x28 + u.real=1.0; //u为蝶形结运算系数,初始值为1 + 8005ac6: f04f 537e mov.w r3, #1065353216 ; 0x3f800000 + 8005aca: 61fb str r3, [r7, #28] + u.imag=0.0; + 8005acc: f04f 0300 mov.w r3, #0 + 8005ad0: 623b str r3, [r7, #32] + w.real=XCos(PI/lei); //w为系数商,即当前系数与前一个系数的商 + 8005ad2: 6ab8 ldr r0, [r7, #40] ; 0x28 + 8005ad4: f7fa fd02 bl 80004dc <__aeabi_i2d> + 8005ad8: 4602 mov r2, r0 + 8005ada: 460b mov r3, r1 + 8005adc: a150 add r1, pc, #320 ; (adr r1, 8005c20 ) + 8005ade: e9d1 0100 ldrd r0, r1, [r1] + 8005ae2: f7fa fe8f bl 8000804 <__aeabi_ddiv> + 8005ae6: 4602 mov r2, r0 + 8005ae8: 460b mov r3, r1 + 8005aea: 4610 mov r0, r2 + 8005aec: 4619 mov r1, r3 + 8005aee: f7ff ff17 bl 8005920 + 8005af2: 4602 mov r2, r0 + 8005af4: 460b mov r3, r1 + 8005af6: 4610 mov r0, r2 + 8005af8: 4619 mov r1, r3 + 8005afa: f7fb f831 bl 8000b60 <__aeabi_d2f> + 8005afe: 4603 mov r3, r0 + 8005b00: 617b str r3, [r7, #20] + w.imag=-XSin(PI/lei); + 8005b02: 6ab8 ldr r0, [r7, #40] ; 0x28 + 8005b04: f7fa fcea bl 80004dc <__aeabi_i2d> + 8005b08: 4602 mov r2, r0 + 8005b0a: 460b mov r3, r1 + 8005b0c: a144 add r1, pc, #272 ; (adr r1, 8005c20 ) + 8005b0e: e9d1 0100 ldrd r0, r1, [r1] + 8005b12: f7fa fe77 bl 8000804 <__aeabi_ddiv> + 8005b16: 4602 mov r2, r0 + 8005b18: 460b mov r3, r1 + 8005b1a: 4610 mov r0, r2 + 8005b1c: 4619 mov r1, r3 + 8005b1e: f7ff fda3 bl 8005668 + 8005b22: 4602 mov r2, r0 + 8005b24: 460b mov r3, r1 + 8005b26: 4610 mov r0, r2 + 8005b28: 4619 mov r1, r3 + 8005b2a: f7fb f819 bl 8000b60 <__aeabi_d2f> + 8005b2e: 4603 mov r3, r0 + 8005b30: f083 4300 eor.w r3, r3, #2147483648 ; 0x80000000 + 8005b34: 61bb str r3, [r7, #24] + for(j=0;j<=lei-1;j++) //控制计算不同种蝶形结,即计算系数不同的蝶形结 + 8005b36: 2300 movs r3, #0 + 8005b38: 63bb str r3, [r7, #56] ; 0x38 + 8005b3a: e05f b.n 8005bfc + { + for(i=j;i<=FFT_N-1;i=i+le) //控制同一蝶形结运算,即计算系数相同蝶形结 + 8005b3c: 6bbb ldr r3, [r7, #56] ; 0x38 + 8005b3e: 647b str r3, [r7, #68] ; 0x44 + 8005b40: e04b b.n 8005bda + { + ip=i+lei; //i,ip分别表示参加蝶形运算的两个节点 + 8005b42: 6c7a ldr r2, [r7, #68] ; 0x44 + 8005b44: 6abb ldr r3, [r7, #40] ; 0x28 + 8005b46: 4413 add r3, r2 + 8005b48: 627b str r3, [r7, #36] ; 0x24 + t=EE(xin[ip],u); //蝶形运算,详见公式 + 8005b4a: 6a7b ldr r3, [r7, #36] ; 0x24 + 8005b4c: 00db lsls r3, r3, #3 + 8005b4e: 687a ldr r2, [r7, #4] + 8005b50: 441a add r2, r3 + 8005b52: f107 000c add.w r0, r7, #12 + 8005b56: 6a3b ldr r3, [r7, #32] + 8005b58: 9300 str r3, [sp, #0] + 8005b5a: 69fb ldr r3, [r7, #28] + 8005b5c: ca06 ldmia r2, {r1, r2} + 8005b5e: f7ff feff bl 8005960 + xin[ip].real=xin[i].real-t.real; + 8005b62: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005b64: 00db lsls r3, r3, #3 + 8005b66: 687a ldr r2, [r7, #4] + 8005b68: 4413 add r3, r2 + 8005b6a: 6818 ldr r0, [r3, #0] + 8005b6c: 68f9 ldr r1, [r7, #12] + 8005b6e: 6a7b ldr r3, [r7, #36] ; 0x24 + 8005b70: 00db lsls r3, r3, #3 + 8005b72: 687a ldr r2, [r7, #4] + 8005b74: 18d4 adds r4, r2, r3 + 8005b76: f7fb f847 bl 8000c08 <__aeabi_fsub> + 8005b7a: 4603 mov r3, r0 + 8005b7c: 6023 str r3, [r4, #0] + xin[ip].imag=xin[i].imag-t.imag; + 8005b7e: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005b80: 00db lsls r3, r3, #3 + 8005b82: 687a ldr r2, [r7, #4] + 8005b84: 4413 add r3, r2 + 8005b86: 6858 ldr r0, [r3, #4] + 8005b88: 6939 ldr r1, [r7, #16] + 8005b8a: 6a7b ldr r3, [r7, #36] ; 0x24 + 8005b8c: 00db lsls r3, r3, #3 + 8005b8e: 687a ldr r2, [r7, #4] + 8005b90: 18d4 adds r4, r2, r3 + 8005b92: f7fb f839 bl 8000c08 <__aeabi_fsub> + 8005b96: 4603 mov r3, r0 + 8005b98: 6063 str r3, [r4, #4] + xin[i].real=xin[i].real+t.real; + 8005b9a: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005b9c: 00db lsls r3, r3, #3 + 8005b9e: 687a ldr r2, [r7, #4] + 8005ba0: 4413 add r3, r2 + 8005ba2: 6818 ldr r0, [r3, #0] + 8005ba4: 68f9 ldr r1, [r7, #12] + 8005ba6: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005ba8: 00db lsls r3, r3, #3 + 8005baa: 687a ldr r2, [r7, #4] + 8005bac: 18d4 adds r4, r2, r3 + 8005bae: f7fb f82d bl 8000c0c <__addsf3> + 8005bb2: 4603 mov r3, r0 + 8005bb4: 6023 str r3, [r4, #0] + xin[i].imag=xin[i].imag+t.imag; + 8005bb6: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005bb8: 00db lsls r3, r3, #3 + 8005bba: 687a ldr r2, [r7, #4] + 8005bbc: 4413 add r3, r2 + 8005bbe: 6858 ldr r0, [r3, #4] + 8005bc0: 6939 ldr r1, [r7, #16] + 8005bc2: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005bc4: 00db lsls r3, r3, #3 + 8005bc6: 687a ldr r2, [r7, #4] + 8005bc8: 18d4 adds r4, r2, r3 + 8005bca: f7fb f81f bl 8000c0c <__addsf3> + 8005bce: 4603 mov r3, r0 + 8005bd0: 6063 str r3, [r4, #4] + for(i=j;i<=FFT_N-1;i=i+le) //控制同一蝶形结运算,即计算系数相同蝶形结 + 8005bd2: 6c7a ldr r2, [r7, #68] ; 0x44 + 8005bd4: 6afb ldr r3, [r7, #44] ; 0x2c + 8005bd6: 4413 add r3, r2 + 8005bd8: 647b str r3, [r7, #68] ; 0x44 + 8005bda: 6c7b ldr r3, [r7, #68] ; 0x44 + 8005bdc: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 8005be0: dbaf blt.n 8005b42 + } + u=EE(u,w); //改变系数,进行下一个蝶形运算 + 8005be2: f107 001c add.w r0, r7, #28 + 8005be6: 69bb ldr r3, [r7, #24] + 8005be8: 9300 str r3, [sp, #0] + 8005bea: 697b ldr r3, [r7, #20] + 8005bec: f107 021c add.w r2, r7, #28 + 8005bf0: ca06 ldmia r2, {r1, r2} + 8005bf2: f7ff feb5 bl 8005960 + for(j=0;j<=lei-1;j++) //控制计算不同种蝶形结,即计算系数不同的蝶形结 + 8005bf6: 6bbb ldr r3, [r7, #56] ; 0x38 + 8005bf8: 3301 adds r3, #1 + 8005bfa: 63bb str r3, [r7, #56] ; 0x38 + 8005bfc: 6aba ldr r2, [r7, #40] ; 0x28 + 8005bfe: 6bbb ldr r3, [r7, #56] ; 0x38 + 8005c00: 429a cmp r2, r3 + 8005c02: dc9b bgt.n 8005b3c + for(m=1;m<=l;m++) // 控制蝶形结级数 + 8005c04: 6cbb ldr r3, [r7, #72] ; 0x48 + 8005c06: 3301 adds r3, #1 + 8005c08: 64bb str r3, [r7, #72] ; 0x48 + 8005c0a: 6cba ldr r2, [r7, #72] ; 0x48 + 8005c0c: 6bfb ldr r3, [r7, #60] ; 0x3c + 8005c0e: 429a cmp r2, r3 + 8005c10: f77f af4e ble.w 8005ab0 + } + } + } +} + 8005c14: bf00 nop + 8005c16: bf00 nop + 8005c18: 3754 adds r7, #84 ; 0x54 + 8005c1a: 46bd mov sp, r7 + 8005c1c: bd90 pop {r4, r7, pc} + 8005c1e: bf00 nop + 8005c20: 54442d18 .word 0x54442d18 + 8005c24: 400921fb .word 0x400921fb + +08005c28 : + +//读取峰值 +int find_max_num_index(struct compx *data,int count) +{ + 8005c28: b580 push {r7, lr} + 8005c2a: b086 sub sp, #24 + 8005c2c: af00 add r7, sp, #0 + 8005c2e: 6078 str r0, [r7, #4] + 8005c30: 6039 str r1, [r7, #0] + int i=START_INDEX; + 8005c32: 2304 movs r3, #4 + 8005c34: 617b str r3, [r7, #20] + int max_num_index = i; + 8005c36: 697b ldr r3, [r7, #20] + 8005c38: 613b str r3, [r7, #16] + //struct compx temp=data[i]; + float temp = data[i].real; + 8005c3a: 697b ldr r3, [r7, #20] + 8005c3c: 00db lsls r3, r3, #3 + 8005c3e: 687a ldr r2, [r7, #4] + 8005c40: 4413 add r3, r2 + 8005c42: 681b ldr r3, [r3, #0] + 8005c44: 60fb str r3, [r7, #12] + for(i=START_INDEX;i + { + if(temp < data[i].real) + 8005c4c: 697b ldr r3, [r7, #20] + 8005c4e: 00db lsls r3, r3, #3 + 8005c50: 687a ldr r2, [r7, #4] + 8005c52: 4413 add r3, r2 + 8005c54: 681b ldr r3, [r3, #0] + 8005c56: 4619 mov r1, r3 + 8005c58: 68f8 ldr r0, [r7, #12] + 8005c5a: f7fb fa7d bl 8001158 <__aeabi_fcmplt> + 8005c5e: 4603 mov r3, r0 + 8005c60: 2b00 cmp r3, #0 + 8005c62: d007 beq.n 8005c74 + { + temp = data[i].real; + 8005c64: 697b ldr r3, [r7, #20] + 8005c66: 00db lsls r3, r3, #3 + 8005c68: 687a ldr r2, [r7, #4] + 8005c6a: 4413 add r3, r2 + 8005c6c: 681b ldr r3, [r3, #0] + 8005c6e: 60fb str r3, [r7, #12] + max_num_index = i; + 8005c70: 697b ldr r3, [r7, #20] + 8005c72: 613b str r3, [r7, #16] + for(i=START_INDEX;i + } + } + //printf("max_num_index=%d\r\n",max_num_index); + return max_num_index; + 8005c82: 693b ldr r3, [r7, #16] +} + 8005c84: 4618 mov r0, r3 + 8005c86: 3718 adds r7, #24 + 8005c88: 46bd mov sp, r7 + 8005c8a: bd80 pop {r7, pc} + 8005c8c: 0000 movs r0, r0 + ... + +08005c90 : + +//血液信息转换 +void blood_data_translate(void) +{ + 8005c90: b5b0 push {r4, r5, r7, lr} + 8005c92: b08c sub sp, #48 ; 0x30 + 8005c94: af00 add r7, sp, #0 + float n_denom; + uint16_t i; + //直流滤波 + float dc_red =0; + 8005c96: f04f 0300 mov.w r3, #0 + 8005c9a: 62bb str r3, [r7, #40] ; 0x28 + float dc_ir =0; + 8005c9c: f04f 0300 mov.w r3, #0 + 8005ca0: 627b str r3, [r7, #36] ; 0x24 + float ac_red =0; + 8005ca2: f04f 0300 mov.w r3, #0 + 8005ca6: 623b str r3, [r7, #32] + float ac_ir =0; + 8005ca8: f04f 0300 mov.w r3, #0 + 8005cac: 61fb str r3, [r7, #28] + for (i=0 ; i + { + dc_red += s1[i].real ; + 8005cb4: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005cb6: 4a56 ldr r2, [pc, #344] ; (8005e10 ) + 8005cb8: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005cbc: 4619 mov r1, r3 + 8005cbe: 6ab8 ldr r0, [r7, #40] ; 0x28 + 8005cc0: f7fa ffa4 bl 8000c0c <__addsf3> + 8005cc4: 4603 mov r3, r0 + 8005cc6: 62bb str r3, [r7, #40] ; 0x28 + dc_ir += s2[i].real ; + 8005cc8: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005cca: 4a52 ldr r2, [pc, #328] ; (8005e14 ) + 8005ccc: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005cd0: 4619 mov r1, r3 + 8005cd2: 6a78 ldr r0, [r7, #36] ; 0x24 + 8005cd4: f7fa ff9a bl 8000c0c <__addsf3> + 8005cd8: 4603 mov r3, r0 + 8005cda: 627b str r3, [r7, #36] ; 0x24 + for (i=0 ; i + } + dc_red =dc_red/FFT_N ; + 8005cea: f04f 4188 mov.w r1, #1140850688 ; 0x44000000 + 8005cee: 6ab8 ldr r0, [r7, #40] ; 0x28 + 8005cf0: f7fb f948 bl 8000f84 <__aeabi_fdiv> + 8005cf4: 4603 mov r3, r0 + 8005cf6: 62bb str r3, [r7, #40] ; 0x28 + dc_ir =dc_ir/FFT_N ; + 8005cf8: f04f 4188 mov.w r1, #1140850688 ; 0x44000000 + 8005cfc: 6a78 ldr r0, [r7, #36] ; 0x24 + 8005cfe: f7fb f941 bl 8000f84 <__aeabi_fdiv> + 8005d02: 4603 mov r3, r0 + 8005d04: 627b str r3, [r7, #36] ; 0x24 + for (i=0 ; i + { + s1[i].real = s1[i].real - dc_red ; + 8005d0c: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005d0e: 4a40 ldr r2, [pc, #256] ; (8005e10 ) + 8005d10: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005d14: 8dfc ldrh r4, [r7, #46] ; 0x2e + 8005d16: 6ab9 ldr r1, [r7, #40] ; 0x28 + 8005d18: 4618 mov r0, r3 + 8005d1a: f7fa ff75 bl 8000c08 <__aeabi_fsub> + 8005d1e: 4603 mov r3, r0 + 8005d20: 461a mov r2, r3 + 8005d22: 4b3b ldr r3, [pc, #236] ; (8005e10 ) + 8005d24: f843 2034 str.w r2, [r3, r4, lsl #3] + s2[i].real = s2[i].real - dc_ir ; + 8005d28: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005d2a: 4a3a ldr r2, [pc, #232] ; (8005e14 ) + 8005d2c: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005d30: 8dfc ldrh r4, [r7, #46] ; 0x2e + 8005d32: 6a79 ldr r1, [r7, #36] ; 0x24 + 8005d34: 4618 mov r0, r3 + 8005d36: f7fa ff67 bl 8000c08 <__aeabi_fsub> + 8005d3a: 4603 mov r3, r0 + 8005d3c: 461a mov r2, r3 + 8005d3e: 4b35 ldr r3, [pc, #212] ; (8005e14 ) + 8005d40: f843 2034 str.w r2, [r3, r4, lsl #3] + for (i=0 ; i + } + //移动平均滤波 + for(i = 1;i < FFT_N-1;i++) + 8005d52: 2301 movs r3, #1 + 8005d54: 85fb strh r3, [r7, #46] ; 0x2e + 8005d56: e054 b.n 8005e02 + { + n_denom= ( s1[i-1].real + 2*s1[i].real + s1[i+1].real); + 8005d58: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005d5a: 3b01 subs r3, #1 + 8005d5c: 4a2c ldr r2, [pc, #176] ; (8005e10 ) + 8005d5e: f852 4033 ldr.w r4, [r2, r3, lsl #3] + 8005d62: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005d64: 4a2a ldr r2, [pc, #168] ; (8005e10 ) + 8005d66: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005d6a: 4619 mov r1, r3 + 8005d6c: 4618 mov r0, r3 + 8005d6e: f7fa ff4d bl 8000c0c <__addsf3> + 8005d72: 4603 mov r3, r0 + 8005d74: 4619 mov r1, r3 + 8005d76: 4620 mov r0, r4 + 8005d78: f7fa ff48 bl 8000c0c <__addsf3> + 8005d7c: 4603 mov r3, r0 + 8005d7e: 4618 mov r0, r3 + 8005d80: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005d82: 3301 adds r3, #1 + 8005d84: 4a22 ldr r2, [pc, #136] ; (8005e10 ) + 8005d86: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005d8a: 4619 mov r1, r3 + 8005d8c: f7fa ff3e bl 8000c0c <__addsf3> + 8005d90: 4603 mov r3, r0 + 8005d92: 607b str r3, [r7, #4] + s1[i].real= n_denom/4.00; + 8005d94: 8dfc ldrh r4, [r7, #46] ; 0x2e + 8005d96: f04f 4181 mov.w r1, #1082130432 ; 0x40800000 + 8005d9a: 6878 ldr r0, [r7, #4] + 8005d9c: f7fb f8f2 bl 8000f84 <__aeabi_fdiv> + 8005da0: 4603 mov r3, r0 + 8005da2: 461a mov r2, r3 + 8005da4: 4b1a ldr r3, [pc, #104] ; (8005e10 ) + 8005da6: f843 2034 str.w r2, [r3, r4, lsl #3] + + n_denom= ( s2[i-1].real + 2*s2[i].real + s2[i+1].real); + 8005daa: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005dac: 3b01 subs r3, #1 + 8005dae: 4a19 ldr r2, [pc, #100] ; (8005e14 ) + 8005db0: f852 4033 ldr.w r4, [r2, r3, lsl #3] + 8005db4: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005db6: 4a17 ldr r2, [pc, #92] ; (8005e14 ) + 8005db8: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005dbc: 4619 mov r1, r3 + 8005dbe: 4618 mov r0, r3 + 8005dc0: f7fa ff24 bl 8000c0c <__addsf3> + 8005dc4: 4603 mov r3, r0 + 8005dc6: 4619 mov r1, r3 + 8005dc8: 4620 mov r0, r4 + 8005dca: f7fa ff1f bl 8000c0c <__addsf3> + 8005dce: 4603 mov r3, r0 + 8005dd0: 4618 mov r0, r3 + 8005dd2: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005dd4: 3301 adds r3, #1 + 8005dd6: 4a0f ldr r2, [pc, #60] ; (8005e14 ) + 8005dd8: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005ddc: 4619 mov r1, r3 + 8005dde: f7fa ff15 bl 8000c0c <__addsf3> + 8005de2: 4603 mov r3, r0 + 8005de4: 607b str r3, [r7, #4] + s2[i].real= n_denom/4.00; + 8005de6: 8dfc ldrh r4, [r7, #46] ; 0x2e + 8005de8: f04f 4181 mov.w r1, #1082130432 ; 0x40800000 + 8005dec: 6878 ldr r0, [r7, #4] + 8005dee: f7fb f8c9 bl 8000f84 <__aeabi_fdiv> + 8005df2: 4603 mov r3, r0 + 8005df4: 461a mov r2, r3 + 8005df6: 4b07 ldr r3, [pc, #28] ; (8005e14 ) + 8005df8: f843 2034 str.w r2, [r3, r4, lsl #3] + for(i = 1;i < FFT_N-1;i++) + 8005dfc: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005dfe: 3301 adds r3, #1 + 8005e00: 85fb strh r3, [r7, #46] ; 0x2e + 8005e02: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005e04: f5b3 7fff cmp.w r3, #510 ; 0x1fe + 8005e08: d9a6 bls.n 8005d58 + } + //八点平均滤波 + for(i = 0;i < FFT_N-8;i++) + 8005e0a: 2300 movs r3, #0 + 8005e0c: 85fb strh r3, [r7, #46] ; 0x2e + 8005e0e: e0b2 b.n 8005f76 + 8005e10: 20000348 .word 0x20000348 + 8005e14: 200013c8 .word 0x200013c8 + { + n_denom= ( s1[i].real+s1[i+1].real+ s1[i+2].real+ s1[i+3].real+ s1[i+4].real+ s1[i+5].real+ s1[i+6].real+ s1[i+7].real); + 8005e18: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005e1a: 4a8e ldr r2, [pc, #568] ; (8006054 ) + 8005e1c: f852 2033 ldr.w r2, [r2, r3, lsl #3] + 8005e20: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005e22: 3301 adds r3, #1 + 8005e24: 498b ldr r1, [pc, #556] ; (8006054 ) + 8005e26: f851 3033 ldr.w r3, [r1, r3, lsl #3] + 8005e2a: 4619 mov r1, r3 + 8005e2c: 4610 mov r0, r2 + 8005e2e: f7fa feed bl 8000c0c <__addsf3> + 8005e32: 4603 mov r3, r0 + 8005e34: 4618 mov r0, r3 + 8005e36: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005e38: 3302 adds r3, #2 + 8005e3a: 4a86 ldr r2, [pc, #536] ; (8006054 ) + 8005e3c: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005e40: 4619 mov r1, r3 + 8005e42: f7fa fee3 bl 8000c0c <__addsf3> + 8005e46: 4603 mov r3, r0 + 8005e48: 4618 mov r0, r3 + 8005e4a: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005e4c: 3303 adds r3, #3 + 8005e4e: 4a81 ldr r2, [pc, #516] ; (8006054 ) + 8005e50: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005e54: 4619 mov r1, r3 + 8005e56: f7fa fed9 bl 8000c0c <__addsf3> + 8005e5a: 4603 mov r3, r0 + 8005e5c: 4618 mov r0, r3 + 8005e5e: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005e60: 3304 adds r3, #4 + 8005e62: 4a7c ldr r2, [pc, #496] ; (8006054 ) + 8005e64: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005e68: 4619 mov r1, r3 + 8005e6a: f7fa fecf bl 8000c0c <__addsf3> + 8005e6e: 4603 mov r3, r0 + 8005e70: 4618 mov r0, r3 + 8005e72: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005e74: 3305 adds r3, #5 + 8005e76: 4a77 ldr r2, [pc, #476] ; (8006054 ) + 8005e78: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005e7c: 4619 mov r1, r3 + 8005e7e: f7fa fec5 bl 8000c0c <__addsf3> + 8005e82: 4603 mov r3, r0 + 8005e84: 4618 mov r0, r3 + 8005e86: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005e88: 3306 adds r3, #6 + 8005e8a: 4a72 ldr r2, [pc, #456] ; (8006054 ) + 8005e8c: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005e90: 4619 mov r1, r3 + 8005e92: f7fa febb bl 8000c0c <__addsf3> + 8005e96: 4603 mov r3, r0 + 8005e98: 4618 mov r0, r3 + 8005e9a: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005e9c: 3307 adds r3, #7 + 8005e9e: 4a6d ldr r2, [pc, #436] ; (8006054 ) + 8005ea0: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005ea4: 4619 mov r1, r3 + 8005ea6: f7fa feb1 bl 8000c0c <__addsf3> + 8005eaa: 4603 mov r3, r0 + 8005eac: 607b str r3, [r7, #4] + s1[i].real= n_denom/8.00; + 8005eae: 8dfc ldrh r4, [r7, #46] ; 0x2e + 8005eb0: f04f 4182 mov.w r1, #1090519040 ; 0x41000000 + 8005eb4: 6878 ldr r0, [r7, #4] + 8005eb6: f7fb f865 bl 8000f84 <__aeabi_fdiv> + 8005eba: 4603 mov r3, r0 + 8005ebc: 461a mov r2, r3 + 8005ebe: 4b65 ldr r3, [pc, #404] ; (8006054 ) + 8005ec0: f843 2034 str.w r2, [r3, r4, lsl #3] + + n_denom= ( s2[i].real+s2[i+1].real+ s2[i+2].real+ s2[i+3].real+ s2[i+4].real+ s2[i+5].real+ s2[i+6].real+ s2[i+7].real); + 8005ec4: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005ec6: 4a64 ldr r2, [pc, #400] ; (8006058 ) + 8005ec8: f852 2033 ldr.w r2, [r2, r3, lsl #3] + 8005ecc: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005ece: 3301 adds r3, #1 + 8005ed0: 4961 ldr r1, [pc, #388] ; (8006058 ) + 8005ed2: f851 3033 ldr.w r3, [r1, r3, lsl #3] + 8005ed6: 4619 mov r1, r3 + 8005ed8: 4610 mov r0, r2 + 8005eda: f7fa fe97 bl 8000c0c <__addsf3> + 8005ede: 4603 mov r3, r0 + 8005ee0: 4618 mov r0, r3 + 8005ee2: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005ee4: 3302 adds r3, #2 + 8005ee6: 4a5c ldr r2, [pc, #368] ; (8006058 ) + 8005ee8: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005eec: 4619 mov r1, r3 + 8005eee: f7fa fe8d bl 8000c0c <__addsf3> + 8005ef2: 4603 mov r3, r0 + 8005ef4: 4618 mov r0, r3 + 8005ef6: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005ef8: 3303 adds r3, #3 + 8005efa: 4a57 ldr r2, [pc, #348] ; (8006058 ) + 8005efc: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005f00: 4619 mov r1, r3 + 8005f02: f7fa fe83 bl 8000c0c <__addsf3> + 8005f06: 4603 mov r3, r0 + 8005f08: 4618 mov r0, r3 + 8005f0a: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005f0c: 3304 adds r3, #4 + 8005f0e: 4a52 ldr r2, [pc, #328] ; (8006058 ) + 8005f10: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005f14: 4619 mov r1, r3 + 8005f16: f7fa fe79 bl 8000c0c <__addsf3> + 8005f1a: 4603 mov r3, r0 + 8005f1c: 4618 mov r0, r3 + 8005f1e: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005f20: 3305 adds r3, #5 + 8005f22: 4a4d ldr r2, [pc, #308] ; (8006058 ) + 8005f24: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005f28: 4619 mov r1, r3 + 8005f2a: f7fa fe6f bl 8000c0c <__addsf3> + 8005f2e: 4603 mov r3, r0 + 8005f30: 4618 mov r0, r3 + 8005f32: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005f34: 3306 adds r3, #6 + 8005f36: 4a48 ldr r2, [pc, #288] ; (8006058 ) + 8005f38: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005f3c: 4619 mov r1, r3 + 8005f3e: f7fa fe65 bl 8000c0c <__addsf3> + 8005f42: 4603 mov r3, r0 + 8005f44: 4618 mov r0, r3 + 8005f46: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005f48: 3307 adds r3, #7 + 8005f4a: 4a43 ldr r2, [pc, #268] ; (8006058 ) + 8005f4c: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8005f50: 4619 mov r1, r3 + 8005f52: f7fa fe5b bl 8000c0c <__addsf3> + 8005f56: 4603 mov r3, r0 + 8005f58: 607b str r3, [r7, #4] + s2[i].real= n_denom/8.00; + 8005f5a: 8dfc ldrh r4, [r7, #46] ; 0x2e + 8005f5c: f04f 4182 mov.w r1, #1090519040 ; 0x41000000 + 8005f60: 6878 ldr r0, [r7, #4] + 8005f62: f7fb f80f bl 8000f84 <__aeabi_fdiv> + 8005f66: 4603 mov r3, r0 + 8005f68: 461a mov r2, r3 + 8005f6a: 4b3b ldr r3, [pc, #236] ; (8006058 ) + 8005f6c: f843 2034 str.w r2, [r3, r4, lsl #3] + for(i = 0;i < FFT_N-8;i++) + 8005f70: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005f72: 3301 adds r3, #1 + 8005f74: 85fb strh r3, [r7, #46] ; 0x2e + 8005f76: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005f78: f5b3 7ffc cmp.w r3, #504 ; 0x1f8 + 8005f7c: f4ff af4c bcc.w 8005e18 + } + //开始变换显示 + g_fft_index = 0; + 8005f80: 4b36 ldr r3, [pc, #216] ; (800605c ) + 8005f82: 2200 movs r2, #0 + 8005f84: 801a strh r2, [r3, #0] + //快速傅里叶变换 + FFT(s1); + 8005f86: 4833 ldr r0, [pc, #204] ; (8006054 ) + 8005f88: f7ff fd2e bl 80059e8 + FFT(s2); + 8005f8c: 4832 ldr r0, [pc, #200] ; (8006058 ) + 8005f8e: f7ff fd2b bl 80059e8 + //解平方 + for(i = 0;i < FFT_N;i++) + 8005f92: 2300 movs r3, #0 + 8005f94: 85fb strh r3, [r7, #46] ; 0x2e + 8005f96: e056 b.n 8006046 + { + s1[i].real=sqrtf(s1[i].real*s1[i].real+s1[i].imag*s1[i].imag); + 8005f98: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005f9a: 4a2e ldr r2, [pc, #184] ; (8006054 ) + 8005f9c: f852 2033 ldr.w r2, [r2, r3, lsl #3] + 8005fa0: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005fa2: 492c ldr r1, [pc, #176] ; (8006054 ) + 8005fa4: f851 3033 ldr.w r3, [r1, r3, lsl #3] + 8005fa8: 4619 mov r1, r3 + 8005faa: 4610 mov r0, r2 + 8005fac: f7fa ff36 bl 8000e1c <__aeabi_fmul> + 8005fb0: 4603 mov r3, r0 + 8005fb2: 461c mov r4, r3 + 8005fb4: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005fb6: 4a27 ldr r2, [pc, #156] ; (8006054 ) + 8005fb8: 00db lsls r3, r3, #3 + 8005fba: 4413 add r3, r2 + 8005fbc: 685a ldr r2, [r3, #4] + 8005fbe: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005fc0: 4924 ldr r1, [pc, #144] ; (8006054 ) + 8005fc2: 00db lsls r3, r3, #3 + 8005fc4: 440b add r3, r1 + 8005fc6: 685b ldr r3, [r3, #4] + 8005fc8: 4619 mov r1, r3 + 8005fca: 4610 mov r0, r2 + 8005fcc: f7fa ff26 bl 8000e1c <__aeabi_fmul> + 8005fd0: 4603 mov r3, r0 + 8005fd2: 4619 mov r1, r3 + 8005fd4: 4620 mov r0, r4 + 8005fd6: f7fa fe19 bl 8000c0c <__addsf3> + 8005fda: 4603 mov r3, r0 + 8005fdc: 8dfc ldrh r4, [r7, #46] ; 0x2e + 8005fde: 4618 mov r0, r3 + 8005fe0: f003 fbe6 bl 80097b0 + 8005fe4: 4603 mov r3, r0 + 8005fe6: 4a1b ldr r2, [pc, #108] ; (8006054 ) + 8005fe8: f842 3034 str.w r3, [r2, r4, lsl #3] + s1[i].real=sqrtf(s2[i].real*s2[i].real+s2[i].imag*s2[i].imag); + 8005fec: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005fee: 4a1a ldr r2, [pc, #104] ; (8006058 ) + 8005ff0: f852 2033 ldr.w r2, [r2, r3, lsl #3] + 8005ff4: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8005ff6: 4918 ldr r1, [pc, #96] ; (8006058 ) + 8005ff8: f851 3033 ldr.w r3, [r1, r3, lsl #3] + 8005ffc: 4619 mov r1, r3 + 8005ffe: 4610 mov r0, r2 + 8006000: f7fa ff0c bl 8000e1c <__aeabi_fmul> + 8006004: 4603 mov r3, r0 + 8006006: 461c mov r4, r3 + 8006008: 8dfb ldrh r3, [r7, #46] ; 0x2e + 800600a: 4a13 ldr r2, [pc, #76] ; (8006058 ) + 800600c: 00db lsls r3, r3, #3 + 800600e: 4413 add r3, r2 + 8006010: 685a ldr r2, [r3, #4] + 8006012: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8006014: 4910 ldr r1, [pc, #64] ; (8006058 ) + 8006016: 00db lsls r3, r3, #3 + 8006018: 440b add r3, r1 + 800601a: 685b ldr r3, [r3, #4] + 800601c: 4619 mov r1, r3 + 800601e: 4610 mov r0, r2 + 8006020: f7fa fefc bl 8000e1c <__aeabi_fmul> + 8006024: 4603 mov r3, r0 + 8006026: 4619 mov r1, r3 + 8006028: 4620 mov r0, r4 + 800602a: f7fa fdef bl 8000c0c <__addsf3> + 800602e: 4603 mov r3, r0 + 8006030: 8dfc ldrh r4, [r7, #46] ; 0x2e + 8006032: 4618 mov r0, r3 + 8006034: f003 fbbc bl 80097b0 + 8006038: 4603 mov r3, r0 + 800603a: 4a06 ldr r2, [pc, #24] ; (8006054 ) + 800603c: f842 3034 str.w r3, [r2, r4, lsl #3] + for(i = 0;i < FFT_N;i++) + 8006040: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8006042: 3301 adds r3, #1 + 8006044: 85fb strh r3, [r7, #46] ; 0x2e + 8006046: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8006048: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 800604c: d3a4 bcc.n 8005f98 + } + //计算交流分量 + for (i=1 ; i + 8006054: 20000348 .word 0x20000348 + 8006058: 200013c8 .word 0x200013c8 + 800605c: 20000204 .word 0x20000204 + { + ac_red += s1[i].real ; + 8006060: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8006062: 4a55 ldr r2, [pc, #340] ; (80061b8 ) + 8006064: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 8006068: 4619 mov r1, r3 + 800606a: 6a38 ldr r0, [r7, #32] + 800606c: f7fa fdce bl 8000c0c <__addsf3> + 8006070: 4603 mov r3, r0 + 8006072: 623b str r3, [r7, #32] + ac_ir += s2[i].real ; + 8006074: 8dfb ldrh r3, [r7, #46] ; 0x2e + 8006076: 4a51 ldr r2, [pc, #324] ; (80061bc ) + 8006078: f852 3033 ldr.w r3, [r2, r3, lsl #3] + 800607c: 4619 mov r1, r3 + 800607e: 69f8 ldr r0, [r7, #28] + 8006080: f7fa fdc4 bl 8000c0c <__addsf3> + 8006084: 4603 mov r3, r0 + 8006086: 61fb str r3, [r7, #28] + for (i=1 ; i + } + + //读取峰值点的横坐标 结果的物理意义为 + int s1_max_index = find_max_num_index(s1, 30); + 8006096: 211e movs r1, #30 + 8006098: 4847 ldr r0, [pc, #284] ; (80061b8 ) + 800609a: f7ff fdc5 bl 8005c28 + 800609e: 61b8 str r0, [r7, #24] + int s2_max_index = find_max_num_index(s2, 30); + 80060a0: 211e movs r1, #30 + 80060a2: 4846 ldr r0, [pc, #280] ; (80061bc ) + 80060a4: f7ff fdc0 bl 8005c28 + 80060a8: 6178 str r0, [r7, #20] + + + float Heart_Rate = 60.00 * ((100.0 * s1_max_index )/ 512.00); + 80060aa: 69b8 ldr r0, [r7, #24] + 80060ac: f7fa fa16 bl 80004dc <__aeabi_i2d> + 80060b0: f04f 0200 mov.w r2, #0 + 80060b4: 4b42 ldr r3, [pc, #264] ; (80061c0 ) + 80060b6: f7fa fa7b bl 80005b0 <__aeabi_dmul> + 80060ba: 4602 mov r2, r0 + 80060bc: 460b mov r3, r1 + 80060be: 4610 mov r0, r2 + 80060c0: 4619 mov r1, r3 + 80060c2: f04f 0200 mov.w r2, #0 + 80060c6: f04f 4381 mov.w r3, #1082130432 ; 0x40800000 + 80060ca: f7fa fb9b bl 8000804 <__aeabi_ddiv> + 80060ce: 4602 mov r2, r0 + 80060d0: 460b mov r3, r1 + 80060d2: 4610 mov r0, r2 + 80060d4: 4619 mov r1, r3 + 80060d6: f04f 0200 mov.w r2, #0 + 80060da: 4b3a ldr r3, [pc, #232] ; (80061c4 ) + 80060dc: f7fa fa68 bl 80005b0 <__aeabi_dmul> + 80060e0: 4602 mov r2, r0 + 80060e2: 460b mov r3, r1 + 80060e4: 4610 mov r0, r2 + 80060e6: 4619 mov r1, r3 + 80060e8: f7fa fd3a bl 8000b60 <__aeabi_d2f> + 80060ec: 4603 mov r3, r0 + 80060ee: 613b str r3, [r7, #16] + + g_blooddata.heart = Heart_Rate; + 80060f0: 6938 ldr r0, [r7, #16] + 80060f2: f7fb f86f bl 80011d4 <__aeabi_f2iz> + 80060f6: 4603 mov r3, r0 + 80060f8: 4a33 ldr r2, [pc, #204] ; (80061c8 ) + 80060fa: 6013 str r3, [r2, #0] + + float R = (ac_ir*dc_red)/(ac_red*dc_ir); + 80060fc: 6ab9 ldr r1, [r7, #40] ; 0x28 + 80060fe: 69f8 ldr r0, [r7, #28] + 8006100: f7fa fe8c bl 8000e1c <__aeabi_fmul> + 8006104: 4603 mov r3, r0 + 8006106: 461c mov r4, r3 + 8006108: 6a79 ldr r1, [r7, #36] ; 0x24 + 800610a: 6a38 ldr r0, [r7, #32] + 800610c: f7fa fe86 bl 8000e1c <__aeabi_fmul> + 8006110: 4603 mov r3, r0 + 8006112: 4619 mov r1, r3 + 8006114: 4620 mov r0, r4 + 8006116: f7fa ff35 bl 8000f84 <__aeabi_fdiv> + 800611a: 4603 mov r3, r0 + 800611c: 60fb str r3, [r7, #12] + float sp02_num =-45.060*R*R+ 30.354 *R + 94.845; + 800611e: 68f8 ldr r0, [r7, #12] + 8006120: f7fa f9ee bl 8000500 <__aeabi_f2d> + 8006124: a31e add r3, pc, #120 ; (adr r3, 80061a0 ) + 8006126: e9d3 2300 ldrd r2, r3, [r3] + 800612a: f7fa fa41 bl 80005b0 <__aeabi_dmul> + 800612e: 4602 mov r2, r0 + 8006130: 460b mov r3, r1 + 8006132: 4614 mov r4, r2 + 8006134: 461d mov r5, r3 + 8006136: 68f8 ldr r0, [r7, #12] + 8006138: f7fa f9e2 bl 8000500 <__aeabi_f2d> + 800613c: 4602 mov r2, r0 + 800613e: 460b mov r3, r1 + 8006140: 4620 mov r0, r4 + 8006142: 4629 mov r1, r5 + 8006144: f7fa fa34 bl 80005b0 <__aeabi_dmul> + 8006148: 4602 mov r2, r0 + 800614a: 460b mov r3, r1 + 800614c: 4614 mov r4, r2 + 800614e: 461d mov r5, r3 + 8006150: 68f8 ldr r0, [r7, #12] + 8006152: f7fa f9d5 bl 8000500 <__aeabi_f2d> + 8006156: a314 add r3, pc, #80 ; (adr r3, 80061a8 ) + 8006158: e9d3 2300 ldrd r2, r3, [r3] + 800615c: f7fa fa28 bl 80005b0 <__aeabi_dmul> + 8006160: 4602 mov r2, r0 + 8006162: 460b mov r3, r1 + 8006164: 4620 mov r0, r4 + 8006166: 4629 mov r1, r5 + 8006168: f7fa f86c bl 8000244 <__adddf3> + 800616c: 4602 mov r2, r0 + 800616e: 460b mov r3, r1 + 8006170: 4610 mov r0, r2 + 8006172: 4619 mov r1, r3 + 8006174: a30e add r3, pc, #56 ; (adr r3, 80061b0 ) + 8006176: e9d3 2300 ldrd r2, r3, [r3] + 800617a: f7fa f863 bl 8000244 <__adddf3> + 800617e: 4602 mov r2, r0 + 8006180: 460b mov r3, r1 + 8006182: 4610 mov r0, r2 + 8006184: 4619 mov r1, r3 + 8006186: f7fa fceb bl 8000b60 <__aeabi_d2f> + 800618a: 4603 mov r3, r0 + 800618c: 60bb str r3, [r7, #8] + g_blooddata.SpO2 = sp02_num; + 800618e: 4a0e ldr r2, [pc, #56] ; (80061c8 ) + 8006190: 68bb ldr r3, [r7, #8] + 8006192: 6053 str r3, [r2, #4] + + +} + 8006194: bf00 nop + 8006196: 3730 adds r7, #48 ; 0x30 + 8006198: 46bd mov sp, r7 + 800619a: bdb0 pop {r4, r5, r7, pc} + 800619c: f3af 8000 nop.w + 80061a0: 147ae148 .word 0x147ae148 + 80061a4: c04687ae .word 0xc04687ae + 80061a8: be76c8b4 .word 0xbe76c8b4 + 80061ac: 403e5a9f .word 0x403e5a9f + 80061b0: 7ae147ae .word 0x7ae147ae + 80061b4: 4057b614 .word 0x4057b614 + 80061b8: 20000348 .word 0x20000348 + 80061bc: 200013c8 .word 0x200013c8 + 80061c0: 40590000 .word 0x40590000 + 80061c4: 404e0000 .word 0x404e0000 + 80061c8: 20000208 .word 0x20000208 + +080061cc : void APP_blood_loop() { - 80053ec: b580 push {r7, lr} - 80053ee: b082 sub sp, #8 - 80053f0: af02 add r7, sp, #8 - max30102_read_fifo(); - 80053f2: f7ff ff69 bl 80052c8 + 80061cc: b590 push {r4, r7, lr} + 80061ce: b083 sub sp, #12 + 80061d0: af02 add r7, sp, #8 + + //标志位被使能时 读取FIFO + g_fft_index=0; + 80061d2: 4b68 ldr r3, [pc, #416] ; (8006374 ) + 80061d4: 2200 movs r2, #0 + 80061d6: 801a strh r2, [r3, #0] + + while(g_fft_index < FFT_N) + 80061d8: e03c b.n 8006254 + { + while(MAX30102_INTPin_Read()==0) + { + //读取FIFO + max30102_read_fifo(); //read from MAX30102 FIFO2 + 80061da: f7ff f901 bl 80053e0 + //将数据写入fft输入并清除输出 + if(g_fft_index < FFT_N) + 80061de: 4b65 ldr r3, [pc, #404] ; (8006374 ) + 80061e0: 881b ldrh r3, [r3, #0] + 80061e2: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 80061e6: d22d bcs.n 8006244 + { + //将数据写入fft输入并清除输出 + s1[g_fft_index].real = fifo_red; + 80061e8: 4b63 ldr r3, [pc, #396] ; (8006378 ) + 80061ea: 881b ldrh r3, [r3, #0] + 80061ec: 4a61 ldr r2, [pc, #388] ; (8006374 ) + 80061ee: 8812 ldrh r2, [r2, #0] + 80061f0: 4614 mov r4, r2 + 80061f2: 4618 mov r0, r3 + 80061f4: f7fa fdba bl 8000d6c <__aeabi_ui2f> + 80061f8: 4603 mov r3, r0 + 80061fa: 4a60 ldr r2, [pc, #384] ; (800637c ) + 80061fc: f842 3034 str.w r3, [r2, r4, lsl #3] + s1[g_fft_index].imag= 0; + 8006200: 4b5c ldr r3, [pc, #368] ; (8006374 ) + 8006202: 881b ldrh r3, [r3, #0] + 8006204: 4a5d ldr r2, [pc, #372] ; (800637c ) + 8006206: 00db lsls r3, r3, #3 + 8006208: 4413 add r3, r2 + 800620a: f04f 0200 mov.w r2, #0 + 800620e: 605a str r2, [r3, #4] + s2[g_fft_index].real = fifo_ir; + 8006210: 4b5b ldr r3, [pc, #364] ; (8006380 ) + 8006212: 881b ldrh r3, [r3, #0] + 8006214: 4a57 ldr r2, [pc, #348] ; (8006374 ) + 8006216: 8812 ldrh r2, [r2, #0] + 8006218: 4614 mov r4, r2 + 800621a: 4618 mov r0, r3 + 800621c: f7fa fda6 bl 8000d6c <__aeabi_ui2f> + 8006220: 4603 mov r3, r0 + 8006222: 4a58 ldr r2, [pc, #352] ; (8006384 ) + 8006224: f842 3034 str.w r3, [r2, r4, lsl #3] + s2[g_fft_index].imag= 0; + 8006228: 4b52 ldr r3, [pc, #328] ; (8006374 ) + 800622a: 881b ldrh r3, [r3, #0] + 800622c: 4a55 ldr r2, [pc, #340] ; (8006384 ) + 800622e: 00db lsls r3, r3, #3 + 8006230: 4413 add r3, r2 + 8006232: f04f 0200 mov.w r2, #0 + 8006236: 605a str r2, [r3, #4] + g_fft_index++; + 8006238: 4b4e ldr r3, [pc, #312] ; (8006374 ) + 800623a: 881b ldrh r3, [r3, #0] + 800623c: 3301 adds r3, #1 + 800623e: b29a uxth r2, r3 + 8006240: 4b4c ldr r3, [pc, #304] ; (8006374 ) + 8006242: 801a strh r2, [r3, #0] + while(MAX30102_INTPin_Read()==0) + 8006244: f44f 5100 mov.w r1, #8192 ; 0x2000 + 8006248: 484f ldr r0, [pc, #316] ; (8006388 ) + 800624a: f7fb fe79 bl 8001f40 + 800624e: 4603 mov r3, r0 + 8006250: 2b00 cmp r3, #0 + 8006252: d0c2 beq.n 80061da + while(g_fft_index < FFT_N) + 8006254: 4b47 ldr r3, [pc, #284] ; (8006374 ) + 8006256: 881b ldrh r3, [r3, #0] + 8006258: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 800625c: d3f2 bcc.n 8006244 + s2[a].real = fifo_ir; + s2[a].imag= 0; + } +*/ + //max30102_read_fifo(); + blood_data_translate(); + 800625e: f7ff fd17 bl 8005c90 + sprintf(blood_str,"fifo_red:%d",fifo_red); - 80053f6: 4b29 ldr r3, [pc, #164] ; (800549c ) - 80053f8: 881b ldrh r3, [r3, #0] - 80053fa: 461a mov r2, r3 - 80053fc: 4928 ldr r1, [pc, #160] ; (80054a0 ) - 80053fe: 4829 ldr r0, [pc, #164] ; (80054a4 ) - 8005400: f001 f8e4 bl 80065cc + 8006262: 4b45 ldr r3, [pc, #276] ; (8006378 ) + 8006264: 881b ldrh r3, [r3, #0] + 8006266: 461a mov r2, r3 + 8006268: 4948 ldr r1, [pc, #288] ; (800638c ) + 800626a: 4849 ldr r0, [pc, #292] ; (8006390 ) + 800626c: f001 f926 bl 80074bc LCD_ShowString(blood_win->x, blood_win->y+16, &blood_str, 16, WHITE, RED); - 8005404: 4b28 ldr r3, [pc, #160] ; (80054a8 ) - 8005406: 681b ldr r3, [r3, #0] - 8005408: 8818 ldrh r0, [r3, #0] - 800540a: 4b27 ldr r3, [pc, #156] ; (80054a8 ) - 800540c: 681b ldr r3, [r3, #0] - 800540e: 885b ldrh r3, [r3, #2] - 8005410: 3310 adds r3, #16 - 8005412: b299 uxth r1, r3 - 8005414: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8005418: 9301 str r3, [sp, #4] - 800541a: f64f 73ff movw r3, #65535 ; 0xffff - 800541e: 9300 str r3, [sp, #0] - 8005420: 2310 movs r3, #16 - 8005422: 4a20 ldr r2, [pc, #128] ; (80054a4 ) - 8005424: f7ff f87a bl 800451c + 8006270: 4b48 ldr r3, [pc, #288] ; (8006394 ) + 8006272: 681b ldr r3, [r3, #0] + 8006274: 8818 ldrh r0, [r3, #0] + 8006276: 4b47 ldr r3, [pc, #284] ; (8006394 ) + 8006278: 681b ldr r3, [r3, #0] + 800627a: 885b ldrh r3, [r3, #2] + 800627c: 3310 adds r3, #16 + 800627e: b299 uxth r1, r3 + 8006280: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8006284: 9301 str r3, [sp, #4] + 8006286: f64f 73ff movw r3, #65535 ; 0xffff + 800628a: 9300 str r3, [sp, #0] + 800628c: 2310 movs r3, #16 + 800628e: 4a40 ldr r2, [pc, #256] ; (8006390 ) + 8006290: f7fe f9d0 bl 8004634 sprintf(blood_str,"fifo_ir:%d",fifo_ir); - 8005428: 4b20 ldr r3, [pc, #128] ; (80054ac ) - 800542a: 881b ldrh r3, [r3, #0] - 800542c: 461a mov r2, r3 - 800542e: 4920 ldr r1, [pc, #128] ; (80054b0 ) - 8005430: 481c ldr r0, [pc, #112] ; (80054a4 ) - 8005432: f001 f8cb bl 80065cc + 8006294: 4b3a ldr r3, [pc, #232] ; (8006380 ) + 8006296: 881b ldrh r3, [r3, #0] + 8006298: 461a mov r2, r3 + 800629a: 493f ldr r1, [pc, #252] ; (8006398 ) + 800629c: 483c ldr r0, [pc, #240] ; (8006390 ) + 800629e: f001 f90d bl 80074bc LCD_ShowString(blood_win->x, blood_win->y+32, &blood_str, 16, WHITE, RED); - 8005436: 4b1c ldr r3, [pc, #112] ; (80054a8 ) - 8005438: 681b ldr r3, [r3, #0] - 800543a: 8818 ldrh r0, [r3, #0] - 800543c: 4b1a ldr r3, [pc, #104] ; (80054a8 ) - 800543e: 681b ldr r3, [r3, #0] - 8005440: 885b ldrh r3, [r3, #2] - 8005442: 3320 adds r3, #32 - 8005444: b299 uxth r1, r3 - 8005446: f44f 4378 mov.w r3, #63488 ; 0xf800 - 800544a: 9301 str r3, [sp, #4] - 800544c: f64f 73ff movw r3, #65535 ; 0xffff - 8005450: 9300 str r3, [sp, #0] - 8005452: 2310 movs r3, #16 - 8005454: 4a13 ldr r2, [pc, #76] ; (80054a4 ) - 8005456: f7ff f861 bl 800451c - sprintf(blood_str,"INT:%d",HAL_GPIO_ReadPin(MAX_INT_GPIO_Port, MAX_INT_Pin)); - 800545a: f44f 5100 mov.w r1, #8192 ; 0x2000 - 800545e: 4815 ldr r0, [pc, #84] ; (80054b4 ) - 8005460: f7fc fce2 bl 8001e28 - 8005464: 4603 mov r3, r0 - 8005466: 461a mov r2, r3 - 8005468: 4913 ldr r1, [pc, #76] ; (80054b8 ) - 800546a: 480e ldr r0, [pc, #56] ; (80054a4 ) - 800546c: f001 f8ae bl 80065cc + 80062a2: 4b3c ldr r3, [pc, #240] ; (8006394 ) + 80062a4: 681b ldr r3, [r3, #0] + 80062a6: 8818 ldrh r0, [r3, #0] + 80062a8: 4b3a ldr r3, [pc, #232] ; (8006394 ) + 80062aa: 681b ldr r3, [r3, #0] + 80062ac: 885b ldrh r3, [r3, #2] + 80062ae: 3320 adds r3, #32 + 80062b0: b299 uxth r1, r3 + 80062b2: f44f 4378 mov.w r3, #63488 ; 0xf800 + 80062b6: 9301 str r3, [sp, #4] + 80062b8: f64f 73ff movw r3, #65535 ; 0xffff + 80062bc: 9300 str r3, [sp, #0] + 80062be: 2310 movs r3, #16 + 80062c0: 4a33 ldr r2, [pc, #204] ; (8006390 ) + 80062c2: f7fe f9b7 bl 8004634 + + sprintf(blood_str,"heart:%04d",g_blooddata.heart); + 80062c6: 4b35 ldr r3, [pc, #212] ; (800639c ) + 80062c8: 681b ldr r3, [r3, #0] + 80062ca: 461a mov r2, r3 + 80062cc: 4934 ldr r1, [pc, #208] ; (80063a0 ) + 80062ce: 4830 ldr r0, [pc, #192] ; (8006390 ) + 80062d0: f001 f8f4 bl 80074bc LCD_ShowString(blood_win->x, blood_win->y+48, &blood_str, 16, WHITE, RED); - 8005470: 4b0d ldr r3, [pc, #52] ; (80054a8 ) - 8005472: 681b ldr r3, [r3, #0] - 8005474: 8818 ldrh r0, [r3, #0] - 8005476: 4b0c ldr r3, [pc, #48] ; (80054a8 ) - 8005478: 681b ldr r3, [r3, #0] - 800547a: 885b ldrh r3, [r3, #2] - 800547c: 3330 adds r3, #48 ; 0x30 - 800547e: b299 uxth r1, r3 - 8005480: f44f 4378 mov.w r3, #63488 ; 0xf800 - 8005484: 9301 str r3, [sp, #4] - 8005486: f64f 73ff movw r3, #65535 ; 0xffff - 800548a: 9300 str r3, [sp, #0] - 800548c: 2310 movs r3, #16 - 800548e: 4a05 ldr r2, [pc, #20] ; (80054a4 ) - 8005490: f7ff f844 bl 800451c + 80062d4: 4b2f ldr r3, [pc, #188] ; (8006394 ) + 80062d6: 681b ldr r3, [r3, #0] + 80062d8: 8818 ldrh r0, [r3, #0] + 80062da: 4b2e ldr r3, [pc, #184] ; (8006394 ) + 80062dc: 681b ldr r3, [r3, #0] + 80062de: 885b ldrh r3, [r3, #2] + 80062e0: 3330 adds r3, #48 ; 0x30 + 80062e2: b299 uxth r1, r3 + 80062e4: f44f 4378 mov.w r3, #63488 ; 0xf800 + 80062e8: 9301 str r3, [sp, #4] + 80062ea: f64f 73ff movw r3, #65535 ; 0xffff + 80062ee: 9300 str r3, [sp, #0] + 80062f0: 2310 movs r3, #16 + 80062f2: 4a27 ldr r2, [pc, #156] ; (8006390 ) + 80062f4: f7fe f99e bl 8004634 + sprintf(blood_str,"SpO2:%2.2f ",g_blooddata.SpO2); + 80062f8: 4b28 ldr r3, [pc, #160] ; (800639c ) + 80062fa: 685b ldr r3, [r3, #4] + 80062fc: 4618 mov r0, r3 + 80062fe: f7fa f8ff bl 8000500 <__aeabi_f2d> + 8006302: 4602 mov r2, r0 + 8006304: 460b mov r3, r1 + 8006306: 4927 ldr r1, [pc, #156] ; (80063a4 ) + 8006308: 4821 ldr r0, [pc, #132] ; (8006390 ) + 800630a: f001 f8d7 bl 80074bc + LCD_ShowString(blood_win->x, blood_win->y+64, &blood_str, 16, WHITE, RED); + 800630e: 4b21 ldr r3, [pc, #132] ; (8006394 ) + 8006310: 681b ldr r3, [r3, #0] + 8006312: 8818 ldrh r0, [r3, #0] + 8006314: 4b1f ldr r3, [pc, #124] ; (8006394 ) + 8006316: 681b ldr r3, [r3, #0] + 8006318: 885b ldrh r3, [r3, #2] + 800631a: 3340 adds r3, #64 ; 0x40 + 800631c: b299 uxth r1, r3 + 800631e: f44f 4378 mov.w r3, #63488 ; 0xf800 + 8006322: 9301 str r3, [sp, #4] + 8006324: f64f 73ff movw r3, #65535 ; 0xffff + 8006328: 9300 str r3, [sp, #0] + 800632a: 2310 movs r3, #16 + 800632c: 4a18 ldr r2, [pc, #96] ; (8006390 ) + 800632e: f7fe f981 bl 8004634 + sprintf(blood_str,"INT:%d",MAX30102_INTPin_Read()); + 8006332: f44f 5100 mov.w r1, #8192 ; 0x2000 + 8006336: 4814 ldr r0, [pc, #80] ; (8006388 ) + 8006338: f7fb fe02 bl 8001f40 + 800633c: 4603 mov r3, r0 + 800633e: 461a mov r2, r3 + 8006340: 4919 ldr r1, [pc, #100] ; (80063a8 ) + 8006342: 4813 ldr r0, [pc, #76] ; (8006390 ) + 8006344: f001 f8ba bl 80074bc + LCD_ShowString(blood_win->x, blood_win->y+80, &blood_str, 16, WHITE, RED); + 8006348: 4b12 ldr r3, [pc, #72] ; (8006394 ) + 800634a: 681b ldr r3, [r3, #0] + 800634c: 8818 ldrh r0, [r3, #0] + 800634e: 4b11 ldr r3, [pc, #68] ; (8006394 ) + 8006350: 681b ldr r3, [r3, #0] + 8006352: 885b ldrh r3, [r3, #2] + 8006354: 3350 adds r3, #80 ; 0x50 + 8006356: b299 uxth r1, r3 + 8006358: f44f 4378 mov.w r3, #63488 ; 0xf800 + 800635c: 9301 str r3, [sp, #4] + 800635e: f64f 73ff movw r3, #65535 ; 0xffff + 8006362: 9300 str r3, [sp, #0] + 8006364: 2310 movs r3, #16 + 8006366: 4a0a ldr r2, [pc, #40] ; (8006390 ) + 8006368: f7fe f964 bl 8004634 } - 8005494: bf00 nop - 8005496: 46bd mov sp, r7 - 8005498: bd80 pop {r7, pc} - 800549a: bf00 nop - 800549c: 20000338 .word 0x20000338 - 80054a0: 080089a0 .word 0x080089a0 - 80054a4: 200002f0 .word 0x200002f0 - 80054a8: 20000334 .word 0x20000334 - 80054ac: 20000330 .word 0x20000330 - 80054b0: 080089ac .word 0x080089ac - 80054b4: 40010c00 .word 0x40010c00 - 80054b8: 080089b8 .word 0x080089b8 + 800636c: bf00 nop + 800636e: 3704 adds r7, #4 + 8006370: 46bd mov sp, r7 + 8006372: bd90 pop {r4, r7, pc} + 8006374: 20000204 .word 0x20000204 + 8006378: 20002450 .word 0x20002450 + 800637c: 20000348 .word 0x20000348 + 8006380: 20000340 .word 0x20000340 + 8006384: 200013c8 .word 0x200013c8 + 8006388: 40010c00 .word 0x40010c00 + 800638c: 08009978 .word 0x08009978 + 8006390: 20000300 .word 0x20000300 + 8006394: 20000344 .word 0x20000344 + 8006398: 08009984 .word 0x08009984 + 800639c: 20000208 .word 0x20000208 + 80063a0: 08009990 .word 0x08009990 + 80063a4: 0800999c .word 0x0800999c + 80063a8: 080099ac .word 0x080099ac -080054bc : +080063ac : extern touch_device t0; task run_loop;//主循环状态机 void main_app() { - 80054bc: b580 push {r7, lr} - 80054be: b096 sub sp, #88 ; 0x58 - 80054c0: af04 add r7, sp, #16 + 80063ac: b580 push {r7, lr} + 80063ae: b096 sub sp, #88 ; 0x58 + 80063b0: af04 add r7, sp, #16 char str[64]; LCDx_Init(); - 80054c2: f7fe fc87 bl 8003dd4 + 80063b2: f7fd fd9b bl 8003eec EPPROM_SLOWWRITE_INIT(); - 80054c6: f7ff f867 bl 8004598 + 80063b6: f7fe f97b bl 80046b0 TP_adjustment(); - 80054ca: f7ff fbcb bl 8004c64 + 80063ba: f7fe fcdf bl 8004d7c UI *ui=UI_Init(BLACK); - 80054ce: 2000 movs r0, #0 - 80054d0: f000 f850 bl 8005574 - 80054d4: 6478 str r0, [r7, #68] ; 0x44 + 80063be: 2000 movs r0, #0 + 80063c0: f000 f850 bl 8006464 + 80063c4: 6478 str r0, [r7, #68] ; 0x44 APP_blood_init(New_Window(ui,10,10,128,128,WHITE,"MAX30102")); - 80054d6: 4b11 ldr r3, [pc, #68] ; (800551c ) - 80054d8: 9302 str r3, [sp, #8] - 80054da: f64f 73ff movw r3, #65535 ; 0xffff - 80054de: 9301 str r3, [sp, #4] - 80054e0: 2380 movs r3, #128 ; 0x80 - 80054e2: 9300 str r3, [sp, #0] - 80054e4: 2380 movs r3, #128 ; 0x80 - 80054e6: 220a movs r2, #10 - 80054e8: 210a movs r1, #10 - 80054ea: 6c78 ldr r0, [r7, #68] ; 0x44 - 80054ec: f000 f875 bl 80055da - 80054f0: 4603 mov r3, r0 - 80054f2: 4618 mov r0, r3 - 80054f4: f7ff ff68 bl 80053c8 + 80063c6: 4b11 ldr r3, [pc, #68] ; (800640c ) + 80063c8: 9302 str r3, [sp, #8] + 80063ca: f64f 73ff movw r3, #65535 ; 0xffff + 80063ce: 9301 str r3, [sp, #4] + 80063d0: 2380 movs r3, #128 ; 0x80 + 80063d2: 9300 str r3, [sp, #0] + 80063d4: 2380 movs r3, #128 ; 0x80 + 80063d6: 220a movs r2, #10 + 80063d8: 210a movs r1, #10 + 80063da: 6c78 ldr r0, [r7, #68] ; 0x44 + 80063dc: f000 f875 bl 80064ca + 80063e0: 4603 mov r3, r0 + 80063e2: 4618 mov r0, r3 + 80063e4: f7ff f87c bl 80054e0 //New_Window(ui,25,30,150,100,GREEN,"GREEN"); //New_Window(ui,80,80,60,90,YELLOW,"YELLOW"); //New_Window(ui,120,90,70,60,MAGENTA,"MAGENTA"); ui->refresh_ui_flag=1; - 80054f8: 6c7a ldr r2, [r7, #68] ; 0x44 - 80054fa: f892 3020 ldrb.w r3, [r2, #32] - 80054fe: f043 0304 orr.w r3, r3, #4 - 8005502: f882 3020 strb.w r3, [r2, #32] + 80063e8: 6c7a ldr r2, [r7, #68] ; 0x44 + 80063ea: f892 3020 ldrb.w r3, [r2, #32] + 80063ee: f043 0304 orr.w r3, r3, #4 + 80063f2: f882 3020 strb.w r3, [r2, #32] } */ APP_blood_loop(); - 8005506: f7ff ff71 bl 80053ec + 80063f6: f7ff fee9 bl 80061cc UI_Server(ui); - 800550a: 6c78 ldr r0, [r7, #68] ; 0x44 - 800550c: f000 fa0c bl 8005928 + 80063fa: 6c78 ldr r0, [r7, #68] ; 0x44 + 80063fc: f000 fa0c bl 8006818 TP_Server(); - 8005510: f7ff fad4 bl 8004abc + 8006400: f7fe fbe8 bl 8004bd4 EEPROM_SLOWWRITE_SERVER(); - 8005514: f7ff f85a bl 80045cc + 8006404: f7fe f96e bl 80046e4 { - 8005518: e7f5 b.n 8005506 - 800551a: bf00 nop - 800551c: 080089c0 .word 0x080089c0 + 8006408: e7f5 b.n 80063f6 + 800640a: bf00 nop + 800640c: 080099b4 .word 0x080099b4 -08005520 : +08006410 : #include "touch.h" extern touch_device t0; //接口 //设置屏幕像素坐标 void Inteface_SetCursor(uint16_t Xpos, uint16_t Ypos) { - 8005520: b580 push {r7, lr} - 8005522: b082 sub sp, #8 - 8005524: af00 add r7, sp, #0 - 8005526: 4603 mov r3, r0 - 8005528: 460a mov r2, r1 - 800552a: 80fb strh r3, [r7, #6] - 800552c: 4613 mov r3, r2 - 800552e: 80bb strh r3, [r7, #4] + 8006410: b580 push {r7, lr} + 8006412: b082 sub sp, #8 + 8006414: af00 add r7, sp, #0 + 8006416: 4603 mov r3, r0 + 8006418: 460a mov r2, r1 + 800641a: 80fb strh r3, [r7, #6] + 800641c: 4613 mov r3, r2 + 800641e: 80bb strh r3, [r7, #4] LCD_SetCursor(Xpos,Ypos); //设置光标位置 - 8005530: 88ba ldrh r2, [r7, #4] - 8005532: 88fb ldrh r3, [r7, #6] - 8005534: 4611 mov r1, r2 - 8005536: 4618 mov r0, r3 - 8005538: f7fe fd42 bl 8003fc0 + 8006420: 88ba ldrh r2, [r7, #4] + 8006422: 88fb ldrh r3, [r7, #6] + 8006424: 4611 mov r1, r2 + 8006426: 4618 mov r0, r3 + 8006428: f7fd fe56 bl 80040d8 LCD_REG_ADDRESS=lcddev.wramcmd; //开始写入GRAM - 800553c: 4b04 ldr r3, [pc, #16] ; (8005550 ) - 800553e: 79da ldrb r2, [r3, #7] - 8005540: f04f 43d8 mov.w r3, #1811939328 ; 0x6c000000 - 8005544: b292 uxth r2, r2 - 8005546: 801a strh r2, [r3, #0] + 800642c: 4b04 ldr r3, [pc, #16] ; (8006440 ) + 800642e: 79da ldrb r2, [r3, #7] + 8006430: f04f 43d8 mov.w r3, #1811939328 ; 0x6c000000 + 8006434: b292 uxth r2, r2 + 8006436: 801a strh r2, [r3, #0] } - 8005548: bf00 nop - 800554a: 3708 adds r7, #8 - 800554c: 46bd mov sp, r7 - 800554e: bd80 pop {r7, pc} - 8005550: 200002a8 .word 0x200002a8 + 8006438: bf00 nop + 800643a: 3708 adds r7, #8 + 800643c: 46bd mov sp, r7 + 800643e: bd80 pop {r7, pc} + 8006440: 200002b8 .word 0x200002b8 -08005554 : +08006444 : //往像素坐标写入一个颜色 void Inteface_SetColor(uint16_t color) { - 8005554: b480 push {r7} - 8005556: b083 sub sp, #12 - 8005558: af00 add r7, sp, #0 - 800555a: 4603 mov r3, r0 - 800555c: 80fb strh r3, [r7, #6] + 8006444: b480 push {r7} + 8006446: b083 sub sp, #12 + 8006448: af00 add r7, sp, #0 + 800644a: 4603 mov r3, r0 + 800644c: 80fb strh r3, [r7, #6] LCD_DATA_ADDRESS=color; - 800555e: 4a04 ldr r2, [pc, #16] ; (8005570 ) - 8005560: 88fb ldrh r3, [r7, #6] - 8005562: 8013 strh r3, [r2, #0] + 800644e: 4a04 ldr r2, [pc, #16] ; (8006460 ) + 8006450: 88fb ldrh r3, [r7, #6] + 8006452: 8013 strh r3, [r2, #0] } - 8005564: bf00 nop - 8005566: 370c adds r7, #12 - 8005568: 46bd mov sp, r7 - 800556a: bc80 pop {r7} - 800556c: 4770 bx lr - 800556e: bf00 nop - 8005570: 6c000800 .word 0x6c000800 + 8006454: bf00 nop + 8006456: 370c adds r7, #12 + 8006458: 46bd mov sp, r7 + 800645a: bc80 pop {r7} + 800645c: 4770 bx lr + 800645e: bf00 nop + 8006460: 6c000800 .word 0x6c000800 -08005574 : +08006464 : //新建一个UI对象 //当时都想法是类似windows的多桌面,每个桌面都能有n个窗口 UI *UI_Init(COLOR_16 background) { - 8005574: b580 push {r7, lr} - 8005576: b084 sub sp, #16 - 8005578: af00 add r7, sp, #0 - 800557a: 6078 str r0, [r7, #4] + 8006464: b580 push {r7, lr} + 8006466: b084 sub sp, #16 + 8006468: af00 add r7, sp, #0 + 800646a: 6078 str r0, [r7, #4] UI *ui; ui = (UI*)malloc(sizeof(UI)); - 800557c: 2024 movs r0, #36 ; 0x24 - 800557e: f000 faf7 bl 8005b70 - 8005582: 4603 mov r3, r0 - 8005584: 60fb str r3, [r7, #12] + 800646c: 2024 movs r0, #36 ; 0x24 + 800646e: f000 faf7 bl 8006a60 + 8006472: 4603 mov r3, r0 + 8006474: 60fb str r3, [r7, #12] if(ui!=NULL) - 8005586: 68fb ldr r3, [r7, #12] - 8005588: 2b00 cmp r3, #0 - 800558a: d021 beq.n 80055d0 + 8006476: 68fb ldr r3, [r7, #12] + 8006478: 2b00 cmp r3, #0 + 800647a: d021 beq.n 80064c0 { ui->x=0; - 800558c: 68fb ldr r3, [r7, #12] - 800558e: 2200 movs r2, #0 - 8005590: 809a strh r2, [r3, #4] + 800647c: 68fb ldr r3, [r7, #12] + 800647e: 2200 movs r2, #0 + 8006480: 809a strh r2, [r3, #4] ui->y=0; - 8005592: 68fb ldr r3, [r7, #12] - 8005594: 2200 movs r2, #0 - 8005596: 80da strh r2, [r3, #6] + 8006482: 68fb ldr r3, [r7, #12] + 8006484: 2200 movs r2, #0 + 8006486: 80da strh r2, [r3, #6] ui->high=240; - 8005598: 68fb ldr r3, [r7, #12] - 800559a: 22f0 movs r2, #240 ; 0xf0 - 800559c: 815a strh r2, [r3, #10] + 8006488: 68fb ldr r3, [r7, #12] + 800648a: 22f0 movs r2, #240 ; 0xf0 + 800648c: 815a strh r2, [r3, #10] ui->width=320; - 800559e: 68fb ldr r3, [r7, #12] - 80055a0: f44f 72a0 mov.w r2, #320 ; 0x140 - 80055a4: 811a strh r2, [r3, #8] + 800648e: 68fb ldr r3, [r7, #12] + 8006490: f44f 72a0 mov.w r2, #320 ; 0x140 + 8006494: 811a strh r2, [r3, #8] ui->background=background; - 80055a6: 68fb ldr r3, [r7, #12] - 80055a8: 687a ldr r2, [r7, #4] - 80055aa: 601a str r2, [r3, #0] + 8006496: 68fb ldr r3, [r7, #12] + 8006498: 687a ldr r2, [r7, #4] + 800649a: 601a str r2, [r3, #0] ui->windows=NULL; - 80055ac: 68fb ldr r3, [r7, #12] - 80055ae: 2200 movs r2, #0 - 80055b0: 60da str r2, [r3, #12] + 800649c: 68fb ldr r3, [r7, #12] + 800649e: 2200 movs r2, #0 + 80064a0: 60da str r2, [r3, #12] ui->last_windows=NULL; - 80055b2: 68fb ldr r3, [r7, #12] - 80055b4: 2200 movs r2, #0 - 80055b6: 611a str r2, [r3, #16] + 80064a2: 68fb ldr r3, [r7, #12] + 80064a4: 2200 movs r2, #0 + 80064a6: 611a str r2, [r3, #16] ui->refresh_ui_flag=1; - 80055b8: 68fa ldr r2, [r7, #12] - 80055ba: f892 3020 ldrb.w r3, [r2, #32] - 80055be: f043 0304 orr.w r3, r3, #4 - 80055c2: f882 3020 strb.w r3, [r2, #32] + 80064a8: 68fa ldr r2, [r7, #12] + 80064aa: f892 3020 ldrb.w r3, [r2, #32] + 80064ae: f043 0304 orr.w r3, r3, #4 + 80064b2: f882 3020 strb.w r3, [r2, #32] ui->moveed_windwos=NULL; - 80055c6: 68fb ldr r3, [r7, #12] - 80055c8: 2200 movs r2, #0 - 80055ca: 615a str r2, [r3, #20] + 80064b6: 68fb ldr r3, [r7, #12] + 80064b8: 2200 movs r2, #0 + 80064ba: 615a str r2, [r3, #20] ui->touch->acc_y=0; } */ return ui; - 80055cc: 68fb ldr r3, [r7, #12] - 80055ce: e000 b.n 80055d2 + 80064bc: 68fb ldr r3, [r7, #12] + 80064be: e000 b.n 80064c2 } return NULL; - 80055d0: 2300 movs r3, #0 + 80064c0: 2300 movs r3, #0 } - 80055d2: 4618 mov r0, r3 - 80055d4: 3710 adds r7, #16 - 80055d6: 46bd mov sp, r7 - 80055d8: bd80 pop {r7, pc} + 80064c2: 4618 mov r0, r3 + 80064c4: 3710 adds r7, #16 + 80064c6: 46bd mov sp, r7 + 80064c8: bd80 pop {r7, pc} -080055da : +080064ca : //新建一个窗口 //返回窗口的指针 //将窗口挂载到某个ui window *New_Window(UI *ui,uint16_t x,uint16_t y,uint16_t width,uint16_t high,COLOR_16 background,const char *title) { - 80055da: b580 push {r7, lr} - 80055dc: b088 sub sp, #32 - 80055de: af00 add r7, sp, #0 - 80055e0: 60f8 str r0, [r7, #12] - 80055e2: 4608 mov r0, r1 - 80055e4: 4611 mov r1, r2 - 80055e6: 461a mov r2, r3 - 80055e8: 4603 mov r3, r0 - 80055ea: 817b strh r3, [r7, #10] - 80055ec: 460b mov r3, r1 - 80055ee: 813b strh r3, [r7, #8] - 80055f0: 4613 mov r3, r2 - 80055f2: 80fb strh r3, [r7, #6] + 80064ca: b580 push {r7, lr} + 80064cc: b088 sub sp, #32 + 80064ce: af00 add r7, sp, #0 + 80064d0: 60f8 str r0, [r7, #12] + 80064d2: 4608 mov r0, r1 + 80064d4: 4611 mov r1, r2 + 80064d6: 461a mov r2, r3 + 80064d8: 4603 mov r3, r0 + 80064da: 817b strh r3, [r7, #10] + 80064dc: 460b mov r3, r1 + 80064de: 813b strh r3, [r7, #8] + 80064e0: 4613 mov r3, r2 + 80064e2: 80fb strh r3, [r7, #6] window *temp_window; temp_window = (window*)malloc(sizeof(window)); - 80055f4: 201c movs r0, #28 - 80055f6: f000 fabb bl 8005b70 - 80055fa: 4603 mov r3, r0 - 80055fc: 617b str r3, [r7, #20] + 80064e4: 201c movs r0, #28 + 80064e6: f000 fabb bl 8006a60 + 80064ea: 4603 mov r3, r0 + 80064ec: 617b str r3, [r7, #20] if(temp_window!=NULL) - 80055fe: 697b ldr r3, [r7, #20] - 8005600: 2b00 cmp r3, #0 - 8005602: d022 beq.n 800564a + 80064ee: 697b ldr r3, [r7, #20] + 80064f0: 2b00 cmp r3, #0 + 80064f2: d022 beq.n 800653a { temp_window->background=background; - 8005604: 697b ldr r3, [r7, #20] - 8005606: 6afa ldr r2, [r7, #44] ; 0x2c - 8005608: 609a str r2, [r3, #8] + 80064f4: 697b ldr r3, [r7, #20] + 80064f6: 6afa ldr r2, [r7, #44] ; 0x2c + 80064f8: 609a str r2, [r3, #8] temp_window->high=high; - 800560a: 697b ldr r3, [r7, #20] - 800560c: 8d3a ldrh r2, [r7, #40] ; 0x28 - 800560e: 80da strh r2, [r3, #6] + 80064fa: 697b ldr r3, [r7, #20] + 80064fc: 8d3a ldrh r2, [r7, #40] ; 0x28 + 80064fe: 80da strh r2, [r3, #6] temp_window->width=width; - 8005610: 697b ldr r3, [r7, #20] - 8005612: 88fa ldrh r2, [r7, #6] - 8005614: 809a strh r2, [r3, #4] + 8006500: 697b ldr r3, [r7, #20] + 8006502: 88fa ldrh r2, [r7, #6] + 8006504: 809a strh r2, [r3, #4] temp_window->x=x; - 8005616: 697b ldr r3, [r7, #20] - 8005618: 897a ldrh r2, [r7, #10] - 800561a: 801a strh r2, [r3, #0] + 8006506: 697b ldr r3, [r7, #20] + 8006508: 897a ldrh r2, [r7, #10] + 800650a: 801a strh r2, [r3, #0] temp_window->y=y; - 800561c: 697b ldr r3, [r7, #20] - 800561e: 893a ldrh r2, [r7, #8] - 8005620: 805a strh r2, [r3, #2] + 800650c: 697b ldr r3, [r7, #20] + 800650e: 893a ldrh r2, [r7, #8] + 8006510: 805a strh r2, [r3, #2] for(int a=0;a<16;a++) - 8005622: 2300 movs r3, #0 - 8005624: 61fb str r3, [r7, #28] - 8005626: e00c b.n 8005642 + 8006512: 2300 movs r3, #0 + 8006514: 61fb str r3, [r7, #28] + 8006516: e00c b.n 8006532 { temp_window->title[a]=title[a]; - 8005628: 69fb ldr r3, [r7, #28] - 800562a: 6b3a ldr r2, [r7, #48] ; 0x30 - 800562c: 4413 add r3, r2 - 800562e: 7819 ldrb r1, [r3, #0] - 8005630: 697a ldr r2, [r7, #20] - 8005632: 69fb ldr r3, [r7, #28] - 8005634: 4413 add r3, r2 - 8005636: 330c adds r3, #12 - 8005638: 460a mov r2, r1 - 800563a: 701a strb r2, [r3, #0] + 8006518: 69fb ldr r3, [r7, #28] + 800651a: 6b3a ldr r2, [r7, #48] ; 0x30 + 800651c: 4413 add r3, r2 + 800651e: 7819 ldrb r1, [r3, #0] + 8006520: 697a ldr r2, [r7, #20] + 8006522: 69fb ldr r3, [r7, #28] + 8006524: 4413 add r3, r2 + 8006526: 330c adds r3, #12 + 8006528: 460a mov r2, r1 + 800652a: 701a strb r2, [r3, #0] for(int a=0;a<16;a++) - 800563c: 69fb ldr r3, [r7, #28] - 800563e: 3301 adds r3, #1 - 8005640: 61fb str r3, [r7, #28] - 8005642: 69fb ldr r3, [r7, #28] - 8005644: 2b0f cmp r3, #15 - 8005646: ddef ble.n 8005628 - 8005648: e001 b.n 800564e + 800652c: 69fb ldr r3, [r7, #28] + 800652e: 3301 adds r3, #1 + 8006530: 61fb str r3, [r7, #28] + 8006532: 69fb ldr r3, [r7, #28] + 8006534: 2b0f cmp r3, #15 + 8006536: ddef ble.n 8006518 + 8006538: e001 b.n 800653e } }else{return NULL;} - 800564a: 2300 movs r3, #0 - 800564c: e02a b.n 80056a4 + 800653a: 2300 movs r3, #0 + 800653c: e02a b.n 8006594 windows_stack *temp_windows_stack; temp_windows_stack=ui->last_windows; - 800564e: 68fb ldr r3, [r7, #12] - 8005650: 691b ldr r3, [r3, #16] - 8005652: 61bb str r3, [r7, #24] + 800653e: 68fb ldr r3, [r7, #12] + 8006540: 691b ldr r3, [r3, #16] + 8006542: 61bb str r3, [r7, #24] if(temp_windows_stack==NULL) - 8005654: 69bb ldr r3, [r7, #24] - 8005656: 2b00 cmp r3, #0 - 8005658: d10b bne.n 8005672 + 8006544: 69bb ldr r3, [r7, #24] + 8006546: 2b00 cmp r3, #0 + 8006548: d10b bne.n 8006562 { temp_windows_stack=(windows_stack*)malloc(sizeof(windows_stack)); - 800565a: 200c movs r0, #12 - 800565c: f000 fa88 bl 8005b70 - 8005660: 4603 mov r3, r0 - 8005662: 61bb str r3, [r7, #24] + 800654a: 200c movs r0, #12 + 800654c: f000 fa88 bl 8006a60 + 8006550: 4603 mov r3, r0 + 8006552: 61bb str r3, [r7, #24] temp_windows_stack->up=NULL; - 8005664: 69bb ldr r3, [r7, #24] - 8005666: 2200 movs r2, #0 - 8005668: 601a str r2, [r3, #0] + 8006554: 69bb ldr r3, [r7, #24] + 8006556: 2200 movs r2, #0 + 8006558: 601a str r2, [r3, #0] ui->windows=temp_windows_stack; - 800566a: 68fb ldr r3, [r7, #12] - 800566c: 69ba ldr r2, [r7, #24] - 800566e: 60da str r2, [r3, #12] - 8005670: e00e b.n 8005690 + 800655a: 68fb ldr r3, [r7, #12] + 800655c: 69ba ldr r2, [r7, #24] + 800655e: 60da str r2, [r3, #12] + 8006560: e00e b.n 8006580 while(temp_windows_stack->next!=NULL) { temp_windows_stack=temp_windows_stack->next; } */ windows_stack *up=temp_windows_stack;//备份当前对象指针 - 8005672: 69bb ldr r3, [r7, #24] - 8005674: 613b str r3, [r7, #16] + 8006562: 69bb ldr r3, [r7, #24] + 8006564: 613b str r3, [r7, #16] temp_windows_stack->next=(windows_stack*)malloc(sizeof(windows_stack)); - 8005676: 200c movs r0, #12 - 8005678: f000 fa7a bl 8005b70 - 800567c: 4603 mov r3, r0 - 800567e: 461a mov r2, r3 - 8005680: 69bb ldr r3, [r7, #24] - 8005682: 609a str r2, [r3, #8] + 8006566: 200c movs r0, #12 + 8006568: f000 fa7a bl 8006a60 + 800656c: 4603 mov r3, r0 + 800656e: 461a mov r2, r3 + 8006570: 69bb ldr r3, [r7, #24] + 8006572: 609a str r2, [r3, #8] temp_windows_stack=temp_windows_stack->next; - 8005684: 69bb ldr r3, [r7, #24] - 8005686: 689b ldr r3, [r3, #8] - 8005688: 61bb str r3, [r7, #24] + 8006574: 69bb ldr r3, [r7, #24] + 8006576: 689b ldr r3, [r3, #8] + 8006578: 61bb str r3, [r7, #24] temp_windows_stack->up=up; - 800568a: 69bb ldr r3, [r7, #24] - 800568c: 693a ldr r2, [r7, #16] - 800568e: 601a str r2, [r3, #0] + 800657a: 69bb ldr r3, [r7, #24] + 800657c: 693a ldr r2, [r7, #16] + 800657e: 601a str r2, [r3, #0] } temp_windows_stack->next=NULL; - 8005690: 69bb ldr r3, [r7, #24] - 8005692: 2200 movs r2, #0 - 8005694: 609a str r2, [r3, #8] + 8006580: 69bb ldr r3, [r7, #24] + 8006582: 2200 movs r2, #0 + 8006584: 609a str r2, [r3, #8] temp_windows_stack->window=temp_window; - 8005696: 69bb ldr r3, [r7, #24] - 8005698: 697a ldr r2, [r7, #20] - 800569a: 605a str r2, [r3, #4] + 8006586: 69bb ldr r3, [r7, #24] + 8006588: 697a ldr r2, [r7, #20] + 800658a: 605a str r2, [r3, #4] ui->last_windows=temp_windows_stack; - 800569c: 68fb ldr r3, [r7, #12] - 800569e: 69ba ldr r2, [r7, #24] - 80056a0: 611a str r2, [r3, #16] + 800658c: 68fb ldr r3, [r7, #12] + 800658e: 69ba ldr r2, [r7, #24] + 8006590: 611a str r2, [r3, #16] return temp_window; - 80056a2: 697b ldr r3, [r7, #20] + 8006592: 697b ldr r3, [r7, #20] } - 80056a4: 4618 mov r0, r3 - 80056a6: 3720 adds r7, #32 - 80056a8: 46bd mov sp, r7 - 80056aa: bd80 pop {r7, pc} + 8006594: 4618 mov r0, r3 + 8006596: 3720 adds r7, #32 + 8006598: 46bd mov sp, r7 + 800659a: bd80 pop {r7, pc} -080056ac : +0800659c : temp_window->y=temp_window->y+acc_y; } //显示一个窗口 void Refresh_Window(UI *ui,window *temp_window) { - 80056ac: b580 push {r7, lr} - 80056ae: b088 sub sp, #32 - 80056b0: af02 add r7, sp, #8 - 80056b2: 6078 str r0, [r7, #4] - 80056b4: 6039 str r1, [r7, #0] + 800659c: b580 push {r7, lr} + 800659e: b088 sub sp, #32 + 80065a0: af02 add r7, sp, #8 + 80065a2: 6078 str r0, [r7, #4] + 80065a4: 6039 str r1, [r7, #0] //开始绘制窗口//填充窗口背景 int x,y; char z; for(uint16_t temp_y=0;temp_yhigh;temp_y++) - 80056b6: 2300 movs r3, #0 - 80056b8: 82bb strh r3, [r7, #20] - 80056ba: e063 b.n 8005784 + 80065a6: 2300 movs r3, #0 + 80065a8: 82bb strh r3, [r7, #20] + 80065aa: e063 b.n 8006674 { z=1; - 80056bc: 2301 movs r3, #1 - 80056be: 75fb strb r3, [r7, #23] + 80065ac: 2301 movs r3, #1 + 80065ae: 75fb strb r3, [r7, #23] for(uint16_t temp_i=0;temp_iwidth;temp_i++) - 80056c0: 2300 movs r3, #0 - 80056c2: 827b strh r3, [r7, #18] - 80056c4: e056 b.n 8005774 + 80065b0: 2300 movs r3, #0 + 80065b2: 827b strh r3, [r7, #18] + 80065b4: e056 b.n 8006664 { x=temp_window->x+temp_i; - 80056c6: 683b ldr r3, [r7, #0] - 80056c8: 881b ldrh r3, [r3, #0] - 80056ca: 461a mov r2, r3 - 80056cc: 8a7b ldrh r3, [r7, #18] - 80056ce: 4413 add r3, r2 - 80056d0: 60fb str r3, [r7, #12] + 80065b6: 683b ldr r3, [r7, #0] + 80065b8: 881b ldrh r3, [r3, #0] + 80065ba: 461a mov r2, r3 + 80065bc: 8a7b ldrh r3, [r7, #18] + 80065be: 4413 add r3, r2 + 80065c0: 60fb str r3, [r7, #12] y=temp_window->y+temp_y; - 80056d2: 683b ldr r3, [r7, #0] - 80056d4: 885b ldrh r3, [r3, #2] - 80056d6: 461a mov r2, r3 - 80056d8: 8abb ldrh r3, [r7, #20] - 80056da: 4413 add r3, r2 - 80056dc: 60bb str r3, [r7, #8] + 80065c2: 683b ldr r3, [r7, #0] + 80065c4: 885b ldrh r3, [r3, #2] + 80065c6: 461a mov r2, r3 + 80065c8: 8abb ldrh r3, [r7, #20] + 80065ca: 4413 add r3, r2 + 80065cc: 60bb str r3, [r7, #8] if(y>=ui->y&&z==1) - 80056de: 687b ldr r3, [r7, #4] - 80056e0: 88db ldrh r3, [r3, #6] - 80056e2: 461a mov r2, r3 - 80056e4: 68bb ldr r3, [r7, #8] - 80056e6: 4293 cmp r3, r2 - 80056e8: db0c blt.n 8005704 - 80056ea: 7dfb ldrb r3, [r7, #23] - 80056ec: 2b01 cmp r3, #1 - 80056ee: d109 bne.n 8005704 + 80065ce: 687b ldr r3, [r7, #4] + 80065d0: 88db ldrh r3, [r3, #6] + 80065d2: 461a mov r2, r3 + 80065d4: 68bb ldr r3, [r7, #8] + 80065d6: 4293 cmp r3, r2 + 80065d8: db0c blt.n 80065f4 + 80065da: 7dfb ldrb r3, [r7, #23] + 80065dc: 2b01 cmp r3, #1 + 80065de: d109 bne.n 80065f4 { Inteface_SetCursor(x,y); - 80056f0: 68fb ldr r3, [r7, #12] - 80056f2: b29b uxth r3, r3 - 80056f4: 68ba ldr r2, [r7, #8] - 80056f6: b292 uxth r2, r2 - 80056f8: 4611 mov r1, r2 - 80056fa: 4618 mov r0, r3 - 80056fc: f7ff ff10 bl 8005520 + 80065e0: 68fb ldr r3, [r7, #12] + 80065e2: b29b uxth r3, r3 + 80065e4: 68ba ldr r2, [r7, #8] + 80065e6: b292 uxth r2, r2 + 80065e8: 4611 mov r1, r2 + 80065ea: 4618 mov r0, r3 + 80065ec: f7ff ff10 bl 8006410 z=0; - 8005700: 2300 movs r3, #0 - 8005702: 75fb strb r3, [r7, #23] + 80065f0: 2300 movs r3, #0 + 80065f2: 75fb strb r3, [r7, #23] } if(x>=ui->x) - 8005704: 687b ldr r3, [r7, #4] - 8005706: 889b ldrh r3, [r3, #4] - 8005708: 461a mov r2, r3 - 800570a: 68fb ldr r3, [r7, #12] - 800570c: 4293 cmp r3, r2 - 800570e: db2e blt.n 800576e + 80065f4: 687b ldr r3, [r7, #4] + 80065f6: 889b ldrh r3, [r3, #4] + 80065f8: 461a mov r2, r3 + 80065fa: 68fb ldr r3, [r7, #12] + 80065fc: 4293 cmp r3, r2 + 80065fe: db2e blt.n 800665e { if(temp_y<16) - 8005710: 8abb ldrh r3, [r7, #20] - 8005712: 2b0f cmp r3, #15 - 8005714: d80f bhi.n 8005736 + 8006600: 8abb ldrh r3, [r7, #20] + 8006602: 2b0f cmp r3, #15 + 8006604: d80f bhi.n 8006626 { if(temp_i>temp_window->width-16) - 8005716: 683b ldr r3, [r7, #0] - 8005718: 889b ldrh r3, [r3, #4] - 800571a: f1a3 020f sub.w r2, r3, #15 - 800571e: 8a7b ldrh r3, [r7, #18] - 8005720: 429a cmp r2, r3 - 8005722: dc04 bgt.n 800572e + 8006606: 683b ldr r3, [r7, #0] + 8006608: 889b ldrh r3, [r3, #4] + 800660a: f1a3 020f sub.w r2, r3, #15 + 800660e: 8a7b ldrh r3, [r7, #18] + 8006610: 429a cmp r2, r3 + 8006612: dc04 bgt.n 800661e { Inteface_SetColor(RED); - 8005724: f44f 4078 mov.w r0, #63488 ; 0xf800 - 8005728: f7ff ff14 bl 8005554 - 800572c: e01f b.n 800576e + 8006614: f44f 4078 mov.w r0, #63488 ; 0xf800 + 8006618: f7ff ff14 bl 8006444 + 800661c: e01f b.n 800665e }else { Inteface_SetColor(BLUE); - 800572e: 201f movs r0, #31 - 8005730: f7ff ff10 bl 8005554 - 8005734: e01b b.n 800576e + 800661e: 201f movs r0, #31 + 8006620: f7ff ff10 bl 8006444 + 8006624: e01b b.n 800665e } }else { if(temp_i==0||temp_y==0||temp_i==temp_window->width-1||temp_y==temp_window->high-1) - 8005736: 8a7b ldrh r3, [r7, #18] - 8005738: 2b00 cmp r3, #0 - 800573a: d00e beq.n 800575a - 800573c: 8abb ldrh r3, [r7, #20] - 800573e: 2b00 cmp r3, #0 - 8005740: d00b beq.n 800575a - 8005742: 8a7a ldrh r2, [r7, #18] - 8005744: 683b ldr r3, [r7, #0] - 8005746: 889b ldrh r3, [r3, #4] - 8005748: 3b01 subs r3, #1 - 800574a: 429a cmp r2, r3 - 800574c: d005 beq.n 800575a - 800574e: 8aba ldrh r2, [r7, #20] - 8005750: 683b ldr r3, [r7, #0] - 8005752: 88db ldrh r3, [r3, #6] - 8005754: 3b01 subs r3, #1 - 8005756: 429a cmp r2, r3 - 8005758: d103 bne.n 8005762 + 8006626: 8a7b ldrh r3, [r7, #18] + 8006628: 2b00 cmp r3, #0 + 800662a: d00e beq.n 800664a + 800662c: 8abb ldrh r3, [r7, #20] + 800662e: 2b00 cmp r3, #0 + 8006630: d00b beq.n 800664a + 8006632: 8a7a ldrh r2, [r7, #18] + 8006634: 683b ldr r3, [r7, #0] + 8006636: 889b ldrh r3, [r3, #4] + 8006638: 3b01 subs r3, #1 + 800663a: 429a cmp r2, r3 + 800663c: d005 beq.n 800664a + 800663e: 8aba ldrh r2, [r7, #20] + 8006640: 683b ldr r3, [r7, #0] + 8006642: 88db ldrh r3, [r3, #6] + 8006644: 3b01 subs r3, #1 + 8006646: 429a cmp r2, r3 + 8006648: d103 bne.n 8006652 { Inteface_SetColor(BLUE); - 800575a: 201f movs r0, #31 - 800575c: f7ff fefa bl 8005554 - 8005760: e005 b.n 800576e + 800664a: 201f movs r0, #31 + 800664c: f7ff fefa bl 8006444 + 8006650: e005 b.n 800665e }else { Inteface_SetColor(temp_window->background); - 8005762: 683b ldr r3, [r7, #0] - 8005764: 689b ldr r3, [r3, #8] - 8005766: b29b uxth r3, r3 - 8005768: 4618 mov r0, r3 - 800576a: f7ff fef3 bl 8005554 + 8006652: 683b ldr r3, [r7, #0] + 8006654: 689b ldr r3, [r3, #8] + 8006656: b29b uxth r3, r3 + 8006658: 4618 mov r0, r3 + 800665a: f7ff fef3 bl 8006444 for(uint16_t temp_i=0;temp_iwidth;temp_i++) - 800576e: 8a7b ldrh r3, [r7, #18] - 8005770: 3301 adds r3, #1 - 8005772: 827b strh r3, [r7, #18] - 8005774: 683b ldr r3, [r7, #0] - 8005776: 889b ldrh r3, [r3, #4] - 8005778: 8a7a ldrh r2, [r7, #18] - 800577a: 429a cmp r2, r3 - 800577c: d3a3 bcc.n 80056c6 + 800665e: 8a7b ldrh r3, [r7, #18] + 8006660: 3301 adds r3, #1 + 8006662: 827b strh r3, [r7, #18] + 8006664: 683b ldr r3, [r7, #0] + 8006666: 889b ldrh r3, [r3, #4] + 8006668: 8a7a ldrh r2, [r7, #18] + 800666a: 429a cmp r2, r3 + 800666c: d3a3 bcc.n 80065b6 for(uint16_t temp_y=0;temp_yhigh;temp_y++) - 800577e: 8abb ldrh r3, [r7, #20] - 8005780: 3301 adds r3, #1 - 8005782: 82bb strh r3, [r7, #20] - 8005784: 683b ldr r3, [r7, #0] - 8005786: 88db ldrh r3, [r3, #6] - 8005788: 8aba ldrh r2, [r7, #20] - 800578a: 429a cmp r2, r3 - 800578c: d396 bcc.n 80056bc + 800666e: 8abb ldrh r3, [r7, #20] + 8006670: 3301 adds r3, #1 + 8006672: 82bb strh r3, [r7, #20] + 8006674: 683b ldr r3, [r7, #0] + 8006676: 88db ldrh r3, [r3, #6] + 8006678: 8aba ldrh r2, [r7, #20] + 800667a: 429a cmp r2, r3 + 800667c: d396 bcc.n 80065ac } } */ //显示title LCD_ShowString(temp_window->x,temp_window->y,&temp_window->title,16,WHITE,WHITE); - 800578e: 683b ldr r3, [r7, #0] - 8005790: 8818 ldrh r0, [r3, #0] - 8005792: 683b ldr r3, [r7, #0] - 8005794: 8859 ldrh r1, [r3, #2] - 8005796: 683b ldr r3, [r7, #0] - 8005798: f103 020c add.w r2, r3, #12 - 800579c: f64f 73ff movw r3, #65535 ; 0xffff - 80057a0: 9301 str r3, [sp, #4] - 80057a2: f64f 73ff movw r3, #65535 ; 0xffff - 80057a6: 9300 str r3, [sp, #0] - 80057a8: 2310 movs r3, #16 - 80057aa: f7fe feb7 bl 800451c + 800667e: 683b ldr r3, [r7, #0] + 8006680: 8818 ldrh r0, [r3, #0] + 8006682: 683b ldr r3, [r7, #0] + 8006684: 8859 ldrh r1, [r3, #2] + 8006686: 683b ldr r3, [r7, #0] + 8006688: f103 020c add.w r2, r3, #12 + 800668c: f64f 73ff movw r3, #65535 ; 0xffff + 8006690: 9301 str r3, [sp, #4] + 8006692: f64f 73ff movw r3, #65535 ; 0xffff + 8006696: 9300 str r3, [sp, #0] + 8006698: 2310 movs r3, #16 + 800669a: f7fd ffcb bl 8004634 } - 80057ae: bf00 nop - 80057b0: 3718 adds r7, #24 - 80057b2: 46bd mov sp, r7 - 80057b4: bd80 pop {r7, pc} + 800669e: bf00 nop + 80066a0: 3718 adds r7, #24 + 80066a2: 46bd mov sp, r7 + 80066a4: bd80 pop {r7, pc} -080057b6 : +080066a6 : * 很可惜 辛辛苦苦写的代码要被放弃 * 用算法实现遮挡关系计算真挺蠢 * * */ void Refresh_UI(UI *ui) { - 80057b6: b580 push {r7, lr} - 80057b8: b086 sub sp, #24 - 80057ba: af00 add r7, sp, #0 - 80057bc: 6078 str r0, [r7, #4] + 80066a6: b580 push {r7, lr} + 80066a8: b086 sub sp, #24 + 80066aa: af00 add r7, sp, #0 + 80066ac: 6078 str r0, [r7, #4] int flag=0; - 80057be: 2300 movs r3, #0 - 80057c0: 617b str r3, [r7, #20] + 80066ae: 2300 movs r3, #0 + 80066b0: 617b str r3, [r7, #20] uint16_t dot_y=0,dot_x=0; - 80057c2: 2300 movs r3, #0 - 80057c4: 827b strh r3, [r7, #18] - 80057c6: 2300 movs r3, #0 - 80057c8: 823b strh r3, [r7, #16] + 80066b2: 2300 movs r3, #0 + 80066b4: 827b strh r3, [r7, #18] + 80066b6: 2300 movs r3, #0 + 80066b8: 823b strh r3, [r7, #16] //画背景 for(dot_y=ui->y;dot_yhigh;dot_y++) - 80057ca: 687b ldr r3, [r7, #4] - 80057cc: 88db ldrh r3, [r3, #6] - 80057ce: 827b strh r3, [r7, #18] - 80057d0: e01a b.n 8005808 + 80066ba: 687b ldr r3, [r7, #4] + 80066bc: 88db ldrh r3, [r3, #6] + 80066be: 827b strh r3, [r7, #18] + 80066c0: e01a b.n 80066f8 { Inteface_SetCursor(dot_x,dot_y); - 80057d2: 8a7a ldrh r2, [r7, #18] - 80057d4: 8a3b ldrh r3, [r7, #16] - 80057d6: 4611 mov r1, r2 - 80057d8: 4618 mov r0, r3 - 80057da: f7ff fea1 bl 8005520 + 80066c2: 8a7a ldrh r2, [r7, #18] + 80066c4: 8a3b ldrh r3, [r7, #16] + 80066c6: 4611 mov r1, r2 + 80066c8: 4618 mov r0, r3 + 80066ca: f7ff fea1 bl 8006410 for(dot_x=ui->x;dot_xwidth;dot_x++) - 80057de: 687b ldr r3, [r7, #4] - 80057e0: 889b ldrh r3, [r3, #4] - 80057e2: 823b strh r3, [r7, #16] - 80057e4: e008 b.n 80057f8 + 80066ce: 687b ldr r3, [r7, #4] + 80066d0: 889b ldrh r3, [r3, #4] + 80066d2: 823b strh r3, [r7, #16] + 80066d4: e008 b.n 80066e8 { Inteface_SetColor(ui->background); - 80057e6: 687b ldr r3, [r7, #4] - 80057e8: 681b ldr r3, [r3, #0] - 80057ea: b29b uxth r3, r3 - 80057ec: 4618 mov r0, r3 - 80057ee: f7ff feb1 bl 8005554 + 80066d6: 687b ldr r3, [r7, #4] + 80066d8: 681b ldr r3, [r3, #0] + 80066da: b29b uxth r3, r3 + 80066dc: 4618 mov r0, r3 + 80066de: f7ff feb1 bl 8006444 for(dot_x=ui->x;dot_xwidth;dot_x++) - 80057f2: 8a3b ldrh r3, [r7, #16] - 80057f4: 3301 adds r3, #1 - 80057f6: 823b strh r3, [r7, #16] - 80057f8: 687b ldr r3, [r7, #4] - 80057fa: 891b ldrh r3, [r3, #8] - 80057fc: 8a3a ldrh r2, [r7, #16] - 80057fe: 429a cmp r2, r3 - 8005800: d3f1 bcc.n 80057e6 + 80066e2: 8a3b ldrh r3, [r7, #16] + 80066e4: 3301 adds r3, #1 + 80066e6: 823b strh r3, [r7, #16] + 80066e8: 687b ldr r3, [r7, #4] + 80066ea: 891b ldrh r3, [r3, #8] + 80066ec: 8a3a ldrh r2, [r7, #16] + 80066ee: 429a cmp r2, r3 + 80066f0: d3f1 bcc.n 80066d6 for(dot_y=ui->y;dot_yhigh;dot_y++) - 8005802: 8a7b ldrh r3, [r7, #18] - 8005804: 3301 adds r3, #1 - 8005806: 827b strh r3, [r7, #18] - 8005808: 687b ldr r3, [r7, #4] - 800580a: 895b ldrh r3, [r3, #10] - 800580c: 8a7a ldrh r2, [r7, #18] - 800580e: 429a cmp r2, r3 - 8005810: d3df bcc.n 80057d2 + 80066f2: 8a7b ldrh r3, [r7, #18] + 80066f4: 3301 adds r3, #1 + 80066f6: 827b strh r3, [r7, #18] + 80066f8: 687b ldr r3, [r7, #4] + 80066fa: 895b ldrh r3, [r3, #10] + 80066fc: 8a7a ldrh r2, [r7, #18] + 80066fe: 429a cmp r2, r3 + 8006700: d3df bcc.n 80066c2 } } windows_stack *temp_windows_stack,*temp_windows_stack2; temp_windows_stack=ui->windows; - 8005812: 687b ldr r3, [r7, #4] - 8005814: 68db ldr r3, [r3, #12] - 8005816: 60fb str r3, [r7, #12] + 8006702: 687b ldr r3, [r7, #4] + 8006704: 68db ldr r3, [r3, #12] + 8006706: 60fb str r3, [r7, #12] do { if(temp_windows_stack!=NULL) - 8005818: 68fb ldr r3, [r7, #12] - 800581a: 2b00 cmp r3, #0 - 800581c: d00b beq.n 8005836 + 8006708: 68fb ldr r3, [r7, #12] + 800670a: 2b00 cmp r3, #0 + 800670c: d00b beq.n 8006726 { flag=1; - 800581e: 2301 movs r3, #1 - 8005820: 617b str r3, [r7, #20] + 800670e: 2301 movs r3, #1 + 8006710: 617b str r3, [r7, #20] Refresh_Window(ui,temp_windows_stack->window); - 8005822: 68fb ldr r3, [r7, #12] - 8005824: 685b ldr r3, [r3, #4] - 8005826: 4619 mov r1, r3 - 8005828: 6878 ldr r0, [r7, #4] - 800582a: f7ff ff3f bl 80056ac + 8006712: 68fb ldr r3, [r7, #12] + 8006714: 685b ldr r3, [r3, #4] + 8006716: 4619 mov r1, r3 + 8006718: 6878 ldr r0, [r7, #4] + 800671a: f7ff ff3f bl 800659c //绘制下一个窗口 temp_windows_stack=temp_windows_stack->next; - 800582e: 68fb ldr r3, [r7, #12] - 8005830: 689b ldr r3, [r3, #8] - 8005832: 60fb str r3, [r7, #12] - 8005834: e001 b.n 800583a + 800671e: 68fb ldr r3, [r7, #12] + 8006720: 689b ldr r3, [r3, #8] + 8006722: 60fb str r3, [r7, #12] + 8006724: e001 b.n 800672a }else { flag=0; - 8005836: 2300 movs r3, #0 - 8005838: 617b str r3, [r7, #20] + 8006726: 2300 movs r3, #0 + 8006728: 617b str r3, [r7, #20] } }while(flag); - 800583a: 697b ldr r3, [r7, #20] - 800583c: 2b00 cmp r3, #0 - 800583e: d1eb bne.n 8005818 + 800672a: 697b ldr r3, [r7, #20] + 800672c: 2b00 cmp r3, #0 + 800672e: d1eb bne.n 8006708 } } */ } - 8005840: bf00 nop - 8005842: bf00 nop - 8005844: 3718 adds r7, #24 - 8005846: 46bd mov sp, r7 - 8005848: bd80 pop {r7, pc} + 8006730: bf00 nop + 8006732: bf00 nop + 8006734: 3718 adds r7, #24 + 8006736: 46bd mov sp, r7 + 8006738: bd80 pop {r7, pc} -0800584a : +0800673a : #define BODY 1 #define BAR 2 #define CLOSE 3 uint8_t Chack(window *this_window,int x,int y) { - 800584a: b480 push {r7} - 800584c: b087 sub sp, #28 - 800584e: af00 add r7, sp, #0 - 8005850: 60f8 str r0, [r7, #12] - 8005852: 60b9 str r1, [r7, #8] - 8005854: 607a str r2, [r7, #4] + 800673a: b480 push {r7} + 800673c: b087 sub sp, #28 + 800673e: af00 add r7, sp, #0 + 8006740: 60f8 str r0, [r7, #12] + 8006742: 60b9 str r1, [r7, #8] + 8006744: 607a str r2, [r7, #4] int a=0; - 8005856: 2300 movs r3, #0 - 8005858: 617b str r3, [r7, #20] + 8006746: 2300 movs r3, #0 + 8006748: 617b str r3, [r7, #20] if(((x>=this_window->x)&&(x<(this_window->x+this_window->width)))&&((y>=this_window->y+16)&&(y<(this_window->y+this_window->high)))) - 800585a: 68fb ldr r3, [r7, #12] - 800585c: 881b ldrh r3, [r3, #0] - 800585e: 461a mov r2, r3 - 8005860: 68bb ldr r3, [r7, #8] - 8005862: 4293 cmp r3, r2 - 8005864: db19 blt.n 800589a - 8005866: 68fb ldr r3, [r7, #12] - 8005868: 881b ldrh r3, [r3, #0] - 800586a: 461a mov r2, r3 - 800586c: 68fb ldr r3, [r7, #12] - 800586e: 889b ldrh r3, [r3, #4] - 8005870: 4413 add r3, r2 - 8005872: 68ba ldr r2, [r7, #8] - 8005874: 429a cmp r2, r3 - 8005876: da10 bge.n 800589a - 8005878: 68fb ldr r3, [r7, #12] - 800587a: 885b ldrh r3, [r3, #2] - 800587c: 330f adds r3, #15 - 800587e: 687a ldr r2, [r7, #4] - 8005880: 429a cmp r2, r3 - 8005882: dd0a ble.n 800589a - 8005884: 68fb ldr r3, [r7, #12] - 8005886: 885b ldrh r3, [r3, #2] - 8005888: 461a mov r2, r3 - 800588a: 68fb ldr r3, [r7, #12] - 800588c: 88db ldrh r3, [r3, #6] - 800588e: 4413 add r3, r2 - 8005890: 687a ldr r2, [r7, #4] - 8005892: 429a cmp r2, r3 - 8005894: da01 bge.n 800589a + 800674a: 68fb ldr r3, [r7, #12] + 800674c: 881b ldrh r3, [r3, #0] + 800674e: 461a mov r2, r3 + 8006750: 68bb ldr r3, [r7, #8] + 8006752: 4293 cmp r3, r2 + 8006754: db19 blt.n 800678a + 8006756: 68fb ldr r3, [r7, #12] + 8006758: 881b ldrh r3, [r3, #0] + 800675a: 461a mov r2, r3 + 800675c: 68fb ldr r3, [r7, #12] + 800675e: 889b ldrh r3, [r3, #4] + 8006760: 4413 add r3, r2 + 8006762: 68ba ldr r2, [r7, #8] + 8006764: 429a cmp r2, r3 + 8006766: da10 bge.n 800678a + 8006768: 68fb ldr r3, [r7, #12] + 800676a: 885b ldrh r3, [r3, #2] + 800676c: 330f adds r3, #15 + 800676e: 687a ldr r2, [r7, #4] + 8006770: 429a cmp r2, r3 + 8006772: dd0a ble.n 800678a + 8006774: 68fb ldr r3, [r7, #12] + 8006776: 885b ldrh r3, [r3, #2] + 8006778: 461a mov r2, r3 + 800677a: 68fb ldr r3, [r7, #12] + 800677c: 88db ldrh r3, [r3, #6] + 800677e: 4413 add r3, r2 + 8006780: 687a ldr r2, [r7, #4] + 8006782: 429a cmp r2, r3 + 8006784: da01 bge.n 800678a { a=1; - 8005896: 2301 movs r3, #1 - 8005898: 617b str r3, [r7, #20] + 8006786: 2301 movs r3, #1 + 8006788: 617b str r3, [r7, #20] } if(((x>=this_window->x)&&(x<(this_window->x+this_window->width-16)))&&((y>=this_window->y)&&(y<(this_window->y+16)))) - 800589a: 68fb ldr r3, [r7, #12] - 800589c: 881b ldrh r3, [r3, #0] - 800589e: 461a mov r2, r3 - 80058a0: 68bb ldr r3, [r7, #8] - 80058a2: 4293 cmp r3, r2 - 80058a4: db17 blt.n 80058d6 - 80058a6: 68fb ldr r3, [r7, #12] - 80058a8: 881b ldrh r3, [r3, #0] - 80058aa: 461a mov r2, r3 - 80058ac: 68fb ldr r3, [r7, #12] - 80058ae: 889b ldrh r3, [r3, #4] - 80058b0: 4413 add r3, r2 - 80058b2: 3b10 subs r3, #16 - 80058b4: 68ba ldr r2, [r7, #8] - 80058b6: 429a cmp r2, r3 - 80058b8: da0d bge.n 80058d6 - 80058ba: 68fb ldr r3, [r7, #12] - 80058bc: 885b ldrh r3, [r3, #2] - 80058be: 461a mov r2, r3 - 80058c0: 687b ldr r3, [r7, #4] - 80058c2: 4293 cmp r3, r2 - 80058c4: db07 blt.n 80058d6 - 80058c6: 68fb ldr r3, [r7, #12] - 80058c8: 885b ldrh r3, [r3, #2] - 80058ca: 330f adds r3, #15 - 80058cc: 687a ldr r2, [r7, #4] - 80058ce: 429a cmp r2, r3 - 80058d0: dc01 bgt.n 80058d6 + 800678a: 68fb ldr r3, [r7, #12] + 800678c: 881b ldrh r3, [r3, #0] + 800678e: 461a mov r2, r3 + 8006790: 68bb ldr r3, [r7, #8] + 8006792: 4293 cmp r3, r2 + 8006794: db17 blt.n 80067c6 + 8006796: 68fb ldr r3, [r7, #12] + 8006798: 881b ldrh r3, [r3, #0] + 800679a: 461a mov r2, r3 + 800679c: 68fb ldr r3, [r7, #12] + 800679e: 889b ldrh r3, [r3, #4] + 80067a0: 4413 add r3, r2 + 80067a2: 3b10 subs r3, #16 + 80067a4: 68ba ldr r2, [r7, #8] + 80067a6: 429a cmp r2, r3 + 80067a8: da0d bge.n 80067c6 + 80067aa: 68fb ldr r3, [r7, #12] + 80067ac: 885b ldrh r3, [r3, #2] + 80067ae: 461a mov r2, r3 + 80067b0: 687b ldr r3, [r7, #4] + 80067b2: 4293 cmp r3, r2 + 80067b4: db07 blt.n 80067c6 + 80067b6: 68fb ldr r3, [r7, #12] + 80067b8: 885b ldrh r3, [r3, #2] + 80067ba: 330f adds r3, #15 + 80067bc: 687a ldr r2, [r7, #4] + 80067be: 429a cmp r2, r3 + 80067c0: dc01 bgt.n 80067c6 { a=2; - 80058d2: 2302 movs r3, #2 - 80058d4: 617b str r3, [r7, #20] + 80067c2: 2302 movs r3, #2 + 80067c4: 617b str r3, [r7, #20] } if((x>=(this_window->x+this_window->width-16))&&(x<(this_window->x+this_window->width))&&((y>=this_window->y)&&(y<(this_window->y+16)))) - 80058d6: 68fb ldr r3, [r7, #12] - 80058d8: 881b ldrh r3, [r3, #0] - 80058da: 461a mov r2, r3 - 80058dc: 68fb ldr r3, [r7, #12] - 80058de: 889b ldrh r3, [r3, #4] - 80058e0: 4413 add r3, r2 - 80058e2: 3b10 subs r3, #16 - 80058e4: 68ba ldr r2, [r7, #8] - 80058e6: 429a cmp r2, r3 - 80058e8: db16 blt.n 8005918 - 80058ea: 68fb ldr r3, [r7, #12] - 80058ec: 881b ldrh r3, [r3, #0] - 80058ee: 461a mov r2, r3 - 80058f0: 68fb ldr r3, [r7, #12] - 80058f2: 889b ldrh r3, [r3, #4] - 80058f4: 4413 add r3, r2 - 80058f6: 68ba ldr r2, [r7, #8] - 80058f8: 429a cmp r2, r3 - 80058fa: da0d bge.n 8005918 - 80058fc: 68fb ldr r3, [r7, #12] - 80058fe: 885b ldrh r3, [r3, #2] - 8005900: 461a mov r2, r3 - 8005902: 687b ldr r3, [r7, #4] - 8005904: 4293 cmp r3, r2 - 8005906: db07 blt.n 8005918 - 8005908: 68fb ldr r3, [r7, #12] - 800590a: 885b ldrh r3, [r3, #2] - 800590c: 330f adds r3, #15 - 800590e: 687a ldr r2, [r7, #4] - 8005910: 429a cmp r2, r3 - 8005912: dc01 bgt.n 8005918 + 80067c6: 68fb ldr r3, [r7, #12] + 80067c8: 881b ldrh r3, [r3, #0] + 80067ca: 461a mov r2, r3 + 80067cc: 68fb ldr r3, [r7, #12] + 80067ce: 889b ldrh r3, [r3, #4] + 80067d0: 4413 add r3, r2 + 80067d2: 3b10 subs r3, #16 + 80067d4: 68ba ldr r2, [r7, #8] + 80067d6: 429a cmp r2, r3 + 80067d8: db16 blt.n 8006808 + 80067da: 68fb ldr r3, [r7, #12] + 80067dc: 881b ldrh r3, [r3, #0] + 80067de: 461a mov r2, r3 + 80067e0: 68fb ldr r3, [r7, #12] + 80067e2: 889b ldrh r3, [r3, #4] + 80067e4: 4413 add r3, r2 + 80067e6: 68ba ldr r2, [r7, #8] + 80067e8: 429a cmp r2, r3 + 80067ea: da0d bge.n 8006808 + 80067ec: 68fb ldr r3, [r7, #12] + 80067ee: 885b ldrh r3, [r3, #2] + 80067f0: 461a mov r2, r3 + 80067f2: 687b ldr r3, [r7, #4] + 80067f4: 4293 cmp r3, r2 + 80067f6: db07 blt.n 8006808 + 80067f8: 68fb ldr r3, [r7, #12] + 80067fa: 885b ldrh r3, [r3, #2] + 80067fc: 330f adds r3, #15 + 80067fe: 687a ldr r2, [r7, #4] + 8006800: 429a cmp r2, r3 + 8006802: dc01 bgt.n 8006808 { a=3; - 8005914: 2303 movs r3, #3 - 8005916: 617b str r3, [r7, #20] + 8006804: 2303 movs r3, #3 + 8006806: 617b str r3, [r7, #20] } return a; - 8005918: 697b ldr r3, [r7, #20] - 800591a: b2db uxtb r3, r3 + 8006808: 697b ldr r3, [r7, #20] + 800680a: b2db uxtb r3, r3 } - 800591c: 4618 mov r0, r3 - 800591e: 371c adds r7, #28 - 8005920: 46bd mov sp, r7 - 8005922: bc80 pop {r7} - 8005924: 4770 bx lr + 800680c: 4618 mov r0, r3 + 800680e: 371c adds r7, #28 + 8006810: 46bd mov sp, r7 + 8006812: bc80 pop {r7} + 8006814: 4770 bx lr ... -08005928 : +08006818 : void UI_Server(UI *ui) { - 8005928: b580 push {r7, lr} - 800592a: b088 sub sp, #32 - 800592c: af00 add r7, sp, #0 - 800592e: 6078 str r0, [r7, #4] + 8006818: b580 push {r7, lr} + 800681a: b088 sub sp, #32 + 800681c: af00 add r7, sp, #0 + 800681e: 6078 str r0, [r7, #4] windows_stack *temp_windows_stack=NULL; - 8005930: 2300 movs r3, #0 - 8005932: 61fb str r3, [r7, #28] + 8006820: 2300 movs r3, #0 + 8006822: 61fb str r3, [r7, #28] window *temp_window; //touch_device *temp_touch=NULL; int flag=0; - 8005934: 2300 movs r3, #0 - 8005936: 61bb str r3, [r7, #24] + 8006824: 2300 movs r3, #0 + 8006826: 61bb str r3, [r7, #24] uint8_t hit_flag=0; - 8005938: 2300 movs r3, #0 - 800593a: 75fb strb r3, [r7, #23] + 8006828: 2300 movs r3, #0 + 800682a: 75fb strb r3, [r7, #23] int t_x,t_y; //touch //temp_touch=ui->touch; if(t0.c)//TP_XY(&t_x, &t_y)) - 800593c: 4b76 ldr r3, [pc, #472] ; (8005b18 ) - 800593e: 7b1b ldrb r3, [r3, #12] - 8005940: f003 0302 and.w r3, r3, #2 - 8005944: b2db uxtb r3, r3 - 8005946: 2b00 cmp r3, #0 - 8005948: f000 80ba beq.w 8005ac0 + 800682c: 4b76 ldr r3, [pc, #472] ; (8006a08 ) + 800682e: 7b1b ldrb r3, [r3, #12] + 8006830: f003 0302 and.w r3, r3, #2 + 8006834: b2db uxtb r3, r3 + 8006836: 2b00 cmp r3, #0 + 8006838: f000 80ba beq.w 80069b0 { if(t0.d) - 800594c: 4b72 ldr r3, [pc, #456] ; (8005b18 ) - 800594e: 7b1b ldrb r3, [r3, #12] - 8005950: f003 0304 and.w r3, r3, #4 - 8005954: b2db uxtb r3, r3 - 8005956: 2b00 cmp r3, #0 - 8005958: f000 80c8 beq.w 8005aec + 800683c: 4b72 ldr r3, [pc, #456] ; (8006a08 ) + 800683e: 7b1b ldrb r3, [r3, #12] + 8006840: f003 0304 and.w r3, r3, #4 + 8006844: b2db uxtb r3, r3 + 8006846: 2b00 cmp r3, #0 + 8006848: f000 80c8 beq.w 80069dc { t_x=t0.pix_x; - 800595c: 4b6e ldr r3, [pc, #440] ; (8005b18 ) - 800595e: 685b ldr r3, [r3, #4] - 8005960: 613b str r3, [r7, #16] + 800684c: 4b6e ldr r3, [pc, #440] ; (8006a08 ) + 800684e: 685b ldr r3, [r3, #4] + 8006850: 613b str r3, [r7, #16] t_y=t0.pix_y; - 8005962: 4b6d ldr r3, [pc, #436] ; (8005b18 ) - 8005964: 689b ldr r3, [r3, #8] - 8005966: 60fb str r3, [r7, #12] + 8006852: 4b6d ldr r3, [pc, #436] ; (8006a08 ) + 8006854: 689b ldr r3, [r3, #8] + 8006856: 60fb str r3, [r7, #12] temp_window=NULL; - 8005968: 2300 movs r3, #0 - 800596a: 60bb str r3, [r7, #8] + 8006858: 2300 movs r3, #0 + 800685a: 60bb str r3, [r7, #8] if(ui->moveed_windwos==NULL) - 800596c: 687b ldr r3, [r7, #4] - 800596e: 695b ldr r3, [r3, #20] - 8005970: 2b00 cmp r3, #0 - 8005972: f040 8088 bne.w 8005a86 + 800685c: 687b ldr r3, [r7, #4] + 800685e: 695b ldr r3, [r3, #20] + 8006860: 2b00 cmp r3, #0 + 8006862: f040 8088 bne.w 8006976 { if(ui->First_click_flag==0) - 8005976: 687b ldr r3, [r7, #4] - 8005978: f893 3020 ldrb.w r3, [r3, #32] - 800597c: f003 0302 and.w r3, r3, #2 - 8005980: b2db uxtb r3, r3 - 8005982: 2b00 cmp r3, #0 - 8005984: f040 80b2 bne.w 8005aec + 8006866: 687b ldr r3, [r7, #4] + 8006868: f893 3020 ldrb.w r3, [r3, #32] + 800686c: f003 0302 and.w r3, r3, #2 + 8006870: b2db uxtb r3, r3 + 8006872: 2b00 cmp r3, #0 + 8006874: f040 80b2 bne.w 80069dc { ui->First_click_flag=1; - 8005988: 687a ldr r2, [r7, #4] - 800598a: f892 3020 ldrb.w r3, [r2, #32] - 800598e: f043 0302 orr.w r3, r3, #2 - 8005992: f882 3020 strb.w r3, [r2, #32] + 8006878: 687a ldr r2, [r7, #4] + 800687a: f892 3020 ldrb.w r3, [r2, #32] + 800687e: f043 0302 orr.w r3, r3, #2 + 8006882: f882 3020 strb.w r3, [r2, #32] temp_windows_stack=ui->last_windows; //获取ui中最前端的窗口 从前往后扫描 - 8005996: 687b ldr r3, [r7, #4] - 8005998: 691b ldr r3, [r3, #16] - 800599a: 61fb str r3, [r7, #28] + 8006886: 687b ldr r3, [r7, #4] + 8006888: 691b ldr r3, [r3, #16] + 800688a: 61fb str r3, [r7, #28] do { if(temp_windows_stack!=NULL) //如果有窗口就开始扫描 - 800599c: 69fb ldr r3, [r7, #28] - 800599e: 2b00 cmp r3, #0 - 80059a0: d06b beq.n 8005a7a + 800688c: 69fb ldr r3, [r7, #28] + 800688e: 2b00 cmp r3, #0 + 8006890: d06b beq.n 800696a { flag=1; //检查到有窗口 需要循环一次以检查是否有下一个窗口 - 80059a2: 2301 movs r3, #1 - 80059a4: 61bb str r3, [r7, #24] + 8006892: 2301 movs r3, #1 + 8006894: 61bb str r3, [r7, #24] // temp_window=temp_windows_stack->window; //取出这个窗口 - 80059a6: 69fb ldr r3, [r7, #28] - 80059a8: 685b ldr r3, [r3, #4] - 80059aa: 60bb str r3, [r7, #8] + 8006896: 69fb ldr r3, [r7, #28] + 8006898: 685b ldr r3, [r3, #4] + 800689a: 60bb str r3, [r7, #8] hit_flag=Chack(temp_window,t_x,t_y); //检查触摸是否命中 直接返回命中窗口的位置 - 80059ac: 68fa ldr r2, [r7, #12] - 80059ae: 6939 ldr r1, [r7, #16] - 80059b0: 68b8 ldr r0, [r7, #8] - 80059b2: f7ff ff4a bl 800584a - 80059b6: 4603 mov r3, r0 - 80059b8: 75fb strb r3, [r7, #23] + 800689c: 68fa ldr r2, [r7, #12] + 800689e: 6939 ldr r1, [r7, #16] + 80068a0: 68b8 ldr r0, [r7, #8] + 80068a2: f7ff ff4a bl 800673a + 80068a6: 4603 mov r3, r0 + 80068a8: 75fb strb r3, [r7, #23] if(hit_flag) // 命中继续 - 80059ba: 7dfb ldrb r3, [r7, #23] - 80059bc: 2b00 cmp r3, #0 - 80059be: d058 beq.n 8005a72 + 80068aa: 7dfb ldrb r3, [r7, #23] + 80068ac: 2b00 cmp r3, #0 + 80068ae: d058 beq.n 8006962 { if(temp_windows_stack!=ui->last_windows) //检查是否最前端的窗口 如果不是就放最前面 - 80059c0: 687b ldr r3, [r7, #4] - 80059c2: 691b ldr r3, [r3, #16] - 80059c4: 69fa ldr r2, [r7, #28] - 80059c6: 429a cmp r2, r3 - 80059c8: d02c beq.n 8005a24 + 80068b0: 687b ldr r3, [r7, #4] + 80068b2: 691b ldr r3, [r3, #16] + 80068b4: 69fa ldr r2, [r7, #28] + 80068b6: 429a cmp r2, r3 + 80068b8: d02c beq.n 8006914 { if(temp_windows_stack!=ui->windows) //检查是否最后端的窗口 因为显示是从最后端往前显示的 所以ui有最后端窗口的入口 - 80059ca: 687b ldr r3, [r7, #4] - 80059cc: 68db ldr r3, [r3, #12] - 80059ce: 69fa ldr r2, [r7, #28] - 80059d0: 429a cmp r2, r3 - 80059d2: d00a beq.n 80059ea + 80068ba: 687b ldr r3, [r7, #4] + 80068bc: 68db ldr r3, [r3, #12] + 80068be: 69fa ldr r2, [r7, #28] + 80068c0: 429a cmp r2, r3 + 80068c2: d00a beq.n 80068da { temp_windows_stack->up->next=temp_windows_stack->next; //取出这个节点 把节点的上下补上链接 - 80059d4: 69fb ldr r3, [r7, #28] - 80059d6: 681b ldr r3, [r3, #0] - 80059d8: 69fa ldr r2, [r7, #28] - 80059da: 6892 ldr r2, [r2, #8] - 80059dc: 609a str r2, [r3, #8] + 80068c4: 69fb ldr r3, [r7, #28] + 80068c6: 681b ldr r3, [r3, #0] + 80068c8: 69fa ldr r2, [r7, #28] + 80068ca: 6892 ldr r2, [r2, #8] + 80068cc: 609a str r2, [r3, #8] temp_windows_stack->next->up=temp_windows_stack->up; - 80059de: 69fb ldr r3, [r7, #28] - 80059e0: 689b ldr r3, [r3, #8] - 80059e2: 69fa ldr r2, [r7, #28] - 80059e4: 6812 ldr r2, [r2, #0] - 80059e6: 601a str r2, [r3, #0] - 80059e8: e007 b.n 80059fa + 80068ce: 69fb ldr r3, [r7, #28] + 80068d0: 689b ldr r3, [r3, #8] + 80068d2: 69fa ldr r2, [r7, #28] + 80068d4: 6812 ldr r2, [r2, #0] + 80068d6: 601a str r2, [r3, #0] + 80068d8: e007 b.n 80068ea }else { ui->windows=temp_windows_stack->next; //如果是最后端的窗口 则取出这个节点后入口就变下一个节点了 - 80059ea: 69fb ldr r3, [r7, #28] - 80059ec: 689a ldr r2, [r3, #8] - 80059ee: 687b ldr r3, [r7, #4] - 80059f0: 60da str r2, [r3, #12] + 80068da: 69fb ldr r3, [r7, #28] + 80068dc: 689a ldr r2, [r3, #8] + 80068de: 687b ldr r3, [r7, #4] + 80068e0: 60da str r2, [r3, #12] ui->windows->up=NULL; //倒数第二变最后端 在走就没了 所以要清空指针 - 80059f2: 687b ldr r3, [r7, #4] - 80059f4: 68db ldr r3, [r3, #12] - 80059f6: 2200 movs r2, #0 - 80059f8: 601a str r2, [r3, #0] + 80068e2: 687b ldr r3, [r7, #4] + 80068e4: 68db ldr r3, [r3, #12] + 80068e6: 2200 movs r2, #0 + 80068e8: 601a str r2, [r3, #0] } temp_windows_stack->next=NULL; //取出的节点要放在最前端 所以 无法再往前 清空往前的指针 - 80059fa: 69fb ldr r3, [r7, #28] - 80059fc: 2200 movs r2, #0 - 80059fe: 609a str r2, [r3, #8] + 80068ea: 69fb ldr r3, [r7, #28] + 80068ec: 2200 movs r2, #0 + 80068ee: 609a str r2, [r3, #8] temp_windows_stack->up=ui->last_windows; //上一个指针就是原来的最后一个 - 8005a00: 687b ldr r3, [r7, #4] - 8005a02: 691a ldr r2, [r3, #16] - 8005a04: 69fb ldr r3, [r7, #28] - 8005a06: 601a str r2, [r3, #0] + 80068f0: 687b ldr r3, [r7, #4] + 80068f2: 691a ldr r2, [r3, #16] + 80068f4: 69fb ldr r3, [r7, #28] + 80068f6: 601a str r2, [r3, #0] ui->last_windows->next=temp_windows_stack; //原来的最后一个指向现在的最后一个 - 8005a08: 687b ldr r3, [r7, #4] - 8005a0a: 691b ldr r3, [r3, #16] - 8005a0c: 69fa ldr r2, [r7, #28] - 8005a0e: 609a str r2, [r3, #8] + 80068f8: 687b ldr r3, [r7, #4] + 80068fa: 691b ldr r3, [r3, #16] + 80068fc: 69fa ldr r2, [r7, #28] + 80068fe: 609a str r2, [r3, #8] ui->last_windows=temp_windows_stack; //更新ui中的最后一个的入口 - 8005a10: 687b ldr r3, [r7, #4] - 8005a12: 69fa ldr r2, [r7, #28] - 8005a14: 611a str r2, [r3, #16] + 8006900: 687b ldr r3, [r7, #4] + 8006902: 69fa ldr r2, [r7, #28] + 8006904: 611a str r2, [r3, #16] ui->refresh_ui_flag=1; //发生了变化 刷新ui的显示 - 8005a16: 687a ldr r2, [r7, #4] - 8005a18: f892 3020 ldrb.w r3, [r2, #32] - 8005a1c: f043 0304 orr.w r3, r3, #4 - 8005a20: f882 3020 strb.w r3, [r2, #32] + 8006906: 687a ldr r2, [r7, #4] + 8006908: f892 3020 ldrb.w r3, [r2, #32] + 800690c: f043 0304 orr.w r3, r3, #4 + 8006910: f882 3020 strb.w r3, [r2, #32] } //检查标中窗口的什么位置 switch(hit_flag) - 8005a24: 7dfb ldrb r3, [r7, #23] - 8005a26: 2b03 cmp r3, #3 - 8005a28: d006 beq.n 8005a38 - 8005a2a: 2b03 cmp r3, #3 - 8005a2c: dc1f bgt.n 8005a6e - 8005a2e: 2b01 cmp r3, #1 - 8005a30: d01c beq.n 8005a6c - 8005a32: 2b02 cmp r3, #2 - 8005a34: d008 beq.n 8005a48 - 8005a36: e01a b.n 8005a6e + 8006914: 7dfb ldrb r3, [r7, #23] + 8006916: 2b03 cmp r3, #3 + 8006918: d006 beq.n 8006928 + 800691a: 2b03 cmp r3, #3 + 800691c: dc1f bgt.n 800695e + 800691e: 2b01 cmp r3, #1 + 8006920: d01c beq.n 800695c + 8006922: 2b02 cmp r3, #2 + 8006924: d008 beq.n 8006938 + 8006926: e01a b.n 800695e { case CLOSE: //Close_Windows_Stack(ui,temp_windows_stack); ui->refresh_ui_flag=1; //发生了变化 刷新ui的显示 - 8005a38: 687a ldr r2, [r7, #4] - 8005a3a: f892 3020 ldrb.w r3, [r2, #32] - 8005a3e: f043 0304 orr.w r3, r3, #4 - 8005a42: f882 3020 strb.w r3, [r2, #32] + 8006928: 687a ldr r2, [r7, #4] + 800692a: f892 3020 ldrb.w r3, [r2, #32] + 800692e: f043 0304 orr.w r3, r3, #4 + 8006932: f882 3020 strb.w r3, [r2, #32] break; - 8005a46: e012 b.n 8005a6e + 8006936: e012 b.n 800695e case BAR: ui->moveed_windwos=temp_window; - 8005a48: 687b ldr r3, [r7, #4] - 8005a4a: 68ba ldr r2, [r7, #8] - 8005a4c: 615a str r2, [r3, #20] + 8006938: 687b ldr r3, [r7, #4] + 800693a: 68ba ldr r2, [r7, #8] + 800693c: 615a str r2, [r3, #20] ui->move_x=t_x-temp_window->x; - 8005a4e: 68bb ldr r3, [r7, #8] - 8005a50: 881b ldrh r3, [r3, #0] - 8005a52: 461a mov r2, r3 - 8005a54: 693b ldr r3, [r7, #16] - 8005a56: 1a9a subs r2, r3, r2 - 8005a58: 687b ldr r3, [r7, #4] - 8005a5a: 619a str r2, [r3, #24] + 800693e: 68bb ldr r3, [r7, #8] + 8006940: 881b ldrh r3, [r3, #0] + 8006942: 461a mov r2, r3 + 8006944: 693b ldr r3, [r7, #16] + 8006946: 1a9a subs r2, r3, r2 + 8006948: 687b ldr r3, [r7, #4] + 800694a: 619a str r2, [r3, #24] ui->move_y=t_y-temp_window->y; - 8005a5c: 68bb ldr r3, [r7, #8] - 8005a5e: 885b ldrh r3, [r3, #2] - 8005a60: 461a mov r2, r3 - 8005a62: 68fb ldr r3, [r7, #12] - 8005a64: 1a9a subs r2, r3, r2 - 8005a66: 687b ldr r3, [r7, #4] - 8005a68: 61da str r2, [r3, #28] + 800694c: 68bb ldr r3, [r7, #8] + 800694e: 885b ldrh r3, [r3, #2] + 8006950: 461a mov r2, r3 + 8006952: 68fb ldr r3, [r7, #12] + 8006954: 1a9a subs r2, r3, r2 + 8006956: 687b ldr r3, [r7, #4] + 8006958: 61da str r2, [r3, #28] break; - 8005a6a: e000 b.n 8005a6e + 800695a: e000 b.n 800695e case BODY: //ui->background=temp_windows_stack->window->background; //ui->refresh_ui_flag=1; break; - 8005a6c: bf00 nop + 800695c: bf00 nop } flag=0; //结束扫描 防止穿透当前窗口 - 8005a6e: 2300 movs r3, #0 - 8005a70: 61bb str r3, [r7, #24] + 800695e: 2300 movs r3, #0 + 8006960: 61bb str r3, [r7, #24] } temp_windows_stack=temp_windows_stack->up; //往前扫描 - 8005a72: 69fb ldr r3, [r7, #28] - 8005a74: 681b ldr r3, [r3, #0] - 8005a76: 61fb str r3, [r7, #28] - 8005a78: e001 b.n 8005a7e + 8006962: 69fb ldr r3, [r7, #28] + 8006964: 681b ldr r3, [r3, #0] + 8006966: 61fb str r3, [r7, #28] + 8006968: e001 b.n 800696e }else { flag=0; //一个窗口都没有 直接结束循环 - 8005a7a: 2300 movs r3, #0 - 8005a7c: 61bb str r3, [r7, #24] + 800696a: 2300 movs r3, #0 + 800696c: 61bb str r3, [r7, #24] } }while(flag); - 8005a7e: 69bb ldr r3, [r7, #24] - 8005a80: 2b00 cmp r3, #0 - 8005a82: d18b bne.n 800599c - 8005a84: e032 b.n 8005aec + 800696e: 69bb ldr r3, [r7, #24] + 8006970: 2b00 cmp r3, #0 + 8006972: d18b bne.n 800688c + 8006974: e032 b.n 80069dc } }else { temp_window=ui->moveed_windwos; - 8005a86: 687b ldr r3, [r7, #4] - 8005a88: 695b ldr r3, [r3, #20] - 8005a8a: 60bb str r3, [r7, #8] + 8006976: 687b ldr r3, [r7, #4] + 8006978: 695b ldr r3, [r3, #20] + 800697a: 60bb str r3, [r7, #8] temp_window->x=t_x-ui->move_x; - 8005a8c: 693b ldr r3, [r7, #16] - 8005a8e: b29a uxth r2, r3 - 8005a90: 687b ldr r3, [r7, #4] - 8005a92: 699b ldr r3, [r3, #24] - 8005a94: b29b uxth r3, r3 - 8005a96: 1ad3 subs r3, r2, r3 - 8005a98: b29a uxth r2, r3 - 8005a9a: 68bb ldr r3, [r7, #8] - 8005a9c: 801a strh r2, [r3, #0] + 800697c: 693b ldr r3, [r7, #16] + 800697e: b29a uxth r2, r3 + 8006980: 687b ldr r3, [r7, #4] + 8006982: 699b ldr r3, [r3, #24] + 8006984: b29b uxth r3, r3 + 8006986: 1ad3 subs r3, r2, r3 + 8006988: b29a uxth r2, r3 + 800698a: 68bb ldr r3, [r7, #8] + 800698c: 801a strh r2, [r3, #0] temp_window->y=t_y-ui->move_y; - 8005a9e: 68fb ldr r3, [r7, #12] - 8005aa0: b29a uxth r2, r3 - 8005aa2: 687b ldr r3, [r7, #4] - 8005aa4: 69db ldr r3, [r3, #28] - 8005aa6: b29b uxth r3, r3 - 8005aa8: 1ad3 subs r3, r2, r3 - 8005aaa: b29a uxth r2, r3 - 8005aac: 68bb ldr r3, [r7, #8] - 8005aae: 805a strh r2, [r3, #2] + 800698e: 68fb ldr r3, [r7, #12] + 8006990: b29a uxth r2, r3 + 8006992: 687b ldr r3, [r7, #4] + 8006994: 69db ldr r3, [r3, #28] + 8006996: b29b uxth r3, r3 + 8006998: 1ad3 subs r3, r2, r3 + 800699a: b29a uxth r2, r3 + 800699c: 68bb ldr r3, [r7, #8] + 800699e: 805a strh r2, [r3, #2] ui->refresh_ui_flag=1; - 8005ab0: 687a ldr r2, [r7, #4] - 8005ab2: f892 3020 ldrb.w r3, [r2, #32] - 8005ab6: f043 0304 orr.w r3, r3, #4 - 8005aba: f882 3020 strb.w r3, [r2, #32] - 8005abe: e015 b.n 8005aec + 80069a0: 687a ldr r2, [r7, #4] + 80069a2: f892 3020 ldrb.w r3, [r2, #32] + 80069a6: f043 0304 orr.w r3, r3, #4 + 80069aa: f882 3020 strb.w r3, [r2, #32] + 80069ae: e015 b.n 80069dc }else { if(ui->First_click_flag==1) - 8005ac0: 687b ldr r3, [r7, #4] - 8005ac2: f893 3020 ldrb.w r3, [r3, #32] - 8005ac6: f003 0302 and.w r3, r3, #2 - 8005aca: b2db uxtb r3, r3 - 8005acc: 2b00 cmp r3, #0 - 8005ace: d006 beq.n 8005ade + 80069b0: 687b ldr r3, [r7, #4] + 80069b2: f893 3020 ldrb.w r3, [r3, #32] + 80069b6: f003 0302 and.w r3, r3, #2 + 80069ba: b2db uxtb r3, r3 + 80069bc: 2b00 cmp r3, #0 + 80069be: d006 beq.n 80069ce { ui->First_click_flag=0; - 8005ad0: 687a ldr r2, [r7, #4] - 8005ad2: f892 3020 ldrb.w r3, [r2, #32] - 8005ad6: f36f 0341 bfc r3, #1, #1 - 8005ada: f882 3020 strb.w r3, [r2, #32] + 80069c0: 687a ldr r2, [r7, #4] + 80069c2: f892 3020 ldrb.w r3, [r2, #32] + 80069c6: f36f 0341 bfc r3, #1, #1 + 80069ca: f882 3020 strb.w r3, [r2, #32] } if(ui->moveed_windwos!=NULL) - 8005ade: 687b ldr r3, [r7, #4] - 8005ae0: 695b ldr r3, [r3, #20] - 8005ae2: 2b00 cmp r3, #0 - 8005ae4: d002 beq.n 8005aec + 80069ce: 687b ldr r3, [r7, #4] + 80069d0: 695b ldr r3, [r3, #20] + 80069d2: 2b00 cmp r3, #0 + 80069d4: d002 beq.n 80069dc { ui->moveed_windwos=NULL; - 8005ae6: 687b ldr r3, [r7, #4] - 8005ae8: 2200 movs r2, #0 - 8005aea: 615a str r2, [r3, #20] + 80069d6: 687b ldr r3, [r7, #4] + 80069d8: 2200 movs r2, #0 + 80069da: 615a str r2, [r3, #20] } } //display if(ui->refresh_ui_flag==1) - 8005aec: 687b ldr r3, [r7, #4] - 8005aee: f893 3020 ldrb.w r3, [r3, #32] - 8005af2: f003 0304 and.w r3, r3, #4 - 8005af6: b2db uxtb r3, r3 - 8005af8: 2b00 cmp r3, #0 - 8005afa: d009 beq.n 8005b10 + 80069dc: 687b ldr r3, [r7, #4] + 80069de: f893 3020 ldrb.w r3, [r3, #32] + 80069e2: f003 0304 and.w r3, r3, #4 + 80069e6: b2db uxtb r3, r3 + 80069e8: 2b00 cmp r3, #0 + 80069ea: d009 beq.n 8006a00 { ui->refresh_ui_flag=0; - 8005afc: 687a ldr r2, [r7, #4] - 8005afe: f892 3020 ldrb.w r3, [r2, #32] - 8005b02: f36f 0382 bfc r3, #2, #1 - 8005b06: f882 3020 strb.w r3, [r2, #32] + 80069ec: 687a ldr r2, [r7, #4] + 80069ee: f892 3020 ldrb.w r3, [r2, #32] + 80069f2: f36f 0382 bfc r3, #2, #1 + 80069f6: f882 3020 strb.w r3, [r2, #32] Refresh_UI(ui); - 8005b0a: 6878 ldr r0, [r7, #4] - 8005b0c: f7ff fe53 bl 80057b6 + 80069fa: 6878 ldr r0, [r7, #4] + 80069fc: f7ff fe53 bl 80066a6 } } - 8005b10: bf00 nop - 8005b12: 3720 adds r7, #32 - 8005b14: 46bd mov sp, r7 - 8005b16: bd80 pop {r7, pc} - 8005b18: 200002e0 .word 0x200002e0 + 8006a00: bf00 nop + 8006a02: 3720 adds r7, #32 + 8006a04: 46bd mov sp, r7 + 8006a06: bd80 pop {r7, pc} + 8006a08: 200002f0 .word 0x200002f0 -08005b1c <__errno>: - 8005b1c: 4b01 ldr r3, [pc, #4] ; (8005b24 <__errno+0x8>) - 8005b1e: 6818 ldr r0, [r3, #0] - 8005b20: 4770 bx lr - 8005b22: bf00 nop - 8005b24: 2000000c .word 0x2000000c +08006a0c <__errno>: + 8006a0c: 4b01 ldr r3, [pc, #4] ; (8006a14 <__errno+0x8>) + 8006a0e: 6818 ldr r0, [r3, #0] + 8006a10: 4770 bx lr + 8006a12: bf00 nop + 8006a14: 2000000c .word 0x2000000c -08005b28 <__libc_init_array>: - 8005b28: b570 push {r4, r5, r6, lr} - 8005b2a: 2600 movs r6, #0 - 8005b2c: 4d0c ldr r5, [pc, #48] ; (8005b60 <__libc_init_array+0x38>) - 8005b2e: 4c0d ldr r4, [pc, #52] ; (8005b64 <__libc_init_array+0x3c>) - 8005b30: 1b64 subs r4, r4, r5 - 8005b32: 10a4 asrs r4, r4, #2 - 8005b34: 42a6 cmp r6, r4 - 8005b36: d109 bne.n 8005b4c <__libc_init_array+0x24> - 8005b38: f002 fec2 bl 80088c0 <_init> - 8005b3c: 2600 movs r6, #0 - 8005b3e: 4d0a ldr r5, [pc, #40] ; (8005b68 <__libc_init_array+0x40>) - 8005b40: 4c0a ldr r4, [pc, #40] ; (8005b6c <__libc_init_array+0x44>) - 8005b42: 1b64 subs r4, r4, r5 - 8005b44: 10a4 asrs r4, r4, #2 - 8005b46: 42a6 cmp r6, r4 - 8005b48: d105 bne.n 8005b56 <__libc_init_array+0x2e> - 8005b4a: bd70 pop {r4, r5, r6, pc} - 8005b4c: f855 3b04 ldr.w r3, [r5], #4 - 8005b50: 4798 blx r3 - 8005b52: 3601 adds r6, #1 - 8005b54: e7ee b.n 8005b34 <__libc_init_array+0xc> - 8005b56: f855 3b04 ldr.w r3, [r5], #4 - 8005b5a: 4798 blx r3 - 8005b5c: 3601 adds r6, #1 - 8005b5e: e7f2 b.n 8005b46 <__libc_init_array+0x1e> - 8005b60: 0800982c .word 0x0800982c - 8005b64: 0800982c .word 0x0800982c - 8005b68: 0800982c .word 0x0800982c - 8005b6c: 08009830 .word 0x08009830 +08006a18 <__libc_init_array>: + 8006a18: b570 push {r4, r5, r6, lr} + 8006a1a: 2600 movs r6, #0 + 8006a1c: 4d0c ldr r5, [pc, #48] ; (8006a50 <__libc_init_array+0x38>) + 8006a1e: 4c0d ldr r4, [pc, #52] ; (8006a54 <__libc_init_array+0x3c>) + 8006a20: 1b64 subs r4, r4, r5 + 8006a22: 10a4 asrs r4, r4, #2 + 8006a24: 42a6 cmp r6, r4 + 8006a26: d109 bne.n 8006a3c <__libc_init_array+0x24> + 8006a28: f002 ff36 bl 8009898 <_init> + 8006a2c: 2600 movs r6, #0 + 8006a2e: 4d0a ldr r5, [pc, #40] ; (8006a58 <__libc_init_array+0x40>) + 8006a30: 4c0a ldr r4, [pc, #40] ; (8006a5c <__libc_init_array+0x44>) + 8006a32: 1b64 subs r4, r4, r5 + 8006a34: 10a4 asrs r4, r4, #2 + 8006a36: 42a6 cmp r6, r4 + 8006a38: d105 bne.n 8006a46 <__libc_init_array+0x2e> + 8006a3a: bd70 pop {r4, r5, r6, pc} + 8006a3c: f855 3b04 ldr.w r3, [r5], #4 + 8006a40: 4798 blx r3 + 8006a42: 3601 adds r6, #1 + 8006a44: e7ee b.n 8006a24 <__libc_init_array+0xc> + 8006a46: f855 3b04 ldr.w r3, [r5], #4 + 8006a4a: 4798 blx r3 + 8006a4c: 3601 adds r6, #1 + 8006a4e: e7f2 b.n 8006a36 <__libc_init_array+0x1e> + 8006a50: 0800ab4c .word 0x0800ab4c + 8006a54: 0800ab4c .word 0x0800ab4c + 8006a58: 0800ab4c .word 0x0800ab4c + 8006a5c: 0800ab50 .word 0x0800ab50 -08005b70 : - 8005b70: 4b02 ldr r3, [pc, #8] ; (8005b7c ) - 8005b72: 4601 mov r1, r0 - 8005b74: 6818 ldr r0, [r3, #0] - 8005b76: f000 b85f b.w 8005c38 <_malloc_r> - 8005b7a: bf00 nop - 8005b7c: 2000000c .word 0x2000000c +08006a60 : + 8006a60: 4b02 ldr r3, [pc, #8] ; (8006a6c ) + 8006a62: 4601 mov r1, r0 + 8006a64: 6818 ldr r0, [r3, #0] + 8006a66: f000 b85f b.w 8006b28 <_malloc_r> + 8006a6a: bf00 nop + 8006a6c: 2000000c .word 0x2000000c -08005b80 : - 8005b80: 4b02 ldr r3, [pc, #8] ; (8005b8c ) - 8005b82: 4601 mov r1, r0 - 8005b84: 6818 ldr r0, [r3, #0] - 8005b86: f000 b80b b.w 8005ba0 <_free_r> - 8005b8a: bf00 nop - 8005b8c: 2000000c .word 0x2000000c +08006a70 : + 8006a70: 4b02 ldr r3, [pc, #8] ; (8006a7c ) + 8006a72: 4601 mov r1, r0 + 8006a74: 6818 ldr r0, [r3, #0] + 8006a76: f000 b80b b.w 8006a90 <_free_r> + 8006a7a: bf00 nop + 8006a7c: 2000000c .word 0x2000000c -08005b90 : - 8005b90: 4603 mov r3, r0 - 8005b92: 4402 add r2, r0 - 8005b94: 4293 cmp r3, r2 - 8005b96: d100 bne.n 8005b9a - 8005b98: 4770 bx lr - 8005b9a: f803 1b01 strb.w r1, [r3], #1 - 8005b9e: e7f9 b.n 8005b94 +08006a80 : + 8006a80: 4603 mov r3, r0 + 8006a82: 4402 add r2, r0 + 8006a84: 4293 cmp r3, r2 + 8006a86: d100 bne.n 8006a8a + 8006a88: 4770 bx lr + 8006a8a: f803 1b01 strb.w r1, [r3], #1 + 8006a8e: e7f9 b.n 8006a84 -08005ba0 <_free_r>: - 8005ba0: b538 push {r3, r4, r5, lr} - 8005ba2: 4605 mov r5, r0 - 8005ba4: 2900 cmp r1, #0 - 8005ba6: d043 beq.n 8005c30 <_free_r+0x90> - 8005ba8: f851 3c04 ldr.w r3, [r1, #-4] - 8005bac: 1f0c subs r4, r1, #4 - 8005bae: 2b00 cmp r3, #0 - 8005bb0: bfb8 it lt - 8005bb2: 18e4 addlt r4, r4, r3 - 8005bb4: f001 fbc6 bl 8007344 <__malloc_lock> - 8005bb8: 4a1e ldr r2, [pc, #120] ; (8005c34 <_free_r+0x94>) - 8005bba: 6813 ldr r3, [r2, #0] - 8005bbc: 4610 mov r0, r2 - 8005bbe: b933 cbnz r3, 8005bce <_free_r+0x2e> - 8005bc0: 6063 str r3, [r4, #4] - 8005bc2: 6014 str r4, [r2, #0] - 8005bc4: 4628 mov r0, r5 - 8005bc6: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 8005bca: f001 bbc1 b.w 8007350 <__malloc_unlock> - 8005bce: 42a3 cmp r3, r4 - 8005bd0: d90a bls.n 8005be8 <_free_r+0x48> - 8005bd2: 6821 ldr r1, [r4, #0] - 8005bd4: 1862 adds r2, r4, r1 - 8005bd6: 4293 cmp r3, r2 - 8005bd8: bf01 itttt eq - 8005bda: 681a ldreq r2, [r3, #0] - 8005bdc: 685b ldreq r3, [r3, #4] - 8005bde: 1852 addeq r2, r2, r1 - 8005be0: 6022 streq r2, [r4, #0] - 8005be2: 6063 str r3, [r4, #4] - 8005be4: 6004 str r4, [r0, #0] - 8005be6: e7ed b.n 8005bc4 <_free_r+0x24> - 8005be8: 461a mov r2, r3 - 8005bea: 685b ldr r3, [r3, #4] - 8005bec: b10b cbz r3, 8005bf2 <_free_r+0x52> - 8005bee: 42a3 cmp r3, r4 - 8005bf0: d9fa bls.n 8005be8 <_free_r+0x48> - 8005bf2: 6811 ldr r1, [r2, #0] - 8005bf4: 1850 adds r0, r2, r1 - 8005bf6: 42a0 cmp r0, r4 - 8005bf8: d10b bne.n 8005c12 <_free_r+0x72> - 8005bfa: 6820 ldr r0, [r4, #0] - 8005bfc: 4401 add r1, r0 - 8005bfe: 1850 adds r0, r2, r1 - 8005c00: 4283 cmp r3, r0 - 8005c02: 6011 str r1, [r2, #0] - 8005c04: d1de bne.n 8005bc4 <_free_r+0x24> - 8005c06: 6818 ldr r0, [r3, #0] - 8005c08: 685b ldr r3, [r3, #4] - 8005c0a: 4401 add r1, r0 - 8005c0c: 6011 str r1, [r2, #0] - 8005c0e: 6053 str r3, [r2, #4] - 8005c10: e7d8 b.n 8005bc4 <_free_r+0x24> - 8005c12: d902 bls.n 8005c1a <_free_r+0x7a> - 8005c14: 230c movs r3, #12 - 8005c16: 602b str r3, [r5, #0] - 8005c18: e7d4 b.n 8005bc4 <_free_r+0x24> - 8005c1a: 6820 ldr r0, [r4, #0] - 8005c1c: 1821 adds r1, r4, r0 - 8005c1e: 428b cmp r3, r1 - 8005c20: bf01 itttt eq - 8005c22: 6819 ldreq r1, [r3, #0] - 8005c24: 685b ldreq r3, [r3, #4] - 8005c26: 1809 addeq r1, r1, r0 - 8005c28: 6021 streq r1, [r4, #0] - 8005c2a: 6063 str r3, [r4, #4] - 8005c2c: 6054 str r4, [r2, #4] - 8005c2e: e7c9 b.n 8005bc4 <_free_r+0x24> - 8005c30: bd38 pop {r3, r4, r5, pc} - 8005c32: bf00 nop - 8005c34: 20000200 .word 0x20000200 +08006a90 <_free_r>: + 8006a90: b538 push {r3, r4, r5, lr} + 8006a92: 4605 mov r5, r0 + 8006a94: 2900 cmp r1, #0 + 8006a96: d043 beq.n 8006b20 <_free_r+0x90> + 8006a98: f851 3c04 ldr.w r3, [r1, #-4] + 8006a9c: 1f0c subs r4, r1, #4 + 8006a9e: 2b00 cmp r3, #0 + 8006aa0: bfb8 it lt + 8006aa2: 18e4 addlt r4, r4, r3 + 8006aa4: f001 fbc6 bl 8008234 <__malloc_lock> + 8006aa8: 4a1e ldr r2, [pc, #120] ; (8006b24 <_free_r+0x94>) + 8006aaa: 6813 ldr r3, [r2, #0] + 8006aac: 4610 mov r0, r2 + 8006aae: b933 cbnz r3, 8006abe <_free_r+0x2e> + 8006ab0: 6063 str r3, [r4, #4] + 8006ab2: 6014 str r4, [r2, #0] + 8006ab4: 4628 mov r0, r5 + 8006ab6: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 8006aba: f001 bbc1 b.w 8008240 <__malloc_unlock> + 8006abe: 42a3 cmp r3, r4 + 8006ac0: d90a bls.n 8006ad8 <_free_r+0x48> + 8006ac2: 6821 ldr r1, [r4, #0] + 8006ac4: 1862 adds r2, r4, r1 + 8006ac6: 4293 cmp r3, r2 + 8006ac8: bf01 itttt eq + 8006aca: 681a ldreq r2, [r3, #0] + 8006acc: 685b ldreq r3, [r3, #4] + 8006ace: 1852 addeq r2, r2, r1 + 8006ad0: 6022 streq r2, [r4, #0] + 8006ad2: 6063 str r3, [r4, #4] + 8006ad4: 6004 str r4, [r0, #0] + 8006ad6: e7ed b.n 8006ab4 <_free_r+0x24> + 8006ad8: 461a mov r2, r3 + 8006ada: 685b ldr r3, [r3, #4] + 8006adc: b10b cbz r3, 8006ae2 <_free_r+0x52> + 8006ade: 42a3 cmp r3, r4 + 8006ae0: d9fa bls.n 8006ad8 <_free_r+0x48> + 8006ae2: 6811 ldr r1, [r2, #0] + 8006ae4: 1850 adds r0, r2, r1 + 8006ae6: 42a0 cmp r0, r4 + 8006ae8: d10b bne.n 8006b02 <_free_r+0x72> + 8006aea: 6820 ldr r0, [r4, #0] + 8006aec: 4401 add r1, r0 + 8006aee: 1850 adds r0, r2, r1 + 8006af0: 4283 cmp r3, r0 + 8006af2: 6011 str r1, [r2, #0] + 8006af4: d1de bne.n 8006ab4 <_free_r+0x24> + 8006af6: 6818 ldr r0, [r3, #0] + 8006af8: 685b ldr r3, [r3, #4] + 8006afa: 4401 add r1, r0 + 8006afc: 6011 str r1, [r2, #0] + 8006afe: 6053 str r3, [r2, #4] + 8006b00: e7d8 b.n 8006ab4 <_free_r+0x24> + 8006b02: d902 bls.n 8006b0a <_free_r+0x7a> + 8006b04: 230c movs r3, #12 + 8006b06: 602b str r3, [r5, #0] + 8006b08: e7d4 b.n 8006ab4 <_free_r+0x24> + 8006b0a: 6820 ldr r0, [r4, #0] + 8006b0c: 1821 adds r1, r4, r0 + 8006b0e: 428b cmp r3, r1 + 8006b10: bf01 itttt eq + 8006b12: 6819 ldreq r1, [r3, #0] + 8006b14: 685b ldreq r3, [r3, #4] + 8006b16: 1809 addeq r1, r1, r0 + 8006b18: 6021 streq r1, [r4, #0] + 8006b1a: 6063 str r3, [r4, #4] + 8006b1c: 6054 str r4, [r2, #4] + 8006b1e: e7c9 b.n 8006ab4 <_free_r+0x24> + 8006b20: bd38 pop {r3, r4, r5, pc} + 8006b22: bf00 nop + 8006b24: 20000210 .word 0x20000210 -08005c38 <_malloc_r>: - 8005c38: b5f8 push {r3, r4, r5, r6, r7, lr} - 8005c3a: 1ccd adds r5, r1, #3 - 8005c3c: f025 0503 bic.w r5, r5, #3 - 8005c40: 3508 adds r5, #8 - 8005c42: 2d0c cmp r5, #12 - 8005c44: bf38 it cc - 8005c46: 250c movcc r5, #12 - 8005c48: 2d00 cmp r5, #0 - 8005c4a: 4606 mov r6, r0 - 8005c4c: db01 blt.n 8005c52 <_malloc_r+0x1a> - 8005c4e: 42a9 cmp r1, r5 - 8005c50: d903 bls.n 8005c5a <_malloc_r+0x22> - 8005c52: 230c movs r3, #12 - 8005c54: 6033 str r3, [r6, #0] - 8005c56: 2000 movs r0, #0 - 8005c58: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8005c5a: f001 fb73 bl 8007344 <__malloc_lock> - 8005c5e: 4921 ldr r1, [pc, #132] ; (8005ce4 <_malloc_r+0xac>) - 8005c60: 680a ldr r2, [r1, #0] - 8005c62: 4614 mov r4, r2 - 8005c64: b99c cbnz r4, 8005c8e <_malloc_r+0x56> - 8005c66: 4f20 ldr r7, [pc, #128] ; (8005ce8 <_malloc_r+0xb0>) - 8005c68: 683b ldr r3, [r7, #0] - 8005c6a: b923 cbnz r3, 8005c76 <_malloc_r+0x3e> - 8005c6c: 4621 mov r1, r4 - 8005c6e: 4630 mov r0, r6 - 8005c70: f000 fc9c bl 80065ac <_sbrk_r> - 8005c74: 6038 str r0, [r7, #0] - 8005c76: 4629 mov r1, r5 - 8005c78: 4630 mov r0, r6 - 8005c7a: f000 fc97 bl 80065ac <_sbrk_r> - 8005c7e: 1c43 adds r3, r0, #1 - 8005c80: d123 bne.n 8005cca <_malloc_r+0x92> - 8005c82: 230c movs r3, #12 - 8005c84: 4630 mov r0, r6 - 8005c86: 6033 str r3, [r6, #0] - 8005c88: f001 fb62 bl 8007350 <__malloc_unlock> - 8005c8c: e7e3 b.n 8005c56 <_malloc_r+0x1e> - 8005c8e: 6823 ldr r3, [r4, #0] - 8005c90: 1b5b subs r3, r3, r5 - 8005c92: d417 bmi.n 8005cc4 <_malloc_r+0x8c> - 8005c94: 2b0b cmp r3, #11 - 8005c96: d903 bls.n 8005ca0 <_malloc_r+0x68> - 8005c98: 6023 str r3, [r4, #0] - 8005c9a: 441c add r4, r3 - 8005c9c: 6025 str r5, [r4, #0] - 8005c9e: e004 b.n 8005caa <_malloc_r+0x72> - 8005ca0: 6863 ldr r3, [r4, #4] - 8005ca2: 42a2 cmp r2, r4 - 8005ca4: bf0c ite eq - 8005ca6: 600b streq r3, [r1, #0] - 8005ca8: 6053 strne r3, [r2, #4] - 8005caa: 4630 mov r0, r6 - 8005cac: f001 fb50 bl 8007350 <__malloc_unlock> - 8005cb0: f104 000b add.w r0, r4, #11 - 8005cb4: 1d23 adds r3, r4, #4 - 8005cb6: f020 0007 bic.w r0, r0, #7 - 8005cba: 1ac2 subs r2, r0, r3 - 8005cbc: d0cc beq.n 8005c58 <_malloc_r+0x20> - 8005cbe: 1a1b subs r3, r3, r0 - 8005cc0: 50a3 str r3, [r4, r2] - 8005cc2: e7c9 b.n 8005c58 <_malloc_r+0x20> - 8005cc4: 4622 mov r2, r4 - 8005cc6: 6864 ldr r4, [r4, #4] - 8005cc8: e7cc b.n 8005c64 <_malloc_r+0x2c> - 8005cca: 1cc4 adds r4, r0, #3 - 8005ccc: f024 0403 bic.w r4, r4, #3 - 8005cd0: 42a0 cmp r0, r4 - 8005cd2: d0e3 beq.n 8005c9c <_malloc_r+0x64> - 8005cd4: 1a21 subs r1, r4, r0 - 8005cd6: 4630 mov r0, r6 - 8005cd8: f000 fc68 bl 80065ac <_sbrk_r> - 8005cdc: 3001 adds r0, #1 - 8005cde: d1dd bne.n 8005c9c <_malloc_r+0x64> - 8005ce0: e7cf b.n 8005c82 <_malloc_r+0x4a> - 8005ce2: bf00 nop - 8005ce4: 20000200 .word 0x20000200 - 8005ce8: 20000204 .word 0x20000204 +08006b28 <_malloc_r>: + 8006b28: b5f8 push {r3, r4, r5, r6, r7, lr} + 8006b2a: 1ccd adds r5, r1, #3 + 8006b2c: f025 0503 bic.w r5, r5, #3 + 8006b30: 3508 adds r5, #8 + 8006b32: 2d0c cmp r5, #12 + 8006b34: bf38 it cc + 8006b36: 250c movcc r5, #12 + 8006b38: 2d00 cmp r5, #0 + 8006b3a: 4606 mov r6, r0 + 8006b3c: db01 blt.n 8006b42 <_malloc_r+0x1a> + 8006b3e: 42a9 cmp r1, r5 + 8006b40: d903 bls.n 8006b4a <_malloc_r+0x22> + 8006b42: 230c movs r3, #12 + 8006b44: 6033 str r3, [r6, #0] + 8006b46: 2000 movs r0, #0 + 8006b48: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8006b4a: f001 fb73 bl 8008234 <__malloc_lock> + 8006b4e: 4921 ldr r1, [pc, #132] ; (8006bd4 <_malloc_r+0xac>) + 8006b50: 680a ldr r2, [r1, #0] + 8006b52: 4614 mov r4, r2 + 8006b54: b99c cbnz r4, 8006b7e <_malloc_r+0x56> + 8006b56: 4f20 ldr r7, [pc, #128] ; (8006bd8 <_malloc_r+0xb0>) + 8006b58: 683b ldr r3, [r7, #0] + 8006b5a: b923 cbnz r3, 8006b66 <_malloc_r+0x3e> + 8006b5c: 4621 mov r1, r4 + 8006b5e: 4630 mov r0, r6 + 8006b60: f000 fc9c bl 800749c <_sbrk_r> + 8006b64: 6038 str r0, [r7, #0] + 8006b66: 4629 mov r1, r5 + 8006b68: 4630 mov r0, r6 + 8006b6a: f000 fc97 bl 800749c <_sbrk_r> + 8006b6e: 1c43 adds r3, r0, #1 + 8006b70: d123 bne.n 8006bba <_malloc_r+0x92> + 8006b72: 230c movs r3, #12 + 8006b74: 4630 mov r0, r6 + 8006b76: 6033 str r3, [r6, #0] + 8006b78: f001 fb62 bl 8008240 <__malloc_unlock> + 8006b7c: e7e3 b.n 8006b46 <_malloc_r+0x1e> + 8006b7e: 6823 ldr r3, [r4, #0] + 8006b80: 1b5b subs r3, r3, r5 + 8006b82: d417 bmi.n 8006bb4 <_malloc_r+0x8c> + 8006b84: 2b0b cmp r3, #11 + 8006b86: d903 bls.n 8006b90 <_malloc_r+0x68> + 8006b88: 6023 str r3, [r4, #0] + 8006b8a: 441c add r4, r3 + 8006b8c: 6025 str r5, [r4, #0] + 8006b8e: e004 b.n 8006b9a <_malloc_r+0x72> + 8006b90: 6863 ldr r3, [r4, #4] + 8006b92: 42a2 cmp r2, r4 + 8006b94: bf0c ite eq + 8006b96: 600b streq r3, [r1, #0] + 8006b98: 6053 strne r3, [r2, #4] + 8006b9a: 4630 mov r0, r6 + 8006b9c: f001 fb50 bl 8008240 <__malloc_unlock> + 8006ba0: f104 000b add.w r0, r4, #11 + 8006ba4: 1d23 adds r3, r4, #4 + 8006ba6: f020 0007 bic.w r0, r0, #7 + 8006baa: 1ac2 subs r2, r0, r3 + 8006bac: d0cc beq.n 8006b48 <_malloc_r+0x20> + 8006bae: 1a1b subs r3, r3, r0 + 8006bb0: 50a3 str r3, [r4, r2] + 8006bb2: e7c9 b.n 8006b48 <_malloc_r+0x20> + 8006bb4: 4622 mov r2, r4 + 8006bb6: 6864 ldr r4, [r4, #4] + 8006bb8: e7cc b.n 8006b54 <_malloc_r+0x2c> + 8006bba: 1cc4 adds r4, r0, #3 + 8006bbc: f024 0403 bic.w r4, r4, #3 + 8006bc0: 42a0 cmp r0, r4 + 8006bc2: d0e3 beq.n 8006b8c <_malloc_r+0x64> + 8006bc4: 1a21 subs r1, r4, r0 + 8006bc6: 4630 mov r0, r6 + 8006bc8: f000 fc68 bl 800749c <_sbrk_r> + 8006bcc: 3001 adds r0, #1 + 8006bce: d1dd bne.n 8006b8c <_malloc_r+0x64> + 8006bd0: e7cf b.n 8006b72 <_malloc_r+0x4a> + 8006bd2: bf00 nop + 8006bd4: 20000210 .word 0x20000210 + 8006bd8: 20000214 .word 0x20000214 -08005cec <__cvt>: - 8005cec: 2b00 cmp r3, #0 - 8005cee: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8005cf2: 461f mov r7, r3 - 8005cf4: bfbb ittet lt - 8005cf6: f103 4300 addlt.w r3, r3, #2147483648 ; 0x80000000 - 8005cfa: 461f movlt r7, r3 - 8005cfc: 2300 movge r3, #0 - 8005cfe: 232d movlt r3, #45 ; 0x2d - 8005d00: b088 sub sp, #32 - 8005d02: 4614 mov r4, r2 - 8005d04: 9a12 ldr r2, [sp, #72] ; 0x48 - 8005d06: 9d10 ldr r5, [sp, #64] ; 0x40 - 8005d08: 7013 strb r3, [r2, #0] - 8005d0a: 9b14 ldr r3, [sp, #80] ; 0x50 - 8005d0c: f8dd a04c ldr.w sl, [sp, #76] ; 0x4c - 8005d10: f023 0820 bic.w r8, r3, #32 - 8005d14: f1b8 0f46 cmp.w r8, #70 ; 0x46 - 8005d18: d005 beq.n 8005d26 <__cvt+0x3a> - 8005d1a: f1b8 0f45 cmp.w r8, #69 ; 0x45 - 8005d1e: d100 bne.n 8005d22 <__cvt+0x36> - 8005d20: 3501 adds r5, #1 - 8005d22: 2302 movs r3, #2 - 8005d24: e000 b.n 8005d28 <__cvt+0x3c> - 8005d26: 2303 movs r3, #3 - 8005d28: aa07 add r2, sp, #28 - 8005d2a: 9204 str r2, [sp, #16] - 8005d2c: aa06 add r2, sp, #24 - 8005d2e: e9cd a202 strd sl, r2, [sp, #8] - 8005d32: e9cd 3500 strd r3, r5, [sp] - 8005d36: 4622 mov r2, r4 - 8005d38: 463b mov r3, r7 - 8005d3a: f000 fcf5 bl 8006728 <_dtoa_r> - 8005d3e: f1b8 0f47 cmp.w r8, #71 ; 0x47 - 8005d42: 4606 mov r6, r0 - 8005d44: d102 bne.n 8005d4c <__cvt+0x60> - 8005d46: 9b11 ldr r3, [sp, #68] ; 0x44 - 8005d48: 07db lsls r3, r3, #31 - 8005d4a: d522 bpl.n 8005d92 <__cvt+0xa6> - 8005d4c: f1b8 0f46 cmp.w r8, #70 ; 0x46 - 8005d50: eb06 0905 add.w r9, r6, r5 - 8005d54: d110 bne.n 8005d78 <__cvt+0x8c> - 8005d56: 7833 ldrb r3, [r6, #0] - 8005d58: 2b30 cmp r3, #48 ; 0x30 - 8005d5a: d10a bne.n 8005d72 <__cvt+0x86> - 8005d5c: 2200 movs r2, #0 - 8005d5e: 2300 movs r3, #0 - 8005d60: 4620 mov r0, r4 - 8005d62: 4639 mov r1, r7 - 8005d64: f7fa fe8c bl 8000a80 <__aeabi_dcmpeq> - 8005d68: b918 cbnz r0, 8005d72 <__cvt+0x86> - 8005d6a: f1c5 0501 rsb r5, r5, #1 - 8005d6e: f8ca 5000 str.w r5, [sl] - 8005d72: f8da 3000 ldr.w r3, [sl] - 8005d76: 4499 add r9, r3 - 8005d78: 2200 movs r2, #0 - 8005d7a: 2300 movs r3, #0 - 8005d7c: 4620 mov r0, r4 - 8005d7e: 4639 mov r1, r7 - 8005d80: f7fa fe7e bl 8000a80 <__aeabi_dcmpeq> - 8005d84: b108 cbz r0, 8005d8a <__cvt+0x9e> - 8005d86: f8cd 901c str.w r9, [sp, #28] - 8005d8a: 2230 movs r2, #48 ; 0x30 - 8005d8c: 9b07 ldr r3, [sp, #28] - 8005d8e: 454b cmp r3, r9 - 8005d90: d307 bcc.n 8005da2 <__cvt+0xb6> - 8005d92: 4630 mov r0, r6 - 8005d94: 9b07 ldr r3, [sp, #28] - 8005d96: 9a15 ldr r2, [sp, #84] ; 0x54 - 8005d98: 1b9b subs r3, r3, r6 - 8005d9a: 6013 str r3, [r2, #0] - 8005d9c: b008 add sp, #32 - 8005d9e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8005da2: 1c59 adds r1, r3, #1 - 8005da4: 9107 str r1, [sp, #28] - 8005da6: 701a strb r2, [r3, #0] - 8005da8: e7f0 b.n 8005d8c <__cvt+0xa0> +08006bdc <__cvt>: + 8006bdc: 2b00 cmp r3, #0 + 8006bde: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8006be2: 461f mov r7, r3 + 8006be4: bfbb ittet lt + 8006be6: f103 4300 addlt.w r3, r3, #2147483648 ; 0x80000000 + 8006bea: 461f movlt r7, r3 + 8006bec: 2300 movge r3, #0 + 8006bee: 232d movlt r3, #45 ; 0x2d + 8006bf0: b088 sub sp, #32 + 8006bf2: 4614 mov r4, r2 + 8006bf4: 9a12 ldr r2, [sp, #72] ; 0x48 + 8006bf6: 9d10 ldr r5, [sp, #64] ; 0x40 + 8006bf8: 7013 strb r3, [r2, #0] + 8006bfa: 9b14 ldr r3, [sp, #80] ; 0x50 + 8006bfc: f8dd a04c ldr.w sl, [sp, #76] ; 0x4c + 8006c00: f023 0820 bic.w r8, r3, #32 + 8006c04: f1b8 0f46 cmp.w r8, #70 ; 0x46 + 8006c08: d005 beq.n 8006c16 <__cvt+0x3a> + 8006c0a: f1b8 0f45 cmp.w r8, #69 ; 0x45 + 8006c0e: d100 bne.n 8006c12 <__cvt+0x36> + 8006c10: 3501 adds r5, #1 + 8006c12: 2302 movs r3, #2 + 8006c14: e000 b.n 8006c18 <__cvt+0x3c> + 8006c16: 2303 movs r3, #3 + 8006c18: aa07 add r2, sp, #28 + 8006c1a: 9204 str r2, [sp, #16] + 8006c1c: aa06 add r2, sp, #24 + 8006c1e: e9cd a202 strd sl, r2, [sp, #8] + 8006c22: e9cd 3500 strd r3, r5, [sp] + 8006c26: 4622 mov r2, r4 + 8006c28: 463b mov r3, r7 + 8006c2a: f000 fcf5 bl 8007618 <_dtoa_r> + 8006c2e: f1b8 0f47 cmp.w r8, #71 ; 0x47 + 8006c32: 4606 mov r6, r0 + 8006c34: d102 bne.n 8006c3c <__cvt+0x60> + 8006c36: 9b11 ldr r3, [sp, #68] ; 0x44 + 8006c38: 07db lsls r3, r3, #31 + 8006c3a: d522 bpl.n 8006c82 <__cvt+0xa6> + 8006c3c: f1b8 0f46 cmp.w r8, #70 ; 0x46 + 8006c40: eb06 0905 add.w r9, r6, r5 + 8006c44: d110 bne.n 8006c68 <__cvt+0x8c> + 8006c46: 7833 ldrb r3, [r6, #0] + 8006c48: 2b30 cmp r3, #48 ; 0x30 + 8006c4a: d10a bne.n 8006c62 <__cvt+0x86> + 8006c4c: 2200 movs r2, #0 + 8006c4e: 2300 movs r3, #0 + 8006c50: 4620 mov r0, r4 + 8006c52: 4639 mov r1, r7 + 8006c54: f7f9 ff14 bl 8000a80 <__aeabi_dcmpeq> + 8006c58: b918 cbnz r0, 8006c62 <__cvt+0x86> + 8006c5a: f1c5 0501 rsb r5, r5, #1 + 8006c5e: f8ca 5000 str.w r5, [sl] + 8006c62: f8da 3000 ldr.w r3, [sl] + 8006c66: 4499 add r9, r3 + 8006c68: 2200 movs r2, #0 + 8006c6a: 2300 movs r3, #0 + 8006c6c: 4620 mov r0, r4 + 8006c6e: 4639 mov r1, r7 + 8006c70: f7f9 ff06 bl 8000a80 <__aeabi_dcmpeq> + 8006c74: b108 cbz r0, 8006c7a <__cvt+0x9e> + 8006c76: f8cd 901c str.w r9, [sp, #28] + 8006c7a: 2230 movs r2, #48 ; 0x30 + 8006c7c: 9b07 ldr r3, [sp, #28] + 8006c7e: 454b cmp r3, r9 + 8006c80: d307 bcc.n 8006c92 <__cvt+0xb6> + 8006c82: 4630 mov r0, r6 + 8006c84: 9b07 ldr r3, [sp, #28] + 8006c86: 9a15 ldr r2, [sp, #84] ; 0x54 + 8006c88: 1b9b subs r3, r3, r6 + 8006c8a: 6013 str r3, [r2, #0] + 8006c8c: b008 add sp, #32 + 8006c8e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8006c92: 1c59 adds r1, r3, #1 + 8006c94: 9107 str r1, [sp, #28] + 8006c96: 701a strb r2, [r3, #0] + 8006c98: e7f0 b.n 8006c7c <__cvt+0xa0> -08005daa <__exponent>: - 8005daa: 4603 mov r3, r0 - 8005dac: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} - 8005dae: 2900 cmp r1, #0 - 8005db0: f803 2b02 strb.w r2, [r3], #2 - 8005db4: bfb6 itet lt - 8005db6: 222d movlt r2, #45 ; 0x2d - 8005db8: 222b movge r2, #43 ; 0x2b - 8005dba: 4249 neglt r1, r1 - 8005dbc: 2909 cmp r1, #9 - 8005dbe: 7042 strb r2, [r0, #1] - 8005dc0: dd2b ble.n 8005e1a <__exponent+0x70> - 8005dc2: f10d 0407 add.w r4, sp, #7 - 8005dc6: 46a4 mov ip, r4 - 8005dc8: 270a movs r7, #10 - 8005dca: fb91 f6f7 sdiv r6, r1, r7 - 8005dce: 460a mov r2, r1 - 8005dd0: 46a6 mov lr, r4 - 8005dd2: fb07 1516 mls r5, r7, r6, r1 - 8005dd6: 2a63 cmp r2, #99 ; 0x63 - 8005dd8: f105 0530 add.w r5, r5, #48 ; 0x30 - 8005ddc: 4631 mov r1, r6 - 8005dde: f104 34ff add.w r4, r4, #4294967295 ; 0xffffffff - 8005de2: f80e 5c01 strb.w r5, [lr, #-1] - 8005de6: dcf0 bgt.n 8005dca <__exponent+0x20> - 8005de8: 3130 adds r1, #48 ; 0x30 - 8005dea: f1ae 0502 sub.w r5, lr, #2 - 8005dee: f804 1c01 strb.w r1, [r4, #-1] - 8005df2: 4629 mov r1, r5 - 8005df4: 1c44 adds r4, r0, #1 - 8005df6: 4561 cmp r1, ip - 8005df8: d30a bcc.n 8005e10 <__exponent+0x66> - 8005dfa: f10d 0209 add.w r2, sp, #9 - 8005dfe: eba2 020e sub.w r2, r2, lr - 8005e02: 4565 cmp r5, ip - 8005e04: bf88 it hi - 8005e06: 2200 movhi r2, #0 - 8005e08: 4413 add r3, r2 - 8005e0a: 1a18 subs r0, r3, r0 - 8005e0c: b003 add sp, #12 - 8005e0e: bdf0 pop {r4, r5, r6, r7, pc} - 8005e10: f811 2b01 ldrb.w r2, [r1], #1 - 8005e14: f804 2f01 strb.w r2, [r4, #1]! - 8005e18: e7ed b.n 8005df6 <__exponent+0x4c> - 8005e1a: 2330 movs r3, #48 ; 0x30 - 8005e1c: 3130 adds r1, #48 ; 0x30 - 8005e1e: 7083 strb r3, [r0, #2] - 8005e20: 70c1 strb r1, [r0, #3] - 8005e22: 1d03 adds r3, r0, #4 - 8005e24: e7f1 b.n 8005e0a <__exponent+0x60> +08006c9a <__exponent>: + 8006c9a: 4603 mov r3, r0 + 8006c9c: b5f7 push {r0, r1, r2, r4, r5, r6, r7, lr} + 8006c9e: 2900 cmp r1, #0 + 8006ca0: f803 2b02 strb.w r2, [r3], #2 + 8006ca4: bfb6 itet lt + 8006ca6: 222d movlt r2, #45 ; 0x2d + 8006ca8: 222b movge r2, #43 ; 0x2b + 8006caa: 4249 neglt r1, r1 + 8006cac: 2909 cmp r1, #9 + 8006cae: 7042 strb r2, [r0, #1] + 8006cb0: dd2b ble.n 8006d0a <__exponent+0x70> + 8006cb2: f10d 0407 add.w r4, sp, #7 + 8006cb6: 46a4 mov ip, r4 + 8006cb8: 270a movs r7, #10 + 8006cba: fb91 f6f7 sdiv r6, r1, r7 + 8006cbe: 460a mov r2, r1 + 8006cc0: 46a6 mov lr, r4 + 8006cc2: fb07 1516 mls r5, r7, r6, r1 + 8006cc6: 2a63 cmp r2, #99 ; 0x63 + 8006cc8: f105 0530 add.w r5, r5, #48 ; 0x30 + 8006ccc: 4631 mov r1, r6 + 8006cce: f104 34ff add.w r4, r4, #4294967295 ; 0xffffffff + 8006cd2: f80e 5c01 strb.w r5, [lr, #-1] + 8006cd6: dcf0 bgt.n 8006cba <__exponent+0x20> + 8006cd8: 3130 adds r1, #48 ; 0x30 + 8006cda: f1ae 0502 sub.w r5, lr, #2 + 8006cde: f804 1c01 strb.w r1, [r4, #-1] + 8006ce2: 4629 mov r1, r5 + 8006ce4: 1c44 adds r4, r0, #1 + 8006ce6: 4561 cmp r1, ip + 8006ce8: d30a bcc.n 8006d00 <__exponent+0x66> + 8006cea: f10d 0209 add.w r2, sp, #9 + 8006cee: eba2 020e sub.w r2, r2, lr + 8006cf2: 4565 cmp r5, ip + 8006cf4: bf88 it hi + 8006cf6: 2200 movhi r2, #0 + 8006cf8: 4413 add r3, r2 + 8006cfa: 1a18 subs r0, r3, r0 + 8006cfc: b003 add sp, #12 + 8006cfe: bdf0 pop {r4, r5, r6, r7, pc} + 8006d00: f811 2b01 ldrb.w r2, [r1], #1 + 8006d04: f804 2f01 strb.w r2, [r4, #1]! + 8006d08: e7ed b.n 8006ce6 <__exponent+0x4c> + 8006d0a: 2330 movs r3, #48 ; 0x30 + 8006d0c: 3130 adds r1, #48 ; 0x30 + 8006d0e: 7083 strb r3, [r0, #2] + 8006d10: 70c1 strb r1, [r0, #3] + 8006d12: 1d03 adds r3, r0, #4 + 8006d14: e7f1 b.n 8006cfa <__exponent+0x60> ... -08005e28 <_printf_float>: - 8005e28: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8005e2c: b091 sub sp, #68 ; 0x44 - 8005e2e: 460c mov r4, r1 - 8005e30: f8dd 8068 ldr.w r8, [sp, #104] ; 0x68 - 8005e34: 4616 mov r6, r2 - 8005e36: 461f mov r7, r3 - 8005e38: 4605 mov r5, r0 - 8005e3a: f001 fa63 bl 8007304 <_localeconv_r> - 8005e3e: 6803 ldr r3, [r0, #0] - 8005e40: 4618 mov r0, r3 - 8005e42: 9309 str r3, [sp, #36] ; 0x24 - 8005e44: f7fa f9f0 bl 8000228 - 8005e48: 2300 movs r3, #0 - 8005e4a: 930e str r3, [sp, #56] ; 0x38 - 8005e4c: f8d8 3000 ldr.w r3, [r8] - 8005e50: 900a str r0, [sp, #40] ; 0x28 - 8005e52: 3307 adds r3, #7 - 8005e54: f023 0307 bic.w r3, r3, #7 - 8005e58: f103 0208 add.w r2, r3, #8 - 8005e5c: f894 9018 ldrb.w r9, [r4, #24] - 8005e60: f8d4 b000 ldr.w fp, [r4] - 8005e64: f8c8 2000 str.w r2, [r8] - 8005e68: e9d3 2300 ldrd r2, r3, [r3] - 8005e6c: e9c4 2312 strd r2, r3, [r4, #72] ; 0x48 - 8005e70: e9d4 8a12 ldrd r8, sl, [r4, #72] ; 0x48 - 8005e74: f02a 4300 bic.w r3, sl, #2147483648 ; 0x80000000 - 8005e78: 930b str r3, [sp, #44] ; 0x2c - 8005e7a: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff - 8005e7e: 4640 mov r0, r8 - 8005e80: 4b9c ldr r3, [pc, #624] ; (80060f4 <_printf_float+0x2cc>) - 8005e82: 990b ldr r1, [sp, #44] ; 0x2c - 8005e84: f7fa fe2e bl 8000ae4 <__aeabi_dcmpun> - 8005e88: bb70 cbnz r0, 8005ee8 <_printf_float+0xc0> - 8005e8a: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff - 8005e8e: 4640 mov r0, r8 - 8005e90: 4b98 ldr r3, [pc, #608] ; (80060f4 <_printf_float+0x2cc>) - 8005e92: 990b ldr r1, [sp, #44] ; 0x2c - 8005e94: f7fa fe08 bl 8000aa8 <__aeabi_dcmple> - 8005e98: bb30 cbnz r0, 8005ee8 <_printf_float+0xc0> - 8005e9a: 2200 movs r2, #0 - 8005e9c: 2300 movs r3, #0 - 8005e9e: 4640 mov r0, r8 - 8005ea0: 4651 mov r1, sl - 8005ea2: f7fa fdf7 bl 8000a94 <__aeabi_dcmplt> - 8005ea6: b110 cbz r0, 8005eae <_printf_float+0x86> - 8005ea8: 232d movs r3, #45 ; 0x2d - 8005eaa: f884 3043 strb.w r3, [r4, #67] ; 0x43 - 8005eae: 4b92 ldr r3, [pc, #584] ; (80060f8 <_printf_float+0x2d0>) - 8005eb0: 4892 ldr r0, [pc, #584] ; (80060fc <_printf_float+0x2d4>) - 8005eb2: f1b9 0f47 cmp.w r9, #71 ; 0x47 - 8005eb6: bf94 ite ls - 8005eb8: 4698 movls r8, r3 - 8005eba: 4680 movhi r8, r0 - 8005ebc: 2303 movs r3, #3 - 8005ebe: f04f 0a00 mov.w sl, #0 - 8005ec2: 6123 str r3, [r4, #16] - 8005ec4: f02b 0304 bic.w r3, fp, #4 - 8005ec8: 6023 str r3, [r4, #0] - 8005eca: 4633 mov r3, r6 - 8005ecc: 4621 mov r1, r4 - 8005ece: 4628 mov r0, r5 - 8005ed0: 9700 str r7, [sp, #0] - 8005ed2: aa0f add r2, sp, #60 ; 0x3c - 8005ed4: f000 f9d4 bl 8006280 <_printf_common> - 8005ed8: 3001 adds r0, #1 - 8005eda: f040 8090 bne.w 8005ffe <_printf_float+0x1d6> - 8005ede: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 8005ee2: b011 add sp, #68 ; 0x44 - 8005ee4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8005ee8: 4642 mov r2, r8 - 8005eea: 4653 mov r3, sl - 8005eec: 4640 mov r0, r8 - 8005eee: 4651 mov r1, sl - 8005ef0: f7fa fdf8 bl 8000ae4 <__aeabi_dcmpun> - 8005ef4: b148 cbz r0, 8005f0a <_printf_float+0xe2> - 8005ef6: f1ba 0f00 cmp.w sl, #0 - 8005efa: bfb8 it lt - 8005efc: 232d movlt r3, #45 ; 0x2d - 8005efe: 4880 ldr r0, [pc, #512] ; (8006100 <_printf_float+0x2d8>) - 8005f00: bfb8 it lt - 8005f02: f884 3043 strblt.w r3, [r4, #67] ; 0x43 - 8005f06: 4b7f ldr r3, [pc, #508] ; (8006104 <_printf_float+0x2dc>) - 8005f08: e7d3 b.n 8005eb2 <_printf_float+0x8a> - 8005f0a: 6863 ldr r3, [r4, #4] - 8005f0c: f009 01df and.w r1, r9, #223 ; 0xdf - 8005f10: 1c5a adds r2, r3, #1 - 8005f12: d142 bne.n 8005f9a <_printf_float+0x172> - 8005f14: 2306 movs r3, #6 - 8005f16: 6063 str r3, [r4, #4] - 8005f18: 2200 movs r2, #0 - 8005f1a: 9206 str r2, [sp, #24] - 8005f1c: aa0e add r2, sp, #56 ; 0x38 - 8005f1e: e9cd 9204 strd r9, r2, [sp, #16] - 8005f22: aa0d add r2, sp, #52 ; 0x34 - 8005f24: f44b 6380 orr.w r3, fp, #1024 ; 0x400 - 8005f28: 9203 str r2, [sp, #12] - 8005f2a: f10d 0233 add.w r2, sp, #51 ; 0x33 - 8005f2e: e9cd 3201 strd r3, r2, [sp, #4] - 8005f32: 6023 str r3, [r4, #0] - 8005f34: 6863 ldr r3, [r4, #4] - 8005f36: 4642 mov r2, r8 - 8005f38: 9300 str r3, [sp, #0] - 8005f3a: 4628 mov r0, r5 - 8005f3c: 4653 mov r3, sl - 8005f3e: 910b str r1, [sp, #44] ; 0x2c - 8005f40: f7ff fed4 bl 8005cec <__cvt> - 8005f44: 990b ldr r1, [sp, #44] ; 0x2c - 8005f46: 4680 mov r8, r0 - 8005f48: 2947 cmp r1, #71 ; 0x47 - 8005f4a: 990d ldr r1, [sp, #52] ; 0x34 - 8005f4c: d108 bne.n 8005f60 <_printf_float+0x138> - 8005f4e: 1cc8 adds r0, r1, #3 - 8005f50: db02 blt.n 8005f58 <_printf_float+0x130> - 8005f52: 6863 ldr r3, [r4, #4] - 8005f54: 4299 cmp r1, r3 - 8005f56: dd40 ble.n 8005fda <_printf_float+0x1b2> - 8005f58: f1a9 0902 sub.w r9, r9, #2 - 8005f5c: fa5f f989 uxtb.w r9, r9 - 8005f60: f1b9 0f65 cmp.w r9, #101 ; 0x65 - 8005f64: d81f bhi.n 8005fa6 <_printf_float+0x17e> - 8005f66: 464a mov r2, r9 - 8005f68: 3901 subs r1, #1 - 8005f6a: f104 0050 add.w r0, r4, #80 ; 0x50 - 8005f6e: 910d str r1, [sp, #52] ; 0x34 - 8005f70: f7ff ff1b bl 8005daa <__exponent> - 8005f74: 9a0e ldr r2, [sp, #56] ; 0x38 - 8005f76: 4682 mov sl, r0 - 8005f78: 1813 adds r3, r2, r0 - 8005f7a: 2a01 cmp r2, #1 - 8005f7c: 6123 str r3, [r4, #16] - 8005f7e: dc02 bgt.n 8005f86 <_printf_float+0x15e> - 8005f80: 6822 ldr r2, [r4, #0] - 8005f82: 07d2 lsls r2, r2, #31 - 8005f84: d501 bpl.n 8005f8a <_printf_float+0x162> - 8005f86: 3301 adds r3, #1 - 8005f88: 6123 str r3, [r4, #16] - 8005f8a: f89d 3033 ldrb.w r3, [sp, #51] ; 0x33 - 8005f8e: 2b00 cmp r3, #0 - 8005f90: d09b beq.n 8005eca <_printf_float+0xa2> - 8005f92: 232d movs r3, #45 ; 0x2d - 8005f94: f884 3043 strb.w r3, [r4, #67] ; 0x43 - 8005f98: e797 b.n 8005eca <_printf_float+0xa2> - 8005f9a: 2947 cmp r1, #71 ; 0x47 - 8005f9c: d1bc bne.n 8005f18 <_printf_float+0xf0> - 8005f9e: 2b00 cmp r3, #0 - 8005fa0: d1ba bne.n 8005f18 <_printf_float+0xf0> - 8005fa2: 2301 movs r3, #1 - 8005fa4: e7b7 b.n 8005f16 <_printf_float+0xee> - 8005fa6: f1b9 0f66 cmp.w r9, #102 ; 0x66 - 8005faa: d118 bne.n 8005fde <_printf_float+0x1b6> - 8005fac: 2900 cmp r1, #0 - 8005fae: 6863 ldr r3, [r4, #4] - 8005fb0: dd0b ble.n 8005fca <_printf_float+0x1a2> - 8005fb2: 6121 str r1, [r4, #16] - 8005fb4: b913 cbnz r3, 8005fbc <_printf_float+0x194> - 8005fb6: 6822 ldr r2, [r4, #0] - 8005fb8: 07d0 lsls r0, r2, #31 - 8005fba: d502 bpl.n 8005fc2 <_printf_float+0x19a> - 8005fbc: 3301 adds r3, #1 - 8005fbe: 440b add r3, r1 - 8005fc0: 6123 str r3, [r4, #16] - 8005fc2: f04f 0a00 mov.w sl, #0 - 8005fc6: 65a1 str r1, [r4, #88] ; 0x58 - 8005fc8: e7df b.n 8005f8a <_printf_float+0x162> - 8005fca: b913 cbnz r3, 8005fd2 <_printf_float+0x1aa> - 8005fcc: 6822 ldr r2, [r4, #0] - 8005fce: 07d2 lsls r2, r2, #31 - 8005fd0: d501 bpl.n 8005fd6 <_printf_float+0x1ae> - 8005fd2: 3302 adds r3, #2 - 8005fd4: e7f4 b.n 8005fc0 <_printf_float+0x198> - 8005fd6: 2301 movs r3, #1 - 8005fd8: e7f2 b.n 8005fc0 <_printf_float+0x198> - 8005fda: f04f 0967 mov.w r9, #103 ; 0x67 - 8005fde: 9b0e ldr r3, [sp, #56] ; 0x38 - 8005fe0: 4299 cmp r1, r3 - 8005fe2: db05 blt.n 8005ff0 <_printf_float+0x1c8> - 8005fe4: 6823 ldr r3, [r4, #0] - 8005fe6: 6121 str r1, [r4, #16] - 8005fe8: 07d8 lsls r0, r3, #31 - 8005fea: d5ea bpl.n 8005fc2 <_printf_float+0x19a> - 8005fec: 1c4b adds r3, r1, #1 - 8005fee: e7e7 b.n 8005fc0 <_printf_float+0x198> - 8005ff0: 2900 cmp r1, #0 - 8005ff2: bfcc ite gt - 8005ff4: 2201 movgt r2, #1 - 8005ff6: f1c1 0202 rsble r2, r1, #2 - 8005ffa: 4413 add r3, r2 - 8005ffc: e7e0 b.n 8005fc0 <_printf_float+0x198> - 8005ffe: 6823 ldr r3, [r4, #0] - 8006000: 055a lsls r2, r3, #21 - 8006002: d407 bmi.n 8006014 <_printf_float+0x1ec> - 8006004: 6923 ldr r3, [r4, #16] - 8006006: 4642 mov r2, r8 - 8006008: 4631 mov r1, r6 - 800600a: 4628 mov r0, r5 - 800600c: 47b8 blx r7 - 800600e: 3001 adds r0, #1 - 8006010: d12b bne.n 800606a <_printf_float+0x242> - 8006012: e764 b.n 8005ede <_printf_float+0xb6> - 8006014: f1b9 0f65 cmp.w r9, #101 ; 0x65 - 8006018: f240 80dd bls.w 80061d6 <_printf_float+0x3ae> - 800601c: e9d4 0112 ldrd r0, r1, [r4, #72] ; 0x48 - 8006020: 2200 movs r2, #0 - 8006022: 2300 movs r3, #0 - 8006024: f7fa fd2c bl 8000a80 <__aeabi_dcmpeq> - 8006028: 2800 cmp r0, #0 - 800602a: d033 beq.n 8006094 <_printf_float+0x26c> - 800602c: 2301 movs r3, #1 - 800602e: 4631 mov r1, r6 - 8006030: 4628 mov r0, r5 - 8006032: 4a35 ldr r2, [pc, #212] ; (8006108 <_printf_float+0x2e0>) - 8006034: 47b8 blx r7 - 8006036: 3001 adds r0, #1 - 8006038: f43f af51 beq.w 8005ede <_printf_float+0xb6> - 800603c: e9dd 230d ldrd r2, r3, [sp, #52] ; 0x34 - 8006040: 429a cmp r2, r3 - 8006042: db02 blt.n 800604a <_printf_float+0x222> - 8006044: 6823 ldr r3, [r4, #0] - 8006046: 07d8 lsls r0, r3, #31 - 8006048: d50f bpl.n 800606a <_printf_float+0x242> - 800604a: e9dd 2309 ldrd r2, r3, [sp, #36] ; 0x24 - 800604e: 4631 mov r1, r6 - 8006050: 4628 mov r0, r5 - 8006052: 47b8 blx r7 - 8006054: 3001 adds r0, #1 - 8006056: f43f af42 beq.w 8005ede <_printf_float+0xb6> - 800605a: f04f 0800 mov.w r8, #0 - 800605e: f104 091a add.w r9, r4, #26 - 8006062: 9b0e ldr r3, [sp, #56] ; 0x38 - 8006064: 3b01 subs r3, #1 - 8006066: 4543 cmp r3, r8 - 8006068: dc09 bgt.n 800607e <_printf_float+0x256> - 800606a: 6823 ldr r3, [r4, #0] - 800606c: 079b lsls r3, r3, #30 - 800606e: f100 8102 bmi.w 8006276 <_printf_float+0x44e> - 8006072: 68e0 ldr r0, [r4, #12] - 8006074: 9b0f ldr r3, [sp, #60] ; 0x3c - 8006076: 4298 cmp r0, r3 - 8006078: bfb8 it lt - 800607a: 4618 movlt r0, r3 - 800607c: e731 b.n 8005ee2 <_printf_float+0xba> - 800607e: 2301 movs r3, #1 - 8006080: 464a mov r2, r9 - 8006082: 4631 mov r1, r6 - 8006084: 4628 mov r0, r5 - 8006086: 47b8 blx r7 - 8006088: 3001 adds r0, #1 - 800608a: f43f af28 beq.w 8005ede <_printf_float+0xb6> - 800608e: f108 0801 add.w r8, r8, #1 - 8006092: e7e6 b.n 8006062 <_printf_float+0x23a> - 8006094: 9b0d ldr r3, [sp, #52] ; 0x34 - 8006096: 2b00 cmp r3, #0 - 8006098: dc38 bgt.n 800610c <_printf_float+0x2e4> - 800609a: 2301 movs r3, #1 - 800609c: 4631 mov r1, r6 - 800609e: 4628 mov r0, r5 - 80060a0: 4a19 ldr r2, [pc, #100] ; (8006108 <_printf_float+0x2e0>) - 80060a2: 47b8 blx r7 - 80060a4: 3001 adds r0, #1 - 80060a6: f43f af1a beq.w 8005ede <_printf_float+0xb6> - 80060aa: e9dd 230d ldrd r2, r3, [sp, #52] ; 0x34 - 80060ae: 4313 orrs r3, r2 - 80060b0: d102 bne.n 80060b8 <_printf_float+0x290> - 80060b2: 6823 ldr r3, [r4, #0] - 80060b4: 07d9 lsls r1, r3, #31 - 80060b6: d5d8 bpl.n 800606a <_printf_float+0x242> - 80060b8: e9dd 2309 ldrd r2, r3, [sp, #36] ; 0x24 - 80060bc: 4631 mov r1, r6 - 80060be: 4628 mov r0, r5 - 80060c0: 47b8 blx r7 - 80060c2: 3001 adds r0, #1 - 80060c4: f43f af0b beq.w 8005ede <_printf_float+0xb6> - 80060c8: f04f 0900 mov.w r9, #0 - 80060cc: f104 0a1a add.w sl, r4, #26 - 80060d0: 9b0d ldr r3, [sp, #52] ; 0x34 - 80060d2: 425b negs r3, r3 - 80060d4: 454b cmp r3, r9 - 80060d6: dc01 bgt.n 80060dc <_printf_float+0x2b4> - 80060d8: 9b0e ldr r3, [sp, #56] ; 0x38 - 80060da: e794 b.n 8006006 <_printf_float+0x1de> - 80060dc: 2301 movs r3, #1 - 80060de: 4652 mov r2, sl - 80060e0: 4631 mov r1, r6 - 80060e2: 4628 mov r0, r5 - 80060e4: 47b8 blx r7 - 80060e6: 3001 adds r0, #1 - 80060e8: f43f aef9 beq.w 8005ede <_printf_float+0xb6> - 80060ec: f109 0901 add.w r9, r9, #1 - 80060f0: e7ee b.n 80060d0 <_printf_float+0x2a8> - 80060f2: bf00 nop - 80060f4: 7fefffff .word 0x7fefffff - 80060f8: 0800944c .word 0x0800944c - 80060fc: 08009450 .word 0x08009450 - 8006100: 08009458 .word 0x08009458 - 8006104: 08009454 .word 0x08009454 - 8006108: 0800945c .word 0x0800945c - 800610c: 9a0e ldr r2, [sp, #56] ; 0x38 - 800610e: 6da3 ldr r3, [r4, #88] ; 0x58 - 8006110: 429a cmp r2, r3 - 8006112: bfa8 it ge - 8006114: 461a movge r2, r3 - 8006116: 2a00 cmp r2, #0 - 8006118: 4691 mov r9, r2 - 800611a: dc37 bgt.n 800618c <_printf_float+0x364> - 800611c: f04f 0b00 mov.w fp, #0 - 8006120: ea29 79e9 bic.w r9, r9, r9, asr #31 - 8006124: f104 021a add.w r2, r4, #26 - 8006128: f8d4 a058 ldr.w sl, [r4, #88] ; 0x58 - 800612c: ebaa 0309 sub.w r3, sl, r9 - 8006130: 455b cmp r3, fp - 8006132: dc33 bgt.n 800619c <_printf_float+0x374> - 8006134: e9dd 230d ldrd r2, r3, [sp, #52] ; 0x34 - 8006138: 429a cmp r2, r3 - 800613a: db3b blt.n 80061b4 <_printf_float+0x38c> - 800613c: 6823 ldr r3, [r4, #0] - 800613e: 07da lsls r2, r3, #31 - 8006140: d438 bmi.n 80061b4 <_printf_float+0x38c> - 8006142: 9a0e ldr r2, [sp, #56] ; 0x38 - 8006144: 990d ldr r1, [sp, #52] ; 0x34 - 8006146: eba2 030a sub.w r3, r2, sl - 800614a: eba2 0901 sub.w r9, r2, r1 - 800614e: 4599 cmp r9, r3 - 8006150: bfa8 it ge - 8006152: 4699 movge r9, r3 - 8006154: f1b9 0f00 cmp.w r9, #0 - 8006158: dc34 bgt.n 80061c4 <_printf_float+0x39c> - 800615a: f04f 0800 mov.w r8, #0 - 800615e: ea29 79e9 bic.w r9, r9, r9, asr #31 - 8006162: f104 0a1a add.w sl, r4, #26 - 8006166: e9dd 230d ldrd r2, r3, [sp, #52] ; 0x34 - 800616a: 1a9b subs r3, r3, r2 - 800616c: eba3 0309 sub.w r3, r3, r9 - 8006170: 4543 cmp r3, r8 - 8006172: f77f af7a ble.w 800606a <_printf_float+0x242> - 8006176: 2301 movs r3, #1 - 8006178: 4652 mov r2, sl - 800617a: 4631 mov r1, r6 - 800617c: 4628 mov r0, r5 - 800617e: 47b8 blx r7 - 8006180: 3001 adds r0, #1 - 8006182: f43f aeac beq.w 8005ede <_printf_float+0xb6> - 8006186: f108 0801 add.w r8, r8, #1 - 800618a: e7ec b.n 8006166 <_printf_float+0x33e> - 800618c: 4613 mov r3, r2 - 800618e: 4631 mov r1, r6 - 8006190: 4642 mov r2, r8 - 8006192: 4628 mov r0, r5 - 8006194: 47b8 blx r7 - 8006196: 3001 adds r0, #1 - 8006198: d1c0 bne.n 800611c <_printf_float+0x2f4> - 800619a: e6a0 b.n 8005ede <_printf_float+0xb6> - 800619c: 2301 movs r3, #1 - 800619e: 4631 mov r1, r6 - 80061a0: 4628 mov r0, r5 - 80061a2: 920b str r2, [sp, #44] ; 0x2c - 80061a4: 47b8 blx r7 - 80061a6: 3001 adds r0, #1 - 80061a8: f43f ae99 beq.w 8005ede <_printf_float+0xb6> - 80061ac: 9a0b ldr r2, [sp, #44] ; 0x2c - 80061ae: f10b 0b01 add.w fp, fp, #1 - 80061b2: e7b9 b.n 8006128 <_printf_float+0x300> - 80061b4: 4631 mov r1, r6 - 80061b6: e9dd 2309 ldrd r2, r3, [sp, #36] ; 0x24 - 80061ba: 4628 mov r0, r5 - 80061bc: 47b8 blx r7 - 80061be: 3001 adds r0, #1 - 80061c0: d1bf bne.n 8006142 <_printf_float+0x31a> - 80061c2: e68c b.n 8005ede <_printf_float+0xb6> - 80061c4: 464b mov r3, r9 - 80061c6: 4631 mov r1, r6 - 80061c8: 4628 mov r0, r5 - 80061ca: eb08 020a add.w r2, r8, sl - 80061ce: 47b8 blx r7 - 80061d0: 3001 adds r0, #1 - 80061d2: d1c2 bne.n 800615a <_printf_float+0x332> - 80061d4: e683 b.n 8005ede <_printf_float+0xb6> - 80061d6: 9a0e ldr r2, [sp, #56] ; 0x38 - 80061d8: 2a01 cmp r2, #1 - 80061da: dc01 bgt.n 80061e0 <_printf_float+0x3b8> - 80061dc: 07db lsls r3, r3, #31 - 80061de: d537 bpl.n 8006250 <_printf_float+0x428> - 80061e0: 2301 movs r3, #1 - 80061e2: 4642 mov r2, r8 - 80061e4: 4631 mov r1, r6 - 80061e6: 4628 mov r0, r5 - 80061e8: 47b8 blx r7 - 80061ea: 3001 adds r0, #1 - 80061ec: f43f ae77 beq.w 8005ede <_printf_float+0xb6> - 80061f0: e9dd 2309 ldrd r2, r3, [sp, #36] ; 0x24 - 80061f4: 4631 mov r1, r6 - 80061f6: 4628 mov r0, r5 - 80061f8: 47b8 blx r7 - 80061fa: 3001 adds r0, #1 - 80061fc: f43f ae6f beq.w 8005ede <_printf_float+0xb6> - 8006200: e9d4 0112 ldrd r0, r1, [r4, #72] ; 0x48 - 8006204: 2200 movs r2, #0 - 8006206: 2300 movs r3, #0 - 8006208: f7fa fc3a bl 8000a80 <__aeabi_dcmpeq> - 800620c: b9d8 cbnz r0, 8006246 <_printf_float+0x41e> - 800620e: 9b0e ldr r3, [sp, #56] ; 0x38 - 8006210: f108 0201 add.w r2, r8, #1 - 8006214: 3b01 subs r3, #1 - 8006216: 4631 mov r1, r6 - 8006218: 4628 mov r0, r5 - 800621a: 47b8 blx r7 - 800621c: 3001 adds r0, #1 - 800621e: d10e bne.n 800623e <_printf_float+0x416> - 8006220: e65d b.n 8005ede <_printf_float+0xb6> - 8006222: 2301 movs r3, #1 - 8006224: 464a mov r2, r9 - 8006226: 4631 mov r1, r6 - 8006228: 4628 mov r0, r5 - 800622a: 47b8 blx r7 - 800622c: 3001 adds r0, #1 - 800622e: f43f ae56 beq.w 8005ede <_printf_float+0xb6> - 8006232: f108 0801 add.w r8, r8, #1 - 8006236: 9b0e ldr r3, [sp, #56] ; 0x38 - 8006238: 3b01 subs r3, #1 - 800623a: 4543 cmp r3, r8 - 800623c: dcf1 bgt.n 8006222 <_printf_float+0x3fa> - 800623e: 4653 mov r3, sl - 8006240: f104 0250 add.w r2, r4, #80 ; 0x50 - 8006244: e6e0 b.n 8006008 <_printf_float+0x1e0> - 8006246: f04f 0800 mov.w r8, #0 - 800624a: f104 091a add.w r9, r4, #26 - 800624e: e7f2 b.n 8006236 <_printf_float+0x40e> - 8006250: 2301 movs r3, #1 - 8006252: 4642 mov r2, r8 - 8006254: e7df b.n 8006216 <_printf_float+0x3ee> - 8006256: 2301 movs r3, #1 - 8006258: 464a mov r2, r9 - 800625a: 4631 mov r1, r6 - 800625c: 4628 mov r0, r5 - 800625e: 47b8 blx r7 - 8006260: 3001 adds r0, #1 - 8006262: f43f ae3c beq.w 8005ede <_printf_float+0xb6> - 8006266: f108 0801 add.w r8, r8, #1 - 800626a: 68e3 ldr r3, [r4, #12] - 800626c: 990f ldr r1, [sp, #60] ; 0x3c - 800626e: 1a5b subs r3, r3, r1 - 8006270: 4543 cmp r3, r8 - 8006272: dcf0 bgt.n 8006256 <_printf_float+0x42e> - 8006274: e6fd b.n 8006072 <_printf_float+0x24a> - 8006276: f04f 0800 mov.w r8, #0 - 800627a: f104 0919 add.w r9, r4, #25 - 800627e: e7f4 b.n 800626a <_printf_float+0x442> - -08006280 <_printf_common>: - 8006280: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8006284: 4616 mov r6, r2 - 8006286: 4699 mov r9, r3 - 8006288: 688a ldr r2, [r1, #8] - 800628a: 690b ldr r3, [r1, #16] - 800628c: 4607 mov r7, r0 - 800628e: 4293 cmp r3, r2 - 8006290: bfb8 it lt - 8006292: 4613 movlt r3, r2 - 8006294: 6033 str r3, [r6, #0] - 8006296: f891 2043 ldrb.w r2, [r1, #67] ; 0x43 - 800629a: 460c mov r4, r1 - 800629c: f8dd 8020 ldr.w r8, [sp, #32] - 80062a0: b10a cbz r2, 80062a6 <_printf_common+0x26> - 80062a2: 3301 adds r3, #1 - 80062a4: 6033 str r3, [r6, #0] - 80062a6: 6823 ldr r3, [r4, #0] - 80062a8: 0699 lsls r1, r3, #26 - 80062aa: bf42 ittt mi - 80062ac: 6833 ldrmi r3, [r6, #0] - 80062ae: 3302 addmi r3, #2 - 80062b0: 6033 strmi r3, [r6, #0] - 80062b2: 6825 ldr r5, [r4, #0] - 80062b4: f015 0506 ands.w r5, r5, #6 - 80062b8: d106 bne.n 80062c8 <_printf_common+0x48> - 80062ba: f104 0a19 add.w sl, r4, #25 - 80062be: 68e3 ldr r3, [r4, #12] - 80062c0: 6832 ldr r2, [r6, #0] - 80062c2: 1a9b subs r3, r3, r2 - 80062c4: 42ab cmp r3, r5 - 80062c6: dc28 bgt.n 800631a <_printf_common+0x9a> - 80062c8: f894 2043 ldrb.w r2, [r4, #67] ; 0x43 - 80062cc: 1e13 subs r3, r2, #0 - 80062ce: 6822 ldr r2, [r4, #0] - 80062d0: bf18 it ne - 80062d2: 2301 movne r3, #1 - 80062d4: 0692 lsls r2, r2, #26 - 80062d6: d42d bmi.n 8006334 <_printf_common+0xb4> - 80062d8: 4649 mov r1, r9 - 80062da: 4638 mov r0, r7 - 80062dc: f104 0243 add.w r2, r4, #67 ; 0x43 - 80062e0: 47c0 blx r8 - 80062e2: 3001 adds r0, #1 - 80062e4: d020 beq.n 8006328 <_printf_common+0xa8> - 80062e6: 6823 ldr r3, [r4, #0] - 80062e8: 68e5 ldr r5, [r4, #12] - 80062ea: f003 0306 and.w r3, r3, #6 - 80062ee: 2b04 cmp r3, #4 - 80062f0: bf18 it ne - 80062f2: 2500 movne r5, #0 - 80062f4: 6832 ldr r2, [r6, #0] - 80062f6: f04f 0600 mov.w r6, #0 - 80062fa: 68a3 ldr r3, [r4, #8] - 80062fc: bf08 it eq - 80062fe: 1aad subeq r5, r5, r2 - 8006300: 6922 ldr r2, [r4, #16] - 8006302: bf08 it eq - 8006304: ea25 75e5 biceq.w r5, r5, r5, asr #31 - 8006308: 4293 cmp r3, r2 - 800630a: bfc4 itt gt - 800630c: 1a9b subgt r3, r3, r2 - 800630e: 18ed addgt r5, r5, r3 - 8006310: 341a adds r4, #26 - 8006312: 42b5 cmp r5, r6 - 8006314: d11a bne.n 800634c <_printf_common+0xcc> - 8006316: 2000 movs r0, #0 - 8006318: e008 b.n 800632c <_printf_common+0xac> - 800631a: 2301 movs r3, #1 - 800631c: 4652 mov r2, sl - 800631e: 4649 mov r1, r9 - 8006320: 4638 mov r0, r7 - 8006322: 47c0 blx r8 - 8006324: 3001 adds r0, #1 - 8006326: d103 bne.n 8006330 <_printf_common+0xb0> - 8006328: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 800632c: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8006330: 3501 adds r5, #1 - 8006332: e7c4 b.n 80062be <_printf_common+0x3e> - 8006334: 2030 movs r0, #48 ; 0x30 - 8006336: 18e1 adds r1, r4, r3 - 8006338: f881 0043 strb.w r0, [r1, #67] ; 0x43 - 800633c: 1c5a adds r2, r3, #1 - 800633e: f894 1045 ldrb.w r1, [r4, #69] ; 0x45 - 8006342: 4422 add r2, r4 - 8006344: 3302 adds r3, #2 - 8006346: f882 1043 strb.w r1, [r2, #67] ; 0x43 - 800634a: e7c5 b.n 80062d8 <_printf_common+0x58> - 800634c: 2301 movs r3, #1 - 800634e: 4622 mov r2, r4 - 8006350: 4649 mov r1, r9 - 8006352: 4638 mov r0, r7 - 8006354: 47c0 blx r8 - 8006356: 3001 adds r0, #1 - 8006358: d0e6 beq.n 8006328 <_printf_common+0xa8> - 800635a: 3601 adds r6, #1 - 800635c: e7d9 b.n 8006312 <_printf_common+0x92> - ... - -08006360 <_printf_i>: - 8006360: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} - 8006364: 460c mov r4, r1 - 8006366: 7e27 ldrb r7, [r4, #24] - 8006368: 4691 mov r9, r2 - 800636a: 2f78 cmp r7, #120 ; 0x78 - 800636c: 4680 mov r8, r0 - 800636e: 469a mov sl, r3 - 8006370: 990c ldr r1, [sp, #48] ; 0x30 - 8006372: f104 0243 add.w r2, r4, #67 ; 0x43 - 8006376: d807 bhi.n 8006388 <_printf_i+0x28> - 8006378: 2f62 cmp r7, #98 ; 0x62 - 800637a: d80a bhi.n 8006392 <_printf_i+0x32> - 800637c: 2f00 cmp r7, #0 - 800637e: f000 80d9 beq.w 8006534 <_printf_i+0x1d4> - 8006382: 2f58 cmp r7, #88 ; 0x58 - 8006384: f000 80a4 beq.w 80064d0 <_printf_i+0x170> - 8006388: f104 0642 add.w r6, r4, #66 ; 0x42 - 800638c: f884 7042 strb.w r7, [r4, #66] ; 0x42 - 8006390: e03a b.n 8006408 <_printf_i+0xa8> - 8006392: f1a7 0363 sub.w r3, r7, #99 ; 0x63 - 8006396: 2b15 cmp r3, #21 - 8006398: d8f6 bhi.n 8006388 <_printf_i+0x28> - 800639a: a001 add r0, pc, #4 ; (adr r0, 80063a0 <_printf_i+0x40>) - 800639c: f850 f023 ldr.w pc, [r0, r3, lsl #2] - 80063a0: 080063f9 .word 0x080063f9 - 80063a4: 0800640d .word 0x0800640d - 80063a8: 08006389 .word 0x08006389 - 80063ac: 08006389 .word 0x08006389 - 80063b0: 08006389 .word 0x08006389 - 80063b4: 08006389 .word 0x08006389 - 80063b8: 0800640d .word 0x0800640d - 80063bc: 08006389 .word 0x08006389 - 80063c0: 08006389 .word 0x08006389 - 80063c4: 08006389 .word 0x08006389 - 80063c8: 08006389 .word 0x08006389 - 80063cc: 0800651b .word 0x0800651b - 80063d0: 0800643d .word 0x0800643d - 80063d4: 080064fd .word 0x080064fd - 80063d8: 08006389 .word 0x08006389 - 80063dc: 08006389 .word 0x08006389 - 80063e0: 0800653d .word 0x0800653d - 80063e4: 08006389 .word 0x08006389 - 80063e8: 0800643d .word 0x0800643d - 80063ec: 08006389 .word 0x08006389 - 80063f0: 08006389 .word 0x08006389 - 80063f4: 08006505 .word 0x08006505 - 80063f8: 680b ldr r3, [r1, #0] - 80063fa: f104 0642 add.w r6, r4, #66 ; 0x42 - 80063fe: 1d1a adds r2, r3, #4 - 8006400: 681b ldr r3, [r3, #0] - 8006402: 600a str r2, [r1, #0] - 8006404: f884 3042 strb.w r3, [r4, #66] ; 0x42 - 8006408: 2301 movs r3, #1 - 800640a: e0a4 b.n 8006556 <_printf_i+0x1f6> - 800640c: 6825 ldr r5, [r4, #0] - 800640e: 6808 ldr r0, [r1, #0] - 8006410: 062e lsls r6, r5, #24 - 8006412: f100 0304 add.w r3, r0, #4 - 8006416: d50a bpl.n 800642e <_printf_i+0xce> - 8006418: 6805 ldr r5, [r0, #0] - 800641a: 600b str r3, [r1, #0] - 800641c: 2d00 cmp r5, #0 - 800641e: da03 bge.n 8006428 <_printf_i+0xc8> - 8006420: 232d movs r3, #45 ; 0x2d - 8006422: 426d negs r5, r5 - 8006424: f884 3043 strb.w r3, [r4, #67] ; 0x43 - 8006428: 230a movs r3, #10 - 800642a: 485e ldr r0, [pc, #376] ; (80065a4 <_printf_i+0x244>) - 800642c: e019 b.n 8006462 <_printf_i+0x102> - 800642e: f015 0f40 tst.w r5, #64 ; 0x40 - 8006432: 6805 ldr r5, [r0, #0] - 8006434: 600b str r3, [r1, #0] - 8006436: bf18 it ne - 8006438: b22d sxthne r5, r5 - 800643a: e7ef b.n 800641c <_printf_i+0xbc> - 800643c: 680b ldr r3, [r1, #0] - 800643e: 6825 ldr r5, [r4, #0] - 8006440: 1d18 adds r0, r3, #4 - 8006442: 6008 str r0, [r1, #0] - 8006444: 0628 lsls r0, r5, #24 - 8006446: d501 bpl.n 800644c <_printf_i+0xec> - 8006448: 681d ldr r5, [r3, #0] - 800644a: e002 b.n 8006452 <_printf_i+0xf2> - 800644c: 0669 lsls r1, r5, #25 - 800644e: d5fb bpl.n 8006448 <_printf_i+0xe8> - 8006450: 881d ldrh r5, [r3, #0] - 8006452: 2f6f cmp r7, #111 ; 0x6f - 8006454: bf0c ite eq - 8006456: 2308 moveq r3, #8 - 8006458: 230a movne r3, #10 - 800645a: 4852 ldr r0, [pc, #328] ; (80065a4 <_printf_i+0x244>) - 800645c: 2100 movs r1, #0 - 800645e: f884 1043 strb.w r1, [r4, #67] ; 0x43 - 8006462: 6866 ldr r6, [r4, #4] - 8006464: 2e00 cmp r6, #0 - 8006466: bfa8 it ge - 8006468: 6821 ldrge r1, [r4, #0] - 800646a: 60a6 str r6, [r4, #8] - 800646c: bfa4 itt ge - 800646e: f021 0104 bicge.w r1, r1, #4 - 8006472: 6021 strge r1, [r4, #0] - 8006474: b90d cbnz r5, 800647a <_printf_i+0x11a> - 8006476: 2e00 cmp r6, #0 - 8006478: d04d beq.n 8006516 <_printf_i+0x1b6> - 800647a: 4616 mov r6, r2 - 800647c: fbb5 f1f3 udiv r1, r5, r3 - 8006480: fb03 5711 mls r7, r3, r1, r5 - 8006484: 5dc7 ldrb r7, [r0, r7] - 8006486: f806 7d01 strb.w r7, [r6, #-1]! - 800648a: 462f mov r7, r5 - 800648c: 42bb cmp r3, r7 - 800648e: 460d mov r5, r1 - 8006490: d9f4 bls.n 800647c <_printf_i+0x11c> - 8006492: 2b08 cmp r3, #8 - 8006494: d10b bne.n 80064ae <_printf_i+0x14e> - 8006496: 6823 ldr r3, [r4, #0] - 8006498: 07df lsls r7, r3, #31 - 800649a: d508 bpl.n 80064ae <_printf_i+0x14e> - 800649c: 6923 ldr r3, [r4, #16] - 800649e: 6861 ldr r1, [r4, #4] - 80064a0: 4299 cmp r1, r3 - 80064a2: bfde ittt le - 80064a4: 2330 movle r3, #48 ; 0x30 - 80064a6: f806 3c01 strble.w r3, [r6, #-1] - 80064aa: f106 36ff addle.w r6, r6, #4294967295 ; 0xffffffff - 80064ae: 1b92 subs r2, r2, r6 - 80064b0: 6122 str r2, [r4, #16] - 80064b2: 464b mov r3, r9 - 80064b4: 4621 mov r1, r4 - 80064b6: 4640 mov r0, r8 - 80064b8: f8cd a000 str.w sl, [sp] - 80064bc: aa03 add r2, sp, #12 - 80064be: f7ff fedf bl 8006280 <_printf_common> - 80064c2: 3001 adds r0, #1 - 80064c4: d14c bne.n 8006560 <_printf_i+0x200> - 80064c6: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 80064ca: b004 add sp, #16 - 80064cc: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 80064d0: 4834 ldr r0, [pc, #208] ; (80065a4 <_printf_i+0x244>) - 80064d2: f884 7045 strb.w r7, [r4, #69] ; 0x45 - 80064d6: 680e ldr r6, [r1, #0] - 80064d8: 6823 ldr r3, [r4, #0] - 80064da: f856 5b04 ldr.w r5, [r6], #4 - 80064de: 061f lsls r7, r3, #24 - 80064e0: 600e str r6, [r1, #0] - 80064e2: d514 bpl.n 800650e <_printf_i+0x1ae> - 80064e4: 07d9 lsls r1, r3, #31 - 80064e6: bf44 itt mi - 80064e8: f043 0320 orrmi.w r3, r3, #32 - 80064ec: 6023 strmi r3, [r4, #0] - 80064ee: b91d cbnz r5, 80064f8 <_printf_i+0x198> - 80064f0: 6823 ldr r3, [r4, #0] - 80064f2: f023 0320 bic.w r3, r3, #32 - 80064f6: 6023 str r3, [r4, #0] - 80064f8: 2310 movs r3, #16 - 80064fa: e7af b.n 800645c <_printf_i+0xfc> - 80064fc: 6823 ldr r3, [r4, #0] - 80064fe: f043 0320 orr.w r3, r3, #32 - 8006502: 6023 str r3, [r4, #0] - 8006504: 2378 movs r3, #120 ; 0x78 - 8006506: 4828 ldr r0, [pc, #160] ; (80065a8 <_printf_i+0x248>) - 8006508: f884 3045 strb.w r3, [r4, #69] ; 0x45 - 800650c: e7e3 b.n 80064d6 <_printf_i+0x176> - 800650e: 065e lsls r6, r3, #25 - 8006510: bf48 it mi - 8006512: b2ad uxthmi r5, r5 - 8006514: e7e6 b.n 80064e4 <_printf_i+0x184> - 8006516: 4616 mov r6, r2 - 8006518: e7bb b.n 8006492 <_printf_i+0x132> - 800651a: 680b ldr r3, [r1, #0] - 800651c: 6826 ldr r6, [r4, #0] - 800651e: 1d1d adds r5, r3, #4 - 8006520: 6960 ldr r0, [r4, #20] - 8006522: 600d str r5, [r1, #0] - 8006524: 0635 lsls r5, r6, #24 - 8006526: 681b ldr r3, [r3, #0] - 8006528: d501 bpl.n 800652e <_printf_i+0x1ce> - 800652a: 6018 str r0, [r3, #0] - 800652c: e002 b.n 8006534 <_printf_i+0x1d4> - 800652e: 0671 lsls r1, r6, #25 - 8006530: d5fb bpl.n 800652a <_printf_i+0x1ca> - 8006532: 8018 strh r0, [r3, #0] - 8006534: 2300 movs r3, #0 - 8006536: 4616 mov r6, r2 - 8006538: 6123 str r3, [r4, #16] - 800653a: e7ba b.n 80064b2 <_printf_i+0x152> - 800653c: 680b ldr r3, [r1, #0] - 800653e: 1d1a adds r2, r3, #4 - 8006540: 600a str r2, [r1, #0] - 8006542: 681e ldr r6, [r3, #0] - 8006544: 2100 movs r1, #0 - 8006546: 4630 mov r0, r6 - 8006548: 6862 ldr r2, [r4, #4] - 800654a: f000 fedf bl 800730c - 800654e: b108 cbz r0, 8006554 <_printf_i+0x1f4> - 8006550: 1b80 subs r0, r0, r6 - 8006552: 6060 str r0, [r4, #4] - 8006554: 6863 ldr r3, [r4, #4] - 8006556: 6123 str r3, [r4, #16] - 8006558: 2300 movs r3, #0 - 800655a: f884 3043 strb.w r3, [r4, #67] ; 0x43 - 800655e: e7a8 b.n 80064b2 <_printf_i+0x152> - 8006560: 4632 mov r2, r6 - 8006562: 4649 mov r1, r9 - 8006564: 4640 mov r0, r8 - 8006566: 6923 ldr r3, [r4, #16] - 8006568: 47d0 blx sl - 800656a: 3001 adds r0, #1 - 800656c: d0ab beq.n 80064c6 <_printf_i+0x166> - 800656e: 6823 ldr r3, [r4, #0] - 8006570: 079b lsls r3, r3, #30 - 8006572: d413 bmi.n 800659c <_printf_i+0x23c> - 8006574: 68e0 ldr r0, [r4, #12] - 8006576: 9b03 ldr r3, [sp, #12] - 8006578: 4298 cmp r0, r3 - 800657a: bfb8 it lt - 800657c: 4618 movlt r0, r3 - 800657e: e7a4 b.n 80064ca <_printf_i+0x16a> - 8006580: 2301 movs r3, #1 - 8006582: 4632 mov r2, r6 - 8006584: 4649 mov r1, r9 - 8006586: 4640 mov r0, r8 - 8006588: 47d0 blx sl - 800658a: 3001 adds r0, #1 - 800658c: d09b beq.n 80064c6 <_printf_i+0x166> - 800658e: 3501 adds r5, #1 - 8006590: 68e3 ldr r3, [r4, #12] - 8006592: 9903 ldr r1, [sp, #12] - 8006594: 1a5b subs r3, r3, r1 - 8006596: 42ab cmp r3, r5 - 8006598: dcf2 bgt.n 8006580 <_printf_i+0x220> - 800659a: e7eb b.n 8006574 <_printf_i+0x214> - 800659c: 2500 movs r5, #0 - 800659e: f104 0619 add.w r6, r4, #25 - 80065a2: e7f5 b.n 8006590 <_printf_i+0x230> - 80065a4: 0800945e .word 0x0800945e - 80065a8: 0800946f .word 0x0800946f - -080065ac <_sbrk_r>: - 80065ac: b538 push {r3, r4, r5, lr} - 80065ae: 2300 movs r3, #0 - 80065b0: 4d05 ldr r5, [pc, #20] ; (80065c8 <_sbrk_r+0x1c>) - 80065b2: 4604 mov r4, r0 - 80065b4: 4608 mov r0, r1 - 80065b6: 602b str r3, [r5, #0] - 80065b8: f7fb f8d6 bl 8001768 <_sbrk> - 80065bc: 1c43 adds r3, r0, #1 - 80065be: d102 bne.n 80065c6 <_sbrk_r+0x1a> - 80065c0: 682b ldr r3, [r5, #0] - 80065c2: b103 cbz r3, 80065c6 <_sbrk_r+0x1a> - 80065c4: 6023 str r3, [r4, #0] - 80065c6: bd38 pop {r3, r4, r5, pc} - 80065c8: 2000033c .word 0x2000033c - -080065cc : - 80065cc: b40e push {r1, r2, r3} - 80065ce: f06f 4100 mvn.w r1, #2147483648 ; 0x80000000 - 80065d2: b500 push {lr} - 80065d4: b09c sub sp, #112 ; 0x70 - 80065d6: ab1d add r3, sp, #116 ; 0x74 - 80065d8: 9002 str r0, [sp, #8] - 80065da: 9006 str r0, [sp, #24] - 80065dc: 9107 str r1, [sp, #28] - 80065de: 9104 str r1, [sp, #16] - 80065e0: 4808 ldr r0, [pc, #32] ; (8006604 ) - 80065e2: 4909 ldr r1, [pc, #36] ; (8006608 ) - 80065e4: f853 2b04 ldr.w r2, [r3], #4 - 80065e8: 9105 str r1, [sp, #20] - 80065ea: 6800 ldr r0, [r0, #0] - 80065ec: a902 add r1, sp, #8 - 80065ee: 9301 str r3, [sp, #4] - 80065f0: f001 faa0 bl 8007b34 <_svfiprintf_r> - 80065f4: 2200 movs r2, #0 - 80065f6: 9b02 ldr r3, [sp, #8] - 80065f8: 701a strb r2, [r3, #0] - 80065fa: b01c add sp, #112 ; 0x70 - 80065fc: f85d eb04 ldr.w lr, [sp], #4 - 8006600: b003 add sp, #12 - 8006602: 4770 bx lr - 8006604: 2000000c .word 0x2000000c - 8006608: ffff0208 .word 0xffff0208 - -0800660c : - 800660c: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8006610: 6903 ldr r3, [r0, #16] - 8006612: 690c ldr r4, [r1, #16] - 8006614: 4607 mov r7, r0 - 8006616: 42a3 cmp r3, r4 - 8006618: f2c0 8083 blt.w 8006722 - 800661c: 3c01 subs r4, #1 - 800661e: f100 0514 add.w r5, r0, #20 - 8006622: f101 0814 add.w r8, r1, #20 - 8006626: eb05 0384 add.w r3, r5, r4, lsl #2 - 800662a: 9301 str r3, [sp, #4] - 800662c: f858 3024 ldr.w r3, [r8, r4, lsl #2] - 8006630: f855 2024 ldr.w r2, [r5, r4, lsl #2] - 8006634: 3301 adds r3, #1 - 8006636: 429a cmp r2, r3 - 8006638: fbb2 f6f3 udiv r6, r2, r3 - 800663c: ea4f 0b84 mov.w fp, r4, lsl #2 - 8006640: eb08 0984 add.w r9, r8, r4, lsl #2 - 8006644: d332 bcc.n 80066ac - 8006646: f04f 0e00 mov.w lr, #0 - 800664a: 4640 mov r0, r8 - 800664c: 46ac mov ip, r5 - 800664e: 46f2 mov sl, lr - 8006650: f850 2b04 ldr.w r2, [r0], #4 - 8006654: b293 uxth r3, r2 - 8006656: fb06 e303 mla r3, r6, r3, lr - 800665a: 0c12 lsrs r2, r2, #16 - 800665c: ea4f 4e13 mov.w lr, r3, lsr #16 - 8006660: fb06 e202 mla r2, r6, r2, lr - 8006664: b29b uxth r3, r3 - 8006666: ebaa 0303 sub.w r3, sl, r3 - 800666a: f8dc a000 ldr.w sl, [ip] - 800666e: ea4f 4e12 mov.w lr, r2, lsr #16 - 8006672: fa1f fa8a uxth.w sl, sl - 8006676: 4453 add r3, sl - 8006678: fa1f fa82 uxth.w sl, r2 - 800667c: f8dc 2000 ldr.w r2, [ip] - 8006680: 4581 cmp r9, r0 - 8006682: ebca 4212 rsb r2, sl, r2, lsr #16 - 8006686: eb02 4223 add.w r2, r2, r3, asr #16 - 800668a: b29b uxth r3, r3 - 800668c: ea43 4302 orr.w r3, r3, r2, lsl #16 - 8006690: ea4f 4a22 mov.w sl, r2, asr #16 - 8006694: f84c 3b04 str.w r3, [ip], #4 - 8006698: d2da bcs.n 8006650 - 800669a: f855 300b ldr.w r3, [r5, fp] - 800669e: b92b cbnz r3, 80066ac - 80066a0: 9b01 ldr r3, [sp, #4] - 80066a2: 3b04 subs r3, #4 - 80066a4: 429d cmp r5, r3 - 80066a6: 461a mov r2, r3 - 80066a8: d32f bcc.n 800670a - 80066aa: 613c str r4, [r7, #16] - 80066ac: 4638 mov r0, r7 - 80066ae: f001 f8cf bl 8007850 <__mcmp> - 80066b2: 2800 cmp r0, #0 - 80066b4: db25 blt.n 8006702 - 80066b6: 4628 mov r0, r5 - 80066b8: f04f 0c00 mov.w ip, #0 - 80066bc: 3601 adds r6, #1 - 80066be: f858 1b04 ldr.w r1, [r8], #4 - 80066c2: f8d0 e000 ldr.w lr, [r0] - 80066c6: b28b uxth r3, r1 - 80066c8: ebac 0303 sub.w r3, ip, r3 - 80066cc: fa1f f28e uxth.w r2, lr - 80066d0: 4413 add r3, r2 - 80066d2: 0c0a lsrs r2, r1, #16 - 80066d4: ebc2 421e rsb r2, r2, lr, lsr #16 - 80066d8: eb02 4223 add.w r2, r2, r3, asr #16 - 80066dc: b29b uxth r3, r3 - 80066de: ea43 4302 orr.w r3, r3, r2, lsl #16 - 80066e2: 45c1 cmp r9, r8 - 80066e4: ea4f 4c22 mov.w ip, r2, asr #16 - 80066e8: f840 3b04 str.w r3, [r0], #4 - 80066ec: d2e7 bcs.n 80066be - 80066ee: f855 2024 ldr.w r2, [r5, r4, lsl #2] - 80066f2: eb05 0384 add.w r3, r5, r4, lsl #2 - 80066f6: b922 cbnz r2, 8006702 - 80066f8: 3b04 subs r3, #4 - 80066fa: 429d cmp r5, r3 - 80066fc: 461a mov r2, r3 - 80066fe: d30a bcc.n 8006716 - 8006700: 613c str r4, [r7, #16] - 8006702: 4630 mov r0, r6 - 8006704: b003 add sp, #12 - 8006706: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800670a: 6812 ldr r2, [r2, #0] - 800670c: 3b04 subs r3, #4 - 800670e: 2a00 cmp r2, #0 - 8006710: d1cb bne.n 80066aa - 8006712: 3c01 subs r4, #1 - 8006714: e7c6 b.n 80066a4 - 8006716: 6812 ldr r2, [r2, #0] - 8006718: 3b04 subs r3, #4 - 800671a: 2a00 cmp r2, #0 - 800671c: d1f0 bne.n 8006700 - 800671e: 3c01 subs r4, #1 - 8006720: e7eb b.n 80066fa - 8006722: 2000 movs r0, #0 - 8006724: e7ee b.n 8006704 - ... - -08006728 <_dtoa_r>: - 8006728: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800672c: 4616 mov r6, r2 - 800672e: 461f mov r7, r3 - 8006730: 6a44 ldr r4, [r0, #36] ; 0x24 - 8006732: b099 sub sp, #100 ; 0x64 - 8006734: 4605 mov r5, r0 - 8006736: e9cd 6704 strd r6, r7, [sp, #16] - 800673a: f8dd 8094 ldr.w r8, [sp, #148] ; 0x94 - 800673e: b974 cbnz r4, 800675e <_dtoa_r+0x36> - 8006740: 2010 movs r0, #16 - 8006742: f7ff fa15 bl 8005b70 - 8006746: 4602 mov r2, r0 - 8006748: 6268 str r0, [r5, #36] ; 0x24 - 800674a: b920 cbnz r0, 8006756 <_dtoa_r+0x2e> - 800674c: 21ea movs r1, #234 ; 0xea - 800674e: 4bae ldr r3, [pc, #696] ; (8006a08 <_dtoa_r+0x2e0>) - 8006750: 48ae ldr r0, [pc, #696] ; (8006a0c <_dtoa_r+0x2e4>) - 8006752: f001 faef bl 8007d34 <__assert_func> - 8006756: e9c0 4401 strd r4, r4, [r0, #4] - 800675a: 6004 str r4, [r0, #0] - 800675c: 60c4 str r4, [r0, #12] - 800675e: 6a6b ldr r3, [r5, #36] ; 0x24 - 8006760: 6819 ldr r1, [r3, #0] - 8006762: b151 cbz r1, 800677a <_dtoa_r+0x52> - 8006764: 685a ldr r2, [r3, #4] - 8006766: 2301 movs r3, #1 - 8006768: 4093 lsls r3, r2 - 800676a: 604a str r2, [r1, #4] - 800676c: 608b str r3, [r1, #8] - 800676e: 4628 mov r0, r5 - 8006770: f000 fe34 bl 80073dc <_Bfree> - 8006774: 2200 movs r2, #0 - 8006776: 6a6b ldr r3, [r5, #36] ; 0x24 - 8006778: 601a str r2, [r3, #0] - 800677a: 1e3b subs r3, r7, #0 - 800677c: bfaf iteee ge - 800677e: 2300 movge r3, #0 - 8006780: 2201 movlt r2, #1 - 8006782: f023 4300 biclt.w r3, r3, #2147483648 ; 0x80000000 - 8006786: 9305 strlt r3, [sp, #20] - 8006788: bfa8 it ge - 800678a: f8c8 3000 strge.w r3, [r8] - 800678e: f8dd 9014 ldr.w r9, [sp, #20] - 8006792: 4b9f ldr r3, [pc, #636] ; (8006a10 <_dtoa_r+0x2e8>) - 8006794: bfb8 it lt - 8006796: f8c8 2000 strlt.w r2, [r8] - 800679a: ea33 0309 bics.w r3, r3, r9 - 800679e: d119 bne.n 80067d4 <_dtoa_r+0xac> - 80067a0: f242 730f movw r3, #9999 ; 0x270f - 80067a4: 9a24 ldr r2, [sp, #144] ; 0x90 - 80067a6: 6013 str r3, [r2, #0] - 80067a8: f3c9 0313 ubfx r3, r9, #0, #20 - 80067ac: 4333 orrs r3, r6 - 80067ae: f000 8580 beq.w 80072b2 <_dtoa_r+0xb8a> - 80067b2: 9b26 ldr r3, [sp, #152] ; 0x98 - 80067b4: b953 cbnz r3, 80067cc <_dtoa_r+0xa4> - 80067b6: 4b97 ldr r3, [pc, #604] ; (8006a14 <_dtoa_r+0x2ec>) - 80067b8: e022 b.n 8006800 <_dtoa_r+0xd8> - 80067ba: 4b97 ldr r3, [pc, #604] ; (8006a18 <_dtoa_r+0x2f0>) - 80067bc: 9308 str r3, [sp, #32] - 80067be: 3308 adds r3, #8 - 80067c0: 9a26 ldr r2, [sp, #152] ; 0x98 - 80067c2: 6013 str r3, [r2, #0] - 80067c4: 9808 ldr r0, [sp, #32] - 80067c6: b019 add sp, #100 ; 0x64 - 80067c8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80067cc: 4b91 ldr r3, [pc, #580] ; (8006a14 <_dtoa_r+0x2ec>) - 80067ce: 9308 str r3, [sp, #32] - 80067d0: 3303 adds r3, #3 - 80067d2: e7f5 b.n 80067c0 <_dtoa_r+0x98> - 80067d4: e9dd 3404 ldrd r3, r4, [sp, #16] - 80067d8: e9cd 340c strd r3, r4, [sp, #48] ; 0x30 - 80067dc: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 - 80067e0: 2200 movs r2, #0 - 80067e2: 2300 movs r3, #0 - 80067e4: f7fa f94c bl 8000a80 <__aeabi_dcmpeq> - 80067e8: 4680 mov r8, r0 - 80067ea: b158 cbz r0, 8006804 <_dtoa_r+0xdc> - 80067ec: 2301 movs r3, #1 - 80067ee: 9a24 ldr r2, [sp, #144] ; 0x90 - 80067f0: 6013 str r3, [r2, #0] - 80067f2: 9b26 ldr r3, [sp, #152] ; 0x98 - 80067f4: 2b00 cmp r3, #0 - 80067f6: f000 8559 beq.w 80072ac <_dtoa_r+0xb84> - 80067fa: 4888 ldr r0, [pc, #544] ; (8006a1c <_dtoa_r+0x2f4>) - 80067fc: 6018 str r0, [r3, #0] - 80067fe: 1e43 subs r3, r0, #1 - 8006800: 9308 str r3, [sp, #32] - 8006802: e7df b.n 80067c4 <_dtoa_r+0x9c> - 8006804: ab16 add r3, sp, #88 ; 0x58 - 8006806: 9301 str r3, [sp, #4] - 8006808: ab17 add r3, sp, #92 ; 0x5c - 800680a: 9300 str r3, [sp, #0] - 800680c: 4628 mov r0, r5 - 800680e: e9dd 230c ldrd r2, r3, [sp, #48] ; 0x30 - 8006812: f001 f8c9 bl 80079a8 <__d2b> - 8006816: f3c9 540a ubfx r4, r9, #20, #11 - 800681a: 4682 mov sl, r0 - 800681c: 2c00 cmp r4, #0 - 800681e: d07e beq.n 800691e <_dtoa_r+0x1f6> - 8006820: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 - 8006824: 9b0d ldr r3, [sp, #52] ; 0x34 - 8006826: f2a4 34ff subw r4, r4, #1023 ; 0x3ff - 800682a: f3c3 0313 ubfx r3, r3, #0, #20 - 800682e: f043 517f orr.w r1, r3, #1069547520 ; 0x3fc00000 - 8006832: f441 1140 orr.w r1, r1, #3145728 ; 0x300000 - 8006836: f8cd 804c str.w r8, [sp, #76] ; 0x4c - 800683a: 2200 movs r2, #0 - 800683c: 4b78 ldr r3, [pc, #480] ; (8006a20 <_dtoa_r+0x2f8>) - 800683e: f7f9 fcff bl 8000240 <__aeabi_dsub> - 8006842: a36b add r3, pc, #428 ; (adr r3, 80069f0 <_dtoa_r+0x2c8>) - 8006844: e9d3 2300 ldrd r2, r3, [r3] - 8006848: f7f9 feb2 bl 80005b0 <__aeabi_dmul> - 800684c: a36a add r3, pc, #424 ; (adr r3, 80069f8 <_dtoa_r+0x2d0>) - 800684e: e9d3 2300 ldrd r2, r3, [r3] - 8006852: f7f9 fcf7 bl 8000244 <__adddf3> - 8006856: 4606 mov r6, r0 - 8006858: 4620 mov r0, r4 - 800685a: 460f mov r7, r1 - 800685c: f7f9 fe3e bl 80004dc <__aeabi_i2d> - 8006860: a367 add r3, pc, #412 ; (adr r3, 8006a00 <_dtoa_r+0x2d8>) - 8006862: e9d3 2300 ldrd r2, r3, [r3] - 8006866: f7f9 fea3 bl 80005b0 <__aeabi_dmul> - 800686a: 4602 mov r2, r0 - 800686c: 460b mov r3, r1 - 800686e: 4630 mov r0, r6 - 8006870: 4639 mov r1, r7 - 8006872: f7f9 fce7 bl 8000244 <__adddf3> - 8006876: 4606 mov r6, r0 - 8006878: 460f mov r7, r1 - 800687a: f7fa f949 bl 8000b10 <__aeabi_d2iz> - 800687e: 2200 movs r2, #0 - 8006880: 4681 mov r9, r0 - 8006882: 2300 movs r3, #0 - 8006884: 4630 mov r0, r6 - 8006886: 4639 mov r1, r7 - 8006888: f7fa f904 bl 8000a94 <__aeabi_dcmplt> - 800688c: b148 cbz r0, 80068a2 <_dtoa_r+0x17a> - 800688e: 4648 mov r0, r9 - 8006890: f7f9 fe24 bl 80004dc <__aeabi_i2d> - 8006894: 4632 mov r2, r6 - 8006896: 463b mov r3, r7 - 8006898: f7fa f8f2 bl 8000a80 <__aeabi_dcmpeq> - 800689c: b908 cbnz r0, 80068a2 <_dtoa_r+0x17a> - 800689e: f109 39ff add.w r9, r9, #4294967295 ; 0xffffffff - 80068a2: f1b9 0f16 cmp.w r9, #22 - 80068a6: d857 bhi.n 8006958 <_dtoa_r+0x230> - 80068a8: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 - 80068ac: 4b5d ldr r3, [pc, #372] ; (8006a24 <_dtoa_r+0x2fc>) - 80068ae: eb03 03c9 add.w r3, r3, r9, lsl #3 - 80068b2: e9d3 2300 ldrd r2, r3, [r3] - 80068b6: f7fa f8ed bl 8000a94 <__aeabi_dcmplt> - 80068ba: 2800 cmp r0, #0 - 80068bc: d04e beq.n 800695c <_dtoa_r+0x234> - 80068be: 2300 movs r3, #0 - 80068c0: f109 39ff add.w r9, r9, #4294967295 ; 0xffffffff - 80068c4: 930f str r3, [sp, #60] ; 0x3c - 80068c6: 9b16 ldr r3, [sp, #88] ; 0x58 - 80068c8: 1b1c subs r4, r3, r4 - 80068ca: 1e63 subs r3, r4, #1 - 80068cc: 9309 str r3, [sp, #36] ; 0x24 - 80068ce: bf49 itett mi - 80068d0: f1c4 0301 rsbmi r3, r4, #1 - 80068d4: 2300 movpl r3, #0 - 80068d6: 9306 strmi r3, [sp, #24] - 80068d8: 2300 movmi r3, #0 - 80068da: bf54 ite pl - 80068dc: 9306 strpl r3, [sp, #24] - 80068de: 9309 strmi r3, [sp, #36] ; 0x24 - 80068e0: f1b9 0f00 cmp.w r9, #0 - 80068e4: db3c blt.n 8006960 <_dtoa_r+0x238> - 80068e6: 9b09 ldr r3, [sp, #36] ; 0x24 - 80068e8: f8cd 9038 str.w r9, [sp, #56] ; 0x38 - 80068ec: 444b add r3, r9 - 80068ee: 9309 str r3, [sp, #36] ; 0x24 - 80068f0: 2300 movs r3, #0 - 80068f2: 930a str r3, [sp, #40] ; 0x28 - 80068f4: 9b22 ldr r3, [sp, #136] ; 0x88 - 80068f6: 2b09 cmp r3, #9 - 80068f8: d86c bhi.n 80069d4 <_dtoa_r+0x2ac> - 80068fa: 2b05 cmp r3, #5 - 80068fc: bfc4 itt gt - 80068fe: 3b04 subgt r3, #4 - 8006900: 9322 strgt r3, [sp, #136] ; 0x88 - 8006902: 9b22 ldr r3, [sp, #136] ; 0x88 - 8006904: bfc8 it gt - 8006906: 2400 movgt r4, #0 - 8006908: f1a3 0302 sub.w r3, r3, #2 - 800690c: bfd8 it le - 800690e: 2401 movle r4, #1 - 8006910: 2b03 cmp r3, #3 - 8006912: f200 808b bhi.w 8006a2c <_dtoa_r+0x304> - 8006916: e8df f003 tbb [pc, r3] - 800691a: 4f2d .short 0x4f2d - 800691c: 5b4d .short 0x5b4d - 800691e: e9dd 4316 ldrd r4, r3, [sp, #88] ; 0x58 - 8006922: 441c add r4, r3 - 8006924: f204 4332 addw r3, r4, #1074 ; 0x432 - 8006928: 2b20 cmp r3, #32 - 800692a: bfc3 ittte gt - 800692c: f1c3 0340 rsbgt r3, r3, #64 ; 0x40 - 8006930: f204 4012 addwgt r0, r4, #1042 ; 0x412 - 8006934: fa09 f303 lslgt.w r3, r9, r3 - 8006938: f1c3 0320 rsble r3, r3, #32 - 800693c: bfc6 itte gt - 800693e: fa26 f000 lsrgt.w r0, r6, r0 - 8006942: 4318 orrgt r0, r3 - 8006944: fa06 f003 lslle.w r0, r6, r3 - 8006948: f7f9 fdb8 bl 80004bc <__aeabi_ui2d> - 800694c: 2301 movs r3, #1 - 800694e: f1a1 71f8 sub.w r1, r1, #32505856 ; 0x1f00000 - 8006952: 3c01 subs r4, #1 - 8006954: 9313 str r3, [sp, #76] ; 0x4c - 8006956: e770 b.n 800683a <_dtoa_r+0x112> - 8006958: 2301 movs r3, #1 - 800695a: e7b3 b.n 80068c4 <_dtoa_r+0x19c> - 800695c: 900f str r0, [sp, #60] ; 0x3c - 800695e: e7b2 b.n 80068c6 <_dtoa_r+0x19e> - 8006960: 9b06 ldr r3, [sp, #24] - 8006962: eba3 0309 sub.w r3, r3, r9 - 8006966: 9306 str r3, [sp, #24] - 8006968: f1c9 0300 rsb r3, r9, #0 - 800696c: 930a str r3, [sp, #40] ; 0x28 - 800696e: 2300 movs r3, #0 - 8006970: 930e str r3, [sp, #56] ; 0x38 - 8006972: e7bf b.n 80068f4 <_dtoa_r+0x1cc> - 8006974: 2300 movs r3, #0 - 8006976: 930b str r3, [sp, #44] ; 0x2c - 8006978: 9b23 ldr r3, [sp, #140] ; 0x8c - 800697a: 2b00 cmp r3, #0 - 800697c: dc59 bgt.n 8006a32 <_dtoa_r+0x30a> - 800697e: f04f 0b01 mov.w fp, #1 - 8006982: 465b mov r3, fp - 8006984: f8cd b008 str.w fp, [sp, #8] - 8006988: f8cd b08c str.w fp, [sp, #140] ; 0x8c - 800698c: 2200 movs r2, #0 - 800698e: 6a68 ldr r0, [r5, #36] ; 0x24 - 8006990: 6042 str r2, [r0, #4] - 8006992: 2204 movs r2, #4 - 8006994: f102 0614 add.w r6, r2, #20 - 8006998: 429e cmp r6, r3 - 800699a: 6841 ldr r1, [r0, #4] - 800699c: d94f bls.n 8006a3e <_dtoa_r+0x316> - 800699e: 4628 mov r0, r5 - 80069a0: f000 fcdc bl 800735c <_Balloc> - 80069a4: 9008 str r0, [sp, #32] - 80069a6: 2800 cmp r0, #0 - 80069a8: d14d bne.n 8006a46 <_dtoa_r+0x31e> - 80069aa: 4602 mov r2, r0 - 80069ac: f44f 71d5 mov.w r1, #426 ; 0x1aa - 80069b0: 4b1d ldr r3, [pc, #116] ; (8006a28 <_dtoa_r+0x300>) - 80069b2: e6cd b.n 8006750 <_dtoa_r+0x28> - 80069b4: 2301 movs r3, #1 - 80069b6: e7de b.n 8006976 <_dtoa_r+0x24e> - 80069b8: 2300 movs r3, #0 - 80069ba: 930b str r3, [sp, #44] ; 0x2c - 80069bc: 9b23 ldr r3, [sp, #140] ; 0x8c - 80069be: eb09 0b03 add.w fp, r9, r3 - 80069c2: f10b 0301 add.w r3, fp, #1 - 80069c6: 2b01 cmp r3, #1 - 80069c8: 9302 str r3, [sp, #8] - 80069ca: bfb8 it lt - 80069cc: 2301 movlt r3, #1 - 80069ce: e7dd b.n 800698c <_dtoa_r+0x264> - 80069d0: 2301 movs r3, #1 - 80069d2: e7f2 b.n 80069ba <_dtoa_r+0x292> - 80069d4: 2401 movs r4, #1 - 80069d6: 2300 movs r3, #0 - 80069d8: 940b str r4, [sp, #44] ; 0x2c - 80069da: 9322 str r3, [sp, #136] ; 0x88 - 80069dc: f04f 3bff mov.w fp, #4294967295 ; 0xffffffff - 80069e0: 2200 movs r2, #0 - 80069e2: 2312 movs r3, #18 - 80069e4: f8cd b008 str.w fp, [sp, #8] - 80069e8: 9223 str r2, [sp, #140] ; 0x8c - 80069ea: e7cf b.n 800698c <_dtoa_r+0x264> - 80069ec: f3af 8000 nop.w - 80069f0: 636f4361 .word 0x636f4361 - 80069f4: 3fd287a7 .word 0x3fd287a7 - 80069f8: 8b60c8b3 .word 0x8b60c8b3 - 80069fc: 3fc68a28 .word 0x3fc68a28 - 8006a00: 509f79fb .word 0x509f79fb - 8006a04: 3fd34413 .word 0x3fd34413 - 8006a08: 0800948d .word 0x0800948d - 8006a0c: 080094a4 .word 0x080094a4 - 8006a10: 7ff00000 .word 0x7ff00000 - 8006a14: 08009489 .word 0x08009489 - 8006a18: 08009480 .word 0x08009480 - 8006a1c: 0800945d .word 0x0800945d - 8006a20: 3ff80000 .word 0x3ff80000 - 8006a24: 080095a0 .word 0x080095a0 - 8006a28: 08009503 .word 0x08009503 - 8006a2c: 2301 movs r3, #1 - 8006a2e: 930b str r3, [sp, #44] ; 0x2c - 8006a30: e7d4 b.n 80069dc <_dtoa_r+0x2b4> - 8006a32: f8dd b08c ldr.w fp, [sp, #140] ; 0x8c - 8006a36: 465b mov r3, fp - 8006a38: f8cd b008 str.w fp, [sp, #8] - 8006a3c: e7a6 b.n 800698c <_dtoa_r+0x264> - 8006a3e: 3101 adds r1, #1 - 8006a40: 6041 str r1, [r0, #4] - 8006a42: 0052 lsls r2, r2, #1 - 8006a44: e7a6 b.n 8006994 <_dtoa_r+0x26c> - 8006a46: 6a6b ldr r3, [r5, #36] ; 0x24 - 8006a48: 9a08 ldr r2, [sp, #32] - 8006a4a: 601a str r2, [r3, #0] - 8006a4c: 9b02 ldr r3, [sp, #8] - 8006a4e: 2b0e cmp r3, #14 - 8006a50: f200 80a8 bhi.w 8006ba4 <_dtoa_r+0x47c> - 8006a54: 2c00 cmp r4, #0 - 8006a56: f000 80a5 beq.w 8006ba4 <_dtoa_r+0x47c> - 8006a5a: f1b9 0f00 cmp.w r9, #0 - 8006a5e: dd34 ble.n 8006aca <_dtoa_r+0x3a2> - 8006a60: 4a9a ldr r2, [pc, #616] ; (8006ccc <_dtoa_r+0x5a4>) - 8006a62: f009 030f and.w r3, r9, #15 - 8006a66: eb02 03c3 add.w r3, r2, r3, lsl #3 - 8006a6a: f419 7f80 tst.w r9, #256 ; 0x100 - 8006a6e: e9d3 3400 ldrd r3, r4, [r3] - 8006a72: e9cd 3410 strd r3, r4, [sp, #64] ; 0x40 - 8006a76: ea4f 1429 mov.w r4, r9, asr #4 - 8006a7a: d016 beq.n 8006aaa <_dtoa_r+0x382> - 8006a7c: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 - 8006a80: 4b93 ldr r3, [pc, #588] ; (8006cd0 <_dtoa_r+0x5a8>) - 8006a82: 2703 movs r7, #3 - 8006a84: e9d3 2308 ldrd r2, r3, [r3, #32] - 8006a88: f7f9 febc bl 8000804 <__aeabi_ddiv> - 8006a8c: e9cd 0104 strd r0, r1, [sp, #16] - 8006a90: f004 040f and.w r4, r4, #15 - 8006a94: 4e8e ldr r6, [pc, #568] ; (8006cd0 <_dtoa_r+0x5a8>) - 8006a96: b954 cbnz r4, 8006aae <_dtoa_r+0x386> - 8006a98: e9dd 2310 ldrd r2, r3, [sp, #64] ; 0x40 - 8006a9c: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006aa0: f7f9 feb0 bl 8000804 <__aeabi_ddiv> - 8006aa4: e9cd 0104 strd r0, r1, [sp, #16] - 8006aa8: e029 b.n 8006afe <_dtoa_r+0x3d6> - 8006aaa: 2702 movs r7, #2 - 8006aac: e7f2 b.n 8006a94 <_dtoa_r+0x36c> - 8006aae: 07e1 lsls r1, r4, #31 - 8006ab0: d508 bpl.n 8006ac4 <_dtoa_r+0x39c> - 8006ab2: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 - 8006ab6: e9d6 2300 ldrd r2, r3, [r6] - 8006aba: f7f9 fd79 bl 80005b0 <__aeabi_dmul> - 8006abe: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 - 8006ac2: 3701 adds r7, #1 - 8006ac4: 1064 asrs r4, r4, #1 - 8006ac6: 3608 adds r6, #8 - 8006ac8: e7e5 b.n 8006a96 <_dtoa_r+0x36e> - 8006aca: f000 80a5 beq.w 8006c18 <_dtoa_r+0x4f0> - 8006ace: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 - 8006ad2: f1c9 0400 rsb r4, r9, #0 - 8006ad6: 4b7d ldr r3, [pc, #500] ; (8006ccc <_dtoa_r+0x5a4>) - 8006ad8: f004 020f and.w r2, r4, #15 - 8006adc: eb03 03c2 add.w r3, r3, r2, lsl #3 - 8006ae0: e9d3 2300 ldrd r2, r3, [r3] - 8006ae4: f7f9 fd64 bl 80005b0 <__aeabi_dmul> - 8006ae8: 2702 movs r7, #2 - 8006aea: 2300 movs r3, #0 - 8006aec: e9cd 0104 strd r0, r1, [sp, #16] - 8006af0: 4e77 ldr r6, [pc, #476] ; (8006cd0 <_dtoa_r+0x5a8>) - 8006af2: 1124 asrs r4, r4, #4 - 8006af4: 2c00 cmp r4, #0 - 8006af6: f040 8084 bne.w 8006c02 <_dtoa_r+0x4da> - 8006afa: 2b00 cmp r3, #0 - 8006afc: d1d2 bne.n 8006aa4 <_dtoa_r+0x37c> - 8006afe: 9b0f ldr r3, [sp, #60] ; 0x3c - 8006b00: 2b00 cmp r3, #0 - 8006b02: f000 808b beq.w 8006c1c <_dtoa_r+0x4f4> - 8006b06: e9dd 3404 ldrd r3, r4, [sp, #16] - 8006b0a: e9cd 3410 strd r3, r4, [sp, #64] ; 0x40 - 8006b0e: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 - 8006b12: 2200 movs r2, #0 - 8006b14: 4b6f ldr r3, [pc, #444] ; (8006cd4 <_dtoa_r+0x5ac>) - 8006b16: f7f9 ffbd bl 8000a94 <__aeabi_dcmplt> - 8006b1a: 2800 cmp r0, #0 - 8006b1c: d07e beq.n 8006c1c <_dtoa_r+0x4f4> - 8006b1e: 9b02 ldr r3, [sp, #8] - 8006b20: 2b00 cmp r3, #0 - 8006b22: d07b beq.n 8006c1c <_dtoa_r+0x4f4> - 8006b24: f1bb 0f00 cmp.w fp, #0 - 8006b28: dd38 ble.n 8006b9c <_dtoa_r+0x474> - 8006b2a: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 - 8006b2e: 2200 movs r2, #0 - 8006b30: 4b69 ldr r3, [pc, #420] ; (8006cd8 <_dtoa_r+0x5b0>) - 8006b32: f7f9 fd3d bl 80005b0 <__aeabi_dmul> - 8006b36: 465c mov r4, fp - 8006b38: e9cd 0104 strd r0, r1, [sp, #16] - 8006b3c: f109 38ff add.w r8, r9, #4294967295 ; 0xffffffff - 8006b40: 3701 adds r7, #1 - 8006b42: 4638 mov r0, r7 - 8006b44: f7f9 fcca bl 80004dc <__aeabi_i2d> - 8006b48: e9dd 2304 ldrd r2, r3, [sp, #16] - 8006b4c: f7f9 fd30 bl 80005b0 <__aeabi_dmul> - 8006b50: 2200 movs r2, #0 - 8006b52: 4b62 ldr r3, [pc, #392] ; (8006cdc <_dtoa_r+0x5b4>) - 8006b54: f7f9 fb76 bl 8000244 <__adddf3> - 8006b58: f1a1 7650 sub.w r6, r1, #54525952 ; 0x3400000 - 8006b5c: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 - 8006b60: 9611 str r6, [sp, #68] ; 0x44 - 8006b62: 2c00 cmp r4, #0 - 8006b64: d15d bne.n 8006c22 <_dtoa_r+0x4fa> - 8006b66: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006b6a: 2200 movs r2, #0 - 8006b6c: 4b5c ldr r3, [pc, #368] ; (8006ce0 <_dtoa_r+0x5b8>) - 8006b6e: f7f9 fb67 bl 8000240 <__aeabi_dsub> - 8006b72: 4602 mov r2, r0 - 8006b74: 460b mov r3, r1 - 8006b76: e9cd 2304 strd r2, r3, [sp, #16] - 8006b7a: 4633 mov r3, r6 - 8006b7c: 9a10 ldr r2, [sp, #64] ; 0x40 - 8006b7e: f7f9 ffa7 bl 8000ad0 <__aeabi_dcmpgt> - 8006b82: 2800 cmp r0, #0 - 8006b84: f040 829e bne.w 80070c4 <_dtoa_r+0x99c> - 8006b88: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006b8c: 9a10 ldr r2, [sp, #64] ; 0x40 - 8006b8e: f106 4300 add.w r3, r6, #2147483648 ; 0x80000000 - 8006b92: f7f9 ff7f bl 8000a94 <__aeabi_dcmplt> - 8006b96: 2800 cmp r0, #0 - 8006b98: f040 8292 bne.w 80070c0 <_dtoa_r+0x998> - 8006b9c: e9dd 340c ldrd r3, r4, [sp, #48] ; 0x30 - 8006ba0: e9cd 3404 strd r3, r4, [sp, #16] - 8006ba4: 9b17 ldr r3, [sp, #92] ; 0x5c - 8006ba6: 2b00 cmp r3, #0 - 8006ba8: f2c0 8153 blt.w 8006e52 <_dtoa_r+0x72a> - 8006bac: f1b9 0f0e cmp.w r9, #14 - 8006bb0: f300 814f bgt.w 8006e52 <_dtoa_r+0x72a> - 8006bb4: 4b45 ldr r3, [pc, #276] ; (8006ccc <_dtoa_r+0x5a4>) - 8006bb6: eb03 03c9 add.w r3, r3, r9, lsl #3 - 8006bba: e9d3 3400 ldrd r3, r4, [r3] - 8006bbe: e9cd 3406 strd r3, r4, [sp, #24] - 8006bc2: 9b23 ldr r3, [sp, #140] ; 0x8c - 8006bc4: 2b00 cmp r3, #0 - 8006bc6: f280 80db bge.w 8006d80 <_dtoa_r+0x658> - 8006bca: 9b02 ldr r3, [sp, #8] - 8006bcc: 2b00 cmp r3, #0 - 8006bce: f300 80d7 bgt.w 8006d80 <_dtoa_r+0x658> - 8006bd2: f040 8274 bne.w 80070be <_dtoa_r+0x996> - 8006bd6: e9dd 0106 ldrd r0, r1, [sp, #24] - 8006bda: 2200 movs r2, #0 - 8006bdc: 4b40 ldr r3, [pc, #256] ; (8006ce0 <_dtoa_r+0x5b8>) - 8006bde: f7f9 fce7 bl 80005b0 <__aeabi_dmul> - 8006be2: e9dd 2304 ldrd r2, r3, [sp, #16] - 8006be6: f7f9 ff69 bl 8000abc <__aeabi_dcmpge> - 8006bea: 9c02 ldr r4, [sp, #8] - 8006bec: 4626 mov r6, r4 - 8006bee: 2800 cmp r0, #0 - 8006bf0: f040 824a bne.w 8007088 <_dtoa_r+0x960> - 8006bf4: 2331 movs r3, #49 ; 0x31 - 8006bf6: 9f08 ldr r7, [sp, #32] - 8006bf8: f109 0901 add.w r9, r9, #1 - 8006bfc: f807 3b01 strb.w r3, [r7], #1 - 8006c00: e246 b.n 8007090 <_dtoa_r+0x968> - 8006c02: 07e2 lsls r2, r4, #31 - 8006c04: d505 bpl.n 8006c12 <_dtoa_r+0x4ea> - 8006c06: e9d6 2300 ldrd r2, r3, [r6] - 8006c0a: f7f9 fcd1 bl 80005b0 <__aeabi_dmul> - 8006c0e: 2301 movs r3, #1 - 8006c10: 3701 adds r7, #1 - 8006c12: 1064 asrs r4, r4, #1 - 8006c14: 3608 adds r6, #8 - 8006c16: e76d b.n 8006af4 <_dtoa_r+0x3cc> - 8006c18: 2702 movs r7, #2 - 8006c1a: e770 b.n 8006afe <_dtoa_r+0x3d6> - 8006c1c: 46c8 mov r8, r9 - 8006c1e: 9c02 ldr r4, [sp, #8] - 8006c20: e78f b.n 8006b42 <_dtoa_r+0x41a> - 8006c22: 9908 ldr r1, [sp, #32] - 8006c24: 4b29 ldr r3, [pc, #164] ; (8006ccc <_dtoa_r+0x5a4>) - 8006c26: 4421 add r1, r4 - 8006c28: 9112 str r1, [sp, #72] ; 0x48 - 8006c2a: 990b ldr r1, [sp, #44] ; 0x2c - 8006c2c: eb03 03c4 add.w r3, r3, r4, lsl #3 - 8006c30: e9dd 6710 ldrd r6, r7, [sp, #64] ; 0x40 - 8006c34: e953 2302 ldrd r2, r3, [r3, #-8] - 8006c38: 2900 cmp r1, #0 - 8006c3a: d055 beq.n 8006ce8 <_dtoa_r+0x5c0> - 8006c3c: 2000 movs r0, #0 - 8006c3e: 4929 ldr r1, [pc, #164] ; (8006ce4 <_dtoa_r+0x5bc>) - 8006c40: f7f9 fde0 bl 8000804 <__aeabi_ddiv> - 8006c44: 463b mov r3, r7 - 8006c46: 4632 mov r2, r6 - 8006c48: f7f9 fafa bl 8000240 <__aeabi_dsub> - 8006c4c: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 - 8006c50: 9f08 ldr r7, [sp, #32] - 8006c52: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006c56: f7f9 ff5b bl 8000b10 <__aeabi_d2iz> - 8006c5a: 4604 mov r4, r0 - 8006c5c: f7f9 fc3e bl 80004dc <__aeabi_i2d> - 8006c60: 4602 mov r2, r0 - 8006c62: 460b mov r3, r1 - 8006c64: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006c68: f7f9 faea bl 8000240 <__aeabi_dsub> - 8006c6c: 4602 mov r2, r0 - 8006c6e: 460b mov r3, r1 - 8006c70: 3430 adds r4, #48 ; 0x30 - 8006c72: e9cd 2304 strd r2, r3, [sp, #16] - 8006c76: e9dd 2310 ldrd r2, r3, [sp, #64] ; 0x40 - 8006c7a: f807 4b01 strb.w r4, [r7], #1 - 8006c7e: f7f9 ff09 bl 8000a94 <__aeabi_dcmplt> - 8006c82: 2800 cmp r0, #0 - 8006c84: d174 bne.n 8006d70 <_dtoa_r+0x648> - 8006c86: e9dd 2304 ldrd r2, r3, [sp, #16] - 8006c8a: 2000 movs r0, #0 - 8006c8c: 4911 ldr r1, [pc, #68] ; (8006cd4 <_dtoa_r+0x5ac>) - 8006c8e: f7f9 fad7 bl 8000240 <__aeabi_dsub> - 8006c92: e9dd 2310 ldrd r2, r3, [sp, #64] ; 0x40 - 8006c96: f7f9 fefd bl 8000a94 <__aeabi_dcmplt> - 8006c9a: 2800 cmp r0, #0 - 8006c9c: f040 80b6 bne.w 8006e0c <_dtoa_r+0x6e4> - 8006ca0: 9b12 ldr r3, [sp, #72] ; 0x48 - 8006ca2: 429f cmp r7, r3 - 8006ca4: f43f af7a beq.w 8006b9c <_dtoa_r+0x474> - 8006ca8: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 - 8006cac: 2200 movs r2, #0 - 8006cae: 4b0a ldr r3, [pc, #40] ; (8006cd8 <_dtoa_r+0x5b0>) - 8006cb0: f7f9 fc7e bl 80005b0 <__aeabi_dmul> - 8006cb4: 2200 movs r2, #0 - 8006cb6: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 - 8006cba: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006cbe: 4b06 ldr r3, [pc, #24] ; (8006cd8 <_dtoa_r+0x5b0>) - 8006cc0: f7f9 fc76 bl 80005b0 <__aeabi_dmul> - 8006cc4: e9cd 0104 strd r0, r1, [sp, #16] - 8006cc8: e7c3 b.n 8006c52 <_dtoa_r+0x52a> - 8006cca: bf00 nop - 8006ccc: 080095a0 .word 0x080095a0 - 8006cd0: 08009578 .word 0x08009578 - 8006cd4: 3ff00000 .word 0x3ff00000 - 8006cd8: 40240000 .word 0x40240000 - 8006cdc: 401c0000 .word 0x401c0000 - 8006ce0: 40140000 .word 0x40140000 - 8006ce4: 3fe00000 .word 0x3fe00000 - 8006ce8: 4630 mov r0, r6 - 8006cea: 4639 mov r1, r7 - 8006cec: f7f9 fc60 bl 80005b0 <__aeabi_dmul> - 8006cf0: 9b12 ldr r3, [sp, #72] ; 0x48 - 8006cf2: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 - 8006cf6: 9c08 ldr r4, [sp, #32] - 8006cf8: 9314 str r3, [sp, #80] ; 0x50 - 8006cfa: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006cfe: f7f9 ff07 bl 8000b10 <__aeabi_d2iz> - 8006d02: 9015 str r0, [sp, #84] ; 0x54 - 8006d04: f7f9 fbea bl 80004dc <__aeabi_i2d> - 8006d08: 4602 mov r2, r0 - 8006d0a: 460b mov r3, r1 - 8006d0c: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006d10: f7f9 fa96 bl 8000240 <__aeabi_dsub> - 8006d14: 9b15 ldr r3, [sp, #84] ; 0x54 - 8006d16: 4606 mov r6, r0 - 8006d18: 3330 adds r3, #48 ; 0x30 - 8006d1a: f804 3b01 strb.w r3, [r4], #1 - 8006d1e: 9b12 ldr r3, [sp, #72] ; 0x48 - 8006d20: 460f mov r7, r1 - 8006d22: 429c cmp r4, r3 - 8006d24: f04f 0200 mov.w r2, #0 - 8006d28: d124 bne.n 8006d74 <_dtoa_r+0x64c> - 8006d2a: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 - 8006d2e: 4bb3 ldr r3, [pc, #716] ; (8006ffc <_dtoa_r+0x8d4>) - 8006d30: f7f9 fa88 bl 8000244 <__adddf3> - 8006d34: 4602 mov r2, r0 - 8006d36: 460b mov r3, r1 - 8006d38: 4630 mov r0, r6 - 8006d3a: 4639 mov r1, r7 - 8006d3c: f7f9 fec8 bl 8000ad0 <__aeabi_dcmpgt> - 8006d40: 2800 cmp r0, #0 - 8006d42: d162 bne.n 8006e0a <_dtoa_r+0x6e2> - 8006d44: e9dd 2310 ldrd r2, r3, [sp, #64] ; 0x40 - 8006d48: 2000 movs r0, #0 - 8006d4a: 49ac ldr r1, [pc, #688] ; (8006ffc <_dtoa_r+0x8d4>) - 8006d4c: f7f9 fa78 bl 8000240 <__aeabi_dsub> - 8006d50: 4602 mov r2, r0 - 8006d52: 460b mov r3, r1 - 8006d54: 4630 mov r0, r6 - 8006d56: 4639 mov r1, r7 - 8006d58: f7f9 fe9c bl 8000a94 <__aeabi_dcmplt> - 8006d5c: 2800 cmp r0, #0 - 8006d5e: f43f af1d beq.w 8006b9c <_dtoa_r+0x474> - 8006d62: 9f14 ldr r7, [sp, #80] ; 0x50 - 8006d64: 1e7b subs r3, r7, #1 - 8006d66: 9314 str r3, [sp, #80] ; 0x50 - 8006d68: f817 3c01 ldrb.w r3, [r7, #-1] - 8006d6c: 2b30 cmp r3, #48 ; 0x30 - 8006d6e: d0f8 beq.n 8006d62 <_dtoa_r+0x63a> - 8006d70: 46c1 mov r9, r8 - 8006d72: e03a b.n 8006dea <_dtoa_r+0x6c2> - 8006d74: 4ba2 ldr r3, [pc, #648] ; (8007000 <_dtoa_r+0x8d8>) - 8006d76: f7f9 fc1b bl 80005b0 <__aeabi_dmul> - 8006d7a: e9cd 0104 strd r0, r1, [sp, #16] - 8006d7e: e7bc b.n 8006cfa <_dtoa_r+0x5d2> - 8006d80: 9f08 ldr r7, [sp, #32] - 8006d82: e9dd 2306 ldrd r2, r3, [sp, #24] - 8006d86: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006d8a: f7f9 fd3b bl 8000804 <__aeabi_ddiv> - 8006d8e: f7f9 febf bl 8000b10 <__aeabi_d2iz> - 8006d92: 4604 mov r4, r0 - 8006d94: f7f9 fba2 bl 80004dc <__aeabi_i2d> - 8006d98: e9dd 2306 ldrd r2, r3, [sp, #24] - 8006d9c: f7f9 fc08 bl 80005b0 <__aeabi_dmul> - 8006da0: f104 0630 add.w r6, r4, #48 ; 0x30 - 8006da4: 460b mov r3, r1 - 8006da6: 4602 mov r2, r0 - 8006da8: e9dd 0104 ldrd r0, r1, [sp, #16] - 8006dac: f7f9 fa48 bl 8000240 <__aeabi_dsub> - 8006db0: f807 6b01 strb.w r6, [r7], #1 - 8006db4: 9e08 ldr r6, [sp, #32] - 8006db6: 9b02 ldr r3, [sp, #8] - 8006db8: 1bbe subs r6, r7, r6 - 8006dba: 42b3 cmp r3, r6 - 8006dbc: d13a bne.n 8006e34 <_dtoa_r+0x70c> - 8006dbe: 4602 mov r2, r0 - 8006dc0: 460b mov r3, r1 - 8006dc2: f7f9 fa3f bl 8000244 <__adddf3> - 8006dc6: 4602 mov r2, r0 - 8006dc8: 460b mov r3, r1 - 8006dca: e9cd 2302 strd r2, r3, [sp, #8] - 8006dce: e9dd 2306 ldrd r2, r3, [sp, #24] - 8006dd2: f7f9 fe7d bl 8000ad0 <__aeabi_dcmpgt> - 8006dd6: bb58 cbnz r0, 8006e30 <_dtoa_r+0x708> - 8006dd8: e9dd 2306 ldrd r2, r3, [sp, #24] - 8006ddc: e9dd 0102 ldrd r0, r1, [sp, #8] - 8006de0: f7f9 fe4e bl 8000a80 <__aeabi_dcmpeq> - 8006de4: b108 cbz r0, 8006dea <_dtoa_r+0x6c2> - 8006de6: 07e1 lsls r1, r4, #31 - 8006de8: d422 bmi.n 8006e30 <_dtoa_r+0x708> - 8006dea: 4628 mov r0, r5 - 8006dec: 4651 mov r1, sl - 8006dee: f000 faf5 bl 80073dc <_Bfree> - 8006df2: 2300 movs r3, #0 - 8006df4: 703b strb r3, [r7, #0] - 8006df6: 9b24 ldr r3, [sp, #144] ; 0x90 - 8006df8: f109 0001 add.w r0, r9, #1 - 8006dfc: 6018 str r0, [r3, #0] - 8006dfe: 9b26 ldr r3, [sp, #152] ; 0x98 - 8006e00: 2b00 cmp r3, #0 - 8006e02: f43f acdf beq.w 80067c4 <_dtoa_r+0x9c> - 8006e06: 601f str r7, [r3, #0] - 8006e08: e4dc b.n 80067c4 <_dtoa_r+0x9c> - 8006e0a: 4627 mov r7, r4 - 8006e0c: 463b mov r3, r7 - 8006e0e: 461f mov r7, r3 - 8006e10: f813 2d01 ldrb.w r2, [r3, #-1]! - 8006e14: 2a39 cmp r2, #57 ; 0x39 - 8006e16: d107 bne.n 8006e28 <_dtoa_r+0x700> - 8006e18: 9a08 ldr r2, [sp, #32] - 8006e1a: 429a cmp r2, r3 - 8006e1c: d1f7 bne.n 8006e0e <_dtoa_r+0x6e6> - 8006e1e: 2230 movs r2, #48 ; 0x30 - 8006e20: 9908 ldr r1, [sp, #32] - 8006e22: f108 0801 add.w r8, r8, #1 - 8006e26: 700a strb r2, [r1, #0] - 8006e28: 781a ldrb r2, [r3, #0] - 8006e2a: 3201 adds r2, #1 - 8006e2c: 701a strb r2, [r3, #0] - 8006e2e: e79f b.n 8006d70 <_dtoa_r+0x648> - 8006e30: 46c8 mov r8, r9 - 8006e32: e7eb b.n 8006e0c <_dtoa_r+0x6e4> - 8006e34: 2200 movs r2, #0 - 8006e36: 4b72 ldr r3, [pc, #456] ; (8007000 <_dtoa_r+0x8d8>) - 8006e38: f7f9 fbba bl 80005b0 <__aeabi_dmul> - 8006e3c: 4602 mov r2, r0 - 8006e3e: 460b mov r3, r1 - 8006e40: e9cd 2304 strd r2, r3, [sp, #16] - 8006e44: 2200 movs r2, #0 - 8006e46: 2300 movs r3, #0 - 8006e48: f7f9 fe1a bl 8000a80 <__aeabi_dcmpeq> - 8006e4c: 2800 cmp r0, #0 - 8006e4e: d098 beq.n 8006d82 <_dtoa_r+0x65a> - 8006e50: e7cb b.n 8006dea <_dtoa_r+0x6c2> - 8006e52: 9a0b ldr r2, [sp, #44] ; 0x2c - 8006e54: 2a00 cmp r2, #0 - 8006e56: f000 80cd beq.w 8006ff4 <_dtoa_r+0x8cc> - 8006e5a: 9a22 ldr r2, [sp, #136] ; 0x88 - 8006e5c: 2a01 cmp r2, #1 - 8006e5e: f300 80af bgt.w 8006fc0 <_dtoa_r+0x898> - 8006e62: 9a13 ldr r2, [sp, #76] ; 0x4c - 8006e64: 2a00 cmp r2, #0 - 8006e66: f000 80a7 beq.w 8006fb8 <_dtoa_r+0x890> - 8006e6a: f203 4333 addw r3, r3, #1075 ; 0x433 - 8006e6e: 9c0a ldr r4, [sp, #40] ; 0x28 - 8006e70: 9f06 ldr r7, [sp, #24] - 8006e72: 9a06 ldr r2, [sp, #24] - 8006e74: 2101 movs r1, #1 - 8006e76: 441a add r2, r3 - 8006e78: 9206 str r2, [sp, #24] - 8006e7a: 9a09 ldr r2, [sp, #36] ; 0x24 - 8006e7c: 4628 mov r0, r5 - 8006e7e: 441a add r2, r3 - 8006e80: 9209 str r2, [sp, #36] ; 0x24 - 8006e82: f000 fb65 bl 8007550 <__i2b> - 8006e86: 4606 mov r6, r0 - 8006e88: 2f00 cmp r7, #0 - 8006e8a: dd0c ble.n 8006ea6 <_dtoa_r+0x77e> - 8006e8c: 9b09 ldr r3, [sp, #36] ; 0x24 +08006d18 <_printf_float>: + 8006d18: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8006d1c: b091 sub sp, #68 ; 0x44 + 8006d1e: 460c mov r4, r1 + 8006d20: f8dd 8068 ldr.w r8, [sp, #104] ; 0x68 + 8006d24: 4616 mov r6, r2 + 8006d26: 461f mov r7, r3 + 8006d28: 4605 mov r5, r0 + 8006d2a: f001 fa63 bl 80081f4 <_localeconv_r> + 8006d2e: 6803 ldr r3, [r0, #0] + 8006d30: 4618 mov r0, r3 + 8006d32: 9309 str r3, [sp, #36] ; 0x24 + 8006d34: f7f9 fa78 bl 8000228 + 8006d38: 2300 movs r3, #0 + 8006d3a: 930e str r3, [sp, #56] ; 0x38 + 8006d3c: f8d8 3000 ldr.w r3, [r8] + 8006d40: 900a str r0, [sp, #40] ; 0x28 + 8006d42: 3307 adds r3, #7 + 8006d44: f023 0307 bic.w r3, r3, #7 + 8006d48: f103 0208 add.w r2, r3, #8 + 8006d4c: f894 9018 ldrb.w r9, [r4, #24] + 8006d50: f8d4 b000 ldr.w fp, [r4] + 8006d54: f8c8 2000 str.w r2, [r8] + 8006d58: e9d3 2300 ldrd r2, r3, [r3] + 8006d5c: e9c4 2312 strd r2, r3, [r4, #72] ; 0x48 + 8006d60: e9d4 8a12 ldrd r8, sl, [r4, #72] ; 0x48 + 8006d64: f02a 4300 bic.w r3, sl, #2147483648 ; 0x80000000 + 8006d68: 930b str r3, [sp, #44] ; 0x2c + 8006d6a: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff + 8006d6e: 4640 mov r0, r8 + 8006d70: 4b9c ldr r3, [pc, #624] ; (8006fe4 <_printf_float+0x2cc>) + 8006d72: 990b ldr r1, [sp, #44] ; 0x2c + 8006d74: f7f9 feb6 bl 8000ae4 <__aeabi_dcmpun> + 8006d78: bb70 cbnz r0, 8006dd8 <_printf_float+0xc0> + 8006d7a: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff + 8006d7e: 4640 mov r0, r8 + 8006d80: 4b98 ldr r3, [pc, #608] ; (8006fe4 <_printf_float+0x2cc>) + 8006d82: 990b ldr r1, [sp, #44] ; 0x2c + 8006d84: f7f9 fe90 bl 8000aa8 <__aeabi_dcmple> + 8006d88: bb30 cbnz r0, 8006dd8 <_printf_float+0xc0> + 8006d8a: 2200 movs r2, #0 + 8006d8c: 2300 movs r3, #0 + 8006d8e: 4640 mov r0, r8 + 8006d90: 4651 mov r1, sl + 8006d92: f7f9 fe7f bl 8000a94 <__aeabi_dcmplt> + 8006d96: b110 cbz r0, 8006d9e <_printf_float+0x86> + 8006d98: 232d movs r3, #45 ; 0x2d + 8006d9a: f884 3043 strb.w r3, [r4, #67] ; 0x43 + 8006d9e: 4b92 ldr r3, [pc, #584] ; (8006fe8 <_printf_float+0x2d0>) + 8006da0: 4892 ldr r0, [pc, #584] ; (8006fec <_printf_float+0x2d4>) + 8006da2: f1b9 0f47 cmp.w r9, #71 ; 0x47 + 8006da6: bf94 ite ls + 8006da8: 4698 movls r8, r3 + 8006daa: 4680 movhi r8, r0 + 8006dac: 2303 movs r3, #3 + 8006dae: f04f 0a00 mov.w sl, #0 + 8006db2: 6123 str r3, [r4, #16] + 8006db4: f02b 0304 bic.w r3, fp, #4 + 8006db8: 6023 str r3, [r4, #0] + 8006dba: 4633 mov r3, r6 + 8006dbc: 4621 mov r1, r4 + 8006dbe: 4628 mov r0, r5 + 8006dc0: 9700 str r7, [sp, #0] + 8006dc2: aa0f add r2, sp, #60 ; 0x3c + 8006dc4: f000 f9d4 bl 8007170 <_printf_common> + 8006dc8: 3001 adds r0, #1 + 8006dca: f040 8090 bne.w 8006eee <_printf_float+0x1d6> + 8006dce: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 8006dd2: b011 add sp, #68 ; 0x44 + 8006dd4: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8006dd8: 4642 mov r2, r8 + 8006dda: 4653 mov r3, sl + 8006ddc: 4640 mov r0, r8 + 8006dde: 4651 mov r1, sl + 8006de0: f7f9 fe80 bl 8000ae4 <__aeabi_dcmpun> + 8006de4: b148 cbz r0, 8006dfa <_printf_float+0xe2> + 8006de6: f1ba 0f00 cmp.w sl, #0 + 8006dea: bfb8 it lt + 8006dec: 232d movlt r3, #45 ; 0x2d + 8006dee: 4880 ldr r0, [pc, #512] ; (8006ff0 <_printf_float+0x2d8>) + 8006df0: bfb8 it lt + 8006df2: f884 3043 strblt.w r3, [r4, #67] ; 0x43 + 8006df6: 4b7f ldr r3, [pc, #508] ; (8006ff4 <_printf_float+0x2dc>) + 8006df8: e7d3 b.n 8006da2 <_printf_float+0x8a> + 8006dfa: 6863 ldr r3, [r4, #4] + 8006dfc: f009 01df and.w r1, r9, #223 ; 0xdf + 8006e00: 1c5a adds r2, r3, #1 + 8006e02: d142 bne.n 8006e8a <_printf_float+0x172> + 8006e04: 2306 movs r3, #6 + 8006e06: 6063 str r3, [r4, #4] + 8006e08: 2200 movs r2, #0 + 8006e0a: 9206 str r2, [sp, #24] + 8006e0c: aa0e add r2, sp, #56 ; 0x38 + 8006e0e: e9cd 9204 strd r9, r2, [sp, #16] + 8006e12: aa0d add r2, sp, #52 ; 0x34 + 8006e14: f44b 6380 orr.w r3, fp, #1024 ; 0x400 + 8006e18: 9203 str r2, [sp, #12] + 8006e1a: f10d 0233 add.w r2, sp, #51 ; 0x33 + 8006e1e: e9cd 3201 strd r3, r2, [sp, #4] + 8006e22: 6023 str r3, [r4, #0] + 8006e24: 6863 ldr r3, [r4, #4] + 8006e26: 4642 mov r2, r8 + 8006e28: 9300 str r3, [sp, #0] + 8006e2a: 4628 mov r0, r5 + 8006e2c: 4653 mov r3, sl + 8006e2e: 910b str r1, [sp, #44] ; 0x2c + 8006e30: f7ff fed4 bl 8006bdc <__cvt> + 8006e34: 990b ldr r1, [sp, #44] ; 0x2c + 8006e36: 4680 mov r8, r0 + 8006e38: 2947 cmp r1, #71 ; 0x47 + 8006e3a: 990d ldr r1, [sp, #52] ; 0x34 + 8006e3c: d108 bne.n 8006e50 <_printf_float+0x138> + 8006e3e: 1cc8 adds r0, r1, #3 + 8006e40: db02 blt.n 8006e48 <_printf_float+0x130> + 8006e42: 6863 ldr r3, [r4, #4] + 8006e44: 4299 cmp r1, r3 + 8006e46: dd40 ble.n 8006eca <_printf_float+0x1b2> + 8006e48: f1a9 0902 sub.w r9, r9, #2 + 8006e4c: fa5f f989 uxtb.w r9, r9 + 8006e50: f1b9 0f65 cmp.w r9, #101 ; 0x65 + 8006e54: d81f bhi.n 8006e96 <_printf_float+0x17e> + 8006e56: 464a mov r2, r9 + 8006e58: 3901 subs r1, #1 + 8006e5a: f104 0050 add.w r0, r4, #80 ; 0x50 + 8006e5e: 910d str r1, [sp, #52] ; 0x34 + 8006e60: f7ff ff1b bl 8006c9a <__exponent> + 8006e64: 9a0e ldr r2, [sp, #56] ; 0x38 + 8006e66: 4682 mov sl, r0 + 8006e68: 1813 adds r3, r2, r0 + 8006e6a: 2a01 cmp r2, #1 + 8006e6c: 6123 str r3, [r4, #16] + 8006e6e: dc02 bgt.n 8006e76 <_printf_float+0x15e> + 8006e70: 6822 ldr r2, [r4, #0] + 8006e72: 07d2 lsls r2, r2, #31 + 8006e74: d501 bpl.n 8006e7a <_printf_float+0x162> + 8006e76: 3301 adds r3, #1 + 8006e78: 6123 str r3, [r4, #16] + 8006e7a: f89d 3033 ldrb.w r3, [sp, #51] ; 0x33 + 8006e7e: 2b00 cmp r3, #0 + 8006e80: d09b beq.n 8006dba <_printf_float+0xa2> + 8006e82: 232d movs r3, #45 ; 0x2d + 8006e84: f884 3043 strb.w r3, [r4, #67] ; 0x43 + 8006e88: e797 b.n 8006dba <_printf_float+0xa2> + 8006e8a: 2947 cmp r1, #71 ; 0x47 + 8006e8c: d1bc bne.n 8006e08 <_printf_float+0xf0> 8006e8e: 2b00 cmp r3, #0 - 8006e90: dd09 ble.n 8006ea6 <_dtoa_r+0x77e> - 8006e92: 42bb cmp r3, r7 - 8006e94: bfa8 it ge - 8006e96: 463b movge r3, r7 - 8006e98: 9a06 ldr r2, [sp, #24] - 8006e9a: 1aff subs r7, r7, r3 - 8006e9c: 1ad2 subs r2, r2, r3 - 8006e9e: 9206 str r2, [sp, #24] - 8006ea0: 9a09 ldr r2, [sp, #36] ; 0x24 - 8006ea2: 1ad3 subs r3, r2, r3 - 8006ea4: 9309 str r3, [sp, #36] ; 0x24 - 8006ea6: 9b0a ldr r3, [sp, #40] ; 0x28 - 8006ea8: b1f3 cbz r3, 8006ee8 <_dtoa_r+0x7c0> - 8006eaa: 9b0b ldr r3, [sp, #44] ; 0x2c - 8006eac: 2b00 cmp r3, #0 - 8006eae: f000 80a9 beq.w 8007004 <_dtoa_r+0x8dc> - 8006eb2: 2c00 cmp r4, #0 - 8006eb4: dd10 ble.n 8006ed8 <_dtoa_r+0x7b0> - 8006eb6: 4631 mov r1, r6 - 8006eb8: 4622 mov r2, r4 - 8006eba: 4628 mov r0, r5 - 8006ebc: f000 fc02 bl 80076c4 <__pow5mult> - 8006ec0: 4652 mov r2, sl - 8006ec2: 4601 mov r1, r0 - 8006ec4: 4606 mov r6, r0 - 8006ec6: 4628 mov r0, r5 - 8006ec8: f000 fb58 bl 800757c <__multiply> - 8006ecc: 4680 mov r8, r0 - 8006ece: 4651 mov r1, sl - 8006ed0: 4628 mov r0, r5 - 8006ed2: f000 fa83 bl 80073dc <_Bfree> - 8006ed6: 46c2 mov sl, r8 - 8006ed8: 9b0a ldr r3, [sp, #40] ; 0x28 - 8006eda: 1b1a subs r2, r3, r4 - 8006edc: d004 beq.n 8006ee8 <_dtoa_r+0x7c0> - 8006ede: 4651 mov r1, sl - 8006ee0: 4628 mov r0, r5 - 8006ee2: f000 fbef bl 80076c4 <__pow5mult> - 8006ee6: 4682 mov sl, r0 - 8006ee8: 2101 movs r1, #1 - 8006eea: 4628 mov r0, r5 - 8006eec: f000 fb30 bl 8007550 <__i2b> - 8006ef0: 9b0e ldr r3, [sp, #56] ; 0x38 - 8006ef2: 4604 mov r4, r0 - 8006ef4: 2b00 cmp r3, #0 - 8006ef6: f340 8087 ble.w 8007008 <_dtoa_r+0x8e0> - 8006efa: 461a mov r2, r3 - 8006efc: 4601 mov r1, r0 - 8006efe: 4628 mov r0, r5 - 8006f00: f000 fbe0 bl 80076c4 <__pow5mult> - 8006f04: 9b22 ldr r3, [sp, #136] ; 0x88 - 8006f06: 4604 mov r4, r0 - 8006f08: 2b01 cmp r3, #1 - 8006f0a: f340 8080 ble.w 800700e <_dtoa_r+0x8e6> - 8006f0e: f04f 0800 mov.w r8, #0 - 8006f12: 6923 ldr r3, [r4, #16] - 8006f14: eb04 0383 add.w r3, r4, r3, lsl #2 - 8006f18: 6918 ldr r0, [r3, #16] - 8006f1a: f000 facb bl 80074b4 <__hi0bits> - 8006f1e: f1c0 0020 rsb r0, r0, #32 - 8006f22: 9b09 ldr r3, [sp, #36] ; 0x24 - 8006f24: 4418 add r0, r3 - 8006f26: f010 001f ands.w r0, r0, #31 - 8006f2a: f000 8092 beq.w 8007052 <_dtoa_r+0x92a> - 8006f2e: f1c0 0320 rsb r3, r0, #32 - 8006f32: 2b04 cmp r3, #4 - 8006f34: f340 808a ble.w 800704c <_dtoa_r+0x924> - 8006f38: f1c0 001c rsb r0, r0, #28 - 8006f3c: 9b06 ldr r3, [sp, #24] - 8006f3e: 4407 add r7, r0 - 8006f40: 4403 add r3, r0 - 8006f42: 9306 str r3, [sp, #24] - 8006f44: 9b09 ldr r3, [sp, #36] ; 0x24 - 8006f46: 4403 add r3, r0 - 8006f48: 9309 str r3, [sp, #36] ; 0x24 - 8006f4a: 9b06 ldr r3, [sp, #24] - 8006f4c: 2b00 cmp r3, #0 - 8006f4e: dd05 ble.n 8006f5c <_dtoa_r+0x834> - 8006f50: 4651 mov r1, sl - 8006f52: 461a mov r2, r3 - 8006f54: 4628 mov r0, r5 - 8006f56: f000 fc0f bl 8007778 <__lshift> - 8006f5a: 4682 mov sl, r0 - 8006f5c: 9b09 ldr r3, [sp, #36] ; 0x24 - 8006f5e: 2b00 cmp r3, #0 - 8006f60: dd05 ble.n 8006f6e <_dtoa_r+0x846> - 8006f62: 4621 mov r1, r4 - 8006f64: 461a mov r2, r3 - 8006f66: 4628 mov r0, r5 - 8006f68: f000 fc06 bl 8007778 <__lshift> - 8006f6c: 4604 mov r4, r0 - 8006f6e: 9b0f ldr r3, [sp, #60] ; 0x3c - 8006f70: 2b00 cmp r3, #0 - 8006f72: d070 beq.n 8007056 <_dtoa_r+0x92e> - 8006f74: 4621 mov r1, r4 - 8006f76: 4650 mov r0, sl - 8006f78: f000 fc6a bl 8007850 <__mcmp> - 8006f7c: 2800 cmp r0, #0 - 8006f7e: da6a bge.n 8007056 <_dtoa_r+0x92e> - 8006f80: 2300 movs r3, #0 - 8006f82: 4651 mov r1, sl - 8006f84: 220a movs r2, #10 - 8006f86: 4628 mov r0, r5 - 8006f88: f000 fa4a bl 8007420 <__multadd> - 8006f8c: 9b0b ldr r3, [sp, #44] ; 0x2c - 8006f8e: 4682 mov sl, r0 - 8006f90: f109 39ff add.w r9, r9, #4294967295 ; 0xffffffff - 8006f94: 2b00 cmp r3, #0 - 8006f96: f000 8193 beq.w 80072c0 <_dtoa_r+0xb98> - 8006f9a: 4631 mov r1, r6 - 8006f9c: 2300 movs r3, #0 - 8006f9e: 220a movs r2, #10 - 8006fa0: 4628 mov r0, r5 - 8006fa2: f000 fa3d bl 8007420 <__multadd> - 8006fa6: f1bb 0f00 cmp.w fp, #0 - 8006faa: 4606 mov r6, r0 - 8006fac: f300 8093 bgt.w 80070d6 <_dtoa_r+0x9ae> - 8006fb0: 9b22 ldr r3, [sp, #136] ; 0x88 - 8006fb2: 2b02 cmp r3, #2 - 8006fb4: dc57 bgt.n 8007066 <_dtoa_r+0x93e> - 8006fb6: e08e b.n 80070d6 <_dtoa_r+0x9ae> - 8006fb8: 9b16 ldr r3, [sp, #88] ; 0x58 - 8006fba: f1c3 0336 rsb r3, r3, #54 ; 0x36 - 8006fbe: e756 b.n 8006e6e <_dtoa_r+0x746> - 8006fc0: 9b02 ldr r3, [sp, #8] - 8006fc2: 1e5c subs r4, r3, #1 - 8006fc4: 9b0a ldr r3, [sp, #40] ; 0x28 - 8006fc6: 42a3 cmp r3, r4 - 8006fc8: bfb7 itett lt - 8006fca: 9b0a ldrlt r3, [sp, #40] ; 0x28 - 8006fcc: 1b1c subge r4, r3, r4 - 8006fce: 1ae2 sublt r2, r4, r3 - 8006fd0: 9b0e ldrlt r3, [sp, #56] ; 0x38 - 8006fd2: bfbe ittt lt - 8006fd4: 940a strlt r4, [sp, #40] ; 0x28 - 8006fd6: 189b addlt r3, r3, r2 - 8006fd8: 930e strlt r3, [sp, #56] ; 0x38 - 8006fda: 9b02 ldr r3, [sp, #8] - 8006fdc: bfb8 it lt - 8006fde: 2400 movlt r4, #0 - 8006fe0: 2b00 cmp r3, #0 - 8006fe2: bfbb ittet lt - 8006fe4: 9b06 ldrlt r3, [sp, #24] - 8006fe6: 9a02 ldrlt r2, [sp, #8] - 8006fe8: 9f06 ldrge r7, [sp, #24] - 8006fea: 1a9f sublt r7, r3, r2 - 8006fec: bfac ite ge - 8006fee: 9b02 ldrge r3, [sp, #8] - 8006ff0: 2300 movlt r3, #0 - 8006ff2: e73e b.n 8006e72 <_dtoa_r+0x74a> - 8006ff4: 9c0a ldr r4, [sp, #40] ; 0x28 - 8006ff6: 9f06 ldr r7, [sp, #24] - 8006ff8: 9e0b ldr r6, [sp, #44] ; 0x2c - 8006ffa: e745 b.n 8006e88 <_dtoa_r+0x760> - 8006ffc: 3fe00000 .word 0x3fe00000 - 8007000: 40240000 .word 0x40240000 - 8007004: 9a0a ldr r2, [sp, #40] ; 0x28 - 8007006: e76a b.n 8006ede <_dtoa_r+0x7b6> - 8007008: 9b22 ldr r3, [sp, #136] ; 0x88 - 800700a: 2b01 cmp r3, #1 - 800700c: dc19 bgt.n 8007042 <_dtoa_r+0x91a> - 800700e: 9b04 ldr r3, [sp, #16] - 8007010: b9bb cbnz r3, 8007042 <_dtoa_r+0x91a> - 8007012: 9b05 ldr r3, [sp, #20] - 8007014: f3c3 0313 ubfx r3, r3, #0, #20 - 8007018: b99b cbnz r3, 8007042 <_dtoa_r+0x91a> - 800701a: 9b05 ldr r3, [sp, #20] - 800701c: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 - 8007020: 0d1b lsrs r3, r3, #20 - 8007022: 051b lsls r3, r3, #20 - 8007024: b183 cbz r3, 8007048 <_dtoa_r+0x920> - 8007026: f04f 0801 mov.w r8, #1 - 800702a: 9b06 ldr r3, [sp, #24] - 800702c: 3301 adds r3, #1 - 800702e: 9306 str r3, [sp, #24] - 8007030: 9b09 ldr r3, [sp, #36] ; 0x24 - 8007032: 3301 adds r3, #1 - 8007034: 9309 str r3, [sp, #36] ; 0x24 - 8007036: 9b0e ldr r3, [sp, #56] ; 0x38 - 8007038: 2b00 cmp r3, #0 - 800703a: f47f af6a bne.w 8006f12 <_dtoa_r+0x7ea> - 800703e: 2001 movs r0, #1 - 8007040: e76f b.n 8006f22 <_dtoa_r+0x7fa> - 8007042: f04f 0800 mov.w r8, #0 - 8007046: e7f6 b.n 8007036 <_dtoa_r+0x90e> - 8007048: 4698 mov r8, r3 - 800704a: e7f4 b.n 8007036 <_dtoa_r+0x90e> - 800704c: f43f af7d beq.w 8006f4a <_dtoa_r+0x822> - 8007050: 4618 mov r0, r3 - 8007052: 301c adds r0, #28 - 8007054: e772 b.n 8006f3c <_dtoa_r+0x814> - 8007056: 9b02 ldr r3, [sp, #8] - 8007058: 2b00 cmp r3, #0 - 800705a: dc36 bgt.n 80070ca <_dtoa_r+0x9a2> - 800705c: 9b22 ldr r3, [sp, #136] ; 0x88 - 800705e: 2b02 cmp r3, #2 - 8007060: dd33 ble.n 80070ca <_dtoa_r+0x9a2> - 8007062: f8dd b008 ldr.w fp, [sp, #8] - 8007066: f1bb 0f00 cmp.w fp, #0 - 800706a: d10d bne.n 8007088 <_dtoa_r+0x960> - 800706c: 4621 mov r1, r4 - 800706e: 465b mov r3, fp - 8007070: 2205 movs r2, #5 - 8007072: 4628 mov r0, r5 - 8007074: f000 f9d4 bl 8007420 <__multadd> - 8007078: 4601 mov r1, r0 - 800707a: 4604 mov r4, r0 - 800707c: 4650 mov r0, sl - 800707e: f000 fbe7 bl 8007850 <__mcmp> - 8007082: 2800 cmp r0, #0 - 8007084: f73f adb6 bgt.w 8006bf4 <_dtoa_r+0x4cc> - 8007088: 9b23 ldr r3, [sp, #140] ; 0x8c - 800708a: 9f08 ldr r7, [sp, #32] - 800708c: ea6f 0903 mvn.w r9, r3 - 8007090: f04f 0800 mov.w r8, #0 - 8007094: 4621 mov r1, r4 - 8007096: 4628 mov r0, r5 - 8007098: f000 f9a0 bl 80073dc <_Bfree> - 800709c: 2e00 cmp r6, #0 - 800709e: f43f aea4 beq.w 8006dea <_dtoa_r+0x6c2> - 80070a2: f1b8 0f00 cmp.w r8, #0 - 80070a6: d005 beq.n 80070b4 <_dtoa_r+0x98c> - 80070a8: 45b0 cmp r8, r6 - 80070aa: d003 beq.n 80070b4 <_dtoa_r+0x98c> - 80070ac: 4641 mov r1, r8 - 80070ae: 4628 mov r0, r5 - 80070b0: f000 f994 bl 80073dc <_Bfree> - 80070b4: 4631 mov r1, r6 - 80070b6: 4628 mov r0, r5 - 80070b8: f000 f990 bl 80073dc <_Bfree> - 80070bc: e695 b.n 8006dea <_dtoa_r+0x6c2> - 80070be: 2400 movs r4, #0 - 80070c0: 4626 mov r6, r4 - 80070c2: e7e1 b.n 8007088 <_dtoa_r+0x960> - 80070c4: 46c1 mov r9, r8 - 80070c6: 4626 mov r6, r4 - 80070c8: e594 b.n 8006bf4 <_dtoa_r+0x4cc> - 80070ca: 9b0b ldr r3, [sp, #44] ; 0x2c - 80070cc: f8dd b008 ldr.w fp, [sp, #8] - 80070d0: 2b00 cmp r3, #0 - 80070d2: f000 80fc beq.w 80072ce <_dtoa_r+0xba6> - 80070d6: 2f00 cmp r7, #0 - 80070d8: dd05 ble.n 80070e6 <_dtoa_r+0x9be> - 80070da: 4631 mov r1, r6 - 80070dc: 463a mov r2, r7 - 80070de: 4628 mov r0, r5 - 80070e0: f000 fb4a bl 8007778 <__lshift> - 80070e4: 4606 mov r6, r0 - 80070e6: f1b8 0f00 cmp.w r8, #0 - 80070ea: d05c beq.n 80071a6 <_dtoa_r+0xa7e> - 80070ec: 4628 mov r0, r5 - 80070ee: 6871 ldr r1, [r6, #4] - 80070f0: f000 f934 bl 800735c <_Balloc> - 80070f4: 4607 mov r7, r0 - 80070f6: b928 cbnz r0, 8007104 <_dtoa_r+0x9dc> - 80070f8: 4602 mov r2, r0 - 80070fa: f240 21ea movw r1, #746 ; 0x2ea - 80070fe: 4b7e ldr r3, [pc, #504] ; (80072f8 <_dtoa_r+0xbd0>) - 8007100: f7ff bb26 b.w 8006750 <_dtoa_r+0x28> - 8007104: 6932 ldr r2, [r6, #16] - 8007106: f106 010c add.w r1, r6, #12 - 800710a: 3202 adds r2, #2 - 800710c: 0092 lsls r2, r2, #2 - 800710e: 300c adds r0, #12 - 8007110: f000 f90a bl 8007328 - 8007114: 2201 movs r2, #1 - 8007116: 4639 mov r1, r7 + 8006e90: d1ba bne.n 8006e08 <_printf_float+0xf0> + 8006e92: 2301 movs r3, #1 + 8006e94: e7b7 b.n 8006e06 <_printf_float+0xee> + 8006e96: f1b9 0f66 cmp.w r9, #102 ; 0x66 + 8006e9a: d118 bne.n 8006ece <_printf_float+0x1b6> + 8006e9c: 2900 cmp r1, #0 + 8006e9e: 6863 ldr r3, [r4, #4] + 8006ea0: dd0b ble.n 8006eba <_printf_float+0x1a2> + 8006ea2: 6121 str r1, [r4, #16] + 8006ea4: b913 cbnz r3, 8006eac <_printf_float+0x194> + 8006ea6: 6822 ldr r2, [r4, #0] + 8006ea8: 07d0 lsls r0, r2, #31 + 8006eaa: d502 bpl.n 8006eb2 <_printf_float+0x19a> + 8006eac: 3301 adds r3, #1 + 8006eae: 440b add r3, r1 + 8006eb0: 6123 str r3, [r4, #16] + 8006eb2: f04f 0a00 mov.w sl, #0 + 8006eb6: 65a1 str r1, [r4, #88] ; 0x58 + 8006eb8: e7df b.n 8006e7a <_printf_float+0x162> + 8006eba: b913 cbnz r3, 8006ec2 <_printf_float+0x1aa> + 8006ebc: 6822 ldr r2, [r4, #0] + 8006ebe: 07d2 lsls r2, r2, #31 + 8006ec0: d501 bpl.n 8006ec6 <_printf_float+0x1ae> + 8006ec2: 3302 adds r3, #2 + 8006ec4: e7f4 b.n 8006eb0 <_printf_float+0x198> + 8006ec6: 2301 movs r3, #1 + 8006ec8: e7f2 b.n 8006eb0 <_printf_float+0x198> + 8006eca: f04f 0967 mov.w r9, #103 ; 0x67 + 8006ece: 9b0e ldr r3, [sp, #56] ; 0x38 + 8006ed0: 4299 cmp r1, r3 + 8006ed2: db05 blt.n 8006ee0 <_printf_float+0x1c8> + 8006ed4: 6823 ldr r3, [r4, #0] + 8006ed6: 6121 str r1, [r4, #16] + 8006ed8: 07d8 lsls r0, r3, #31 + 8006eda: d5ea bpl.n 8006eb2 <_printf_float+0x19a> + 8006edc: 1c4b adds r3, r1, #1 + 8006ede: e7e7 b.n 8006eb0 <_printf_float+0x198> + 8006ee0: 2900 cmp r1, #0 + 8006ee2: bfcc ite gt + 8006ee4: 2201 movgt r2, #1 + 8006ee6: f1c1 0202 rsble r2, r1, #2 + 8006eea: 4413 add r3, r2 + 8006eec: e7e0 b.n 8006eb0 <_printf_float+0x198> + 8006eee: 6823 ldr r3, [r4, #0] + 8006ef0: 055a lsls r2, r3, #21 + 8006ef2: d407 bmi.n 8006f04 <_printf_float+0x1ec> + 8006ef4: 6923 ldr r3, [r4, #16] + 8006ef6: 4642 mov r2, r8 + 8006ef8: 4631 mov r1, r6 + 8006efa: 4628 mov r0, r5 + 8006efc: 47b8 blx r7 + 8006efe: 3001 adds r0, #1 + 8006f00: d12b bne.n 8006f5a <_printf_float+0x242> + 8006f02: e764 b.n 8006dce <_printf_float+0xb6> + 8006f04: f1b9 0f65 cmp.w r9, #101 ; 0x65 + 8006f08: f240 80dd bls.w 80070c6 <_printf_float+0x3ae> + 8006f0c: e9d4 0112 ldrd r0, r1, [r4, #72] ; 0x48 + 8006f10: 2200 movs r2, #0 + 8006f12: 2300 movs r3, #0 + 8006f14: f7f9 fdb4 bl 8000a80 <__aeabi_dcmpeq> + 8006f18: 2800 cmp r0, #0 + 8006f1a: d033 beq.n 8006f84 <_printf_float+0x26c> + 8006f1c: 2301 movs r3, #1 + 8006f1e: 4631 mov r1, r6 + 8006f20: 4628 mov r0, r5 + 8006f22: 4a35 ldr r2, [pc, #212] ; (8006ff8 <_printf_float+0x2e0>) + 8006f24: 47b8 blx r7 + 8006f26: 3001 adds r0, #1 + 8006f28: f43f af51 beq.w 8006dce <_printf_float+0xb6> + 8006f2c: e9dd 230d ldrd r2, r3, [sp, #52] ; 0x34 + 8006f30: 429a cmp r2, r3 + 8006f32: db02 blt.n 8006f3a <_printf_float+0x222> + 8006f34: 6823 ldr r3, [r4, #0] + 8006f36: 07d8 lsls r0, r3, #31 + 8006f38: d50f bpl.n 8006f5a <_printf_float+0x242> + 8006f3a: e9dd 2309 ldrd r2, r3, [sp, #36] ; 0x24 + 8006f3e: 4631 mov r1, r6 + 8006f40: 4628 mov r0, r5 + 8006f42: 47b8 blx r7 + 8006f44: 3001 adds r0, #1 + 8006f46: f43f af42 beq.w 8006dce <_printf_float+0xb6> + 8006f4a: f04f 0800 mov.w r8, #0 + 8006f4e: f104 091a add.w r9, r4, #26 + 8006f52: 9b0e ldr r3, [sp, #56] ; 0x38 + 8006f54: 3b01 subs r3, #1 + 8006f56: 4543 cmp r3, r8 + 8006f58: dc09 bgt.n 8006f6e <_printf_float+0x256> + 8006f5a: 6823 ldr r3, [r4, #0] + 8006f5c: 079b lsls r3, r3, #30 + 8006f5e: f100 8102 bmi.w 8007166 <_printf_float+0x44e> + 8006f62: 68e0 ldr r0, [r4, #12] + 8006f64: 9b0f ldr r3, [sp, #60] ; 0x3c + 8006f66: 4298 cmp r0, r3 + 8006f68: bfb8 it lt + 8006f6a: 4618 movlt r0, r3 + 8006f6c: e731 b.n 8006dd2 <_printf_float+0xba> + 8006f6e: 2301 movs r3, #1 + 8006f70: 464a mov r2, r9 + 8006f72: 4631 mov r1, r6 + 8006f74: 4628 mov r0, r5 + 8006f76: 47b8 blx r7 + 8006f78: 3001 adds r0, #1 + 8006f7a: f43f af28 beq.w 8006dce <_printf_float+0xb6> + 8006f7e: f108 0801 add.w r8, r8, #1 + 8006f82: e7e6 b.n 8006f52 <_printf_float+0x23a> + 8006f84: 9b0d ldr r3, [sp, #52] ; 0x34 + 8006f86: 2b00 cmp r3, #0 + 8006f88: dc38 bgt.n 8006ffc <_printf_float+0x2e4> + 8006f8a: 2301 movs r3, #1 + 8006f8c: 4631 mov r1, r6 + 8006f8e: 4628 mov r0, r5 + 8006f90: 4a19 ldr r2, [pc, #100] ; (8006ff8 <_printf_float+0x2e0>) + 8006f92: 47b8 blx r7 + 8006f94: 3001 adds r0, #1 + 8006f96: f43f af1a beq.w 8006dce <_printf_float+0xb6> + 8006f9a: e9dd 230d ldrd r2, r3, [sp, #52] ; 0x34 + 8006f9e: 4313 orrs r3, r2 + 8006fa0: d102 bne.n 8006fa8 <_printf_float+0x290> + 8006fa2: 6823 ldr r3, [r4, #0] + 8006fa4: 07d9 lsls r1, r3, #31 + 8006fa6: d5d8 bpl.n 8006f5a <_printf_float+0x242> + 8006fa8: e9dd 2309 ldrd r2, r3, [sp, #36] ; 0x24 + 8006fac: 4631 mov r1, r6 + 8006fae: 4628 mov r0, r5 + 8006fb0: 47b8 blx r7 + 8006fb2: 3001 adds r0, #1 + 8006fb4: f43f af0b beq.w 8006dce <_printf_float+0xb6> + 8006fb8: f04f 0900 mov.w r9, #0 + 8006fbc: f104 0a1a add.w sl, r4, #26 + 8006fc0: 9b0d ldr r3, [sp, #52] ; 0x34 + 8006fc2: 425b negs r3, r3 + 8006fc4: 454b cmp r3, r9 + 8006fc6: dc01 bgt.n 8006fcc <_printf_float+0x2b4> + 8006fc8: 9b0e ldr r3, [sp, #56] ; 0x38 + 8006fca: e794 b.n 8006ef6 <_printf_float+0x1de> + 8006fcc: 2301 movs r3, #1 + 8006fce: 4652 mov r2, sl + 8006fd0: 4631 mov r1, r6 + 8006fd2: 4628 mov r0, r5 + 8006fd4: 47b8 blx r7 + 8006fd6: 3001 adds r0, #1 + 8006fd8: f43f aef9 beq.w 8006dce <_printf_float+0xb6> + 8006fdc: f109 0901 add.w r9, r9, #1 + 8006fe0: e7ee b.n 8006fc0 <_printf_float+0x2a8> + 8006fe2: bf00 nop + 8006fe4: 7fefffff .word 0x7fefffff + 8006fe8: 0800a76c .word 0x0800a76c + 8006fec: 0800a770 .word 0x0800a770 + 8006ff0: 0800a778 .word 0x0800a778 + 8006ff4: 0800a774 .word 0x0800a774 + 8006ff8: 0800a77c .word 0x0800a77c + 8006ffc: 9a0e ldr r2, [sp, #56] ; 0x38 + 8006ffe: 6da3 ldr r3, [r4, #88] ; 0x58 + 8007000: 429a cmp r2, r3 + 8007002: bfa8 it ge + 8007004: 461a movge r2, r3 + 8007006: 2a00 cmp r2, #0 + 8007008: 4691 mov r9, r2 + 800700a: dc37 bgt.n 800707c <_printf_float+0x364> + 800700c: f04f 0b00 mov.w fp, #0 + 8007010: ea29 79e9 bic.w r9, r9, r9, asr #31 + 8007014: f104 021a add.w r2, r4, #26 + 8007018: f8d4 a058 ldr.w sl, [r4, #88] ; 0x58 + 800701c: ebaa 0309 sub.w r3, sl, r9 + 8007020: 455b cmp r3, fp + 8007022: dc33 bgt.n 800708c <_printf_float+0x374> + 8007024: e9dd 230d ldrd r2, r3, [sp, #52] ; 0x34 + 8007028: 429a cmp r2, r3 + 800702a: db3b blt.n 80070a4 <_printf_float+0x38c> + 800702c: 6823 ldr r3, [r4, #0] + 800702e: 07da lsls r2, r3, #31 + 8007030: d438 bmi.n 80070a4 <_printf_float+0x38c> + 8007032: 9a0e ldr r2, [sp, #56] ; 0x38 + 8007034: 990d ldr r1, [sp, #52] ; 0x34 + 8007036: eba2 030a sub.w r3, r2, sl + 800703a: eba2 0901 sub.w r9, r2, r1 + 800703e: 4599 cmp r9, r3 + 8007040: bfa8 it ge + 8007042: 4699 movge r9, r3 + 8007044: f1b9 0f00 cmp.w r9, #0 + 8007048: dc34 bgt.n 80070b4 <_printf_float+0x39c> + 800704a: f04f 0800 mov.w r8, #0 + 800704e: ea29 79e9 bic.w r9, r9, r9, asr #31 + 8007052: f104 0a1a add.w sl, r4, #26 + 8007056: e9dd 230d ldrd r2, r3, [sp, #52] ; 0x34 + 800705a: 1a9b subs r3, r3, r2 + 800705c: eba3 0309 sub.w r3, r3, r9 + 8007060: 4543 cmp r3, r8 + 8007062: f77f af7a ble.w 8006f5a <_printf_float+0x242> + 8007066: 2301 movs r3, #1 + 8007068: 4652 mov r2, sl + 800706a: 4631 mov r1, r6 + 800706c: 4628 mov r0, r5 + 800706e: 47b8 blx r7 + 8007070: 3001 adds r0, #1 + 8007072: f43f aeac beq.w 8006dce <_printf_float+0xb6> + 8007076: f108 0801 add.w r8, r8, #1 + 800707a: e7ec b.n 8007056 <_printf_float+0x33e> + 800707c: 4613 mov r3, r2 + 800707e: 4631 mov r1, r6 + 8007080: 4642 mov r2, r8 + 8007082: 4628 mov r0, r5 + 8007084: 47b8 blx r7 + 8007086: 3001 adds r0, #1 + 8007088: d1c0 bne.n 800700c <_printf_float+0x2f4> + 800708a: e6a0 b.n 8006dce <_printf_float+0xb6> + 800708c: 2301 movs r3, #1 + 800708e: 4631 mov r1, r6 + 8007090: 4628 mov r0, r5 + 8007092: 920b str r2, [sp, #44] ; 0x2c + 8007094: 47b8 blx r7 + 8007096: 3001 adds r0, #1 + 8007098: f43f ae99 beq.w 8006dce <_printf_float+0xb6> + 800709c: 9a0b ldr r2, [sp, #44] ; 0x2c + 800709e: f10b 0b01 add.w fp, fp, #1 + 80070a2: e7b9 b.n 8007018 <_printf_float+0x300> + 80070a4: 4631 mov r1, r6 + 80070a6: e9dd 2309 ldrd r2, r3, [sp, #36] ; 0x24 + 80070aa: 4628 mov r0, r5 + 80070ac: 47b8 blx r7 + 80070ae: 3001 adds r0, #1 + 80070b0: d1bf bne.n 8007032 <_printf_float+0x31a> + 80070b2: e68c b.n 8006dce <_printf_float+0xb6> + 80070b4: 464b mov r3, r9 + 80070b6: 4631 mov r1, r6 + 80070b8: 4628 mov r0, r5 + 80070ba: eb08 020a add.w r2, r8, sl + 80070be: 47b8 blx r7 + 80070c0: 3001 adds r0, #1 + 80070c2: d1c2 bne.n 800704a <_printf_float+0x332> + 80070c4: e683 b.n 8006dce <_printf_float+0xb6> + 80070c6: 9a0e ldr r2, [sp, #56] ; 0x38 + 80070c8: 2a01 cmp r2, #1 + 80070ca: dc01 bgt.n 80070d0 <_printf_float+0x3b8> + 80070cc: 07db lsls r3, r3, #31 + 80070ce: d537 bpl.n 8007140 <_printf_float+0x428> + 80070d0: 2301 movs r3, #1 + 80070d2: 4642 mov r2, r8 + 80070d4: 4631 mov r1, r6 + 80070d6: 4628 mov r0, r5 + 80070d8: 47b8 blx r7 + 80070da: 3001 adds r0, #1 + 80070dc: f43f ae77 beq.w 8006dce <_printf_float+0xb6> + 80070e0: e9dd 2309 ldrd r2, r3, [sp, #36] ; 0x24 + 80070e4: 4631 mov r1, r6 + 80070e6: 4628 mov r0, r5 + 80070e8: 47b8 blx r7 + 80070ea: 3001 adds r0, #1 + 80070ec: f43f ae6f beq.w 8006dce <_printf_float+0xb6> + 80070f0: e9d4 0112 ldrd r0, r1, [r4, #72] ; 0x48 + 80070f4: 2200 movs r2, #0 + 80070f6: 2300 movs r3, #0 + 80070f8: f7f9 fcc2 bl 8000a80 <__aeabi_dcmpeq> + 80070fc: b9d8 cbnz r0, 8007136 <_printf_float+0x41e> + 80070fe: 9b0e ldr r3, [sp, #56] ; 0x38 + 8007100: f108 0201 add.w r2, r8, #1 + 8007104: 3b01 subs r3, #1 + 8007106: 4631 mov r1, r6 + 8007108: 4628 mov r0, r5 + 800710a: 47b8 blx r7 + 800710c: 3001 adds r0, #1 + 800710e: d10e bne.n 800712e <_printf_float+0x416> + 8007110: e65d b.n 8006dce <_printf_float+0xb6> + 8007112: 2301 movs r3, #1 + 8007114: 464a mov r2, r9 + 8007116: 4631 mov r1, r6 8007118: 4628 mov r0, r5 - 800711a: f000 fb2d bl 8007778 <__lshift> - 800711e: 46b0 mov r8, r6 - 8007120: 4606 mov r6, r0 - 8007122: 9b08 ldr r3, [sp, #32] - 8007124: 3301 adds r3, #1 - 8007126: 9302 str r3, [sp, #8] - 8007128: 9b08 ldr r3, [sp, #32] - 800712a: 445b add r3, fp - 800712c: 930a str r3, [sp, #40] ; 0x28 - 800712e: 9b04 ldr r3, [sp, #16] - 8007130: f003 0301 and.w r3, r3, #1 - 8007134: 9309 str r3, [sp, #36] ; 0x24 - 8007136: 9b02 ldr r3, [sp, #8] - 8007138: 4621 mov r1, r4 - 800713a: 4650 mov r0, sl - 800713c: f103 3bff add.w fp, r3, #4294967295 ; 0xffffffff - 8007140: f7ff fa64 bl 800660c - 8007144: 4603 mov r3, r0 - 8007146: 4641 mov r1, r8 - 8007148: 3330 adds r3, #48 ; 0x30 - 800714a: 9004 str r0, [sp, #16] - 800714c: 4650 mov r0, sl - 800714e: 930b str r3, [sp, #44] ; 0x2c - 8007150: f000 fb7e bl 8007850 <__mcmp> - 8007154: 4632 mov r2, r6 - 8007156: 9006 str r0, [sp, #24] - 8007158: 4621 mov r1, r4 - 800715a: 4628 mov r0, r5 - 800715c: f000 fb94 bl 8007888 <__mdiff> - 8007160: 68c2 ldr r2, [r0, #12] - 8007162: 4607 mov r7, r0 - 8007164: 9b0b ldr r3, [sp, #44] ; 0x2c - 8007166: bb02 cbnz r2, 80071aa <_dtoa_r+0xa82> - 8007168: 4601 mov r1, r0 - 800716a: 4650 mov r0, sl - 800716c: f000 fb70 bl 8007850 <__mcmp> - 8007170: 4602 mov r2, r0 - 8007172: 9b0b ldr r3, [sp, #44] ; 0x2c - 8007174: 4639 mov r1, r7 - 8007176: 4628 mov r0, r5 - 8007178: e9cd 320b strd r3, r2, [sp, #44] ; 0x2c - 800717c: f000 f92e bl 80073dc <_Bfree> - 8007180: 9b22 ldr r3, [sp, #136] ; 0x88 - 8007182: 9a0c ldr r2, [sp, #48] ; 0x30 - 8007184: 9f02 ldr r7, [sp, #8] - 8007186: ea43 0102 orr.w r1, r3, r2 - 800718a: 9b09 ldr r3, [sp, #36] ; 0x24 - 800718c: 430b orrs r3, r1 - 800718e: 9b0b ldr r3, [sp, #44] ; 0x2c - 8007190: d10d bne.n 80071ae <_dtoa_r+0xa86> - 8007192: 2b39 cmp r3, #57 ; 0x39 - 8007194: d027 beq.n 80071e6 <_dtoa_r+0xabe> - 8007196: 9a06 ldr r2, [sp, #24] - 8007198: 2a00 cmp r2, #0 - 800719a: dd01 ble.n 80071a0 <_dtoa_r+0xa78> - 800719c: 9b04 ldr r3, [sp, #16] - 800719e: 3331 adds r3, #49 ; 0x31 - 80071a0: f88b 3000 strb.w r3, [fp] - 80071a4: e776 b.n 8007094 <_dtoa_r+0x96c> - 80071a6: 4630 mov r0, r6 - 80071a8: e7b9 b.n 800711e <_dtoa_r+0x9f6> - 80071aa: 2201 movs r2, #1 - 80071ac: e7e2 b.n 8007174 <_dtoa_r+0xa4c> - 80071ae: 9906 ldr r1, [sp, #24] - 80071b0: 2900 cmp r1, #0 - 80071b2: db04 blt.n 80071be <_dtoa_r+0xa96> - 80071b4: 9822 ldr r0, [sp, #136] ; 0x88 - 80071b6: 4301 orrs r1, r0 - 80071b8: 9809 ldr r0, [sp, #36] ; 0x24 - 80071ba: 4301 orrs r1, r0 - 80071bc: d120 bne.n 8007200 <_dtoa_r+0xad8> - 80071be: 2a00 cmp r2, #0 - 80071c0: ddee ble.n 80071a0 <_dtoa_r+0xa78> - 80071c2: 4651 mov r1, sl - 80071c4: 2201 movs r2, #1 - 80071c6: 4628 mov r0, r5 - 80071c8: 9302 str r3, [sp, #8] - 80071ca: f000 fad5 bl 8007778 <__lshift> - 80071ce: 4621 mov r1, r4 - 80071d0: 4682 mov sl, r0 - 80071d2: f000 fb3d bl 8007850 <__mcmp> - 80071d6: 2800 cmp r0, #0 - 80071d8: 9b02 ldr r3, [sp, #8] - 80071da: dc02 bgt.n 80071e2 <_dtoa_r+0xaba> - 80071dc: d1e0 bne.n 80071a0 <_dtoa_r+0xa78> - 80071de: 07da lsls r2, r3, #31 - 80071e0: d5de bpl.n 80071a0 <_dtoa_r+0xa78> - 80071e2: 2b39 cmp r3, #57 ; 0x39 - 80071e4: d1da bne.n 800719c <_dtoa_r+0xa74> - 80071e6: 2339 movs r3, #57 ; 0x39 - 80071e8: f88b 3000 strb.w r3, [fp] - 80071ec: 463b mov r3, r7 - 80071ee: 461f mov r7, r3 - 80071f0: f817 2c01 ldrb.w r2, [r7, #-1] - 80071f4: 3b01 subs r3, #1 - 80071f6: 2a39 cmp r2, #57 ; 0x39 - 80071f8: d050 beq.n 800729c <_dtoa_r+0xb74> - 80071fa: 3201 adds r2, #1 - 80071fc: 701a strb r2, [r3, #0] - 80071fe: e749 b.n 8007094 <_dtoa_r+0x96c> - 8007200: 2a00 cmp r2, #0 - 8007202: dd03 ble.n 800720c <_dtoa_r+0xae4> - 8007204: 2b39 cmp r3, #57 ; 0x39 - 8007206: d0ee beq.n 80071e6 <_dtoa_r+0xabe> - 8007208: 3301 adds r3, #1 - 800720a: e7c9 b.n 80071a0 <_dtoa_r+0xa78> - 800720c: 9a02 ldr r2, [sp, #8] - 800720e: 990a ldr r1, [sp, #40] ; 0x28 - 8007210: f802 3c01 strb.w r3, [r2, #-1] - 8007214: 428a cmp r2, r1 - 8007216: d02a beq.n 800726e <_dtoa_r+0xb46> - 8007218: 4651 mov r1, sl - 800721a: 2300 movs r3, #0 - 800721c: 220a movs r2, #10 - 800721e: 4628 mov r0, r5 - 8007220: f000 f8fe bl 8007420 <__multadd> - 8007224: 45b0 cmp r8, r6 - 8007226: 4682 mov sl, r0 - 8007228: f04f 0300 mov.w r3, #0 - 800722c: f04f 020a mov.w r2, #10 - 8007230: 4641 mov r1, r8 - 8007232: 4628 mov r0, r5 - 8007234: d107 bne.n 8007246 <_dtoa_r+0xb1e> - 8007236: f000 f8f3 bl 8007420 <__multadd> - 800723a: 4680 mov r8, r0 - 800723c: 4606 mov r6, r0 - 800723e: 9b02 ldr r3, [sp, #8] - 8007240: 3301 adds r3, #1 - 8007242: 9302 str r3, [sp, #8] - 8007244: e777 b.n 8007136 <_dtoa_r+0xa0e> - 8007246: f000 f8eb bl 8007420 <__multadd> - 800724a: 4631 mov r1, r6 - 800724c: 4680 mov r8, r0 - 800724e: 2300 movs r3, #0 - 8007250: 220a movs r2, #10 - 8007252: 4628 mov r0, r5 - 8007254: f000 f8e4 bl 8007420 <__multadd> - 8007258: 4606 mov r6, r0 - 800725a: e7f0 b.n 800723e <_dtoa_r+0xb16> - 800725c: f1bb 0f00 cmp.w fp, #0 - 8007260: bfcc ite gt - 8007262: 465f movgt r7, fp - 8007264: 2701 movle r7, #1 - 8007266: f04f 0800 mov.w r8, #0 - 800726a: 9a08 ldr r2, [sp, #32] - 800726c: 4417 add r7, r2 - 800726e: 4651 mov r1, sl - 8007270: 2201 movs r2, #1 - 8007272: 4628 mov r0, r5 - 8007274: 9302 str r3, [sp, #8] - 8007276: f000 fa7f bl 8007778 <__lshift> - 800727a: 4621 mov r1, r4 - 800727c: 4682 mov sl, r0 - 800727e: f000 fae7 bl 8007850 <__mcmp> - 8007282: 2800 cmp r0, #0 - 8007284: dcb2 bgt.n 80071ec <_dtoa_r+0xac4> - 8007286: d102 bne.n 800728e <_dtoa_r+0xb66> - 8007288: 9b02 ldr r3, [sp, #8] - 800728a: 07db lsls r3, r3, #31 - 800728c: d4ae bmi.n 80071ec <_dtoa_r+0xac4> - 800728e: 463b mov r3, r7 - 8007290: 461f mov r7, r3 - 8007292: f813 2d01 ldrb.w r2, [r3, #-1]! - 8007296: 2a30 cmp r2, #48 ; 0x30 - 8007298: d0fa beq.n 8007290 <_dtoa_r+0xb68> - 800729a: e6fb b.n 8007094 <_dtoa_r+0x96c> - 800729c: 9a08 ldr r2, [sp, #32] - 800729e: 429a cmp r2, r3 - 80072a0: d1a5 bne.n 80071ee <_dtoa_r+0xac6> - 80072a2: 2331 movs r3, #49 ; 0x31 - 80072a4: f109 0901 add.w r9, r9, #1 - 80072a8: 7013 strb r3, [r2, #0] - 80072aa: e6f3 b.n 8007094 <_dtoa_r+0x96c> - 80072ac: 4b13 ldr r3, [pc, #76] ; (80072fc <_dtoa_r+0xbd4>) - 80072ae: f7ff baa7 b.w 8006800 <_dtoa_r+0xd8> - 80072b2: 9b26 ldr r3, [sp, #152] ; 0x98 - 80072b4: 2b00 cmp r3, #0 - 80072b6: f47f aa80 bne.w 80067ba <_dtoa_r+0x92> - 80072ba: 4b11 ldr r3, [pc, #68] ; (8007300 <_dtoa_r+0xbd8>) - 80072bc: f7ff baa0 b.w 8006800 <_dtoa_r+0xd8> - 80072c0: f1bb 0f00 cmp.w fp, #0 - 80072c4: dc03 bgt.n 80072ce <_dtoa_r+0xba6> - 80072c6: 9b22 ldr r3, [sp, #136] ; 0x88 - 80072c8: 2b02 cmp r3, #2 - 80072ca: f73f aecc bgt.w 8007066 <_dtoa_r+0x93e> - 80072ce: 9f08 ldr r7, [sp, #32] - 80072d0: 4621 mov r1, r4 - 80072d2: 4650 mov r0, sl - 80072d4: f7ff f99a bl 800660c - 80072d8: 9a08 ldr r2, [sp, #32] - 80072da: f100 0330 add.w r3, r0, #48 ; 0x30 - 80072de: f807 3b01 strb.w r3, [r7], #1 - 80072e2: 1aba subs r2, r7, r2 - 80072e4: 4593 cmp fp, r2 - 80072e6: ddb9 ble.n 800725c <_dtoa_r+0xb34> - 80072e8: 4651 mov r1, sl - 80072ea: 2300 movs r3, #0 - 80072ec: 220a movs r2, #10 - 80072ee: 4628 mov r0, r5 - 80072f0: f000 f896 bl 8007420 <__multadd> - 80072f4: 4682 mov sl, r0 - 80072f6: e7eb b.n 80072d0 <_dtoa_r+0xba8> - 80072f8: 08009503 .word 0x08009503 - 80072fc: 0800945c .word 0x0800945c - 8007300: 08009480 .word 0x08009480 + 800711a: 47b8 blx r7 + 800711c: 3001 adds r0, #1 + 800711e: f43f ae56 beq.w 8006dce <_printf_float+0xb6> + 8007122: f108 0801 add.w r8, r8, #1 + 8007126: 9b0e ldr r3, [sp, #56] ; 0x38 + 8007128: 3b01 subs r3, #1 + 800712a: 4543 cmp r3, r8 + 800712c: dcf1 bgt.n 8007112 <_printf_float+0x3fa> + 800712e: 4653 mov r3, sl + 8007130: f104 0250 add.w r2, r4, #80 ; 0x50 + 8007134: e6e0 b.n 8006ef8 <_printf_float+0x1e0> + 8007136: f04f 0800 mov.w r8, #0 + 800713a: f104 091a add.w r9, r4, #26 + 800713e: e7f2 b.n 8007126 <_printf_float+0x40e> + 8007140: 2301 movs r3, #1 + 8007142: 4642 mov r2, r8 + 8007144: e7df b.n 8007106 <_printf_float+0x3ee> + 8007146: 2301 movs r3, #1 + 8007148: 464a mov r2, r9 + 800714a: 4631 mov r1, r6 + 800714c: 4628 mov r0, r5 + 800714e: 47b8 blx r7 + 8007150: 3001 adds r0, #1 + 8007152: f43f ae3c beq.w 8006dce <_printf_float+0xb6> + 8007156: f108 0801 add.w r8, r8, #1 + 800715a: 68e3 ldr r3, [r4, #12] + 800715c: 990f ldr r1, [sp, #60] ; 0x3c + 800715e: 1a5b subs r3, r3, r1 + 8007160: 4543 cmp r3, r8 + 8007162: dcf0 bgt.n 8007146 <_printf_float+0x42e> + 8007164: e6fd b.n 8006f62 <_printf_float+0x24a> + 8007166: f04f 0800 mov.w r8, #0 + 800716a: f104 0919 add.w r9, r4, #25 + 800716e: e7f4 b.n 800715a <_printf_float+0x442> -08007304 <_localeconv_r>: - 8007304: 4800 ldr r0, [pc, #0] ; (8007308 <_localeconv_r+0x4>) - 8007306: 4770 bx lr - 8007308: 20000160 .word 0x20000160 - -0800730c : - 800730c: 4603 mov r3, r0 - 800730e: b510 push {r4, lr} - 8007310: b2c9 uxtb r1, r1 - 8007312: 4402 add r2, r0 - 8007314: 4293 cmp r3, r2 - 8007316: 4618 mov r0, r3 - 8007318: d101 bne.n 800731e - 800731a: 2000 movs r0, #0 - 800731c: e003 b.n 8007326 - 800731e: 7804 ldrb r4, [r0, #0] - 8007320: 3301 adds r3, #1 - 8007322: 428c cmp r4, r1 - 8007324: d1f6 bne.n 8007314 - 8007326: bd10 pop {r4, pc} - -08007328 : - 8007328: 440a add r2, r1 - 800732a: 4291 cmp r1, r2 - 800732c: f100 33ff add.w r3, r0, #4294967295 ; 0xffffffff - 8007330: d100 bne.n 8007334 - 8007332: 4770 bx lr - 8007334: b510 push {r4, lr} - 8007336: f811 4b01 ldrb.w r4, [r1], #1 - 800733a: 4291 cmp r1, r2 - 800733c: f803 4f01 strb.w r4, [r3, #1]! - 8007340: d1f9 bne.n 8007336 - 8007342: bd10 pop {r4, pc} - -08007344 <__malloc_lock>: - 8007344: 4801 ldr r0, [pc, #4] ; (800734c <__malloc_lock+0x8>) - 8007346: f000 bd26 b.w 8007d96 <__retarget_lock_acquire_recursive> - 800734a: bf00 nop - 800734c: 20000344 .word 0x20000344 - -08007350 <__malloc_unlock>: - 8007350: 4801 ldr r0, [pc, #4] ; (8007358 <__malloc_unlock+0x8>) - 8007352: f000 bd21 b.w 8007d98 <__retarget_lock_release_recursive> - 8007356: bf00 nop - 8007358: 20000344 .word 0x20000344 - -0800735c <_Balloc>: - 800735c: b570 push {r4, r5, r6, lr} - 800735e: 6a46 ldr r6, [r0, #36] ; 0x24 - 8007360: 4604 mov r4, r0 - 8007362: 460d mov r5, r1 - 8007364: b976 cbnz r6, 8007384 <_Balloc+0x28> - 8007366: 2010 movs r0, #16 - 8007368: f7fe fc02 bl 8005b70 - 800736c: 4602 mov r2, r0 - 800736e: 6260 str r0, [r4, #36] ; 0x24 - 8007370: b920 cbnz r0, 800737c <_Balloc+0x20> - 8007372: 2166 movs r1, #102 ; 0x66 - 8007374: 4b17 ldr r3, [pc, #92] ; (80073d4 <_Balloc+0x78>) - 8007376: 4818 ldr r0, [pc, #96] ; (80073d8 <_Balloc+0x7c>) - 8007378: f000 fcdc bl 8007d34 <__assert_func> - 800737c: e9c0 6601 strd r6, r6, [r0, #4] - 8007380: 6006 str r6, [r0, #0] - 8007382: 60c6 str r6, [r0, #12] - 8007384: 6a66 ldr r6, [r4, #36] ; 0x24 - 8007386: 68f3 ldr r3, [r6, #12] - 8007388: b183 cbz r3, 80073ac <_Balloc+0x50> - 800738a: 6a63 ldr r3, [r4, #36] ; 0x24 - 800738c: 68db ldr r3, [r3, #12] - 800738e: f853 0025 ldr.w r0, [r3, r5, lsl #2] - 8007392: b9b8 cbnz r0, 80073c4 <_Balloc+0x68> - 8007394: 2101 movs r1, #1 - 8007396: fa01 f605 lsl.w r6, r1, r5 - 800739a: 1d72 adds r2, r6, #5 - 800739c: 4620 mov r0, r4 - 800739e: 0092 lsls r2, r2, #2 - 80073a0: f000 fb5e bl 8007a60 <_calloc_r> - 80073a4: b160 cbz r0, 80073c0 <_Balloc+0x64> - 80073a6: e9c0 5601 strd r5, r6, [r0, #4] - 80073aa: e00e b.n 80073ca <_Balloc+0x6e> - 80073ac: 2221 movs r2, #33 ; 0x21 - 80073ae: 2104 movs r1, #4 - 80073b0: 4620 mov r0, r4 - 80073b2: f000 fb55 bl 8007a60 <_calloc_r> - 80073b6: 6a63 ldr r3, [r4, #36] ; 0x24 - 80073b8: 60f0 str r0, [r6, #12] - 80073ba: 68db ldr r3, [r3, #12] - 80073bc: 2b00 cmp r3, #0 - 80073be: d1e4 bne.n 800738a <_Balloc+0x2e> - 80073c0: 2000 movs r0, #0 - 80073c2: bd70 pop {r4, r5, r6, pc} - 80073c4: 6802 ldr r2, [r0, #0] - 80073c6: f843 2025 str.w r2, [r3, r5, lsl #2] - 80073ca: 2300 movs r3, #0 - 80073cc: e9c0 3303 strd r3, r3, [r0, #12] - 80073d0: e7f7 b.n 80073c2 <_Balloc+0x66> - 80073d2: bf00 nop - 80073d4: 0800948d .word 0x0800948d - 80073d8: 08009514 .word 0x08009514 - -080073dc <_Bfree>: - 80073dc: b570 push {r4, r5, r6, lr} - 80073de: 6a46 ldr r6, [r0, #36] ; 0x24 - 80073e0: 4605 mov r5, r0 - 80073e2: 460c mov r4, r1 - 80073e4: b976 cbnz r6, 8007404 <_Bfree+0x28> - 80073e6: 2010 movs r0, #16 - 80073e8: f7fe fbc2 bl 8005b70 - 80073ec: 4602 mov r2, r0 - 80073ee: 6268 str r0, [r5, #36] ; 0x24 - 80073f0: b920 cbnz r0, 80073fc <_Bfree+0x20> - 80073f2: 218a movs r1, #138 ; 0x8a - 80073f4: 4b08 ldr r3, [pc, #32] ; (8007418 <_Bfree+0x3c>) - 80073f6: 4809 ldr r0, [pc, #36] ; (800741c <_Bfree+0x40>) - 80073f8: f000 fc9c bl 8007d34 <__assert_func> - 80073fc: e9c0 6601 strd r6, r6, [r0, #4] - 8007400: 6006 str r6, [r0, #0] - 8007402: 60c6 str r6, [r0, #12] - 8007404: b13c cbz r4, 8007416 <_Bfree+0x3a> - 8007406: 6a6b ldr r3, [r5, #36] ; 0x24 - 8007408: 6862 ldr r2, [r4, #4] - 800740a: 68db ldr r3, [r3, #12] - 800740c: f853 1022 ldr.w r1, [r3, r2, lsl #2] - 8007410: 6021 str r1, [r4, #0] - 8007412: f843 4022 str.w r4, [r3, r2, lsl #2] - 8007416: bd70 pop {r4, r5, r6, pc} - 8007418: 0800948d .word 0x0800948d - 800741c: 08009514 .word 0x08009514 - -08007420 <__multadd>: - 8007420: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 8007424: 4698 mov r8, r3 - 8007426: 460c mov r4, r1 - 8007428: 2300 movs r3, #0 - 800742a: 690e ldr r6, [r1, #16] - 800742c: 4607 mov r7, r0 - 800742e: f101 0014 add.w r0, r1, #20 - 8007432: 6805 ldr r5, [r0, #0] - 8007434: 3301 adds r3, #1 - 8007436: b2a9 uxth r1, r5 - 8007438: fb02 8101 mla r1, r2, r1, r8 - 800743c: 0c2d lsrs r5, r5, #16 - 800743e: ea4f 4c11 mov.w ip, r1, lsr #16 - 8007442: fb02 c505 mla r5, r2, r5, ip - 8007446: b289 uxth r1, r1 - 8007448: eb01 4105 add.w r1, r1, r5, lsl #16 - 800744c: 429e cmp r6, r3 - 800744e: ea4f 4815 mov.w r8, r5, lsr #16 - 8007452: f840 1b04 str.w r1, [r0], #4 - 8007456: dcec bgt.n 8007432 <__multadd+0x12> - 8007458: f1b8 0f00 cmp.w r8, #0 - 800745c: d022 beq.n 80074a4 <__multadd+0x84> - 800745e: 68a3 ldr r3, [r4, #8] - 8007460: 42b3 cmp r3, r6 - 8007462: dc19 bgt.n 8007498 <__multadd+0x78> - 8007464: 6861 ldr r1, [r4, #4] - 8007466: 4638 mov r0, r7 - 8007468: 3101 adds r1, #1 - 800746a: f7ff ff77 bl 800735c <_Balloc> - 800746e: 4605 mov r5, r0 - 8007470: b928 cbnz r0, 800747e <__multadd+0x5e> - 8007472: 4602 mov r2, r0 - 8007474: 21b5 movs r1, #181 ; 0xb5 - 8007476: 4b0d ldr r3, [pc, #52] ; (80074ac <__multadd+0x8c>) - 8007478: 480d ldr r0, [pc, #52] ; (80074b0 <__multadd+0x90>) - 800747a: f000 fc5b bl 8007d34 <__assert_func> - 800747e: 6922 ldr r2, [r4, #16] - 8007480: f104 010c add.w r1, r4, #12 - 8007484: 3202 adds r2, #2 - 8007486: 0092 lsls r2, r2, #2 - 8007488: 300c adds r0, #12 - 800748a: f7ff ff4d bl 8007328 - 800748e: 4621 mov r1, r4 - 8007490: 4638 mov r0, r7 - 8007492: f7ff ffa3 bl 80073dc <_Bfree> - 8007496: 462c mov r4, r5 - 8007498: eb04 0386 add.w r3, r4, r6, lsl #2 - 800749c: 3601 adds r6, #1 - 800749e: f8c3 8014 str.w r8, [r3, #20] - 80074a2: 6126 str r6, [r4, #16] - 80074a4: 4620 mov r0, r4 - 80074a6: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80074aa: bf00 nop - 80074ac: 08009503 .word 0x08009503 - 80074b0: 08009514 .word 0x08009514 - -080074b4 <__hi0bits>: - 80074b4: 0c02 lsrs r2, r0, #16 - 80074b6: 0412 lsls r2, r2, #16 - 80074b8: 4603 mov r3, r0 - 80074ba: b9ca cbnz r2, 80074f0 <__hi0bits+0x3c> - 80074bc: 0403 lsls r3, r0, #16 - 80074be: 2010 movs r0, #16 - 80074c0: f013 4f7f tst.w r3, #4278190080 ; 0xff000000 - 80074c4: bf04 itt eq - 80074c6: 021b lsleq r3, r3, #8 - 80074c8: 3008 addeq r0, #8 - 80074ca: f013 4f70 tst.w r3, #4026531840 ; 0xf0000000 - 80074ce: bf04 itt eq - 80074d0: 011b lsleq r3, r3, #4 - 80074d2: 3004 addeq r0, #4 - 80074d4: f013 4f40 tst.w r3, #3221225472 ; 0xc0000000 - 80074d8: bf04 itt eq - 80074da: 009b lsleq r3, r3, #2 - 80074dc: 3002 addeq r0, #2 - 80074de: 2b00 cmp r3, #0 - 80074e0: db05 blt.n 80074ee <__hi0bits+0x3a> - 80074e2: f013 4f80 tst.w r3, #1073741824 ; 0x40000000 - 80074e6: f100 0001 add.w r0, r0, #1 - 80074ea: bf08 it eq - 80074ec: 2020 moveq r0, #32 - 80074ee: 4770 bx lr - 80074f0: 2000 movs r0, #0 - 80074f2: e7e5 b.n 80074c0 <__hi0bits+0xc> - -080074f4 <__lo0bits>: - 80074f4: 6803 ldr r3, [r0, #0] - 80074f6: 4602 mov r2, r0 - 80074f8: f013 0007 ands.w r0, r3, #7 - 80074fc: d00b beq.n 8007516 <__lo0bits+0x22> - 80074fe: 07d9 lsls r1, r3, #31 - 8007500: d422 bmi.n 8007548 <__lo0bits+0x54> - 8007502: 0798 lsls r0, r3, #30 - 8007504: bf49 itett mi - 8007506: 085b lsrmi r3, r3, #1 - 8007508: 089b lsrpl r3, r3, #2 - 800750a: 2001 movmi r0, #1 - 800750c: 6013 strmi r3, [r2, #0] - 800750e: bf5c itt pl - 8007510: 2002 movpl r0, #2 - 8007512: 6013 strpl r3, [r2, #0] - 8007514: 4770 bx lr - 8007516: b299 uxth r1, r3 - 8007518: b909 cbnz r1, 800751e <__lo0bits+0x2a> - 800751a: 2010 movs r0, #16 - 800751c: 0c1b lsrs r3, r3, #16 - 800751e: f013 0fff tst.w r3, #255 ; 0xff - 8007522: bf04 itt eq - 8007524: 0a1b lsreq r3, r3, #8 - 8007526: 3008 addeq r0, #8 - 8007528: 0719 lsls r1, r3, #28 - 800752a: bf04 itt eq - 800752c: 091b lsreq r3, r3, #4 - 800752e: 3004 addeq r0, #4 - 8007530: 0799 lsls r1, r3, #30 - 8007532: bf04 itt eq - 8007534: 089b lsreq r3, r3, #2 - 8007536: 3002 addeq r0, #2 - 8007538: 07d9 lsls r1, r3, #31 - 800753a: d403 bmi.n 8007544 <__lo0bits+0x50> - 800753c: 085b lsrs r3, r3, #1 - 800753e: f100 0001 add.w r0, r0, #1 - 8007542: d003 beq.n 800754c <__lo0bits+0x58> - 8007544: 6013 str r3, [r2, #0] - 8007546: 4770 bx lr - 8007548: 2000 movs r0, #0 - 800754a: 4770 bx lr - 800754c: 2020 movs r0, #32 - 800754e: 4770 bx lr - -08007550 <__i2b>: - 8007550: b510 push {r4, lr} - 8007552: 460c mov r4, r1 - 8007554: 2101 movs r1, #1 - 8007556: f7ff ff01 bl 800735c <_Balloc> - 800755a: 4602 mov r2, r0 - 800755c: b928 cbnz r0, 800756a <__i2b+0x1a> - 800755e: f44f 71a0 mov.w r1, #320 ; 0x140 - 8007562: 4b04 ldr r3, [pc, #16] ; (8007574 <__i2b+0x24>) - 8007564: 4804 ldr r0, [pc, #16] ; (8007578 <__i2b+0x28>) - 8007566: f000 fbe5 bl 8007d34 <__assert_func> - 800756a: 2301 movs r3, #1 - 800756c: 6144 str r4, [r0, #20] - 800756e: 6103 str r3, [r0, #16] - 8007570: bd10 pop {r4, pc} - 8007572: bf00 nop - 8007574: 08009503 .word 0x08009503 - 8007578: 08009514 .word 0x08009514 - -0800757c <__multiply>: - 800757c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8007580: 4614 mov r4, r2 - 8007582: 690a ldr r2, [r1, #16] - 8007584: 6923 ldr r3, [r4, #16] - 8007586: 460d mov r5, r1 - 8007588: 429a cmp r2, r3 - 800758a: bfbe ittt lt - 800758c: 460b movlt r3, r1 - 800758e: 4625 movlt r5, r4 - 8007590: 461c movlt r4, r3 - 8007592: f8d5 a010 ldr.w sl, [r5, #16] - 8007596: f8d4 9010 ldr.w r9, [r4, #16] - 800759a: 68ab ldr r3, [r5, #8] - 800759c: 6869 ldr r1, [r5, #4] - 800759e: eb0a 0709 add.w r7, sl, r9 - 80075a2: 42bb cmp r3, r7 - 80075a4: b085 sub sp, #20 - 80075a6: bfb8 it lt - 80075a8: 3101 addlt r1, #1 - 80075aa: f7ff fed7 bl 800735c <_Balloc> - 80075ae: b930 cbnz r0, 80075be <__multiply+0x42> - 80075b0: 4602 mov r2, r0 - 80075b2: f240 115d movw r1, #349 ; 0x15d - 80075b6: 4b41 ldr r3, [pc, #260] ; (80076bc <__multiply+0x140>) - 80075b8: 4841 ldr r0, [pc, #260] ; (80076c0 <__multiply+0x144>) - 80075ba: f000 fbbb bl 8007d34 <__assert_func> - 80075be: f100 0614 add.w r6, r0, #20 - 80075c2: 4633 mov r3, r6 - 80075c4: 2200 movs r2, #0 - 80075c6: eb06 0887 add.w r8, r6, r7, lsl #2 - 80075ca: 4543 cmp r3, r8 - 80075cc: d31e bcc.n 800760c <__multiply+0x90> - 80075ce: f105 0c14 add.w ip, r5, #20 - 80075d2: f104 0314 add.w r3, r4, #20 - 80075d6: eb0c 0c8a add.w ip, ip, sl, lsl #2 - 80075da: eb03 0289 add.w r2, r3, r9, lsl #2 - 80075de: 9202 str r2, [sp, #8] - 80075e0: ebac 0205 sub.w r2, ip, r5 - 80075e4: 3a15 subs r2, #21 - 80075e6: f022 0203 bic.w r2, r2, #3 - 80075ea: 3204 adds r2, #4 - 80075ec: f105 0115 add.w r1, r5, #21 - 80075f0: 458c cmp ip, r1 - 80075f2: bf38 it cc - 80075f4: 2204 movcc r2, #4 - 80075f6: 9201 str r2, [sp, #4] - 80075f8: 9a02 ldr r2, [sp, #8] - 80075fa: 9303 str r3, [sp, #12] - 80075fc: 429a cmp r2, r3 - 80075fe: d808 bhi.n 8007612 <__multiply+0x96> - 8007600: 2f00 cmp r7, #0 - 8007602: dc55 bgt.n 80076b0 <__multiply+0x134> - 8007604: 6107 str r7, [r0, #16] - 8007606: b005 add sp, #20 - 8007608: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 800760c: f843 2b04 str.w r2, [r3], #4 - 8007610: e7db b.n 80075ca <__multiply+0x4e> - 8007612: f8b3 a000 ldrh.w sl, [r3] - 8007616: f1ba 0f00 cmp.w sl, #0 - 800761a: d020 beq.n 800765e <__multiply+0xe2> - 800761c: 46b1 mov r9, r6 - 800761e: 2200 movs r2, #0 - 8007620: f105 0e14 add.w lr, r5, #20 - 8007624: f85e 4b04 ldr.w r4, [lr], #4 - 8007628: f8d9 b000 ldr.w fp, [r9] - 800762c: b2a1 uxth r1, r4 - 800762e: fa1f fb8b uxth.w fp, fp - 8007632: fb0a b101 mla r1, sl, r1, fp - 8007636: 4411 add r1, r2 - 8007638: f8d9 2000 ldr.w r2, [r9] - 800763c: 0c24 lsrs r4, r4, #16 - 800763e: 0c12 lsrs r2, r2, #16 - 8007640: fb0a 2404 mla r4, sl, r4, r2 - 8007644: eb04 4411 add.w r4, r4, r1, lsr #16 - 8007648: b289 uxth r1, r1 - 800764a: ea41 4104 orr.w r1, r1, r4, lsl #16 - 800764e: 45f4 cmp ip, lr - 8007650: ea4f 4214 mov.w r2, r4, lsr #16 - 8007654: f849 1b04 str.w r1, [r9], #4 - 8007658: d8e4 bhi.n 8007624 <__multiply+0xa8> - 800765a: 9901 ldr r1, [sp, #4] - 800765c: 5072 str r2, [r6, r1] - 800765e: 9a03 ldr r2, [sp, #12] - 8007660: 3304 adds r3, #4 - 8007662: f8b2 9002 ldrh.w r9, [r2, #2] - 8007666: f1b9 0f00 cmp.w r9, #0 - 800766a: d01f beq.n 80076ac <__multiply+0x130> - 800766c: 46b6 mov lr, r6 - 800766e: f04f 0a00 mov.w sl, #0 - 8007672: 6834 ldr r4, [r6, #0] - 8007674: f105 0114 add.w r1, r5, #20 - 8007678: 880a ldrh r2, [r1, #0] - 800767a: f8be b002 ldrh.w fp, [lr, #2] - 800767e: b2a4 uxth r4, r4 - 8007680: fb09 b202 mla r2, r9, r2, fp - 8007684: 4492 add sl, r2 - 8007686: ea44 440a orr.w r4, r4, sl, lsl #16 - 800768a: f84e 4b04 str.w r4, [lr], #4 - 800768e: f851 4b04 ldr.w r4, [r1], #4 - 8007692: f8be 2000 ldrh.w r2, [lr] - 8007696: 0c24 lsrs r4, r4, #16 - 8007698: fb09 2404 mla r4, r9, r4, r2 - 800769c: 458c cmp ip, r1 - 800769e: eb04 441a add.w r4, r4, sl, lsr #16 - 80076a2: ea4f 4a14 mov.w sl, r4, lsr #16 - 80076a6: d8e7 bhi.n 8007678 <__multiply+0xfc> - 80076a8: 9a01 ldr r2, [sp, #4] - 80076aa: 50b4 str r4, [r6, r2] - 80076ac: 3604 adds r6, #4 - 80076ae: e7a3 b.n 80075f8 <__multiply+0x7c> - 80076b0: f858 3d04 ldr.w r3, [r8, #-4]! - 80076b4: 2b00 cmp r3, #0 - 80076b6: d1a5 bne.n 8007604 <__multiply+0x88> - 80076b8: 3f01 subs r7, #1 - 80076ba: e7a1 b.n 8007600 <__multiply+0x84> - 80076bc: 08009503 .word 0x08009503 - 80076c0: 08009514 .word 0x08009514 - -080076c4 <__pow5mult>: - 80076c4: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 80076c8: 4615 mov r5, r2 - 80076ca: f012 0203 ands.w r2, r2, #3 - 80076ce: 4606 mov r6, r0 - 80076d0: 460f mov r7, r1 - 80076d2: d007 beq.n 80076e4 <__pow5mult+0x20> - 80076d4: 4c25 ldr r4, [pc, #148] ; (800776c <__pow5mult+0xa8>) - 80076d6: 3a01 subs r2, #1 - 80076d8: 2300 movs r3, #0 - 80076da: f854 2022 ldr.w r2, [r4, r2, lsl #2] - 80076de: f7ff fe9f bl 8007420 <__multadd> - 80076e2: 4607 mov r7, r0 - 80076e4: 10ad asrs r5, r5, #2 - 80076e6: d03d beq.n 8007764 <__pow5mult+0xa0> - 80076e8: 6a74 ldr r4, [r6, #36] ; 0x24 - 80076ea: b97c cbnz r4, 800770c <__pow5mult+0x48> - 80076ec: 2010 movs r0, #16 - 80076ee: f7fe fa3f bl 8005b70 - 80076f2: 4602 mov r2, r0 - 80076f4: 6270 str r0, [r6, #36] ; 0x24 - 80076f6: b928 cbnz r0, 8007704 <__pow5mult+0x40> - 80076f8: f44f 71d7 mov.w r1, #430 ; 0x1ae - 80076fc: 4b1c ldr r3, [pc, #112] ; (8007770 <__pow5mult+0xac>) - 80076fe: 481d ldr r0, [pc, #116] ; (8007774 <__pow5mult+0xb0>) - 8007700: f000 fb18 bl 8007d34 <__assert_func> - 8007704: e9c0 4401 strd r4, r4, [r0, #4] - 8007708: 6004 str r4, [r0, #0] - 800770a: 60c4 str r4, [r0, #12] - 800770c: f8d6 8024 ldr.w r8, [r6, #36] ; 0x24 - 8007710: f8d8 4008 ldr.w r4, [r8, #8] - 8007714: b94c cbnz r4, 800772a <__pow5mult+0x66> - 8007716: f240 2171 movw r1, #625 ; 0x271 - 800771a: 4630 mov r0, r6 - 800771c: f7ff ff18 bl 8007550 <__i2b> - 8007720: 2300 movs r3, #0 - 8007722: 4604 mov r4, r0 - 8007724: f8c8 0008 str.w r0, [r8, #8] - 8007728: 6003 str r3, [r0, #0] - 800772a: f04f 0900 mov.w r9, #0 - 800772e: 07eb lsls r3, r5, #31 - 8007730: d50a bpl.n 8007748 <__pow5mult+0x84> - 8007732: 4639 mov r1, r7 - 8007734: 4622 mov r2, r4 - 8007736: 4630 mov r0, r6 - 8007738: f7ff ff20 bl 800757c <__multiply> - 800773c: 4680 mov r8, r0 - 800773e: 4639 mov r1, r7 - 8007740: 4630 mov r0, r6 - 8007742: f7ff fe4b bl 80073dc <_Bfree> - 8007746: 4647 mov r7, r8 - 8007748: 106d asrs r5, r5, #1 - 800774a: d00b beq.n 8007764 <__pow5mult+0xa0> - 800774c: 6820 ldr r0, [r4, #0] - 800774e: b938 cbnz r0, 8007760 <__pow5mult+0x9c> - 8007750: 4622 mov r2, r4 - 8007752: 4621 mov r1, r4 - 8007754: 4630 mov r0, r6 - 8007756: f7ff ff11 bl 800757c <__multiply> - 800775a: 6020 str r0, [r4, #0] - 800775c: f8c0 9000 str.w r9, [r0] - 8007760: 4604 mov r4, r0 - 8007762: e7e4 b.n 800772e <__pow5mult+0x6a> - 8007764: 4638 mov r0, r7 - 8007766: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 800776a: bf00 nop - 800776c: 08009668 .word 0x08009668 - 8007770: 0800948d .word 0x0800948d - 8007774: 08009514 .word 0x08009514 - -08007778 <__lshift>: - 8007778: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 800777c: 460c mov r4, r1 - 800777e: 4607 mov r7, r0 - 8007780: 4691 mov r9, r2 - 8007782: 6923 ldr r3, [r4, #16] - 8007784: 6849 ldr r1, [r1, #4] - 8007786: eb03 1862 add.w r8, r3, r2, asr #5 - 800778a: 68a3 ldr r3, [r4, #8] - 800778c: ea4f 1a62 mov.w sl, r2, asr #5 - 8007790: f108 0601 add.w r6, r8, #1 - 8007794: 42b3 cmp r3, r6 - 8007796: db0b blt.n 80077b0 <__lshift+0x38> - 8007798: 4638 mov r0, r7 - 800779a: f7ff fddf bl 800735c <_Balloc> - 800779e: 4605 mov r5, r0 - 80077a0: b948 cbnz r0, 80077b6 <__lshift+0x3e> - 80077a2: 4602 mov r2, r0 - 80077a4: f240 11d9 movw r1, #473 ; 0x1d9 - 80077a8: 4b27 ldr r3, [pc, #156] ; (8007848 <__lshift+0xd0>) - 80077aa: 4828 ldr r0, [pc, #160] ; (800784c <__lshift+0xd4>) - 80077ac: f000 fac2 bl 8007d34 <__assert_func> - 80077b0: 3101 adds r1, #1 - 80077b2: 005b lsls r3, r3, #1 - 80077b4: e7ee b.n 8007794 <__lshift+0x1c> - 80077b6: 2300 movs r3, #0 - 80077b8: f100 0114 add.w r1, r0, #20 - 80077bc: f100 0210 add.w r2, r0, #16 - 80077c0: 4618 mov r0, r3 - 80077c2: 4553 cmp r3, sl - 80077c4: db33 blt.n 800782e <__lshift+0xb6> - 80077c6: 6920 ldr r0, [r4, #16] - 80077c8: ea2a 7aea bic.w sl, sl, sl, asr #31 - 80077cc: f104 0314 add.w r3, r4, #20 - 80077d0: f019 091f ands.w r9, r9, #31 - 80077d4: eb01 018a add.w r1, r1, sl, lsl #2 - 80077d8: eb03 0c80 add.w ip, r3, r0, lsl #2 - 80077dc: d02b beq.n 8007836 <__lshift+0xbe> - 80077de: 468a mov sl, r1 - 80077e0: 2200 movs r2, #0 - 80077e2: f1c9 0e20 rsb lr, r9, #32 - 80077e6: 6818 ldr r0, [r3, #0] - 80077e8: fa00 f009 lsl.w r0, r0, r9 - 80077ec: 4302 orrs r2, r0 - 80077ee: f84a 2b04 str.w r2, [sl], #4 - 80077f2: f853 2b04 ldr.w r2, [r3], #4 - 80077f6: 459c cmp ip, r3 - 80077f8: fa22 f20e lsr.w r2, r2, lr - 80077fc: d8f3 bhi.n 80077e6 <__lshift+0x6e> - 80077fe: ebac 0304 sub.w r3, ip, r4 - 8007802: 3b15 subs r3, #21 - 8007804: f023 0303 bic.w r3, r3, #3 - 8007808: 3304 adds r3, #4 - 800780a: f104 0015 add.w r0, r4, #21 - 800780e: 4584 cmp ip, r0 - 8007810: bf38 it cc - 8007812: 2304 movcc r3, #4 - 8007814: 50ca str r2, [r1, r3] - 8007816: b10a cbz r2, 800781c <__lshift+0xa4> - 8007818: f108 0602 add.w r6, r8, #2 - 800781c: 3e01 subs r6, #1 - 800781e: 4638 mov r0, r7 - 8007820: 4621 mov r1, r4 - 8007822: 612e str r6, [r5, #16] - 8007824: f7ff fdda bl 80073dc <_Bfree> - 8007828: 4628 mov r0, r5 - 800782a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 800782e: f842 0f04 str.w r0, [r2, #4]! - 8007832: 3301 adds r3, #1 - 8007834: e7c5 b.n 80077c2 <__lshift+0x4a> - 8007836: 3904 subs r1, #4 - 8007838: f853 2b04 ldr.w r2, [r3], #4 - 800783c: 459c cmp ip, r3 - 800783e: f841 2f04 str.w r2, [r1, #4]! - 8007842: d8f9 bhi.n 8007838 <__lshift+0xc0> - 8007844: e7ea b.n 800781c <__lshift+0xa4> - 8007846: bf00 nop - 8007848: 08009503 .word 0x08009503 - 800784c: 08009514 .word 0x08009514 - -08007850 <__mcmp>: - 8007850: 4603 mov r3, r0 - 8007852: 690a ldr r2, [r1, #16] - 8007854: 6900 ldr r0, [r0, #16] - 8007856: b530 push {r4, r5, lr} - 8007858: 1a80 subs r0, r0, r2 - 800785a: d10d bne.n 8007878 <__mcmp+0x28> - 800785c: 3314 adds r3, #20 - 800785e: 3114 adds r1, #20 - 8007860: eb03 0482 add.w r4, r3, r2, lsl #2 - 8007864: eb01 0182 add.w r1, r1, r2, lsl #2 - 8007868: f854 5d04 ldr.w r5, [r4, #-4]! - 800786c: f851 2d04 ldr.w r2, [r1, #-4]! - 8007870: 4295 cmp r5, r2 - 8007872: d002 beq.n 800787a <__mcmp+0x2a> - 8007874: d304 bcc.n 8007880 <__mcmp+0x30> - 8007876: 2001 movs r0, #1 - 8007878: bd30 pop {r4, r5, pc} - 800787a: 42a3 cmp r3, r4 - 800787c: d3f4 bcc.n 8007868 <__mcmp+0x18> - 800787e: e7fb b.n 8007878 <__mcmp+0x28> - 8007880: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 8007884: e7f8 b.n 8007878 <__mcmp+0x28> +08007170 <_printf_common>: + 8007170: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8007174: 4616 mov r6, r2 + 8007176: 4699 mov r9, r3 + 8007178: 688a ldr r2, [r1, #8] + 800717a: 690b ldr r3, [r1, #16] + 800717c: 4607 mov r7, r0 + 800717e: 4293 cmp r3, r2 + 8007180: bfb8 it lt + 8007182: 4613 movlt r3, r2 + 8007184: 6033 str r3, [r6, #0] + 8007186: f891 2043 ldrb.w r2, [r1, #67] ; 0x43 + 800718a: 460c mov r4, r1 + 800718c: f8dd 8020 ldr.w r8, [sp, #32] + 8007190: b10a cbz r2, 8007196 <_printf_common+0x26> + 8007192: 3301 adds r3, #1 + 8007194: 6033 str r3, [r6, #0] + 8007196: 6823 ldr r3, [r4, #0] + 8007198: 0699 lsls r1, r3, #26 + 800719a: bf42 ittt mi + 800719c: 6833 ldrmi r3, [r6, #0] + 800719e: 3302 addmi r3, #2 + 80071a0: 6033 strmi r3, [r6, #0] + 80071a2: 6825 ldr r5, [r4, #0] + 80071a4: f015 0506 ands.w r5, r5, #6 + 80071a8: d106 bne.n 80071b8 <_printf_common+0x48> + 80071aa: f104 0a19 add.w sl, r4, #25 + 80071ae: 68e3 ldr r3, [r4, #12] + 80071b0: 6832 ldr r2, [r6, #0] + 80071b2: 1a9b subs r3, r3, r2 + 80071b4: 42ab cmp r3, r5 + 80071b6: dc28 bgt.n 800720a <_printf_common+0x9a> + 80071b8: f894 2043 ldrb.w r2, [r4, #67] ; 0x43 + 80071bc: 1e13 subs r3, r2, #0 + 80071be: 6822 ldr r2, [r4, #0] + 80071c0: bf18 it ne + 80071c2: 2301 movne r3, #1 + 80071c4: 0692 lsls r2, r2, #26 + 80071c6: d42d bmi.n 8007224 <_printf_common+0xb4> + 80071c8: 4649 mov r1, r9 + 80071ca: 4638 mov r0, r7 + 80071cc: f104 0243 add.w r2, r4, #67 ; 0x43 + 80071d0: 47c0 blx r8 + 80071d2: 3001 adds r0, #1 + 80071d4: d020 beq.n 8007218 <_printf_common+0xa8> + 80071d6: 6823 ldr r3, [r4, #0] + 80071d8: 68e5 ldr r5, [r4, #12] + 80071da: f003 0306 and.w r3, r3, #6 + 80071de: 2b04 cmp r3, #4 + 80071e0: bf18 it ne + 80071e2: 2500 movne r5, #0 + 80071e4: 6832 ldr r2, [r6, #0] + 80071e6: f04f 0600 mov.w r6, #0 + 80071ea: 68a3 ldr r3, [r4, #8] + 80071ec: bf08 it eq + 80071ee: 1aad subeq r5, r5, r2 + 80071f0: 6922 ldr r2, [r4, #16] + 80071f2: bf08 it eq + 80071f4: ea25 75e5 biceq.w r5, r5, r5, asr #31 + 80071f8: 4293 cmp r3, r2 + 80071fa: bfc4 itt gt + 80071fc: 1a9b subgt r3, r3, r2 + 80071fe: 18ed addgt r5, r5, r3 + 8007200: 341a adds r4, #26 + 8007202: 42b5 cmp r5, r6 + 8007204: d11a bne.n 800723c <_printf_common+0xcc> + 8007206: 2000 movs r0, #0 + 8007208: e008 b.n 800721c <_printf_common+0xac> + 800720a: 2301 movs r3, #1 + 800720c: 4652 mov r2, sl + 800720e: 4649 mov r1, r9 + 8007210: 4638 mov r0, r7 + 8007212: 47c0 blx r8 + 8007214: 3001 adds r0, #1 + 8007216: d103 bne.n 8007220 <_printf_common+0xb0> + 8007218: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 800721c: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 8007220: 3501 adds r5, #1 + 8007222: e7c4 b.n 80071ae <_printf_common+0x3e> + 8007224: 2030 movs r0, #48 ; 0x30 + 8007226: 18e1 adds r1, r4, r3 + 8007228: f881 0043 strb.w r0, [r1, #67] ; 0x43 + 800722c: 1c5a adds r2, r3, #1 + 800722e: f894 1045 ldrb.w r1, [r4, #69] ; 0x45 + 8007232: 4422 add r2, r4 + 8007234: 3302 adds r3, #2 + 8007236: f882 1043 strb.w r1, [r2, #67] ; 0x43 + 800723a: e7c5 b.n 80071c8 <_printf_common+0x58> + 800723c: 2301 movs r3, #1 + 800723e: 4622 mov r2, r4 + 8007240: 4649 mov r1, r9 + 8007242: 4638 mov r0, r7 + 8007244: 47c0 blx r8 + 8007246: 3001 adds r0, #1 + 8007248: d0e6 beq.n 8007218 <_printf_common+0xa8> + 800724a: 3601 adds r6, #1 + 800724c: e7d9 b.n 8007202 <_printf_common+0x92> ... -08007888 <__mdiff>: - 8007888: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} - 800788c: 460c mov r4, r1 - 800788e: 4606 mov r6, r0 - 8007890: 4611 mov r1, r2 - 8007892: 4620 mov r0, r4 - 8007894: 4692 mov sl, r2 - 8007896: f7ff ffdb bl 8007850 <__mcmp> - 800789a: 1e05 subs r5, r0, #0 - 800789c: d111 bne.n 80078c2 <__mdiff+0x3a> - 800789e: 4629 mov r1, r5 - 80078a0: 4630 mov r0, r6 - 80078a2: f7ff fd5b bl 800735c <_Balloc> - 80078a6: 4602 mov r2, r0 - 80078a8: b928 cbnz r0, 80078b6 <__mdiff+0x2e> - 80078aa: f240 2132 movw r1, #562 ; 0x232 - 80078ae: 4b3c ldr r3, [pc, #240] ; (80079a0 <__mdiff+0x118>) - 80078b0: 483c ldr r0, [pc, #240] ; (80079a4 <__mdiff+0x11c>) - 80078b2: f000 fa3f bl 8007d34 <__assert_func> - 80078b6: 2301 movs r3, #1 - 80078b8: e9c0 3504 strd r3, r5, [r0, #16] - 80078bc: 4610 mov r0, r2 - 80078be: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} - 80078c2: bfa4 itt ge - 80078c4: 4653 movge r3, sl - 80078c6: 46a2 movge sl, r4 - 80078c8: 4630 mov r0, r6 - 80078ca: f8da 1004 ldr.w r1, [sl, #4] - 80078ce: bfa6 itte ge - 80078d0: 461c movge r4, r3 - 80078d2: 2500 movge r5, #0 - 80078d4: 2501 movlt r5, #1 - 80078d6: f7ff fd41 bl 800735c <_Balloc> - 80078da: 4602 mov r2, r0 - 80078dc: b918 cbnz r0, 80078e6 <__mdiff+0x5e> - 80078de: f44f 7110 mov.w r1, #576 ; 0x240 - 80078e2: 4b2f ldr r3, [pc, #188] ; (80079a0 <__mdiff+0x118>) - 80078e4: e7e4 b.n 80078b0 <__mdiff+0x28> - 80078e6: f100 0814 add.w r8, r0, #20 - 80078ea: f8da 7010 ldr.w r7, [sl, #16] - 80078ee: 60c5 str r5, [r0, #12] - 80078f0: f04f 0c00 mov.w ip, #0 - 80078f4: f10a 0514 add.w r5, sl, #20 - 80078f8: f10a 0010 add.w r0, sl, #16 - 80078fc: 46c2 mov sl, r8 - 80078fe: 6926 ldr r6, [r4, #16] - 8007900: f104 0914 add.w r9, r4, #20 - 8007904: eb05 0e87 add.w lr, r5, r7, lsl #2 - 8007908: eb09 0686 add.w r6, r9, r6, lsl #2 - 800790c: f850 bf04 ldr.w fp, [r0, #4]! - 8007910: f859 3b04 ldr.w r3, [r9], #4 - 8007914: fa1f f18b uxth.w r1, fp - 8007918: 4461 add r1, ip - 800791a: fa1f fc83 uxth.w ip, r3 - 800791e: 0c1b lsrs r3, r3, #16 - 8007920: eba1 010c sub.w r1, r1, ip - 8007924: ebc3 431b rsb r3, r3, fp, lsr #16 - 8007928: eb03 4321 add.w r3, r3, r1, asr #16 - 800792c: b289 uxth r1, r1 - 800792e: ea4f 4c23 mov.w ip, r3, asr #16 - 8007932: 454e cmp r6, r9 - 8007934: ea41 4303 orr.w r3, r1, r3, lsl #16 - 8007938: f84a 3b04 str.w r3, [sl], #4 - 800793c: d8e6 bhi.n 800790c <__mdiff+0x84> - 800793e: 1b33 subs r3, r6, r4 - 8007940: 3b15 subs r3, #21 - 8007942: f023 0303 bic.w r3, r3, #3 - 8007946: 3415 adds r4, #21 - 8007948: 3304 adds r3, #4 - 800794a: 42a6 cmp r6, r4 - 800794c: bf38 it cc - 800794e: 2304 movcc r3, #4 - 8007950: 441d add r5, r3 - 8007952: 4443 add r3, r8 - 8007954: 461e mov r6, r3 - 8007956: 462c mov r4, r5 - 8007958: 4574 cmp r4, lr - 800795a: d30e bcc.n 800797a <__mdiff+0xf2> - 800795c: f10e 0103 add.w r1, lr, #3 - 8007960: 1b49 subs r1, r1, r5 - 8007962: f021 0103 bic.w r1, r1, #3 - 8007966: 3d03 subs r5, #3 - 8007968: 45ae cmp lr, r5 - 800796a: bf38 it cc - 800796c: 2100 movcc r1, #0 - 800796e: 4419 add r1, r3 - 8007970: f851 3d04 ldr.w r3, [r1, #-4]! - 8007974: b18b cbz r3, 800799a <__mdiff+0x112> - 8007976: 6117 str r7, [r2, #16] - 8007978: e7a0 b.n 80078bc <__mdiff+0x34> - 800797a: f854 8b04 ldr.w r8, [r4], #4 - 800797e: fa1f f188 uxth.w r1, r8 - 8007982: 4461 add r1, ip - 8007984: 1408 asrs r0, r1, #16 - 8007986: eb00 4018 add.w r0, r0, r8, lsr #16 - 800798a: b289 uxth r1, r1 - 800798c: ea41 4100 orr.w r1, r1, r0, lsl #16 - 8007990: ea4f 4c20 mov.w ip, r0, asr #16 - 8007994: f846 1b04 str.w r1, [r6], #4 - 8007998: e7de b.n 8007958 <__mdiff+0xd0> - 800799a: 3f01 subs r7, #1 - 800799c: e7e8 b.n 8007970 <__mdiff+0xe8> - 800799e: bf00 nop - 80079a0: 08009503 .word 0x08009503 - 80079a4: 08009514 .word 0x08009514 +08007250 <_printf_i>: + 8007250: e92d 47ff stmdb sp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, lr} + 8007254: 460c mov r4, r1 + 8007256: 7e27 ldrb r7, [r4, #24] + 8007258: 4691 mov r9, r2 + 800725a: 2f78 cmp r7, #120 ; 0x78 + 800725c: 4680 mov r8, r0 + 800725e: 469a mov sl, r3 + 8007260: 990c ldr r1, [sp, #48] ; 0x30 + 8007262: f104 0243 add.w r2, r4, #67 ; 0x43 + 8007266: d807 bhi.n 8007278 <_printf_i+0x28> + 8007268: 2f62 cmp r7, #98 ; 0x62 + 800726a: d80a bhi.n 8007282 <_printf_i+0x32> + 800726c: 2f00 cmp r7, #0 + 800726e: f000 80d9 beq.w 8007424 <_printf_i+0x1d4> + 8007272: 2f58 cmp r7, #88 ; 0x58 + 8007274: f000 80a4 beq.w 80073c0 <_printf_i+0x170> + 8007278: f104 0642 add.w r6, r4, #66 ; 0x42 + 800727c: f884 7042 strb.w r7, [r4, #66] ; 0x42 + 8007280: e03a b.n 80072f8 <_printf_i+0xa8> + 8007282: f1a7 0363 sub.w r3, r7, #99 ; 0x63 + 8007286: 2b15 cmp r3, #21 + 8007288: d8f6 bhi.n 8007278 <_printf_i+0x28> + 800728a: a001 add r0, pc, #4 ; (adr r0, 8007290 <_printf_i+0x40>) + 800728c: f850 f023 ldr.w pc, [r0, r3, lsl #2] + 8007290: 080072e9 .word 0x080072e9 + 8007294: 080072fd .word 0x080072fd + 8007298: 08007279 .word 0x08007279 + 800729c: 08007279 .word 0x08007279 + 80072a0: 08007279 .word 0x08007279 + 80072a4: 08007279 .word 0x08007279 + 80072a8: 080072fd .word 0x080072fd + 80072ac: 08007279 .word 0x08007279 + 80072b0: 08007279 .word 0x08007279 + 80072b4: 08007279 .word 0x08007279 + 80072b8: 08007279 .word 0x08007279 + 80072bc: 0800740b .word 0x0800740b + 80072c0: 0800732d .word 0x0800732d + 80072c4: 080073ed .word 0x080073ed + 80072c8: 08007279 .word 0x08007279 + 80072cc: 08007279 .word 0x08007279 + 80072d0: 0800742d .word 0x0800742d + 80072d4: 08007279 .word 0x08007279 + 80072d8: 0800732d .word 0x0800732d + 80072dc: 08007279 .word 0x08007279 + 80072e0: 08007279 .word 0x08007279 + 80072e4: 080073f5 .word 0x080073f5 + 80072e8: 680b ldr r3, [r1, #0] + 80072ea: f104 0642 add.w r6, r4, #66 ; 0x42 + 80072ee: 1d1a adds r2, r3, #4 + 80072f0: 681b ldr r3, [r3, #0] + 80072f2: 600a str r2, [r1, #0] + 80072f4: f884 3042 strb.w r3, [r4, #66] ; 0x42 + 80072f8: 2301 movs r3, #1 + 80072fa: e0a4 b.n 8007446 <_printf_i+0x1f6> + 80072fc: 6825 ldr r5, [r4, #0] + 80072fe: 6808 ldr r0, [r1, #0] + 8007300: 062e lsls r6, r5, #24 + 8007302: f100 0304 add.w r3, r0, #4 + 8007306: d50a bpl.n 800731e <_printf_i+0xce> + 8007308: 6805 ldr r5, [r0, #0] + 800730a: 600b str r3, [r1, #0] + 800730c: 2d00 cmp r5, #0 + 800730e: da03 bge.n 8007318 <_printf_i+0xc8> + 8007310: 232d movs r3, #45 ; 0x2d + 8007312: 426d negs r5, r5 + 8007314: f884 3043 strb.w r3, [r4, #67] ; 0x43 + 8007318: 230a movs r3, #10 + 800731a: 485e ldr r0, [pc, #376] ; (8007494 <_printf_i+0x244>) + 800731c: e019 b.n 8007352 <_printf_i+0x102> + 800731e: f015 0f40 tst.w r5, #64 ; 0x40 + 8007322: 6805 ldr r5, [r0, #0] + 8007324: 600b str r3, [r1, #0] + 8007326: bf18 it ne + 8007328: b22d sxthne r5, r5 + 800732a: e7ef b.n 800730c <_printf_i+0xbc> + 800732c: 680b ldr r3, [r1, #0] + 800732e: 6825 ldr r5, [r4, #0] + 8007330: 1d18 adds r0, r3, #4 + 8007332: 6008 str r0, [r1, #0] + 8007334: 0628 lsls r0, r5, #24 + 8007336: d501 bpl.n 800733c <_printf_i+0xec> + 8007338: 681d ldr r5, [r3, #0] + 800733a: e002 b.n 8007342 <_printf_i+0xf2> + 800733c: 0669 lsls r1, r5, #25 + 800733e: d5fb bpl.n 8007338 <_printf_i+0xe8> + 8007340: 881d ldrh r5, [r3, #0] + 8007342: 2f6f cmp r7, #111 ; 0x6f + 8007344: bf0c ite eq + 8007346: 2308 moveq r3, #8 + 8007348: 230a movne r3, #10 + 800734a: 4852 ldr r0, [pc, #328] ; (8007494 <_printf_i+0x244>) + 800734c: 2100 movs r1, #0 + 800734e: f884 1043 strb.w r1, [r4, #67] ; 0x43 + 8007352: 6866 ldr r6, [r4, #4] + 8007354: 2e00 cmp r6, #0 + 8007356: bfa8 it ge + 8007358: 6821 ldrge r1, [r4, #0] + 800735a: 60a6 str r6, [r4, #8] + 800735c: bfa4 itt ge + 800735e: f021 0104 bicge.w r1, r1, #4 + 8007362: 6021 strge r1, [r4, #0] + 8007364: b90d cbnz r5, 800736a <_printf_i+0x11a> + 8007366: 2e00 cmp r6, #0 + 8007368: d04d beq.n 8007406 <_printf_i+0x1b6> + 800736a: 4616 mov r6, r2 + 800736c: fbb5 f1f3 udiv r1, r5, r3 + 8007370: fb03 5711 mls r7, r3, r1, r5 + 8007374: 5dc7 ldrb r7, [r0, r7] + 8007376: f806 7d01 strb.w r7, [r6, #-1]! + 800737a: 462f mov r7, r5 + 800737c: 42bb cmp r3, r7 + 800737e: 460d mov r5, r1 + 8007380: d9f4 bls.n 800736c <_printf_i+0x11c> + 8007382: 2b08 cmp r3, #8 + 8007384: d10b bne.n 800739e <_printf_i+0x14e> + 8007386: 6823 ldr r3, [r4, #0] + 8007388: 07df lsls r7, r3, #31 + 800738a: d508 bpl.n 800739e <_printf_i+0x14e> + 800738c: 6923 ldr r3, [r4, #16] + 800738e: 6861 ldr r1, [r4, #4] + 8007390: 4299 cmp r1, r3 + 8007392: bfde ittt le + 8007394: 2330 movle r3, #48 ; 0x30 + 8007396: f806 3c01 strble.w r3, [r6, #-1] + 800739a: f106 36ff addle.w r6, r6, #4294967295 ; 0xffffffff + 800739e: 1b92 subs r2, r2, r6 + 80073a0: 6122 str r2, [r4, #16] + 80073a2: 464b mov r3, r9 + 80073a4: 4621 mov r1, r4 + 80073a6: 4640 mov r0, r8 + 80073a8: f8cd a000 str.w sl, [sp] + 80073ac: aa03 add r2, sp, #12 + 80073ae: f7ff fedf bl 8007170 <_printf_common> + 80073b2: 3001 adds r0, #1 + 80073b4: d14c bne.n 8007450 <_printf_i+0x200> + 80073b6: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 80073ba: b004 add sp, #16 + 80073bc: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 80073c0: 4834 ldr r0, [pc, #208] ; (8007494 <_printf_i+0x244>) + 80073c2: f884 7045 strb.w r7, [r4, #69] ; 0x45 + 80073c6: 680e ldr r6, [r1, #0] + 80073c8: 6823 ldr r3, [r4, #0] + 80073ca: f856 5b04 ldr.w r5, [r6], #4 + 80073ce: 061f lsls r7, r3, #24 + 80073d0: 600e str r6, [r1, #0] + 80073d2: d514 bpl.n 80073fe <_printf_i+0x1ae> + 80073d4: 07d9 lsls r1, r3, #31 + 80073d6: bf44 itt mi + 80073d8: f043 0320 orrmi.w r3, r3, #32 + 80073dc: 6023 strmi r3, [r4, #0] + 80073de: b91d cbnz r5, 80073e8 <_printf_i+0x198> + 80073e0: 6823 ldr r3, [r4, #0] + 80073e2: f023 0320 bic.w r3, r3, #32 + 80073e6: 6023 str r3, [r4, #0] + 80073e8: 2310 movs r3, #16 + 80073ea: e7af b.n 800734c <_printf_i+0xfc> + 80073ec: 6823 ldr r3, [r4, #0] + 80073ee: f043 0320 orr.w r3, r3, #32 + 80073f2: 6023 str r3, [r4, #0] + 80073f4: 2378 movs r3, #120 ; 0x78 + 80073f6: 4828 ldr r0, [pc, #160] ; (8007498 <_printf_i+0x248>) + 80073f8: f884 3045 strb.w r3, [r4, #69] ; 0x45 + 80073fc: e7e3 b.n 80073c6 <_printf_i+0x176> + 80073fe: 065e lsls r6, r3, #25 + 8007400: bf48 it mi + 8007402: b2ad uxthmi r5, r5 + 8007404: e7e6 b.n 80073d4 <_printf_i+0x184> + 8007406: 4616 mov r6, r2 + 8007408: e7bb b.n 8007382 <_printf_i+0x132> + 800740a: 680b ldr r3, [r1, #0] + 800740c: 6826 ldr r6, [r4, #0] + 800740e: 1d1d adds r5, r3, #4 + 8007410: 6960 ldr r0, [r4, #20] + 8007412: 600d str r5, [r1, #0] + 8007414: 0635 lsls r5, r6, #24 + 8007416: 681b ldr r3, [r3, #0] + 8007418: d501 bpl.n 800741e <_printf_i+0x1ce> + 800741a: 6018 str r0, [r3, #0] + 800741c: e002 b.n 8007424 <_printf_i+0x1d4> + 800741e: 0671 lsls r1, r6, #25 + 8007420: d5fb bpl.n 800741a <_printf_i+0x1ca> + 8007422: 8018 strh r0, [r3, #0] + 8007424: 2300 movs r3, #0 + 8007426: 4616 mov r6, r2 + 8007428: 6123 str r3, [r4, #16] + 800742a: e7ba b.n 80073a2 <_printf_i+0x152> + 800742c: 680b ldr r3, [r1, #0] + 800742e: 1d1a adds r2, r3, #4 + 8007430: 600a str r2, [r1, #0] + 8007432: 681e ldr r6, [r3, #0] + 8007434: 2100 movs r1, #0 + 8007436: 4630 mov r0, r6 + 8007438: 6862 ldr r2, [r4, #4] + 800743a: f000 fedf bl 80081fc + 800743e: b108 cbz r0, 8007444 <_printf_i+0x1f4> + 8007440: 1b80 subs r0, r0, r6 + 8007442: 6060 str r0, [r4, #4] + 8007444: 6863 ldr r3, [r4, #4] + 8007446: 6123 str r3, [r4, #16] + 8007448: 2300 movs r3, #0 + 800744a: f884 3043 strb.w r3, [r4, #67] ; 0x43 + 800744e: e7a8 b.n 80073a2 <_printf_i+0x152> + 8007450: 4632 mov r2, r6 + 8007452: 4649 mov r1, r9 + 8007454: 4640 mov r0, r8 + 8007456: 6923 ldr r3, [r4, #16] + 8007458: 47d0 blx sl + 800745a: 3001 adds r0, #1 + 800745c: d0ab beq.n 80073b6 <_printf_i+0x166> + 800745e: 6823 ldr r3, [r4, #0] + 8007460: 079b lsls r3, r3, #30 + 8007462: d413 bmi.n 800748c <_printf_i+0x23c> + 8007464: 68e0 ldr r0, [r4, #12] + 8007466: 9b03 ldr r3, [sp, #12] + 8007468: 4298 cmp r0, r3 + 800746a: bfb8 it lt + 800746c: 4618 movlt r0, r3 + 800746e: e7a4 b.n 80073ba <_printf_i+0x16a> + 8007470: 2301 movs r3, #1 + 8007472: 4632 mov r2, r6 + 8007474: 4649 mov r1, r9 + 8007476: 4640 mov r0, r8 + 8007478: 47d0 blx sl + 800747a: 3001 adds r0, #1 + 800747c: d09b beq.n 80073b6 <_printf_i+0x166> + 800747e: 3501 adds r5, #1 + 8007480: 68e3 ldr r3, [r4, #12] + 8007482: 9903 ldr r1, [sp, #12] + 8007484: 1a5b subs r3, r3, r1 + 8007486: 42ab cmp r3, r5 + 8007488: dcf2 bgt.n 8007470 <_printf_i+0x220> + 800748a: e7eb b.n 8007464 <_printf_i+0x214> + 800748c: 2500 movs r5, #0 + 800748e: f104 0619 add.w r6, r4, #25 + 8007492: e7f5 b.n 8007480 <_printf_i+0x230> + 8007494: 0800a77e .word 0x0800a77e + 8007498: 0800a78f .word 0x0800a78f -080079a8 <__d2b>: - 80079a8: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} - 80079ac: 2101 movs r1, #1 - 80079ae: e9dd 7608 ldrd r7, r6, [sp, #32] - 80079b2: 4690 mov r8, r2 - 80079b4: 461d mov r5, r3 - 80079b6: f7ff fcd1 bl 800735c <_Balloc> - 80079ba: 4604 mov r4, r0 - 80079bc: b930 cbnz r0, 80079cc <__d2b+0x24> - 80079be: 4602 mov r2, r0 - 80079c0: f240 310a movw r1, #778 ; 0x30a - 80079c4: 4b24 ldr r3, [pc, #144] ; (8007a58 <__d2b+0xb0>) - 80079c6: 4825 ldr r0, [pc, #148] ; (8007a5c <__d2b+0xb4>) - 80079c8: f000 f9b4 bl 8007d34 <__assert_func> - 80079cc: f3c5 0313 ubfx r3, r5, #0, #20 - 80079d0: f3c5 550a ubfx r5, r5, #20, #11 - 80079d4: bb2d cbnz r5, 8007a22 <__d2b+0x7a> - 80079d6: 9301 str r3, [sp, #4] - 80079d8: f1b8 0300 subs.w r3, r8, #0 - 80079dc: d026 beq.n 8007a2c <__d2b+0x84> - 80079de: 4668 mov r0, sp - 80079e0: 9300 str r3, [sp, #0] - 80079e2: f7ff fd87 bl 80074f4 <__lo0bits> - 80079e6: 9900 ldr r1, [sp, #0] - 80079e8: b1f0 cbz r0, 8007a28 <__d2b+0x80> - 80079ea: 9a01 ldr r2, [sp, #4] - 80079ec: f1c0 0320 rsb r3, r0, #32 - 80079f0: fa02 f303 lsl.w r3, r2, r3 - 80079f4: 430b orrs r3, r1 - 80079f6: 40c2 lsrs r2, r0 - 80079f8: 6163 str r3, [r4, #20] - 80079fa: 9201 str r2, [sp, #4] - 80079fc: 9b01 ldr r3, [sp, #4] - 80079fe: 2b00 cmp r3, #0 - 8007a00: bf14 ite ne - 8007a02: 2102 movne r1, #2 - 8007a04: 2101 moveq r1, #1 - 8007a06: 61a3 str r3, [r4, #24] - 8007a08: 6121 str r1, [r4, #16] - 8007a0a: b1c5 cbz r5, 8007a3e <__d2b+0x96> - 8007a0c: f2a5 4533 subw r5, r5, #1075 ; 0x433 - 8007a10: 4405 add r5, r0 - 8007a12: f1c0 0035 rsb r0, r0, #53 ; 0x35 - 8007a16: 603d str r5, [r7, #0] - 8007a18: 6030 str r0, [r6, #0] - 8007a1a: 4620 mov r0, r4 - 8007a1c: b002 add sp, #8 - 8007a1e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 8007a22: f443 1380 orr.w r3, r3, #1048576 ; 0x100000 - 8007a26: e7d6 b.n 80079d6 <__d2b+0x2e> - 8007a28: 6161 str r1, [r4, #20] - 8007a2a: e7e7 b.n 80079fc <__d2b+0x54> - 8007a2c: a801 add r0, sp, #4 - 8007a2e: f7ff fd61 bl 80074f4 <__lo0bits> - 8007a32: 2101 movs r1, #1 - 8007a34: 9b01 ldr r3, [sp, #4] - 8007a36: 6121 str r1, [r4, #16] - 8007a38: 6163 str r3, [r4, #20] - 8007a3a: 3020 adds r0, #32 - 8007a3c: e7e5 b.n 8007a0a <__d2b+0x62> - 8007a3e: eb04 0381 add.w r3, r4, r1, lsl #2 - 8007a42: f2a0 4032 subw r0, r0, #1074 ; 0x432 - 8007a46: 6038 str r0, [r7, #0] - 8007a48: 6918 ldr r0, [r3, #16] - 8007a4a: f7ff fd33 bl 80074b4 <__hi0bits> - 8007a4e: ebc0 1141 rsb r1, r0, r1, lsl #5 - 8007a52: 6031 str r1, [r6, #0] - 8007a54: e7e1 b.n 8007a1a <__d2b+0x72> - 8007a56: bf00 nop - 8007a58: 08009503 .word 0x08009503 - 8007a5c: 08009514 .word 0x08009514 +0800749c <_sbrk_r>: + 800749c: b538 push {r3, r4, r5, lr} + 800749e: 2300 movs r3, #0 + 80074a0: 4d05 ldr r5, [pc, #20] ; (80074b8 <_sbrk_r+0x1c>) + 80074a2: 4604 mov r4, r0 + 80074a4: 4608 mov r0, r1 + 80074a6: 602b str r3, [r5, #0] + 80074a8: f7fa f9ea bl 8001880 <_sbrk> + 80074ac: 1c43 adds r3, r0, #1 + 80074ae: d102 bne.n 80074b6 <_sbrk_r+0x1a> + 80074b0: 682b ldr r3, [r5, #0] + 80074b2: b103 cbz r3, 80074b6 <_sbrk_r+0x1a> + 80074b4: 6023 str r3, [r4, #0] + 80074b6: bd38 pop {r3, r4, r5, pc} + 80074b8: 20002454 .word 0x20002454 -08007a60 <_calloc_r>: - 8007a60: b538 push {r3, r4, r5, lr} - 8007a62: fb02 f501 mul.w r5, r2, r1 - 8007a66: 4629 mov r1, r5 - 8007a68: f7fe f8e6 bl 8005c38 <_malloc_r> - 8007a6c: 4604 mov r4, r0 - 8007a6e: b118 cbz r0, 8007a78 <_calloc_r+0x18> - 8007a70: 462a mov r2, r5 - 8007a72: 2100 movs r1, #0 - 8007a74: f7fe f88c bl 8005b90 - 8007a78: 4620 mov r0, r4 - 8007a7a: bd38 pop {r3, r4, r5, pc} +080074bc : + 80074bc: b40e push {r1, r2, r3} + 80074be: f06f 4100 mvn.w r1, #2147483648 ; 0x80000000 + 80074c2: b500 push {lr} + 80074c4: b09c sub sp, #112 ; 0x70 + 80074c6: ab1d add r3, sp, #116 ; 0x74 + 80074c8: 9002 str r0, [sp, #8] + 80074ca: 9006 str r0, [sp, #24] + 80074cc: 9107 str r1, [sp, #28] + 80074ce: 9104 str r1, [sp, #16] + 80074d0: 4808 ldr r0, [pc, #32] ; (80074f4 ) + 80074d2: 4909 ldr r1, [pc, #36] ; (80074f8 ) + 80074d4: f853 2b04 ldr.w r2, [r3], #4 + 80074d8: 9105 str r1, [sp, #20] + 80074da: 6800 ldr r0, [r0, #0] + 80074dc: a902 add r1, sp, #8 + 80074de: 9301 str r3, [sp, #4] + 80074e0: f001 faa0 bl 8008a24 <_svfiprintf_r> + 80074e4: 2200 movs r2, #0 + 80074e6: 9b02 ldr r3, [sp, #8] + 80074e8: 701a strb r2, [r3, #0] + 80074ea: b01c add sp, #112 ; 0x70 + 80074ec: f85d eb04 ldr.w lr, [sp], #4 + 80074f0: b003 add sp, #12 + 80074f2: 4770 bx lr + 80074f4: 2000000c .word 0x2000000c + 80074f8: ffff0208 .word 0xffff0208 -08007a7c <__ssputs_r>: - 8007a7c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} - 8007a80: 688e ldr r6, [r1, #8] - 8007a82: 4682 mov sl, r0 - 8007a84: 429e cmp r6, r3 - 8007a86: 460c mov r4, r1 - 8007a88: 4690 mov r8, r2 - 8007a8a: 461f mov r7, r3 - 8007a8c: d838 bhi.n 8007b00 <__ssputs_r+0x84> - 8007a8e: 898a ldrh r2, [r1, #12] - 8007a90: f412 6f90 tst.w r2, #1152 ; 0x480 - 8007a94: d032 beq.n 8007afc <__ssputs_r+0x80> - 8007a96: 6825 ldr r5, [r4, #0] - 8007a98: 6909 ldr r1, [r1, #16] - 8007a9a: 3301 adds r3, #1 - 8007a9c: eba5 0901 sub.w r9, r5, r1 - 8007aa0: 6965 ldr r5, [r4, #20] - 8007aa2: 444b add r3, r9 - 8007aa4: eb05 0545 add.w r5, r5, r5, lsl #1 - 8007aa8: eb05 75d5 add.w r5, r5, r5, lsr #31 - 8007aac: 106d asrs r5, r5, #1 - 8007aae: 429d cmp r5, r3 - 8007ab0: bf38 it cc - 8007ab2: 461d movcc r5, r3 - 8007ab4: 0553 lsls r3, r2, #21 - 8007ab6: d531 bpl.n 8007b1c <__ssputs_r+0xa0> - 8007ab8: 4629 mov r1, r5 - 8007aba: f7fe f8bd bl 8005c38 <_malloc_r> - 8007abe: 4606 mov r6, r0 - 8007ac0: b950 cbnz r0, 8007ad8 <__ssputs_r+0x5c> - 8007ac2: 230c movs r3, #12 - 8007ac4: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 8007ac8: f8ca 3000 str.w r3, [sl] - 8007acc: 89a3 ldrh r3, [r4, #12] - 8007ace: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8007ad2: 81a3 strh r3, [r4, #12] - 8007ad4: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} - 8007ad8: 464a mov r2, r9 - 8007ada: 6921 ldr r1, [r4, #16] - 8007adc: f7ff fc24 bl 8007328 - 8007ae0: 89a3 ldrh r3, [r4, #12] - 8007ae2: f423 6390 bic.w r3, r3, #1152 ; 0x480 - 8007ae6: f043 0380 orr.w r3, r3, #128 ; 0x80 - 8007aea: 81a3 strh r3, [r4, #12] - 8007aec: 6126 str r6, [r4, #16] - 8007aee: 444e add r6, r9 - 8007af0: 6026 str r6, [r4, #0] - 8007af2: 463e mov r6, r7 - 8007af4: 6165 str r5, [r4, #20] - 8007af6: eba5 0509 sub.w r5, r5, r9 - 8007afa: 60a5 str r5, [r4, #8] - 8007afc: 42be cmp r6, r7 - 8007afe: d900 bls.n 8007b02 <__ssputs_r+0x86> - 8007b00: 463e mov r6, r7 - 8007b02: 4632 mov r2, r6 - 8007b04: 4641 mov r1, r8 - 8007b06: 6820 ldr r0, [r4, #0] - 8007b08: f000 f959 bl 8007dbe - 8007b0c: 68a3 ldr r3, [r4, #8] - 8007b0e: 6822 ldr r2, [r4, #0] - 8007b10: 1b9b subs r3, r3, r6 - 8007b12: 4432 add r2, r6 - 8007b14: 2000 movs r0, #0 - 8007b16: 60a3 str r3, [r4, #8] - 8007b18: 6022 str r2, [r4, #0] - 8007b1a: e7db b.n 8007ad4 <__ssputs_r+0x58> - 8007b1c: 462a mov r2, r5 - 8007b1e: f000 f968 bl 8007df2 <_realloc_r> - 8007b22: 4606 mov r6, r0 - 8007b24: 2800 cmp r0, #0 - 8007b26: d1e1 bne.n 8007aec <__ssputs_r+0x70> - 8007b28: 4650 mov r0, sl - 8007b2a: 6921 ldr r1, [r4, #16] - 8007b2c: f7fe f838 bl 8005ba0 <_free_r> - 8007b30: e7c7 b.n 8007ac2 <__ssputs_r+0x46> +080074fc : + 80074fc: e92d 4ff7 stmdb sp!, {r0, r1, r2, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8007500: 6903 ldr r3, [r0, #16] + 8007502: 690c ldr r4, [r1, #16] + 8007504: 4607 mov r7, r0 + 8007506: 42a3 cmp r3, r4 + 8007508: f2c0 8083 blt.w 8007612 + 800750c: 3c01 subs r4, #1 + 800750e: f100 0514 add.w r5, r0, #20 + 8007512: f101 0814 add.w r8, r1, #20 + 8007516: eb05 0384 add.w r3, r5, r4, lsl #2 + 800751a: 9301 str r3, [sp, #4] + 800751c: f858 3024 ldr.w r3, [r8, r4, lsl #2] + 8007520: f855 2024 ldr.w r2, [r5, r4, lsl #2] + 8007524: 3301 adds r3, #1 + 8007526: 429a cmp r2, r3 + 8007528: fbb2 f6f3 udiv r6, r2, r3 + 800752c: ea4f 0b84 mov.w fp, r4, lsl #2 + 8007530: eb08 0984 add.w r9, r8, r4, lsl #2 + 8007534: d332 bcc.n 800759c + 8007536: f04f 0e00 mov.w lr, #0 + 800753a: 4640 mov r0, r8 + 800753c: 46ac mov ip, r5 + 800753e: 46f2 mov sl, lr + 8007540: f850 2b04 ldr.w r2, [r0], #4 + 8007544: b293 uxth r3, r2 + 8007546: fb06 e303 mla r3, r6, r3, lr + 800754a: 0c12 lsrs r2, r2, #16 + 800754c: ea4f 4e13 mov.w lr, r3, lsr #16 + 8007550: fb06 e202 mla r2, r6, r2, lr + 8007554: b29b uxth r3, r3 + 8007556: ebaa 0303 sub.w r3, sl, r3 + 800755a: f8dc a000 ldr.w sl, [ip] + 800755e: ea4f 4e12 mov.w lr, r2, lsr #16 + 8007562: fa1f fa8a uxth.w sl, sl + 8007566: 4453 add r3, sl + 8007568: fa1f fa82 uxth.w sl, r2 + 800756c: f8dc 2000 ldr.w r2, [ip] + 8007570: 4581 cmp r9, r0 + 8007572: ebca 4212 rsb r2, sl, r2, lsr #16 + 8007576: eb02 4223 add.w r2, r2, r3, asr #16 + 800757a: b29b uxth r3, r3 + 800757c: ea43 4302 orr.w r3, r3, r2, lsl #16 + 8007580: ea4f 4a22 mov.w sl, r2, asr #16 + 8007584: f84c 3b04 str.w r3, [ip], #4 + 8007588: d2da bcs.n 8007540 + 800758a: f855 300b ldr.w r3, [r5, fp] + 800758e: b92b cbnz r3, 800759c + 8007590: 9b01 ldr r3, [sp, #4] + 8007592: 3b04 subs r3, #4 + 8007594: 429d cmp r5, r3 + 8007596: 461a mov r2, r3 + 8007598: d32f bcc.n 80075fa + 800759a: 613c str r4, [r7, #16] + 800759c: 4638 mov r0, r7 + 800759e: f001 f8cf bl 8008740 <__mcmp> + 80075a2: 2800 cmp r0, #0 + 80075a4: db25 blt.n 80075f2 + 80075a6: 4628 mov r0, r5 + 80075a8: f04f 0c00 mov.w ip, #0 + 80075ac: 3601 adds r6, #1 + 80075ae: f858 1b04 ldr.w r1, [r8], #4 + 80075b2: f8d0 e000 ldr.w lr, [r0] + 80075b6: b28b uxth r3, r1 + 80075b8: ebac 0303 sub.w r3, ip, r3 + 80075bc: fa1f f28e uxth.w r2, lr + 80075c0: 4413 add r3, r2 + 80075c2: 0c0a lsrs r2, r1, #16 + 80075c4: ebc2 421e rsb r2, r2, lr, lsr #16 + 80075c8: eb02 4223 add.w r2, r2, r3, asr #16 + 80075cc: b29b uxth r3, r3 + 80075ce: ea43 4302 orr.w r3, r3, r2, lsl #16 + 80075d2: 45c1 cmp r9, r8 + 80075d4: ea4f 4c22 mov.w ip, r2, asr #16 + 80075d8: f840 3b04 str.w r3, [r0], #4 + 80075dc: d2e7 bcs.n 80075ae + 80075de: f855 2024 ldr.w r2, [r5, r4, lsl #2] + 80075e2: eb05 0384 add.w r3, r5, r4, lsl #2 + 80075e6: b922 cbnz r2, 80075f2 + 80075e8: 3b04 subs r3, #4 + 80075ea: 429d cmp r5, r3 + 80075ec: 461a mov r2, r3 + 80075ee: d30a bcc.n 8007606 + 80075f0: 613c str r4, [r7, #16] + 80075f2: 4630 mov r0, r6 + 80075f4: b003 add sp, #12 + 80075f6: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80075fa: 6812 ldr r2, [r2, #0] + 80075fc: 3b04 subs r3, #4 + 80075fe: 2a00 cmp r2, #0 + 8007600: d1cb bne.n 800759a + 8007602: 3c01 subs r4, #1 + 8007604: e7c6 b.n 8007594 + 8007606: 6812 ldr r2, [r2, #0] + 8007608: 3b04 subs r3, #4 + 800760a: 2a00 cmp r2, #0 + 800760c: d1f0 bne.n 80075f0 + 800760e: 3c01 subs r4, #1 + 8007610: e7eb b.n 80075ea + 8007612: 2000 movs r0, #0 + 8007614: e7ee b.n 80075f4 ... -08007b34 <_svfiprintf_r>: - 8007b34: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8007b38: 4698 mov r8, r3 - 8007b3a: 898b ldrh r3, [r1, #12] - 8007b3c: 4607 mov r7, r0 - 8007b3e: 061b lsls r3, r3, #24 - 8007b40: 460d mov r5, r1 - 8007b42: 4614 mov r4, r2 - 8007b44: b09d sub sp, #116 ; 0x74 - 8007b46: d50e bpl.n 8007b66 <_svfiprintf_r+0x32> - 8007b48: 690b ldr r3, [r1, #16] - 8007b4a: b963 cbnz r3, 8007b66 <_svfiprintf_r+0x32> - 8007b4c: 2140 movs r1, #64 ; 0x40 - 8007b4e: f7fe f873 bl 8005c38 <_malloc_r> - 8007b52: 6028 str r0, [r5, #0] - 8007b54: 6128 str r0, [r5, #16] - 8007b56: b920 cbnz r0, 8007b62 <_svfiprintf_r+0x2e> - 8007b58: 230c movs r3, #12 - 8007b5a: 603b str r3, [r7, #0] - 8007b5c: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 8007b60: e0d1 b.n 8007d06 <_svfiprintf_r+0x1d2> - 8007b62: 2340 movs r3, #64 ; 0x40 - 8007b64: 616b str r3, [r5, #20] - 8007b66: 2300 movs r3, #0 - 8007b68: 9309 str r3, [sp, #36] ; 0x24 - 8007b6a: 2320 movs r3, #32 - 8007b6c: f88d 3029 strb.w r3, [sp, #41] ; 0x29 - 8007b70: 2330 movs r3, #48 ; 0x30 - 8007b72: f04f 0901 mov.w r9, #1 - 8007b76: f8cd 800c str.w r8, [sp, #12] - 8007b7a: f8df 81a4 ldr.w r8, [pc, #420] ; 8007d20 <_svfiprintf_r+0x1ec> - 8007b7e: f88d 302a strb.w r3, [sp, #42] ; 0x2a - 8007b82: 4623 mov r3, r4 - 8007b84: 469a mov sl, r3 - 8007b86: f813 2b01 ldrb.w r2, [r3], #1 - 8007b8a: b10a cbz r2, 8007b90 <_svfiprintf_r+0x5c> - 8007b8c: 2a25 cmp r2, #37 ; 0x25 - 8007b8e: d1f9 bne.n 8007b84 <_svfiprintf_r+0x50> - 8007b90: ebba 0b04 subs.w fp, sl, r4 - 8007b94: d00b beq.n 8007bae <_svfiprintf_r+0x7a> - 8007b96: 465b mov r3, fp - 8007b98: 4622 mov r2, r4 - 8007b9a: 4629 mov r1, r5 - 8007b9c: 4638 mov r0, r7 - 8007b9e: f7ff ff6d bl 8007a7c <__ssputs_r> - 8007ba2: 3001 adds r0, #1 - 8007ba4: f000 80aa beq.w 8007cfc <_svfiprintf_r+0x1c8> - 8007ba8: 9a09 ldr r2, [sp, #36] ; 0x24 - 8007baa: 445a add r2, fp - 8007bac: 9209 str r2, [sp, #36] ; 0x24 - 8007bae: f89a 3000 ldrb.w r3, [sl] - 8007bb2: 2b00 cmp r3, #0 - 8007bb4: f000 80a2 beq.w 8007cfc <_svfiprintf_r+0x1c8> - 8007bb8: 2300 movs r3, #0 - 8007bba: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff - 8007bbe: e9cd 2305 strd r2, r3, [sp, #20] - 8007bc2: f10a 0a01 add.w sl, sl, #1 - 8007bc6: 9304 str r3, [sp, #16] - 8007bc8: 9307 str r3, [sp, #28] - 8007bca: f88d 3053 strb.w r3, [sp, #83] ; 0x53 - 8007bce: 931a str r3, [sp, #104] ; 0x68 - 8007bd0: 4654 mov r4, sl - 8007bd2: 2205 movs r2, #5 - 8007bd4: f814 1b01 ldrb.w r1, [r4], #1 - 8007bd8: 4851 ldr r0, [pc, #324] ; (8007d20 <_svfiprintf_r+0x1ec>) - 8007bda: f7ff fb97 bl 800730c - 8007bde: 9a04 ldr r2, [sp, #16] - 8007be0: b9d8 cbnz r0, 8007c1a <_svfiprintf_r+0xe6> - 8007be2: 06d0 lsls r0, r2, #27 - 8007be4: bf44 itt mi - 8007be6: 2320 movmi r3, #32 - 8007be8: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 - 8007bec: 0711 lsls r1, r2, #28 - 8007bee: bf44 itt mi - 8007bf0: 232b movmi r3, #43 ; 0x2b - 8007bf2: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 - 8007bf6: f89a 3000 ldrb.w r3, [sl] - 8007bfa: 2b2a cmp r3, #42 ; 0x2a - 8007bfc: d015 beq.n 8007c2a <_svfiprintf_r+0xf6> - 8007bfe: 4654 mov r4, sl - 8007c00: 2000 movs r0, #0 - 8007c02: f04f 0c0a mov.w ip, #10 - 8007c06: 9a07 ldr r2, [sp, #28] - 8007c08: 4621 mov r1, r4 - 8007c0a: f811 3b01 ldrb.w r3, [r1], #1 - 8007c0e: 3b30 subs r3, #48 ; 0x30 - 8007c10: 2b09 cmp r3, #9 - 8007c12: d94e bls.n 8007cb2 <_svfiprintf_r+0x17e> - 8007c14: b1b0 cbz r0, 8007c44 <_svfiprintf_r+0x110> - 8007c16: 9207 str r2, [sp, #28] - 8007c18: e014 b.n 8007c44 <_svfiprintf_r+0x110> - 8007c1a: eba0 0308 sub.w r3, r0, r8 - 8007c1e: fa09 f303 lsl.w r3, r9, r3 - 8007c22: 4313 orrs r3, r2 - 8007c24: 46a2 mov sl, r4 - 8007c26: 9304 str r3, [sp, #16] - 8007c28: e7d2 b.n 8007bd0 <_svfiprintf_r+0x9c> - 8007c2a: 9b03 ldr r3, [sp, #12] - 8007c2c: 1d19 adds r1, r3, #4 - 8007c2e: 681b ldr r3, [r3, #0] - 8007c30: 9103 str r1, [sp, #12] - 8007c32: 2b00 cmp r3, #0 - 8007c34: bfbb ittet lt - 8007c36: 425b neglt r3, r3 - 8007c38: f042 0202 orrlt.w r2, r2, #2 - 8007c3c: 9307 strge r3, [sp, #28] - 8007c3e: 9307 strlt r3, [sp, #28] - 8007c40: bfb8 it lt - 8007c42: 9204 strlt r2, [sp, #16] - 8007c44: 7823 ldrb r3, [r4, #0] - 8007c46: 2b2e cmp r3, #46 ; 0x2e - 8007c48: d10c bne.n 8007c64 <_svfiprintf_r+0x130> - 8007c4a: 7863 ldrb r3, [r4, #1] - 8007c4c: 2b2a cmp r3, #42 ; 0x2a - 8007c4e: d135 bne.n 8007cbc <_svfiprintf_r+0x188> - 8007c50: 9b03 ldr r3, [sp, #12] - 8007c52: 3402 adds r4, #2 - 8007c54: 1d1a adds r2, r3, #4 - 8007c56: 681b ldr r3, [r3, #0] - 8007c58: 9203 str r2, [sp, #12] - 8007c5a: 2b00 cmp r3, #0 - 8007c5c: bfb8 it lt - 8007c5e: f04f 33ff movlt.w r3, #4294967295 ; 0xffffffff - 8007c62: 9305 str r3, [sp, #20] - 8007c64: f8df a0c8 ldr.w sl, [pc, #200] ; 8007d30 <_svfiprintf_r+0x1fc> - 8007c68: 2203 movs r2, #3 - 8007c6a: 4650 mov r0, sl - 8007c6c: 7821 ldrb r1, [r4, #0] - 8007c6e: f7ff fb4d bl 800730c - 8007c72: b140 cbz r0, 8007c86 <_svfiprintf_r+0x152> - 8007c74: 2340 movs r3, #64 ; 0x40 - 8007c76: eba0 000a sub.w r0, r0, sl - 8007c7a: fa03 f000 lsl.w r0, r3, r0 - 8007c7e: 9b04 ldr r3, [sp, #16] - 8007c80: 3401 adds r4, #1 - 8007c82: 4303 orrs r3, r0 - 8007c84: 9304 str r3, [sp, #16] - 8007c86: f814 1b01 ldrb.w r1, [r4], #1 - 8007c8a: 2206 movs r2, #6 - 8007c8c: 4825 ldr r0, [pc, #148] ; (8007d24 <_svfiprintf_r+0x1f0>) - 8007c8e: f88d 1028 strb.w r1, [sp, #40] ; 0x28 - 8007c92: f7ff fb3b bl 800730c - 8007c96: 2800 cmp r0, #0 - 8007c98: d038 beq.n 8007d0c <_svfiprintf_r+0x1d8> - 8007c9a: 4b23 ldr r3, [pc, #140] ; (8007d28 <_svfiprintf_r+0x1f4>) - 8007c9c: bb1b cbnz r3, 8007ce6 <_svfiprintf_r+0x1b2> - 8007c9e: 9b03 ldr r3, [sp, #12] - 8007ca0: 3307 adds r3, #7 - 8007ca2: f023 0307 bic.w r3, r3, #7 - 8007ca6: 3308 adds r3, #8 - 8007ca8: 9303 str r3, [sp, #12] - 8007caa: 9b09 ldr r3, [sp, #36] ; 0x24 - 8007cac: 4433 add r3, r6 - 8007cae: 9309 str r3, [sp, #36] ; 0x24 - 8007cb0: e767 b.n 8007b82 <_svfiprintf_r+0x4e> - 8007cb2: 460c mov r4, r1 - 8007cb4: 2001 movs r0, #1 - 8007cb6: fb0c 3202 mla r2, ip, r2, r3 - 8007cba: e7a5 b.n 8007c08 <_svfiprintf_r+0xd4> - 8007cbc: 2300 movs r3, #0 - 8007cbe: f04f 0c0a mov.w ip, #10 - 8007cc2: 4619 mov r1, r3 - 8007cc4: 3401 adds r4, #1 - 8007cc6: 9305 str r3, [sp, #20] - 8007cc8: 4620 mov r0, r4 - 8007cca: f810 2b01 ldrb.w r2, [r0], #1 - 8007cce: 3a30 subs r2, #48 ; 0x30 - 8007cd0: 2a09 cmp r2, #9 - 8007cd2: d903 bls.n 8007cdc <_svfiprintf_r+0x1a8> - 8007cd4: 2b00 cmp r3, #0 - 8007cd6: d0c5 beq.n 8007c64 <_svfiprintf_r+0x130> - 8007cd8: 9105 str r1, [sp, #20] - 8007cda: e7c3 b.n 8007c64 <_svfiprintf_r+0x130> - 8007cdc: 4604 mov r4, r0 - 8007cde: 2301 movs r3, #1 - 8007ce0: fb0c 2101 mla r1, ip, r1, r2 - 8007ce4: e7f0 b.n 8007cc8 <_svfiprintf_r+0x194> - 8007ce6: ab03 add r3, sp, #12 - 8007ce8: 9300 str r3, [sp, #0] - 8007cea: 462a mov r2, r5 - 8007cec: 4638 mov r0, r7 - 8007cee: 4b0f ldr r3, [pc, #60] ; (8007d2c <_svfiprintf_r+0x1f8>) - 8007cf0: a904 add r1, sp, #16 - 8007cf2: f7fe f899 bl 8005e28 <_printf_float> - 8007cf6: 1c42 adds r2, r0, #1 - 8007cf8: 4606 mov r6, r0 - 8007cfa: d1d6 bne.n 8007caa <_svfiprintf_r+0x176> - 8007cfc: 89ab ldrh r3, [r5, #12] - 8007cfe: 065b lsls r3, r3, #25 - 8007d00: f53f af2c bmi.w 8007b5c <_svfiprintf_r+0x28> - 8007d04: 9809 ldr r0, [sp, #36] ; 0x24 - 8007d06: b01d add sp, #116 ; 0x74 - 8007d08: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8007d0c: ab03 add r3, sp, #12 - 8007d0e: 9300 str r3, [sp, #0] - 8007d10: 462a mov r2, r5 - 8007d12: 4638 mov r0, r7 - 8007d14: 4b05 ldr r3, [pc, #20] ; (8007d2c <_svfiprintf_r+0x1f8>) - 8007d16: a904 add r1, sp, #16 - 8007d18: f7fe fb22 bl 8006360 <_printf_i> - 8007d1c: e7eb b.n 8007cf6 <_svfiprintf_r+0x1c2> - 8007d1e: bf00 nop - 8007d20: 08009674 .word 0x08009674 - 8007d24: 0800967e .word 0x0800967e - 8007d28: 08005e29 .word 0x08005e29 - 8007d2c: 08007a7d .word 0x08007a7d - 8007d30: 0800967a .word 0x0800967a +08007618 <_dtoa_r>: + 8007618: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800761c: 4616 mov r6, r2 + 800761e: 461f mov r7, r3 + 8007620: 6a44 ldr r4, [r0, #36] ; 0x24 + 8007622: b099 sub sp, #100 ; 0x64 + 8007624: 4605 mov r5, r0 + 8007626: e9cd 6704 strd r6, r7, [sp, #16] + 800762a: f8dd 8094 ldr.w r8, [sp, #148] ; 0x94 + 800762e: b974 cbnz r4, 800764e <_dtoa_r+0x36> + 8007630: 2010 movs r0, #16 + 8007632: f7ff fa15 bl 8006a60 + 8007636: 4602 mov r2, r0 + 8007638: 6268 str r0, [r5, #36] ; 0x24 + 800763a: b920 cbnz r0, 8007646 <_dtoa_r+0x2e> + 800763c: 21ea movs r1, #234 ; 0xea + 800763e: 4bae ldr r3, [pc, #696] ; (80078f8 <_dtoa_r+0x2e0>) + 8007640: 48ae ldr r0, [pc, #696] ; (80078fc <_dtoa_r+0x2e4>) + 8007642: f001 faef bl 8008c24 <__assert_func> + 8007646: e9c0 4401 strd r4, r4, [r0, #4] + 800764a: 6004 str r4, [r0, #0] + 800764c: 60c4 str r4, [r0, #12] + 800764e: 6a6b ldr r3, [r5, #36] ; 0x24 + 8007650: 6819 ldr r1, [r3, #0] + 8007652: b151 cbz r1, 800766a <_dtoa_r+0x52> + 8007654: 685a ldr r2, [r3, #4] + 8007656: 2301 movs r3, #1 + 8007658: 4093 lsls r3, r2 + 800765a: 604a str r2, [r1, #4] + 800765c: 608b str r3, [r1, #8] + 800765e: 4628 mov r0, r5 + 8007660: f000 fe34 bl 80082cc <_Bfree> + 8007664: 2200 movs r2, #0 + 8007666: 6a6b ldr r3, [r5, #36] ; 0x24 + 8007668: 601a str r2, [r3, #0] + 800766a: 1e3b subs r3, r7, #0 + 800766c: bfaf iteee ge + 800766e: 2300 movge r3, #0 + 8007670: 2201 movlt r2, #1 + 8007672: f023 4300 biclt.w r3, r3, #2147483648 ; 0x80000000 + 8007676: 9305 strlt r3, [sp, #20] + 8007678: bfa8 it ge + 800767a: f8c8 3000 strge.w r3, [r8] + 800767e: f8dd 9014 ldr.w r9, [sp, #20] + 8007682: 4b9f ldr r3, [pc, #636] ; (8007900 <_dtoa_r+0x2e8>) + 8007684: bfb8 it lt + 8007686: f8c8 2000 strlt.w r2, [r8] + 800768a: ea33 0309 bics.w r3, r3, r9 + 800768e: d119 bne.n 80076c4 <_dtoa_r+0xac> + 8007690: f242 730f movw r3, #9999 ; 0x270f + 8007694: 9a24 ldr r2, [sp, #144] ; 0x90 + 8007696: 6013 str r3, [r2, #0] + 8007698: f3c9 0313 ubfx r3, r9, #0, #20 + 800769c: 4333 orrs r3, r6 + 800769e: f000 8580 beq.w 80081a2 <_dtoa_r+0xb8a> + 80076a2: 9b26 ldr r3, [sp, #152] ; 0x98 + 80076a4: b953 cbnz r3, 80076bc <_dtoa_r+0xa4> + 80076a6: 4b97 ldr r3, [pc, #604] ; (8007904 <_dtoa_r+0x2ec>) + 80076a8: e022 b.n 80076f0 <_dtoa_r+0xd8> + 80076aa: 4b97 ldr r3, [pc, #604] ; (8007908 <_dtoa_r+0x2f0>) + 80076ac: 9308 str r3, [sp, #32] + 80076ae: 3308 adds r3, #8 + 80076b0: 9a26 ldr r2, [sp, #152] ; 0x98 + 80076b2: 6013 str r3, [r2, #0] + 80076b4: 9808 ldr r0, [sp, #32] + 80076b6: b019 add sp, #100 ; 0x64 + 80076b8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80076bc: 4b91 ldr r3, [pc, #580] ; (8007904 <_dtoa_r+0x2ec>) + 80076be: 9308 str r3, [sp, #32] + 80076c0: 3303 adds r3, #3 + 80076c2: e7f5 b.n 80076b0 <_dtoa_r+0x98> + 80076c4: e9dd 3404 ldrd r3, r4, [sp, #16] + 80076c8: e9cd 340c strd r3, r4, [sp, #48] ; 0x30 + 80076cc: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 + 80076d0: 2200 movs r2, #0 + 80076d2: 2300 movs r3, #0 + 80076d4: f7f9 f9d4 bl 8000a80 <__aeabi_dcmpeq> + 80076d8: 4680 mov r8, r0 + 80076da: b158 cbz r0, 80076f4 <_dtoa_r+0xdc> + 80076dc: 2301 movs r3, #1 + 80076de: 9a24 ldr r2, [sp, #144] ; 0x90 + 80076e0: 6013 str r3, [r2, #0] + 80076e2: 9b26 ldr r3, [sp, #152] ; 0x98 + 80076e4: 2b00 cmp r3, #0 + 80076e6: f000 8559 beq.w 800819c <_dtoa_r+0xb84> + 80076ea: 4888 ldr r0, [pc, #544] ; (800790c <_dtoa_r+0x2f4>) + 80076ec: 6018 str r0, [r3, #0] + 80076ee: 1e43 subs r3, r0, #1 + 80076f0: 9308 str r3, [sp, #32] + 80076f2: e7df b.n 80076b4 <_dtoa_r+0x9c> + 80076f4: ab16 add r3, sp, #88 ; 0x58 + 80076f6: 9301 str r3, [sp, #4] + 80076f8: ab17 add r3, sp, #92 ; 0x5c + 80076fa: 9300 str r3, [sp, #0] + 80076fc: 4628 mov r0, r5 + 80076fe: e9dd 230c ldrd r2, r3, [sp, #48] ; 0x30 + 8007702: f001 f8c9 bl 8008898 <__d2b> + 8007706: f3c9 540a ubfx r4, r9, #20, #11 + 800770a: 4682 mov sl, r0 + 800770c: 2c00 cmp r4, #0 + 800770e: d07e beq.n 800780e <_dtoa_r+0x1f6> + 8007710: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 + 8007714: 9b0d ldr r3, [sp, #52] ; 0x34 + 8007716: f2a4 34ff subw r4, r4, #1023 ; 0x3ff + 800771a: f3c3 0313 ubfx r3, r3, #0, #20 + 800771e: f043 517f orr.w r1, r3, #1069547520 ; 0x3fc00000 + 8007722: f441 1140 orr.w r1, r1, #3145728 ; 0x300000 + 8007726: f8cd 804c str.w r8, [sp, #76] ; 0x4c + 800772a: 2200 movs r2, #0 + 800772c: 4b78 ldr r3, [pc, #480] ; (8007910 <_dtoa_r+0x2f8>) + 800772e: f7f8 fd87 bl 8000240 <__aeabi_dsub> + 8007732: a36b add r3, pc, #428 ; (adr r3, 80078e0 <_dtoa_r+0x2c8>) + 8007734: e9d3 2300 ldrd r2, r3, [r3] + 8007738: f7f8 ff3a bl 80005b0 <__aeabi_dmul> + 800773c: a36a add r3, pc, #424 ; (adr r3, 80078e8 <_dtoa_r+0x2d0>) + 800773e: e9d3 2300 ldrd r2, r3, [r3] + 8007742: f7f8 fd7f bl 8000244 <__adddf3> + 8007746: 4606 mov r6, r0 + 8007748: 4620 mov r0, r4 + 800774a: 460f mov r7, r1 + 800774c: f7f8 fec6 bl 80004dc <__aeabi_i2d> + 8007750: a367 add r3, pc, #412 ; (adr r3, 80078f0 <_dtoa_r+0x2d8>) + 8007752: e9d3 2300 ldrd r2, r3, [r3] + 8007756: f7f8 ff2b bl 80005b0 <__aeabi_dmul> + 800775a: 4602 mov r2, r0 + 800775c: 460b mov r3, r1 + 800775e: 4630 mov r0, r6 + 8007760: 4639 mov r1, r7 + 8007762: f7f8 fd6f bl 8000244 <__adddf3> + 8007766: 4606 mov r6, r0 + 8007768: 460f mov r7, r1 + 800776a: f7f9 f9d1 bl 8000b10 <__aeabi_d2iz> + 800776e: 2200 movs r2, #0 + 8007770: 4681 mov r9, r0 + 8007772: 2300 movs r3, #0 + 8007774: 4630 mov r0, r6 + 8007776: 4639 mov r1, r7 + 8007778: f7f9 f98c bl 8000a94 <__aeabi_dcmplt> + 800777c: b148 cbz r0, 8007792 <_dtoa_r+0x17a> + 800777e: 4648 mov r0, r9 + 8007780: f7f8 feac bl 80004dc <__aeabi_i2d> + 8007784: 4632 mov r2, r6 + 8007786: 463b mov r3, r7 + 8007788: f7f9 f97a bl 8000a80 <__aeabi_dcmpeq> + 800778c: b908 cbnz r0, 8007792 <_dtoa_r+0x17a> + 800778e: f109 39ff add.w r9, r9, #4294967295 ; 0xffffffff + 8007792: f1b9 0f16 cmp.w r9, #22 + 8007796: d857 bhi.n 8007848 <_dtoa_r+0x230> + 8007798: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 + 800779c: 4b5d ldr r3, [pc, #372] ; (8007914 <_dtoa_r+0x2fc>) + 800779e: eb03 03c9 add.w r3, r3, r9, lsl #3 + 80077a2: e9d3 2300 ldrd r2, r3, [r3] + 80077a6: f7f9 f975 bl 8000a94 <__aeabi_dcmplt> + 80077aa: 2800 cmp r0, #0 + 80077ac: d04e beq.n 800784c <_dtoa_r+0x234> + 80077ae: 2300 movs r3, #0 + 80077b0: f109 39ff add.w r9, r9, #4294967295 ; 0xffffffff + 80077b4: 930f str r3, [sp, #60] ; 0x3c + 80077b6: 9b16 ldr r3, [sp, #88] ; 0x58 + 80077b8: 1b1c subs r4, r3, r4 + 80077ba: 1e63 subs r3, r4, #1 + 80077bc: 9309 str r3, [sp, #36] ; 0x24 + 80077be: bf49 itett mi + 80077c0: f1c4 0301 rsbmi r3, r4, #1 + 80077c4: 2300 movpl r3, #0 + 80077c6: 9306 strmi r3, [sp, #24] + 80077c8: 2300 movmi r3, #0 + 80077ca: bf54 ite pl + 80077cc: 9306 strpl r3, [sp, #24] + 80077ce: 9309 strmi r3, [sp, #36] ; 0x24 + 80077d0: f1b9 0f00 cmp.w r9, #0 + 80077d4: db3c blt.n 8007850 <_dtoa_r+0x238> + 80077d6: 9b09 ldr r3, [sp, #36] ; 0x24 + 80077d8: f8cd 9038 str.w r9, [sp, #56] ; 0x38 + 80077dc: 444b add r3, r9 + 80077de: 9309 str r3, [sp, #36] ; 0x24 + 80077e0: 2300 movs r3, #0 + 80077e2: 930a str r3, [sp, #40] ; 0x28 + 80077e4: 9b22 ldr r3, [sp, #136] ; 0x88 + 80077e6: 2b09 cmp r3, #9 + 80077e8: d86c bhi.n 80078c4 <_dtoa_r+0x2ac> + 80077ea: 2b05 cmp r3, #5 + 80077ec: bfc4 itt gt + 80077ee: 3b04 subgt r3, #4 + 80077f0: 9322 strgt r3, [sp, #136] ; 0x88 + 80077f2: 9b22 ldr r3, [sp, #136] ; 0x88 + 80077f4: bfc8 it gt + 80077f6: 2400 movgt r4, #0 + 80077f8: f1a3 0302 sub.w r3, r3, #2 + 80077fc: bfd8 it le + 80077fe: 2401 movle r4, #1 + 8007800: 2b03 cmp r3, #3 + 8007802: f200 808b bhi.w 800791c <_dtoa_r+0x304> + 8007806: e8df f003 tbb [pc, r3] + 800780a: 4f2d .short 0x4f2d + 800780c: 5b4d .short 0x5b4d + 800780e: e9dd 4316 ldrd r4, r3, [sp, #88] ; 0x58 + 8007812: 441c add r4, r3 + 8007814: f204 4332 addw r3, r4, #1074 ; 0x432 + 8007818: 2b20 cmp r3, #32 + 800781a: bfc3 ittte gt + 800781c: f1c3 0340 rsbgt r3, r3, #64 ; 0x40 + 8007820: f204 4012 addwgt r0, r4, #1042 ; 0x412 + 8007824: fa09 f303 lslgt.w r3, r9, r3 + 8007828: f1c3 0320 rsble r3, r3, #32 + 800782c: bfc6 itte gt + 800782e: fa26 f000 lsrgt.w r0, r6, r0 + 8007832: 4318 orrgt r0, r3 + 8007834: fa06 f003 lslle.w r0, r6, r3 + 8007838: f7f8 fe40 bl 80004bc <__aeabi_ui2d> + 800783c: 2301 movs r3, #1 + 800783e: f1a1 71f8 sub.w r1, r1, #32505856 ; 0x1f00000 + 8007842: 3c01 subs r4, #1 + 8007844: 9313 str r3, [sp, #76] ; 0x4c + 8007846: e770 b.n 800772a <_dtoa_r+0x112> + 8007848: 2301 movs r3, #1 + 800784a: e7b3 b.n 80077b4 <_dtoa_r+0x19c> + 800784c: 900f str r0, [sp, #60] ; 0x3c + 800784e: e7b2 b.n 80077b6 <_dtoa_r+0x19e> + 8007850: 9b06 ldr r3, [sp, #24] + 8007852: eba3 0309 sub.w r3, r3, r9 + 8007856: 9306 str r3, [sp, #24] + 8007858: f1c9 0300 rsb r3, r9, #0 + 800785c: 930a str r3, [sp, #40] ; 0x28 + 800785e: 2300 movs r3, #0 + 8007860: 930e str r3, [sp, #56] ; 0x38 + 8007862: e7bf b.n 80077e4 <_dtoa_r+0x1cc> + 8007864: 2300 movs r3, #0 + 8007866: 930b str r3, [sp, #44] ; 0x2c + 8007868: 9b23 ldr r3, [sp, #140] ; 0x8c + 800786a: 2b00 cmp r3, #0 + 800786c: dc59 bgt.n 8007922 <_dtoa_r+0x30a> + 800786e: f04f 0b01 mov.w fp, #1 + 8007872: 465b mov r3, fp + 8007874: f8cd b008 str.w fp, [sp, #8] + 8007878: f8cd b08c str.w fp, [sp, #140] ; 0x8c + 800787c: 2200 movs r2, #0 + 800787e: 6a68 ldr r0, [r5, #36] ; 0x24 + 8007880: 6042 str r2, [r0, #4] + 8007882: 2204 movs r2, #4 + 8007884: f102 0614 add.w r6, r2, #20 + 8007888: 429e cmp r6, r3 + 800788a: 6841 ldr r1, [r0, #4] + 800788c: d94f bls.n 800792e <_dtoa_r+0x316> + 800788e: 4628 mov r0, r5 + 8007890: f000 fcdc bl 800824c <_Balloc> + 8007894: 9008 str r0, [sp, #32] + 8007896: 2800 cmp r0, #0 + 8007898: d14d bne.n 8007936 <_dtoa_r+0x31e> + 800789a: 4602 mov r2, r0 + 800789c: f44f 71d5 mov.w r1, #426 ; 0x1aa + 80078a0: 4b1d ldr r3, [pc, #116] ; (8007918 <_dtoa_r+0x300>) + 80078a2: e6cd b.n 8007640 <_dtoa_r+0x28> + 80078a4: 2301 movs r3, #1 + 80078a6: e7de b.n 8007866 <_dtoa_r+0x24e> + 80078a8: 2300 movs r3, #0 + 80078aa: 930b str r3, [sp, #44] ; 0x2c + 80078ac: 9b23 ldr r3, [sp, #140] ; 0x8c + 80078ae: eb09 0b03 add.w fp, r9, r3 + 80078b2: f10b 0301 add.w r3, fp, #1 + 80078b6: 2b01 cmp r3, #1 + 80078b8: 9302 str r3, [sp, #8] + 80078ba: bfb8 it lt + 80078bc: 2301 movlt r3, #1 + 80078be: e7dd b.n 800787c <_dtoa_r+0x264> + 80078c0: 2301 movs r3, #1 + 80078c2: e7f2 b.n 80078aa <_dtoa_r+0x292> + 80078c4: 2401 movs r4, #1 + 80078c6: 2300 movs r3, #0 + 80078c8: 940b str r4, [sp, #44] ; 0x2c + 80078ca: 9322 str r3, [sp, #136] ; 0x88 + 80078cc: f04f 3bff mov.w fp, #4294967295 ; 0xffffffff + 80078d0: 2200 movs r2, #0 + 80078d2: 2312 movs r3, #18 + 80078d4: f8cd b008 str.w fp, [sp, #8] + 80078d8: 9223 str r2, [sp, #140] ; 0x8c + 80078da: e7cf b.n 800787c <_dtoa_r+0x264> + 80078dc: f3af 8000 nop.w + 80078e0: 636f4361 .word 0x636f4361 + 80078e4: 3fd287a7 .word 0x3fd287a7 + 80078e8: 8b60c8b3 .word 0x8b60c8b3 + 80078ec: 3fc68a28 .word 0x3fc68a28 + 80078f0: 509f79fb .word 0x509f79fb + 80078f4: 3fd34413 .word 0x3fd34413 + 80078f8: 0800a7ad .word 0x0800a7ad + 80078fc: 0800a7c4 .word 0x0800a7c4 + 8007900: 7ff00000 .word 0x7ff00000 + 8007904: 0800a7a9 .word 0x0800a7a9 + 8007908: 0800a7a0 .word 0x0800a7a0 + 800790c: 0800a77d .word 0x0800a77d + 8007910: 3ff80000 .word 0x3ff80000 + 8007914: 0800a8c0 .word 0x0800a8c0 + 8007918: 0800a823 .word 0x0800a823 + 800791c: 2301 movs r3, #1 + 800791e: 930b str r3, [sp, #44] ; 0x2c + 8007920: e7d4 b.n 80078cc <_dtoa_r+0x2b4> + 8007922: f8dd b08c ldr.w fp, [sp, #140] ; 0x8c + 8007926: 465b mov r3, fp + 8007928: f8cd b008 str.w fp, [sp, #8] + 800792c: e7a6 b.n 800787c <_dtoa_r+0x264> + 800792e: 3101 adds r1, #1 + 8007930: 6041 str r1, [r0, #4] + 8007932: 0052 lsls r2, r2, #1 + 8007934: e7a6 b.n 8007884 <_dtoa_r+0x26c> + 8007936: 6a6b ldr r3, [r5, #36] ; 0x24 + 8007938: 9a08 ldr r2, [sp, #32] + 800793a: 601a str r2, [r3, #0] + 800793c: 9b02 ldr r3, [sp, #8] + 800793e: 2b0e cmp r3, #14 + 8007940: f200 80a8 bhi.w 8007a94 <_dtoa_r+0x47c> + 8007944: 2c00 cmp r4, #0 + 8007946: f000 80a5 beq.w 8007a94 <_dtoa_r+0x47c> + 800794a: f1b9 0f00 cmp.w r9, #0 + 800794e: dd34 ble.n 80079ba <_dtoa_r+0x3a2> + 8007950: 4a9a ldr r2, [pc, #616] ; (8007bbc <_dtoa_r+0x5a4>) + 8007952: f009 030f and.w r3, r9, #15 + 8007956: eb02 03c3 add.w r3, r2, r3, lsl #3 + 800795a: f419 7f80 tst.w r9, #256 ; 0x100 + 800795e: e9d3 3400 ldrd r3, r4, [r3] + 8007962: e9cd 3410 strd r3, r4, [sp, #64] ; 0x40 + 8007966: ea4f 1429 mov.w r4, r9, asr #4 + 800796a: d016 beq.n 800799a <_dtoa_r+0x382> + 800796c: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 + 8007970: 4b93 ldr r3, [pc, #588] ; (8007bc0 <_dtoa_r+0x5a8>) + 8007972: 2703 movs r7, #3 + 8007974: e9d3 2308 ldrd r2, r3, [r3, #32] + 8007978: f7f8 ff44 bl 8000804 <__aeabi_ddiv> + 800797c: e9cd 0104 strd r0, r1, [sp, #16] + 8007980: f004 040f and.w r4, r4, #15 + 8007984: 4e8e ldr r6, [pc, #568] ; (8007bc0 <_dtoa_r+0x5a8>) + 8007986: b954 cbnz r4, 800799e <_dtoa_r+0x386> + 8007988: e9dd 2310 ldrd r2, r3, [sp, #64] ; 0x40 + 800798c: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007990: f7f8 ff38 bl 8000804 <__aeabi_ddiv> + 8007994: e9cd 0104 strd r0, r1, [sp, #16] + 8007998: e029 b.n 80079ee <_dtoa_r+0x3d6> + 800799a: 2702 movs r7, #2 + 800799c: e7f2 b.n 8007984 <_dtoa_r+0x36c> + 800799e: 07e1 lsls r1, r4, #31 + 80079a0: d508 bpl.n 80079b4 <_dtoa_r+0x39c> + 80079a2: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 + 80079a6: e9d6 2300 ldrd r2, r3, [r6] + 80079aa: f7f8 fe01 bl 80005b0 <__aeabi_dmul> + 80079ae: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 + 80079b2: 3701 adds r7, #1 + 80079b4: 1064 asrs r4, r4, #1 + 80079b6: 3608 adds r6, #8 + 80079b8: e7e5 b.n 8007986 <_dtoa_r+0x36e> + 80079ba: f000 80a5 beq.w 8007b08 <_dtoa_r+0x4f0> + 80079be: e9dd 010c ldrd r0, r1, [sp, #48] ; 0x30 + 80079c2: f1c9 0400 rsb r4, r9, #0 + 80079c6: 4b7d ldr r3, [pc, #500] ; (8007bbc <_dtoa_r+0x5a4>) + 80079c8: f004 020f and.w r2, r4, #15 + 80079cc: eb03 03c2 add.w r3, r3, r2, lsl #3 + 80079d0: e9d3 2300 ldrd r2, r3, [r3] + 80079d4: f7f8 fdec bl 80005b0 <__aeabi_dmul> + 80079d8: 2702 movs r7, #2 + 80079da: 2300 movs r3, #0 + 80079dc: e9cd 0104 strd r0, r1, [sp, #16] + 80079e0: 4e77 ldr r6, [pc, #476] ; (8007bc0 <_dtoa_r+0x5a8>) + 80079e2: 1124 asrs r4, r4, #4 + 80079e4: 2c00 cmp r4, #0 + 80079e6: f040 8084 bne.w 8007af2 <_dtoa_r+0x4da> + 80079ea: 2b00 cmp r3, #0 + 80079ec: d1d2 bne.n 8007994 <_dtoa_r+0x37c> + 80079ee: 9b0f ldr r3, [sp, #60] ; 0x3c + 80079f0: 2b00 cmp r3, #0 + 80079f2: f000 808b beq.w 8007b0c <_dtoa_r+0x4f4> + 80079f6: e9dd 3404 ldrd r3, r4, [sp, #16] + 80079fa: e9cd 3410 strd r3, r4, [sp, #64] ; 0x40 + 80079fe: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 + 8007a02: 2200 movs r2, #0 + 8007a04: 4b6f ldr r3, [pc, #444] ; (8007bc4 <_dtoa_r+0x5ac>) + 8007a06: f7f9 f845 bl 8000a94 <__aeabi_dcmplt> + 8007a0a: 2800 cmp r0, #0 + 8007a0c: d07e beq.n 8007b0c <_dtoa_r+0x4f4> + 8007a0e: 9b02 ldr r3, [sp, #8] + 8007a10: 2b00 cmp r3, #0 + 8007a12: d07b beq.n 8007b0c <_dtoa_r+0x4f4> + 8007a14: f1bb 0f00 cmp.w fp, #0 + 8007a18: dd38 ble.n 8007a8c <_dtoa_r+0x474> + 8007a1a: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 + 8007a1e: 2200 movs r2, #0 + 8007a20: 4b69 ldr r3, [pc, #420] ; (8007bc8 <_dtoa_r+0x5b0>) + 8007a22: f7f8 fdc5 bl 80005b0 <__aeabi_dmul> + 8007a26: 465c mov r4, fp + 8007a28: e9cd 0104 strd r0, r1, [sp, #16] + 8007a2c: f109 38ff add.w r8, r9, #4294967295 ; 0xffffffff + 8007a30: 3701 adds r7, #1 + 8007a32: 4638 mov r0, r7 + 8007a34: f7f8 fd52 bl 80004dc <__aeabi_i2d> + 8007a38: e9dd 2304 ldrd r2, r3, [sp, #16] + 8007a3c: f7f8 fdb8 bl 80005b0 <__aeabi_dmul> + 8007a40: 2200 movs r2, #0 + 8007a42: 4b62 ldr r3, [pc, #392] ; (8007bcc <_dtoa_r+0x5b4>) + 8007a44: f7f8 fbfe bl 8000244 <__adddf3> + 8007a48: f1a1 7650 sub.w r6, r1, #54525952 ; 0x3400000 + 8007a4c: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 + 8007a50: 9611 str r6, [sp, #68] ; 0x44 + 8007a52: 2c00 cmp r4, #0 + 8007a54: d15d bne.n 8007b12 <_dtoa_r+0x4fa> + 8007a56: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007a5a: 2200 movs r2, #0 + 8007a5c: 4b5c ldr r3, [pc, #368] ; (8007bd0 <_dtoa_r+0x5b8>) + 8007a5e: f7f8 fbef bl 8000240 <__aeabi_dsub> + 8007a62: 4602 mov r2, r0 + 8007a64: 460b mov r3, r1 + 8007a66: e9cd 2304 strd r2, r3, [sp, #16] + 8007a6a: 4633 mov r3, r6 + 8007a6c: 9a10 ldr r2, [sp, #64] ; 0x40 + 8007a6e: f7f9 f82f bl 8000ad0 <__aeabi_dcmpgt> + 8007a72: 2800 cmp r0, #0 + 8007a74: f040 829e bne.w 8007fb4 <_dtoa_r+0x99c> + 8007a78: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007a7c: 9a10 ldr r2, [sp, #64] ; 0x40 + 8007a7e: f106 4300 add.w r3, r6, #2147483648 ; 0x80000000 + 8007a82: f7f9 f807 bl 8000a94 <__aeabi_dcmplt> + 8007a86: 2800 cmp r0, #0 + 8007a88: f040 8292 bne.w 8007fb0 <_dtoa_r+0x998> + 8007a8c: e9dd 340c ldrd r3, r4, [sp, #48] ; 0x30 + 8007a90: e9cd 3404 strd r3, r4, [sp, #16] + 8007a94: 9b17 ldr r3, [sp, #92] ; 0x5c + 8007a96: 2b00 cmp r3, #0 + 8007a98: f2c0 8153 blt.w 8007d42 <_dtoa_r+0x72a> + 8007a9c: f1b9 0f0e cmp.w r9, #14 + 8007aa0: f300 814f bgt.w 8007d42 <_dtoa_r+0x72a> + 8007aa4: 4b45 ldr r3, [pc, #276] ; (8007bbc <_dtoa_r+0x5a4>) + 8007aa6: eb03 03c9 add.w r3, r3, r9, lsl #3 + 8007aaa: e9d3 3400 ldrd r3, r4, [r3] + 8007aae: e9cd 3406 strd r3, r4, [sp, #24] + 8007ab2: 9b23 ldr r3, [sp, #140] ; 0x8c + 8007ab4: 2b00 cmp r3, #0 + 8007ab6: f280 80db bge.w 8007c70 <_dtoa_r+0x658> + 8007aba: 9b02 ldr r3, [sp, #8] + 8007abc: 2b00 cmp r3, #0 + 8007abe: f300 80d7 bgt.w 8007c70 <_dtoa_r+0x658> + 8007ac2: f040 8274 bne.w 8007fae <_dtoa_r+0x996> + 8007ac6: e9dd 0106 ldrd r0, r1, [sp, #24] + 8007aca: 2200 movs r2, #0 + 8007acc: 4b40 ldr r3, [pc, #256] ; (8007bd0 <_dtoa_r+0x5b8>) + 8007ace: f7f8 fd6f bl 80005b0 <__aeabi_dmul> + 8007ad2: e9dd 2304 ldrd r2, r3, [sp, #16] + 8007ad6: f7f8 fff1 bl 8000abc <__aeabi_dcmpge> + 8007ada: 9c02 ldr r4, [sp, #8] + 8007adc: 4626 mov r6, r4 + 8007ade: 2800 cmp r0, #0 + 8007ae0: f040 824a bne.w 8007f78 <_dtoa_r+0x960> + 8007ae4: 2331 movs r3, #49 ; 0x31 + 8007ae6: 9f08 ldr r7, [sp, #32] + 8007ae8: f109 0901 add.w r9, r9, #1 + 8007aec: f807 3b01 strb.w r3, [r7], #1 + 8007af0: e246 b.n 8007f80 <_dtoa_r+0x968> + 8007af2: 07e2 lsls r2, r4, #31 + 8007af4: d505 bpl.n 8007b02 <_dtoa_r+0x4ea> + 8007af6: e9d6 2300 ldrd r2, r3, [r6] + 8007afa: f7f8 fd59 bl 80005b0 <__aeabi_dmul> + 8007afe: 2301 movs r3, #1 + 8007b00: 3701 adds r7, #1 + 8007b02: 1064 asrs r4, r4, #1 + 8007b04: 3608 adds r6, #8 + 8007b06: e76d b.n 80079e4 <_dtoa_r+0x3cc> + 8007b08: 2702 movs r7, #2 + 8007b0a: e770 b.n 80079ee <_dtoa_r+0x3d6> + 8007b0c: 46c8 mov r8, r9 + 8007b0e: 9c02 ldr r4, [sp, #8] + 8007b10: e78f b.n 8007a32 <_dtoa_r+0x41a> + 8007b12: 9908 ldr r1, [sp, #32] + 8007b14: 4b29 ldr r3, [pc, #164] ; (8007bbc <_dtoa_r+0x5a4>) + 8007b16: 4421 add r1, r4 + 8007b18: 9112 str r1, [sp, #72] ; 0x48 + 8007b1a: 990b ldr r1, [sp, #44] ; 0x2c + 8007b1c: eb03 03c4 add.w r3, r3, r4, lsl #3 + 8007b20: e9dd 6710 ldrd r6, r7, [sp, #64] ; 0x40 + 8007b24: e953 2302 ldrd r2, r3, [r3, #-8] + 8007b28: 2900 cmp r1, #0 + 8007b2a: d055 beq.n 8007bd8 <_dtoa_r+0x5c0> + 8007b2c: 2000 movs r0, #0 + 8007b2e: 4929 ldr r1, [pc, #164] ; (8007bd4 <_dtoa_r+0x5bc>) + 8007b30: f7f8 fe68 bl 8000804 <__aeabi_ddiv> + 8007b34: 463b mov r3, r7 + 8007b36: 4632 mov r2, r6 + 8007b38: f7f8 fb82 bl 8000240 <__aeabi_dsub> + 8007b3c: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 + 8007b40: 9f08 ldr r7, [sp, #32] + 8007b42: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007b46: f7f8 ffe3 bl 8000b10 <__aeabi_d2iz> + 8007b4a: 4604 mov r4, r0 + 8007b4c: f7f8 fcc6 bl 80004dc <__aeabi_i2d> + 8007b50: 4602 mov r2, r0 + 8007b52: 460b mov r3, r1 + 8007b54: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007b58: f7f8 fb72 bl 8000240 <__aeabi_dsub> + 8007b5c: 4602 mov r2, r0 + 8007b5e: 460b mov r3, r1 + 8007b60: 3430 adds r4, #48 ; 0x30 + 8007b62: e9cd 2304 strd r2, r3, [sp, #16] + 8007b66: e9dd 2310 ldrd r2, r3, [sp, #64] ; 0x40 + 8007b6a: f807 4b01 strb.w r4, [r7], #1 + 8007b6e: f7f8 ff91 bl 8000a94 <__aeabi_dcmplt> + 8007b72: 2800 cmp r0, #0 + 8007b74: d174 bne.n 8007c60 <_dtoa_r+0x648> + 8007b76: e9dd 2304 ldrd r2, r3, [sp, #16] + 8007b7a: 2000 movs r0, #0 + 8007b7c: 4911 ldr r1, [pc, #68] ; (8007bc4 <_dtoa_r+0x5ac>) + 8007b7e: f7f8 fb5f bl 8000240 <__aeabi_dsub> + 8007b82: e9dd 2310 ldrd r2, r3, [sp, #64] ; 0x40 + 8007b86: f7f8 ff85 bl 8000a94 <__aeabi_dcmplt> + 8007b8a: 2800 cmp r0, #0 + 8007b8c: f040 80b6 bne.w 8007cfc <_dtoa_r+0x6e4> + 8007b90: 9b12 ldr r3, [sp, #72] ; 0x48 + 8007b92: 429f cmp r7, r3 + 8007b94: f43f af7a beq.w 8007a8c <_dtoa_r+0x474> + 8007b98: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 + 8007b9c: 2200 movs r2, #0 + 8007b9e: 4b0a ldr r3, [pc, #40] ; (8007bc8 <_dtoa_r+0x5b0>) + 8007ba0: f7f8 fd06 bl 80005b0 <__aeabi_dmul> + 8007ba4: 2200 movs r2, #0 + 8007ba6: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 + 8007baa: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007bae: 4b06 ldr r3, [pc, #24] ; (8007bc8 <_dtoa_r+0x5b0>) + 8007bb0: f7f8 fcfe bl 80005b0 <__aeabi_dmul> + 8007bb4: e9cd 0104 strd r0, r1, [sp, #16] + 8007bb8: e7c3 b.n 8007b42 <_dtoa_r+0x52a> + 8007bba: bf00 nop + 8007bbc: 0800a8c0 .word 0x0800a8c0 + 8007bc0: 0800a898 .word 0x0800a898 + 8007bc4: 3ff00000 .word 0x3ff00000 + 8007bc8: 40240000 .word 0x40240000 + 8007bcc: 401c0000 .word 0x401c0000 + 8007bd0: 40140000 .word 0x40140000 + 8007bd4: 3fe00000 .word 0x3fe00000 + 8007bd8: 4630 mov r0, r6 + 8007bda: 4639 mov r1, r7 + 8007bdc: f7f8 fce8 bl 80005b0 <__aeabi_dmul> + 8007be0: 9b12 ldr r3, [sp, #72] ; 0x48 + 8007be2: e9cd 0110 strd r0, r1, [sp, #64] ; 0x40 + 8007be6: 9c08 ldr r4, [sp, #32] + 8007be8: 9314 str r3, [sp, #80] ; 0x50 + 8007bea: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007bee: f7f8 ff8f bl 8000b10 <__aeabi_d2iz> + 8007bf2: 9015 str r0, [sp, #84] ; 0x54 + 8007bf4: f7f8 fc72 bl 80004dc <__aeabi_i2d> + 8007bf8: 4602 mov r2, r0 + 8007bfa: 460b mov r3, r1 + 8007bfc: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007c00: f7f8 fb1e bl 8000240 <__aeabi_dsub> + 8007c04: 9b15 ldr r3, [sp, #84] ; 0x54 + 8007c06: 4606 mov r6, r0 + 8007c08: 3330 adds r3, #48 ; 0x30 + 8007c0a: f804 3b01 strb.w r3, [r4], #1 + 8007c0e: 9b12 ldr r3, [sp, #72] ; 0x48 + 8007c10: 460f mov r7, r1 + 8007c12: 429c cmp r4, r3 + 8007c14: f04f 0200 mov.w r2, #0 + 8007c18: d124 bne.n 8007c64 <_dtoa_r+0x64c> + 8007c1a: e9dd 0110 ldrd r0, r1, [sp, #64] ; 0x40 + 8007c1e: 4bb3 ldr r3, [pc, #716] ; (8007eec <_dtoa_r+0x8d4>) + 8007c20: f7f8 fb10 bl 8000244 <__adddf3> + 8007c24: 4602 mov r2, r0 + 8007c26: 460b mov r3, r1 + 8007c28: 4630 mov r0, r6 + 8007c2a: 4639 mov r1, r7 + 8007c2c: f7f8 ff50 bl 8000ad0 <__aeabi_dcmpgt> + 8007c30: 2800 cmp r0, #0 + 8007c32: d162 bne.n 8007cfa <_dtoa_r+0x6e2> + 8007c34: e9dd 2310 ldrd r2, r3, [sp, #64] ; 0x40 + 8007c38: 2000 movs r0, #0 + 8007c3a: 49ac ldr r1, [pc, #688] ; (8007eec <_dtoa_r+0x8d4>) + 8007c3c: f7f8 fb00 bl 8000240 <__aeabi_dsub> + 8007c40: 4602 mov r2, r0 + 8007c42: 460b mov r3, r1 + 8007c44: 4630 mov r0, r6 + 8007c46: 4639 mov r1, r7 + 8007c48: f7f8 ff24 bl 8000a94 <__aeabi_dcmplt> + 8007c4c: 2800 cmp r0, #0 + 8007c4e: f43f af1d beq.w 8007a8c <_dtoa_r+0x474> + 8007c52: 9f14 ldr r7, [sp, #80] ; 0x50 + 8007c54: 1e7b subs r3, r7, #1 + 8007c56: 9314 str r3, [sp, #80] ; 0x50 + 8007c58: f817 3c01 ldrb.w r3, [r7, #-1] + 8007c5c: 2b30 cmp r3, #48 ; 0x30 + 8007c5e: d0f8 beq.n 8007c52 <_dtoa_r+0x63a> + 8007c60: 46c1 mov r9, r8 + 8007c62: e03a b.n 8007cda <_dtoa_r+0x6c2> + 8007c64: 4ba2 ldr r3, [pc, #648] ; (8007ef0 <_dtoa_r+0x8d8>) + 8007c66: f7f8 fca3 bl 80005b0 <__aeabi_dmul> + 8007c6a: e9cd 0104 strd r0, r1, [sp, #16] + 8007c6e: e7bc b.n 8007bea <_dtoa_r+0x5d2> + 8007c70: 9f08 ldr r7, [sp, #32] + 8007c72: e9dd 2306 ldrd r2, r3, [sp, #24] + 8007c76: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007c7a: f7f8 fdc3 bl 8000804 <__aeabi_ddiv> + 8007c7e: f7f8 ff47 bl 8000b10 <__aeabi_d2iz> + 8007c82: 4604 mov r4, r0 + 8007c84: f7f8 fc2a bl 80004dc <__aeabi_i2d> + 8007c88: e9dd 2306 ldrd r2, r3, [sp, #24] + 8007c8c: f7f8 fc90 bl 80005b0 <__aeabi_dmul> + 8007c90: f104 0630 add.w r6, r4, #48 ; 0x30 + 8007c94: 460b mov r3, r1 + 8007c96: 4602 mov r2, r0 + 8007c98: e9dd 0104 ldrd r0, r1, [sp, #16] + 8007c9c: f7f8 fad0 bl 8000240 <__aeabi_dsub> + 8007ca0: f807 6b01 strb.w r6, [r7], #1 + 8007ca4: 9e08 ldr r6, [sp, #32] + 8007ca6: 9b02 ldr r3, [sp, #8] + 8007ca8: 1bbe subs r6, r7, r6 + 8007caa: 42b3 cmp r3, r6 + 8007cac: d13a bne.n 8007d24 <_dtoa_r+0x70c> + 8007cae: 4602 mov r2, r0 + 8007cb0: 460b mov r3, r1 + 8007cb2: f7f8 fac7 bl 8000244 <__adddf3> + 8007cb6: 4602 mov r2, r0 + 8007cb8: 460b mov r3, r1 + 8007cba: e9cd 2302 strd r2, r3, [sp, #8] + 8007cbe: e9dd 2306 ldrd r2, r3, [sp, #24] + 8007cc2: f7f8 ff05 bl 8000ad0 <__aeabi_dcmpgt> + 8007cc6: bb58 cbnz r0, 8007d20 <_dtoa_r+0x708> + 8007cc8: e9dd 2306 ldrd r2, r3, [sp, #24] + 8007ccc: e9dd 0102 ldrd r0, r1, [sp, #8] + 8007cd0: f7f8 fed6 bl 8000a80 <__aeabi_dcmpeq> + 8007cd4: b108 cbz r0, 8007cda <_dtoa_r+0x6c2> + 8007cd6: 07e1 lsls r1, r4, #31 + 8007cd8: d422 bmi.n 8007d20 <_dtoa_r+0x708> + 8007cda: 4628 mov r0, r5 + 8007cdc: 4651 mov r1, sl + 8007cde: f000 faf5 bl 80082cc <_Bfree> + 8007ce2: 2300 movs r3, #0 + 8007ce4: 703b strb r3, [r7, #0] + 8007ce6: 9b24 ldr r3, [sp, #144] ; 0x90 + 8007ce8: f109 0001 add.w r0, r9, #1 + 8007cec: 6018 str r0, [r3, #0] + 8007cee: 9b26 ldr r3, [sp, #152] ; 0x98 + 8007cf0: 2b00 cmp r3, #0 + 8007cf2: f43f acdf beq.w 80076b4 <_dtoa_r+0x9c> + 8007cf6: 601f str r7, [r3, #0] + 8007cf8: e4dc b.n 80076b4 <_dtoa_r+0x9c> + 8007cfa: 4627 mov r7, r4 + 8007cfc: 463b mov r3, r7 + 8007cfe: 461f mov r7, r3 + 8007d00: f813 2d01 ldrb.w r2, [r3, #-1]! + 8007d04: 2a39 cmp r2, #57 ; 0x39 + 8007d06: d107 bne.n 8007d18 <_dtoa_r+0x700> + 8007d08: 9a08 ldr r2, [sp, #32] + 8007d0a: 429a cmp r2, r3 + 8007d0c: d1f7 bne.n 8007cfe <_dtoa_r+0x6e6> + 8007d0e: 2230 movs r2, #48 ; 0x30 + 8007d10: 9908 ldr r1, [sp, #32] + 8007d12: f108 0801 add.w r8, r8, #1 + 8007d16: 700a strb r2, [r1, #0] + 8007d18: 781a ldrb r2, [r3, #0] + 8007d1a: 3201 adds r2, #1 + 8007d1c: 701a strb r2, [r3, #0] + 8007d1e: e79f b.n 8007c60 <_dtoa_r+0x648> + 8007d20: 46c8 mov r8, r9 + 8007d22: e7eb b.n 8007cfc <_dtoa_r+0x6e4> + 8007d24: 2200 movs r2, #0 + 8007d26: 4b72 ldr r3, [pc, #456] ; (8007ef0 <_dtoa_r+0x8d8>) + 8007d28: f7f8 fc42 bl 80005b0 <__aeabi_dmul> + 8007d2c: 4602 mov r2, r0 + 8007d2e: 460b mov r3, r1 + 8007d30: e9cd 2304 strd r2, r3, [sp, #16] + 8007d34: 2200 movs r2, #0 + 8007d36: 2300 movs r3, #0 + 8007d38: f7f8 fea2 bl 8000a80 <__aeabi_dcmpeq> + 8007d3c: 2800 cmp r0, #0 + 8007d3e: d098 beq.n 8007c72 <_dtoa_r+0x65a> + 8007d40: e7cb b.n 8007cda <_dtoa_r+0x6c2> + 8007d42: 9a0b ldr r2, [sp, #44] ; 0x2c + 8007d44: 2a00 cmp r2, #0 + 8007d46: f000 80cd beq.w 8007ee4 <_dtoa_r+0x8cc> + 8007d4a: 9a22 ldr r2, [sp, #136] ; 0x88 + 8007d4c: 2a01 cmp r2, #1 + 8007d4e: f300 80af bgt.w 8007eb0 <_dtoa_r+0x898> + 8007d52: 9a13 ldr r2, [sp, #76] ; 0x4c + 8007d54: 2a00 cmp r2, #0 + 8007d56: f000 80a7 beq.w 8007ea8 <_dtoa_r+0x890> + 8007d5a: f203 4333 addw r3, r3, #1075 ; 0x433 + 8007d5e: 9c0a ldr r4, [sp, #40] ; 0x28 + 8007d60: 9f06 ldr r7, [sp, #24] + 8007d62: 9a06 ldr r2, [sp, #24] + 8007d64: 2101 movs r1, #1 + 8007d66: 441a add r2, r3 + 8007d68: 9206 str r2, [sp, #24] + 8007d6a: 9a09 ldr r2, [sp, #36] ; 0x24 + 8007d6c: 4628 mov r0, r5 + 8007d6e: 441a add r2, r3 + 8007d70: 9209 str r2, [sp, #36] ; 0x24 + 8007d72: f000 fb65 bl 8008440 <__i2b> + 8007d76: 4606 mov r6, r0 + 8007d78: 2f00 cmp r7, #0 + 8007d7a: dd0c ble.n 8007d96 <_dtoa_r+0x77e> + 8007d7c: 9b09 ldr r3, [sp, #36] ; 0x24 + 8007d7e: 2b00 cmp r3, #0 + 8007d80: dd09 ble.n 8007d96 <_dtoa_r+0x77e> + 8007d82: 42bb cmp r3, r7 + 8007d84: bfa8 it ge + 8007d86: 463b movge r3, r7 + 8007d88: 9a06 ldr r2, [sp, #24] + 8007d8a: 1aff subs r7, r7, r3 + 8007d8c: 1ad2 subs r2, r2, r3 + 8007d8e: 9206 str r2, [sp, #24] + 8007d90: 9a09 ldr r2, [sp, #36] ; 0x24 + 8007d92: 1ad3 subs r3, r2, r3 + 8007d94: 9309 str r3, [sp, #36] ; 0x24 + 8007d96: 9b0a ldr r3, [sp, #40] ; 0x28 + 8007d98: b1f3 cbz r3, 8007dd8 <_dtoa_r+0x7c0> + 8007d9a: 9b0b ldr r3, [sp, #44] ; 0x2c + 8007d9c: 2b00 cmp r3, #0 + 8007d9e: f000 80a9 beq.w 8007ef4 <_dtoa_r+0x8dc> + 8007da2: 2c00 cmp r4, #0 + 8007da4: dd10 ble.n 8007dc8 <_dtoa_r+0x7b0> + 8007da6: 4631 mov r1, r6 + 8007da8: 4622 mov r2, r4 + 8007daa: 4628 mov r0, r5 + 8007dac: f000 fc02 bl 80085b4 <__pow5mult> + 8007db0: 4652 mov r2, sl + 8007db2: 4601 mov r1, r0 + 8007db4: 4606 mov r6, r0 + 8007db6: 4628 mov r0, r5 + 8007db8: f000 fb58 bl 800846c <__multiply> + 8007dbc: 4680 mov r8, r0 + 8007dbe: 4651 mov r1, sl + 8007dc0: 4628 mov r0, r5 + 8007dc2: f000 fa83 bl 80082cc <_Bfree> + 8007dc6: 46c2 mov sl, r8 + 8007dc8: 9b0a ldr r3, [sp, #40] ; 0x28 + 8007dca: 1b1a subs r2, r3, r4 + 8007dcc: d004 beq.n 8007dd8 <_dtoa_r+0x7c0> + 8007dce: 4651 mov r1, sl + 8007dd0: 4628 mov r0, r5 + 8007dd2: f000 fbef bl 80085b4 <__pow5mult> + 8007dd6: 4682 mov sl, r0 + 8007dd8: 2101 movs r1, #1 + 8007dda: 4628 mov r0, r5 + 8007ddc: f000 fb30 bl 8008440 <__i2b> + 8007de0: 9b0e ldr r3, [sp, #56] ; 0x38 + 8007de2: 4604 mov r4, r0 + 8007de4: 2b00 cmp r3, #0 + 8007de6: f340 8087 ble.w 8007ef8 <_dtoa_r+0x8e0> + 8007dea: 461a mov r2, r3 + 8007dec: 4601 mov r1, r0 + 8007dee: 4628 mov r0, r5 + 8007df0: f000 fbe0 bl 80085b4 <__pow5mult> + 8007df4: 9b22 ldr r3, [sp, #136] ; 0x88 + 8007df6: 4604 mov r4, r0 + 8007df8: 2b01 cmp r3, #1 + 8007dfa: f340 8080 ble.w 8007efe <_dtoa_r+0x8e6> + 8007dfe: f04f 0800 mov.w r8, #0 + 8007e02: 6923 ldr r3, [r4, #16] + 8007e04: eb04 0383 add.w r3, r4, r3, lsl #2 + 8007e08: 6918 ldr r0, [r3, #16] + 8007e0a: f000 facb bl 80083a4 <__hi0bits> + 8007e0e: f1c0 0020 rsb r0, r0, #32 + 8007e12: 9b09 ldr r3, [sp, #36] ; 0x24 + 8007e14: 4418 add r0, r3 + 8007e16: f010 001f ands.w r0, r0, #31 + 8007e1a: f000 8092 beq.w 8007f42 <_dtoa_r+0x92a> + 8007e1e: f1c0 0320 rsb r3, r0, #32 + 8007e22: 2b04 cmp r3, #4 + 8007e24: f340 808a ble.w 8007f3c <_dtoa_r+0x924> + 8007e28: f1c0 001c rsb r0, r0, #28 + 8007e2c: 9b06 ldr r3, [sp, #24] + 8007e2e: 4407 add r7, r0 + 8007e30: 4403 add r3, r0 + 8007e32: 9306 str r3, [sp, #24] + 8007e34: 9b09 ldr r3, [sp, #36] ; 0x24 + 8007e36: 4403 add r3, r0 + 8007e38: 9309 str r3, [sp, #36] ; 0x24 + 8007e3a: 9b06 ldr r3, [sp, #24] + 8007e3c: 2b00 cmp r3, #0 + 8007e3e: dd05 ble.n 8007e4c <_dtoa_r+0x834> + 8007e40: 4651 mov r1, sl + 8007e42: 461a mov r2, r3 + 8007e44: 4628 mov r0, r5 + 8007e46: f000 fc0f bl 8008668 <__lshift> + 8007e4a: 4682 mov sl, r0 + 8007e4c: 9b09 ldr r3, [sp, #36] ; 0x24 + 8007e4e: 2b00 cmp r3, #0 + 8007e50: dd05 ble.n 8007e5e <_dtoa_r+0x846> + 8007e52: 4621 mov r1, r4 + 8007e54: 461a mov r2, r3 + 8007e56: 4628 mov r0, r5 + 8007e58: f000 fc06 bl 8008668 <__lshift> + 8007e5c: 4604 mov r4, r0 + 8007e5e: 9b0f ldr r3, [sp, #60] ; 0x3c + 8007e60: 2b00 cmp r3, #0 + 8007e62: d070 beq.n 8007f46 <_dtoa_r+0x92e> + 8007e64: 4621 mov r1, r4 + 8007e66: 4650 mov r0, sl + 8007e68: f000 fc6a bl 8008740 <__mcmp> + 8007e6c: 2800 cmp r0, #0 + 8007e6e: da6a bge.n 8007f46 <_dtoa_r+0x92e> + 8007e70: 2300 movs r3, #0 + 8007e72: 4651 mov r1, sl + 8007e74: 220a movs r2, #10 + 8007e76: 4628 mov r0, r5 + 8007e78: f000 fa4a bl 8008310 <__multadd> + 8007e7c: 9b0b ldr r3, [sp, #44] ; 0x2c + 8007e7e: 4682 mov sl, r0 + 8007e80: f109 39ff add.w r9, r9, #4294967295 ; 0xffffffff + 8007e84: 2b00 cmp r3, #0 + 8007e86: f000 8193 beq.w 80081b0 <_dtoa_r+0xb98> + 8007e8a: 4631 mov r1, r6 + 8007e8c: 2300 movs r3, #0 + 8007e8e: 220a movs r2, #10 + 8007e90: 4628 mov r0, r5 + 8007e92: f000 fa3d bl 8008310 <__multadd> + 8007e96: f1bb 0f00 cmp.w fp, #0 + 8007e9a: 4606 mov r6, r0 + 8007e9c: f300 8093 bgt.w 8007fc6 <_dtoa_r+0x9ae> + 8007ea0: 9b22 ldr r3, [sp, #136] ; 0x88 + 8007ea2: 2b02 cmp r3, #2 + 8007ea4: dc57 bgt.n 8007f56 <_dtoa_r+0x93e> + 8007ea6: e08e b.n 8007fc6 <_dtoa_r+0x9ae> + 8007ea8: 9b16 ldr r3, [sp, #88] ; 0x58 + 8007eaa: f1c3 0336 rsb r3, r3, #54 ; 0x36 + 8007eae: e756 b.n 8007d5e <_dtoa_r+0x746> + 8007eb0: 9b02 ldr r3, [sp, #8] + 8007eb2: 1e5c subs r4, r3, #1 + 8007eb4: 9b0a ldr r3, [sp, #40] ; 0x28 + 8007eb6: 42a3 cmp r3, r4 + 8007eb8: bfb7 itett lt + 8007eba: 9b0a ldrlt r3, [sp, #40] ; 0x28 + 8007ebc: 1b1c subge r4, r3, r4 + 8007ebe: 1ae2 sublt r2, r4, r3 + 8007ec0: 9b0e ldrlt r3, [sp, #56] ; 0x38 + 8007ec2: bfbe ittt lt + 8007ec4: 940a strlt r4, [sp, #40] ; 0x28 + 8007ec6: 189b addlt r3, r3, r2 + 8007ec8: 930e strlt r3, [sp, #56] ; 0x38 + 8007eca: 9b02 ldr r3, [sp, #8] + 8007ecc: bfb8 it lt + 8007ece: 2400 movlt r4, #0 + 8007ed0: 2b00 cmp r3, #0 + 8007ed2: bfbb ittet lt + 8007ed4: 9b06 ldrlt r3, [sp, #24] + 8007ed6: 9a02 ldrlt r2, [sp, #8] + 8007ed8: 9f06 ldrge r7, [sp, #24] + 8007eda: 1a9f sublt r7, r3, r2 + 8007edc: bfac ite ge + 8007ede: 9b02 ldrge r3, [sp, #8] + 8007ee0: 2300 movlt r3, #0 + 8007ee2: e73e b.n 8007d62 <_dtoa_r+0x74a> + 8007ee4: 9c0a ldr r4, [sp, #40] ; 0x28 + 8007ee6: 9f06 ldr r7, [sp, #24] + 8007ee8: 9e0b ldr r6, [sp, #44] ; 0x2c + 8007eea: e745 b.n 8007d78 <_dtoa_r+0x760> + 8007eec: 3fe00000 .word 0x3fe00000 + 8007ef0: 40240000 .word 0x40240000 + 8007ef4: 9a0a ldr r2, [sp, #40] ; 0x28 + 8007ef6: e76a b.n 8007dce <_dtoa_r+0x7b6> + 8007ef8: 9b22 ldr r3, [sp, #136] ; 0x88 + 8007efa: 2b01 cmp r3, #1 + 8007efc: dc19 bgt.n 8007f32 <_dtoa_r+0x91a> + 8007efe: 9b04 ldr r3, [sp, #16] + 8007f00: b9bb cbnz r3, 8007f32 <_dtoa_r+0x91a> + 8007f02: 9b05 ldr r3, [sp, #20] + 8007f04: f3c3 0313 ubfx r3, r3, #0, #20 + 8007f08: b99b cbnz r3, 8007f32 <_dtoa_r+0x91a> + 8007f0a: 9b05 ldr r3, [sp, #20] + 8007f0c: f023 4300 bic.w r3, r3, #2147483648 ; 0x80000000 + 8007f10: 0d1b lsrs r3, r3, #20 + 8007f12: 051b lsls r3, r3, #20 + 8007f14: b183 cbz r3, 8007f38 <_dtoa_r+0x920> + 8007f16: f04f 0801 mov.w r8, #1 + 8007f1a: 9b06 ldr r3, [sp, #24] + 8007f1c: 3301 adds r3, #1 + 8007f1e: 9306 str r3, [sp, #24] + 8007f20: 9b09 ldr r3, [sp, #36] ; 0x24 + 8007f22: 3301 adds r3, #1 + 8007f24: 9309 str r3, [sp, #36] ; 0x24 + 8007f26: 9b0e ldr r3, [sp, #56] ; 0x38 + 8007f28: 2b00 cmp r3, #0 + 8007f2a: f47f af6a bne.w 8007e02 <_dtoa_r+0x7ea> + 8007f2e: 2001 movs r0, #1 + 8007f30: e76f b.n 8007e12 <_dtoa_r+0x7fa> + 8007f32: f04f 0800 mov.w r8, #0 + 8007f36: e7f6 b.n 8007f26 <_dtoa_r+0x90e> + 8007f38: 4698 mov r8, r3 + 8007f3a: e7f4 b.n 8007f26 <_dtoa_r+0x90e> + 8007f3c: f43f af7d beq.w 8007e3a <_dtoa_r+0x822> + 8007f40: 4618 mov r0, r3 + 8007f42: 301c adds r0, #28 + 8007f44: e772 b.n 8007e2c <_dtoa_r+0x814> + 8007f46: 9b02 ldr r3, [sp, #8] + 8007f48: 2b00 cmp r3, #0 + 8007f4a: dc36 bgt.n 8007fba <_dtoa_r+0x9a2> + 8007f4c: 9b22 ldr r3, [sp, #136] ; 0x88 + 8007f4e: 2b02 cmp r3, #2 + 8007f50: dd33 ble.n 8007fba <_dtoa_r+0x9a2> + 8007f52: f8dd b008 ldr.w fp, [sp, #8] + 8007f56: f1bb 0f00 cmp.w fp, #0 + 8007f5a: d10d bne.n 8007f78 <_dtoa_r+0x960> + 8007f5c: 4621 mov r1, r4 + 8007f5e: 465b mov r3, fp + 8007f60: 2205 movs r2, #5 + 8007f62: 4628 mov r0, r5 + 8007f64: f000 f9d4 bl 8008310 <__multadd> + 8007f68: 4601 mov r1, r0 + 8007f6a: 4604 mov r4, r0 + 8007f6c: 4650 mov r0, sl + 8007f6e: f000 fbe7 bl 8008740 <__mcmp> + 8007f72: 2800 cmp r0, #0 + 8007f74: f73f adb6 bgt.w 8007ae4 <_dtoa_r+0x4cc> + 8007f78: 9b23 ldr r3, [sp, #140] ; 0x8c + 8007f7a: 9f08 ldr r7, [sp, #32] + 8007f7c: ea6f 0903 mvn.w r9, r3 + 8007f80: f04f 0800 mov.w r8, #0 + 8007f84: 4621 mov r1, r4 + 8007f86: 4628 mov r0, r5 + 8007f88: f000 f9a0 bl 80082cc <_Bfree> + 8007f8c: 2e00 cmp r6, #0 + 8007f8e: f43f aea4 beq.w 8007cda <_dtoa_r+0x6c2> + 8007f92: f1b8 0f00 cmp.w r8, #0 + 8007f96: d005 beq.n 8007fa4 <_dtoa_r+0x98c> + 8007f98: 45b0 cmp r8, r6 + 8007f9a: d003 beq.n 8007fa4 <_dtoa_r+0x98c> + 8007f9c: 4641 mov r1, r8 + 8007f9e: 4628 mov r0, r5 + 8007fa0: f000 f994 bl 80082cc <_Bfree> + 8007fa4: 4631 mov r1, r6 + 8007fa6: 4628 mov r0, r5 + 8007fa8: f000 f990 bl 80082cc <_Bfree> + 8007fac: e695 b.n 8007cda <_dtoa_r+0x6c2> + 8007fae: 2400 movs r4, #0 + 8007fb0: 4626 mov r6, r4 + 8007fb2: e7e1 b.n 8007f78 <_dtoa_r+0x960> + 8007fb4: 46c1 mov r9, r8 + 8007fb6: 4626 mov r6, r4 + 8007fb8: e594 b.n 8007ae4 <_dtoa_r+0x4cc> + 8007fba: 9b0b ldr r3, [sp, #44] ; 0x2c + 8007fbc: f8dd b008 ldr.w fp, [sp, #8] + 8007fc0: 2b00 cmp r3, #0 + 8007fc2: f000 80fc beq.w 80081be <_dtoa_r+0xba6> + 8007fc6: 2f00 cmp r7, #0 + 8007fc8: dd05 ble.n 8007fd6 <_dtoa_r+0x9be> + 8007fca: 4631 mov r1, r6 + 8007fcc: 463a mov r2, r7 + 8007fce: 4628 mov r0, r5 + 8007fd0: f000 fb4a bl 8008668 <__lshift> + 8007fd4: 4606 mov r6, r0 + 8007fd6: f1b8 0f00 cmp.w r8, #0 + 8007fda: d05c beq.n 8008096 <_dtoa_r+0xa7e> + 8007fdc: 4628 mov r0, r5 + 8007fde: 6871 ldr r1, [r6, #4] + 8007fe0: f000 f934 bl 800824c <_Balloc> + 8007fe4: 4607 mov r7, r0 + 8007fe6: b928 cbnz r0, 8007ff4 <_dtoa_r+0x9dc> + 8007fe8: 4602 mov r2, r0 + 8007fea: f240 21ea movw r1, #746 ; 0x2ea + 8007fee: 4b7e ldr r3, [pc, #504] ; (80081e8 <_dtoa_r+0xbd0>) + 8007ff0: f7ff bb26 b.w 8007640 <_dtoa_r+0x28> + 8007ff4: 6932 ldr r2, [r6, #16] + 8007ff6: f106 010c add.w r1, r6, #12 + 8007ffa: 3202 adds r2, #2 + 8007ffc: 0092 lsls r2, r2, #2 + 8007ffe: 300c adds r0, #12 + 8008000: f000 f90a bl 8008218 + 8008004: 2201 movs r2, #1 + 8008006: 4639 mov r1, r7 + 8008008: 4628 mov r0, r5 + 800800a: f000 fb2d bl 8008668 <__lshift> + 800800e: 46b0 mov r8, r6 + 8008010: 4606 mov r6, r0 + 8008012: 9b08 ldr r3, [sp, #32] + 8008014: 3301 adds r3, #1 + 8008016: 9302 str r3, [sp, #8] + 8008018: 9b08 ldr r3, [sp, #32] + 800801a: 445b add r3, fp + 800801c: 930a str r3, [sp, #40] ; 0x28 + 800801e: 9b04 ldr r3, [sp, #16] + 8008020: f003 0301 and.w r3, r3, #1 + 8008024: 9309 str r3, [sp, #36] ; 0x24 + 8008026: 9b02 ldr r3, [sp, #8] + 8008028: 4621 mov r1, r4 + 800802a: 4650 mov r0, sl + 800802c: f103 3bff add.w fp, r3, #4294967295 ; 0xffffffff + 8008030: f7ff fa64 bl 80074fc + 8008034: 4603 mov r3, r0 + 8008036: 4641 mov r1, r8 + 8008038: 3330 adds r3, #48 ; 0x30 + 800803a: 9004 str r0, [sp, #16] + 800803c: 4650 mov r0, sl + 800803e: 930b str r3, [sp, #44] ; 0x2c + 8008040: f000 fb7e bl 8008740 <__mcmp> + 8008044: 4632 mov r2, r6 + 8008046: 9006 str r0, [sp, #24] + 8008048: 4621 mov r1, r4 + 800804a: 4628 mov r0, r5 + 800804c: f000 fb94 bl 8008778 <__mdiff> + 8008050: 68c2 ldr r2, [r0, #12] + 8008052: 4607 mov r7, r0 + 8008054: 9b0b ldr r3, [sp, #44] ; 0x2c + 8008056: bb02 cbnz r2, 800809a <_dtoa_r+0xa82> + 8008058: 4601 mov r1, r0 + 800805a: 4650 mov r0, sl + 800805c: f000 fb70 bl 8008740 <__mcmp> + 8008060: 4602 mov r2, r0 + 8008062: 9b0b ldr r3, [sp, #44] ; 0x2c + 8008064: 4639 mov r1, r7 + 8008066: 4628 mov r0, r5 + 8008068: e9cd 320b strd r3, r2, [sp, #44] ; 0x2c + 800806c: f000 f92e bl 80082cc <_Bfree> + 8008070: 9b22 ldr r3, [sp, #136] ; 0x88 + 8008072: 9a0c ldr r2, [sp, #48] ; 0x30 + 8008074: 9f02 ldr r7, [sp, #8] + 8008076: ea43 0102 orr.w r1, r3, r2 + 800807a: 9b09 ldr r3, [sp, #36] ; 0x24 + 800807c: 430b orrs r3, r1 + 800807e: 9b0b ldr r3, [sp, #44] ; 0x2c + 8008080: d10d bne.n 800809e <_dtoa_r+0xa86> + 8008082: 2b39 cmp r3, #57 ; 0x39 + 8008084: d027 beq.n 80080d6 <_dtoa_r+0xabe> + 8008086: 9a06 ldr r2, [sp, #24] + 8008088: 2a00 cmp r2, #0 + 800808a: dd01 ble.n 8008090 <_dtoa_r+0xa78> + 800808c: 9b04 ldr r3, [sp, #16] + 800808e: 3331 adds r3, #49 ; 0x31 + 8008090: f88b 3000 strb.w r3, [fp] + 8008094: e776 b.n 8007f84 <_dtoa_r+0x96c> + 8008096: 4630 mov r0, r6 + 8008098: e7b9 b.n 800800e <_dtoa_r+0x9f6> + 800809a: 2201 movs r2, #1 + 800809c: e7e2 b.n 8008064 <_dtoa_r+0xa4c> + 800809e: 9906 ldr r1, [sp, #24] + 80080a0: 2900 cmp r1, #0 + 80080a2: db04 blt.n 80080ae <_dtoa_r+0xa96> + 80080a4: 9822 ldr r0, [sp, #136] ; 0x88 + 80080a6: 4301 orrs r1, r0 + 80080a8: 9809 ldr r0, [sp, #36] ; 0x24 + 80080aa: 4301 orrs r1, r0 + 80080ac: d120 bne.n 80080f0 <_dtoa_r+0xad8> + 80080ae: 2a00 cmp r2, #0 + 80080b0: ddee ble.n 8008090 <_dtoa_r+0xa78> + 80080b2: 4651 mov r1, sl + 80080b4: 2201 movs r2, #1 + 80080b6: 4628 mov r0, r5 + 80080b8: 9302 str r3, [sp, #8] + 80080ba: f000 fad5 bl 8008668 <__lshift> + 80080be: 4621 mov r1, r4 + 80080c0: 4682 mov sl, r0 + 80080c2: f000 fb3d bl 8008740 <__mcmp> + 80080c6: 2800 cmp r0, #0 + 80080c8: 9b02 ldr r3, [sp, #8] + 80080ca: dc02 bgt.n 80080d2 <_dtoa_r+0xaba> + 80080cc: d1e0 bne.n 8008090 <_dtoa_r+0xa78> + 80080ce: 07da lsls r2, r3, #31 + 80080d0: d5de bpl.n 8008090 <_dtoa_r+0xa78> + 80080d2: 2b39 cmp r3, #57 ; 0x39 + 80080d4: d1da bne.n 800808c <_dtoa_r+0xa74> + 80080d6: 2339 movs r3, #57 ; 0x39 + 80080d8: f88b 3000 strb.w r3, [fp] + 80080dc: 463b mov r3, r7 + 80080de: 461f mov r7, r3 + 80080e0: f817 2c01 ldrb.w r2, [r7, #-1] + 80080e4: 3b01 subs r3, #1 + 80080e6: 2a39 cmp r2, #57 ; 0x39 + 80080e8: d050 beq.n 800818c <_dtoa_r+0xb74> + 80080ea: 3201 adds r2, #1 + 80080ec: 701a strb r2, [r3, #0] + 80080ee: e749 b.n 8007f84 <_dtoa_r+0x96c> + 80080f0: 2a00 cmp r2, #0 + 80080f2: dd03 ble.n 80080fc <_dtoa_r+0xae4> + 80080f4: 2b39 cmp r3, #57 ; 0x39 + 80080f6: d0ee beq.n 80080d6 <_dtoa_r+0xabe> + 80080f8: 3301 adds r3, #1 + 80080fa: e7c9 b.n 8008090 <_dtoa_r+0xa78> + 80080fc: 9a02 ldr r2, [sp, #8] + 80080fe: 990a ldr r1, [sp, #40] ; 0x28 + 8008100: f802 3c01 strb.w r3, [r2, #-1] + 8008104: 428a cmp r2, r1 + 8008106: d02a beq.n 800815e <_dtoa_r+0xb46> + 8008108: 4651 mov r1, sl + 800810a: 2300 movs r3, #0 + 800810c: 220a movs r2, #10 + 800810e: 4628 mov r0, r5 + 8008110: f000 f8fe bl 8008310 <__multadd> + 8008114: 45b0 cmp r8, r6 + 8008116: 4682 mov sl, r0 + 8008118: f04f 0300 mov.w r3, #0 + 800811c: f04f 020a mov.w r2, #10 + 8008120: 4641 mov r1, r8 + 8008122: 4628 mov r0, r5 + 8008124: d107 bne.n 8008136 <_dtoa_r+0xb1e> + 8008126: f000 f8f3 bl 8008310 <__multadd> + 800812a: 4680 mov r8, r0 + 800812c: 4606 mov r6, r0 + 800812e: 9b02 ldr r3, [sp, #8] + 8008130: 3301 adds r3, #1 + 8008132: 9302 str r3, [sp, #8] + 8008134: e777 b.n 8008026 <_dtoa_r+0xa0e> + 8008136: f000 f8eb bl 8008310 <__multadd> + 800813a: 4631 mov r1, r6 + 800813c: 4680 mov r8, r0 + 800813e: 2300 movs r3, #0 + 8008140: 220a movs r2, #10 + 8008142: 4628 mov r0, r5 + 8008144: f000 f8e4 bl 8008310 <__multadd> + 8008148: 4606 mov r6, r0 + 800814a: e7f0 b.n 800812e <_dtoa_r+0xb16> + 800814c: f1bb 0f00 cmp.w fp, #0 + 8008150: bfcc ite gt + 8008152: 465f movgt r7, fp + 8008154: 2701 movle r7, #1 + 8008156: f04f 0800 mov.w r8, #0 + 800815a: 9a08 ldr r2, [sp, #32] + 800815c: 4417 add r7, r2 + 800815e: 4651 mov r1, sl + 8008160: 2201 movs r2, #1 + 8008162: 4628 mov r0, r5 + 8008164: 9302 str r3, [sp, #8] + 8008166: f000 fa7f bl 8008668 <__lshift> + 800816a: 4621 mov r1, r4 + 800816c: 4682 mov sl, r0 + 800816e: f000 fae7 bl 8008740 <__mcmp> + 8008172: 2800 cmp r0, #0 + 8008174: dcb2 bgt.n 80080dc <_dtoa_r+0xac4> + 8008176: d102 bne.n 800817e <_dtoa_r+0xb66> + 8008178: 9b02 ldr r3, [sp, #8] + 800817a: 07db lsls r3, r3, #31 + 800817c: d4ae bmi.n 80080dc <_dtoa_r+0xac4> + 800817e: 463b mov r3, r7 + 8008180: 461f mov r7, r3 + 8008182: f813 2d01 ldrb.w r2, [r3, #-1]! + 8008186: 2a30 cmp r2, #48 ; 0x30 + 8008188: d0fa beq.n 8008180 <_dtoa_r+0xb68> + 800818a: e6fb b.n 8007f84 <_dtoa_r+0x96c> + 800818c: 9a08 ldr r2, [sp, #32] + 800818e: 429a cmp r2, r3 + 8008190: d1a5 bne.n 80080de <_dtoa_r+0xac6> + 8008192: 2331 movs r3, #49 ; 0x31 + 8008194: f109 0901 add.w r9, r9, #1 + 8008198: 7013 strb r3, [r2, #0] + 800819a: e6f3 b.n 8007f84 <_dtoa_r+0x96c> + 800819c: 4b13 ldr r3, [pc, #76] ; (80081ec <_dtoa_r+0xbd4>) + 800819e: f7ff baa7 b.w 80076f0 <_dtoa_r+0xd8> + 80081a2: 9b26 ldr r3, [sp, #152] ; 0x98 + 80081a4: 2b00 cmp r3, #0 + 80081a6: f47f aa80 bne.w 80076aa <_dtoa_r+0x92> + 80081aa: 4b11 ldr r3, [pc, #68] ; (80081f0 <_dtoa_r+0xbd8>) + 80081ac: f7ff baa0 b.w 80076f0 <_dtoa_r+0xd8> + 80081b0: f1bb 0f00 cmp.w fp, #0 + 80081b4: dc03 bgt.n 80081be <_dtoa_r+0xba6> + 80081b6: 9b22 ldr r3, [sp, #136] ; 0x88 + 80081b8: 2b02 cmp r3, #2 + 80081ba: f73f aecc bgt.w 8007f56 <_dtoa_r+0x93e> + 80081be: 9f08 ldr r7, [sp, #32] + 80081c0: 4621 mov r1, r4 + 80081c2: 4650 mov r0, sl + 80081c4: f7ff f99a bl 80074fc + 80081c8: 9a08 ldr r2, [sp, #32] + 80081ca: f100 0330 add.w r3, r0, #48 ; 0x30 + 80081ce: f807 3b01 strb.w r3, [r7], #1 + 80081d2: 1aba subs r2, r7, r2 + 80081d4: 4593 cmp fp, r2 + 80081d6: ddb9 ble.n 800814c <_dtoa_r+0xb34> + 80081d8: 4651 mov r1, sl + 80081da: 2300 movs r3, #0 + 80081dc: 220a movs r2, #10 + 80081de: 4628 mov r0, r5 + 80081e0: f000 f896 bl 8008310 <__multadd> + 80081e4: 4682 mov sl, r0 + 80081e6: e7eb b.n 80081c0 <_dtoa_r+0xba8> + 80081e8: 0800a823 .word 0x0800a823 + 80081ec: 0800a77c .word 0x0800a77c + 80081f0: 0800a7a0 .word 0x0800a7a0 -08007d34 <__assert_func>: - 8007d34: b51f push {r0, r1, r2, r3, r4, lr} - 8007d36: 4614 mov r4, r2 - 8007d38: 461a mov r2, r3 - 8007d3a: 4b09 ldr r3, [pc, #36] ; (8007d60 <__assert_func+0x2c>) - 8007d3c: 4605 mov r5, r0 - 8007d3e: 681b ldr r3, [r3, #0] - 8007d40: 68d8 ldr r0, [r3, #12] - 8007d42: b14c cbz r4, 8007d58 <__assert_func+0x24> - 8007d44: 4b07 ldr r3, [pc, #28] ; (8007d64 <__assert_func+0x30>) - 8007d46: e9cd 3401 strd r3, r4, [sp, #4] - 8007d4a: 9100 str r1, [sp, #0] - 8007d4c: 462b mov r3, r5 - 8007d4e: 4906 ldr r1, [pc, #24] ; (8007d68 <__assert_func+0x34>) - 8007d50: f000 f80e bl 8007d70 - 8007d54: f000 fa98 bl 8008288 - 8007d58: 4b04 ldr r3, [pc, #16] ; (8007d6c <__assert_func+0x38>) - 8007d5a: 461c mov r4, r3 - 8007d5c: e7f3 b.n 8007d46 <__assert_func+0x12> - 8007d5e: bf00 nop - 8007d60: 2000000c .word 0x2000000c - 8007d64: 08009685 .word 0x08009685 - 8007d68: 08009692 .word 0x08009692 - 8007d6c: 080096c0 .word 0x080096c0 +080081f4 <_localeconv_r>: + 80081f4: 4800 ldr r0, [pc, #0] ; (80081f8 <_localeconv_r+0x4>) + 80081f6: 4770 bx lr + 80081f8: 20000160 .word 0x20000160 -08007d70 : - 8007d70: b40e push {r1, r2, r3} - 8007d72: b503 push {r0, r1, lr} - 8007d74: 4601 mov r1, r0 - 8007d76: ab03 add r3, sp, #12 - 8007d78: 4805 ldr r0, [pc, #20] ; (8007d90 ) - 8007d7a: f853 2b04 ldr.w r2, [r3], #4 - 8007d7e: 6800 ldr r0, [r0, #0] - 8007d80: 9301 str r3, [sp, #4] - 8007d82: f000 f883 bl 8007e8c <_vfiprintf_r> - 8007d86: b002 add sp, #8 - 8007d88: f85d eb04 ldr.w lr, [sp], #4 - 8007d8c: b003 add sp, #12 - 8007d8e: 4770 bx lr - 8007d90: 2000000c .word 0x2000000c +080081fc : + 80081fc: 4603 mov r3, r0 + 80081fe: b510 push {r4, lr} + 8008200: b2c9 uxtb r1, r1 + 8008202: 4402 add r2, r0 + 8008204: 4293 cmp r3, r2 + 8008206: 4618 mov r0, r3 + 8008208: d101 bne.n 800820e + 800820a: 2000 movs r0, #0 + 800820c: e003 b.n 8008216 + 800820e: 7804 ldrb r4, [r0, #0] + 8008210: 3301 adds r3, #1 + 8008212: 428c cmp r4, r1 + 8008214: d1f6 bne.n 8008204 + 8008216: bd10 pop {r4, pc} -08007d94 <__retarget_lock_init_recursive>: - 8007d94: 4770 bx lr +08008218 : + 8008218: 440a add r2, r1 + 800821a: 4291 cmp r1, r2 + 800821c: f100 33ff add.w r3, r0, #4294967295 ; 0xffffffff + 8008220: d100 bne.n 8008224 + 8008222: 4770 bx lr + 8008224: b510 push {r4, lr} + 8008226: f811 4b01 ldrb.w r4, [r1], #1 + 800822a: 4291 cmp r1, r2 + 800822c: f803 4f01 strb.w r4, [r3, #1]! + 8008230: d1f9 bne.n 8008226 + 8008232: bd10 pop {r4, pc} -08007d96 <__retarget_lock_acquire_recursive>: - 8007d96: 4770 bx lr +08008234 <__malloc_lock>: + 8008234: 4801 ldr r0, [pc, #4] ; (800823c <__malloc_lock+0x8>) + 8008236: f000 bd26 b.w 8008c86 <__retarget_lock_acquire_recursive> + 800823a: bf00 nop + 800823c: 2000245c .word 0x2000245c -08007d98 <__retarget_lock_release_recursive>: - 8007d98: 4770 bx lr +08008240 <__malloc_unlock>: + 8008240: 4801 ldr r0, [pc, #4] ; (8008248 <__malloc_unlock+0x8>) + 8008242: f000 bd21 b.w 8008c88 <__retarget_lock_release_recursive> + 8008246: bf00 nop + 8008248: 2000245c .word 0x2000245c -08007d9a <__ascii_mbtowc>: - 8007d9a: b082 sub sp, #8 - 8007d9c: b901 cbnz r1, 8007da0 <__ascii_mbtowc+0x6> - 8007d9e: a901 add r1, sp, #4 - 8007da0: b142 cbz r2, 8007db4 <__ascii_mbtowc+0x1a> - 8007da2: b14b cbz r3, 8007db8 <__ascii_mbtowc+0x1e> - 8007da4: 7813 ldrb r3, [r2, #0] - 8007da6: 600b str r3, [r1, #0] - 8007da8: 7812 ldrb r2, [r2, #0] - 8007daa: 1e10 subs r0, r2, #0 - 8007dac: bf18 it ne - 8007dae: 2001 movne r0, #1 - 8007db0: b002 add sp, #8 - 8007db2: 4770 bx lr - 8007db4: 4610 mov r0, r2 - 8007db6: e7fb b.n 8007db0 <__ascii_mbtowc+0x16> - 8007db8: f06f 0001 mvn.w r0, #1 - 8007dbc: e7f8 b.n 8007db0 <__ascii_mbtowc+0x16> +0800824c <_Balloc>: + 800824c: b570 push {r4, r5, r6, lr} + 800824e: 6a46 ldr r6, [r0, #36] ; 0x24 + 8008250: 4604 mov r4, r0 + 8008252: 460d mov r5, r1 + 8008254: b976 cbnz r6, 8008274 <_Balloc+0x28> + 8008256: 2010 movs r0, #16 + 8008258: f7fe fc02 bl 8006a60 + 800825c: 4602 mov r2, r0 + 800825e: 6260 str r0, [r4, #36] ; 0x24 + 8008260: b920 cbnz r0, 800826c <_Balloc+0x20> + 8008262: 2166 movs r1, #102 ; 0x66 + 8008264: 4b17 ldr r3, [pc, #92] ; (80082c4 <_Balloc+0x78>) + 8008266: 4818 ldr r0, [pc, #96] ; (80082c8 <_Balloc+0x7c>) + 8008268: f000 fcdc bl 8008c24 <__assert_func> + 800826c: e9c0 6601 strd r6, r6, [r0, #4] + 8008270: 6006 str r6, [r0, #0] + 8008272: 60c6 str r6, [r0, #12] + 8008274: 6a66 ldr r6, [r4, #36] ; 0x24 + 8008276: 68f3 ldr r3, [r6, #12] + 8008278: b183 cbz r3, 800829c <_Balloc+0x50> + 800827a: 6a63 ldr r3, [r4, #36] ; 0x24 + 800827c: 68db ldr r3, [r3, #12] + 800827e: f853 0025 ldr.w r0, [r3, r5, lsl #2] + 8008282: b9b8 cbnz r0, 80082b4 <_Balloc+0x68> + 8008284: 2101 movs r1, #1 + 8008286: fa01 f605 lsl.w r6, r1, r5 + 800828a: 1d72 adds r2, r6, #5 + 800828c: 4620 mov r0, r4 + 800828e: 0092 lsls r2, r2, #2 + 8008290: f000 fb5e bl 8008950 <_calloc_r> + 8008294: b160 cbz r0, 80082b0 <_Balloc+0x64> + 8008296: e9c0 5601 strd r5, r6, [r0, #4] + 800829a: e00e b.n 80082ba <_Balloc+0x6e> + 800829c: 2221 movs r2, #33 ; 0x21 + 800829e: 2104 movs r1, #4 + 80082a0: 4620 mov r0, r4 + 80082a2: f000 fb55 bl 8008950 <_calloc_r> + 80082a6: 6a63 ldr r3, [r4, #36] ; 0x24 + 80082a8: 60f0 str r0, [r6, #12] + 80082aa: 68db ldr r3, [r3, #12] + 80082ac: 2b00 cmp r3, #0 + 80082ae: d1e4 bne.n 800827a <_Balloc+0x2e> + 80082b0: 2000 movs r0, #0 + 80082b2: bd70 pop {r4, r5, r6, pc} + 80082b4: 6802 ldr r2, [r0, #0] + 80082b6: f843 2025 str.w r2, [r3, r5, lsl #2] + 80082ba: 2300 movs r3, #0 + 80082bc: e9c0 3303 strd r3, r3, [r0, #12] + 80082c0: e7f7 b.n 80082b2 <_Balloc+0x66> + 80082c2: bf00 nop + 80082c4: 0800a7ad .word 0x0800a7ad + 80082c8: 0800a834 .word 0x0800a834 -08007dbe : - 8007dbe: 4288 cmp r0, r1 - 8007dc0: b510 push {r4, lr} - 8007dc2: eb01 0402 add.w r4, r1, r2 - 8007dc6: d902 bls.n 8007dce - 8007dc8: 4284 cmp r4, r0 - 8007dca: 4623 mov r3, r4 - 8007dcc: d807 bhi.n 8007dde - 8007dce: 1e43 subs r3, r0, #1 - 8007dd0: 42a1 cmp r1, r4 - 8007dd2: d008 beq.n 8007de6 - 8007dd4: f811 2b01 ldrb.w r2, [r1], #1 - 8007dd8: f803 2f01 strb.w r2, [r3, #1]! - 8007ddc: e7f8 b.n 8007dd0 - 8007dde: 4601 mov r1, r0 - 8007de0: 4402 add r2, r0 - 8007de2: 428a cmp r2, r1 - 8007de4: d100 bne.n 8007de8 - 8007de6: bd10 pop {r4, pc} - 8007de8: f813 4d01 ldrb.w r4, [r3, #-1]! - 8007dec: f802 4d01 strb.w r4, [r2, #-1]! - 8007df0: e7f7 b.n 8007de2 +080082cc <_Bfree>: + 80082cc: b570 push {r4, r5, r6, lr} + 80082ce: 6a46 ldr r6, [r0, #36] ; 0x24 + 80082d0: 4605 mov r5, r0 + 80082d2: 460c mov r4, r1 + 80082d4: b976 cbnz r6, 80082f4 <_Bfree+0x28> + 80082d6: 2010 movs r0, #16 + 80082d8: f7fe fbc2 bl 8006a60 + 80082dc: 4602 mov r2, r0 + 80082de: 6268 str r0, [r5, #36] ; 0x24 + 80082e0: b920 cbnz r0, 80082ec <_Bfree+0x20> + 80082e2: 218a movs r1, #138 ; 0x8a + 80082e4: 4b08 ldr r3, [pc, #32] ; (8008308 <_Bfree+0x3c>) + 80082e6: 4809 ldr r0, [pc, #36] ; (800830c <_Bfree+0x40>) + 80082e8: f000 fc9c bl 8008c24 <__assert_func> + 80082ec: e9c0 6601 strd r6, r6, [r0, #4] + 80082f0: 6006 str r6, [r0, #0] + 80082f2: 60c6 str r6, [r0, #12] + 80082f4: b13c cbz r4, 8008306 <_Bfree+0x3a> + 80082f6: 6a6b ldr r3, [r5, #36] ; 0x24 + 80082f8: 6862 ldr r2, [r4, #4] + 80082fa: 68db ldr r3, [r3, #12] + 80082fc: f853 1022 ldr.w r1, [r3, r2, lsl #2] + 8008300: 6021 str r1, [r4, #0] + 8008302: f843 4022 str.w r4, [r3, r2, lsl #2] + 8008306: bd70 pop {r4, r5, r6, pc} + 8008308: 0800a7ad .word 0x0800a7ad + 800830c: 0800a834 .word 0x0800a834 -08007df2 <_realloc_r>: - 8007df2: b5f8 push {r3, r4, r5, r6, r7, lr} - 8007df4: 4607 mov r7, r0 - 8007df6: 4614 mov r4, r2 - 8007df8: 460e mov r6, r1 - 8007dfa: b921 cbnz r1, 8007e06 <_realloc_r+0x14> - 8007dfc: 4611 mov r1, r2 - 8007dfe: e8bd 40f8 ldmia.w sp!, {r3, r4, r5, r6, r7, lr} - 8007e02: f7fd bf19 b.w 8005c38 <_malloc_r> - 8007e06: b922 cbnz r2, 8007e12 <_realloc_r+0x20> - 8007e08: f7fd feca bl 8005ba0 <_free_r> - 8007e0c: 4625 mov r5, r4 - 8007e0e: 4628 mov r0, r5 - 8007e10: bdf8 pop {r3, r4, r5, r6, r7, pc} - 8007e12: f000 fc5d bl 80086d0 <_malloc_usable_size_r> - 8007e16: 42a0 cmp r0, r4 - 8007e18: d20f bcs.n 8007e3a <_realloc_r+0x48> - 8007e1a: 4621 mov r1, r4 - 8007e1c: 4638 mov r0, r7 - 8007e1e: f7fd ff0b bl 8005c38 <_malloc_r> - 8007e22: 4605 mov r5, r0 - 8007e24: 2800 cmp r0, #0 - 8007e26: d0f2 beq.n 8007e0e <_realloc_r+0x1c> - 8007e28: 4631 mov r1, r6 - 8007e2a: 4622 mov r2, r4 - 8007e2c: f7ff fa7c bl 8007328 - 8007e30: 4631 mov r1, r6 - 8007e32: 4638 mov r0, r7 - 8007e34: f7fd feb4 bl 8005ba0 <_free_r> - 8007e38: e7e9 b.n 8007e0e <_realloc_r+0x1c> - 8007e3a: 4635 mov r5, r6 - 8007e3c: e7e7 b.n 8007e0e <_realloc_r+0x1c> +08008310 <__multadd>: + 8008310: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 8008314: 4698 mov r8, r3 + 8008316: 460c mov r4, r1 + 8008318: 2300 movs r3, #0 + 800831a: 690e ldr r6, [r1, #16] + 800831c: 4607 mov r7, r0 + 800831e: f101 0014 add.w r0, r1, #20 + 8008322: 6805 ldr r5, [r0, #0] + 8008324: 3301 adds r3, #1 + 8008326: b2a9 uxth r1, r5 + 8008328: fb02 8101 mla r1, r2, r1, r8 + 800832c: 0c2d lsrs r5, r5, #16 + 800832e: ea4f 4c11 mov.w ip, r1, lsr #16 + 8008332: fb02 c505 mla r5, r2, r5, ip + 8008336: b289 uxth r1, r1 + 8008338: eb01 4105 add.w r1, r1, r5, lsl #16 + 800833c: 429e cmp r6, r3 + 800833e: ea4f 4815 mov.w r8, r5, lsr #16 + 8008342: f840 1b04 str.w r1, [r0], #4 + 8008346: dcec bgt.n 8008322 <__multadd+0x12> + 8008348: f1b8 0f00 cmp.w r8, #0 + 800834c: d022 beq.n 8008394 <__multadd+0x84> + 800834e: 68a3 ldr r3, [r4, #8] + 8008350: 42b3 cmp r3, r6 + 8008352: dc19 bgt.n 8008388 <__multadd+0x78> + 8008354: 6861 ldr r1, [r4, #4] + 8008356: 4638 mov r0, r7 + 8008358: 3101 adds r1, #1 + 800835a: f7ff ff77 bl 800824c <_Balloc> + 800835e: 4605 mov r5, r0 + 8008360: b928 cbnz r0, 800836e <__multadd+0x5e> + 8008362: 4602 mov r2, r0 + 8008364: 21b5 movs r1, #181 ; 0xb5 + 8008366: 4b0d ldr r3, [pc, #52] ; (800839c <__multadd+0x8c>) + 8008368: 480d ldr r0, [pc, #52] ; (80083a0 <__multadd+0x90>) + 800836a: f000 fc5b bl 8008c24 <__assert_func> + 800836e: 6922 ldr r2, [r4, #16] + 8008370: f104 010c add.w r1, r4, #12 + 8008374: 3202 adds r2, #2 + 8008376: 0092 lsls r2, r2, #2 + 8008378: 300c adds r0, #12 + 800837a: f7ff ff4d bl 8008218 + 800837e: 4621 mov r1, r4 + 8008380: 4638 mov r0, r7 + 8008382: f7ff ffa3 bl 80082cc <_Bfree> + 8008386: 462c mov r4, r5 + 8008388: eb04 0386 add.w r3, r4, r6, lsl #2 + 800838c: 3601 adds r6, #1 + 800838e: f8c3 8014 str.w r8, [r3, #20] + 8008392: 6126 str r6, [r4, #16] + 8008394: 4620 mov r0, r4 + 8008396: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 800839a: bf00 nop + 800839c: 0800a823 .word 0x0800a823 + 80083a0: 0800a834 .word 0x0800a834 -08007e3e <__sfputc_r>: - 8007e3e: 6893 ldr r3, [r2, #8] - 8007e40: b410 push {r4} - 8007e42: 3b01 subs r3, #1 - 8007e44: 2b00 cmp r3, #0 - 8007e46: 6093 str r3, [r2, #8] - 8007e48: da07 bge.n 8007e5a <__sfputc_r+0x1c> - 8007e4a: 6994 ldr r4, [r2, #24] - 8007e4c: 42a3 cmp r3, r4 - 8007e4e: db01 blt.n 8007e54 <__sfputc_r+0x16> - 8007e50: 290a cmp r1, #10 - 8007e52: d102 bne.n 8007e5a <__sfputc_r+0x1c> - 8007e54: bc10 pop {r4} - 8007e56: f000 b949 b.w 80080ec <__swbuf_r> - 8007e5a: 6813 ldr r3, [r2, #0] - 8007e5c: 1c58 adds r0, r3, #1 - 8007e5e: 6010 str r0, [r2, #0] - 8007e60: 7019 strb r1, [r3, #0] - 8007e62: 4608 mov r0, r1 - 8007e64: bc10 pop {r4} - 8007e66: 4770 bx lr +080083a4 <__hi0bits>: + 80083a4: 0c02 lsrs r2, r0, #16 + 80083a6: 0412 lsls r2, r2, #16 + 80083a8: 4603 mov r3, r0 + 80083aa: b9ca cbnz r2, 80083e0 <__hi0bits+0x3c> + 80083ac: 0403 lsls r3, r0, #16 + 80083ae: 2010 movs r0, #16 + 80083b0: f013 4f7f tst.w r3, #4278190080 ; 0xff000000 + 80083b4: bf04 itt eq + 80083b6: 021b lsleq r3, r3, #8 + 80083b8: 3008 addeq r0, #8 + 80083ba: f013 4f70 tst.w r3, #4026531840 ; 0xf0000000 + 80083be: bf04 itt eq + 80083c0: 011b lsleq r3, r3, #4 + 80083c2: 3004 addeq r0, #4 + 80083c4: f013 4f40 tst.w r3, #3221225472 ; 0xc0000000 + 80083c8: bf04 itt eq + 80083ca: 009b lsleq r3, r3, #2 + 80083cc: 3002 addeq r0, #2 + 80083ce: 2b00 cmp r3, #0 + 80083d0: db05 blt.n 80083de <__hi0bits+0x3a> + 80083d2: f013 4f80 tst.w r3, #1073741824 ; 0x40000000 + 80083d6: f100 0001 add.w r0, r0, #1 + 80083da: bf08 it eq + 80083dc: 2020 moveq r0, #32 + 80083de: 4770 bx lr + 80083e0: 2000 movs r0, #0 + 80083e2: e7e5 b.n 80083b0 <__hi0bits+0xc> -08007e68 <__sfputs_r>: - 8007e68: b5f8 push {r3, r4, r5, r6, r7, lr} - 8007e6a: 4606 mov r6, r0 - 8007e6c: 460f mov r7, r1 - 8007e6e: 4614 mov r4, r2 - 8007e70: 18d5 adds r5, r2, r3 - 8007e72: 42ac cmp r4, r5 - 8007e74: d101 bne.n 8007e7a <__sfputs_r+0x12> - 8007e76: 2000 movs r0, #0 - 8007e78: e007 b.n 8007e8a <__sfputs_r+0x22> - 8007e7a: 463a mov r2, r7 - 8007e7c: 4630 mov r0, r6 - 8007e7e: f814 1b01 ldrb.w r1, [r4], #1 - 8007e82: f7ff ffdc bl 8007e3e <__sfputc_r> - 8007e86: 1c43 adds r3, r0, #1 - 8007e88: d1f3 bne.n 8007e72 <__sfputs_r+0xa> - 8007e8a: bdf8 pop {r3, r4, r5, r6, r7, pc} +080083e4 <__lo0bits>: + 80083e4: 6803 ldr r3, [r0, #0] + 80083e6: 4602 mov r2, r0 + 80083e8: f013 0007 ands.w r0, r3, #7 + 80083ec: d00b beq.n 8008406 <__lo0bits+0x22> + 80083ee: 07d9 lsls r1, r3, #31 + 80083f0: d422 bmi.n 8008438 <__lo0bits+0x54> + 80083f2: 0798 lsls r0, r3, #30 + 80083f4: bf49 itett mi + 80083f6: 085b lsrmi r3, r3, #1 + 80083f8: 089b lsrpl r3, r3, #2 + 80083fa: 2001 movmi r0, #1 + 80083fc: 6013 strmi r3, [r2, #0] + 80083fe: bf5c itt pl + 8008400: 2002 movpl r0, #2 + 8008402: 6013 strpl r3, [r2, #0] + 8008404: 4770 bx lr + 8008406: b299 uxth r1, r3 + 8008408: b909 cbnz r1, 800840e <__lo0bits+0x2a> + 800840a: 2010 movs r0, #16 + 800840c: 0c1b lsrs r3, r3, #16 + 800840e: f013 0fff tst.w r3, #255 ; 0xff + 8008412: bf04 itt eq + 8008414: 0a1b lsreq r3, r3, #8 + 8008416: 3008 addeq r0, #8 + 8008418: 0719 lsls r1, r3, #28 + 800841a: bf04 itt eq + 800841c: 091b lsreq r3, r3, #4 + 800841e: 3004 addeq r0, #4 + 8008420: 0799 lsls r1, r3, #30 + 8008422: bf04 itt eq + 8008424: 089b lsreq r3, r3, #2 + 8008426: 3002 addeq r0, #2 + 8008428: 07d9 lsls r1, r3, #31 + 800842a: d403 bmi.n 8008434 <__lo0bits+0x50> + 800842c: 085b lsrs r3, r3, #1 + 800842e: f100 0001 add.w r0, r0, #1 + 8008432: d003 beq.n 800843c <__lo0bits+0x58> + 8008434: 6013 str r3, [r2, #0] + 8008436: 4770 bx lr + 8008438: 2000 movs r0, #0 + 800843a: 4770 bx lr + 800843c: 2020 movs r0, #32 + 800843e: 4770 bx lr -08007e8c <_vfiprintf_r>: - 8007e8c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} - 8007e90: 460d mov r5, r1 - 8007e92: 4614 mov r4, r2 - 8007e94: 4698 mov r8, r3 - 8007e96: 4606 mov r6, r0 - 8007e98: b09d sub sp, #116 ; 0x74 - 8007e9a: b118 cbz r0, 8007ea4 <_vfiprintf_r+0x18> - 8007e9c: 6983 ldr r3, [r0, #24] - 8007e9e: b90b cbnz r3, 8007ea4 <_vfiprintf_r+0x18> - 8007ea0: f000 fb14 bl 80084cc <__sinit> - 8007ea4: 4b89 ldr r3, [pc, #548] ; (80080cc <_vfiprintf_r+0x240>) - 8007ea6: 429d cmp r5, r3 - 8007ea8: d11b bne.n 8007ee2 <_vfiprintf_r+0x56> - 8007eaa: 6875 ldr r5, [r6, #4] - 8007eac: 6e6b ldr r3, [r5, #100] ; 0x64 - 8007eae: 07d9 lsls r1, r3, #31 - 8007eb0: d405 bmi.n 8007ebe <_vfiprintf_r+0x32> - 8007eb2: 89ab ldrh r3, [r5, #12] - 8007eb4: 059a lsls r2, r3, #22 - 8007eb6: d402 bmi.n 8007ebe <_vfiprintf_r+0x32> - 8007eb8: 6da8 ldr r0, [r5, #88] ; 0x58 - 8007eba: f7ff ff6c bl 8007d96 <__retarget_lock_acquire_recursive> - 8007ebe: 89ab ldrh r3, [r5, #12] - 8007ec0: 071b lsls r3, r3, #28 - 8007ec2: d501 bpl.n 8007ec8 <_vfiprintf_r+0x3c> - 8007ec4: 692b ldr r3, [r5, #16] - 8007ec6: b9eb cbnz r3, 8007f04 <_vfiprintf_r+0x78> - 8007ec8: 4629 mov r1, r5 - 8007eca: 4630 mov r0, r6 - 8007ecc: f000 f96e bl 80081ac <__swsetup_r> - 8007ed0: b1c0 cbz r0, 8007f04 <_vfiprintf_r+0x78> - 8007ed2: 6e6b ldr r3, [r5, #100] ; 0x64 - 8007ed4: 07dc lsls r4, r3, #31 - 8007ed6: d50e bpl.n 8007ef6 <_vfiprintf_r+0x6a> - 8007ed8: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 8007edc: b01d add sp, #116 ; 0x74 - 8007ede: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} - 8007ee2: 4b7b ldr r3, [pc, #492] ; (80080d0 <_vfiprintf_r+0x244>) - 8007ee4: 429d cmp r5, r3 - 8007ee6: d101 bne.n 8007eec <_vfiprintf_r+0x60> - 8007ee8: 68b5 ldr r5, [r6, #8] - 8007eea: e7df b.n 8007eac <_vfiprintf_r+0x20> - 8007eec: 4b79 ldr r3, [pc, #484] ; (80080d4 <_vfiprintf_r+0x248>) - 8007eee: 429d cmp r5, r3 - 8007ef0: bf08 it eq - 8007ef2: 68f5 ldreq r5, [r6, #12] - 8007ef4: e7da b.n 8007eac <_vfiprintf_r+0x20> - 8007ef6: 89ab ldrh r3, [r5, #12] - 8007ef8: 0598 lsls r0, r3, #22 - 8007efa: d4ed bmi.n 8007ed8 <_vfiprintf_r+0x4c> - 8007efc: 6da8 ldr r0, [r5, #88] ; 0x58 - 8007efe: f7ff ff4b bl 8007d98 <__retarget_lock_release_recursive> - 8007f02: e7e9 b.n 8007ed8 <_vfiprintf_r+0x4c> - 8007f04: 2300 movs r3, #0 - 8007f06: 9309 str r3, [sp, #36] ; 0x24 - 8007f08: 2320 movs r3, #32 - 8007f0a: f88d 3029 strb.w r3, [sp, #41] ; 0x29 - 8007f0e: 2330 movs r3, #48 ; 0x30 - 8007f10: f04f 0901 mov.w r9, #1 - 8007f14: f8cd 800c str.w r8, [sp, #12] - 8007f18: f8df 81bc ldr.w r8, [pc, #444] ; 80080d8 <_vfiprintf_r+0x24c> - 8007f1c: f88d 302a strb.w r3, [sp, #42] ; 0x2a - 8007f20: 4623 mov r3, r4 - 8007f22: 469a mov sl, r3 - 8007f24: f813 2b01 ldrb.w r2, [r3], #1 - 8007f28: b10a cbz r2, 8007f2e <_vfiprintf_r+0xa2> - 8007f2a: 2a25 cmp r2, #37 ; 0x25 - 8007f2c: d1f9 bne.n 8007f22 <_vfiprintf_r+0x96> - 8007f2e: ebba 0b04 subs.w fp, sl, r4 - 8007f32: d00b beq.n 8007f4c <_vfiprintf_r+0xc0> - 8007f34: 465b mov r3, fp - 8007f36: 4622 mov r2, r4 - 8007f38: 4629 mov r1, r5 - 8007f3a: 4630 mov r0, r6 - 8007f3c: f7ff ff94 bl 8007e68 <__sfputs_r> - 8007f40: 3001 adds r0, #1 - 8007f42: f000 80aa beq.w 800809a <_vfiprintf_r+0x20e> - 8007f46: 9a09 ldr r2, [sp, #36] ; 0x24 - 8007f48: 445a add r2, fp - 8007f4a: 9209 str r2, [sp, #36] ; 0x24 - 8007f4c: f89a 3000 ldrb.w r3, [sl] - 8007f50: 2b00 cmp r3, #0 - 8007f52: f000 80a2 beq.w 800809a <_vfiprintf_r+0x20e> - 8007f56: 2300 movs r3, #0 - 8007f58: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff - 8007f5c: e9cd 2305 strd r2, r3, [sp, #20] - 8007f60: f10a 0a01 add.w sl, sl, #1 - 8007f64: 9304 str r3, [sp, #16] - 8007f66: 9307 str r3, [sp, #28] - 8007f68: f88d 3053 strb.w r3, [sp, #83] ; 0x53 - 8007f6c: 931a str r3, [sp, #104] ; 0x68 - 8007f6e: 4654 mov r4, sl - 8007f70: 2205 movs r2, #5 - 8007f72: f814 1b01 ldrb.w r1, [r4], #1 - 8007f76: 4858 ldr r0, [pc, #352] ; (80080d8 <_vfiprintf_r+0x24c>) - 8007f78: f7ff f9c8 bl 800730c - 8007f7c: 9a04 ldr r2, [sp, #16] - 8007f7e: b9d8 cbnz r0, 8007fb8 <_vfiprintf_r+0x12c> - 8007f80: 06d1 lsls r1, r2, #27 - 8007f82: bf44 itt mi - 8007f84: 2320 movmi r3, #32 - 8007f86: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 - 8007f8a: 0713 lsls r3, r2, #28 - 8007f8c: bf44 itt mi - 8007f8e: 232b movmi r3, #43 ; 0x2b - 8007f90: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 - 8007f94: f89a 3000 ldrb.w r3, [sl] - 8007f98: 2b2a cmp r3, #42 ; 0x2a - 8007f9a: d015 beq.n 8007fc8 <_vfiprintf_r+0x13c> - 8007f9c: 4654 mov r4, sl - 8007f9e: 2000 movs r0, #0 - 8007fa0: f04f 0c0a mov.w ip, #10 - 8007fa4: 9a07 ldr r2, [sp, #28] - 8007fa6: 4621 mov r1, r4 - 8007fa8: f811 3b01 ldrb.w r3, [r1], #1 - 8007fac: 3b30 subs r3, #48 ; 0x30 - 8007fae: 2b09 cmp r3, #9 - 8007fb0: d94e bls.n 8008050 <_vfiprintf_r+0x1c4> - 8007fb2: b1b0 cbz r0, 8007fe2 <_vfiprintf_r+0x156> - 8007fb4: 9207 str r2, [sp, #28] - 8007fb6: e014 b.n 8007fe2 <_vfiprintf_r+0x156> - 8007fb8: eba0 0308 sub.w r3, r0, r8 - 8007fbc: fa09 f303 lsl.w r3, r9, r3 - 8007fc0: 4313 orrs r3, r2 - 8007fc2: 46a2 mov sl, r4 - 8007fc4: 9304 str r3, [sp, #16] - 8007fc6: e7d2 b.n 8007f6e <_vfiprintf_r+0xe2> - 8007fc8: 9b03 ldr r3, [sp, #12] - 8007fca: 1d19 adds r1, r3, #4 - 8007fcc: 681b ldr r3, [r3, #0] - 8007fce: 9103 str r1, [sp, #12] - 8007fd0: 2b00 cmp r3, #0 - 8007fd2: bfbb ittet lt - 8007fd4: 425b neglt r3, r3 - 8007fd6: f042 0202 orrlt.w r2, r2, #2 - 8007fda: 9307 strge r3, [sp, #28] - 8007fdc: 9307 strlt r3, [sp, #28] - 8007fde: bfb8 it lt - 8007fe0: 9204 strlt r2, [sp, #16] - 8007fe2: 7823 ldrb r3, [r4, #0] - 8007fe4: 2b2e cmp r3, #46 ; 0x2e - 8007fe6: d10c bne.n 8008002 <_vfiprintf_r+0x176> - 8007fe8: 7863 ldrb r3, [r4, #1] - 8007fea: 2b2a cmp r3, #42 ; 0x2a - 8007fec: d135 bne.n 800805a <_vfiprintf_r+0x1ce> - 8007fee: 9b03 ldr r3, [sp, #12] - 8007ff0: 3402 adds r4, #2 - 8007ff2: 1d1a adds r2, r3, #4 - 8007ff4: 681b ldr r3, [r3, #0] - 8007ff6: 9203 str r2, [sp, #12] - 8007ff8: 2b00 cmp r3, #0 - 8007ffa: bfb8 it lt - 8007ffc: f04f 33ff movlt.w r3, #4294967295 ; 0xffffffff - 8008000: 9305 str r3, [sp, #20] - 8008002: f8df a0e4 ldr.w sl, [pc, #228] ; 80080e8 <_vfiprintf_r+0x25c> - 8008006: 2203 movs r2, #3 - 8008008: 4650 mov r0, sl - 800800a: 7821 ldrb r1, [r4, #0] - 800800c: f7ff f97e bl 800730c - 8008010: b140 cbz r0, 8008024 <_vfiprintf_r+0x198> - 8008012: 2340 movs r3, #64 ; 0x40 - 8008014: eba0 000a sub.w r0, r0, sl - 8008018: fa03 f000 lsl.w r0, r3, r0 - 800801c: 9b04 ldr r3, [sp, #16] - 800801e: 3401 adds r4, #1 - 8008020: 4303 orrs r3, r0 - 8008022: 9304 str r3, [sp, #16] - 8008024: f814 1b01 ldrb.w r1, [r4], #1 - 8008028: 2206 movs r2, #6 - 800802a: 482c ldr r0, [pc, #176] ; (80080dc <_vfiprintf_r+0x250>) - 800802c: f88d 1028 strb.w r1, [sp, #40] ; 0x28 - 8008030: f7ff f96c bl 800730c - 8008034: 2800 cmp r0, #0 - 8008036: d03f beq.n 80080b8 <_vfiprintf_r+0x22c> - 8008038: 4b29 ldr r3, [pc, #164] ; (80080e0 <_vfiprintf_r+0x254>) - 800803a: bb1b cbnz r3, 8008084 <_vfiprintf_r+0x1f8> - 800803c: 9b03 ldr r3, [sp, #12] - 800803e: 3307 adds r3, #7 - 8008040: f023 0307 bic.w r3, r3, #7 - 8008044: 3308 adds r3, #8 - 8008046: 9303 str r3, [sp, #12] - 8008048: 9b09 ldr r3, [sp, #36] ; 0x24 - 800804a: 443b add r3, r7 - 800804c: 9309 str r3, [sp, #36] ; 0x24 - 800804e: e767 b.n 8007f20 <_vfiprintf_r+0x94> - 8008050: 460c mov r4, r1 - 8008052: 2001 movs r0, #1 - 8008054: fb0c 3202 mla r2, ip, r2, r3 - 8008058: e7a5 b.n 8007fa6 <_vfiprintf_r+0x11a> - 800805a: 2300 movs r3, #0 - 800805c: f04f 0c0a mov.w ip, #10 - 8008060: 4619 mov r1, r3 - 8008062: 3401 adds r4, #1 - 8008064: 9305 str r3, [sp, #20] - 8008066: 4620 mov r0, r4 - 8008068: f810 2b01 ldrb.w r2, [r0], #1 - 800806c: 3a30 subs r2, #48 ; 0x30 - 800806e: 2a09 cmp r2, #9 - 8008070: d903 bls.n 800807a <_vfiprintf_r+0x1ee> - 8008072: 2b00 cmp r3, #0 - 8008074: d0c5 beq.n 8008002 <_vfiprintf_r+0x176> - 8008076: 9105 str r1, [sp, #20] - 8008078: e7c3 b.n 8008002 <_vfiprintf_r+0x176> - 800807a: 4604 mov r4, r0 - 800807c: 2301 movs r3, #1 - 800807e: fb0c 2101 mla r1, ip, r1, r2 - 8008082: e7f0 b.n 8008066 <_vfiprintf_r+0x1da> - 8008084: ab03 add r3, sp, #12 - 8008086: 9300 str r3, [sp, #0] - 8008088: 462a mov r2, r5 - 800808a: 4630 mov r0, r6 - 800808c: 4b15 ldr r3, [pc, #84] ; (80080e4 <_vfiprintf_r+0x258>) - 800808e: a904 add r1, sp, #16 - 8008090: f7fd feca bl 8005e28 <_printf_float> - 8008094: 4607 mov r7, r0 - 8008096: 1c78 adds r0, r7, #1 - 8008098: d1d6 bne.n 8008048 <_vfiprintf_r+0x1bc> - 800809a: 6e6b ldr r3, [r5, #100] ; 0x64 - 800809c: 07d9 lsls r1, r3, #31 - 800809e: d405 bmi.n 80080ac <_vfiprintf_r+0x220> - 80080a0: 89ab ldrh r3, [r5, #12] - 80080a2: 059a lsls r2, r3, #22 - 80080a4: d402 bmi.n 80080ac <_vfiprintf_r+0x220> - 80080a6: 6da8 ldr r0, [r5, #88] ; 0x58 - 80080a8: f7ff fe76 bl 8007d98 <__retarget_lock_release_recursive> - 80080ac: 89ab ldrh r3, [r5, #12] - 80080ae: 065b lsls r3, r3, #25 - 80080b0: f53f af12 bmi.w 8007ed8 <_vfiprintf_r+0x4c> - 80080b4: 9809 ldr r0, [sp, #36] ; 0x24 - 80080b6: e711 b.n 8007edc <_vfiprintf_r+0x50> - 80080b8: ab03 add r3, sp, #12 - 80080ba: 9300 str r3, [sp, #0] - 80080bc: 462a mov r2, r5 - 80080be: 4630 mov r0, r6 - 80080c0: 4b08 ldr r3, [pc, #32] ; (80080e4 <_vfiprintf_r+0x258>) - 80080c2: a904 add r1, sp, #16 - 80080c4: f7fe f94c bl 8006360 <_printf_i> - 80080c8: e7e4 b.n 8008094 <_vfiprintf_r+0x208> - 80080ca: bf00 nop - 80080cc: 080097ec .word 0x080097ec - 80080d0: 0800980c .word 0x0800980c - 80080d4: 080097cc .word 0x080097cc - 80080d8: 08009674 .word 0x08009674 - 80080dc: 0800967e .word 0x0800967e - 80080e0: 08005e29 .word 0x08005e29 - 80080e4: 08007e69 .word 0x08007e69 - 80080e8: 0800967a .word 0x0800967a +08008440 <__i2b>: + 8008440: b510 push {r4, lr} + 8008442: 460c mov r4, r1 + 8008444: 2101 movs r1, #1 + 8008446: f7ff ff01 bl 800824c <_Balloc> + 800844a: 4602 mov r2, r0 + 800844c: b928 cbnz r0, 800845a <__i2b+0x1a> + 800844e: f44f 71a0 mov.w r1, #320 ; 0x140 + 8008452: 4b04 ldr r3, [pc, #16] ; (8008464 <__i2b+0x24>) + 8008454: 4804 ldr r0, [pc, #16] ; (8008468 <__i2b+0x28>) + 8008456: f000 fbe5 bl 8008c24 <__assert_func> + 800845a: 2301 movs r3, #1 + 800845c: 6144 str r4, [r0, #20] + 800845e: 6103 str r3, [r0, #16] + 8008460: bd10 pop {r4, pc} + 8008462: bf00 nop + 8008464: 0800a823 .word 0x0800a823 + 8008468: 0800a834 .word 0x0800a834 -080080ec <__swbuf_r>: - 80080ec: b5f8 push {r3, r4, r5, r6, r7, lr} - 80080ee: 460e mov r6, r1 - 80080f0: 4614 mov r4, r2 - 80080f2: 4605 mov r5, r0 - 80080f4: b118 cbz r0, 80080fe <__swbuf_r+0x12> - 80080f6: 6983 ldr r3, [r0, #24] - 80080f8: b90b cbnz r3, 80080fe <__swbuf_r+0x12> - 80080fa: f000 f9e7 bl 80084cc <__sinit> - 80080fe: 4b21 ldr r3, [pc, #132] ; (8008184 <__swbuf_r+0x98>) - 8008100: 429c cmp r4, r3 - 8008102: d12b bne.n 800815c <__swbuf_r+0x70> - 8008104: 686c ldr r4, [r5, #4] - 8008106: 69a3 ldr r3, [r4, #24] - 8008108: 60a3 str r3, [r4, #8] - 800810a: 89a3 ldrh r3, [r4, #12] - 800810c: 071a lsls r2, r3, #28 - 800810e: d52f bpl.n 8008170 <__swbuf_r+0x84> - 8008110: 6923 ldr r3, [r4, #16] - 8008112: b36b cbz r3, 8008170 <__swbuf_r+0x84> - 8008114: 6923 ldr r3, [r4, #16] - 8008116: 6820 ldr r0, [r4, #0] - 8008118: b2f6 uxtb r6, r6 - 800811a: 1ac0 subs r0, r0, r3 - 800811c: 6963 ldr r3, [r4, #20] - 800811e: 4637 mov r7, r6 - 8008120: 4283 cmp r3, r0 - 8008122: dc04 bgt.n 800812e <__swbuf_r+0x42> - 8008124: 4621 mov r1, r4 - 8008126: 4628 mov r0, r5 - 8008128: f000 f93c bl 80083a4 <_fflush_r> - 800812c: bb30 cbnz r0, 800817c <__swbuf_r+0x90> - 800812e: 68a3 ldr r3, [r4, #8] - 8008130: 3001 adds r0, #1 - 8008132: 3b01 subs r3, #1 - 8008134: 60a3 str r3, [r4, #8] - 8008136: 6823 ldr r3, [r4, #0] - 8008138: 1c5a adds r2, r3, #1 - 800813a: 6022 str r2, [r4, #0] - 800813c: 701e strb r6, [r3, #0] - 800813e: 6963 ldr r3, [r4, #20] - 8008140: 4283 cmp r3, r0 - 8008142: d004 beq.n 800814e <__swbuf_r+0x62> - 8008144: 89a3 ldrh r3, [r4, #12] - 8008146: 07db lsls r3, r3, #31 - 8008148: d506 bpl.n 8008158 <__swbuf_r+0x6c> - 800814a: 2e0a cmp r6, #10 - 800814c: d104 bne.n 8008158 <__swbuf_r+0x6c> - 800814e: 4621 mov r1, r4 - 8008150: 4628 mov r0, r5 - 8008152: f000 f927 bl 80083a4 <_fflush_r> - 8008156: b988 cbnz r0, 800817c <__swbuf_r+0x90> - 8008158: 4638 mov r0, r7 - 800815a: bdf8 pop {r3, r4, r5, r6, r7, pc} - 800815c: 4b0a ldr r3, [pc, #40] ; (8008188 <__swbuf_r+0x9c>) - 800815e: 429c cmp r4, r3 - 8008160: d101 bne.n 8008166 <__swbuf_r+0x7a> - 8008162: 68ac ldr r4, [r5, #8] - 8008164: e7cf b.n 8008106 <__swbuf_r+0x1a> - 8008166: 4b09 ldr r3, [pc, #36] ; (800818c <__swbuf_r+0xa0>) - 8008168: 429c cmp r4, r3 - 800816a: bf08 it eq - 800816c: 68ec ldreq r4, [r5, #12] - 800816e: e7ca b.n 8008106 <__swbuf_r+0x1a> - 8008170: 4621 mov r1, r4 - 8008172: 4628 mov r0, r5 - 8008174: f000 f81a bl 80081ac <__swsetup_r> - 8008178: 2800 cmp r0, #0 - 800817a: d0cb beq.n 8008114 <__swbuf_r+0x28> - 800817c: f04f 37ff mov.w r7, #4294967295 ; 0xffffffff - 8008180: e7ea b.n 8008158 <__swbuf_r+0x6c> - 8008182: bf00 nop - 8008184: 080097ec .word 0x080097ec - 8008188: 0800980c .word 0x0800980c - 800818c: 080097cc .word 0x080097cc - -08008190 <__ascii_wctomb>: - 8008190: 4603 mov r3, r0 - 8008192: 4608 mov r0, r1 - 8008194: b141 cbz r1, 80081a8 <__ascii_wctomb+0x18> - 8008196: 2aff cmp r2, #255 ; 0xff - 8008198: d904 bls.n 80081a4 <__ascii_wctomb+0x14> - 800819a: 228a movs r2, #138 ; 0x8a - 800819c: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 80081a0: 601a str r2, [r3, #0] - 80081a2: 4770 bx lr - 80081a4: 2001 movs r0, #1 - 80081a6: 700a strb r2, [r1, #0] - 80081a8: 4770 bx lr - ... - -080081ac <__swsetup_r>: - 80081ac: 4b32 ldr r3, [pc, #200] ; (8008278 <__swsetup_r+0xcc>) - 80081ae: b570 push {r4, r5, r6, lr} - 80081b0: 681d ldr r5, [r3, #0] - 80081b2: 4606 mov r6, r0 - 80081b4: 460c mov r4, r1 - 80081b6: b125 cbz r5, 80081c2 <__swsetup_r+0x16> - 80081b8: 69ab ldr r3, [r5, #24] - 80081ba: b913 cbnz r3, 80081c2 <__swsetup_r+0x16> - 80081bc: 4628 mov r0, r5 - 80081be: f000 f985 bl 80084cc <__sinit> - 80081c2: 4b2e ldr r3, [pc, #184] ; (800827c <__swsetup_r+0xd0>) - 80081c4: 429c cmp r4, r3 - 80081c6: d10f bne.n 80081e8 <__swsetup_r+0x3c> - 80081c8: 686c ldr r4, [r5, #4] - 80081ca: 89a3 ldrh r3, [r4, #12] - 80081cc: f9b4 200c ldrsh.w r2, [r4, #12] - 80081d0: 0719 lsls r1, r3, #28 - 80081d2: d42c bmi.n 800822e <__swsetup_r+0x82> - 80081d4: 06dd lsls r5, r3, #27 - 80081d6: d411 bmi.n 80081fc <__swsetup_r+0x50> - 80081d8: 2309 movs r3, #9 - 80081da: 6033 str r3, [r6, #0] - 80081dc: f042 0340 orr.w r3, r2, #64 ; 0x40 - 80081e0: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 80081e4: 81a3 strh r3, [r4, #12] - 80081e6: e03e b.n 8008266 <__swsetup_r+0xba> - 80081e8: 4b25 ldr r3, [pc, #148] ; (8008280 <__swsetup_r+0xd4>) - 80081ea: 429c cmp r4, r3 - 80081ec: d101 bne.n 80081f2 <__swsetup_r+0x46> - 80081ee: 68ac ldr r4, [r5, #8] - 80081f0: e7eb b.n 80081ca <__swsetup_r+0x1e> - 80081f2: 4b24 ldr r3, [pc, #144] ; (8008284 <__swsetup_r+0xd8>) - 80081f4: 429c cmp r4, r3 - 80081f6: bf08 it eq - 80081f8: 68ec ldreq r4, [r5, #12] - 80081fa: e7e6 b.n 80081ca <__swsetup_r+0x1e> - 80081fc: 0758 lsls r0, r3, #29 - 80081fe: d512 bpl.n 8008226 <__swsetup_r+0x7a> - 8008200: 6b61 ldr r1, [r4, #52] ; 0x34 - 8008202: b141 cbz r1, 8008216 <__swsetup_r+0x6a> - 8008204: f104 0344 add.w r3, r4, #68 ; 0x44 - 8008208: 4299 cmp r1, r3 - 800820a: d002 beq.n 8008212 <__swsetup_r+0x66> - 800820c: 4630 mov r0, r6 - 800820e: f7fd fcc7 bl 8005ba0 <_free_r> - 8008212: 2300 movs r3, #0 - 8008214: 6363 str r3, [r4, #52] ; 0x34 - 8008216: 89a3 ldrh r3, [r4, #12] - 8008218: f023 0324 bic.w r3, r3, #36 ; 0x24 - 800821c: 81a3 strh r3, [r4, #12] - 800821e: 2300 movs r3, #0 - 8008220: 6063 str r3, [r4, #4] - 8008222: 6923 ldr r3, [r4, #16] - 8008224: 6023 str r3, [r4, #0] - 8008226: 89a3 ldrh r3, [r4, #12] - 8008228: f043 0308 orr.w r3, r3, #8 - 800822c: 81a3 strh r3, [r4, #12] - 800822e: 6923 ldr r3, [r4, #16] - 8008230: b94b cbnz r3, 8008246 <__swsetup_r+0x9a> - 8008232: 89a3 ldrh r3, [r4, #12] - 8008234: f403 7320 and.w r3, r3, #640 ; 0x280 - 8008238: f5b3 7f00 cmp.w r3, #512 ; 0x200 - 800823c: d003 beq.n 8008246 <__swsetup_r+0x9a> - 800823e: 4621 mov r1, r4 - 8008240: 4630 mov r0, r6 - 8008242: f000 fa05 bl 8008650 <__smakebuf_r> - 8008246: 89a0 ldrh r0, [r4, #12] - 8008248: f9b4 200c ldrsh.w r2, [r4, #12] - 800824c: f010 0301 ands.w r3, r0, #1 - 8008250: d00a beq.n 8008268 <__swsetup_r+0xbc> - 8008252: 2300 movs r3, #0 - 8008254: 60a3 str r3, [r4, #8] - 8008256: 6963 ldr r3, [r4, #20] - 8008258: 425b negs r3, r3 - 800825a: 61a3 str r3, [r4, #24] - 800825c: 6923 ldr r3, [r4, #16] - 800825e: b943 cbnz r3, 8008272 <__swsetup_r+0xc6> - 8008260: f010 0080 ands.w r0, r0, #128 ; 0x80 - 8008264: d1ba bne.n 80081dc <__swsetup_r+0x30> - 8008266: bd70 pop {r4, r5, r6, pc} - 8008268: 0781 lsls r1, r0, #30 - 800826a: bf58 it pl - 800826c: 6963 ldrpl r3, [r4, #20] - 800826e: 60a3 str r3, [r4, #8] - 8008270: e7f4 b.n 800825c <__swsetup_r+0xb0> - 8008272: 2000 movs r0, #0 - 8008274: e7f7 b.n 8008266 <__swsetup_r+0xba> - 8008276: bf00 nop - 8008278: 2000000c .word 0x2000000c - 800827c: 080097ec .word 0x080097ec - 8008280: 0800980c .word 0x0800980c - 8008284: 080097cc .word 0x080097cc - -08008288 : - 8008288: 2006 movs r0, #6 - 800828a: b508 push {r3, lr} - 800828c: f000 fa50 bl 8008730 - 8008290: 2001 movs r0, #1 - 8008292: f7f9 f9f5 bl 8001680 <_exit> - ... - -08008298 <__sflush_r>: - 8008298: 898a ldrh r2, [r1, #12] - 800829a: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800829e: 4605 mov r5, r0 - 80082a0: 0710 lsls r0, r2, #28 - 80082a2: 460c mov r4, r1 - 80082a4: d458 bmi.n 8008358 <__sflush_r+0xc0> - 80082a6: 684b ldr r3, [r1, #4] - 80082a8: 2b00 cmp r3, #0 - 80082aa: dc05 bgt.n 80082b8 <__sflush_r+0x20> - 80082ac: 6c0b ldr r3, [r1, #64] ; 0x40 - 80082ae: 2b00 cmp r3, #0 - 80082b0: dc02 bgt.n 80082b8 <__sflush_r+0x20> - 80082b2: 2000 movs r0, #0 - 80082b4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} - 80082b8: 6ae6 ldr r6, [r4, #44] ; 0x2c - 80082ba: 2e00 cmp r6, #0 - 80082bc: d0f9 beq.n 80082b2 <__sflush_r+0x1a> - 80082be: 2300 movs r3, #0 - 80082c0: f412 5280 ands.w r2, r2, #4096 ; 0x1000 - 80082c4: 682f ldr r7, [r5, #0] - 80082c6: 602b str r3, [r5, #0] - 80082c8: d032 beq.n 8008330 <__sflush_r+0x98> - 80082ca: 6d60 ldr r0, [r4, #84] ; 0x54 - 80082cc: 89a3 ldrh r3, [r4, #12] - 80082ce: 075a lsls r2, r3, #29 - 80082d0: d505 bpl.n 80082de <__sflush_r+0x46> - 80082d2: 6863 ldr r3, [r4, #4] - 80082d4: 1ac0 subs r0, r0, r3 - 80082d6: 6b63 ldr r3, [r4, #52] ; 0x34 - 80082d8: b10b cbz r3, 80082de <__sflush_r+0x46> - 80082da: 6c23 ldr r3, [r4, #64] ; 0x40 - 80082dc: 1ac0 subs r0, r0, r3 - 80082de: 2300 movs r3, #0 - 80082e0: 4602 mov r2, r0 - 80082e2: 6ae6 ldr r6, [r4, #44] ; 0x2c - 80082e4: 4628 mov r0, r5 - 80082e6: 6a21 ldr r1, [r4, #32] - 80082e8: 47b0 blx r6 - 80082ea: 1c43 adds r3, r0, #1 - 80082ec: 89a3 ldrh r3, [r4, #12] - 80082ee: d106 bne.n 80082fe <__sflush_r+0x66> - 80082f0: 6829 ldr r1, [r5, #0] - 80082f2: 291d cmp r1, #29 - 80082f4: d82c bhi.n 8008350 <__sflush_r+0xb8> - 80082f6: 4a2a ldr r2, [pc, #168] ; (80083a0 <__sflush_r+0x108>) - 80082f8: 40ca lsrs r2, r1 - 80082fa: 07d6 lsls r6, r2, #31 - 80082fc: d528 bpl.n 8008350 <__sflush_r+0xb8> - 80082fe: 2200 movs r2, #0 - 8008300: 6062 str r2, [r4, #4] - 8008302: 6922 ldr r2, [r4, #16] - 8008304: 04d9 lsls r1, r3, #19 - 8008306: 6022 str r2, [r4, #0] - 8008308: d504 bpl.n 8008314 <__sflush_r+0x7c> - 800830a: 1c42 adds r2, r0, #1 - 800830c: d101 bne.n 8008312 <__sflush_r+0x7a> - 800830e: 682b ldr r3, [r5, #0] - 8008310: b903 cbnz r3, 8008314 <__sflush_r+0x7c> - 8008312: 6560 str r0, [r4, #84] ; 0x54 - 8008314: 6b61 ldr r1, [r4, #52] ; 0x34 - 8008316: 602f str r7, [r5, #0] - 8008318: 2900 cmp r1, #0 - 800831a: d0ca beq.n 80082b2 <__sflush_r+0x1a> - 800831c: f104 0344 add.w r3, r4, #68 ; 0x44 - 8008320: 4299 cmp r1, r3 - 8008322: d002 beq.n 800832a <__sflush_r+0x92> - 8008324: 4628 mov r0, r5 - 8008326: f7fd fc3b bl 8005ba0 <_free_r> - 800832a: 2000 movs r0, #0 - 800832c: 6360 str r0, [r4, #52] ; 0x34 - 800832e: e7c1 b.n 80082b4 <__sflush_r+0x1c> - 8008330: 6a21 ldr r1, [r4, #32] - 8008332: 2301 movs r3, #1 - 8008334: 4628 mov r0, r5 - 8008336: 47b0 blx r6 - 8008338: 1c41 adds r1, r0, #1 - 800833a: d1c7 bne.n 80082cc <__sflush_r+0x34> - 800833c: 682b ldr r3, [r5, #0] - 800833e: 2b00 cmp r3, #0 - 8008340: d0c4 beq.n 80082cc <__sflush_r+0x34> - 8008342: 2b1d cmp r3, #29 - 8008344: d001 beq.n 800834a <__sflush_r+0xb2> - 8008346: 2b16 cmp r3, #22 - 8008348: d101 bne.n 800834e <__sflush_r+0xb6> - 800834a: 602f str r7, [r5, #0] - 800834c: e7b1 b.n 80082b2 <__sflush_r+0x1a> - 800834e: 89a3 ldrh r3, [r4, #12] - 8008350: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8008354: 81a3 strh r3, [r4, #12] - 8008356: e7ad b.n 80082b4 <__sflush_r+0x1c> - 8008358: 690f ldr r7, [r1, #16] - 800835a: 2f00 cmp r7, #0 - 800835c: d0a9 beq.n 80082b2 <__sflush_r+0x1a> - 800835e: 0793 lsls r3, r2, #30 - 8008360: bf18 it ne - 8008362: 2300 movne r3, #0 - 8008364: 680e ldr r6, [r1, #0] - 8008366: bf08 it eq - 8008368: 694b ldreq r3, [r1, #20] - 800836a: eba6 0807 sub.w r8, r6, r7 - 800836e: 600f str r7, [r1, #0] - 8008370: 608b str r3, [r1, #8] - 8008372: f1b8 0f00 cmp.w r8, #0 - 8008376: dd9c ble.n 80082b2 <__sflush_r+0x1a> - 8008378: 4643 mov r3, r8 - 800837a: 463a mov r2, r7 - 800837c: 4628 mov r0, r5 - 800837e: 6a21 ldr r1, [r4, #32] - 8008380: 6aa6 ldr r6, [r4, #40] ; 0x28 - 8008382: 47b0 blx r6 - 8008384: 2800 cmp r0, #0 - 8008386: dc06 bgt.n 8008396 <__sflush_r+0xfe> - 8008388: 89a3 ldrh r3, [r4, #12] - 800838a: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 800838e: f043 0340 orr.w r3, r3, #64 ; 0x40 - 8008392: 81a3 strh r3, [r4, #12] - 8008394: e78e b.n 80082b4 <__sflush_r+0x1c> - 8008396: 4407 add r7, r0 - 8008398: eba8 0800 sub.w r8, r8, r0 - 800839c: e7e9 b.n 8008372 <__sflush_r+0xda> - 800839e: bf00 nop - 80083a0: 20400001 .word 0x20400001 - -080083a4 <_fflush_r>: - 80083a4: b538 push {r3, r4, r5, lr} - 80083a6: 690b ldr r3, [r1, #16] - 80083a8: 4605 mov r5, r0 - 80083aa: 460c mov r4, r1 - 80083ac: b913 cbnz r3, 80083b4 <_fflush_r+0x10> - 80083ae: 2500 movs r5, #0 - 80083b0: 4628 mov r0, r5 - 80083b2: bd38 pop {r3, r4, r5, pc} - 80083b4: b118 cbz r0, 80083be <_fflush_r+0x1a> - 80083b6: 6983 ldr r3, [r0, #24] - 80083b8: b90b cbnz r3, 80083be <_fflush_r+0x1a> - 80083ba: f000 f887 bl 80084cc <__sinit> - 80083be: 4b14 ldr r3, [pc, #80] ; (8008410 <_fflush_r+0x6c>) - 80083c0: 429c cmp r4, r3 - 80083c2: d11b bne.n 80083fc <_fflush_r+0x58> - 80083c4: 686c ldr r4, [r5, #4] - 80083c6: f9b4 300c ldrsh.w r3, [r4, #12] - 80083ca: 2b00 cmp r3, #0 - 80083cc: d0ef beq.n 80083ae <_fflush_r+0xa> - 80083ce: 6e62 ldr r2, [r4, #100] ; 0x64 - 80083d0: 07d0 lsls r0, r2, #31 - 80083d2: d404 bmi.n 80083de <_fflush_r+0x3a> - 80083d4: 0599 lsls r1, r3, #22 - 80083d6: d402 bmi.n 80083de <_fflush_r+0x3a> - 80083d8: 6da0 ldr r0, [r4, #88] ; 0x58 - 80083da: f7ff fcdc bl 8007d96 <__retarget_lock_acquire_recursive> - 80083de: 4628 mov r0, r5 - 80083e0: 4621 mov r1, r4 - 80083e2: f7ff ff59 bl 8008298 <__sflush_r> - 80083e6: 6e63 ldr r3, [r4, #100] ; 0x64 - 80083e8: 4605 mov r5, r0 - 80083ea: 07da lsls r2, r3, #31 - 80083ec: d4e0 bmi.n 80083b0 <_fflush_r+0xc> - 80083ee: 89a3 ldrh r3, [r4, #12] - 80083f0: 059b lsls r3, r3, #22 - 80083f2: d4dd bmi.n 80083b0 <_fflush_r+0xc> - 80083f4: 6da0 ldr r0, [r4, #88] ; 0x58 - 80083f6: f7ff fccf bl 8007d98 <__retarget_lock_release_recursive> - 80083fa: e7d9 b.n 80083b0 <_fflush_r+0xc> - 80083fc: 4b05 ldr r3, [pc, #20] ; (8008414 <_fflush_r+0x70>) - 80083fe: 429c cmp r4, r3 - 8008400: d101 bne.n 8008406 <_fflush_r+0x62> - 8008402: 68ac ldr r4, [r5, #8] - 8008404: e7df b.n 80083c6 <_fflush_r+0x22> - 8008406: 4b04 ldr r3, [pc, #16] ; (8008418 <_fflush_r+0x74>) - 8008408: 429c cmp r4, r3 - 800840a: bf08 it eq - 800840c: 68ec ldreq r4, [r5, #12] - 800840e: e7da b.n 80083c6 <_fflush_r+0x22> - 8008410: 080097ec .word 0x080097ec - 8008414: 0800980c .word 0x0800980c - 8008418: 080097cc .word 0x080097cc - -0800841c : - 800841c: 2300 movs r3, #0 - 800841e: b510 push {r4, lr} - 8008420: 4604 mov r4, r0 - 8008422: e9c0 3300 strd r3, r3, [r0] - 8008426: e9c0 3304 strd r3, r3, [r0, #16] - 800842a: 6083 str r3, [r0, #8] - 800842c: 8181 strh r1, [r0, #12] - 800842e: 6643 str r3, [r0, #100] ; 0x64 - 8008430: 81c2 strh r2, [r0, #14] - 8008432: 6183 str r3, [r0, #24] - 8008434: 4619 mov r1, r3 - 8008436: 2208 movs r2, #8 - 8008438: 305c adds r0, #92 ; 0x5c - 800843a: f7fd fba9 bl 8005b90 - 800843e: 4b05 ldr r3, [pc, #20] ; (8008454 ) - 8008440: 6224 str r4, [r4, #32] - 8008442: 6263 str r3, [r4, #36] ; 0x24 - 8008444: 4b04 ldr r3, [pc, #16] ; (8008458 ) - 8008446: 62a3 str r3, [r4, #40] ; 0x28 - 8008448: 4b04 ldr r3, [pc, #16] ; (800845c ) - 800844a: 62e3 str r3, [r4, #44] ; 0x2c - 800844c: 4b04 ldr r3, [pc, #16] ; (8008460 ) - 800844e: 6323 str r3, [r4, #48] ; 0x30 - 8008450: bd10 pop {r4, pc} - 8008452: bf00 nop - 8008454: 08008769 .word 0x08008769 - 8008458: 0800878b .word 0x0800878b - 800845c: 080087c3 .word 0x080087c3 - 8008460: 080087e7 .word 0x080087e7 - -08008464 <_cleanup_r>: - 8008464: 4901 ldr r1, [pc, #4] ; (800846c <_cleanup_r+0x8>) - 8008466: f000 b8af b.w 80085c8 <_fwalk_reent> - 800846a: bf00 nop - 800846c: 080083a5 .word 0x080083a5 - -08008470 <__sfmoreglue>: - 8008470: b570 push {r4, r5, r6, lr} - 8008472: 2568 movs r5, #104 ; 0x68 - 8008474: 1e4a subs r2, r1, #1 - 8008476: 4355 muls r5, r2 - 8008478: 460e mov r6, r1 - 800847a: f105 0174 add.w r1, r5, #116 ; 0x74 - 800847e: f7fd fbdb bl 8005c38 <_malloc_r> - 8008482: 4604 mov r4, r0 - 8008484: b140 cbz r0, 8008498 <__sfmoreglue+0x28> - 8008486: 2100 movs r1, #0 - 8008488: e9c0 1600 strd r1, r6, [r0] - 800848c: 300c adds r0, #12 - 800848e: 60a0 str r0, [r4, #8] - 8008490: f105 0268 add.w r2, r5, #104 ; 0x68 - 8008494: f7fd fb7c bl 8005b90 - 8008498: 4620 mov r0, r4 - 800849a: bd70 pop {r4, r5, r6, pc} - -0800849c <__sfp_lock_acquire>: - 800849c: 4801 ldr r0, [pc, #4] ; (80084a4 <__sfp_lock_acquire+0x8>) - 800849e: f7ff bc7a b.w 8007d96 <__retarget_lock_acquire_recursive> - 80084a2: bf00 nop - 80084a4: 20000348 .word 0x20000348 - -080084a8 <__sfp_lock_release>: - 80084a8: 4801 ldr r0, [pc, #4] ; (80084b0 <__sfp_lock_release+0x8>) - 80084aa: f7ff bc75 b.w 8007d98 <__retarget_lock_release_recursive> - 80084ae: bf00 nop - 80084b0: 20000348 .word 0x20000348 - -080084b4 <__sinit_lock_acquire>: - 80084b4: 4801 ldr r0, [pc, #4] ; (80084bc <__sinit_lock_acquire+0x8>) - 80084b6: f7ff bc6e b.w 8007d96 <__retarget_lock_acquire_recursive> - 80084ba: bf00 nop - 80084bc: 20000343 .word 0x20000343 - -080084c0 <__sinit_lock_release>: - 80084c0: 4801 ldr r0, [pc, #4] ; (80084c8 <__sinit_lock_release+0x8>) - 80084c2: f7ff bc69 b.w 8007d98 <__retarget_lock_release_recursive> - 80084c6: bf00 nop - 80084c8: 20000343 .word 0x20000343 - -080084cc <__sinit>: - 80084cc: b510 push {r4, lr} - 80084ce: 4604 mov r4, r0 - 80084d0: f7ff fff0 bl 80084b4 <__sinit_lock_acquire> - 80084d4: 69a3 ldr r3, [r4, #24] - 80084d6: b11b cbz r3, 80084e0 <__sinit+0x14> - 80084d8: e8bd 4010 ldmia.w sp!, {r4, lr} - 80084dc: f7ff bff0 b.w 80084c0 <__sinit_lock_release> - 80084e0: e9c4 3312 strd r3, r3, [r4, #72] ; 0x48 - 80084e4: 6523 str r3, [r4, #80] ; 0x50 - 80084e6: 4b13 ldr r3, [pc, #76] ; (8008534 <__sinit+0x68>) - 80084e8: 4a13 ldr r2, [pc, #76] ; (8008538 <__sinit+0x6c>) - 80084ea: 681b ldr r3, [r3, #0] - 80084ec: 62a2 str r2, [r4, #40] ; 0x28 - 80084ee: 42a3 cmp r3, r4 - 80084f0: bf08 it eq - 80084f2: 2301 moveq r3, #1 - 80084f4: 4620 mov r0, r4 - 80084f6: bf08 it eq - 80084f8: 61a3 streq r3, [r4, #24] - 80084fa: f000 f81f bl 800853c <__sfp> - 80084fe: 6060 str r0, [r4, #4] - 8008500: 4620 mov r0, r4 - 8008502: f000 f81b bl 800853c <__sfp> - 8008506: 60a0 str r0, [r4, #8] - 8008508: 4620 mov r0, r4 - 800850a: f000 f817 bl 800853c <__sfp> +0800846c <__multiply>: + 800846c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8008470: 4614 mov r4, r2 + 8008472: 690a ldr r2, [r1, #16] + 8008474: 6923 ldr r3, [r4, #16] + 8008476: 460d mov r5, r1 + 8008478: 429a cmp r2, r3 + 800847a: bfbe ittt lt + 800847c: 460b movlt r3, r1 + 800847e: 4625 movlt r5, r4 + 8008480: 461c movlt r4, r3 + 8008482: f8d5 a010 ldr.w sl, [r5, #16] + 8008486: f8d4 9010 ldr.w r9, [r4, #16] + 800848a: 68ab ldr r3, [r5, #8] + 800848c: 6869 ldr r1, [r5, #4] + 800848e: eb0a 0709 add.w r7, sl, r9 + 8008492: 42bb cmp r3, r7 + 8008494: b085 sub sp, #20 + 8008496: bfb8 it lt + 8008498: 3101 addlt r1, #1 + 800849a: f7ff fed7 bl 800824c <_Balloc> + 800849e: b930 cbnz r0, 80084ae <__multiply+0x42> + 80084a0: 4602 mov r2, r0 + 80084a2: f240 115d movw r1, #349 ; 0x15d + 80084a6: 4b41 ldr r3, [pc, #260] ; (80085ac <__multiply+0x140>) + 80084a8: 4841 ldr r0, [pc, #260] ; (80085b0 <__multiply+0x144>) + 80084aa: f000 fbbb bl 8008c24 <__assert_func> + 80084ae: f100 0614 add.w r6, r0, #20 + 80084b2: 4633 mov r3, r6 + 80084b4: 2200 movs r2, #0 + 80084b6: eb06 0887 add.w r8, r6, r7, lsl #2 + 80084ba: 4543 cmp r3, r8 + 80084bc: d31e bcc.n 80084fc <__multiply+0x90> + 80084be: f105 0c14 add.w ip, r5, #20 + 80084c2: f104 0314 add.w r3, r4, #20 + 80084c6: eb0c 0c8a add.w ip, ip, sl, lsl #2 + 80084ca: eb03 0289 add.w r2, r3, r9, lsl #2 + 80084ce: 9202 str r2, [sp, #8] + 80084d0: ebac 0205 sub.w r2, ip, r5 + 80084d4: 3a15 subs r2, #21 + 80084d6: f022 0203 bic.w r2, r2, #3 + 80084da: 3204 adds r2, #4 + 80084dc: f105 0115 add.w r1, r5, #21 + 80084e0: 458c cmp ip, r1 + 80084e2: bf38 it cc + 80084e4: 2204 movcc r2, #4 + 80084e6: 9201 str r2, [sp, #4] + 80084e8: 9a02 ldr r2, [sp, #8] + 80084ea: 9303 str r3, [sp, #12] + 80084ec: 429a cmp r2, r3 + 80084ee: d808 bhi.n 8008502 <__multiply+0x96> + 80084f0: 2f00 cmp r7, #0 + 80084f2: dc55 bgt.n 80085a0 <__multiply+0x134> + 80084f4: 6107 str r7, [r0, #16] + 80084f6: b005 add sp, #20 + 80084f8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80084fc: f843 2b04 str.w r2, [r3], #4 + 8008500: e7db b.n 80084ba <__multiply+0x4e> + 8008502: f8b3 a000 ldrh.w sl, [r3] + 8008506: f1ba 0f00 cmp.w sl, #0 + 800850a: d020 beq.n 800854e <__multiply+0xe2> + 800850c: 46b1 mov r9, r6 800850e: 2200 movs r2, #0 - 8008510: 2104 movs r1, #4 - 8008512: 60e0 str r0, [r4, #12] - 8008514: 6860 ldr r0, [r4, #4] - 8008516: f7ff ff81 bl 800841c - 800851a: 2201 movs r2, #1 - 800851c: 2109 movs r1, #9 - 800851e: 68a0 ldr r0, [r4, #8] - 8008520: f7ff ff7c bl 800841c - 8008524: 2202 movs r2, #2 - 8008526: 2112 movs r1, #18 - 8008528: 68e0 ldr r0, [r4, #12] - 800852a: f7ff ff77 bl 800841c - 800852e: 2301 movs r3, #1 - 8008530: 61a3 str r3, [r4, #24] - 8008532: e7d1 b.n 80084d8 <__sinit+0xc> - 8008534: 08009448 .word 0x08009448 - 8008538: 08008465 .word 0x08008465 + 8008510: f105 0e14 add.w lr, r5, #20 + 8008514: f85e 4b04 ldr.w r4, [lr], #4 + 8008518: f8d9 b000 ldr.w fp, [r9] + 800851c: b2a1 uxth r1, r4 + 800851e: fa1f fb8b uxth.w fp, fp + 8008522: fb0a b101 mla r1, sl, r1, fp + 8008526: 4411 add r1, r2 + 8008528: f8d9 2000 ldr.w r2, [r9] + 800852c: 0c24 lsrs r4, r4, #16 + 800852e: 0c12 lsrs r2, r2, #16 + 8008530: fb0a 2404 mla r4, sl, r4, r2 + 8008534: eb04 4411 add.w r4, r4, r1, lsr #16 + 8008538: b289 uxth r1, r1 + 800853a: ea41 4104 orr.w r1, r1, r4, lsl #16 + 800853e: 45f4 cmp ip, lr + 8008540: ea4f 4214 mov.w r2, r4, lsr #16 + 8008544: f849 1b04 str.w r1, [r9], #4 + 8008548: d8e4 bhi.n 8008514 <__multiply+0xa8> + 800854a: 9901 ldr r1, [sp, #4] + 800854c: 5072 str r2, [r6, r1] + 800854e: 9a03 ldr r2, [sp, #12] + 8008550: 3304 adds r3, #4 + 8008552: f8b2 9002 ldrh.w r9, [r2, #2] + 8008556: f1b9 0f00 cmp.w r9, #0 + 800855a: d01f beq.n 800859c <__multiply+0x130> + 800855c: 46b6 mov lr, r6 + 800855e: f04f 0a00 mov.w sl, #0 + 8008562: 6834 ldr r4, [r6, #0] + 8008564: f105 0114 add.w r1, r5, #20 + 8008568: 880a ldrh r2, [r1, #0] + 800856a: f8be b002 ldrh.w fp, [lr, #2] + 800856e: b2a4 uxth r4, r4 + 8008570: fb09 b202 mla r2, r9, r2, fp + 8008574: 4492 add sl, r2 + 8008576: ea44 440a orr.w r4, r4, sl, lsl #16 + 800857a: f84e 4b04 str.w r4, [lr], #4 + 800857e: f851 4b04 ldr.w r4, [r1], #4 + 8008582: f8be 2000 ldrh.w r2, [lr] + 8008586: 0c24 lsrs r4, r4, #16 + 8008588: fb09 2404 mla r4, r9, r4, r2 + 800858c: 458c cmp ip, r1 + 800858e: eb04 441a add.w r4, r4, sl, lsr #16 + 8008592: ea4f 4a14 mov.w sl, r4, lsr #16 + 8008596: d8e7 bhi.n 8008568 <__multiply+0xfc> + 8008598: 9a01 ldr r2, [sp, #4] + 800859a: 50b4 str r4, [r6, r2] + 800859c: 3604 adds r6, #4 + 800859e: e7a3 b.n 80084e8 <__multiply+0x7c> + 80085a0: f858 3d04 ldr.w r3, [r8, #-4]! + 80085a4: 2b00 cmp r3, #0 + 80085a6: d1a5 bne.n 80084f4 <__multiply+0x88> + 80085a8: 3f01 subs r7, #1 + 80085aa: e7a1 b.n 80084f0 <__multiply+0x84> + 80085ac: 0800a823 .word 0x0800a823 + 80085b0: 0800a834 .word 0x0800a834 -0800853c <__sfp>: - 800853c: b5f8 push {r3, r4, r5, r6, r7, lr} - 800853e: 4607 mov r7, r0 - 8008540: f7ff ffac bl 800849c <__sfp_lock_acquire> - 8008544: 4b1e ldr r3, [pc, #120] ; (80085c0 <__sfp+0x84>) - 8008546: 681e ldr r6, [r3, #0] - 8008548: 69b3 ldr r3, [r6, #24] - 800854a: b913 cbnz r3, 8008552 <__sfp+0x16> - 800854c: 4630 mov r0, r6 - 800854e: f7ff ffbd bl 80084cc <__sinit> - 8008552: 3648 adds r6, #72 ; 0x48 - 8008554: e9d6 3401 ldrd r3, r4, [r6, #4] - 8008558: 3b01 subs r3, #1 - 800855a: d503 bpl.n 8008564 <__sfp+0x28> - 800855c: 6833 ldr r3, [r6, #0] - 800855e: b30b cbz r3, 80085a4 <__sfp+0x68> - 8008560: 6836 ldr r6, [r6, #0] - 8008562: e7f7 b.n 8008554 <__sfp+0x18> - 8008564: f9b4 500c ldrsh.w r5, [r4, #12] - 8008568: b9d5 cbnz r5, 80085a0 <__sfp+0x64> - 800856a: 4b16 ldr r3, [pc, #88] ; (80085c4 <__sfp+0x88>) - 800856c: f104 0058 add.w r0, r4, #88 ; 0x58 - 8008570: 60e3 str r3, [r4, #12] - 8008572: 6665 str r5, [r4, #100] ; 0x64 - 8008574: f7ff fc0e bl 8007d94 <__retarget_lock_init_recursive> - 8008578: f7ff ff96 bl 80084a8 <__sfp_lock_release> - 800857c: 2208 movs r2, #8 - 800857e: 4629 mov r1, r5 - 8008580: e9c4 5501 strd r5, r5, [r4, #4] - 8008584: e9c4 5504 strd r5, r5, [r4, #16] - 8008588: 6025 str r5, [r4, #0] - 800858a: 61a5 str r5, [r4, #24] - 800858c: f104 005c add.w r0, r4, #92 ; 0x5c - 8008590: f7fd fafe bl 8005b90 - 8008594: e9c4 550d strd r5, r5, [r4, #52] ; 0x34 - 8008598: e9c4 5512 strd r5, r5, [r4, #72] ; 0x48 - 800859c: 4620 mov r0, r4 - 800859e: bdf8 pop {r3, r4, r5, r6, r7, pc} - 80085a0: 3468 adds r4, #104 ; 0x68 - 80085a2: e7d9 b.n 8008558 <__sfp+0x1c> - 80085a4: 2104 movs r1, #4 - 80085a6: 4638 mov r0, r7 - 80085a8: f7ff ff62 bl 8008470 <__sfmoreglue> - 80085ac: 4604 mov r4, r0 - 80085ae: 6030 str r0, [r6, #0] - 80085b0: 2800 cmp r0, #0 - 80085b2: d1d5 bne.n 8008560 <__sfp+0x24> - 80085b4: f7ff ff78 bl 80084a8 <__sfp_lock_release> - 80085b8: 230c movs r3, #12 - 80085ba: 603b str r3, [r7, #0] - 80085bc: e7ee b.n 800859c <__sfp+0x60> - 80085be: bf00 nop - 80085c0: 08009448 .word 0x08009448 - 80085c4: ffff0001 .word 0xffff0001 +080085b4 <__pow5mult>: + 80085b4: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 80085b8: 4615 mov r5, r2 + 80085ba: f012 0203 ands.w r2, r2, #3 + 80085be: 4606 mov r6, r0 + 80085c0: 460f mov r7, r1 + 80085c2: d007 beq.n 80085d4 <__pow5mult+0x20> + 80085c4: 4c25 ldr r4, [pc, #148] ; (800865c <__pow5mult+0xa8>) + 80085c6: 3a01 subs r2, #1 + 80085c8: 2300 movs r3, #0 + 80085ca: f854 2022 ldr.w r2, [r4, r2, lsl #2] + 80085ce: f7ff fe9f bl 8008310 <__multadd> + 80085d2: 4607 mov r7, r0 + 80085d4: 10ad asrs r5, r5, #2 + 80085d6: d03d beq.n 8008654 <__pow5mult+0xa0> + 80085d8: 6a74 ldr r4, [r6, #36] ; 0x24 + 80085da: b97c cbnz r4, 80085fc <__pow5mult+0x48> + 80085dc: 2010 movs r0, #16 + 80085de: f7fe fa3f bl 8006a60 + 80085e2: 4602 mov r2, r0 + 80085e4: 6270 str r0, [r6, #36] ; 0x24 + 80085e6: b928 cbnz r0, 80085f4 <__pow5mult+0x40> + 80085e8: f44f 71d7 mov.w r1, #430 ; 0x1ae + 80085ec: 4b1c ldr r3, [pc, #112] ; (8008660 <__pow5mult+0xac>) + 80085ee: 481d ldr r0, [pc, #116] ; (8008664 <__pow5mult+0xb0>) + 80085f0: f000 fb18 bl 8008c24 <__assert_func> + 80085f4: e9c0 4401 strd r4, r4, [r0, #4] + 80085f8: 6004 str r4, [r0, #0] + 80085fa: 60c4 str r4, [r0, #12] + 80085fc: f8d6 8024 ldr.w r8, [r6, #36] ; 0x24 + 8008600: f8d8 4008 ldr.w r4, [r8, #8] + 8008604: b94c cbnz r4, 800861a <__pow5mult+0x66> + 8008606: f240 2171 movw r1, #625 ; 0x271 + 800860a: 4630 mov r0, r6 + 800860c: f7ff ff18 bl 8008440 <__i2b> + 8008610: 2300 movs r3, #0 + 8008612: 4604 mov r4, r0 + 8008614: f8c8 0008 str.w r0, [r8, #8] + 8008618: 6003 str r3, [r0, #0] + 800861a: f04f 0900 mov.w r9, #0 + 800861e: 07eb lsls r3, r5, #31 + 8008620: d50a bpl.n 8008638 <__pow5mult+0x84> + 8008622: 4639 mov r1, r7 + 8008624: 4622 mov r2, r4 + 8008626: 4630 mov r0, r6 + 8008628: f7ff ff20 bl 800846c <__multiply> + 800862c: 4680 mov r8, r0 + 800862e: 4639 mov r1, r7 + 8008630: 4630 mov r0, r6 + 8008632: f7ff fe4b bl 80082cc <_Bfree> + 8008636: 4647 mov r7, r8 + 8008638: 106d asrs r5, r5, #1 + 800863a: d00b beq.n 8008654 <__pow5mult+0xa0> + 800863c: 6820 ldr r0, [r4, #0] + 800863e: b938 cbnz r0, 8008650 <__pow5mult+0x9c> + 8008640: 4622 mov r2, r4 + 8008642: 4621 mov r1, r4 + 8008644: 4630 mov r0, r6 + 8008646: f7ff ff11 bl 800846c <__multiply> + 800864a: 6020 str r0, [r4, #0] + 800864c: f8c0 9000 str.w r9, [r0] + 8008650: 4604 mov r4, r0 + 8008652: e7e4 b.n 800861e <__pow5mult+0x6a> + 8008654: 4638 mov r0, r7 + 8008656: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 800865a: bf00 nop + 800865c: 0800a988 .word 0x0800a988 + 8008660: 0800a7ad .word 0x0800a7ad + 8008664: 0800a834 .word 0x0800a834 -080085c8 <_fwalk_reent>: - 80085c8: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} - 80085cc: 4606 mov r6, r0 - 80085ce: 4688 mov r8, r1 - 80085d0: 2700 movs r7, #0 - 80085d2: f100 0448 add.w r4, r0, #72 ; 0x48 - 80085d6: e9d4 9501 ldrd r9, r5, [r4, #4] - 80085da: f1b9 0901 subs.w r9, r9, #1 - 80085de: d505 bpl.n 80085ec <_fwalk_reent+0x24> - 80085e0: 6824 ldr r4, [r4, #0] - 80085e2: 2c00 cmp r4, #0 - 80085e4: d1f7 bne.n 80085d6 <_fwalk_reent+0xe> - 80085e6: 4638 mov r0, r7 - 80085e8: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} - 80085ec: 89ab ldrh r3, [r5, #12] - 80085ee: 2b01 cmp r3, #1 - 80085f0: d907 bls.n 8008602 <_fwalk_reent+0x3a> - 80085f2: f9b5 300e ldrsh.w r3, [r5, #14] - 80085f6: 3301 adds r3, #1 - 80085f8: d003 beq.n 8008602 <_fwalk_reent+0x3a> - 80085fa: 4629 mov r1, r5 - 80085fc: 4630 mov r0, r6 - 80085fe: 47c0 blx r8 - 8008600: 4307 orrs r7, r0 - 8008602: 3568 adds r5, #104 ; 0x68 - 8008604: e7e9 b.n 80085da <_fwalk_reent+0x12> +08008668 <__lshift>: + 8008668: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 800866c: 460c mov r4, r1 + 800866e: 4607 mov r7, r0 + 8008670: 4691 mov r9, r2 + 8008672: 6923 ldr r3, [r4, #16] + 8008674: 6849 ldr r1, [r1, #4] + 8008676: eb03 1862 add.w r8, r3, r2, asr #5 + 800867a: 68a3 ldr r3, [r4, #8] + 800867c: ea4f 1a62 mov.w sl, r2, asr #5 + 8008680: f108 0601 add.w r6, r8, #1 + 8008684: 42b3 cmp r3, r6 + 8008686: db0b blt.n 80086a0 <__lshift+0x38> + 8008688: 4638 mov r0, r7 + 800868a: f7ff fddf bl 800824c <_Balloc> + 800868e: 4605 mov r5, r0 + 8008690: b948 cbnz r0, 80086a6 <__lshift+0x3e> + 8008692: 4602 mov r2, r0 + 8008694: f240 11d9 movw r1, #473 ; 0x1d9 + 8008698: 4b27 ldr r3, [pc, #156] ; (8008738 <__lshift+0xd0>) + 800869a: 4828 ldr r0, [pc, #160] ; (800873c <__lshift+0xd4>) + 800869c: f000 fac2 bl 8008c24 <__assert_func> + 80086a0: 3101 adds r1, #1 + 80086a2: 005b lsls r3, r3, #1 + 80086a4: e7ee b.n 8008684 <__lshift+0x1c> + 80086a6: 2300 movs r3, #0 + 80086a8: f100 0114 add.w r1, r0, #20 + 80086ac: f100 0210 add.w r2, r0, #16 + 80086b0: 4618 mov r0, r3 + 80086b2: 4553 cmp r3, sl + 80086b4: db33 blt.n 800871e <__lshift+0xb6> + 80086b6: 6920 ldr r0, [r4, #16] + 80086b8: ea2a 7aea bic.w sl, sl, sl, asr #31 + 80086bc: f104 0314 add.w r3, r4, #20 + 80086c0: f019 091f ands.w r9, r9, #31 + 80086c4: eb01 018a add.w r1, r1, sl, lsl #2 + 80086c8: eb03 0c80 add.w ip, r3, r0, lsl #2 + 80086cc: d02b beq.n 8008726 <__lshift+0xbe> + 80086ce: 468a mov sl, r1 + 80086d0: 2200 movs r2, #0 + 80086d2: f1c9 0e20 rsb lr, r9, #32 + 80086d6: 6818 ldr r0, [r3, #0] + 80086d8: fa00 f009 lsl.w r0, r0, r9 + 80086dc: 4302 orrs r2, r0 + 80086de: f84a 2b04 str.w r2, [sl], #4 + 80086e2: f853 2b04 ldr.w r2, [r3], #4 + 80086e6: 459c cmp ip, r3 + 80086e8: fa22 f20e lsr.w r2, r2, lr + 80086ec: d8f3 bhi.n 80086d6 <__lshift+0x6e> + 80086ee: ebac 0304 sub.w r3, ip, r4 + 80086f2: 3b15 subs r3, #21 + 80086f4: f023 0303 bic.w r3, r3, #3 + 80086f8: 3304 adds r3, #4 + 80086fa: f104 0015 add.w r0, r4, #21 + 80086fe: 4584 cmp ip, r0 + 8008700: bf38 it cc + 8008702: 2304 movcc r3, #4 + 8008704: 50ca str r2, [r1, r3] + 8008706: b10a cbz r2, 800870c <__lshift+0xa4> + 8008708: f108 0602 add.w r6, r8, #2 + 800870c: 3e01 subs r6, #1 + 800870e: 4638 mov r0, r7 + 8008710: 4621 mov r1, r4 + 8008712: 612e str r6, [r5, #16] + 8008714: f7ff fdda bl 80082cc <_Bfree> + 8008718: 4628 mov r0, r5 + 800871a: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 800871e: f842 0f04 str.w r0, [r2, #4]! + 8008722: 3301 adds r3, #1 + 8008724: e7c5 b.n 80086b2 <__lshift+0x4a> + 8008726: 3904 subs r1, #4 + 8008728: f853 2b04 ldr.w r2, [r3], #4 + 800872c: 459c cmp ip, r3 + 800872e: f841 2f04 str.w r2, [r1, #4]! + 8008732: d8f9 bhi.n 8008728 <__lshift+0xc0> + 8008734: e7ea b.n 800870c <__lshift+0xa4> + 8008736: bf00 nop + 8008738: 0800a823 .word 0x0800a823 + 800873c: 0800a834 .word 0x0800a834 -08008606 <__swhatbuf_r>: - 8008606: b570 push {r4, r5, r6, lr} - 8008608: 460e mov r6, r1 - 800860a: f9b1 100e ldrsh.w r1, [r1, #14] - 800860e: 4614 mov r4, r2 - 8008610: 2900 cmp r1, #0 - 8008612: 461d mov r5, r3 - 8008614: b096 sub sp, #88 ; 0x58 - 8008616: da07 bge.n 8008628 <__swhatbuf_r+0x22> - 8008618: 2300 movs r3, #0 - 800861a: 602b str r3, [r5, #0] - 800861c: 89b3 ldrh r3, [r6, #12] - 800861e: 061a lsls r2, r3, #24 - 8008620: d410 bmi.n 8008644 <__swhatbuf_r+0x3e> - 8008622: f44f 6380 mov.w r3, #1024 ; 0x400 - 8008626: e00e b.n 8008646 <__swhatbuf_r+0x40> - 8008628: 466a mov r2, sp - 800862a: f000 f903 bl 8008834 <_fstat_r> - 800862e: 2800 cmp r0, #0 - 8008630: dbf2 blt.n 8008618 <__swhatbuf_r+0x12> - 8008632: 9a01 ldr r2, [sp, #4] - 8008634: f402 4270 and.w r2, r2, #61440 ; 0xf000 - 8008638: f5a2 5300 sub.w r3, r2, #8192 ; 0x2000 - 800863c: 425a negs r2, r3 - 800863e: 415a adcs r2, r3 - 8008640: 602a str r2, [r5, #0] - 8008642: e7ee b.n 8008622 <__swhatbuf_r+0x1c> - 8008644: 2340 movs r3, #64 ; 0x40 - 8008646: 2000 movs r0, #0 - 8008648: 6023 str r3, [r4, #0] - 800864a: b016 add sp, #88 ; 0x58 - 800864c: bd70 pop {r4, r5, r6, pc} +08008740 <__mcmp>: + 8008740: 4603 mov r3, r0 + 8008742: 690a ldr r2, [r1, #16] + 8008744: 6900 ldr r0, [r0, #16] + 8008746: b530 push {r4, r5, lr} + 8008748: 1a80 subs r0, r0, r2 + 800874a: d10d bne.n 8008768 <__mcmp+0x28> + 800874c: 3314 adds r3, #20 + 800874e: 3114 adds r1, #20 + 8008750: eb03 0482 add.w r4, r3, r2, lsl #2 + 8008754: eb01 0182 add.w r1, r1, r2, lsl #2 + 8008758: f854 5d04 ldr.w r5, [r4, #-4]! + 800875c: f851 2d04 ldr.w r2, [r1, #-4]! + 8008760: 4295 cmp r5, r2 + 8008762: d002 beq.n 800876a <__mcmp+0x2a> + 8008764: d304 bcc.n 8008770 <__mcmp+0x30> + 8008766: 2001 movs r0, #1 + 8008768: bd30 pop {r4, r5, pc} + 800876a: 42a3 cmp r3, r4 + 800876c: d3f4 bcc.n 8008758 <__mcmp+0x18> + 800876e: e7fb b.n 8008768 <__mcmp+0x28> + 8008770: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 8008774: e7f8 b.n 8008768 <__mcmp+0x28> ... -08008650 <__smakebuf_r>: - 8008650: 898b ldrh r3, [r1, #12] - 8008652: b573 push {r0, r1, r4, r5, r6, lr} - 8008654: 079d lsls r5, r3, #30 - 8008656: 4606 mov r6, r0 - 8008658: 460c mov r4, r1 - 800865a: d507 bpl.n 800866c <__smakebuf_r+0x1c> - 800865c: f104 0347 add.w r3, r4, #71 ; 0x47 - 8008660: 6023 str r3, [r4, #0] - 8008662: 6123 str r3, [r4, #16] - 8008664: 2301 movs r3, #1 - 8008666: 6163 str r3, [r4, #20] - 8008668: b002 add sp, #8 - 800866a: bd70 pop {r4, r5, r6, pc} - 800866c: 466a mov r2, sp - 800866e: ab01 add r3, sp, #4 - 8008670: f7ff ffc9 bl 8008606 <__swhatbuf_r> - 8008674: 9900 ldr r1, [sp, #0] - 8008676: 4605 mov r5, r0 - 8008678: 4630 mov r0, r6 - 800867a: f7fd fadd bl 8005c38 <_malloc_r> - 800867e: b948 cbnz r0, 8008694 <__smakebuf_r+0x44> - 8008680: f9b4 300c ldrsh.w r3, [r4, #12] - 8008684: 059a lsls r2, r3, #22 - 8008686: d4ef bmi.n 8008668 <__smakebuf_r+0x18> - 8008688: f023 0303 bic.w r3, r3, #3 - 800868c: f043 0302 orr.w r3, r3, #2 - 8008690: 81a3 strh r3, [r4, #12] - 8008692: e7e3 b.n 800865c <__smakebuf_r+0xc> - 8008694: 4b0d ldr r3, [pc, #52] ; (80086cc <__smakebuf_r+0x7c>) - 8008696: 62b3 str r3, [r6, #40] ; 0x28 - 8008698: 89a3 ldrh r3, [r4, #12] - 800869a: 6020 str r0, [r4, #0] - 800869c: f043 0380 orr.w r3, r3, #128 ; 0x80 - 80086a0: 81a3 strh r3, [r4, #12] - 80086a2: 9b00 ldr r3, [sp, #0] - 80086a4: 6120 str r0, [r4, #16] - 80086a6: 6163 str r3, [r4, #20] - 80086a8: 9b01 ldr r3, [sp, #4] - 80086aa: b15b cbz r3, 80086c4 <__smakebuf_r+0x74> - 80086ac: 4630 mov r0, r6 - 80086ae: f9b4 100e ldrsh.w r1, [r4, #14] - 80086b2: f000 f8d1 bl 8008858 <_isatty_r> - 80086b6: b128 cbz r0, 80086c4 <__smakebuf_r+0x74> - 80086b8: 89a3 ldrh r3, [r4, #12] - 80086ba: f023 0303 bic.w r3, r3, #3 - 80086be: f043 0301 orr.w r3, r3, #1 - 80086c2: 81a3 strh r3, [r4, #12] - 80086c4: 89a0 ldrh r0, [r4, #12] - 80086c6: 4305 orrs r5, r0 - 80086c8: 81a5 strh r5, [r4, #12] - 80086ca: e7cd b.n 8008668 <__smakebuf_r+0x18> - 80086cc: 08008465 .word 0x08008465 +08008778 <__mdiff>: + 8008778: e92d 4ff8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} + 800877c: 460c mov r4, r1 + 800877e: 4606 mov r6, r0 + 8008780: 4611 mov r1, r2 + 8008782: 4620 mov r0, r4 + 8008784: 4692 mov sl, r2 + 8008786: f7ff ffdb bl 8008740 <__mcmp> + 800878a: 1e05 subs r5, r0, #0 + 800878c: d111 bne.n 80087b2 <__mdiff+0x3a> + 800878e: 4629 mov r1, r5 + 8008790: 4630 mov r0, r6 + 8008792: f7ff fd5b bl 800824c <_Balloc> + 8008796: 4602 mov r2, r0 + 8008798: b928 cbnz r0, 80087a6 <__mdiff+0x2e> + 800879a: f240 2132 movw r1, #562 ; 0x232 + 800879e: 4b3c ldr r3, [pc, #240] ; (8008890 <__mdiff+0x118>) + 80087a0: 483c ldr r0, [pc, #240] ; (8008894 <__mdiff+0x11c>) + 80087a2: f000 fa3f bl 8008c24 <__assert_func> + 80087a6: 2301 movs r3, #1 + 80087a8: e9c0 3504 strd r3, r5, [r0, #16] + 80087ac: 4610 mov r0, r2 + 80087ae: e8bd 8ff8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, sl, fp, pc} + 80087b2: bfa4 itt ge + 80087b4: 4653 movge r3, sl + 80087b6: 46a2 movge sl, r4 + 80087b8: 4630 mov r0, r6 + 80087ba: f8da 1004 ldr.w r1, [sl, #4] + 80087be: bfa6 itte ge + 80087c0: 461c movge r4, r3 + 80087c2: 2500 movge r5, #0 + 80087c4: 2501 movlt r5, #1 + 80087c6: f7ff fd41 bl 800824c <_Balloc> + 80087ca: 4602 mov r2, r0 + 80087cc: b918 cbnz r0, 80087d6 <__mdiff+0x5e> + 80087ce: f44f 7110 mov.w r1, #576 ; 0x240 + 80087d2: 4b2f ldr r3, [pc, #188] ; (8008890 <__mdiff+0x118>) + 80087d4: e7e4 b.n 80087a0 <__mdiff+0x28> + 80087d6: f100 0814 add.w r8, r0, #20 + 80087da: f8da 7010 ldr.w r7, [sl, #16] + 80087de: 60c5 str r5, [r0, #12] + 80087e0: f04f 0c00 mov.w ip, #0 + 80087e4: f10a 0514 add.w r5, sl, #20 + 80087e8: f10a 0010 add.w r0, sl, #16 + 80087ec: 46c2 mov sl, r8 + 80087ee: 6926 ldr r6, [r4, #16] + 80087f0: f104 0914 add.w r9, r4, #20 + 80087f4: eb05 0e87 add.w lr, r5, r7, lsl #2 + 80087f8: eb09 0686 add.w r6, r9, r6, lsl #2 + 80087fc: f850 bf04 ldr.w fp, [r0, #4]! + 8008800: f859 3b04 ldr.w r3, [r9], #4 + 8008804: fa1f f18b uxth.w r1, fp + 8008808: 4461 add r1, ip + 800880a: fa1f fc83 uxth.w ip, r3 + 800880e: 0c1b lsrs r3, r3, #16 + 8008810: eba1 010c sub.w r1, r1, ip + 8008814: ebc3 431b rsb r3, r3, fp, lsr #16 + 8008818: eb03 4321 add.w r3, r3, r1, asr #16 + 800881c: b289 uxth r1, r1 + 800881e: ea4f 4c23 mov.w ip, r3, asr #16 + 8008822: 454e cmp r6, r9 + 8008824: ea41 4303 orr.w r3, r1, r3, lsl #16 + 8008828: f84a 3b04 str.w r3, [sl], #4 + 800882c: d8e6 bhi.n 80087fc <__mdiff+0x84> + 800882e: 1b33 subs r3, r6, r4 + 8008830: 3b15 subs r3, #21 + 8008832: f023 0303 bic.w r3, r3, #3 + 8008836: 3415 adds r4, #21 + 8008838: 3304 adds r3, #4 + 800883a: 42a6 cmp r6, r4 + 800883c: bf38 it cc + 800883e: 2304 movcc r3, #4 + 8008840: 441d add r5, r3 + 8008842: 4443 add r3, r8 + 8008844: 461e mov r6, r3 + 8008846: 462c mov r4, r5 + 8008848: 4574 cmp r4, lr + 800884a: d30e bcc.n 800886a <__mdiff+0xf2> + 800884c: f10e 0103 add.w r1, lr, #3 + 8008850: 1b49 subs r1, r1, r5 + 8008852: f021 0103 bic.w r1, r1, #3 + 8008856: 3d03 subs r5, #3 + 8008858: 45ae cmp lr, r5 + 800885a: bf38 it cc + 800885c: 2100 movcc r1, #0 + 800885e: 4419 add r1, r3 + 8008860: f851 3d04 ldr.w r3, [r1, #-4]! + 8008864: b18b cbz r3, 800888a <__mdiff+0x112> + 8008866: 6117 str r7, [r2, #16] + 8008868: e7a0 b.n 80087ac <__mdiff+0x34> + 800886a: f854 8b04 ldr.w r8, [r4], #4 + 800886e: fa1f f188 uxth.w r1, r8 + 8008872: 4461 add r1, ip + 8008874: 1408 asrs r0, r1, #16 + 8008876: eb00 4018 add.w r0, r0, r8, lsr #16 + 800887a: b289 uxth r1, r1 + 800887c: ea41 4100 orr.w r1, r1, r0, lsl #16 + 8008880: ea4f 4c20 mov.w ip, r0, asr #16 + 8008884: f846 1b04 str.w r1, [r6], #4 + 8008888: e7de b.n 8008848 <__mdiff+0xd0> + 800888a: 3f01 subs r7, #1 + 800888c: e7e8 b.n 8008860 <__mdiff+0xe8> + 800888e: bf00 nop + 8008890: 0800a823 .word 0x0800a823 + 8008894: 0800a834 .word 0x0800a834 -080086d0 <_malloc_usable_size_r>: - 80086d0: f851 3c04 ldr.w r3, [r1, #-4] - 80086d4: 1f18 subs r0, r3, #4 - 80086d6: 2b00 cmp r3, #0 - 80086d8: bfbc itt lt - 80086da: 580b ldrlt r3, [r1, r0] - 80086dc: 18c0 addlt r0, r0, r3 - 80086de: 4770 bx lr +08008898 <__d2b>: + 8008898: e92d 41f3 stmdb sp!, {r0, r1, r4, r5, r6, r7, r8, lr} + 800889c: 2101 movs r1, #1 + 800889e: e9dd 7608 ldrd r7, r6, [sp, #32] + 80088a2: 4690 mov r8, r2 + 80088a4: 461d mov r5, r3 + 80088a6: f7ff fcd1 bl 800824c <_Balloc> + 80088aa: 4604 mov r4, r0 + 80088ac: b930 cbnz r0, 80088bc <__d2b+0x24> + 80088ae: 4602 mov r2, r0 + 80088b0: f240 310a movw r1, #778 ; 0x30a + 80088b4: 4b24 ldr r3, [pc, #144] ; (8008948 <__d2b+0xb0>) + 80088b6: 4825 ldr r0, [pc, #148] ; (800894c <__d2b+0xb4>) + 80088b8: f000 f9b4 bl 8008c24 <__assert_func> + 80088bc: f3c5 0313 ubfx r3, r5, #0, #20 + 80088c0: f3c5 550a ubfx r5, r5, #20, #11 + 80088c4: bb2d cbnz r5, 8008912 <__d2b+0x7a> + 80088c6: 9301 str r3, [sp, #4] + 80088c8: f1b8 0300 subs.w r3, r8, #0 + 80088cc: d026 beq.n 800891c <__d2b+0x84> + 80088ce: 4668 mov r0, sp + 80088d0: 9300 str r3, [sp, #0] + 80088d2: f7ff fd87 bl 80083e4 <__lo0bits> + 80088d6: 9900 ldr r1, [sp, #0] + 80088d8: b1f0 cbz r0, 8008918 <__d2b+0x80> + 80088da: 9a01 ldr r2, [sp, #4] + 80088dc: f1c0 0320 rsb r3, r0, #32 + 80088e0: fa02 f303 lsl.w r3, r2, r3 + 80088e4: 430b orrs r3, r1 + 80088e6: 40c2 lsrs r2, r0 + 80088e8: 6163 str r3, [r4, #20] + 80088ea: 9201 str r2, [sp, #4] + 80088ec: 9b01 ldr r3, [sp, #4] + 80088ee: 2b00 cmp r3, #0 + 80088f0: bf14 ite ne + 80088f2: 2102 movne r1, #2 + 80088f4: 2101 moveq r1, #1 + 80088f6: 61a3 str r3, [r4, #24] + 80088f8: 6121 str r1, [r4, #16] + 80088fa: b1c5 cbz r5, 800892e <__d2b+0x96> + 80088fc: f2a5 4533 subw r5, r5, #1075 ; 0x433 + 8008900: 4405 add r5, r0 + 8008902: f1c0 0035 rsb r0, r0, #53 ; 0x35 + 8008906: 603d str r5, [r7, #0] + 8008908: 6030 str r0, [r6, #0] + 800890a: 4620 mov r0, r4 + 800890c: b002 add sp, #8 + 800890e: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 8008912: f443 1380 orr.w r3, r3, #1048576 ; 0x100000 + 8008916: e7d6 b.n 80088c6 <__d2b+0x2e> + 8008918: 6161 str r1, [r4, #20] + 800891a: e7e7 b.n 80088ec <__d2b+0x54> + 800891c: a801 add r0, sp, #4 + 800891e: f7ff fd61 bl 80083e4 <__lo0bits> + 8008922: 2101 movs r1, #1 + 8008924: 9b01 ldr r3, [sp, #4] + 8008926: 6121 str r1, [r4, #16] + 8008928: 6163 str r3, [r4, #20] + 800892a: 3020 adds r0, #32 + 800892c: e7e5 b.n 80088fa <__d2b+0x62> + 800892e: eb04 0381 add.w r3, r4, r1, lsl #2 + 8008932: f2a0 4032 subw r0, r0, #1074 ; 0x432 + 8008936: 6038 str r0, [r7, #0] + 8008938: 6918 ldr r0, [r3, #16] + 800893a: f7ff fd33 bl 80083a4 <__hi0bits> + 800893e: ebc0 1141 rsb r1, r0, r1, lsl #5 + 8008942: 6031 str r1, [r6, #0] + 8008944: e7e1 b.n 800890a <__d2b+0x72> + 8008946: bf00 nop + 8008948: 0800a823 .word 0x0800a823 + 800894c: 0800a834 .word 0x0800a834 -080086e0 <_raise_r>: - 80086e0: 291f cmp r1, #31 - 80086e2: b538 push {r3, r4, r5, lr} - 80086e4: 4604 mov r4, r0 - 80086e6: 460d mov r5, r1 - 80086e8: d904 bls.n 80086f4 <_raise_r+0x14> - 80086ea: 2316 movs r3, #22 - 80086ec: 6003 str r3, [r0, #0] - 80086ee: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff - 80086f2: bd38 pop {r3, r4, r5, pc} - 80086f4: 6c42 ldr r2, [r0, #68] ; 0x44 - 80086f6: b112 cbz r2, 80086fe <_raise_r+0x1e> - 80086f8: f852 3021 ldr.w r3, [r2, r1, lsl #2] - 80086fc: b94b cbnz r3, 8008712 <_raise_r+0x32> - 80086fe: 4620 mov r0, r4 - 8008700: f000 f830 bl 8008764 <_getpid_r> - 8008704: 462a mov r2, r5 - 8008706: 4601 mov r1, r0 - 8008708: 4620 mov r0, r4 - 800870a: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} - 800870e: f000 b817 b.w 8008740 <_kill_r> - 8008712: 2b01 cmp r3, #1 - 8008714: d00a beq.n 800872c <_raise_r+0x4c> - 8008716: 1c59 adds r1, r3, #1 - 8008718: d103 bne.n 8008722 <_raise_r+0x42> - 800871a: 2316 movs r3, #22 - 800871c: 6003 str r3, [r0, #0] - 800871e: 2001 movs r0, #1 - 8008720: e7e7 b.n 80086f2 <_raise_r+0x12> - 8008722: 2400 movs r4, #0 - 8008724: 4628 mov r0, r5 - 8008726: f842 4025 str.w r4, [r2, r5, lsl #2] - 800872a: 4798 blx r3 - 800872c: 2000 movs r0, #0 - 800872e: e7e0 b.n 80086f2 <_raise_r+0x12> +08008950 <_calloc_r>: + 8008950: b538 push {r3, r4, r5, lr} + 8008952: fb02 f501 mul.w r5, r2, r1 + 8008956: 4629 mov r1, r5 + 8008958: f7fe f8e6 bl 8006b28 <_malloc_r> + 800895c: 4604 mov r4, r0 + 800895e: b118 cbz r0, 8008968 <_calloc_r+0x18> + 8008960: 462a mov r2, r5 + 8008962: 2100 movs r1, #0 + 8008964: f7fe f88c bl 8006a80 + 8008968: 4620 mov r0, r4 + 800896a: bd38 pop {r3, r4, r5, pc} -08008730 : - 8008730: 4b02 ldr r3, [pc, #8] ; (800873c ) - 8008732: 4601 mov r1, r0 - 8008734: 6818 ldr r0, [r3, #0] - 8008736: f7ff bfd3 b.w 80086e0 <_raise_r> - 800873a: bf00 nop - 800873c: 2000000c .word 0x2000000c - -08008740 <_kill_r>: - 8008740: b538 push {r3, r4, r5, lr} - 8008742: 2300 movs r3, #0 - 8008744: 4d06 ldr r5, [pc, #24] ; (8008760 <_kill_r+0x20>) - 8008746: 4604 mov r4, r0 - 8008748: 4608 mov r0, r1 - 800874a: 4611 mov r1, r2 - 800874c: 602b str r3, [r5, #0] - 800874e: f7f8 ff87 bl 8001660 <_kill> - 8008752: 1c43 adds r3, r0, #1 - 8008754: d102 bne.n 800875c <_kill_r+0x1c> - 8008756: 682b ldr r3, [r5, #0] - 8008758: b103 cbz r3, 800875c <_kill_r+0x1c> - 800875a: 6023 str r3, [r4, #0] - 800875c: bd38 pop {r3, r4, r5, pc} - 800875e: bf00 nop - 8008760: 2000033c .word 0x2000033c - -08008764 <_getpid_r>: - 8008764: f7f8 bf75 b.w 8001652 <_getpid> - -08008768 <__sread>: - 8008768: b510 push {r4, lr} - 800876a: 460c mov r4, r1 - 800876c: f9b1 100e ldrsh.w r1, [r1, #14] - 8008770: f000 f894 bl 800889c <_read_r> - 8008774: 2800 cmp r0, #0 - 8008776: bfab itete ge - 8008778: 6d63 ldrge r3, [r4, #84] ; 0x54 - 800877a: 89a3 ldrhlt r3, [r4, #12] - 800877c: 181b addge r3, r3, r0 - 800877e: f423 5380 biclt.w r3, r3, #4096 ; 0x1000 - 8008782: bfac ite ge - 8008784: 6563 strge r3, [r4, #84] ; 0x54 - 8008786: 81a3 strhlt r3, [r4, #12] - 8008788: bd10 pop {r4, pc} - -0800878a <__swrite>: - 800878a: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} - 800878e: 461f mov r7, r3 - 8008790: 898b ldrh r3, [r1, #12] - 8008792: 4605 mov r5, r0 - 8008794: 05db lsls r3, r3, #23 - 8008796: 460c mov r4, r1 - 8008798: 4616 mov r6, r2 - 800879a: d505 bpl.n 80087a8 <__swrite+0x1e> - 800879c: 2302 movs r3, #2 - 800879e: 2200 movs r2, #0 - 80087a0: f9b1 100e ldrsh.w r1, [r1, #14] - 80087a4: f000 f868 bl 8008878 <_lseek_r> - 80087a8: 89a3 ldrh r3, [r4, #12] - 80087aa: 4632 mov r2, r6 - 80087ac: f423 5380 bic.w r3, r3, #4096 ; 0x1000 - 80087b0: 81a3 strh r3, [r4, #12] - 80087b2: 4628 mov r0, r5 - 80087b4: 463b mov r3, r7 - 80087b6: f9b4 100e ldrsh.w r1, [r4, #14] - 80087ba: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} - 80087be: f000 b817 b.w 80087f0 <_write_r> - -080087c2 <__sseek>: - 80087c2: b510 push {r4, lr} - 80087c4: 460c mov r4, r1 - 80087c6: f9b1 100e ldrsh.w r1, [r1, #14] - 80087ca: f000 f855 bl 8008878 <_lseek_r> - 80087ce: 1c43 adds r3, r0, #1 - 80087d0: 89a3 ldrh r3, [r4, #12] - 80087d2: bf15 itete ne - 80087d4: 6560 strne r0, [r4, #84] ; 0x54 - 80087d6: f423 5380 biceq.w r3, r3, #4096 ; 0x1000 - 80087da: f443 5380 orrne.w r3, r3, #4096 ; 0x1000 - 80087de: 81a3 strheq r3, [r4, #12] - 80087e0: bf18 it ne - 80087e2: 81a3 strhne r3, [r4, #12] - 80087e4: bd10 pop {r4, pc} - -080087e6 <__sclose>: - 80087e6: f9b1 100e ldrsh.w r1, [r1, #14] - 80087ea: f000 b813 b.w 8008814 <_close_r> +0800896c <__ssputs_r>: + 800896c: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr} + 8008970: 688e ldr r6, [r1, #8] + 8008972: 4682 mov sl, r0 + 8008974: 429e cmp r6, r3 + 8008976: 460c mov r4, r1 + 8008978: 4690 mov r8, r2 + 800897a: 461f mov r7, r3 + 800897c: d838 bhi.n 80089f0 <__ssputs_r+0x84> + 800897e: 898a ldrh r2, [r1, #12] + 8008980: f412 6f90 tst.w r2, #1152 ; 0x480 + 8008984: d032 beq.n 80089ec <__ssputs_r+0x80> + 8008986: 6825 ldr r5, [r4, #0] + 8008988: 6909 ldr r1, [r1, #16] + 800898a: 3301 adds r3, #1 + 800898c: eba5 0901 sub.w r9, r5, r1 + 8008990: 6965 ldr r5, [r4, #20] + 8008992: 444b add r3, r9 + 8008994: eb05 0545 add.w r5, r5, r5, lsl #1 + 8008998: eb05 75d5 add.w r5, r5, r5, lsr #31 + 800899c: 106d asrs r5, r5, #1 + 800899e: 429d cmp r5, r3 + 80089a0: bf38 it cc + 80089a2: 461d movcc r5, r3 + 80089a4: 0553 lsls r3, r2, #21 + 80089a6: d531 bpl.n 8008a0c <__ssputs_r+0xa0> + 80089a8: 4629 mov r1, r5 + 80089aa: f7fe f8bd bl 8006b28 <_malloc_r> + 80089ae: 4606 mov r6, r0 + 80089b0: b950 cbnz r0, 80089c8 <__ssputs_r+0x5c> + 80089b2: 230c movs r3, #12 + 80089b4: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 80089b8: f8ca 3000 str.w r3, [sl] + 80089bc: 89a3 ldrh r3, [r4, #12] + 80089be: f043 0340 orr.w r3, r3, #64 ; 0x40 + 80089c2: 81a3 strh r3, [r4, #12] + 80089c4: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc} + 80089c8: 464a mov r2, r9 + 80089ca: 6921 ldr r1, [r4, #16] + 80089cc: f7ff fc24 bl 8008218 + 80089d0: 89a3 ldrh r3, [r4, #12] + 80089d2: f423 6390 bic.w r3, r3, #1152 ; 0x480 + 80089d6: f043 0380 orr.w r3, r3, #128 ; 0x80 + 80089da: 81a3 strh r3, [r4, #12] + 80089dc: 6126 str r6, [r4, #16] + 80089de: 444e add r6, r9 + 80089e0: 6026 str r6, [r4, #0] + 80089e2: 463e mov r6, r7 + 80089e4: 6165 str r5, [r4, #20] + 80089e6: eba5 0509 sub.w r5, r5, r9 + 80089ea: 60a5 str r5, [r4, #8] + 80089ec: 42be cmp r6, r7 + 80089ee: d900 bls.n 80089f2 <__ssputs_r+0x86> + 80089f0: 463e mov r6, r7 + 80089f2: 4632 mov r2, r6 + 80089f4: 4641 mov r1, r8 + 80089f6: 6820 ldr r0, [r4, #0] + 80089f8: f000 f959 bl 8008cae + 80089fc: 68a3 ldr r3, [r4, #8] + 80089fe: 6822 ldr r2, [r4, #0] + 8008a00: 1b9b subs r3, r3, r6 + 8008a02: 4432 add r2, r6 + 8008a04: 2000 movs r0, #0 + 8008a06: 60a3 str r3, [r4, #8] + 8008a08: 6022 str r2, [r4, #0] + 8008a0a: e7db b.n 80089c4 <__ssputs_r+0x58> + 8008a0c: 462a mov r2, r5 + 8008a0e: f000 f968 bl 8008ce2 <_realloc_r> + 8008a12: 4606 mov r6, r0 + 8008a14: 2800 cmp r0, #0 + 8008a16: d1e1 bne.n 80089dc <__ssputs_r+0x70> + 8008a18: 4650 mov r0, sl + 8008a1a: 6921 ldr r1, [r4, #16] + 8008a1c: f7fe f838 bl 8006a90 <_free_r> + 8008a20: e7c7 b.n 80089b2 <__ssputs_r+0x46> ... -080087f0 <_write_r>: - 80087f0: b538 push {r3, r4, r5, lr} - 80087f2: 4604 mov r4, r0 - 80087f4: 4608 mov r0, r1 - 80087f6: 4611 mov r1, r2 - 80087f8: 2200 movs r2, #0 - 80087fa: 4d05 ldr r5, [pc, #20] ; (8008810 <_write_r+0x20>) - 80087fc: 602a str r2, [r5, #0] - 80087fe: 461a mov r2, r3 - 8008800: f7f8 ff65 bl 80016ce <_write> - 8008804: 1c43 adds r3, r0, #1 - 8008806: d102 bne.n 800880e <_write_r+0x1e> - 8008808: 682b ldr r3, [r5, #0] - 800880a: b103 cbz r3, 800880e <_write_r+0x1e> - 800880c: 6023 str r3, [r4, #0] - 800880e: bd38 pop {r3, r4, r5, pc} - 8008810: 2000033c .word 0x2000033c +08008a24 <_svfiprintf_r>: + 8008a24: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8008a28: 4698 mov r8, r3 + 8008a2a: 898b ldrh r3, [r1, #12] + 8008a2c: 4607 mov r7, r0 + 8008a2e: 061b lsls r3, r3, #24 + 8008a30: 460d mov r5, r1 + 8008a32: 4614 mov r4, r2 + 8008a34: b09d sub sp, #116 ; 0x74 + 8008a36: d50e bpl.n 8008a56 <_svfiprintf_r+0x32> + 8008a38: 690b ldr r3, [r1, #16] + 8008a3a: b963 cbnz r3, 8008a56 <_svfiprintf_r+0x32> + 8008a3c: 2140 movs r1, #64 ; 0x40 + 8008a3e: f7fe f873 bl 8006b28 <_malloc_r> + 8008a42: 6028 str r0, [r5, #0] + 8008a44: 6128 str r0, [r5, #16] + 8008a46: b920 cbnz r0, 8008a52 <_svfiprintf_r+0x2e> + 8008a48: 230c movs r3, #12 + 8008a4a: 603b str r3, [r7, #0] + 8008a4c: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 8008a50: e0d1 b.n 8008bf6 <_svfiprintf_r+0x1d2> + 8008a52: 2340 movs r3, #64 ; 0x40 + 8008a54: 616b str r3, [r5, #20] + 8008a56: 2300 movs r3, #0 + 8008a58: 9309 str r3, [sp, #36] ; 0x24 + 8008a5a: 2320 movs r3, #32 + 8008a5c: f88d 3029 strb.w r3, [sp, #41] ; 0x29 + 8008a60: 2330 movs r3, #48 ; 0x30 + 8008a62: f04f 0901 mov.w r9, #1 + 8008a66: f8cd 800c str.w r8, [sp, #12] + 8008a6a: f8df 81a4 ldr.w r8, [pc, #420] ; 8008c10 <_svfiprintf_r+0x1ec> + 8008a6e: f88d 302a strb.w r3, [sp, #42] ; 0x2a + 8008a72: 4623 mov r3, r4 + 8008a74: 469a mov sl, r3 + 8008a76: f813 2b01 ldrb.w r2, [r3], #1 + 8008a7a: b10a cbz r2, 8008a80 <_svfiprintf_r+0x5c> + 8008a7c: 2a25 cmp r2, #37 ; 0x25 + 8008a7e: d1f9 bne.n 8008a74 <_svfiprintf_r+0x50> + 8008a80: ebba 0b04 subs.w fp, sl, r4 + 8008a84: d00b beq.n 8008a9e <_svfiprintf_r+0x7a> + 8008a86: 465b mov r3, fp + 8008a88: 4622 mov r2, r4 + 8008a8a: 4629 mov r1, r5 + 8008a8c: 4638 mov r0, r7 + 8008a8e: f7ff ff6d bl 800896c <__ssputs_r> + 8008a92: 3001 adds r0, #1 + 8008a94: f000 80aa beq.w 8008bec <_svfiprintf_r+0x1c8> + 8008a98: 9a09 ldr r2, [sp, #36] ; 0x24 + 8008a9a: 445a add r2, fp + 8008a9c: 9209 str r2, [sp, #36] ; 0x24 + 8008a9e: f89a 3000 ldrb.w r3, [sl] + 8008aa2: 2b00 cmp r3, #0 + 8008aa4: f000 80a2 beq.w 8008bec <_svfiprintf_r+0x1c8> + 8008aa8: 2300 movs r3, #0 + 8008aaa: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff + 8008aae: e9cd 2305 strd r2, r3, [sp, #20] + 8008ab2: f10a 0a01 add.w sl, sl, #1 + 8008ab6: 9304 str r3, [sp, #16] + 8008ab8: 9307 str r3, [sp, #28] + 8008aba: f88d 3053 strb.w r3, [sp, #83] ; 0x53 + 8008abe: 931a str r3, [sp, #104] ; 0x68 + 8008ac0: 4654 mov r4, sl + 8008ac2: 2205 movs r2, #5 + 8008ac4: f814 1b01 ldrb.w r1, [r4], #1 + 8008ac8: 4851 ldr r0, [pc, #324] ; (8008c10 <_svfiprintf_r+0x1ec>) + 8008aca: f7ff fb97 bl 80081fc + 8008ace: 9a04 ldr r2, [sp, #16] + 8008ad0: b9d8 cbnz r0, 8008b0a <_svfiprintf_r+0xe6> + 8008ad2: 06d0 lsls r0, r2, #27 + 8008ad4: bf44 itt mi + 8008ad6: 2320 movmi r3, #32 + 8008ad8: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 + 8008adc: 0711 lsls r1, r2, #28 + 8008ade: bf44 itt mi + 8008ae0: 232b movmi r3, #43 ; 0x2b + 8008ae2: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 + 8008ae6: f89a 3000 ldrb.w r3, [sl] + 8008aea: 2b2a cmp r3, #42 ; 0x2a + 8008aec: d015 beq.n 8008b1a <_svfiprintf_r+0xf6> + 8008aee: 4654 mov r4, sl + 8008af0: 2000 movs r0, #0 + 8008af2: f04f 0c0a mov.w ip, #10 + 8008af6: 9a07 ldr r2, [sp, #28] + 8008af8: 4621 mov r1, r4 + 8008afa: f811 3b01 ldrb.w r3, [r1], #1 + 8008afe: 3b30 subs r3, #48 ; 0x30 + 8008b00: 2b09 cmp r3, #9 + 8008b02: d94e bls.n 8008ba2 <_svfiprintf_r+0x17e> + 8008b04: b1b0 cbz r0, 8008b34 <_svfiprintf_r+0x110> + 8008b06: 9207 str r2, [sp, #28] + 8008b08: e014 b.n 8008b34 <_svfiprintf_r+0x110> + 8008b0a: eba0 0308 sub.w r3, r0, r8 + 8008b0e: fa09 f303 lsl.w r3, r9, r3 + 8008b12: 4313 orrs r3, r2 + 8008b14: 46a2 mov sl, r4 + 8008b16: 9304 str r3, [sp, #16] + 8008b18: e7d2 b.n 8008ac0 <_svfiprintf_r+0x9c> + 8008b1a: 9b03 ldr r3, [sp, #12] + 8008b1c: 1d19 adds r1, r3, #4 + 8008b1e: 681b ldr r3, [r3, #0] + 8008b20: 9103 str r1, [sp, #12] + 8008b22: 2b00 cmp r3, #0 + 8008b24: bfbb ittet lt + 8008b26: 425b neglt r3, r3 + 8008b28: f042 0202 orrlt.w r2, r2, #2 + 8008b2c: 9307 strge r3, [sp, #28] + 8008b2e: 9307 strlt r3, [sp, #28] + 8008b30: bfb8 it lt + 8008b32: 9204 strlt r2, [sp, #16] + 8008b34: 7823 ldrb r3, [r4, #0] + 8008b36: 2b2e cmp r3, #46 ; 0x2e + 8008b38: d10c bne.n 8008b54 <_svfiprintf_r+0x130> + 8008b3a: 7863 ldrb r3, [r4, #1] + 8008b3c: 2b2a cmp r3, #42 ; 0x2a + 8008b3e: d135 bne.n 8008bac <_svfiprintf_r+0x188> + 8008b40: 9b03 ldr r3, [sp, #12] + 8008b42: 3402 adds r4, #2 + 8008b44: 1d1a adds r2, r3, #4 + 8008b46: 681b ldr r3, [r3, #0] + 8008b48: 9203 str r2, [sp, #12] + 8008b4a: 2b00 cmp r3, #0 + 8008b4c: bfb8 it lt + 8008b4e: f04f 33ff movlt.w r3, #4294967295 ; 0xffffffff + 8008b52: 9305 str r3, [sp, #20] + 8008b54: f8df a0c8 ldr.w sl, [pc, #200] ; 8008c20 <_svfiprintf_r+0x1fc> + 8008b58: 2203 movs r2, #3 + 8008b5a: 4650 mov r0, sl + 8008b5c: 7821 ldrb r1, [r4, #0] + 8008b5e: f7ff fb4d bl 80081fc + 8008b62: b140 cbz r0, 8008b76 <_svfiprintf_r+0x152> + 8008b64: 2340 movs r3, #64 ; 0x40 + 8008b66: eba0 000a sub.w r0, r0, sl + 8008b6a: fa03 f000 lsl.w r0, r3, r0 + 8008b6e: 9b04 ldr r3, [sp, #16] + 8008b70: 3401 adds r4, #1 + 8008b72: 4303 orrs r3, r0 + 8008b74: 9304 str r3, [sp, #16] + 8008b76: f814 1b01 ldrb.w r1, [r4], #1 + 8008b7a: 2206 movs r2, #6 + 8008b7c: 4825 ldr r0, [pc, #148] ; (8008c14 <_svfiprintf_r+0x1f0>) + 8008b7e: f88d 1028 strb.w r1, [sp, #40] ; 0x28 + 8008b82: f7ff fb3b bl 80081fc + 8008b86: 2800 cmp r0, #0 + 8008b88: d038 beq.n 8008bfc <_svfiprintf_r+0x1d8> + 8008b8a: 4b23 ldr r3, [pc, #140] ; (8008c18 <_svfiprintf_r+0x1f4>) + 8008b8c: bb1b cbnz r3, 8008bd6 <_svfiprintf_r+0x1b2> + 8008b8e: 9b03 ldr r3, [sp, #12] + 8008b90: 3307 adds r3, #7 + 8008b92: f023 0307 bic.w r3, r3, #7 + 8008b96: 3308 adds r3, #8 + 8008b98: 9303 str r3, [sp, #12] + 8008b9a: 9b09 ldr r3, [sp, #36] ; 0x24 + 8008b9c: 4433 add r3, r6 + 8008b9e: 9309 str r3, [sp, #36] ; 0x24 + 8008ba0: e767 b.n 8008a72 <_svfiprintf_r+0x4e> + 8008ba2: 460c mov r4, r1 + 8008ba4: 2001 movs r0, #1 + 8008ba6: fb0c 3202 mla r2, ip, r2, r3 + 8008baa: e7a5 b.n 8008af8 <_svfiprintf_r+0xd4> + 8008bac: 2300 movs r3, #0 + 8008bae: f04f 0c0a mov.w ip, #10 + 8008bb2: 4619 mov r1, r3 + 8008bb4: 3401 adds r4, #1 + 8008bb6: 9305 str r3, [sp, #20] + 8008bb8: 4620 mov r0, r4 + 8008bba: f810 2b01 ldrb.w r2, [r0], #1 + 8008bbe: 3a30 subs r2, #48 ; 0x30 + 8008bc0: 2a09 cmp r2, #9 + 8008bc2: d903 bls.n 8008bcc <_svfiprintf_r+0x1a8> + 8008bc4: 2b00 cmp r3, #0 + 8008bc6: d0c5 beq.n 8008b54 <_svfiprintf_r+0x130> + 8008bc8: 9105 str r1, [sp, #20] + 8008bca: e7c3 b.n 8008b54 <_svfiprintf_r+0x130> + 8008bcc: 4604 mov r4, r0 + 8008bce: 2301 movs r3, #1 + 8008bd0: fb0c 2101 mla r1, ip, r1, r2 + 8008bd4: e7f0 b.n 8008bb8 <_svfiprintf_r+0x194> + 8008bd6: ab03 add r3, sp, #12 + 8008bd8: 9300 str r3, [sp, #0] + 8008bda: 462a mov r2, r5 + 8008bdc: 4638 mov r0, r7 + 8008bde: 4b0f ldr r3, [pc, #60] ; (8008c1c <_svfiprintf_r+0x1f8>) + 8008be0: a904 add r1, sp, #16 + 8008be2: f7fe f899 bl 8006d18 <_printf_float> + 8008be6: 1c42 adds r2, r0, #1 + 8008be8: 4606 mov r6, r0 + 8008bea: d1d6 bne.n 8008b9a <_svfiprintf_r+0x176> + 8008bec: 89ab ldrh r3, [r5, #12] + 8008bee: 065b lsls r3, r3, #25 + 8008bf0: f53f af2c bmi.w 8008a4c <_svfiprintf_r+0x28> + 8008bf4: 9809 ldr r0, [sp, #36] ; 0x24 + 8008bf6: b01d add sp, #116 ; 0x74 + 8008bf8: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8008bfc: ab03 add r3, sp, #12 + 8008bfe: 9300 str r3, [sp, #0] + 8008c00: 462a mov r2, r5 + 8008c02: 4638 mov r0, r7 + 8008c04: 4b05 ldr r3, [pc, #20] ; (8008c1c <_svfiprintf_r+0x1f8>) + 8008c06: a904 add r1, sp, #16 + 8008c08: f7fe fb22 bl 8007250 <_printf_i> + 8008c0c: e7eb b.n 8008be6 <_svfiprintf_r+0x1c2> + 8008c0e: bf00 nop + 8008c10: 0800a994 .word 0x0800a994 + 8008c14: 0800a99e .word 0x0800a99e + 8008c18: 08006d19 .word 0x08006d19 + 8008c1c: 0800896d .word 0x0800896d + 8008c20: 0800a99a .word 0x0800a99a -08008814 <_close_r>: - 8008814: b538 push {r3, r4, r5, lr} - 8008816: 2300 movs r3, #0 - 8008818: 4d05 ldr r5, [pc, #20] ; (8008830 <_close_r+0x1c>) - 800881a: 4604 mov r4, r0 - 800881c: 4608 mov r0, r1 - 800881e: 602b str r3, [r5, #0] - 8008820: f7f8 ff71 bl 8001706 <_close> - 8008824: 1c43 adds r3, r0, #1 - 8008826: d102 bne.n 800882e <_close_r+0x1a> - 8008828: 682b ldr r3, [r5, #0] - 800882a: b103 cbz r3, 800882e <_close_r+0x1a> - 800882c: 6023 str r3, [r4, #0] - 800882e: bd38 pop {r3, r4, r5, pc} - 8008830: 2000033c .word 0x2000033c +08008c24 <__assert_func>: + 8008c24: b51f push {r0, r1, r2, r3, r4, lr} + 8008c26: 4614 mov r4, r2 + 8008c28: 461a mov r2, r3 + 8008c2a: 4b09 ldr r3, [pc, #36] ; (8008c50 <__assert_func+0x2c>) + 8008c2c: 4605 mov r5, r0 + 8008c2e: 681b ldr r3, [r3, #0] + 8008c30: 68d8 ldr r0, [r3, #12] + 8008c32: b14c cbz r4, 8008c48 <__assert_func+0x24> + 8008c34: 4b07 ldr r3, [pc, #28] ; (8008c54 <__assert_func+0x30>) + 8008c36: e9cd 3401 strd r3, r4, [sp, #4] + 8008c3a: 9100 str r1, [sp, #0] + 8008c3c: 462b mov r3, r5 + 8008c3e: 4906 ldr r1, [pc, #24] ; (8008c58 <__assert_func+0x34>) + 8008c40: f000 f80e bl 8008c60 + 8008c44: f000 fa98 bl 8009178 + 8008c48: 4b04 ldr r3, [pc, #16] ; (8008c5c <__assert_func+0x38>) + 8008c4a: 461c mov r4, r3 + 8008c4c: e7f3 b.n 8008c36 <__assert_func+0x12> + 8008c4e: bf00 nop + 8008c50: 2000000c .word 0x2000000c + 8008c54: 0800a9a5 .word 0x0800a9a5 + 8008c58: 0800a9b2 .word 0x0800a9b2 + 8008c5c: 0800a9e0 .word 0x0800a9e0 -08008834 <_fstat_r>: - 8008834: b538 push {r3, r4, r5, lr} - 8008836: 2300 movs r3, #0 - 8008838: 4d06 ldr r5, [pc, #24] ; (8008854 <_fstat_r+0x20>) - 800883a: 4604 mov r4, r0 - 800883c: 4608 mov r0, r1 - 800883e: 4611 mov r1, r2 - 8008840: 602b str r3, [r5, #0] - 8008842: f7f8 ff6b bl 800171c <_fstat> - 8008846: 1c43 adds r3, r0, #1 - 8008848: d102 bne.n 8008850 <_fstat_r+0x1c> - 800884a: 682b ldr r3, [r5, #0] - 800884c: b103 cbz r3, 8008850 <_fstat_r+0x1c> - 800884e: 6023 str r3, [r4, #0] - 8008850: bd38 pop {r3, r4, r5, pc} - 8008852: bf00 nop - 8008854: 2000033c .word 0x2000033c +08008c60 : + 8008c60: b40e push {r1, r2, r3} + 8008c62: b503 push {r0, r1, lr} + 8008c64: 4601 mov r1, r0 + 8008c66: ab03 add r3, sp, #12 + 8008c68: 4805 ldr r0, [pc, #20] ; (8008c80 ) + 8008c6a: f853 2b04 ldr.w r2, [r3], #4 + 8008c6e: 6800 ldr r0, [r0, #0] + 8008c70: 9301 str r3, [sp, #4] + 8008c72: f000 f883 bl 8008d7c <_vfiprintf_r> + 8008c76: b002 add sp, #8 + 8008c78: f85d eb04 ldr.w lr, [sp], #4 + 8008c7c: b003 add sp, #12 + 8008c7e: 4770 bx lr + 8008c80: 2000000c .word 0x2000000c -08008858 <_isatty_r>: - 8008858: b538 push {r3, r4, r5, lr} - 800885a: 2300 movs r3, #0 - 800885c: 4d05 ldr r5, [pc, #20] ; (8008874 <_isatty_r+0x1c>) - 800885e: 4604 mov r4, r0 - 8008860: 4608 mov r0, r1 - 8008862: 602b str r3, [r5, #0] - 8008864: f7f8 ff69 bl 800173a <_isatty> - 8008868: 1c43 adds r3, r0, #1 - 800886a: d102 bne.n 8008872 <_isatty_r+0x1a> - 800886c: 682b ldr r3, [r5, #0] - 800886e: b103 cbz r3, 8008872 <_isatty_r+0x1a> - 8008870: 6023 str r3, [r4, #0] - 8008872: bd38 pop {r3, r4, r5, pc} - 8008874: 2000033c .word 0x2000033c +08008c84 <__retarget_lock_init_recursive>: + 8008c84: 4770 bx lr -08008878 <_lseek_r>: - 8008878: b538 push {r3, r4, r5, lr} - 800887a: 4604 mov r4, r0 - 800887c: 4608 mov r0, r1 - 800887e: 4611 mov r1, r2 - 8008880: 2200 movs r2, #0 - 8008882: 4d05 ldr r5, [pc, #20] ; (8008898 <_lseek_r+0x20>) - 8008884: 602a str r2, [r5, #0] - 8008886: 461a mov r2, r3 - 8008888: f7f8 ff61 bl 800174e <_lseek> - 800888c: 1c43 adds r3, r0, #1 - 800888e: d102 bne.n 8008896 <_lseek_r+0x1e> - 8008890: 682b ldr r3, [r5, #0] - 8008892: b103 cbz r3, 8008896 <_lseek_r+0x1e> - 8008894: 6023 str r3, [r4, #0] - 8008896: bd38 pop {r3, r4, r5, pc} - 8008898: 2000033c .word 0x2000033c +08008c86 <__retarget_lock_acquire_recursive>: + 8008c86: 4770 bx lr -0800889c <_read_r>: - 800889c: b538 push {r3, r4, r5, lr} - 800889e: 4604 mov r4, r0 - 80088a0: 4608 mov r0, r1 - 80088a2: 4611 mov r1, r2 - 80088a4: 2200 movs r2, #0 - 80088a6: 4d05 ldr r5, [pc, #20] ; (80088bc <_read_r+0x20>) - 80088a8: 602a str r2, [r5, #0] - 80088aa: 461a mov r2, r3 - 80088ac: f7f8 fef2 bl 8001694 <_read> - 80088b0: 1c43 adds r3, r0, #1 - 80088b2: d102 bne.n 80088ba <_read_r+0x1e> - 80088b4: 682b ldr r3, [r5, #0] - 80088b6: b103 cbz r3, 80088ba <_read_r+0x1e> - 80088b8: 6023 str r3, [r4, #0] - 80088ba: bd38 pop {r3, r4, r5, pc} - 80088bc: 2000033c .word 0x2000033c +08008c88 <__retarget_lock_release_recursive>: + 8008c88: 4770 bx lr -080088c0 <_init>: - 80088c0: b5f8 push {r3, r4, r5, r6, r7, lr} - 80088c2: bf00 nop - 80088c4: bcf8 pop {r3, r4, r5, r6, r7} - 80088c6: bc08 pop {r3} - 80088c8: 469e mov lr, r3 - 80088ca: 4770 bx lr +08008c8a <__ascii_mbtowc>: + 8008c8a: b082 sub sp, #8 + 8008c8c: b901 cbnz r1, 8008c90 <__ascii_mbtowc+0x6> + 8008c8e: a901 add r1, sp, #4 + 8008c90: b142 cbz r2, 8008ca4 <__ascii_mbtowc+0x1a> + 8008c92: b14b cbz r3, 8008ca8 <__ascii_mbtowc+0x1e> + 8008c94: 7813 ldrb r3, [r2, #0] + 8008c96: 600b str r3, [r1, #0] + 8008c98: 7812 ldrb r2, [r2, #0] + 8008c9a: 1e10 subs r0, r2, #0 + 8008c9c: bf18 it ne + 8008c9e: 2001 movne r0, #1 + 8008ca0: b002 add sp, #8 + 8008ca2: 4770 bx lr + 8008ca4: 4610 mov r0, r2 + 8008ca6: e7fb b.n 8008ca0 <__ascii_mbtowc+0x16> + 8008ca8: f06f 0001 mvn.w r0, #1 + 8008cac: e7f8 b.n 8008ca0 <__ascii_mbtowc+0x16> -080088cc <_fini>: - 80088cc: b5f8 push {r3, r4, r5, r6, r7, lr} - 80088ce: bf00 nop - 80088d0: bcf8 pop {r3, r4, r5, r6, r7} - 80088d2: bc08 pop {r3} - 80088d4: 469e mov lr, r3 - 80088d6: 4770 bx lr +08008cae : + 8008cae: 4288 cmp r0, r1 + 8008cb0: b510 push {r4, lr} + 8008cb2: eb01 0402 add.w r4, r1, r2 + 8008cb6: d902 bls.n 8008cbe + 8008cb8: 4284 cmp r4, r0 + 8008cba: 4623 mov r3, r4 + 8008cbc: d807 bhi.n 8008cce + 8008cbe: 1e43 subs r3, r0, #1 + 8008cc0: 42a1 cmp r1, r4 + 8008cc2: d008 beq.n 8008cd6 + 8008cc4: f811 2b01 ldrb.w r2, [r1], #1 + 8008cc8: f803 2f01 strb.w r2, [r3, #1]! + 8008ccc: e7f8 b.n 8008cc0 + 8008cce: 4601 mov r1, r0 + 8008cd0: 4402 add r2, r0 + 8008cd2: 428a cmp r2, r1 + 8008cd4: d100 bne.n 8008cd8 + 8008cd6: bd10 pop {r4, pc} + 8008cd8: f813 4d01 ldrb.w r4, [r3, #-1]! + 8008cdc: f802 4d01 strb.w r4, [r2, #-1]! + 8008ce0: e7f7 b.n 8008cd2 + +08008ce2 <_realloc_r>: + 8008ce2: b5f8 push {r3, r4, r5, r6, r7, lr} + 8008ce4: 4607 mov r7, r0 + 8008ce6: 4614 mov r4, r2 + 8008ce8: 460e mov r6, r1 + 8008cea: b921 cbnz r1, 8008cf6 <_realloc_r+0x14> + 8008cec: 4611 mov r1, r2 + 8008cee: e8bd 40f8 ldmia.w sp!, {r3, r4, r5, r6, r7, lr} + 8008cf2: f7fd bf19 b.w 8006b28 <_malloc_r> + 8008cf6: b922 cbnz r2, 8008d02 <_realloc_r+0x20> + 8008cf8: f7fd feca bl 8006a90 <_free_r> + 8008cfc: 4625 mov r5, r4 + 8008cfe: 4628 mov r0, r5 + 8008d00: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8008d02: f000 fc5d bl 80095c0 <_malloc_usable_size_r> + 8008d06: 42a0 cmp r0, r4 + 8008d08: d20f bcs.n 8008d2a <_realloc_r+0x48> + 8008d0a: 4621 mov r1, r4 + 8008d0c: 4638 mov r0, r7 + 8008d0e: f7fd ff0b bl 8006b28 <_malloc_r> + 8008d12: 4605 mov r5, r0 + 8008d14: 2800 cmp r0, #0 + 8008d16: d0f2 beq.n 8008cfe <_realloc_r+0x1c> + 8008d18: 4631 mov r1, r6 + 8008d1a: 4622 mov r2, r4 + 8008d1c: f7ff fa7c bl 8008218 + 8008d20: 4631 mov r1, r6 + 8008d22: 4638 mov r0, r7 + 8008d24: f7fd feb4 bl 8006a90 <_free_r> + 8008d28: e7e9 b.n 8008cfe <_realloc_r+0x1c> + 8008d2a: 4635 mov r5, r6 + 8008d2c: e7e7 b.n 8008cfe <_realloc_r+0x1c> + +08008d2e <__sfputc_r>: + 8008d2e: 6893 ldr r3, [r2, #8] + 8008d30: b410 push {r4} + 8008d32: 3b01 subs r3, #1 + 8008d34: 2b00 cmp r3, #0 + 8008d36: 6093 str r3, [r2, #8] + 8008d38: da07 bge.n 8008d4a <__sfputc_r+0x1c> + 8008d3a: 6994 ldr r4, [r2, #24] + 8008d3c: 42a3 cmp r3, r4 + 8008d3e: db01 blt.n 8008d44 <__sfputc_r+0x16> + 8008d40: 290a cmp r1, #10 + 8008d42: d102 bne.n 8008d4a <__sfputc_r+0x1c> + 8008d44: bc10 pop {r4} + 8008d46: f000 b949 b.w 8008fdc <__swbuf_r> + 8008d4a: 6813 ldr r3, [r2, #0] + 8008d4c: 1c58 adds r0, r3, #1 + 8008d4e: 6010 str r0, [r2, #0] + 8008d50: 7019 strb r1, [r3, #0] + 8008d52: 4608 mov r0, r1 + 8008d54: bc10 pop {r4} + 8008d56: 4770 bx lr + +08008d58 <__sfputs_r>: + 8008d58: b5f8 push {r3, r4, r5, r6, r7, lr} + 8008d5a: 4606 mov r6, r0 + 8008d5c: 460f mov r7, r1 + 8008d5e: 4614 mov r4, r2 + 8008d60: 18d5 adds r5, r2, r3 + 8008d62: 42ac cmp r4, r5 + 8008d64: d101 bne.n 8008d6a <__sfputs_r+0x12> + 8008d66: 2000 movs r0, #0 + 8008d68: e007 b.n 8008d7a <__sfputs_r+0x22> + 8008d6a: 463a mov r2, r7 + 8008d6c: 4630 mov r0, r6 + 8008d6e: f814 1b01 ldrb.w r1, [r4], #1 + 8008d72: f7ff ffdc bl 8008d2e <__sfputc_r> + 8008d76: 1c43 adds r3, r0, #1 + 8008d78: d1f3 bne.n 8008d62 <__sfputs_r+0xa> + 8008d7a: bdf8 pop {r3, r4, r5, r6, r7, pc} + +08008d7c <_vfiprintf_r>: + 8008d7c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} + 8008d80: 460d mov r5, r1 + 8008d82: 4614 mov r4, r2 + 8008d84: 4698 mov r8, r3 + 8008d86: 4606 mov r6, r0 + 8008d88: b09d sub sp, #116 ; 0x74 + 8008d8a: b118 cbz r0, 8008d94 <_vfiprintf_r+0x18> + 8008d8c: 6983 ldr r3, [r0, #24] + 8008d8e: b90b cbnz r3, 8008d94 <_vfiprintf_r+0x18> + 8008d90: f000 fb14 bl 80093bc <__sinit> + 8008d94: 4b89 ldr r3, [pc, #548] ; (8008fbc <_vfiprintf_r+0x240>) + 8008d96: 429d cmp r5, r3 + 8008d98: d11b bne.n 8008dd2 <_vfiprintf_r+0x56> + 8008d9a: 6875 ldr r5, [r6, #4] + 8008d9c: 6e6b ldr r3, [r5, #100] ; 0x64 + 8008d9e: 07d9 lsls r1, r3, #31 + 8008da0: d405 bmi.n 8008dae <_vfiprintf_r+0x32> + 8008da2: 89ab ldrh r3, [r5, #12] + 8008da4: 059a lsls r2, r3, #22 + 8008da6: d402 bmi.n 8008dae <_vfiprintf_r+0x32> + 8008da8: 6da8 ldr r0, [r5, #88] ; 0x58 + 8008daa: f7ff ff6c bl 8008c86 <__retarget_lock_acquire_recursive> + 8008dae: 89ab ldrh r3, [r5, #12] + 8008db0: 071b lsls r3, r3, #28 + 8008db2: d501 bpl.n 8008db8 <_vfiprintf_r+0x3c> + 8008db4: 692b ldr r3, [r5, #16] + 8008db6: b9eb cbnz r3, 8008df4 <_vfiprintf_r+0x78> + 8008db8: 4629 mov r1, r5 + 8008dba: 4630 mov r0, r6 + 8008dbc: f000 f96e bl 800909c <__swsetup_r> + 8008dc0: b1c0 cbz r0, 8008df4 <_vfiprintf_r+0x78> + 8008dc2: 6e6b ldr r3, [r5, #100] ; 0x64 + 8008dc4: 07dc lsls r4, r3, #31 + 8008dc6: d50e bpl.n 8008de6 <_vfiprintf_r+0x6a> + 8008dc8: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 8008dcc: b01d add sp, #116 ; 0x74 + 8008dce: e8bd 8ff0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, fp, pc} + 8008dd2: 4b7b ldr r3, [pc, #492] ; (8008fc0 <_vfiprintf_r+0x244>) + 8008dd4: 429d cmp r5, r3 + 8008dd6: d101 bne.n 8008ddc <_vfiprintf_r+0x60> + 8008dd8: 68b5 ldr r5, [r6, #8] + 8008dda: e7df b.n 8008d9c <_vfiprintf_r+0x20> + 8008ddc: 4b79 ldr r3, [pc, #484] ; (8008fc4 <_vfiprintf_r+0x248>) + 8008dde: 429d cmp r5, r3 + 8008de0: bf08 it eq + 8008de2: 68f5 ldreq r5, [r6, #12] + 8008de4: e7da b.n 8008d9c <_vfiprintf_r+0x20> + 8008de6: 89ab ldrh r3, [r5, #12] + 8008de8: 0598 lsls r0, r3, #22 + 8008dea: d4ed bmi.n 8008dc8 <_vfiprintf_r+0x4c> + 8008dec: 6da8 ldr r0, [r5, #88] ; 0x58 + 8008dee: f7ff ff4b bl 8008c88 <__retarget_lock_release_recursive> + 8008df2: e7e9 b.n 8008dc8 <_vfiprintf_r+0x4c> + 8008df4: 2300 movs r3, #0 + 8008df6: 9309 str r3, [sp, #36] ; 0x24 + 8008df8: 2320 movs r3, #32 + 8008dfa: f88d 3029 strb.w r3, [sp, #41] ; 0x29 + 8008dfe: 2330 movs r3, #48 ; 0x30 + 8008e00: f04f 0901 mov.w r9, #1 + 8008e04: f8cd 800c str.w r8, [sp, #12] + 8008e08: f8df 81bc ldr.w r8, [pc, #444] ; 8008fc8 <_vfiprintf_r+0x24c> + 8008e0c: f88d 302a strb.w r3, [sp, #42] ; 0x2a + 8008e10: 4623 mov r3, r4 + 8008e12: 469a mov sl, r3 + 8008e14: f813 2b01 ldrb.w r2, [r3], #1 + 8008e18: b10a cbz r2, 8008e1e <_vfiprintf_r+0xa2> + 8008e1a: 2a25 cmp r2, #37 ; 0x25 + 8008e1c: d1f9 bne.n 8008e12 <_vfiprintf_r+0x96> + 8008e1e: ebba 0b04 subs.w fp, sl, r4 + 8008e22: d00b beq.n 8008e3c <_vfiprintf_r+0xc0> + 8008e24: 465b mov r3, fp + 8008e26: 4622 mov r2, r4 + 8008e28: 4629 mov r1, r5 + 8008e2a: 4630 mov r0, r6 + 8008e2c: f7ff ff94 bl 8008d58 <__sfputs_r> + 8008e30: 3001 adds r0, #1 + 8008e32: f000 80aa beq.w 8008f8a <_vfiprintf_r+0x20e> + 8008e36: 9a09 ldr r2, [sp, #36] ; 0x24 + 8008e38: 445a add r2, fp + 8008e3a: 9209 str r2, [sp, #36] ; 0x24 + 8008e3c: f89a 3000 ldrb.w r3, [sl] + 8008e40: 2b00 cmp r3, #0 + 8008e42: f000 80a2 beq.w 8008f8a <_vfiprintf_r+0x20e> + 8008e46: 2300 movs r3, #0 + 8008e48: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff + 8008e4c: e9cd 2305 strd r2, r3, [sp, #20] + 8008e50: f10a 0a01 add.w sl, sl, #1 + 8008e54: 9304 str r3, [sp, #16] + 8008e56: 9307 str r3, [sp, #28] + 8008e58: f88d 3053 strb.w r3, [sp, #83] ; 0x53 + 8008e5c: 931a str r3, [sp, #104] ; 0x68 + 8008e5e: 4654 mov r4, sl + 8008e60: 2205 movs r2, #5 + 8008e62: f814 1b01 ldrb.w r1, [r4], #1 + 8008e66: 4858 ldr r0, [pc, #352] ; (8008fc8 <_vfiprintf_r+0x24c>) + 8008e68: f7ff f9c8 bl 80081fc + 8008e6c: 9a04 ldr r2, [sp, #16] + 8008e6e: b9d8 cbnz r0, 8008ea8 <_vfiprintf_r+0x12c> + 8008e70: 06d1 lsls r1, r2, #27 + 8008e72: bf44 itt mi + 8008e74: 2320 movmi r3, #32 + 8008e76: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 + 8008e7a: 0713 lsls r3, r2, #28 + 8008e7c: bf44 itt mi + 8008e7e: 232b movmi r3, #43 ; 0x2b + 8008e80: f88d 3053 strbmi.w r3, [sp, #83] ; 0x53 + 8008e84: f89a 3000 ldrb.w r3, [sl] + 8008e88: 2b2a cmp r3, #42 ; 0x2a + 8008e8a: d015 beq.n 8008eb8 <_vfiprintf_r+0x13c> + 8008e8c: 4654 mov r4, sl + 8008e8e: 2000 movs r0, #0 + 8008e90: f04f 0c0a mov.w ip, #10 + 8008e94: 9a07 ldr r2, [sp, #28] + 8008e96: 4621 mov r1, r4 + 8008e98: f811 3b01 ldrb.w r3, [r1], #1 + 8008e9c: 3b30 subs r3, #48 ; 0x30 + 8008e9e: 2b09 cmp r3, #9 + 8008ea0: d94e bls.n 8008f40 <_vfiprintf_r+0x1c4> + 8008ea2: b1b0 cbz r0, 8008ed2 <_vfiprintf_r+0x156> + 8008ea4: 9207 str r2, [sp, #28] + 8008ea6: e014 b.n 8008ed2 <_vfiprintf_r+0x156> + 8008ea8: eba0 0308 sub.w r3, r0, r8 + 8008eac: fa09 f303 lsl.w r3, r9, r3 + 8008eb0: 4313 orrs r3, r2 + 8008eb2: 46a2 mov sl, r4 + 8008eb4: 9304 str r3, [sp, #16] + 8008eb6: e7d2 b.n 8008e5e <_vfiprintf_r+0xe2> + 8008eb8: 9b03 ldr r3, [sp, #12] + 8008eba: 1d19 adds r1, r3, #4 + 8008ebc: 681b ldr r3, [r3, #0] + 8008ebe: 9103 str r1, [sp, #12] + 8008ec0: 2b00 cmp r3, #0 + 8008ec2: bfbb ittet lt + 8008ec4: 425b neglt r3, r3 + 8008ec6: f042 0202 orrlt.w r2, r2, #2 + 8008eca: 9307 strge r3, [sp, #28] + 8008ecc: 9307 strlt r3, [sp, #28] + 8008ece: bfb8 it lt + 8008ed0: 9204 strlt r2, [sp, #16] + 8008ed2: 7823 ldrb r3, [r4, #0] + 8008ed4: 2b2e cmp r3, #46 ; 0x2e + 8008ed6: d10c bne.n 8008ef2 <_vfiprintf_r+0x176> + 8008ed8: 7863 ldrb r3, [r4, #1] + 8008eda: 2b2a cmp r3, #42 ; 0x2a + 8008edc: d135 bne.n 8008f4a <_vfiprintf_r+0x1ce> + 8008ede: 9b03 ldr r3, [sp, #12] + 8008ee0: 3402 adds r4, #2 + 8008ee2: 1d1a adds r2, r3, #4 + 8008ee4: 681b ldr r3, [r3, #0] + 8008ee6: 9203 str r2, [sp, #12] + 8008ee8: 2b00 cmp r3, #0 + 8008eea: bfb8 it lt + 8008eec: f04f 33ff movlt.w r3, #4294967295 ; 0xffffffff + 8008ef0: 9305 str r3, [sp, #20] + 8008ef2: f8df a0e4 ldr.w sl, [pc, #228] ; 8008fd8 <_vfiprintf_r+0x25c> + 8008ef6: 2203 movs r2, #3 + 8008ef8: 4650 mov r0, sl + 8008efa: 7821 ldrb r1, [r4, #0] + 8008efc: f7ff f97e bl 80081fc + 8008f00: b140 cbz r0, 8008f14 <_vfiprintf_r+0x198> + 8008f02: 2340 movs r3, #64 ; 0x40 + 8008f04: eba0 000a sub.w r0, r0, sl + 8008f08: fa03 f000 lsl.w r0, r3, r0 + 8008f0c: 9b04 ldr r3, [sp, #16] + 8008f0e: 3401 adds r4, #1 + 8008f10: 4303 orrs r3, r0 + 8008f12: 9304 str r3, [sp, #16] + 8008f14: f814 1b01 ldrb.w r1, [r4], #1 + 8008f18: 2206 movs r2, #6 + 8008f1a: 482c ldr r0, [pc, #176] ; (8008fcc <_vfiprintf_r+0x250>) + 8008f1c: f88d 1028 strb.w r1, [sp, #40] ; 0x28 + 8008f20: f7ff f96c bl 80081fc + 8008f24: 2800 cmp r0, #0 + 8008f26: d03f beq.n 8008fa8 <_vfiprintf_r+0x22c> + 8008f28: 4b29 ldr r3, [pc, #164] ; (8008fd0 <_vfiprintf_r+0x254>) + 8008f2a: bb1b cbnz r3, 8008f74 <_vfiprintf_r+0x1f8> + 8008f2c: 9b03 ldr r3, [sp, #12] + 8008f2e: 3307 adds r3, #7 + 8008f30: f023 0307 bic.w r3, r3, #7 + 8008f34: 3308 adds r3, #8 + 8008f36: 9303 str r3, [sp, #12] + 8008f38: 9b09 ldr r3, [sp, #36] ; 0x24 + 8008f3a: 443b add r3, r7 + 8008f3c: 9309 str r3, [sp, #36] ; 0x24 + 8008f3e: e767 b.n 8008e10 <_vfiprintf_r+0x94> + 8008f40: 460c mov r4, r1 + 8008f42: 2001 movs r0, #1 + 8008f44: fb0c 3202 mla r2, ip, r2, r3 + 8008f48: e7a5 b.n 8008e96 <_vfiprintf_r+0x11a> + 8008f4a: 2300 movs r3, #0 + 8008f4c: f04f 0c0a mov.w ip, #10 + 8008f50: 4619 mov r1, r3 + 8008f52: 3401 adds r4, #1 + 8008f54: 9305 str r3, [sp, #20] + 8008f56: 4620 mov r0, r4 + 8008f58: f810 2b01 ldrb.w r2, [r0], #1 + 8008f5c: 3a30 subs r2, #48 ; 0x30 + 8008f5e: 2a09 cmp r2, #9 + 8008f60: d903 bls.n 8008f6a <_vfiprintf_r+0x1ee> + 8008f62: 2b00 cmp r3, #0 + 8008f64: d0c5 beq.n 8008ef2 <_vfiprintf_r+0x176> + 8008f66: 9105 str r1, [sp, #20] + 8008f68: e7c3 b.n 8008ef2 <_vfiprintf_r+0x176> + 8008f6a: 4604 mov r4, r0 + 8008f6c: 2301 movs r3, #1 + 8008f6e: fb0c 2101 mla r1, ip, r1, r2 + 8008f72: e7f0 b.n 8008f56 <_vfiprintf_r+0x1da> + 8008f74: ab03 add r3, sp, #12 + 8008f76: 9300 str r3, [sp, #0] + 8008f78: 462a mov r2, r5 + 8008f7a: 4630 mov r0, r6 + 8008f7c: 4b15 ldr r3, [pc, #84] ; (8008fd4 <_vfiprintf_r+0x258>) + 8008f7e: a904 add r1, sp, #16 + 8008f80: f7fd feca bl 8006d18 <_printf_float> + 8008f84: 4607 mov r7, r0 + 8008f86: 1c78 adds r0, r7, #1 + 8008f88: d1d6 bne.n 8008f38 <_vfiprintf_r+0x1bc> + 8008f8a: 6e6b ldr r3, [r5, #100] ; 0x64 + 8008f8c: 07d9 lsls r1, r3, #31 + 8008f8e: d405 bmi.n 8008f9c <_vfiprintf_r+0x220> + 8008f90: 89ab ldrh r3, [r5, #12] + 8008f92: 059a lsls r2, r3, #22 + 8008f94: d402 bmi.n 8008f9c <_vfiprintf_r+0x220> + 8008f96: 6da8 ldr r0, [r5, #88] ; 0x58 + 8008f98: f7ff fe76 bl 8008c88 <__retarget_lock_release_recursive> + 8008f9c: 89ab ldrh r3, [r5, #12] + 8008f9e: 065b lsls r3, r3, #25 + 8008fa0: f53f af12 bmi.w 8008dc8 <_vfiprintf_r+0x4c> + 8008fa4: 9809 ldr r0, [sp, #36] ; 0x24 + 8008fa6: e711 b.n 8008dcc <_vfiprintf_r+0x50> + 8008fa8: ab03 add r3, sp, #12 + 8008faa: 9300 str r3, [sp, #0] + 8008fac: 462a mov r2, r5 + 8008fae: 4630 mov r0, r6 + 8008fb0: 4b08 ldr r3, [pc, #32] ; (8008fd4 <_vfiprintf_r+0x258>) + 8008fb2: a904 add r1, sp, #16 + 8008fb4: f7fe f94c bl 8007250 <_printf_i> + 8008fb8: e7e4 b.n 8008f84 <_vfiprintf_r+0x208> + 8008fba: bf00 nop + 8008fbc: 0800ab0c .word 0x0800ab0c + 8008fc0: 0800ab2c .word 0x0800ab2c + 8008fc4: 0800aaec .word 0x0800aaec + 8008fc8: 0800a994 .word 0x0800a994 + 8008fcc: 0800a99e .word 0x0800a99e + 8008fd0: 08006d19 .word 0x08006d19 + 8008fd4: 08008d59 .word 0x08008d59 + 8008fd8: 0800a99a .word 0x0800a99a + +08008fdc <__swbuf_r>: + 8008fdc: b5f8 push {r3, r4, r5, r6, r7, lr} + 8008fde: 460e mov r6, r1 + 8008fe0: 4614 mov r4, r2 + 8008fe2: 4605 mov r5, r0 + 8008fe4: b118 cbz r0, 8008fee <__swbuf_r+0x12> + 8008fe6: 6983 ldr r3, [r0, #24] + 8008fe8: b90b cbnz r3, 8008fee <__swbuf_r+0x12> + 8008fea: f000 f9e7 bl 80093bc <__sinit> + 8008fee: 4b21 ldr r3, [pc, #132] ; (8009074 <__swbuf_r+0x98>) + 8008ff0: 429c cmp r4, r3 + 8008ff2: d12b bne.n 800904c <__swbuf_r+0x70> + 8008ff4: 686c ldr r4, [r5, #4] + 8008ff6: 69a3 ldr r3, [r4, #24] + 8008ff8: 60a3 str r3, [r4, #8] + 8008ffa: 89a3 ldrh r3, [r4, #12] + 8008ffc: 071a lsls r2, r3, #28 + 8008ffe: d52f bpl.n 8009060 <__swbuf_r+0x84> + 8009000: 6923 ldr r3, [r4, #16] + 8009002: b36b cbz r3, 8009060 <__swbuf_r+0x84> + 8009004: 6923 ldr r3, [r4, #16] + 8009006: 6820 ldr r0, [r4, #0] + 8009008: b2f6 uxtb r6, r6 + 800900a: 1ac0 subs r0, r0, r3 + 800900c: 6963 ldr r3, [r4, #20] + 800900e: 4637 mov r7, r6 + 8009010: 4283 cmp r3, r0 + 8009012: dc04 bgt.n 800901e <__swbuf_r+0x42> + 8009014: 4621 mov r1, r4 + 8009016: 4628 mov r0, r5 + 8009018: f000 f93c bl 8009294 <_fflush_r> + 800901c: bb30 cbnz r0, 800906c <__swbuf_r+0x90> + 800901e: 68a3 ldr r3, [r4, #8] + 8009020: 3001 adds r0, #1 + 8009022: 3b01 subs r3, #1 + 8009024: 60a3 str r3, [r4, #8] + 8009026: 6823 ldr r3, [r4, #0] + 8009028: 1c5a adds r2, r3, #1 + 800902a: 6022 str r2, [r4, #0] + 800902c: 701e strb r6, [r3, #0] + 800902e: 6963 ldr r3, [r4, #20] + 8009030: 4283 cmp r3, r0 + 8009032: d004 beq.n 800903e <__swbuf_r+0x62> + 8009034: 89a3 ldrh r3, [r4, #12] + 8009036: 07db lsls r3, r3, #31 + 8009038: d506 bpl.n 8009048 <__swbuf_r+0x6c> + 800903a: 2e0a cmp r6, #10 + 800903c: d104 bne.n 8009048 <__swbuf_r+0x6c> + 800903e: 4621 mov r1, r4 + 8009040: 4628 mov r0, r5 + 8009042: f000 f927 bl 8009294 <_fflush_r> + 8009046: b988 cbnz r0, 800906c <__swbuf_r+0x90> + 8009048: 4638 mov r0, r7 + 800904a: bdf8 pop {r3, r4, r5, r6, r7, pc} + 800904c: 4b0a ldr r3, [pc, #40] ; (8009078 <__swbuf_r+0x9c>) + 800904e: 429c cmp r4, r3 + 8009050: d101 bne.n 8009056 <__swbuf_r+0x7a> + 8009052: 68ac ldr r4, [r5, #8] + 8009054: e7cf b.n 8008ff6 <__swbuf_r+0x1a> + 8009056: 4b09 ldr r3, [pc, #36] ; (800907c <__swbuf_r+0xa0>) + 8009058: 429c cmp r4, r3 + 800905a: bf08 it eq + 800905c: 68ec ldreq r4, [r5, #12] + 800905e: e7ca b.n 8008ff6 <__swbuf_r+0x1a> + 8009060: 4621 mov r1, r4 + 8009062: 4628 mov r0, r5 + 8009064: f000 f81a bl 800909c <__swsetup_r> + 8009068: 2800 cmp r0, #0 + 800906a: d0cb beq.n 8009004 <__swbuf_r+0x28> + 800906c: f04f 37ff mov.w r7, #4294967295 ; 0xffffffff + 8009070: e7ea b.n 8009048 <__swbuf_r+0x6c> + 8009072: bf00 nop + 8009074: 0800ab0c .word 0x0800ab0c + 8009078: 0800ab2c .word 0x0800ab2c + 800907c: 0800aaec .word 0x0800aaec + +08009080 <__ascii_wctomb>: + 8009080: 4603 mov r3, r0 + 8009082: 4608 mov r0, r1 + 8009084: b141 cbz r1, 8009098 <__ascii_wctomb+0x18> + 8009086: 2aff cmp r2, #255 ; 0xff + 8009088: d904 bls.n 8009094 <__ascii_wctomb+0x14> + 800908a: 228a movs r2, #138 ; 0x8a + 800908c: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 8009090: 601a str r2, [r3, #0] + 8009092: 4770 bx lr + 8009094: 2001 movs r0, #1 + 8009096: 700a strb r2, [r1, #0] + 8009098: 4770 bx lr + ... + +0800909c <__swsetup_r>: + 800909c: 4b32 ldr r3, [pc, #200] ; (8009168 <__swsetup_r+0xcc>) + 800909e: b570 push {r4, r5, r6, lr} + 80090a0: 681d ldr r5, [r3, #0] + 80090a2: 4606 mov r6, r0 + 80090a4: 460c mov r4, r1 + 80090a6: b125 cbz r5, 80090b2 <__swsetup_r+0x16> + 80090a8: 69ab ldr r3, [r5, #24] + 80090aa: b913 cbnz r3, 80090b2 <__swsetup_r+0x16> + 80090ac: 4628 mov r0, r5 + 80090ae: f000 f985 bl 80093bc <__sinit> + 80090b2: 4b2e ldr r3, [pc, #184] ; (800916c <__swsetup_r+0xd0>) + 80090b4: 429c cmp r4, r3 + 80090b6: d10f bne.n 80090d8 <__swsetup_r+0x3c> + 80090b8: 686c ldr r4, [r5, #4] + 80090ba: 89a3 ldrh r3, [r4, #12] + 80090bc: f9b4 200c ldrsh.w r2, [r4, #12] + 80090c0: 0719 lsls r1, r3, #28 + 80090c2: d42c bmi.n 800911e <__swsetup_r+0x82> + 80090c4: 06dd lsls r5, r3, #27 + 80090c6: d411 bmi.n 80090ec <__swsetup_r+0x50> + 80090c8: 2309 movs r3, #9 + 80090ca: 6033 str r3, [r6, #0] + 80090cc: f042 0340 orr.w r3, r2, #64 ; 0x40 + 80090d0: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 80090d4: 81a3 strh r3, [r4, #12] + 80090d6: e03e b.n 8009156 <__swsetup_r+0xba> + 80090d8: 4b25 ldr r3, [pc, #148] ; (8009170 <__swsetup_r+0xd4>) + 80090da: 429c cmp r4, r3 + 80090dc: d101 bne.n 80090e2 <__swsetup_r+0x46> + 80090de: 68ac ldr r4, [r5, #8] + 80090e0: e7eb b.n 80090ba <__swsetup_r+0x1e> + 80090e2: 4b24 ldr r3, [pc, #144] ; (8009174 <__swsetup_r+0xd8>) + 80090e4: 429c cmp r4, r3 + 80090e6: bf08 it eq + 80090e8: 68ec ldreq r4, [r5, #12] + 80090ea: e7e6 b.n 80090ba <__swsetup_r+0x1e> + 80090ec: 0758 lsls r0, r3, #29 + 80090ee: d512 bpl.n 8009116 <__swsetup_r+0x7a> + 80090f0: 6b61 ldr r1, [r4, #52] ; 0x34 + 80090f2: b141 cbz r1, 8009106 <__swsetup_r+0x6a> + 80090f4: f104 0344 add.w r3, r4, #68 ; 0x44 + 80090f8: 4299 cmp r1, r3 + 80090fa: d002 beq.n 8009102 <__swsetup_r+0x66> + 80090fc: 4630 mov r0, r6 + 80090fe: f7fd fcc7 bl 8006a90 <_free_r> + 8009102: 2300 movs r3, #0 + 8009104: 6363 str r3, [r4, #52] ; 0x34 + 8009106: 89a3 ldrh r3, [r4, #12] + 8009108: f023 0324 bic.w r3, r3, #36 ; 0x24 + 800910c: 81a3 strh r3, [r4, #12] + 800910e: 2300 movs r3, #0 + 8009110: 6063 str r3, [r4, #4] + 8009112: 6923 ldr r3, [r4, #16] + 8009114: 6023 str r3, [r4, #0] + 8009116: 89a3 ldrh r3, [r4, #12] + 8009118: f043 0308 orr.w r3, r3, #8 + 800911c: 81a3 strh r3, [r4, #12] + 800911e: 6923 ldr r3, [r4, #16] + 8009120: b94b cbnz r3, 8009136 <__swsetup_r+0x9a> + 8009122: 89a3 ldrh r3, [r4, #12] + 8009124: f403 7320 and.w r3, r3, #640 ; 0x280 + 8009128: f5b3 7f00 cmp.w r3, #512 ; 0x200 + 800912c: d003 beq.n 8009136 <__swsetup_r+0x9a> + 800912e: 4621 mov r1, r4 + 8009130: 4630 mov r0, r6 + 8009132: f000 fa05 bl 8009540 <__smakebuf_r> + 8009136: 89a0 ldrh r0, [r4, #12] + 8009138: f9b4 200c ldrsh.w r2, [r4, #12] + 800913c: f010 0301 ands.w r3, r0, #1 + 8009140: d00a beq.n 8009158 <__swsetup_r+0xbc> + 8009142: 2300 movs r3, #0 + 8009144: 60a3 str r3, [r4, #8] + 8009146: 6963 ldr r3, [r4, #20] + 8009148: 425b negs r3, r3 + 800914a: 61a3 str r3, [r4, #24] + 800914c: 6923 ldr r3, [r4, #16] + 800914e: b943 cbnz r3, 8009162 <__swsetup_r+0xc6> + 8009150: f010 0080 ands.w r0, r0, #128 ; 0x80 + 8009154: d1ba bne.n 80090cc <__swsetup_r+0x30> + 8009156: bd70 pop {r4, r5, r6, pc} + 8009158: 0781 lsls r1, r0, #30 + 800915a: bf58 it pl + 800915c: 6963 ldrpl r3, [r4, #20] + 800915e: 60a3 str r3, [r4, #8] + 8009160: e7f4 b.n 800914c <__swsetup_r+0xb0> + 8009162: 2000 movs r0, #0 + 8009164: e7f7 b.n 8009156 <__swsetup_r+0xba> + 8009166: bf00 nop + 8009168: 2000000c .word 0x2000000c + 800916c: 0800ab0c .word 0x0800ab0c + 8009170: 0800ab2c .word 0x0800ab2c + 8009174: 0800aaec .word 0x0800aaec + +08009178 : + 8009178: 2006 movs r0, #6 + 800917a: b508 push {r3, lr} + 800917c: f000 fa50 bl 8009620 + 8009180: 2001 movs r0, #1 + 8009182: f7f8 fb09 bl 8001798 <_exit> + ... + +08009188 <__sflush_r>: + 8009188: 898a ldrh r2, [r1, #12] + 800918a: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800918e: 4605 mov r5, r0 + 8009190: 0710 lsls r0, r2, #28 + 8009192: 460c mov r4, r1 + 8009194: d458 bmi.n 8009248 <__sflush_r+0xc0> + 8009196: 684b ldr r3, [r1, #4] + 8009198: 2b00 cmp r3, #0 + 800919a: dc05 bgt.n 80091a8 <__sflush_r+0x20> + 800919c: 6c0b ldr r3, [r1, #64] ; 0x40 + 800919e: 2b00 cmp r3, #0 + 80091a0: dc02 bgt.n 80091a8 <__sflush_r+0x20> + 80091a2: 2000 movs r0, #0 + 80091a4: e8bd 81f0 ldmia.w sp!, {r4, r5, r6, r7, r8, pc} + 80091a8: 6ae6 ldr r6, [r4, #44] ; 0x2c + 80091aa: 2e00 cmp r6, #0 + 80091ac: d0f9 beq.n 80091a2 <__sflush_r+0x1a> + 80091ae: 2300 movs r3, #0 + 80091b0: f412 5280 ands.w r2, r2, #4096 ; 0x1000 + 80091b4: 682f ldr r7, [r5, #0] + 80091b6: 602b str r3, [r5, #0] + 80091b8: d032 beq.n 8009220 <__sflush_r+0x98> + 80091ba: 6d60 ldr r0, [r4, #84] ; 0x54 + 80091bc: 89a3 ldrh r3, [r4, #12] + 80091be: 075a lsls r2, r3, #29 + 80091c0: d505 bpl.n 80091ce <__sflush_r+0x46> + 80091c2: 6863 ldr r3, [r4, #4] + 80091c4: 1ac0 subs r0, r0, r3 + 80091c6: 6b63 ldr r3, [r4, #52] ; 0x34 + 80091c8: b10b cbz r3, 80091ce <__sflush_r+0x46> + 80091ca: 6c23 ldr r3, [r4, #64] ; 0x40 + 80091cc: 1ac0 subs r0, r0, r3 + 80091ce: 2300 movs r3, #0 + 80091d0: 4602 mov r2, r0 + 80091d2: 6ae6 ldr r6, [r4, #44] ; 0x2c + 80091d4: 4628 mov r0, r5 + 80091d6: 6a21 ldr r1, [r4, #32] + 80091d8: 47b0 blx r6 + 80091da: 1c43 adds r3, r0, #1 + 80091dc: 89a3 ldrh r3, [r4, #12] + 80091de: d106 bne.n 80091ee <__sflush_r+0x66> + 80091e0: 6829 ldr r1, [r5, #0] + 80091e2: 291d cmp r1, #29 + 80091e4: d82c bhi.n 8009240 <__sflush_r+0xb8> + 80091e6: 4a2a ldr r2, [pc, #168] ; (8009290 <__sflush_r+0x108>) + 80091e8: 40ca lsrs r2, r1 + 80091ea: 07d6 lsls r6, r2, #31 + 80091ec: d528 bpl.n 8009240 <__sflush_r+0xb8> + 80091ee: 2200 movs r2, #0 + 80091f0: 6062 str r2, [r4, #4] + 80091f2: 6922 ldr r2, [r4, #16] + 80091f4: 04d9 lsls r1, r3, #19 + 80091f6: 6022 str r2, [r4, #0] + 80091f8: d504 bpl.n 8009204 <__sflush_r+0x7c> + 80091fa: 1c42 adds r2, r0, #1 + 80091fc: d101 bne.n 8009202 <__sflush_r+0x7a> + 80091fe: 682b ldr r3, [r5, #0] + 8009200: b903 cbnz r3, 8009204 <__sflush_r+0x7c> + 8009202: 6560 str r0, [r4, #84] ; 0x54 + 8009204: 6b61 ldr r1, [r4, #52] ; 0x34 + 8009206: 602f str r7, [r5, #0] + 8009208: 2900 cmp r1, #0 + 800920a: d0ca beq.n 80091a2 <__sflush_r+0x1a> + 800920c: f104 0344 add.w r3, r4, #68 ; 0x44 + 8009210: 4299 cmp r1, r3 + 8009212: d002 beq.n 800921a <__sflush_r+0x92> + 8009214: 4628 mov r0, r5 + 8009216: f7fd fc3b bl 8006a90 <_free_r> + 800921a: 2000 movs r0, #0 + 800921c: 6360 str r0, [r4, #52] ; 0x34 + 800921e: e7c1 b.n 80091a4 <__sflush_r+0x1c> + 8009220: 6a21 ldr r1, [r4, #32] + 8009222: 2301 movs r3, #1 + 8009224: 4628 mov r0, r5 + 8009226: 47b0 blx r6 + 8009228: 1c41 adds r1, r0, #1 + 800922a: d1c7 bne.n 80091bc <__sflush_r+0x34> + 800922c: 682b ldr r3, [r5, #0] + 800922e: 2b00 cmp r3, #0 + 8009230: d0c4 beq.n 80091bc <__sflush_r+0x34> + 8009232: 2b1d cmp r3, #29 + 8009234: d001 beq.n 800923a <__sflush_r+0xb2> + 8009236: 2b16 cmp r3, #22 + 8009238: d101 bne.n 800923e <__sflush_r+0xb6> + 800923a: 602f str r7, [r5, #0] + 800923c: e7b1 b.n 80091a2 <__sflush_r+0x1a> + 800923e: 89a3 ldrh r3, [r4, #12] + 8009240: f043 0340 orr.w r3, r3, #64 ; 0x40 + 8009244: 81a3 strh r3, [r4, #12] + 8009246: e7ad b.n 80091a4 <__sflush_r+0x1c> + 8009248: 690f ldr r7, [r1, #16] + 800924a: 2f00 cmp r7, #0 + 800924c: d0a9 beq.n 80091a2 <__sflush_r+0x1a> + 800924e: 0793 lsls r3, r2, #30 + 8009250: bf18 it ne + 8009252: 2300 movne r3, #0 + 8009254: 680e ldr r6, [r1, #0] + 8009256: bf08 it eq + 8009258: 694b ldreq r3, [r1, #20] + 800925a: eba6 0807 sub.w r8, r6, r7 + 800925e: 600f str r7, [r1, #0] + 8009260: 608b str r3, [r1, #8] + 8009262: f1b8 0f00 cmp.w r8, #0 + 8009266: dd9c ble.n 80091a2 <__sflush_r+0x1a> + 8009268: 4643 mov r3, r8 + 800926a: 463a mov r2, r7 + 800926c: 4628 mov r0, r5 + 800926e: 6a21 ldr r1, [r4, #32] + 8009270: 6aa6 ldr r6, [r4, #40] ; 0x28 + 8009272: 47b0 blx r6 + 8009274: 2800 cmp r0, #0 + 8009276: dc06 bgt.n 8009286 <__sflush_r+0xfe> + 8009278: 89a3 ldrh r3, [r4, #12] + 800927a: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 800927e: f043 0340 orr.w r3, r3, #64 ; 0x40 + 8009282: 81a3 strh r3, [r4, #12] + 8009284: e78e b.n 80091a4 <__sflush_r+0x1c> + 8009286: 4407 add r7, r0 + 8009288: eba8 0800 sub.w r8, r8, r0 + 800928c: e7e9 b.n 8009262 <__sflush_r+0xda> + 800928e: bf00 nop + 8009290: 20400001 .word 0x20400001 + +08009294 <_fflush_r>: + 8009294: b538 push {r3, r4, r5, lr} + 8009296: 690b ldr r3, [r1, #16] + 8009298: 4605 mov r5, r0 + 800929a: 460c mov r4, r1 + 800929c: b913 cbnz r3, 80092a4 <_fflush_r+0x10> + 800929e: 2500 movs r5, #0 + 80092a0: 4628 mov r0, r5 + 80092a2: bd38 pop {r3, r4, r5, pc} + 80092a4: b118 cbz r0, 80092ae <_fflush_r+0x1a> + 80092a6: 6983 ldr r3, [r0, #24] + 80092a8: b90b cbnz r3, 80092ae <_fflush_r+0x1a> + 80092aa: f000 f887 bl 80093bc <__sinit> + 80092ae: 4b14 ldr r3, [pc, #80] ; (8009300 <_fflush_r+0x6c>) + 80092b0: 429c cmp r4, r3 + 80092b2: d11b bne.n 80092ec <_fflush_r+0x58> + 80092b4: 686c ldr r4, [r5, #4] + 80092b6: f9b4 300c ldrsh.w r3, [r4, #12] + 80092ba: 2b00 cmp r3, #0 + 80092bc: d0ef beq.n 800929e <_fflush_r+0xa> + 80092be: 6e62 ldr r2, [r4, #100] ; 0x64 + 80092c0: 07d0 lsls r0, r2, #31 + 80092c2: d404 bmi.n 80092ce <_fflush_r+0x3a> + 80092c4: 0599 lsls r1, r3, #22 + 80092c6: d402 bmi.n 80092ce <_fflush_r+0x3a> + 80092c8: 6da0 ldr r0, [r4, #88] ; 0x58 + 80092ca: f7ff fcdc bl 8008c86 <__retarget_lock_acquire_recursive> + 80092ce: 4628 mov r0, r5 + 80092d0: 4621 mov r1, r4 + 80092d2: f7ff ff59 bl 8009188 <__sflush_r> + 80092d6: 6e63 ldr r3, [r4, #100] ; 0x64 + 80092d8: 4605 mov r5, r0 + 80092da: 07da lsls r2, r3, #31 + 80092dc: d4e0 bmi.n 80092a0 <_fflush_r+0xc> + 80092de: 89a3 ldrh r3, [r4, #12] + 80092e0: 059b lsls r3, r3, #22 + 80092e2: d4dd bmi.n 80092a0 <_fflush_r+0xc> + 80092e4: 6da0 ldr r0, [r4, #88] ; 0x58 + 80092e6: f7ff fccf bl 8008c88 <__retarget_lock_release_recursive> + 80092ea: e7d9 b.n 80092a0 <_fflush_r+0xc> + 80092ec: 4b05 ldr r3, [pc, #20] ; (8009304 <_fflush_r+0x70>) + 80092ee: 429c cmp r4, r3 + 80092f0: d101 bne.n 80092f6 <_fflush_r+0x62> + 80092f2: 68ac ldr r4, [r5, #8] + 80092f4: e7df b.n 80092b6 <_fflush_r+0x22> + 80092f6: 4b04 ldr r3, [pc, #16] ; (8009308 <_fflush_r+0x74>) + 80092f8: 429c cmp r4, r3 + 80092fa: bf08 it eq + 80092fc: 68ec ldreq r4, [r5, #12] + 80092fe: e7da b.n 80092b6 <_fflush_r+0x22> + 8009300: 0800ab0c .word 0x0800ab0c + 8009304: 0800ab2c .word 0x0800ab2c + 8009308: 0800aaec .word 0x0800aaec + +0800930c : + 800930c: 2300 movs r3, #0 + 800930e: b510 push {r4, lr} + 8009310: 4604 mov r4, r0 + 8009312: e9c0 3300 strd r3, r3, [r0] + 8009316: e9c0 3304 strd r3, r3, [r0, #16] + 800931a: 6083 str r3, [r0, #8] + 800931c: 8181 strh r1, [r0, #12] + 800931e: 6643 str r3, [r0, #100] ; 0x64 + 8009320: 81c2 strh r2, [r0, #14] + 8009322: 6183 str r3, [r0, #24] + 8009324: 4619 mov r1, r3 + 8009326: 2208 movs r2, #8 + 8009328: 305c adds r0, #92 ; 0x5c + 800932a: f7fd fba9 bl 8006a80 + 800932e: 4b05 ldr r3, [pc, #20] ; (8009344 ) + 8009330: 6224 str r4, [r4, #32] + 8009332: 6263 str r3, [r4, #36] ; 0x24 + 8009334: 4b04 ldr r3, [pc, #16] ; (8009348 ) + 8009336: 62a3 str r3, [r4, #40] ; 0x28 + 8009338: 4b04 ldr r3, [pc, #16] ; (800934c ) + 800933a: 62e3 str r3, [r4, #44] ; 0x2c + 800933c: 4b04 ldr r3, [pc, #16] ; (8009350 ) + 800933e: 6323 str r3, [r4, #48] ; 0x30 + 8009340: bd10 pop {r4, pc} + 8009342: bf00 nop + 8009344: 08009659 .word 0x08009659 + 8009348: 0800967b .word 0x0800967b + 800934c: 080096b3 .word 0x080096b3 + 8009350: 080096d7 .word 0x080096d7 + +08009354 <_cleanup_r>: + 8009354: 4901 ldr r1, [pc, #4] ; (800935c <_cleanup_r+0x8>) + 8009356: f000 b8af b.w 80094b8 <_fwalk_reent> + 800935a: bf00 nop + 800935c: 08009295 .word 0x08009295 + +08009360 <__sfmoreglue>: + 8009360: b570 push {r4, r5, r6, lr} + 8009362: 2568 movs r5, #104 ; 0x68 + 8009364: 1e4a subs r2, r1, #1 + 8009366: 4355 muls r5, r2 + 8009368: 460e mov r6, r1 + 800936a: f105 0174 add.w r1, r5, #116 ; 0x74 + 800936e: f7fd fbdb bl 8006b28 <_malloc_r> + 8009372: 4604 mov r4, r0 + 8009374: b140 cbz r0, 8009388 <__sfmoreglue+0x28> + 8009376: 2100 movs r1, #0 + 8009378: e9c0 1600 strd r1, r6, [r0] + 800937c: 300c adds r0, #12 + 800937e: 60a0 str r0, [r4, #8] + 8009380: f105 0268 add.w r2, r5, #104 ; 0x68 + 8009384: f7fd fb7c bl 8006a80 + 8009388: 4620 mov r0, r4 + 800938a: bd70 pop {r4, r5, r6, pc} + +0800938c <__sfp_lock_acquire>: + 800938c: 4801 ldr r0, [pc, #4] ; (8009394 <__sfp_lock_acquire+0x8>) + 800938e: f7ff bc7a b.w 8008c86 <__retarget_lock_acquire_recursive> + 8009392: bf00 nop + 8009394: 20002460 .word 0x20002460 + +08009398 <__sfp_lock_release>: + 8009398: 4801 ldr r0, [pc, #4] ; (80093a0 <__sfp_lock_release+0x8>) + 800939a: f7ff bc75 b.w 8008c88 <__retarget_lock_release_recursive> + 800939e: bf00 nop + 80093a0: 20002460 .word 0x20002460 + +080093a4 <__sinit_lock_acquire>: + 80093a4: 4801 ldr r0, [pc, #4] ; (80093ac <__sinit_lock_acquire+0x8>) + 80093a6: f7ff bc6e b.w 8008c86 <__retarget_lock_acquire_recursive> + 80093aa: bf00 nop + 80093ac: 2000245b .word 0x2000245b + +080093b0 <__sinit_lock_release>: + 80093b0: 4801 ldr r0, [pc, #4] ; (80093b8 <__sinit_lock_release+0x8>) + 80093b2: f7ff bc69 b.w 8008c88 <__retarget_lock_release_recursive> + 80093b6: bf00 nop + 80093b8: 2000245b .word 0x2000245b + +080093bc <__sinit>: + 80093bc: b510 push {r4, lr} + 80093be: 4604 mov r4, r0 + 80093c0: f7ff fff0 bl 80093a4 <__sinit_lock_acquire> + 80093c4: 69a3 ldr r3, [r4, #24] + 80093c6: b11b cbz r3, 80093d0 <__sinit+0x14> + 80093c8: e8bd 4010 ldmia.w sp!, {r4, lr} + 80093cc: f7ff bff0 b.w 80093b0 <__sinit_lock_release> + 80093d0: e9c4 3312 strd r3, r3, [r4, #72] ; 0x48 + 80093d4: 6523 str r3, [r4, #80] ; 0x50 + 80093d6: 4b13 ldr r3, [pc, #76] ; (8009424 <__sinit+0x68>) + 80093d8: 4a13 ldr r2, [pc, #76] ; (8009428 <__sinit+0x6c>) + 80093da: 681b ldr r3, [r3, #0] + 80093dc: 62a2 str r2, [r4, #40] ; 0x28 + 80093de: 42a3 cmp r3, r4 + 80093e0: bf08 it eq + 80093e2: 2301 moveq r3, #1 + 80093e4: 4620 mov r0, r4 + 80093e6: bf08 it eq + 80093e8: 61a3 streq r3, [r4, #24] + 80093ea: f000 f81f bl 800942c <__sfp> + 80093ee: 6060 str r0, [r4, #4] + 80093f0: 4620 mov r0, r4 + 80093f2: f000 f81b bl 800942c <__sfp> + 80093f6: 60a0 str r0, [r4, #8] + 80093f8: 4620 mov r0, r4 + 80093fa: f000 f817 bl 800942c <__sfp> + 80093fe: 2200 movs r2, #0 + 8009400: 2104 movs r1, #4 + 8009402: 60e0 str r0, [r4, #12] + 8009404: 6860 ldr r0, [r4, #4] + 8009406: f7ff ff81 bl 800930c + 800940a: 2201 movs r2, #1 + 800940c: 2109 movs r1, #9 + 800940e: 68a0 ldr r0, [r4, #8] + 8009410: f7ff ff7c bl 800930c + 8009414: 2202 movs r2, #2 + 8009416: 2112 movs r1, #18 + 8009418: 68e0 ldr r0, [r4, #12] + 800941a: f7ff ff77 bl 800930c + 800941e: 2301 movs r3, #1 + 8009420: 61a3 str r3, [r4, #24] + 8009422: e7d1 b.n 80093c8 <__sinit+0xc> + 8009424: 0800a768 .word 0x0800a768 + 8009428: 08009355 .word 0x08009355 + +0800942c <__sfp>: + 800942c: b5f8 push {r3, r4, r5, r6, r7, lr} + 800942e: 4607 mov r7, r0 + 8009430: f7ff ffac bl 800938c <__sfp_lock_acquire> + 8009434: 4b1e ldr r3, [pc, #120] ; (80094b0 <__sfp+0x84>) + 8009436: 681e ldr r6, [r3, #0] + 8009438: 69b3 ldr r3, [r6, #24] + 800943a: b913 cbnz r3, 8009442 <__sfp+0x16> + 800943c: 4630 mov r0, r6 + 800943e: f7ff ffbd bl 80093bc <__sinit> + 8009442: 3648 adds r6, #72 ; 0x48 + 8009444: e9d6 3401 ldrd r3, r4, [r6, #4] + 8009448: 3b01 subs r3, #1 + 800944a: d503 bpl.n 8009454 <__sfp+0x28> + 800944c: 6833 ldr r3, [r6, #0] + 800944e: b30b cbz r3, 8009494 <__sfp+0x68> + 8009450: 6836 ldr r6, [r6, #0] + 8009452: e7f7 b.n 8009444 <__sfp+0x18> + 8009454: f9b4 500c ldrsh.w r5, [r4, #12] + 8009458: b9d5 cbnz r5, 8009490 <__sfp+0x64> + 800945a: 4b16 ldr r3, [pc, #88] ; (80094b4 <__sfp+0x88>) + 800945c: f104 0058 add.w r0, r4, #88 ; 0x58 + 8009460: 60e3 str r3, [r4, #12] + 8009462: 6665 str r5, [r4, #100] ; 0x64 + 8009464: f7ff fc0e bl 8008c84 <__retarget_lock_init_recursive> + 8009468: f7ff ff96 bl 8009398 <__sfp_lock_release> + 800946c: 2208 movs r2, #8 + 800946e: 4629 mov r1, r5 + 8009470: e9c4 5501 strd r5, r5, [r4, #4] + 8009474: e9c4 5504 strd r5, r5, [r4, #16] + 8009478: 6025 str r5, [r4, #0] + 800947a: 61a5 str r5, [r4, #24] + 800947c: f104 005c add.w r0, r4, #92 ; 0x5c + 8009480: f7fd fafe bl 8006a80 + 8009484: e9c4 550d strd r5, r5, [r4, #52] ; 0x34 + 8009488: e9c4 5512 strd r5, r5, [r4, #72] ; 0x48 + 800948c: 4620 mov r0, r4 + 800948e: bdf8 pop {r3, r4, r5, r6, r7, pc} + 8009490: 3468 adds r4, #104 ; 0x68 + 8009492: e7d9 b.n 8009448 <__sfp+0x1c> + 8009494: 2104 movs r1, #4 + 8009496: 4638 mov r0, r7 + 8009498: f7ff ff62 bl 8009360 <__sfmoreglue> + 800949c: 4604 mov r4, r0 + 800949e: 6030 str r0, [r6, #0] + 80094a0: 2800 cmp r0, #0 + 80094a2: d1d5 bne.n 8009450 <__sfp+0x24> + 80094a4: f7ff ff78 bl 8009398 <__sfp_lock_release> + 80094a8: 230c movs r3, #12 + 80094aa: 603b str r3, [r7, #0] + 80094ac: e7ee b.n 800948c <__sfp+0x60> + 80094ae: bf00 nop + 80094b0: 0800a768 .word 0x0800a768 + 80094b4: ffff0001 .word 0xffff0001 + +080094b8 <_fwalk_reent>: + 80094b8: e92d 43f8 stmdb sp!, {r3, r4, r5, r6, r7, r8, r9, lr} + 80094bc: 4606 mov r6, r0 + 80094be: 4688 mov r8, r1 + 80094c0: 2700 movs r7, #0 + 80094c2: f100 0448 add.w r4, r0, #72 ; 0x48 + 80094c6: e9d4 9501 ldrd r9, r5, [r4, #4] + 80094ca: f1b9 0901 subs.w r9, r9, #1 + 80094ce: d505 bpl.n 80094dc <_fwalk_reent+0x24> + 80094d0: 6824 ldr r4, [r4, #0] + 80094d2: 2c00 cmp r4, #0 + 80094d4: d1f7 bne.n 80094c6 <_fwalk_reent+0xe> + 80094d6: 4638 mov r0, r7 + 80094d8: e8bd 83f8 ldmia.w sp!, {r3, r4, r5, r6, r7, r8, r9, pc} + 80094dc: 89ab ldrh r3, [r5, #12] + 80094de: 2b01 cmp r3, #1 + 80094e0: d907 bls.n 80094f2 <_fwalk_reent+0x3a> + 80094e2: f9b5 300e ldrsh.w r3, [r5, #14] + 80094e6: 3301 adds r3, #1 + 80094e8: d003 beq.n 80094f2 <_fwalk_reent+0x3a> + 80094ea: 4629 mov r1, r5 + 80094ec: 4630 mov r0, r6 + 80094ee: 47c0 blx r8 + 80094f0: 4307 orrs r7, r0 + 80094f2: 3568 adds r5, #104 ; 0x68 + 80094f4: e7e9 b.n 80094ca <_fwalk_reent+0x12> + +080094f6 <__swhatbuf_r>: + 80094f6: b570 push {r4, r5, r6, lr} + 80094f8: 460e mov r6, r1 + 80094fa: f9b1 100e ldrsh.w r1, [r1, #14] + 80094fe: 4614 mov r4, r2 + 8009500: 2900 cmp r1, #0 + 8009502: 461d mov r5, r3 + 8009504: b096 sub sp, #88 ; 0x58 + 8009506: da07 bge.n 8009518 <__swhatbuf_r+0x22> + 8009508: 2300 movs r3, #0 + 800950a: 602b str r3, [r5, #0] + 800950c: 89b3 ldrh r3, [r6, #12] + 800950e: 061a lsls r2, r3, #24 + 8009510: d410 bmi.n 8009534 <__swhatbuf_r+0x3e> + 8009512: f44f 6380 mov.w r3, #1024 ; 0x400 + 8009516: e00e b.n 8009536 <__swhatbuf_r+0x40> + 8009518: 466a mov r2, sp + 800951a: f000 f903 bl 8009724 <_fstat_r> + 800951e: 2800 cmp r0, #0 + 8009520: dbf2 blt.n 8009508 <__swhatbuf_r+0x12> + 8009522: 9a01 ldr r2, [sp, #4] + 8009524: f402 4270 and.w r2, r2, #61440 ; 0xf000 + 8009528: f5a2 5300 sub.w r3, r2, #8192 ; 0x2000 + 800952c: 425a negs r2, r3 + 800952e: 415a adcs r2, r3 + 8009530: 602a str r2, [r5, #0] + 8009532: e7ee b.n 8009512 <__swhatbuf_r+0x1c> + 8009534: 2340 movs r3, #64 ; 0x40 + 8009536: 2000 movs r0, #0 + 8009538: 6023 str r3, [r4, #0] + 800953a: b016 add sp, #88 ; 0x58 + 800953c: bd70 pop {r4, r5, r6, pc} + ... + +08009540 <__smakebuf_r>: + 8009540: 898b ldrh r3, [r1, #12] + 8009542: b573 push {r0, r1, r4, r5, r6, lr} + 8009544: 079d lsls r5, r3, #30 + 8009546: 4606 mov r6, r0 + 8009548: 460c mov r4, r1 + 800954a: d507 bpl.n 800955c <__smakebuf_r+0x1c> + 800954c: f104 0347 add.w r3, r4, #71 ; 0x47 + 8009550: 6023 str r3, [r4, #0] + 8009552: 6123 str r3, [r4, #16] + 8009554: 2301 movs r3, #1 + 8009556: 6163 str r3, [r4, #20] + 8009558: b002 add sp, #8 + 800955a: bd70 pop {r4, r5, r6, pc} + 800955c: 466a mov r2, sp + 800955e: ab01 add r3, sp, #4 + 8009560: f7ff ffc9 bl 80094f6 <__swhatbuf_r> + 8009564: 9900 ldr r1, [sp, #0] + 8009566: 4605 mov r5, r0 + 8009568: 4630 mov r0, r6 + 800956a: f7fd fadd bl 8006b28 <_malloc_r> + 800956e: b948 cbnz r0, 8009584 <__smakebuf_r+0x44> + 8009570: f9b4 300c ldrsh.w r3, [r4, #12] + 8009574: 059a lsls r2, r3, #22 + 8009576: d4ef bmi.n 8009558 <__smakebuf_r+0x18> + 8009578: f023 0303 bic.w r3, r3, #3 + 800957c: f043 0302 orr.w r3, r3, #2 + 8009580: 81a3 strh r3, [r4, #12] + 8009582: e7e3 b.n 800954c <__smakebuf_r+0xc> + 8009584: 4b0d ldr r3, [pc, #52] ; (80095bc <__smakebuf_r+0x7c>) + 8009586: 62b3 str r3, [r6, #40] ; 0x28 + 8009588: 89a3 ldrh r3, [r4, #12] + 800958a: 6020 str r0, [r4, #0] + 800958c: f043 0380 orr.w r3, r3, #128 ; 0x80 + 8009590: 81a3 strh r3, [r4, #12] + 8009592: 9b00 ldr r3, [sp, #0] + 8009594: 6120 str r0, [r4, #16] + 8009596: 6163 str r3, [r4, #20] + 8009598: 9b01 ldr r3, [sp, #4] + 800959a: b15b cbz r3, 80095b4 <__smakebuf_r+0x74> + 800959c: 4630 mov r0, r6 + 800959e: f9b4 100e ldrsh.w r1, [r4, #14] + 80095a2: f000 f8d1 bl 8009748 <_isatty_r> + 80095a6: b128 cbz r0, 80095b4 <__smakebuf_r+0x74> + 80095a8: 89a3 ldrh r3, [r4, #12] + 80095aa: f023 0303 bic.w r3, r3, #3 + 80095ae: f043 0301 orr.w r3, r3, #1 + 80095b2: 81a3 strh r3, [r4, #12] + 80095b4: 89a0 ldrh r0, [r4, #12] + 80095b6: 4305 orrs r5, r0 + 80095b8: 81a5 strh r5, [r4, #12] + 80095ba: e7cd b.n 8009558 <__smakebuf_r+0x18> + 80095bc: 08009355 .word 0x08009355 + +080095c0 <_malloc_usable_size_r>: + 80095c0: f851 3c04 ldr.w r3, [r1, #-4] + 80095c4: 1f18 subs r0, r3, #4 + 80095c6: 2b00 cmp r3, #0 + 80095c8: bfbc itt lt + 80095ca: 580b ldrlt r3, [r1, r0] + 80095cc: 18c0 addlt r0, r0, r3 + 80095ce: 4770 bx lr + +080095d0 <_raise_r>: + 80095d0: 291f cmp r1, #31 + 80095d2: b538 push {r3, r4, r5, lr} + 80095d4: 4604 mov r4, r0 + 80095d6: 460d mov r5, r1 + 80095d8: d904 bls.n 80095e4 <_raise_r+0x14> + 80095da: 2316 movs r3, #22 + 80095dc: 6003 str r3, [r0, #0] + 80095de: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff + 80095e2: bd38 pop {r3, r4, r5, pc} + 80095e4: 6c42 ldr r2, [r0, #68] ; 0x44 + 80095e6: b112 cbz r2, 80095ee <_raise_r+0x1e> + 80095e8: f852 3021 ldr.w r3, [r2, r1, lsl #2] + 80095ec: b94b cbnz r3, 8009602 <_raise_r+0x32> + 80095ee: 4620 mov r0, r4 + 80095f0: f000 f830 bl 8009654 <_getpid_r> + 80095f4: 462a mov r2, r5 + 80095f6: 4601 mov r1, r0 + 80095f8: 4620 mov r0, r4 + 80095fa: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr} + 80095fe: f000 b817 b.w 8009630 <_kill_r> + 8009602: 2b01 cmp r3, #1 + 8009604: d00a beq.n 800961c <_raise_r+0x4c> + 8009606: 1c59 adds r1, r3, #1 + 8009608: d103 bne.n 8009612 <_raise_r+0x42> + 800960a: 2316 movs r3, #22 + 800960c: 6003 str r3, [r0, #0] + 800960e: 2001 movs r0, #1 + 8009610: e7e7 b.n 80095e2 <_raise_r+0x12> + 8009612: 2400 movs r4, #0 + 8009614: 4628 mov r0, r5 + 8009616: f842 4025 str.w r4, [r2, r5, lsl #2] + 800961a: 4798 blx r3 + 800961c: 2000 movs r0, #0 + 800961e: e7e0 b.n 80095e2 <_raise_r+0x12> + +08009620 : + 8009620: 4b02 ldr r3, [pc, #8] ; (800962c ) + 8009622: 4601 mov r1, r0 + 8009624: 6818 ldr r0, [r3, #0] + 8009626: f7ff bfd3 b.w 80095d0 <_raise_r> + 800962a: bf00 nop + 800962c: 2000000c .word 0x2000000c + +08009630 <_kill_r>: + 8009630: b538 push {r3, r4, r5, lr} + 8009632: 2300 movs r3, #0 + 8009634: 4d06 ldr r5, [pc, #24] ; (8009650 <_kill_r+0x20>) + 8009636: 4604 mov r4, r0 + 8009638: 4608 mov r0, r1 + 800963a: 4611 mov r1, r2 + 800963c: 602b str r3, [r5, #0] + 800963e: f7f8 f89b bl 8001778 <_kill> + 8009642: 1c43 adds r3, r0, #1 + 8009644: d102 bne.n 800964c <_kill_r+0x1c> + 8009646: 682b ldr r3, [r5, #0] + 8009648: b103 cbz r3, 800964c <_kill_r+0x1c> + 800964a: 6023 str r3, [r4, #0] + 800964c: bd38 pop {r3, r4, r5, pc} + 800964e: bf00 nop + 8009650: 20002454 .word 0x20002454 + +08009654 <_getpid_r>: + 8009654: f7f8 b889 b.w 800176a <_getpid> + +08009658 <__sread>: + 8009658: b510 push {r4, lr} + 800965a: 460c mov r4, r1 + 800965c: f9b1 100e ldrsh.w r1, [r1, #14] + 8009660: f000 f894 bl 800978c <_read_r> + 8009664: 2800 cmp r0, #0 + 8009666: bfab itete ge + 8009668: 6d63 ldrge r3, [r4, #84] ; 0x54 + 800966a: 89a3 ldrhlt r3, [r4, #12] + 800966c: 181b addge r3, r3, r0 + 800966e: f423 5380 biclt.w r3, r3, #4096 ; 0x1000 + 8009672: bfac ite ge + 8009674: 6563 strge r3, [r4, #84] ; 0x54 + 8009676: 81a3 strhlt r3, [r4, #12] + 8009678: bd10 pop {r4, pc} + +0800967a <__swrite>: + 800967a: e92d 41f0 stmdb sp!, {r4, r5, r6, r7, r8, lr} + 800967e: 461f mov r7, r3 + 8009680: 898b ldrh r3, [r1, #12] + 8009682: 4605 mov r5, r0 + 8009684: 05db lsls r3, r3, #23 + 8009686: 460c mov r4, r1 + 8009688: 4616 mov r6, r2 + 800968a: d505 bpl.n 8009698 <__swrite+0x1e> + 800968c: 2302 movs r3, #2 + 800968e: 2200 movs r2, #0 + 8009690: f9b1 100e ldrsh.w r1, [r1, #14] + 8009694: f000 f868 bl 8009768 <_lseek_r> + 8009698: 89a3 ldrh r3, [r4, #12] + 800969a: 4632 mov r2, r6 + 800969c: f423 5380 bic.w r3, r3, #4096 ; 0x1000 + 80096a0: 81a3 strh r3, [r4, #12] + 80096a2: 4628 mov r0, r5 + 80096a4: 463b mov r3, r7 + 80096a6: f9b4 100e ldrsh.w r1, [r4, #14] + 80096aa: e8bd 41f0 ldmia.w sp!, {r4, r5, r6, r7, r8, lr} + 80096ae: f000 b817 b.w 80096e0 <_write_r> + +080096b2 <__sseek>: + 80096b2: b510 push {r4, lr} + 80096b4: 460c mov r4, r1 + 80096b6: f9b1 100e ldrsh.w r1, [r1, #14] + 80096ba: f000 f855 bl 8009768 <_lseek_r> + 80096be: 1c43 adds r3, r0, #1 + 80096c0: 89a3 ldrh r3, [r4, #12] + 80096c2: bf15 itete ne + 80096c4: 6560 strne r0, [r4, #84] ; 0x54 + 80096c6: f423 5380 biceq.w r3, r3, #4096 ; 0x1000 + 80096ca: f443 5380 orrne.w r3, r3, #4096 ; 0x1000 + 80096ce: 81a3 strheq r3, [r4, #12] + 80096d0: bf18 it ne + 80096d2: 81a3 strhne r3, [r4, #12] + 80096d4: bd10 pop {r4, pc} + +080096d6 <__sclose>: + 80096d6: f9b1 100e ldrsh.w r1, [r1, #14] + 80096da: f000 b813 b.w 8009704 <_close_r> + ... + +080096e0 <_write_r>: + 80096e0: b538 push {r3, r4, r5, lr} + 80096e2: 4604 mov r4, r0 + 80096e4: 4608 mov r0, r1 + 80096e6: 4611 mov r1, r2 + 80096e8: 2200 movs r2, #0 + 80096ea: 4d05 ldr r5, [pc, #20] ; (8009700 <_write_r+0x20>) + 80096ec: 602a str r2, [r5, #0] + 80096ee: 461a mov r2, r3 + 80096f0: f7f8 f879 bl 80017e6 <_write> + 80096f4: 1c43 adds r3, r0, #1 + 80096f6: d102 bne.n 80096fe <_write_r+0x1e> + 80096f8: 682b ldr r3, [r5, #0] + 80096fa: b103 cbz r3, 80096fe <_write_r+0x1e> + 80096fc: 6023 str r3, [r4, #0] + 80096fe: bd38 pop {r3, r4, r5, pc} + 8009700: 20002454 .word 0x20002454 + +08009704 <_close_r>: + 8009704: b538 push {r3, r4, r5, lr} + 8009706: 2300 movs r3, #0 + 8009708: 4d05 ldr r5, [pc, #20] ; (8009720 <_close_r+0x1c>) + 800970a: 4604 mov r4, r0 + 800970c: 4608 mov r0, r1 + 800970e: 602b str r3, [r5, #0] + 8009710: f7f8 f885 bl 800181e <_close> + 8009714: 1c43 adds r3, r0, #1 + 8009716: d102 bne.n 800971e <_close_r+0x1a> + 8009718: 682b ldr r3, [r5, #0] + 800971a: b103 cbz r3, 800971e <_close_r+0x1a> + 800971c: 6023 str r3, [r4, #0] + 800971e: bd38 pop {r3, r4, r5, pc} + 8009720: 20002454 .word 0x20002454 + +08009724 <_fstat_r>: + 8009724: b538 push {r3, r4, r5, lr} + 8009726: 2300 movs r3, #0 + 8009728: 4d06 ldr r5, [pc, #24] ; (8009744 <_fstat_r+0x20>) + 800972a: 4604 mov r4, r0 + 800972c: 4608 mov r0, r1 + 800972e: 4611 mov r1, r2 + 8009730: 602b str r3, [r5, #0] + 8009732: f7f8 f87f bl 8001834 <_fstat> + 8009736: 1c43 adds r3, r0, #1 + 8009738: d102 bne.n 8009740 <_fstat_r+0x1c> + 800973a: 682b ldr r3, [r5, #0] + 800973c: b103 cbz r3, 8009740 <_fstat_r+0x1c> + 800973e: 6023 str r3, [r4, #0] + 8009740: bd38 pop {r3, r4, r5, pc} + 8009742: bf00 nop + 8009744: 20002454 .word 0x20002454 + +08009748 <_isatty_r>: + 8009748: b538 push {r3, r4, r5, lr} + 800974a: 2300 movs r3, #0 + 800974c: 4d05 ldr r5, [pc, #20] ; (8009764 <_isatty_r+0x1c>) + 800974e: 4604 mov r4, r0 + 8009750: 4608 mov r0, r1 + 8009752: 602b str r3, [r5, #0] + 8009754: f7f8 f87d bl 8001852 <_isatty> + 8009758: 1c43 adds r3, r0, #1 + 800975a: d102 bne.n 8009762 <_isatty_r+0x1a> + 800975c: 682b ldr r3, [r5, #0] + 800975e: b103 cbz r3, 8009762 <_isatty_r+0x1a> + 8009760: 6023 str r3, [r4, #0] + 8009762: bd38 pop {r3, r4, r5, pc} + 8009764: 20002454 .word 0x20002454 + +08009768 <_lseek_r>: + 8009768: b538 push {r3, r4, r5, lr} + 800976a: 4604 mov r4, r0 + 800976c: 4608 mov r0, r1 + 800976e: 4611 mov r1, r2 + 8009770: 2200 movs r2, #0 + 8009772: 4d05 ldr r5, [pc, #20] ; (8009788 <_lseek_r+0x20>) + 8009774: 602a str r2, [r5, #0] + 8009776: 461a mov r2, r3 + 8009778: f7f8 f875 bl 8001866 <_lseek> + 800977c: 1c43 adds r3, r0, #1 + 800977e: d102 bne.n 8009786 <_lseek_r+0x1e> + 8009780: 682b ldr r3, [r5, #0] + 8009782: b103 cbz r3, 8009786 <_lseek_r+0x1e> + 8009784: 6023 str r3, [r4, #0] + 8009786: bd38 pop {r3, r4, r5, pc} + 8009788: 20002454 .word 0x20002454 + +0800978c <_read_r>: + 800978c: b538 push {r3, r4, r5, lr} + 800978e: 4604 mov r4, r0 + 8009790: 4608 mov r0, r1 + 8009792: 4611 mov r1, r2 + 8009794: 2200 movs r2, #0 + 8009796: 4d05 ldr r5, [pc, #20] ; (80097ac <_read_r+0x20>) + 8009798: 602a str r2, [r5, #0] + 800979a: 461a mov r2, r3 + 800979c: f7f8 f806 bl 80017ac <_read> + 80097a0: 1c43 adds r3, r0, #1 + 80097a2: d102 bne.n 80097aa <_read_r+0x1e> + 80097a4: 682b ldr r3, [r5, #0] + 80097a6: b103 cbz r3, 80097aa <_read_r+0x1e> + 80097a8: 6023 str r3, [r4, #0] + 80097aa: bd38 pop {r3, r4, r5, pc} + 80097ac: 20002454 .word 0x20002454 + +080097b0 : + 80097b0: b538 push {r3, r4, r5, lr} + 80097b2: 4605 mov r5, r0 + 80097b4: f000 f81e bl 80097f4 <__ieee754_sqrtf> + 80097b8: 4b0d ldr r3, [pc, #52] ; (80097f0 ) + 80097ba: 4604 mov r4, r0 + 80097bc: f993 3000 ldrsb.w r3, [r3] + 80097c0: 3301 adds r3, #1 + 80097c2: d012 beq.n 80097ea + 80097c4: 4629 mov r1, r5 + 80097c6: 4628 mov r0, r5 + 80097c8: f7f7 fcee bl 80011a8 <__aeabi_fcmpun> + 80097cc: b968 cbnz r0, 80097ea + 80097ce: 2100 movs r1, #0 + 80097d0: 4628 mov r0, r5 + 80097d2: f7f7 fcc1 bl 8001158 <__aeabi_fcmplt> + 80097d6: b140 cbz r0, 80097ea + 80097d8: f7fd f918 bl 8006a0c <__errno> + 80097dc: 2321 movs r3, #33 ; 0x21 + 80097de: 2100 movs r1, #0 + 80097e0: 6003 str r3, [r0, #0] + 80097e2: 4608 mov r0, r1 + 80097e4: f7f7 fbce bl 8000f84 <__aeabi_fdiv> + 80097e8: 4604 mov r4, r0 + 80097ea: 4620 mov r0, r4 + 80097ec: bd38 pop {r3, r4, r5, pc} + 80097ee: bf00 nop + 80097f0: 200001dc .word 0x200001dc + +080097f4 <__ieee754_sqrtf>: + 80097f4: f020 4200 bic.w r2, r0, #2147483648 ; 0x80000000 + 80097f8: f1b2 4fff cmp.w r2, #2139095040 ; 0x7f800000 + 80097fc: b570 push {r4, r5, r6, lr} + 80097fe: 4603 mov r3, r0 + 8009800: 4604 mov r4, r0 + 8009802: d309 bcc.n 8009818 <__ieee754_sqrtf+0x24> + 8009804: 4601 mov r1, r0 + 8009806: f7f7 fb09 bl 8000e1c <__aeabi_fmul> + 800980a: 4601 mov r1, r0 + 800980c: 4620 mov r0, r4 + 800980e: f7f7 f9fd bl 8000c0c <__addsf3> + 8009812: 4604 mov r4, r0 + 8009814: 4620 mov r0, r4 + 8009816: bd70 pop {r4, r5, r6, pc} + 8009818: 2a00 cmp r2, #0 + 800981a: d0fb beq.n 8009814 <__ieee754_sqrtf+0x20> + 800981c: 2800 cmp r0, #0 + 800981e: da06 bge.n 800982e <__ieee754_sqrtf+0x3a> + 8009820: 4601 mov r1, r0 + 8009822: f7f7 f9f1 bl 8000c08 <__aeabi_fsub> + 8009826: 4601 mov r1, r0 + 8009828: f7f7 fbac bl 8000f84 <__aeabi_fdiv> + 800982c: e7f1 b.n 8009812 <__ieee754_sqrtf+0x1e> + 800982e: f010 42ff ands.w r2, r0, #2139095040 ; 0x7f800000 + 8009832: ea4f 51e0 mov.w r1, r0, asr #23 + 8009836: d029 beq.n 800988c <__ieee754_sqrtf+0x98> + 8009838: f3c3 0216 ubfx r2, r3, #0, #23 + 800983c: 07cb lsls r3, r1, #31 + 800983e: f04f 0300 mov.w r3, #0 + 8009842: f1a1 007f sub.w r0, r1, #127 ; 0x7f + 8009846: f04f 0419 mov.w r4, #25 + 800984a: 461e mov r6, r3 + 800984c: f04f 7180 mov.w r1, #16777216 ; 0x1000000 + 8009850: f442 0200 orr.w r2, r2, #8388608 ; 0x800000 + 8009854: bf58 it pl + 8009856: 0052 lslpl r2, r2, #1 + 8009858: 1040 asrs r0, r0, #1 + 800985a: 0052 lsls r2, r2, #1 + 800985c: 1875 adds r5, r6, r1 + 800985e: 4295 cmp r5, r2 + 8009860: bfde ittt le + 8009862: 186e addle r6, r5, r1 + 8009864: 1b52 suble r2, r2, r5 + 8009866: 185b addle r3, r3, r1 + 8009868: 3c01 subs r4, #1 + 800986a: ea4f 0242 mov.w r2, r2, lsl #1 + 800986e: ea4f 0151 mov.w r1, r1, lsr #1 + 8009872: d1f3 bne.n 800985c <__ieee754_sqrtf+0x68> + 8009874: b112 cbz r2, 800987c <__ieee754_sqrtf+0x88> + 8009876: 3301 adds r3, #1 + 8009878: f023 0301 bic.w r3, r3, #1 + 800987c: 105c asrs r4, r3, #1 + 800987e: f104 547c add.w r4, r4, #1056964608 ; 0x3f000000 + 8009882: eb04 54c0 add.w r4, r4, r0, lsl #23 + 8009886: e7c5 b.n 8009814 <__ieee754_sqrtf+0x20> + 8009888: 005b lsls r3, r3, #1 + 800988a: 3201 adds r2, #1 + 800988c: 0218 lsls r0, r3, #8 + 800988e: d5fb bpl.n 8009888 <__ieee754_sqrtf+0x94> + 8009890: 3a01 subs r2, #1 + 8009892: 1a89 subs r1, r1, r2 + 8009894: e7d0 b.n 8009838 <__ieee754_sqrtf+0x44> + ... + +08009898 <_init>: + 8009898: b5f8 push {r3, r4, r5, r6, r7, lr} + 800989a: bf00 nop + 800989c: bcf8 pop {r3, r4, r5, r6, r7} + 800989e: bc08 pop {r3} + 80098a0: 469e mov lr, r3 + 80098a2: 4770 bx lr + +080098a4 <_fini>: + 80098a4: b5f8 push {r3, r4, r5, r6, r7, lr} + 80098a6: bf00 nop + 80098a8: bcf8 pop {r3, r4, r5, r6, r7} + 80098aa: bc08 pop {r3} + 80098ac: 469e mov lr, r3 + 80098ae: 4770 bx lr diff --git a/Debug/m3s.map b/Debug/m3s.map index 91a9e6d..252e037 100644 --- a/Debug/m3s.map +++ b/Debug/m3s.map @@ -102,24 +102,36 @@ Archive member included to satisfy reference by file (symbol) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) (_lseek_r) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-readr.o) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) (_read_r) +/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) + ./SW_APPs/APP_blood.o (sqrtf) +/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-ef_sqrt.o) + /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) (__ieee754_sqrtf) +/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-s_lib_ver.o) + /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) (__fdlib_version) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldf3.o) - /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) (__aeabi_dmul) + ./SW_APPs/APP_blood.o (__aeabi_dmul) +/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_mulsf3.o) + ./SW_APPs/APP_blood.o (__aeabi_fmul) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubdf3.o) - /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) (__aeabi_dsub) + ./SW_APPs/APP_blood.o (__aeabi_dsub) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivdf3.o) ./HW_Devices/touch.o (__aeabi_ddiv) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpdf2.o) - /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) (__aeabi_dcmpeq) + ./SW_APPs/APP_blood.o (__aeabi_dcmpeq) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unorddf2.o) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) (__aeabi_dcmpun) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixdfsi.o) - /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) (__aeabi_d2iz) + ./SW_APPs/APP_blood.o (__aeabi_d2iz) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_truncdfsf2.o) ./HW_Devices/touch.o (__aeabi_d2f) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubsf3.o) ./HW_Devices/touch.o (__aeabi_fsub) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivsf3.o) ./HW_Devices/touch.o (__aeabi_fdiv) +/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpsf2.o) + ./SW_APPs/APP_blood.o (__aeabi_fcmplt) +/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unordsf2.o) + /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) (__aeabi_fcmpun) /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixsfsi.o) ./HW_Devices/touch.o (__aeabi_f2iz) @@ -144,12 +156,15 @@ __lock___sinit_recursive_mutex 0x1 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) blood_win 0x4 ./SW_APPs/APP_blood.o hsram1 0x48 ./Core/Src/main.o +s1 0x1080 ./SW_APPs/APP_blood.o __lock___malloc_recursive_mutex 0x1 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) eeprom_write_buffer 0x14 ./HW_Devices/eeprom.o lcddev 0xa ./HW_Devices/LCD.o +s2 0x1080 ./SW_APPs/APP_blood.o t0 0x10 ./HW_Devices/touch.o +g_BloodWave 0x8 ./SW_APPs/APP_blood.o __lock___at_quick_exit_mutex 0x1 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) __lock___dd_hash_mutex @@ -2710,28 +2725,54 @@ Discarded input sections .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o + .group 0x0000000000000000 0xc ./SW_APPs/APP_blood.o .text 0x0000000000000000 0x0 ./SW_APPs/APP_blood.o .data 0x0000000000000000 0x0 ./SW_APPs/APP_blood.o .bss 0x0000000000000000 0x0 ./SW_APPs/APP_blood.o + .text.qsqrt 0x0000000000000000 0x68 ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0xa9c ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x22 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x4c ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x18 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x94 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x3c ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x34 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x174 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x16 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x43 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x57 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x34 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x10 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x58 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x71 ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x1c ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x12a ./SW_APPs/APP_blood.o + .debug_macro 0x0000000000000000 0x339 ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x21b ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x2e ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x22 ./SW_APPs/APP_blood.o - .debug_macro 0x0000000000000000 0x22 ./SW_APPs/APP_blood.o - .debug_macro 0x0000000000000000 0x8e ./SW_APPs/APP_blood.o - .debug_macro 0x0000000000000000 0x51 ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x103 ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x6a ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x1df ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x1c ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x22 ./SW_APPs/APP_blood.o - .debug_macro 0x0000000000000000 0xc3 ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0xd23 ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0xfd8c ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x6d ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x3468 ./SW_APPs/APP_blood.o - .debug_macro 0x0000000000000000 0x174 ./SW_APPs/APP_blood.o - .debug_macro 0x0000000000000000 0x5c ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x5be ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x4d5 ./SW_APPs/APP_blood.o .debug_macro 0x0000000000000000 0x1cb ./SW_APPs/APP_blood.o @@ -3169,12 +3210,27 @@ Discarded input sections .text 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-readr.o) .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-readr.o) .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-readr.o) + .text 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) + .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) + .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) + .text 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-ef_sqrt.o) + .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-ef_sqrt.o) + .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-ef_sqrt.o) + .text 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-s_lib_ver.o) + .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-s_lib_ver.o) + .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-s_lib_ver.o) .text 0x0000000000000000 0x254 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldf3.o) .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldf3.o) .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldf3.o) .debug_frame 0x0000000000000000 0x30 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldf3.o) .ARM.attributes 0x0000000000000000 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldf3.o) + .text 0x0000000000000000 0x168 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_mulsf3.o) + .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_mulsf3.o) + .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_mulsf3.o) + .debug_frame 0x0000000000000000 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_mulsf3.o) + .ARM.attributes + 0x0000000000000000 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_mulsf3.o) .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubdf3.o) .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubdf3.o) .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivdf3.o) @@ -3191,6 +3247,10 @@ Discarded input sections .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubsf3.o) .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivsf3.o) .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivsf3.o) + .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpsf2.o) + .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpsf2.o) + .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unordsf2.o) + .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unordsf2.o) .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixsfsi.o) .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixsfsi.o) .text 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtend.o @@ -3276,7 +3336,7 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id 0x0000000008000000 g_pfnVectors 0x00000000080001e4 . = ALIGN (0x4) -.text 0x00000000080001e8 0x86f0 +.text 0x00000000080001e8 0x96c8 0x00000000080001e8 . = ALIGN (0x4) *(.text) .text 0x00000000080001e8 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o @@ -3347,742 +3407,793 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id 0x0000000008000e1c __aeabi_fmul 0x0000000008000f84 __divsf3 0x0000000008000f84 __aeabi_fdiv - .text 0x00000000080010bc 0x4c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixsfsi.o) - 0x00000000080010bc __fixsfsi - 0x00000000080010bc __aeabi_f2iz + .text 0x00000000080010bc 0xec /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpsf2.o) + 0x00000000080010bc __gesf2 + 0x00000000080010bc __gtsf2 + 0x00000000080010c4 __ltsf2 + 0x00000000080010c4 __lesf2 + 0x00000000080010cc __nesf2 + 0x00000000080010cc __eqsf2 + 0x00000000080010cc __cmpsf2 + 0x000000000800112c __aeabi_cfrcmple + 0x0000000008001134 __aeabi_cfcmpeq + 0x0000000008001134 __aeabi_cfcmple + 0x0000000008001144 __aeabi_fcmpeq + 0x0000000008001158 __aeabi_fcmplt + 0x000000000800116c __aeabi_fcmple + 0x0000000008001180 __aeabi_fcmpge + 0x0000000008001194 __aeabi_fcmpgt + .text 0x00000000080011a8 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unordsf2.o) + 0x00000000080011a8 __aeabi_fcmpun + 0x00000000080011a8 __unordsf2 + .text 0x00000000080011d4 0x4c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixsfsi.o) + 0x00000000080011d4 __fixsfsi + 0x00000000080011d4 __aeabi_f2iz *(.text*) - .text.main 0x0000000008001108 0x1e ./Core/Src/main.o - 0x0000000008001108 main + .text.main 0x0000000008001220 0x1e ./Core/Src/main.o + 0x0000000008001220 main .text.SystemClock_Config - 0x0000000008001126 0x8a ./Core/Src/main.o - 0x0000000008001126 SystemClock_Config + 0x000000000800123e 0x8a ./Core/Src/main.o + 0x000000000800123e SystemClock_Config .text.MX_I2C2_Init - 0x00000000080011b0 0x5c ./Core/Src/main.o + 0x00000000080012c8 0x5c ./Core/Src/main.o .text.MX_GPIO_Init - 0x000000000800120c 0x184 ./Core/Src/main.o + 0x0000000008001324 0x184 ./Core/Src/main.o .text.MX_FSMC_Init - 0x0000000008001390 0xc8 ./Core/Src/main.o + 0x00000000080014a8 0xc8 ./Core/Src/main.o .text.Error_Handler - 0x0000000008001458 0xa ./Core/Src/main.o - 0x0000000008001458 Error_Handler - *fill* 0x0000000008001462 0x2 + 0x0000000008001570 0xa ./Core/Src/main.o + 0x0000000008001570 Error_Handler + *fill* 0x000000000800157a 0x2 .text.HAL_MspInit - 0x0000000008001464 0x64 ./Core/Src/stm32f1xx_hal_msp.o - 0x0000000008001464 HAL_MspInit + 0x000000000800157c 0x64 ./Core/Src/stm32f1xx_hal_msp.o + 0x000000000800157c HAL_MspInit .text.HAL_I2C_MspInit - 0x00000000080014c8 0x80 ./Core/Src/stm32f1xx_hal_msp.o - 0x00000000080014c8 HAL_I2C_MspInit + 0x00000000080015e0 0x80 ./Core/Src/stm32f1xx_hal_msp.o + 0x00000000080015e0 HAL_I2C_MspInit .text.HAL_FSMC_MspInit - 0x0000000008001548 0xa8 ./Core/Src/stm32f1xx_hal_msp.o + 0x0000000008001660 0xa8 ./Core/Src/stm32f1xx_hal_msp.o .text.HAL_SRAM_MspInit - 0x00000000080015f0 0x14 ./Core/Src/stm32f1xx_hal_msp.o - 0x00000000080015f0 HAL_SRAM_MspInit + 0x0000000008001708 0x14 ./Core/Src/stm32f1xx_hal_msp.o + 0x0000000008001708 HAL_SRAM_MspInit .text.NMI_Handler - 0x0000000008001604 0x6 ./Core/Src/stm32f1xx_it.o - 0x0000000008001604 NMI_Handler + 0x000000000800171c 0x6 ./Core/Src/stm32f1xx_it.o + 0x000000000800171c NMI_Handler .text.HardFault_Handler - 0x000000000800160a 0x6 ./Core/Src/stm32f1xx_it.o - 0x000000000800160a HardFault_Handler + 0x0000000008001722 0x6 ./Core/Src/stm32f1xx_it.o + 0x0000000008001722 HardFault_Handler .text.MemManage_Handler - 0x0000000008001610 0x6 ./Core/Src/stm32f1xx_it.o - 0x0000000008001610 MemManage_Handler + 0x0000000008001728 0x6 ./Core/Src/stm32f1xx_it.o + 0x0000000008001728 MemManage_Handler .text.BusFault_Handler - 0x0000000008001616 0x6 ./Core/Src/stm32f1xx_it.o - 0x0000000008001616 BusFault_Handler + 0x000000000800172e 0x6 ./Core/Src/stm32f1xx_it.o + 0x000000000800172e BusFault_Handler .text.UsageFault_Handler - 0x000000000800161c 0x6 ./Core/Src/stm32f1xx_it.o - 0x000000000800161c UsageFault_Handler + 0x0000000008001734 0x6 ./Core/Src/stm32f1xx_it.o + 0x0000000008001734 UsageFault_Handler .text.SVC_Handler - 0x0000000008001622 0xc ./Core/Src/stm32f1xx_it.o - 0x0000000008001622 SVC_Handler + 0x000000000800173a 0xc ./Core/Src/stm32f1xx_it.o + 0x000000000800173a SVC_Handler .text.DebugMon_Handler - 0x000000000800162e 0xc ./Core/Src/stm32f1xx_it.o - 0x000000000800162e DebugMon_Handler + 0x0000000008001746 0xc ./Core/Src/stm32f1xx_it.o + 0x0000000008001746 DebugMon_Handler .text.PendSV_Handler - 0x000000000800163a 0xc ./Core/Src/stm32f1xx_it.o - 0x000000000800163a PendSV_Handler + 0x0000000008001752 0xc ./Core/Src/stm32f1xx_it.o + 0x0000000008001752 PendSV_Handler .text.SysTick_Handler - 0x0000000008001646 0xc ./Core/Src/stm32f1xx_it.o - 0x0000000008001646 SysTick_Handler - .text._getpid 0x0000000008001652 0xe ./Core/Src/syscalls.o - 0x0000000008001652 _getpid - .text._kill 0x0000000008001660 0x20 ./Core/Src/syscalls.o - 0x0000000008001660 _kill - .text._exit 0x0000000008001680 0x14 ./Core/Src/syscalls.o - 0x0000000008001680 _exit - .text._read 0x0000000008001694 0x3a ./Core/Src/syscalls.o - 0x0000000008001694 _read - .text._write 0x00000000080016ce 0x38 ./Core/Src/syscalls.o - 0x00000000080016ce _write - .text._close 0x0000000008001706 0x16 ./Core/Src/syscalls.o - 0x0000000008001706 _close - .text._fstat 0x000000000800171c 0x1e ./Core/Src/syscalls.o - 0x000000000800171c _fstat - .text._isatty 0x000000000800173a 0x14 ./Core/Src/syscalls.o - 0x000000000800173a _isatty - .text._lseek 0x000000000800174e 0x18 ./Core/Src/syscalls.o - 0x000000000800174e _lseek - *fill* 0x0000000008001766 0x2 - .text._sbrk 0x0000000008001768 0x6c ./Core/Src/sysmem.o - 0x0000000008001768 _sbrk + 0x000000000800175e 0xc ./Core/Src/stm32f1xx_it.o + 0x000000000800175e SysTick_Handler + .text._getpid 0x000000000800176a 0xe ./Core/Src/syscalls.o + 0x000000000800176a _getpid + .text._kill 0x0000000008001778 0x20 ./Core/Src/syscalls.o + 0x0000000008001778 _kill + .text._exit 0x0000000008001798 0x14 ./Core/Src/syscalls.o + 0x0000000008001798 _exit + .text._read 0x00000000080017ac 0x3a ./Core/Src/syscalls.o + 0x00000000080017ac _read + .text._write 0x00000000080017e6 0x38 ./Core/Src/syscalls.o + 0x00000000080017e6 _write + .text._close 0x000000000800181e 0x16 ./Core/Src/syscalls.o + 0x000000000800181e _close + .text._fstat 0x0000000008001834 0x1e ./Core/Src/syscalls.o + 0x0000000008001834 _fstat + .text._isatty 0x0000000008001852 0x14 ./Core/Src/syscalls.o + 0x0000000008001852 _isatty + .text._lseek 0x0000000008001866 0x18 ./Core/Src/syscalls.o + 0x0000000008001866 _lseek + *fill* 0x000000000800187e 0x2 + .text._sbrk 0x0000000008001880 0x6c ./Core/Src/sysmem.o + 0x0000000008001880 _sbrk .text.SystemInit - 0x00000000080017d4 0xc ./Core/Src/system_stm32f1xx.o - 0x00000000080017d4 SystemInit + 0x00000000080018ec 0xc ./Core/Src/system_stm32f1xx.o + 0x00000000080018ec SystemInit .text.Reset_Handler - 0x00000000080017e0 0x48 ./Core/Startup/startup_stm32f103zetx.o - 0x00000000080017e0 Reset_Handler + 0x00000000080018f8 0x48 ./Core/Startup/startup_stm32f103zetx.o + 0x00000000080018f8 Reset_Handler .text.Default_Handler - 0x0000000008001828 0x2 ./Core/Startup/startup_stm32f103zetx.o - 0x0000000008001828 DMA2_Channel3_IRQHandler - 0x0000000008001828 EXTI2_IRQHandler - 0x0000000008001828 TIM8_TRG_COM_IRQHandler - 0x0000000008001828 TIM8_CC_IRQHandler - 0x0000000008001828 TIM1_CC_IRQHandler - 0x0000000008001828 TIM6_IRQHandler - 0x0000000008001828 PVD_IRQHandler - 0x0000000008001828 SDIO_IRQHandler - 0x0000000008001828 EXTI3_IRQHandler - 0x0000000008001828 EXTI0_IRQHandler - 0x0000000008001828 I2C2_EV_IRQHandler - 0x0000000008001828 ADC1_2_IRQHandler - 0x0000000008001828 SPI1_IRQHandler - 0x0000000008001828 TAMPER_IRQHandler - 0x0000000008001828 TIM8_UP_IRQHandler - 0x0000000008001828 DMA2_Channel2_IRQHandler - 0x0000000008001828 DMA1_Channel4_IRQHandler - 0x0000000008001828 USART3_IRQHandler - 0x0000000008001828 RTC_IRQHandler - 0x0000000008001828 DMA1_Channel7_IRQHandler - 0x0000000008001828 CAN1_RX1_IRQHandler - 0x0000000008001828 UART5_IRQHandler - 0x0000000008001828 ADC3_IRQHandler - 0x0000000008001828 TIM4_IRQHandler - 0x0000000008001828 DMA2_Channel1_IRQHandler - 0x0000000008001828 I2C1_EV_IRQHandler - 0x0000000008001828 DMA1_Channel6_IRQHandler - 0x0000000008001828 UART4_IRQHandler - 0x0000000008001828 TIM3_IRQHandler - 0x0000000008001828 RCC_IRQHandler - 0x0000000008001828 TIM1_TRG_COM_IRQHandler - 0x0000000008001828 DMA1_Channel1_IRQHandler - 0x0000000008001828 Default_Handler - 0x0000000008001828 EXTI15_10_IRQHandler - 0x0000000008001828 TIM7_IRQHandler - 0x0000000008001828 TIM5_IRQHandler - 0x0000000008001828 EXTI9_5_IRQHandler - 0x0000000008001828 SPI2_IRQHandler - 0x0000000008001828 DMA1_Channel5_IRQHandler - 0x0000000008001828 EXTI4_IRQHandler - 0x0000000008001828 USB_LP_CAN1_RX0_IRQHandler - 0x0000000008001828 USB_HP_CAN1_TX_IRQHandler - 0x0000000008001828 DMA1_Channel3_IRQHandler - 0x0000000008001828 FSMC_IRQHandler - 0x0000000008001828 TIM1_UP_IRQHandler - 0x0000000008001828 WWDG_IRQHandler - 0x0000000008001828 TIM2_IRQHandler - 0x0000000008001828 TIM1_BRK_IRQHandler - 0x0000000008001828 EXTI1_IRQHandler - 0x0000000008001828 DMA2_Channel4_5_IRQHandler - 0x0000000008001828 USART2_IRQHandler - 0x0000000008001828 I2C2_ER_IRQHandler - 0x0000000008001828 DMA1_Channel2_IRQHandler - 0x0000000008001828 TIM8_BRK_IRQHandler - 0x0000000008001828 CAN1_SCE_IRQHandler - 0x0000000008001828 FLASH_IRQHandler - 0x0000000008001828 USART1_IRQHandler - 0x0000000008001828 SPI3_IRQHandler - 0x0000000008001828 I2C1_ER_IRQHandler - 0x0000000008001828 USBWakeUp_IRQHandler - 0x0000000008001828 RTC_Alarm_IRQHandler - *fill* 0x000000000800182a 0x2 + 0x0000000008001940 0x2 ./Core/Startup/startup_stm32f103zetx.o + 0x0000000008001940 DMA2_Channel3_IRQHandler + 0x0000000008001940 EXTI2_IRQHandler + 0x0000000008001940 TIM8_TRG_COM_IRQHandler + 0x0000000008001940 TIM8_CC_IRQHandler + 0x0000000008001940 TIM1_CC_IRQHandler + 0x0000000008001940 TIM6_IRQHandler + 0x0000000008001940 PVD_IRQHandler + 0x0000000008001940 SDIO_IRQHandler + 0x0000000008001940 EXTI3_IRQHandler + 0x0000000008001940 EXTI0_IRQHandler + 0x0000000008001940 I2C2_EV_IRQHandler + 0x0000000008001940 ADC1_2_IRQHandler + 0x0000000008001940 SPI1_IRQHandler + 0x0000000008001940 TAMPER_IRQHandler + 0x0000000008001940 TIM8_UP_IRQHandler + 0x0000000008001940 DMA2_Channel2_IRQHandler + 0x0000000008001940 DMA1_Channel4_IRQHandler + 0x0000000008001940 USART3_IRQHandler + 0x0000000008001940 RTC_IRQHandler + 0x0000000008001940 DMA1_Channel7_IRQHandler + 0x0000000008001940 CAN1_RX1_IRQHandler + 0x0000000008001940 UART5_IRQHandler + 0x0000000008001940 ADC3_IRQHandler + 0x0000000008001940 TIM4_IRQHandler + 0x0000000008001940 DMA2_Channel1_IRQHandler + 0x0000000008001940 I2C1_EV_IRQHandler + 0x0000000008001940 DMA1_Channel6_IRQHandler + 0x0000000008001940 UART4_IRQHandler + 0x0000000008001940 TIM3_IRQHandler + 0x0000000008001940 RCC_IRQHandler + 0x0000000008001940 TIM1_TRG_COM_IRQHandler + 0x0000000008001940 DMA1_Channel1_IRQHandler + 0x0000000008001940 Default_Handler + 0x0000000008001940 EXTI15_10_IRQHandler + 0x0000000008001940 TIM7_IRQHandler + 0x0000000008001940 TIM5_IRQHandler + 0x0000000008001940 EXTI9_5_IRQHandler + 0x0000000008001940 SPI2_IRQHandler + 0x0000000008001940 DMA1_Channel5_IRQHandler + 0x0000000008001940 EXTI4_IRQHandler + 0x0000000008001940 USB_LP_CAN1_RX0_IRQHandler + 0x0000000008001940 USB_HP_CAN1_TX_IRQHandler + 0x0000000008001940 DMA1_Channel3_IRQHandler + 0x0000000008001940 FSMC_IRQHandler + 0x0000000008001940 TIM1_UP_IRQHandler + 0x0000000008001940 WWDG_IRQHandler + 0x0000000008001940 TIM2_IRQHandler + 0x0000000008001940 TIM1_BRK_IRQHandler + 0x0000000008001940 EXTI1_IRQHandler + 0x0000000008001940 DMA2_Channel4_5_IRQHandler + 0x0000000008001940 USART2_IRQHandler + 0x0000000008001940 I2C2_ER_IRQHandler + 0x0000000008001940 DMA1_Channel2_IRQHandler + 0x0000000008001940 TIM8_BRK_IRQHandler + 0x0000000008001940 CAN1_SCE_IRQHandler + 0x0000000008001940 FLASH_IRQHandler + 0x0000000008001940 USART1_IRQHandler + 0x0000000008001940 SPI3_IRQHandler + 0x0000000008001940 I2C1_ER_IRQHandler + 0x0000000008001940 USBWakeUp_IRQHandler + 0x0000000008001940 RTC_Alarm_IRQHandler + *fill* 0x0000000008001942 0x2 .text.HAL_Init - 0x000000000800182c 0x2c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o - 0x000000000800182c HAL_Init + 0x0000000008001944 0x2c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o + 0x0000000008001944 HAL_Init .text.HAL_InitTick - 0x0000000008001858 0x60 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o - 0x0000000008001858 HAL_InitTick + 0x0000000008001970 0x60 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o + 0x0000000008001970 HAL_InitTick .text.HAL_IncTick - 0x00000000080018b8 0x24 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o - 0x00000000080018b8 HAL_IncTick + 0x00000000080019d0 0x24 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o + 0x00000000080019d0 HAL_IncTick .text.HAL_GetTick - 0x00000000080018dc 0x14 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o - 0x00000000080018dc HAL_GetTick + 0x00000000080019f4 0x14 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o + 0x00000000080019f4 HAL_GetTick .text.HAL_Delay - 0x00000000080018f0 0x48 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o - 0x00000000080018f0 HAL_Delay + 0x0000000008001a08 0x48 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o + 0x0000000008001a08 HAL_Delay .text.__NVIC_SetPriorityGrouping - 0x0000000008001938 0x48 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o + 0x0000000008001a50 0x48 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o .text.__NVIC_GetPriorityGrouping - 0x0000000008001980 0x1c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o + 0x0000000008001a98 0x1c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o .text.__NVIC_SetPriority - 0x000000000800199c 0x54 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o + 0x0000000008001ab4 0x54 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o .text.NVIC_EncodePriority - 0x00000000080019f0 0x64 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o + 0x0000000008001b08 0x64 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o .text.SysTick_Config - 0x0000000008001a54 0x44 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o + 0x0000000008001b6c 0x44 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o .text.HAL_NVIC_SetPriorityGrouping - 0x0000000008001a98 0x16 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o - 0x0000000008001a98 HAL_NVIC_SetPriorityGrouping + 0x0000000008001bb0 0x16 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o + 0x0000000008001bb0 HAL_NVIC_SetPriorityGrouping .text.HAL_NVIC_SetPriority - 0x0000000008001aae 0x38 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o - 0x0000000008001aae HAL_NVIC_SetPriority + 0x0000000008001bc6 0x38 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o + 0x0000000008001bc6 HAL_NVIC_SetPriority .text.HAL_SYSTICK_Config - 0x0000000008001ae6 0x18 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o - 0x0000000008001ae6 HAL_SYSTICK_Config - *fill* 0x0000000008001afe 0x2 + 0x0000000008001bfe 0x18 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.o + 0x0000000008001bfe HAL_SYSTICK_Config + *fill* 0x0000000008001c16 0x2 .text.HAL_GPIO_Init - 0x0000000008001b00 0x328 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.o - 0x0000000008001b00 HAL_GPIO_Init + 0x0000000008001c18 0x328 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.o + 0x0000000008001c18 HAL_GPIO_Init .text.HAL_GPIO_ReadPin - 0x0000000008001e28 0x2e ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.o - 0x0000000008001e28 HAL_GPIO_ReadPin + 0x0000000008001f40 0x2e ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.o + 0x0000000008001f40 HAL_GPIO_ReadPin .text.HAL_GPIO_WritePin - 0x0000000008001e56 0x30 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.o - 0x0000000008001e56 HAL_GPIO_WritePin - *fill* 0x0000000008001e86 0x2 + 0x0000000008001f6e 0x30 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.o + 0x0000000008001f6e HAL_GPIO_WritePin + *fill* 0x0000000008001f9e 0x2 .text.HAL_I2C_Init - 0x0000000008001e88 0x288 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o - 0x0000000008001e88 HAL_I2C_Init + 0x0000000008001fa0 0x288 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x0000000008001fa0 HAL_I2C_Init .text.HAL_I2C_Mem_Write - 0x0000000008002110 0x1f4 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o - 0x0000000008002110 HAL_I2C_Mem_Write + 0x0000000008002228 0x1f4 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x0000000008002228 HAL_I2C_Mem_Write .text.HAL_I2C_Mem_Read - 0x0000000008002304 0x4d0 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o - 0x0000000008002304 HAL_I2C_Mem_Read + 0x000000000800241c 0x4d0 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x000000000800241c HAL_I2C_Mem_Read .text.I2C_RequestMemoryWrite - 0x00000000080027d4 0x12c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x00000000080028ec 0x12c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o .text.I2C_RequestMemoryRead - 0x0000000008002900 0x1d0 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x0000000008002a18 0x1d0 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o .text.I2C_WaitOnFlagUntilTimeout - 0x0000000008002ad0 0xae ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x0000000008002be8 0xae ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o .text.I2C_WaitOnMasterAddressFlagUntilTimeout - 0x0000000008002b7e 0xfe ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x0000000008002c96 0xfe ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o .text.I2C_WaitOnTXEFlagUntilTimeout - 0x0000000008002c7c 0x82 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x0000000008002d94 0x82 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o .text.I2C_WaitOnBTFFlagUntilTimeout - 0x0000000008002cfe 0x82 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x0000000008002e16 0x82 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o .text.I2C_WaitOnRXNEFlagUntilTimeout - 0x0000000008002d80 0xac ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x0000000008002e98 0xac ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o .text.I2C_IsAcknowledgeFailed - 0x0000000008002e2c 0x5c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o + 0x0000000008002f44 0x5c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.o .text.HAL_RCC_OscConfig - 0x0000000008002e88 0x500 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o - 0x0000000008002e88 HAL_RCC_OscConfig + 0x0000000008002fa0 0x500 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o + 0x0000000008002fa0 HAL_RCC_OscConfig .text.HAL_RCC_ClockConfig - 0x0000000008003388 0x1d4 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o - 0x0000000008003388 HAL_RCC_ClockConfig + 0x00000000080034a0 0x1d4 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o + 0x00000000080034a0 HAL_RCC_ClockConfig .text.HAL_RCC_GetSysClockFreq - 0x000000000800355c 0xc0 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o - 0x000000000800355c HAL_RCC_GetSysClockFreq + 0x0000000008003674 0xc0 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o + 0x0000000008003674 HAL_RCC_GetSysClockFreq .text.HAL_RCC_GetHCLKFreq - 0x000000000800361c 0x14 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o - 0x000000000800361c HAL_RCC_GetHCLKFreq + 0x0000000008003734 0x14 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o + 0x0000000008003734 HAL_RCC_GetHCLKFreq .text.HAL_RCC_GetPCLK1Freq - 0x0000000008003630 0x28 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o - 0x0000000008003630 HAL_RCC_GetPCLK1Freq + 0x0000000008003748 0x28 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o + 0x0000000008003748 HAL_RCC_GetPCLK1Freq .text.RCC_Delay - 0x0000000008003658 0x3c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o + 0x0000000008003770 0x3c ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o .text.HAL_SRAM_Init - 0x0000000008003694 0x9a ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.o - 0x0000000008003694 HAL_SRAM_Init - *fill* 0x000000000800372e 0x2 + 0x00000000080037ac 0x9a ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.o + 0x00000000080037ac HAL_SRAM_Init + *fill* 0x0000000008003846 0x2 .text.FSMC_NORSRAM_Init - 0x0000000008003730 0xd4 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.o - 0x0000000008003730 FSMC_NORSRAM_Init + 0x0000000008003848 0xd4 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.o + 0x0000000008003848 FSMC_NORSRAM_Init .text.FSMC_NORSRAM_Timing_Init - 0x0000000008003804 0x68 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.o - 0x0000000008003804 FSMC_NORSRAM_Timing_Init + 0x000000000800391c 0x68 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.o + 0x000000000800391c FSMC_NORSRAM_Timing_Init .text.FSMC_NORSRAM_Extended_Timing_Init - 0x000000000800386c 0x70 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.o - 0x000000000800386c FSMC_NORSRAM_Extended_Timing_Init + 0x0000000008003984 0x70 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.o + 0x0000000008003984 FSMC_NORSRAM_Extended_Timing_Init .text.LCD_WR_REG - 0x00000000080038dc 0x1c ./HW_Devices/LCD.o - 0x00000000080038dc LCD_WR_REG + 0x00000000080039f4 0x1c ./HW_Devices/LCD.o + 0x00000000080039f4 LCD_WR_REG .text.LCD_WR_DATA - 0x00000000080038f8 0x20 ./HW_Devices/LCD.o - 0x00000000080038f8 LCD_WR_DATA + 0x0000000008003a10 0x20 ./HW_Devices/LCD.o + 0x0000000008003a10 LCD_WR_DATA .text.LCD_WriteReg - 0x0000000008003918 0x2c ./HW_Devices/LCD.o - 0x0000000008003918 LCD_WriteReg + 0x0000000008003a30 0x2c ./HW_Devices/LCD.o + 0x0000000008003a30 LCD_WriteReg .text.LCD_ReadReg - 0x0000000008003944 0x28 ./HW_Devices/LCD.o - 0x0000000008003944 LCD_ReadReg + 0x0000000008003a5c 0x28 ./HW_Devices/LCD.o + 0x0000000008003a5c LCD_ReadReg .text.LCD_Scan_Dir - 0x000000000800396c 0x2dc ./HW_Devices/LCD.o - 0x000000000800396c LCD_Scan_Dir + 0x0000000008003a84 0x2dc ./HW_Devices/LCD.o + 0x0000000008003a84 LCD_Scan_Dir .text.LCD_Display_Dir - 0x0000000008003c48 0x18c ./HW_Devices/LCD.o - 0x0000000008003c48 LCD_Display_Dir + 0x0000000008003d60 0x18c ./HW_Devices/LCD.o + 0x0000000008003d60 LCD_Display_Dir .text.LCDx_Init - 0x0000000008003dd4 0x1ec ./HW_Devices/LCD.o - 0x0000000008003dd4 LCDx_Init + 0x0000000008003eec 0x1ec ./HW_Devices/LCD.o + 0x0000000008003eec LCDx_Init .text.LCD_SetCursor - 0x0000000008003fc0 0x120 ./HW_Devices/LCD.o - 0x0000000008003fc0 LCD_SetCursor + 0x00000000080040d8 0x120 ./HW_Devices/LCD.o + 0x00000000080040d8 LCD_SetCursor .text.LCD_set_dot - 0x00000000080040e0 0x40 ./HW_Devices/LCD.o - 0x00000000080040e0 LCD_set_dot + 0x00000000080041f8 0x40 ./HW_Devices/LCD.o + 0x00000000080041f8 LCD_set_dot .text.LCD_Clear - 0x0000000008004120 0xa4 ./HW_Devices/LCD.o - 0x0000000008004120 LCD_Clear + 0x0000000008004238 0xa4 ./HW_Devices/LCD.o + 0x0000000008004238 LCD_Clear .text.LCD_DrawLine - 0x00000000080041c4 0x10a ./HW_Devices/LCD.o - 0x00000000080041c4 LCD_DrawLine + 0x00000000080042dc 0x10a ./HW_Devices/LCD.o + 0x00000000080042dc LCD_DrawLine .text.Draw_Circle - 0x00000000080042ce 0x156 ./HW_Devices/LCD.o - 0x00000000080042ce Draw_Circle + 0x00000000080043e6 0x156 ./HW_Devices/LCD.o + 0x00000000080043e6 Draw_Circle .text.LCD_ShowChar - 0x0000000008004424 0xf8 ./HW_Devices/LCD.o - 0x0000000008004424 LCD_ShowChar + 0x000000000800453c 0xf8 ./HW_Devices/LCD.o + 0x000000000800453c LCD_ShowChar .text.LCD_ShowString - 0x000000000800451c 0x7c ./HW_Devices/LCD.o - 0x000000000800451c LCD_ShowString + 0x0000000008004634 0x7c ./HW_Devices/LCD.o + 0x0000000008004634 LCD_ShowString .text.EPPROM_SLOWWRITE_INIT - 0x0000000008004598 0x34 ./HW_Devices/eeprom.o - 0x0000000008004598 EPPROM_SLOWWRITE_INIT + 0x00000000080046b0 0x34 ./HW_Devices/eeprom.o + 0x00000000080046b0 EPPROM_SLOWWRITE_INIT .text.EEPROM_SLOWWRITE_SERVER - 0x00000000080045cc 0x8c ./HW_Devices/eeprom.o - 0x00000000080045cc EEPROM_SLOWWRITE_SERVER + 0x00000000080046e4 0x8c ./HW_Devices/eeprom.o + 0x00000000080046e4 EEPROM_SLOWWRITE_SERVER .text.EEPROM_READ_BATY - 0x0000000008004658 0x24 ./HW_Devices/eeprom.o - 0x0000000008004658 EEPROM_READ_BATY + 0x0000000008004770 0x24 ./HW_Devices/eeprom.o + 0x0000000008004770 EEPROM_READ_BATY .text.EEPROM_WRITE_BATY - 0x000000000800467c 0x8c ./HW_Devices/eeprom.o - 0x000000000800467c EEPROM_WRITE_BATY + 0x0000000008004794 0x8c ./HW_Devices/eeprom.o + 0x0000000008004794 EEPROM_WRITE_BATY .text.IIC_SAND_DATE - 0x0000000008004708 0x3c ./HW_Devices/iic.o - 0x0000000008004708 IIC_SAND_DATE + 0x0000000008004820 0x3c ./HW_Devices/iic.o + 0x0000000008004820 IIC_SAND_DATE .text.IIC_READ_DATE - 0x0000000008004744 0x3c ./HW_Devices/iic.o - 0x0000000008004744 IIC_READ_DATE + 0x000000000800485c 0x3c ./HW_Devices/iic.o + 0x000000000800485c IIC_READ_DATE .text.TP_Write_Byte - 0x0000000008004780 0x6c ./HW_Devices/touch.o - 0x0000000008004780 TP_Write_Byte + 0x0000000008004898 0x6c ./HW_Devices/touch.o + 0x0000000008004898 TP_Write_Byte .text.TP_Read_AD - 0x00000000080047ec 0xc8 ./HW_Devices/touch.o - 0x00000000080047ec TP_Read_AD + 0x0000000008004904 0xc8 ./HW_Devices/touch.o + 0x0000000008004904 TP_Read_AD .text.TP_Read_XOY - 0x00000000080048b4 0x104 ./HW_Devices/touch.o - 0x00000000080048b4 TP_Read_XOY + 0x00000000080049cc 0x104 ./HW_Devices/touch.o + 0x00000000080049cc TP_Read_XOY .text.TP_Read_XY_ADC - 0x00000000080049b8 0x32 ./HW_Devices/touch.o - 0x00000000080049b8 TP_Read_XY_ADC + 0x0000000008004ad0 0x32 ./HW_Devices/touch.o + 0x0000000008004ad0 TP_Read_XY_ADC .text.TP_Read_XY2 - 0x00000000080049ea 0xd0 ./HW_Devices/touch.o - 0x00000000080049ea TP_Read_XY2 - *fill* 0x0000000008004aba 0x2 + 0x0000000008004b02 0xd0 ./HW_Devices/touch.o + 0x0000000008004b02 TP_Read_XY2 + *fill* 0x0000000008004bd2 0x2 .text.TP_Server - 0x0000000008004abc 0xf0 ./HW_Devices/touch.o - 0x0000000008004abc TP_Server + 0x0000000008004bd4 0xf0 ./HW_Devices/touch.o + 0x0000000008004bd4 TP_Server .text.TP_DrwaTrage - 0x0000000008004bac 0xb8 ./HW_Devices/touch.o - 0x0000000008004bac TP_DrwaTrage + 0x0000000008004cc4 0xb8 ./HW_Devices/touch.o + 0x0000000008004cc4 TP_DrwaTrage .text.TP_adjustment - 0x0000000008004c64 0x594 ./HW_Devices/touch.o - 0x0000000008004c64 TP_adjustment + 0x0000000008004d7c 0x594 ./HW_Devices/touch.o + 0x0000000008004d7c TP_adjustment .text.Max30102_reset - 0x00000000080051f8 0x20 ./SW_APPs/APP_blood.o - 0x00000000080051f8 Max30102_reset + 0x0000000008005310 0x20 ./SW_APPs/APP_blood.o + 0x0000000008005310 Max30102_reset .text.MAX30102_Config - 0x0000000008005218 0xae ./SW_APPs/APP_blood.o - 0x0000000008005218 MAX30102_Config - *fill* 0x00000000080052c6 0x2 + 0x0000000008005330 0xae ./SW_APPs/APP_blood.o + 0x0000000008005330 MAX30102_Config + *fill* 0x00000000080053de 0x2 .text.max30102_read_fifo - 0x00000000080052c8 0x100 ./SW_APPs/APP_blood.o - 0x00000000080052c8 max30102_read_fifo + 0x00000000080053e0 0x100 ./SW_APPs/APP_blood.o + 0x00000000080053e0 max30102_read_fifo .text.APP_blood_init - 0x00000000080053c8 0x24 ./SW_APPs/APP_blood.o - 0x00000000080053c8 APP_blood_init + 0x00000000080054e0 0x40 ./SW_APPs/APP_blood.o + 0x00000000080054e0 APP_blood_init + .text.my_floor + 0x0000000008005520 0x6e ./SW_APPs/APP_blood.o + 0x0000000008005520 my_floor + .text.my_fmod 0x000000000800558e 0xd4 ./SW_APPs/APP_blood.o + 0x000000000800558e my_fmod + *fill* 0x0000000008005662 0x6 + .text.XSin 0x0000000008005668 0x2b4 ./SW_APPs/APP_blood.o + 0x0000000008005668 XSin + *fill* 0x000000000800591c 0x4 + .text.XCos 0x0000000008005920 0x40 ./SW_APPs/APP_blood.o + 0x0000000008005920 XCos + .text.EE 0x0000000008005960 0x84 ./SW_APPs/APP_blood.o + 0x0000000008005960 EE + *fill* 0x00000000080059e4 0x4 + .text.FFT 0x00000000080059e8 0x240 ./SW_APPs/APP_blood.o + 0x00000000080059e8 FFT + .text.find_max_num_index + 0x0000000008005c28 0x64 ./SW_APPs/APP_blood.o + 0x0000000008005c28 find_max_num_index + *fill* 0x0000000008005c8c 0x4 + .text.blood_data_translate + 0x0000000008005c90 0x53c ./SW_APPs/APP_blood.o + 0x0000000008005c90 blood_data_translate .text.APP_blood_loop - 0x00000000080053ec 0xd0 ./SW_APPs/APP_blood.o - 0x00000000080053ec APP_blood_loop + 0x00000000080061cc 0x1e0 ./SW_APPs/APP_blood.o + 0x00000000080061cc APP_blood_loop .text.main_app - 0x00000000080054bc 0x64 ./SW_APPs/Main_APP.o - 0x00000000080054bc main_app + 0x00000000080063ac 0x64 ./SW_APPs/Main_APP.o + 0x00000000080063ac main_app .text.Inteface_SetCursor - 0x0000000008005520 0x34 ./SW_APPs/windows.o - 0x0000000008005520 Inteface_SetCursor + 0x0000000008006410 0x34 ./SW_APPs/windows.o + 0x0000000008006410 Inteface_SetCursor .text.Inteface_SetColor - 0x0000000008005554 0x20 ./SW_APPs/windows.o - 0x0000000008005554 Inteface_SetColor - .text.UI_Init 0x0000000008005574 0x66 ./SW_APPs/windows.o - 0x0000000008005574 UI_Init + 0x0000000008006444 0x20 ./SW_APPs/windows.o + 0x0000000008006444 Inteface_SetColor + .text.UI_Init 0x0000000008006464 0x66 ./SW_APPs/windows.o + 0x0000000008006464 UI_Init .text.New_Window - 0x00000000080055da 0xd2 ./SW_APPs/windows.o - 0x00000000080055da New_Window + 0x00000000080064ca 0xd2 ./SW_APPs/windows.o + 0x00000000080064ca New_Window .text.Refresh_Window - 0x00000000080056ac 0x10a ./SW_APPs/windows.o - 0x00000000080056ac Refresh_Window + 0x000000000800659c 0x10a ./SW_APPs/windows.o + 0x000000000800659c Refresh_Window .text.Refresh_UI - 0x00000000080057b6 0x94 ./SW_APPs/windows.o - 0x00000000080057b6 Refresh_UI - .text.Chack 0x000000000800584a 0xdc ./SW_APPs/windows.o - 0x000000000800584a Chack - *fill* 0x0000000008005926 0x2 + 0x00000000080066a6 0x94 ./SW_APPs/windows.o + 0x00000000080066a6 Refresh_UI + .text.Chack 0x000000000800673a 0xdc ./SW_APPs/windows.o + 0x000000000800673a Chack + *fill* 0x0000000008006816 0x2 .text.UI_Server - 0x0000000008005928 0x1f4 ./SW_APPs/windows.o - 0x0000000008005928 UI_Server - .text.__errno 0x0000000008005b1c 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-errno.o) - 0x0000000008005b1c __errno + 0x0000000008006818 0x1f4 ./SW_APPs/windows.o + 0x0000000008006818 UI_Server + .text.__errno 0x0000000008006a0c 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-errno.o) + 0x0000000008006a0c __errno .text.__libc_init_array - 0x0000000008005b28 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-init.o) - 0x0000000008005b28 __libc_init_array - .text.malloc 0x0000000008005b70 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-malloc.o) - 0x0000000008005b70 malloc - .text.free 0x0000000008005b80 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-malloc.o) - 0x0000000008005b80 free - .text.memset 0x0000000008005b90 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memset.o) - 0x0000000008005b90 memset - .text._free_r 0x0000000008005ba0 0x98 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-freer.o) - 0x0000000008005ba0 _free_r + 0x0000000008006a18 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-init.o) + 0x0000000008006a18 __libc_init_array + .text.malloc 0x0000000008006a60 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-malloc.o) + 0x0000000008006a60 malloc + .text.free 0x0000000008006a70 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-malloc.o) + 0x0000000008006a70 free + .text.memset 0x0000000008006a80 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memset.o) + 0x0000000008006a80 memset + .text._free_r 0x0000000008006a90 0x98 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-freer.o) + 0x0000000008006a90 _free_r .text._malloc_r - 0x0000000008005c38 0xb4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-mallocr.o) - 0x0000000008005c38 _malloc_r - .text.__cvt 0x0000000008005cec 0xbe /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) - 0x0000000008005cec __cvt + 0x0000000008006b28 0xb4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-mallocr.o) + 0x0000000008006b28 _malloc_r + .text.__cvt 0x0000000008006bdc 0xbe /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) + 0x0000000008006bdc __cvt .text.__exponent - 0x0000000008005daa 0x7c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) - 0x0000000008005daa __exponent - *fill* 0x0000000008005e26 0x2 + 0x0000000008006c9a 0x7c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) + 0x0000000008006c9a __exponent + *fill* 0x0000000008006d16 0x2 .text._printf_float - 0x0000000008005e28 0x458 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) - 0x0000000008005e28 _printf_float + 0x0000000008006d18 0x458 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) + 0x0000000008006d18 _printf_float .text._printf_common - 0x0000000008006280 0xde /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_i.o) - 0x0000000008006280 _printf_common - *fill* 0x000000000800635e 0x2 + 0x0000000008007170 0xde /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_i.o) + 0x0000000008007170 _printf_common + *fill* 0x000000000800724e 0x2 .text._printf_i - 0x0000000008006360 0x24c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_i.o) - 0x0000000008006360 _printf_i - .text._sbrk_r 0x00000000080065ac 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-sbrkr.o) - 0x00000000080065ac _sbrk_r - .text.sprintf 0x00000000080065cc 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-sprintf.o) - 0x00000000080065cc sprintf - 0x00000000080065cc siprintf - .text.quorem 0x000000000800660c 0x11a /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) - *fill* 0x0000000008006726 0x2 - .text._dtoa_r 0x0000000008006728 0xbdc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) - 0x0000000008006728 _dtoa_r + 0x0000000008007250 0x24c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_i.o) + 0x0000000008007250 _printf_i + .text._sbrk_r 0x000000000800749c 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-sbrkr.o) + 0x000000000800749c _sbrk_r + .text.sprintf 0x00000000080074bc 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-sprintf.o) + 0x00000000080074bc sprintf + 0x00000000080074bc siprintf + .text.quorem 0x00000000080074fc 0x11a /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) + *fill* 0x0000000008007616 0x2 + .text._dtoa_r 0x0000000008007618 0xbdc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) + 0x0000000008007618 _dtoa_r .text._localeconv_r - 0x0000000008007304 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-localeconv.o) - 0x0000000008007304 _localeconv_r - .text.memchr 0x000000000800730c 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memchr-stub.o) - 0x000000000800730c memchr - .text.memcpy 0x0000000008007328 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memcpy-stub.o) - 0x0000000008007328 memcpy + 0x00000000080081f4 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-localeconv.o) + 0x00000000080081f4 _localeconv_r + .text.memchr 0x00000000080081fc 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memchr-stub.o) + 0x00000000080081fc memchr + .text.memcpy 0x0000000008008218 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memcpy-stub.o) + 0x0000000008008218 memcpy .text.__malloc_lock - 0x0000000008007344 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mlock.o) - 0x0000000008007344 __malloc_lock + 0x0000000008008234 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mlock.o) + 0x0000000008008234 __malloc_lock .text.__malloc_unlock - 0x0000000008007350 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mlock.o) - 0x0000000008007350 __malloc_unlock - .text._Balloc 0x000000000800735c 0x80 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x000000000800735c _Balloc - .text._Bfree 0x00000000080073dc 0x44 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x00000000080073dc _Bfree + 0x0000000008008240 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mlock.o) + 0x0000000008008240 __malloc_unlock + .text._Balloc 0x000000000800824c 0x80 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x000000000800824c _Balloc + .text._Bfree 0x00000000080082cc 0x44 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x00000000080082cc _Bfree .text.__multadd - 0x0000000008007420 0x94 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x0000000008007420 __multadd + 0x0000000008008310 0x94 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x0000000008008310 __multadd .text.__hi0bits - 0x00000000080074b4 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x00000000080074b4 __hi0bits + 0x00000000080083a4 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x00000000080083a4 __hi0bits .text.__lo0bits - 0x00000000080074f4 0x5c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x00000000080074f4 __lo0bits - .text.__i2b 0x0000000008007550 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x0000000008007550 __i2b + 0x00000000080083e4 0x5c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x00000000080083e4 __lo0bits + .text.__i2b 0x0000000008008440 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x0000000008008440 __i2b .text.__multiply - 0x000000000800757c 0x148 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x000000000800757c __multiply + 0x000000000800846c 0x148 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x000000000800846c __multiply .text.__pow5mult - 0x00000000080076c4 0xb4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x00000000080076c4 __pow5mult + 0x00000000080085b4 0xb4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x00000000080085b4 __pow5mult .text.__lshift - 0x0000000008007778 0xd8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x0000000008007778 __lshift - .text.__mcmp 0x0000000008007850 0x36 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x0000000008007850 __mcmp - *fill* 0x0000000008007886 0x2 - .text.__mdiff 0x0000000008007888 0x120 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x0000000008007888 __mdiff - .text.__d2b 0x00000000080079a8 0xb8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x00000000080079a8 __d2b + 0x0000000008008668 0xd8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x0000000008008668 __lshift + .text.__mcmp 0x0000000008008740 0x36 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x0000000008008740 __mcmp + *fill* 0x0000000008008776 0x2 + .text.__mdiff 0x0000000008008778 0x120 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x0000000008008778 __mdiff + .text.__d2b 0x0000000008008898 0xb8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x0000000008008898 __d2b .text._calloc_r - 0x0000000008007a60 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-callocr.o) - 0x0000000008007a60 _calloc_r + 0x0000000008008950 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-callocr.o) + 0x0000000008008950 _calloc_r .text.__ssputs_r - 0x0000000008007a7c 0xb6 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-svfprintf.o) - 0x0000000008007a7c __ssputs_r - *fill* 0x0000000008007b32 0x2 + 0x000000000800896c 0xb6 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-svfprintf.o) + 0x000000000800896c __ssputs_r + *fill* 0x0000000008008a22 0x2 .text._svfprintf_r - 0x0000000008007b34 0x200 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-svfprintf.o) - 0x0000000008007b34 _svfprintf_r - 0x0000000008007b34 _svfiprintf_r + 0x0000000008008a24 0x200 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-svfprintf.o) + 0x0000000008008a24 _svfprintf_r + 0x0000000008008a24 _svfiprintf_r .text.__assert_func - 0x0000000008007d34 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-assert.o) - 0x0000000008007d34 __assert_func - .text.fprintf 0x0000000008007d70 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fprintf.o) - 0x0000000008007d70 fprintf - 0x0000000008007d70 fiprintf + 0x0000000008008c24 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-assert.o) + 0x0000000008008c24 __assert_func + .text.fprintf 0x0000000008008c60 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fprintf.o) + 0x0000000008008c60 fprintf + 0x0000000008008c60 fiprintf .text.__retarget_lock_init_recursive - 0x0000000008007d94 0x2 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) - 0x0000000008007d94 __retarget_lock_init_recursive + 0x0000000008008c84 0x2 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) + 0x0000000008008c84 __retarget_lock_init_recursive .text.__retarget_lock_acquire_recursive - 0x0000000008007d96 0x2 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) - 0x0000000008007d96 __retarget_lock_acquire_recursive + 0x0000000008008c86 0x2 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) + 0x0000000008008c86 __retarget_lock_acquire_recursive .text.__retarget_lock_release_recursive - 0x0000000008007d98 0x2 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) - 0x0000000008007d98 __retarget_lock_release_recursive + 0x0000000008008c88 0x2 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) + 0x0000000008008c88 __retarget_lock_release_recursive .text.__ascii_mbtowc - 0x0000000008007d9a 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mbtowc_r.o) - 0x0000000008007d9a __ascii_mbtowc - .text.memmove 0x0000000008007dbe 0x34 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memmove.o) - 0x0000000008007dbe memmove + 0x0000000008008c8a 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mbtowc_r.o) + 0x0000000008008c8a __ascii_mbtowc + .text.memmove 0x0000000008008cae 0x34 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memmove.o) + 0x0000000008008cae memmove .text._realloc_r - 0x0000000008007df2 0x4c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-reallocr.o) - 0x0000000008007df2 _realloc_r + 0x0000000008008ce2 0x4c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-reallocr.o) + 0x0000000008008ce2 _realloc_r .text.__sfputc_r - 0x0000000008007e3e 0x2a /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) + 0x0000000008008d2e 0x2a /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) .text.__sfputs_r - 0x0000000008007e68 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) - 0x0000000008007e68 __sfputs_r + 0x0000000008008d58 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) + 0x0000000008008d58 __sfputs_r .text._vfprintf_r - 0x0000000008007e8c 0x260 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) - 0x0000000008007e8c _vfiprintf_r - 0x0000000008007e8c _vfprintf_r + 0x0000000008008d7c 0x260 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) + 0x0000000008008d7c _vfiprintf_r + 0x0000000008008d7c _vfprintf_r .text.__swbuf_r - 0x00000000080080ec 0xa4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wbuf.o) - 0x00000000080080ec __swbuf_r + 0x0000000008008fdc 0xa4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wbuf.o) + 0x0000000008008fdc __swbuf_r .text.__ascii_wctomb - 0x0000000008008190 0x1a /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wctomb_r.o) - 0x0000000008008190 __ascii_wctomb - *fill* 0x00000000080081aa 0x2 + 0x0000000008009080 0x1a /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wctomb_r.o) + 0x0000000008009080 __ascii_wctomb + *fill* 0x000000000800909a 0x2 .text.__swsetup_r - 0x00000000080081ac 0xdc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wsetup.o) - 0x00000000080081ac __swsetup_r - .text.abort 0x0000000008008288 0xe /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-abort.o) - 0x0000000008008288 abort - *fill* 0x0000000008008296 0x2 + 0x000000000800909c 0xdc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wsetup.o) + 0x000000000800909c __swsetup_r + .text.abort 0x0000000008009178 0xe /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-abort.o) + 0x0000000008009178 abort + *fill* 0x0000000008009186 0x2 .text.__sflush_r - 0x0000000008008298 0x10c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fflush.o) - 0x0000000008008298 __sflush_r + 0x0000000008009188 0x10c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fflush.o) + 0x0000000008009188 __sflush_r .text._fflush_r - 0x00000000080083a4 0x78 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fflush.o) - 0x00000000080083a4 _fflush_r - .text.std 0x000000000800841c 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x0000000008009294 0x78 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fflush.o) + 0x0000000008009294 _fflush_r + .text.std 0x000000000800930c 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) .text._cleanup_r - 0x0000000008008464 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x0000000008008464 _cleanup_r + 0x0000000008009354 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x0000000008009354 _cleanup_r .text.__sfmoreglue - 0x0000000008008470 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x0000000008008470 __sfmoreglue + 0x0000000008009360 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x0000000008009360 __sfmoreglue .text.__sfp_lock_acquire - 0x000000000800849c 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x000000000800849c __sfp_lock_acquire + 0x000000000800938c 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x000000000800938c __sfp_lock_acquire .text.__sfp_lock_release - 0x00000000080084a8 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x00000000080084a8 __sfp_lock_release + 0x0000000008009398 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x0000000008009398 __sfp_lock_release .text.__sinit_lock_acquire - 0x00000000080084b4 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x00000000080084b4 __sinit_lock_acquire + 0x00000000080093a4 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x00000000080093a4 __sinit_lock_acquire .text.__sinit_lock_release - 0x00000000080084c0 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x00000000080084c0 __sinit_lock_release - .text.__sinit 0x00000000080084cc 0x70 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x00000000080084cc __sinit - .text.__sfp 0x000000000800853c 0x8c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x000000000800853c __sfp + 0x00000000080093b0 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x00000000080093b0 __sinit_lock_release + .text.__sinit 0x00000000080093bc 0x70 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x00000000080093bc __sinit + .text.__sfp 0x000000000800942c 0x8c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x000000000800942c __sfp .text._fwalk_reent - 0x00000000080085c8 0x3e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fwalk.o) - 0x00000000080085c8 _fwalk_reent + 0x00000000080094b8 0x3e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fwalk.o) + 0x00000000080094b8 _fwalk_reent .text.__swhatbuf_r - 0x0000000008008606 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-makebuf.o) - 0x0000000008008606 __swhatbuf_r - *fill* 0x000000000800864e 0x2 + 0x00000000080094f6 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-makebuf.o) + 0x00000000080094f6 __swhatbuf_r + *fill* 0x000000000800953e 0x2 .text.__smakebuf_r - 0x0000000008008650 0x80 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-makebuf.o) - 0x0000000008008650 __smakebuf_r + 0x0000000008009540 0x80 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-makebuf.o) + 0x0000000008009540 __smakebuf_r .text._malloc_usable_size_r - 0x00000000080086d0 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-msizer.o) - 0x00000000080086d0 _malloc_usable_size_r + 0x00000000080095c0 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-msizer.o) + 0x00000000080095c0 _malloc_usable_size_r .text._raise_r - 0x00000000080086e0 0x50 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signal.o) - 0x00000000080086e0 _raise_r - .text.raise 0x0000000008008730 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signal.o) - 0x0000000008008730 raise - .text._kill_r 0x0000000008008740 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signalr.o) - 0x0000000008008740 _kill_r + 0x00000000080095d0 0x50 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signal.o) + 0x00000000080095d0 _raise_r + .text.raise 0x0000000008009620 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signal.o) + 0x0000000008009620 raise + .text._kill_r 0x0000000008009630 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signalr.o) + 0x0000000008009630 _kill_r .text._getpid_r - 0x0000000008008764 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signalr.o) - 0x0000000008008764 _getpid_r - .text.__sread 0x0000000008008768 0x22 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) - 0x0000000008008768 __sread + 0x0000000008009654 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signalr.o) + 0x0000000008009654 _getpid_r + .text.__sread 0x0000000008009658 0x22 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) + 0x0000000008009658 __sread .text.__swrite - 0x000000000800878a 0x38 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) - 0x000000000800878a __swrite - .text.__sseek 0x00000000080087c2 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) - 0x00000000080087c2 __sseek + 0x000000000800967a 0x38 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) + 0x000000000800967a __swrite + .text.__sseek 0x00000000080096b2 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) + 0x00000000080096b2 __sseek .text.__sclose - 0x00000000080087e6 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) - 0x00000000080087e6 __sclose - *fill* 0x00000000080087ee 0x2 + 0x00000000080096d6 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) + 0x00000000080096d6 __sclose + *fill* 0x00000000080096de 0x2 .text._write_r - 0x00000000080087f0 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-writer.o) - 0x00000000080087f0 _write_r + 0x00000000080096e0 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-writer.o) + 0x00000000080096e0 _write_r .text._close_r - 0x0000000008008814 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-closer.o) - 0x0000000008008814 _close_r + 0x0000000008009704 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-closer.o) + 0x0000000008009704 _close_r .text._fstat_r - 0x0000000008008834 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fstatr.o) - 0x0000000008008834 _fstat_r + 0x0000000008009724 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fstatr.o) + 0x0000000008009724 _fstat_r .text._isatty_r - 0x0000000008008858 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-isattyr.o) - 0x0000000008008858 _isatty_r + 0x0000000008009748 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-isattyr.o) + 0x0000000008009748 _isatty_r .text._lseek_r - 0x0000000008008878 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lseekr.o) - 0x0000000008008878 _lseek_r - .text._read_r 0x000000000800889c 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-readr.o) - 0x000000000800889c _read_r + 0x0000000008009768 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lseekr.o) + 0x0000000008009768 _lseek_r + .text._read_r 0x000000000800978c 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-readr.o) + 0x000000000800978c _read_r + .text.sqrtf 0x00000000080097b0 0x44 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) + 0x00000000080097b0 sqrtf + .text.__ieee754_sqrtf + 0x00000000080097f4 0xa2 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-ef_sqrt.o) + 0x00000000080097f4 __ieee754_sqrtf *(.glue_7) - .glue_7 0x00000000080088c0 0x0 linker stubs + .glue_7 0x0000000008009896 0x0 linker stubs *(.glue_7t) - .glue_7t 0x00000000080088c0 0x0 linker stubs + .glue_7t 0x0000000008009896 0x0 linker stubs *(.eh_frame) - .eh_frame 0x00000000080088c0 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o + *fill* 0x0000000008009896 0x2 + .eh_frame 0x0000000008009898 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o *(.init) - .init 0x00000000080088c0 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crti.o - 0x00000000080088c0 _init - .init 0x00000000080088c4 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtn.o + .init 0x0000000008009898 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crti.o + 0x0000000008009898 _init + .init 0x000000000800989c 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtn.o *(.fini) - .fini 0x00000000080088cc 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crti.o - 0x00000000080088cc _fini - .fini 0x00000000080088d0 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtn.o - 0x00000000080088d8 . = ALIGN (0x4) - 0x00000000080088d8 _etext = . + .fini 0x00000000080098a4 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crti.o + 0x00000000080098a4 _fini + .fini 0x00000000080098a8 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtn.o + 0x00000000080098b0 . = ALIGN (0x4) + 0x00000000080098b0 _etext = . -.vfp11_veneer 0x00000000080088d8 0x0 - .vfp11_veneer 0x00000000080088d8 0x0 linker stubs +.vfp11_veneer 0x00000000080098b0 0x0 + .vfp11_veneer 0x00000000080098b0 0x0 linker stubs -.v4_bx 0x00000000080088d8 0x0 - .v4_bx 0x00000000080088d8 0x0 linker stubs +.v4_bx 0x00000000080098b0 0x0 + .v4_bx 0x00000000080098b0 0x0 linker stubs -.iplt 0x00000000080088d8 0x0 - .iplt 0x00000000080088d8 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o +.iplt 0x00000000080098b0 0x0 + .iplt 0x00000000080098b0 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o -.rodata 0x00000000080088d8 0xf54 - 0x00000000080088d8 . = ALIGN (0x4) +.rodata 0x00000000080098b0 0x129c + 0x00000000080098b0 . = ALIGN (0x4) *(.rodata) - .rodata 0x00000000080088d8 0x10 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o - .rodata 0x00000000080088e8 0xb8 ./HW_Devices/touch.o - .rodata 0x00000000080089a0 0x1f ./SW_APPs/APP_blood.o - *fill* 0x00000000080089bf 0x1 - .rodata 0x00000000080089c0 0x9 ./SW_APPs/Main_APP.o + .rodata 0x00000000080098b0 0x10 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.o + .rodata 0x00000000080098c0 0xb8 ./HW_Devices/touch.o + .rodata 0x0000000008009978 0x3b ./SW_APPs/APP_blood.o + *fill* 0x00000000080099b3 0x1 + .rodata 0x00000000080099b4 0x9 ./SW_APPs/Main_APP.o *(.rodata*) - *fill* 0x00000000080089c9 0x3 + *fill* 0x00000000080099bd 0x3 .rodata.AHBPrescTable - 0x00000000080089cc 0x10 ./Core/Src/system_stm32f1xx.o - 0x00000000080089cc AHBPrescTable + 0x00000000080099c0 0x10 ./Core/Src/system_stm32f1xx.o + 0x00000000080099c0 AHBPrescTable .rodata.APBPrescTable - 0x00000000080089dc 0x8 ./Core/Src/system_stm32f1xx.o - 0x00000000080089dc APBPrescTable + 0x00000000080099d0 0x8 ./Core/Src/system_stm32f1xx.o + 0x00000000080099d0 APBPrescTable .rodata.asc2_1206 - 0x00000000080089e4 0x474 ./HW_Devices/LCD.o - 0x00000000080089e4 asc2_1206 + 0x00000000080099d8 0x474 ./HW_Devices/LCD.o + 0x00000000080099d8 asc2_1206 .rodata.asc2_1608 - 0x0000000008008e58 0x5f0 ./HW_Devices/LCD.o - 0x0000000008008e58 asc2_1608 + 0x0000000008009e4c 0x5f0 ./HW_Devices/LCD.o + 0x0000000008009e4c asc2_1608 + *fill* 0x000000000800a43c 0x4 + .rodata.XSinTbl + 0x000000000800a440 0x328 ./SW_APPs/APP_blood.o .rodata._global_impure_ptr - 0x0000000008009448 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-impure.o) - 0x0000000008009448 _global_impure_ptr + 0x000000000800a768 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-impure.o) + 0x000000000800a768 _global_impure_ptr .rodata._printf_float.str1.1 - 0x000000000800944c 0x12 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) + 0x000000000800a76c 0x12 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) .rodata._printf_i.str1.1 - 0x000000000800945e 0x22 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_i.o) + 0x000000000800a77e 0x22 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_i.o) .rodata._dtoa_r.str1.1 - 0x0000000008009480 0x94 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) + 0x000000000800a7a0 0x94 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) 0x96 (size before relaxing) .rodata._Balloc.str1.1 - 0x0000000008009514 0x60 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x000000000800a834 0x60 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) 0x77 (size before relaxing) .rodata.__multadd.str1.1 - 0x0000000008009574 0x11 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - *fill* 0x0000000008009574 0x4 + 0x000000000800a894 0x11 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + *fill* 0x000000000800a894 0x4 .rodata.__mprec_bigtens - 0x0000000008009578 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x0000000008009578 __mprec_bigtens + 0x000000000800a898 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x000000000800a898 __mprec_bigtens .rodata.__mprec_tens - 0x00000000080095a0 0xc8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - 0x00000000080095a0 __mprec_tens + 0x000000000800a8c0 0xc8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x000000000800a8c0 __mprec_tens .rodata.p05.6150 - 0x0000000008009668 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + 0x000000000800a988 0xc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) .rodata._svfprintf_r.str1.1 - 0x0000000008009674 0x11 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-svfprintf.o) + 0x000000000800a994 0x11 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-svfprintf.o) .rodata.__assert_func.str1.1 - 0x0000000008009685 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-assert.o) + 0x000000000800a9a5 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-assert.o) 0x3d (size before relaxing) .rodata._setlocale_r.str1.1 - 0x00000000080096c1 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-locale.o) + 0x000000000800a9e1 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-locale.o) 0x9 (size before relaxing) .rodata.str1.1 - 0x00000000080096c9 0x2 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-locale.o) + 0x000000000800a9e9 0x2 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-locale.o) .rodata._vfprintf_r.str1.1 - 0x00000000080096cb 0x11 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) + 0x000000000800a9eb 0x11 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) .rodata._ctype_ - 0x00000000080096cb 0x101 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-ctype_.o) - 0x00000000080096cb _ctype_ + 0x000000000800a9eb 0x101 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-ctype_.o) + 0x000000000800a9eb _ctype_ .rodata.__sf_fake_stderr - 0x00000000080097cc 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x00000000080097cc __sf_fake_stderr + 0x000000000800aaec 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x000000000800aaec __sf_fake_stderr .rodata.__sf_fake_stdin - 0x00000000080097ec 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x00000000080097ec __sf_fake_stdin + 0x000000000800ab0c 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x000000000800ab0c __sf_fake_stdin .rodata.__sf_fake_stdout - 0x000000000800980c 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - 0x000000000800980c __sf_fake_stdout - 0x000000000800982c . = ALIGN (0x4) + 0x000000000800ab2c 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + 0x000000000800ab2c __sf_fake_stdout + 0x000000000800ab4c . = ALIGN (0x4) -.rel.dyn 0x000000000800982c 0x0 - .rel.iplt 0x000000000800982c 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o +.rel.dyn 0x000000000800ab4c 0x0 + .rel.iplt 0x000000000800ab4c 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o -.ARM.extab 0x000000000800982c 0x0 - 0x000000000800982c . = ALIGN (0x4) +.ARM.extab 0x000000000800ab4c 0x0 + 0x000000000800ab4c . = ALIGN (0x4) *(.ARM.extab* .gnu.linkonce.armextab.*) - 0x000000000800982c . = ALIGN (0x4) + 0x000000000800ab4c . = ALIGN (0x4) -.ARM 0x000000000800982c 0x0 - 0x000000000800982c . = ALIGN (0x4) - 0x000000000800982c __exidx_start = . +.ARM 0x000000000800ab4c 0x0 + 0x000000000800ab4c . = ALIGN (0x4) + 0x000000000800ab4c __exidx_start = . *(.ARM.exidx*) - 0x000000000800982c __exidx_end = . - 0x000000000800982c . = ALIGN (0x4) + 0x000000000800ab4c __exidx_end = . + 0x000000000800ab4c . = ALIGN (0x4) -.preinit_array 0x000000000800982c 0x0 - 0x000000000800982c . = ALIGN (0x4) - 0x000000000800982c PROVIDE (__preinit_array_start = .) +.preinit_array 0x000000000800ab4c 0x0 + 0x000000000800ab4c . = ALIGN (0x4) + 0x000000000800ab4c PROVIDE (__preinit_array_start = .) *(.preinit_array*) - 0x000000000800982c PROVIDE (__preinit_array_end = .) - 0x000000000800982c . = ALIGN (0x4) + 0x000000000800ab4c PROVIDE (__preinit_array_end = .) + 0x000000000800ab4c . = ALIGN (0x4) -.init_array 0x000000000800982c 0x4 - 0x000000000800982c . = ALIGN (0x4) - 0x000000000800982c PROVIDE (__init_array_start = .) +.init_array 0x000000000800ab4c 0x4 + 0x000000000800ab4c . = ALIGN (0x4) + 0x000000000800ab4c PROVIDE (__init_array_start = .) *(SORT_BY_NAME(.init_array.*)) *(.init_array*) - .init_array 0x000000000800982c 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o - 0x0000000008009830 PROVIDE (__init_array_end = .) - 0x0000000008009830 . = ALIGN (0x4) + .init_array 0x000000000800ab4c 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o + 0x000000000800ab50 PROVIDE (__init_array_end = .) + 0x000000000800ab50 . = ALIGN (0x4) -.fini_array 0x0000000008009830 0x4 - 0x0000000008009830 . = ALIGN (0x4) +.fini_array 0x000000000800ab50 0x4 + 0x000000000800ab50 . = ALIGN (0x4) [!provide] PROVIDE (__fini_array_start = .) *(SORT_BY_NAME(.fini_array.*)) *(.fini_array*) - .fini_array 0x0000000008009830 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o + .fini_array 0x000000000800ab50 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o [!provide] PROVIDE (__fini_array_end = .) - 0x0000000008009834 . = ALIGN (0x4) - 0x0000000008009834 _sidata = LOADADDR (.data) + 0x000000000800ab54 . = ALIGN (0x4) + 0x000000000800ab54 _sidata = LOADADDR (.data) -.data 0x0000000020000000 0x1dc load address 0x0000000008009834 +.data 0x0000000020000000 0x1e0 load address 0x000000000800ab54 0x0000000020000000 . = ALIGN (0x4) 0x0000000020000000 _sdata = . *(.data) @@ -4105,79 +4216,93 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .data.__global_locale 0x0000000020000070 0x16c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-locale.o) 0x0000000020000070 __global_locale + .data.__fdlib_version + 0x00000000200001dc 0x1 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-s_lib_ver.o) + 0x00000000200001dc __fdlib_version *(.RamFunc) *(.RamFunc*) - 0x00000000200001dc . = ALIGN (0x4) - 0x00000000200001dc _edata = . + 0x00000000200001e0 . = ALIGN (0x4) + *fill* 0x00000000200001dd 0x3 + 0x00000000200001e0 _edata = . -.igot.plt 0x00000000200001dc 0x0 load address 0x0000000008009a10 - .igot.plt 0x00000000200001dc 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o - 0x00000000200001dc . = ALIGN (0x4) +.igot.plt 0x00000000200001e0 0x0 load address 0x000000000800ad34 + .igot.plt 0x00000000200001e0 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o + 0x00000000200001e0 . = ALIGN (0x4) -.bss 0x00000000200001dc 0x170 load address 0x0000000008009a10 - 0x00000000200001dc _sbss = . - 0x00000000200001dc __bss_start__ = _sbss +.bss 0x00000000200001e0 0x2284 load address 0x000000000800ad34 + 0x00000000200001e0 _sbss = . + 0x00000000200001e0 __bss_start__ = _sbss *(.bss) - .bss 0x00000000200001dc 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o + .bss 0x00000000200001e0 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtbegin.o *(.bss*) .bss.FSMC_Initialized - 0x00000000200001f8 0x4 ./Core/Src/stm32f1xx_hal_msp.o + 0x00000000200001fc 0x4 ./Core/Src/stm32f1xx_hal_msp.o .bss.__sbrk_heap_end - 0x00000000200001fc 0x4 ./Core/Src/sysmem.o + 0x0000000020000200 0x4 ./Core/Src/sysmem.o + .bss.g_fft_index + 0x0000000020000204 0x2 ./SW_APPs/APP_blood.o + 0x0000000020000204 g_fft_index + *fill* 0x0000000020000206 0x2 + .bss.g_blooddata + 0x0000000020000208 0x8 ./SW_APPs/APP_blood.o + 0x0000000020000208 g_blooddata .bss.__malloc_free_list - 0x0000000020000200 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-mallocr.o) - 0x0000000020000200 __malloc_free_list + 0x0000000020000210 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-mallocr.o) + 0x0000000020000210 __malloc_free_list .bss.__malloc_sbrk_start - 0x0000000020000204 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-mallocr.o) - 0x0000000020000204 __malloc_sbrk_start + 0x0000000020000214 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-mallocr.o) + 0x0000000020000214 __malloc_sbrk_start *(COMMON) - COMMON 0x0000000020000208 0x9c ./Core/Src/main.o - 0x0000000020000208 hi2c2 - 0x000000002000025c hsram1 - COMMON 0x00000000200002a4 0x4 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o - 0x00000000200002a4 uwTick - COMMON 0x00000000200002a8 0xa ./HW_Devices/LCD.o - 0x00000000200002a8 lcddev - *fill* 0x00000000200002b2 0x2 - COMMON 0x00000000200002b4 0x14 ./HW_Devices/eeprom.o - 0x00000000200002b4 eeprom_write_buffer - COMMON 0x00000000200002c8 0x28 ./HW_Devices/touch.o - 0x00000000200002c8 tconfig - 0x00000000200002e0 t0 - COMMON 0x00000000200002f0 0x4a ./SW_APPs/APP_blood.o - 0x00000000200002f0 blood_str - 0x0000000020000330 fifo_ir - 0x0000000020000334 blood_win - 0x0000000020000338 fifo_red - *fill* 0x000000002000033a 0x2 - COMMON 0x000000002000033c 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-reent.o) - 0x000000002000033c errno - COMMON 0x0000000020000340 0x9 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) - 0x0000000020000340 __lock___atexit_recursive_mutex - 0x0000000020000341 __lock___arc4random_mutex - 0x0000000020000342 __lock___env_recursive_mutex - 0x0000000020000343 __lock___sinit_recursive_mutex - 0x0000000020000344 __lock___malloc_recursive_mutex - 0x0000000020000345 __lock___at_quick_exit_mutex - 0x0000000020000346 __lock___dd_hash_mutex - 0x0000000020000347 __lock___tz_mutex - 0x0000000020000348 __lock___sfp_recursive_mutex - 0x000000002000034c . = ALIGN (0x4) - *fill* 0x0000000020000349 0x3 - 0x000000002000034c _ebss = . - 0x000000002000034c __bss_end__ = _ebss + COMMON 0x0000000020000218 0x9c ./Core/Src/main.o + 0x0000000020000218 hi2c2 + 0x000000002000026c hsram1 + COMMON 0x00000000200002b4 0x4 ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.o + 0x00000000200002b4 uwTick + COMMON 0x00000000200002b8 0xa ./HW_Devices/LCD.o + 0x00000000200002b8 lcddev + *fill* 0x00000000200002c2 0x2 + COMMON 0x00000000200002c4 0x14 ./HW_Devices/eeprom.o + 0x00000000200002c4 eeprom_write_buffer + COMMON 0x00000000200002d8 0x28 ./HW_Devices/touch.o + 0x00000000200002d8 tconfig + 0x00000000200002f0 t0 + COMMON 0x0000000020000300 0x2152 ./SW_APPs/APP_blood.o + 0x0000000020000300 blood_str + 0x0000000020000340 fifo_ir + 0x0000000020000344 blood_win + 0x0000000020000348 s1 + 0x00000000200013c8 s2 + 0x0000000020002448 g_BloodWave + 0x0000000020002450 fifo_red + *fill* 0x0000000020002452 0x2 + COMMON 0x0000000020002454 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-reent.o) + 0x0000000020002454 errno + COMMON 0x0000000020002458 0x9 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) + 0x0000000020002458 __lock___atexit_recursive_mutex + 0x0000000020002459 __lock___arc4random_mutex + 0x000000002000245a __lock___env_recursive_mutex + 0x000000002000245b __lock___sinit_recursive_mutex + 0x000000002000245c __lock___malloc_recursive_mutex + 0x000000002000245d __lock___at_quick_exit_mutex + 0x000000002000245e __lock___dd_hash_mutex + 0x000000002000245f __lock___tz_mutex + 0x0000000020002460 __lock___sfp_recursive_mutex + 0x0000000020002464 . = ALIGN (0x4) + *fill* 0x0000000020002461 0x3 + 0x0000000020002464 _ebss = . + 0x0000000020002464 __bss_end__ = _ebss ._user_heap_stack - 0x000000002000034c 0xc04 load address 0x0000000008009a10 - 0x0000000020000350 . = ALIGN (0x8) - *fill* 0x000000002000034c 0x4 + 0x0000000020002464 0xc04 load address 0x000000000800ad34 + 0x0000000020002468 . = ALIGN (0x8) + *fill* 0x0000000020002464 0x4 [!provide] PROVIDE (end = .) - 0x0000000020000350 PROVIDE (_end = .) - 0x0000000020000750 . = (. + _Min_Heap_Size) - *fill* 0x0000000020000350 0x400 - 0x0000000020000f50 . = (. + _Min_Stack_Size) - *fill* 0x0000000020000750 0x800 - 0x0000000020000f50 . = ALIGN (0x8) + 0x0000000020002468 PROVIDE (_end = .) + 0x0000000020002868 . = (. + _Min_Heap_Size) + *fill* 0x0000000020002468 0x400 + 0x0000000020003068 . = (. + _Min_Stack_Size) + *fill* 0x0000000020002868 0x800 + 0x0000000020003068 . = ALIGN (0x8) /DISCARD/ libc.a(*) @@ -4330,32 +4455,42 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .ARM.attributes 0x0000000000000c1c 0x2d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-readr.o) .ARM.attributes - 0x0000000000000c49 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubdf3.o) + 0x0000000000000c49 0x2d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) .ARM.attributes - 0x0000000000000c66 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivdf3.o) + 0x0000000000000c76 0x2d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-ef_sqrt.o) .ARM.attributes - 0x0000000000000c83 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpdf2.o) + 0x0000000000000ca3 0x2d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-s_lib_ver.o) .ARM.attributes - 0x0000000000000ca0 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unorddf2.o) + 0x0000000000000cd0 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubdf3.o) .ARM.attributes - 0x0000000000000cbd 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixdfsi.o) + 0x0000000000000ced 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivdf3.o) .ARM.attributes - 0x0000000000000cda 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_truncdfsf2.o) + 0x0000000000000d0a 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpdf2.o) .ARM.attributes - 0x0000000000000cf7 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubsf3.o) + 0x0000000000000d27 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unorddf2.o) .ARM.attributes - 0x0000000000000d14 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivsf3.o) + 0x0000000000000d44 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixdfsi.o) .ARM.attributes - 0x0000000000000d31 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixsfsi.o) + 0x0000000000000d61 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_truncdfsf2.o) .ARM.attributes - 0x0000000000000d4e 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtn.o + 0x0000000000000d7e 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubsf3.o) + .ARM.attributes + 0x0000000000000d9b 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivsf3.o) + .ARM.attributes + 0x0000000000000db8 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpsf2.o) + .ARM.attributes + 0x0000000000000dd5 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unordsf2.o) + .ARM.attributes + 0x0000000000000df2 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixsfsi.o) + .ARM.attributes + 0x0000000000000e0f 0x1d /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/crtn.o OUTPUT(m3s.elf elf32-littlearm) LOAD linker stubs LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc.a LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a -.debug_info 0x0000000000000000 0xcb14 +.debug_info 0x0000000000000000 0xd8e3 .debug_info 0x0000000000000000 0xda2 ./Core/Src/main.o .debug_info 0x0000000000000da2 0xc09 ./Core/Src/stm32f1xx_hal_msp.o .debug_info 0x00000000000019ab 0x222 ./Core/Src/stm32f1xx_it.o @@ -4374,11 +4509,11 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .debug_info 0x000000000000a60b 0x39b ./HW_Devices/eeprom.o .debug_info 0x000000000000a9a6 0x734 ./HW_Devices/iic.o .debug_info 0x000000000000b0da 0x8b1 ./HW_Devices/touch.o - .debug_info 0x000000000000b98b 0x455 ./SW_APPs/APP_blood.o - .debug_info 0x000000000000bde0 0x4cc ./SW_APPs/Main_APP.o - .debug_info 0x000000000000c2ac 0x868 ./SW_APPs/windows.o + .debug_info 0x000000000000b98b 0x1224 ./SW_APPs/APP_blood.o + .debug_info 0x000000000000cbaf 0x4cc ./SW_APPs/Main_APP.o + .debug_info 0x000000000000d07b 0x868 ./SW_APPs/windows.o -.debug_abbrev 0x0000000000000000 0x289b +.debug_abbrev 0x0000000000000000 0x2a70 .debug_abbrev 0x0000000000000000 0x24b ./Core/Src/main.o .debug_abbrev 0x000000000000024b 0x20b ./Core/Src/stm32f1xx_hal_msp.o .debug_abbrev 0x0000000000000456 0xd2 ./Core/Src/stm32f1xx_it.o @@ -4397,11 +4532,11 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .debug_abbrev 0x0000000000001cdb 0x1b6 ./HW_Devices/eeprom.o .debug_abbrev 0x0000000000001e91 0x176 ./HW_Devices/iic.o .debug_abbrev 0x0000000000002007 0x258 ./HW_Devices/touch.o - .debug_abbrev 0x000000000000225f 0x1cf ./SW_APPs/APP_blood.o - .debug_abbrev 0x000000000000242e 0x198 ./SW_APPs/Main_APP.o - .debug_abbrev 0x00000000000025c6 0x2d5 ./SW_APPs/windows.o + .debug_abbrev 0x000000000000225f 0x3a4 ./SW_APPs/APP_blood.o + .debug_abbrev 0x0000000000002603 0x198 ./SW_APPs/Main_APP.o + .debug_abbrev 0x000000000000279b 0x2d5 ./SW_APPs/windows.o -.debug_aranges 0x0000000000000000 0xb30 +.debug_aranges 0x0000000000000000 0xb78 .debug_aranges 0x0000000000000000 0x48 ./Core/Src/main.o .debug_aranges @@ -4439,13 +4574,13 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .debug_aranges 0x0000000000000a00 0x60 ./HW_Devices/touch.o .debug_aranges - 0x0000000000000a60 0x40 ./SW_APPs/APP_blood.o + 0x0000000000000a60 0x88 ./SW_APPs/APP_blood.o .debug_aranges - 0x0000000000000aa0 0x20 ./SW_APPs/Main_APP.o + 0x0000000000000ae8 0x20 ./SW_APPs/Main_APP.o .debug_aranges - 0x0000000000000ac0 0x70 ./SW_APPs/windows.o + 0x0000000000000b08 0x70 ./SW_APPs/windows.o -.debug_ranges 0x0000000000000000 0xa28 +.debug_ranges 0x0000000000000000 0xa70 .debug_ranges 0x0000000000000000 0x38 ./Core/Src/main.o .debug_ranges 0x0000000000000038 0x40 ./Core/Src/stm32f1xx_hal_msp.o .debug_ranges 0x0000000000000078 0x50 ./Core/Src/stm32f1xx_it.o @@ -4464,11 +4599,11 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .debug_ranges 0x00000000000008e0 0x40 ./HW_Devices/eeprom.o .debug_ranges 0x0000000000000920 0x18 ./HW_Devices/iic.o .debug_ranges 0x0000000000000938 0x50 ./HW_Devices/touch.o - .debug_ranges 0x0000000000000988 0x30 ./SW_APPs/APP_blood.o - .debug_ranges 0x00000000000009b8 0x10 ./SW_APPs/Main_APP.o - .debug_ranges 0x00000000000009c8 0x60 ./SW_APPs/windows.o + .debug_ranges 0x0000000000000988 0x78 ./SW_APPs/APP_blood.o + .debug_ranges 0x0000000000000a00 0x10 ./SW_APPs/Main_APP.o + .debug_ranges 0x0000000000000a10 0x60 ./SW_APPs/windows.o -.debug_macro 0x0000000000000000 0x1b6a6 +.debug_macro 0x0000000000000000 0x1ba4e .debug_macro 0x0000000000000000 0x1c1 ./Core/Src/main.o .debug_macro 0x00000000000001c1 0xa9c ./Core/Src/main.o .debug_macro 0x0000000000000c5d 0x21b ./Core/Src/main.o @@ -4571,15 +4706,18 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .debug_macro 0x000000000001a834 0x22 ./HW_Devices/touch.o .debug_macro 0x000000000001a856 0x391 ./HW_Devices/touch.o .debug_macro 0x000000000001abe7 0x10 ./HW_Devices/touch.o - .debug_macro 0x000000000001abf7 0x1e7 ./SW_APPs/APP_blood.o - .debug_macro 0x000000000001adde 0x391 ./SW_APPs/APP_blood.o - .debug_macro 0x000000000001b16f 0x94 ./SW_APPs/APP_blood.o - .debug_macro 0x000000000001b203 0x1f9 ./SW_APPs/Main_APP.o - .debug_macro 0x000000000001b3fc 0x28 ./SW_APPs/Main_APP.o - .debug_macro 0x000000000001b424 0x9a ./SW_APPs/Main_APP.o - .debug_macro 0x000000000001b4be 0x1e8 ./SW_APPs/windows.o + .debug_macro 0x000000000001abf7 0x2c7 ./SW_APPs/APP_blood.o + .debug_macro 0x000000000001aebe 0x1a9 ./SW_APPs/APP_blood.o + .debug_macro 0x000000000001b067 0xbd ./SW_APPs/APP_blood.o + .debug_macro 0x000000000001b124 0x56 ./SW_APPs/APP_blood.o + .debug_macro 0x000000000001b17a 0x391 ./SW_APPs/APP_blood.o + .debug_macro 0x000000000001b50b 0x9a ./SW_APPs/APP_blood.o + .debug_macro 0x000000000001b5a5 0x1f9 ./SW_APPs/Main_APP.o + .debug_macro 0x000000000001b79e 0x28 ./SW_APPs/Main_APP.o + .debug_macro 0x000000000001b7c6 0xa0 ./SW_APPs/Main_APP.o + .debug_macro 0x000000000001b866 0x1e8 ./SW_APPs/windows.o -.debug_line 0x0000000000000000 0xef31 +.debug_line 0x0000000000000000 0xf831 .debug_line 0x0000000000000000 0x872 ./Core/Src/main.o .debug_line 0x0000000000000872 0x7a3 ./Core/Src/stm32f1xx_hal_msp.o .debug_line 0x0000000000001015 0x76c ./Core/Src/stm32f1xx_it.o @@ -4598,11 +4736,11 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .debug_line 0x000000000000ba26 0x795 ./HW_Devices/eeprom.o .debug_line 0x000000000000c1bb 0x6bc ./HW_Devices/iic.o .debug_line 0x000000000000c877 0xb13 ./HW_Devices/touch.o - .debug_line 0x000000000000d38a 0x838 ./SW_APPs/APP_blood.o - .debug_line 0x000000000000dbc2 0x758 ./SW_APPs/Main_APP.o - .debug_line 0x000000000000e31a 0xc17 ./SW_APPs/windows.o + .debug_line 0x000000000000d38a 0x1138 ./SW_APPs/APP_blood.o + .debug_line 0x000000000000e4c2 0x758 ./SW_APPs/Main_APP.o + .debug_line 0x000000000000ec1a 0xc17 ./SW_APPs/windows.o -.debug_str 0x0000000000000000 0x95f1a +.debug_str 0x0000000000000000 0x96907 .debug_str 0x0000000000000000 0x8d10b ./Core/Src/main.o 0x8d5f0 (size before relaxing) .debug_str 0x000000000008d10b 0xc5 ./Core/Src/stm32f1xx_hal_msp.o @@ -4631,19 +4769,19 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id 0x8d1be (size before relaxing) .debug_str 0x00000000000946a4 0x7ef ./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.o 0x8d55f (size before relaxing) - .debug_str 0x0000000000094e93 0x81a ./HW_Devices/LCD.o + .debug_str 0x0000000000094e93 0x814 ./HW_Devices/LCD.o 0x8d518 (size before relaxing) - .debug_str 0x00000000000956ad 0x127 ./HW_Devices/eeprom.o + .debug_str 0x00000000000956a7 0x127 ./HW_Devices/eeprom.o 0x8ce13 (size before relaxing) - .debug_str 0x00000000000957d4 0x30 ./HW_Devices/iic.o + .debug_str 0x00000000000957ce 0x30 ./HW_Devices/iic.o 0x8d190 (size before relaxing) - .debug_str 0x0000000000095804 0x288 ./HW_Devices/touch.o + .debug_str 0x00000000000957fe 0x288 ./HW_Devices/touch.o 0x8d602 (size before relaxing) - .debug_str 0x0000000000095a8c 0x2d6 ./SW_APPs/APP_blood.o - 0x8d630 (size before relaxing) - .debug_str 0x0000000000095d62 0x98 ./SW_APPs/Main_APP.o - 0x8d77a (size before relaxing) - .debug_str 0x0000000000095dfa 0x120 ./SW_APPs/windows.o + .debug_str 0x0000000000095a86 0xcc9 ./SW_APPs/APP_blood.o + 0x9120d (size before relaxing) + .debug_str 0x000000000009674f 0x98 ./SW_APPs/Main_APP.o + 0x8d7c2 (size before relaxing) + .debug_str 0x00000000000967e7 0x120 ./SW_APPs/windows.o 0x8d658 (size before relaxing) .comment 0x0000000000000000 0x53 @@ -4669,7 +4807,7 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .comment 0x0000000000000053 0x54 ./SW_APPs/Main_APP.o .comment 0x0000000000000053 0x54 ./SW_APPs/windows.o -.debug_frame 0x0000000000000000 0x3e18 +.debug_frame 0x0000000000000000 0x40d4 .debug_frame 0x0000000000000000 0xcc ./Core/Src/main.o .debug_frame 0x00000000000000cc 0x108 ./Core/Src/stm32f1xx_hal_msp.o .debug_frame 0x00000000000001d4 0x104 ./Core/Src/stm32f1xx_it.o @@ -4687,60 +4825,64 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .debug_frame 0x0000000000002654 0x9c ./HW_Devices/eeprom.o .debug_frame 0x00000000000026f0 0x58 ./HW_Devices/iic.o .debug_frame 0x0000000000002748 0x164 ./HW_Devices/touch.o - .debug_frame 0x00000000000028ac 0xc4 ./SW_APPs/APP_blood.o - .debug_frame 0x0000000000002970 0x30 ./SW_APPs/Main_APP.o - .debug_frame 0x00000000000029a0 0x1b0 ./SW_APPs/windows.o - .debug_frame 0x0000000000002b50 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-errno.o) - .debug_frame 0x0000000000002b70 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-init.o) - .debug_frame 0x0000000000002b9c 0x30 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-malloc.o) - .debug_frame 0x0000000000002bcc 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memset.o) - .debug_frame 0x0000000000002bec 0x38 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-freer.o) - .debug_frame 0x0000000000002c24 0x30 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-mallocr.o) - .debug_frame 0x0000000000002c54 0x94 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) - .debug_frame 0x0000000000002ce8 0x60 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_i.o) - .debug_frame 0x0000000000002d48 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-sbrkr.o) - .debug_frame 0x0000000000002d74 0x6c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-sprintf.o) - .debug_frame 0x0000000000002de0 0x6c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) - .debug_frame 0x0000000000002e4c 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-localeconv.o) - .debug_frame 0x0000000000002e8c 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memchr-stub.o) - .debug_frame 0x0000000000002eb4 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memcpy-stub.o) - .debug_frame 0x0000000000002edc 0x30 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mlock.o) - .debug_frame 0x0000000000002f0c 0x254 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) - .debug_frame 0x0000000000003160 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-callocr.o) - .debug_frame 0x000000000000318c 0x90 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-svfprintf.o) - .debug_frame 0x000000000000321c 0x5c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-reent.o) - .debug_frame 0x0000000000003278 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-assert.o) - .debug_frame 0x00000000000032b8 0x64 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fprintf.o) - .debug_frame 0x000000000000331c 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-locale.o) - .debug_frame 0x0000000000003364 0xb0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) - .debug_frame 0x0000000000003414 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mbtowc_r.o) - .debug_frame 0x000000000000345c 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memmove.o) - .debug_frame 0x0000000000003484 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-reallocr.o) - .debug_frame 0x00000000000034c0 0xac /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) - .debug_frame 0x000000000000356c 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wbuf.o) - .debug_frame 0x00000000000035ac 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wctomb_r.o) - .debug_frame 0x00000000000035e8 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wsetup.o) - .debug_frame 0x0000000000003614 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-abort.o) - .debug_frame 0x000000000000363c 0x5c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fflush.o) - .debug_frame 0x0000000000003698 0x14c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) - .debug_frame 0x00000000000037e4 0x54 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fwalk.o) - .debug_frame 0x0000000000003838 0x58 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-makebuf.o) - .debug_frame 0x0000000000003890 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-msizer.o) - .debug_frame 0x00000000000038b0 0xcc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signal.o) - .debug_frame 0x000000000000397c 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signalr.o) - .debug_frame 0x00000000000039b8 0x88 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) - .debug_frame 0x0000000000003a40 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-writer.o) - .debug_frame 0x0000000000003a6c 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-closer.o) - .debug_frame 0x0000000000003a98 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fstatr.o) - .debug_frame 0x0000000000003ac4 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-isattyr.o) - .debug_frame 0x0000000000003af0 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lseekr.o) - .debug_frame 0x0000000000003b1c 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-readr.o) - .debug_frame 0x0000000000003b48 0xac /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubdf3.o) - .debug_frame 0x0000000000003bf4 0x50 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivdf3.o) - .debug_frame 0x0000000000003c44 0xc4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpdf2.o) - .debug_frame 0x0000000000003d08 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unorddf2.o) - .debug_frame 0x0000000000003d28 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixdfsi.o) - .debug_frame 0x0000000000003d4c 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_truncdfsf2.o) - .debug_frame 0x0000000000003d70 0x4c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubsf3.o) - .debug_frame 0x0000000000003dbc 0x38 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivsf3.o) - .debug_frame 0x0000000000003df4 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixsfsi.o) + .debug_frame 0x00000000000028ac 0x23c ./SW_APPs/APP_blood.o + .debug_frame 0x0000000000002ae8 0x30 ./SW_APPs/Main_APP.o + .debug_frame 0x0000000000002b18 0x1b0 ./SW_APPs/windows.o + .debug_frame 0x0000000000002cc8 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-errno.o) + .debug_frame 0x0000000000002ce8 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-init.o) + .debug_frame 0x0000000000002d14 0x30 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-malloc.o) + .debug_frame 0x0000000000002d44 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memset.o) + .debug_frame 0x0000000000002d64 0x38 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-freer.o) + .debug_frame 0x0000000000002d9c 0x30 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-mallocr.o) + .debug_frame 0x0000000000002dcc 0x94 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_float.o) + .debug_frame 0x0000000000002e60 0x60 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf_i.o) + .debug_frame 0x0000000000002ec0 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-sbrkr.o) + .debug_frame 0x0000000000002eec 0x6c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-sprintf.o) + .debug_frame 0x0000000000002f58 0x6c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-dtoa.o) + .debug_frame 0x0000000000002fc4 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-localeconv.o) + .debug_frame 0x0000000000003004 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memchr-stub.o) + .debug_frame 0x000000000000302c 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memcpy-stub.o) + .debug_frame 0x0000000000003054 0x30 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mlock.o) + .debug_frame 0x0000000000003084 0x254 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mprec.o) + .debug_frame 0x00000000000032d8 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-callocr.o) + .debug_frame 0x0000000000003304 0x90 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-svfprintf.o) + .debug_frame 0x0000000000003394 0x5c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-reent.o) + .debug_frame 0x00000000000033f0 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-assert.o) + .debug_frame 0x0000000000003430 0x64 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fprintf.o) + .debug_frame 0x0000000000003494 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-locale.o) + .debug_frame 0x00000000000034dc 0xb0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lock.o) + .debug_frame 0x000000000000358c 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-mbtowc_r.o) + .debug_frame 0x00000000000035d4 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-memmove.o) + .debug_frame 0x00000000000035fc 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-reallocr.o) + .debug_frame 0x0000000000003638 0xac /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-vfprintf.o) + .debug_frame 0x00000000000036e4 0x40 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wbuf.o) + .debug_frame 0x0000000000003724 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wctomb_r.o) + .debug_frame 0x0000000000003760 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-wsetup.o) + .debug_frame 0x000000000000378c 0x28 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-abort.o) + .debug_frame 0x00000000000037b4 0x5c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fflush.o) + .debug_frame 0x0000000000003810 0x14c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-findfp.o) + .debug_frame 0x000000000000395c 0x54 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fwalk.o) + .debug_frame 0x00000000000039b0 0x58 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-makebuf.o) + .debug_frame 0x0000000000003a08 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-nano-msizer.o) + .debug_frame 0x0000000000003a28 0xcc /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signal.o) + .debug_frame 0x0000000000003af4 0x3c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-signalr.o) + .debug_frame 0x0000000000003b30 0x88 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-stdio.o) + .debug_frame 0x0000000000003bb8 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-writer.o) + .debug_frame 0x0000000000003be4 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-closer.o) + .debug_frame 0x0000000000003c10 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-fstatr.o) + .debug_frame 0x0000000000003c3c 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-isattyr.o) + .debug_frame 0x0000000000003c68 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-lseekr.o) + .debug_frame 0x0000000000003c94 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(lib_a-readr.o) + .debug_frame 0x0000000000003cc0 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-wf_sqrt.o) + .debug_frame 0x0000000000003cec 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libm.a(lib_a-ef_sqrt.o) + .debug_frame 0x0000000000003d18 0xac /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubdf3.o) + .debug_frame 0x0000000000003dc4 0x50 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivdf3.o) + .debug_frame 0x0000000000003e14 0xc4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpdf2.o) + .debug_frame 0x0000000000003ed8 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unorddf2.o) + .debug_frame 0x0000000000003ef8 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixdfsi.o) + .debug_frame 0x0000000000003f1c 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_truncdfsf2.o) + .debug_frame 0x0000000000003f40 0x4c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_addsubsf3.o) + .debug_frame 0x0000000000003f8c 0x38 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_muldivsf3.o) + .debug_frame 0x0000000000003fc4 0xc8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_cmpsf2.o) + .debug_frame 0x000000000000408c 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_unordsf2.o) + .debug_frame 0x00000000000040b0 0x24 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-m/nofp/libgcc.a(_arm_fixsfsi.o) diff --git a/SW_APPs/APP_blood.c b/SW_APPs/APP_blood.c index a184b1a..75dd39f 100644 --- a/SW_APPs/APP_blood.c +++ b/SW_APPs/APP_blood.c @@ -4,13 +4,17 @@ * Created on: 2021年8月21日 * Author: wuwenfeng */ - +#include "math.h" #include "APP_blood.h" #include "iic.h" +#include "FFT.h" + window *blood_win; uint16_t fifo_red; uint16_t fifo_ir; char blood_str[64]; +uint16_t g_fft_index = 0; //fft输入输出下标 + uint8_t Max30102_reset(void) { char a=0x40; @@ -63,7 +67,7 @@ void max30102_read_fifo(void) fifo_red+=un_temp; un_temp=ach_i2c_data[2]; un_temp>>=2; - fifo_red+=un_temp; + fifo_red+=un_temp; un_temp=ach_i2c_data[3]; un_temp<<=14; @@ -73,7 +77,7 @@ void max30102_read_fifo(void) fifo_ir+=un_temp; un_temp=ach_i2c_data[5]; un_temp>>=2; - fifo_ir+=un_temp; + fifo_ir+=un_temp; if(fifo_ir<=10000) { @@ -89,21 +93,391 @@ void max30102_read_fifo(void) void APP_blood_init(window *a_window) { blood_win=a_window; + HAL_GPIO_WritePin(MAX_RD_GPIO_Port, MAX_RD_Pin, 0); + HAL_GPIO_WritePin(MAX_IRD_GPIO_Port, MAX_IRD_Pin, 0); + Max30102_reset(); MAX30102_Config(); - //HAL_GPIO_WritePin(MAX_RD_GPIO_Port, MAX_RD_Pin, 0); + /* + for(int i = 0;i < 128;i++) + { + while(MAX30102_INTPin_Read()==0) + { + //读取FIFO + max30102_read_fifo(); + } + } + */ } +struct +{ + float Hp ; //血红蛋白 + float HpO2; //氧合血红蛋白 + +}g_BloodWave;//血液波形数据 +typedef enum +{ + BLD_NORMAL, //正常 + BLD_ERROR, //侦测错误 + +}BloodState;//血液状态 + +typedef struct +{ + int heart; //心率数据 + float SpO2; //血氧数据 +}BloodData; +struct compx //定义一个复数结构 +{ + float real; + float imag; +}; + +#define CORRECTED_VALUE 47 //标定血液氧气含量 + +/*base value define-----------------------------------------------------------*/ +#define XPI (3.1415926535897932384626433832795) +#define XENTRY (100) +#define XINCL (XPI/2/XENTRY) +#define PI 3.1415926535897932384626433832795028841971 //定义圆周率值 + +/*Global data space ----------------------------------------------------------*/ +//正弦值对应表 +static const double XSinTbl[] = { + 0.00000000000000000 , 0.015707317311820675 , 0.031410759078128292 , 0.047106450709642665 , 0.062790519529313374 , + 0.078459095727844944 , 0.094108313318514325 , 0.10973431109104528 , 0.12533323356430426 , 0.14090123193758267 , + 0.15643446504023087 , 0.17192910027940955 , 0.18738131458572463 , 0.20278729535651249 , 0.21814324139654256 , + 0.23344536385590542 , 0.24868988716485479 , 0.26387304996537292 , 0.27899110603922928 , 0.29404032523230400 , + 0.30901699437494740 , 0.32391741819814940 , 0.33873792024529142 , 0.35347484377925714 , 0.36812455268467797 , + 0.38268343236508978 , 0.39714789063478062 , 0.41151435860510882 , 0.42577929156507272 , 0.43993916985591514 , + 0.45399049973954680 , 0.46792981426057340 , 0.48175367410171532 , 0.49545866843240760 , 0.50904141575037132 , + 0.52249856471594880 , 0.53582679497899666 , 0.54902281799813180 , 0.56208337785213058 , 0.57500525204327857 , + 0.58778525229247314 , 0.60042022532588402 , 0.61290705365297649 , 0.62524265633570519 , 0.63742398974868975 , + 0.64944804833018377 , 0.66131186532365183 , 0.67301251350977331 , 0.68454710592868873 , 0.69591279659231442 , + 0.70710678118654757 , 0.71812629776318881 , 0.72896862742141155 , 0.73963109497860968 , 0.75011106963045959 , + 0.76040596560003104 , 0.77051324277578925 , 0.78043040733832969 , 0.79015501237569041 , 0.79968465848709058 , + 0.80901699437494745 , 0.81814971742502351 , 0.82708057427456183 , 0.83580736136827027 , 0.84432792550201508 , + 0.85264016435409218 , 0.86074202700394364 , 0.86863151443819120 , 0.87630668004386369 , 0.88376563008869347 , + 0.89100652418836779 , 0.89802757576061565 , 0.90482705246601958 , 0.91140327663544529 , 0.91775462568398114 , + 0.92387953251128674 , 0.92977648588825146 , 0.93544403082986738 , 0.94088076895422557 , 0.94608535882754530 , + 0.95105651629515353 , 0.95579301479833012 , 0.96029368567694307 , 0.96455741845779808 , 0.96858316112863108 , + 0.97236992039767667 , 0.97591676193874743 , 0.97922281062176575 , 0.98228725072868872 , 0.98510932615477398 , + 0.98768834059513777 , 0.99002365771655754 , 0.99211470131447788 , 0.99396095545517971 , 0.99556196460308000 , + 0.99691733373312796 , 0.99802672842827156 , 0.99888987496197001 , 0.99950656036573160 , 0.99987663248166059 , + 1.00000000000000000 }; + +BloodData g_blooddata = {0}; //血液数据存储 +#define FFT_N 512 //定义傅里叶变换的点数 +#define START_INDEX 4 //低频过滤阈值 +struct compx s1[FFT_N+16]; //FFT输入和输出:从S[1]开始存放,根据大小自己定义 +struct compx s2[FFT_N+16]; //FFT输入和输出:从S[1]开始存放,根据大小自己定义 + +//向下取整 +double my_floor(double x) +{ + double y=x; + if( (*( ( (int *) &y)+1) & 0x80000000) != 0) //或者if(x<0) + return (float)((int)x)-1; + else + return (float)((int)x); +} + +//求余运算 +double my_fmod(double x, double y) +{ + double temp, ret; + + if (y == 0.0) + return 0.0; + temp = my_floor(x/y); + ret = x - temp * y; + if ((x < 0.0) != (y < 0.0)) + ret = ret - y; + return ret; +} + +//正弦函数 +double XSin( double x ) +{ + int s = 0 , n; + double dx , sx , cx; + if( x < 0 ) + s = 1 , x = -x; + x = my_fmod( x , 2 * XPI ); + if( x > XPI ) + s = !s , x -= XPI; + if( x > XPI / 2 ) + x = XPI - x; + n = (int)( x / XINCL ); + dx = x - n * XINCL; + if( dx > XINCL / 2 ) + ++n , dx -= XINCL; + sx = XSinTbl[n]; + cx = XSinTbl[XENTRY-n]; + x = sx + dx*cx - (dx*dx)*sx/2 + - (dx*dx*dx)*cx/6 + + (dx*dx*dx*dx)*sx/24; + + return s ? -x : x; +} + +//余弦函数 +double XCos( double x ) +{ + return XSin( x + XPI/2 ); +} + +//开平方 +int qsqrt(int a) +{ + uint32_t rem = 0, root = 0, divisor = 0; + uint16_t i; + for(i=0; i<16; i++) + { + root <<= 1; + rem = ((rem << 2) + (a>>30)); + a <<= 2; + divisor = (root << 1) + 1; + if(divisor <= rem) + { + rem -= divisor; + root++; + } + } + return root; +} + +/*********************************FFT********************************* + 快速傅里叶变换C函数 +函数简介:此函数是通用的快速傅里叶变换C语言函数,移植性强,以下部分不依 + 赖硬件。此函数采用联合体的形式表示一个复数,输入为自然顺序的复 + 数(输入实数是可令复数虚部为0),输出为经过FFT变换的自然顺序的 + 复数 +使用说明:使用此函数只需更改宏定义FFT_N的值即可实现点数的改变,FFT_N的 + 应该为2的N次方,不满足此条件时应在后面补0 +函数调用:FFT(s); +时 间:2010-2-20 +版 本:Ver1.0 +参考文献: +**********************************************************************/ + +/******************************************************************* +函数原型:struct compx EE(struct compx b1,struct compx b2) +函数功能:对两个复数进行乘法运算 +输入参数:两个以联合体定义的复数a,b +输出参数:a和b的乘积,以联合体的形式输出 +*******************************************************************/ +struct compx EE(struct compx a,struct compx b) +{ + struct compx c; + c.real=a.real*b.real-a.imag*b.imag; + c.imag=a.real*b.imag+a.imag*b.real; + return(c); +} +/***************************************************************** +函数原型:void FFT(struct compx *xin,int N) +函数功能:对输入的复数组进行快速傅里叶变换(FFT) +输入参数:*xin复数结构体组的首地址指针,struct型 +*****************************************************************/ +void FFT(struct compx *xin) +{ + int f,m,nv2,nm1,i,k,l,j=0; + struct compx u,w,t; + + nv2=FFT_N/2; //变址运算,即把自然顺序变成倒位序,采用雷德算法 + nm1=FFT_N-1; + for(i=0;ix, blood_win->y+16, &blood_str, 16, WHITE, RED); sprintf(blood_str,"fifo_ir:%d",fifo_ir); LCD_ShowString(blood_win->x, blood_win->y+32, &blood_str, 16, WHITE, RED); - sprintf(blood_str,"INT:%d",HAL_GPIO_ReadPin(MAX_INT_GPIO_Port, MAX_INT_Pin)); + + sprintf(blood_str,"heart:%04d",g_blooddata.heart); LCD_ShowString(blood_win->x, blood_win->y+48, &blood_str, 16, WHITE, RED); + sprintf(blood_str,"SpO2:%2.2f ",g_blooddata.SpO2); + LCD_ShowString(blood_win->x, blood_win->y+64, &blood_str, 16, WHITE, RED); + sprintf(blood_str,"INT:%d",MAX30102_INTPin_Read()); + LCD_ShowString(blood_win->x, blood_win->y+80, &blood_str, 16, WHITE, RED); } diff --git a/SW_APPs/APP_blood.h b/SW_APPs/APP_blood.h index 81d29f7..c06c787 100644 --- a/SW_APPs/APP_blood.h +++ b/SW_APPs/APP_blood.h @@ -11,6 +11,8 @@ #include "windows.h" #include "LCD.h" +#define MAX30102_INTPin_Read() HAL_GPIO_ReadPin(MAX_INT_GPIO_Port, MAX_INT_Pin) + #define MAX30102_Device_address 0xAE //register addresses #define REG_INTR_STATUS_1 0x00 diff --git a/SW_APPs/FFT.C b/SW_APPs/FFT.C new file mode 100644 index 0000000..66496cd --- /dev/null +++ b/SW_APPs/FFT.C @@ -0,0 +1,9 @@ +/* + * FFT.C + * + * Created on: 2021年8月22日 + * Author: wuwenfeng + */ + +#include "FFT.h" + diff --git a/SW_APPs/FFT.h b/SW_APPs/FFT.h new file mode 100644 index 0000000..6ab1ff8 --- /dev/null +++ b/SW_APPs/FFT.h @@ -0,0 +1,14 @@ +/* + * FFT.h + * + * Created on: 2021年8月22日 + * Author: wuwenfeng + */ + +#ifndef FFT_H_ +#define FFT_H_ +#include "main.h" + + + +#endif /* FFT_H_ */ diff --git a/m3s.ioc b/m3s.ioc index 9fbd03b..9f5e4e0 100644 --- a/m3s.ioc +++ b/m3s.ioc @@ -91,8 +91,9 @@ PB12.GPIO_Speed=GPIO_SPEED_FREQ_HIGH PB12.Locked=true PB12.PinState=GPIO_PIN_SET PB12.Signal=GPIO_Output -PB13.GPIOParameters=GPIO_Label +PB13.GPIOParameters=GPIO_PuPd,GPIO_Label PB13.GPIO_Label=MAX_INT +PB13.GPIO_PuPd=GPIO_PULLUP PB13.Locked=true PB13.Signal=GPIO_Input PB14.GPIOParameters=GPIO_Speed,PinState,GPIO_PuPd,GPIO_Label