12953 lines
589 KiB
Plaintext
12953 lines
589 KiB
Plaintext
|
|
mppt_Nos_V0.4.elf: file format elf32-littleriscv
|
|
mppt_Nos_V0.4.elf
|
|
architecture: riscv:rv32, flags 0x00000112:
|
|
EXEC_P, HAS_SYMS, D_PAGED
|
|
start address 0x00000000
|
|
|
|
Program Header:
|
|
LOAD off 0x00001000 vaddr 0x00000000 paddr 0x00000000 align 2**12
|
|
filesz 0x00008ef0 memsz 0x00008ef0 flags r-x
|
|
LOAD off 0x0000a000 vaddr 0x20000000 paddr 0x00008ef0 align 2**12
|
|
filesz 0x00000188 memsz 0x00001528 flags rw-
|
|
LOAD off 0x0000a800 vaddr 0x20004800 paddr 0x20004800 align 2**12
|
|
filesz 0x00000000 memsz 0x00000800 flags rw-
|
|
|
|
Sections:
|
|
Idx Name Size VMA LMA File off Algn
|
|
0 .init 00000004 00000000 00000000 00001000 2**1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
1 .vector 0000013c 00000004 00000004 00001004 2**1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
2 .text 00008db0 00000140 00000140 00001140 2**3
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 00008ef0 00008ef0 0000a188 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 0000a188 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 00008ef0 00008ef0 0000a188 2**0
|
|
CONTENTS
|
|
6 .data 00000188 20000000 00008ef0 0000a000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 000013a0 20000188 00009078 0000a188 2**2
|
|
ALLOC
|
|
8 .stack 00000800 20004800 20004800 0000a800 2**0
|
|
ALLOC
|
|
9 .debug_info 0002183f 00000000 00000000 0000a188 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 0000567e 00000000 00000000 0002b9c7 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_aranges 00000f00 00000000 00000000 00031048 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_ranges 00001128 00000000 00000000 00031f48 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_line 0001474f 00000000 00000000 00033070 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_str 00004ae0 00000000 00000000 000477bf 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .comment 00000033 00000000 00000000 0004c29f 2**0
|
|
CONTENTS, READONLY
|
|
16 .debug_frame 000033bc 00000000 00000000 0004c2d4 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
17 .debug_loc 0000682e 00000000 00000000 0004f690 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
18 .stab 00000084 00000000 00000000 00055ec0 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
19 .stabstr 00000117 00000000 00000000 00055f44 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
SYMBOL TABLE:
|
|
00000000 l d .init 00000000 .init
|
|
00000004 l d .vector 00000000 .vector
|
|
00000140 l d .text 00000000 .text
|
|
00008ef0 l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
00008ef0 l d .dlalign 00000000 .dlalign
|
|
20000000 l d .data 00000000 .data
|
|
20000188 l d .bss 00000000 .bss
|
|
20004800 l d .stack 00000000 .stack
|
|
00000000 l d .debug_info 00000000 .debug_info
|
|
00000000 l d .debug_abbrev 00000000 .debug_abbrev
|
|
00000000 l d .debug_aranges 00000000 .debug_aranges
|
|
00000000 l d .debug_ranges 00000000 .debug_ranges
|
|
00000000 l d .debug_line 00000000 .debug_line
|
|
00000000 l d .debug_str 00000000 .debug_str
|
|
00000000 l d .comment 00000000 .comment
|
|
00000000 l d .debug_frame 00000000 .debug_frame
|
|
00000000 l d .debug_loc 00000000 .debug_loc
|
|
00000000 l d .stab 00000000 .stab
|
|
00000000 l d .stabstr 00000000 .stabstr
|
|
00000000 l df *ABS* 00000000 ./Startup/startup_ch32l103.o
|
|
00000004 l .vector 00000000 _vector_base
|
|
00000000 l df *ABS* 00000000 ch32l103_it.c
|
|
00000000 l df *ABS* 00000000 main.c
|
|
00000000 l df *ABS* 00000000 system_ch32l103.c
|
|
00000000 l df *ABS* 00000000 ch32l103_adc.c
|
|
00000000 l df *ABS* 00000000 ch32l103_dbgmcu.c
|
|
00000000 l df *ABS* 00000000 ch32l103_exti.c
|
|
00000000 l df *ABS* 00000000 ch32l103_gpio.c
|
|
00000000 l df *ABS* 00000000 ch32l103_misc.c
|
|
00000000 l df *ABS* 00000000 ch32l103_rcc.c
|
|
20000010 l O .data 00000010 PBHBPrescTable
|
|
2000016c l O .data 00000004 ADCPrescTable
|
|
00000000 l df *ABS* 00000000 ch32l103_spi.c
|
|
00000000 l df *ABS* 00000000 ch32l103_tim.c
|
|
00000000 l df *ABS* 00000000 ch32l103_usart.c
|
|
00000000 l df *ABS* 00000000 adc.c
|
|
00000000 l df *ABS* 00000000 flash.c
|
|
00000000 l df *ABS* 00000000 gpio.c
|
|
00000000 l df *ABS* 00000000 pwm.c
|
|
00000000 l df *ABS* 00000000 rs485.c
|
|
00000000 l df *ABS* 00000000 tim.c
|
|
00000000 l df *ABS* 00000000 timeSliceOffset.c
|
|
200001a8 l O .bss 00000004 pTimeSliceList
|
|
00000000 l df *ABS* 00000000 ring_queue.c
|
|
00000000 l df *ABS* 00000000 debug.c
|
|
200001ac l O .bss 00000002 p_ms
|
|
200001ae l O .bss 00000002 p_us
|
|
20000170 l O .data 00000004 curbrk.5007
|
|
00000000 l df *ABS* 00000000 collect_Conversion.c
|
|
00001f88 l F .text 00000092 middleAverageFilter
|
|
00000000 l df *ABS* 00000000 inflash.c
|
|
00000000 l df *ABS* 00000000 mppt_control.c
|
|
200001b0 l O .bss 00000004 ConstantCurrentV.5836
|
|
200001b4 l O .bss 00000004 ConstantVoltageChargeV.5814
|
|
200001b8 l O .bss 00000004 ConstantVoltageV.5837
|
|
200001bc l O .bss 00000004 FloatChargeV.5819
|
|
200001c0 l O .bss 00000004 FloatI.5838
|
|
200001c4 l O .bss 00000004 StopSolarOpenCircuitV.5839
|
|
200001c8 l O .bss 00000004 TrickleChargeC.5806
|
|
20000178 l O .data 00000001 onlyOnce.5807
|
|
20000179 l O .data 00000001 onlyOnce.5815
|
|
2000017a l O .data 00000001 onlyOnce.5820
|
|
2000017b l O .data 00000001 only_once.5840
|
|
00000000 l df *ABS* 00000000 sl_protocol.c
|
|
00002928 l F .text 0000002e SL_ReadRegisterMPPTMode
|
|
00002956 l F .text 00000028 SL_ReadRegisterDischargMosState
|
|
0000297e l F .text 00000042 SL_ReadRegisterHighSideMosTemperature
|
|
000029c0 l F .text 00000042 SL_ReadRegisterSolarOpenCircuitVoltage
|
|
00002a02 l F .text 00000040 SL_ReadRegisterDischargCurrent
|
|
00002a42 l F .text 00000040 SL_ReadRegisterChargCurrent
|
|
00002a82 l F .text 00000040 SL_ReadRegisterBatteryVoltage
|
|
00002ac2 l F .text 00000060 SL_MsgProcFunc_Registration_request
|
|
00002b22 l F .text 00000038 SL_MsgProcFunc_Broadcast_Scan
|
|
00002b5a l F .text 00000056 SL_MsgProcFunc_Write_Register
|
|
00002c94 l F .text 0000009e SL_MsgProcFunc_Remote_Upgrade
|
|
00002d32 l F .text 0000009e SL_MsgProcFunc_Update_Profile
|
|
00002dd0 l F .text 00000194 SL_MsgProcFunc_Read_Register
|
|
2000124c l O .bss 00000032 rs485_buff
|
|
00000000 l df *ABS* 00000000 task.c
|
|
200001ce l O .bss 00000002 checkRegisterRefreshTimeFlag.6456
|
|
200001d0 l O .bss 00000002 checkSolarOpenCircuitVTimeFlag.6433
|
|
200001d4 l O .bss 00000004 currOne.6481
|
|
200001d8 l O .bss 00000004 currTwo.6483
|
|
200001dc l O .bss 00000004 dutyRatio.6440
|
|
200001e0 l O .bss 00000004 enabBroadcastTimeFlag.6504
|
|
200001e5 l O .bss 00000001 flag.6427
|
|
200001f5 l O .bss 00000001 num.6428
|
|
200001f6 l O .bss 00000002 num.6439
|
|
200001f8 l O .bss 00000001 num.6480
|
|
200001f9 l O .bss 00000001 num.6491
|
|
200001fa l O .bss 00000001 num.6497
|
|
200001fc l O .bss 00000002 numLong.6498
|
|
20000201 l O .bss 00000001 run_number.6466
|
|
20000204 l O .bss 00000004 temp.6450
|
|
20000208 l O .bss 00000004 voltOne.6482
|
|
2000017c l O .data 00000001 only_once.6434
|
|
00000000 l df *ABS* 00000000 uart_dev.c
|
|
00004332 l F .text 00000046 uart_putchar
|
|
20001330 l O .bss 000000c8 bat485_in_buff
|
|
200013f8 l O .bss 0000012c gw485_in_buff
|
|
00000000 l df *ABS* 00000000 adddf3.c
|
|
00000000 l df *ABS* 00000000 gedf2.c
|
|
00000000 l df *ABS* 00000000 ledf2.c
|
|
00000000 l df *ABS* 00000000 muldf3.c
|
|
00000000 l df *ABS* 00000000 subdf3.c
|
|
00000000 l df *ABS* 00000000 floatsidf.c
|
|
00000000 l df *ABS* 00000000 addsf3.c
|
|
00000000 l df *ABS* 00000000 divsf3.c
|
|
00000000 l df *ABS* 00000000 eqsf2.c
|
|
00000000 l df *ABS* 00000000 gesf2.c
|
|
00000000 l df *ABS* 00000000 lesf2.c
|
|
00000000 l df *ABS* 00000000 mulsf3.c
|
|
00000000 l df *ABS* 00000000 subsf3.c
|
|
00000000 l df *ABS* 00000000 fixsfsi.c
|
|
00000000 l df *ABS* 00000000 fixunssfsi.c
|
|
00000000 l df *ABS* 00000000 floatsisf.c
|
|
00000000 l df *ABS* 00000000 floatunsisf.c
|
|
00000000 l df *ABS* 00000000 extendsfdf2.c
|
|
00000000 l df *ABS* 00000000 truncdfsf2.c
|
|
00000000 l df *ABS* 00000000 libgcc2.c
|
|
00000000 l df *ABS* 00000000 memcpy.c
|
|
00000000 l df *ABS* 00000000 printf.c
|
|
00000000 l df *ABS* 00000000 puts.c
|
|
00000000 l df *ABS* 00000000 rand.c
|
|
00000000 l df *ABS* 00000000 sprintf.c
|
|
00000000 l df *ABS* 00000000 wbuf.c
|
|
00000000 l df *ABS* 00000000 wsetup.c
|
|
00000000 l df *ABS* 00000000 fflush.c
|
|
00000000 l df *ABS* 00000000 findfp.c
|
|
0000729a l F .text 00000066 std
|
|
00000000 l df *ABS* 00000000 fwalk.c
|
|
00000000 l df *ABS* 00000000 makebuf.c
|
|
00000000 l df *ABS* 00000000 malloc.c
|
|
00000000 l df *ABS* 00000000 nano-mallocr.c
|
|
00000000 l df *ABS* 00000000 nano-mallocr.c
|
|
00000000 l df *ABS* 00000000 nano-vfprintf.c
|
|
00000000 l df *ABS* 00000000 nano-vfprintf.c
|
|
00007a8a l F .text 00000028 __sfputc_r
|
|
00000000 l df *ABS* 00000000 nano-vfprintf_i.c
|
|
00000000 l df *ABS* 00000000 sbrkr.c
|
|
00000000 l df *ABS* 00000000 stdio.c
|
|
00000000 l df *ABS* 00000000 writer.c
|
|
00000000 l df *ABS* 00000000 closer.c
|
|
00000000 l df *ABS* 00000000 fstatr.c
|
|
00000000 l df *ABS* 00000000 isattyr.c
|
|
00000000 l df *ABS* 00000000 lseekr.c
|
|
00000000 l df *ABS* 00000000 memchr.c
|
|
00000000 l df *ABS* 00000000 memmove.c
|
|
00000000 l df *ABS* 00000000 mlock.c
|
|
00000000 l df *ABS* 00000000 nano-mallocr.c
|
|
00000000 l df *ABS* 00000000 readr.c
|
|
00000000 l df *ABS* 00000000 nano-mallocr.c
|
|
00000000 l df *ABS* 00000000 close.c
|
|
00000000 l df *ABS* 00000000 fstat.c
|
|
00000000 l df *ABS* 00000000 isatty.c
|
|
00000000 l df *ABS* 00000000 lseek.c
|
|
00000000 l df *ABS* 00000000 read.c
|
|
00000000 l df *ABS* 00000000 libgcc2.c
|
|
00000000 l df *ABS* 00000000 impure.c
|
|
20000104 l O .data 00000060 impure_data
|
|
00000000 l df *ABS* 00000000 reent.c
|
|
000083f0 g F .text 00000014 _malloc_usable_size_r
|
|
0000176a g F .text 00000042 EXTI2_IRQHandler
|
|
200001e4 g O .bss 00000001 excessiveLoadFlag
|
|
0000829e g F .text 00000030 _isatty_r
|
|
00001d8a g F .text 00000022 TimeSliceOffset_Start
|
|
000017ac g F .text 0000005a WORK_VOLT_INT_Init
|
|
00006d4a g F .text 000000d4 _puts_r
|
|
000082ce g F .text 00000034 _lseek_r
|
|
00001b8e g F .text 0000005c TIM3_Int_Init
|
|
00001ae8 g F .text 0000001a USARTx_SendByte
|
|
20000020 g O .data 00000032 g_slConfigInfo
|
|
00004378 g F .text 0000005a uart_dev_init
|
|
0000404a g F .text 00000050 Task_sensorEnableBroadcast
|
|
00001560 g F .text 00000052 SPI_Flash_Write_NoCheck
|
|
2000017d g O .data 00000001 run_Broadcast
|
|
00002366 g F .text 00000066 mppt_constantCurrentO
|
|
000009e2 g F .text 0000000a GPIO_ReadOutputDataBit
|
|
00006d0a g F .text 00000040 printf
|
|
20000968 g .data 00000000 __global_pointer$
|
|
00000148 g F .text 00000028 .hidden __riscv_save_8
|
|
00000440 w .text 00000000 TIM1_CC_IRQHandler
|
|
000081d0 g F .text 00000030 __sseek
|
|
00001444 g F .text 0000004c SPI_Flash_Erase_Sector
|
|
00007350 g F .text 0000006c __sinit
|
|
00000ecc g F .text 00000004 SPI_I2S_SendData
|
|
00006f4c g F .text 000000bc __swbuf_r
|
|
0000024a g F .text 00000002 HardFault_Handler
|
|
0000730a g F .text 00000046 __sfmoreglue
|
|
00008362 g F .text 00000002 __malloc_unlock
|
|
00001de4 g F .text 0000002c InRingQueue
|
|
00000440 w .text 00000000 USBPD_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_3
|
|
00005d4c g F .text 000002b2 .hidden __divsf3
|
|
00001c3c g F .text 00000058 TIM2_Int_Init
|
|
00002f64 g F .text 00000032 FRT_MsgHandler
|
|
00001cde g F .text 0000000e SysTick_Handler
|
|
0000056c g F .text 0000000a ADC_StartCalibration
|
|
00004498 g F .text 00000018 uart_dev_char_present
|
|
00000ce8 g F .text 00000054 NVIC_Init
|
|
200001fe g O .bss 00000001 outputAgainFlag
|
|
00000440 w .text 00000000 PVD_IRQHandler
|
|
0000831a g F .text 00000046 memmove
|
|
000020e6 g F .text 00000044 get_PV1_VOLT_IN
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_10
|
|
00000ed0 g F .text 00000004 SPI_I2S_ReceiveData
|
|
00000248 g F .text 00000002 NMI_Handler
|
|
0000140e g F .text 0000000e SPI_Flash_Wait_Busy
|
|
00006788 g F .text 00000062 .hidden __fixsfsi
|
|
00000440 w .text 00000000 EXTI3_IRQHandler
|
|
00000148 g F .text 00000028 .hidden __riscv_save_11
|
|
00000880 g F .text 00000006 DBGMCU_GetCHIPID
|
|
00004c16 g F .text 000000ae .hidden __gtdf2
|
|
0000326c g F .text 000003d0 Task_RunLED
|
|
000011a8 g F .text 0000000a USART_GetFlagStatus
|
|
0000826c g F .text 00000032 _fstat_r
|
|
20001524 g O .bss 00000004 errno
|
|
00004406 g F .text 00000018 gw485_tx_enabla
|
|
20000188 g .bss 00000000 _sbss
|
|
00000800 g *ABS* 00000000 __stack_size
|
|
00000656 g F .text 0000000a ADC_GetFlagStatus
|
|
00001e9c g F .text 0000005a USART_Printf_Init
|
|
000044d8 g F .text 0000000e ring_queue_length
|
|
000084f0 g O .text 000001e2 mosTemperADC
|
|
00006400 g F .text 00000388 .hidden __subsf3
|
|
00000440 w .text 00000000 USBFS_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_2
|
|
00004436 g F .text 00000062 uart_dev_write
|
|
00002300 g F .text 00000066 mppt_constantVoltageO
|
|
00000fe8 g F .text 00000016 TIM_CtrlPWMOutputs
|
|
00006c58 g F .text 000000b2 memcpy
|
|
0000054a g F .text 00000010 ADC_Cmd
|
|
00007300 g F .text 0000000a _cleanup_r
|
|
000009fa g F .text 0000012c GPIO_PinRemapConfig
|
|
00007820 g F .text 0000026a _svfprintf_r
|
|
00005970 g F .text 00000072 .hidden __floatsidf
|
|
00004cc4 g F .text 000000b6 .hidden __ltdf2
|
|
00000440 w .text 00000000 EXTI0_IRQHandler
|
|
00000440 w .text 00000000 I2C2_EV_IRQHandler
|
|
00000e62 g F .text 0000001e RCC_PB2PeriphResetCmd
|
|
00000440 w .text 00000000 LPTIM_IRQHandler
|
|
0000141c g F .text 00000028 SPI_FLASH_Write_Enable
|
|
000043d2 g F .text 0000001a bat485_tx_enabla
|
|
2000019c g O .bss 00000002 Calibrattion_Val
|
|
00000fd0 g F .text 00000018 TIM_Cmd
|
|
000013dc g F .text 00000032 SPI_Flash_ReadSR
|
|
00006e1e g F .text 0000000c puts
|
|
0000102a g F .text 00000016 TIM_OC4PreloadConfig
|
|
20000168 g O .data 00000004 SystemCoreClock
|
|
000011a0 g F .text 00000008 USART_ReceiveData
|
|
000075b0 g F .text 0000000a malloc
|
|
00008414 g F .text 00000010 _fstat
|
|
00002296 g F .text 0000006a mppt_constantVoltage
|
|
00000004 g .init 00000000 _einit
|
|
00001086 g F .text 0000000c TIM_ClearITPendingBit
|
|
00001056 g F .text 00000018 TIM_GetCounter
|
|
000060e0 g F .text 0000008c .hidden __lesf2
|
|
00000140 g F .text 00000030 .hidden __riscv_save_12
|
|
00000918 g F .text 000000c0 GPIO_Init
|
|
00000d3c g F .text 00000014 RCC_ADCCLKConfig
|
|
00001d1e g F .text 0000003e TimeSliceOffset_Register
|
|
00000440 w .text 00000000 Break_Point_Handler
|
|
00002180 g F .text 00000012 save_config_info
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_11
|
|
2000020c g O .bss 00000004 g_bat485_uart3_handle
|
|
20000198 g O .bss 00000004 NVIC_Priority_Group
|
|
00000440 w .text 00000000 SPI1_IRQHandler
|
|
0000055a g F .text 0000000a ADC_ResetCalibration
|
|
0000114c g F .text 00000016 USART_Cmd
|
|
0000812a g F .text 00000032 _sbrk_r
|
|
2000018c g O .bss 00000004 CHIPID
|
|
00000440 w .text 00000000 TAMPER_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_1
|
|
00002192 g F .text 00000086 read_config_info
|
|
0000201a g F .text 00000044 get_CHG_CURR
|
|
20000200 g O .bss 00000001 recvbroadcast_flag
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_0
|
|
000083bc g F .text 00000034 _read_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_7
|
|
200001ec g O .bss 00000001 g_impedanceStart
|
|
200001f4 g O .bss 00000001 g_recvBroadcastRegisterNumber
|
|
000069d4 g F .text 000000ac .hidden __extendsfdf2
|
|
000044e6 g F .text 00000730 .hidden __adddf3
|
|
00005ffe g F .text 0000005c .hidden __nesf2
|
|
00000440 w .text 00000000 Ecall_M_Mode_Handler
|
|
20004800 g .stack 00000000 _heap_end
|
|
000043ec g F .text 0000001a bat485_tx_disenabla
|
|
00008424 g F .text 00000010 _isatty
|
|
20000094 g O .data 00000038 g_RegTblR
|
|
20000184 g O .data 00000004 _global_impure_ptr
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_5
|
|
00008364 g F .text 00000058 _realloc_r
|
|
20000188 g O .bss 00000002 ADC_Trim
|
|
00000ed4 g F .text 0000000a SPI_I2S_GetFlagStatus
|
|
00000440 w .text 00000000 DMA1_Channel4_IRQHandler
|
|
00000596 g F .text 000000b8 ADC_RegularChannelConfig
|
|
00001f34 g F .text 0000002a _sbrk
|
|
0000068a g F .text 00000012 ADC_FIFO_Cmd
|
|
0000064e g F .text 00000008 ADC_GetConversionValue
|
|
00002bee g F .text 0000002c randomDelay
|
|
20000054 g O .data 0000000e defaultValue
|
|
00002218 g F .text 0000007e read_config_info1
|
|
00001dd4 g F .text 00000010 InitRingQueue
|
|
0000368e g F .text 00000010 Task_usart
|
|
00001e36 g F .text 00000010 RingQueueLength
|
|
00002bb0 g F .text 0000003e CheckFunc
|
|
00001710 g F .text 0000005a DSG_PROT_Init
|
|
00001382 g F .text 0000005a SPI_ReadWriteByte
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_6
|
|
000023cc g F .text 000000f0 MpptContorl
|
|
00001b02 g F .text 00000046 USART3_IRQHandler
|
|
0000090e g F .text 0000000a EXTI_ClearITPendingBit
|
|
000020a2 g F .text 00000044 get_DSG_CURR
|
|
00000440 w .text 00000000 RTC_IRQHandler
|
|
00000576 g F .text 00000008 ADC_GetCalibrationStatus
|
|
20001528 g .bss 00000000 _ebss
|
|
000011b2 g F .text 0000003c USART_GetITStatus
|
|
0000409a g F .text 000001ca g_Mppt_Para_Init
|
|
00000440 w .text 00000000 DMA1_Channel7_IRQHandler
|
|
200001a0 g O .bss 00000001 USART3_Rbuffer
|
|
0000057e g F .text 00000018 ADC_SoftwareStartConvCmd
|
|
00000564 g F .text 00000008 ADC_GetResetCalibrationStatus
|
|
00000440 w .text 00000000 CAN1_RX1_IRQHandler
|
|
00003c4e g F .text 00000152 Task_impedanceCalculation
|
|
00001e46 g F .text 00000020 Delay_Init
|
|
00001490 g F .text 00000068 SPI_Flash_Read
|
|
00001e10 g F .text 00000026 OutRingQueue
|
|
00000e26 g F .text 0000001e RCC_PB2PeriphClockCmd
|
|
00000b52 g F .text 00000190 GPIO_IPD_Unused
|
|
0000605a g F .text 00000086 .hidden __gtsf2
|
|
00000440 w .text 00000000 USBPDWakeUp_IRQHandler
|
|
000009ec g F .text 00000004 GPIO_SetBits
|
|
00000440 w .text 00000000 TIM4_IRQHandler
|
|
00004cc4 g F .text 000000b6 .hidden __ledf2
|
|
00001010 g F .text 0000001a TIM_ARRPreloadConfig
|
|
00000148 g F .text 00000028 .hidden __riscv_save_9
|
|
000009f0 g F .text 0000000a GPIO_WriteBit
|
|
20001280 g O .bss 00000010 m_excessiveLoad
|
|
00008e54 g O .text 00000020 __sf_fake_stderr
|
|
0000183e g F .text 00000048 PWM_GPIO_Configuration
|
|
00000156 g F .text 0000001a .hidden __riscv_save_4
|
|
00000440 w .text 00000000 I2C1_EV_IRQHandler
|
|
00001b48 g F .text 00000046 USART4_IRQHandler
|
|
00001978 g F .text 000000b2 GW_485_Init
|
|
0000773c g F .text 000000e4 __ssputs_r
|
|
0000106e g F .text 00000018 TIM_GetITStatus
|
|
00000d50 g F .text 000000d6 RCC_GetClocksFreq
|
|
00003af2 g F .text 00000028 start_mpptWork
|
|
00000440 w .text 00000000 DMA1_Channel6_IRQHandler
|
|
00006bea g F .text 0000006e .hidden __clzsi2
|
|
00001dac g F .text 00000028 TimeSliceOffset_Produce
|
|
00007ab2 g F .text 00000042 __sfputs_r
|
|
20000194 g O .bss 00000004 TS_Val
|
|
00008302 g F .text 00000018 memchr
|
|
00003efc g F .text 0000006a Task_outputAgain
|
|
00001092 g F .text 000000ba USART_Init
|
|
000075ba g F .text 000000a8 _free_r
|
|
00001c12 g F .text 0000002a TIM3_IRQHandler
|
|
00000440 w .text 00000000 RCC_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_3
|
|
00000440 w .text 00000000 TIM1_TRG_COM_IRQHandler
|
|
0000278a g F .text 0000019e test
|
|
00000440 w .text 00000000 DMA1_Channel1_IRQHandler
|
|
00001670 g F .text 00000030 RUN_LED_Init
|
|
00000000 g .init 00000000 _start
|
|
200012e0 g O .bss 00000010 m_sensorEnableBroadcast
|
|
200012c0 g O .bss 00000010 m_refreshRegister
|
|
00006e82 g F .text 00000084 rand
|
|
00008434 g F .text 00000010 _lseek
|
|
200001cc g O .bss 00000001 RegistrationRequestFlag
|
|
200001e6 g O .bss 00000001 g_batteryState
|
|
00006840 g F .text 000000c6 .hidden __floatsisf
|
|
00000e44 g F .text 0000001e RCC_PB1PeriphClockCmd
|
|
00001806 g F .text 00000038 EXTI15_10_IRQHandler
|
|
00000ffe g F .text 00000012 TIM_ITConfig
|
|
00000440 w .text 00000000 ADC_IRQHandler
|
|
00001162 g F .text 00000036 USART_ITConfig
|
|
00000886 g F .text 0000006a EXTI_Init
|
|
20000190 g O .bss 00000004 OPA_Trim
|
|
00005ffe g F .text 0000005c .hidden __eqsf2
|
|
00000440 w .text 00000000 DMA1_Channel8_IRQHandler
|
|
20000174 g O .data 00000004 g_duty_ratio
|
|
0000823c g F .text 00000030 _close_r
|
|
20000000 g .dalign 00000000 _data_vma
|
|
00003f66 g F .text 000000e4 Task_excessiveLoad
|
|
000016d2 g F .text 0000003e POW_OUT_CON_Init
|
|
000042fc g F .text 00000036 hardware_Init
|
|
00000f54 g F .text 0000007c TIM_OC4Init
|
|
00007008 g F .text 000000fc __swsetup_r
|
|
00000440 w .text 00000000 EXTI9_5_IRQHandler
|
|
000073bc g F .text 000000a0 __sfp
|
|
200012d0 g O .bss 00000010 m_runled
|
|
00000b26 g F .text 0000002c GPIO_EXTILineConfig
|
|
00004d7a g F .text 000004b8 .hidden __muldf3
|
|
00000148 g F .text 00000028 .hidden __riscv_save_10
|
|
0000815c g F .text 0000002c __sread
|
|
200000cc g O .data 00000038 uart_devices
|
|
00008360 g F .text 00000002 __malloc_lock
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_4
|
|
0000205e g F .text 00000044 get_PV_VOLT_OUT
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_8
|
|
00001f5e g F .text 0000002a Get_ConversionVal
|
|
00007234 g F .text 00000066 _fflush_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_6
|
|
000008f0 g F .text 0000001e EXTI_GetITStatus
|
|
00000440 w .text 00000000 SPI2_IRQHandler
|
|
00008e74 g O .text 00000020 __sf_fake_stdin
|
|
200001ff g O .bss 00000001 overTemperature
|
|
000001a0 g F .text 000000a8 memset
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_9
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_7
|
|
0000024c g F .text 0000004a main
|
|
00001bea g F .text 00000028 TIM3_Init
|
|
00006e2a g F .text 00000058 srand
|
|
0000441e g F .text 00000018 gw485_tx_disenabla
|
|
000060e0 g F .text 0000008c .hidden __ltsf2
|
|
00008200 g F .text 00000006 __sclose
|
|
00006a80 g F .text 0000016a .hidden __truncdfsf2
|
|
200012a0 g O .bss 00000010 m_outputAgain
|
|
00007662 g F .text 000000da _malloc_r
|
|
0000369e g F .text 000000e8 Task_startMpptControl
|
|
000006ac g F .text 000001d4 Get_CalibrationValue
|
|
00000440 w .text 00000000 DMA1_Channel5_IRQHandler
|
|
20001310 g O .bss 00000010 m_usart
|
|
00000440 w .text 00000000 EXTI4_IRQHandler
|
|
00003b1a g F .text 00000134 Task_softStart
|
|
00001e66 g F .text 00000036 Delay_Ms
|
|
00000440 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
0000616c g F .text 00000294 .hidden __mulsf3
|
|
00001040 g F .text 00000016 TIM_SetCompare4
|
|
00000660 g F .text 00000018 ADC_BufferCmd
|
|
00000eb2 g F .text 0000001a SPI_Cmd
|
|
00000296 g F .text 00000106 SystemInit
|
|
00000678 g F .text 00000012 ADC_DutyDelayCmd
|
|
000014f8 g F .text 00000068 SPI_Flash_Write_Page
|
|
00006d0a g F .text 00000040 iprintf
|
|
00002f96 g F .text 000002d6 read_and_process_uart_data
|
|
200001a4 g O .bss 00000001 USART4_Rbuffer
|
|
00000440 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
|
|
20001290 g O .bss 00000010 m_impedanceCalculation
|
|
00006f06 g F .text 00000046 sprintf
|
|
00008d54 g O .text 00000100 .hidden __clz_tab
|
|
00000000 g .init 00000000 _sinit
|
|
00000440 w .text 00000000 CMPWakeUp_IRQHandler
|
|
0000605a g F .text 00000086 .hidden __gesf2
|
|
00008206 g F .text 00000036 _write_r
|
|
00000440 w .text 00000000 DMA1_Channel3_IRQHandler
|
|
00007d7c g F .text 0000010c _printf_common
|
|
20000180 g O .data 00000004 _impure_ptr
|
|
00003da0 g F .text 0000015c Task_recvbroadcast
|
|
00001cec g F .text 00000032 TIM1_UP_IRQHandler
|
|
00007104 g F .text 00000130 __sflush_r
|
|
00000440 w .text 00000000 LPTIMWakeUp_IRQHandler
|
|
00007820 g F .text 0000026a _svfiprintf_r
|
|
00000440 w .text 00000000 WWDG_IRQHandler
|
|
200012f0 g O .bss 00000010 m_softStart
|
|
00001d5c g F .text 0000002e TimeSliceOffset_Unregister
|
|
00000440 w .text 00000000 Ecall_U_Mode_Handler
|
|
00004264 g F .text 00000098 task_Init
|
|
000037b6 g F .text 0000033c Task_refreshRegister
|
|
20000064 g O .data 00000030 g_MsgTbl
|
|
0000069c g F .text 00000010 ADC_Sample_ModeConfig
|
|
00001cc2 g F .text 0000001c TIM2_IRQHandler
|
|
20005000 g .stack 00000000 _eusrstack
|
|
0000363c g F .text 00000052 Task_wdi
|
|
00000170 g F .text 0000000c .hidden __riscv_save_2
|
|
00000440 w .text 00000000 SW_Handler
|
|
200001e8 g O .bss 00000004 g_impedance
|
|
000004cc g F .text 00000028 ADC_DeInit
|
|
00000440 w .text 00000000 TIM1_BRK_IRQHandler
|
|
000074c6 g F .text 00000058 __swhatbuf_r
|
|
000004f4 g F .text 00000056 ADC_Init
|
|
00001198 g F .text 00000008 USART_SendData
|
|
00000440 w .text 00000000 OPA_IRQHandler
|
|
00002c1a g F .text 0000007a Check_485_bus_busy
|
|
200012b0 g O .bss 00000010 m_recvbroadcast
|
|
00000440 w .text 00000000 EXTI1_IRQHandler
|
|
00000156 g F .text 0000001a .hidden __riscv_save_5
|
|
00001ef6 g F .text 0000003e _write
|
|
20000188 g .data 00000000 _edata
|
|
20001528 g .bss 00000000 _end
|
|
00000ede g F .text 00000076 TIM_TimeBaseInit
|
|
00000440 w .text 00000000 RTCAlarm_IRQHandler
|
|
00008ef0 g .dlalign 00000000 _data_lma
|
|
000024bc g F .text 000002ce MpptMode
|
|
00000440 w .text 00000000 USART2_IRQHandler
|
|
00008188 g F .text 00000048 __swrite
|
|
00001a2a g F .text 000000be BAT_485_Init
|
|
000015b2 g F .text 000000be SPI_Flash_Write
|
|
00007af4 g F .text 00000288 _vfiprintf_r
|
|
0000745c g F .text 0000006a _fwalk_reent
|
|
0000039c g F .text 000000a4 SystemCoreClockUpdate
|
|
00006906 g F .text 000000ce .hidden __floatunsisf
|
|
000016a0 g F .text 00000032 WDI_INPUT_Init
|
|
2000021c g O .bss 00001000 SPI_FLASH_BUF
|
|
00000440 w .text 00000000 I2C2_ER_IRQHandler
|
|
00000440 w .text 00000000 DMA1_Channel2_IRQHandler
|
|
00001886 g F .text 0000006c PWM_TIM_Configuration
|
|
00008e94 g O .text 00000020 __sf_fake_stdout
|
|
00006f06 g F .text 00000046 siprintf
|
|
20000000 g O .data 00000010 HBPrescTable
|
|
0000017c g F .text 00000024 .hidden __riscv_restore_12
|
|
00008444 g F .text 00000010 _read
|
|
00000442 w .text 00000000 handle_reset
|
|
00000440 w .text 00000000 CAN1_SCE_IRQHandler
|
|
000067ea g F .text 00000056 .hidden __fixunssfsi
|
|
00000440 w .text 00000000 FLASH_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_0
|
|
20001320 g O .bss 00000010 m_wdi
|
|
00000440 w .text 00000000 USBFSWakeUp_IRQHandler
|
|
200001f0 g O .bss 00000004 g_recvBroadcastDevice
|
|
00001c94 g F .text 0000002e TIM2_Init
|
|
00000440 w .text 00000000 USART1_IRQHandler
|
|
0000751e g F .text 00000092 __smakebuf_r
|
|
00007e88 g F .text 000002a2 _printf_i
|
|
2000121c g O .bss 0000002d g_Mppt_Para
|
|
00004c16 g F .text 000000ae .hidden __gedf2
|
|
20000218 g O .bss 00000004 __malloc_sbrk_start
|
|
00000440 w .text 00000000 I2C1_ER_IRQHandler
|
|
000012de g F .text 000000a4 SPI_Flash_Init
|
|
00000e80 g F .text 00000032 SPI_Init
|
|
00000ce2 g F .text 00000006 NVIC_PriorityGroupConfig
|
|
20001300 g O .bss 00000010 m_startMpptControl
|
|
000011ee g F .text 000000f0 ADC_all_Init
|
|
00003786 g F .text 00000030 stop_mpptWork
|
|
000018f2 g F .text 00000086 Set_duty_ratio
|
|
00000440 w .text 00000000 TKeyWakeUp_IRQHandler
|
|
20000214 g O .bss 00000004 __malloc_free_list
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_1
|
|
20000210 g O .bss 00000004 g_gw485_uart4_handle
|
|
00005232 g F .text 0000073e .hidden __subdf3
|
|
00007af4 g F .text 00000288 _vfprintf_r
|
|
000009d8 g F .text 0000000a GPIO_ReadInputDataBit
|
|
000059e2 g F .text 0000036a .hidden __addsf3
|
|
0000212a g F .text 00000056 get_MOSFET_Temper
|
|
00008404 g F .text 00000010 _close
|
|
000044b0 g F .text 00000028 uart_dev_in_char
|
|
|
|
|
|
|
|
Disassembly of section .init:
|
|
|
|
00000000 <_sinit>:
|
|
0: 4420006f j 442 <handle_reset>
|
|
|
|
Disassembly of section .vector:
|
|
|
|
00000004 <_vector_base>:
|
|
...
|
|
c: 0248 addi a0,sp,260
|
|
e: 0000 unimp
|
|
10: 024a slli tp,tp,0x12
|
|
12: 0000 unimp
|
|
14: 0000 unimp
|
|
16: 0000 unimp
|
|
18: 0440 addi s0,sp,516
|
|
...
|
|
22: 0000 unimp
|
|
24: 0440 addi s0,sp,516
|
|
26: 0000 unimp
|
|
28: 0440 addi s0,sp,516
|
|
...
|
|
32: 0000 unimp
|
|
34: 1cde slli s9,s9,0x37
|
|
36: 0000 unimp
|
|
38: 0000 unimp
|
|
3a: 0000 unimp
|
|
3c: 0440 addi s0,sp,516
|
|
3e: 0000 unimp
|
|
40: 0000 unimp
|
|
42: 0000 unimp
|
|
44: 0440 addi s0,sp,516
|
|
46: 0000 unimp
|
|
48: 0440 addi s0,sp,516
|
|
4a: 0000 unimp
|
|
4c: 0440 addi s0,sp,516
|
|
4e: 0000 unimp
|
|
50: 0440 addi s0,sp,516
|
|
52: 0000 unimp
|
|
54: 0440 addi s0,sp,516
|
|
56: 0000 unimp
|
|
58: 0440 addi s0,sp,516
|
|
5a: 0000 unimp
|
|
5c: 0440 addi s0,sp,516
|
|
5e: 0000 unimp
|
|
60: 0440 addi s0,sp,516
|
|
62: 0000 unimp
|
|
64: 176a slli a4,a4,0x3a
|
|
66: 0000 unimp
|
|
68: 0440 addi s0,sp,516
|
|
6a: 0000 unimp
|
|
6c: 0440 addi s0,sp,516
|
|
6e: 0000 unimp
|
|
70: 0440 addi s0,sp,516
|
|
72: 0000 unimp
|
|
74: 0440 addi s0,sp,516
|
|
76: 0000 unimp
|
|
78: 0440 addi s0,sp,516
|
|
7a: 0000 unimp
|
|
7c: 0440 addi s0,sp,516
|
|
7e: 0000 unimp
|
|
80: 0440 addi s0,sp,516
|
|
82: 0000 unimp
|
|
84: 0440 addi s0,sp,516
|
|
86: 0000 unimp
|
|
88: 0440 addi s0,sp,516
|
|
8a: 0000 unimp
|
|
8c: 0440 addi s0,sp,516
|
|
8e: 0000 unimp
|
|
90: 0440 addi s0,sp,516
|
|
92: 0000 unimp
|
|
94: 0440 addi s0,sp,516
|
|
96: 0000 unimp
|
|
98: 0440 addi s0,sp,516
|
|
9a: 0000 unimp
|
|
9c: 0440 addi s0,sp,516
|
|
9e: 0000 unimp
|
|
a0: 0440 addi s0,sp,516
|
|
a2: 0000 unimp
|
|
a4: 0440 addi s0,sp,516
|
|
a6: 0000 unimp
|
|
a8: 1cec addi a1,sp,636
|
|
aa: 0000 unimp
|
|
ac: 0440 addi s0,sp,516
|
|
ae: 0000 unimp
|
|
b0: 0440 addi s0,sp,516
|
|
b2: 0000 unimp
|
|
b4: 1cc2 slli s9,s9,0x30
|
|
b6: 0000 unimp
|
|
b8: 1c12 slli s8,s8,0x24
|
|
ba: 0000 unimp
|
|
bc: 0440 addi s0,sp,516
|
|
be: 0000 unimp
|
|
c0: 0440 addi s0,sp,516
|
|
c2: 0000 unimp
|
|
c4: 0440 addi s0,sp,516
|
|
c6: 0000 unimp
|
|
c8: 0440 addi s0,sp,516
|
|
ca: 0000 unimp
|
|
cc: 0440 addi s0,sp,516
|
|
ce: 0000 unimp
|
|
d0: 0440 addi s0,sp,516
|
|
d2: 0000 unimp
|
|
d4: 0440 addi s0,sp,516
|
|
d6: 0000 unimp
|
|
d8: 0440 addi s0,sp,516
|
|
da: 0000 unimp
|
|
dc: 0440 addi s0,sp,516
|
|
de: 0000 unimp
|
|
e0: 1b02 slli s6,s6,0x20
|
|
e2: 0000 unimp
|
|
e4: 1806 slli a6,a6,0x21
|
|
e6: 0000 unimp
|
|
e8: 0440 addi s0,sp,516
|
|
ea: 0000 unimp
|
|
ec: 0440 addi s0,sp,516
|
|
ee: 0000 unimp
|
|
f0: 0440 addi s0,sp,516
|
|
f2: 0000 unimp
|
|
f4: 0440 addi s0,sp,516
|
|
f6: 0000 unimp
|
|
f8: 1b48 addi a0,sp,436
|
|
fa: 0000 unimp
|
|
fc: 0440 addi s0,sp,516
|
|
fe: 0000 unimp
|
|
100: 0440 addi s0,sp,516
|
|
102: 0000 unimp
|
|
104: 0440 addi s0,sp,516
|
|
106: 0000 unimp
|
|
108: 0440 addi s0,sp,516
|
|
10a: 0000 unimp
|
|
10c: 0440 addi s0,sp,516
|
|
10e: 0000 unimp
|
|
110: 0440 addi s0,sp,516
|
|
112: 0000 unimp
|
|
114: 0440 addi s0,sp,516
|
|
...
|
|
|
|
Disassembly of section .text:
|
|
|
|
00000140 <__riscv_save_12>:
|
|
140: 7139 addi sp,sp,-64
|
|
142: 4301 li t1,0
|
|
144: c66e sw s11,12(sp)
|
|
146: a019 j 14c <__riscv_save_10+0x4>
|
|
|
|
00000148 <__riscv_save_10>:
|
|
148: 7139 addi sp,sp,-64
|
|
14a: 5341 li t1,-16
|
|
14c: c86a sw s10,16(sp)
|
|
14e: ca66 sw s9,20(sp)
|
|
150: cc62 sw s8,24(sp)
|
|
152: ce5e sw s7,28(sp)
|
|
154: a019 j 15a <__riscv_save_4+0x4>
|
|
|
|
00000156 <__riscv_save_4>:
|
|
156: 7139 addi sp,sp,-64
|
|
158: 5301 li t1,-32
|
|
15a: d05a sw s6,32(sp)
|
|
15c: d256 sw s5,36(sp)
|
|
15e: d452 sw s4,40(sp)
|
|
160: d64e sw s3,44(sp)
|
|
162: d84a sw s2,48(sp)
|
|
164: da26 sw s1,52(sp)
|
|
166: dc22 sw s0,56(sp)
|
|
168: de06 sw ra,60(sp)
|
|
16a: 40610133 sub sp,sp,t1
|
|
16e: 8282 jr t0
|
|
|
|
00000170 <__riscv_save_0>:
|
|
170: 1141 addi sp,sp,-16
|
|
172: c04a sw s2,0(sp)
|
|
174: c226 sw s1,4(sp)
|
|
176: c422 sw s0,8(sp)
|
|
178: c606 sw ra,12(sp)
|
|
17a: 8282 jr t0
|
|
|
|
0000017c <__riscv_restore_12>:
|
|
17c: 4db2 lw s11,12(sp)
|
|
17e: 0141 addi sp,sp,16
|
|
|
|
00000180 <__riscv_restore_10>:
|
|
180: 4d02 lw s10,0(sp)
|
|
182: 4c92 lw s9,4(sp)
|
|
184: 4c22 lw s8,8(sp)
|
|
186: 4bb2 lw s7,12(sp)
|
|
188: 0141 addi sp,sp,16
|
|
|
|
0000018a <__riscv_restore_4>:
|
|
18a: 4b02 lw s6,0(sp)
|
|
18c: 4a92 lw s5,4(sp)
|
|
18e: 4a22 lw s4,8(sp)
|
|
190: 49b2 lw s3,12(sp)
|
|
192: 0141 addi sp,sp,16
|
|
|
|
00000194 <__riscv_restore_0>:
|
|
194: 4902 lw s2,0(sp)
|
|
196: 4492 lw s1,4(sp)
|
|
198: 4422 lw s0,8(sp)
|
|
19a: 40b2 lw ra,12(sp)
|
|
19c: 0141 addi sp,sp,16
|
|
19e: 8082 ret
|
|
|
|
000001a0 <memset>:
|
|
1a0: 433d li t1,15
|
|
1a2: 872a mv a4,a0
|
|
1a4: 02c37363 bgeu t1,a2,1ca <memset+0x2a>
|
|
1a8: 00f77793 andi a5,a4,15
|
|
1ac: efbd bnez a5,22a <memset+0x8a>
|
|
1ae: e5ad bnez a1,218 <memset+0x78>
|
|
1b0: ff067693 andi a3,a2,-16
|
|
1b4: 8a3d andi a2,a2,15
|
|
1b6: 96ba add a3,a3,a4
|
|
1b8: c30c sw a1,0(a4)
|
|
1ba: c34c sw a1,4(a4)
|
|
1bc: c70c sw a1,8(a4)
|
|
1be: c74c sw a1,12(a4)
|
|
1c0: 0741 addi a4,a4,16
|
|
1c2: fed76be3 bltu a4,a3,1b8 <memset+0x18>
|
|
1c6: e211 bnez a2,1ca <memset+0x2a>
|
|
1c8: 8082 ret
|
|
1ca: 40c306b3 sub a3,t1,a2
|
|
1ce: 068a slli a3,a3,0x2
|
|
1d0: 00000297 auipc t0,0x0
|
|
1d4: 9696 add a3,a3,t0
|
|
1d6: 00a68067 jr 10(a3)
|
|
1da: 00b70723 sb a1,14(a4)
|
|
1de: 00b706a3 sb a1,13(a4)
|
|
1e2: 00b70623 sb a1,12(a4)
|
|
1e6: 00b705a3 sb a1,11(a4)
|
|
1ea: 00b70523 sb a1,10(a4)
|
|
1ee: 00b704a3 sb a1,9(a4)
|
|
1f2: 00b70423 sb a1,8(a4)
|
|
1f6: 00b703a3 sb a1,7(a4)
|
|
1fa: 00b70323 sb a1,6(a4)
|
|
1fe: 00b702a3 sb a1,5(a4)
|
|
202: 00b70223 sb a1,4(a4)
|
|
206: 00b701a3 sb a1,3(a4)
|
|
20a: 00b70123 sb a1,2(a4)
|
|
20e: 00b700a3 sb a1,1(a4)
|
|
212: 00b70023 sb a1,0(a4)
|
|
216: 8082 ret
|
|
218: 0ff5f593 andi a1,a1,255
|
|
21c: 00859693 slli a3,a1,0x8
|
|
220: 8dd5 or a1,a1,a3
|
|
222: 01059693 slli a3,a1,0x10
|
|
226: 8dd5 or a1,a1,a3
|
|
228: b761 j 1b0 <memset+0x10>
|
|
22a: 00279693 slli a3,a5,0x2
|
|
22e: 00000297 auipc t0,0x0
|
|
232: 9696 add a3,a3,t0
|
|
234: 8286 mv t0,ra
|
|
236: fa8680e7 jalr -88(a3)
|
|
23a: 8096 mv ra,t0
|
|
23c: 17c1 addi a5,a5,-16
|
|
23e: 8f1d sub a4,a4,a5
|
|
240: 963e add a2,a2,a5
|
|
242: f8c374e3 bgeu t1,a2,1ca <memset+0x2a>
|
|
246: b7a5 j 1ae <memset+0xe>
|
|
|
|
00000248 <NMI_Handler>:
|
|
248: a001 j 248 <NMI_Handler>
|
|
|
|
0000024a <HardFault_Handler>:
|
|
24a: a001 j 24a <HardFault_Handler>
|
|
|
|
0000024c <main>:
|
|
24c: f25ff2ef jal t0,170 <__riscv_save_0>
|
|
250: 4505 li a0,1
|
|
252: 291000ef jal ra,ce2 <NVIC_PriorityGroupConfig>
|
|
256: 2299 jal 39c <SystemCoreClockUpdate>
|
|
258: 3ef010ef jal ra,1e46 <Delay_Init>
|
|
25c: 6571 lui a0,0x1c
|
|
25e: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x13310>
|
|
262: 43b010ef jal ra,1e9c <USART_Printf_Init>
|
|
266: 200007b7 lui a5,0x20000
|
|
26a: 1687a583 lw a1,360(a5) # 20000168 <SystemCoreClock>
|
|
26e: 00008537 lui a0,0x8
|
|
272: 45450513 addi a0,a0,1108 # 8454 <_read+0x10>
|
|
276: 295060ef jal ra,6d0a <iprintf>
|
|
27a: 2519 jal 880 <DBGMCU_GetCHIPID>
|
|
27c: 85aa mv a1,a0
|
|
27e: 00008537 lui a0,0x8
|
|
282: 46450513 addi a0,a0,1124 # 8464 <_read+0x20>
|
|
286: 285060ef jal ra,6d0a <iprintf>
|
|
28a: 072040ef jal ra,42fc <hardware_Init>
|
|
28e: 7d7030ef jal ra,4264 <task_Init>
|
|
292: 4501 li a0,0
|
|
294: b701 j 194 <__riscv_restore_0>
|
|
|
|
00000296 <SystemInit>:
|
|
296: edbff2ef jal t0,170 <__riscv_save_0>
|
|
29a: 40021437 lui s0,0x40021
|
|
29e: 401c lw a5,0(s0)
|
|
2a0: 08ff0737 lui a4,0x8ff0
|
|
2a4: 1141 addi sp,sp,-16
|
|
2a6: 0017e793 ori a5,a5,1
|
|
2aa: c01c sw a5,0(s0)
|
|
2ac: 405c lw a5,4(s0)
|
|
2ae: 8ff9 and a5,a5,a4
|
|
2b0: c05c sw a5,4(s0)
|
|
2b2: 401c lw a5,0(s0)
|
|
2b4: fef70737 lui a4,0xfef70
|
|
2b8: 176d addi a4,a4,-5
|
|
2ba: 8ff9 and a5,a5,a4
|
|
2bc: c01c sw a5,0(s0)
|
|
2be: 401c lw a5,0(s0)
|
|
2c0: fffc0737 lui a4,0xfffc0
|
|
2c4: 177d addi a4,a4,-1
|
|
2c6: 8ff9 and a5,a5,a4
|
|
2c8: c01c sw a5,0(s0)
|
|
2ca: 405c lw a5,4(s0)
|
|
2cc: ff010737 lui a4,0xff010
|
|
2d0: 177d addi a4,a4,-1
|
|
2d2: 8ff9 and a5,a5,a4
|
|
2d4: c05c sw a5,4(s0)
|
|
2d6: 009f07b7 lui a5,0x9f0
|
|
2da: c41c sw a5,8(s0)
|
|
2dc: 077000ef jal ra,b52 <GPIO_IPD_Unused>
|
|
2e0: c402 sw zero,8(sp)
|
|
2e2: c602 sw zero,12(sp)
|
|
2e4: 400227b7 lui a5,0x40022
|
|
2e8: 4705 li a4,1
|
|
2ea: c398 sw a4,0(a5)
|
|
2ec: 401c lw a5,0(s0)
|
|
2ee: 6741 lui a4,0x10
|
|
2f0: 400216b7 lui a3,0x40021
|
|
2f4: 8fd9 or a5,a5,a4
|
|
2f6: c01c sw a5,0(s0)
|
|
2f8: 00020637 lui a2,0x20
|
|
2fc: 6705 lui a4,0x1
|
|
2fe: 429c lw a5,0(a3)
|
|
300: 8ff1 and a5,a5,a2
|
|
302: c63e sw a5,12(sp)
|
|
304: 47a2 lw a5,8(sp)
|
|
306: 0785 addi a5,a5,1
|
|
308: c43e sw a5,8(sp)
|
|
30a: 47b2 lw a5,12(sp)
|
|
30c: e781 bnez a5,314 <SystemInit+0x7e>
|
|
30e: 47a2 lw a5,8(sp)
|
|
310: fee797e3 bne a5,a4,2fe <SystemInit+0x68>
|
|
314: 400217b7 lui a5,0x40021
|
|
318: 439c lw a5,0(a5)
|
|
31a: 00e79713 slli a4,a5,0xe
|
|
31e: 06075763 bgez a4,38c <SystemInit+0xf6>
|
|
322: 4785 li a5,1
|
|
324: c63e sw a5,12(sp)
|
|
326: 4732 lw a4,12(sp)
|
|
328: 4785 li a5,1
|
|
32a: 06f71363 bne a4,a5,390 <SystemInit+0xfa>
|
|
32e: 400217b7 lui a5,0x40021
|
|
332: 43d8 lw a4,4(a5)
|
|
334: ffc106b7 lui a3,0xffc10
|
|
338: 16fd addi a3,a3,-1
|
|
33a: c3d8 sw a4,4(a5)
|
|
33c: 43d8 lw a4,4(a5)
|
|
33e: c3d8 sw a4,4(a5)
|
|
340: 43d8 lw a4,4(a5)
|
|
342: 40076713 ori a4,a4,1024
|
|
346: c3d8 sw a4,4(a5)
|
|
348: 43d8 lw a4,4(a5)
|
|
34a: 8f75 and a4,a4,a3
|
|
34c: c3d8 sw a4,4(a5)
|
|
34e: 43d8 lw a4,4(a5)
|
|
350: 001106b7 lui a3,0x110
|
|
354: 8f55 or a4,a4,a3
|
|
356: c3d8 sw a4,4(a5)
|
|
358: 4398 lw a4,0(a5)
|
|
35a: 010006b7 lui a3,0x1000
|
|
35e: 8f55 or a4,a4,a3
|
|
360: c398 sw a4,0(a5)
|
|
362: 4398 lw a4,0(a5)
|
|
364: 00671693 slli a3,a4,0x6
|
|
368: fe06dde3 bgez a3,362 <SystemInit+0xcc>
|
|
36c: 43d8 lw a4,4(a5)
|
|
36e: 400216b7 lui a3,0x40021
|
|
372: 9b71 andi a4,a4,-4
|
|
374: c3d8 sw a4,4(a5)
|
|
376: 43d8 lw a4,4(a5)
|
|
378: 00276713 ori a4,a4,2
|
|
37c: c3d8 sw a4,4(a5)
|
|
37e: 4721 li a4,8
|
|
380: 42dc lw a5,4(a3)
|
|
382: 8bb1 andi a5,a5,12
|
|
384: fee79ee3 bne a5,a4,380 <SystemInit+0xea>
|
|
388: 0141 addi sp,sp,16
|
|
38a: b529 j 194 <__riscv_restore_0>
|
|
38c: c602 sw zero,12(sp)
|
|
38e: bf61 j 326 <SystemInit+0x90>
|
|
390: 40022737 lui a4,0x40022
|
|
394: 431c lw a5,0(a4)
|
|
396: 9bf1 andi a5,a5,-4
|
|
398: c31c sw a5,0(a4)
|
|
39a: b7fd j 388 <SystemInit+0xf2>
|
|
|
|
0000039c <SystemCoreClockUpdate>:
|
|
39c: 400216b7 lui a3,0x40021
|
|
3a0: 42dc lw a5,4(a3)
|
|
3a2: 20000737 lui a4,0x20000
|
|
3a6: 4611 li a2,4
|
|
3a8: 8bb1 andi a5,a5,12
|
|
3aa: 16870713 addi a4,a4,360 # 20000168 <SystemCoreClock>
|
|
3ae: 02c78f63 beq a5,a2,3ec <SystemCoreClockUpdate+0x50>
|
|
3b2: 4621 li a2,8
|
|
3b4: 04c78163 beq a5,a2,3f6 <SystemCoreClockUpdate+0x5a>
|
|
3b8: eb95 bnez a5,3ec <SystemCoreClockUpdate+0x50>
|
|
3ba: 429c lw a5,0(a3)
|
|
3bc: 8b91 andi a5,a5,4
|
|
3be: c79d beqz a5,3ec <SystemCoreClockUpdate+0x50>
|
|
3c0: 000f47b7 lui a5,0xf4
|
|
3c4: 24078793 addi a5,a5,576 # f4240 <_data_lma+0xeb350>
|
|
3c8: c31c sw a5,0(a4)
|
|
3ca: 400217b7 lui a5,0x40021
|
|
3ce: 43dc lw a5,4(a5)
|
|
3d0: 8391 srli a5,a5,0x4
|
|
3d2: 00f7f693 andi a3,a5,15
|
|
3d6: 200007b7 lui a5,0x20000
|
|
3da: 00078793 mv a5,a5
|
|
3de: 97b6 add a5,a5,a3
|
|
3e0: 2394 lbu a3,0(a5)
|
|
3e2: 431c lw a5,0(a4)
|
|
3e4: 00d7d7b3 srl a5,a5,a3
|
|
3e8: c31c sw a5,0(a4)
|
|
3ea: 8082 ret
|
|
3ec: 007a17b7 lui a5,0x7a1
|
|
3f0: 20078793 addi a5,a5,512 # 7a1200 <_data_lma+0x798310>
|
|
3f4: bfd1 j 3c8 <SystemCoreClockUpdate+0x2c>
|
|
3f6: 42dc lw a5,4(a3)
|
|
3f8: 42d4 lw a3,4(a3)
|
|
3fa: 6641 lui a2,0x10
|
|
3fc: 83c9 srli a5,a5,0x12
|
|
3fe: 8bbd andi a5,a5,15
|
|
400: 8ef1 and a3,a3,a2
|
|
402: 0789 addi a5,a5,2
|
|
404: 4645 li a2,17
|
|
406: 00c79363 bne a5,a2,40c <SystemCoreClockUpdate+0x70>
|
|
40a: 47c9 li a5,18
|
|
40c: ee81 bnez a3,424 <SystemCoreClockUpdate+0x88>
|
|
40e: 400246b7 lui a3,0x40024
|
|
412: 8006a683 lw a3,-2048(a3) # 40023800 <_eusrstack+0x2001e800>
|
|
416: 8ac1 andi a3,a3,16
|
|
418: ce89 beqz a3,432 <SystemCoreClockUpdate+0x96>
|
|
41a: 007a16b7 lui a3,0x7a1
|
|
41e: 20068693 addi a3,a3,512 # 7a1200 <_data_lma+0x798310>
|
|
422: a821 j 43a <SystemCoreClockUpdate+0x9e>
|
|
424: 400216b7 lui a3,0x40021
|
|
428: 42d4 lw a3,4(a3)
|
|
42a: 00e69613 slli a2,a3,0xe
|
|
42e: fe0656e3 bgez a2,41a <SystemCoreClockUpdate+0x7e>
|
|
432: 003d16b7 lui a3,0x3d1
|
|
436: 90068693 addi a3,a3,-1792 # 3d0900 <_data_lma+0x3c7a10>
|
|
43a: 02d787b3 mul a5,a5,a3
|
|
43e: b769 j 3c8 <SystemCoreClockUpdate+0x2c>
|
|
|
|
00000440 <ADC_IRQHandler>:
|
|
440: a001 j 440 <ADC_IRQHandler>
|
|
|
|
00000442 <handle_reset>:
|
|
442: 20000197 auipc gp,0x20000
|
|
446: 52618193 addi gp,gp,1318 # 20000968 <__global_pointer$>
|
|
44a: 20005117 auipc sp,0x20005
|
|
44e: bb610113 addi sp,sp,-1098 # 20005000 <_eusrstack>
|
|
452: 00009517 auipc a0,0x9
|
|
456: a9e50513 addi a0,a0,-1378 # 8ef0 <_data_lma>
|
|
45a: 20000597 auipc a1,0x20000
|
|
45e: ba658593 addi a1,a1,-1114 # 20000000 <_data_vma>
|
|
462: 82018613 addi a2,gp,-2016 # 20000188 <_edata>
|
|
466: 00c5fa63 bgeu a1,a2,47a <handle_reset+0x38>
|
|
46a: 00052283 lw t0,0(a0)
|
|
46e: 0055a023 sw t0,0(a1)
|
|
472: 0511 addi a0,a0,4
|
|
474: 0591 addi a1,a1,4
|
|
476: fec5eae3 bltu a1,a2,46a <handle_reset+0x28>
|
|
47a: 82018513 addi a0,gp,-2016 # 20000188 <_edata>
|
|
47e: 20001597 auipc a1,0x20001
|
|
482: 0aa58593 addi a1,a1,170 # 20001528 <_ebss>
|
|
486: 00b57763 bgeu a0,a1,494 <handle_reset+0x52>
|
|
48a: 00052023 sw zero,0(a0)
|
|
48e: 0511 addi a0,a0,4
|
|
490: feb56de3 bltu a0,a1,48a <handle_reset+0x48>
|
|
494: 42fd li t0,31
|
|
496: bc029073 csrw 0xbc0,t0
|
|
49a: 428d li t0,3
|
|
49c: 80429073 csrw 0x804,t0
|
|
4a0: 08800293 li t0,136
|
|
4a4: 30029073 csrw mstatus,t0
|
|
4a8: 00000297 auipc t0,0x0
|
|
4ac: b5c28293 addi t0,t0,-1188 # 4 <_einit>
|
|
4b0: 0032e293 ori t0,t0,3
|
|
4b4: 30529073 csrw mtvec,t0
|
|
4b8: ddfff0ef jal ra,296 <SystemInit>
|
|
4bc: 00000297 auipc t0,0x0
|
|
4c0: d9028293 addi t0,t0,-624 # 24c <main>
|
|
4c4: 34129073 csrw mepc,t0
|
|
4c8: 30200073 mret
|
|
|
|
000004cc <ADC_DeInit>:
|
|
4cc: 400127b7 lui a5,0x40012
|
|
4d0: 40078793 addi a5,a5,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
4d4: 00f51f63 bne a0,a5,4f2 <ADC_DeInit+0x26>
|
|
4d8: c99ff2ef jal t0,170 <__riscv_save_0>
|
|
4dc: 4585 li a1,1
|
|
4de: 20000513 li a0,512
|
|
4e2: 181000ef jal ra,e62 <RCC_PB2PeriphResetCmd>
|
|
4e6: 4581 li a1,0
|
|
4e8: 20000513 li a0,512
|
|
4ec: 177000ef jal ra,e62 <RCC_PB2PeriphResetCmd>
|
|
4f0: b155 j 194 <__riscv_restore_0>
|
|
4f2: 8082 ret
|
|
|
|
000004f4 <ADC_Init>:
|
|
4f4: 415c lw a5,4(a0)
|
|
4f6: e0f10737 lui a4,0xe0f10
|
|
4fa: eff70713 addi a4,a4,-257 # e0f0feff <_eusrstack+0xc0f0aeff>
|
|
4fe: 4d94 lw a3,24(a1)
|
|
500: 8f7d and a4,a4,a5
|
|
502: 419c lw a5,0(a1)
|
|
504: 8fd5 or a5,a5,a3
|
|
506: 4dd4 lw a3,28(a1)
|
|
508: 8fd5 or a5,a5,a3
|
|
50a: 41d4 lw a3,4(a1)
|
|
50c: 06a2 slli a3,a3,0x8
|
|
50e: 8fd5 or a5,a5,a3
|
|
510: 8fd9 or a5,a5,a4
|
|
512: c15c sw a5,4(a0)
|
|
514: 451c lw a5,8(a0)
|
|
516: fff1f737 lui a4,0xfff1f
|
|
51a: 7fd70713 addi a4,a4,2045 # fff1f7fd <_eusrstack+0xdff1a7fd>
|
|
51e: 45d4 lw a3,12(a1)
|
|
520: 8f7d and a4,a4,a5
|
|
522: 499c lw a5,16(a1)
|
|
524: 8fd5 or a5,a5,a3
|
|
526: 4594 lw a3,8(a1)
|
|
528: 0686 slli a3,a3,0x1
|
|
52a: 8fd5 or a5,a5,a3
|
|
52c: 8fd9 or a5,a5,a4
|
|
52e: c51c sw a5,8(a0)
|
|
530: 555c lw a5,44(a0)
|
|
532: ff100737 lui a4,0xff100
|
|
536: 177d addi a4,a4,-1
|
|
538: 8f7d and a4,a4,a5
|
|
53a: 29dc lbu a5,20(a1)
|
|
53c: 17fd addi a5,a5,-1
|
|
53e: 0ff7f793 andi a5,a5,255
|
|
542: 07d2 slli a5,a5,0x14
|
|
544: 8fd9 or a5,a5,a4
|
|
546: d55c sw a5,44(a0)
|
|
548: 8082 ret
|
|
|
|
0000054a <ADC_Cmd>:
|
|
54a: 451c lw a5,8(a0)
|
|
54c: c589 beqz a1,556 <ADC_Cmd+0xc>
|
|
54e: 0017e793 ori a5,a5,1
|
|
552: c51c sw a5,8(a0)
|
|
554: 8082 ret
|
|
556: 9bf9 andi a5,a5,-2
|
|
558: bfed j 552 <ADC_Cmd+0x8>
|
|
|
|
0000055a <ADC_ResetCalibration>:
|
|
55a: 451c lw a5,8(a0)
|
|
55c: 0087e793 ori a5,a5,8
|
|
560: c51c sw a5,8(a0)
|
|
562: 8082 ret
|
|
|
|
00000564 <ADC_GetResetCalibrationStatus>:
|
|
564: 4508 lw a0,8(a0)
|
|
566: 810d srli a0,a0,0x3
|
|
568: 8905 andi a0,a0,1
|
|
56a: 8082 ret
|
|
|
|
0000056c <ADC_StartCalibration>:
|
|
56c: 451c lw a5,8(a0)
|
|
56e: 0047e793 ori a5,a5,4
|
|
572: c51c sw a5,8(a0)
|
|
574: 8082 ret
|
|
|
|
00000576 <ADC_GetCalibrationStatus>:
|
|
576: 4508 lw a0,8(a0)
|
|
578: 8109 srli a0,a0,0x2
|
|
57a: 8905 andi a0,a0,1
|
|
57c: 8082 ret
|
|
|
|
0000057e <ADC_SoftwareStartConvCmd>:
|
|
57e: 451c lw a5,8(a0)
|
|
580: c591 beqz a1,58c <ADC_SoftwareStartConvCmd+0xe>
|
|
582: 00500737 lui a4,0x500
|
|
586: 8fd9 or a5,a5,a4
|
|
588: c51c sw a5,8(a0)
|
|
58a: 8082 ret
|
|
58c: ffb00737 lui a4,0xffb00
|
|
590: 177d addi a4,a4,-1
|
|
592: 8ff9 and a5,a5,a4
|
|
594: bfd5 j 588 <ADC_SoftwareStartConvCmd+0xa>
|
|
|
|
00000596 <ADC_RegularChannelConfig>:
|
|
596: 47a5 li a5,9
|
|
598: 04b7f763 bgeu a5,a1,5e6 <ADC_RegularChannelConfig+0x50>
|
|
59c: 478d li a5,3
|
|
59e: ff658713 addi a4,a1,-10
|
|
5a2: 02f70733 mul a4,a4,a5
|
|
5a6: 00c52803 lw a6,12(a0)
|
|
5aa: 479d li a5,7
|
|
5ac: 00e797b3 sll a5,a5,a4
|
|
5b0: fff7c793 not a5,a5
|
|
5b4: 0107f7b3 and a5,a5,a6
|
|
5b8: 00e696b3 sll a3,a3,a4
|
|
5bc: 8edd or a3,a3,a5
|
|
5be: c554 sw a3,12(a0)
|
|
5c0: 4799 li a5,6
|
|
5c2: 04c7e363 bltu a5,a2,608 <ADC_RegularChannelConfig+0x72>
|
|
5c6: 4795 li a5,5
|
|
5c8: 167d addi a2,a2,-1
|
|
5ca: 02f60633 mul a2,a2,a5
|
|
5ce: 5958 lw a4,52(a0)
|
|
5d0: 47fd li a5,31
|
|
5d2: 00c797b3 sll a5,a5,a2
|
|
5d6: fff7c793 not a5,a5
|
|
5da: 8ff9 and a5,a5,a4
|
|
5dc: 00c59633 sll a2,a1,a2
|
|
5e0: 8e5d or a2,a2,a5
|
|
5e2: d950 sw a2,52(a0)
|
|
5e4: 8082 ret
|
|
5e6: 470d li a4,3
|
|
5e8: 02e58733 mul a4,a1,a4
|
|
5ec: 01052803 lw a6,16(a0)
|
|
5f0: 479d li a5,7
|
|
5f2: 00e797b3 sll a5,a5,a4
|
|
5f6: fff7c793 not a5,a5
|
|
5fa: 0107f7b3 and a5,a5,a6
|
|
5fe: 00e696b3 sll a3,a3,a4
|
|
602: 8edd or a3,a3,a5
|
|
604: c914 sw a3,16(a0)
|
|
606: bf6d j 5c0 <ADC_RegularChannelConfig+0x2a>
|
|
608: 47b1 li a5,12
|
|
60a: 02c7e263 bltu a5,a2,62e <ADC_RegularChannelConfig+0x98>
|
|
60e: 4795 li a5,5
|
|
610: 1665 addi a2,a2,-7
|
|
612: 02f60633 mul a2,a2,a5
|
|
616: 5918 lw a4,48(a0)
|
|
618: 47fd li a5,31
|
|
61a: 00c797b3 sll a5,a5,a2
|
|
61e: fff7c793 not a5,a5
|
|
622: 8ff9 and a5,a5,a4
|
|
624: 00c59633 sll a2,a1,a2
|
|
628: 8e5d or a2,a2,a5
|
|
62a: d910 sw a2,48(a0)
|
|
62c: 8082 ret
|
|
62e: 4795 li a5,5
|
|
630: 164d addi a2,a2,-13
|
|
632: 02f60633 mul a2,a2,a5
|
|
636: 5558 lw a4,44(a0)
|
|
638: 47fd li a5,31
|
|
63a: 00c797b3 sll a5,a5,a2
|
|
63e: fff7c793 not a5,a5
|
|
642: 8ff9 and a5,a5,a4
|
|
644: 00c595b3 sll a1,a1,a2
|
|
648: 8ddd or a1,a1,a5
|
|
64a: d54c sw a1,44(a0)
|
|
64c: 8082 ret
|
|
|
|
0000064e <ADC_GetConversionValue>:
|
|
64e: 4568 lw a0,76(a0)
|
|
650: 0542 slli a0,a0,0x10
|
|
652: 8141 srli a0,a0,0x10
|
|
654: 8082 ret
|
|
|
|
00000656 <ADC_GetFlagStatus>:
|
|
656: 4108 lw a0,0(a0)
|
|
658: 8d6d and a0,a0,a1
|
|
65a: 00a03533 snez a0,a0
|
|
65e: 8082 ret
|
|
|
|
00000660 <ADC_BufferCmd>:
|
|
660: 415c lw a5,4(a0)
|
|
662: c591 beqz a1,66e <ADC_BufferCmd+0xe>
|
|
664: 04000737 lui a4,0x4000
|
|
668: 8fd9 or a5,a5,a4
|
|
66a: c15c sw a5,4(a0)
|
|
66c: 8082 ret
|
|
66e: fc000737 lui a4,0xfc000
|
|
672: 177d addi a4,a4,-1
|
|
674: 8ff9 and a5,a5,a4
|
|
676: bfd5 j 66a <ADC_BufferCmd+0xa>
|
|
|
|
00000678 <ADC_DutyDelayCmd>:
|
|
678: 493c lw a5,80(a0)
|
|
67a: c589 beqz a1,684 <ADC_DutyDelayCmd+0xc>
|
|
67c: 0807e793 ori a5,a5,128
|
|
680: c93c sw a5,80(a0)
|
|
682: 8082 ret
|
|
684: f7f7f793 andi a5,a5,-129
|
|
688: bfe5 j 680 <ADC_DutyDelayCmd+0x8>
|
|
|
|
0000068a <ADC_FIFO_Cmd>:
|
|
68a: 493c lw a5,80(a0)
|
|
68c: c589 beqz a1,696 <ADC_FIFO_Cmd+0xc>
|
|
68e: 0407e793 ori a5,a5,64
|
|
692: c93c sw a5,80(a0)
|
|
694: 8082 ret
|
|
696: fbf7f793 andi a5,a5,-65
|
|
69a: bfe5 j 692 <ADC_FIFO_Cmd+0x8>
|
|
|
|
0000069c <ADC_Sample_ModeConfig>:
|
|
69c: 493c lw a5,80(a0)
|
|
69e: fdf7f793 andi a5,a5,-33
|
|
6a2: c93c sw a5,80(a0)
|
|
6a4: 493c lw a5,80(a0)
|
|
6a6: 8ddd or a1,a1,a5
|
|
6a8: c92c sw a1,80(a0)
|
|
6aa: 8082 ret
|
|
|
|
000006ac <Get_CalibrationValue>:
|
|
6ac: ac5ff2ef jal t0,170 <__riscv_save_0>
|
|
6b0: 456706b7 lui a3,0x45670
|
|
6b4: 400227b7 lui a5,0x40022
|
|
6b8: 12368693 addi a3,a3,291 # 45670123 <_eusrstack+0x2566b123>
|
|
6bc: cdef9737 lui a4,0xcdef9
|
|
6c0: c3d4 sw a3,4(a5)
|
|
6c2: 9ab70713 addi a4,a4,-1621 # cdef89ab <_eusrstack+0xadef39ab>
|
|
6c6: c3d8 sw a4,4(a5)
|
|
6c8: d3d4 sw a3,36(a5)
|
|
6ca: 1101 addi sp,sp,-32
|
|
6cc: c798 sw a4,8(a5)
|
|
6ce: 5bd4 lw a3,52(a5)
|
|
6d0: 03478713 addi a4,a5,52 # 40022034 <_eusrstack+0x2001d034>
|
|
6d4: 00269613 slli a2,a3,0x2
|
|
6d8: fe064be3 bltz a2,6ce <Get_CalibrationValue+0x22>
|
|
6dc: 57d4 lw a3,44(a5)
|
|
6de: 40012537 lui a0,0x40012
|
|
6e2: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
6e6: 2006e693 ori a3,a3,512
|
|
6ea: d7d4 sw a3,44(a5)
|
|
6ec: 5bdc lw a5,52(a5)
|
|
6ee: 200006b7 lui a3,0x20000
|
|
6f2: 8fd5 or a5,a5,a3
|
|
6f4: c31c sw a5,0(a4)
|
|
6f6: 431c lw a5,0(a4)
|
|
6f8: 451c lw a5,8(a0)
|
|
6fa: 000e0737 lui a4,0xe0
|
|
6fe: 8fd9 or a5,a5,a4
|
|
700: c51c sw a5,8(a0)
|
|
702: 451c lw a5,8(a0)
|
|
704: 0017e793 ori a5,a5,1
|
|
708: c51c sw a5,8(a0)
|
|
70a: 493c lw a5,80(a0)
|
|
70c: 0407e793 ori a5,a5,64
|
|
710: c93c sw a5,80(a0)
|
|
712: 451c lw a5,8(a0)
|
|
714: 0087e793 ori a5,a5,8
|
|
718: c51c sw a5,8(a0)
|
|
71a: 842a mv s0,a0
|
|
71c: 8522 mv a0,s0
|
|
71e: 3599 jal 564 <ADC_GetResetCalibrationStatus>
|
|
720: fd75 bnez a0,71c <Get_CalibrationValue+0x70>
|
|
722: 40012537 lui a0,0x40012
|
|
726: 40852783 lw a5,1032(a0) # 40012408 <_eusrstack+0x2000d408>
|
|
72a: 40050513 addi a0,a0,1024
|
|
72e: 0047e793 ori a5,a5,4
|
|
732: c51c sw a5,8(a0)
|
|
734: 842a mv s0,a0
|
|
736: 8522 mv a0,s0
|
|
738: 3d3d jal 576 <ADC_GetCalibrationStatus>
|
|
73a: fd75 bnez a0,736 <Get_CalibrationValue+0x8a>
|
|
73c: 40012537 lui a0,0x40012
|
|
740: 4605 li a2,1
|
|
742: 45c9 li a1,18
|
|
744: 4681 li a3,0
|
|
746: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
74a: 35b1 jal 596 <ADC_RegularChannelConfig>
|
|
74c: 4625 li a2,9
|
|
74e: 00010423 sb zero,8(sp)
|
|
752: 40012737 lui a4,0x40012
|
|
756: 005005b7 lui a1,0x500
|
|
75a: 841c lbu a5,8(sp)
|
|
75c: 04f67f63 bgeu a2,a5,7ba <Get_CalibrationValue+0x10e>
|
|
760: 00010423 sb zero,8(sp)
|
|
764: 46a5 li a3,9
|
|
766: 4621 li a2,8
|
|
768: 841c lbu a5,8(sp)
|
|
76a: 06f6ff63 bgeu a3,a5,7e8 <Get_CalibrationValue+0x13c>
|
|
76e: 00011523 sh zero,10(sp)
|
|
772: 00010423 sb zero,8(sp)
|
|
776: 4695 li a3,5
|
|
778: 841c lbu a5,8(sp)
|
|
77a: 0ef6f163 bgeu a3,a5,85c <__stack_size+0x5c>
|
|
77e: 8538 lhu a4,10(sp)
|
|
780: 853c lhu a5,10(sp)
|
|
782: 4699 li a3,6
|
|
784: 460d li a2,3
|
|
786: 02d7f7b3 remu a5,a5,a3
|
|
78a: 6505 lui a0,0x1
|
|
78c: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
|
|
790: 02d75733 divu a4,a4,a3
|
|
794: 02c7d7b3 divu a5,a5,a2
|
|
798: 97ba add a5,a5,a4
|
|
79a: 07c2 slli a5,a5,0x10
|
|
79c: 83c1 srli a5,a5,0x10
|
|
79e: 857c sh a5,10(sp)
|
|
7a0: 400127b7 lui a5,0x40012
|
|
7a4: 4087a703 lw a4,1032(a5) # 40012408 <_eusrstack+0x2000d408>
|
|
7a8: 9b79 andi a4,a4,-2
|
|
7aa: 40e7a423 sw a4,1032(a5)
|
|
7ae: 853c lhu a5,10(sp)
|
|
7b0: 6105 addi sp,sp,32
|
|
7b2: 8d1d sub a0,a0,a5
|
|
7b4: 0542 slli a0,a0,0x10
|
|
7b6: 8541 srai a0,a0,0x10
|
|
7b8: baf1 j 194 <__riscv_restore_0>
|
|
7ba: 40872783 lw a5,1032(a4) # 40012408 <_eusrstack+0x2000d408>
|
|
7be: 8fcd or a5,a5,a1
|
|
7c0: 40f72423 sw a5,1032(a4)
|
|
7c4: 40072783 lw a5,1024(a4)
|
|
7c8: 8b89 andi a5,a5,2
|
|
7ca: dfed beqz a5,7c4 <Get_CalibrationValue+0x118>
|
|
7cc: 841c lbu a5,8(sp)
|
|
7ce: 44c72683 lw a3,1100(a4)
|
|
7d2: 1008 addi a0,sp,32
|
|
7d4: 0786 slli a5,a5,0x1
|
|
7d6: 97aa add a5,a5,a0
|
|
7d8: fed79623 sh a3,-20(a5)
|
|
7dc: 841c lbu a5,8(sp)
|
|
7de: 0785 addi a5,a5,1
|
|
7e0: 0ff7f793 andi a5,a5,255
|
|
7e4: 845c sb a5,8(sp)
|
|
7e6: bf95 j 75a <Get_CalibrationValue+0xae>
|
|
7e8: 000104a3 sb zero,9(sp)
|
|
7ec: 849c lbu a5,9(sp)
|
|
7ee: 00f67863 bgeu a2,a5,7fe <Get_CalibrationValue+0x152>
|
|
7f2: 841c lbu a5,8(sp)
|
|
7f4: 0785 addi a5,a5,1
|
|
7f6: 0ff7f793 andi a5,a5,255
|
|
7fa: 845c sb a5,8(sp)
|
|
7fc: b7b5 j 768 <Get_CalibrationValue+0xbc>
|
|
7fe: 8498 lbu a4,9(sp)
|
|
800: 849c lbu a5,9(sp)
|
|
802: 100c addi a1,sp,32
|
|
804: 0706 slli a4,a4,0x1
|
|
806: 0785 addi a5,a5,1
|
|
808: 0786 slli a5,a5,0x1
|
|
80a: 972e add a4,a4,a1
|
|
80c: 97ae add a5,a5,a1
|
|
80e: fec75703 lhu a4,-20(a4)
|
|
812: fec7d783 lhu a5,-20(a5)
|
|
816: 02e7fd63 bgeu a5,a4,850 <__stack_size+0x50>
|
|
81a: 849c lbu a5,9(sp)
|
|
81c: 0786 slli a5,a5,0x1
|
|
81e: 97ae add a5,a5,a1
|
|
820: fec7d783 lhu a5,-20(a5)
|
|
824: 857c sh a5,10(sp)
|
|
826: 849c lbu a5,9(sp)
|
|
828: 8498 lbu a4,9(sp)
|
|
82a: 0785 addi a5,a5,1
|
|
82c: 0786 slli a5,a5,0x1
|
|
82e: 97ae add a5,a5,a1
|
|
830: fec7d583 lhu a1,-20(a5)
|
|
834: 00171793 slli a5,a4,0x1
|
|
838: 1018 addi a4,sp,32
|
|
83a: 97ba add a5,a5,a4
|
|
83c: feb79623 sh a1,-20(a5)
|
|
840: 849c lbu a5,9(sp)
|
|
842: 8538 lhu a4,10(sp)
|
|
844: 100c addi a1,sp,32
|
|
846: 0785 addi a5,a5,1
|
|
848: 0786 slli a5,a5,0x1
|
|
84a: 97ae add a5,a5,a1
|
|
84c: fee79623 sh a4,-20(a5)
|
|
850: 849c lbu a5,9(sp)
|
|
852: 0785 addi a5,a5,1
|
|
854: 0ff7f793 andi a5,a5,255
|
|
858: 84dc sb a5,9(sp)
|
|
85a: bf49 j 7ec <Get_CalibrationValue+0x140>
|
|
85c: 841c lbu a5,8(sp)
|
|
85e: 1010 addi a2,sp,32
|
|
860: 8538 lhu a4,10(sp)
|
|
862: 0789 addi a5,a5,2
|
|
864: 0786 slli a5,a5,0x1
|
|
866: 97b2 add a5,a5,a2
|
|
868: fec7d783 lhu a5,-20(a5)
|
|
86c: 97ba add a5,a5,a4
|
|
86e: 07c2 slli a5,a5,0x10
|
|
870: 83c1 srli a5,a5,0x10
|
|
872: 857c sh a5,10(sp)
|
|
874: 841c lbu a5,8(sp)
|
|
876: 0785 addi a5,a5,1
|
|
878: 0ff7f793 andi a5,a5,255
|
|
87c: 845c sb a5,8(sp)
|
|
87e: bded j 778 <Get_CalibrationValue+0xcc>
|
|
|
|
00000880 <DBGMCU_GetCHIPID>:
|
|
880: 8241a503 lw a0,-2012(gp) # 2000018c <CHIPID>
|
|
884: 8082 ret
|
|
|
|
00000886 <EXTI_Init>:
|
|
886: 4158 lw a4,4(a0)
|
|
888: 00052803 lw a6,0(a0)
|
|
88c: 454c lw a1,12(a0)
|
|
88e: 40010637 lui a2,0x40010
|
|
892: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x2000b400>
|
|
896: 973e add a4,a4,a5
|
|
898: fff84693 not a3,a6
|
|
89c: c5b1 beqz a1,8e8 <EXTI_Init+0x62>
|
|
89e: 40062583 lw a1,1024(a2)
|
|
8a2: 8df5 and a1,a1,a3
|
|
8a4: 40b62023 sw a1,1024(a2)
|
|
8a8: 43d0 lw a2,4(a5)
|
|
8aa: 8ef1 and a3,a3,a2
|
|
8ac: c3d4 sw a3,4(a5)
|
|
8ae: 4314 lw a3,0(a4)
|
|
8b0: 0106e6b3 or a3,a3,a6
|
|
8b4: c314 sw a3,0(a4)
|
|
8b6: 4118 lw a4,0(a0)
|
|
8b8: 4790 lw a2,8(a5)
|
|
8ba: fff74693 not a3,a4
|
|
8be: 8e75 and a2,a2,a3
|
|
8c0: c790 sw a2,8(a5)
|
|
8c2: 47d0 lw a2,12(a5)
|
|
8c4: 8ef1 and a3,a3,a2
|
|
8c6: c7d4 sw a3,12(a5)
|
|
8c8: 4514 lw a3,8(a0)
|
|
8ca: 4641 li a2,16
|
|
8cc: 00c69963 bne a3,a2,8de <EXTI_Init+0x58>
|
|
8d0: 4794 lw a3,8(a5)
|
|
8d2: 8ed9 or a3,a3,a4
|
|
8d4: c794 sw a3,8(a5)
|
|
8d6: 47d4 lw a3,12(a5)
|
|
8d8: 8f55 or a4,a4,a3
|
|
8da: c7d8 sw a4,12(a5)
|
|
8dc: 8082 ret
|
|
8de: 97b6 add a5,a5,a3
|
|
8e0: 4394 lw a3,0(a5)
|
|
8e2: 8f55 or a4,a4,a3
|
|
8e4: c398 sw a4,0(a5)
|
|
8e6: 8082 ret
|
|
8e8: 431c lw a5,0(a4)
|
|
8ea: 8ff5 and a5,a5,a3
|
|
8ec: c31c sw a5,0(a4)
|
|
8ee: 8082 ret
|
|
|
|
000008f0 <EXTI_GetITStatus>:
|
|
8f0: 400107b7 lui a5,0x40010
|
|
8f4: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x2000b400>
|
|
8f8: 4007a783 lw a5,1024(a5)
|
|
8fc: 4b58 lw a4,20(a4)
|
|
8fe: 8f69 and a4,a4,a0
|
|
900: c709 beqz a4,90a <EXTI_GetITStatus+0x1a>
|
|
902: 8d7d and a0,a0,a5
|
|
904: 00a03533 snez a0,a0
|
|
908: 8082 ret
|
|
90a: 4501 li a0,0
|
|
90c: 8082 ret
|
|
|
|
0000090e <EXTI_ClearITPendingBit>:
|
|
90e: 400107b7 lui a5,0x40010
|
|
912: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x2000b414>
|
|
916: 8082 ret
|
|
|
|
00000918 <GPIO_Init>:
|
|
918: 459c lw a5,8(a1)
|
|
91a: 0107f713 andi a4,a5,16
|
|
91e: 00f7f813 andi a6,a5,15
|
|
922: c701 beqz a4,92a <GPIO_Init+0x12>
|
|
924: 41d8 lw a4,4(a1)
|
|
926: 00e86833 or a6,a6,a4
|
|
92a: 218e lhu a1,0(a1)
|
|
92c: 0ff5f713 andi a4,a1,255
|
|
930: c339 beqz a4,976 <GPIO_Init+0x5e>
|
|
932: 4118 lw a4,0(a0)
|
|
934: 4681 li a3,0
|
|
936: 4e85 li t4,1
|
|
938: 4f3d li t5,15
|
|
93a: 02800f93 li t6,40
|
|
93e: 04800293 li t0,72
|
|
942: 4e21 li t3,8
|
|
944: 00de9633 sll a2,t4,a3
|
|
948: 00c5f8b3 and a7,a1,a2
|
|
94c: 03161163 bne a2,a7,96e <GPIO_Init+0x56>
|
|
950: 00269893 slli a7,a3,0x2
|
|
954: 011f1333 sll t1,t5,a7
|
|
958: fff34313 not t1,t1
|
|
95c: 00e37733 and a4,t1,a4
|
|
960: 011818b3 sll a7,a6,a7
|
|
964: 00e8e733 or a4,a7,a4
|
|
968: 05f79f63 bne a5,t6,9c6 <GPIO_Init+0xae>
|
|
96c: c950 sw a2,20(a0)
|
|
96e: 0685 addi a3,a3,1
|
|
970: fdc69ae3 bne a3,t3,944 <GPIO_Init+0x2c>
|
|
974: c118 sw a4,0(a0)
|
|
976: 0ff00713 li a4,255
|
|
97a: 04b77563 bgeu a4,a1,9c4 <GPIO_Init+0xac>
|
|
97e: 4154 lw a3,4(a0)
|
|
980: 4621 li a2,8
|
|
982: 4e85 li t4,1
|
|
984: 4f3d li t5,15
|
|
986: 02800f93 li t6,40
|
|
98a: 04800293 li t0,72
|
|
98e: 4e41 li t3,16
|
|
990: 00ce98b3 sll a7,t4,a2
|
|
994: 0115f733 and a4,a1,a7
|
|
998: 02e89263 bne a7,a4,9bc <GPIO_Init+0xa4>
|
|
99c: 00261713 slli a4,a2,0x2
|
|
9a0: 1701 addi a4,a4,-32
|
|
9a2: 00ef1333 sll t1,t5,a4
|
|
9a6: fff34313 not t1,t1
|
|
9aa: 00d376b3 and a3,t1,a3
|
|
9ae: 00e81733 sll a4,a6,a4
|
|
9b2: 8ed9 or a3,a3,a4
|
|
9b4: 01f79d63 bne a5,t6,9ce <GPIO_Init+0xb6>
|
|
9b8: 01152a23 sw a7,20(a0)
|
|
9bc: 0605 addi a2,a2,1
|
|
9be: fdc619e3 bne a2,t3,990 <GPIO_Init+0x78>
|
|
9c2: c154 sw a3,4(a0)
|
|
9c4: 8082 ret
|
|
9c6: fa5794e3 bne a5,t0,96e <GPIO_Init+0x56>
|
|
9ca: c910 sw a2,16(a0)
|
|
9cc: b74d j 96e <GPIO_Init+0x56>
|
|
9ce: fe5797e3 bne a5,t0,9bc <GPIO_Init+0xa4>
|
|
9d2: 01152823 sw a7,16(a0)
|
|
9d6: b7dd j 9bc <GPIO_Init+0xa4>
|
|
|
|
000009d8 <GPIO_ReadInputDataBit>:
|
|
9d8: 4508 lw a0,8(a0)
|
|
9da: 8d6d and a0,a0,a1
|
|
9dc: 00a03533 snez a0,a0
|
|
9e0: 8082 ret
|
|
|
|
000009e2 <GPIO_ReadOutputDataBit>:
|
|
9e2: 4548 lw a0,12(a0)
|
|
9e4: 8d6d and a0,a0,a1
|
|
9e6: 00a03533 snez a0,a0
|
|
9ea: 8082 ret
|
|
|
|
000009ec <GPIO_SetBits>:
|
|
9ec: c90c sw a1,16(a0)
|
|
9ee: 8082 ret
|
|
|
|
000009f0 <GPIO_WriteBit>:
|
|
9f0: c219 beqz a2,9f6 <GPIO_WriteBit+0x6>
|
|
9f2: c90c sw a1,16(a0)
|
|
9f4: 8082 ret
|
|
9f6: c94c sw a1,20(a0)
|
|
9f8: 8082 ret
|
|
|
|
000009fa <GPIO_PinRemapConfig>:
|
|
9fa: c0000737 lui a4,0xc0000
|
|
9fe: 00e577b3 and a5,a0,a4
|
|
a02: 08e79563 bne a5,a4,a8c <GPIO_PinRemapConfig+0x92>
|
|
a06: 40010737 lui a4,0x40010
|
|
a0a: 435c lw a5,4(a4)
|
|
a0c: 01b55693 srli a3,a0,0x1b
|
|
a10: 4f58 lw a4,28(a4)
|
|
a12: 8a9d andi a3,a3,7
|
|
a14: e69d bnez a3,a42 <GPIO_PinRemapConfig+0x48>
|
|
a16: 9bf9 andi a5,a5,-2
|
|
a18: ff0006b7 lui a3,0xff000
|
|
a1c: 16fd addi a3,a3,-1
|
|
a1e: 8f75 and a4,a4,a3
|
|
a20: c989 beqz a1,a32 <GPIO_PinRemapConfig+0x38>
|
|
a22: 01051693 slli a3,a0,0x10
|
|
a26: 82c1 srli a3,a3,0x10
|
|
a28: 8fd5 or a5,a5,a3
|
|
a2a: 01ff06b7 lui a3,0x1ff0
|
|
a2e: 8d75 and a0,a0,a3
|
|
a30: 8f49 or a4,a4,a0
|
|
a32: 070006b7 lui a3,0x7000
|
|
a36: 8fd5 or a5,a5,a3
|
|
a38: 400106b7 lui a3,0x40010
|
|
a3c: c2dc sw a5,4(a3)
|
|
a3e: ced8 sw a4,28(a3)
|
|
a40: 8082 ret
|
|
a42: 4605 li a2,1
|
|
a44: 00c69663 bne a3,a2,a50 <GPIO_PinRemapConfig+0x56>
|
|
a48: 9bf5 andi a5,a5,-3
|
|
a4a: ff8006b7 lui a3,0xff800
|
|
a4e: b7f9 j a1c <GPIO_PinRemapConfig+0x22>
|
|
a50: 4609 li a2,2
|
|
a52: 00c69663 bne a3,a2,a5e <GPIO_PinRemapConfig+0x64>
|
|
a56: 9bed andi a5,a5,-5
|
|
a58: ffe806b7 lui a3,0xffe80
|
|
a5c: b7c1 j a1c <GPIO_PinRemapConfig+0x22>
|
|
a5e: 460d li a2,3
|
|
a60: 00c69663 bne a3,a2,a6c <GPIO_PinRemapConfig+0x72>
|
|
a64: 9bdd andi a5,a5,-9
|
|
a66: fffc06b7 lui a3,0xfffc0
|
|
a6a: bf4d j a1c <GPIO_PinRemapConfig+0x22>
|
|
a6c: 4611 li a2,4
|
|
a6e: 00c69763 bne a3,a2,a7c <GPIO_PinRemapConfig+0x82>
|
|
a72: f3f7f793 andi a5,a5,-193
|
|
a76: ffc006b7 lui a3,0xffc00
|
|
a7a: b74d j a1c <GPIO_PinRemapConfig+0x22>
|
|
a7c: 4615 li a2,5
|
|
a7e: fac691e3 bne a3,a2,a20 <GPIO_PinRemapConfig+0x26>
|
|
a82: cff7f793 andi a5,a5,-769
|
|
a86: ffe006b7 lui a3,0xffe00
|
|
a8a: bf49 j a1c <GPIO_PinRemapConfig+0x22>
|
|
a8c: 40000737 lui a4,0x40000
|
|
a90: 02e79163 bne a5,a4,ab2 <GPIO_PinRemapConfig+0xb8>
|
|
a94: 400107b7 lui a5,0x40010
|
|
a98: 4fd8 lw a4,28(a5)
|
|
a9a: 0542 slli a0,a0,0x10
|
|
a9c: 00a767b3 or a5,a4,a0
|
|
aa0: e589 bnez a1,aaa <GPIO_PinRemapConfig+0xb0>
|
|
aa2: fff54513 not a0,a0
|
|
aa6: 00e577b3 and a5,a0,a4
|
|
aaa: 40010737 lui a4,0x40010
|
|
aae: cf5c sw a5,28(a4)
|
|
ab0: 8082 ret
|
|
ab2: e3a9 bnez a5,af4 <GPIO_PinRemapConfig+0xfa>
|
|
ab4: 40010837 lui a6,0x40010
|
|
ab8: 003007b7 lui a5,0x300
|
|
abc: 00482603 lw a2,4(a6) # 40010004 <_eusrstack+0x2000b004>
|
|
ac0: 01051713 slli a4,a0,0x10
|
|
ac4: 00f576b3 and a3,a0,a5
|
|
ac8: 8341 srli a4,a4,0x10
|
|
aca: 02f69663 bne a3,a5,af6 <GPIO_PinRemapConfig+0xfc>
|
|
ace: f90006b7 lui a3,0xf9000
|
|
ad2: 16fd addi a3,a3,-1
|
|
ad4: 00d677b3 and a5,a2,a3
|
|
ad8: 00482603 lw a2,4(a6)
|
|
adc: 8ef1 and a3,a3,a2
|
|
ade: 00d82223 sw a3,4(a6)
|
|
ae2: c591 beqz a1,aee <GPIO_PinRemapConfig+0xf4>
|
|
ae4: 8155 srli a0,a0,0x15
|
|
ae6: 0512 slli a0,a0,0x4
|
|
ae8: 00a71533 sll a0,a4,a0
|
|
aec: 8fc9 or a5,a5,a0
|
|
aee: 40010737 lui a4,0x40010
|
|
af2: c35c sw a5,4(a4)
|
|
af4: 8082 ret
|
|
af6: 00b51793 slli a5,a0,0xb
|
|
afa: 0207d063 bgez a5,b1a <GPIO_PinRemapConfig+0x120>
|
|
afe: 01055793 srli a5,a0,0x10
|
|
b02: 00f7f693 andi a3,a5,15
|
|
b06: 478d li a5,3
|
|
b08: 00d797b3 sll a5,a5,a3
|
|
b0c: fff7c793 not a5,a5
|
|
b10: 8ff1 and a5,a5,a2
|
|
b12: 070006b7 lui a3,0x7000
|
|
b16: 8fd5 or a5,a5,a3
|
|
b18: b7e9 j ae2 <GPIO_PinRemapConfig+0xe8>
|
|
b1a: 01555793 srli a5,a0,0x15
|
|
b1e: 0792 slli a5,a5,0x4
|
|
b20: 00f717b3 sll a5,a4,a5
|
|
b24: b7e5 j b0c <GPIO_PinRemapConfig+0x112>
|
|
|
|
00000b26 <GPIO_EXTILineConfig>:
|
|
b26: 0fc5f713 andi a4,a1,252
|
|
b2a: 0035f793 andi a5,a1,3
|
|
b2e: 400105b7 lui a1,0x40010
|
|
b32: 95ba add a1,a1,a4
|
|
b34: 4594 lw a3,8(a1)
|
|
b36: 078a slli a5,a5,0x2
|
|
b38: 473d li a4,15
|
|
b3a: 00f71733 sll a4,a4,a5
|
|
b3e: fff74713 not a4,a4
|
|
b42: 8f75 and a4,a4,a3
|
|
b44: c598 sw a4,8(a1)
|
|
b46: 4598 lw a4,8(a1)
|
|
b48: 00f51533 sll a0,a0,a5
|
|
b4c: 8d59 or a0,a0,a4
|
|
b4e: c588 sw a0,8(a1)
|
|
b50: 8082 ret
|
|
|
|
00000b52 <GPIO_IPD_Unused>:
|
|
b52: e1eff2ef jal t0,170 <__riscv_save_0>
|
|
b56: 1ffff437 lui s0,0x1ffff
|
|
b5a: 72442703 lw a4,1828(s0) # 1ffff724 <_data_lma+0x1fff6834>
|
|
b5e: 3e000637 lui a2,0x3e000
|
|
b62: 1141 addi sp,sp,-16
|
|
b64: 01971793 slli a5,a4,0x19
|
|
b68: fff74693 not a3,a4
|
|
b6c: 8ff1 and a5,a5,a2
|
|
b6e: 0706 slli a4,a4,0x1
|
|
b70: 003e0637 lui a2,0x3e0
|
|
b74: 8f71 and a4,a4,a2
|
|
b76: 8fd9 or a5,a5,a4
|
|
b78: 01000637 lui a2,0x1000
|
|
b7c: 00969713 slli a4,a3,0x9
|
|
b80: 8f71 and a4,a4,a2
|
|
b82: 8fd9 or a5,a5,a4
|
|
b84: 82bd srli a3,a3,0xf
|
|
b86: 6741 lui a4,0x10
|
|
b88: 8ef9 and a3,a3,a4
|
|
b8a: 8fd5 or a5,a5,a3
|
|
b8c: c202 sw zero,4(sp)
|
|
b8e: c402 sw zero,8(sp)
|
|
b90: c602 sw zero,12(sp)
|
|
b92: 82f1a423 sw a5,-2008(gp) # 20000190 <OPA_Trim>
|
|
b96: 72845703 lhu a4,1832(s0)
|
|
b9a: 4585 li a1,1
|
|
b9c: 82e19023 sh a4,-2016(gp) # 20000188 <_edata>
|
|
ba0: 72042703 lw a4,1824(s0)
|
|
ba4: 03d00513 li a0,61
|
|
ba8: 82e1a623 sw a4,-2004(gp) # 20000194 <TS_Val>
|
|
bac: 70442703 lw a4,1796(s0)
|
|
bb0: 82e1a223 sw a4,-2012(gp) # 2000018c <CHIPID>
|
|
bb4: 2c8d jal e26 <RCC_PB2PeriphClockCmd>
|
|
bb6: 70442783 lw a5,1796(s0)
|
|
bba: 103a0737 lui a4,0x103a0
|
|
bbe: 70070713 addi a4,a4,1792 # 103a0700 <_data_lma+0x10397810>
|
|
bc2: f0f7f793 andi a5,a5,-241
|
|
bc6: 10e78063 beq a5,a4,cc6 <GPIO_IPD_Unused+0x174>
|
|
bca: 02f76163 bltu a4,a5,bec <GPIO_IPD_Unused+0x9a>
|
|
bce: 10320737 lui a4,0x10320
|
|
bd2: 70070713 addi a4,a4,1792 # 10320700 <_data_lma+0x10317810>
|
|
bd6: 06e78063 beq a5,a4,c36 <GPIO_IPD_Unused+0xe4>
|
|
bda: 10370737 lui a4,0x10370
|
|
bde: 70070713 addi a4,a4,1792 # 10370700 <_data_lma+0x10367810>
|
|
be2: 08e78763 beq a5,a4,c70 <GPIO_IPD_Unused+0x11e>
|
|
be6: 0141 addi sp,sp,16
|
|
be8: dacff06f j 194 <__riscv_restore_0>
|
|
bec: 103b0737 lui a4,0x103b0
|
|
bf0: 70070713 addi a4,a4,1792 # 103b0700 <_data_lma+0x103a7810>
|
|
bf4: 0ae78b63 beq a5,a4,caa <GPIO_IPD_Unused+0x158>
|
|
bf8: 103d0737 lui a4,0x103d0
|
|
bfc: 70070713 addi a4,a4,1792 # 103d0700 <_data_lma+0x103c7810>
|
|
c00: fee793e3 bne a5,a4,be6 <GPIO_IPD_Unused+0x94>
|
|
c04: 4585 li a1,1
|
|
c06: 6521 lui a0,0x8
|
|
c08: 3bcd jal 9fa <GPIO_PinRemapConfig>
|
|
c0a: 400114b7 lui s1,0x40011
|
|
c0e: 77e1 lui a5,0xffff8
|
|
c10: 04800413 li s0,72
|
|
c14: 004c addi a1,sp,4
|
|
c16: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
c1a: 827c sh a5,4(sp)
|
|
c1c: c622 sw s0,12(sp)
|
|
c1e: 39ed jal 918 <GPIO_Init>
|
|
c20: 6785 lui a5,0x1
|
|
c22: 33c78793 addi a5,a5,828 # 133c <SPI_Flash_Init+0x5e>
|
|
c26: 004c addi a1,sp,4
|
|
c28: c0048513 addi a0,s1,-1024
|
|
c2c: 827c sh a5,4(sp)
|
|
c2e: c622 sw s0,12(sp)
|
|
c30: 31e5 jal 918 <GPIO_Init>
|
|
c32: 77f9 lui a5,0xffffe
|
|
c34: a00d j c56 <GPIO_IPD_Unused+0x104>
|
|
c36: 4585 li a1,1
|
|
c38: 6521 lui a0,0x8
|
|
c3a: 33c1 jal 9fa <GPIO_PinRemapConfig>
|
|
c3c: 400114b7 lui s1,0x40011
|
|
c40: e0000793 li a5,-512
|
|
c44: 04800413 li s0,72
|
|
c48: 004c addi a1,sp,4
|
|
c4a: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
c4e: 827c sh a5,4(sp)
|
|
c50: c622 sw s0,12(sp)
|
|
c52: 31d9 jal 918 <GPIO_Init>
|
|
c54: 6789 lui a5,0x2
|
|
c56: 004c addi a1,sp,4
|
|
c58: 40011537 lui a0,0x40011
|
|
c5c: 827c sh a5,4(sp)
|
|
c5e: c622 sw s0,12(sp)
|
|
c60: 3965 jal 918 <GPIO_Init>
|
|
c62: 478d li a5,3
|
|
c64: 827c sh a5,4(sp)
|
|
c66: c622 sw s0,12(sp)
|
|
c68: 004c addi a1,sp,4
|
|
c6a: 40048513 addi a0,s1,1024
|
|
c6e: a825 j ca6 <GPIO_IPD_Unused+0x154>
|
|
c70: 400114b7 lui s1,0x40011
|
|
c74: 77e1 lui a5,0xffff8
|
|
c76: 70078793 addi a5,a5,1792 # ffff8700 <_eusrstack+0xdfff3700>
|
|
c7a: 04800413 li s0,72
|
|
c7e: 004c addi a1,sp,4
|
|
c80: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
c84: 827c sh a5,4(sp)
|
|
c86: c622 sw s0,12(sp)
|
|
c88: 3941 jal 918 <GPIO_Init>
|
|
c8a: e3d00793 li a5,-451
|
|
c8e: 004c addi a1,sp,4
|
|
c90: c0048513 addi a0,s1,-1024
|
|
c94: 827c sh a5,4(sp)
|
|
c96: c622 sw s0,12(sp)
|
|
c98: 3141 jal 918 <GPIO_Init>
|
|
c9a: 77f9 lui a5,0xffffe
|
|
c9c: 827c sh a5,4(sp)
|
|
c9e: c622 sw s0,12(sp)
|
|
ca0: 004c addi a1,sp,4
|
|
ca2: 40011537 lui a0,0x40011
|
|
ca6: 398d jal 918 <GPIO_Init>
|
|
ca8: bf3d j be6 <GPIO_IPD_Unused+0x94>
|
|
caa: 400114b7 lui s1,0x40011
|
|
cae: 77e1 lui a5,0xffff8
|
|
cb0: 04800413 li s0,72
|
|
cb4: 004c addi a1,sp,4
|
|
cb6: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
cba: 827c sh a5,4(sp)
|
|
cbc: c622 sw s0,12(sp)
|
|
cbe: 39a9 jal 918 <GPIO_Init>
|
|
cc0: 20400793 li a5,516
|
|
cc4: b78d j c26 <GPIO_IPD_Unused+0xd4>
|
|
cc6: 400114b7 lui s1,0x40011
|
|
cca: 77e1 lui a5,0xffff8
|
|
ccc: 04800413 li s0,72
|
|
cd0: 004c addi a1,sp,4
|
|
cd2: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
cd6: 827c sh a5,4(sp)
|
|
cd8: c622 sw s0,12(sp)
|
|
cda: 393d jal 918 <GPIO_Init>
|
|
cdc: 6789 lui a5,0x2
|
|
cde: 17f5 addi a5,a5,-3
|
|
ce0: b799 j c26 <GPIO_IPD_Unused+0xd4>
|
|
|
|
00000ce2 <NVIC_PriorityGroupConfig>:
|
|
ce2: 82a1a823 sw a0,-2000(gp) # 20000198 <NVIC_Priority_Group>
|
|
ce6: 8082 ret
|
|
|
|
00000ce8 <NVIC_Init>:
|
|
ce8: 8301a703 lw a4,-2000(gp) # 20000198 <NVIC_Priority_Group>
|
|
cec: 4785 li a5,1
|
|
cee: 2114 lbu a3,0(a0)
|
|
cf0: 02f71063 bne a4,a5,d10 <NVIC_Init+0x28>
|
|
cf4: 311c lbu a5,1(a0)
|
|
cf6: 02e79c63 bne a5,a4,d2e <NVIC_Init+0x46>
|
|
cfa: 213c lbu a5,2(a0)
|
|
cfc: 0796 slli a5,a5,0x5
|
|
cfe: f807e793 ori a5,a5,-128
|
|
d02: e000e737 lui a4,0xe000e
|
|
d06: 0ff7f793 andi a5,a5,255
|
|
d0a: 9736 add a4,a4,a3
|
|
d0c: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xc0009400>
|
|
d10: 4705 li a4,1
|
|
d12: 0056d793 srli a5,a3,0x5
|
|
d16: 00d71733 sll a4,a4,a3
|
|
d1a: 4154 lw a3,4(a0)
|
|
d1c: ce89 beqz a3,d36 <NVIC_Init+0x4e>
|
|
d1e: 04078793 addi a5,a5,64 # 2040 <get_CHG_CURR+0x26>
|
|
d22: 078a slli a5,a5,0x2
|
|
d24: e000e6b7 lui a3,0xe000e
|
|
d28: 97b6 add a5,a5,a3
|
|
d2a: c398 sw a4,0(a5)
|
|
d2c: 8082 ret
|
|
d2e: f3ed bnez a5,d10 <NVIC_Init+0x28>
|
|
d30: 213c lbu a5,2(a0)
|
|
d32: 0796 slli a5,a5,0x5
|
|
d34: b7f9 j d02 <NVIC_Init+0x1a>
|
|
d36: 06078793 addi a5,a5,96
|
|
d3a: b7e5 j d22 <NVIC_Init+0x3a>
|
|
|
|
00000d3c <RCC_ADCCLKConfig>:
|
|
d3c: 400216b7 lui a3,0x40021
|
|
d40: 42dc lw a5,4(a3)
|
|
d42: 7fff4737 lui a4,0x7fff4
|
|
d46: 177d addi a4,a4,-1
|
|
d48: 8ff9 and a5,a5,a4
|
|
d4a: 8d5d or a0,a0,a5
|
|
d4c: c2c8 sw a0,4(a3)
|
|
d4e: 8082 ret
|
|
|
|
00000d50 <RCC_GetClocksFreq>:
|
|
d50: 40021737 lui a4,0x40021
|
|
d54: 435c lw a5,4(a4)
|
|
d56: 4691 li a3,4
|
|
d58: 8bb1 andi a5,a5,12
|
|
d5a: 06d78c63 beq a5,a3,dd2 <RCC_GetClocksFreq+0x82>
|
|
d5e: 46a1 li a3,8
|
|
d60: 06d78e63 beq a5,a3,ddc <RCC_GetClocksFreq+0x8c>
|
|
d64: e7bd bnez a5,dd2 <RCC_GetClocksFreq+0x82>
|
|
d66: 431c lw a5,0(a4)
|
|
d68: 8b91 andi a5,a5,4
|
|
d6a: c7a5 beqz a5,dd2 <RCC_GetClocksFreq+0x82>
|
|
d6c: 000f47b7 lui a5,0xf4
|
|
d70: 24078793 addi a5,a5,576 # f4240 <_data_lma+0xeb350>
|
|
d74: c11c sw a5,0(a0)
|
|
d76: 40021637 lui a2,0x40021
|
|
d7a: 425c lw a5,4(a2)
|
|
d7c: 20000737 lui a4,0x20000
|
|
d80: 01070713 addi a4,a4,16 # 20000010 <PBHBPrescTable>
|
|
d84: 8391 srli a5,a5,0x4
|
|
d86: 8bbd andi a5,a5,15
|
|
d88: 97ba add a5,a5,a4
|
|
d8a: 2394 lbu a3,0(a5)
|
|
d8c: 411c lw a5,0(a0)
|
|
d8e: 00d7d7b3 srl a5,a5,a3
|
|
d92: c15c sw a5,4(a0)
|
|
d94: 4254 lw a3,4(a2)
|
|
d96: 82a1 srli a3,a3,0x8
|
|
d98: 8a9d andi a3,a3,7
|
|
d9a: 96ba add a3,a3,a4
|
|
d9c: 2294 lbu a3,0(a3)
|
|
d9e: 00d7d6b3 srl a3,a5,a3
|
|
da2: c514 sw a3,8(a0)
|
|
da4: 4254 lw a3,4(a2)
|
|
da6: 82ad srli a3,a3,0xb
|
|
da8: 8a9d andi a3,a3,7
|
|
daa: 9736 add a4,a4,a3
|
|
dac: 2314 lbu a3,0(a4)
|
|
dae: 00d7d6b3 srl a3,a5,a3
|
|
db2: c554 sw a3,12(a0)
|
|
db4: 4258 lw a4,4(a2)
|
|
db6: 00074c63 bltz a4,dce <RCC_GetClocksFreq+0x7e>
|
|
dba: 425c lw a5,4(a2)
|
|
dbc: 83b9 srli a5,a5,0xe
|
|
dbe: 0037f713 andi a4,a5,3
|
|
dc2: 80418793 addi a5,gp,-2044 # 2000016c <ADCPrescTable>
|
|
dc6: 97ba add a5,a5,a4
|
|
dc8: 239c lbu a5,0(a5)
|
|
dca: 02f6d7b3 divu a5,a3,a5
|
|
dce: c91c sw a5,16(a0)
|
|
dd0: 8082 ret
|
|
dd2: 007a17b7 lui a5,0x7a1
|
|
dd6: 20078793 addi a5,a5,512 # 7a1200 <_data_lma+0x798310>
|
|
dda: bf69 j d74 <RCC_GetClocksFreq+0x24>
|
|
ddc: 435c lw a5,4(a4)
|
|
dde: 4358 lw a4,4(a4)
|
|
de0: 66c1 lui a3,0x10
|
|
de2: 83c9 srli a5,a5,0x12
|
|
de4: 8bbd andi a5,a5,15
|
|
de6: 8f75 and a4,a4,a3
|
|
de8: 0789 addi a5,a5,2
|
|
dea: 46c5 li a3,17
|
|
dec: 00d79363 bne a5,a3,df2 <RCC_GetClocksFreq+0xa2>
|
|
df0: 47c9 li a5,18
|
|
df2: ef01 bnez a4,e0a <RCC_GetClocksFreq+0xba>
|
|
df4: 40024737 lui a4,0x40024
|
|
df8: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x2001e800>
|
|
dfc: 8b41 andi a4,a4,16
|
|
dfe: cf09 beqz a4,e18 <RCC_GetClocksFreq+0xc8>
|
|
e00: 007a1737 lui a4,0x7a1
|
|
e04: 20070713 addi a4,a4,512 # 7a1200 <_data_lma+0x798310>
|
|
e08: a821 j e20 <RCC_GetClocksFreq+0xd0>
|
|
e0a: 40021737 lui a4,0x40021
|
|
e0e: 4358 lw a4,4(a4)
|
|
e10: 00e71693 slli a3,a4,0xe
|
|
e14: fe06d6e3 bgez a3,e00 <RCC_GetClocksFreq+0xb0>
|
|
e18: 003d1737 lui a4,0x3d1
|
|
e1c: 90070713 addi a4,a4,-1792 # 3d0900 <_data_lma+0x3c7a10>
|
|
e20: 02e787b3 mul a5,a5,a4
|
|
e24: bf81 j d74 <RCC_GetClocksFreq+0x24>
|
|
|
|
00000e26 <RCC_PB2PeriphClockCmd>:
|
|
e26: c599 beqz a1,e34 <RCC_PB2PeriphClockCmd+0xe>
|
|
e28: 40021737 lui a4,0x40021
|
|
e2c: 4f1c lw a5,24(a4)
|
|
e2e: 8d5d or a0,a0,a5
|
|
e30: cf08 sw a0,24(a4)
|
|
e32: 8082 ret
|
|
e34: 400217b7 lui a5,0x40021
|
|
e38: 4f98 lw a4,24(a5)
|
|
e3a: fff54513 not a0,a0
|
|
e3e: 8d79 and a0,a0,a4
|
|
e40: cf88 sw a0,24(a5)
|
|
e42: 8082 ret
|
|
|
|
00000e44 <RCC_PB1PeriphClockCmd>:
|
|
e44: c599 beqz a1,e52 <RCC_PB1PeriphClockCmd+0xe>
|
|
e46: 40021737 lui a4,0x40021
|
|
e4a: 4f5c lw a5,28(a4)
|
|
e4c: 8d5d or a0,a0,a5
|
|
e4e: cf48 sw a0,28(a4)
|
|
e50: 8082 ret
|
|
e52: 400217b7 lui a5,0x40021
|
|
e56: 4fd8 lw a4,28(a5)
|
|
e58: fff54513 not a0,a0
|
|
e5c: 8d79 and a0,a0,a4
|
|
e5e: cfc8 sw a0,28(a5)
|
|
e60: 8082 ret
|
|
|
|
00000e62 <RCC_PB2PeriphResetCmd>:
|
|
e62: c599 beqz a1,e70 <RCC_PB2PeriphResetCmd+0xe>
|
|
e64: 40021737 lui a4,0x40021
|
|
e68: 475c lw a5,12(a4)
|
|
e6a: 8d5d or a0,a0,a5
|
|
e6c: c748 sw a0,12(a4)
|
|
e6e: 8082 ret
|
|
e70: 400217b7 lui a5,0x40021
|
|
e74: 47d8 lw a4,12(a5)
|
|
e76: fff54513 not a0,a0
|
|
e7a: 8d79 and a0,a0,a4
|
|
e7c: c7c8 sw a0,12(a5)
|
|
e7e: 8082 ret
|
|
|
|
00000e80 <SPI_Init>:
|
|
e80: 211a lhu a4,0(a0)
|
|
e82: 678d lui a5,0x3
|
|
e84: 04078793 addi a5,a5,64 # 3040 <read_and_process_uart_data+0xaa>
|
|
e88: 21b6 lhu a3,2(a1)
|
|
e8a: 8f7d and a4,a4,a5
|
|
e8c: 219e lhu a5,0(a1)
|
|
e8e: 8fd5 or a5,a5,a3
|
|
e90: 21d6 lhu a3,4(a1)
|
|
e92: 8fd5 or a5,a5,a3
|
|
e94: 21f6 lhu a3,6(a1)
|
|
e96: 8fd5 or a5,a5,a3
|
|
e98: 2596 lhu a3,8(a1)
|
|
e9a: 8fd5 or a5,a5,a3
|
|
e9c: 25b6 lhu a3,10(a1)
|
|
e9e: 8fd5 or a5,a5,a3
|
|
ea0: 25d6 lhu a3,12(a1)
|
|
ea2: 8fd5 or a5,a5,a3
|
|
ea4: 25f6 lhu a3,14(a1)
|
|
ea6: 8fd5 or a5,a5,a3
|
|
ea8: 8fd9 or a5,a5,a4
|
|
eaa: a11e sh a5,0(a0)
|
|
eac: 299e lhu a5,16(a1)
|
|
eae: a91e sh a5,16(a0)
|
|
eb0: 8082 ret
|
|
|
|
00000eb2 <SPI_Cmd>:
|
|
eb2: 211e lhu a5,0(a0)
|
|
eb4: c589 beqz a1,ebe <SPI_Cmd+0xc>
|
|
eb6: 0407e793 ori a5,a5,64
|
|
eba: a11e sh a5,0(a0)
|
|
ebc: 8082 ret
|
|
ebe: 07c2 slli a5,a5,0x10
|
|
ec0: 83c1 srli a5,a5,0x10
|
|
ec2: fbf7f793 andi a5,a5,-65
|
|
ec6: 07c2 slli a5,a5,0x10
|
|
ec8: 83c1 srli a5,a5,0x10
|
|
eca: bfc5 j eba <SPI_Cmd+0x8>
|
|
|
|
00000ecc <SPI_I2S_SendData>:
|
|
ecc: a54e sh a1,12(a0)
|
|
ece: 8082 ret
|
|
|
|
00000ed0 <SPI_I2S_ReceiveData>:
|
|
ed0: 254a lhu a0,12(a0)
|
|
ed2: 8082 ret
|
|
|
|
00000ed4 <SPI_I2S_GetFlagStatus>:
|
|
ed4: 250a lhu a0,8(a0)
|
|
ed6: 8d6d and a0,a0,a1
|
|
ed8: 00a03533 snez a0,a0
|
|
edc: 8082 ret
|
|
|
|
00000ede <TIM_TimeBaseInit>:
|
|
ede: 211e lhu a5,0(a0)
|
|
ee0: 40013737 lui a4,0x40013
|
|
ee4: c0070713 addi a4,a4,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
ee8: 07c2 slli a5,a5,0x10
|
|
eea: 83c1 srli a5,a5,0x10
|
|
eec: 02e50063 beq a0,a4,f0c <TIM_TimeBaseInit+0x2e>
|
|
ef0: 40000737 lui a4,0x40000
|
|
ef4: 00e50c63 beq a0,a4,f0c <TIM_TimeBaseInit+0x2e>
|
|
ef8: 40070713 addi a4,a4,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
efc: 00e50863 beq a0,a4,f0c <TIM_TimeBaseInit+0x2e>
|
|
f00: 40001737 lui a4,0x40001
|
|
f04: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
f08: 00e51663 bne a0,a4,f14 <TIM_TimeBaseInit+0x36>
|
|
f0c: 21fa lhu a4,6(a1)
|
|
f0e: f8f7f793 andi a5,a5,-113
|
|
f12: 8fd9 or a5,a5,a4
|
|
f14: 259a lhu a4,8(a1)
|
|
f16: cff7f793 andi a5,a5,-769
|
|
f1a: 07c2 slli a5,a5,0x10
|
|
f1c: 83c1 srli a5,a5,0x10
|
|
f1e: 8fd9 or a5,a5,a4
|
|
f20: 40001737 lui a4,0x40001
|
|
f24: a11e sh a5,0(a0)
|
|
f26: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
f2a: 419c lw a5,0(a1)
|
|
f2c: 02e51063 bne a0,a4,f4c <TIM_TimeBaseInit+0x6e>
|
|
f30: d55c sw a5,44(a0)
|
|
f32: 21de lhu a5,4(a1)
|
|
f34: b51e sh a5,40(a0)
|
|
f36: 400137b7 lui a5,0x40013
|
|
f3a: c0078793 addi a5,a5,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
f3e: 00f51463 bne a0,a5,f46 <TIM_TimeBaseInit+0x68>
|
|
f42: 25bc lbu a5,10(a1)
|
|
f44: b91e sh a5,48(a0)
|
|
f46: 4785 li a5,1
|
|
f48: a95e sh a5,20(a0)
|
|
f4a: 8082 ret
|
|
f4c: 07c2 slli a5,a5,0x10
|
|
f4e: 83c1 srli a5,a5,0x10
|
|
f50: b55e sh a5,44(a0)
|
|
f52: b7c5 j f32 <TIM_TimeBaseInit+0x54>
|
|
|
|
00000f54 <TIM_OC4Init>:
|
|
f54: 311a lhu a4,32(a0)
|
|
f56: 77fd lui a5,0xfffff
|
|
f58: 17fd addi a5,a5,-1
|
|
f5a: 8ff9 and a5,a5,a4
|
|
f5c: b11e sh a5,32(a0)
|
|
f5e: 02055803 lhu a6,32(a0) # 40011020 <_eusrstack+0x2000c020>
|
|
f62: 2156 lhu a3,4(a0)
|
|
f64: 2d5e lhu a5,28(a0)
|
|
f66: 7765 lui a4,0xffff9
|
|
f68: 21d2 lhu a2,4(a1)
|
|
f6a: cff70713 addi a4,a4,-769 # ffff8cff <_eusrstack+0xdfff3cff>
|
|
f6e: 8f7d and a4,a4,a5
|
|
f70: 77f9 lui a5,0xffffe
|
|
f72: 0622 slli a2,a2,0x8
|
|
f74: 17fd addi a5,a5,-1
|
|
f76: 8f51 or a4,a4,a2
|
|
f78: 0107f7b3 and a5,a5,a6
|
|
f7c: 21f2 lhu a2,6(a1)
|
|
f7e: 00a5d803 lhu a6,10(a1) # 4001000a <_eusrstack+0x2000b00a>
|
|
f82: 06c2 slli a3,a3,0x10
|
|
f84: 0742 slli a4,a4,0x10
|
|
f86: 01066633 or a2,a2,a6
|
|
f8a: 0632 slli a2,a2,0xc
|
|
f8c: 8fd1 or a5,a5,a2
|
|
f8e: 40013637 lui a2,0x40013
|
|
f92: 07c2 slli a5,a5,0x10
|
|
f94: c0060613 addi a2,a2,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
f98: 82c1 srli a3,a3,0x10
|
|
f9a: 8341 srli a4,a4,0x10
|
|
f9c: 83c1 srli a5,a5,0x10
|
|
f9e: 00c51a63 bne a0,a2,fb2 <TIM_OC4Init+0x5e>
|
|
fa2: 7671 lui a2,0xffffc
|
|
fa4: 167d addi a2,a2,-1
|
|
fa6: 8ef1 and a3,a3,a2
|
|
fa8: 25f2 lhu a2,14(a1)
|
|
faa: 061a slli a2,a2,0x6
|
|
fac: 8ed1 or a3,a3,a2
|
|
fae: 06c2 slli a3,a3,0x10
|
|
fb0: 82c1 srli a3,a3,0x10
|
|
fb2: a156 sh a3,4(a0)
|
|
fb4: 400016b7 lui a3,0x40001
|
|
fb8: ad5a sh a4,28(a0)
|
|
fba: 80068693 addi a3,a3,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
fbe: 4198 lw a4,0(a1)
|
|
fc0: 00d51563 bne a0,a3,fca <TIM_OC4Init+0x76>
|
|
fc4: c138 sw a4,64(a0)
|
|
fc6: b11e sh a5,32(a0)
|
|
fc8: 8082 ret
|
|
fca: 0742 slli a4,a4,0x10
|
|
fcc: 8341 srli a4,a4,0x10
|
|
fce: bfdd j fc4 <TIM_OC4Init+0x70>
|
|
|
|
00000fd0 <TIM_Cmd>:
|
|
fd0: 211e lhu a5,0(a0)
|
|
fd2: c589 beqz a1,fdc <TIM_Cmd+0xc>
|
|
fd4: 0017e793 ori a5,a5,1
|
|
fd8: a11e sh a5,0(a0)
|
|
fda: 8082 ret
|
|
fdc: 07c2 slli a5,a5,0x10
|
|
fde: 83c1 srli a5,a5,0x10
|
|
fe0: 9bf9 andi a5,a5,-2
|
|
fe2: 07c2 slli a5,a5,0x10
|
|
fe4: 83c1 srli a5,a5,0x10
|
|
fe6: bfcd j fd8 <TIM_Cmd+0x8>
|
|
|
|
00000fe8 <TIM_CtrlPWMOutputs>:
|
|
fe8: 04455783 lhu a5,68(a0)
|
|
fec: c591 beqz a1,ff8 <TIM_CtrlPWMOutputs+0x10>
|
|
fee: 6721 lui a4,0x8
|
|
ff0: 8fd9 or a5,a5,a4
|
|
ff2: 04f51223 sh a5,68(a0)
|
|
ff6: 8082 ret
|
|
ff8: 07c6 slli a5,a5,0x11
|
|
ffa: 83c5 srli a5,a5,0x11
|
|
ffc: bfdd j ff2 <TIM_CtrlPWMOutputs+0xa>
|
|
|
|
00000ffe <TIM_ITConfig>:
|
|
ffe: 255e lhu a5,12(a0)
|
|
1000: c601 beqz a2,1008 <TIM_ITConfig+0xa>
|
|
1002: 8ddd or a1,a1,a5
|
|
1004: a54e sh a1,12(a0)
|
|
1006: 8082 ret
|
|
1008: fff5c593 not a1,a1
|
|
100c: 8dfd and a1,a1,a5
|
|
100e: bfdd j 1004 <TIM_ITConfig+0x6>
|
|
|
|
00001010 <TIM_ARRPreloadConfig>:
|
|
1010: 211e lhu a5,0(a0)
|
|
1012: c589 beqz a1,101c <TIM_ARRPreloadConfig+0xc>
|
|
1014: 0807e793 ori a5,a5,128
|
|
1018: a11e sh a5,0(a0)
|
|
101a: 8082 ret
|
|
101c: 07c2 slli a5,a5,0x10
|
|
101e: 83c1 srli a5,a5,0x10
|
|
1020: f7f7f793 andi a5,a5,-129
|
|
1024: 07c2 slli a5,a5,0x10
|
|
1026: 83c1 srli a5,a5,0x10
|
|
1028: bfc5 j 1018 <TIM_ARRPreloadConfig+0x8>
|
|
|
|
0000102a <TIM_OC4PreloadConfig>:
|
|
102a: 2d5a lhu a4,28(a0)
|
|
102c: 77fd lui a5,0xfffff
|
|
102e: 7ff78793 addi a5,a5,2047 # fffff7ff <_eusrstack+0xdfffa7ff>
|
|
1032: 8ff9 and a5,a5,a4
|
|
1034: 05a2 slli a1,a1,0x8
|
|
1036: 8fcd or a5,a5,a1
|
|
1038: 07c2 slli a5,a5,0x10
|
|
103a: 83c1 srli a5,a5,0x10
|
|
103c: ad5e sh a5,28(a0)
|
|
103e: 8082 ret
|
|
|
|
00001040 <TIM_SetCompare4>:
|
|
1040: 400017b7 lui a5,0x40001
|
|
1044: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
1048: 00f51463 bne a0,a5,1050 <TIM_SetCompare4+0x10>
|
|
104c: c12c sw a1,64(a0)
|
|
104e: 8082 ret
|
|
1050: 05c2 slli a1,a1,0x10
|
|
1052: 81c1 srli a1,a1,0x10
|
|
1054: bfe5 j 104c <TIM_SetCompare4+0xc>
|
|
|
|
00001056 <TIM_GetCounter>:
|
|
1056: 400017b7 lui a5,0x40001
|
|
105a: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
105e: 00f51463 bne a0,a5,1066 <TIM_GetCounter+0x10>
|
|
1062: 5148 lw a0,36(a0)
|
|
1064: 8082 ret
|
|
1066: 314a lhu a0,36(a0)
|
|
1068: 0542 slli a0,a0,0x10
|
|
106a: 8141 srli a0,a0,0x10
|
|
106c: 8082 ret
|
|
|
|
0000106e <TIM_GetITStatus>:
|
|
106e: 291e lhu a5,16(a0)
|
|
1070: 254a lhu a0,12(a0)
|
|
1072: 8fed and a5,a5,a1
|
|
1074: 0542 slli a0,a0,0x10
|
|
1076: 8141 srli a0,a0,0x10
|
|
1078: c789 beqz a5,1082 <TIM_GetITStatus+0x14>
|
|
107a: 8d6d and a0,a0,a1
|
|
107c: 00a03533 snez a0,a0
|
|
1080: 8082 ret
|
|
1082: 4501 li a0,0
|
|
1084: 8082 ret
|
|
|
|
00001086 <TIM_ClearITPendingBit>:
|
|
1086: fff5c593 not a1,a1
|
|
108a: 05c2 slli a1,a1,0x10
|
|
108c: 81c1 srli a1,a1,0x10
|
|
108e: a90e sh a1,16(a0)
|
|
1090: 8082 ret
|
|
|
|
00001092 <USART_Init>:
|
|
1092: 8deff2ef jal t0,170 <__riscv_save_0>
|
|
1096: 2916 lhu a3,16(a0)
|
|
1098: 77f5 lui a5,0xffffd
|
|
109a: 17fd addi a5,a5,-1
|
|
109c: 8ff5 and a5,a5,a3
|
|
109e: 21f6 lhu a3,6(a1)
|
|
10a0: 25da lhu a4,12(a1)
|
|
10a2: 7179 addi sp,sp,-48
|
|
10a4: 8fd5 or a5,a5,a3
|
|
10a6: a91e sh a5,16(a0)
|
|
10a8: 2556 lhu a3,12(a0)
|
|
10aa: 77fd lui a5,0xfffff
|
|
10ac: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdfff99f3>
|
|
10b0: 8ff5 and a5,a5,a3
|
|
10b2: 21d6 lhu a3,4(a1)
|
|
10b4: 842a mv s0,a0
|
|
10b6: c62e sw a1,12(sp)
|
|
10b8: 8fd5 or a5,a5,a3
|
|
10ba: 2596 lhu a3,8(a1)
|
|
10bc: 8fd5 or a5,a5,a3
|
|
10be: 25b6 lhu a3,10(a1)
|
|
10c0: 8fd5 or a5,a5,a3
|
|
10c2: a55e sh a5,12(a0)
|
|
10c4: 295e lhu a5,20(a0)
|
|
10c6: 07c2 slli a5,a5,0x10
|
|
10c8: 83c1 srli a5,a5,0x10
|
|
10ca: cff7f793 andi a5,a5,-769
|
|
10ce: 8fd9 or a5,a5,a4
|
|
10d0: a95e sh a5,20(a0)
|
|
10d2: 0868 addi a0,sp,28
|
|
10d4: 39b5 jal d50 <RCC_GetClocksFreq>
|
|
10d6: 400147b7 lui a5,0x40014
|
|
10da: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
10de: 45b2 lw a1,12(sp)
|
|
10e0: 04f41a63 bne s0,a5,1134 <USART_Init+0xa2>
|
|
10e4: 57a2 lw a5,40(sp)
|
|
10e6: 2456 lhu a3,12(s0)
|
|
10e8: 4765 li a4,25
|
|
10ea: 02e787b3 mul a5,a5,a4
|
|
10ee: 06c2 slli a3,a3,0x10
|
|
10f0: 86c1 srai a3,a3,0x10
|
|
10f2: 4198 lw a4,0(a1)
|
|
10f4: 0406d263 bgez a3,1138 <USART_Init+0xa6>
|
|
10f8: 0706 slli a4,a4,0x1
|
|
10fa: 2452 lhu a2,12(s0)
|
|
10fc: 0642 slli a2,a2,0x10
|
|
10fe: 02e7d7b3 divu a5,a5,a4
|
|
1102: 06400713 li a4,100
|
|
1106: 8641 srai a2,a2,0x10
|
|
1108: 02e7d6b3 divu a3,a5,a4
|
|
110c: 02e7f7b3 remu a5,a5,a4
|
|
1110: 0692 slli a3,a3,0x4
|
|
1112: 02065563 bgez a2,113c <USART_Init+0xaa>
|
|
1116: 078e slli a5,a5,0x3
|
|
1118: 03278793 addi a5,a5,50
|
|
111c: 02e7d7b3 divu a5,a5,a4
|
|
1120: 0077f713 andi a4,a5,7
|
|
1124: 00d767b3 or a5,a4,a3
|
|
1128: 07c2 slli a5,a5,0x10
|
|
112a: 83c1 srli a5,a5,0x10
|
|
112c: a41e sh a5,8(s0)
|
|
112e: 6145 addi sp,sp,48
|
|
1130: 864ff06f j 194 <__riscv_restore_0>
|
|
1134: 5792 lw a5,36(sp)
|
|
1136: bf45 j 10e6 <USART_Init+0x54>
|
|
1138: 070a slli a4,a4,0x2
|
|
113a: b7c1 j 10fa <USART_Init+0x68>
|
|
113c: 0792 slli a5,a5,0x4
|
|
113e: 03278793 addi a5,a5,50
|
|
1142: 02e7d7b3 divu a5,a5,a4
|
|
1146: 8bbd andi a5,a5,15
|
|
1148: 8fd5 or a5,a5,a3
|
|
114a: bff9 j 1128 <USART_Init+0x96>
|
|
|
|
0000114c <USART_Cmd>:
|
|
114c: c591 beqz a1,1158 <USART_Cmd+0xc>
|
|
114e: 255e lhu a5,12(a0)
|
|
1150: 6709 lui a4,0x2
|
|
1152: 8fd9 or a5,a5,a4
|
|
1154: a55e sh a5,12(a0)
|
|
1156: 8082 ret
|
|
1158: 255a lhu a4,12(a0)
|
|
115a: 77f9 lui a5,0xffffe
|
|
115c: 17fd addi a5,a5,-1
|
|
115e: 8ff9 and a5,a5,a4
|
|
1160: bfd5 j 1154 <USART_Cmd+0x8>
|
|
|
|
00001162 <USART_ITConfig>:
|
|
1162: 0ff5f713 andi a4,a1,255
|
|
1166: 4785 li a5,1
|
|
1168: 8315 srli a4,a4,0x5
|
|
116a: 00b795b3 sll a1,a5,a1
|
|
116e: 00f71963 bne a4,a5,1180 <USART_ITConfig+0x1e>
|
|
1172: 00c50793 addi a5,a0,12
|
|
1176: 4398 lw a4,0(a5)
|
|
1178: ce01 beqz a2,1190 <USART_ITConfig+0x2e>
|
|
117a: 8dd9 or a1,a1,a4
|
|
117c: c38c sw a1,0(a5)
|
|
117e: 8082 ret
|
|
1180: 4689 li a3,2
|
|
1182: 01450793 addi a5,a0,20
|
|
1186: fed718e3 bne a4,a3,1176 <USART_ITConfig+0x14>
|
|
118a: 01050793 addi a5,a0,16
|
|
118e: b7e5 j 1176 <USART_ITConfig+0x14>
|
|
1190: fff5c593 not a1,a1
|
|
1194: 8df9 and a1,a1,a4
|
|
1196: b7dd j 117c <USART_ITConfig+0x1a>
|
|
|
|
00001198 <USART_SendData>:
|
|
1198: 1ff5f593 andi a1,a1,511
|
|
119c: a14e sh a1,4(a0)
|
|
119e: 8082 ret
|
|
|
|
000011a0 <USART_ReceiveData>:
|
|
11a0: 214a lhu a0,4(a0)
|
|
11a2: 1ff57513 andi a0,a0,511
|
|
11a6: 8082 ret
|
|
|
|
000011a8 <USART_GetFlagStatus>:
|
|
11a8: 210a lhu a0,0(a0)
|
|
11aa: 8d6d and a0,a0,a1
|
|
11ac: 00a03533 snez a0,a0
|
|
11b0: 8082 ret
|
|
|
|
000011b2 <USART_GetITStatus>:
|
|
11b2: 0ff5f713 andi a4,a1,255
|
|
11b6: 4685 li a3,1
|
|
11b8: 8315 srli a4,a4,0x5
|
|
11ba: 00b697b3 sll a5,a3,a1
|
|
11be: 02d71163 bne a4,a3,11e0 <USART_GetITStatus+0x2e>
|
|
11c2: 255a lhu a4,12(a0)
|
|
11c4: 8ff9 and a5,a5,a4
|
|
11c6: 211a lhu a4,0(a0)
|
|
11c8: 4501 li a0,0
|
|
11ca: 0742 slli a4,a4,0x10
|
|
11cc: 8341 srli a4,a4,0x10
|
|
11ce: cb81 beqz a5,11de <USART_GetITStatus+0x2c>
|
|
11d0: 4505 li a0,1
|
|
11d2: 81a1 srli a1,a1,0x8
|
|
11d4: 00b515b3 sll a1,a0,a1
|
|
11d8: 8f6d and a4,a4,a1
|
|
11da: 00e03533 snez a0,a4
|
|
11de: 8082 ret
|
|
11e0: 4689 li a3,2
|
|
11e2: 00d71463 bne a4,a3,11ea <USART_GetITStatus+0x38>
|
|
11e6: 291a lhu a4,16(a0)
|
|
11e8: bff1 j 11c4 <USART_GetITStatus+0x12>
|
|
11ea: 295a lhu a4,20(a0)
|
|
11ec: bfe1 j 11c4 <USART_GetITStatus+0x12>
|
|
|
|
000011ee <ADC_all_Init>:
|
|
11ee: f83fe2ef jal t0,170 <__riscv_save_0>
|
|
11f2: 7179 addi sp,sp,-48
|
|
11f4: 02000613 li a2,32
|
|
11f8: 4581 li a1,0
|
|
11fa: 0808 addi a0,sp,16
|
|
11fc: fa5fe0ef jal ra,1a0 <memset>
|
|
1200: 4585 li a1,1
|
|
1202: 4511 li a0,4
|
|
1204: c202 sw zero,4(sp)
|
|
1206: c402 sw zero,8(sp)
|
|
1208: c602 sw zero,12(sp)
|
|
120a: 3931 jal e26 <RCC_PB2PeriphClockCmd>
|
|
120c: 4585 li a1,1
|
|
120e: 20000513 li a0,512
|
|
1212: 3911 jal e26 <RCC_PB2PeriphClockCmd>
|
|
1214: 4501 li a0,0
|
|
1216: 361d jal d3c <RCC_ADCCLKConfig>
|
|
1218: 40011537 lui a0,0x40011
|
|
121c: 0fe00793 li a5,254
|
|
1220: 004c addi a1,sp,4
|
|
1222: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1226: 40012437 lui s0,0x40012
|
|
122a: 827c sh a5,4(sp)
|
|
122c: c602 sw zero,12(sp)
|
|
122e: eeaff0ef jal ra,918 <GPIO_Init>
|
|
1232: 40040513 addi a0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
1236: a96ff0ef jal ra,4cc <ADC_DeInit>
|
|
123a: 40040513 addi a0,s0,1024
|
|
123e: c6eff0ef jal ra,6ac <Get_CalibrationValue>
|
|
1242: 85aa mv a1,a0
|
|
1244: 82a19a23 sh a0,-1996(gp) # 2000019c <Calibrattion_Val>
|
|
1248: 00008537 lui a0,0x8
|
|
124c: 47450513 addi a0,a0,1140 # 8474 <_read+0x30>
|
|
1250: 2bb050ef jal ra,6d0a <iprintf>
|
|
1254: 000e07b7 lui a5,0xe0
|
|
1258: ce3e sw a5,28(sp)
|
|
125a: 080c addi a1,sp,16
|
|
125c: 4785 li a5,1
|
|
125e: 40040513 addi a0,s0,1024
|
|
1262: 02f10223 sb a5,36(sp)
|
|
1266: c802 sw zero,16(sp)
|
|
1268: ca02 sw zero,20(sp)
|
|
126a: cc02 sw zero,24(sp)
|
|
126c: d002 sw zero,32(sp)
|
|
126e: a86ff0ef jal ra,4f4 <ADC_Init>
|
|
1272: 4585 li a1,1
|
|
1274: 40040513 addi a0,s0,1024
|
|
1278: ad2ff0ef jal ra,54a <ADC_Cmd>
|
|
127c: 4585 li a1,1
|
|
127e: 40040513 addi a0,s0,1024
|
|
1282: c08ff0ef jal ra,68a <ADC_FIFO_Cmd>
|
|
1286: 4581 li a1,0
|
|
1288: 40040513 addi a0,s0,1024
|
|
128c: bd4ff0ef jal ra,660 <ADC_BufferCmd>
|
|
1290: 40040513 addi a0,s0,1024
|
|
1294: ac6ff0ef jal ra,55a <ADC_ResetCalibration>
|
|
1298: 40040493 addi s1,s0,1024
|
|
129c: 8526 mv a0,s1
|
|
129e: ac6ff0ef jal ra,564 <ADC_GetResetCalibrationStatus>
|
|
12a2: fd6d bnez a0,129c <ADC_all_Init+0xae>
|
|
12a4: 40040513 addi a0,s0,1024
|
|
12a8: 40012437 lui s0,0x40012
|
|
12ac: ac0ff0ef jal ra,56c <ADC_StartCalibration>
|
|
12b0: 40040493 addi s1,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
12b4: 8526 mv a0,s1
|
|
12b6: ac0ff0ef jal ra,576 <ADC_GetCalibrationStatus>
|
|
12ba: fd6d bnez a0,12b4 <ADC_all_Init+0xc6>
|
|
12bc: 80000537 lui a0,0x80000
|
|
12c0: 3cb5 jal d3c <RCC_ADCCLKConfig>
|
|
12c2: 40040513 addi a0,s0,1024
|
|
12c6: 4585 li a1,1
|
|
12c8: bb0ff0ef jal ra,678 <ADC_DutyDelayCmd>
|
|
12cc: 02000593 li a1,32
|
|
12d0: 40040513 addi a0,s0,1024
|
|
12d4: bc8ff0ef jal ra,69c <ADC_Sample_ModeConfig>
|
|
12d8: 6145 addi sp,sp,48
|
|
12da: ebbfe06f j 194 <__riscv_restore_0>
|
|
|
|
000012de <SPI_Flash_Init>:
|
|
12de: e93fe2ef jal t0,170 <__riscv_save_0>
|
|
12e2: 1101 addi sp,sp,-32
|
|
12e4: 4585 li a1,1
|
|
12e6: 4521 li a0,8
|
|
12e8: 3e3d jal e26 <RCC_PB2PeriphClockCmd>
|
|
12ea: 4585 li a1,1
|
|
12ec: 6511 lui a0,0x4
|
|
12ee: 3e99 jal e44 <RCC_PB1PeriphClockCmd>
|
|
12f0: 40011437 lui s0,0x40011
|
|
12f4: 6785 lui a5,0x1
|
|
12f6: 448d li s1,3
|
|
12f8: 807c sh a5,0(sp)
|
|
12fa: 858a mv a1,sp
|
|
12fc: 47c1 li a5,16
|
|
12fe: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1302: c43e sw a5,8(sp)
|
|
1304: c226 sw s1,4(sp)
|
|
1306: e12ff0ef jal ra,918 <GPIO_Init>
|
|
130a: c0040513 addi a0,s0,-1024
|
|
130e: 6585 lui a1,0x1
|
|
1310: edcff0ef jal ra,9ec <GPIO_SetBits>
|
|
1314: 6789 lui a5,0x2
|
|
1316: 4961 li s2,24
|
|
1318: 858a mv a1,sp
|
|
131a: c0040513 addi a0,s0,-1024
|
|
131e: 807c sh a5,0(sp)
|
|
1320: c44a sw s2,8(sp)
|
|
1322: c226 sw s1,4(sp)
|
|
1324: df4ff0ef jal ra,918 <GPIO_Init>
|
|
1328: 6791 lui a5,0x4
|
|
132a: 807c sh a5,0(sp)
|
|
132c: 858a mv a1,sp
|
|
132e: 4791 li a5,4
|
|
1330: c0040513 addi a0,s0,-1024
|
|
1334: c43e sw a5,8(sp)
|
|
1336: de2ff0ef jal ra,918 <GPIO_Init>
|
|
133a: 77e1 lui a5,0xffff8
|
|
133c: 858a mv a1,sp
|
|
133e: c0040513 addi a0,s0,-1024
|
|
1342: 807c sh a5,0(sp)
|
|
1344: c44a sw s2,8(sp)
|
|
1346: c226 sw s1,4(sp)
|
|
1348: dd0ff0ef jal ra,918 <GPIO_Init>
|
|
134c: 010407b7 lui a5,0x1040
|
|
1350: c63e sw a5,12(sp)
|
|
1352: 000207b7 lui a5,0x20
|
|
1356: c83e sw a5,16(sp)
|
|
1358: 020007b7 lui a5,0x2000
|
|
135c: 0785 addi a5,a5,1
|
|
135e: 40004437 lui s0,0x40004
|
|
1362: ca3e sw a5,20(sp)
|
|
1364: 47a1 li a5,8
|
|
1366: cc3e sw a5,24(sp)
|
|
1368: 006c addi a1,sp,12
|
|
136a: 479d li a5,7
|
|
136c: 80040513 addi a0,s0,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
1370: 86fc sh a5,28(sp)
|
|
1372: 3639 jal e80 <SPI_Init>
|
|
1374: 4585 li a1,1
|
|
1376: 80040513 addi a0,s0,-2048
|
|
137a: 3e25 jal eb2 <SPI_Cmd>
|
|
137c: 6105 addi sp,sp,32
|
|
137e: e17fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001382 <SPI_ReadWriteByte>:
|
|
1382: dd5fe2ef jal t0,156 <__riscv_save_4>
|
|
1386: 400044b7 lui s1,0x40004
|
|
138a: 892a mv s2,a0
|
|
138c: 0c900413 li s0,201
|
|
1390: 80048993 addi s3,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
1394: 4589 li a1,2
|
|
1396: 854e mv a0,s3
|
|
1398: 3e35 jal ed4 <SPI_I2S_GetFlagStatus>
|
|
139a: c50d beqz a0,13c4 <SPI_ReadWriteByte+0x42>
|
|
139c: 85ca mv a1,s2
|
|
139e: 80048513 addi a0,s1,-2048
|
|
13a2: 400044b7 lui s1,0x40004
|
|
13a6: 361d jal ecc <SPI_I2S_SendData>
|
|
13a8: 0c900413 li s0,201
|
|
13ac: 80048913 addi s2,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
13b0: 4585 li a1,1
|
|
13b2: 854a mv a0,s2
|
|
13b4: 3605 jal ed4 <SPI_I2S_GetFlagStatus>
|
|
13b6: cd11 beqz a0,13d2 <SPI_ReadWriteByte+0x50>
|
|
13b8: 80048513 addi a0,s1,-2048
|
|
13bc: 3e11 jal ed0 <SPI_I2S_ReceiveData>
|
|
13be: 0ff57513 andi a0,a0,255
|
|
13c2: a031 j 13ce <SPI_ReadWriteByte+0x4c>
|
|
13c4: 147d addi s0,s0,-1
|
|
13c6: 0ff47413 andi s0,s0,255
|
|
13ca: f469 bnez s0,1394 <SPI_ReadWriteByte+0x12>
|
|
13cc: 4501 li a0,0
|
|
13ce: dbdfe06f j 18a <__riscv_restore_4>
|
|
13d2: 147d addi s0,s0,-1
|
|
13d4: 0ff47413 andi s0,s0,255
|
|
13d8: fc61 bnez s0,13b0 <SPI_ReadWriteByte+0x2e>
|
|
13da: bfcd j 13cc <SPI_ReadWriteByte+0x4a>
|
|
|
|
000013dc <SPI_Flash_ReadSR>:
|
|
13dc: d95fe2ef jal t0,170 <__riscv_save_0>
|
|
13e0: 40011437 lui s0,0x40011
|
|
13e4: 4601 li a2,0
|
|
13e6: 6585 lui a1,0x1
|
|
13e8: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
13ec: e04ff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
13f0: 4515 li a0,5
|
|
13f2: 3f41 jal 1382 <SPI_ReadWriteByte>
|
|
13f4: 0ff00513 li a0,255
|
|
13f8: 3769 jal 1382 <SPI_ReadWriteByte>
|
|
13fa: 84aa mv s1,a0
|
|
13fc: 4605 li a2,1
|
|
13fe: c0040513 addi a0,s0,-1024
|
|
1402: 6585 lui a1,0x1
|
|
1404: decff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
1408: 8526 mv a0,s1
|
|
140a: d8bfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000140e <SPI_Flash_Wait_Busy>:
|
|
140e: d63fe2ef jal t0,170 <__riscv_save_0>
|
|
1412: 37e9 jal 13dc <SPI_Flash_ReadSR>
|
|
1414: 8905 andi a0,a0,1
|
|
1416: fd75 bnez a0,1412 <SPI_Flash_Wait_Busy+0x4>
|
|
1418: d7dfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000141c <SPI_FLASH_Write_Enable>:
|
|
141c: d55fe2ef jal t0,170 <__riscv_save_0>
|
|
1420: 40011437 lui s0,0x40011
|
|
1424: 4601 li a2,0
|
|
1426: 6585 lui a1,0x1
|
|
1428: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
142c: dc4ff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
1430: 4519 li a0,6
|
|
1432: 3f81 jal 1382 <SPI_ReadWriteByte>
|
|
1434: 4605 li a2,1
|
|
1436: 6585 lui a1,0x1
|
|
1438: c0040513 addi a0,s0,-1024
|
|
143c: db4ff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
1440: d55fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001444 <SPI_Flash_Erase_Sector>:
|
|
1444: d2dfe2ef jal t0,170 <__riscv_save_0>
|
|
1448: 00c51413 slli s0,a0,0xc
|
|
144c: 400114b7 lui s1,0x40011
|
|
1450: 37f1 jal 141c <SPI_FLASH_Write_Enable>
|
|
1452: 3f75 jal 140e <SPI_Flash_Wait_Busy>
|
|
1454: 4601 li a2,0
|
|
1456: 6585 lui a1,0x1
|
|
1458: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
145c: d94ff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
1460: 02000513 li a0,32
|
|
1464: 3f39 jal 1382 <SPI_ReadWriteByte>
|
|
1466: 01045513 srli a0,s0,0x10
|
|
146a: 0ff57513 andi a0,a0,255
|
|
146e: 3f11 jal 1382 <SPI_ReadWriteByte>
|
|
1470: 00845513 srli a0,s0,0x8
|
|
1474: 0f057513 andi a0,a0,240
|
|
1478: 3729 jal 1382 <SPI_ReadWriteByte>
|
|
147a: 4501 li a0,0
|
|
147c: 3719 jal 1382 <SPI_ReadWriteByte>
|
|
147e: 4605 li a2,1
|
|
1480: 6585 lui a1,0x1
|
|
1482: c0048513 addi a0,s1,-1024
|
|
1486: d6aff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
148a: 3751 jal 140e <SPI_Flash_Wait_Busy>
|
|
148c: d09fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001490 <SPI_Flash_Read>:
|
|
1490: ce1fe2ef jal t0,170 <__riscv_save_0>
|
|
1494: 892a mv s2,a0
|
|
1496: 40011537 lui a0,0x40011
|
|
149a: 842e mv s0,a1
|
|
149c: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
14a0: 6585 lui a1,0x1
|
|
14a2: 84b2 mv s1,a2
|
|
14a4: 4601 li a2,0
|
|
14a6: d4aff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
14aa: 450d li a0,3
|
|
14ac: 3dd9 jal 1382 <SPI_ReadWriteByte>
|
|
14ae: 01045513 srli a0,s0,0x10
|
|
14b2: 0ff57513 andi a0,a0,255
|
|
14b6: 35f1 jal 1382 <SPI_ReadWriteByte>
|
|
14b8: 00845513 srli a0,s0,0x8
|
|
14bc: 0ff57513 andi a0,a0,255
|
|
14c0: 35c9 jal 1382 <SPI_ReadWriteByte>
|
|
14c2: 0ff47513 andi a0,s0,255
|
|
14c6: 3d75 jal 1382 <SPI_ReadWriteByte>
|
|
14c8: 4401 li s0,0
|
|
14ca: 01041793 slli a5,s0,0x10
|
|
14ce: 83c1 srli a5,a5,0x10
|
|
14d0: 0097ec63 bltu a5,s1,14e8 <SPI_Flash_Read+0x58>
|
|
14d4: 40011537 lui a0,0x40011
|
|
14d8: 4605 li a2,1
|
|
14da: 6585 lui a1,0x1
|
|
14dc: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
14e0: d10ff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
14e4: cb1fe06f j 194 <__riscv_restore_0>
|
|
14e8: 0ff00513 li a0,255
|
|
14ec: 3d59 jal 1382 <SPI_ReadWriteByte>
|
|
14ee: 008907b3 add a5,s2,s0
|
|
14f2: a388 sb a0,0(a5)
|
|
14f4: 0405 addi s0,s0,1
|
|
14f6: bfd1 j 14ca <SPI_Flash_Read+0x3a>
|
|
|
|
000014f8 <SPI_Flash_Write_Page>:
|
|
14f8: c79fe2ef jal t0,170 <__riscv_save_0>
|
|
14fc: 842e mv s0,a1
|
|
14fe: 892a mv s2,a0
|
|
1500: 84b2 mv s1,a2
|
|
1502: 3f29 jal 141c <SPI_FLASH_Write_Enable>
|
|
1504: 40011537 lui a0,0x40011
|
|
1508: 4601 li a2,0
|
|
150a: 6585 lui a1,0x1
|
|
150c: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1510: ce0ff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
1514: 4509 li a0,2
|
|
1516: 35b5 jal 1382 <SPI_ReadWriteByte>
|
|
1518: 01045513 srli a0,s0,0x10
|
|
151c: 0ff57513 andi a0,a0,255
|
|
1520: 358d jal 1382 <SPI_ReadWriteByte>
|
|
1522: 00845513 srli a0,s0,0x8
|
|
1526: 0ff57513 andi a0,a0,255
|
|
152a: 3da1 jal 1382 <SPI_ReadWriteByte>
|
|
152c: 0ff47513 andi a0,s0,255
|
|
1530: 3d89 jal 1382 <SPI_ReadWriteByte>
|
|
1532: 4401 li s0,0
|
|
1534: 01041793 slli a5,s0,0x10
|
|
1538: 83c1 srli a5,a5,0x10
|
|
153a: 0097ed63 bltu a5,s1,1554 <SPI_Flash_Write_Page+0x5c>
|
|
153e: 40011537 lui a0,0x40011
|
|
1542: 4605 li a2,1
|
|
1544: 6585 lui a1,0x1
|
|
1546: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
154a: ca6ff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
154e: 35c1 jal 140e <SPI_Flash_Wait_Busy>
|
|
1550: c45fe06f j 194 <__riscv_restore_0>
|
|
1554: 008907b3 add a5,s2,s0
|
|
1558: 2388 lbu a0,0(a5)
|
|
155a: 0405 addi s0,s0,1
|
|
155c: 351d jal 1382 <SPI_ReadWriteByte>
|
|
155e: bfd9 j 1534 <SPI_Flash_Write_Page+0x3c>
|
|
|
|
00001560 <SPI_Flash_Write_NoCheck>:
|
|
1560: bf7fe2ef jal t0,156 <__riscv_save_4>
|
|
1564: 0ff5f713 andi a4,a1,255
|
|
1568: 10000793 li a5,256
|
|
156c: 8f99 sub a5,a5,a4
|
|
156e: 843e mv s0,a5
|
|
1570: 07c2 slli a5,a5,0x10
|
|
1572: 83c1 srli a5,a5,0x10
|
|
1574: 89aa mv s3,a0
|
|
1576: 892e mv s2,a1
|
|
1578: 84b2 mv s1,a2
|
|
157a: 00f67363 bgeu a2,a5,1580 <SPI_Flash_Write_NoCheck+0x20>
|
|
157e: 8432 mv s0,a2
|
|
1580: 0442 slli s0,s0,0x10
|
|
1582: 8041 srli s0,s0,0x10
|
|
1584: 10000a13 li s4,256
|
|
1588: 8622 mv a2,s0
|
|
158a: 85ca mv a1,s2
|
|
158c: 854e mv a0,s3
|
|
158e: 37ad jal 14f8 <SPI_Flash_Write_Page>
|
|
1590: 00848f63 beq s1,s0,15ae <SPI_Flash_Write_NoCheck+0x4e>
|
|
1594: 8c81 sub s1,s1,s0
|
|
1596: 04c2 slli s1,s1,0x10
|
|
1598: 80c1 srli s1,s1,0x10
|
|
159a: 99a2 add s3,s3,s0
|
|
159c: 9922 add s2,s2,s0
|
|
159e: 8426 mv s0,s1
|
|
15a0: 009a7463 bgeu s4,s1,15a8 <SPI_Flash_Write_NoCheck+0x48>
|
|
15a4: 10000413 li s0,256
|
|
15a8: 0442 slli s0,s0,0x10
|
|
15aa: 8041 srli s0,s0,0x10
|
|
15ac: bff1 j 1588 <SPI_Flash_Write_NoCheck+0x28>
|
|
15ae: bddfe06f j 18a <__riscv_restore_4>
|
|
|
|
000015b2 <SPI_Flash_Write>:
|
|
15b2: b97fe2ef jal t0,148 <__riscv_save_10>
|
|
15b6: 01459913 slli s2,a1,0x14
|
|
15ba: 01495913 srli s2,s2,0x14
|
|
15be: 6785 lui a5,0x1
|
|
15c0: 412787b3 sub a5,a5,s2
|
|
15c4: 843e mv s0,a5
|
|
15c6: 07c2 slli a5,a5,0x10
|
|
15c8: 83c1 srli a5,a5,0x10
|
|
15ca: 8aaa mv s5,a0
|
|
15cc: 89ae mv s3,a1
|
|
15ce: 84b2 mv s1,a2
|
|
15d0: 00c5da13 srli s4,a1,0xc
|
|
15d4: 00f67363 bgeu a2,a5,15da <SPI_Flash_Write+0x28>
|
|
15d8: 8432 mv s0,a2
|
|
15da: 20000b37 lui s6,0x20000
|
|
15de: 0442 slli s0,s0,0x10
|
|
15e0: 21cb0b93 addi s7,s6,540 # 2000021c <SPI_FLASH_BUF>
|
|
15e4: 8041 srli s0,s0,0x10
|
|
15e6: 21cb0b13 addi s6,s6,540
|
|
15ea: 0ff00c13 li s8,255
|
|
15ee: 00ca1c93 slli s9,s4,0xc
|
|
15f2: 6605 lui a2,0x1
|
|
15f4: 85e6 mv a1,s9
|
|
15f6: 855e mv a0,s7
|
|
15f8: 3d61 jal 1490 <SPI_Flash_Read>
|
|
15fa: 4781 li a5,0
|
|
15fc: 01079713 slli a4,a5,0x10
|
|
1600: 8341 srli a4,a4,0x10
|
|
1602: 00876663 bltu a4,s0,160e <SPI_Flash_Write+0x5c>
|
|
1606: 8622 mv a2,s0
|
|
1608: 85ce mv a1,s3
|
|
160a: 8556 mv a0,s5
|
|
160c: a825 j 1644 <SPI_Flash_Write+0x92>
|
|
160e: 0785 addi a5,a5,1
|
|
1610: 00f90733 add a4,s2,a5
|
|
1614: 975a add a4,a4,s6
|
|
1616: fff74703 lbu a4,-1(a4) # 1fff <middleAverageFilter+0x77>
|
|
161a: ff8701e3 beq a4,s8,15fc <SPI_Flash_Write+0x4a>
|
|
161e: 8552 mv a0,s4
|
|
1620: 3515 jal 1444 <SPI_Flash_Erase_Sector>
|
|
1622: 4781 li a5,0
|
|
1624: 00fa8733 add a4,s5,a5
|
|
1628: 2314 lbu a3,0(a4)
|
|
162a: 00f90733 add a4,s2,a5
|
|
162e: 975e add a4,a4,s7
|
|
1630: 0785 addi a5,a5,1
|
|
1632: a314 sb a3,0(a4)
|
|
1634: 01079713 slli a4,a5,0x10
|
|
1638: 8341 srli a4,a4,0x10
|
|
163a: fe8765e3 bltu a4,s0,1624 <SPI_Flash_Write+0x72>
|
|
163e: 6605 lui a2,0x1
|
|
1640: 85e6 mv a1,s9
|
|
1642: 855a mv a0,s6
|
|
1644: 3f31 jal 1560 <SPI_Flash_Write_NoCheck>
|
|
1646: 02848363 beq s1,s0,166c <SPI_Flash_Write+0xba>
|
|
164a: 9aa2 add s5,s5,s0
|
|
164c: 99a2 add s3,s3,s0
|
|
164e: 40848433 sub s0,s1,s0
|
|
1652: 01041493 slli s1,s0,0x10
|
|
1656: 80c1 srli s1,s1,0x10
|
|
1658: 6785 lui a5,0x1
|
|
165a: 0a05 addi s4,s4,1
|
|
165c: 4901 li s2,0
|
|
165e: 8426 mv s0,s1
|
|
1660: 0097f363 bgeu a5,s1,1666 <SPI_Flash_Write+0xb4>
|
|
1664: 6405 lui s0,0x1
|
|
1666: 0442 slli s0,s0,0x10
|
|
1668: 8041 srli s0,s0,0x10
|
|
166a: b751 j 15ee <SPI_Flash_Write+0x3c>
|
|
166c: b15fe06f j 180 <__riscv_restore_10>
|
|
|
|
00001670 <RUN_LED_Init>:
|
|
1670: b01fe2ef jal t0,170 <__riscv_save_0>
|
|
1674: 1141 addi sp,sp,-16
|
|
1676: 4585 li a1,1
|
|
1678: 4511 li a0,4
|
|
167a: facff0ef jal ra,e26 <RCC_PB2PeriphClockCmd>
|
|
167e: 10000793 li a5,256
|
|
1682: 827c sh a5,4(sp)
|
|
1684: 40011537 lui a0,0x40011
|
|
1688: 47c1 li a5,16
|
|
168a: c63e sw a5,12(sp)
|
|
168c: 004c addi a1,sp,4
|
|
168e: 478d li a5,3
|
|
1690: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1694: c43e sw a5,8(sp)
|
|
1696: a82ff0ef jal ra,918 <GPIO_Init>
|
|
169a: 0141 addi sp,sp,16
|
|
169c: af9fe06f j 194 <__riscv_restore_0>
|
|
|
|
000016a0 <WDI_INPUT_Init>:
|
|
16a0: ad1fe2ef jal t0,170 <__riscv_save_0>
|
|
16a4: 1141 addi sp,sp,-16
|
|
16a6: 4585 li a1,1
|
|
16a8: 4541 li a0,16
|
|
16aa: f7cff0ef jal ra,e26 <RCC_PB2PeriphClockCmd>
|
|
16ae: 6785 lui a5,0x1
|
|
16b0: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
16b4: 827c sh a5,4(sp)
|
|
16b6: 40011537 lui a0,0x40011
|
|
16ba: 47c1 li a5,16
|
|
16bc: c63e sw a5,12(sp)
|
|
16be: 004c addi a1,sp,4
|
|
16c0: 478d li a5,3
|
|
16c2: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
16c6: c43e sw a5,8(sp)
|
|
16c8: a50ff0ef jal ra,918 <GPIO_Init>
|
|
16cc: 0141 addi sp,sp,16
|
|
16ce: ac7fe06f j 194 <__riscv_restore_0>
|
|
|
|
000016d2 <POW_OUT_CON_Init>:
|
|
16d2: a9ffe2ef jal t0,170 <__riscv_save_0>
|
|
16d6: 1141 addi sp,sp,-16
|
|
16d8: 4585 li a1,1
|
|
16da: 4521 li a0,8
|
|
16dc: f4aff0ef jal ra,e26 <RCC_PB2PeriphClockCmd>
|
|
16e0: 10000793 li a5,256
|
|
16e4: 40011437 lui s0,0x40011
|
|
16e8: 827c sh a5,4(sp)
|
|
16ea: 47c1 li a5,16
|
|
16ec: c63e sw a5,12(sp)
|
|
16ee: 004c addi a1,sp,4
|
|
16f0: 478d li a5,3
|
|
16f2: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
16f6: c43e sw a5,8(sp)
|
|
16f8: a20ff0ef jal ra,918 <GPIO_Init>
|
|
16fc: 4601 li a2,0
|
|
16fe: 10000593 li a1,256
|
|
1702: c0040513 addi a0,s0,-1024
|
|
1706: aeaff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
170a: 0141 addi sp,sp,16
|
|
170c: a89fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001710 <DSG_PROT_Init>:
|
|
1710: a61fe2ef jal t0,170 <__riscv_save_0>
|
|
1714: 7179 addi sp,sp,-48
|
|
1716: 4585 li a1,1
|
|
1718: 4525 li a0,9
|
|
171a: f0cff0ef jal ra,e26 <RCC_PB2PeriphClockCmd>
|
|
171e: 4791 li a5,4
|
|
1720: 40011537 lui a0,0x40011
|
|
1724: 82fc sh a5,20(sp)
|
|
1726: 084c addi a1,sp,20
|
|
1728: 04800793 li a5,72
|
|
172c: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1730: ce3e sw a5,28(sp)
|
|
1732: 9e6ff0ef jal ra,918 <GPIO_Init>
|
|
1736: 4589 li a1,2
|
|
1738: 4505 li a0,1
|
|
173a: becff0ef jal ra,b26 <GPIO_EXTILineConfig>
|
|
173e: 4791 li a5,4
|
|
1740: 4405 li s0,1
|
|
1742: d03e sw a5,32(sp)
|
|
1744: 1008 addi a0,sp,32
|
|
1746: 47b1 li a5,12
|
|
1748: d43e sw a5,40(sp)
|
|
174a: d622 sw s0,44(sp)
|
|
174c: d202 sw zero,36(sp)
|
|
174e: 938ff0ef jal ra,886 <EXTI_Init>
|
|
1752: 11800793 li a5,280
|
|
1756: 867c sh a5,12(sp)
|
|
1758: 0068 addi a0,sp,12
|
|
175a: 4789 li a5,2
|
|
175c: 875c sb a5,14(sp)
|
|
175e: c822 sw s0,16(sp)
|
|
1760: d88ff0ef jal ra,ce8 <NVIC_Init>
|
|
1764: 6145 addi sp,sp,48
|
|
1766: a2ffe06f j 194 <__riscv_restore_0>
|
|
|
|
0000176a <EXTI2_IRQHandler>:
|
|
176a: 1141 addi sp,sp,-16
|
|
176c: 4511 li a0,4
|
|
176e: c622 sw s0,12(sp)
|
|
1770: 980ff0ef jal ra,8f0 <EXTI_GetITStatus>
|
|
1774: 4785 li a5,1
|
|
1776: 02f51763 bne a0,a5,17a4 <EXTI2_IRQHandler+0x3a>
|
|
177a: 842a mv s0,a0
|
|
177c: 4511 li a0,4
|
|
177e: 990ff0ef jal ra,90e <EXTI_ClearITPendingBit>
|
|
1782: 8961c703 lbu a4,-1898(gp) # 200001fe <outputAgainFlag>
|
|
1786: ef19 bnez a4,17a4 <EXTI2_IRQHandler+0x3a>
|
|
1788: 000045b7 lui a1,0x4
|
|
178c: 20001537 lui a0,0x20001
|
|
1790: 4681 li a3,0
|
|
1792: 3e800613 li a2,1000
|
|
1796: efc58593 addi a1,a1,-260 # 3efc <Task_outputAgain>
|
|
179a: 2a050513 addi a0,a0,672 # 200012a0 <m_outputAgain>
|
|
179e: 88818b23 sb s0,-1898(gp) # 200001fe <outputAgainFlag>
|
|
17a2: 2bb5 jal 1d1e <TimeSliceOffset_Register>
|
|
17a4: 4432 lw s0,12(sp)
|
|
17a6: 0141 addi sp,sp,16
|
|
17a8: 30200073 mret
|
|
|
|
000017ac <WORK_VOLT_INT_Init>:
|
|
17ac: 9c5fe2ef jal t0,170 <__riscv_save_0>
|
|
17b0: 7179 addi sp,sp,-48
|
|
17b2: 4585 li a1,1
|
|
17b4: 4515 li a0,5
|
|
17b6: e70ff0ef jal ra,e26 <RCC_PB2PeriphClockCmd>
|
|
17ba: 6785 lui a5,0x1
|
|
17bc: 40011537 lui a0,0x40011
|
|
17c0: 82fc sh a5,20(sp)
|
|
17c2: 084c addi a1,sp,20
|
|
17c4: 02800793 li a5,40
|
|
17c8: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
17cc: ce3e sw a5,28(sp)
|
|
17ce: 94aff0ef jal ra,918 <GPIO_Init>
|
|
17d2: 45b1 li a1,12
|
|
17d4: 4501 li a0,0
|
|
17d6: b50ff0ef jal ra,b26 <GPIO_EXTILineConfig>
|
|
17da: 6785 lui a5,0x1
|
|
17dc: 4405 li s0,1
|
|
17de: d03e sw a5,32(sp)
|
|
17e0: 1008 addi a0,sp,32
|
|
17e2: 47a1 li a5,8
|
|
17e4: d43e sw a5,40(sp)
|
|
17e6: d622 sw s0,44(sp)
|
|
17e8: d202 sw zero,36(sp)
|
|
17ea: 89cff0ef jal ra,886 <EXTI_Init>
|
|
17ee: 13800793 li a5,312
|
|
17f2: 867c sh a5,12(sp)
|
|
17f4: 0068 addi a0,sp,12
|
|
17f6: 478d li a5,3
|
|
17f8: 875c sb a5,14(sp)
|
|
17fa: c822 sw s0,16(sp)
|
|
17fc: cecff0ef jal ra,ce8 <NVIC_Init>
|
|
1800: 6145 addi sp,sp,48
|
|
1802: 993fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001806 <EXTI15_10_IRQHandler>:
|
|
1806: 6505 lui a0,0x1
|
|
1808: 8e8ff0ef jal ra,8f0 <EXTI_GetITStatus>
|
|
180c: 4785 li a5,1
|
|
180e: 02f51663 bne a0,a5,183a <EXTI15_10_IRQHandler+0x34>
|
|
1812: 6505 lui a0,0x1
|
|
1814: 8faff0ef jal ra,90e <EXTI_ClearITPendingBit>
|
|
1818: 87c1c783 lbu a5,-1924(gp) # 200001e4 <excessiveLoadFlag>
|
|
181c: 000045b7 lui a1,0x4
|
|
1820: 20001537 lui a0,0x20001
|
|
1824: 0785 addi a5,a5,1
|
|
1826: 4681 li a3,0
|
|
1828: 3e800613 li a2,1000
|
|
182c: f6658593 addi a1,a1,-154 # 3f66 <Task_excessiveLoad>
|
|
1830: 28050513 addi a0,a0,640 # 20001280 <m_excessiveLoad>
|
|
1834: 86f18e23 sb a5,-1924(gp) # 200001e4 <excessiveLoadFlag>
|
|
1838: 21dd jal 1d1e <TimeSliceOffset_Register>
|
|
183a: 30200073 mret
|
|
|
|
0000183e <PWM_GPIO_Configuration>:
|
|
183e: 933fe2ef jal t0,170 <__riscv_save_0>
|
|
1842: 1141 addi sp,sp,-16
|
|
1844: 4585 li a1,1
|
|
1846: 4521 li a0,8
|
|
1848: ddeff0ef jal ra,e26 <RCC_PB2PeriphClockCmd>
|
|
184c: 4585 li a1,1
|
|
184e: 4511 li a0,4
|
|
1850: df4ff0ef jal ra,e44 <RCC_PB1PeriphClockCmd>
|
|
1854: 20000793 li a5,512
|
|
1858: 40011437 lui s0,0x40011
|
|
185c: 827c sh a5,4(sp)
|
|
185e: 47e1 li a5,24
|
|
1860: c63e sw a5,12(sp)
|
|
1862: 004c addi a1,sp,4
|
|
1864: 478d li a5,3
|
|
1866: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
186a: c43e sw a5,8(sp)
|
|
186c: 8acff0ef jal ra,918 <GPIO_Init>
|
|
1870: 08000793 li a5,128
|
|
1874: 004c addi a1,sp,4
|
|
1876: c0040513 addi a0,s0,-1024
|
|
187a: 827c sh a5,4(sp)
|
|
187c: 89cff0ef jal ra,918 <GPIO_Init>
|
|
1880: 0141 addi sp,sp,16
|
|
1882: 913fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001886 <PWM_TIM_Configuration>:
|
|
1886: 8ebfe2ef jal t0,170 <__riscv_save_0>
|
|
188a: 1101 addi sp,sp,-32
|
|
188c: 3f4d jal 183e <PWM_GPIO_Configuration>
|
|
188e: 40001437 lui s0,0x40001
|
|
1892: 1df00793 li a5,479
|
|
1896: 858a mv a1,sp
|
|
1898: 80040513 addi a0,s0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
189c: c03e sw a5,0(sp)
|
|
189e: c202 sw zero,4(sp)
|
|
18a0: 00011423 sh zero,8(sp)
|
|
18a4: 00010523 sb zero,10(sp)
|
|
18a8: e36ff0ef jal ra,ede <TIM_TimeBaseInit>
|
|
18ac: 80040513 addi a0,s0,-2048
|
|
18b0: 4585 li a1,1
|
|
18b2: f5eff0ef jal ra,1010 <TIM_ARRPreloadConfig>
|
|
18b6: 67c1 lui a5,0x10
|
|
18b8: 06078793 addi a5,a5,96 # 10060 <_data_lma+0x7170>
|
|
18bc: 006c addi a1,sp,12
|
|
18be: 80040513 addi a0,s0,-2048
|
|
18c2: c83e sw a5,16(sp)
|
|
18c4: 00011b23 sh zero,22(sp)
|
|
18c8: c602 sw zero,12(sp)
|
|
18ca: e8aff0ef jal ra,f54 <TIM_OC4Init>
|
|
18ce: 80040513 addi a0,s0,-2048
|
|
18d2: 45a1 li a1,8
|
|
18d4: f56ff0ef jal ra,102a <TIM_OC4PreloadConfig>
|
|
18d8: 80040513 addi a0,s0,-2048
|
|
18dc: 4585 li a1,1
|
|
18de: ef2ff0ef jal ra,fd0 <TIM_Cmd>
|
|
18e2: 4585 li a1,1
|
|
18e4: 80040513 addi a0,s0,-2048
|
|
18e8: f00ff0ef jal ra,fe8 <TIM_CtrlPWMOutputs>
|
|
18ec: 6105 addi sp,sp,32
|
|
18ee: 8a7fe06f j 194 <__riscv_restore_0>
|
|
|
|
000018f2 <Set_duty_ratio>:
|
|
18f2: 1141 addi sp,sp,-16
|
|
18f4: c422 sw s0,8(sp)
|
|
18f6: 842a mv s0,a0
|
|
18f8: 4108 lw a0,0(a0)
|
|
18fa: c24a sw s2,4(sp)
|
|
18fc: c04e sw s3,0(sp)
|
|
18fe: c606 sw ra,12(sp)
|
|
1900: 0d4050ef jal ra,69d4 <__extendsfdf2>
|
|
1904: 000087b7 lui a5,0x8
|
|
1908: 4987a603 lw a2,1176(a5) # 8498 <_read+0x54>
|
|
190c: 49c7a683 lw a3,1180(a5)
|
|
1910: 892a mv s2,a0
|
|
1912: 89ae mv s3,a1
|
|
1914: 3b0030ef jal ra,4cc4 <__ledf2>
|
|
1918: 02055f63 bgez a0,1956 <Set_duty_ratio+0x64>
|
|
191c: 000087b7 lui a5,0x8
|
|
1920: 48c7a783 lw a5,1164(a5) # 848c <_read+0x48>
|
|
1924: c01c sw a5,0(s0)
|
|
1926: 000087b7 lui a5,0x8
|
|
192a: 4947a583 lw a1,1172(a5) # 8494 <_read+0x50>
|
|
192e: 4008 lw a0,0(s0)
|
|
1930: 03d040ef jal ra,616c <__mulsf3>
|
|
1934: 6b7040ef jal ra,67ea <__fixunssfsi>
|
|
1938: 01051593 slli a1,a0,0x10
|
|
193c: 40001537 lui a0,0x40001
|
|
1940: 81c1 srli a1,a1,0x10
|
|
1942: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
1946: efaff0ef jal ra,1040 <TIM_SetCompare4>
|
|
194a: 40b2 lw ra,12(sp)
|
|
194c: 4422 lw s0,8(sp)
|
|
194e: 4912 lw s2,4(sp)
|
|
1950: 4982 lw s3,0(sp)
|
|
1952: 0141 addi sp,sp,16
|
|
1954: 8082 ret
|
|
1956: 000087b7 lui a5,0x8
|
|
195a: 4a07a603 lw a2,1184(a5) # 84a0 <_read+0x5c>
|
|
195e: 4a47a683 lw a3,1188(a5)
|
|
1962: 854a mv a0,s2
|
|
1964: 85ce mv a1,s3
|
|
1966: 2b0030ef jal ra,4c16 <__gedf2>
|
|
196a: faa05ee3 blez a0,1926 <Set_duty_ratio+0x34>
|
|
196e: 000087b7 lui a5,0x8
|
|
1972: 4907a783 lw a5,1168(a5) # 8490 <_read+0x4c>
|
|
1976: b77d j 1924 <Set_duty_ratio+0x32>
|
|
|
|
00001978 <GW_485_Init>:
|
|
1978: ff8fe2ef jal t0,170 <__riscv_save_0>
|
|
197c: 7179 addi sp,sp,-48
|
|
197e: 40011437 lui s0,0x40011
|
|
1982: 47c1 li a5,16
|
|
1984: 892a mv s2,a0
|
|
1986: 82fc sh a5,20(sp)
|
|
1988: 448d li s1,3
|
|
198a: 47c1 li a5,16
|
|
198c: 084c addi a1,sp,20
|
|
198e: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1992: ce3e sw a5,28(sp)
|
|
1994: cc26 sw s1,24(sp)
|
|
1996: f83fe0ef jal ra,918 <GPIO_Init>
|
|
199a: 4601 li a2,0
|
|
199c: c0040513 addi a0,s0,-1024
|
|
19a0: 45c1 li a1,16
|
|
19a2: 84eff0ef jal ra,9f0 <GPIO_WriteBit>
|
|
19a6: 4585 li a1,1
|
|
19a8: 4521 li a0,8
|
|
19aa: c7cff0ef jal ra,e26 <RCC_PB2PeriphClockCmd>
|
|
19ae: 4585 li a1,1
|
|
19b0: 00080537 lui a0,0x80
|
|
19b4: c90ff0ef jal ra,e44 <RCC_PB1PeriphClockCmd>
|
|
19b8: 4785 li a5,1
|
|
19ba: 82fc sh a5,20(sp)
|
|
19bc: 084c addi a1,sp,20
|
|
19be: 47e1 li a5,24
|
|
19c0: c0040513 addi a0,s0,-1024
|
|
19c4: cc26 sw s1,24(sp)
|
|
19c6: ce3e sw a5,28(sp)
|
|
19c8: f51fe0ef jal ra,918 <GPIO_Init>
|
|
19cc: 4489 li s1,2
|
|
19ce: 4791 li a5,4
|
|
19d0: 084c addi a1,sp,20
|
|
19d2: c0040513 addi a0,s0,-1024
|
|
19d6: 82e4 sh s1,20(sp)
|
|
19d8: 40005437 lui s0,0x40005
|
|
19dc: ce3e sw a5,28(sp)
|
|
19de: f3bfe0ef jal ra,918 <GPIO_Init>
|
|
19e2: 100c addi a1,sp,32
|
|
19e4: 000c07b7 lui a5,0xc0
|
|
19e8: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
19ec: d04a sw s2,32(sp)
|
|
19ee: d43e sw a5,40(sp)
|
|
19f0: d202 sw zero,36(sp)
|
|
19f2: 02011623 sh zero,44(sp)
|
|
19f6: e9cff0ef jal ra,1092 <USART_Init>
|
|
19fa: 13d00793 li a5,317
|
|
19fe: 867c sh a5,12(sp)
|
|
1a00: 0068 addi a0,sp,12
|
|
1a02: 4785 li a5,1
|
|
1a04: c83e sw a5,16(sp)
|
|
1a06: 8744 sb s1,14(sp)
|
|
1a08: ae0ff0ef jal ra,ce8 <NVIC_Init>
|
|
1a0c: 4605 li a2,1
|
|
1a0e: c0040513 addi a0,s0,-1024
|
|
1a12: 52500593 li a1,1317
|
|
1a16: f4cff0ef jal ra,1162 <USART_ITConfig>
|
|
1a1a: 4585 li a1,1
|
|
1a1c: c0040513 addi a0,s0,-1024
|
|
1a20: f2cff0ef jal ra,114c <USART_Cmd>
|
|
1a24: 6145 addi sp,sp,48
|
|
1a26: f6efe06f j 194 <__riscv_restore_0>
|
|
|
|
00001a2a <BAT_485_Init>:
|
|
1a2a: f46fe2ef jal t0,170 <__riscv_save_0>
|
|
1a2e: 7179 addi sp,sp,-48
|
|
1a30: 40011437 lui s0,0x40011
|
|
1a34: 02000793 li a5,32
|
|
1a38: 892a mv s2,a0
|
|
1a3a: 82fc sh a5,20(sp)
|
|
1a3c: 448d li s1,3
|
|
1a3e: 47c1 li a5,16
|
|
1a40: 084c addi a1,sp,20
|
|
1a42: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1a46: ce3e sw a5,28(sp)
|
|
1a48: cc26 sw s1,24(sp)
|
|
1a4a: ecffe0ef jal ra,918 <GPIO_Init>
|
|
1a4e: 4601 li a2,0
|
|
1a50: c0040513 addi a0,s0,-1024
|
|
1a54: 02000593 li a1,32
|
|
1a58: f99fe0ef jal ra,9f0 <GPIO_WriteBit>
|
|
1a5c: 4585 li a1,1
|
|
1a5e: 4521 li a0,8
|
|
1a60: bc6ff0ef jal ra,e26 <RCC_PB2PeriphClockCmd>
|
|
1a64: 4585 li a1,1
|
|
1a66: 00040537 lui a0,0x40
|
|
1a6a: bdaff0ef jal ra,e44 <RCC_PB1PeriphClockCmd>
|
|
1a6e: 40000793 li a5,1024
|
|
1a72: 82fc sh a5,20(sp)
|
|
1a74: 084c addi a1,sp,20
|
|
1a76: 47e1 li a5,24
|
|
1a78: c0040513 addi a0,s0,-1024
|
|
1a7c: cc26 sw s1,24(sp)
|
|
1a7e: ce3e sw a5,28(sp)
|
|
1a80: e99fe0ef jal ra,918 <GPIO_Init>
|
|
1a84: 6785 lui a5,0x1
|
|
1a86: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
1a8a: 82fc sh a5,20(sp)
|
|
1a8c: 084c addi a1,sp,20
|
|
1a8e: 4791 li a5,4
|
|
1a90: c0040513 addi a0,s0,-1024
|
|
1a94: ce3e sw a5,28(sp)
|
|
1a96: 40005437 lui s0,0x40005
|
|
1a9a: e7ffe0ef jal ra,918 <GPIO_Init>
|
|
1a9e: 100c addi a1,sp,32
|
|
1aa0: 000c07b7 lui a5,0xc0
|
|
1aa4: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
1aa8: d04a sw s2,32(sp)
|
|
1aaa: d43e sw a5,40(sp)
|
|
1aac: d202 sw zero,36(sp)
|
|
1aae: 02011623 sh zero,44(sp)
|
|
1ab2: de0ff0ef jal ra,1092 <USART_Init>
|
|
1ab6: 13700793 li a5,311
|
|
1aba: 867c sh a5,12(sp)
|
|
1abc: 4785 li a5,1
|
|
1abe: 875c sb a5,14(sp)
|
|
1ac0: 0068 addi a0,sp,12
|
|
1ac2: 4785 li a5,1
|
|
1ac4: c83e sw a5,16(sp)
|
|
1ac6: a22ff0ef jal ra,ce8 <NVIC_Init>
|
|
1aca: 4605 li a2,1
|
|
1acc: 80040513 addi a0,s0,-2048
|
|
1ad0: 52500593 li a1,1317
|
|
1ad4: e8eff0ef jal ra,1162 <USART_ITConfig>
|
|
1ad8: 4585 li a1,1
|
|
1ada: 80040513 addi a0,s0,-2048
|
|
1ade: e6eff0ef jal ra,114c <USART_Cmd>
|
|
1ae2: 6145 addi sp,sp,48
|
|
1ae4: eb0fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001ae8 <USARTx_SendByte>:
|
|
1ae8: e88fe2ef jal t0,170 <__riscv_save_0>
|
|
1aec: 842a mv s0,a0
|
|
1aee: eaaff0ef jal ra,1198 <USART_SendData>
|
|
1af2: 08000593 li a1,128
|
|
1af6: 8522 mv a0,s0
|
|
1af8: eb0ff0ef jal ra,11a8 <USART_GetFlagStatus>
|
|
1afc: d97d beqz a0,1af2 <USARTx_SendByte+0xa>
|
|
1afe: e96fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001b02 <USART3_IRQHandler>:
|
|
1b02: 1141 addi sp,sp,-16
|
|
1b04: c622 sw s0,12(sp)
|
|
1b06: 40005437 lui s0,0x40005
|
|
1b0a: 52500593 li a1,1317
|
|
1b0e: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
1b12: ea0ff0ef jal ra,11b2 <USART_GetITStatus>
|
|
1b16: c50d beqz a0,1b40 <USART3_IRQHandler+0x3e>
|
|
1b18: 80040513 addi a0,s0,-2048
|
|
1b1c: e84ff0ef jal ra,11a0 <USART_ReceiveData>
|
|
1b20: 0ff57593 andi a1,a0,255
|
|
1b24: 82b18c23 sb a1,-1992(gp) # 200001a0 <USART3_Rbuffer>
|
|
1b28: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
1b2c: 4d1c lw a5,24(a0)
|
|
1b2e: 4910 lw a2,16(a0)
|
|
1b30: 4954 lw a3,20(a0)
|
|
1b32: 0785 addi a5,a5,1
|
|
1b34: 02c7e7b3 rem a5,a5,a2
|
|
1b38: 00d78463 beq a5,a3,1b40 <USART3_IRQHandler+0x3e>
|
|
1b3c: 0531 addi a0,a0,12
|
|
1b3e: 245d jal 1de4 <InRingQueue>
|
|
1b40: 4432 lw s0,12(sp)
|
|
1b42: 0141 addi sp,sp,16
|
|
1b44: 30200073 mret
|
|
|
|
00001b48 <USART4_IRQHandler>:
|
|
1b48: 1141 addi sp,sp,-16
|
|
1b4a: c622 sw s0,12(sp)
|
|
1b4c: 40005437 lui s0,0x40005
|
|
1b50: 52500593 li a1,1317
|
|
1b54: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
1b58: e5aff0ef jal ra,11b2 <USART_GetITStatus>
|
|
1b5c: c50d beqz a0,1b86 <USART4_IRQHandler+0x3e>
|
|
1b5e: c0040513 addi a0,s0,-1024
|
|
1b62: e3eff0ef jal ra,11a0 <USART_ReceiveData>
|
|
1b66: 0ff57593 andi a1,a0,255
|
|
1b6a: 82b18e23 sb a1,-1988(gp) # 200001a4 <USART4_Rbuffer>
|
|
1b6e: 8a81a503 lw a0,-1880(gp) # 20000210 <g_gw485_uart4_handle>
|
|
1b72: 4d1c lw a5,24(a0)
|
|
1b74: 4910 lw a2,16(a0)
|
|
1b76: 4954 lw a3,20(a0)
|
|
1b78: 0785 addi a5,a5,1
|
|
1b7a: 02c7e7b3 rem a5,a5,a2
|
|
1b7e: 00d78463 beq a5,a3,1b86 <USART4_IRQHandler+0x3e>
|
|
1b82: 0531 addi a0,a0,12
|
|
1b84: 2485 jal 1de4 <InRingQueue>
|
|
1b86: 4432 lw s0,12(sp)
|
|
1b88: 0141 addi sp,sp,16
|
|
1b8a: 30200073 mret
|
|
|
|
00001b8e <TIM3_Int_Init>:
|
|
1b8e: de2fe2ef jal t0,170 <__riscv_save_0>
|
|
1b92: 1101 addi sp,sp,-32
|
|
1b94: 84aa mv s1,a0
|
|
1b96: 842e mv s0,a1
|
|
1b98: 4509 li a0,2
|
|
1b9a: 4585 li a1,1
|
|
1b9c: aa8ff0ef jal ra,e44 <RCC_PB1PeriphClockCmd>
|
|
1ba0: 84e0 sh s0,24(sp)
|
|
1ba2: 40000437 lui s0,0x40000
|
|
1ba6: 084c addi a1,sp,20
|
|
1ba8: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
1bac: ca26 sw s1,20(sp)
|
|
1bae: 00011e23 sh zero,28(sp)
|
|
1bb2: 00011d23 sh zero,26(sp)
|
|
1bb6: b28ff0ef jal ra,ede <TIM_TimeBaseInit>
|
|
1bba: 40040513 addi a0,s0,1024
|
|
1bbe: 4585 li a1,1
|
|
1bc0: cc6ff0ef jal ra,1086 <TIM_ClearITPendingBit>
|
|
1bc4: 4605 li a2,1
|
|
1bc6: 4585 li a1,1
|
|
1bc8: 40040513 addi a0,s0,1024
|
|
1bcc: c32ff0ef jal ra,ffe <TIM_ITConfig>
|
|
1bd0: 02d00793 li a5,45
|
|
1bd4: 867c sh a5,12(sp)
|
|
1bd6: 4785 li a5,1
|
|
1bd8: 875c sb a5,14(sp)
|
|
1bda: 0068 addi a0,sp,12
|
|
1bdc: 4785 li a5,1
|
|
1bde: c83e sw a5,16(sp)
|
|
1be0: 908ff0ef jal ra,ce8 <NVIC_Init>
|
|
1be4: 6105 addi sp,sp,32
|
|
1be6: daefe06f j 194 <__riscv_restore_0>
|
|
|
|
00001bea <TIM3_Init>:
|
|
1bea: d86fe2ef jal t0,170 <__riscv_save_0>
|
|
1bee: 200007b7 lui a5,0x20000
|
|
1bf2: 1687a583 lw a1,360(a5) # 20000168 <SystemCoreClock>
|
|
1bf6: 6789 lui a5,0x2
|
|
1bf8: 71078793 addi a5,a5,1808 # 2710 <MpptMode+0x254>
|
|
1bfc: 02f5d5b3 divu a1,a1,a5
|
|
1c00: 157d addi a0,a0,-1
|
|
1c02: 0542 slli a0,a0,0x10
|
|
1c04: 8141 srli a0,a0,0x10
|
|
1c06: 15fd addi a1,a1,-1
|
|
1c08: 05c2 slli a1,a1,0x10
|
|
1c0a: 81c1 srli a1,a1,0x10
|
|
1c0c: 3749 jal 1b8e <TIM3_Int_Init>
|
|
1c0e: d86fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001c12 <TIM3_IRQHandler>:
|
|
1c12: 1141 addi sp,sp,-16
|
|
1c14: c622 sw s0,12(sp)
|
|
1c16: 40000437 lui s0,0x40000
|
|
1c1a: 4585 li a1,1
|
|
1c1c: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
1c20: c4eff0ef jal ra,106e <TIM_GetITStatus>
|
|
1c24: c901 beqz a0,1c34 <TIM3_IRQHandler+0x22>
|
|
1c26: 4585 li a1,1
|
|
1c28: 40040513 addi a0,s0,1024
|
|
1c2c: c5aff0ef jal ra,1086 <TIM_ClearITPendingBit>
|
|
1c30: 35b000ef jal ra,278a <test>
|
|
1c34: 4432 lw s0,12(sp)
|
|
1c36: 0141 addi sp,sp,16
|
|
1c38: 30200073 mret
|
|
|
|
00001c3c <TIM2_Int_Init>:
|
|
1c3c: d34fe2ef jal t0,170 <__riscv_save_0>
|
|
1c40: 1101 addi sp,sp,-32
|
|
1c42: 842e mv s0,a1
|
|
1c44: 84aa mv s1,a0
|
|
1c46: 4585 li a1,1
|
|
1c48: 4505 li a0,1
|
|
1c4a: 9faff0ef jal ra,e44 <RCC_PB1PeriphClockCmd>
|
|
1c4e: 084c addi a1,sp,20
|
|
1c50: 40000537 lui a0,0x40000
|
|
1c54: ca26 sw s1,20(sp)
|
|
1c56: 84e0 sh s0,24(sp)
|
|
1c58: 00011e23 sh zero,28(sp)
|
|
1c5c: 00011d23 sh zero,26(sp)
|
|
1c60: a7eff0ef jal ra,ede <TIM_TimeBaseInit>
|
|
1c64: 4605 li a2,1
|
|
1c66: 4585 li a1,1
|
|
1c68: 40000537 lui a0,0x40000
|
|
1c6c: b92ff0ef jal ra,ffe <TIM_ITConfig>
|
|
1c70: 02c00793 li a5,44
|
|
1c74: 867c sh a5,12(sp)
|
|
1c76: 478d li a5,3
|
|
1c78: 875c sb a5,14(sp)
|
|
1c7a: 0068 addi a0,sp,12
|
|
1c7c: 4785 li a5,1
|
|
1c7e: c83e sw a5,16(sp)
|
|
1c80: 868ff0ef jal ra,ce8 <NVIC_Init>
|
|
1c84: 4585 li a1,1
|
|
1c86: 40000537 lui a0,0x40000
|
|
1c8a: b46ff0ef jal ra,fd0 <TIM_Cmd>
|
|
1c8e: 6105 addi sp,sp,32
|
|
1c90: d04fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001c94 <TIM2_Init>:
|
|
1c94: cdcfe2ef jal t0,170 <__riscv_save_0>
|
|
1c98: 200007b7 lui a5,0x20000
|
|
1c9c: 1687a583 lw a1,360(a5) # 20000168 <SystemCoreClock>
|
|
1ca0: 6789 lui a5,0x2
|
|
1ca2: 71078793 addi a5,a5,1808 # 2710 <MpptMode+0x254>
|
|
1ca6: 02f5d5b3 divu a1,a1,a5
|
|
1caa: 47a9 li a5,10
|
|
1cac: 02f50533 mul a0,a0,a5
|
|
1cb0: 15fd addi a1,a1,-1
|
|
1cb2: 05c2 slli a1,a1,0x10
|
|
1cb4: 81c1 srli a1,a1,0x10
|
|
1cb6: 157d addi a0,a0,-1
|
|
1cb8: 0542 slli a0,a0,0x10
|
|
1cba: 8141 srli a0,a0,0x10
|
|
1cbc: 3741 jal 1c3c <TIM2_Int_Init>
|
|
1cbe: cd6fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001cc2 <TIM2_IRQHandler>:
|
|
1cc2: 4585 li a1,1
|
|
1cc4: 40000537 lui a0,0x40000
|
|
1cc8: ba6ff0ef jal ra,106e <TIM_GetITStatus>
|
|
1ccc: c519 beqz a0,1cda <TIM2_IRQHandler+0x18>
|
|
1cce: 4585 li a1,1
|
|
1cd0: 40000537 lui a0,0x40000
|
|
1cd4: bb2ff0ef jal ra,1086 <TIM_ClearITPendingBit>
|
|
1cd8: 28d1 jal 1dac <TimeSliceOffset_Produce>
|
|
1cda: 30200073 mret
|
|
|
|
00001cde <SysTick_Handler>:
|
|
1cde: e000f7b7 lui a5,0xe000f
|
|
1ce2: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xc000a004>
|
|
1ce6: 20d9 jal 1dac <TimeSliceOffset_Produce>
|
|
1ce8: 30200073 mret
|
|
|
|
00001cec <TIM1_UP_IRQHandler>:
|
|
1cec: 1141 addi sp,sp,-16
|
|
1cee: c622 sw s0,12(sp)
|
|
1cf0: 40013437 lui s0,0x40013
|
|
1cf4: 4585 li a1,1
|
|
1cf6: c0040513 addi a0,s0,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
1cfa: b74ff0ef jal ra,106e <TIM_GetITStatus>
|
|
1cfe: cd01 beqz a0,1d16 <TIM1_UP_IRQHandler+0x2a>
|
|
1d00: c0040513 addi a0,s0,-1024
|
|
1d04: 4585 li a1,1
|
|
1d06: b80ff0ef jal ra,1086 <TIM_ClearITPendingBit>
|
|
1d0a: 00008537 lui a0,0x8
|
|
1d0e: 4a850513 addi a0,a0,1192 # 84a8 <_read+0x64>
|
|
1d12: 10c050ef jal ra,6e1e <puts>
|
|
1d16: 4432 lw s0,12(sp)
|
|
1d18: 0141 addi sp,sp,16
|
|
1d1a: 30200073 mret
|
|
|
|
00001d1e <TimeSliceOffset_Register>:
|
|
1d1e: c91d beqz a0,1d54 <TimeSliceOffset_Register+0x36>
|
|
1d20: 96b2 add a3,a3,a2
|
|
1d22: 06c2 slli a3,a3,0x10
|
|
1d24: 82c1 srli a3,a3,0x10
|
|
1d26: a152 sh a2,4(a0)
|
|
1d28: a136 sh a3,2(a0)
|
|
1d2a: c50c sw a1,8(a0)
|
|
1d2c: ee09 bnez a2,1d46 <TimeSliceOffset_Register+0x28>
|
|
1d2e: 4785 li a5,1
|
|
1d30: a11c sb a5,0(a0)
|
|
1d32: 8401a683 lw a3,-1984(gp) # 200001a8 <pTimeSliceList>
|
|
1d36: 84018793 addi a5,gp,-1984 # 200001a8 <pTimeSliceList>
|
|
1d3a: 8736 mv a4,a3
|
|
1d3c: eb01 bnez a4,1d4c <TimeSliceOffset_Register+0x2e>
|
|
1d3e: c554 sw a3,12(a0)
|
|
1d40: c388 sw a0,0(a5)
|
|
1d42: 4501 li a0,0
|
|
1d44: 8082 ret
|
|
1d46: 00050023 sb zero,0(a0)
|
|
1d4a: b7e5 j 1d32 <TimeSliceOffset_Register+0x14>
|
|
1d4c: 00a70663 beq a4,a0,1d58 <TimeSliceOffset_Register+0x3a>
|
|
1d50: 4758 lw a4,12(a4)
|
|
1d52: b7ed j 1d3c <TimeSliceOffset_Register+0x1e>
|
|
1d54: 557d li a0,-1
|
|
1d56: 8082 ret
|
|
1d58: 4505 li a0,1
|
|
1d5a: 8082 ret
|
|
|
|
00001d5c <TimeSliceOffset_Unregister>:
|
|
1d5c: c50d beqz a0,1d86 <TimeSliceOffset_Unregister+0x2a>
|
|
1d5e: 8401a783 lw a5,-1984(gp) # 200001a8 <pTimeSliceList>
|
|
1d62: 84018713 addi a4,gp,-1984 # 200001a8 <pTimeSliceList>
|
|
1d66: e399 bnez a5,1d6c <TimeSliceOffset_Unregister+0x10>
|
|
1d68: 4505 li a0,1
|
|
1d6a: 8082 ret
|
|
1d6c: 47d4 lw a3,12(a5)
|
|
1d6e: 00a69663 bne a3,a0,1d7a <TimeSliceOffset_Unregister+0x1e>
|
|
1d72: 4558 lw a4,12(a0)
|
|
1d74: c7d8 sw a4,12(a5)
|
|
1d76: 4501 li a0,0
|
|
1d78: 8082 ret
|
|
1d7a: 00a79463 bne a5,a0,1d82 <TimeSliceOffset_Unregister+0x26>
|
|
1d7e: c314 sw a3,0(a4)
|
|
1d80: bfdd j 1d76 <TimeSliceOffset_Unregister+0x1a>
|
|
1d82: 87b6 mv a5,a3
|
|
1d84: b7cd j 1d66 <TimeSliceOffset_Unregister+0xa>
|
|
1d86: 557d li a0,-1
|
|
1d88: 8082 ret
|
|
|
|
00001d8a <TimeSliceOffset_Start>:
|
|
1d8a: be6fe2ef jal t0,170 <__riscv_save_0>
|
|
1d8e: 8401a403 lw s0,-1984(gp) # 200001a8 <pTimeSliceList>
|
|
1d92: dc75 beqz s0,1d8e <TimeSliceOffset_Start+0x4>
|
|
1d94: 201c lbu a5,0(s0)
|
|
1d96: 0ff7f793 andi a5,a5,255
|
|
1d9a: c799 beqz a5,1da8 <TimeSliceOffset_Start+0x1e>
|
|
1d9c: 205e lhu a5,4(s0)
|
|
1d9e: c399 beqz a5,1da4 <TimeSliceOffset_Start+0x1a>
|
|
1da0: 00040023 sb zero,0(s0)
|
|
1da4: 441c lw a5,8(s0)
|
|
1da6: 9782 jalr a5
|
|
1da8: 4440 lw s0,12(s0)
|
|
1daa: b7e5 j 1d92 <TimeSliceOffset_Start+0x8>
|
|
|
|
00001dac <TimeSliceOffset_Produce>:
|
|
1dac: 8401a783 lw a5,-1984(gp) # 200001a8 <pTimeSliceList>
|
|
1db0: 4605 li a2,1
|
|
1db2: e391 bnez a5,1db6 <TimeSliceOffset_Produce+0xa>
|
|
1db4: 8082 ret
|
|
1db6: 23d6 lhu a3,4(a5)
|
|
1db8: ce81 beqz a3,1dd0 <TimeSliceOffset_Produce+0x24>
|
|
1dba: 23ba lhu a4,2(a5)
|
|
1dbc: 177d addi a4,a4,-1
|
|
1dbe: 0742 slli a4,a4,0x10
|
|
1dc0: 8341 srli a4,a4,0x10
|
|
1dc2: a3ba sh a4,2(a5)
|
|
1dc4: 23ba lhu a4,2(a5)
|
|
1dc6: 0742 slli a4,a4,0x10
|
|
1dc8: 8341 srli a4,a4,0x10
|
|
1dca: e319 bnez a4,1dd0 <TimeSliceOffset_Produce+0x24>
|
|
1dcc: a390 sb a2,0(a5)
|
|
1dce: a3b6 sh a3,2(a5)
|
|
1dd0: 47dc lw a5,12(a5)
|
|
1dd2: b7c5 j 1db2 <TimeSliceOffset_Produce+0x6>
|
|
|
|
00001dd4 <InitRingQueue>:
|
|
1dd4: 00052623 sw zero,12(a0)
|
|
1dd8: c10c sw a1,0(a0)
|
|
1dda: c150 sw a2,4(a0)
|
|
1ddc: 00052423 sw zero,8(a0)
|
|
1de0: 4505 li a0,1
|
|
1de2: 8082 ret
|
|
|
|
00001de4 <InRingQueue>:
|
|
1de4: 455c lw a5,12(a0)
|
|
1de6: 4154 lw a3,4(a0)
|
|
1de8: 4518 lw a4,8(a0)
|
|
1dea: 0785 addi a5,a5,1
|
|
1dec: 02d7e7b3 rem a5,a5,a3
|
|
1df0: 00e78e63 beq a5,a4,1e0c <InRingQueue+0x28>
|
|
1df4: 4558 lw a4,12(a0)
|
|
1df6: 411c lw a5,0(a0)
|
|
1df8: 97ba add a5,a5,a4
|
|
1dfa: a38c sb a1,0(a5)
|
|
1dfc: 455c lw a5,12(a0)
|
|
1dfe: 4158 lw a4,4(a0)
|
|
1e00: 0785 addi a5,a5,1
|
|
1e02: 02e7e7b3 rem a5,a5,a4
|
|
1e06: c55c sw a5,12(a0)
|
|
1e08: 4505 li a0,1
|
|
1e0a: 8082 ret
|
|
1e0c: 5579 li a0,-2
|
|
1e0e: 8082 ret
|
|
|
|
00001e10 <OutRingQueue>:
|
|
1e10: 4518 lw a4,8(a0)
|
|
1e12: 455c lw a5,12(a0)
|
|
1e14: 00f70f63 beq a4,a5,1e32 <OutRingQueue+0x22>
|
|
1e18: 4518 lw a4,8(a0)
|
|
1e1a: 411c lw a5,0(a0)
|
|
1e1c: 97ba add a5,a5,a4
|
|
1e1e: 239c lbu a5,0(a5)
|
|
1e20: a19c sb a5,0(a1)
|
|
1e22: 451c lw a5,8(a0)
|
|
1e24: 4158 lw a4,4(a0)
|
|
1e26: 0785 addi a5,a5,1
|
|
1e28: 02e7e7b3 rem a5,a5,a4
|
|
1e2c: c51c sw a5,8(a0)
|
|
1e2e: 4505 li a0,1
|
|
1e30: 8082 ret
|
|
1e32: 4501 li a0,0
|
|
1e34: 8082 ret
|
|
|
|
00001e36 <RingQueueLength>:
|
|
1e36: 455c lw a5,12(a0)
|
|
1e38: 4518 lw a4,8(a0)
|
|
1e3a: 4148 lw a0,4(a0)
|
|
1e3c: 8f99 sub a5,a5,a4
|
|
1e3e: 97aa add a5,a5,a0
|
|
1e40: 02a7e533 rem a0,a5,a0
|
|
1e44: 8082 ret
|
|
|
|
00001e46 <Delay_Init>:
|
|
1e46: 200007b7 lui a5,0x20000
|
|
1e4a: 1687a783 lw a5,360(a5) # 20000168 <SystemCoreClock>
|
|
1e4e: 6709 lui a4,0x2
|
|
1e50: f4070713 addi a4,a4,-192 # 1f40 <_sbrk+0xc>
|
|
1e54: 02e7d7b3 divu a5,a5,a4
|
|
1e58: 07c2 slli a5,a5,0x10
|
|
1e5a: 83c1 srli a5,a5,0x10
|
|
1e5c: 84f19323 sh a5,-1978(gp) # 200001ae <p_us>
|
|
1e60: 84f19223 sh a5,-1980(gp) # 200001ac <p_ms>
|
|
1e64: 8082 ret
|
|
|
|
00001e66 <Delay_Ms>:
|
|
1e66: e000f7b7 lui a5,0xe000f
|
|
1e6a: 43d8 lw a4,4(a5)
|
|
1e6c: 4681 li a3,0
|
|
1e6e: 9b79 andi a4,a4,-2
|
|
1e70: c3d8 sw a4,4(a5)
|
|
1e72: 8441d703 lhu a4,-1980(gp) # 200001ac <p_ms>
|
|
1e76: 02a70633 mul a2,a4,a0
|
|
1e7a: cb90 sw a2,16(a5)
|
|
1e7c: cbd4 sw a3,20(a5)
|
|
1e7e: 4398 lw a4,0(a5)
|
|
1e80: 01076713 ori a4,a4,16
|
|
1e84: c398 sw a4,0(a5)
|
|
1e86: 4398 lw a4,0(a5)
|
|
1e88: 02176713 ori a4,a4,33
|
|
1e8c: c398 sw a4,0(a5)
|
|
1e8e: 43d8 lw a4,4(a5)
|
|
1e90: 8b05 andi a4,a4,1
|
|
1e92: df75 beqz a4,1e8e <Delay_Ms+0x28>
|
|
1e94: 4398 lw a4,0(a5)
|
|
1e96: 9b79 andi a4,a4,-2
|
|
1e98: c398 sw a4,0(a5)
|
|
1e9a: 8082 ret
|
|
|
|
00001e9c <USART_Printf_Init>:
|
|
1e9c: ad4fe2ef jal t0,170 <__riscv_save_0>
|
|
1ea0: 842a mv s0,a0
|
|
1ea2: 6511 lui a0,0x4
|
|
1ea4: 1101 addi sp,sp,-32
|
|
1ea6: 4585 li a1,1
|
|
1ea8: 0511 addi a0,a0,4
|
|
1eaa: f7dfe0ef jal ra,e26 <RCC_PB2PeriphClockCmd>
|
|
1eae: 20000793 li a5,512
|
|
1eb2: 827c sh a5,4(sp)
|
|
1eb4: 40011537 lui a0,0x40011
|
|
1eb8: 478d li a5,3
|
|
1eba: c43e sw a5,8(sp)
|
|
1ebc: 004c addi a1,sp,4
|
|
1ebe: 47e1 li a5,24
|
|
1ec0: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1ec4: c63e sw a5,12(sp)
|
|
1ec6: a53fe0ef jal ra,918 <GPIO_Init>
|
|
1eca: c822 sw s0,16(sp)
|
|
1ecc: 40014437 lui s0,0x40014
|
|
1ed0: 000807b7 lui a5,0x80
|
|
1ed4: 080c addi a1,sp,16
|
|
1ed6: 80040513 addi a0,s0,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1eda: cc3e sw a5,24(sp)
|
|
1edc: ca02 sw zero,20(sp)
|
|
1ede: 00011e23 sh zero,28(sp)
|
|
1ee2: 9b0ff0ef jal ra,1092 <USART_Init>
|
|
1ee6: 4585 li a1,1
|
|
1ee8: 80040513 addi a0,s0,-2048
|
|
1eec: a60ff0ef jal ra,114c <USART_Cmd>
|
|
1ef0: 6105 addi sp,sp,32
|
|
1ef2: aa2fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001ef6 <_write>:
|
|
1ef6: a60fe2ef jal t0,156 <__riscv_save_4>
|
|
1efa: 400144b7 lui s1,0x40014
|
|
1efe: 89ae mv s3,a1
|
|
1f00: 8932 mv s2,a2
|
|
1f02: 4401 li s0,0
|
|
1f04: 80048493 addi s1,s1,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1f08: 01244563 blt s0,s2,1f12 <_write+0x1c>
|
|
1f0c: 854a mv a0,s2
|
|
1f0e: a7cfe06f j 18a <__riscv_restore_4>
|
|
1f12: 04000593 li a1,64
|
|
1f16: 8526 mv a0,s1
|
|
1f18: a90ff0ef jal ra,11a8 <USART_GetFlagStatus>
|
|
1f1c: d97d beqz a0,1f12 <_write+0x1c>
|
|
1f1e: 008987b3 add a5,s3,s0
|
|
1f22: 00078583 lb a1,0(a5) # 80000 <_data_lma+0x77110>
|
|
1f26: 8526 mv a0,s1
|
|
1f28: 0405 addi s0,s0,1
|
|
1f2a: 05c2 slli a1,a1,0x10
|
|
1f2c: 81c1 srli a1,a1,0x10
|
|
1f2e: a6aff0ef jal ra,1198 <USART_SendData>
|
|
1f32: bfd9 j 1f08 <_write+0x12>
|
|
|
|
00001f34 <_sbrk>:
|
|
1f34: 80818713 addi a4,gp,-2040 # 20000170 <curbrk.5007>
|
|
1f38: 431c lw a5,0(a4)
|
|
1f3a: 200016b7 lui a3,0x20001
|
|
1f3e: 52868693 addi a3,a3,1320 # 20001528 <_ebss>
|
|
1f42: 953e add a0,a0,a5
|
|
1f44: 00d56b63 bltu a0,a3,1f5a <_sbrk+0x26>
|
|
1f48: 200056b7 lui a3,0x20005
|
|
1f4c: 80068693 addi a3,a3,-2048 # 20004800 <_heap_end>
|
|
1f50: 00a6e563 bltu a3,a0,1f5a <_sbrk+0x26>
|
|
1f54: c308 sw a0,0(a4)
|
|
1f56: 853e mv a0,a5
|
|
1f58: 8082 ret
|
|
1f5a: 57fd li a5,-1
|
|
1f5c: bfed j 1f56 <_sbrk+0x22>
|
|
|
|
00001f5e <Get_ConversionVal>:
|
|
1f5e: 83419703 lh a4,-1996(gp) # 2000019c <Calibrattion_Val>
|
|
1f62: 4781 li a5,0
|
|
1f64: 972a add a4,a4,a0
|
|
1f66: 00074f63 bltz a4,1f84 <Get_ConversionVal+0x26>
|
|
1f6a: cd09 beqz a0,1f84 <Get_ConversionVal+0x26>
|
|
1f6c: 6605 lui a2,0x1
|
|
1f6e: fff60693 addi a3,a2,-1 # fff <TIM_ITConfig+0x1>
|
|
1f72: 87b6 mv a5,a3
|
|
1f74: 00c75863 bge a4,a2,1f84 <Get_ConversionVal+0x26>
|
|
1f78: 87aa mv a5,a0
|
|
1f7a: 00d50563 beq a0,a3,1f84 <Get_ConversionVal+0x26>
|
|
1f7e: 01071793 slli a5,a4,0x10
|
|
1f82: 83c1 srli a5,a5,0x10
|
|
1f84: 853e mv a0,a5
|
|
1f86: 8082 ret
|
|
|
|
00001f88 <middleAverageFilter>:
|
|
1f88: 9cefe2ef jal t0,156 <__riscv_save_4>
|
|
1f8c: 1141 addi sp,sp,-16
|
|
1f8e: 40012437 lui s0,0x40012
|
|
1f92: 89aa mv s3,a0
|
|
1f94: 0044 addi s1,sp,4
|
|
1f96: 01010913 addi s2,sp,16
|
|
1f9a: 40040413 addi s0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
1f9e: 85ce mv a1,s3
|
|
1fa0: 8522 mv a0,s0
|
|
1fa2: 4695 li a3,5
|
|
1fa4: 4605 li a2,1
|
|
1fa6: df0fe0ef jal ra,596 <ADC_RegularChannelConfig>
|
|
1faa: 4585 li a1,1
|
|
1fac: 8522 mv a0,s0
|
|
1fae: dd0fe0ef jal ra,57e <ADC_SoftwareStartConvCmd>
|
|
1fb2: 4589 li a1,2
|
|
1fb4: 8522 mv a0,s0
|
|
1fb6: ea0fe0ef jal ra,656 <ADC_GetFlagStatus>
|
|
1fba: dd65 beqz a0,1fb2 <middleAverageFilter+0x2a>
|
|
1fbc: 8522 mv a0,s0
|
|
1fbe: e90fe0ef jal ra,64e <ADC_GetConversionValue>
|
|
1fc2: 0542 slli a0,a0,0x10
|
|
1fc4: 8541 srai a0,a0,0x10
|
|
1fc6: 3f61 jal 1f5e <Get_ConversionVal>
|
|
1fc8: a08a sh a0,0(s1)
|
|
1fca: 0489 addi s1,s1,2
|
|
1fcc: fc9919e3 bne s2,s1,1f9e <middleAverageFilter+0x16>
|
|
1fd0: 4715 li a4,5
|
|
1fd2: 4781 li a5,0
|
|
1fd4: a035 j 2000 <middleAverageFilter+0x78>
|
|
1fd6: 00179613 slli a2,a5,0x1
|
|
1fda: 0814 addi a3,sp,16
|
|
1fdc: 0785 addi a5,a5,1
|
|
1fde: 9636 add a2,a2,a3
|
|
1fe0: 0808 addi a0,sp,16
|
|
1fe2: 00179693 slli a3,a5,0x1
|
|
1fe6: 96aa add a3,a3,a0
|
|
1fe8: ff465583 lhu a1,-12(a2)
|
|
1fec: ff46d503 lhu a0,-12(a3)
|
|
1ff0: 00b57663 bgeu a0,a1,1ffc <middleAverageFilter+0x74>
|
|
1ff4: fea61a23 sh a0,-12(a2)
|
|
1ff8: feb69a23 sh a1,-12(a3)
|
|
1ffc: 07c2 slli a5,a5,0x10
|
|
1ffe: 83c1 srli a5,a5,0x10
|
|
2000: fce7cbe3 blt a5,a4,1fd6 <middleAverageFilter+0x4e>
|
|
2004: 177d addi a4,a4,-1
|
|
2006: f771 bnez a4,1fd2 <middleAverageFilter+0x4a>
|
|
2008: 8428 lhu a0,8(sp)
|
|
200a: 853c lhu a5,10(sp)
|
|
200c: 0141 addi sp,sp,16
|
|
200e: 953e add a0,a0,a5
|
|
2010: 0542 slli a0,a0,0x10
|
|
2012: 8141 srli a0,a0,0x10
|
|
2014: 8105 srli a0,a0,0x1
|
|
2016: 974fe06f j 18a <__riscv_restore_4>
|
|
|
|
0000201a <get_CHG_CURR>:
|
|
201a: 956fe2ef jal t0,170 <__riscv_save_0>
|
|
201e: 4505 li a0,1
|
|
2020: 37a5 jal 1f88 <middleAverageFilter>
|
|
2022: 0e5040ef jal ra,6906 <__floatunsisf>
|
|
2026: 000087b7 lui a5,0x8
|
|
202a: 4b87a583 lw a1,1208(a5) # 84b8 <_read+0x74>
|
|
202e: 51f030ef jal ra,5d4c <__divsf3>
|
|
2032: 1a3040ef jal ra,69d4 <__extendsfdf2>
|
|
2036: 000087b7 lui a5,0x8
|
|
203a: 4c07a603 lw a2,1216(a5) # 84c0 <_read+0x7c>
|
|
203e: 4c47a683 lw a3,1220(a5)
|
|
2042: 539020ef jal ra,4d7a <__muldf3>
|
|
2046: 000087b7 lui a5,0x8
|
|
204a: 4c87a603 lw a2,1224(a5) # 84c8 <_read+0x84>
|
|
204e: 4cc7a683 lw a3,1228(a5)
|
|
2052: 529020ef jal ra,4d7a <__muldf3>
|
|
2056: 22b040ef jal ra,6a80 <__truncdfsf2>
|
|
205a: 93afe06f j 194 <__riscv_restore_0>
|
|
|
|
0000205e <get_PV_VOLT_OUT>:
|
|
205e: 912fe2ef jal t0,170 <__riscv_save_0>
|
|
2062: 4509 li a0,2
|
|
2064: 3715 jal 1f88 <middleAverageFilter>
|
|
2066: 0a1040ef jal ra,6906 <__floatunsisf>
|
|
206a: 000087b7 lui a5,0x8
|
|
206e: 4b87a583 lw a1,1208(a5) # 84b8 <_read+0x74>
|
|
2072: 4db030ef jal ra,5d4c <__divsf3>
|
|
2076: 15f040ef jal ra,69d4 <__extendsfdf2>
|
|
207a: 000087b7 lui a5,0x8
|
|
207e: 4c07a603 lw a2,1216(a5) # 84c0 <_read+0x7c>
|
|
2082: 4c47a683 lw a3,1220(a5)
|
|
2086: 4f5020ef jal ra,4d7a <__muldf3>
|
|
208a: 000087b7 lui a5,0x8
|
|
208e: 4e87a603 lw a2,1256(a5) # 84e8 <_read+0xa4>
|
|
2092: 4ec7a683 lw a3,1260(a5)
|
|
2096: 4e5020ef jal ra,4d7a <__muldf3>
|
|
209a: 1e7040ef jal ra,6a80 <__truncdfsf2>
|
|
209e: 8f6fe06f j 194 <__riscv_restore_0>
|
|
|
|
000020a2 <get_DSG_CURR>:
|
|
20a2: 8cefe2ef jal t0,170 <__riscv_save_0>
|
|
20a6: 450d li a0,3
|
|
20a8: 35c5 jal 1f88 <middleAverageFilter>
|
|
20aa: 05d040ef jal ra,6906 <__floatunsisf>
|
|
20ae: 000087b7 lui a5,0x8
|
|
20b2: 4b87a583 lw a1,1208(a5) # 84b8 <_read+0x74>
|
|
20b6: 497030ef jal ra,5d4c <__divsf3>
|
|
20ba: 11b040ef jal ra,69d4 <__extendsfdf2>
|
|
20be: 000087b7 lui a5,0x8
|
|
20c2: 4c07a603 lw a2,1216(a5) # 84c0 <_read+0x7c>
|
|
20c6: 4c47a683 lw a3,1220(a5)
|
|
20ca: 4b1020ef jal ra,4d7a <__muldf3>
|
|
20ce: 000087b7 lui a5,0x8
|
|
20d2: 4c87a603 lw a2,1224(a5) # 84c8 <_read+0x84>
|
|
20d6: 4cc7a683 lw a3,1228(a5)
|
|
20da: 4a1020ef jal ra,4d7a <__muldf3>
|
|
20de: 1a3040ef jal ra,6a80 <__truncdfsf2>
|
|
20e2: 8b2fe06f j 194 <__riscv_restore_0>
|
|
|
|
000020e6 <get_PV1_VOLT_IN>:
|
|
20e6: 88afe2ef jal t0,170 <__riscv_save_0>
|
|
20ea: 4511 li a0,4
|
|
20ec: 3d71 jal 1f88 <middleAverageFilter>
|
|
20ee: 019040ef jal ra,6906 <__floatunsisf>
|
|
20f2: 000087b7 lui a5,0x8
|
|
20f6: 4b87a583 lw a1,1208(a5) # 84b8 <_read+0x74>
|
|
20fa: 453030ef jal ra,5d4c <__divsf3>
|
|
20fe: 0d7040ef jal ra,69d4 <__extendsfdf2>
|
|
2102: 000087b7 lui a5,0x8
|
|
2106: 4c07a603 lw a2,1216(a5) # 84c0 <_read+0x7c>
|
|
210a: 4c47a683 lw a3,1220(a5)
|
|
210e: 46d020ef jal ra,4d7a <__muldf3>
|
|
2112: 000087b7 lui a5,0x8
|
|
2116: 4e07a603 lw a2,1248(a5) # 84e0 <_read+0x9c>
|
|
211a: 4e47a683 lw a3,1252(a5)
|
|
211e: 45d020ef jal ra,4d7a <__muldf3>
|
|
2122: 15f040ef jal ra,6a80 <__truncdfsf2>
|
|
2126: 86efe06f j 194 <__riscv_restore_0>
|
|
|
|
0000212a <get_MOSFET_Temper>:
|
|
212a: 846fe2ef jal t0,170 <__riscv_save_0>
|
|
212e: 4519 li a0,6
|
|
2130: 3da1 jal 1f88 <middleAverageFilter>
|
|
2132: 67a1 lui a5,0x8
|
|
2134: 4f078793 addi a5,a5,1264 # 84f0 <mosTemperADC>
|
|
2138: 4701 li a4,0
|
|
213a: 0f100693 li a3,241
|
|
213e: 2392 lhu a2,0(a5)
|
|
2140: 02c56963 bltu a0,a2,2172 <get_MOSFET_Temper+0x48>
|
|
2144: 853a mv a0,a4
|
|
2146: 02b030ef jal ra,5970 <__floatsidf>
|
|
214a: 000087b7 lui a5,0x8
|
|
214e: 4d07a603 lw a2,1232(a5) # 84d0 <_read+0x8c>
|
|
2152: 4d47a683 lw a3,1236(a5)
|
|
2156: 425020ef jal ra,4d7a <__muldf3>
|
|
215a: 000087b7 lui a5,0x8
|
|
215e: 4d87a603 lw a2,1240(a5) # 84d8 <_read+0x94>
|
|
2162: 4dc7a683 lw a3,1244(a5)
|
|
2166: 0cc030ef jal ra,5232 <__subdf3>
|
|
216a: 117040ef jal ra,6a80 <__truncdfsf2>
|
|
216e: 826fe06f j 194 <__riscv_restore_0>
|
|
2172: 0705 addi a4,a4,1
|
|
2174: 0789 addi a5,a5,2
|
|
2176: fcd714e3 bne a4,a3,213e <get_MOSFET_Temper+0x14>
|
|
217a: 00000513 li a0,0
|
|
217e: bfc5 j 216e <get_MOSFET_Temper+0x44>
|
|
|
|
00002180 <save_config_info>:
|
|
2180: ff1fd2ef jal t0,170 <__riscv_save_0>
|
|
2184: 03200613 li a2,50
|
|
2188: 4581 li a1,0
|
|
218a: c28ff0ef jal ra,15b2 <SPI_Flash_Write>
|
|
218e: 806fe06f j 194 <__riscv_restore_0>
|
|
|
|
00002192 <read_config_info>:
|
|
2192: fdffd2ef jal t0,170 <__riscv_save_0>
|
|
2196: 7139 addi sp,sp,-64
|
|
2198: 0068 addi a0,sp,12
|
|
219a: 03200613 li a2,50
|
|
219e: 4581 li a1,0
|
|
21a0: af0ff0ef jal ra,1490 <SPI_Flash_Read>
|
|
21a4: 8618 lbu a4,12(sp)
|
|
21a6: 05300793 li a5,83
|
|
21aa: 20000537 lui a0,0x20000
|
|
21ae: 02f71763 bne a4,a5,21dc <read_config_info+0x4a>
|
|
21b2: 8698 lbu a4,13(sp)
|
|
21b4: 04c00793 li a5,76
|
|
21b8: 02f71263 bne a4,a5,21dc <read_config_info+0x4a>
|
|
21bc: 03d14703 lbu a4,61(sp)
|
|
21c0: 47d9 li a5,22
|
|
21c2: 00f71d63 bne a4,a5,21dc <read_config_info+0x4a>
|
|
21c6: 03200613 li a2,50
|
|
21ca: 006c addi a1,sp,12
|
|
21cc: 02050513 addi a0,a0,32 # 20000020 <g_slConfigInfo>
|
|
21d0: 289040ef jal ra,6c58 <memcpy>
|
|
21d4: 4505 li a0,1
|
|
21d6: 6121 addi sp,sp,64
|
|
21d8: fbdfd06f j 194 <__riscv_restore_0>
|
|
21dc: 200007b7 lui a5,0x20000
|
|
21e0: 0547c703 lbu a4,84(a5) # 20000054 <defaultValue>
|
|
21e4: 02050513 addi a0,a0,32
|
|
21e8: 05478793 addi a5,a5,84
|
|
21ec: a118 sb a4,0(a0)
|
|
21ee: 3398 lbu a4,1(a5)
|
|
21f0: b118 sb a4,1(a0)
|
|
21f2: 23b8 lbu a4,2(a5)
|
|
21f4: a138 sb a4,2(a0)
|
|
21f6: 33b8 lbu a4,3(a5)
|
|
21f8: b138 sb a4,3(a0)
|
|
21fa: 23d8 lbu a4,4(a5)
|
|
21fc: a158 sb a4,4(a0)
|
|
21fe: 33d8 lbu a4,5(a5)
|
|
2200: b158 sb a4,5(a0)
|
|
2202: 23f8 lbu a4,6(a5)
|
|
2204: a178 sb a4,6(a0)
|
|
2206: 33f8 lbu a4,7(a5)
|
|
2208: b178 sb a4,7(a0)
|
|
220a: 2798 lbu a4,8(a5)
|
|
220c: 37dc lbu a5,13(a5)
|
|
220e: a518 sb a4,8(a0)
|
|
2210: 02f508a3 sb a5,49(a0)
|
|
2214: 4501 li a0,0
|
|
2216: b7c1 j 21d6 <read_config_info+0x44>
|
|
|
|
00002218 <read_config_info1>:
|
|
2218: f59fd2ef jal t0,170 <__riscv_save_0>
|
|
221c: 7139 addi sp,sp,-64
|
|
221e: 842a mv s0,a0
|
|
2220: 03200613 li a2,50
|
|
2224: 4581 li a1,0
|
|
2226: 0068 addi a0,sp,12
|
|
2228: a68ff0ef jal ra,1490 <SPI_Flash_Read>
|
|
222c: 8618 lbu a4,12(sp)
|
|
222e: 05300793 li a5,83
|
|
2232: 02f71663 bne a4,a5,225e <read_config_info1+0x46>
|
|
2236: 8698 lbu a4,13(sp)
|
|
2238: 04c00793 li a5,76
|
|
223c: 02f71163 bne a4,a5,225e <read_config_info1+0x46>
|
|
2240: 03d14703 lbu a4,61(sp)
|
|
2244: 47d9 li a5,22
|
|
2246: 00f71c63 bne a4,a5,225e <read_config_info1+0x46>
|
|
224a: 03200613 li a2,50
|
|
224e: 006c addi a1,sp,12
|
|
2250: 8522 mv a0,s0
|
|
2252: 207040ef jal ra,6c58 <memcpy>
|
|
2256: 4505 li a0,1
|
|
2258: 6121 addi sp,sp,64
|
|
225a: f3bfd06f j 194 <__riscv_restore_0>
|
|
225e: 200007b7 lui a5,0x20000
|
|
2262: 0547c703 lbu a4,84(a5) # 20000054 <defaultValue>
|
|
2266: 05478793 addi a5,a5,84
|
|
226a: 4501 li a0,0
|
|
226c: a018 sb a4,0(s0)
|
|
226e: 3398 lbu a4,1(a5)
|
|
2270: b018 sb a4,1(s0)
|
|
2272: 23b8 lbu a4,2(a5)
|
|
2274: a038 sb a4,2(s0)
|
|
2276: 33b8 lbu a4,3(a5)
|
|
2278: b038 sb a4,3(s0)
|
|
227a: 23d8 lbu a4,4(a5)
|
|
227c: a058 sb a4,4(s0)
|
|
227e: 33d8 lbu a4,5(a5)
|
|
2280: b058 sb a4,5(s0)
|
|
2282: 23f8 lbu a4,6(a5)
|
|
2284: a078 sb a4,6(s0)
|
|
2286: 33f8 lbu a4,7(a5)
|
|
2288: b078 sb a4,7(s0)
|
|
228a: 2798 lbu a4,8(a5)
|
|
228c: a418 sb a4,8(s0)
|
|
228e: 37dc lbu a5,13(a5)
|
|
2290: 02f408a3 sb a5,49(s0)
|
|
2294: b7d1 j 2258 <read_config_info1+0x40>
|
|
|
|
00002296 <mppt_constantVoltage>:
|
|
2296: ec1fd2ef jal t0,156 <__riscv_save_4>
|
|
229a: 200017b7 lui a5,0x20001
|
|
229e: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
22a2: 2ff8 lbu a4,30(a5)
|
|
22a4: 3fc0 lbu s0,29(a5)
|
|
22a6: 85aa mv a1,a0
|
|
22a8: 0722 slli a4,a4,0x8
|
|
22aa: 8f41 or a4,a4,s0
|
|
22ac: 3fe0 lbu s0,31(a5)
|
|
22ae: 80c18913 addi s2,gp,-2036 # 20000174 <g_duty_ratio>
|
|
22b2: 0442 slli s0,s0,0x10
|
|
22b4: 8f41 or a4,a4,s0
|
|
22b6: 0207c403 lbu s0,32(a5)
|
|
22ba: 0462 slli s0,s0,0x18
|
|
22bc: 8c59 or s0,s0,a4
|
|
22be: 8522 mv a0,s0
|
|
22c0: 140040ef jal ra,6400 <__subsf3>
|
|
22c4: 000087b7 lui a5,0x8
|
|
22c8: 7207a583 lw a1,1824(a5) # 8720 <mosTemperADC+0x230>
|
|
22cc: 6a1030ef jal ra,616c <__mulsf3>
|
|
22d0: 000087b7 lui a5,0x8
|
|
22d4: 7187a583 lw a1,1816(a5) # 8718 <mosTemperADC+0x228>
|
|
22d8: 89aa mv s3,a0
|
|
22da: 8522 mv a0,s0
|
|
22dc: 691030ef jal ra,616c <__mulsf3>
|
|
22e0: 85aa mv a1,a0
|
|
22e2: 854e mv a0,s3
|
|
22e4: 6fe030ef jal ra,59e2 <__addsf3>
|
|
22e8: 00092583 lw a1,0(s2)
|
|
22ec: 6f6030ef jal ra,59e2 <__addsf3>
|
|
22f0: 00a92023 sw a0,0(s2)
|
|
22f4: 80c18513 addi a0,gp,-2036 # 20000174 <g_duty_ratio>
|
|
22f8: dfaff0ef jal ra,18f2 <Set_duty_ratio>
|
|
22fc: e8ffd06f j 18a <__riscv_restore_4>
|
|
|
|
00002300 <mppt_constantVoltageO>:
|
|
2300: e57fd2ef jal t0,156 <__riscv_save_4>
|
|
2304: 200017b7 lui a5,0x20001
|
|
2308: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
230c: 27f8 lbu a4,14(a5)
|
|
230e: 37c0 lbu s0,13(a5)
|
|
2310: 0722 slli a4,a4,0x8
|
|
2312: 8f41 or a4,a4,s0
|
|
2314: 37e0 lbu s0,15(a5)
|
|
2316: 80c18913 addi s2,gp,-2036 # 20000174 <g_duty_ratio>
|
|
231a: 0442 slli s0,s0,0x10
|
|
231c: 8f41 or a4,a4,s0
|
|
231e: 2b80 lbu s0,16(a5)
|
|
2320: 0462 slli s0,s0,0x18
|
|
2322: 8c59 or s0,s0,a4
|
|
2324: 85a2 mv a1,s0
|
|
2326: 0da040ef jal ra,6400 <__subsf3>
|
|
232a: 000087b7 lui a5,0x8
|
|
232e: 7207a583 lw a1,1824(a5) # 8720 <mosTemperADC+0x230>
|
|
2332: 63b030ef jal ra,616c <__mulsf3>
|
|
2336: 000087b7 lui a5,0x8
|
|
233a: 7187a583 lw a1,1816(a5) # 8718 <mosTemperADC+0x228>
|
|
233e: 89aa mv s3,a0
|
|
2340: 8522 mv a0,s0
|
|
2342: 62b030ef jal ra,616c <__mulsf3>
|
|
2346: 85aa mv a1,a0
|
|
2348: 854e mv a0,s3
|
|
234a: 698030ef jal ra,59e2 <__addsf3>
|
|
234e: 00092583 lw a1,0(s2)
|
|
2352: 690030ef jal ra,59e2 <__addsf3>
|
|
2356: 00a92023 sw a0,0(s2)
|
|
235a: 80c18513 addi a0,gp,-2036 # 20000174 <g_duty_ratio>
|
|
235e: d94ff0ef jal ra,18f2 <Set_duty_ratio>
|
|
2362: e29fd06f j 18a <__riscv_restore_4>
|
|
|
|
00002366 <mppt_constantCurrentO>:
|
|
2366: df1fd2ef jal t0,156 <__riscv_save_4>
|
|
236a: 200017b7 lui a5,0x20001
|
|
236e: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
2372: 2bf8 lbu a4,22(a5)
|
|
2374: 3bc0 lbu s0,21(a5)
|
|
2376: 0722 slli a4,a4,0x8
|
|
2378: 8f41 or a4,a4,s0
|
|
237a: 3be0 lbu s0,23(a5)
|
|
237c: 80c18913 addi s2,gp,-2036 # 20000174 <g_duty_ratio>
|
|
2380: 0442 slli s0,s0,0x10
|
|
2382: 8f41 or a4,a4,s0
|
|
2384: 2f80 lbu s0,24(a5)
|
|
2386: 0462 slli s0,s0,0x18
|
|
2388: 8c59 or s0,s0,a4
|
|
238a: 85a2 mv a1,s0
|
|
238c: 074040ef jal ra,6400 <__subsf3>
|
|
2390: 000087b7 lui a5,0x8
|
|
2394: 7207a583 lw a1,1824(a5) # 8720 <mosTemperADC+0x230>
|
|
2398: 5d5030ef jal ra,616c <__mulsf3>
|
|
239c: 000087b7 lui a5,0x8
|
|
23a0: 7147a583 lw a1,1812(a5) # 8714 <mosTemperADC+0x224>
|
|
23a4: 89aa mv s3,a0
|
|
23a6: 8522 mv a0,s0
|
|
23a8: 5c5030ef jal ra,616c <__mulsf3>
|
|
23ac: 85aa mv a1,a0
|
|
23ae: 854e mv a0,s3
|
|
23b0: 632030ef jal ra,59e2 <__addsf3>
|
|
23b4: 00092583 lw a1,0(s2)
|
|
23b8: 62a030ef jal ra,59e2 <__addsf3>
|
|
23bc: 00a92023 sw a0,0(s2)
|
|
23c0: 80c18513 addi a0,gp,-2036 # 20000174 <g_duty_ratio>
|
|
23c4: d2eff0ef jal ra,18f2 <Set_duty_ratio>
|
|
23c8: dc3fd06f j 18a <__riscv_restore_4>
|
|
|
|
000023cc <MpptContorl>:
|
|
23cc: da5fd2ef jal t0,170 <__riscv_save_0>
|
|
23d0: 20001437 lui s0,0x20001
|
|
23d4: 21c40713 addi a4,s0,540 # 2000121c <g_Mppt_Para>
|
|
23d8: 02c74783 lbu a5,44(a4)
|
|
23dc: 02b74683 lbu a3,43(a4)
|
|
23e0: 4709 li a4,2
|
|
23e2: 07a2 slli a5,a5,0x8
|
|
23e4: 8fd5 or a5,a5,a3
|
|
23e6: 08e78763 beq a5,a4,2474 <MpptContorl+0xa8>
|
|
23ea: 00f76763 bltu a4,a5,23f8 <MpptContorl+0x2c>
|
|
23ee: 4705 li a4,1
|
|
23f0: 02e78763 beq a5,a4,241e <MpptContorl+0x52>
|
|
23f4: da1fd06f j 194 <__riscv_restore_0>
|
|
23f8: 470d li a4,3
|
|
23fa: 08e78463 beq a5,a4,2482 <MpptContorl+0xb6>
|
|
23fe: 4711 li a4,4
|
|
2400: fee79ae3 bne a5,a4,23f4 <MpptContorl+0x28>
|
|
2404: 81218493 addi s1,gp,-2030 # 2000017a <onlyOnce.5820>
|
|
2408: 209c lbu a5,0(s1)
|
|
240a: 85418413 addi s0,gp,-1964 # 200001bc <FloatChargeV.5819>
|
|
240e: c3dd beqz a5,24b4 <MpptContorl+0xe8>
|
|
2410: 200007b7 lui a5,0x20000
|
|
2414: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
2418: 3fa8 lbu a0,27(a5)
|
|
241a: 2fdc lbu a5,28(a5)
|
|
241c: a8bd j 249a <MpptContorl+0xce>
|
|
241e: 81018913 addi s2,gp,-2032 # 20000178 <onlyOnce.5807>
|
|
2422: 00094783 lbu a5,0(s2)
|
|
2426: 21c40413 addi s0,s0,540
|
|
242a: 86018493 addi s1,gp,-1952 # 200001c8 <TrickleChargeC.5806>
|
|
242e: c785 beqz a5,2456 <MpptContorl+0x8a>
|
|
2430: 200007b7 lui a5,0x20000
|
|
2434: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
2438: 3f88 lbu a0,25(a5)
|
|
243a: 2fbc lbu a5,26(a5)
|
|
243c: 07a2 slli a5,a5,0x8
|
|
243e: 8d5d or a0,a0,a5
|
|
2440: 4c6040ef jal ra,6906 <__floatunsisf>
|
|
2444: 000087b7 lui a5,0x8
|
|
2448: 6d87a583 lw a1,1752(a5) # 86d8 <mosTemperADC+0x1e8>
|
|
244c: 101030ef jal ra,5d4c <__divsf3>
|
|
2450: c088 sw a0,0(s1)
|
|
2452: 00090023 sb zero,0(s2)
|
|
2456: 2c2c lbu a1,26(s0)
|
|
2458: 3c1c lbu a5,25(s0)
|
|
245a: 4088 lw a0,0(s1)
|
|
245c: 05a2 slli a1,a1,0x8
|
|
245e: 8ddd or a1,a1,a5
|
|
2460: 3c3c lbu a5,27(s0)
|
|
2462: 07c2 slli a5,a5,0x10
|
|
2464: 8fcd or a5,a5,a1
|
|
2466: 2c4c lbu a1,28(s0)
|
|
2468: 05e2 slli a1,a1,0x18
|
|
246a: 8ddd or a1,a1,a5
|
|
246c: 576030ef jal ra,59e2 <__addsf3>
|
|
2470: 3ddd jal 2366 <mppt_constantCurrentO>
|
|
2472: b749 j 23f4 <MpptContorl+0x28>
|
|
2474: 000087b7 lui a5,0x8
|
|
2478: 6dc7a503 lw a0,1756(a5) # 86dc <mosTemperADC+0x1ec>
|
|
247c: e1bff0ef jal ra,2296 <mppt_constantVoltage>
|
|
2480: bf95 j 23f4 <MpptContorl+0x28>
|
|
2482: 81118493 addi s1,gp,-2031 # 20000179 <onlyOnce.5815>
|
|
2486: 209c lbu a5,0(s1)
|
|
2488: 84c18413 addi s0,gp,-1972 # 200001b4 <ConstantVoltageChargeV.5814>
|
|
248c: c785 beqz a5,24b4 <MpptContorl+0xe8>
|
|
248e: 200007b7 lui a5,0x20000
|
|
2492: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
2496: 3be8 lbu a0,23(a5)
|
|
2498: 2f9c lbu a5,24(a5)
|
|
249a: 07a2 slli a5,a5,0x8
|
|
249c: 8d5d or a0,a0,a5
|
|
249e: 468040ef jal ra,6906 <__floatunsisf>
|
|
24a2: 000087b7 lui a5,0x8
|
|
24a6: 6d87a583 lw a1,1752(a5) # 86d8 <mosTemperADC+0x1e8>
|
|
24aa: 0a3030ef jal ra,5d4c <__divsf3>
|
|
24ae: c008 sw a0,0(s0)
|
|
24b0: 00048023 sb zero,0(s1)
|
|
24b4: 4008 lw a0,0(s0)
|
|
24b6: e4bff0ef jal ra,2300 <mppt_constantVoltageO>
|
|
24ba: bf2d j 23f4 <MpptContorl+0x28>
|
|
|
|
000024bc <MpptMode>:
|
|
24bc: c8dfd2ef jal t0,148 <__riscv_save_10>
|
|
24c0: 81318913 addi s2,gp,-2029 # 2000017b <only_once.5840>
|
|
24c4: 00094783 lbu a5,0(s2)
|
|
24c8: 85c18a13 addi s4,gp,-1956 # 200001c4 <StopSolarOpenCircuitV.5839>
|
|
24cc: c7d1 beqz a5,2558 <MpptMode+0x9c>
|
|
24ce: 20000437 lui s0,0x20000
|
|
24d2: 02040413 addi s0,s0,32 # 20000020 <g_slConfigInfo>
|
|
24d6: 247c lbu a5,14(s0)
|
|
24d8: 3448 lbu a0,13(s0)
|
|
24da: 000084b7 lui s1,0x8
|
|
24de: 07a2 slli a5,a5,0x8
|
|
24e0: 8d5d or a0,a0,a5
|
|
24e2: 424040ef jal ra,6906 <__floatunsisf>
|
|
24e6: 6d84a583 lw a1,1752(s1) # 86d8 <mosTemperADC+0x1e8>
|
|
24ea: 063030ef jal ra,5d4c <__divsf3>
|
|
24ee: 84a1a423 sw a0,-1976(gp) # 200001b0 <ConstantCurrentV.5836>
|
|
24f2: 281c lbu a5,16(s0)
|
|
24f4: 3468 lbu a0,15(s0)
|
|
24f6: 07a2 slli a5,a5,0x8
|
|
24f8: 8d5d or a0,a0,a5
|
|
24fa: 40c040ef jal ra,6906 <__floatunsisf>
|
|
24fe: 6d84a583 lw a1,1752(s1)
|
|
2502: 04b030ef jal ra,5d4c <__divsf3>
|
|
2506: 84a1a823 sw a0,-1968(gp) # 200001b8 <ConstantVoltageV.5837>
|
|
250a: 283c lbu a5,18(s0)
|
|
250c: 3808 lbu a0,17(s0)
|
|
250e: 07a2 slli a5,a5,0x8
|
|
2510: 8d5d or a0,a0,a5
|
|
2512: 3f4040ef jal ra,6906 <__floatunsisf>
|
|
2516: 6d84a583 lw a1,1752(s1)
|
|
251a: 033030ef jal ra,5d4c <__divsf3>
|
|
251e: 6d84a583 lw a1,1752(s1)
|
|
2522: 84a1ac23 sw a0,-1960(gp) # 200001c0 <FloatI.5838>
|
|
2526: 447030ef jal ra,616c <__mulsf3>
|
|
252a: 25e040ef jal ra,6788 <__fixsfsi>
|
|
252e: 85aa mv a1,a0
|
|
2530: 00008537 lui a0,0x8
|
|
2534: 6f850513 addi a0,a0,1784 # 86f8 <mosTemperADC+0x208>
|
|
2538: 7d2040ef jal ra,6d0a <iprintf>
|
|
253c: 287c lbu a5,22(s0)
|
|
253e: 3848 lbu a0,21(s0)
|
|
2540: 07a2 slli a5,a5,0x8
|
|
2542: 8d5d or a0,a0,a5
|
|
2544: 3c2040ef jal ra,6906 <__floatunsisf>
|
|
2548: 6d84a583 lw a1,1752(s1)
|
|
254c: 001030ef jal ra,5d4c <__divsf3>
|
|
2550: 00aa2023 sw a0,0(s4)
|
|
2554: 00090023 sb zero,0(s2)
|
|
2558: 20001437 lui s0,0x20001
|
|
255c: 21c40793 addi a5,s0,540 # 2000121c <g_Mppt_Para>
|
|
2560: 2fb8 lbu a4,26(a5)
|
|
2562: 0197c903 lbu s2,25(a5)
|
|
2566: 0157c983 lbu s3,21(a5)
|
|
256a: 0722 slli a4,a4,0x8
|
|
256c: 01276733 or a4,a4,s2
|
|
2570: 01b7c903 lbu s2,27(a5)
|
|
2574: 2fec lbu a1,30(a5)
|
|
2576: 000a2503 lw a0,0(s4)
|
|
257a: 0942 slli s2,s2,0x10
|
|
257c: 00e96733 or a4,s2,a4
|
|
2580: 01c7c903 lbu s2,28(a5)
|
|
2584: 05a2 slli a1,a1,0x8
|
|
2586: 21c40413 addi s0,s0,540
|
|
258a: 0962 slli s2,s2,0x18
|
|
258c: 00e96933 or s2,s2,a4
|
|
2590: 2bf8 lbu a4,22(a5)
|
|
2592: 0722 slli a4,a4,0x8
|
|
2594: 01376733 or a4,a4,s3
|
|
2598: 0177c983 lbu s3,23(a5)
|
|
259c: 09c2 slli s3,s3,0x10
|
|
259e: 00e9e733 or a4,s3,a4
|
|
25a2: 0187c983 lbu s3,24(a5)
|
|
25a6: 09e2 slli s3,s3,0x18
|
|
25a8: 00e9e9b3 or s3,s3,a4
|
|
25ac: 3fd8 lbu a4,29(a5)
|
|
25ae: 8dd9 or a1,a1,a4
|
|
25b0: 3ff8 lbu a4,31(a5)
|
|
25b2: 0742 slli a4,a4,0x10
|
|
25b4: 8f4d or a4,a4,a1
|
|
25b6: 0207c583 lbu a1,32(a5)
|
|
25ba: 05e2 slli a1,a1,0x18
|
|
25bc: 8dd9 or a1,a1,a4
|
|
25be: 29d030ef jal ra,605a <__gesf2>
|
|
25c2: 06a05363 blez a0,2628 <MpptMode+0x16c>
|
|
25c6: 85ce mv a1,s3
|
|
25c8: 854a mv a0,s2
|
|
25ca: 291030ef jal ra,605a <__gesf2>
|
|
25ce: 02055263 bgez a0,25f2 <MpptMode+0x136>
|
|
25d2: 85ca mv a1,s2
|
|
25d4: 854e mv a0,s3
|
|
25d6: 62b030ef jal ra,6400 <__subsf3>
|
|
25da: 3fa040ef jal ra,69d4 <__extendsfdf2>
|
|
25de: 000087b7 lui a5,0x8
|
|
25e2: 4987a603 lw a2,1176(a5) # 8498 <_read+0x54>
|
|
25e6: 49c7a683 lw a3,1180(a5)
|
|
25ea: 6da020ef jal ra,4cc4 <__ledf2>
|
|
25ee: 02055d63 bgez a0,2628 <MpptMode+0x16c>
|
|
25f2: 00008537 lui a0,0x8
|
|
25f6: 70c50513 addi a0,a0,1804 # 870c <mosTemperADC+0x21c>
|
|
25fa: 020405a3 sb zero,43(s0)
|
|
25fe: 02040623 sb zero,44(s0)
|
|
2602: 01d040ef jal ra,6e1e <puts>
|
|
2606: 180010ef jal ra,3786 <stop_mpptWork>
|
|
260a: 000035b7 lui a1,0x3
|
|
260e: 20001537 lui a0,0x20001
|
|
2612: 4681 li a3,0
|
|
2614: 3e800613 li a2,1000
|
|
2618: 69e58593 addi a1,a1,1694 # 369e <Task_startMpptControl>
|
|
261c: 30050513 addi a0,a0,768 # 20001300 <m_startMpptControl>
|
|
2620: efeff0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
2624: b5dfd06f j 180 <__riscv_restore_10>
|
|
2628: 85ca mv a1,s2
|
|
262a: 854e mv a0,s3
|
|
262c: 5d5030ef jal ra,6400 <__subsf3>
|
|
2630: 3a4040ef jal ra,69d4 <__extendsfdf2>
|
|
2634: 000087b7 lui a5,0x8
|
|
2638: 4987ab03 lw s6,1176(a5) # 8498 <_read+0x54>
|
|
263c: 49c7ab83 lw s7,1180(a5)
|
|
2640: 8a2a mv s4,a0
|
|
2642: 865a mv a2,s6
|
|
2644: 86de mv a3,s7
|
|
2646: 8aae mv s5,a1
|
|
2648: 67c020ef jal ra,4cc4 <__ledf2>
|
|
264c: 00055e63 bgez a0,2668 <MpptMode+0x1ac>
|
|
2650: 85ce mv a1,s3
|
|
2652: 854a mv a0,s2
|
|
2654: 5ad030ef jal ra,6400 <__subsf3>
|
|
2658: 37c040ef jal ra,69d4 <__extendsfdf2>
|
|
265c: 865a mv a2,s6
|
|
265e: 86de mv a3,s7
|
|
2660: 664020ef jal ra,4cc4 <__ledf2>
|
|
2664: 02054e63 bltz a0,26a0 <MpptMode+0x1e4>
|
|
2668: 283c lbu a5,18(s0)
|
|
266a: 3804 lbu s1,17(s0)
|
|
266c: 07a2 slli a5,a5,0x8
|
|
266e: 8fc5 or a5,a5,s1
|
|
2670: 3824 lbu s1,19(s0)
|
|
2672: 04c2 slli s1,s1,0x10
|
|
2674: 8fc5 or a5,a5,s1
|
|
2676: 2844 lbu s1,20(s0)
|
|
2678: 04e2 slli s1,s1,0x18
|
|
267a: 8cdd or s1,s1,a5
|
|
267c: 000087b7 lui a5,0x8
|
|
2680: 6e07a583 lw a1,1760(a5) # 86e0 <mosTemperADC+0x1f0>
|
|
2684: 8526 mv a0,s1
|
|
2686: 1d5030ef jal ra,605a <__gesf2>
|
|
268a: 00a04b63 bgtz a0,26a0 <MpptMode+0x1e4>
|
|
268e: 000087b7 lui a5,0x8
|
|
2692: 6e47a583 lw a1,1764(a5) # 86e4 <mosTemperADC+0x1f4>
|
|
2696: 8526 mv a0,s1
|
|
2698: 249030ef jal ra,60e0 <__lesf2>
|
|
269c: 00055a63 bgez a0,26b0 <MpptMode+0x1f4>
|
|
26a0: 4791 li a5,4
|
|
26a2: 02f405a3 sb a5,43(s0)
|
|
26a6: 02040623 sb zero,44(s0)
|
|
26aa: 86018f23 sb zero,-1922(gp) # 200001e6 <g_batteryState>
|
|
26ae: bf9d j 2624 <MpptMode+0x168>
|
|
26b0: 8481ac03 lw s8,-1976(gp) # 200001b0 <ConstantCurrentV.5836>
|
|
26b4: 8526 mv a0,s1
|
|
26b6: 31e040ef jal ra,69d4 <__extendsfdf2>
|
|
26ba: 8b2a mv s6,a0
|
|
26bc: 8562 mv a0,s8
|
|
26be: 8bae mv s7,a1
|
|
26c0: 8501ac83 lw s9,-1968(gp) # 200001b8 <ConstantVoltageV.5837>
|
|
26c4: 00008d37 lui s10,0x8
|
|
26c8: 30c040ef jal ra,69d4 <__extendsfdf2>
|
|
26cc: 6e8d2603 lw a2,1768(s10) # 86e8 <mosTemperADC+0x1f8>
|
|
26d0: 6ecd2683 lw a3,1772(s10)
|
|
26d4: 613010ef jal ra,44e6 <__adddf3>
|
|
26d8: 865a mv a2,s6
|
|
26da: 86de mv a3,s7
|
|
26dc: 5e8020ef jal ra,4cc4 <__ledf2>
|
|
26e0: 04055063 bgez a0,2720 <MpptMode+0x264>
|
|
26e4: 8566 mv a0,s9
|
|
26e6: 2ee040ef jal ra,69d4 <__extendsfdf2>
|
|
26ea: 6e8d2603 lw a2,1768(s10)
|
|
26ee: 6ecd2683 lw a3,1772(s10)
|
|
26f2: 341020ef jal ra,5232 <__subdf3>
|
|
26f6: 862a mv a2,a0
|
|
26f8: 86ae mv a3,a1
|
|
26fa: 855a mv a0,s6
|
|
26fc: 85de mv a1,s7
|
|
26fe: 5c6020ef jal ra,4cc4 <__ledf2>
|
|
2702: 00a04f63 bgtz a0,2720 <MpptMode+0x264>
|
|
2706: 000087b7 lui a5,0x8
|
|
270a: 6f07a603 lw a2,1776(a5) # 86f0 <mosTemperADC+0x200>
|
|
270e: 6f47a683 lw a3,1780(a5)
|
|
2712: 8552 mv a0,s4
|
|
2714: 85d6 mv a1,s5
|
|
2716: 500020ef jal ra,4c16 <__gedf2>
|
|
271a: 4789 li a5,2
|
|
271c: 06a04263 bgtz a0,2780 <MpptMode+0x2c4>
|
|
2720: 85e6 mv a1,s9
|
|
2722: 8526 mv a0,s1
|
|
2724: 137030ef jal ra,605a <__gesf2>
|
|
2728: 04a05563 blez a0,2772 <MpptMode+0x2b6>
|
|
272c: 8581ab03 lw s6,-1960(gp) # 200001c0 <FloatI.5838>
|
|
2730: 855a mv a0,s6
|
|
2732: 2a2040ef jal ra,69d4 <__extendsfdf2>
|
|
2736: 000087b7 lui a5,0x8
|
|
273a: 6f07a603 lw a2,1776(a5) # 86f0 <mosTemperADC+0x200>
|
|
273e: 6f47a683 lw a3,1780(a5)
|
|
2742: 5a5010ef jal ra,44e6 <__adddf3>
|
|
2746: 862a mv a2,a0
|
|
2748: 86ae mv a3,a1
|
|
274a: 8552 mv a0,s4
|
|
274c: 85d6 mv a1,s5
|
|
274e: 4c8020ef jal ra,4c16 <__gedf2>
|
|
2752: 478d li a5,3
|
|
2754: 02055663 bgez a0,2780 <MpptMode+0x2c4>
|
|
2758: 85ce mv a1,s3
|
|
275a: 855a mv a0,s6
|
|
275c: 0ff030ef jal ra,605a <__gesf2>
|
|
2760: 00a05963 blez a0,2772 <MpptMode+0x2b6>
|
|
2764: 85ca mv a1,s2
|
|
2766: 855a mv a0,s6
|
|
2768: 0f3030ef jal ra,605a <__gesf2>
|
|
276c: 4791 li a5,4
|
|
276e: 00a04963 bgtz a0,2780 <MpptMode+0x2c4>
|
|
2772: 85e2 mv a1,s8
|
|
2774: 8526 mv a0,s1
|
|
2776: 16b030ef jal ra,60e0 <__lesf2>
|
|
277a: ea0555e3 bgez a0,2624 <MpptMode+0x168>
|
|
277e: 4785 li a5,1
|
|
2780: 02f405a3 sb a5,43(s0)
|
|
2784: 02040623 sb zero,44(s0)
|
|
2788: bd71 j 2624 <MpptMode+0x168>
|
|
|
|
0000278a <test>:
|
|
278a: 9bffd2ef jal t0,148 <__riscv_save_10>
|
|
278e: 88dff0ef jal ra,201a <get_CHG_CURR>
|
|
2792: 200014b7 lui s1,0x20001
|
|
2796: 21c48413 addi s0,s1,540 # 2000121c <g_Mppt_Para>
|
|
279a: 00855793 srli a5,a0,0x8
|
|
279e: b848 sb a0,21(s0)
|
|
27a0: a87c sb a5,22(s0)
|
|
27a2: 01055793 srli a5,a0,0x10
|
|
27a6: 8161 srli a0,a0,0x18
|
|
27a8: b87c sb a5,23(s0)
|
|
27aa: ac08 sb a0,24(s0)
|
|
27ac: 8f7ff0ef jal ra,20a2 <get_DSG_CURR>
|
|
27b0: 00855793 srli a5,a0,0x8
|
|
27b4: bc08 sb a0,25(s0)
|
|
27b6: ac3c sb a5,26(s0)
|
|
27b8: 01055793 srli a5,a0,0x10
|
|
27bc: 8161 srli a0,a0,0x18
|
|
27be: bc3c sb a5,27(s0)
|
|
27c0: ac48 sb a0,28(s0)
|
|
27c2: 89dff0ef jal ra,205e <get_PV_VOLT_OUT>
|
|
27c6: 00855793 srli a5,a0,0x8
|
|
27ca: b448 sb a0,13(s0)
|
|
27cc: a47c sb a5,14(s0)
|
|
27ce: 01055793 srli a5,a0,0x10
|
|
27d2: 8161 srli a0,a0,0x18
|
|
27d4: b47c sb a5,15(s0)
|
|
27d6: a808 sb a0,16(s0)
|
|
27d8: 90fff0ef jal ra,20e6 <get_PV1_VOLT_IN>
|
|
27dc: 00855793 srli a5,a0,0x8
|
|
27e0: ac7c sb a5,30(s0)
|
|
27e2: 01055793 srli a5,a0,0x10
|
|
27e6: bc7c sb a5,31(s0)
|
|
27e8: 2c3c lbu a5,26(s0)
|
|
27ea: 01944a03 lbu s4,25(s0)
|
|
27ee: bc48 sb a0,29(s0)
|
|
27f0: 07a2 slli a5,a5,0x8
|
|
27f2: 0147e7b3 or a5,a5,s4
|
|
27f6: 01b44a03 lbu s4,27(s0)
|
|
27fa: 8161 srli a0,a0,0x18
|
|
27fc: 02a40023 sb a0,32(s0)
|
|
2800: 0a42 slli s4,s4,0x10
|
|
2802: 00fa67b3 or a5,s4,a5
|
|
2806: 01c44a03 lbu s4,28(s0)
|
|
280a: 00000593 li a1,0
|
|
280e: 0a62 slli s4,s4,0x18
|
|
2810: 00fa6a33 or s4,s4,a5
|
|
2814: 8552 mv a0,s4
|
|
2816: 7e8030ef jal ra,5ffe <__eqsf2>
|
|
281a: e10d bnez a0,283c <test+0xb2>
|
|
281c: 2868 lbu a0,22(s0)
|
|
281e: 385c lbu a5,21(s0)
|
|
2820: 00000593 li a1,0
|
|
2824: 0522 slli a0,a0,0x8
|
|
2826: 8d5d or a0,a0,a5
|
|
2828: 387c lbu a5,23(s0)
|
|
282a: 07c2 slli a5,a5,0x10
|
|
282c: 8fc9 or a5,a5,a0
|
|
282e: 2c08 lbu a0,24(s0)
|
|
2830: 0562 slli a0,a0,0x18
|
|
2832: 8d5d or a0,a0,a5
|
|
2834: 7ca030ef jal ra,5ffe <__eqsf2>
|
|
2838: 0e050463 beqz a0,2920 <test+0x196>
|
|
283c: 287c lbu a5,22(s0)
|
|
283e: 01544a83 lbu s5,21(s0)
|
|
2842: 85d2 mv a1,s4
|
|
2844: 07a2 slli a5,a5,0x8
|
|
2846: 0157e7b3 or a5,a5,s5
|
|
284a: 01744a83 lbu s5,23(s0)
|
|
284e: 00008b37 lui s6,0x8
|
|
2852: 0ac2 slli s5,s5,0x10
|
|
2854: 00fae7b3 or a5,s5,a5
|
|
2858: 01844a83 lbu s5,24(s0)
|
|
285c: 0ae2 slli s5,s5,0x18
|
|
285e: 00faeab3 or s5,s5,a5
|
|
2862: 8556 mv a0,s5
|
|
2864: 39d030ef jal ra,6400 <__subsf3>
|
|
2868: 8baa mv s7,a0
|
|
286a: 16a040ef jal ra,69d4 <__extendsfdf2>
|
|
286e: 247c lbu a5,14(s0)
|
|
2870: 3444 lbu s1,13(s0)
|
|
2872: 6f0b2603 lw a2,1776(s6) # 86f0 <mosTemperADC+0x200>
|
|
2876: 07a2 slli a5,a5,0x8
|
|
2878: 8fc5 or a5,a5,s1
|
|
287a: 3464 lbu s1,15(s0)
|
|
287c: 6f4b2683 lw a3,1780(s6)
|
|
2880: 892a mv s2,a0
|
|
2882: 04c2 slli s1,s1,0x10
|
|
2884: 8fc5 or a5,a5,s1
|
|
2886: 2804 lbu s1,16(s0)
|
|
2888: 89ae mv s3,a1
|
|
288a: 04e2 slli s1,s1,0x18
|
|
288c: 8cdd or s1,s1,a5
|
|
288e: 388020ef jal ra,4c16 <__gedf2>
|
|
2892: 08a05963 blez a0,2924 <test+0x19a>
|
|
2896: 8801a583 lw a1,-1920(gp) # 200001e8 <g_impedance>
|
|
289a: 855e mv a0,s7
|
|
289c: 0d1030ef jal ra,616c <__mulsf3>
|
|
28a0: 85aa mv a1,a0
|
|
28a2: 8526 mv a0,s1
|
|
28a4: 35d030ef jal ra,6400 <__subsf3>
|
|
28a8: 00855793 srli a5,a0,0x8
|
|
28ac: a83c sb a5,18(s0)
|
|
28ae: 01055793 srli a5,a0,0x10
|
|
28b2: b83c sb a5,19(s0)
|
|
28b4: 87e1c703 lbu a4,-1922(gp) # 200001e6 <g_batteryState>
|
|
28b8: b808 sb a0,17(s0)
|
|
28ba: 8161 srli a0,a0,0x18
|
|
28bc: a848 sb a0,20(s0)
|
|
28be: 843e mv s0,a5
|
|
28c0: eb29 bnez a4,2912 <test+0x188>
|
|
28c2: 6f4b2b83 lw s7,1780(s6)
|
|
28c6: 6f0b2b03 lw s6,1776(s6)
|
|
28ca: 854a mv a0,s2
|
|
28cc: 86de mv a3,s7
|
|
28ce: 865a mv a2,s6
|
|
28d0: 85ce mv a1,s3
|
|
28d2: 344020ef jal ra,4c16 <__gedf2>
|
|
28d6: 00a04e63 bgtz a0,28f2 <test+0x168>
|
|
28da: 85d6 mv a1,s5
|
|
28dc: 8552 mv a0,s4
|
|
28de: 323030ef jal ra,6400 <__subsf3>
|
|
28e2: 0f2040ef jal ra,69d4 <__extendsfdf2>
|
|
28e6: 865a mv a2,s6
|
|
28e8: 86de mv a3,s7
|
|
28ea: 32c020ef jal ra,4c16 <__gedf2>
|
|
28ee: 02a05263 blez a0,2912 <test+0x188>
|
|
28f2: 8526 mv a0,s1
|
|
28f4: 0e0040ef jal ra,69d4 <__extendsfdf2>
|
|
28f8: 000087b7 lui a5,0x8
|
|
28fc: 7287a603 lw a2,1832(a5) # 8728 <mosTemperADC+0x238>
|
|
2900: 72c7a683 lw a3,1836(a5)
|
|
2904: 3c0020ef jal ra,4cc4 <__ledf2>
|
|
2908: 00055563 bgez a0,2912 <test+0x188>
|
|
290c: 4785 li a5,1
|
|
290e: 86f18f23 sb a5,-1922(gp) # 200001e6 <g_batteryState>
|
|
2912: 8971c783 lbu a5,-1897(gp) # 200001ff <overTemperature>
|
|
2916: e789 bnez a5,2920 <test+0x196>
|
|
2918: ba5ff0ef jal ra,24bc <MpptMode>
|
|
291c: ab1ff0ef jal ra,23cc <MpptContorl>
|
|
2920: 861fd06f j 180 <__riscv_restore_10>
|
|
2924: 8526 mv a0,s1
|
|
2926: b749 j 28a8 <test+0x11e>
|
|
|
|
00002928 <SL_ReadRegisterMPPTMode>:
|
|
2928: 849fd2ef jal t0,170 <__riscv_save_0>
|
|
292c: 00009537 lui a0,0x9
|
|
2930: 22f00613 li a2,559
|
|
2934: 4585 li a1,1
|
|
2936: 8e450513 addi a0,a0,-1820 # 88e4 <mosTemperADC+0x3f4>
|
|
293a: 3d0040ef jal ra,6d0a <iprintf>
|
|
293e: 200017b7 lui a5,0x20001
|
|
2942: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
2946: 02b7c503 lbu a0,43(a5)
|
|
294a: 02c7c783 lbu a5,44(a5)
|
|
294e: 07a2 slli a5,a5,0x8
|
|
2950: 8d5d or a0,a0,a5
|
|
2952: 843fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002956 <SL_ReadRegisterDischargMosState>:
|
|
2956: 81bfd2ef jal t0,170 <__riscv_save_0>
|
|
295a: 00009537 lui a0,0x9
|
|
295e: 22300613 li a2,547
|
|
2962: 4585 li a1,1
|
|
2964: 87050513 addi a0,a0,-1936 # 8870 <mosTemperADC+0x380>
|
|
2968: 3a2040ef jal ra,6d0a <iprintf>
|
|
296c: 200017b7 lui a5,0x20001
|
|
2970: 2447a503 lw a0,580(a5) # 20001244 <g_Mppt_Para+0x28>
|
|
2974: 8121 srli a0,a0,0x8
|
|
2976: 0542 slli a0,a0,0x10
|
|
2978: 8141 srli a0,a0,0x10
|
|
297a: 81bfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000297e <SL_ReadRegisterHighSideMosTemperature>:
|
|
297e: ff2fd2ef jal t0,170 <__riscv_save_0>
|
|
2982: 00009537 lui a0,0x9
|
|
2986: 21700613 li a2,535
|
|
298a: 4585 li a1,1
|
|
298c: 8a850513 addi a0,a0,-1880 # 88a8 <mosTemperADC+0x3b8>
|
|
2990: 37a040ef jal ra,6d0a <iprintf>
|
|
2994: 200017b7 lui a5,0x20001
|
|
2998: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
299c: 53d8 lw a4,36(a5)
|
|
299e: 0287c503 lbu a0,40(a5)
|
|
29a2: 000097b7 lui a5,0x9
|
|
29a6: 8a47a583 lw a1,-1884(a5) # 88a4 <mosTemperADC+0x3b4>
|
|
29aa: 8321 srli a4,a4,0x8
|
|
29ac: 0562 slli a0,a0,0x18
|
|
29ae: 8d59 or a0,a0,a4
|
|
29b0: 7bc030ef jal ra,616c <__mulsf3>
|
|
29b4: 637030ef jal ra,67ea <__fixunssfsi>
|
|
29b8: 0542 slli a0,a0,0x10
|
|
29ba: 8141 srli a0,a0,0x10
|
|
29bc: fd8fd06f j 194 <__riscv_restore_0>
|
|
|
|
000029c0 <SL_ReadRegisterSolarOpenCircuitVoltage>:
|
|
29c0: fb0fd2ef jal t0,170 <__riscv_save_0>
|
|
29c4: 00009537 lui a0,0x9
|
|
29c8: 20b00613 li a2,523
|
|
29cc: 4585 li a1,1
|
|
29ce: 91050513 addi a0,a0,-1776 # 8910 <mosTemperADC+0x420>
|
|
29d2: 338040ef jal ra,6d0a <iprintf>
|
|
29d6: 200017b7 lui a5,0x20001
|
|
29da: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
29de: 5398 lw a4,32(a5)
|
|
29e0: 0247c503 lbu a0,36(a5)
|
|
29e4: 000097b7 lui a5,0x9
|
|
29e8: 8a47a583 lw a1,-1884(a5) # 88a4 <mosTemperADC+0x3b4>
|
|
29ec: 8321 srli a4,a4,0x8
|
|
29ee: 0562 slli a0,a0,0x18
|
|
29f0: 8d59 or a0,a0,a4
|
|
29f2: 77a030ef jal ra,616c <__mulsf3>
|
|
29f6: 5f5030ef jal ra,67ea <__fixunssfsi>
|
|
29fa: 0542 slli a0,a0,0x10
|
|
29fc: 8141 srli a0,a0,0x10
|
|
29fe: f96fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002a02 <SL_ReadRegisterDischargCurrent>:
|
|
2a02: f6efd2ef jal t0,170 <__riscv_save_0>
|
|
2a06: 00009537 lui a0,0x9
|
|
2a0a: 1ff00613 li a2,511
|
|
2a0e: 4585 li a1,1
|
|
2a10: 83c50513 addi a0,a0,-1988 # 883c <mosTemperADC+0x34c>
|
|
2a14: 2f6040ef jal ra,6d0a <iprintf>
|
|
2a18: 200017b7 lui a5,0x20001
|
|
2a1c: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
2a20: 4f98 lw a4,24(a5)
|
|
2a22: 2fc8 lbu a0,28(a5)
|
|
2a24: 000097b7 lui a5,0x9
|
|
2a28: 8a47a583 lw a1,-1884(a5) # 88a4 <mosTemperADC+0x3b4>
|
|
2a2c: 8321 srli a4,a4,0x8
|
|
2a2e: 0562 slli a0,a0,0x18
|
|
2a30: 8d59 or a0,a0,a4
|
|
2a32: 73a030ef jal ra,616c <__mulsf3>
|
|
2a36: 5b5030ef jal ra,67ea <__fixunssfsi>
|
|
2a3a: 0542 slli a0,a0,0x10
|
|
2a3c: 8141 srli a0,a0,0x10
|
|
2a3e: f56fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002a42 <SL_ReadRegisterChargCurrent>:
|
|
2a42: f2efd2ef jal t0,170 <__riscv_save_0>
|
|
2a46: 00009537 lui a0,0x9
|
|
2a4a: 1f300613 li a2,499
|
|
2a4e: 4585 li a1,1
|
|
2a50: 80c50513 addi a0,a0,-2036 # 880c <mosTemperADC+0x31c>
|
|
2a54: 2b6040ef jal ra,6d0a <iprintf>
|
|
2a58: 200017b7 lui a5,0x20001
|
|
2a5c: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
2a60: 4bd8 lw a4,20(a5)
|
|
2a62: 2f88 lbu a0,24(a5)
|
|
2a64: 000097b7 lui a5,0x9
|
|
2a68: 8a47a583 lw a1,-1884(a5) # 88a4 <mosTemperADC+0x3b4>
|
|
2a6c: 8321 srli a4,a4,0x8
|
|
2a6e: 0562 slli a0,a0,0x18
|
|
2a70: 8d59 or a0,a0,a4
|
|
2a72: 6fa030ef jal ra,616c <__mulsf3>
|
|
2a76: 575030ef jal ra,67ea <__fixunssfsi>
|
|
2a7a: 0542 slli a0,a0,0x10
|
|
2a7c: 8141 srli a0,a0,0x10
|
|
2a7e: f16fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002a82 <SL_ReadRegisterBatteryVoltage>:
|
|
2a82: eeefd2ef jal t0,170 <__riscv_save_0>
|
|
2a86: 00008537 lui a0,0x8
|
|
2a8a: 1e700613 li a2,487
|
|
2a8e: 4585 li a1,1
|
|
2a90: 7d850513 addi a0,a0,2008 # 87d8 <mosTemperADC+0x2e8>
|
|
2a94: 276040ef jal ra,6d0a <iprintf>
|
|
2a98: 200017b7 lui a5,0x20001
|
|
2a9c: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
2aa0: 4b98 lw a4,16(a5)
|
|
2aa2: 2bc8 lbu a0,20(a5)
|
|
2aa4: 000097b7 lui a5,0x9
|
|
2aa8: 8a47a583 lw a1,-1884(a5) # 88a4 <mosTemperADC+0x3b4>
|
|
2aac: 8321 srli a4,a4,0x8
|
|
2aae: 0562 slli a0,a0,0x18
|
|
2ab0: 8d59 or a0,a0,a4
|
|
2ab2: 6ba030ef jal ra,616c <__mulsf3>
|
|
2ab6: 535030ef jal ra,67ea <__fixunssfsi>
|
|
2aba: 0542 slli a0,a0,0x10
|
|
2abc: 8141 srli a0,a0,0x10
|
|
2abe: ed6fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002ac2 <SL_MsgProcFunc_Registration_request>:
|
|
2ac2: eaefd2ef jal t0,170 <__riscv_save_0>
|
|
2ac6: 00008537 lui a0,0x8
|
|
2aca: 842e mv s0,a1
|
|
2acc: 14f00613 li a2,335
|
|
2ad0: 4585 li a1,1
|
|
2ad2: 73050513 addi a0,a0,1840 # 8730 <mosTemperADC+0x240>
|
|
2ad6: 234040ef jal ra,6d0a <iprintf>
|
|
2ada: 4705 li a4,1
|
|
2adc: 200014b7 lui s1,0x20001
|
|
2ae0: 88e18c23 sb a4,-1896(gp) # 20000200 <recvbroadcast_flag>
|
|
2ae4: 2b048513 addi a0,s1,688 # 200012b0 <m_recvbroadcast>
|
|
2ae8: 86018223 sb zero,-1948(gp) # 200001cc <RegistrationRequestFlag>
|
|
2aec: a70ff0ef jal ra,1d5c <TimeSliceOffset_Unregister>
|
|
2af0: 245c lbu a5,12(s0)
|
|
2af2: 3458 lbu a4,13(s0)
|
|
2af4: 000045b7 lui a1,0x4
|
|
2af8: 07a2 slli a5,a5,0x8
|
|
2afa: 20001537 lui a0,0x20001
|
|
2afe: 8fd9 or a5,a5,a4
|
|
2b00: 4681 li a3,0
|
|
2b02: 20001737 lui a4,0x20001
|
|
2b06: 3e800613 li a2,1000
|
|
2b0a: 04a58593 addi a1,a1,74 # 404a <Task_sensorEnableBroadcast>
|
|
2b0e: 2e050513 addi a0,a0,736 # 200012e0 <m_sensorEnableBroadcast>
|
|
2b12: 2a048823 sb zero,688(s1)
|
|
2b16: 20f71e23 sh a5,540(a4) # 2000121c <g_Mppt_Para>
|
|
2b1a: a04ff0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
2b1e: e76fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002b22 <SL_MsgProcFunc_Broadcast_Scan>:
|
|
2b22: e4efd2ef jal t0,170 <__riscv_save_0>
|
|
2b26: 20001437 lui s0,0x20001
|
|
2b2a: 88a1a423 sw a0,-1912(gp) # 200001f0 <g_recvBroadcastDevice>
|
|
2b2e: 4715 li a4,5
|
|
2b30: 6605 lui a2,0x1
|
|
2b32: 000045b7 lui a1,0x4
|
|
2b36: 88e18623 sb a4,-1908(gp) # 200001f4 <g_recvBroadcastRegisterNumber>
|
|
2b3a: 4485 li s1,1
|
|
2b3c: 4681 li a3,0
|
|
2b3e: bb860613 addi a2,a2,-1096 # bb8 <GPIO_IPD_Unused+0x66>
|
|
2b42: da058593 addi a1,a1,-608 # 3da0 <Task_recvbroadcast>
|
|
2b46: 2b040513 addi a0,s0,688 # 200012b0 <m_recvbroadcast>
|
|
2b4a: 86918223 sb s1,-1948(gp) # 200001cc <RegistrationRequestFlag>
|
|
2b4e: 9d0ff0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
2b52: 2a940823 sb s1,688(s0)
|
|
2b56: e3efd06f j 194 <__riscv_restore_0>
|
|
|
|
00002b5a <SL_MsgProcFunc_Write_Register>:
|
|
2b5a: e16fd2ef jal t0,170 <__riscv_save_0>
|
|
2b5e: 25d4 lbu a3,12(a1)
|
|
2b60: 35dc lbu a5,13(a1)
|
|
2b62: 06a2 slli a3,a3,0x8
|
|
2b64: 8edd or a3,a3,a5
|
|
2b66: 4795 li a5,5
|
|
2b68: 00d7fd63 bgeu a5,a3,2b82 <SL_MsgProcFunc_Write_Register+0x28>
|
|
2b6c: 00008537 lui a0,0x8
|
|
2b70: 12400613 li a2,292
|
|
2b74: 4585 li a1,1
|
|
2b76: 75c50513 addi a0,a0,1884 # 875c <mosTemperADC+0x26c>
|
|
2b7a: 190040ef jal ra,6d0a <iprintf>
|
|
2b7e: e16fd06f j 194 <__riscv_restore_0>
|
|
2b82: 25b4 lbu a3,10(a1)
|
|
2b84: 35bc lbu a5,11(a1)
|
|
2b86: 06a2 slli a3,a3,0x8
|
|
2b88: 8edd or a3,a3,a5
|
|
2b8a: 20000793 li a5,512
|
|
2b8e: 00d7fa63 bgeu a5,a3,2ba2 <SL_MsgProcFunc_Write_Register+0x48>
|
|
2b92: 00008537 lui a0,0x8
|
|
2b96: 12b00613 li a2,299
|
|
2b9a: 4585 li a1,1
|
|
2b9c: 78c50513 addi a0,a0,1932 # 878c <mosTemperADC+0x29c>
|
|
2ba0: bfe9 j 2b7a <SL_MsgProcFunc_Write_Register+0x20>
|
|
2ba2: 00008537 lui a0,0x8
|
|
2ba6: 7c450513 addi a0,a0,1988 # 87c4 <mosTemperADC+0x2d4>
|
|
2baa: 274040ef jal ra,6e1e <puts>
|
|
2bae: bfc1 j 2b7e <SL_MsgProcFunc_Write_Register+0x24>
|
|
|
|
00002bb0 <CheckFunc>:
|
|
2bb0: 67c1 lui a5,0x10
|
|
2bb2: 7669 lui a2,0xffffa
|
|
2bb4: 4681 li a3,0
|
|
2bb6: 17fd addi a5,a5,-1
|
|
2bb8: 0605 addi a2,a2,1
|
|
2bba: 01069713 slli a4,a3,0x10
|
|
2bbe: 8341 srli a4,a4,0x10
|
|
2bc0: 00b76463 bltu a4,a1,2bc8 <CheckFunc+0x18>
|
|
2bc4: 853e mv a0,a5
|
|
2bc6: 8082 ret
|
|
2bc8: 00d50733 add a4,a0,a3
|
|
2bcc: 2318 lbu a4,0(a4)
|
|
2bce: 8fb9 xor a5,a5,a4
|
|
2bd0: 4721 li a4,8
|
|
2bd2: 0017f813 andi a6,a5,1
|
|
2bd6: 8385 srli a5,a5,0x1
|
|
2bd8: 00080563 beqz a6,2be2 <CheckFunc+0x32>
|
|
2bdc: 8fb1 xor a5,a5,a2
|
|
2bde: 07c2 slli a5,a5,0x10
|
|
2be0: 83c1 srli a5,a5,0x10
|
|
2be2: 177d addi a4,a4,-1
|
|
2be4: 0742 slli a4,a4,0x10
|
|
2be6: 8341 srli a4,a4,0x10
|
|
2be8: f76d bnez a4,2bd2 <CheckFunc+0x22>
|
|
2bea: 0685 addi a3,a3,1
|
|
2bec: b7f9 j 2bba <CheckFunc+0xa>
|
|
|
|
00002bee <randomDelay>:
|
|
2bee: d82fd2ef jal t0,170 <__riscv_save_0>
|
|
2bf2: 40001537 lui a0,0x40001
|
|
2bf6: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
2bfa: c5cfe0ef jal ra,1056 <TIM_GetCounter>
|
|
2bfe: 22c040ef jal ra,6e2a <srand>
|
|
2c02: 280040ef jal ra,6e82 <rand>
|
|
2c06: 0f100793 li a5,241
|
|
2c0a: 02f56533 rem a0,a0,a5
|
|
2c0e: 47a9 li a5,10
|
|
2c10: 0529 addi a0,a0,10
|
|
2c12: 02f50533 mul a0,a0,a5
|
|
2c16: d7efd06f j 194 <__riscv_restore_0>
|
|
|
|
00002c1a <Check_485_bus_busy>:
|
|
2c1a: d3cfd2ef jal t0,156 <__riscv_save_4>
|
|
2c1e: 8a41a703 lw a4,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
2c22: 842a mv s0,a0
|
|
2c24: 84be mv s1,a5
|
|
2c26: 4605 li a2,1
|
|
2c28: 52500593 li a1,1317
|
|
2c2c: 04a71c63 bne a4,a0,2c84 <Check_485_bus_busy+0x6a>
|
|
2c30: 40005537 lui a0,0x40005
|
|
2c34: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2c38: d2afe0ef jal ra,1162 <USART_ITConfig>
|
|
2c3c: 8522 mv a0,s0
|
|
2c3e: 09b010ef jal ra,44d8 <ring_queue_length>
|
|
2c42: 01051913 slli s2,a0,0x10
|
|
2c46: 4509 li a0,2
|
|
2c48: a1eff0ef jal ra,1e66 <Delay_Ms>
|
|
2c4c: 8522 mv a0,s0
|
|
2c4e: 08b010ef jal ra,44d8 <ring_queue_length>
|
|
2c52: 8a41a783 lw a5,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
2c56: 01051993 slli s3,a0,0x10
|
|
2c5a: 01095913 srli s2,s2,0x10
|
|
2c5e: 0109d993 srli s3,s3,0x10
|
|
2c62: 4601 li a2,0
|
|
2c64: 52500593 li a1,1317
|
|
2c68: 40005537 lui a0,0x40005
|
|
2c6c: 02879163 bne a5,s0,2c8e <Check_485_bus_busy+0x74>
|
|
2c70: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2c74: ceefe0ef jal ra,1162 <USART_ITConfig>
|
|
2c78: 41390533 sub a0,s2,s3
|
|
2c7c: 00a03533 snez a0,a0
|
|
2c80: d0afd06f j 18a <__riscv_restore_4>
|
|
2c84: 40005537 lui a0,0x40005
|
|
2c88: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
2c8c: b775 j 2c38 <Check_485_bus_busy+0x1e>
|
|
2c8e: c0050513 addi a0,a0,-1024
|
|
2c92: b7cd j 2c74 <Check_485_bus_busy+0x5a>
|
|
|
|
00002c94 <SL_MsgProcFunc_Remote_Upgrade>:
|
|
2c94: cdcfd2ef jal t0,170 <__riscv_save_0>
|
|
2c98: 20000437 lui s0,0x20000
|
|
2c9c: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
2ca0: 1141 addi sp,sp,-16
|
|
2ca2: 02040413 addi s0,s0,32
|
|
2ca6: 805c sb a5,0(sp)
|
|
2ca8: 301c lbu a5,1(s0)
|
|
2caa: 00011523 sh zero,10(sp)
|
|
2cae: 84aa mv s1,a0
|
|
2cb0: 80dc sb a5,1(sp)
|
|
2cb2: 203c lbu a5,2(s0)
|
|
2cb4: 45ad li a1,11
|
|
2cb6: 850a mv a0,sp
|
|
2cb8: 815c sb a5,2(sp)
|
|
2cba: 303c lbu a5,3(s0)
|
|
2cbc: 00011623 sh zero,12(sp)
|
|
2cc0: 81dc sb a5,3(sp)
|
|
2cc2: 205c lbu a5,4(s0)
|
|
2cc4: 825c sb a5,4(sp)
|
|
2cc6: 305c lbu a5,5(s0)
|
|
2cc8: 82dc sb a5,5(sp)
|
|
2cca: 207c lbu a5,6(s0)
|
|
2ccc: 835c sb a5,6(sp)
|
|
2cce: 307c lbu a5,7(s0)
|
|
2cd0: 83dc sb a5,7(sp)
|
|
2cd2: 241c lbu a5,8(s0)
|
|
2cd4: 845c sb a5,8(sp)
|
|
2cd6: fd100793 li a5,-47
|
|
2cda: 84dc sb a5,9(sp)
|
|
2cdc: 4785 li a5,1
|
|
2cde: 855c sb a5,10(sp)
|
|
2ce0: ed1ff0ef jal ra,2bb0 <CheckFunc>
|
|
2ce4: 00855793 srli a5,a0,0x8
|
|
2ce8: 85dc sb a5,11(sp)
|
|
2cea: 03144783 lbu a5,49(s0)
|
|
2cee: 8648 sb a0,12(sp)
|
|
2cf0: 86dc sb a5,13(sp)
|
|
2cf2: efdff0ef jal ra,2bee <randomDelay>
|
|
2cf6: 970ff0ef jal ra,1e66 <Delay_Ms>
|
|
2cfa: 8526 mv a0,s1
|
|
2cfc: f1fff0ef jal ra,2c1a <Check_485_bus_busy>
|
|
2d00: f96d bnez a0,2cf2 <SL_MsgProcFunc_Remote_Upgrade+0x5e>
|
|
2d02: 463d li a2,15
|
|
2d04: 858a mv a1,sp
|
|
2d06: 8526 mv a0,s1
|
|
2d08: 72e010ef jal ra,4436 <uart_dev_write>
|
|
2d0c: 8a41a783 lw a5,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
2d10: 4605 li a2,1
|
|
2d12: 52500593 li a1,1317
|
|
2d16: 40005537 lui a0,0x40005
|
|
2d1a: 00979963 bne a5,s1,2d2c <SL_MsgProcFunc_Remote_Upgrade+0x98>
|
|
2d1e: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2d22: c40fe0ef jal ra,1162 <USART_ITConfig>
|
|
2d26: 0141 addi sp,sp,16
|
|
2d28: c6cfd06f j 194 <__riscv_restore_0>
|
|
2d2c: c0050513 addi a0,a0,-1024
|
|
2d30: bfcd j 2d22 <SL_MsgProcFunc_Remote_Upgrade+0x8e>
|
|
|
|
00002d32 <SL_MsgProcFunc_Update_Profile>:
|
|
2d32: c3efd2ef jal t0,170 <__riscv_save_0>
|
|
2d36: 20000437 lui s0,0x20000
|
|
2d3a: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
2d3e: 1141 addi sp,sp,-16
|
|
2d40: 02040413 addi s0,s0,32
|
|
2d44: 805c sb a5,0(sp)
|
|
2d46: 301c lbu a5,1(s0)
|
|
2d48: 00011523 sh zero,10(sp)
|
|
2d4c: 84aa mv s1,a0
|
|
2d4e: 80dc sb a5,1(sp)
|
|
2d50: 203c lbu a5,2(s0)
|
|
2d52: 45ad li a1,11
|
|
2d54: 850a mv a0,sp
|
|
2d56: 815c sb a5,2(sp)
|
|
2d58: 303c lbu a5,3(s0)
|
|
2d5a: 00011623 sh zero,12(sp)
|
|
2d5e: 81dc sb a5,3(sp)
|
|
2d60: 205c lbu a5,4(s0)
|
|
2d62: 825c sb a5,4(sp)
|
|
2d64: 305c lbu a5,5(s0)
|
|
2d66: 82dc sb a5,5(sp)
|
|
2d68: 207c lbu a5,6(s0)
|
|
2d6a: 835c sb a5,6(sp)
|
|
2d6c: 307c lbu a5,7(s0)
|
|
2d6e: 83dc sb a5,7(sp)
|
|
2d70: 241c lbu a5,8(s0)
|
|
2d72: 845c sb a5,8(sp)
|
|
2d74: fd000793 li a5,-48
|
|
2d78: 84dc sb a5,9(sp)
|
|
2d7a: 4785 li a5,1
|
|
2d7c: 855c sb a5,10(sp)
|
|
2d7e: e33ff0ef jal ra,2bb0 <CheckFunc>
|
|
2d82: 00855793 srli a5,a0,0x8
|
|
2d86: 85dc sb a5,11(sp)
|
|
2d88: 03144783 lbu a5,49(s0)
|
|
2d8c: 8648 sb a0,12(sp)
|
|
2d8e: 86dc sb a5,13(sp)
|
|
2d90: e5fff0ef jal ra,2bee <randomDelay>
|
|
2d94: 8d2ff0ef jal ra,1e66 <Delay_Ms>
|
|
2d98: 8526 mv a0,s1
|
|
2d9a: e81ff0ef jal ra,2c1a <Check_485_bus_busy>
|
|
2d9e: f96d bnez a0,2d90 <SL_MsgProcFunc_Update_Profile+0x5e>
|
|
2da0: 463d li a2,15
|
|
2da2: 858a mv a1,sp
|
|
2da4: 8526 mv a0,s1
|
|
2da6: 690010ef jal ra,4436 <uart_dev_write>
|
|
2daa: 8a41a783 lw a5,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
2dae: 4605 li a2,1
|
|
2db0: 52500593 li a1,1317
|
|
2db4: 40005537 lui a0,0x40005
|
|
2db8: 00979963 bne a5,s1,2dca <SL_MsgProcFunc_Update_Profile+0x98>
|
|
2dbc: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2dc0: ba2fe0ef jal ra,1162 <USART_ITConfig>
|
|
2dc4: 0141 addi sp,sp,16
|
|
2dc6: bcefd06f j 194 <__riscv_restore_0>
|
|
2dca: c0050513 addi a0,a0,-1024
|
|
2dce: bfcd j 2dc0 <SL_MsgProcFunc_Update_Profile+0x8e>
|
|
|
|
00002dd0 <SL_MsgProcFunc_Read_Register>:
|
|
2dd0: b78fd2ef jal t0,148 <__riscv_save_10>
|
|
2dd4: 00c5c903 lbu s2,12(a1)
|
|
2dd8: 35dc lbu a5,13(a1)
|
|
2dda: 1101 addi sp,sp,-32
|
|
2ddc: 0922 slli s2,s2,0x8
|
|
2dde: 00f96933 or s2,s2,a5
|
|
2de2: 0942 slli s2,s2,0x10
|
|
2de4: 41095913 srai s2,s2,0x10
|
|
2de8: 01091493 slli s1,s2,0x10
|
|
2dec: 80c1 srli s1,s1,0x10
|
|
2dee: 4795 li a5,5
|
|
2df0: 0097ff63 bgeu a5,s1,2e0e <SL_MsgProcFunc_Read_Register+0x3e>
|
|
2df4: 00008537 lui a0,0x8
|
|
2df8: 86a6 mv a3,s1
|
|
2dfa: 0c500613 li a2,197
|
|
2dfe: 4585 li a1,1
|
|
2e00: 75c50513 addi a0,a0,1884 # 875c <mosTemperADC+0x26c>
|
|
2e04: 707030ef jal ra,6d0a <iprintf>
|
|
2e08: 6105 addi sp,sp,32
|
|
2e0a: b76fd06f j 180 <__riscv_restore_10>
|
|
2e0e: 25b4 lbu a3,10(a1)
|
|
2e10: 35bc lbu a5,11(a1)
|
|
2e12: 06a2 slli a3,a3,0x8
|
|
2e14: 8edd or a3,a3,a5
|
|
2e16: 20000793 li a5,512
|
|
2e1a: 00d7fa63 bgeu a5,a3,2e2e <SL_MsgProcFunc_Read_Register+0x5e>
|
|
2e1e: 00008537 lui a0,0x8
|
|
2e22: 0cb00613 li a2,203
|
|
2e26: 4585 li a1,1
|
|
2e28: 78c50513 addi a0,a0,1932 # 878c <mosTemperADC+0x29c>
|
|
2e2c: bfe1 j 2e04 <SL_MsgProcFunc_Read_Register+0x34>
|
|
2e2e: 89aa mv s3,a0
|
|
2e30: ca02 sw zero,20(sp)
|
|
2e32: cc02 sw zero,24(sp)
|
|
2e34: 00011e23 sh zero,28(sp)
|
|
2e38: 01410a93 addi s5,sp,20
|
|
2e3c: 8a36 mv s4,a3
|
|
2e3e: 20000b37 lui s6,0x20000
|
|
2e42: 40da07b3 sub a5,s4,a3
|
|
2e46: 07c2 slli a5,a5,0x10
|
|
2e48: 83c1 srli a5,a5,0x10
|
|
2e4a: 0c97e563 bltu a5,s1,2f14 <SL_MsgProcFunc_Read_Register+0x144>
|
|
2e4e: 20001a37 lui s4,0x20001
|
|
2e52: 24ca0413 addi s0,s4,588 # 2000124c <rs485_buff>
|
|
2e56: 00c40513 addi a0,s0,12
|
|
2e5a: 02600613 li a2,38
|
|
2e5e: 4581 li a1,0
|
|
2e60: b40fd0ef jal ra,1a0 <memset>
|
|
2e64: 20000737 lui a4,0x20000
|
|
2e68: 02074783 lbu a5,32(a4) # 20000020 <g_slConfigInfo>
|
|
2e6c: 012405a3 sb s2,11(s0)
|
|
2e70: 00040523 sb zero,10(s0)
|
|
2e74: a01c sb a5,0(s0)
|
|
2e76: 02070793 addi a5,a4,32
|
|
2e7a: 3394 lbu a3,1(a5)
|
|
2e7c: 00149a93 slli s5,s1,0x1
|
|
2e80: 02070913 addi s2,a4,32
|
|
2e84: b014 sb a3,1(s0)
|
|
2e86: 23b4 lbu a3,2(a5)
|
|
2e88: a034 sb a3,2(s0)
|
|
2e8a: 33b4 lbu a3,3(a5)
|
|
2e8c: b034 sb a3,3(s0)
|
|
2e8e: 23d4 lbu a3,4(a5)
|
|
2e90: a054 sb a3,4(s0)
|
|
2e92: 33d4 lbu a3,5(a5)
|
|
2e94: b054 sb a3,5(s0)
|
|
2e96: 23f4 lbu a3,6(a5)
|
|
2e98: a074 sb a3,6(s0)
|
|
2e9a: 33f4 lbu a3,7(a5)
|
|
2e9c: 279c lbu a5,8(a5)
|
|
2e9e: b074 sb a3,7(s0)
|
|
2ea0: a41c sb a5,8(s0)
|
|
2ea2: 03000793 li a5,48
|
|
2ea6: b41c sb a5,9(s0)
|
|
2ea8: 20001437 lui s0,0x20001
|
|
2eac: 4781 li a5,0
|
|
2eae: 25840413 addi s0,s0,600 # 20001258 <rs485_buff+0xc>
|
|
2eb2: 0957c563 blt a5,s5,2f3c <SL_MsgProcFunc_Read_Register+0x16c>
|
|
2eb6: 00648593 addi a1,s1,6
|
|
2eba: 0586 slli a1,a1,0x1
|
|
2ebc: 0fe5f593 andi a1,a1,254
|
|
2ec0: 24ca0513 addi a0,s4,588
|
|
2ec4: cedff0ef jal ra,2bb0 <CheckFunc>
|
|
2ec8: 00851793 slli a5,a0,0x8
|
|
2ecc: 8121 srli a0,a0,0x8
|
|
2ece: 8d5d or a0,a0,a5
|
|
2ed0: 03194783 lbu a5,49(s2)
|
|
2ed4: 9456 add s0,s0,s5
|
|
2ed6: a00a sh a0,0(s0)
|
|
2ed8: a03c sb a5,2(s0)
|
|
2eda: d15ff0ef jal ra,2bee <randomDelay>
|
|
2ede: f89fe0ef jal ra,1e66 <Delay_Ms>
|
|
2ee2: 854e mv a0,s3
|
|
2ee4: d37ff0ef jal ra,2c1a <Check_485_bus_busy>
|
|
2ee8: f96d bnez a0,2eda <SL_MsgProcFunc_Read_Register+0x10a>
|
|
2eea: 010a8613 addi a2,s5,16
|
|
2eee: 24ca0593 addi a1,s4,588
|
|
2ef2: 854e mv a0,s3
|
|
2ef4: 542010ef jal ra,4436 <uart_dev_write>
|
|
2ef8: 8a41a783 lw a5,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
2efc: 4605 li a2,1
|
|
2efe: 52500593 li a1,1317
|
|
2f02: 40005537 lui a0,0x40005
|
|
2f06: 05379c63 bne a5,s3,2f5e <SL_MsgProcFunc_Read_Register+0x18e>
|
|
2f0a: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2f0e: a54fe0ef jal ra,1162 <USART_ITConfig>
|
|
2f12: bddd j 2e08 <SL_MsgProcFunc_Read_Register+0x38>
|
|
2f14: 094b0413 addi s0,s6,148 # 20000094 <g_RegTblR>
|
|
2f18: 03840b93 addi s7,s0,56
|
|
2f1c: 401c lw a5,0(s0)
|
|
2f1e: 01479963 bne a5,s4,2f30 <SL_MsgProcFunc_Read_Register+0x160>
|
|
2f22: 405c lw a5,4(s0)
|
|
2f24: 4501 li a0,0
|
|
2f26: c636 sw a3,12(sp)
|
|
2f28: 9782 jalr a5
|
|
2f2a: 46b2 lw a3,12(sp)
|
|
2f2c: 00aa9023 sh a0,0(s5)
|
|
2f30: 0421 addi s0,s0,8
|
|
2f32: fe8b95e3 bne s7,s0,2f1c <SL_MsgProcFunc_Read_Register+0x14c>
|
|
2f36: 0a89 addi s5,s5,2
|
|
2f38: 0a05 addi s4,s4,1
|
|
2f3a: b721 j 2e42 <SL_MsgProcFunc_Read_Register+0x72>
|
|
2f3c: 1010 addi a2,sp,32
|
|
2f3e: 0fe7f713 andi a4,a5,254
|
|
2f42: 9732 add a4,a4,a2
|
|
2f44: 0017f613 andi a2,a5,1
|
|
2f48: 00f406b3 add a3,s0,a5
|
|
2f4c: ff475703 lhu a4,-12(a4)
|
|
2f50: e211 bnez a2,2f54 <SL_MsgProcFunc_Read_Register+0x184>
|
|
2f52: 8321 srli a4,a4,0x8
|
|
2f54: 0785 addi a5,a5,1
|
|
2f56: a298 sb a4,0(a3)
|
|
2f58: 0ff7f793 andi a5,a5,255
|
|
2f5c: bf99 j 2eb2 <SL_MsgProcFunc_Read_Register+0xe2>
|
|
2f5e: c0050513 addi a0,a0,-1024
|
|
2f62: b775 j 2f0e <SL_MsgProcFunc_Read_Register+0x13e>
|
|
|
|
00002f64 <FRT_MsgHandler>:
|
|
2f64: 9f2fd2ef jal t0,156 <__riscv_save_4>
|
|
2f68: 20000437 lui s0,0x20000
|
|
2f6c: 06440413 addi s0,s0,100 # 20000064 <g_MsgTbl>
|
|
2f70: 89aa mv s3,a0
|
|
2f72: 84ae mv s1,a1
|
|
2f74: 8a32 mv s4,a2
|
|
2f76: 03040913 addi s2,s0,48
|
|
2f7a: 3498 lbu a4,9(s1)
|
|
2f7c: 401c lw a5,0(s0)
|
|
2f7e: 00f71763 bne a4,a5,2f8c <FRT_MsgHandler+0x28>
|
|
2f82: 405c lw a5,4(s0)
|
|
2f84: 8652 mv a2,s4
|
|
2f86: 85a6 mv a1,s1
|
|
2f88: 854e mv a0,s3
|
|
2f8a: 9782 jalr a5
|
|
2f8c: 0421 addi s0,s0,8
|
|
2f8e: ff2416e3 bne s0,s2,2f7a <FRT_MsgHandler+0x16>
|
|
2f92: 9f8fd06f j 18a <__riscv_restore_4>
|
|
|
|
00002f96 <read_and_process_uart_data>:
|
|
2f96: 9aafd2ef jal t0,140 <__riscv_save_12>
|
|
2f9a: 1141 addi sp,sp,-16
|
|
2f9c: 8c2a mv s8,a0
|
|
2f9e: 4fa010ef jal ra,4498 <uart_dev_char_present>
|
|
2fa2: 2a050e63 beqz a0,325e <read_and_process_uart_data+0x2c8>
|
|
2fa6: 4551 li a0,20
|
|
2fa8: ebffe0ef jal ra,1e66 <Delay_Ms>
|
|
2fac: 20001937 lui s2,0x20001
|
|
2fb0: 03200613 li a2,50
|
|
2fb4: 4581 li a1,0
|
|
2fb6: 24c90513 addi a0,s2,588 # 2000124c <rs485_buff>
|
|
2fba: 24c90413 addi s0,s2,588
|
|
2fbe: 20000db7 lui s11,0x20000
|
|
2fc2: 9defd0ef jal ra,1a0 <memset>
|
|
2fc6: 4981 li s3,0
|
|
2fc8: 4481 li s1,0
|
|
2fca: 4a01 li s4,0
|
|
2fcc: 00140b93 addi s7,s0,1
|
|
2fd0: 00009cb7 lui s9,0x9
|
|
2fd4: 00009d37 lui s10,0x9
|
|
2fd8: 020d8b13 addi s6,s11,32 # 20000020 <g_slConfigInfo>
|
|
2fdc: 8562 mv a0,s8
|
|
2fde: 4fa010ef jal ra,44d8 <ring_queue_length>
|
|
2fe2: 26050e63 beqz a0,325e <read_and_process_uart_data+0x2c8>
|
|
2fe6: 8562 mv a0,s8
|
|
2fe8: 4c8010ef jal ra,44b0 <uart_dev_in_char>
|
|
2fec: 24c90793 addi a5,s2,588
|
|
2ff0: 97d2 add a5,a5,s4
|
|
2ff2: c63e sw a5,12(sp)
|
|
2ff4: a388 sb a0,0(a5)
|
|
2ff6: 001a0a93 addi s5,s4,1
|
|
2ffa: 4789 li a5,2
|
|
2ffc: 00fa8463 beq s5,a5,3004 <read_and_process_uart_data+0x6e>
|
|
3000: 26048263 beqz s1,3264 <read_and_process_uart_data+0x2ce>
|
|
3004: 2018 lbu a4,0(s0)
|
|
3006: 020dc783 lbu a5,32(s11)
|
|
300a: 10f71863 bne a4,a5,311a <read_and_process_uart_data+0x184>
|
|
300e: 3018 lbu a4,1(s0)
|
|
3010: 001b4783 lbu a5,1(s6)
|
|
3014: 10f71363 bne a4,a5,311a <read_and_process_uart_data+0x184>
|
|
3018: 00009537 lui a0,0x9
|
|
301c: 27200613 li a2,626
|
|
3020: 4585 li a1,1
|
|
3022: 94c50513 addi a0,a0,-1716 # 894c <mosTemperADC+0x45c>
|
|
3026: 4e5030ef jal ra,6d0a <iprintf>
|
|
302a: 47a5 li a5,9
|
|
302c: 06fa9663 bne s5,a5,3098 <read_and_process_uart_data+0x102>
|
|
3030: 200017b7 lui a5,0x20001
|
|
3034: 21c7d703 lhu a4,540(a5) # 2000121c <g_Mppt_Para>
|
|
3038: 4789 li a5,2
|
|
303a: 08f71f63 bne a4,a5,30d8 <read_and_process_uart_data+0x142>
|
|
303e: 2038 lbu a4,2(s0)
|
|
3040: 002b4783 lbu a5,2(s6)
|
|
3044: 08f71d63 bne a4,a5,30de <read_and_process_uart_data+0x148>
|
|
3048: 3038 lbu a4,3(s0)
|
|
304a: 003b4783 lbu a5,3(s6)
|
|
304e: 08f71863 bne a4,a5,30de <read_and_process_uart_data+0x148>
|
|
3052: 2058 lbu a4,4(s0)
|
|
3054: 004b4783 lbu a5,4(s6)
|
|
3058: 08f71363 bne a4,a5,30de <read_and_process_uart_data+0x148>
|
|
305c: 3058 lbu a4,5(s0)
|
|
305e: 005b4783 lbu a5,5(s6)
|
|
3062: 06f71e63 bne a4,a5,30de <read_and_process_uart_data+0x148>
|
|
3066: 2078 lbu a4,6(s0)
|
|
3068: 006b4783 lbu a5,6(s6)
|
|
306c: 06f71963 bne a4,a5,30de <read_and_process_uart_data+0x148>
|
|
3070: 3078 lbu a4,7(s0)
|
|
3072: 007b4783 lbu a5,7(s6)
|
|
3076: 06f71463 bne a4,a5,30de <read_and_process_uart_data+0x148>
|
|
307a: 2418 lbu a4,8(s0)
|
|
307c: 008b4783 lbu a5,8(s6)
|
|
3080: 04f71f63 bne a4,a5,30de <read_and_process_uart_data+0x148>
|
|
3084: 00009537 lui a0,0x9
|
|
3088: 28b00613 li a2,651
|
|
308c: 4585 li a1,1
|
|
308e: 97850513 addi a0,a0,-1672 # 8978 <mosTemperADC+0x488>
|
|
3092: 479030ef jal ra,6d0a <iprintf>
|
|
3096: a021 j 309e <read_and_process_uart_data+0x108>
|
|
3098: 4785 li a5,1
|
|
309a: f897ebe3 bltu a5,s1,3030 <read_and_process_uart_data+0x9a>
|
|
309e: 47a9 li a5,10
|
|
30a0: 00fa8563 beq s5,a5,30aa <read_and_process_uart_data+0x114>
|
|
30a4: 4789 li a5,2
|
|
30a6: 0a97f163 bgeu a5,s1,3148 <read_and_process_uart_data+0x1b2>
|
|
30aa: 200017b7 lui a5,0x20001
|
|
30ae: 21c7d783 lhu a5,540(a5) # 2000121c <g_Mppt_Para>
|
|
30b2: 4709 li a4,2
|
|
30b4: 3414 lbu a3,9(s0)
|
|
30b6: 12e79263 bne a5,a4,31da <read_and_process_uart_data+0x244>
|
|
30ba: 03000713 li a4,48
|
|
30be: 06e69963 bne a3,a4,3130 <read_and_process_uart_data+0x19a>
|
|
30c2: 00009537 lui a0,0x9
|
|
30c6: 2dc00613 li a2,732
|
|
30ca: 4585 li a1,1
|
|
30cc: 9d850513 addi a0,a0,-1576 # 89d8 <mosTemperADC+0x4e8>
|
|
30d0: 43b030ef jal ra,6d0a <iprintf>
|
|
30d4: 49c5 li s3,17
|
|
30d6: a88d j 3148 <read_and_process_uart_data+0x1b2>
|
|
30d8: 8641c783 lbu a5,-1948(gp) # 200001cc <RegistrationRequestFlag>
|
|
30dc: f3ad bnez a5,303e <read_and_process_uart_data+0xa8>
|
|
30de: 8151c783 lbu a5,-2027(gp) # 2000017d <run_Broadcast>
|
|
30e2: cb95 beqz a5,3116 <read_and_process_uart_data+0x180>
|
|
30e4: 3038 lbu a4,3(s0)
|
|
30e6: 203c lbu a5,2(s0)
|
|
30e8: 8ff9 and a5,a5,a4
|
|
30ea: 2058 lbu a4,4(s0)
|
|
30ec: 8ff9 and a5,a5,a4
|
|
30ee: 3058 lbu a4,5(s0)
|
|
30f0: 8ff9 and a5,a5,a4
|
|
30f2: 2078 lbu a4,6(s0)
|
|
30f4: 8ff9 and a5,a5,a4
|
|
30f6: 3078 lbu a4,7(s0)
|
|
30f8: 8ff9 and a5,a5,a4
|
|
30fa: 2418 lbu a4,8(s0)
|
|
30fc: 8ff9 and a5,a5,a4
|
|
30fe: 0ff00713 li a4,255
|
|
3102: 00e79a63 bne a5,a4,3116 <read_and_process_uart_data+0x180>
|
|
3106: 00009537 lui a0,0x9
|
|
310a: 2a000613 li a2,672
|
|
310e: 4585 li a1,1
|
|
3110: 9a450513 addi a0,a0,-1628 # 89a4 <mosTemperADC+0x4b4>
|
|
3114: bfbd j 3092 <read_and_process_uart_data+0xfc>
|
|
3116: e091 bnez s1,311a <read_and_process_uart_data+0x184>
|
|
3118: 4485 li s1,1
|
|
311a: 8652 mv a2,s4
|
|
311c: 85de mv a1,s7
|
|
311e: 24c90513 addi a0,s2,588
|
|
3122: 337030ef jal ra,6c58 <memcpy>
|
|
3126: 03000793 li a5,48
|
|
312a: eb47f9e3 bgeu a5,s4,2fdc <read_and_process_uart_data+0x46>
|
|
312e: aa05 j 325e <read_and_process_uart_data+0x2c8>
|
|
3130: 4741 li a4,16
|
|
3132: 02e69863 bne a3,a4,3162 <read_and_process_uart_data+0x1cc>
|
|
3136: 00009537 lui a0,0x9
|
|
313a: 2e200613 li a2,738
|
|
313e: 4585 li a1,1
|
|
3140: 9fc50513 addi a0,a0,-1540 # 89fc <mosTemperADC+0x50c>
|
|
3144: 3c7030ef jal ra,6d0a <iprintf>
|
|
3148: 3418 lbu a4,9(s0)
|
|
314a: 47c1 li a5,16
|
|
314c: 0cf71263 bne a4,a5,3210 <read_and_process_uart_data+0x27a>
|
|
3150: 47b5 li a5,13
|
|
3152: 0b57ff63 bgeu a5,s5,3210 <read_and_process_uart_data+0x27a>
|
|
3156: 00d44983 lbu s3,13(s0)
|
|
315a: 0986 slli s3,s3,0x1
|
|
315c: 09c5 addi s3,s3,17
|
|
315e: 8a56 mv s4,s5
|
|
3160: b7d9 j 3126 <read_and_process_uart_data+0x190>
|
|
3162: 03068713 addi a4,a3,48
|
|
3166: 0ff77713 andi a4,a4,255
|
|
316a: 4605 li a2,1
|
|
316c: 00e66d63 bltu a2,a4,3186 <read_and_process_uart_data+0x1f0>
|
|
3170: 00009537 lui a0,0x9
|
|
3174: 2e900613 li a2,745
|
|
3178: 4585 li a1,1
|
|
317a: a2050513 addi a0,a0,-1504 # 8a20 <mosTemperADC+0x530>
|
|
317e: 38d030ef jal ra,6d0a <iprintf>
|
|
3182: 49b5 li s3,13
|
|
3184: b7d1 j 3148 <read_and_process_uart_data+0x1b2>
|
|
3186: 8151c703 lbu a4,-2027(gp) # 2000017d <run_Broadcast>
|
|
318a: cf1d beqz a4,31c8 <read_and_process_uart_data+0x232>
|
|
318c: 0a000713 li a4,160
|
|
3190: 2ef00613 li a2,751
|
|
3194: 04e68963 beq a3,a4,31e6 <read_and_process_uart_data+0x250>
|
|
3198: 0a100713 li a4,161
|
|
319c: 00e69863 bne a3,a4,31ac <read_and_process_uart_data+0x216>
|
|
31a0: 2f500613 li a2,757
|
|
31a4: 4585 li a1,1
|
|
31a6: a64d0513 addi a0,s10,-1436 # 8a64 <mosTemperADC+0x574>
|
|
31aa: b71d j 30d0 <read_and_process_uart_data+0x13a>
|
|
31ac: 8726 mv a4,s1
|
|
31ae: 00f4f363 bgeu s1,a5,31b4 <read_and_process_uart_data+0x21e>
|
|
31b2: 4709 li a4,2
|
|
31b4: 0ff77493 andi s1,a4,255
|
|
31b8: 2fd00613 li a2,765
|
|
31bc: 4585 li a1,1
|
|
31be: a8cc8513 addi a0,s9,-1396 # 8a8c <mosTemperADC+0x59c>
|
|
31c2: 349030ef jal ra,6d0a <iprintf>
|
|
31c6: bf91 j 311a <read_and_process_uart_data+0x184>
|
|
31c8: 8726 mv a4,s1
|
|
31ca: 00f4f363 bgeu s1,a5,31d0 <read_and_process_uart_data+0x23a>
|
|
31ce: 4709 li a4,2
|
|
31d0: 0ff77493 andi s1,a4,255
|
|
31d4: 30800613 li a2,776
|
|
31d8: b7d5 j 31bc <read_and_process_uart_data+0x226>
|
|
31da: 0a000793 li a5,160
|
|
31de: 00f69a63 bne a3,a5,31f2 <read_and_process_uart_data+0x25c>
|
|
31e2: 31100613 li a2,785
|
|
31e6: 00009537 lui a0,0x9
|
|
31ea: 4585 li a1,1
|
|
31ec: a4050513 addi a0,a0,-1472 # 8a40 <mosTemperADC+0x550>
|
|
31f0: b779 j 317e <read_and_process_uart_data+0x1e8>
|
|
31f2: 0a100793 li a5,161
|
|
31f6: 31700613 li a2,791
|
|
31fa: faf685e3 beq a3,a5,31a4 <read_and_process_uart_data+0x20e>
|
|
31fe: 87a6 mv a5,s1
|
|
3200: 00e4f363 bgeu s1,a4,3206 <read_and_process_uart_data+0x270>
|
|
3204: 4789 li a5,2
|
|
3206: 0ff7f493 andi s1,a5,255
|
|
320a: 31f00613 li a2,799
|
|
320e: b77d j 31bc <read_and_process_uart_data+0x226>
|
|
3210: f53a97e3 bne s5,s3,315e <read_and_process_uart_data+0x1c8>
|
|
3214: ffda8593 addi a1,s5,-3
|
|
3218: 0ff5f593 andi a1,a1,255
|
|
321c: 24c90513 addi a0,s2,588
|
|
3220: 991ff0ef jal ra,2bb0 <CheckFunc>
|
|
3224: 01440733 add a4,s0,s4
|
|
3228: ffe74783 lbu a5,-2(a4)
|
|
322c: fff74703 lbu a4,-1(a4)
|
|
3230: 07a2 slli a5,a5,0x8
|
|
3232: 8fd9 or a5,a5,a4
|
|
3234: 00a79763 bne a5,a0,3242 <read_and_process_uart_data+0x2ac>
|
|
3238: 47b2 lw a5,12(sp)
|
|
323a: 2398 lbu a4,0(a5)
|
|
323c: 47d9 li a5,22
|
|
323e: 00f70a63 beq a4,a5,3252 <read_and_process_uart_data+0x2bc>
|
|
3242: 470d li a4,3
|
|
3244: 87a6 mv a5,s1
|
|
3246: 00e4f363 bgeu s1,a4,324c <read_and_process_uart_data+0x2b6>
|
|
324a: 478d li a5,3
|
|
324c: 0ff7f493 andi s1,a5,255
|
|
3250: b5e9 j 311a <read_and_process_uart_data+0x184>
|
|
3252: 8656 mv a2,s5
|
|
3254: 24c90593 addi a1,s2,588
|
|
3258: 8562 mv a0,s8
|
|
325a: d0bff0ef jal ra,2f64 <FRT_MsgHandler>
|
|
325e: 0141 addi sp,sp,16
|
|
3260: f1dfc06f j 17c <__riscv_restore_12>
|
|
3264: 47a5 li a5,9
|
|
3266: e2fa9ce3 bne s5,a5,309e <read_and_process_uart_data+0x108>
|
|
326a: b3d9 j 3030 <read_and_process_uart_data+0x9a>
|
|
|
|
0000326c <Task_RunLED>:
|
|
326c: eebfc2ef jal t0,156 <__riscv_save_4>
|
|
3270: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
3274: 000099b7 lui s3,0x9
|
|
3278: 715d addi sp,sp,-80
|
|
327a: 460d li a2,3
|
|
327c: b5c98593 addi a1,s3,-1188 # 8b5c <mosTemperADC+0x66c>
|
|
3280: 1b6010ef jal ra,4436 <uart_dev_write>
|
|
3284: 05000613 li a2,80
|
|
3288: 4581 li a1,0
|
|
328a: 850a mv a0,sp
|
|
328c: f15fc0ef jal ra,1a0 <memset>
|
|
3290: 00008a37 lui s4,0x8
|
|
3294: 80c1a503 lw a0,-2036(gp) # 20000174 <g_duty_ratio>
|
|
3298: 71ca2583 lw a1,1820(s4) # 871c <mosTemperADC+0x22c>
|
|
329c: 20001437 lui s0,0x20001
|
|
32a0: 21c40413 addi s0,s0,540 # 2000121c <g_Mppt_Para>
|
|
32a4: 6c9020ef jal ra,616c <__mulsf3>
|
|
32a8: 4e0030ef jal ra,6788 <__fixsfsi>
|
|
32ac: 000095b7 lui a1,0x9
|
|
32b0: 862a mv a2,a0
|
|
32b2: ab058593 addi a1,a1,-1360 # 8ab0 <mosTemperADC+0x5c0>
|
|
32b6: 850a mv a0,sp
|
|
32b8: 44f030ef jal ra,6f06 <siprintf>
|
|
32bc: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
32c0: 05000613 li a2,80
|
|
32c4: 858a mv a1,sp
|
|
32c6: 170010ef jal ra,4436 <uart_dev_write>
|
|
32ca: 05000613 li a2,80
|
|
32ce: 4581 li a1,0
|
|
32d0: 850a mv a0,sp
|
|
32d2: ecffc0ef jal ra,1a0 <memset>
|
|
32d6: 2c68 lbu a0,30(s0)
|
|
32d8: 3c5c lbu a5,29(s0)
|
|
32da: 00008937 lui s2,0x8
|
|
32de: 0522 slli a0,a0,0x8
|
|
32e0: 8d5d or a0,a0,a5
|
|
32e2: 3c7c lbu a5,31(s0)
|
|
32e4: 6d892583 lw a1,1752(s2) # 86d8 <mosTemperADC+0x1e8>
|
|
32e8: 07c2 slli a5,a5,0x10
|
|
32ea: 8fc9 or a5,a5,a0
|
|
32ec: 02044503 lbu a0,32(s0)
|
|
32f0: 0562 slli a0,a0,0x18
|
|
32f2: 8d5d or a0,a0,a5
|
|
32f4: 679020ef jal ra,616c <__mulsf3>
|
|
32f8: 490030ef jal ra,6788 <__fixsfsi>
|
|
32fc: 000095b7 lui a1,0x9
|
|
3300: 862a mv a2,a0
|
|
3302: ac858593 addi a1,a1,-1336 # 8ac8 <mosTemperADC+0x5d8>
|
|
3306: 850a mv a0,sp
|
|
3308: 3ff030ef jal ra,6f06 <siprintf>
|
|
330c: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
3310: 05000613 li a2,80
|
|
3314: 858a mv a1,sp
|
|
3316: 120010ef jal ra,4436 <uart_dev_write>
|
|
331a: 05000613 li a2,80
|
|
331e: 4581 li a1,0
|
|
3320: 850a mv a0,sp
|
|
3322: e7ffc0ef jal ra,1a0 <memset>
|
|
3326: 2468 lbu a0,14(s0)
|
|
3328: 345c lbu a5,13(s0)
|
|
332a: 6d892583 lw a1,1752(s2)
|
|
332e: 0522 slli a0,a0,0x8
|
|
3330: 8d5d or a0,a0,a5
|
|
3332: 347c lbu a5,15(s0)
|
|
3334: 07c2 slli a5,a5,0x10
|
|
3336: 8fc9 or a5,a5,a0
|
|
3338: 2808 lbu a0,16(s0)
|
|
333a: 0562 slli a0,a0,0x18
|
|
333c: 8d5d or a0,a0,a5
|
|
333e: 62f020ef jal ra,616c <__mulsf3>
|
|
3342: 446030ef jal ra,6788 <__fixsfsi>
|
|
3346: 000095b7 lui a1,0x9
|
|
334a: 862a mv a2,a0
|
|
334c: ae458593 addi a1,a1,-1308 # 8ae4 <mosTemperADC+0x5f4>
|
|
3350: 850a mv a0,sp
|
|
3352: 3b5030ef jal ra,6f06 <siprintf>
|
|
3356: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
335a: 05000613 li a2,80
|
|
335e: 858a mv a1,sp
|
|
3360: 0d6010ef jal ra,4436 <uart_dev_write>
|
|
3364: 05000613 li a2,80
|
|
3368: 4581 li a1,0
|
|
336a: 850a mv a0,sp
|
|
336c: e35fc0ef jal ra,1a0 <memset>
|
|
3370: 2828 lbu a0,18(s0)
|
|
3372: 381c lbu a5,17(s0)
|
|
3374: 6d892583 lw a1,1752(s2)
|
|
3378: 0522 slli a0,a0,0x8
|
|
337a: 8d5d or a0,a0,a5
|
|
337c: 383c lbu a5,19(s0)
|
|
337e: 07c2 slli a5,a5,0x10
|
|
3380: 8fc9 or a5,a5,a0
|
|
3382: 2848 lbu a0,20(s0)
|
|
3384: 0562 slli a0,a0,0x18
|
|
3386: 8d5d or a0,a0,a5
|
|
3388: 5e5020ef jal ra,616c <__mulsf3>
|
|
338c: 3fc030ef jal ra,6788 <__fixsfsi>
|
|
3390: 000095b7 lui a1,0x9
|
|
3394: 862a mv a2,a0
|
|
3396: af858593 addi a1,a1,-1288 # 8af8 <mosTemperADC+0x608>
|
|
339a: 850a mv a0,sp
|
|
339c: 36b030ef jal ra,6f06 <siprintf>
|
|
33a0: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
33a4: 05000613 li a2,80
|
|
33a8: 858a mv a1,sp
|
|
33aa: 08c010ef jal ra,4436 <uart_dev_write>
|
|
33ae: 05000613 li a2,80
|
|
33b2: 4581 li a1,0
|
|
33b4: 850a mv a0,sp
|
|
33b6: debfc0ef jal ra,1a0 <memset>
|
|
33ba: 2868 lbu a0,22(s0)
|
|
33bc: 385c lbu a5,21(s0)
|
|
33be: 6d892583 lw a1,1752(s2)
|
|
33c2: 0522 slli a0,a0,0x8
|
|
33c4: 8d5d or a0,a0,a5
|
|
33c6: 387c lbu a5,23(s0)
|
|
33c8: 07c2 slli a5,a5,0x10
|
|
33ca: 8fc9 or a5,a5,a0
|
|
33cc: 2c08 lbu a0,24(s0)
|
|
33ce: 0562 slli a0,a0,0x18
|
|
33d0: 8d5d or a0,a0,a5
|
|
33d2: 59b020ef jal ra,616c <__mulsf3>
|
|
33d6: 3b2030ef jal ra,6788 <__fixsfsi>
|
|
33da: 000095b7 lui a1,0x9
|
|
33de: 862a mv a2,a0
|
|
33e0: b1058593 addi a1,a1,-1264 # 8b10 <mosTemperADC+0x620>
|
|
33e4: 850a mv a0,sp
|
|
33e6: 321030ef jal ra,6f06 <siprintf>
|
|
33ea: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
33ee: 05000613 li a2,80
|
|
33f2: 858a mv a1,sp
|
|
33f4: 042010ef jal ra,4436 <uart_dev_write>
|
|
33f8: 05000613 li a2,80
|
|
33fc: 4581 li a1,0
|
|
33fe: 850a mv a0,sp
|
|
3400: da1fc0ef jal ra,1a0 <memset>
|
|
3404: 2c28 lbu a0,26(s0)
|
|
3406: 3c1c lbu a5,25(s0)
|
|
3408: 6d892583 lw a1,1752(s2)
|
|
340c: 0522 slli a0,a0,0x8
|
|
340e: 8d5d or a0,a0,a5
|
|
3410: 3c3c lbu a5,27(s0)
|
|
3412: 07c2 slli a5,a5,0x10
|
|
3414: 8fc9 or a5,a5,a0
|
|
3416: 2c48 lbu a0,28(s0)
|
|
3418: 0562 slli a0,a0,0x18
|
|
341a: 8d5d or a0,a0,a5
|
|
341c: 551020ef jal ra,616c <__mulsf3>
|
|
3420: 368030ef jal ra,6788 <__fixsfsi>
|
|
3424: 000095b7 lui a1,0x9
|
|
3428: 862a mv a2,a0
|
|
342a: b2458593 addi a1,a1,-1244 # 8b24 <mosTemperADC+0x634>
|
|
342e: 850a mv a0,sp
|
|
3430: 2d7030ef jal ra,6f06 <siprintf>
|
|
3434: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
3438: 05000613 li a2,80
|
|
343c: 858a mv a1,sp
|
|
343e: 7f9000ef jal ra,4436 <uart_dev_write>
|
|
3442: 05000613 li a2,80
|
|
3446: 4581 li a1,0
|
|
3448: 850a mv a0,sp
|
|
344a: d57fc0ef jal ra,1a0 <memset>
|
|
344e: 02644503 lbu a0,38(s0)
|
|
3452: 02544783 lbu a5,37(s0)
|
|
3456: 00009737 lui a4,0x9
|
|
345a: 0522 slli a0,a0,0x8
|
|
345c: 8d5d or a0,a0,a5
|
|
345e: 02744783 lbu a5,39(s0)
|
|
3462: 8a472583 lw a1,-1884(a4) # 88a4 <mosTemperADC+0x3b4>
|
|
3466: 07c2 slli a5,a5,0x10
|
|
3468: 8fc9 or a5,a5,a0
|
|
346a: 02844503 lbu a0,40(s0)
|
|
346e: 0562 slli a0,a0,0x18
|
|
3470: 8d5d or a0,a0,a5
|
|
3472: 4fb020ef jal ra,616c <__mulsf3>
|
|
3476: 312030ef jal ra,6788 <__fixsfsi>
|
|
347a: 000095b7 lui a1,0x9
|
|
347e: 862a mv a2,a0
|
|
3480: b3858593 addi a1,a1,-1224 # 8b38 <mosTemperADC+0x648>
|
|
3484: 850a mv a0,sp
|
|
3486: 281030ef jal ra,6f06 <siprintf>
|
|
348a: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
348e: 05000613 li a2,80
|
|
3492: 858a mv a1,sp
|
|
3494: 7a3000ef jal ra,4436 <uart_dev_write>
|
|
3498: 05000613 li a2,80
|
|
349c: 4581 li a1,0
|
|
349e: 850a mv a0,sp
|
|
34a0: d01fc0ef jal ra,1a0 <memset>
|
|
34a4: 8801a503 lw a0,-1920(gp) # 200001e8 <g_impedance>
|
|
34a8: 71ca2583 lw a1,1820(s4)
|
|
34ac: 4c1020ef jal ra,616c <__mulsf3>
|
|
34b0: 2d8030ef jal ra,6788 <__fixsfsi>
|
|
34b4: 000095b7 lui a1,0x9
|
|
34b8: 862a mv a2,a0
|
|
34ba: b4858593 addi a1,a1,-1208 # 8b48 <mosTemperADC+0x658>
|
|
34be: 850a mv a0,sp
|
|
34c0: 247030ef jal ra,6f06 <siprintf>
|
|
34c4: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
34c8: 05000613 li a2,80
|
|
34cc: 858a mv a1,sp
|
|
34ce: 769000ef jal ra,4436 <uart_dev_write>
|
|
34d2: 05000613 li a2,80
|
|
34d6: 4581 li a1,0
|
|
34d8: 850a mv a0,sp
|
|
34da: cc7fc0ef jal ra,1a0 <memset>
|
|
34de: 8841c603 lbu a2,-1916(gp) # 200001ec <g_impedanceStart>
|
|
34e2: 000095b7 lui a1,0x9
|
|
34e6: b6058593 addi a1,a1,-1184 # 8b60 <mosTemperADC+0x670>
|
|
34ea: 850a mv a0,sp
|
|
34ec: 21b030ef jal ra,6f06 <siprintf>
|
|
34f0: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
34f4: 05000613 li a2,80
|
|
34f8: 858a mv a1,sp
|
|
34fa: 73d000ef jal ra,4436 <uart_dev_write>
|
|
34fe: 05000613 li a2,80
|
|
3502: 4581 li a1,0
|
|
3504: 850a mv a0,sp
|
|
3506: c9bfc0ef jal ra,1a0 <memset>
|
|
350a: 02a44783 lbu a5,42(s0)
|
|
350e: 02944603 lbu a2,41(s0)
|
|
3512: 000095b7 lui a1,0x9
|
|
3516: 07a2 slli a5,a5,0x8
|
|
3518: 8e5d or a2,a2,a5
|
|
351a: b7c58593 addi a1,a1,-1156 # 8b7c <mosTemperADC+0x68c>
|
|
351e: 850a mv a0,sp
|
|
3520: 1e7030ef jal ra,6f06 <siprintf>
|
|
3524: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
3528: 05000613 li a2,80
|
|
352c: 858a mv a1,sp
|
|
352e: 709000ef jal ra,4436 <uart_dev_write>
|
|
3532: 05000613 li a2,80
|
|
3536: 4581 li a1,0
|
|
3538: 850a mv a0,sp
|
|
353a: c67fc0ef jal ra,1a0 <memset>
|
|
353e: 87e1c603 lbu a2,-1922(gp) # 200001e6 <g_batteryState>
|
|
3542: 000095b7 lui a1,0x9
|
|
3546: b9058593 addi a1,a1,-1136 # 8b90 <mosTemperADC+0x6a0>
|
|
354a: 850a mv a0,sp
|
|
354c: 1bb030ef jal ra,6f06 <siprintf>
|
|
3550: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
3554: 05000613 li a2,80
|
|
3558: 858a mv a1,sp
|
|
355a: 6dd000ef jal ra,4436 <uart_dev_write>
|
|
355e: 05000613 li a2,80
|
|
3562: 4581 li a1,0
|
|
3564: 850a mv a0,sp
|
|
3566: c3bfc0ef jal ra,1a0 <memset>
|
|
356a: 8961c603 lbu a2,-1898(gp) # 200001fe <outputAgainFlag>
|
|
356e: 000095b7 lui a1,0x9
|
|
3572: ba858593 addi a1,a1,-1112 # 8ba8 <mosTemperADC+0x6b8>
|
|
3576: 850a mv a0,sp
|
|
3578: 18f030ef jal ra,6f06 <siprintf>
|
|
357c: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
3580: 05000613 li a2,80
|
|
3584: 858a mv a1,sp
|
|
3586: 6b1000ef jal ra,4436 <uart_dev_write>
|
|
358a: 05000613 li a2,80
|
|
358e: 4581 li a1,0
|
|
3590: 850a mv a0,sp
|
|
3592: c0ffc0ef jal ra,1a0 <memset>
|
|
3596: 87c1c603 lbu a2,-1924(gp) # 200001e4 <excessiveLoadFlag>
|
|
359a: 000095b7 lui a1,0x9
|
|
359e: bc058593 addi a1,a1,-1088 # 8bc0 <mosTemperADC+0x6d0>
|
|
35a2: 850a mv a0,sp
|
|
35a4: 163030ef jal ra,6f06 <siprintf>
|
|
35a8: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
35ac: 05000613 li a2,80
|
|
35b0: 858a mv a1,sp
|
|
35b2: 685000ef jal ra,4436 <uart_dev_write>
|
|
35b6: 05000613 li a2,80
|
|
35ba: 4581 li a1,0
|
|
35bc: 850a mv a0,sp
|
|
35be: be3fc0ef jal ra,1a0 <memset>
|
|
35c2: 02c44783 lbu a5,44(s0)
|
|
35c6: 02b44603 lbu a2,43(s0)
|
|
35ca: 000095b7 lui a1,0x9
|
|
35ce: 07a2 slli a5,a5,0x8
|
|
35d0: 8e5d or a2,a2,a5
|
|
35d2: bdc58593 addi a1,a1,-1060 # 8bdc <mosTemperADC+0x6ec>
|
|
35d6: 850a mv a0,sp
|
|
35d8: 12f030ef jal ra,6f06 <siprintf>
|
|
35dc: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
35e0: 05000613 li a2,80
|
|
35e4: 858a mv a1,sp
|
|
35e6: 651000ef jal ra,4436 <uart_dev_write>
|
|
35ea: 8a41a503 lw a0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
35ee: 460d li a2,3
|
|
35f0: b5c98593 addi a1,s3,-1188
|
|
35f4: 643000ef jal ra,4436 <uart_dev_write>
|
|
35f8: 87d18793 addi a5,gp,-1923 # 200001e5 <flag.6427>
|
|
35fc: 2390 lbu a2,0(a5)
|
|
35fe: 40011437 lui s0,0x40011
|
|
3602: 10000593 li a1,256
|
|
3606: 00163613 seqz a2,a2
|
|
360a: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
360e: a390 sb a2,0(a5)
|
|
3610: be0fd0ef jal ra,9f0 <GPIO_WriteBit>
|
|
3614: 88d18713 addi a4,gp,-1907 # 200001f5 <num.6428>
|
|
3618: 231c lbu a5,0(a4)
|
|
361a: 0785 addi a5,a5,1
|
|
361c: 0ff7f793 andi a5,a5,255
|
|
3620: a31c sb a5,0(a4)
|
|
3622: 4729 li a4,10
|
|
3624: 00e79963 bne a5,a4,3636 <Task_RunLED+0x3ca>
|
|
3628: 4605 li a2,1
|
|
362a: 10000593 li a1,256
|
|
362e: c0040513 addi a0,s0,-1024
|
|
3632: bbefd0ef jal ra,9f0 <GPIO_WriteBit>
|
|
3636: 6161 addi sp,sp,80
|
|
3638: b53fc06f j 18a <__riscv_restore_4>
|
|
|
|
0000363c <Task_wdi>:
|
|
363c: b35fc2ef jal t0,170 <__riscv_save_0>
|
|
3640: 89c18793 addi a5,gp,-1892 # 20000204 <temp.6450>
|
|
3644: 4398 lw a4,0(a5)
|
|
3646: 66d5 lui a3,0x15
|
|
3648: 18068693 addi a3,a3,384 # 15180 <_data_lma+0xc290>
|
|
364c: 02d70763 beq a4,a3,367a <Task_wdi+0x3e>
|
|
3650: 0705 addi a4,a4,1
|
|
3652: c398 sw a4,0(a5)
|
|
3654: 40011437 lui s0,0x40011
|
|
3658: 6485 lui s1,0x1
|
|
365a: 80048593 addi a1,s1,-2048 # 800 <__stack_size>
|
|
365e: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
3662: 4605 li a2,1
|
|
3664: b8cfd0ef jal ra,9f0 <GPIO_WriteBit>
|
|
3668: 4601 li a2,0
|
|
366a: 80048593 addi a1,s1,-2048
|
|
366e: 80040513 addi a0,s0,-2048
|
|
3672: b7efd0ef jal ra,9f0 <GPIO_WriteBit>
|
|
3676: b1ffc06f j 194 <__riscv_restore_0>
|
|
367a: 0007a023 sw zero,0(a5)
|
|
367e: beef07b7 lui a5,0xbeef0
|
|
3682: e000e737 lui a4,0xe000e
|
|
3686: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eeeb080>
|
|
368a: c73c sw a5,72(a4)
|
|
368c: b7e1 j 3654 <Task_wdi+0x18>
|
|
|
|
0000368e <Task_usart>:
|
|
368e: ae3fc2ef jal t0,170 <__riscv_save_0>
|
|
3692: 8a81a503 lw a0,-1880(gp) # 20000210 <g_gw485_uart4_handle>
|
|
3696: 901ff0ef jal ra,2f96 <read_and_process_uart_data>
|
|
369a: afbfc06f j 194 <__riscv_restore_0>
|
|
|
|
0000369e <Task_startMpptControl>:
|
|
369e: ad3fc2ef jal t0,170 <__riscv_save_0>
|
|
36a2: 200004b7 lui s1,0x20000
|
|
36a6: 02048793 addi a5,s1,32 # 20000020 <g_slConfigInfo>
|
|
36aa: 2ff4 lbu a3,30(a5)
|
|
36ac: 3fd8 lbu a4,29(a5)
|
|
36ae: 06a2 slli a3,a3,0x8
|
|
36b0: 8ed9 or a3,a3,a4
|
|
36b2: 81418713 addi a4,gp,-2028 # 2000017c <only_once.6434>
|
|
36b6: 2310 lbu a2,0(a4)
|
|
36b8: 02048493 addi s1,s1,32
|
|
36bc: 86818793 addi a5,gp,-1944 # 200001d0 <checkSolarOpenCircuitVTimeFlag.6433>
|
|
36c0: c611 beqz a2,36cc <Task_startMpptControl+0x2e>
|
|
36c2: 00070023 sb zero,0(a4) # e000e000 <_eusrstack+0xc0009000>
|
|
36c6: ffd68713 addi a4,a3,-3
|
|
36ca: a39a sh a4,0(a5)
|
|
36cc: 239a lhu a4,0(a5)
|
|
36ce: 0705 addi a4,a4,1
|
|
36d0: 0742 slli a4,a4,0x10
|
|
36d2: 8341 srli a4,a4,0x10
|
|
36d4: 00d70563 beq a4,a3,36de <Task_startMpptControl+0x40>
|
|
36d8: a39a sh a4,0(a5)
|
|
36da: abbfc06f j 194 <__riscv_restore_0>
|
|
36de: 00079023 sh zero,0(a5)
|
|
36e2: 20001437 lui s0,0x20001
|
|
36e6: a01fe0ef jal ra,20e6 <get_PV1_VOLT_IN>
|
|
36ea: 21c40413 addi s0,s0,540 # 2000121c <g_Mppt_Para>
|
|
36ee: 00855713 srli a4,a0,0x8
|
|
36f2: 02e40123 sb a4,34(s0)
|
|
36f6: 01855793 srli a5,a0,0x18
|
|
36fa: 01055713 srli a4,a0,0x10
|
|
36fe: 02e401a3 sb a4,35(s0)
|
|
3702: 02a400a3 sb a0,33(s0)
|
|
3706: 02f40223 sb a5,36(s0)
|
|
370a: 28dc lbu a5,20(s1)
|
|
370c: 892a mv s2,a0
|
|
370e: 38a8 lbu a0,19(s1)
|
|
3710: 07a2 slli a5,a5,0x8
|
|
3712: 8d5d or a0,a0,a5
|
|
3714: 1f2030ef jal ra,6906 <__floatunsisf>
|
|
3718: 000087b7 lui a5,0x8
|
|
371c: 6d87a583 lw a1,1752(a5) # 86d8 <mosTemperADC+0x1e8>
|
|
3720: 62c020ef jal ra,5d4c <__divsf3>
|
|
3724: 85aa mv a1,a0
|
|
3726: 854a mv a0,s2
|
|
3728: 133020ef jal ra,605a <__gesf2>
|
|
372c: faa057e3 blez a0,36da <Task_startMpptControl+0x3c>
|
|
3730: 20001537 lui a0,0x20001
|
|
3734: 30050493 addi s1,a0,768 # 20001300 <m_startMpptControl>
|
|
3738: 30050513 addi a0,a0,768
|
|
373c: e20fe0ef jal ra,1d5c <TimeSliceOffset_Unregister>
|
|
3740: 00048023 sb zero,0(s1)
|
|
3744: 2468 lbu a0,14(s0)
|
|
3746: 345c lbu a5,13(s0)
|
|
3748: 00009737 lui a4,0x9
|
|
374c: 0522 slli a0,a0,0x8
|
|
374e: 8d5d or a0,a0,a5
|
|
3750: 347c lbu a5,15(s0)
|
|
3752: c4872583 lw a1,-952(a4) # 8c48 <mosTemperADC+0x758>
|
|
3756: 07c2 slli a5,a5,0x10
|
|
3758: 8fc9 or a5,a5,a0
|
|
375a: 2808 lbu a0,16(s0)
|
|
375c: 0562 slli a0,a0,0x18
|
|
375e: 8d5d or a0,a0,a5
|
|
3760: 0fb020ef jal ra,605a <__gesf2>
|
|
3764: 00a02533 sgtz a0,a0
|
|
3768: 86a18f23 sb a0,-1922(gp) # 200001e6 <g_batteryState>
|
|
376c: 000045b7 lui a1,0x4
|
|
3770: 20001537 lui a0,0x20001
|
|
3774: 4681 li a3,0
|
|
3776: 4679 li a2,30
|
|
3778: b1a58593 addi a1,a1,-1254 # 3b1a <Task_softStart>
|
|
377c: 2f050513 addi a0,a0,752 # 200012f0 <m_softStart>
|
|
3780: d9efe0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
3784: bf99 j 36da <Task_startMpptControl+0x3c>
|
|
|
|
00003786 <stop_mpptWork>:
|
|
3786: 9ebfc2ef jal t0,170 <__riscv_save_0>
|
|
378a: 00009737 lui a4,0x9
|
|
378e: c5072703 lw a4,-944(a4) # 8c50 <mosTemperADC+0x760>
|
|
3792: 40000537 lui a0,0x40000
|
|
3796: 4581 li a1,0
|
|
3798: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
379c: 80e1a623 sw a4,-2036(gp) # 20000174 <g_duty_ratio>
|
|
37a0: 831fd0ef jal ra,fd0 <TIM_Cmd>
|
|
37a4: 40001537 lui a0,0x40001
|
|
37a8: 4581 li a1,0
|
|
37aa: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
37ae: 893fd0ef jal ra,1040 <TIM_SetCompare4>
|
|
37b2: 9e3fc06f j 194 <__riscv_restore_0>
|
|
|
|
000037b6 <Task_refreshRegister>:
|
|
37b6: 993fc2ef jal t0,148 <__riscv_save_10>
|
|
37ba: 86618713 addi a4,gp,-1946 # 200001ce <checkRegisterRefreshTimeFlag.6456>
|
|
37be: 20000937 lui s2,0x20000
|
|
37c2: 02090613 addi a2,s2,32 # 20000020 <g_slConfigInfo>
|
|
37c6: 231e lhu a5,0(a4)
|
|
37c8: 02064683 lbu a3,32(a2) # ffffa020 <_eusrstack+0xdfff5020>
|
|
37cc: 3e6c lbu a1,31(a2)
|
|
37ce: 0785 addi a5,a5,1
|
|
37d0: 07c2 slli a5,a5,0x10
|
|
37d2: 06a2 slli a3,a3,0x8
|
|
37d4: 83c1 srli a5,a5,0x10
|
|
37d6: 8ecd or a3,a3,a1
|
|
37d8: 00f68563 beq a3,a5,37e2 <Task_refreshRegister+0x2c>
|
|
37dc: a31e sh a5,0(a4)
|
|
37de: 9a3fc06f j 180 <__riscv_restore_10>
|
|
37e2: 00071023 sh zero,0(a4)
|
|
37e6: 20001437 lui s0,0x20001
|
|
37ea: 875fe0ef jal ra,205e <get_PV_VOLT_OUT>
|
|
37ee: 21c40493 addi s1,s0,540 # 2000121c <g_Mppt_Para>
|
|
37f2: 00855793 srli a5,a0,0x8
|
|
37f6: b4c8 sb a0,13(s1)
|
|
37f8: a4fc sb a5,14(s1)
|
|
37fa: 01055793 srli a5,a0,0x10
|
|
37fe: 8161 srli a0,a0,0x18
|
|
3800: b4fc sb a5,15(s1)
|
|
3802: a888 sb a0,16(s1)
|
|
3804: 817fe0ef jal ra,201a <get_CHG_CURR>
|
|
3808: 00855793 srli a5,a0,0x8
|
|
380c: b8c8 sb a0,21(s1)
|
|
380e: a8fc sb a5,22(s1)
|
|
3810: 01055793 srli a5,a0,0x10
|
|
3814: 8161 srli a0,a0,0x18
|
|
3816: b8fc sb a5,23(s1)
|
|
3818: ac88 sb a0,24(s1)
|
|
381a: 889fe0ef jal ra,20a2 <get_DSG_CURR>
|
|
381e: 00855793 srli a5,a0,0x8
|
|
3822: bc88 sb a0,25(s1)
|
|
3824: acbc sb a5,26(s1)
|
|
3826: 01055793 srli a5,a0,0x10
|
|
382a: 8161 srli a0,a0,0x18
|
|
382c: bcbc sb a5,27(s1)
|
|
382e: acc8 sb a0,28(s1)
|
|
3830: 8fbfe0ef jal ra,212a <get_MOSFET_Temper>
|
|
3834: 00855793 srli a5,a0,0x8
|
|
3838: 02a482a3 sb a0,37(s1)
|
|
383c: 02f48323 sb a5,38(s1)
|
|
3840: 01055793 srli a5,a0,0x10
|
|
3844: 8161 srli a0,a0,0x18
|
|
3846: 02f483a3 sb a5,39(s1)
|
|
384a: 02a48423 sb a0,40(s1)
|
|
384e: 400114b7 lui s1,0x40011
|
|
3852: 10000593 li a1,256
|
|
3856: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
385a: 988fd0ef jal ra,9e2 <GPIO_ReadOutputDataBit>
|
|
385e: 02090913 addi s2,s2,32
|
|
3862: 21c40413 addi s0,s0,540
|
|
3866: 4781 li a5,0
|
|
3868: c901 beqz a0,3878 <Task_refreshRegister+0xc2>
|
|
386a: 4591 li a1,4
|
|
386c: c0048513 addi a0,s1,-1024
|
|
3870: 968fd0ef jal ra,9d8 <GPIO_ReadInputDataBit>
|
|
3874: 00a037b3 snez a5,a0
|
|
3878: 02f404a3 sb a5,41(s0)
|
|
387c: 287c lbu a5,22(s0)
|
|
387e: 3844 lbu s1,21(s0)
|
|
3880: 01944983 lbu s3,25(s0)
|
|
3884: 07a2 slli a5,a5,0x8
|
|
3886: 8fc5 or a5,a5,s1
|
|
3888: 3864 lbu s1,23(s0)
|
|
388a: 02040523 sb zero,42(s0)
|
|
388e: 04c2 slli s1,s1,0x10
|
|
3890: 8fc5 or a5,a5,s1
|
|
3892: 2c04 lbu s1,24(s0)
|
|
3894: 04e2 slli s1,s1,0x18
|
|
3896: 8cdd or s1,s1,a5
|
|
3898: 2c3c lbu a5,26(s0)
|
|
389a: 8526 mv a0,s1
|
|
389c: 07a2 slli a5,a5,0x8
|
|
389e: 0137e7b3 or a5,a5,s3
|
|
38a2: 01b44983 lbu s3,27(s0)
|
|
38a6: 09c2 slli s3,s3,0x10
|
|
38a8: 00f9e7b3 or a5,s3,a5
|
|
38ac: 01c44983 lbu s3,28(s0)
|
|
38b0: 09e2 slli s3,s3,0x18
|
|
38b2: 00f9e9b3 or s3,s3,a5
|
|
38b6: 85ce mv a1,s3
|
|
38b8: 349020ef jal ra,6400 <__subsf3>
|
|
38bc: 8aaa mv s5,a0
|
|
38be: 116030ef jal ra,69d4 <__extendsfdf2>
|
|
38c2: 000097b7 lui a5,0x9
|
|
38c6: c387a603 lw a2,-968(a5) # 8c38 <mosTemperADC+0x748>
|
|
38ca: c3c7a683 lw a3,-964(a5)
|
|
38ce: 8b2a mv s6,a0
|
|
38d0: 8bae mv s7,a1
|
|
38d2: 3f2010ef jal ra,4cc4 <__ledf2>
|
|
38d6: 04055463 bgez a0,391e <Task_refreshRegister+0x168>
|
|
38da: 247c lbu a5,14(s0)
|
|
38dc: 00d44a03 lbu s4,13(s0)
|
|
38e0: 8556 mv a0,s5
|
|
38e2: 07a2 slli a5,a5,0x8
|
|
38e4: 0147e7b3 or a5,a5,s4
|
|
38e8: 00f44a03 lbu s4,15(s0)
|
|
38ec: 0a42 slli s4,s4,0x10
|
|
38ee: 00fa67b3 or a5,s4,a5
|
|
38f2: 01044a03 lbu s4,16(s0)
|
|
38f6: 0a62 slli s4,s4,0x18
|
|
38f8: 00fa6a33 or s4,s4,a5
|
|
38fc: 8801a583 lw a1,-1920(gp) # 200001e8 <g_impedance>
|
|
3900: 06d020ef jal ra,616c <__mulsf3>
|
|
3904: 85aa mv a1,a0
|
|
3906: 8552 mv a0,s4
|
|
3908: 2f9020ef jal ra,6400 <__subsf3>
|
|
390c: 00855793 srli a5,a0,0x8
|
|
3910: b808 sb a0,17(s0)
|
|
3912: a83c sb a5,18(s0)
|
|
3914: 01055793 srli a5,a0,0x10
|
|
3918: 8161 srli a0,a0,0x18
|
|
391a: b83c sb a5,19(s0)
|
|
391c: a848 sb a0,20(s0)
|
|
391e: 87e1c783 lbu a5,-1922(gp) # 200001e6 <g_batteryState>
|
|
3922: 87e18c13 addi s8,gp,-1922 # 200001e6 <g_batteryState>
|
|
3926: ebc5 bnez a5,39d6 <Task_refreshRegister+0x220>
|
|
3928: 000087b7 lui a5,0x8
|
|
392c: 6f07aa03 lw s4,1776(a5) # 86f0 <mosTemperADC+0x200>
|
|
3930: 6f47aa83 lw s5,1780(a5)
|
|
3934: 855a mv a0,s6
|
|
3936: 8652 mv a2,s4
|
|
3938: 86d6 mv a3,s5
|
|
393a: 85de mv a1,s7
|
|
393c: 2da010ef jal ra,4c16 <__gedf2>
|
|
3940: 00a04e63 bgtz a0,395c <Task_refreshRegister+0x1a6>
|
|
3944: 85a6 mv a1,s1
|
|
3946: 854e mv a0,s3
|
|
3948: 2b9020ef jal ra,6400 <__subsf3>
|
|
394c: 088030ef jal ra,69d4 <__extendsfdf2>
|
|
3950: 8652 mv a2,s4
|
|
3952: 86d6 mv a3,s5
|
|
3954: 2c2010ef jal ra,4c16 <__gedf2>
|
|
3958: 08a05263 blez a0,39dc <Task_refreshRegister+0x226>
|
|
395c: 2468 lbu a0,14(s0)
|
|
395e: 345c lbu a5,13(s0)
|
|
3960: 0522 slli a0,a0,0x8
|
|
3962: 8d5d or a0,a0,a5
|
|
3964: 347c lbu a5,15(s0)
|
|
3966: 07c2 slli a5,a5,0x10
|
|
3968: 8fc9 or a5,a5,a0
|
|
396a: 2808 lbu a0,16(s0)
|
|
396c: 0562 slli a0,a0,0x18
|
|
396e: 8d5d or a0,a0,a5
|
|
3970: 064030ef jal ra,69d4 <__extendsfdf2>
|
|
3974: 000087b7 lui a5,0x8
|
|
3978: 7287a603 lw a2,1832(a5) # 8728 <mosTemperADC+0x238>
|
|
397c: 72c7a683 lw a3,1836(a5)
|
|
3980: 344010ef jal ra,4cc4 <__ledf2>
|
|
3984: 04055c63 bgez a0,39dc <Task_refreshRegister+0x226>
|
|
3988: 4785 li a5,1
|
|
398a: 00fc0023 sb a5,0(s8)
|
|
398e: 000097b7 lui a5,0x9
|
|
3992: c307a583 lw a1,-976(a5) # 8c30 <mosTemperADC+0x740>
|
|
3996: 8526 mv a0,s1
|
|
3998: 6c2020ef jal ra,605a <__gesf2>
|
|
399c: 04a05063 blez a0,39dc <Task_refreshRegister+0x226>
|
|
39a0: 8841c703 lbu a4,-1916(gp) # 200001ec <g_impedanceStart>
|
|
39a4: 4785 li a5,1
|
|
39a6: 00f70963 beq a4,a5,39b8 <Task_refreshRegister+0x202>
|
|
39aa: 8801a503 lw a0,-1920(gp) # 200001e8 <g_impedance>
|
|
39ae: 00000593 li a1,0
|
|
39b2: 64c020ef jal ra,5ffe <__eqsf2>
|
|
39b6: e11d bnez a0,39dc <Task_refreshRegister+0x226>
|
|
39b8: 000045b7 lui a1,0x4
|
|
39bc: 20001537 lui a0,0x20001
|
|
39c0: 0c800693 li a3,200
|
|
39c4: 0c800613 li a2,200
|
|
39c8: c4e58593 addi a1,a1,-946 # 3c4e <Task_impedanceCalculation>
|
|
39cc: 29050513 addi a0,a0,656 # 20001290 <m_impedanceCalculation>
|
|
39d0: b4efe0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
39d4: a021 j 39dc <Task_refreshRegister+0x226>
|
|
39d6: 4705 li a4,1
|
|
39d8: fae78be3 beq a5,a4,398e <Task_refreshRegister+0x1d8>
|
|
39dc: f0afe0ef jal ra,20e6 <get_PV1_VOLT_IN>
|
|
39e0: 00855793 srli a5,a0,0x8
|
|
39e4: ac7c sb a5,30(s0)
|
|
39e6: 01055793 srli a5,a0,0x10
|
|
39ea: bc7c sb a5,31(s0)
|
|
39ec: 02644783 lbu a5,38(s0)
|
|
39f0: 02544483 lbu s1,37(s0)
|
|
39f4: bc48 sb a0,29(s0)
|
|
39f6: 07a2 slli a5,a5,0x8
|
|
39f8: 8fc5 or a5,a5,s1
|
|
39fa: 02744483 lbu s1,39(s0)
|
|
39fe: 8161 srli a0,a0,0x18
|
|
3a00: 02a40023 sb a0,32(s0)
|
|
3a04: 04c2 slli s1,s1,0x10
|
|
3a06: 8fc5 or a5,a5,s1
|
|
3a08: 02844483 lbu s1,40(s0)
|
|
3a0c: 02a94503 lbu a0,42(s2)
|
|
3a10: 04e2 slli s1,s1,0x18
|
|
3a12: 8cdd or s1,s1,a5
|
|
3a14: 02994783 lbu a5,41(s2)
|
|
3a18: 0522 slli a0,a0,0x8
|
|
3a1a: 8d5d or a0,a0,a5
|
|
3a1c: 050d addi a0,a0,3
|
|
3a1e: 623020ef jal ra,6840 <__floatsisf>
|
|
3a22: 85aa mv a1,a0
|
|
3a24: 8526 mv a0,s1
|
|
3a26: 6ba020ef jal ra,60e0 <__lesf2>
|
|
3a2a: 02055863 bgez a0,3a5a <Task_refreshRegister+0x2a4>
|
|
3a2e: 8971c683 lbu a3,-1897(gp) # 200001ff <overTemperature>
|
|
3a32: 4709 li a4,2
|
|
3a34: 89718413 addi s0,gp,-1897 # 200001ff <overTemperature>
|
|
3a38: 00e69e63 bne a3,a4,3a54 <Task_refreshRegister+0x29e>
|
|
3a3c: 000045b7 lui a1,0x4
|
|
3a40: 20001537 lui a0,0x20001
|
|
3a44: 4681 li a3,0
|
|
3a46: 4679 li a2,30
|
|
3a48: b1a58593 addi a1,a1,-1254 # 3b1a <Task_softStart>
|
|
3a4c: 2f050513 addi a0,a0,752 # 200012f0 <m_softStart>
|
|
3a50: acefe0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
3a54: 00040023 sb zero,0(s0)
|
|
3a58: b359 j 37de <Task_refreshRegister+0x28>
|
|
3a5a: 02894503 lbu a0,40(s2)
|
|
3a5e: 02794783 lbu a5,39(s2)
|
|
3a62: 0522 slli a0,a0,0x8
|
|
3a64: 8d5d or a0,a0,a5
|
|
3a66: 050d addi a0,a0,3
|
|
3a68: 5d9020ef jal ra,6840 <__floatsisf>
|
|
3a6c: 85aa mv a1,a0
|
|
3a6e: 8526 mv a0,s1
|
|
3a70: 5ea020ef jal ra,605a <__gesf2>
|
|
3a74: 02a05d63 blez a0,3aae <Task_refreshRegister+0x2f8>
|
|
3a78: 02694783 lbu a5,38(s2)
|
|
3a7c: 02594503 lbu a0,37(s2)
|
|
3a80: 07a2 slli a5,a5,0x8
|
|
3a82: 8d5d or a0,a0,a5
|
|
3a84: 5bd020ef jal ra,6840 <__floatsisf>
|
|
3a88: 85aa mv a1,a0
|
|
3a8a: 8526 mv a0,s1
|
|
3a8c: 654020ef jal ra,60e0 <__lesf2>
|
|
3a90: 00055f63 bgez a0,3aae <Task_refreshRegister+0x2f8>
|
|
3a94: 000097b7 lui a5,0x9
|
|
3a98: c347a783 lw a5,-972(a5) # 8c34 <mosTemperADC+0x744>
|
|
3a9c: 80f1a623 sw a5,-2036(gp) # 20000174 <g_duty_ratio>
|
|
3aa0: 80c18513 addi a0,gp,-2036 # 20000174 <g_duty_ratio>
|
|
3aa4: e4ffd0ef jal ra,18f2 <Set_duty_ratio>
|
|
3aa8: 4705 li a4,1
|
|
3aaa: 88e18ba3 sb a4,-1897(gp) # 200001ff <overTemperature>
|
|
3aae: 02644583 lbu a1,38(s0)
|
|
3ab2: 02544783 lbu a5,37(s0)
|
|
3ab6: 02694503 lbu a0,38(s2)
|
|
3aba: 05a2 slli a1,a1,0x8
|
|
3abc: 8fcd or a5,a5,a1
|
|
3abe: 02744583 lbu a1,39(s0)
|
|
3ac2: 02844403 lbu s0,40(s0)
|
|
3ac6: 0522 slli a0,a0,0x8
|
|
3ac8: 05c2 slli a1,a1,0x10
|
|
3aca: 8ddd or a1,a1,a5
|
|
3acc: 02594783 lbu a5,37(s2)
|
|
3ad0: 0462 slli s0,s0,0x18
|
|
3ad2: 8c4d or s0,s0,a1
|
|
3ad4: 8d5d or a0,a0,a5
|
|
3ad6: 050d addi a0,a0,3
|
|
3ad8: 569020ef jal ra,6840 <__floatsisf>
|
|
3adc: 85a2 mv a1,s0
|
|
3ade: 602020ef jal ra,60e0 <__lesf2>
|
|
3ae2: ce055ee3 bgez a0,37de <Task_refreshRegister+0x28>
|
|
3ae6: 4709 li a4,2
|
|
3ae8: 88e18ba3 sb a4,-1897(gp) # 200001ff <overTemperature>
|
|
3aec: c9bff0ef jal ra,3786 <stop_mpptWork>
|
|
3af0: b1fd j 37de <Task_refreshRegister+0x28>
|
|
|
|
00003af2 <start_mpptWork>:
|
|
3af2: e7efc2ef jal t0,170 <__riscv_save_0>
|
|
3af6: 40000537 lui a0,0x40000
|
|
3afa: 4585 li a1,1
|
|
3afc: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
3b00: cd0fd0ef jal ra,fd0 <TIM_Cmd>
|
|
3b04: 200017b7 lui a5,0x20001
|
|
3b08: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
3b0c: 4709 li a4,2
|
|
3b0e: 02e785a3 sb a4,43(a5)
|
|
3b12: 02078623 sb zero,44(a5)
|
|
3b16: e7efc06f j 194 <__riscv_restore_0>
|
|
|
|
00003b1a <Task_softStart>:
|
|
3b1a: e3cfc2ef jal t0,156 <__riscv_save_4>
|
|
3b1e: 88e18713 addi a4,gp,-1906 # 200001f6 <num.6439>
|
|
3b22: 231e lhu a5,0(a4)
|
|
3b24: 0785 addi a5,a5,1
|
|
3b26: 07c2 slli a5,a5,0x10
|
|
3b28: 83c1 srli a5,a5,0x10
|
|
3b2a: a31e sh a5,0(a4)
|
|
3b2c: 4711 li a4,4
|
|
3b2e: 00f76c63 bltu a4,a5,3b46 <Task_softStart+0x2c>
|
|
3b32: 40001537 lui a0,0x40001
|
|
3b36: 06400593 li a1,100
|
|
3b3a: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
3b3e: d02fd0ef jal ra,1040 <TIM_SetCompare4>
|
|
3b42: e48fc06f j 18a <__riscv_restore_4>
|
|
3b46: 04600713 li a4,70
|
|
3b4a: 88e18413 addi s0,gp,-1906 # 200001f6 <num.6439>
|
|
3b4e: 87418a13 addi s4,gp,-1932 # 200001dc <dutyRatio.6440>
|
|
3b52: 00f76b63 bltu a4,a5,3b68 <Task_softStart+0x4e>
|
|
3b56: 000a2983 lw s3,0(s4)
|
|
3b5a: 80c1a583 lw a1,-2036(gp) # 20000174 <g_duty_ratio>
|
|
3b5e: 854e mv a0,s3
|
|
3b60: 4fa020ef jal ra,605a <__gesf2>
|
|
3b64: 0ca05163 blez a0,3c26 <Task_softStart+0x10c>
|
|
3b68: 20001537 lui a0,0x20001
|
|
3b6c: 2f050913 addi s2,a0,752 # 200012f0 <m_softStart>
|
|
3b70: 2f050513 addi a0,a0,752
|
|
3b74: 9e8fe0ef jal ra,1d5c <TimeSliceOffset_Unregister>
|
|
3b78: 00000793 li a5,0
|
|
3b7c: 80c18513 addi a0,gp,-2036 # 20000174 <g_duty_ratio>
|
|
3b80: 00fa2023 sw a5,0(s4)
|
|
3b84: 00090023 sb zero,0(s2)
|
|
3b88: 00041023 sh zero,0(s0)
|
|
3b8c: d67fd0ef jal ra,18f2 <Set_duty_ratio>
|
|
3b90: 87e1c703 lbu a4,-1922(gp) # 200001e6 <g_batteryState>
|
|
3b94: 4785 li a5,1
|
|
3b96: 00f71563 bne a4,a5,3ba0 <Task_softStart+0x86>
|
|
3b9a: f59ff0ef jal ra,3af2 <start_mpptWork>
|
|
3b9e: b755 j 3b42 <Task_softStart+0x28>
|
|
3ba0: 00000793 li a5,0
|
|
3ba4: 80c18513 addi a0,gp,-2036 # 20000174 <g_duty_ratio>
|
|
3ba8: 00fa2023 sw a5,0(s4)
|
|
3bac: 00041023 sh zero,0(s0)
|
|
3bb0: d43fd0ef jal ra,18f2 <Set_duty_ratio>
|
|
3bb4: c66fe0ef jal ra,201a <get_CHG_CURR>
|
|
3bb8: 842a mv s0,a0
|
|
3bba: ce8fe0ef jal ra,20a2 <get_DSG_CURR>
|
|
3bbe: 85aa mv a1,a0
|
|
3bc0: 8522 mv a0,s0
|
|
3bc2: 03f020ef jal ra,6400 <__subsf3>
|
|
3bc6: 60f020ef jal ra,69d4 <__extendsfdf2>
|
|
3bca: 000087b7 lui a5,0x8
|
|
3bce: 6f07a403 lw s0,1776(a5) # 86f0 <mosTemperADC+0x200>
|
|
3bd2: 6f47a483 lw s1,1780(a5)
|
|
3bd6: 8622 mv a2,s0
|
|
3bd8: 86a6 mv a3,s1
|
|
3bda: 03c010ef jal ra,4c16 <__gedf2>
|
|
3bde: faa04ee3 bgtz a0,3b9a <Task_softStart+0x80>
|
|
3be2: cc0fe0ef jal ra,20a2 <get_DSG_CURR>
|
|
3be6: 892a mv s2,a0
|
|
3be8: c32fe0ef jal ra,201a <get_CHG_CURR>
|
|
3bec: 85aa mv a1,a0
|
|
3bee: 854a mv a0,s2
|
|
3bf0: 011020ef jal ra,6400 <__subsf3>
|
|
3bf4: 5e1020ef jal ra,69d4 <__extendsfdf2>
|
|
3bf8: 8622 mv a2,s0
|
|
3bfa: 86a6 mv a3,s1
|
|
3bfc: 01a010ef jal ra,4c16 <__gedf2>
|
|
3c00: f8a04de3 bgtz a0,3b9a <Task_softStart+0x80>
|
|
3c04: 200017b7 lui a5,0x20001
|
|
3c08: 40000537 lui a0,0x40000
|
|
3c0c: 21c78793 addi a5,a5,540 # 2000121c <g_Mppt_Para>
|
|
3c10: 4711 li a4,4
|
|
3c12: 4585 li a1,1
|
|
3c14: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
3c18: 02e785a3 sb a4,43(a5)
|
|
3c1c: 02078623 sb zero,44(a5)
|
|
3c20: bb0fd0ef jal ra,fd0 <TIM_Cmd>
|
|
3c24: bf39 j 3b42 <Task_softStart+0x28>
|
|
3c26: 854e mv a0,s3
|
|
3c28: 5ad020ef jal ra,69d4 <__extendsfdf2>
|
|
3c2c: 000097b7 lui a5,0x9
|
|
3c30: c407a603 lw a2,-960(a5) # 8c40 <mosTemperADC+0x750>
|
|
3c34: c447a683 lw a3,-956(a5)
|
|
3c38: 0af000ef jal ra,44e6 <__adddf3>
|
|
3c3c: 645020ef jal ra,6a80 <__truncdfsf2>
|
|
3c40: 00aa2023 sw a0,0(s4)
|
|
3c44: 87418513 addi a0,gp,-1932 # 200001dc <dutyRatio.6440>
|
|
3c48: cabfd0ef jal ra,18f2 <Set_duty_ratio>
|
|
3c4c: bddd j 3b42 <Task_softStart+0x28>
|
|
|
|
00003c4e <Task_impedanceCalculation>:
|
|
3c4e: d08fc2ef jal t0,156 <__riscv_save_4>
|
|
3c52: 89018713 addi a4,gp,-1904 # 200001f8 <num.6480>
|
|
3c56: 231c lbu a5,0(a4)
|
|
3c58: 7139 addi sp,sp,-64
|
|
3c5a: 0785 addi a5,a5,1
|
|
3c5c: 0ff7f793 andi a5,a5,255
|
|
3c60: a31c sb a5,0(a4)
|
|
3c62: 4705 li a4,1
|
|
3c64: 02e79463 bne a5,a4,3c8c <Task_impedanceCalculation+0x3e>
|
|
3c68: 40000537 lui a0,0x40000
|
|
3c6c: 4581 li a1,0
|
|
3c6e: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
3c72: b5efd0ef jal ra,fd0 <TIM_Cmd>
|
|
3c76: 12c00593 li a1,300
|
|
3c7a: 40001537 lui a0,0x40001
|
|
3c7e: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
3c82: bbefd0ef jal ra,1040 <TIM_SetCompare4>
|
|
3c86: 6121 addi sp,sp,64
|
|
3c88: d02fc06f j 18a <__riscv_restore_4>
|
|
3c8c: 472d li a4,11
|
|
3c8e: 02e79463 bne a5,a4,3cb6 <Task_impedanceCalculation+0x68>
|
|
3c92: b88fe0ef jal ra,201a <get_CHG_CURR>
|
|
3c96: 84aa mv s1,a0
|
|
3c98: c0afe0ef jal ra,20a2 <get_DSG_CURR>
|
|
3c9c: 85aa mv a1,a0
|
|
3c9e: 8526 mv a0,s1
|
|
3ca0: 760020ef jal ra,6400 <__subsf3>
|
|
3ca4: 86a1a623 sw a0,-1940(gp) # 200001d4 <currOne.6481>
|
|
3ca8: bb6fe0ef jal ra,205e <get_PV_VOLT_OUT>
|
|
3cac: 8aa1a023 sw a0,-1888(gp) # 20000208 <voltOne.6482>
|
|
3cb0: 1a400593 li a1,420
|
|
3cb4: b7d9 j 3c7a <Task_impedanceCalculation+0x2c>
|
|
3cb6: 4755 li a4,21
|
|
3cb8: fce797e3 bne a5,a4,3c86 <Task_impedanceCalculation+0x38>
|
|
3cbc: 20001537 lui a0,0x20001
|
|
3cc0: 29050493 addi s1,a0,656 # 20001290 <m_impedanceCalculation>
|
|
3cc4: 29050513 addi a0,a0,656
|
|
3cc8: 894fe0ef jal ra,1d5c <TimeSliceOffset_Unregister>
|
|
3ccc: 00048023 sb zero,0(s1)
|
|
3cd0: b4afe0ef jal ra,201a <get_CHG_CURR>
|
|
3cd4: 892a mv s2,a0
|
|
3cd6: bccfe0ef jal ra,20a2 <get_DSG_CURR>
|
|
3cda: 85aa mv a1,a0
|
|
3cdc: 854a mv a0,s2
|
|
3cde: 722020ef jal ra,6400 <__subsf3>
|
|
3ce2: 87018493 addi s1,gp,-1936 # 200001d8 <currTwo.6483>
|
|
3ce6: c088 sw a0,0(s1)
|
|
3ce8: b76fe0ef jal ra,205e <get_PV_VOLT_OUT>
|
|
3cec: 85aa mv a1,a0
|
|
3cee: 8a01a503 lw a0,-1888(gp) # 20000208 <voltOne.6482>
|
|
3cf2: 89018413 addi s0,gp,-1904 # 200001f8 <num.6480>
|
|
3cf6: 70a020ef jal ra,6400 <__subsf3>
|
|
3cfa: 892a mv s2,a0
|
|
3cfc: 408c lw a1,0(s1)
|
|
3cfe: 86c1a503 lw a0,-1940(gp) # 200001d4 <currOne.6481>
|
|
3d02: 6fe020ef jal ra,6400 <__subsf3>
|
|
3d06: 85aa mv a1,a0
|
|
3d08: 854a mv a0,s2
|
|
3d0a: 042020ef jal ra,5d4c <__divsf3>
|
|
3d0e: 000097b7 lui a5,0x9
|
|
3d12: c2c7a583 lw a1,-980(a5) # 8c2c <mosTemperADC+0x73c>
|
|
3d16: 88018913 addi s2,gp,-1920 # 200001e8 <g_impedance>
|
|
3d1a: 00a92023 sw a0,0(s2)
|
|
3d1e: 89aa mv s3,a0
|
|
3d20: 33a020ef jal ra,605a <__gesf2>
|
|
3d24: 88018493 addi s1,gp,-1920 # 200001e8 <g_impedance>
|
|
3d28: 00a04f63 bgtz a0,3d46 <Task_impedanceCalculation+0xf8>
|
|
3d2c: 854e mv a0,s3
|
|
3d2e: 4a7020ef jal ra,69d4 <__extendsfdf2>
|
|
3d32: 000087b7 lui a5,0x8
|
|
3d36: 4987a603 lw a2,1176(a5) # 8498 <_read+0x54>
|
|
3d3a: 49c7a683 lw a3,1180(a5)
|
|
3d3e: 787000ef jal ra,4cc4 <__ledf2>
|
|
3d42: 00055a63 bgez a0,3d56 <Task_impedanceCalculation+0x108>
|
|
3d46: 00000793 li a5,0
|
|
3d4a: c09c sw a5,0(s1)
|
|
3d4c: 00040023 sb zero,0(s0)
|
|
3d50: da3ff0ef jal ra,3af2 <start_mpptWork>
|
|
3d54: bf0d j 3c86 <Task_impedanceCalculation+0x38>
|
|
3d56: 0068 addi a0,sp,12
|
|
3d58: cc0fe0ef jal ra,2218 <read_config_info1>
|
|
3d5c: 000084b7 lui s1,0x8
|
|
3d60: c515 beqz a0,3d8c <Task_impedanceCalculation+0x13e>
|
|
3d62: 71c4a583 lw a1,1820(s1) # 871c <mosTemperADC+0x22c>
|
|
3d66: 00092503 lw a0,0(s2)
|
|
3d6a: 402020ef jal ra,616c <__mulsf3>
|
|
3d6e: 27d020ef jal ra,67ea <__fixunssfsi>
|
|
3d72: 0542 slli a0,a0,0x10
|
|
3d74: 8141 srli a0,a0,0x10
|
|
3d76: 02a106a3 sb a0,45(sp)
|
|
3d7a: 8121 srli a0,a0,0x8
|
|
3d7c: 02a10723 sb a0,46(sp)
|
|
3d80: 0068 addi a0,sp,12
|
|
3d82: bfefe0ef jal ra,2180 <save_config_info>
|
|
3d86: 88018223 sb zero,-1916(gp) # 200001ec <g_impedanceStart>
|
|
3d8a: b7c9 j 3d4c <Task_impedanceCalculation+0xfe>
|
|
3d8c: 200005b7 lui a1,0x20000
|
|
3d90: 03200613 li a2,50
|
|
3d94: 02058593 addi a1,a1,32 # 20000020 <g_slConfigInfo>
|
|
3d98: 0068 addi a0,sp,12
|
|
3d9a: 6bf020ef jal ra,6c58 <memcpy>
|
|
3d9e: b7d1 j 3d62 <Task_impedanceCalculation+0x114>
|
|
|
|
00003da0 <Task_recvbroadcast>:
|
|
3da0: bb6fc2ef jal t0,156 <__riscv_save_4>
|
|
3da4: 89918713 addi a4,gp,-1895 # 20000201 <run_number.6466>
|
|
3da8: 231c lbu a5,0(a4)
|
|
3daa: 1101 addi sp,sp,-32
|
|
3dac: 00178693 addi a3,a5,1
|
|
3db0: 17f5 addi a5,a5,-3
|
|
3db2: a314 sb a3,0(a4)
|
|
3db4: 0ff7f793 andi a5,a5,255
|
|
3db8: 0fb00693 li a3,251
|
|
3dbc: 02f6e363 bltu a3,a5,3de2 <Task_recvbroadcast+0x42>
|
|
3dc0: 20001537 lui a0,0x20001
|
|
3dc4: 2b050413 addi s0,a0,688 # 200012b0 <m_recvbroadcast>
|
|
3dc8: 2b050513 addi a0,a0,688
|
|
3dcc: 86018223 sb zero,-1948(gp) # 200001cc <RegistrationRequestFlag>
|
|
3dd0: 00070023 sb zero,0(a4)
|
|
3dd4: f89fd0ef jal ra,1d5c <TimeSliceOffset_Unregister>
|
|
3dd8: 00040023 sb zero,0(s0)
|
|
3ddc: 6105 addi sp,sp,32
|
|
3dde: bacfc06f j 18a <__riscv_restore_4>
|
|
3de2: 4641 li a2,16
|
|
3de4: 4581 li a1,0
|
|
3de6: 00e10513 addi a0,sp,14
|
|
3dea: bb6fc0ef jal ra,1a0 <memset>
|
|
3dee: 20000437 lui s0,0x20000
|
|
3df2: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
3df6: 02040413 addi s0,s0,32
|
|
3dfa: 45dd li a1,23
|
|
3dfc: 825c sb a5,4(sp)
|
|
3dfe: 301c lbu a5,1(s0)
|
|
3e00: 0048 addi a0,sp,4
|
|
3e02: 89918493 addi s1,gp,-1895 # 20000201 <run_number.6466>
|
|
3e06: 82dc sb a5,5(sp)
|
|
3e08: 57fd li a5,-1
|
|
3e0a: 837c sh a5,6(sp)
|
|
3e0c: 57fd li a5,-1
|
|
3e0e: c43e sw a5,8(sp)
|
|
3e10: 77e9 lui a5,0xffffa
|
|
3e12: 1ff78793 addi a5,a5,511 # ffffa1ff <_eusrstack+0xdfff51ff>
|
|
3e16: 867c sh a5,12(sp)
|
|
3e18: 88c1c783 lbu a5,-1908(gp) # 200001f4 <g_recvBroadcastRegisterNumber>
|
|
3e1c: 87dc sb a5,15(sp)
|
|
3e1e: 200017b7 lui a5,0x20001
|
|
3e22: 21d7c703 lbu a4,541(a5) # 2000121d <g_Mppt_Para+0x1>
|
|
3e26: 21c7c683 lbu a3,540(a5)
|
|
3e2a: 21c78793 addi a5,a5,540
|
|
3e2e: 0722 slli a4,a4,0x8
|
|
3e30: 8f55 or a4,a4,a3
|
|
3e32: 00e108a3 sb a4,17(sp)
|
|
3e36: 00875693 srli a3,a4,0x8
|
|
3e3a: 2038 lbu a4,2(s0)
|
|
3e3c: 00d10823 sb a3,16(sp)
|
|
3e40: 00e10923 sb a4,18(sp)
|
|
3e44: 3038 lbu a4,3(s0)
|
|
3e46: 00e109a3 sb a4,19(sp)
|
|
3e4a: 2058 lbu a4,4(s0)
|
|
3e4c: 00e10a23 sb a4,20(sp)
|
|
3e50: 3058 lbu a4,5(s0)
|
|
3e52: 00e10aa3 sb a4,21(sp)
|
|
3e56: 2078 lbu a4,6(s0)
|
|
3e58: 00e10b23 sb a4,22(sp)
|
|
3e5c: 3078 lbu a4,7(s0)
|
|
3e5e: 00e10ba3 sb a4,23(sp)
|
|
3e62: 2418 lbu a4,8(s0)
|
|
3e64: 00e10c23 sb a4,24(sp)
|
|
3e68: 3798 lbu a4,9(a5)
|
|
3e6a: 27bc lbu a5,10(a5)
|
|
3e6c: 07a2 slli a5,a5,0x8
|
|
3e6e: 8fd9 or a5,a5,a4
|
|
3e70: 0087d713 srli a4,a5,0x8
|
|
3e74: 00f10d23 sb a5,26(sp)
|
|
3e78: 00e10ca3 sb a4,25(sp)
|
|
3e7c: d35fe0ef jal ra,2bb0 <CheckFunc>
|
|
3e80: 00855793 srli a5,a0,0x8
|
|
3e84: 00f10da3 sb a5,27(sp)
|
|
3e88: 03144783 lbu a5,49(s0)
|
|
3e8c: 00a10e23 sb a0,28(sp)
|
|
3e90: 4429 li s0,10
|
|
3e92: 00f10ea3 sb a5,29(sp)
|
|
3e96: d59fe0ef jal ra,2bee <randomDelay>
|
|
3e9a: fcdfd0ef jal ra,1e66 <Delay_Ms>
|
|
3e9e: 88818913 addi s2,gp,-1912 # 200001f0 <g_recvBroadcastDevice>
|
|
3ea2: 00092503 lw a0,0(s2)
|
|
3ea6: d75fe0ef jal ra,2c1a <Check_485_bus_busy>
|
|
3eaa: e521 bnez a0,3ef2 <Task_recvbroadcast+0x152>
|
|
3eac: 89818793 addi a5,gp,-1896 # 20000200 <recvbroadcast_flag>
|
|
3eb0: 2394 lbu a3,0(a5)
|
|
3eb2: 4705 li a4,1
|
|
3eb4: 00e69763 bne a3,a4,3ec2 <Task_recvbroadcast+0x122>
|
|
3eb8: 00078023 sb zero,0(a5)
|
|
3ebc: 00048023 sb zero,0(s1)
|
|
3ec0: bf31 j 3ddc <Task_recvbroadcast+0x3c>
|
|
3ec2: 00092503 lw a0,0(s2)
|
|
3ec6: 466d li a2,27
|
|
3ec8: 004c addi a1,sp,4
|
|
3eca: 23b5 jal 4436 <uart_dev_write>
|
|
3ecc: 00092703 lw a4,0(s2)
|
|
3ed0: 8a41a783 lw a5,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
3ed4: 4605 li a2,1
|
|
3ed6: 52500593 li a1,1317
|
|
3eda: 40005537 lui a0,0x40005
|
|
3ede: 00f71763 bne a4,a5,3eec <Task_recvbroadcast+0x14c>
|
|
3ee2: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
3ee6: a7cfd0ef jal ra,1162 <USART_ITConfig>
|
|
3eea: bdcd j 3ddc <Task_recvbroadcast+0x3c>
|
|
3eec: c0050513 addi a0,a0,-1024
|
|
3ef0: bfdd j 3ee6 <Task_recvbroadcast+0x146>
|
|
3ef2: 147d addi s0,s0,-1
|
|
3ef4: 0ff47413 andi s0,s0,255
|
|
3ef8: fc59 bnez s0,3e96 <Task_recvbroadcast+0xf6>
|
|
3efa: b5cd j 3ddc <Task_recvbroadcast+0x3c>
|
|
|
|
00003efc <Task_outputAgain>:
|
|
3efc: 89118713 addi a4,gp,-1903 # 200001f9 <num.6491>
|
|
3f00: 231c lbu a5,0(a4)
|
|
3f02: 20000637 lui a2,0x20000
|
|
3f06: 02060613 addi a2,a2,32 # 20000020 <g_slConfigInfo>
|
|
3f0a: 0785 addi a5,a5,1
|
|
3f0c: 0ff7f793 andi a5,a5,255
|
|
3f10: a31c sb a5,0(a4)
|
|
3f12: 02c64683 lbu a3,44(a2)
|
|
3f16: 02b64583 lbu a1,43(a2)
|
|
3f1a: 06a2 slli a3,a3,0x8
|
|
3f1c: 8ecd or a3,a3,a1
|
|
3f1e: 04d79363 bne a5,a3,3f64 <Task_outputAgain+0x68>
|
|
3f22: a4efc2ef jal t0,170 <__riscv_save_0>
|
|
3f26: 20001537 lui a0,0x20001
|
|
3f2a: 2a050413 addi s0,a0,672 # 200012a0 <m_outputAgain>
|
|
3f2e: 2a050513 addi a0,a0,672
|
|
3f32: 00070023 sb zero,0(a4)
|
|
3f36: 88018b23 sb zero,-1898(gp) # 200001fe <outputAgainFlag>
|
|
3f3a: e23fd0ef jal ra,1d5c <TimeSliceOffset_Unregister>
|
|
3f3e: 00040023 sb zero,0(s0)
|
|
3f42: 40011437 lui s0,0x40011
|
|
3f46: 4591 li a1,4
|
|
3f48: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3f4c: a8dfc0ef jal ra,9d8 <GPIO_ReadInputDataBit>
|
|
3f50: e901 bnez a0,3f60 <Task_outputAgain+0x64>
|
|
3f52: 4601 li a2,0
|
|
3f54: 10000593 li a1,256
|
|
3f58: c0040513 addi a0,s0,-1024
|
|
3f5c: a95fc0ef jal ra,9f0 <GPIO_WriteBit>
|
|
3f60: a34fc06f j 194 <__riscv_restore_0>
|
|
3f64: 8082 ret
|
|
|
|
00003f66 <Task_excessiveLoad>:
|
|
3f66: a0afc2ef jal t0,170 <__riscv_save_0>
|
|
3f6a: 8961c703 lbu a4,-1898(gp) # 200001fe <outputAgainFlag>
|
|
3f6e: 4785 li a5,1
|
|
3f70: 89218413 addi s0,gp,-1902 # 200001fa <num.6497>
|
|
3f74: 87c18493 addi s1,gp,-1924 # 200001e4 <excessiveLoadFlag>
|
|
3f78: 02f71263 bne a4,a5,3f9c <Task_excessiveLoad+0x36>
|
|
3f7c: 20001537 lui a0,0x20001
|
|
3f80: 28050913 addi s2,a0,640 # 20001280 <m_excessiveLoad>
|
|
3f84: 28050513 addi a0,a0,640
|
|
3f88: 00040023 sb zero,0(s0)
|
|
3f8c: 88019a23 sh zero,-1900(gp) # 200001fc <numLong.6498>
|
|
3f90: 00048023 sb zero,0(s1)
|
|
3f94: dc9fd0ef jal ra,1d5c <TimeSliceOffset_Unregister>
|
|
3f98: 00090023 sb zero,0(s2)
|
|
3f9c: 2098 lbu a4,0(s1)
|
|
3f9e: 4785 li a5,1
|
|
3fa0: 00f71563 bne a4,a5,3faa <Task_excessiveLoad+0x44>
|
|
3fa4: 201c lbu a5,0(s0)
|
|
3fa6: 0785 addi a5,a5,1
|
|
3fa8: a01c sb a5,0(s0)
|
|
3faa: 20000937 lui s2,0x20000
|
|
3fae: 02090693 addi a3,s2,32 # 20000020 <g_slConfigInfo>
|
|
3fb2: 02e6c783 lbu a5,46(a3)
|
|
3fb6: 02d6c603 lbu a2,45(a3)
|
|
3fba: 2014 lbu a3,0(s0)
|
|
3fbc: 07a2 slli a5,a5,0x8
|
|
3fbe: 8fd1 or a5,a5,a2
|
|
3fc0: 02090913 addi s2,s2,32
|
|
3fc4: 02f69263 bne a3,a5,3fe8 <Task_excessiveLoad+0x82>
|
|
3fc8: 00040023 sb zero,0(s0)
|
|
3fcc: 20001537 lui a0,0x20001
|
|
3fd0: 28050413 addi s0,a0,640 # 20001280 <m_excessiveLoad>
|
|
3fd4: 28050513 addi a0,a0,640
|
|
3fd8: 00048023 sb zero,0(s1)
|
|
3fdc: d81fd0ef jal ra,1d5c <TimeSliceOffset_Unregister>
|
|
3fe0: 00040023 sb zero,0(s0)
|
|
3fe4: 9b0fc06f j 194 <__riscv_restore_0>
|
|
3fe8: 4785 li a5,1
|
|
3fea: 00e7fd63 bgeu a5,a4,4004 <Task_excessiveLoad+0x9e>
|
|
3fee: 40011537 lui a0,0x40011
|
|
3ff2: 4601 li a2,0
|
|
3ff4: 10000593 li a1,256
|
|
3ff8: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3ffc: 9f5fc0ef jal ra,9f0 <GPIO_WriteBit>
|
|
4000: 00040023 sb zero,0(s0)
|
|
4004: 40011537 lui a0,0x40011
|
|
4008: 10000593 li a1,256
|
|
400c: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
4010: 9d3fc0ef jal ra,9e2 <GPIO_ReadOutputDataBit>
|
|
4014: 89418793 addi a5,gp,-1900 # 200001fc <numLong.6498>
|
|
4018: e501 bnez a0,4020 <Task_excessiveLoad+0xba>
|
|
401a: 239a lhu a4,0(a5)
|
|
401c: 0705 addi a4,a4,1
|
|
401e: a39a sh a4,0(a5)
|
|
4020: 03094703 lbu a4,48(s2)
|
|
4024: 02f94603 lbu a2,47(s2)
|
|
4028: 2396 lhu a3,0(a5)
|
|
402a: 0722 slli a4,a4,0x8
|
|
402c: 8f51 or a4,a4,a2
|
|
402e: fae69be3 bne a3,a4,3fe4 <Task_excessiveLoad+0x7e>
|
|
4032: 40011537 lui a0,0x40011
|
|
4036: 4605 li a2,1
|
|
4038: 10000593 li a1,256
|
|
403c: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
4040: 00079023 sh zero,0(a5)
|
|
4044: 9adfc0ef jal ra,9f0 <GPIO_WriteBit>
|
|
4048: b751 j 3fcc <Task_excessiveLoad+0x66>
|
|
|
|
0000404a <Task_sensorEnableBroadcast>:
|
|
404a: 87818793 addi a5,gp,-1928 # 200001e0 <enabBroadcastTimeFlag.6504>
|
|
404e: 4390 lw a2,0(a5)
|
|
4050: 81518693 addi a3,gp,-2027 # 2000017d <run_Broadcast>
|
|
4054: 0605 addi a2,a2,1
|
|
4056: 200005b7 lui a1,0x20000
|
|
405a: c390 sw a2,0(a5)
|
|
405c: 00068023 sb zero,0(a3)
|
|
4060: 02058593 addi a1,a1,32 # 20000020 <g_slConfigInfo>
|
|
4064: 0245c703 lbu a4,36(a1)
|
|
4068: 0235c503 lbu a0,35(a1)
|
|
406c: 0722 slli a4,a4,0x8
|
|
406e: 8f49 or a4,a4,a0
|
|
4070: 02e61463 bne a2,a4,4098 <Task_sensorEnableBroadcast+0x4e>
|
|
4074: 8fcfc2ef jal t0,170 <__riscv_save_0>
|
|
4078: 20001537 lui a0,0x20001
|
|
407c: 2e050413 addi s0,a0,736 # 200012e0 <m_sensorEnableBroadcast>
|
|
4080: 0007a023 sw zero,0(a5)
|
|
4084: 2e050513 addi a0,a0,736
|
|
4088: 4785 li a5,1
|
|
408a: a29c sb a5,0(a3)
|
|
408c: cd1fd0ef jal ra,1d5c <TimeSliceOffset_Unregister>
|
|
4090: 00040023 sb zero,0(s0)
|
|
4094: 900fc06f j 194 <__riscv_restore_0>
|
|
4098: 8082 ret
|
|
|
|
0000409a <g_Mppt_Para_Init>:
|
|
409a: 8bcfc2ef jal t0,156 <__riscv_save_4>
|
|
409e: 200004b7 lui s1,0x20000
|
|
40a2: 02048493 addi s1,s1,32 # 20000020 <g_slConfigInfo>
|
|
40a6: 0224c783 lbu a5,34(s1)
|
|
40aa: 0214c503 lbu a0,33(s1)
|
|
40ae: 20001937 lui s2,0x20001
|
|
40b2: 07a2 slli a5,a5,0x8
|
|
40b4: 8d5d or a0,a0,a5
|
|
40b6: 051020ef jal ra,6906 <__floatunsisf>
|
|
40ba: 000087b7 lui a5,0x8
|
|
40be: 71c7a583 lw a1,1820(a5) # 871c <mosTemperADC+0x22c>
|
|
40c2: 21c90413 addi s0,s2,540 # 2000121c <g_Mppt_Para>
|
|
40c6: 487010ef jal ra,5d4c <__divsf3>
|
|
40ca: 20bc lbu a5,2(s1)
|
|
40cc: 88018993 addi s3,gp,-1920 # 200001e8 <g_impedance>
|
|
40d0: 20000737 lui a4,0x20000
|
|
40d4: a03c sb a5,2(s0)
|
|
40d6: 30bc lbu a5,3(s1)
|
|
40d8: 05470713 addi a4,a4,84 # 20000054 <defaultValue>
|
|
40dc: 20090e23 sb zero,540(s2)
|
|
40e0: b03c sb a5,3(s0)
|
|
40e2: 20dc lbu a5,4(s1)
|
|
40e4: 20090ea3 sb zero,541(s2)
|
|
40e8: 00a9a023 sw a0,0(s3)
|
|
40ec: a05c sb a5,4(s0)
|
|
40ee: 30dc lbu a5,5(s1)
|
|
40f0: 21c90913 addi s2,s2,540
|
|
40f4: b05c sb a5,5(s0)
|
|
40f6: 20fc lbu a5,6(s1)
|
|
40f8: a07c sb a5,6(s0)
|
|
40fa: 30fc lbu a5,7(s1)
|
|
40fc: b07c sb a5,7(s0)
|
|
40fe: 249c lbu a5,8(s1)
|
|
4100: a41c sb a5,8(s0)
|
|
4102: 273c lbu a5,10(a4)
|
|
4104: 3714 lbu a3,9(a4)
|
|
4106: 07a2 slli a5,a5,0x8
|
|
4108: 8fd5 or a5,a5,a3
|
|
410a: b41c sb a5,9(s0)
|
|
410c: 83a1 srli a5,a5,0x8
|
|
410e: a43c sb a5,10(s0)
|
|
4110: 275c lbu a5,12(a4)
|
|
4112: 3734 lbu a3,11(a4)
|
|
4114: 07a2 slli a5,a5,0x8
|
|
4116: 8fd5 or a5,a5,a3
|
|
4118: b43c sb a5,11(s0)
|
|
411a: 83a1 srli a5,a5,0x8
|
|
411c: a45c sb a5,12(s0)
|
|
411e: f41fd0ef jal ra,205e <get_PV_VOLT_OUT>
|
|
4122: 00855793 srli a5,a0,0x8
|
|
4126: b448 sb a0,13(s0)
|
|
4128: a47c sb a5,14(s0)
|
|
412a: 01055793 srli a5,a0,0x10
|
|
412e: 8161 srli a0,a0,0x18
|
|
4130: b47c sb a5,15(s0)
|
|
4132: a808 sb a0,16(s0)
|
|
4134: ee7fd0ef jal ra,201a <get_CHG_CURR>
|
|
4138: 00855793 srli a5,a0,0x8
|
|
413c: b848 sb a0,21(s0)
|
|
413e: a87c sb a5,22(s0)
|
|
4140: 01055793 srli a5,a0,0x10
|
|
4144: 8161 srli a0,a0,0x18
|
|
4146: b87c sb a5,23(s0)
|
|
4148: ac08 sb a0,24(s0)
|
|
414a: f59fd0ef jal ra,20a2 <get_DSG_CURR>
|
|
414e: 01855793 srli a5,a0,0x18
|
|
4152: ac5c sb a5,28(s0)
|
|
4154: 247c lbu a5,14(s0)
|
|
4156: 3444 lbu s1,13(s0)
|
|
4158: 00855713 srli a4,a0,0x8
|
|
415c: 07a2 slli a5,a5,0x8
|
|
415e: 8fc5 or a5,a5,s1
|
|
4160: 3464 lbu s1,15(s0)
|
|
4162: ac38 sb a4,26(s0)
|
|
4164: 01055713 srli a4,a0,0x10
|
|
4168: 04c2 slli s1,s1,0x10
|
|
416a: 8fc5 or a5,a5,s1
|
|
416c: 2804 lbu s1,16(s0)
|
|
416e: bc38 sb a4,27(s0)
|
|
4170: 3858 lbu a4,21(s0)
|
|
4172: 04e2 slli s1,s1,0x18
|
|
4174: 8cdd or s1,s1,a5
|
|
4176: 287c lbu a5,22(s0)
|
|
4178: 85aa mv a1,a0
|
|
417a: bc08 sb a0,25(s0)
|
|
417c: 07a2 slli a5,a5,0x8
|
|
417e: 8f5d or a4,a4,a5
|
|
4180: 387c lbu a5,23(s0)
|
|
4182: 07c2 slli a5,a5,0x10
|
|
4184: 8fd9 or a5,a5,a4
|
|
4186: 2c18 lbu a4,24(s0)
|
|
4188: 0762 slli a4,a4,0x18
|
|
418a: 00f76533 or a0,a4,a5
|
|
418e: 272020ef jal ra,6400 <__subsf3>
|
|
4192: 0009a583 lw a1,0(s3)
|
|
4196: 7d7010ef jal ra,616c <__mulsf3>
|
|
419a: 85aa mv a1,a0
|
|
419c: 8526 mv a0,s1
|
|
419e: 262020ef jal ra,6400 <__subsf3>
|
|
41a2: 00855793 srli a5,a0,0x8
|
|
41a6: b808 sb a0,17(s0)
|
|
41a8: a83c sb a5,18(s0)
|
|
41aa: 01055793 srli a5,a0,0x10
|
|
41ae: 8161 srli a0,a0,0x18
|
|
41b0: b83c sb a5,19(s0)
|
|
41b2: a848 sb a0,20(s0)
|
|
41b4: f33fd0ef jal ra,20e6 <get_PV1_VOLT_IN>
|
|
41b8: 00855793 srli a5,a0,0x8
|
|
41bc: 02a400a3 sb a0,33(s0)
|
|
41c0: 02f40123 sb a5,34(s0)
|
|
41c4: 01055793 srli a5,a0,0x10
|
|
41c8: 8161 srli a0,a0,0x18
|
|
41ca: 02f401a3 sb a5,35(s0)
|
|
41ce: 02a40223 sb a0,36(s0)
|
|
41d2: f59fd0ef jal ra,212a <get_MOSFET_Temper>
|
|
41d6: 00855793 srli a5,a0,0x8
|
|
41da: 02f40323 sb a5,38(s0)
|
|
41de: 01055793 srli a5,a0,0x10
|
|
41e2: 02f403a3 sb a5,39(s0)
|
|
41e6: 283c lbu a5,18(s0)
|
|
41e8: 3804 lbu s1,17(s0)
|
|
41ea: 02a402a3 sb a0,37(s0)
|
|
41ee: 07a2 slli a5,a5,0x8
|
|
41f0: 8fc5 or a5,a5,s1
|
|
41f2: 3824 lbu s1,19(s0)
|
|
41f4: 8161 srli a0,a0,0x18
|
|
41f6: 02a40423 sb a0,40(s0)
|
|
41fa: 04c2 slli s1,s1,0x10
|
|
41fc: 8fc5 or a5,a5,s1
|
|
41fe: 2844 lbu s1,20(s0)
|
|
4200: 04e2 slli s1,s1,0x18
|
|
4202: 8cdd or s1,s1,a5
|
|
4204: 000097b7 lui a5,0x9
|
|
4208: c4c7a583 lw a1,-948(a5) # 8c4c <mosTemperADC+0x75c>
|
|
420c: 8526 mv a0,s1
|
|
420e: 6d3010ef jal ra,60e0 <__lesf2>
|
|
4212: 00054b63 bltz a0,4228 <g_Mppt_Para_Init+0x18e>
|
|
4216: 000097b7 lui a5,0x9
|
|
421a: c487a583 lw a1,-952(a5) # 8c48 <mosTemperADC+0x758>
|
|
421e: 8526 mv a0,s1
|
|
4220: 63b010ef jal ra,605a <__gesf2>
|
|
4224: 00a05563 blez a0,422e <g_Mppt_Para_Init+0x194>
|
|
4228: 4705 li a4,1
|
|
422a: 88e18223 sb a4,-1916(gp) # 200001ec <g_impedanceStart>
|
|
422e: 400114b7 lui s1,0x40011
|
|
4232: 10000593 li a1,256
|
|
4236: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
423a: fa8fc0ef jal ra,9e2 <GPIO_ReadOutputDataBit>
|
|
423e: 4781 li a5,0
|
|
4240: c901 beqz a0,4250 <g_Mppt_Para_Init+0x1b6>
|
|
4242: 4591 li a1,4
|
|
4244: c0048513 addi a0,s1,-1024
|
|
4248: f90fc0ef jal ra,9d8 <GPIO_ReadInputDataBit>
|
|
424c: 00a037b3 snez a5,a0
|
|
4250: 02f904a3 sb a5,41(s2)
|
|
4254: 02090523 sb zero,42(s2)
|
|
4258: 020905a3 sb zero,43(s2)
|
|
425c: 02090623 sb zero,44(s2)
|
|
4260: f2bfb06f j 18a <__riscv_restore_4>
|
|
|
|
00004264 <task_Init>:
|
|
4264: f0dfb2ef jal t0,170 <__riscv_save_0>
|
|
4268: f2bfd0ef jal ra,2192 <read_config_info>
|
|
426c: e2fff0ef jal ra,409a <g_Mppt_Para_Init>
|
|
4270: 000035b7 lui a1,0x3
|
|
4274: 20001537 lui a0,0x20001
|
|
4278: 4681 li a3,0
|
|
427a: 3e800613 li a2,1000
|
|
427e: 26c58593 addi a1,a1,620 # 326c <Task_RunLED>
|
|
4282: 2d050513 addi a0,a0,720 # 200012d0 <m_runled>
|
|
4286: a99fd0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
428a: 000035b7 lui a1,0x3
|
|
428e: 20001537 lui a0,0x20001
|
|
4292: 4681 li a3,0
|
|
4294: 06400613 li a2,100
|
|
4298: 68e58593 addi a1,a1,1678 # 368e <Task_usart>
|
|
429c: 31050513 addi a0,a0,784 # 20001310 <m_usart>
|
|
42a0: a7ffd0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
42a4: 000035b7 lui a1,0x3
|
|
42a8: 20001537 lui a0,0x20001
|
|
42ac: 46f9 li a3,30
|
|
42ae: 3e800613 li a2,1000
|
|
42b2: 63c58593 addi a1,a1,1596 # 363c <Task_wdi>
|
|
42b6: 32050513 addi a0,a0,800 # 20001320 <m_wdi>
|
|
42ba: a65fd0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
42be: 000035b7 lui a1,0x3
|
|
42c2: 20001537 lui a0,0x20001
|
|
42c6: 3e800693 li a3,1000
|
|
42ca: 3e800613 li a2,1000
|
|
42ce: 7b658593 addi a1,a1,1974 # 37b6 <Task_refreshRegister>
|
|
42d2: 2c050513 addi a0,a0,704 # 200012c0 <m_refreshRegister>
|
|
42d6: a49fd0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
42da: 000035b7 lui a1,0x3
|
|
42de: 20001537 lui a0,0x20001
|
|
42e2: 4681 li a3,0
|
|
42e4: 3e800613 li a2,1000
|
|
42e8: 69e58593 addi a1,a1,1694 # 369e <Task_startMpptControl>
|
|
42ec: 30050513 addi a0,a0,768 # 20001300 <m_startMpptControl>
|
|
42f0: a2ffd0ef jal ra,1d1e <TimeSliceOffset_Register>
|
|
42f4: a97fd0ef jal ra,1d8a <TimeSliceOffset_Start>
|
|
42f8: e9dfb06f j 194 <__riscv_restore_0>
|
|
|
|
000042fc <hardware_Init>:
|
|
42fc: e75fb2ef jal t0,170 <__riscv_save_0>
|
|
4300: 4505 li a0,1
|
|
4302: 993fd0ef jal ra,1c94 <TIM2_Init>
|
|
4306: 288d jal 4378 <uart_dev_init>
|
|
4308: d7efd0ef jal ra,1886 <PWM_TIM_Configuration>
|
|
430c: ee3fc0ef jal ra,11ee <ADC_all_Init>
|
|
4310: b60fd0ef jal ra,1670 <RUN_LED_Init>
|
|
4314: b8cfd0ef jal ra,16a0 <WDI_INPUT_Init>
|
|
4318: fc7fc0ef jal ra,12de <SPI_Flash_Init>
|
|
431c: bb6fd0ef jal ra,16d2 <POW_OUT_CON_Init>
|
|
4320: bf0fd0ef jal ra,1710 <DSG_PROT_Init>
|
|
4324: c88fd0ef jal ra,17ac <WORK_VOLT_INT_Init>
|
|
4328: 4529 li a0,10
|
|
432a: 8c1fd0ef jal ra,1bea <TIM3_Init>
|
|
432e: e67fb06f j 194 <__riscv_restore_0>
|
|
|
|
00004332 <uart_putchar>:
|
|
4332: e3ffb2ef jal t0,170 <__riscv_save_0>
|
|
4336: 4401 li s0,0
|
|
4338: c105 beqz a0,4358 <uart_putchar+0x26>
|
|
433a: 2100 lbu s0,0(a0)
|
|
433c: cc11 beqz s0,4358 <uart_putchar+0x26>
|
|
433e: 415c lw a5,4(a0)
|
|
4340: 470d li a4,3
|
|
4342: 00e79e63 bne a5,a4,435e <uart_putchar+0x2c>
|
|
4346: 40005537 lui a0,0x40005
|
|
434a: 0ff5f593 andi a1,a1,255
|
|
434e: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
4352: f96fd0ef jal ra,1ae8 <USARTx_SendByte>
|
|
4356: 4405 li s0,1
|
|
4358: 8522 mv a0,s0
|
|
435a: e3bfb06f j 194 <__riscv_restore_0>
|
|
435e: 4711 li a4,4
|
|
4360: 4405 li s0,1
|
|
4362: fee79be3 bne a5,a4,4358 <uart_putchar+0x26>
|
|
4366: 40005537 lui a0,0x40005
|
|
436a: 0ff5f593 andi a1,a1,255
|
|
436e: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
4372: f76fd0ef jal ra,1ae8 <USARTx_SendByte>
|
|
4376: b7cd j 4358 <uart_putchar+0x26>
|
|
|
|
00004378 <uart_dev_init>:
|
|
4378: df9fb2ef jal t0,170 <__riscv_save_0>
|
|
437c: 20000437 lui s0,0x20000
|
|
4380: 0cc40413 addi s0,s0,204 # 200000cc <uart_devices>
|
|
4384: 200015b7 lui a1,0x20001
|
|
4388: 0c800613 li a2,200
|
|
438c: 33058593 addi a1,a1,816 # 20001330 <bat485_in_buff>
|
|
4390: 00c40513 addi a0,s0,12
|
|
4394: a41fd0ef jal ra,1dd4 <InitRingQueue>
|
|
4398: 6571 lui a0,0x1c
|
|
439a: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x13310>
|
|
439e: e8cfd0ef jal ra,1a2a <BAT_485_Init>
|
|
43a2: 4485 li s1,1
|
|
43a4: 200015b7 lui a1,0x20001
|
|
43a8: a004 sb s1,0(s0)
|
|
43aa: 12c00613 li a2,300
|
|
43ae: 3f858593 addi a1,a1,1016 # 200013f8 <gw485_in_buff>
|
|
43b2: 02840513 addi a0,s0,40
|
|
43b6: 8a81a223 sw s0,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
43ba: a1bfd0ef jal ra,1dd4 <InitRingQueue>
|
|
43be: 5048 lw a0,36(s0)
|
|
43c0: 0471 addi s0,s0,28
|
|
43c2: db6fd0ef jal ra,1978 <GW_485_Init>
|
|
43c6: a004 sb s1,0(s0)
|
|
43c8: 4501 li a0,0
|
|
43ca: 8a81a423 sw s0,-1880(gp) # 20000210 <g_gw485_uart4_handle>
|
|
43ce: dc7fb06f j 194 <__riscv_restore_0>
|
|
|
|
000043d2 <bat485_tx_enabla>:
|
|
43d2: d9ffb2ef jal t0,170 <__riscv_save_0>
|
|
43d6: 40011537 lui a0,0x40011
|
|
43da: 4605 li a2,1
|
|
43dc: 02000593 li a1,32
|
|
43e0: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
43e4: e0cfc0ef jal ra,9f0 <GPIO_WriteBit>
|
|
43e8: dadfb06f j 194 <__riscv_restore_0>
|
|
|
|
000043ec <bat485_tx_disenabla>:
|
|
43ec: d85fb2ef jal t0,170 <__riscv_save_0>
|
|
43f0: 40011537 lui a0,0x40011
|
|
43f4: 4601 li a2,0
|
|
43f6: 02000593 li a1,32
|
|
43fa: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
43fe: df2fc0ef jal ra,9f0 <GPIO_WriteBit>
|
|
4402: d93fb06f j 194 <__riscv_restore_0>
|
|
|
|
00004406 <gw485_tx_enabla>:
|
|
4406: d6bfb2ef jal t0,170 <__riscv_save_0>
|
|
440a: 40011537 lui a0,0x40011
|
|
440e: 4605 li a2,1
|
|
4410: 45c1 li a1,16
|
|
4412: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
4416: ddafc0ef jal ra,9f0 <GPIO_WriteBit>
|
|
441a: d7bfb06f j 194 <__riscv_restore_0>
|
|
|
|
0000441e <gw485_tx_disenabla>:
|
|
441e: d53fb2ef jal t0,170 <__riscv_save_0>
|
|
4422: 40011537 lui a0,0x40011
|
|
4426: 4601 li a2,0
|
|
4428: 45c1 li a1,16
|
|
442a: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
442e: dc2fc0ef jal ra,9f0 <GPIO_WriteBit>
|
|
4432: d63fb06f j 194 <__riscv_restore_0>
|
|
|
|
00004436 <uart_dev_write>:
|
|
4436: d21fb2ef jal t0,156 <__riscv_save_4>
|
|
443a: 8a41a703 lw a4,-1884(gp) # 2000020c <g_bat485_uart3_handle>
|
|
443e: 842a mv s0,a0
|
|
4440: 8a2e mv s4,a1
|
|
4442: 89b2 mv s3,a2
|
|
4444: 8a418493 addi s1,gp,-1884 # 2000020c <g_bat485_uart3_handle>
|
|
4448: 02a71163 bne a4,a0,446a <uart_dev_write+0x34>
|
|
444c: f87ff0ef jal ra,43d2 <bat485_tx_enabla>
|
|
4450: 4901 li s2,0
|
|
4452: 03394363 blt s2,s3,4478 <uart_dev_write+0x42>
|
|
4456: 4505 li a0,1
|
|
4458: a0ffd0ef jal ra,1e66 <Delay_Ms>
|
|
445c: 409c lw a5,0(s1)
|
|
445e: 02879663 bne a5,s0,448a <uart_dev_write+0x54>
|
|
4462: f8bff0ef jal ra,43ec <bat485_tx_disenabla>
|
|
4466: d25fb06f j 18a <__riscv_restore_4>
|
|
446a: 8a81a783 lw a5,-1880(gp) # 20000210 <g_gw485_uart4_handle>
|
|
446e: fea791e3 bne a5,a0,4450 <uart_dev_write+0x1a>
|
|
4472: f95ff0ef jal ra,4406 <gw485_tx_enabla>
|
|
4476: bfe9 j 4450 <uart_dev_write+0x1a>
|
|
4478: 012a07b3 add a5,s4,s2
|
|
447c: 00078583 lb a1,0(a5)
|
|
4480: 8522 mv a0,s0
|
|
4482: 0905 addi s2,s2,1
|
|
4484: eafff0ef jal ra,4332 <uart_putchar>
|
|
4488: b7e9 j 4452 <uart_dev_write+0x1c>
|
|
448a: 8a81a783 lw a5,-1880(gp) # 20000210 <g_gw485_uart4_handle>
|
|
448e: fc879ce3 bne a5,s0,4466 <uart_dev_write+0x30>
|
|
4492: f8dff0ef jal ra,441e <gw485_tx_disenabla>
|
|
4496: bfc1 j 4466 <uart_dev_write+0x30>
|
|
|
|
00004498 <uart_dev_char_present>:
|
|
4498: 4781 li a5,0
|
|
449a: c909 beqz a0,44ac <uart_dev_char_present+0x14>
|
|
449c: 2118 lbu a4,0(a0)
|
|
449e: 4781 li a5,0
|
|
44a0: c711 beqz a4,44ac <uart_dev_char_present+0x14>
|
|
44a2: 495c lw a5,20(a0)
|
|
44a4: 4d08 lw a0,24(a0)
|
|
44a6: 8f89 sub a5,a5,a0
|
|
44a8: 00f037b3 snez a5,a5
|
|
44ac: 853e mv a0,a5
|
|
44ae: 8082 ret
|
|
|
|
000044b0 <uart_dev_in_char>:
|
|
44b0: cc1fb2ef jal t0,170 <__riscv_save_0>
|
|
44b4: 1141 addi sp,sp,-16
|
|
44b6: 842a mv s0,a0
|
|
44b8: 000107a3 sb zero,15(sp)
|
|
44bc: fddff0ef jal ra,4498 <uart_dev_char_present>
|
|
44c0: c519 beqz a0,44ce <uart_dev_in_char+0x1e>
|
|
44c2: 00f10593 addi a1,sp,15
|
|
44c6: 00c40513 addi a0,s0,12
|
|
44ca: 947fd0ef jal ra,1e10 <OutRingQueue>
|
|
44ce: 00f10503 lb a0,15(sp)
|
|
44d2: 0141 addi sp,sp,16
|
|
44d4: cc1fb06f j 194 <__riscv_restore_0>
|
|
|
|
000044d8 <ring_queue_length>:
|
|
44d8: c99fb2ef jal t0,170 <__riscv_save_0>
|
|
44dc: 0531 addi a0,a0,12
|
|
44de: 959fd0ef jal ra,1e36 <RingQueueLength>
|
|
44e2: cb3fb06f j 194 <__riscv_restore_0>
|
|
|
|
000044e6 <__adddf3>:
|
|
44e6: 00100837 lui a6,0x100
|
|
44ea: 1101 addi sp,sp,-32
|
|
44ec: 187d addi a6,a6,-1
|
|
44ee: 00b87733 and a4,a6,a1
|
|
44f2: ca26 sw s1,20(sp)
|
|
44f4: 00d87833 and a6,a6,a3
|
|
44f8: 0145d493 srli s1,a1,0x14
|
|
44fc: 0146d313 srli t1,a3,0x14
|
|
4500: 00371e13 slli t3,a4,0x3
|
|
4504: c64e sw s3,12(sp)
|
|
4506: 01d55713 srli a4,a0,0x1d
|
|
450a: 080e slli a6,a6,0x3
|
|
450c: 01d65793 srli a5,a2,0x1d
|
|
4510: 7ff4f493 andi s1,s1,2047
|
|
4514: 7ff37313 andi t1,t1,2047
|
|
4518: ce06 sw ra,28(sp)
|
|
451a: cc22 sw s0,24(sp)
|
|
451c: c84a sw s2,16(sp)
|
|
451e: 01f5d993 srli s3,a1,0x1f
|
|
4522: 01f6de93 srli t4,a3,0x1f
|
|
4526: 01c76733 or a4,a4,t3
|
|
452a: 00351f13 slli t5,a0,0x3
|
|
452e: 0107e833 or a6,a5,a6
|
|
4532: 00361f93 slli t6,a2,0x3
|
|
4536: 40648e33 sub t3,s1,t1
|
|
453a: 19d98063 beq s3,t4,46ba <__adddf3+0x1d4>
|
|
453e: 13c05663 blez t3,466a <__adddf3+0x184>
|
|
4542: 1c030463 beqz t1,470a <__adddf3+0x224>
|
|
4546: 008006b7 lui a3,0x800
|
|
454a: 7ff00793 li a5,2047
|
|
454e: 00d86833 or a6,a6,a3
|
|
4552: 36f48f63 beq s1,a5,48d0 <__adddf3+0x3ea>
|
|
4556: 03800793 li a5,56
|
|
455a: 35c7c063 blt a5,t3,489a <__adddf3+0x3b4>
|
|
455e: 47fd li a5,31
|
|
4560: 47c7cd63 blt a5,t3,49da <__adddf3+0x4f4>
|
|
4564: 02000513 li a0,32
|
|
4568: 41c50533 sub a0,a0,t3
|
|
456c: 01cfd7b3 srl a5,t6,t3
|
|
4570: 00a816b3 sll a3,a6,a0
|
|
4574: 00af9933 sll s2,t6,a0
|
|
4578: 8edd or a3,a3,a5
|
|
457a: 01203933 snez s2,s2
|
|
457e: 01c857b3 srl a5,a6,t3
|
|
4582: 0126e933 or s2,a3,s2
|
|
4586: 8f1d sub a4,a4,a5
|
|
4588: 412f0933 sub s2,t5,s2
|
|
458c: 012f37b3 sltu a5,t5,s2
|
|
4590: 40f70633 sub a2,a4,a5
|
|
4594: 00861793 slli a5,a2,0x8
|
|
4598: 2407d463 bgez a5,47e0 <__adddf3+0x2fa>
|
|
459c: 00800737 lui a4,0x800
|
|
45a0: 177d addi a4,a4,-1
|
|
45a2: 00e67433 and s0,a2,a4
|
|
45a6: 2c040c63 beqz s0,487e <__adddf3+0x398>
|
|
45aa: 8522 mv a0,s0
|
|
45ac: 63e020ef jal ra,6bea <__clzsi2>
|
|
45b0: ff850713 addi a4,a0,-8
|
|
45b4: 02000793 li a5,32
|
|
45b8: 8f99 sub a5,a5,a4
|
|
45ba: 00f957b3 srl a5,s2,a5
|
|
45be: 00e41633 sll a2,s0,a4
|
|
45c2: 8fd1 or a5,a5,a2
|
|
45c4: 00e91933 sll s2,s2,a4
|
|
45c8: 2a974163 blt a4,s1,486a <__adddf3+0x384>
|
|
45cc: 40970533 sub a0,a4,s1
|
|
45d0: 00150613 addi a2,a0,1
|
|
45d4: 477d li a4,31
|
|
45d6: 38c74d63 blt a4,a2,4970 <__adddf3+0x48a>
|
|
45da: 02000713 li a4,32
|
|
45de: 8f11 sub a4,a4,a2
|
|
45e0: 00c956b3 srl a3,s2,a2
|
|
45e4: 00e91933 sll s2,s2,a4
|
|
45e8: 00e79733 sll a4,a5,a4
|
|
45ec: 8f55 or a4,a4,a3
|
|
45ee: 01203933 snez s2,s2
|
|
45f2: 01276933 or s2,a4,s2
|
|
45f6: 00c7d633 srl a2,a5,a2
|
|
45fa: 4481 li s1,0
|
|
45fc: 00797793 andi a5,s2,7
|
|
4600: cf81 beqz a5,4618 <__adddf3+0x132>
|
|
4602: 00f97713 andi a4,s2,15
|
|
4606: 4791 li a5,4
|
|
4608: 00f70863 beq a4,a5,4618 <__adddf3+0x132>
|
|
460c: 00490713 addi a4,s2,4
|
|
4610: 01273933 sltu s2,a4,s2
|
|
4614: 964a add a2,a2,s2
|
|
4616: 893a mv s2,a4
|
|
4618: 00861793 slli a5,a2,0x8
|
|
461c: 1c07d663 bgez a5,47e8 <__adddf3+0x302>
|
|
4620: 00148513 addi a0,s1,1
|
|
4624: 7ff00793 li a5,2047
|
|
4628: 85ce mv a1,s3
|
|
462a: 20f50463 beq a0,a5,4832 <__adddf3+0x34c>
|
|
462e: ff8007b7 lui a5,0xff800
|
|
4632: 17fd addi a5,a5,-1
|
|
4634: 8ff1 and a5,a5,a2
|
|
4636: 01d79893 slli a7,a5,0x1d
|
|
463a: 00395913 srli s2,s2,0x3
|
|
463e: 07a6 slli a5,a5,0x9
|
|
4640: 0128e8b3 or a7,a7,s2
|
|
4644: 83b1 srli a5,a5,0xc
|
|
4646: 7ff57513 andi a0,a0,2047
|
|
464a: 00c79693 slli a3,a5,0xc
|
|
464e: 0552 slli a0,a0,0x14
|
|
4650: 40f2 lw ra,28(sp)
|
|
4652: 4462 lw s0,24(sp)
|
|
4654: 82b1 srli a3,a3,0xc
|
|
4656: 05fe slli a1,a1,0x1f
|
|
4658: 8ec9 or a3,a3,a0
|
|
465a: 8ecd or a3,a3,a1
|
|
465c: 44d2 lw s1,20(sp)
|
|
465e: 4942 lw s2,16(sp)
|
|
4660: 49b2 lw s3,12(sp)
|
|
4662: 8546 mv a0,a7
|
|
4664: 85b6 mv a1,a3
|
|
4666: 6105 addi sp,sp,32
|
|
4668: 8082 ret
|
|
466a: 0a0e1e63 bnez t3,4726 <__adddf3+0x240>
|
|
466e: 00148313 addi t1,s1,1
|
|
4672: 7fe37313 andi t1,t1,2046
|
|
4676: 22031763 bnez t1,48a4 <__adddf3+0x3be>
|
|
467a: 01e767b3 or a5,a4,t5
|
|
467e: 01f868b3 or a7,a6,t6
|
|
4682: 1a049d63 bnez s1,483c <__adddf3+0x356>
|
|
4686: 40078763 beqz a5,4a94 <__adddf3+0x5ae>
|
|
468a: 44088663 beqz a7,4ad6 <__adddf3+0x5f0>
|
|
468e: 41ff0933 sub s2,t5,t6
|
|
4692: 410707b3 sub a5,a4,a6
|
|
4696: 012f3633 sltu a2,t5,s2
|
|
469a: 40c78633 sub a2,a5,a2
|
|
469e: 00861793 slli a5,a2,0x8
|
|
46a2: 4c07d663 bgez a5,4b6e <__adddf3+0x688>
|
|
46a6: 41ef8933 sub s2,t6,t5
|
|
46aa: 40e807b3 sub a5,a6,a4
|
|
46ae: 012fb633 sltu a2,t6,s2
|
|
46b2: 40c78633 sub a2,a5,a2
|
|
46b6: 89f6 mv s3,t4
|
|
46b8: b791 j 45fc <__adddf3+0x116>
|
|
46ba: 0fc05063 blez t3,479a <__adddf3+0x2b4>
|
|
46be: 0c030063 beqz t1,477e <__adddf3+0x298>
|
|
46c2: 008006b7 lui a3,0x800
|
|
46c6: 7ff00793 li a5,2047
|
|
46ca: 00d86833 or a6,a6,a3
|
|
46ce: 3af48a63 beq s1,a5,4a82 <__adddf3+0x59c>
|
|
46d2: 03800793 li a5,56
|
|
46d6: 13c7cb63 blt a5,t3,480c <__adddf3+0x326>
|
|
46da: 47fd li a5,31
|
|
46dc: 35c7df63 bge a5,t3,4a3a <__adddf3+0x554>
|
|
46e0: fe0e0913 addi s2,t3,-32
|
|
46e4: 02000793 li a5,32
|
|
46e8: 012856b3 srl a3,a6,s2
|
|
46ec: 00fe0a63 beq t3,a5,4700 <__adddf3+0x21a>
|
|
46f0: 04000913 li s2,64
|
|
46f4: 41c90933 sub s2,s2,t3
|
|
46f8: 01281933 sll s2,a6,s2
|
|
46fc: 012fefb3 or t6,t6,s2
|
|
4700: 01f03933 snez s2,t6
|
|
4704: 00d96933 or s2,s2,a3
|
|
4708: a231 j 4814 <__adddf3+0x32e>
|
|
470a: 01f867b3 or a5,a6,t6
|
|
470e: 1c078a63 beqz a5,48e2 <__adddf3+0x3fc>
|
|
4712: fffe0793 addi a5,t3,-1
|
|
4716: 38078c63 beqz a5,4aae <__adddf3+0x5c8>
|
|
471a: 7ff00693 li a3,2047
|
|
471e: 1ade0963 beq t3,a3,48d0 <__adddf3+0x3ea>
|
|
4722: 8e3e mv t3,a5
|
|
4724: bd0d j 4556 <__adddf3+0x70>
|
|
4726: 409305b3 sub a1,t1,s1
|
|
472a: 22049163 bnez s1,494c <__adddf3+0x466>
|
|
472e: 01e767b3 or a5,a4,t5
|
|
4732: 32078763 beqz a5,4a60 <__adddf3+0x57a>
|
|
4736: fff58793 addi a5,a1,-1
|
|
473a: 44078163 beqz a5,4b7c <__adddf3+0x696>
|
|
473e: 7ff00693 li a3,2047
|
|
4742: 20d58c63 beq a1,a3,495a <__adddf3+0x474>
|
|
4746: 85be mv a1,a5
|
|
4748: 03800793 li a5,56
|
|
474c: 2ab7cc63 blt a5,a1,4a04 <__adddf3+0x51e>
|
|
4750: 47fd li a5,31
|
|
4752: 3cb7cf63 blt a5,a1,4b30 <__adddf3+0x64a>
|
|
4756: 02000793 li a5,32
|
|
475a: 8f8d sub a5,a5,a1
|
|
475c: 00f71933 sll s2,a4,a5
|
|
4760: 00bf56b3 srl a3,t5,a1
|
|
4764: 00ff17b3 sll a5,t5,a5
|
|
4768: 00d96933 or s2,s2,a3
|
|
476c: 00f037b3 snez a5,a5
|
|
4770: 00b75733 srl a4,a4,a1
|
|
4774: 00f96933 or s2,s2,a5
|
|
4778: 40e80833 sub a6,a6,a4
|
|
477c: ac41 j 4a0c <__adddf3+0x526>
|
|
477e: 01f867b3 or a5,a6,t6
|
|
4782: 34078063 beqz a5,4ac2 <__adddf3+0x5dc>
|
|
4786: fffe0793 addi a5,t3,-1
|
|
478a: 20078a63 beqz a5,499e <__adddf3+0x4b8>
|
|
478e: 7ff00693 li a3,2047
|
|
4792: 2ede0863 beq t3,a3,4a82 <__adddf3+0x59c>
|
|
4796: 8e3e mv t3,a5
|
|
4798: bf2d j 46d2 <__adddf3+0x1ec>
|
|
479a: 140e1e63 bnez t3,48f6 <__adddf3+0x410>
|
|
479e: 00148693 addi a3,s1,1
|
|
47a2: 7fe6f793 andi a5,a3,2046
|
|
47a6: 34079163 bnez a5,4ae8 <__adddf3+0x602>
|
|
47aa: 01e767b3 or a5,a4,t5
|
|
47ae: 2c049563 bnez s1,4a78 <__adddf3+0x592>
|
|
47b2: 3e078063 beqz a5,4b92 <__adddf3+0x6ac>
|
|
47b6: 01f867b3 or a5,a6,t6
|
|
47ba: 30078e63 beqz a5,4ad6 <__adddf3+0x5f0>
|
|
47be: 01ff0933 add s2,t5,t6
|
|
47c2: 010707b3 add a5,a4,a6
|
|
47c6: 01e93f33 sltu t5,s2,t5
|
|
47ca: 01e78633 add a2,a5,t5
|
|
47ce: 00861793 slli a5,a2,0x8
|
|
47d2: 0007d763 bgez a5,47e0 <__adddf3+0x2fa>
|
|
47d6: ff8007b7 lui a5,0xff800
|
|
47da: 17fd addi a5,a5,-1
|
|
47dc: 8e7d and a2,a2,a5
|
|
47de: 4485 li s1,1
|
|
47e0: 00797793 andi a5,s2,7
|
|
47e4: e0079fe3 bnez a5,4602 <__adddf3+0x11c>
|
|
47e8: 01d61793 slli a5,a2,0x1d
|
|
47ec: 00395893 srli a7,s2,0x3
|
|
47f0: 00f8e8b3 or a7,a7,a5
|
|
47f4: 00365793 srli a5,a2,0x3
|
|
47f8: 7ff00713 li a4,2047
|
|
47fc: 04e48d63 beq s1,a4,4856 <__adddf3+0x370>
|
|
4800: 07b2 slli a5,a5,0xc
|
|
4802: 83b1 srli a5,a5,0xc
|
|
4804: 7ff4f513 andi a0,s1,2047
|
|
4808: 85ce mv a1,s3
|
|
480a: b581 j 464a <__adddf3+0x164>
|
|
480c: 01f86933 or s2,a6,t6
|
|
4810: 01203933 snez s2,s2
|
|
4814: 997a add s2,s2,t5
|
|
4816: 01e937b3 sltu a5,s2,t5
|
|
481a: 00e78633 add a2,a5,a4
|
|
481e: 00861793 slli a5,a2,0x8
|
|
4822: fa07dfe3 bgez a5,47e0 <__adddf3+0x2fa>
|
|
4826: 0485 addi s1,s1,1
|
|
4828: 7ff00793 li a5,2047
|
|
482c: 18f49663 bne s1,a5,49b8 <__adddf3+0x4d2>
|
|
4830: 85ce mv a1,s3
|
|
4832: 7ff00513 li a0,2047
|
|
4836: 4781 li a5,0
|
|
4838: 4881 li a7,0
|
|
483a: bd01 j 464a <__adddf3+0x164>
|
|
483c: ebc1 bnez a5,48cc <__adddf3+0x3e6>
|
|
483e: 3a088463 beqz a7,4be6 <__adddf3+0x700>
|
|
4842: 00361693 slli a3,a2,0x3
|
|
4846: 01d81793 slli a5,a6,0x1d
|
|
484a: 828d srli a3,a3,0x3
|
|
484c: 00d7e8b3 or a7,a5,a3
|
|
4850: 89f6 mv s3,t4
|
|
4852: 00385793 srli a5,a6,0x3
|
|
4856: 00f8e7b3 or a5,a7,a5
|
|
485a: dbf9 beqz a5,4830 <__adddf3+0x34a>
|
|
485c: 4581 li a1,0
|
|
485e: 7ff00513 li a0,2047
|
|
4862: 000807b7 lui a5,0x80
|
|
4866: 4881 li a7,0
|
|
4868: b3cd j 464a <__adddf3+0x164>
|
|
486a: ff800637 lui a2,0xff800
|
|
486e: 167d addi a2,a2,-1
|
|
4870: 8e7d and a2,a2,a5
|
|
4872: 00797793 andi a5,s2,7
|
|
4876: 8c99 sub s1,s1,a4
|
|
4878: d80795e3 bnez a5,4602 <__adddf3+0x11c>
|
|
487c: b7b5 j 47e8 <__adddf3+0x302>
|
|
487e: 854a mv a0,s2
|
|
4880: 36a020ef jal ra,6bea <__clzsi2>
|
|
4884: 01850713 addi a4,a0,24
|
|
4888: 47fd li a5,31
|
|
488a: d2e7d5e3 bge a5,a4,45b4 <__adddf3+0xce>
|
|
488e: ff850613 addi a2,a0,-8
|
|
4892: 00c917b3 sll a5,s2,a2
|
|
4896: 4901 li s2,0
|
|
4898: bb05 j 45c8 <__adddf3+0xe2>
|
|
489a: 01f86933 or s2,a6,t6
|
|
489e: 01203933 snez s2,s2
|
|
48a2: b1dd j 4588 <__adddf3+0xa2>
|
|
48a4: 41ff0933 sub s2,t5,t6
|
|
48a8: 41070633 sub a2,a4,a6
|
|
48ac: 012f3433 sltu s0,t5,s2
|
|
48b0: 40860433 sub s0,a2,s0
|
|
48b4: 00841793 slli a5,s0,0x8
|
|
48b8: 2407cd63 bltz a5,4b12 <__adddf3+0x62c>
|
|
48bc: 008968b3 or a7,s2,s0
|
|
48c0: ce0893e3 bnez a7,45a6 <__adddf3+0xc0>
|
|
48c4: 4781 li a5,0
|
|
48c6: 4981 li s3,0
|
|
48c8: 4481 li s1,0
|
|
48ca: bf1d j 4800 <__adddf3+0x31a>
|
|
48cc: f80898e3 bnez a7,485c <__adddf3+0x376>
|
|
48d0: 050e slli a0,a0,0x3
|
|
48d2: 01d71793 slli a5,a4,0x1d
|
|
48d6: 810d srli a0,a0,0x3
|
|
48d8: 00a7e8b3 or a7,a5,a0
|
|
48dc: 00375793 srli a5,a4,0x3
|
|
48e0: bf9d j 4856 <__adddf3+0x370>
|
|
48e2: 050e slli a0,a0,0x3
|
|
48e4: 01d71793 slli a5,a4,0x1d
|
|
48e8: 810d srli a0,a0,0x3
|
|
48ea: 00a7e8b3 or a7,a5,a0
|
|
48ee: 84f2 mv s1,t3
|
|
48f0: 00375793 srli a5,a4,0x3
|
|
48f4: b711 j 47f8 <__adddf3+0x312>
|
|
48f6: 40930533 sub a0,t1,s1
|
|
48fa: 12048263 beqz s1,4a1e <__adddf3+0x538>
|
|
48fe: 008006b7 lui a3,0x800
|
|
4902: 7ff00793 li a5,2047
|
|
4906: 8f55 or a4,a4,a3
|
|
4908: 2ef30d63 beq t1,a5,4c02 <__adddf3+0x71c>
|
|
490c: 03800793 li a5,56
|
|
4910: 20a7cb63 blt a5,a0,4b26 <__adddf3+0x640>
|
|
4914: 47fd li a5,31
|
|
4916: 2aa7c363 blt a5,a0,4bbc <__adddf3+0x6d6>
|
|
491a: 02000793 li a5,32
|
|
491e: 8f89 sub a5,a5,a0
|
|
4920: 00f71933 sll s2,a4,a5
|
|
4924: 00af56b3 srl a3,t5,a0
|
|
4928: 00ff17b3 sll a5,t5,a5
|
|
492c: 00d96933 or s2,s2,a3
|
|
4930: 00f037b3 snez a5,a5
|
|
4934: 00a75733 srl a4,a4,a0
|
|
4938: 00f96933 or s2,s2,a5
|
|
493c: 983a add a6,a6,a4
|
|
493e: 997e add s2,s2,t6
|
|
4940: 01f937b3 sltu a5,s2,t6
|
|
4944: 01078633 add a2,a5,a6
|
|
4948: 849a mv s1,t1
|
|
494a: bdd1 j 481e <__adddf3+0x338>
|
|
494c: 008006b7 lui a3,0x800
|
|
4950: 7ff00793 li a5,2047
|
|
4954: 8f55 or a4,a4,a3
|
|
4956: def319e3 bne t1,a5,4748 <__adddf3+0x262>
|
|
495a: 00361793 slli a5,a2,0x3
|
|
495e: 838d srli a5,a5,0x3
|
|
4960: 01d81893 slli a7,a6,0x1d
|
|
4964: 0117e8b3 or a7,a5,a7
|
|
4968: 89f6 mv s3,t4
|
|
496a: 00385793 srli a5,a6,0x3
|
|
496e: b5e5 j 4856 <__adddf3+0x370>
|
|
4970: fe150713 addi a4,a0,-31
|
|
4974: 02000693 li a3,32
|
|
4978: 00e7d733 srl a4,a5,a4
|
|
497c: 00d60a63 beq a2,a3,4990 <__adddf3+0x4aa>
|
|
4980: 04000693 li a3,64
|
|
4984: 40c68633 sub a2,a3,a2
|
|
4988: 00c79633 sll a2,a5,a2
|
|
498c: 00c96933 or s2,s2,a2
|
|
4990: 01203933 snez s2,s2
|
|
4994: 00e96933 or s2,s2,a4
|
|
4998: 4601 li a2,0
|
|
499a: 4481 li s1,0
|
|
499c: b591 j 47e0 <__adddf3+0x2fa>
|
|
499e: 01ff0933 add s2,t5,t6
|
|
49a2: 010707b3 add a5,a4,a6
|
|
49a6: 01e93633 sltu a2,s2,t5
|
|
49aa: 963e add a2,a2,a5
|
|
49ac: 00861793 slli a5,a2,0x8
|
|
49b0: 4485 li s1,1
|
|
49b2: e207d7e3 bgez a5,47e0 <__adddf3+0x2fa>
|
|
49b6: 4489 li s1,2
|
|
49b8: ff8007b7 lui a5,0xff800
|
|
49bc: 17fd addi a5,a5,-1
|
|
49be: 8ff1 and a5,a5,a2
|
|
49c0: 00195713 srli a4,s2,0x1
|
|
49c4: 00197913 andi s2,s2,1
|
|
49c8: 01276933 or s2,a4,s2
|
|
49cc: 01f79893 slli a7,a5,0x1f
|
|
49d0: 0128e933 or s2,a7,s2
|
|
49d4: 0017d613 srli a2,a5,0x1
|
|
49d8: b115 j 45fc <__adddf3+0x116>
|
|
49da: fe0e0913 addi s2,t3,-32
|
|
49de: 02000793 li a5,32
|
|
49e2: 012856b3 srl a3,a6,s2
|
|
49e6: 00fe0a63 beq t3,a5,49fa <__adddf3+0x514>
|
|
49ea: 04000913 li s2,64
|
|
49ee: 41c90933 sub s2,s2,t3
|
|
49f2: 01281933 sll s2,a6,s2
|
|
49f6: 012fefb3 or t6,t6,s2
|
|
49fa: 01f03933 snez s2,t6
|
|
49fe: 00d96933 or s2,s2,a3
|
|
4a02: b659 j 4588 <__adddf3+0xa2>
|
|
4a04: 01e76933 or s2,a4,t5
|
|
4a08: 01203933 snez s2,s2
|
|
4a0c: 412f8933 sub s2,t6,s2
|
|
4a10: 012fb7b3 sltu a5,t6,s2
|
|
4a14: 40f80633 sub a2,a6,a5
|
|
4a18: 849a mv s1,t1
|
|
4a1a: 89f6 mv s3,t4
|
|
4a1c: bea5 j 4594 <__adddf3+0xae>
|
|
4a1e: 01e767b3 or a5,a4,t5
|
|
4a22: 18078263 beqz a5,4ba6 <__adddf3+0x6c0>
|
|
4a26: fff50793 addi a5,a0,-1
|
|
4a2a: 1c078463 beqz a5,4bf2 <__adddf3+0x70c>
|
|
4a2e: 7ff00693 li a3,2047
|
|
4a32: 12d50463 beq a0,a3,4b5a <__adddf3+0x674>
|
|
4a36: 853e mv a0,a5
|
|
4a38: bdd1 j 490c <__adddf3+0x426>
|
|
4a3a: 02000793 li a5,32
|
|
4a3e: 41c787b3 sub a5,a5,t3
|
|
4a42: 00f816b3 sll a3,a6,a5
|
|
4a46: 00ff9933 sll s2,t6,a5
|
|
4a4a: 01cfd633 srl a2,t6,t3
|
|
4a4e: 8ed1 or a3,a3,a2
|
|
4a50: 01203933 snez s2,s2
|
|
4a54: 01c857b3 srl a5,a6,t3
|
|
4a58: 0126e933 or s2,a3,s2
|
|
4a5c: 973e add a4,a4,a5
|
|
4a5e: bb5d j 4814 <__adddf3+0x32e>
|
|
4a60: 00361793 slli a5,a2,0x3
|
|
4a64: 838d srli a5,a5,0x3
|
|
4a66: 01d81893 slli a7,a6,0x1d
|
|
4a6a: 0117e8b3 or a7,a5,a7
|
|
4a6e: 84ae mv s1,a1
|
|
4a70: 00385793 srli a5,a6,0x3
|
|
4a74: 89f6 mv s3,t4
|
|
4a76: b349 j 47f8 <__adddf3+0x312>
|
|
4a78: c3ed beqz a5,4b5a <__adddf3+0x674>
|
|
4a7a: 01f86933 or s2,a6,t6
|
|
4a7e: dc091fe3 bnez s2,485c <__adddf3+0x376>
|
|
4a82: 050e slli a0,a0,0x3
|
|
4a84: 01d71793 slli a5,a4,0x1d
|
|
4a88: 810d srli a0,a0,0x3
|
|
4a8a: 00f568b3 or a7,a0,a5
|
|
4a8e: 00375793 srli a5,a4,0x3
|
|
4a92: b3d1 j 4856 <__adddf3+0x370>
|
|
4a94: 0e088163 beqz a7,4b76 <__adddf3+0x690>
|
|
4a98: 00361693 slli a3,a2,0x3
|
|
4a9c: 01d81793 slli a5,a6,0x1d
|
|
4aa0: 828d srli a3,a3,0x3
|
|
4aa2: 00d7e8b3 or a7,a5,a3
|
|
4aa6: 89f6 mv s3,t4
|
|
4aa8: 00385793 srli a5,a6,0x3
|
|
4aac: bb91 j 4800 <__adddf3+0x31a>
|
|
4aae: 41ff0933 sub s2,t5,t6
|
|
4ab2: 410707b3 sub a5,a4,a6
|
|
4ab6: 012f3f33 sltu t5,t5,s2
|
|
4aba: 41e78633 sub a2,a5,t5
|
|
4abe: 4485 li s1,1
|
|
4ac0: bcd1 j 4594 <__adddf3+0xae>
|
|
4ac2: 050e slli a0,a0,0x3
|
|
4ac4: 01d71793 slli a5,a4,0x1d
|
|
4ac8: 810d srli a0,a0,0x3
|
|
4aca: 00f568b3 or a7,a0,a5
|
|
4ace: 84f2 mv s1,t3
|
|
4ad0: 00375793 srli a5,a4,0x3
|
|
4ad4: b315 j 47f8 <__adddf3+0x312>
|
|
4ad6: 050e slli a0,a0,0x3
|
|
4ad8: 01d71793 slli a5,a4,0x1d
|
|
4adc: 810d srli a0,a0,0x3
|
|
4ade: 00a7e8b3 or a7,a5,a0
|
|
4ae2: 00375793 srli a5,a4,0x3
|
|
4ae6: bb29 j 4800 <__adddf3+0x31a>
|
|
4ae8: 7ff00793 li a5,2047
|
|
4aec: d4f682e3 beq a3,a5,4830 <__adddf3+0x34a>
|
|
4af0: 01ff0933 add s2,t5,t6
|
|
4af4: 01e93633 sltu a2,s2,t5
|
|
4af8: 010707b3 add a5,a4,a6
|
|
4afc: 97b2 add a5,a5,a2
|
|
4afe: 01f79893 slli a7,a5,0x1f
|
|
4b02: 00195913 srli s2,s2,0x1
|
|
4b06: 0128e933 or s2,a7,s2
|
|
4b0a: 0017d613 srli a2,a5,0x1
|
|
4b0e: 84b6 mv s1,a3
|
|
4b10: b9c1 j 47e0 <__adddf3+0x2fa>
|
|
4b12: 41ef8933 sub s2,t6,t5
|
|
4b16: 40e80733 sub a4,a6,a4
|
|
4b1a: 012fb633 sltu a2,t6,s2
|
|
4b1e: 40c70433 sub s0,a4,a2
|
|
4b22: 89f6 mv s3,t4
|
|
4b24: b449 j 45a6 <__adddf3+0xc0>
|
|
4b26: 01e76933 or s2,a4,t5
|
|
4b2a: 01203933 snez s2,s2
|
|
4b2e: bd01 j 493e <__adddf3+0x458>
|
|
4b30: fe058793 addi a5,a1,-32
|
|
4b34: 02000693 li a3,32
|
|
4b38: 00f757b3 srl a5,a4,a5
|
|
4b3c: 00d58a63 beq a1,a3,4b50 <__adddf3+0x66a>
|
|
4b40: 04000693 li a3,64
|
|
4b44: 40b685b3 sub a1,a3,a1
|
|
4b48: 00b71733 sll a4,a4,a1
|
|
4b4c: 00ef6f33 or t5,t5,a4
|
|
4b50: 01e03933 snez s2,t5
|
|
4b54: 00f96933 or s2,s2,a5
|
|
4b58: bd55 j 4a0c <__adddf3+0x526>
|
|
4b5a: 00361793 slli a5,a2,0x3
|
|
4b5e: 838d srli a5,a5,0x3
|
|
4b60: 01d81893 slli a7,a6,0x1d
|
|
4b64: 0117e8b3 or a7,a5,a7
|
|
4b68: 00385793 srli a5,a6,0x3
|
|
4b6c: b1ed j 4856 <__adddf3+0x370>
|
|
4b6e: 00c968b3 or a7,s2,a2
|
|
4b72: c60897e3 bnez a7,47e0 <__adddf3+0x2fa>
|
|
4b76: 4781 li a5,0
|
|
4b78: 4981 li s3,0
|
|
4b7a: b159 j 4800 <__adddf3+0x31a>
|
|
4b7c: 41ef8933 sub s2,t6,t5
|
|
4b80: 40e807b3 sub a5,a6,a4
|
|
4b84: 012fb633 sltu a2,t6,s2
|
|
4b88: 40c78633 sub a2,a5,a2
|
|
4b8c: 89f6 mv s3,t4
|
|
4b8e: 4485 li s1,1
|
|
4b90: b411 j 4594 <__adddf3+0xae>
|
|
4b92: 00361693 slli a3,a2,0x3
|
|
4b96: 01d81793 slli a5,a6,0x1d
|
|
4b9a: 828d srli a3,a3,0x3
|
|
4b9c: 00d7e8b3 or a7,a5,a3
|
|
4ba0: 00385793 srli a5,a6,0x3
|
|
4ba4: b9b1 j 4800 <__adddf3+0x31a>
|
|
4ba6: 00361693 slli a3,a2,0x3
|
|
4baa: 01d81793 slli a5,a6,0x1d
|
|
4bae: 828d srli a3,a3,0x3
|
|
4bb0: 00d7e8b3 or a7,a5,a3
|
|
4bb4: 84aa mv s1,a0
|
|
4bb6: 00385793 srli a5,a6,0x3
|
|
4bba: b93d j 47f8 <__adddf3+0x312>
|
|
4bbc: fe050793 addi a5,a0,-32
|
|
4bc0: 02000693 li a3,32
|
|
4bc4: 00f757b3 srl a5,a4,a5
|
|
4bc8: 00d50a63 beq a0,a3,4bdc <__adddf3+0x6f6>
|
|
4bcc: 04000693 li a3,64
|
|
4bd0: 40a68533 sub a0,a3,a0
|
|
4bd4: 00a71733 sll a4,a4,a0
|
|
4bd8: 00ef6f33 or t5,t5,a4
|
|
4bdc: 01e03933 snez s2,t5
|
|
4be0: 00f96933 or s2,s2,a5
|
|
4be4: bba9 j 493e <__adddf3+0x458>
|
|
4be6: 4581 li a1,0
|
|
4be8: 7ff00513 li a0,2047
|
|
4bec: 000807b7 lui a5,0x80
|
|
4bf0: bca9 j 464a <__adddf3+0x164>
|
|
4bf2: 01ff0933 add s2,t5,t6
|
|
4bf6: 010707b3 add a5,a4,a6
|
|
4bfa: 01f93633 sltu a2,s2,t6
|
|
4bfe: 963e add a2,a2,a5
|
|
4c00: b375 j 49ac <__adddf3+0x4c6>
|
|
4c02: 00361693 slli a3,a2,0x3
|
|
4c06: 01d81793 slli a5,a6,0x1d
|
|
4c0a: 828d srli a3,a3,0x3
|
|
4c0c: 00d7e8b3 or a7,a5,a3
|
|
4c10: 00385793 srli a5,a6,0x3
|
|
4c14: b189 j 4856 <__adddf3+0x370>
|
|
|
|
00004c16 <__gedf2>:
|
|
4c16: 0145d713 srli a4,a1,0x14
|
|
4c1a: 001007b7 lui a5,0x100
|
|
4c1e: 17fd addi a5,a5,-1
|
|
4c20: 0146d813 srli a6,a3,0x14
|
|
4c24: 7ff77713 andi a4,a4,2047
|
|
4c28: 7ff00893 li a7,2047
|
|
4c2c: 00b7f333 and t1,a5,a1
|
|
4c30: 8e2a mv t3,a0
|
|
4c32: 8ff5 and a5,a5,a3
|
|
4c34: 81fd srli a1,a1,0x1f
|
|
4c36: 8eb2 mv t4,a2
|
|
4c38: 7ff87813 andi a6,a6,2047
|
|
4c3c: 82fd srli a3,a3,0x1f
|
|
4c3e: 03170863 beq a4,a7,4c6e <__gedf2+0x58>
|
|
4c42: 03180063 beq a6,a7,4c62 <__gedf2+0x4c>
|
|
4c46: eb0d bnez a4,4c78 <__gedf2+0x62>
|
|
4c48: 00a368b3 or a7,t1,a0
|
|
4c4c: 00081463 bnez a6,4c54 <__gedf2+0x3e>
|
|
4c50: 8e5d or a2,a2,a5
|
|
4c52: ca29 beqz a2,4ca4 <__gedf2+0x8e>
|
|
4c54: 04088563 beqz a7,4c9e <__gedf2+0x88>
|
|
4c58: 02d58863 beq a1,a3,4c88 <__gedf2+0x72>
|
|
4c5c: 4505 li a0,1
|
|
4c5e: ed95 bnez a1,4c9a <__gedf2+0x84>
|
|
4c60: 8082 ret
|
|
4c62: 00c7e8b3 or a7,a5,a2
|
|
4c66: fe0880e3 beqz a7,4c46 <__gedf2+0x30>
|
|
4c6a: 5579 li a0,-2
|
|
4c6c: 8082 ret
|
|
4c6e: 00a36533 or a0,t1,a0
|
|
4c72: fd65 bnez a0,4c6a <__gedf2+0x54>
|
|
4c74: 02e80c63 beq a6,a4,4cac <__gedf2+0x96>
|
|
4c78: 00081463 bnez a6,4c80 <__gedf2+0x6a>
|
|
4c7c: 8e5d or a2,a2,a5
|
|
4c7e: de79 beqz a2,4c5c <__gedf2+0x46>
|
|
4c80: fcd59ee3 bne a1,a3,4c5c <__gedf2+0x46>
|
|
4c84: fce84ce3 blt a6,a4,4c5c <__gedf2+0x46>
|
|
4c88: 01074863 blt a4,a6,4c98 <__gedf2+0x82>
|
|
4c8c: fc67e8e3 bltu a5,t1,4c5c <__gedf2+0x46>
|
|
4c90: 02f30363 beq t1,a5,4cb6 <__gedf2+0xa0>
|
|
4c94: 00f37f63 bgeu t1,a5,4cb2 <__gedf2+0x9c>
|
|
4c98: e581 bnez a1,4ca0 <__gedf2+0x8a>
|
|
4c9a: 557d li a0,-1
|
|
4c9c: 8082 ret
|
|
4c9e: def5 beqz a3,4c9a <__gedf2+0x84>
|
|
4ca0: 4505 li a0,1
|
|
4ca2: 8082 ret
|
|
4ca4: 4501 li a0,0
|
|
4ca6: fa089be3 bnez a7,4c5c <__gedf2+0x46>
|
|
4caa: 8082 ret
|
|
4cac: 8e5d or a2,a2,a5
|
|
4cae: da69 beqz a2,4c80 <__gedf2+0x6a>
|
|
4cb0: bf6d j 4c6a <__gedf2+0x54>
|
|
4cb2: 4501 li a0,0
|
|
4cb4: 8082 ret
|
|
4cb6: fbcee3e3 bltu t4,t3,4c5c <__gedf2+0x46>
|
|
4cba: 4501 li a0,0
|
|
4cbc: fbde72e3 bgeu t3,t4,4c60 <__gedf2+0x4a>
|
|
4cc0: f1e5 bnez a1,4ca0 <__gedf2+0x8a>
|
|
4cc2: bfe1 j 4c9a <__gedf2+0x84>
|
|
|
|
00004cc4 <__ledf2>:
|
|
4cc4: 0145d713 srli a4,a1,0x14
|
|
4cc8: 001007b7 lui a5,0x100
|
|
4ccc: 17fd addi a5,a5,-1
|
|
4cce: 0146d813 srli a6,a3,0x14
|
|
4cd2: 7ff77713 andi a4,a4,2047
|
|
4cd6: 7ff00893 li a7,2047
|
|
4cda: 00b7fe33 and t3,a5,a1
|
|
4cde: 8eaa mv t4,a0
|
|
4ce0: 8ff5 and a5,a5,a3
|
|
4ce2: 81fd srli a1,a1,0x1f
|
|
4ce4: 8f32 mv t5,a2
|
|
4ce6: 7ff87813 andi a6,a6,2047
|
|
4cea: 82fd srli a3,a3,0x1f
|
|
4cec: 03170e63 beq a4,a7,4d28 <__ledf2+0x64>
|
|
4cf0: 01180d63 beq a6,a7,4d0a <__ledf2+0x46>
|
|
4cf4: e329 bnez a4,4d36 <__ledf2+0x72>
|
|
4cf6: 00ae68b3 or a7,t3,a0
|
|
4cfa: 00081f63 bnez a6,4d18 <__ledf2+0x54>
|
|
4cfe: 8e5d or a2,a2,a5
|
|
4d00: ee01 bnez a2,4d18 <__ledf2+0x54>
|
|
4d02: 4301 li t1,0
|
|
4d04: 04088c63 beqz a7,4d5c <__ledf2+0x98>
|
|
4d08: a821 j 4d20 <__ledf2+0x5c>
|
|
4d0a: 00c7e8b3 or a7,a5,a2
|
|
4d0e: 4309 li t1,2
|
|
4d10: 04089663 bnez a7,4d5c <__ledf2+0x98>
|
|
4d14: d36d beqz a4,4cf6 <__ledf2+0x32>
|
|
4d16: a005 j 4d36 <__ledf2+0x72>
|
|
4d18: 04088463 beqz a7,4d60 <__ledf2+0x9c>
|
|
4d1c: 02d58563 beq a1,a3,4d46 <__ledf2+0x82>
|
|
4d20: 4305 li t1,1
|
|
4d22: cd8d beqz a1,4d5c <__ledf2+0x98>
|
|
4d24: 537d li t1,-1
|
|
4d26: a81d j 4d5c <__ledf2+0x98>
|
|
4d28: 00ae68b3 or a7,t3,a0
|
|
4d2c: 4309 li t1,2
|
|
4d2e: 02089763 bnez a7,4d5c <__ledf2+0x98>
|
|
4d32: 02e80a63 beq a6,a4,4d66 <__ledf2+0xa2>
|
|
4d36: 00081463 bnez a6,4d3e <__ledf2+0x7a>
|
|
4d3a: 8e5d or a2,a2,a5
|
|
4d3c: d275 beqz a2,4d20 <__ledf2+0x5c>
|
|
4d3e: fed591e3 bne a1,a3,4d20 <__ledf2+0x5c>
|
|
4d42: fce84fe3 blt a6,a4,4d20 <__ledf2+0x5c>
|
|
4d46: 01074963 blt a4,a6,4d58 <__ledf2+0x94>
|
|
4d4a: fdc7ebe3 bltu a5,t3,4d20 <__ledf2+0x5c>
|
|
4d4e: 00fe0f63 beq t3,a5,4d6c <__ledf2+0xa8>
|
|
4d52: 4301 li t1,0
|
|
4d54: 00fe7463 bgeu t3,a5,4d5c <__ledf2+0x98>
|
|
4d58: d5f1 beqz a1,4d24 <__ledf2+0x60>
|
|
4d5a: 4305 li t1,1
|
|
4d5c: 851a mv a0,t1
|
|
4d5e: 8082 ret
|
|
4d60: feed bnez a3,4d5a <__ledf2+0x96>
|
|
4d62: 537d li t1,-1
|
|
4d64: bfe5 j 4d5c <__ledf2+0x98>
|
|
4d66: 8e5d or a2,a2,a5
|
|
4d68: da79 beqz a2,4d3e <__ledf2+0x7a>
|
|
4d6a: bfcd j 4d5c <__ledf2+0x98>
|
|
4d6c: fbdf6ae3 bltu t5,t4,4d20 <__ledf2+0x5c>
|
|
4d70: 4301 li t1,0
|
|
4d72: ffeef5e3 bgeu t4,t5,4d5c <__ledf2+0x98>
|
|
4d76: f1f5 bnez a1,4d5a <__ledf2+0x96>
|
|
4d78: b775 j 4d24 <__ledf2+0x60>
|
|
|
|
00004d7a <__muldf3>:
|
|
4d7a: 7139 addi sp,sp,-64
|
|
4d7c: d84a sw s2,48(sp)
|
|
4d7e: 0145d913 srli s2,a1,0x14
|
|
4d82: d64e sw s3,44(sp)
|
|
4d84: d452 sw s4,40(sp)
|
|
4d86: d256 sw s5,36(sp)
|
|
4d88: 00c59993 slli s3,a1,0xc
|
|
4d8c: de06 sw ra,60(sp)
|
|
4d8e: dc22 sw s0,56(sp)
|
|
4d90: da26 sw s1,52(sp)
|
|
4d92: d05a sw s6,32(sp)
|
|
4d94: ce5e sw s7,28(sp)
|
|
4d96: 7ff97913 andi s2,s2,2047
|
|
4d9a: 8a2a mv s4,a0
|
|
4d9c: 00c9d993 srli s3,s3,0xc
|
|
4da0: 01f5da93 srli s5,a1,0x1f
|
|
4da4: 0e090d63 beqz s2,4e9e <__muldf3+0x124>
|
|
4da8: 7ff00793 li a5,2047
|
|
4dac: 18f90663 beq s2,a5,4f38 <__muldf3+0x1be>
|
|
4db0: 01d55413 srli s0,a0,0x1d
|
|
4db4: 098e slli s3,s3,0x3
|
|
4db6: 013469b3 or s3,s0,s3
|
|
4dba: 00800437 lui s0,0x800
|
|
4dbe: 0089e433 or s0,s3,s0
|
|
4dc2: 00351493 slli s1,a0,0x3
|
|
4dc6: c0190913 addi s2,s2,-1023
|
|
4dca: 4981 li s3,0
|
|
4dcc: 4b81 li s7,0
|
|
4dce: 0146d713 srli a4,a3,0x14
|
|
4dd2: 00c69a13 slli s4,a3,0xc
|
|
4dd6: 7ff77713 andi a4,a4,2047
|
|
4dda: 85b2 mv a1,a2
|
|
4ddc: 00ca5a13 srli s4,s4,0xc
|
|
4de0: 01f6db13 srli s6,a3,0x1f
|
|
4de4: 10070b63 beqz a4,4efa <__muldf3+0x180>
|
|
4de8: 7ff00793 li a5,2047
|
|
4dec: 04f70363 beq a4,a5,4e32 <__muldf3+0xb8>
|
|
4df0: 01d65793 srli a5,a2,0x1d
|
|
4df4: 0a0e slli s4,s4,0x3
|
|
4df6: 0147ea33 or s4,a5,s4
|
|
4dfa: c0170713 addi a4,a4,-1023 # 7ffc01 <_data_lma+0x7f6d11>
|
|
4dfe: 008007b7 lui a5,0x800
|
|
4e02: 00fa67b3 or a5,s4,a5
|
|
4e06: 00361593 slli a1,a2,0x3
|
|
4e0a: 993a add s2,s2,a4
|
|
4e0c: 4881 li a7,0
|
|
4e0e: 016ac733 xor a4,s5,s6
|
|
4e12: 46bd li a3,15
|
|
4e14: 853a mv a0,a4
|
|
4e16: 00190813 addi a6,s2,1
|
|
4e1a: 1736e863 bltu a3,s3,4f8a <__muldf3+0x210>
|
|
4e1e: 00004617 auipc a2,0x4
|
|
4e22: e3660613 addi a2,a2,-458 # 8c54 <mosTemperADC+0x764>
|
|
4e26: 098a slli s3,s3,0x2
|
|
4e28: 99b2 add s3,s3,a2
|
|
4e2a: 0009a683 lw a3,0(s3)
|
|
4e2e: 96b2 add a3,a3,a2
|
|
4e30: 8682 jr a3
|
|
4e32: 00ca67b3 or a5,s4,a2
|
|
4e36: 7ff90913 addi s2,s2,2047
|
|
4e3a: 12079963 bnez a5,4f6c <__muldf3+0x1f2>
|
|
4e3e: 0029e993 ori s3,s3,2
|
|
4e42: 4581 li a1,0
|
|
4e44: 4889 li a7,2
|
|
4e46: b7e1 j 4e0e <__muldf3+0x94>
|
|
4e48: 4701 li a4,0
|
|
4e4a: 7ff00793 li a5,2047
|
|
4e4e: 00080437 lui s0,0x80
|
|
4e52: 4481 li s1,0
|
|
4e54: 0432 slli s0,s0,0xc
|
|
4e56: 07d2 slli a5,a5,0x14
|
|
4e58: 8031 srli s0,s0,0xc
|
|
4e5a: 077e slli a4,a4,0x1f
|
|
4e5c: 8c5d or s0,s0,a5
|
|
4e5e: 8c59 or s0,s0,a4
|
|
4e60: 85a2 mv a1,s0
|
|
4e62: 50f2 lw ra,60(sp)
|
|
4e64: 5462 lw s0,56(sp)
|
|
4e66: 8526 mv a0,s1
|
|
4e68: 5942 lw s2,48(sp)
|
|
4e6a: 54d2 lw s1,52(sp)
|
|
4e6c: 59b2 lw s3,44(sp)
|
|
4e6e: 5a22 lw s4,40(sp)
|
|
4e70: 5a92 lw s5,36(sp)
|
|
4e72: 5b02 lw s6,32(sp)
|
|
4e74: 4bf2 lw s7,28(sp)
|
|
4e76: 6121 addi sp,sp,64
|
|
4e78: 8082 ret
|
|
4e7a: 855a mv a0,s6
|
|
4e7c: 843e mv s0,a5
|
|
4e7e: 84ae mv s1,a1
|
|
4e80: 8bc6 mv s7,a7
|
|
4e82: 4789 li a5,2
|
|
4e84: 0efb8d63 beq s7,a5,4f7e <__muldf3+0x204>
|
|
4e88: 478d li a5,3
|
|
4e8a: fafb8fe3 beq s7,a5,4e48 <__muldf3+0xce>
|
|
4e8e: 4785 li a5,1
|
|
4e90: 872a mv a4,a0
|
|
4e92: 38fb9e63 bne s7,a5,522e <__muldf3+0x4b4>
|
|
4e96: 4781 li a5,0
|
|
4e98: 4401 li s0,0
|
|
4e9a: 4481 li s1,0
|
|
4e9c: bf65 j 4e54 <__muldf3+0xda>
|
|
4e9e: 00a9e433 or s0,s3,a0
|
|
4ea2: c061 beqz s0,4f62 <__muldf3+0x1e8>
|
|
4ea4: c636 sw a3,12(sp)
|
|
4ea6: c432 sw a2,8(sp)
|
|
4ea8: 2a098c63 beqz s3,5160 <__muldf3+0x3e6>
|
|
4eac: 854e mv a0,s3
|
|
4eae: 53d010ef jal ra,6bea <__clzsi2>
|
|
4eb2: 4622 lw a2,8(sp)
|
|
4eb4: 46b2 lw a3,12(sp)
|
|
4eb6: 87aa mv a5,a0
|
|
4eb8: ff550713 addi a4,a0,-11
|
|
4ebc: 4475 li s0,29
|
|
4ebe: ff878493 addi s1,a5,-8 # 7ffff8 <_data_lma+0x7f7108>
|
|
4ec2: 8c19 sub s0,s0,a4
|
|
4ec4: 009999b3 sll s3,s3,s1
|
|
4ec8: 008a5433 srl s0,s4,s0
|
|
4ecc: 01346433 or s0,s0,s3
|
|
4ed0: 009a14b3 sll s1,s4,s1
|
|
4ed4: 0146d713 srli a4,a3,0x14
|
|
4ed8: c0d00913 li s2,-1011
|
|
4edc: 00c69a13 slli s4,a3,0xc
|
|
4ee0: 7ff77713 andi a4,a4,2047
|
|
4ee4: 40f90933 sub s2,s2,a5
|
|
4ee8: 4981 li s3,0
|
|
4eea: 4b81 li s7,0
|
|
4eec: 85b2 mv a1,a2
|
|
4eee: 00ca5a13 srli s4,s4,0xc
|
|
4ef2: 01f6db13 srli s6,a3,0x1f
|
|
4ef6: ee0719e3 bnez a4,4de8 <__muldf3+0x6e>
|
|
4efa: 00ca67b3 or a5,s4,a2
|
|
4efe: c7b1 beqz a5,4f4a <__muldf3+0x1d0>
|
|
4f00: 220a0f63 beqz s4,513e <__muldf3+0x3c4>
|
|
4f04: 8552 mv a0,s4
|
|
4f06: c432 sw a2,8(sp)
|
|
4f08: 4e3010ef jal ra,6bea <__clzsi2>
|
|
4f0c: 4622 lw a2,8(sp)
|
|
4f0e: 872a mv a4,a0
|
|
4f10: ff550693 addi a3,a0,-11
|
|
4f14: 47f5 li a5,29
|
|
4f16: ff870593 addi a1,a4,-8
|
|
4f1a: 8f95 sub a5,a5,a3
|
|
4f1c: 00ba1a33 sll s4,s4,a1
|
|
4f20: 00f657b3 srl a5,a2,a5
|
|
4f24: 0147e7b3 or a5,a5,s4
|
|
4f28: 00b615b3 sll a1,a2,a1
|
|
4f2c: 40e90933 sub s2,s2,a4
|
|
4f30: c0d90913 addi s2,s2,-1011
|
|
4f34: 4881 li a7,0
|
|
4f36: bde1 j 4e0e <__muldf3+0x94>
|
|
4f38: 00a9e433 or s0,s3,a0
|
|
4f3c: ec01 bnez s0,4f54 <__muldf3+0x1da>
|
|
4f3e: 49a1 li s3,8
|
|
4f40: 4481 li s1,0
|
|
4f42: 7ff00913 li s2,2047
|
|
4f46: 4b89 li s7,2
|
|
4f48: b559 j 4dce <__muldf3+0x54>
|
|
4f4a: 0019e993 ori s3,s3,1
|
|
4f4e: 4581 li a1,0
|
|
4f50: 4885 li a7,1
|
|
4f52: bd75 j 4e0e <__muldf3+0x94>
|
|
4f54: 844e mv s0,s3
|
|
4f56: 84aa mv s1,a0
|
|
4f58: 49b1 li s3,12
|
|
4f5a: 7ff00913 li s2,2047
|
|
4f5e: 4b8d li s7,3
|
|
4f60: b5bd j 4dce <__muldf3+0x54>
|
|
4f62: 4991 li s3,4
|
|
4f64: 4481 li s1,0
|
|
4f66: 4901 li s2,0
|
|
4f68: 4b85 li s7,1
|
|
4f6a: b595 j 4dce <__muldf3+0x54>
|
|
4f6c: 0039e993 ori s3,s3,3
|
|
4f70: 87d2 mv a5,s4
|
|
4f72: 488d li a7,3
|
|
4f74: bd69 j 4e0e <__muldf3+0x94>
|
|
4f76: 4789 li a5,2
|
|
4f78: 8556 mv a0,s5
|
|
4f7a: f0fb97e3 bne s7,a5,4e88 <__muldf3+0x10e>
|
|
4f7e: 872a mv a4,a0
|
|
4f80: 7ff00793 li a5,2047
|
|
4f84: 4401 li s0,0
|
|
4f86: 4481 li s1,0
|
|
4f88: b5f1 j 4e54 <__muldf3+0xda>
|
|
4f8a: 6ec1 lui t4,0x10
|
|
4f8c: fffe8613 addi a2,t4,-1 # ffff <_data_lma+0x710f>
|
|
4f90: 0104d693 srli a3,s1,0x10
|
|
4f94: 0105de13 srli t3,a1,0x10
|
|
4f98: 8cf1 and s1,s1,a2
|
|
4f9a: 8df1 and a1,a1,a2
|
|
4f9c: 02958633 mul a2,a1,s1
|
|
4fa0: 02b68333 mul t1,a3,a1
|
|
4fa4: 01065893 srli a7,a2,0x10
|
|
4fa8: 029e0533 mul a0,t3,s1
|
|
4fac: 951a add a0,a0,t1
|
|
4fae: 98aa add a7,a7,a0
|
|
4fb0: 03c682b3 mul t0,a3,t3
|
|
4fb4: 0068f363 bgeu a7,t1,4fba <__muldf3+0x240>
|
|
4fb8: 92f6 add t0,t0,t4
|
|
4fba: 6fc1 lui t6,0x10
|
|
4fbc: ffff8313 addi t1,t6,-1 # ffff <_data_lma+0x710f>
|
|
4fc0: 0067f533 and a0,a5,t1
|
|
4fc4: 0107d393 srli t2,a5,0x10
|
|
4fc8: 0068f7b3 and a5,a7,t1
|
|
4fcc: 07c2 slli a5,a5,0x10
|
|
4fce: 00667333 and t1,a2,t1
|
|
4fd2: 933e add t1,t1,a5
|
|
4fd4: 02950633 mul a2,a0,s1
|
|
4fd8: 0108d893 srli a7,a7,0x10
|
|
4fdc: 02a687b3 mul a5,a3,a0
|
|
4fe0: 01065f13 srli t5,a2,0x10
|
|
4fe4: 029384b3 mul s1,t2,s1
|
|
4fe8: 94be add s1,s1,a5
|
|
4fea: 94fa add s1,s1,t5
|
|
4fec: 02768eb3 mul t4,a3,t2
|
|
4ff0: 00f4f363 bgeu s1,a5,4ff6 <__muldf3+0x27c>
|
|
4ff4: 9efe add t4,t4,t6
|
|
4ff6: 6a41 lui s4,0x10
|
|
4ff8: fffa0793 addi a5,s4,-1 # ffff <_data_lma+0x710f>
|
|
4ffc: 01045f93 srli t6,s0,0x10
|
|
5000: 00f476b3 and a3,s0,a5
|
|
5004: 00f4f9b3 and s3,s1,a5
|
|
5008: 8e7d and a2,a2,a5
|
|
500a: 80c1 srli s1,s1,0x10
|
|
500c: 02d58433 mul s0,a1,a3
|
|
5010: 09c2 slli s3,s3,0x10
|
|
5012: 01d48f33 add t5,s1,t4
|
|
5016: 99b2 add s3,s3,a2
|
|
5018: 98ce add a7,a7,s3
|
|
501a: 02de07b3 mul a5,t3,a3
|
|
501e: 01045e93 srli t4,s0,0x10
|
|
5022: 02bf85b3 mul a1,t6,a1
|
|
5026: 97ae add a5,a5,a1
|
|
5028: 9ebe add t4,t4,a5
|
|
502a: 03fe0e33 mul t3,t3,t6
|
|
502e: 00bef363 bgeu t4,a1,5034 <__muldf3+0x2ba>
|
|
5032: 9e52 add t3,t3,s4
|
|
5034: 67c1 lui a5,0x10
|
|
5036: fff78593 addi a1,a5,-1 # ffff <_data_lma+0x710f>
|
|
503a: 00bef633 and a2,t4,a1
|
|
503e: 8c6d and s0,s0,a1
|
|
5040: 0642 slli a2,a2,0x10
|
|
5042: 9622 add a2,a2,s0
|
|
5044: 010ede93 srli t4,t4,0x10
|
|
5048: 02d505b3 mul a1,a0,a3
|
|
504c: 9e76 add t3,t3,t4
|
|
504e: 02af8533 mul a0,t6,a0
|
|
5052: 0105d413 srli s0,a1,0x10
|
|
5056: 02d386b3 mul a3,t2,a3
|
|
505a: 96aa add a3,a3,a0
|
|
505c: 96a2 add a3,a3,s0
|
|
505e: 03f38fb3 mul t6,t2,t6
|
|
5062: 00a6f363 bgeu a3,a0,5068 <__muldf3+0x2ee>
|
|
5066: 9fbe add t6,t6,a5
|
|
5068: 6541 lui a0,0x10
|
|
506a: 157d addi a0,a0,-1
|
|
506c: 00a6f7b3 and a5,a3,a0
|
|
5070: 07c2 slli a5,a5,0x10
|
|
5072: 8d6d and a0,a0,a1
|
|
5074: 97aa add a5,a5,a0
|
|
5076: 005885b3 add a1,a7,t0
|
|
507a: 0135b9b3 sltu s3,a1,s3
|
|
507e: 97fa add a5,a5,t5
|
|
5080: 95b2 add a1,a1,a2
|
|
5082: 01378433 add s0,a5,s3
|
|
5086: 00c5b633 sltu a2,a1,a2
|
|
508a: 01c40eb3 add t4,s0,t3
|
|
508e: 00ce8533 add a0,t4,a2
|
|
5092: 01343433 sltu s0,s0,s3
|
|
5096: 01e7b7b3 sltu a5,a5,t5
|
|
509a: 8fc1 or a5,a5,s0
|
|
509c: 01cebe33 sltu t3,t4,t3
|
|
50a0: 0106d413 srli s0,a3,0x10
|
|
50a4: 00c53633 sltu a2,a0,a2
|
|
50a8: 943e add s0,s0,a5
|
|
50aa: 00ce6633 or a2,t3,a2
|
|
50ae: 00959493 slli s1,a1,0x9
|
|
50b2: 9432 add s0,s0,a2
|
|
50b4: 947e add s0,s0,t6
|
|
50b6: 0064e4b3 or s1,s1,t1
|
|
50ba: 0426 slli s0,s0,0x9
|
|
50bc: 01755693 srli a3,a0,0x17
|
|
50c0: 009034b3 snez s1,s1
|
|
50c4: 81dd srli a1,a1,0x17
|
|
50c6: 00951793 slli a5,a0,0x9
|
|
50ca: 8ccd or s1,s1,a1
|
|
50cc: 8c55 or s0,s0,a3
|
|
50ce: 8cdd or s1,s1,a5
|
|
50d0: 00741793 slli a5,s0,0x7
|
|
50d4: 0007db63 bgez a5,50ea <__muldf3+0x370>
|
|
50d8: 0014d793 srli a5,s1,0x1
|
|
50dc: 8885 andi s1,s1,1
|
|
50de: 01f41693 slli a3,s0,0x1f
|
|
50e2: 8cdd or s1,s1,a5
|
|
50e4: 8cd5 or s1,s1,a3
|
|
50e6: 8005 srli s0,s0,0x1
|
|
50e8: 8942 mv s2,a6
|
|
50ea: 3ff90793 addi a5,s2,1023
|
|
50ee: 08f05963 blez a5,5180 <__muldf3+0x406>
|
|
50f2: 0074f693 andi a3,s1,7
|
|
50f6: ce81 beqz a3,510e <__muldf3+0x394>
|
|
50f8: 00f4f693 andi a3,s1,15
|
|
50fc: 4611 li a2,4
|
|
50fe: 00c68863 beq a3,a2,510e <__muldf3+0x394>
|
|
5102: 00448693 addi a3,s1,4
|
|
5106: 0096b4b3 sltu s1,a3,s1
|
|
510a: 9426 add s0,s0,s1
|
|
510c: 84b6 mv s1,a3
|
|
510e: 00741693 slli a3,s0,0x7
|
|
5112: 0006d863 bgez a3,5122 <__muldf3+0x3a8>
|
|
5116: ff0007b7 lui a5,0xff000
|
|
511a: 17fd addi a5,a5,-1
|
|
511c: 8c7d and s0,s0,a5
|
|
511e: 40090793 addi a5,s2,1024
|
|
5122: 7fe00693 li a3,2046
|
|
5126: 0ef6cf63 blt a3,a5,5224 <__muldf3+0x4aa>
|
|
512a: 0034d693 srli a3,s1,0x3
|
|
512e: 01d41493 slli s1,s0,0x1d
|
|
5132: 0426 slli s0,s0,0x9
|
|
5134: 8cd5 or s1,s1,a3
|
|
5136: 8031 srli s0,s0,0xc
|
|
5138: 7ff7f793 andi a5,a5,2047
|
|
513c: bb21 j 4e54 <__muldf3+0xda>
|
|
513e: 8532 mv a0,a2
|
|
5140: c432 sw a2,8(sp)
|
|
5142: 2a9010ef jal ra,6bea <__clzsi2>
|
|
5146: 01550693 addi a3,a0,21 # 10015 <_data_lma+0x7125>
|
|
514a: 47f1 li a5,28
|
|
514c: 02050713 addi a4,a0,32
|
|
5150: 4622 lw a2,8(sp)
|
|
5152: dcd7d1e3 bge a5,a3,4f14 <__muldf3+0x19a>
|
|
5156: 1561 addi a0,a0,-8
|
|
5158: 00a617b3 sll a5,a2,a0
|
|
515c: 4581 li a1,0
|
|
515e: b3f9 j 4f2c <__muldf3+0x1b2>
|
|
5160: 28b010ef jal ra,6bea <__clzsi2>
|
|
5164: 01550713 addi a4,a0,21
|
|
5168: 45f1 li a1,28
|
|
516a: 02050793 addi a5,a0,32
|
|
516e: 4622 lw a2,8(sp)
|
|
5170: 46b2 lw a3,12(sp)
|
|
5172: d4e5d5e3 bge a1,a4,4ebc <__muldf3+0x142>
|
|
5176: 1561 addi a0,a0,-8
|
|
5178: 00aa1433 sll s0,s4,a0
|
|
517c: 4481 li s1,0
|
|
517e: bb99 j 4ed4 <__muldf3+0x15a>
|
|
5180: 4685 li a3,1
|
|
5182: 8e9d sub a3,a3,a5
|
|
5184: e7b1 bnez a5,51d0 <__muldf3+0x456>
|
|
5186: 41e90913 addi s2,s2,1054
|
|
518a: 012497b3 sll a5,s1,s2
|
|
518e: 00d4d4b3 srl s1,s1,a3
|
|
5192: 01241933 sll s2,s0,s2
|
|
5196: 00f037b3 snez a5,a5
|
|
519a: 009964b3 or s1,s2,s1
|
|
519e: 8cdd or s1,s1,a5
|
|
51a0: 0074f793 andi a5,s1,7
|
|
51a4: 00d456b3 srl a3,s0,a3
|
|
51a8: cf81 beqz a5,51c0 <__muldf3+0x446>
|
|
51aa: 00f4f793 andi a5,s1,15
|
|
51ae: 4611 li a2,4
|
|
51b0: 00c78863 beq a5,a2,51c0 <__muldf3+0x446>
|
|
51b4: 00448793 addi a5,s1,4
|
|
51b8: 0097b4b3 sltu s1,a5,s1
|
|
51bc: 96a6 add a3,a3,s1
|
|
51be: 84be mv s1,a5
|
|
51c0: 00869793 slli a5,a3,0x8
|
|
51c4: 0407d863 bgez a5,5214 <__muldf3+0x49a>
|
|
51c8: 4785 li a5,1
|
|
51ca: 4401 li s0,0
|
|
51cc: 4481 li s1,0
|
|
51ce: b159 j 4e54 <__muldf3+0xda>
|
|
51d0: 03800613 li a2,56
|
|
51d4: ccd641e3 blt a2,a3,4e96 <__muldf3+0x11c>
|
|
51d8: 467d li a2,31
|
|
51da: fad656e3 bge a2,a3,5186 <__muldf3+0x40c>
|
|
51de: 5605 li a2,-31
|
|
51e0: 40f607b3 sub a5,a2,a5
|
|
51e4: 02000593 li a1,32
|
|
51e8: 00f45633 srl a2,s0,a5
|
|
51ec: 00b68763 beq a3,a1,51fa <__muldf3+0x480>
|
|
51f0: 43e90913 addi s2,s2,1086
|
|
51f4: 012417b3 sll a5,s0,s2
|
|
51f8: 8cdd or s1,s1,a5
|
|
51fa: 009034b3 snez s1,s1
|
|
51fe: 8cd1 or s1,s1,a2
|
|
5200: 0074f693 andi a3,s1,7
|
|
5204: 4401 li s0,0
|
|
5206: ca99 beqz a3,521c <__muldf3+0x4a2>
|
|
5208: 00f4f793 andi a5,s1,15
|
|
520c: 4611 li a2,4
|
|
520e: 4681 li a3,0
|
|
5210: fac792e3 bne a5,a2,51b4 <__muldf3+0x43a>
|
|
5214: 00969413 slli s0,a3,0x9
|
|
5218: 8031 srli s0,s0,0xc
|
|
521a: 06f6 slli a3,a3,0x1d
|
|
521c: 808d srli s1,s1,0x3
|
|
521e: 8cd5 or s1,s1,a3
|
|
5220: 4781 li a5,0
|
|
5222: b90d j 4e54 <__muldf3+0xda>
|
|
5224: 7ff00793 li a5,2047
|
|
5228: 4401 li s0,0
|
|
522a: 4481 li s1,0
|
|
522c: b125 j 4e54 <__muldf3+0xda>
|
|
522e: 8942 mv s2,a6
|
|
5230: bd6d j 50ea <__muldf3+0x370>
|
|
|
|
00005232 <__subdf3>:
|
|
5232: 00100737 lui a4,0x100
|
|
5236: 177d addi a4,a4,-1
|
|
5238: 1101 addi sp,sp,-32
|
|
523a: 00b77333 and t1,a4,a1
|
|
523e: 0146d893 srli a7,a3,0x14
|
|
5242: 8f75 and a4,a4,a3
|
|
5244: 01d65e93 srli t4,a2,0x1d
|
|
5248: cc22 sw s0,24(sp)
|
|
524a: ca26 sw s1,20(sp)
|
|
524c: 030e slli t1,t1,0x3
|
|
524e: 0145d493 srli s1,a1,0x14
|
|
5252: 01d55793 srli a5,a0,0x1d
|
|
5256: 070e slli a4,a4,0x3
|
|
5258: ce06 sw ra,28(sp)
|
|
525a: c84a sw s2,16(sp)
|
|
525c: c64e sw s3,12(sp)
|
|
525e: 7ff8f893 andi a7,a7,2047
|
|
5262: 7ff00e13 li t3,2047
|
|
5266: 00eee733 or a4,t4,a4
|
|
526a: 7ff4f493 andi s1,s1,2047
|
|
526e: 01f5d413 srli s0,a1,0x1f
|
|
5272: 0067e333 or t1,a5,t1
|
|
5276: 00351f13 slli t5,a0,0x3
|
|
527a: 82fd srli a3,a3,0x1f
|
|
527c: 00361e93 slli t4,a2,0x3
|
|
5280: 19c88063 beq a7,t3,5400 <__subdf3+0x1ce>
|
|
5284: 0016c693 xori a3,a3,1
|
|
5288: 411485b3 sub a1,s1,a7
|
|
528c: 12d40563 beq s0,a3,53b6 <__subdf3+0x184>
|
|
5290: 18b05163 blez a1,5412 <__subdf3+0x1e0>
|
|
5294: 1a088b63 beqz a7,544a <__subdf3+0x218>
|
|
5298: 008007b7 lui a5,0x800
|
|
529c: 8f5d or a4,a4,a5
|
|
529e: 59c48163 beq s1,t3,5820 <__subdf3+0x5ee>
|
|
52a2: 03800793 li a5,56
|
|
52a6: 34b7c463 blt a5,a1,55ee <__subdf3+0x3bc>
|
|
52aa: 47fd li a5,31
|
|
52ac: 48b7c563 blt a5,a1,5736 <__subdf3+0x504>
|
|
52b0: 02000793 li a5,32
|
|
52b4: 8f8d sub a5,a5,a1
|
|
52b6: 00bed9b3 srl s3,t4,a1
|
|
52ba: 00f71833 sll a6,a4,a5
|
|
52be: 00fe9eb3 sll t4,t4,a5
|
|
52c2: 01386833 or a6,a6,s3
|
|
52c6: 00b75733 srl a4,a4,a1
|
|
52ca: 01d039b3 snez s3,t4
|
|
52ce: 01386833 or a6,a6,s3
|
|
52d2: 40e30333 sub t1,t1,a4
|
|
52d6: 410f09b3 sub s3,t5,a6
|
|
52da: 013f37b3 sltu a5,t5,s3
|
|
52de: 40f30633 sub a2,t1,a5
|
|
52e2: 00861793 slli a5,a2,0x8
|
|
52e6: 2407d363 bgez a5,552c <__subdf3+0x2fa>
|
|
52ea: 00800937 lui s2,0x800
|
|
52ee: 197d addi s2,s2,-1
|
|
52f0: 01267933 and s2,a2,s2
|
|
52f4: 2c090f63 beqz s2,55d2 <__subdf3+0x3a0>
|
|
52f8: 854a mv a0,s2
|
|
52fa: 0f1010ef jal ra,6bea <__clzsi2>
|
|
52fe: ff850713 addi a4,a0,-8
|
|
5302: 02000793 li a5,32
|
|
5306: 8f99 sub a5,a5,a4
|
|
5308: 00f9d7b3 srl a5,s3,a5
|
|
530c: 00e91633 sll a2,s2,a4
|
|
5310: 8fd1 or a5,a5,a2
|
|
5312: 00e999b3 sll s3,s3,a4
|
|
5316: 2a974463 blt a4,s1,55be <__subdf3+0x38c>
|
|
531a: 8f05 sub a4,a4,s1
|
|
531c: 00170613 addi a2,a4,1 # 100001 <_data_lma+0xf7111>
|
|
5320: 46fd li a3,31
|
|
5322: 3ac6c563 blt a3,a2,56cc <__subdf3+0x49a>
|
|
5326: 02000713 li a4,32
|
|
532a: 8f11 sub a4,a4,a2
|
|
532c: 00c9d6b3 srl a3,s3,a2
|
|
5330: 00e99833 sll a6,s3,a4
|
|
5334: 00e79733 sll a4,a5,a4
|
|
5338: 8f55 or a4,a4,a3
|
|
533a: 01003833 snez a6,a6
|
|
533e: 010769b3 or s3,a4,a6
|
|
5342: 00c7d633 srl a2,a5,a2
|
|
5346: 4481 li s1,0
|
|
5348: 0079f793 andi a5,s3,7
|
|
534c: cf81 beqz a5,5364 <__subdf3+0x132>
|
|
534e: 00f9f693 andi a3,s3,15
|
|
5352: 4791 li a5,4
|
|
5354: 00f68863 beq a3,a5,5364 <__subdf3+0x132>
|
|
5358: 00498693 addi a3,s3,4
|
|
535c: 0136b833 sltu a6,a3,s3
|
|
5360: 9642 add a2,a2,a6
|
|
5362: 89b6 mv s3,a3
|
|
5364: 00861793 slli a5,a2,0x8
|
|
5368: 1c07d663 bgez a5,5534 <__subdf3+0x302>
|
|
536c: 00148713 addi a4,s1,1
|
|
5370: 7ff00793 li a5,2047
|
|
5374: 8805 andi s0,s0,1
|
|
5376: 20f70663 beq a4,a5,5582 <__subdf3+0x350>
|
|
537a: ff8007b7 lui a5,0xff800
|
|
537e: 17fd addi a5,a5,-1
|
|
5380: 8ff1 and a5,a5,a2
|
|
5382: 01d79813 slli a6,a5,0x1d
|
|
5386: 0039d993 srli s3,s3,0x3
|
|
538a: 07a6 slli a5,a5,0x9
|
|
538c: 01386833 or a6,a6,s3
|
|
5390: 83b1 srli a5,a5,0xc
|
|
5392: 7ff77713 andi a4,a4,2047
|
|
5396: 00c79693 slli a3,a5,0xc
|
|
539a: 0752 slli a4,a4,0x14
|
|
539c: 82b1 srli a3,a3,0xc
|
|
539e: 047e slli s0,s0,0x1f
|
|
53a0: 8ed9 or a3,a3,a4
|
|
53a2: 8ec1 or a3,a3,s0
|
|
53a4: 40f2 lw ra,28(sp)
|
|
53a6: 4462 lw s0,24(sp)
|
|
53a8: 44d2 lw s1,20(sp)
|
|
53aa: 4942 lw s2,16(sp)
|
|
53ac: 49b2 lw s3,12(sp)
|
|
53ae: 8542 mv a0,a6
|
|
53b0: 85b6 mv a1,a3
|
|
53b2: 6105 addi sp,sp,32
|
|
53b4: 8082 ret
|
|
53b6: 0ab05663 blez a1,5462 <__subdf3+0x230>
|
|
53ba: 12088a63 beqz a7,54ee <__subdf3+0x2bc>
|
|
53be: 008007b7 lui a5,0x800
|
|
53c2: 8f5d or a4,a4,a5
|
|
53c4: 2dc48763 beq s1,t3,5692 <__subdf3+0x460>
|
|
53c8: 03800793 li a5,56
|
|
53cc: 18b7c763 blt a5,a1,555a <__subdf3+0x328>
|
|
53d0: 47fd li a5,31
|
|
53d2: 3cb7d263 bge a5,a1,5796 <__subdf3+0x564>
|
|
53d6: fe058813 addi a6,a1,-32
|
|
53da: 02000793 li a5,32
|
|
53de: 010759b3 srl s3,a4,a6
|
|
53e2: 00f58a63 beq a1,a5,53f6 <__subdf3+0x1c4>
|
|
53e6: 04000793 li a5,64
|
|
53ea: 40b785b3 sub a1,a5,a1
|
|
53ee: 00b71733 sll a4,a4,a1
|
|
53f2: 00eeeeb3 or t4,t4,a4
|
|
53f6: 01d03833 snez a6,t4
|
|
53fa: 01386833 or a6,a6,s3
|
|
53fe: a295 j 5562 <__subdf3+0x330>
|
|
5400: 01d767b3 or a5,a4,t4
|
|
5404: 80148593 addi a1,s1,-2047
|
|
5408: e399 bnez a5,540e <__subdf3+0x1dc>
|
|
540a: 0016c693 xori a3,a3,1
|
|
540e: 04d40a63 beq s0,a3,5462 <__subdf3+0x230>
|
|
5412: e1d1 bnez a1,5496 <__subdf3+0x264>
|
|
5414: 00148793 addi a5,s1,1
|
|
5418: 7fe7f793 andi a5,a5,2046
|
|
541c: 1e079963 bnez a5,560e <__subdf3+0x3dc>
|
|
5420: 01e367b3 or a5,t1,t5
|
|
5424: 01d76833 or a6,a4,t4
|
|
5428: 16049263 bnez s1,558c <__subdf3+0x35a>
|
|
542c: 3c078263 beqz a5,57f0 <__subdf3+0x5be>
|
|
5430: 42081663 bnez a6,585c <__subdf3+0x62a>
|
|
5434: 00351813 slli a6,a0,0x3
|
|
5438: 01d31693 slli a3,t1,0x1d
|
|
543c: 00385813 srli a6,a6,0x3
|
|
5440: 0106e833 or a6,a3,a6
|
|
5444: 00335793 srli a5,t1,0x3
|
|
5448: a219 j 554e <__subdf3+0x31c>
|
|
544a: 01d767b3 or a5,a4,t4
|
|
544e: 1a078563 beqz a5,55f8 <__subdf3+0x3c6>
|
|
5452: fff58793 addi a5,a1,-1
|
|
5456: 3a078b63 beqz a5,580c <__subdf3+0x5da>
|
|
545a: 23c58c63 beq a1,t3,5692 <__subdf3+0x460>
|
|
545e: 85be mv a1,a5
|
|
5460: b589 j 52a2 <__subdf3+0x70>
|
|
5462: 1c059963 bnez a1,5634 <__subdf3+0x402>
|
|
5466: 00148693 addi a3,s1,1
|
|
546a: 7fe6f793 andi a5,a3,2046
|
|
546e: efc1 bnez a5,5506 <__subdf3+0x2d4>
|
|
5470: 01e367b3 or a5,t1,t5
|
|
5474: 36049063 bnez s1,57d4 <__subdf3+0x5a2>
|
|
5478: 44078d63 beqz a5,58d2 <__subdf3+0x6a0>
|
|
547c: 01d767b3 or a5,a4,t4
|
|
5480: 46079463 bnez a5,58e8 <__subdf3+0x6b6>
|
|
5484: 050e slli a0,a0,0x3
|
|
5486: 01d31813 slli a6,t1,0x1d
|
|
548a: 810d srli a0,a0,0x3
|
|
548c: 00a86833 or a6,a6,a0
|
|
5490: 00335793 srli a5,t1,0x3
|
|
5494: a86d j 554e <__subdf3+0x31c>
|
|
5496: 409885b3 sub a1,a7,s1
|
|
549a: 20049763 bnez s1,56a8 <__subdf3+0x476>
|
|
549e: 01e367b3 or a5,t1,t5
|
|
54a2: 30078d63 beqz a5,57bc <__subdf3+0x58a>
|
|
54a6: fff58793 addi a5,a1,-1
|
|
54aa: 40078963 beqz a5,58bc <__subdf3+0x68a>
|
|
54ae: 7ff00513 li a0,2047
|
|
54b2: 20a58363 beq a1,a0,56b8 <__subdf3+0x486>
|
|
54b6: 85be mv a1,a5
|
|
54b8: 03800793 li a5,56
|
|
54bc: 2ab7c263 blt a5,a1,5760 <__subdf3+0x52e>
|
|
54c0: 47fd li a5,31
|
|
54c2: 3cb7c863 blt a5,a1,5892 <__subdf3+0x660>
|
|
54c6: 02000793 li a5,32
|
|
54ca: 8f8d sub a5,a5,a1
|
|
54cc: 00f31833 sll a6,t1,a5
|
|
54d0: 00bf5633 srl a2,t5,a1
|
|
54d4: 00ff17b3 sll a5,t5,a5
|
|
54d8: 00c86833 or a6,a6,a2
|
|
54dc: 00f039b3 snez s3,a5
|
|
54e0: 00b35333 srl t1,t1,a1
|
|
54e4: 01386833 or a6,a6,s3
|
|
54e8: 40670733 sub a4,a4,t1
|
|
54ec: acb5 j 5768 <__subdf3+0x536>
|
|
54ee: 01d767b3 or a5,a4,t4
|
|
54f2: 10078363 beqz a5,55f8 <__subdf3+0x3c6>
|
|
54f6: fff58793 addi a5,a1,-1
|
|
54fa: 1e078f63 beqz a5,56f8 <__subdf3+0x4c6>
|
|
54fe: 2fc58063 beq a1,t3,57de <__subdf3+0x5ac>
|
|
5502: 85be mv a1,a5
|
|
5504: b5d1 j 53c8 <__subdf3+0x196>
|
|
5506: 7ff00793 li a5,2047
|
|
550a: 06f68b63 beq a3,a5,5580 <__subdf3+0x34e>
|
|
550e: 9efa add t4,t4,t5
|
|
5510: 01eeb633 sltu a2,t4,t5
|
|
5514: 00e307b3 add a5,t1,a4
|
|
5518: 97b2 add a5,a5,a2
|
|
551a: 01f79813 slli a6,a5,0x1f
|
|
551e: 001ede93 srli t4,t4,0x1
|
|
5522: 01d869b3 or s3,a6,t4
|
|
5526: 0017d613 srli a2,a5,0x1
|
|
552a: 84b6 mv s1,a3
|
|
552c: 0079f793 andi a5,s3,7
|
|
5530: e0079fe3 bnez a5,534e <__subdf3+0x11c>
|
|
5534: 01d61793 slli a5,a2,0x1d
|
|
5538: 0039d813 srli a6,s3,0x3
|
|
553c: 00f86833 or a6,a6,a5
|
|
5540: 85a6 mv a1,s1
|
|
5542: 00365793 srli a5,a2,0x3
|
|
5546: 7ff00713 li a4,2047
|
|
554a: 06e58063 beq a1,a4,55aa <__subdf3+0x378>
|
|
554e: 07b2 slli a5,a5,0xc
|
|
5550: 83b1 srli a5,a5,0xc
|
|
5552: 7ff5f713 andi a4,a1,2047
|
|
5556: 8805 andi s0,s0,1
|
|
5558: bd3d j 5396 <__subdf3+0x164>
|
|
555a: 01d76733 or a4,a4,t4
|
|
555e: 00e03833 snez a6,a4
|
|
5562: 01e809b3 add s3,a6,t5
|
|
5566: 01e9b7b3 sltu a5,s3,t5
|
|
556a: 00678633 add a2,a5,t1
|
|
556e: 00861793 slli a5,a2,0x8
|
|
5572: fa07dde3 bgez a5,552c <__subdf3+0x2fa>
|
|
5576: 0485 addi s1,s1,1
|
|
5578: 7ff00793 li a5,2047
|
|
557c: 18f49c63 bne s1,a5,5714 <__subdf3+0x4e2>
|
|
5580: 8805 andi s0,s0,1
|
|
5582: 7ff00713 li a4,2047
|
|
5586: 4781 li a5,0
|
|
5588: 4801 li a6,0
|
|
558a: b531 j 5396 <__subdf3+0x164>
|
|
558c: 10079163 bnez a5,568e <__subdf3+0x45c>
|
|
5590: 3c080163 beqz a6,5952 <__subdf3+0x720>
|
|
5594: 00361813 slli a6,a2,0x3
|
|
5598: 01d71793 slli a5,a4,0x1d
|
|
559c: 00385813 srli a6,a6,0x3
|
|
55a0: 00f86833 or a6,a6,a5
|
|
55a4: 8436 mv s0,a3
|
|
55a6: 00375793 srli a5,a4,0x3
|
|
55aa: 00f867b3 or a5,a6,a5
|
|
55ae: dbe9 beqz a5,5580 <__subdf3+0x34e>
|
|
55b0: 4401 li s0,0
|
|
55b2: 7ff00713 li a4,2047
|
|
55b6: 000807b7 lui a5,0x80
|
|
55ba: 4801 li a6,0
|
|
55bc: bbe9 j 5396 <__subdf3+0x164>
|
|
55be: ff800637 lui a2,0xff800
|
|
55c2: 167d addi a2,a2,-1
|
|
55c4: 8e7d and a2,a2,a5
|
|
55c6: 0079f793 andi a5,s3,7
|
|
55ca: 8c99 sub s1,s1,a4
|
|
55cc: d80791e3 bnez a5,534e <__subdf3+0x11c>
|
|
55d0: b795 j 5534 <__subdf3+0x302>
|
|
55d2: 854e mv a0,s3
|
|
55d4: 616010ef jal ra,6bea <__clzsi2>
|
|
55d8: 01850713 addi a4,a0,24
|
|
55dc: 47fd li a5,31
|
|
55de: d2e7d2e3 bge a5,a4,5302 <__subdf3+0xd0>
|
|
55e2: ff850613 addi a2,a0,-8
|
|
55e6: 00c997b3 sll a5,s3,a2
|
|
55ea: 4981 li s3,0
|
|
55ec: b32d j 5316 <__subdf3+0xe4>
|
|
55ee: 01d76833 or a6,a4,t4
|
|
55f2: 01003833 snez a6,a6
|
|
55f6: b1c5 j 52d6 <__subdf3+0xa4>
|
|
55f8: 00351813 slli a6,a0,0x3
|
|
55fc: 01d31793 slli a5,t1,0x1d
|
|
5600: 00385813 srli a6,a6,0x3
|
|
5604: 00f86833 or a6,a6,a5
|
|
5608: 00335793 srli a5,t1,0x3
|
|
560c: bf2d j 5546 <__subdf3+0x314>
|
|
560e: 41df09b3 sub s3,t5,t4
|
|
5612: 40e30933 sub s2,t1,a4
|
|
5616: 013f3633 sltu a2,t5,s3
|
|
561a: 40c90933 sub s2,s2,a2
|
|
561e: 00891793 slli a5,s2,0x8
|
|
5622: 2007ca63 bltz a5,5836 <__subdf3+0x604>
|
|
5626: 0129e833 or a6,s3,s2
|
|
562a: cc0815e3 bnez a6,52f4 <__subdf3+0xc2>
|
|
562e: 4781 li a5,0
|
|
5630: 4401 li s0,0
|
|
5632: bf31 j 554e <__subdf3+0x31c>
|
|
5634: 409885b3 sub a1,a7,s1
|
|
5638: 14048163 beqz s1,577a <__subdf3+0x548>
|
|
563c: 008006b7 lui a3,0x800
|
|
5640: 7ff00793 li a5,2047
|
|
5644: 00d36333 or t1,t1,a3
|
|
5648: 20f88163 beq a7,a5,584a <__subdf3+0x618>
|
|
564c: 03800793 li a5,56
|
|
5650: 22b7cc63 blt a5,a1,5888 <__subdf3+0x656>
|
|
5654: 47fd li a5,31
|
|
5656: 2cb7c963 blt a5,a1,5928 <__subdf3+0x6f6>
|
|
565a: 02000793 li a5,32
|
|
565e: 8f8d sub a5,a5,a1
|
|
5660: 00f31833 sll a6,t1,a5
|
|
5664: 00bf56b3 srl a3,t5,a1
|
|
5668: 00ff17b3 sll a5,t5,a5
|
|
566c: 00d86833 or a6,a6,a3
|
|
5670: 00f039b3 snez s3,a5
|
|
5674: 00b35333 srl t1,t1,a1
|
|
5678: 01386833 or a6,a6,s3
|
|
567c: 971a add a4,a4,t1
|
|
567e: 01d809b3 add s3,a6,t4
|
|
5682: 01d9b7b3 sltu a5,s3,t4
|
|
5686: 00e78633 add a2,a5,a4
|
|
568a: 84c6 mv s1,a7
|
|
568c: b5cd j 556e <__subdf3+0x33c>
|
|
568e: f20811e3 bnez a6,55b0 <__subdf3+0x37e>
|
|
5692: 00351813 slli a6,a0,0x3
|
|
5696: 01d31793 slli a5,t1,0x1d
|
|
569a: 00385813 srli a6,a6,0x3
|
|
569e: 00f86833 or a6,a6,a5
|
|
56a2: 00335793 srli a5,t1,0x3
|
|
56a6: b711 j 55aa <__subdf3+0x378>
|
|
56a8: 00800537 lui a0,0x800
|
|
56ac: 7ff00793 li a5,2047
|
|
56b0: 00a36333 or t1,t1,a0
|
|
56b4: e0f892e3 bne a7,a5,54b8 <__subdf3+0x286>
|
|
56b8: 060e slli a2,a2,0x3
|
|
56ba: 01d71813 slli a6,a4,0x1d
|
|
56be: 820d srli a2,a2,0x3
|
|
56c0: 00c86833 or a6,a6,a2
|
|
56c4: 00375793 srli a5,a4,0x3
|
|
56c8: 8436 mv s0,a3
|
|
56ca: b5c5 j 55aa <__subdf3+0x378>
|
|
56cc: 1705 addi a4,a4,-31
|
|
56ce: 02000693 li a3,32
|
|
56d2: 00e7d733 srl a4,a5,a4
|
|
56d6: 00d60a63 beq a2,a3,56ea <__subdf3+0x4b8>
|
|
56da: 04000693 li a3,64
|
|
56de: 40c68633 sub a2,a3,a2
|
|
56e2: 00c79633 sll a2,a5,a2
|
|
56e6: 00c9e9b3 or s3,s3,a2
|
|
56ea: 01303833 snez a6,s3
|
|
56ee: 00e869b3 or s3,a6,a4
|
|
56f2: 4601 li a2,0
|
|
56f4: 4481 li s1,0
|
|
56f6: bd1d j 552c <__subdf3+0x2fa>
|
|
56f8: 01df09b3 add s3,t5,t4
|
|
56fc: 00e307b3 add a5,t1,a4
|
|
5700: 01e9bf33 sltu t5,s3,t5
|
|
5704: 01e78633 add a2,a5,t5
|
|
5708: 00861793 slli a5,a2,0x8
|
|
570c: 4485 li s1,1
|
|
570e: e007dfe3 bgez a5,552c <__subdf3+0x2fa>
|
|
5712: 4489 li s1,2
|
|
5714: ff8007b7 lui a5,0xff800
|
|
5718: 17fd addi a5,a5,-1
|
|
571a: 8ff1 and a5,a5,a2
|
|
571c: 0019d713 srli a4,s3,0x1
|
|
5720: 0019f813 andi a6,s3,1
|
|
5724: 01076833 or a6,a4,a6
|
|
5728: 01f79993 slli s3,a5,0x1f
|
|
572c: 0109e9b3 or s3,s3,a6
|
|
5730: 0017d613 srli a2,a5,0x1
|
|
5734: b911 j 5348 <__subdf3+0x116>
|
|
5736: fe058813 addi a6,a1,-32
|
|
573a: 02000793 li a5,32
|
|
573e: 010759b3 srl s3,a4,a6
|
|
5742: 00f58a63 beq a1,a5,5756 <__subdf3+0x524>
|
|
5746: 04000793 li a5,64
|
|
574a: 40b785b3 sub a1,a5,a1
|
|
574e: 00b71733 sll a4,a4,a1
|
|
5752: 00eeeeb3 or t4,t4,a4
|
|
5756: 01d03833 snez a6,t4
|
|
575a: 01386833 or a6,a6,s3
|
|
575e: bea5 j 52d6 <__subdf3+0xa4>
|
|
5760: 01e36333 or t1,t1,t5
|
|
5764: 00603833 snez a6,t1
|
|
5768: 410e89b3 sub s3,t4,a6
|
|
576c: 013eb7b3 sltu a5,t4,s3
|
|
5770: 40f70633 sub a2,a4,a5
|
|
5774: 84c6 mv s1,a7
|
|
5776: 8436 mv s0,a3
|
|
5778: b6ad j 52e2 <__subdf3+0xb0>
|
|
577a: 01e367b3 or a5,t1,t5
|
|
577e: 18078763 beqz a5,590c <__subdf3+0x6da>
|
|
5782: fff58793 addi a5,a1,-1
|
|
5786: 1c078c63 beqz a5,595e <__subdf3+0x72c>
|
|
578a: 7ff00693 li a3,2047
|
|
578e: 0ad58e63 beq a1,a3,584a <__subdf3+0x618>
|
|
5792: 85be mv a1,a5
|
|
5794: bd65 j 564c <__subdf3+0x41a>
|
|
5796: 02000793 li a5,32
|
|
579a: 8f8d sub a5,a5,a1
|
|
579c: 00bed9b3 srl s3,t4,a1
|
|
57a0: 00f71833 sll a6,a4,a5
|
|
57a4: 00fe9eb3 sll t4,t4,a5
|
|
57a8: 01386833 or a6,a6,s3
|
|
57ac: 00b75733 srl a4,a4,a1
|
|
57b0: 01d039b3 snez s3,t4
|
|
57b4: 01386833 or a6,a6,s3
|
|
57b8: 933a add t1,t1,a4
|
|
57ba: b365 j 5562 <__subdf3+0x330>
|
|
57bc: 00361813 slli a6,a2,0x3
|
|
57c0: 01d71793 slli a5,a4,0x1d
|
|
57c4: 00385813 srli a6,a6,0x3
|
|
57c8: 0107e833 or a6,a5,a6
|
|
57cc: 8436 mv s0,a3
|
|
57ce: 00375793 srli a5,a4,0x3
|
|
57d2: bb95 j 5546 <__subdf3+0x314>
|
|
57d4: cbbd beqz a5,584a <__subdf3+0x618>
|
|
57d6: 01d76733 or a4,a4,t4
|
|
57da: dc071be3 bnez a4,55b0 <__subdf3+0x37e>
|
|
57de: 050e slli a0,a0,0x3
|
|
57e0: 01d31813 slli a6,t1,0x1d
|
|
57e4: 810d srli a0,a0,0x3
|
|
57e6: 00a86833 or a6,a6,a0
|
|
57ea: 00335793 srli a5,t1,0x3
|
|
57ee: bb75 j 55aa <__subdf3+0x378>
|
|
57f0: e2080fe3 beqz a6,562e <__subdf3+0x3fc>
|
|
57f4: 00361813 slli a6,a2,0x3
|
|
57f8: 01d71793 slli a5,a4,0x1d
|
|
57fc: 00385813 srli a6,a6,0x3
|
|
5800: 00f86833 or a6,a6,a5
|
|
5804: 8436 mv s0,a3
|
|
5806: 00375793 srli a5,a4,0x3
|
|
580a: b391 j 554e <__subdf3+0x31c>
|
|
580c: 41df09b3 sub s3,t5,t4
|
|
5810: 40e307b3 sub a5,t1,a4
|
|
5814: 013f3f33 sltu t5,t5,s3
|
|
5818: 41e78633 sub a2,a5,t5
|
|
581c: 4485 li s1,1
|
|
581e: b4d1 j 52e2 <__subdf3+0xb0>
|
|
5820: 00351813 slli a6,a0,0x3
|
|
5824: 01d31693 slli a3,t1,0x1d
|
|
5828: 00385813 srli a6,a6,0x3
|
|
582c: 0106e833 or a6,a3,a6
|
|
5830: 00335793 srli a5,t1,0x3
|
|
5834: bb9d j 55aa <__subdf3+0x378>
|
|
5836: 41ee89b3 sub s3,t4,t5
|
|
583a: 40670633 sub a2,a4,t1
|
|
583e: 013eb933 sltu s2,t4,s3
|
|
5842: 41260933 sub s2,a2,s2
|
|
5846: 8436 mv s0,a3
|
|
5848: b475 j 52f4 <__subdf3+0xc2>
|
|
584a: 060e slli a2,a2,0x3
|
|
584c: 01d71813 slli a6,a4,0x1d
|
|
5850: 820d srli a2,a2,0x3
|
|
5852: 00c86833 or a6,a6,a2
|
|
5856: 00375793 srli a5,a4,0x3
|
|
585a: bb81 j 55aa <__subdf3+0x378>
|
|
585c: 41df09b3 sub s3,t5,t4
|
|
5860: 40e307b3 sub a5,t1,a4
|
|
5864: 013f3633 sltu a2,t5,s3
|
|
5868: 40c78633 sub a2,a5,a2
|
|
586c: 00861793 slli a5,a2,0x8
|
|
5870: 0a07d763 bgez a5,591e <__subdf3+0x6ec>
|
|
5874: 41ee89b3 sub s3,t4,t5
|
|
5878: 406707b3 sub a5,a4,t1
|
|
587c: 013ebeb3 sltu t4,t4,s3
|
|
5880: 41d78633 sub a2,a5,t4
|
|
5884: 8436 mv s0,a3
|
|
5886: b4c9 j 5348 <__subdf3+0x116>
|
|
5888: 01e36333 or t1,t1,t5
|
|
588c: 00603833 snez a6,t1
|
|
5890: b3fd j 567e <__subdf3+0x44c>
|
|
5892: fe058813 addi a6,a1,-32
|
|
5896: 02000793 li a5,32
|
|
589a: 010359b3 srl s3,t1,a6
|
|
589e: 00f58a63 beq a1,a5,58b2 <__subdf3+0x680>
|
|
58a2: 04000793 li a5,64
|
|
58a6: 40b785b3 sub a1,a5,a1
|
|
58aa: 00b31333 sll t1,t1,a1
|
|
58ae: 006f6f33 or t5,t5,t1
|
|
58b2: 01e03833 snez a6,t5
|
|
58b6: 01386833 or a6,a6,s3
|
|
58ba: b57d j 5768 <__subdf3+0x536>
|
|
58bc: 41ee89b3 sub s3,t4,t5
|
|
58c0: 406707b3 sub a5,a4,t1
|
|
58c4: 013ebeb3 sltu t4,t4,s3
|
|
58c8: 41d78633 sub a2,a5,t4
|
|
58cc: 8436 mv s0,a3
|
|
58ce: 4485 li s1,1
|
|
58d0: bc09 j 52e2 <__subdf3+0xb0>
|
|
58d2: 00361813 slli a6,a2,0x3
|
|
58d6: 01d71793 slli a5,a4,0x1d
|
|
58da: 00385813 srli a6,a6,0x3
|
|
58de: 00f86833 or a6,a6,a5
|
|
58e2: 00375793 srli a5,a4,0x3
|
|
58e6: b1a5 j 554e <__subdf3+0x31c>
|
|
58e8: 01df09b3 add s3,t5,t4
|
|
58ec: 00e307b3 add a5,t1,a4
|
|
58f0: 01e9bf33 sltu t5,s3,t5
|
|
58f4: 01e78633 add a2,a5,t5
|
|
58f8: 00861793 slli a5,a2,0x8
|
|
58fc: c207d8e3 bgez a5,552c <__subdf3+0x2fa>
|
|
5900: ff8007b7 lui a5,0xff800
|
|
5904: 17fd addi a5,a5,-1
|
|
5906: 8e7d and a2,a2,a5
|
|
5908: 4485 li s1,1
|
|
590a: b10d j 552c <__subdf3+0x2fa>
|
|
590c: 060e slli a2,a2,0x3
|
|
590e: 01d71813 slli a6,a4,0x1d
|
|
5912: 820d srli a2,a2,0x3
|
|
5914: 00c86833 or a6,a6,a2
|
|
5918: 00375793 srli a5,a4,0x3
|
|
591c: b12d j 5546 <__subdf3+0x314>
|
|
591e: 00c9e833 or a6,s3,a2
|
|
5922: d00806e3 beqz a6,562e <__subdf3+0x3fc>
|
|
5926: b119 j 552c <__subdf3+0x2fa>
|
|
5928: fe058813 addi a6,a1,-32
|
|
592c: 02000793 li a5,32
|
|
5930: 010359b3 srl s3,t1,a6
|
|
5934: 00f58a63 beq a1,a5,5948 <__subdf3+0x716>
|
|
5938: 04000793 li a5,64
|
|
593c: 40b785b3 sub a1,a5,a1
|
|
5940: 00b31333 sll t1,t1,a1
|
|
5944: 006f6f33 or t5,t5,t1
|
|
5948: 01e03833 snez a6,t5
|
|
594c: 01386833 or a6,a6,s3
|
|
5950: b33d j 567e <__subdf3+0x44c>
|
|
5952: 4401 li s0,0
|
|
5954: 7ff00713 li a4,2047
|
|
5958: 000807b7 lui a5,0x80
|
|
595c: bc2d j 5396 <__subdf3+0x164>
|
|
595e: 01df09b3 add s3,t5,t4
|
|
5962: 00e307b3 add a5,t1,a4
|
|
5966: 01d9beb3 sltu t4,s3,t4
|
|
596a: 01d78633 add a2,a5,t4
|
|
596e: bb69 j 5708 <__subdf3+0x4d6>
|
|
|
|
00005970 <__floatsidf>:
|
|
5970: 1141 addi sp,sp,-16
|
|
5972: c606 sw ra,12(sp)
|
|
5974: c422 sw s0,8(sp)
|
|
5976: c226 sw s1,4(sp)
|
|
5978: cd0d beqz a0,59b2 <__floatsidf+0x42>
|
|
597a: 41f55793 srai a5,a0,0x1f
|
|
597e: 00a7c4b3 xor s1,a5,a0
|
|
5982: 8c9d sub s1,s1,a5
|
|
5984: 842a mv s0,a0
|
|
5986: 8526 mv a0,s1
|
|
5988: 262010ef jal ra,6bea <__clzsi2>
|
|
598c: 41e00693 li a3,1054
|
|
5990: 8e89 sub a3,a3,a0
|
|
5992: 47a9 li a5,10
|
|
5994: 807d srli s0,s0,0x1f
|
|
5996: 7ff6f693 andi a3,a3,2047
|
|
599a: 02a7cd63 blt a5,a0,59d4 <__floatsidf+0x64>
|
|
599e: 472d li a4,11
|
|
59a0: 8f09 sub a4,a4,a0
|
|
59a2: 00e4d7b3 srl a5,s1,a4
|
|
59a6: 0555 addi a0,a0,21
|
|
59a8: 07b2 slli a5,a5,0xc
|
|
59aa: 00a494b3 sll s1,s1,a0
|
|
59ae: 83b1 srli a5,a5,0xc
|
|
59b0: a029 j 59ba <__floatsidf+0x4a>
|
|
59b2: 4401 li s0,0
|
|
59b4: 4681 li a3,0
|
|
59b6: 4781 li a5,0
|
|
59b8: 4481 li s1,0
|
|
59ba: 07b2 slli a5,a5,0xc
|
|
59bc: 06d2 slli a3,a3,0x14
|
|
59be: 83b1 srli a5,a5,0xc
|
|
59c0: 047e slli s0,s0,0x1f
|
|
59c2: 8fd5 or a5,a5,a3
|
|
59c4: 8fc1 or a5,a5,s0
|
|
59c6: 40b2 lw ra,12(sp)
|
|
59c8: 4422 lw s0,8(sp)
|
|
59ca: 8526 mv a0,s1
|
|
59cc: 85be mv a1,a5
|
|
59ce: 4492 lw s1,4(sp)
|
|
59d0: 0141 addi sp,sp,16
|
|
59d2: 8082 ret
|
|
59d4: 1555 addi a0,a0,-11
|
|
59d6: 00a497b3 sll a5,s1,a0
|
|
59da: 07b2 slli a5,a5,0xc
|
|
59dc: 83b1 srli a5,a5,0xc
|
|
59de: 4481 li s1,0
|
|
59e0: bfe9 j 59ba <__floatsidf+0x4a>
|
|
|
|
000059e2 <__addsf3>:
|
|
59e2: 1141 addi sp,sp,-16
|
|
59e4: 00800737 lui a4,0x800
|
|
59e8: 177d addi a4,a4,-1
|
|
59ea: 0175d813 srli a6,a1,0x17
|
|
59ee: c226 sw s1,4(sp)
|
|
59f0: 01755493 srli s1,a0,0x17
|
|
59f4: 00a77333 and t1,a4,a0
|
|
59f8: 0ff4f493 andi s1,s1,255
|
|
59fc: 00b776b3 and a3,a4,a1
|
|
5a00: c04a sw s2,0(sp)
|
|
5a02: 0ff87813 andi a6,a6,255
|
|
5a06: 01f55913 srli s2,a0,0x1f
|
|
5a0a: c606 sw ra,12(sp)
|
|
5a0c: c422 sw s0,8(sp)
|
|
5a0e: 81fd srli a1,a1,0x1f
|
|
5a10: 879a mv a5,t1
|
|
5a12: 8526 mv a0,s1
|
|
5a14: 864a mv a2,s2
|
|
5a16: 00331e13 slli t3,t1,0x3
|
|
5a1a: 00369e93 slli t4,a3,0x3
|
|
5a1e: 410488b3 sub a7,s1,a6
|
|
5a22: 0eb90a63 beq s2,a1,5b16 <__addsf3+0x134>
|
|
5a26: 0d105063 blez a7,5ae6 <__addsf3+0x104>
|
|
5a2a: 14080463 beqz a6,5b72 <__addsf3+0x190>
|
|
5a2e: 0ff00793 li a5,255
|
|
5a32: 14f48b63 beq s1,a5,5b88 <__addsf3+0x1a6>
|
|
5a36: 040007b7 lui a5,0x4000
|
|
5a3a: 00feeeb3 or t4,t4,a5
|
|
5a3e: 47ed li a5,27
|
|
5a40: 2917c163 blt a5,a7,5cc2 <__addsf3+0x2e0>
|
|
5a44: 02000793 li a5,32
|
|
5a48: 411787b3 sub a5,a5,a7
|
|
5a4c: 00fe97b3 sll a5,t4,a5
|
|
5a50: 011ed8b3 srl a7,t4,a7
|
|
5a54: 00f037b3 snez a5,a5
|
|
5a58: 00f8e7b3 or a5,a7,a5
|
|
5a5c: 40fe07b3 sub a5,t3,a5
|
|
5a60: 00579713 slli a4,a5,0x5
|
|
5a64: 18075e63 bgez a4,5c00 <__addsf3+0x21e>
|
|
5a68: 04000437 lui s0,0x4000
|
|
5a6c: 147d addi s0,s0,-1
|
|
5a6e: 8c7d and s0,s0,a5
|
|
5a70: 8522 mv a0,s0
|
|
5a72: 178010ef jal ra,6bea <__clzsi2>
|
|
5a76: 156d addi a0,a0,-5
|
|
5a78: 00a417b3 sll a5,s0,a0
|
|
5a7c: 1a954863 blt a0,s1,5c2c <__addsf3+0x24a>
|
|
5a80: 8d05 sub a0,a0,s1
|
|
5a82: 00150413 addi s0,a0,1 # 800001 <_data_lma+0x7f7111>
|
|
5a86: 02000713 li a4,32
|
|
5a8a: 8f01 sub a4,a4,s0
|
|
5a8c: 00e79733 sll a4,a5,a4
|
|
5a90: 00e03733 snez a4,a4
|
|
5a94: 0087d7b3 srl a5,a5,s0
|
|
5a98: 8fd9 or a5,a5,a4
|
|
5a9a: 4481 li s1,0
|
|
5a9c: 0077f713 andi a4,a5,7
|
|
5aa0: c719 beqz a4,5aae <__addsf3+0xcc>
|
|
5aa2: 00f7f713 andi a4,a5,15
|
|
5aa6: 4691 li a3,4
|
|
5aa8: 00d70363 beq a4,a3,5aae <__addsf3+0xcc>
|
|
5aac: 0791 addi a5,a5,4
|
|
5aae: 00579713 slli a4,a5,0x5
|
|
5ab2: 14075b63 bgez a4,5c08 <__addsf3+0x226>
|
|
5ab6: 0485 addi s1,s1,1
|
|
5ab8: 0ff00713 li a4,255
|
|
5abc: 864a mv a2,s2
|
|
5abe: 16e48363 beq s1,a4,5c24 <__addsf3+0x242>
|
|
5ac2: 079a slli a5,a5,0x6
|
|
5ac4: 83a5 srli a5,a5,0x9
|
|
5ac6: 0ff4f513 andi a0,s1,255
|
|
5aca: 40b2 lw ra,12(sp)
|
|
5acc: 4422 lw s0,8(sp)
|
|
5ace: 07a6 slli a5,a5,0x9
|
|
5ad0: 01751493 slli s1,a0,0x17
|
|
5ad4: 0097d513 srli a0,a5,0x9
|
|
5ad8: 8d45 or a0,a0,s1
|
|
5ada: 067e slli a2,a2,0x1f
|
|
5adc: 4492 lw s1,4(sp)
|
|
5ade: 4902 lw s2,0(sp)
|
|
5ae0: 8d51 or a0,a0,a2
|
|
5ae2: 0141 addi sp,sp,16
|
|
5ae4: 8082 ret
|
|
5ae6: 0a089963 bnez a7,5b98 <__addsf3+0x1b6>
|
|
5aea: 00148713 addi a4,s1,1
|
|
5aee: 0fe77713 andi a4,a4,254
|
|
5af2: 14071763 bnez a4,5c40 <__addsf3+0x25e>
|
|
5af6: 22049063 bnez s1,5d16 <__addsf3+0x334>
|
|
5afa: 1e0e0d63 beqz t3,5cf4 <__addsf3+0x312>
|
|
5afe: fc0e86e3 beqz t4,5aca <__addsf3+0xe8>
|
|
5b02: 41de07b3 sub a5,t3,t4
|
|
5b06: 00579713 slli a4,a5,0x5
|
|
5b0a: 22075063 bgez a4,5d2a <__addsf3+0x348>
|
|
5b0e: 41ce87b3 sub a5,t4,t3
|
|
5b12: 892e mv s2,a1
|
|
5b14: b761 j 5a9c <__addsf3+0xba>
|
|
5b16: 0b105c63 blez a7,5bce <__addsf3+0x1ec>
|
|
5b1a: 08080e63 beqz a6,5bb6 <__addsf3+0x1d4>
|
|
5b1e: 0ff00793 li a5,255
|
|
5b22: 06f48363 beq s1,a5,5b88 <__addsf3+0x1a6>
|
|
5b26: 040007b7 lui a5,0x4000
|
|
5b2a: 00feeeb3 or t4,t4,a5
|
|
5b2e: 47ed li a5,27
|
|
5b30: 1f17c963 blt a5,a7,5d22 <__addsf3+0x340>
|
|
5b34: 02000793 li a5,32
|
|
5b38: 411787b3 sub a5,a5,a7
|
|
5b3c: 00fe97b3 sll a5,t4,a5
|
|
5b40: 011ed8b3 srl a7,t4,a7
|
|
5b44: 00f037b3 snez a5,a5
|
|
5b48: 00f8e7b3 or a5,a7,a5
|
|
5b4c: 97f2 add a5,a5,t3
|
|
5b4e: 00579713 slli a4,a5,0x5
|
|
5b52: 0a075763 bgez a4,5c00 <__addsf3+0x21e>
|
|
5b56: 0485 addi s1,s1,1
|
|
5b58: 0ff00713 li a4,255
|
|
5b5c: 0ce48463 beq s1,a4,5c24 <__addsf3+0x242>
|
|
5b60: 7e0006b7 lui a3,0x7e000
|
|
5b64: 0017d713 srli a4,a5,0x1
|
|
5b68: 16fd addi a3,a3,-1
|
|
5b6a: 8b85 andi a5,a5,1
|
|
5b6c: 8f75 and a4,a4,a3
|
|
5b6e: 8fd9 or a5,a5,a4
|
|
5b70: b735 j 5a9c <__addsf3+0xba>
|
|
5b72: 080e8d63 beqz t4,5c0c <__addsf3+0x22a>
|
|
5b76: 18fd addi a7,a7,-1
|
|
5b78: 41de07b3 sub a5,t3,t4
|
|
5b7c: ee0882e3 beqz a7,5a60 <__addsf3+0x7e>
|
|
5b80: 0ff00793 li a5,255
|
|
5b84: eaf49de3 bne s1,a5,5a3e <__addsf3+0x5c>
|
|
5b88: 08030d63 beqz t1,5c22 <__addsf3+0x240>
|
|
5b8c: 4601 li a2,0
|
|
5b8e: 0ff00513 li a0,255
|
|
5b92: 004007b7 lui a5,0x400
|
|
5b96: bf15 j 5aca <__addsf3+0xe8>
|
|
5b98: 40980733 sub a4,a6,s1
|
|
5b9c: e8ed bnez s1,5c8e <__addsf3+0x2ac>
|
|
5b9e: 140e0263 beqz t3,5ce2 <__addsf3+0x300>
|
|
5ba2: 177d addi a4,a4,-1
|
|
5ba4: 18070863 beqz a4,5d34 <__addsf3+0x352>
|
|
5ba8: 0ff00793 li a5,255
|
|
5bac: 0ef81963 bne a6,a5,5c9e <__addsf3+0x2bc>
|
|
5bb0: 892e mv s2,a1
|
|
5bb2: 8336 mv t1,a3
|
|
5bb4: bfd1 j 5b88 <__addsf3+0x1a6>
|
|
5bb6: 040e8b63 beqz t4,5c0c <__addsf3+0x22a>
|
|
5bba: 18fd addi a7,a7,-1
|
|
5bbc: 01de07b3 add a5,t3,t4
|
|
5bc0: f80887e3 beqz a7,5b4e <__addsf3+0x16c>
|
|
5bc4: 0ff00793 li a5,255
|
|
5bc8: f6f493e3 bne s1,a5,5b2e <__addsf3+0x14c>
|
|
5bcc: bf75 j 5b88 <__addsf3+0x1a6>
|
|
5bce: 08089563 bnez a7,5c58 <__addsf3+0x276>
|
|
5bd2: 0485 addi s1,s1,1
|
|
5bd4: 0fe4f713 andi a4,s1,254
|
|
5bd8: 12071363 bnez a4,5cfe <__addsf3+0x31c>
|
|
5bdc: 10051763 bnez a0,5cea <__addsf3+0x308>
|
|
5be0: 140e0f63 beqz t3,5d3e <__addsf3+0x35c>
|
|
5be4: ee0e83e3 beqz t4,5aca <__addsf3+0xe8>
|
|
5be8: 01de07b3 add a5,t3,t4
|
|
5bec: 00579713 slli a4,a5,0x5
|
|
5bf0: 4481 li s1,0
|
|
5bf2: 00075763 bgez a4,5c00 <__addsf3+0x21e>
|
|
5bf6: fc000737 lui a4,0xfc000
|
|
5bfa: 177d addi a4,a4,-1
|
|
5bfc: 8ff9 and a5,a5,a4
|
|
5bfe: 4485 li s1,1
|
|
5c00: 0077f713 andi a4,a5,7
|
|
5c04: e8071fe3 bnez a4,5aa2 <__addsf3+0xc0>
|
|
5c08: 0037d313 srli t1,a5,0x3
|
|
5c0c: 0ff00793 li a5,255
|
|
5c10: f6f48ce3 beq s1,a5,5b88 <__addsf3+0x1a6>
|
|
5c14: 00931793 slli a5,t1,0x9
|
|
5c18: 83a5 srli a5,a5,0x9
|
|
5c1a: 0ff4f513 andi a0,s1,255
|
|
5c1e: 864a mv a2,s2
|
|
5c20: b56d j 5aca <__addsf3+0xe8>
|
|
5c22: 864a mv a2,s2
|
|
5c24: 0ff00513 li a0,255
|
|
5c28: 4781 li a5,0
|
|
5c2a: b545 j 5aca <__addsf3+0xe8>
|
|
5c2c: fc000737 lui a4,0xfc000
|
|
5c30: 177d addi a4,a4,-1
|
|
5c32: 8ff9 and a5,a5,a4
|
|
5c34: 0077f713 andi a4,a5,7
|
|
5c38: 8c89 sub s1,s1,a0
|
|
5c3a: e60714e3 bnez a4,5aa2 <__addsf3+0xc0>
|
|
5c3e: b7e9 j 5c08 <__addsf3+0x226>
|
|
5c40: 41de0433 sub s0,t3,t4
|
|
5c44: 00541793 slli a5,s0,0x5
|
|
5c48: 0c07c363 bltz a5,5d0e <__addsf3+0x32c>
|
|
5c4c: e20412e3 bnez s0,5a70 <__addsf3+0x8e>
|
|
5c50: 4601 li a2,0
|
|
5c52: 4501 li a0,0
|
|
5c54: 4781 li a5,0
|
|
5c56: bd95 j 5aca <__addsf3+0xe8>
|
|
5c58: 40980733 sub a4,a6,s1
|
|
5c5c: c4ad beqz s1,5cc6 <__addsf3+0x2e4>
|
|
5c5e: 0ff00793 li a5,255
|
|
5c62: f4f808e3 beq a6,a5,5bb2 <__addsf3+0x1d0>
|
|
5c66: 040007b7 lui a5,0x4000
|
|
5c6a: 00fe6e33 or t3,t3,a5
|
|
5c6e: 47ed li a5,27
|
|
5c70: 0ce7cc63 blt a5,a4,5d48 <__addsf3+0x366>
|
|
5c74: 02000793 li a5,32
|
|
5c78: 8f99 sub a5,a5,a4
|
|
5c7a: 00fe17b3 sll a5,t3,a5
|
|
5c7e: 00ee5733 srl a4,t3,a4
|
|
5c82: 00f037b3 snez a5,a5
|
|
5c86: 8fd9 or a5,a5,a4
|
|
5c88: 97f6 add a5,a5,t4
|
|
5c8a: 84c2 mv s1,a6
|
|
5c8c: b5c9 j 5b4e <__addsf3+0x16c>
|
|
5c8e: 0ff00793 li a5,255
|
|
5c92: f0f80fe3 beq a6,a5,5bb0 <__addsf3+0x1ce>
|
|
5c96: 040007b7 lui a5,0x4000
|
|
5c9a: 00fe6e33 or t3,t3,a5
|
|
5c9e: 47ed li a5,27
|
|
5ca0: 08e7c363 blt a5,a4,5d26 <__addsf3+0x344>
|
|
5ca4: 02000693 li a3,32
|
|
5ca8: 8e99 sub a3,a3,a4
|
|
5caa: 00de16b3 sll a3,t3,a3
|
|
5cae: 00ee57b3 srl a5,t3,a4
|
|
5cb2: 00d03733 snez a4,a3
|
|
5cb6: 8fd9 or a5,a5,a4
|
|
5cb8: 40fe87b3 sub a5,t4,a5
|
|
5cbc: 84c2 mv s1,a6
|
|
5cbe: 892e mv s2,a1
|
|
5cc0: b345 j 5a60 <__addsf3+0x7e>
|
|
5cc2: 4785 li a5,1
|
|
5cc4: bb61 j 5a5c <__addsf3+0x7a>
|
|
5cc6: 060e0e63 beqz t3,5d42 <__addsf3+0x360>
|
|
5cca: 177d addi a4,a4,-1
|
|
5ccc: 01de07b3 add a5,t3,t4
|
|
5cd0: 84c2 mv s1,a6
|
|
5cd2: e6070ee3 beqz a4,5b4e <__addsf3+0x16c>
|
|
5cd6: 0ff00793 li a5,255
|
|
5cda: f8f81ae3 bne a6,a5,5c6e <__addsf3+0x28c>
|
|
5cde: 8336 mv t1,a3
|
|
5ce0: b565 j 5b88 <__addsf3+0x1a6>
|
|
5ce2: 8336 mv t1,a3
|
|
5ce4: 84c2 mv s1,a6
|
|
5ce6: 892e mv s2,a1
|
|
5ce8: b715 j 5c0c <__addsf3+0x22a>
|
|
5cea: ec0e04e3 beqz t3,5bb2 <__addsf3+0x1d0>
|
|
5cee: e80e8de3 beqz t4,5b88 <__addsf3+0x1a6>
|
|
5cf2: bd69 j 5b8c <__addsf3+0x1aa>
|
|
5cf4: 020e8d63 beqz t4,5d2e <__addsf3+0x34c>
|
|
5cf8: 862e mv a2,a1
|
|
5cfa: 87b6 mv a5,a3
|
|
5cfc: b3f9 j 5aca <__addsf3+0xe8>
|
|
5cfe: 0ff00793 li a5,255
|
|
5d02: f2f481e3 beq s1,a5,5c24 <__addsf3+0x242>
|
|
5d06: 01de07b3 add a5,t3,t4
|
|
5d0a: 8385 srli a5,a5,0x1
|
|
5d0c: bdd5 j 5c00 <__addsf3+0x21e>
|
|
5d0e: 41ce8433 sub s0,t4,t3
|
|
5d12: 892e mv s2,a1
|
|
5d14: bbb1 j 5a70 <__addsf3+0x8e>
|
|
5d16: fc0e1ce3 bnez t3,5cee <__addsf3+0x30c>
|
|
5d1a: e60e89e3 beqz t4,5b8c <__addsf3+0x1aa>
|
|
5d1e: 892e mv s2,a1
|
|
5d20: bd49 j 5bb2 <__addsf3+0x1d0>
|
|
5d22: 4785 li a5,1
|
|
5d24: b525 j 5b4c <__addsf3+0x16a>
|
|
5d26: 4785 li a5,1
|
|
5d28: bf41 j 5cb8 <__addsf3+0x2d6>
|
|
5d2a: ec079be3 bnez a5,5c00 <__addsf3+0x21e>
|
|
5d2e: 4601 li a2,0
|
|
5d30: 4781 li a5,0
|
|
5d32: bb61 j 5aca <__addsf3+0xe8>
|
|
5d34: 41ce87b3 sub a5,t4,t3
|
|
5d38: 84c2 mv s1,a6
|
|
5d3a: 892e mv s2,a1
|
|
5d3c: b315 j 5a60 <__addsf3+0x7e>
|
|
5d3e: 87b6 mv a5,a3
|
|
5d40: b369 j 5aca <__addsf3+0xe8>
|
|
5d42: 8336 mv t1,a3
|
|
5d44: 84c2 mv s1,a6
|
|
5d46: b5d9 j 5c0c <__addsf3+0x22a>
|
|
5d48: 4785 li a5,1
|
|
5d4a: bf3d j 5c88 <__addsf3+0x2a6>
|
|
|
|
00005d4c <__divsf3>:
|
|
5d4c: 7139 addi sp,sp,-64
|
|
5d4e: 01755793 srli a5,a0,0x17
|
|
5d52: d84a sw s2,48(sp)
|
|
5d54: d256 sw s5,36(sp)
|
|
5d56: ce5e sw s7,28(sp)
|
|
5d58: 00951a93 slli s5,a0,0x9
|
|
5d5c: 01f55913 srli s2,a0,0x1f
|
|
5d60: de06 sw ra,60(sp)
|
|
5d62: dc22 sw s0,56(sp)
|
|
5d64: da26 sw s1,52(sp)
|
|
5d66: d64e sw s3,44(sp)
|
|
5d68: d452 sw s4,40(sp)
|
|
5d6a: d05a sw s6,32(sp)
|
|
5d6c: 0ff7f793 andi a5,a5,255
|
|
5d70: 009ada93 srli s5,s5,0x9
|
|
5d74: 8bca mv s7,s2
|
|
5d76: 12078263 beqz a5,5e9a <__divsf3+0x14e>
|
|
5d7a: 0ff00713 li a4,255
|
|
5d7e: 12e78463 beq a5,a4,5ea6 <__divsf3+0x15a>
|
|
5d82: 0a8e slli s5,s5,0x3
|
|
5d84: 04000737 lui a4,0x4000
|
|
5d88: 00eaeab3 or s5,s5,a4
|
|
5d8c: f8178a13 addi s4,a5,-127 # 3ffff81 <_data_lma+0x3ff7091>
|
|
5d90: 4401 li s0,0
|
|
5d92: 4b01 li s6,0
|
|
5d94: 0175d793 srli a5,a1,0x17
|
|
5d98: 00959493 slli s1,a1,0x9
|
|
5d9c: 0ff7f793 andi a5,a5,255
|
|
5da0: 80a5 srli s1,s1,0x9
|
|
5da2: 01f5d993 srli s3,a1,0x1f
|
|
5da6: c7fd beqz a5,5e94 <__divsf3+0x148>
|
|
5da8: 0ff00713 li a4,255
|
|
5dac: 02e78763 beq a5,a4,5dda <__divsf3+0x8e>
|
|
5db0: 048e slli s1,s1,0x3
|
|
5db2: f8178793 addi a5,a5,-127
|
|
5db6: 04000737 lui a4,0x4000
|
|
5dba: 8cd9 or s1,s1,a4
|
|
5dbc: 40fa0a33 sub s4,s4,a5
|
|
5dc0: 4681 li a3,0
|
|
5dc2: 8c55 or s0,s0,a3
|
|
5dc4: 00003717 auipc a4,0x3
|
|
5dc8: ed070713 addi a4,a4,-304 # 8c94 <mosTemperADC+0x7a4>
|
|
5dcc: 040a slli s0,s0,0x2
|
|
5dce: 943a add s0,s0,a4
|
|
5dd0: 401c lw a5,0(s0)
|
|
5dd2: 01394933 xor s2,s2,s3
|
|
5dd6: 97ba add a5,a5,a4
|
|
5dd8: 8782 jr a5
|
|
5dda: f01a0a13 addi s4,s4,-255
|
|
5dde: e8f9 bnez s1,5eb4 <__divsf3+0x168>
|
|
5de0: 4689 li a3,2
|
|
5de2: 8c55 or s0,s0,a3
|
|
5de4: 00003717 auipc a4,0x3
|
|
5de8: ef070713 addi a4,a4,-272 # 8cd4 <mosTemperADC+0x7e4>
|
|
5dec: 040a slli s0,s0,0x2
|
|
5dee: 943a add s0,s0,a4
|
|
5df0: 401c lw a5,0(s0)
|
|
5df2: 01394933 xor s2,s2,s3
|
|
5df6: 97ba add a5,a5,a4
|
|
5df8: 8782 jr a5
|
|
5dfa: 4901 li s2,0
|
|
5dfc: 0ff00713 li a4,255
|
|
5e00: 004007b7 lui a5,0x400
|
|
5e04: 00979513 slli a0,a5,0x9
|
|
5e08: 50f2 lw ra,60(sp)
|
|
5e0a: 5462 lw s0,56(sp)
|
|
5e0c: 01771793 slli a5,a4,0x17
|
|
5e10: 8125 srli a0,a0,0x9
|
|
5e12: 097e slli s2,s2,0x1f
|
|
5e14: 8d5d or a0,a0,a5
|
|
5e16: 01256533 or a0,a0,s2
|
|
5e1a: 54d2 lw s1,52(sp)
|
|
5e1c: 5942 lw s2,48(sp)
|
|
5e1e: 59b2 lw s3,44(sp)
|
|
5e20: 5a22 lw s4,40(sp)
|
|
5e22: 5a92 lw s5,36(sp)
|
|
5e24: 5b02 lw s6,32(sp)
|
|
5e26: 4bf2 lw s7,28(sp)
|
|
5e28: 6121 addi sp,sp,64
|
|
5e2a: 8082 ret
|
|
5e2c: 0ff00713 li a4,255
|
|
5e30: 4781 li a5,0
|
|
5e32: bfc9 j 5e04 <__divsf3+0xb8>
|
|
5e34: 8aa6 mv s5,s1
|
|
5e36: 8bce mv s7,s3
|
|
5e38: 8b36 mv s6,a3
|
|
5e3a: 4789 li a5,2
|
|
5e3c: 1afb0b63 beq s6,a5,5ff2 <__divsf3+0x2a6>
|
|
5e40: 478d li a5,3
|
|
5e42: fafb0ce3 beq s6,a5,5dfa <__divsf3+0xae>
|
|
5e46: 4785 li a5,1
|
|
5e48: 0afb0a63 beq s6,a5,5efc <__divsf3+0x1b0>
|
|
5e4c: 07fa0713 addi a4,s4,127
|
|
5e50: 001bf913 andi s2,s7,1
|
|
5e54: 12e05763 blez a4,5f82 <__divsf3+0x236>
|
|
5e58: 007af793 andi a5,s5,7
|
|
5e5c: c799 beqz a5,5e6a <__divsf3+0x11e>
|
|
5e5e: 00faf793 andi a5,s5,15
|
|
5e62: 4691 li a3,4
|
|
5e64: 00d78363 beq a5,a3,5e6a <__divsf3+0x11e>
|
|
5e68: 0a91 addi s5,s5,4
|
|
5e6a: 004a9793 slli a5,s5,0x4
|
|
5e6e: 0007d963 bgez a5,5e80 <__divsf3+0x134>
|
|
5e72: f80007b7 lui a5,0xf8000
|
|
5e76: 17fd addi a5,a5,-1
|
|
5e78: 00fafab3 and s5,s5,a5
|
|
5e7c: 080a0713 addi a4,s4,128
|
|
5e80: 0fe00793 li a5,254
|
|
5e84: fae7c4e3 blt a5,a4,5e2c <__divsf3+0xe0>
|
|
5e88: 006a9793 slli a5,s5,0x6
|
|
5e8c: 83a5 srli a5,a5,0x9
|
|
5e8e: 0ff77713 andi a4,a4,255
|
|
5e92: bf8d j 5e04 <__divsf3+0xb8>
|
|
5e94: e4b9 bnez s1,5ee2 <__divsf3+0x196>
|
|
5e96: 4685 li a3,1
|
|
5e98: b7a9 j 5de2 <__divsf3+0x96>
|
|
5e9a: 020a9463 bnez s5,5ec2 <__divsf3+0x176>
|
|
5e9e: 4411 li s0,4
|
|
5ea0: 4a01 li s4,0
|
|
5ea2: 4b05 li s6,1
|
|
5ea4: bdc5 j 5d94 <__divsf3+0x48>
|
|
5ea6: 000a9963 bnez s5,5eb8 <__divsf3+0x16c>
|
|
5eaa: 4421 li s0,8
|
|
5eac: 0ff00a13 li s4,255
|
|
5eb0: 4b09 li s6,2
|
|
5eb2: b5cd j 5d94 <__divsf3+0x48>
|
|
5eb4: 468d li a3,3
|
|
5eb6: b731 j 5dc2 <__divsf3+0x76>
|
|
5eb8: 4431 li s0,12
|
|
5eba: 0ff00a13 li s4,255
|
|
5ebe: 4b0d li s6,3
|
|
5ec0: bdd1 j 5d94 <__divsf3+0x48>
|
|
5ec2: 8556 mv a0,s5
|
|
5ec4: c62e sw a1,12(sp)
|
|
5ec6: 525000ef jal ra,6bea <__clzsi2>
|
|
5eca: ffb50793 addi a5,a0,-5
|
|
5ece: 00fa9ab3 sll s5,s5,a5
|
|
5ed2: f8a00793 li a5,-118
|
|
5ed6: 40a78a33 sub s4,a5,a0
|
|
5eda: 4401 li s0,0
|
|
5edc: 4b01 li s6,0
|
|
5ede: 45b2 lw a1,12(sp)
|
|
5ee0: bd55 j 5d94 <__divsf3+0x48>
|
|
5ee2: 8526 mv a0,s1
|
|
5ee4: 507000ef jal ra,6bea <__clzsi2>
|
|
5ee8: ffb50713 addi a4,a0,-5
|
|
5eec: 00aa07b3 add a5,s4,a0
|
|
5ef0: 00e494b3 sll s1,s1,a4
|
|
5ef4: 07678a13 addi s4,a5,118 # f8000076 <_eusrstack+0xd7ffb076>
|
|
5ef8: 4681 li a3,0
|
|
5efa: b5e1 j 5dc2 <__divsf3+0x76>
|
|
5efc: 001bf913 andi s2,s7,1
|
|
5f00: 4701 li a4,0
|
|
5f02: 4781 li a5,0
|
|
5f04: b701 j 5e04 <__divsf3+0xb8>
|
|
5f06: 6641 lui a2,0x10
|
|
5f08: 00549513 slli a0,s1,0x5
|
|
5f0c: 167d addi a2,a2,-1
|
|
5f0e: 01055793 srli a5,a0,0x10
|
|
5f12: 8e69 and a2,a2,a0
|
|
5f14: 0a9afa63 bgeu s5,s1,5fc8 <__divsf3+0x27c>
|
|
5f18: 02fad5b3 divu a1,s5,a5
|
|
5f1c: 1a7d addi s4,s4,-1
|
|
5f1e: 86d6 mv a3,s5
|
|
5f20: 4701 li a4,0
|
|
5f22: 02c58833 mul a6,a1,a2
|
|
5f26: 02f6f6b3 remu a3,a3,a5
|
|
5f2a: 06c2 slli a3,a3,0x10
|
|
5f2c: 8f55 or a4,a4,a3
|
|
5f2e: 01077b63 bgeu a4,a6,5f44 <__divsf3+0x1f8>
|
|
5f32: 972a add a4,a4,a0
|
|
5f34: fff58693 addi a3,a1,-1
|
|
5f38: 0aa76863 bltu a4,a0,5fe8 <__divsf3+0x29c>
|
|
5f3c: 0b077663 bgeu a4,a6,5fe8 <__divsf3+0x29c>
|
|
5f40: 15f9 addi a1,a1,-2
|
|
5f42: 972a add a4,a4,a0
|
|
5f44: 41070733 sub a4,a4,a6
|
|
5f48: 02f756b3 divu a3,a4,a5
|
|
5f4c: 02f77733 remu a4,a4,a5
|
|
5f50: 02c68ab3 mul s5,a3,a2
|
|
5f54: 01071793 slli a5,a4,0x10
|
|
5f58: 0157fb63 bgeu a5,s5,5f6e <__divsf3+0x222>
|
|
5f5c: 97aa add a5,a5,a0
|
|
5f5e: fff68713 addi a4,a3,-1 # 7dffffff <_eusrstack+0x5dffafff>
|
|
5f62: 08a7e163 bltu a5,a0,5fe4 <__divsf3+0x298>
|
|
5f66: 0757ff63 bgeu a5,s5,5fe4 <__divsf3+0x298>
|
|
5f6a: 16f9 addi a3,a3,-2
|
|
5f6c: 97aa add a5,a5,a0
|
|
5f6e: 05c2 slli a1,a1,0x10
|
|
5f70: 41578ab3 sub s5,a5,s5
|
|
5f74: 8dd5 or a1,a1,a3
|
|
5f76: 01503ab3 snez s5,s5
|
|
5f7a: 0155eab3 or s5,a1,s5
|
|
5f7e: 8bca mv s7,s2
|
|
5f80: b5f1 j 5e4c <__divsf3+0x100>
|
|
5f82: 4685 li a3,1
|
|
5f84: 8e99 sub a3,a3,a4
|
|
5f86: c711 beqz a4,5f92 <__divsf3+0x246>
|
|
5f88: 466d li a2,27
|
|
5f8a: 4701 li a4,0
|
|
5f8c: 4781 li a5,0
|
|
5f8e: e6d64be3 blt a2,a3,5e04 <__divsf3+0xb8>
|
|
5f92: 09ea0a13 addi s4,s4,158
|
|
5f96: 014a9a33 sll s4,s5,s4
|
|
5f9a: 00dad7b3 srl a5,s5,a3
|
|
5f9e: 01403ab3 snez s5,s4
|
|
5fa2: 0157e7b3 or a5,a5,s5
|
|
5fa6: 0077f713 andi a4,a5,7
|
|
5faa: c719 beqz a4,5fb8 <__divsf3+0x26c>
|
|
5fac: 00f7f713 andi a4,a5,15
|
|
5fb0: 4691 li a3,4
|
|
5fb2: 00d70363 beq a4,a3,5fb8 <__divsf3+0x26c>
|
|
5fb6: 0791 addi a5,a5,4
|
|
5fb8: 00579713 slli a4,a5,0x5
|
|
5fbc: 02074863 bltz a4,5fec <__divsf3+0x2a0>
|
|
5fc0: 079a slli a5,a5,0x6
|
|
5fc2: 83a5 srli a5,a5,0x9
|
|
5fc4: 4701 li a4,0
|
|
5fc6: bd3d j 5e04 <__divsf3+0xb8>
|
|
5fc8: 001ad693 srli a3,s5,0x1
|
|
5fcc: 02f6d5b3 divu a1,a3,a5
|
|
5fd0: 01fa9713 slli a4,s5,0x1f
|
|
5fd4: 8341 srli a4,a4,0x10
|
|
5fd6: 02c58833 mul a6,a1,a2
|
|
5fda: b7b1 j 5f26 <__divsf3+0x1da>
|
|
5fdc: 8bce mv s7,s3
|
|
5fde: 8b36 mv s6,a3
|
|
5fe0: 4a81 li s5,0
|
|
5fe2: bda1 j 5e3a <__divsf3+0xee>
|
|
5fe4: 86ba mv a3,a4
|
|
5fe6: b761 j 5f6e <__divsf3+0x222>
|
|
5fe8: 85b6 mv a1,a3
|
|
5fea: bfa9 j 5f44 <__divsf3+0x1f8>
|
|
5fec: 4705 li a4,1
|
|
5fee: 4781 li a5,0
|
|
5ff0: bd11 j 5e04 <__divsf3+0xb8>
|
|
5ff2: 001bf913 andi s2,s7,1
|
|
5ff6: 0ff00713 li a4,255
|
|
5ffa: 4781 li a5,0
|
|
5ffc: b521 j 5e04 <__divsf3+0xb8>
|
|
|
|
00005ffe <__eqsf2>:
|
|
5ffe: 01755693 srli a3,a0,0x17
|
|
6002: 008007b7 lui a5,0x800
|
|
6006: 17fd addi a5,a5,-1
|
|
6008: 0175d613 srli a2,a1,0x17
|
|
600c: 0ff6f693 andi a3,a3,255
|
|
6010: 0ff00813 li a6,255
|
|
6014: 00a7f8b3 and a7,a5,a0
|
|
6018: 01f55713 srli a4,a0,0x1f
|
|
601c: 8fed and a5,a5,a1
|
|
601e: 0ff67613 andi a2,a2,255
|
|
6022: 81fd srli a1,a1,0x1f
|
|
6024: 03068463 beq a3,a6,604c <__eqsf2+0x4e>
|
|
6028: 0ff00513 li a0,255
|
|
602c: 02a60463 beq a2,a0,6054 <__eqsf2+0x56>
|
|
6030: 4505 li a0,1
|
|
6032: 00c68363 beq a3,a2,6038 <__eqsf2+0x3a>
|
|
6036: 8082 ret
|
|
6038: fef89fe3 bne a7,a5,6036 <__eqsf2+0x38>
|
|
603c: 4501 li a0,0
|
|
603e: feb70ce3 beq a4,a1,6036 <__eqsf2+0x38>
|
|
6042: 4505 li a0,1
|
|
6044: faed bnez a3,6036 <__eqsf2+0x38>
|
|
6046: 01103533 snez a0,a7
|
|
604a: 8082 ret
|
|
604c: 4505 li a0,1
|
|
604e: fc088de3 beqz a7,6028 <__eqsf2+0x2a>
|
|
6052: 8082 ret
|
|
6054: 4505 li a0,1
|
|
6056: dfe9 beqz a5,6030 <__eqsf2+0x32>
|
|
6058: 8082 ret
|
|
|
|
0000605a <__gesf2>:
|
|
605a: 01755693 srli a3,a0,0x17
|
|
605e: 008007b7 lui a5,0x800
|
|
6062: 17fd addi a5,a5,-1
|
|
6064: 0175d613 srli a2,a1,0x17
|
|
6068: 0ff6f693 andi a3,a3,255
|
|
606c: 0ff00813 li a6,255
|
|
6070: 00a7f8b3 and a7,a5,a0
|
|
6074: 01f55713 srli a4,a0,0x1f
|
|
6078: 8fed and a5,a5,a1
|
|
607a: 0ff67613 andi a2,a2,255
|
|
607e: 81fd srli a1,a1,0x1f
|
|
6080: 03068163 beq a3,a6,60a2 <__gesf2+0x48>
|
|
6084: 01060c63 beq a2,a6,609c <__gesf2+0x42>
|
|
6088: e28d bnez a3,60aa <__gesf2+0x50>
|
|
608a: e211 bnez a2,608e <__gesf2+0x34>
|
|
608c: c3b1 beqz a5,60d0 <__gesf2+0x76>
|
|
608e: 02088e63 beqz a7,60ca <__gesf2+0x70>
|
|
6092: 04b70563 beq a4,a1,60dc <__gesf2+0x82>
|
|
6096: 4505 li a0,1
|
|
6098: e71d bnez a4,60c6 <__gesf2+0x6c>
|
|
609a: 8082 ret
|
|
609c: d7f5 beqz a5,6088 <__gesf2+0x2e>
|
|
609e: 5579 li a0,-2
|
|
60a0: 8082 ret
|
|
60a2: fe089ee3 bnez a7,609e <__gesf2+0x44>
|
|
60a6: 02d60963 beq a2,a3,60d8 <__gesf2+0x7e>
|
|
60aa: e211 bnez a2,60ae <__gesf2+0x54>
|
|
60ac: d7ed beqz a5,6096 <__gesf2+0x3c>
|
|
60ae: feb714e3 bne a4,a1,6096 <__gesf2+0x3c>
|
|
60b2: fed642e3 blt a2,a3,6096 <__gesf2+0x3c>
|
|
60b6: 00c6c763 blt a3,a2,60c4 <__gesf2+0x6a>
|
|
60ba: fd17eee3 bltu a5,a7,6096 <__gesf2+0x3c>
|
|
60be: 4501 li a0,0
|
|
60c0: fcf8fde3 bgeu a7,a5,609a <__gesf2+0x40>
|
|
60c4: e701 bnez a4,60cc <__gesf2+0x72>
|
|
60c6: 557d li a0,-1
|
|
60c8: 8082 ret
|
|
60ca: ddf5 beqz a1,60c6 <__gesf2+0x6c>
|
|
60cc: 4505 li a0,1
|
|
60ce: 8082 ret
|
|
60d0: 4501 li a0,0
|
|
60d2: fc0892e3 bnez a7,6096 <__gesf2+0x3c>
|
|
60d6: 8082 ret
|
|
60d8: dbf9 beqz a5,60ae <__gesf2+0x54>
|
|
60da: b7d1 j 609e <__gesf2+0x44>
|
|
60dc: 4681 li a3,0
|
|
60de: bfe1 j 60b6 <__gesf2+0x5c>
|
|
|
|
000060e0 <__lesf2>:
|
|
60e0: 01755693 srli a3,a0,0x17
|
|
60e4: 008007b7 lui a5,0x800
|
|
60e8: 17fd addi a5,a5,-1
|
|
60ea: 0175d613 srli a2,a1,0x17
|
|
60ee: 0ff6f693 andi a3,a3,255
|
|
60f2: 0ff00813 li a6,255
|
|
60f6: 00a7f8b3 and a7,a5,a0
|
|
60fa: 01f55713 srli a4,a0,0x1f
|
|
60fe: 8fed and a5,a5,a1
|
|
6100: 0ff67613 andi a2,a2,255
|
|
6104: 81fd srli a1,a1,0x1f
|
|
6106: 03068763 beq a3,a6,6134 <__lesf2+0x54>
|
|
610a: 01060963 beq a2,a6,611c <__lesf2+0x3c>
|
|
610e: ea85 bnez a3,613e <__lesf2+0x5e>
|
|
6110: ea11 bnez a2,6124 <__lesf2+0x44>
|
|
6112: eb89 bnez a5,6124 <__lesf2+0x44>
|
|
6114: 4501 li a0,0
|
|
6116: 00089b63 bnez a7,612c <__lesf2+0x4c>
|
|
611a: 8082 ret
|
|
611c: 4509 li a0,2
|
|
611e: fff5 bnez a5,611a <__lesf2+0x3a>
|
|
6120: dae5 beqz a3,6110 <__lesf2+0x30>
|
|
6122: a831 j 613e <__lesf2+0x5e>
|
|
6124: 02088c63 beqz a7,615c <__lesf2+0x7c>
|
|
6128: 04b70063 beq a4,a1,6168 <__lesf2+0x88>
|
|
612c: 4505 li a0,1
|
|
612e: d775 beqz a4,611a <__lesf2+0x3a>
|
|
6130: 557d li a0,-1
|
|
6132: 8082 ret
|
|
6134: 4509 li a0,2
|
|
6136: 02089863 bnez a7,6166 <__lesf2+0x86>
|
|
613a: 02d60463 beq a2,a3,6162 <__lesf2+0x82>
|
|
613e: e211 bnez a2,6142 <__lesf2+0x62>
|
|
6140: d7f5 beqz a5,612c <__lesf2+0x4c>
|
|
6142: feb715e3 bne a4,a1,612c <__lesf2+0x4c>
|
|
6146: fed643e3 blt a2,a3,612c <__lesf2+0x4c>
|
|
614a: 00c6c763 blt a3,a2,6158 <__lesf2+0x78>
|
|
614e: fd17efe3 bltu a5,a7,612c <__lesf2+0x4c>
|
|
6152: 4501 li a0,0
|
|
6154: fcf8f3e3 bgeu a7,a5,611a <__lesf2+0x3a>
|
|
6158: e319 bnez a4,615e <__lesf2+0x7e>
|
|
615a: bfd9 j 6130 <__lesf2+0x50>
|
|
615c: d9f1 beqz a1,6130 <__lesf2+0x50>
|
|
615e: 4505 li a0,1
|
|
6160: 8082 ret
|
|
6162: d3e5 beqz a5,6142 <__lesf2+0x62>
|
|
6164: 8082 ret
|
|
6166: 8082 ret
|
|
6168: 4681 li a3,0
|
|
616a: b7c5 j 614a <__lesf2+0x6a>
|
|
|
|
0000616c <__mulsf3>:
|
|
616c: 7179 addi sp,sp,-48
|
|
616e: d422 sw s0,40(sp)
|
|
6170: 01755413 srli s0,a0,0x17
|
|
6174: ce4e sw s3,28(sp)
|
|
6176: cc52 sw s4,24(sp)
|
|
6178: 00951993 slli s3,a0,0x9
|
|
617c: d606 sw ra,44(sp)
|
|
617e: d226 sw s1,36(sp)
|
|
6180: d04a sw s2,32(sp)
|
|
6182: ca56 sw s5,20(sp)
|
|
6184: c85a sw s6,16(sp)
|
|
6186: 0ff47413 andi s0,s0,255
|
|
618a: 0099d993 srli s3,s3,0x9
|
|
618e: 01f55a13 srli s4,a0,0x1f
|
|
6192: c469 beqz s0,625c <__mulsf3+0xf0>
|
|
6194: 0ff00793 li a5,255
|
|
6198: 0ef40863 beq s0,a5,6288 <__mulsf3+0x11c>
|
|
619c: 00399793 slli a5,s3,0x3
|
|
61a0: 04000737 lui a4,0x4000
|
|
61a4: 00e7e9b3 or s3,a5,a4
|
|
61a8: f8140413 addi s0,s0,-127 # 3ffff81 <_data_lma+0x3ff7091>
|
|
61ac: 4481 li s1,0
|
|
61ae: 4b01 li s6,0
|
|
61b0: 0175d713 srli a4,a1,0x17
|
|
61b4: 00959a93 slli s5,a1,0x9
|
|
61b8: 0ff77713 andi a4,a4,255
|
|
61bc: 009ada93 srli s5,s5,0x9
|
|
61c0: 01f5d913 srli s2,a1,0x1f
|
|
61c4: cf45 beqz a4,627c <__mulsf3+0x110>
|
|
61c6: 0ff00793 li a5,255
|
|
61ca: 02f70c63 beq a4,a5,6202 <__mulsf3+0x96>
|
|
61ce: 0a8e slli s5,s5,0x3
|
|
61d0: f8170713 addi a4,a4,-127 # 3ffff81 <_data_lma+0x3ff7091>
|
|
61d4: 040007b7 lui a5,0x4000
|
|
61d8: 00faeab3 or s5,s5,a5
|
|
61dc: 943a add s0,s0,a4
|
|
61de: 4601 li a2,0
|
|
61e0: 012a4533 xor a0,s4,s2
|
|
61e4: 47bd li a5,15
|
|
61e6: 86aa mv a3,a0
|
|
61e8: 00140593 addi a1,s0,1
|
|
61ec: 1097e263 bltu a5,s1,62f0 <__mulsf3+0x184>
|
|
61f0: 00003717 auipc a4,0x3
|
|
61f4: b2470713 addi a4,a4,-1244 # 8d14 <mosTemperADC+0x824>
|
|
61f8: 048a slli s1,s1,0x2
|
|
61fa: 94ba add s1,s1,a4
|
|
61fc: 409c lw a5,0(s1)
|
|
61fe: 97ba add a5,a5,a4
|
|
6200: 8782 jr a5
|
|
6202: 0ff40413 addi s0,s0,255
|
|
6206: 0c0a9863 bnez s5,62d6 <__mulsf3+0x16a>
|
|
620a: 0024e493 ori s1,s1,2
|
|
620e: 4609 li a2,2
|
|
6210: bfc1 j 61e0 <__mulsf3+0x74>
|
|
6212: 4501 li a0,0
|
|
6214: 0ff00713 li a4,255
|
|
6218: 004007b7 lui a5,0x400
|
|
621c: 50b2 lw ra,44(sp)
|
|
621e: 5422 lw s0,40(sp)
|
|
6220: 07a6 slli a5,a5,0x9
|
|
6222: 075e slli a4,a4,0x17
|
|
6224: 83a5 srli a5,a5,0x9
|
|
6226: 057e slli a0,a0,0x1f
|
|
6228: 8fd9 or a5,a5,a4
|
|
622a: 5492 lw s1,36(sp)
|
|
622c: 5902 lw s2,32(sp)
|
|
622e: 49f2 lw s3,28(sp)
|
|
6230: 4a62 lw s4,24(sp)
|
|
6232: 4ad2 lw s5,20(sp)
|
|
6234: 4b42 lw s6,16(sp)
|
|
6236: 8d5d or a0,a0,a5
|
|
6238: 6145 addi sp,sp,48
|
|
623a: 8082 ret
|
|
623c: 86ca mv a3,s2
|
|
623e: 89d6 mv s3,s5
|
|
6240: 8b32 mv s6,a2
|
|
6242: 4789 li a5,2
|
|
6244: 0afb0163 beq s6,a5,62e6 <__mulsf3+0x17a>
|
|
6248: 478d li a5,3
|
|
624a: fcfb04e3 beq s6,a5,6212 <__mulsf3+0xa6>
|
|
624e: 4785 li a5,1
|
|
6250: 8536 mv a0,a3
|
|
6252: 1afb1263 bne s6,a5,63f6 <__mulsf3+0x28a>
|
|
6256: 4701 li a4,0
|
|
6258: 4781 li a5,0
|
|
625a: b7c9 j 621c <__mulsf3+0xb0>
|
|
625c: 04099e63 bnez s3,62b8 <__mulsf3+0x14c>
|
|
6260: 0175d713 srli a4,a1,0x17
|
|
6264: 00959a93 slli s5,a1,0x9
|
|
6268: 0ff77713 andi a4,a4,255
|
|
626c: 4491 li s1,4
|
|
626e: 4401 li s0,0
|
|
6270: 4b05 li s6,1
|
|
6272: 009ada93 srli s5,s5,0x9
|
|
6276: 01f5d913 srli s2,a1,0x1f
|
|
627a: f731 bnez a4,61c6 <__mulsf3+0x5a>
|
|
627c: 000a9d63 bnez s5,6296 <__mulsf3+0x12a>
|
|
6280: 0014e493 ori s1,s1,1
|
|
6284: 4605 li a2,1
|
|
6286: bfa9 j 61e0 <__mulsf3+0x74>
|
|
6288: 02099363 bnez s3,62ae <__mulsf3+0x142>
|
|
628c: 44a1 li s1,8
|
|
628e: 0ff00413 li s0,255
|
|
6292: 4b09 li s6,2
|
|
6294: bf31 j 61b0 <__mulsf3+0x44>
|
|
6296: 8556 mv a0,s5
|
|
6298: 153000ef jal ra,6bea <__clzsi2>
|
|
629c: ffb50793 addi a5,a0,-5
|
|
62a0: 8c09 sub s0,s0,a0
|
|
62a2: 00fa9ab3 sll s5,s5,a5
|
|
62a6: f8a40413 addi s0,s0,-118
|
|
62aa: 4601 li a2,0
|
|
62ac: bf15 j 61e0 <__mulsf3+0x74>
|
|
62ae: 44b1 li s1,12
|
|
62b0: 0ff00413 li s0,255
|
|
62b4: 4b0d li s6,3
|
|
62b6: bded j 61b0 <__mulsf3+0x44>
|
|
62b8: 854e mv a0,s3
|
|
62ba: c62e sw a1,12(sp)
|
|
62bc: 12f000ef jal ra,6bea <__clzsi2>
|
|
62c0: ffb50793 addi a5,a0,-5
|
|
62c4: f8a00413 li s0,-118
|
|
62c8: 00f999b3 sll s3,s3,a5
|
|
62cc: 8c09 sub s0,s0,a0
|
|
62ce: 4481 li s1,0
|
|
62d0: 4b01 li s6,0
|
|
62d2: 45b2 lw a1,12(sp)
|
|
62d4: bdf1 j 61b0 <__mulsf3+0x44>
|
|
62d6: 0034e493 ori s1,s1,3
|
|
62da: 460d li a2,3
|
|
62dc: b711 j 61e0 <__mulsf3+0x74>
|
|
62de: 4789 li a5,2
|
|
62e0: 86d2 mv a3,s4
|
|
62e2: f6fb13e3 bne s6,a5,6248 <__mulsf3+0xdc>
|
|
62e6: 8536 mv a0,a3
|
|
62e8: 0ff00713 li a4,255
|
|
62ec: 4781 li a5,0
|
|
62ee: b73d j 621c <__mulsf3+0xb0>
|
|
62f0: 6341 lui t1,0x10
|
|
62f2: fff30693 addi a3,t1,-1 # ffff <_data_lma+0x710f>
|
|
62f6: 0109d613 srli a2,s3,0x10
|
|
62fa: 010ad893 srli a7,s5,0x10
|
|
62fe: 00d9f7b3 and a5,s3,a3
|
|
6302: 00dafab3 and s5,s5,a3
|
|
6306: 03578833 mul a6,a5,s5
|
|
630a: 02f889b3 mul s3,a7,a5
|
|
630e: 01085713 srli a4,a6,0x10
|
|
6312: 03560ab3 mul s5,a2,s5
|
|
6316: 99d6 add s3,s3,s5
|
|
6318: 974e add a4,a4,s3
|
|
631a: 03160633 mul a2,a2,a7
|
|
631e: 01577363 bgeu a4,s5,6324 <__mulsf3+0x1b8>
|
|
6322: 961a add a2,a2,t1
|
|
6324: 67c1 lui a5,0x10
|
|
6326: 17fd addi a5,a5,-1
|
|
6328: 00f776b3 and a3,a4,a5
|
|
632c: 00f87833 and a6,a6,a5
|
|
6330: 06c2 slli a3,a3,0x10
|
|
6332: 96c2 add a3,a3,a6
|
|
6334: 00669993 slli s3,a3,0x6
|
|
6338: 01075793 srli a5,a4,0x10
|
|
633c: 013039b3 snez s3,s3
|
|
6340: 82e9 srli a3,a3,0x1a
|
|
6342: 97b2 add a5,a5,a2
|
|
6344: 079a slli a5,a5,0x6
|
|
6346: 00d9e6b3 or a3,s3,a3
|
|
634a: 00d7e9b3 or s3,a5,a3
|
|
634e: 00499793 slli a5,s3,0x4
|
|
6352: 0007d963 bgez a5,6364 <__mulsf3+0x1f8>
|
|
6356: 0019d713 srli a4,s3,0x1
|
|
635a: 0019f793 andi a5,s3,1
|
|
635e: 00f769b3 or s3,a4,a5
|
|
6362: 842e mv s0,a1
|
|
6364: 07f40713 addi a4,s0,127
|
|
6368: 04e05063 blez a4,63a8 <__mulsf3+0x23c>
|
|
636c: 0079f793 andi a5,s3,7
|
|
6370: c799 beqz a5,637e <__mulsf3+0x212>
|
|
6372: 00f9f793 andi a5,s3,15
|
|
6376: 4691 li a3,4
|
|
6378: 00d78363 beq a5,a3,637e <__mulsf3+0x212>
|
|
637c: 0991 addi s3,s3,4
|
|
637e: 00499793 slli a5,s3,0x4
|
|
6382: 0007d963 bgez a5,6394 <__mulsf3+0x228>
|
|
6386: f80007b7 lui a5,0xf8000
|
|
638a: 17fd addi a5,a5,-1
|
|
638c: 00f9f9b3 and s3,s3,a5
|
|
6390: 08040713 addi a4,s0,128
|
|
6394: 0fe00793 li a5,254
|
|
6398: 04e7cb63 blt a5,a4,63ee <__mulsf3+0x282>
|
|
639c: 00699793 slli a5,s3,0x6
|
|
63a0: 83a5 srli a5,a5,0x9
|
|
63a2: 0ff77713 andi a4,a4,255
|
|
63a6: bd9d j 621c <__mulsf3+0xb0>
|
|
63a8: 4785 li a5,1
|
|
63aa: 40e786b3 sub a3,a5,a4
|
|
63ae: c711 beqz a4,63ba <__mulsf3+0x24e>
|
|
63b0: 466d li a2,27
|
|
63b2: 4701 li a4,0
|
|
63b4: 4781 li a5,0
|
|
63b6: e6d643e3 blt a2,a3,621c <__mulsf3+0xb0>
|
|
63ba: 09e40713 addi a4,s0,158
|
|
63be: 00e99733 sll a4,s3,a4
|
|
63c2: 00e03733 snez a4,a4
|
|
63c6: 00d9d7b3 srl a5,s3,a3
|
|
63ca: 8fd9 or a5,a5,a4
|
|
63cc: 0077f713 andi a4,a5,7
|
|
63d0: c719 beqz a4,63de <__mulsf3+0x272>
|
|
63d2: 00f7f713 andi a4,a5,15
|
|
63d6: 4691 li a3,4
|
|
63d8: 00d70363 beq a4,a3,63de <__mulsf3+0x272>
|
|
63dc: 0791 addi a5,a5,4
|
|
63de: 00579713 slli a4,a5,0x5
|
|
63e2: 00074c63 bltz a4,63fa <__mulsf3+0x28e>
|
|
63e6: 079a slli a5,a5,0x6
|
|
63e8: 83a5 srli a5,a5,0x9
|
|
63ea: 4701 li a4,0
|
|
63ec: bd05 j 621c <__mulsf3+0xb0>
|
|
63ee: 0ff00713 li a4,255
|
|
63f2: 4781 li a5,0
|
|
63f4: b525 j 621c <__mulsf3+0xb0>
|
|
63f6: 842e mv s0,a1
|
|
63f8: b7b5 j 6364 <__mulsf3+0x1f8>
|
|
63fa: 4705 li a4,1
|
|
63fc: 4781 li a5,0
|
|
63fe: bd39 j 621c <__mulsf3+0xb0>
|
|
|
|
00006400 <__subsf3>:
|
|
6400: 00800737 lui a4,0x800
|
|
6404: 1141 addi sp,sp,-16
|
|
6406: 177d addi a4,a4,-1
|
|
6408: 01755693 srli a3,a0,0x17
|
|
640c: 0175d813 srli a6,a1,0x17
|
|
6410: 00a777b3 and a5,a4,a0
|
|
6414: 0ff6f693 andi a3,a3,255
|
|
6418: 01f55e93 srli t4,a0,0x1f
|
|
641c: 00b77633 and a2,a4,a1
|
|
6420: c226 sw s1,4(sp)
|
|
6422: c04a sw s2,0(sp)
|
|
6424: 0ff87813 andi a6,a6,255
|
|
6428: c606 sw ra,12(sp)
|
|
642a: c422 sw s0,8(sp)
|
|
642c: 0ff00313 li t1,255
|
|
6430: 8e3e mv t3,a5
|
|
6432: 8936 mv s2,a3
|
|
6434: 84f6 mv s1,t4
|
|
6436: 00379f13 slli t5,a5,0x3
|
|
643a: 81fd srli a1,a1,0x1f
|
|
643c: 00361513 slli a0,a2,0x3
|
|
6440: 410688b3 sub a7,a3,a6
|
|
6444: 10680263 beq a6,t1,6548 <__subsf3+0x148>
|
|
6448: 0015c593 xori a1,a1,1
|
|
644c: 10be8c63 beq t4,a1,6564 <__subsf3+0x164>
|
|
6450: 0d105463 blez a7,6518 <__subsf3+0x118>
|
|
6454: 10081063 bnez a6,6554 <__subsf3+0x154>
|
|
6458: 1e050463 beqz a0,6640 <__subsf3+0x240>
|
|
645c: 18fd addi a7,a7,-1
|
|
645e: 40af07b3 sub a5,t5,a0
|
|
6462: 02088663 beqz a7,648e <__subsf3+0x8e>
|
|
6466: 0ff00793 li a5,255
|
|
646a: 16f68863 beq a3,a5,65da <__subsf3+0x1da>
|
|
646e: 47ed li a5,27
|
|
6470: 2917c763 blt a5,a7,66fe <__subsf3+0x2fe>
|
|
6474: 02000713 li a4,32
|
|
6478: 41170733 sub a4,a4,a7
|
|
647c: 00e51733 sll a4,a0,a4
|
|
6480: 011557b3 srl a5,a0,a7
|
|
6484: 00e03733 snez a4,a4
|
|
6488: 8fd9 or a5,a5,a4
|
|
648a: 40ff07b3 sub a5,t5,a5
|
|
648e: 00579713 slli a4,a5,0x5
|
|
6492: 1a075163 bgez a4,6634 <__subsf3+0x234>
|
|
6496: 04000437 lui s0,0x4000
|
|
649a: 147d addi s0,s0,-1
|
|
649c: 8c7d and s0,s0,a5
|
|
649e: 8522 mv a0,s0
|
|
64a0: 27a9 jal 6bea <__clzsi2>
|
|
64a2: 156d addi a0,a0,-5
|
|
64a4: 00a417b3 sll a5,s0,a0
|
|
64a8: 1b254e63 blt a0,s2,6664 <__subsf3+0x264>
|
|
64ac: 41250533 sub a0,a0,s2
|
|
64b0: 00150413 addi s0,a0,1
|
|
64b4: 02000713 li a4,32
|
|
64b8: 8f01 sub a4,a4,s0
|
|
64ba: 00e79733 sll a4,a5,a4
|
|
64be: 00e03733 snez a4,a4
|
|
64c2: 0087d7b3 srl a5,a5,s0
|
|
64c6: 8fd9 or a5,a5,a4
|
|
64c8: 4901 li s2,0
|
|
64ca: 0077f713 andi a4,a5,7
|
|
64ce: c719 beqz a4,64dc <__subsf3+0xdc>
|
|
64d0: 00f7f713 andi a4,a5,15
|
|
64d4: 4691 li a3,4
|
|
64d6: 00d70363 beq a4,a3,64dc <__subsf3+0xdc>
|
|
64da: 0791 addi a5,a5,4
|
|
64dc: 00579713 slli a4,a5,0x5
|
|
64e0: 14075e63 bgez a4,663c <__subsf3+0x23c>
|
|
64e4: 00190693 addi a3,s2,1 # 800001 <_data_lma+0x7f7111>
|
|
64e8: 0ff00713 li a4,255
|
|
64ec: 0014fe93 andi t4,s1,1
|
|
64f0: 16e68663 beq a3,a4,665c <__subsf3+0x25c>
|
|
64f4: 079a slli a5,a5,0x6
|
|
64f6: 83a5 srli a5,a5,0x9
|
|
64f8: 0ff6f693 andi a3,a3,255
|
|
64fc: 07a6 slli a5,a5,0x9
|
|
64fe: 40b2 lw ra,12(sp)
|
|
6500: 4422 lw s0,8(sp)
|
|
6502: 0097d513 srli a0,a5,0x9
|
|
6506: 06de slli a3,a3,0x17
|
|
6508: 01fe9793 slli a5,t4,0x1f
|
|
650c: 8d55 or a0,a0,a3
|
|
650e: 4492 lw s1,4(sp)
|
|
6510: 4902 lw s2,0(sp)
|
|
6512: 8d5d or a0,a0,a5
|
|
6514: 0141 addi sp,sp,16
|
|
6516: 8082 ret
|
|
6518: 0a089263 bnez a7,65bc <__subsf3+0x1bc>
|
|
651c: 00168713 addi a4,a3,1
|
|
6520: 0fe77713 andi a4,a4,254
|
|
6524: 14071b63 bnez a4,667a <__subsf3+0x27a>
|
|
6528: 22069463 bnez a3,6750 <__subsf3+0x350>
|
|
652c: 200f0263 beqz t5,6730 <__subsf3+0x330>
|
|
6530: d571 beqz a0,64fc <__subsf3+0xfc>
|
|
6532: 40af07b3 sub a5,t5,a0
|
|
6536: 00579713 slli a4,a5,0x5
|
|
653a: 22075563 bgez a4,6764 <__subsf3+0x364>
|
|
653e: 41e507b3 sub a5,a0,t5
|
|
6542: 4901 li s2,0
|
|
6544: 84ae mv s1,a1
|
|
6546: b751 j 64ca <__subsf3+0xca>
|
|
6548: f00500e3 beqz a0,6448 <__subsf3+0x48>
|
|
654c: 0abe8a63 beq t4,a1,6600 <__subsf3+0x200>
|
|
6550: fd1054e3 blez a7,6518 <__subsf3+0x118>
|
|
6554: 0ff00793 li a5,255
|
|
6558: 08f68163 beq a3,a5,65da <__subsf3+0x1da>
|
|
655c: 040007b7 lui a5,0x4000
|
|
6560: 8d5d or a0,a0,a5
|
|
6562: b731 j 646e <__subsf3+0x6e>
|
|
6564: 09105e63 blez a7,6600 <__subsf3+0x200>
|
|
6568: 08080163 beqz a6,65ea <__subsf3+0x1ea>
|
|
656c: 0ff00793 li a5,255
|
|
6570: 06f68563 beq a3,a5,65da <__subsf3+0x1da>
|
|
6574: 040007b7 lui a5,0x4000
|
|
6578: 8d5d or a0,a0,a5
|
|
657a: 47ed li a5,27
|
|
657c: 1f17c063 blt a5,a7,675c <__subsf3+0x35c>
|
|
6580: 02000713 li a4,32
|
|
6584: 41170733 sub a4,a4,a7
|
|
6588: 00e51733 sll a4,a0,a4
|
|
658c: 011557b3 srl a5,a0,a7
|
|
6590: 00e03733 snez a4,a4
|
|
6594: 8fd9 or a5,a5,a4
|
|
6596: 97fa add a5,a5,t5
|
|
6598: 00579713 slli a4,a5,0x5
|
|
659c: 08075c63 bgez a4,6634 <__subsf3+0x234>
|
|
65a0: 0905 addi s2,s2,1
|
|
65a2: 0ff00713 li a4,255
|
|
65a6: 0ae90b63 beq s2,a4,665c <__subsf3+0x25c>
|
|
65aa: 7e0006b7 lui a3,0x7e000
|
|
65ae: 0017d713 srli a4,a5,0x1
|
|
65b2: 16fd addi a3,a3,-1
|
|
65b4: 8b85 andi a5,a5,1
|
|
65b6: 8f75 and a4,a4,a3
|
|
65b8: 8fd9 or a5,a5,a4
|
|
65ba: bf01 j 64ca <__subsf3+0xca>
|
|
65bc: 40d80733 sub a4,a6,a3
|
|
65c0: 10069563 bnez a3,66ca <__subsf3+0x2ca>
|
|
65c4: 140f0d63 beqz t5,671e <__subsf3+0x31e>
|
|
65c8: 177d addi a4,a4,-1
|
|
65ca: 1a070363 beqz a4,6770 <__subsf3+0x370>
|
|
65ce: 0ff00793 li a5,255
|
|
65d2: 10f81463 bne a6,a5,66da <__subsf3+0x2da>
|
|
65d6: 84ae mv s1,a1
|
|
65d8: 8e32 mv t3,a2
|
|
65da: 060e0f63 beqz t3,6658 <__subsf3+0x258>
|
|
65de: 4e81 li t4,0
|
|
65e0: 0ff00693 li a3,255
|
|
65e4: 004007b7 lui a5,0x400
|
|
65e8: bf11 j 64fc <__subsf3+0xfc>
|
|
65ea: c939 beqz a0,6640 <__subsf3+0x240>
|
|
65ec: 18fd addi a7,a7,-1
|
|
65ee: 00af07b3 add a5,t5,a0
|
|
65f2: fa0883e3 beqz a7,6598 <__subsf3+0x198>
|
|
65f6: 0ff00793 li a5,255
|
|
65fa: f8f690e3 bne a3,a5,657a <__subsf3+0x17a>
|
|
65fe: bff1 j 65da <__subsf3+0x1da>
|
|
6600: 08089963 bnez a7,6692 <__subsf3+0x292>
|
|
6604: 00168913 addi s2,a3,1 # 7e000001 <_eusrstack+0x5dffb001>
|
|
6608: 0fe97713 andi a4,s2,254
|
|
660c: 12071663 bnez a4,6738 <__subsf3+0x338>
|
|
6610: 10069b63 bnez a3,6726 <__subsf3+0x326>
|
|
6614: 160f0363 beqz t5,677a <__subsf3+0x37a>
|
|
6618: ee0502e3 beqz a0,64fc <__subsf3+0xfc>
|
|
661c: 00af07b3 add a5,t5,a0
|
|
6620: 00579713 slli a4,a5,0x5
|
|
6624: 4901 li s2,0
|
|
6626: 00075763 bgez a4,6634 <__subsf3+0x234>
|
|
662a: fc000737 lui a4,0xfc000
|
|
662e: 177d addi a4,a4,-1
|
|
6630: 8ff9 and a5,a5,a4
|
|
6632: 4905 li s2,1
|
|
6634: 0077f713 andi a4,a5,7
|
|
6638: e8071ce3 bnez a4,64d0 <__subsf3+0xd0>
|
|
663c: 0037de13 srli t3,a5,0x3
|
|
6640: 0ff00793 li a5,255
|
|
6644: f8f90be3 beq s2,a5,65da <__subsf3+0x1da>
|
|
6648: 009e1793 slli a5,t3,0x9
|
|
664c: 83a5 srli a5,a5,0x9
|
|
664e: 0ff97693 andi a3,s2,255
|
|
6652: 0014fe93 andi t4,s1,1
|
|
6656: b55d j 64fc <__subsf3+0xfc>
|
|
6658: 0014fe93 andi t4,s1,1
|
|
665c: 0ff00693 li a3,255
|
|
6660: 4781 li a5,0
|
|
6662: bd69 j 64fc <__subsf3+0xfc>
|
|
6664: fc000737 lui a4,0xfc000
|
|
6668: 177d addi a4,a4,-1
|
|
666a: 8ff9 and a5,a5,a4
|
|
666c: 0077f713 andi a4,a5,7
|
|
6670: 40a90933 sub s2,s2,a0
|
|
6674: e4071ee3 bnez a4,64d0 <__subsf3+0xd0>
|
|
6678: b7d1 j 663c <__subsf3+0x23c>
|
|
667a: 40af0433 sub s0,t5,a0
|
|
667e: 00541793 slli a5,s0,0x5
|
|
6682: 0c07c363 bltz a5,6748 <__subsf3+0x348>
|
|
6686: e0041ce3 bnez s0,649e <__subsf3+0x9e>
|
|
668a: 4e81 li t4,0
|
|
668c: 4681 li a3,0
|
|
668e: 4781 li a5,0
|
|
6690: b5b5 j 64fc <__subsf3+0xfc>
|
|
6692: 40d80733 sub a4,a6,a3
|
|
6696: c6b5 beqz a3,6702 <__subsf3+0x302>
|
|
6698: 0ff00793 li a5,255
|
|
669c: f2f80ee3 beq a6,a5,65d8 <__subsf3+0x1d8>
|
|
66a0: 040007b7 lui a5,0x4000
|
|
66a4: 00ff6f33 or t5,t5,a5
|
|
66a8: 47ed li a5,27
|
|
66aa: 0ce7cd63 blt a5,a4,6784 <__subsf3+0x384>
|
|
66ae: 02000793 li a5,32
|
|
66b2: 8f99 sub a5,a5,a4
|
|
66b4: 00ff17b3 sll a5,t5,a5
|
|
66b8: 00ef5733 srl a4,t5,a4
|
|
66bc: 00f037b3 snez a5,a5
|
|
66c0: 8f5d or a4,a4,a5
|
|
66c2: 00a707b3 add a5,a4,a0
|
|
66c6: 8942 mv s2,a6
|
|
66c8: bdc1 j 6598 <__subsf3+0x198>
|
|
66ca: 0ff00793 li a5,255
|
|
66ce: f0f804e3 beq a6,a5,65d6 <__subsf3+0x1d6>
|
|
66d2: 040007b7 lui a5,0x4000
|
|
66d6: 00ff6f33 or t5,t5,a5
|
|
66da: 47ed li a5,27
|
|
66dc: 08e7c263 blt a5,a4,6760 <__subsf3+0x360>
|
|
66e0: 02000793 li a5,32
|
|
66e4: 8f99 sub a5,a5,a4
|
|
66e6: 00ff17b3 sll a5,t5,a5
|
|
66ea: 00ef5733 srl a4,t5,a4
|
|
66ee: 00f037b3 snez a5,a5
|
|
66f2: 8fd9 or a5,a5,a4
|
|
66f4: 40f507b3 sub a5,a0,a5
|
|
66f8: 8942 mv s2,a6
|
|
66fa: 84ae mv s1,a1
|
|
66fc: bb49 j 648e <__subsf3+0x8e>
|
|
66fe: 4785 li a5,1
|
|
6700: b369 j 648a <__subsf3+0x8a>
|
|
6702: 060f0e63 beqz t5,677e <__subsf3+0x37e>
|
|
6706: 177d addi a4,a4,-1
|
|
6708: 00af07b3 add a5,t5,a0
|
|
670c: 8942 mv s2,a6
|
|
670e: e80705e3 beqz a4,6598 <__subsf3+0x198>
|
|
6712: 0ff00793 li a5,255
|
|
6716: f8f819e3 bne a6,a5,66a8 <__subsf3+0x2a8>
|
|
671a: 8e32 mv t3,a2
|
|
671c: bd7d j 65da <__subsf3+0x1da>
|
|
671e: 8e32 mv t3,a2
|
|
6720: 8942 mv s2,a6
|
|
6722: 84ae mv s1,a1
|
|
6724: bf31 j 6640 <__subsf3+0x240>
|
|
6726: ea0f09e3 beqz t5,65d8 <__subsf3+0x1d8>
|
|
672a: ea0508e3 beqz a0,65da <__subsf3+0x1da>
|
|
672e: bd45 j 65de <__subsf3+0x1de>
|
|
6730: cd0d beqz a0,676a <__subsf3+0x36a>
|
|
6732: 8eae mv t4,a1
|
|
6734: 87b2 mv a5,a2
|
|
6736: b3d9 j 64fc <__subsf3+0xfc>
|
|
6738: 0ff00793 li a5,255
|
|
673c: f2f900e3 beq s2,a5,665c <__subsf3+0x25c>
|
|
6740: 00af07b3 add a5,t5,a0
|
|
6744: 8385 srli a5,a5,0x1
|
|
6746: b5fd j 6634 <__subsf3+0x234>
|
|
6748: 41e50433 sub s0,a0,t5
|
|
674c: 84ae mv s1,a1
|
|
674e: bb81 j 649e <__subsf3+0x9e>
|
|
6750: fc0f1de3 bnez t5,672a <__subsf3+0x32a>
|
|
6754: e80505e3 beqz a0,65de <__subsf3+0x1de>
|
|
6758: 84ae mv s1,a1
|
|
675a: bdbd j 65d8 <__subsf3+0x1d8>
|
|
675c: 4785 li a5,1
|
|
675e: bd25 j 6596 <__subsf3+0x196>
|
|
6760: 4785 li a5,1
|
|
6762: bf49 j 66f4 <__subsf3+0x2f4>
|
|
6764: 4901 li s2,0
|
|
6766: ec0797e3 bnez a5,6634 <__subsf3+0x234>
|
|
676a: 4e81 li t4,0
|
|
676c: 4781 li a5,0
|
|
676e: b379 j 64fc <__subsf3+0xfc>
|
|
6770: 41e507b3 sub a5,a0,t5
|
|
6774: 8942 mv s2,a6
|
|
6776: 84ae mv s1,a1
|
|
6778: bb19 j 648e <__subsf3+0x8e>
|
|
677a: 87b2 mv a5,a2
|
|
677c: b341 j 64fc <__subsf3+0xfc>
|
|
677e: 8e32 mv t3,a2
|
|
6780: 8942 mv s2,a6
|
|
6782: bd7d j 6640 <__subsf3+0x240>
|
|
6784: 4705 li a4,1
|
|
6786: bf35 j 66c2 <__subsf3+0x2c2>
|
|
|
|
00006788 <__fixsfsi>:
|
|
6788: 00800637 lui a2,0x800
|
|
678c: 01755713 srli a4,a0,0x17
|
|
6790: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7f710f>
|
|
6794: 0ff77713 andi a4,a4,255
|
|
6798: 07e00593 li a1,126
|
|
679c: 00a7f6b3 and a3,a5,a0
|
|
67a0: 01f55793 srli a5,a0,0x1f
|
|
67a4: 00e5fc63 bgeu a1,a4,67bc <__fixsfsi+0x34>
|
|
67a8: 09d00593 li a1,157
|
|
67ac: 00e5fa63 bgeu a1,a4,67c0 <__fixsfsi+0x38>
|
|
67b0: 80000537 lui a0,0x80000
|
|
67b4: fff54513 not a0,a0
|
|
67b8: 953e add a0,a0,a5
|
|
67ba: 8082 ret
|
|
67bc: 4501 li a0,0
|
|
67be: 8082 ret
|
|
67c0: 09500593 li a1,149
|
|
67c4: 8ed1 or a3,a3,a2
|
|
67c6: 00e5cd63 blt a1,a4,67e0 <__fixsfsi+0x58>
|
|
67ca: 09600613 li a2,150
|
|
67ce: 40e60733 sub a4,a2,a4
|
|
67d2: 00e6d733 srl a4,a3,a4
|
|
67d6: 40e00533 neg a0,a4
|
|
67da: f3f5 bnez a5,67be <__fixsfsi+0x36>
|
|
67dc: 853a mv a0,a4
|
|
67de: 8082 ret
|
|
67e0: f6a70713 addi a4,a4,-150 # fbffff6a <_eusrstack+0xdbffaf6a>
|
|
67e4: 00e69733 sll a4,a3,a4
|
|
67e8: b7fd j 67d6 <__fixsfsi+0x4e>
|
|
|
|
000067ea <__fixunssfsi>:
|
|
67ea: 01755713 srli a4,a0,0x17
|
|
67ee: 00800637 lui a2,0x800
|
|
67f2: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7f710f>
|
|
67f6: 0ff77713 andi a4,a4,255
|
|
67fa: 07e00593 li a1,126
|
|
67fe: 00a7f6b3 and a3,a5,a0
|
|
6802: 01f55793 srli a5,a0,0x1f
|
|
6806: 4501 li a0,0
|
|
6808: 00e5f463 bgeu a1,a4,6810 <__fixunssfsi+0x26>
|
|
680c: c399 beqz a5,6812 <__fixunssfsi+0x28>
|
|
680e: 8082 ret
|
|
6810: 8082 ret
|
|
6812: 09e00793 li a5,158
|
|
6816: 557d li a0,-1
|
|
6818: fee7ebe3 bltu a5,a4,680e <__fixunssfsi+0x24>
|
|
681c: 09500593 li a1,149
|
|
6820: 00c6e7b3 or a5,a3,a2
|
|
6824: 00e5d763 bge a1,a4,6832 <__fixunssfsi+0x48>
|
|
6828: f6a70713 addi a4,a4,-150
|
|
682c: 00e79533 sll a0,a5,a4
|
|
6830: 8082 ret
|
|
6832: 09600513 li a0,150
|
|
6836: 40e50733 sub a4,a0,a4
|
|
683a: 00e7d533 srl a0,a5,a4
|
|
683e: 8082 ret
|
|
|
|
00006840 <__floatsisf>:
|
|
6840: 1141 addi sp,sp,-16
|
|
6842: c606 sw ra,12(sp)
|
|
6844: c422 sw s0,8(sp)
|
|
6846: c226 sw s1,4(sp)
|
|
6848: cd0d beqz a0,6882 <__floatsisf+0x42>
|
|
684a: 41f55793 srai a5,a0,0x1f
|
|
684e: 00a7c433 xor s0,a5,a0
|
|
6852: 8c1d sub s0,s0,a5
|
|
6854: 84aa mv s1,a0
|
|
6856: 8522 mv a0,s0
|
|
6858: 2e49 jal 6bea <__clzsi2>
|
|
685a: 09e00793 li a5,158
|
|
685e: 40a78733 sub a4,a5,a0
|
|
6862: 09600793 li a5,150
|
|
6866: 80fd srli s1,s1,0x1f
|
|
6868: 02e7cc63 blt a5,a4,68a0 <__floatsisf+0x60>
|
|
686c: 46a1 li a3,8
|
|
686e: 0ff77793 andi a5,a4,255
|
|
6872: 00a6d563 bge a3,a0,687c <__floatsisf+0x3c>
|
|
6876: 1561 addi a0,a0,-8
|
|
6878: 00a41433 sll s0,s0,a0
|
|
687c: 0426 slli s0,s0,0x9
|
|
687e: 8025 srli s0,s0,0x9
|
|
6880: a021 j 6888 <__floatsisf+0x48>
|
|
6882: 4481 li s1,0
|
|
6884: 4781 li a5,0
|
|
6886: 4401 li s0,0
|
|
6888: 0426 slli s0,s0,0x9
|
|
688a: 00945513 srli a0,s0,0x9
|
|
688e: 40b2 lw ra,12(sp)
|
|
6890: 4422 lw s0,8(sp)
|
|
6892: 07de slli a5,a5,0x17
|
|
6894: 04fe slli s1,s1,0x1f
|
|
6896: 8d5d or a0,a0,a5
|
|
6898: 8d45 or a0,a0,s1
|
|
689a: 4492 lw s1,4(sp)
|
|
689c: 0141 addi sp,sp,16
|
|
689e: 8082 ret
|
|
68a0: 09900793 li a5,153
|
|
68a4: 00e7dd63 bge a5,a4,68be <__floatsisf+0x7e>
|
|
68a8: 01b50793 addi a5,a0,27 # 8000001b <_eusrstack+0x5fffb01b>
|
|
68ac: 4695 li a3,5
|
|
68ae: 00f417b3 sll a5,s0,a5
|
|
68b2: 8e89 sub a3,a3,a0
|
|
68b4: 00d45433 srl s0,s0,a3
|
|
68b8: 00f037b3 snez a5,a5
|
|
68bc: 8c5d or s0,s0,a5
|
|
68be: 4795 li a5,5
|
|
68c0: 00a7d663 bge a5,a0,68cc <__floatsisf+0x8c>
|
|
68c4: ffb50793 addi a5,a0,-5
|
|
68c8: 00f41433 sll s0,s0,a5
|
|
68cc: fc0006b7 lui a3,0xfc000
|
|
68d0: 16fd addi a3,a3,-1
|
|
68d2: 00747793 andi a5,s0,7
|
|
68d6: 00d47633 and a2,s0,a3
|
|
68da: c385 beqz a5,68fa <__floatsisf+0xba>
|
|
68dc: 00f47793 andi a5,s0,15
|
|
68e0: 4591 li a1,4
|
|
68e2: 00b78c63 beq a5,a1,68fa <__floatsisf+0xba>
|
|
68e6: 0611 addi a2,a2,4
|
|
68e8: 00561793 slli a5,a2,0x5
|
|
68ec: 0007d763 bgez a5,68fa <__floatsisf+0xba>
|
|
68f0: 09f00793 li a5,159
|
|
68f4: 8e75 and a2,a2,a3
|
|
68f6: 40a78733 sub a4,a5,a0
|
|
68fa: 00661413 slli s0,a2,0x6
|
|
68fe: 8025 srli s0,s0,0x9
|
|
6900: 0ff77793 andi a5,a4,255
|
|
6904: b751 j 6888 <__floatsisf+0x48>
|
|
|
|
00006906 <__floatunsisf>:
|
|
6906: 1141 addi sp,sp,-16
|
|
6908: c606 sw ra,12(sp)
|
|
690a: c422 sw s0,8(sp)
|
|
690c: cd15 beqz a0,6948 <__floatunsisf+0x42>
|
|
690e: 842a mv s0,a0
|
|
6910: 2ce9 jal 6bea <__clzsi2>
|
|
6912: 09e00793 li a5,158
|
|
6916: 40a78733 sub a4,a5,a0
|
|
691a: 09600793 li a5,150
|
|
691e: 04e7c063 blt a5,a4,695e <__floatunsisf+0x58>
|
|
6922: 46a1 li a3,8
|
|
6924: 0ff77793 andi a5,a4,255
|
|
6928: 00a6d563 bge a3,a0,6932 <__floatunsisf+0x2c>
|
|
692c: 1561 addi a0,a0,-8
|
|
692e: 00a41433 sll s0,s0,a0
|
|
6932: 0426 slli s0,s0,0x9
|
|
6934: 8025 srli s0,s0,0x9
|
|
6936: 0426 slli s0,s0,0x9
|
|
6938: 00945513 srli a0,s0,0x9
|
|
693c: 40b2 lw ra,12(sp)
|
|
693e: 4422 lw s0,8(sp)
|
|
6940: 07de slli a5,a5,0x17
|
|
6942: 8d5d or a0,a0,a5
|
|
6944: 0141 addi sp,sp,16
|
|
6946: 8082 ret
|
|
6948: 4401 li s0,0
|
|
694a: 0426 slli s0,s0,0x9
|
|
694c: 00945513 srli a0,s0,0x9
|
|
6950: 40b2 lw ra,12(sp)
|
|
6952: 4422 lw s0,8(sp)
|
|
6954: 4781 li a5,0
|
|
6956: 07de slli a5,a5,0x17
|
|
6958: 8d5d or a0,a0,a5
|
|
695a: 0141 addi sp,sp,16
|
|
695c: 8082 ret
|
|
695e: 09900793 li a5,153
|
|
6962: 00e7dd63 bge a5,a4,697c <__floatunsisf+0x76>
|
|
6966: 01b50793 addi a5,a0,27
|
|
696a: 4695 li a3,5
|
|
696c: 00f417b3 sll a5,s0,a5
|
|
6970: 8e89 sub a3,a3,a0
|
|
6972: 00f037b3 snez a5,a5
|
|
6976: 00d45433 srl s0,s0,a3
|
|
697a: 8c5d or s0,s0,a5
|
|
697c: 4795 li a5,5
|
|
697e: 00a7d663 bge a5,a0,698a <__floatunsisf+0x84>
|
|
6982: ffb50793 addi a5,a0,-5
|
|
6986: 00f41433 sll s0,s0,a5
|
|
698a: fc0006b7 lui a3,0xfc000
|
|
698e: 16fd addi a3,a3,-1
|
|
6990: 00747793 andi a5,s0,7
|
|
6994: 00d47633 and a2,s0,a3
|
|
6998: c385 beqz a5,69b8 <__floatunsisf+0xb2>
|
|
699a: 00f47793 andi a5,s0,15
|
|
699e: 4591 li a1,4
|
|
69a0: 00b78c63 beq a5,a1,69b8 <__floatunsisf+0xb2>
|
|
69a4: 0611 addi a2,a2,4
|
|
69a6: 00561793 slli a5,a2,0x5
|
|
69aa: 0007d763 bgez a5,69b8 <__floatunsisf+0xb2>
|
|
69ae: 09f00793 li a5,159
|
|
69b2: 8e75 and a2,a2,a3
|
|
69b4: 40a78733 sub a4,a5,a0
|
|
69b8: 00661413 slli s0,a2,0x6
|
|
69bc: 8025 srli s0,s0,0x9
|
|
69be: 0426 slli s0,s0,0x9
|
|
69c0: 00945513 srli a0,s0,0x9
|
|
69c4: 40b2 lw ra,12(sp)
|
|
69c6: 4422 lw s0,8(sp)
|
|
69c8: 0ff77793 andi a5,a4,255
|
|
69cc: 07de slli a5,a5,0x17
|
|
69ce: 8d5d or a0,a0,a5
|
|
69d0: 0141 addi sp,sp,16
|
|
69d2: 8082 ret
|
|
|
|
000069d4 <__extendsfdf2>:
|
|
69d4: 01755713 srli a4,a0,0x17
|
|
69d8: 0ff77713 andi a4,a4,255
|
|
69dc: 1141 addi sp,sp,-16
|
|
69de: 00170793 addi a5,a4,1
|
|
69e2: c422 sw s0,8(sp)
|
|
69e4: c226 sw s1,4(sp)
|
|
69e6: 00951413 slli s0,a0,0x9
|
|
69ea: c606 sw ra,12(sp)
|
|
69ec: 0fe7f793 andi a5,a5,254
|
|
69f0: 8025 srli s0,s0,0x9
|
|
69f2: 01f55493 srli s1,a0,0x1f
|
|
69f6: c785 beqz a5,6a1e <__extendsfdf2+0x4a>
|
|
69f8: 00345793 srli a5,s0,0x3
|
|
69fc: 38070713 addi a4,a4,896
|
|
6a00: 0476 slli s0,s0,0x1d
|
|
6a02: 07b2 slli a5,a5,0xc
|
|
6a04: 0752 slli a4,a4,0x14
|
|
6a06: 83b1 srli a5,a5,0xc
|
|
6a08: 01f49513 slli a0,s1,0x1f
|
|
6a0c: 8fd9 or a5,a5,a4
|
|
6a0e: 8fc9 or a5,a5,a0
|
|
6a10: 40b2 lw ra,12(sp)
|
|
6a12: 8522 mv a0,s0
|
|
6a14: 4422 lw s0,8(sp)
|
|
6a16: 4492 lw s1,4(sp)
|
|
6a18: 85be mv a1,a5
|
|
6a1a: 0141 addi sp,sp,16
|
|
6a1c: 8082 ret
|
|
6a1e: eb05 bnez a4,6a4e <__extendsfdf2+0x7a>
|
|
6a20: c439 beqz s0,6a6e <__extendsfdf2+0x9a>
|
|
6a22: 8522 mv a0,s0
|
|
6a24: 22d9 jal 6bea <__clzsi2>
|
|
6a26: 47a9 li a5,10
|
|
6a28: 04a7c663 blt a5,a0,6a74 <__extendsfdf2+0xa0>
|
|
6a2c: 472d li a4,11
|
|
6a2e: 8f09 sub a4,a4,a0
|
|
6a30: 01550793 addi a5,a0,21
|
|
6a34: 00e45733 srl a4,s0,a4
|
|
6a38: 00f41433 sll s0,s0,a5
|
|
6a3c: 00c71793 slli a5,a4,0xc
|
|
6a40: 38900713 li a4,905
|
|
6a44: 8f09 sub a4,a4,a0
|
|
6a46: 83b1 srli a5,a5,0xc
|
|
6a48: 7ff77713 andi a4,a4,2047
|
|
6a4c: bf5d j 6a02 <__extendsfdf2+0x2e>
|
|
6a4e: cc01 beqz s0,6a66 <__extendsfdf2+0x92>
|
|
6a50: 00345713 srli a4,s0,0x3
|
|
6a54: 000807b7 lui a5,0x80
|
|
6a58: 8fd9 or a5,a5,a4
|
|
6a5a: 07b2 slli a5,a5,0xc
|
|
6a5c: 0476 slli s0,s0,0x1d
|
|
6a5e: 83b1 srli a5,a5,0xc
|
|
6a60: 7ff00713 li a4,2047
|
|
6a64: bf79 j 6a02 <__extendsfdf2+0x2e>
|
|
6a66: 7ff00713 li a4,2047
|
|
6a6a: 4781 li a5,0
|
|
6a6c: bf59 j 6a02 <__extendsfdf2+0x2e>
|
|
6a6e: 4701 li a4,0
|
|
6a70: 4781 li a5,0
|
|
6a72: bf41 j 6a02 <__extendsfdf2+0x2e>
|
|
6a74: ff550713 addi a4,a0,-11
|
|
6a78: 00e41733 sll a4,s0,a4
|
|
6a7c: 4401 li s0,0
|
|
6a7e: bf7d j 6a3c <__extendsfdf2+0x68>
|
|
|
|
00006a80 <__truncdfsf2>:
|
|
6a80: 0145d693 srli a3,a1,0x14
|
|
6a84: 00c59793 slli a5,a1,0xc
|
|
6a88: 7ff6f693 andi a3,a3,2047
|
|
6a8c: 83b1 srli a5,a5,0xc
|
|
6a8e: 00168613 addi a2,a3,1 # fc000001 <_eusrstack+0xdbffb001>
|
|
6a92: 078e slli a5,a5,0x3
|
|
6a94: 01d55713 srli a4,a0,0x1d
|
|
6a98: 7fe67613 andi a2,a2,2046
|
|
6a9c: 81fd srli a1,a1,0x1f
|
|
6a9e: 8f5d or a4,a4,a5
|
|
6aa0: 00351893 slli a7,a0,0x3
|
|
6aa4: ce35 beqz a2,6b20 <__truncdfsf2+0xa0>
|
|
6aa6: c8068813 addi a6,a3,-896
|
|
6aaa: 0fe00793 li a5,254
|
|
6aae: 0107dd63 bge a5,a6,6ac8 <__truncdfsf2+0x48>
|
|
6ab2: 4781 li a5,0
|
|
6ab4: 00979513 slli a0,a5,0x9
|
|
6ab8: 0ff00693 li a3,255
|
|
6abc: 06de slli a3,a3,0x17
|
|
6abe: 8125 srli a0,a0,0x9
|
|
6ac0: 05fe slli a1,a1,0x1f
|
|
6ac2: 8d55 or a0,a0,a3
|
|
6ac4: 8d4d or a0,a0,a1
|
|
6ac6: 8082 ret
|
|
6ac8: 0b005563 blez a6,6b72 <__truncdfsf2+0xf2>
|
|
6acc: 00651793 slli a5,a0,0x6
|
|
6ad0: 070e slli a4,a4,0x3
|
|
6ad2: 00f037b3 snez a5,a5
|
|
6ad6: 8fd9 or a5,a5,a4
|
|
6ad8: 01d8d893 srli a7,a7,0x1d
|
|
6adc: 0117e7b3 or a5,a5,a7
|
|
6ae0: 0077f713 andi a4,a5,7
|
|
6ae4: 10070163 beqz a4,6be6 <__truncdfsf2+0x166>
|
|
6ae8: 00f7f713 andi a4,a5,15
|
|
6aec: 4691 li a3,4
|
|
6aee: 00d70363 beq a4,a3,6af4 <__truncdfsf2+0x74>
|
|
6af2: 0791 addi a5,a5,4
|
|
6af4: 04000737 lui a4,0x4000
|
|
6af8: 8f7d and a4,a4,a5
|
|
6afa: c775 beqz a4,6be6 <__truncdfsf2+0x166>
|
|
6afc: 00180713 addi a4,a6,1 # 100001 <_data_lma+0xf7111>
|
|
6b00: 0ff00613 li a2,255
|
|
6b04: 0ff77693 andi a3,a4,255
|
|
6b08: fac705e3 beq a4,a2,6ab2 <__truncdfsf2+0x32>
|
|
6b0c: 079a slli a5,a5,0x6
|
|
6b0e: 83a5 srli a5,a5,0x9
|
|
6b10: 00979513 slli a0,a5,0x9
|
|
6b14: 06de slli a3,a3,0x17
|
|
6b16: 8125 srli a0,a0,0x9
|
|
6b18: 05fe slli a1,a1,0x1f
|
|
6b1a: 8d55 or a0,a0,a3
|
|
6b1c: 8d4d or a0,a0,a1
|
|
6b1e: 8082 ret
|
|
6b20: 011767b3 or a5,a4,a7
|
|
6b24: ee99 bnez a3,6b42 <__truncdfsf2+0xc2>
|
|
6b26: cf85 beqz a5,6b5e <__truncdfsf2+0xde>
|
|
6b28: 4795 li a5,5
|
|
6b2a: 079a slli a5,a5,0x6
|
|
6b2c: 83a5 srli a5,a5,0x9
|
|
6b2e: 00979513 slli a0,a5,0x9
|
|
6b32: 0ff6f693 andi a3,a3,255
|
|
6b36: 06de slli a3,a3,0x17
|
|
6b38: 8125 srli a0,a0,0x9
|
|
6b3a: 05fe slli a1,a1,0x1f
|
|
6b3c: 8d55 or a0,a0,a3
|
|
6b3e: 8d4d or a0,a0,a1
|
|
6b40: 8082 ret
|
|
6b42: dba5 beqz a5,6ab2 <__truncdfsf2+0x32>
|
|
6b44: 004007b7 lui a5,0x400
|
|
6b48: 00979513 slli a0,a5,0x9
|
|
6b4c: 0ff00693 li a3,255
|
|
6b50: 06de slli a3,a3,0x17
|
|
6b52: 4581 li a1,0
|
|
6b54: 8125 srli a0,a0,0x9
|
|
6b56: 05fe slli a1,a1,0x1f
|
|
6b58: 8d55 or a0,a0,a3
|
|
6b5a: 8d4d or a0,a0,a1
|
|
6b5c: 8082 ret
|
|
6b5e: 4781 li a5,0
|
|
6b60: 00979513 slli a0,a5,0x9
|
|
6b64: 4681 li a3,0
|
|
6b66: 06de slli a3,a3,0x17
|
|
6b68: 8125 srli a0,a0,0x9
|
|
6b6a: 05fe slli a1,a1,0x1f
|
|
6b6c: 8d55 or a0,a0,a3
|
|
6b6e: 8d4d or a0,a0,a1
|
|
6b70: 8082 ret
|
|
6b72: 57a5 li a5,-23
|
|
6b74: 04f84863 blt a6,a5,6bc4 <__truncdfsf2+0x144>
|
|
6b78: 47f9 li a5,30
|
|
6b7a: 00800637 lui a2,0x800
|
|
6b7e: 410787b3 sub a5,a5,a6
|
|
6b82: 457d li a0,31
|
|
6b84: 8e59 or a2,a2,a4
|
|
6b86: 04f55163 bge a0,a5,6bc8 <__truncdfsf2+0x148>
|
|
6b8a: 5779 li a4,-2
|
|
6b8c: 41070733 sub a4,a4,a6
|
|
6b90: 02000513 li a0,32
|
|
6b94: 00e65733 srl a4,a2,a4
|
|
6b98: 00a78863 beq a5,a0,6ba8 <__truncdfsf2+0x128>
|
|
6b9c: ca268693 addi a3,a3,-862
|
|
6ba0: 00d616b3 sll a3,a2,a3
|
|
6ba4: 00d8e8b3 or a7,a7,a3
|
|
6ba8: 011037b3 snez a5,a7
|
|
6bac: 8fd9 or a5,a5,a4
|
|
6bae: 0077f713 andi a4,a5,7
|
|
6bb2: 4801 li a6,0
|
|
6bb4: fb15 bnez a4,6ae8 <__truncdfsf2+0x68>
|
|
6bb6: 00579713 slli a4,a5,0x5
|
|
6bba: 4685 li a3,1
|
|
6bbc: f40748e3 bltz a4,6b0c <__truncdfsf2+0x8c>
|
|
6bc0: 4681 li a3,0
|
|
6bc2: b7a5 j 6b2a <__truncdfsf2+0xaa>
|
|
6bc4: 4681 li a3,0
|
|
6bc6: b78d j 6b28 <__truncdfsf2+0xa8>
|
|
6bc8: c8268693 addi a3,a3,-894
|
|
6bcc: 00d89733 sll a4,a7,a3
|
|
6bd0: 00e03733 snez a4,a4
|
|
6bd4: 00d616b3 sll a3,a2,a3
|
|
6bd8: 00f8d8b3 srl a7,a7,a5
|
|
6bdc: 00d767b3 or a5,a4,a3
|
|
6be0: 00f8e7b3 or a5,a7,a5
|
|
6be4: b7e9 j 6bae <__truncdfsf2+0x12e>
|
|
6be6: 86c2 mv a3,a6
|
|
6be8: b789 j 6b2a <__truncdfsf2+0xaa>
|
|
|
|
00006bea <__clzsi2>:
|
|
6bea: 67c1 lui a5,0x10
|
|
6bec: 02f57c63 bgeu a0,a5,6c24 <__clzsi2+0x3a>
|
|
6bf0: 0ff00793 li a5,255
|
|
6bf4: 02000713 li a4,32
|
|
6bf8: 00a7eb63 bltu a5,a0,6c0e <__clzsi2+0x24>
|
|
6bfc: 00002797 auipc a5,0x2
|
|
6c00: 15878793 addi a5,a5,344 # 8d54 <__clz_tab>
|
|
6c04: 97aa add a5,a5,a0
|
|
6c06: 2388 lbu a0,0(a5)
|
|
6c08: 40a70533 sub a0,a4,a0
|
|
6c0c: 8082 ret
|
|
6c0e: 8121 srli a0,a0,0x8
|
|
6c10: 00002797 auipc a5,0x2
|
|
6c14: 14478793 addi a5,a5,324 # 8d54 <__clz_tab>
|
|
6c18: 97aa add a5,a5,a0
|
|
6c1a: 2388 lbu a0,0(a5)
|
|
6c1c: 4761 li a4,24
|
|
6c1e: 40a70533 sub a0,a4,a0
|
|
6c22: 8082 ret
|
|
6c24: 010007b7 lui a5,0x1000
|
|
6c28: 00f56d63 bltu a0,a5,6c42 <__clzsi2+0x58>
|
|
6c2c: 8161 srli a0,a0,0x18
|
|
6c2e: 00002797 auipc a5,0x2
|
|
6c32: 12678793 addi a5,a5,294 # 8d54 <__clz_tab>
|
|
6c36: 97aa add a5,a5,a0
|
|
6c38: 2388 lbu a0,0(a5)
|
|
6c3a: 4721 li a4,8
|
|
6c3c: 40a70533 sub a0,a4,a0
|
|
6c40: 8082 ret
|
|
6c42: 8141 srli a0,a0,0x10
|
|
6c44: 00002797 auipc a5,0x2
|
|
6c48: 11078793 addi a5,a5,272 # 8d54 <__clz_tab>
|
|
6c4c: 97aa add a5,a5,a0
|
|
6c4e: 2388 lbu a0,0(a5)
|
|
6c50: 4741 li a4,16
|
|
6c52: 40a70533 sub a0,a4,a0
|
|
6c56: 8082 ret
|
|
|
|
00006c58 <memcpy>:
|
|
6c58: 00a5c7b3 xor a5,a1,a0
|
|
6c5c: 8b8d andi a5,a5,3
|
|
6c5e: 00c50733 add a4,a0,a2
|
|
6c62: e781 bnez a5,6c6a <memcpy+0x12>
|
|
6c64: 478d li a5,3
|
|
6c66: 00c7ed63 bltu a5,a2,6c80 <memcpy+0x28>
|
|
6c6a: 87aa mv a5,a0
|
|
6c6c: 08e57e63 bgeu a0,a4,6d08 <memcpy+0xb0>
|
|
6c70: 2194 lbu a3,0(a1)
|
|
6c72: 0785 addi a5,a5,1
|
|
6c74: 0585 addi a1,a1,1
|
|
6c76: fed78fa3 sb a3,-1(a5)
|
|
6c7a: fee7ebe3 bltu a5,a4,6c70 <memcpy+0x18>
|
|
6c7e: 8082 ret
|
|
6c80: 00357693 andi a3,a0,3
|
|
6c84: 87aa mv a5,a0
|
|
6c86: ca89 beqz a3,6c98 <memcpy+0x40>
|
|
6c88: 2194 lbu a3,0(a1)
|
|
6c8a: 0785 addi a5,a5,1
|
|
6c8c: 0585 addi a1,a1,1
|
|
6c8e: fed78fa3 sb a3,-1(a5)
|
|
6c92: 0037f693 andi a3,a5,3
|
|
6c96: bfc5 j 6c86 <memcpy+0x2e>
|
|
6c98: ffc77693 andi a3,a4,-4
|
|
6c9c: fe068613 addi a2,a3,-32
|
|
6ca0: 06c7f063 bgeu a5,a2,6d00 <memcpy+0xa8>
|
|
6ca4: 0005a383 lw t2,0(a1)
|
|
6ca8: 0045a283 lw t0,4(a1)
|
|
6cac: 0085af83 lw t6,8(a1)
|
|
6cb0: 00c5af03 lw t5,12(a1)
|
|
6cb4: 0105ae83 lw t4,16(a1)
|
|
6cb8: 0145ae03 lw t3,20(a1)
|
|
6cbc: 0185a303 lw t1,24(a1)
|
|
6cc0: 01c5a883 lw a7,28(a1)
|
|
6cc4: 02458593 addi a1,a1,36
|
|
6cc8: 0077a023 sw t2,0(a5)
|
|
6ccc: ffc5a803 lw a6,-4(a1)
|
|
6cd0: 0057a223 sw t0,4(a5)
|
|
6cd4: 01f7a423 sw t6,8(a5)
|
|
6cd8: 01e7a623 sw t5,12(a5)
|
|
6cdc: 01d7a823 sw t4,16(a5)
|
|
6ce0: 01c7aa23 sw t3,20(a5)
|
|
6ce4: 0067ac23 sw t1,24(a5)
|
|
6ce8: 0117ae23 sw a7,28(a5)
|
|
6cec: 02478793 addi a5,a5,36
|
|
6cf0: ff07ae23 sw a6,-4(a5)
|
|
6cf4: b775 j 6ca0 <memcpy+0x48>
|
|
6cf6: 4190 lw a2,0(a1)
|
|
6cf8: 0791 addi a5,a5,4
|
|
6cfa: 0591 addi a1,a1,4
|
|
6cfc: fec7ae23 sw a2,-4(a5)
|
|
6d00: fed7ebe3 bltu a5,a3,6cf6 <memcpy+0x9e>
|
|
6d04: f6e7e6e3 bltu a5,a4,6c70 <memcpy+0x18>
|
|
6d08: 8082 ret
|
|
|
|
00006d0a <iprintf>:
|
|
6d0a: 7139 addi sp,sp,-64
|
|
6d0c: da3e sw a5,52(sp)
|
|
6d0e: d22e sw a1,36(sp)
|
|
6d10: d432 sw a2,40(sp)
|
|
6d12: d636 sw a3,44(sp)
|
|
6d14: d83a sw a4,48(sp)
|
|
6d16: dc42 sw a6,56(sp)
|
|
6d18: de46 sw a7,60(sp)
|
|
6d1a: 81818793 addi a5,gp,-2024 # 20000180 <_impure_ptr>
|
|
6d1e: cc22 sw s0,24(sp)
|
|
6d20: 4380 lw s0,0(a5)
|
|
6d22: ca26 sw s1,20(sp)
|
|
6d24: ce06 sw ra,28(sp)
|
|
6d26: 84aa mv s1,a0
|
|
6d28: c409 beqz s0,6d32 <iprintf+0x28>
|
|
6d2a: 4c1c lw a5,24(s0)
|
|
6d2c: e399 bnez a5,6d32 <iprintf+0x28>
|
|
6d2e: 8522 mv a0,s0
|
|
6d30: 2505 jal 7350 <__sinit>
|
|
6d32: 440c lw a1,8(s0)
|
|
6d34: 1054 addi a3,sp,36
|
|
6d36: 8626 mv a2,s1
|
|
6d38: 8522 mv a0,s0
|
|
6d3a: c636 sw a3,12(sp)
|
|
6d3c: 5b9000ef jal ra,7af4 <_vfiprintf_r>
|
|
6d40: 40f2 lw ra,28(sp)
|
|
6d42: 4462 lw s0,24(sp)
|
|
6d44: 44d2 lw s1,20(sp)
|
|
6d46: 6121 addi sp,sp,64
|
|
6d48: 8082 ret
|
|
|
|
00006d4a <_puts_r>:
|
|
6d4a: 1101 addi sp,sp,-32
|
|
6d4c: ca26 sw s1,20(sp)
|
|
6d4e: c84a sw s2,16(sp)
|
|
6d50: ce06 sw ra,28(sp)
|
|
6d52: cc22 sw s0,24(sp)
|
|
6d54: c64e sw s3,12(sp)
|
|
6d56: c452 sw s4,8(sp)
|
|
6d58: 84aa mv s1,a0
|
|
6d5a: 892e mv s2,a1
|
|
6d5c: c501 beqz a0,6d64 <_puts_r+0x1a>
|
|
6d5e: 4d1c lw a5,24(a0)
|
|
6d60: e391 bnez a5,6d64 <_puts_r+0x1a>
|
|
6d62: 23fd jal 7350 <__sinit>
|
|
6d64: 4c9c lw a5,24(s1)
|
|
6d66: 4480 lw s0,8(s1)
|
|
6d68: e399 bnez a5,6d6e <_puts_r+0x24>
|
|
6d6a: 8526 mv a0,s1
|
|
6d6c: 23d5 jal 7350 <__sinit>
|
|
6d6e: 00002797 auipc a5,0x2
|
|
6d72: 10678793 addi a5,a5,262 # 8e74 <__sf_fake_stdin>
|
|
6d76: 02f41b63 bne s0,a5,6dac <_puts_r+0x62>
|
|
6d7a: 40c0 lw s0,4(s1)
|
|
6d7c: 245e lhu a5,12(s0)
|
|
6d7e: 8ba1 andi a5,a5,8
|
|
6d80: c7b1 beqz a5,6dcc <_puts_r+0x82>
|
|
6d82: 481c lw a5,16(s0)
|
|
6d84: c7a1 beqz a5,6dcc <_puts_r+0x82>
|
|
6d86: 59fd li s3,-1
|
|
6d88: 4a29 li s4,10
|
|
6d8a: 441c lw a5,8(s0)
|
|
6d8c: 00094583 lbu a1,0(s2)
|
|
6d90: 17fd addi a5,a5,-1
|
|
6d92: e9b1 bnez a1,6de6 <_puts_r+0x9c>
|
|
6d94: c41c sw a5,8(s0)
|
|
6d96: 0607dd63 bgez a5,6e10 <_puts_r+0xc6>
|
|
6d9a: 8622 mv a2,s0
|
|
6d9c: 45a9 li a1,10
|
|
6d9e: 8526 mv a0,s1
|
|
6da0: 2275 jal 6f4c <__swbuf_r>
|
|
6da2: 57fd li a5,-1
|
|
6da4: 02f50863 beq a0,a5,6dd4 <_puts_r+0x8a>
|
|
6da8: 4529 li a0,10
|
|
6daa: a035 j 6dd6 <_puts_r+0x8c>
|
|
6dac: 00002797 auipc a5,0x2
|
|
6db0: 0e878793 addi a5,a5,232 # 8e94 <__sf_fake_stdout>
|
|
6db4: 00f41463 bne s0,a5,6dbc <_puts_r+0x72>
|
|
6db8: 4480 lw s0,8(s1)
|
|
6dba: b7c9 j 6d7c <_puts_r+0x32>
|
|
6dbc: 00002797 auipc a5,0x2
|
|
6dc0: 09878793 addi a5,a5,152 # 8e54 <__sf_fake_stderr>
|
|
6dc4: faf41ce3 bne s0,a5,6d7c <_puts_r+0x32>
|
|
6dc8: 44c0 lw s0,12(s1)
|
|
6dca: bf4d j 6d7c <_puts_r+0x32>
|
|
6dcc: 85a2 mv a1,s0
|
|
6dce: 8526 mv a0,s1
|
|
6dd0: 2c25 jal 7008 <__swsetup_r>
|
|
6dd2: d955 beqz a0,6d86 <_puts_r+0x3c>
|
|
6dd4: 557d li a0,-1
|
|
6dd6: 40f2 lw ra,28(sp)
|
|
6dd8: 4462 lw s0,24(sp)
|
|
6dda: 44d2 lw s1,20(sp)
|
|
6ddc: 4942 lw s2,16(sp)
|
|
6dde: 49b2 lw s3,12(sp)
|
|
6de0: 4a22 lw s4,8(sp)
|
|
6de2: 6105 addi sp,sp,32
|
|
6de4: 8082 ret
|
|
6de6: c41c sw a5,8(s0)
|
|
6de8: 0905 addi s2,s2,1
|
|
6dea: 0007d763 bgez a5,6df8 <_puts_r+0xae>
|
|
6dee: 4c18 lw a4,24(s0)
|
|
6df0: 00e7ca63 blt a5,a4,6e04 <_puts_r+0xba>
|
|
6df4: 01458863 beq a1,s4,6e04 <_puts_r+0xba>
|
|
6df8: 401c lw a5,0(s0)
|
|
6dfa: 00178713 addi a4,a5,1
|
|
6dfe: c018 sw a4,0(s0)
|
|
6e00: a38c sb a1,0(a5)
|
|
6e02: b761 j 6d8a <_puts_r+0x40>
|
|
6e04: 8622 mv a2,s0
|
|
6e06: 8526 mv a0,s1
|
|
6e08: 2291 jal 6f4c <__swbuf_r>
|
|
6e0a: f93510e3 bne a0,s3,6d8a <_puts_r+0x40>
|
|
6e0e: b7d9 j 6dd4 <_puts_r+0x8a>
|
|
6e10: 401c lw a5,0(s0)
|
|
6e12: 00178713 addi a4,a5,1
|
|
6e16: c018 sw a4,0(s0)
|
|
6e18: 4729 li a4,10
|
|
6e1a: a398 sb a4,0(a5)
|
|
6e1c: b771 j 6da8 <_puts_r+0x5e>
|
|
|
|
00006e1e <puts>:
|
|
6e1e: 81818793 addi a5,gp,-2024 # 20000180 <_impure_ptr>
|
|
6e22: 85aa mv a1,a0
|
|
6e24: 4388 lw a0,0(a5)
|
|
6e26: f25ff06f j 6d4a <_puts_r>
|
|
|
|
00006e2a <srand>:
|
|
6e2a: 1141 addi sp,sp,-16
|
|
6e2c: 81818793 addi a5,gp,-2024 # 20000180 <_impure_ptr>
|
|
6e30: c422 sw s0,8(sp)
|
|
6e32: 4380 lw s0,0(a5)
|
|
6e34: c226 sw s1,4(sp)
|
|
6e36: c606 sw ra,12(sp)
|
|
6e38: 5c1c lw a5,56(s0)
|
|
6e3a: 84aa mv s1,a0
|
|
6e3c: eb95 bnez a5,6e70 <srand+0x46>
|
|
6e3e: 4561 li a0,24
|
|
6e40: 770000ef jal ra,75b0 <malloc>
|
|
6e44: abcd37b7 lui a5,0xabcd3
|
|
6e48: dc08 sw a0,56(s0)
|
|
6e4a: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
6e4e: c11c sw a5,0(a0)
|
|
6e50: e66d17b7 lui a5,0xe66d1
|
|
6e54: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
6e58: c15c sw a5,4(a0)
|
|
6e5a: 0005e7b7 lui a5,0x5e
|
|
6e5e: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x54ffc>
|
|
6e62: c51c sw a5,8(a0)
|
|
6e64: 47ad li a5,11
|
|
6e66: a55e sh a5,12(a0)
|
|
6e68: 4705 li a4,1
|
|
6e6a: 4781 li a5,0
|
|
6e6c: c918 sw a4,16(a0)
|
|
6e6e: c95c sw a5,20(a0)
|
|
6e70: 5c1c lw a5,56(s0)
|
|
6e72: 40b2 lw ra,12(sp)
|
|
6e74: 4422 lw s0,8(sp)
|
|
6e76: cb84 sw s1,16(a5)
|
|
6e78: 0007aa23 sw zero,20(a5)
|
|
6e7c: 4492 lw s1,4(sp)
|
|
6e7e: 0141 addi sp,sp,16
|
|
6e80: 8082 ret
|
|
|
|
00006e82 <rand>:
|
|
6e82: 1141 addi sp,sp,-16
|
|
6e84: 81818793 addi a5,gp,-2024 # 20000180 <_impure_ptr>
|
|
6e88: c422 sw s0,8(sp)
|
|
6e8a: 4380 lw s0,0(a5)
|
|
6e8c: c606 sw ra,12(sp)
|
|
6e8e: 5c1c lw a5,56(s0)
|
|
6e90: eb8d bnez a5,6ec2 <rand+0x40>
|
|
6e92: 4561 li a0,24
|
|
6e94: 2f31 jal 75b0 <malloc>
|
|
6e96: abcd37b7 lui a5,0xabcd3
|
|
6e9a: dc08 sw a0,56(s0)
|
|
6e9c: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
6ea0: c11c sw a5,0(a0)
|
|
6ea2: e66d17b7 lui a5,0xe66d1
|
|
6ea6: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
6eaa: c15c sw a5,4(a0)
|
|
6eac: 0005e7b7 lui a5,0x5e
|
|
6eb0: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x54ffc>
|
|
6eb4: c51c sw a5,8(a0)
|
|
6eb6: 47ad li a5,11
|
|
6eb8: a55e sh a5,12(a0)
|
|
6eba: 4705 li a4,1
|
|
6ebc: 4781 li a5,0
|
|
6ebe: c918 sw a4,16(a0)
|
|
6ec0: c95c sw a5,20(a0)
|
|
6ec2: 5c10 lw a2,56(s0)
|
|
6ec4: 4c958737 lui a4,0x4c958
|
|
6ec8: 5851f7b7 lui a5,0x5851f
|
|
6ecc: 4a14 lw a3,16(a2)
|
|
6ece: 4a48 lw a0,20(a2)
|
|
6ed0: f2d70713 addi a4,a4,-211 # 4c957f2d <_eusrstack+0x2c952f2d>
|
|
6ed4: 42d78793 addi a5,a5,1069 # 5851f42d <_eusrstack+0x3851a42d>
|
|
6ed8: 02f687b3 mul a5,a3,a5
|
|
6edc: 40b2 lw ra,12(sp)
|
|
6ede: 4422 lw s0,8(sp)
|
|
6ee0: 02e50533 mul a0,a0,a4
|
|
6ee4: 953e add a0,a0,a5
|
|
6ee6: 02e687b3 mul a5,a3,a4
|
|
6eea: 02e6b733 mulhu a4,a3,a4
|
|
6eee: 00178693 addi a3,a5,1
|
|
6ef2: ca14 sw a3,16(a2)
|
|
6ef4: 972a add a4,a4,a0
|
|
6ef6: 00f6b533 sltu a0,a3,a5
|
|
6efa: 953a add a0,a0,a4
|
|
6efc: ca48 sw a0,20(a2)
|
|
6efe: 0506 slli a0,a0,0x1
|
|
6f00: 8105 srli a0,a0,0x1
|
|
6f02: 0141 addi sp,sp,16
|
|
6f04: 8082 ret
|
|
|
|
00006f06 <siprintf>:
|
|
6f06: 7135 addi sp,sp,-160
|
|
6f08: cb3e sw a5,148(sp)
|
|
6f0a: 800007b7 lui a5,0x80000
|
|
6f0e: fff7c793 not a5,a5
|
|
6f12: ce3e sw a5,28(sp)
|
|
6f14: c83e sw a5,16(sp)
|
|
6f16: 77c1 lui a5,0xffff0
|
|
6f18: 20878793 addi a5,a5,520 # ffff0208 <_eusrstack+0xdffeb208>
|
|
6f1c: c532 sw a2,136(sp)
|
|
6f1e: c736 sw a3,140(sp)
|
|
6f20: c93a sw a4,144(sp)
|
|
6f22: cd42 sw a6,152(sp)
|
|
6f24: cf46 sw a7,156(sp)
|
|
6f26: ca3e sw a5,20(sp)
|
|
6f28: 81818793 addi a5,gp,-2024 # 20000180 <_impure_ptr>
|
|
6f2c: c42a sw a0,8(sp)
|
|
6f2e: cc2a sw a0,24(sp)
|
|
6f30: 4388 lw a0,0(a5)
|
|
6f32: 0134 addi a3,sp,136
|
|
6f34: 862e mv a2,a1
|
|
6f36: 002c addi a1,sp,8
|
|
6f38: de86 sw ra,124(sp)
|
|
6f3a: c236 sw a3,4(sp)
|
|
6f3c: 0e5000ef jal ra,7820 <_svfiprintf_r>
|
|
6f40: 47a2 lw a5,8(sp)
|
|
6f42: 00078023 sb zero,0(a5)
|
|
6f46: 50f6 lw ra,124(sp)
|
|
6f48: 610d addi sp,sp,160
|
|
6f4a: 8082 ret
|
|
|
|
00006f4c <__swbuf_r>:
|
|
6f4c: 1101 addi sp,sp,-32
|
|
6f4e: cc22 sw s0,24(sp)
|
|
6f50: ca26 sw s1,20(sp)
|
|
6f52: c84a sw s2,16(sp)
|
|
6f54: ce06 sw ra,28(sp)
|
|
6f56: c64e sw s3,12(sp)
|
|
6f58: 84aa mv s1,a0
|
|
6f5a: 892e mv s2,a1
|
|
6f5c: 8432 mv s0,a2
|
|
6f5e: c501 beqz a0,6f66 <__swbuf_r+0x1a>
|
|
6f60: 4d1c lw a5,24(a0)
|
|
6f62: e391 bnez a5,6f66 <__swbuf_r+0x1a>
|
|
6f64: 26f5 jal 7350 <__sinit>
|
|
6f66: 00002797 auipc a5,0x2
|
|
6f6a: f0e78793 addi a5,a5,-242 # 8e74 <__sf_fake_stdin>
|
|
6f6e: 06f41763 bne s0,a5,6fdc <__swbuf_r+0x90>
|
|
6f72: 40c0 lw s0,4(s1)
|
|
6f74: 4c1c lw a5,24(s0)
|
|
6f76: c41c sw a5,8(s0)
|
|
6f78: 245e lhu a5,12(s0)
|
|
6f7a: 8ba1 andi a5,a5,8
|
|
6f7c: c3c1 beqz a5,6ffc <__swbuf_r+0xb0>
|
|
6f7e: 481c lw a5,16(s0)
|
|
6f80: cfb5 beqz a5,6ffc <__swbuf_r+0xb0>
|
|
6f82: 481c lw a5,16(s0)
|
|
6f84: 4008 lw a0,0(s0)
|
|
6f86: 0ff97993 andi s3,s2,255
|
|
6f8a: 0ff97913 andi s2,s2,255
|
|
6f8e: 8d1d sub a0,a0,a5
|
|
6f90: 485c lw a5,20(s0)
|
|
6f92: 00f54663 blt a0,a5,6f9e <__swbuf_r+0x52>
|
|
6f96: 85a2 mv a1,s0
|
|
6f98: 8526 mv a0,s1
|
|
6f9a: 2c69 jal 7234 <_fflush_r>
|
|
6f9c: e525 bnez a0,7004 <__swbuf_r+0xb8>
|
|
6f9e: 441c lw a5,8(s0)
|
|
6fa0: 0505 addi a0,a0,1
|
|
6fa2: 17fd addi a5,a5,-1
|
|
6fa4: c41c sw a5,8(s0)
|
|
6fa6: 401c lw a5,0(s0)
|
|
6fa8: 00178713 addi a4,a5,1
|
|
6fac: c018 sw a4,0(s0)
|
|
6fae: 01378023 sb s3,0(a5)
|
|
6fb2: 485c lw a5,20(s0)
|
|
6fb4: 00a78863 beq a5,a0,6fc4 <__swbuf_r+0x78>
|
|
6fb8: 245e lhu a5,12(s0)
|
|
6fba: 8b85 andi a5,a5,1
|
|
6fbc: cb81 beqz a5,6fcc <__swbuf_r+0x80>
|
|
6fbe: 47a9 li a5,10
|
|
6fc0: 00f91663 bne s2,a5,6fcc <__swbuf_r+0x80>
|
|
6fc4: 85a2 mv a1,s0
|
|
6fc6: 8526 mv a0,s1
|
|
6fc8: 24b5 jal 7234 <_fflush_r>
|
|
6fca: ed0d bnez a0,7004 <__swbuf_r+0xb8>
|
|
6fcc: 40f2 lw ra,28(sp)
|
|
6fce: 4462 lw s0,24(sp)
|
|
6fd0: 854a mv a0,s2
|
|
6fd2: 44d2 lw s1,20(sp)
|
|
6fd4: 4942 lw s2,16(sp)
|
|
6fd6: 49b2 lw s3,12(sp)
|
|
6fd8: 6105 addi sp,sp,32
|
|
6fda: 8082 ret
|
|
6fdc: 00002797 auipc a5,0x2
|
|
6fe0: eb878793 addi a5,a5,-328 # 8e94 <__sf_fake_stdout>
|
|
6fe4: 00f41463 bne s0,a5,6fec <__swbuf_r+0xa0>
|
|
6fe8: 4480 lw s0,8(s1)
|
|
6fea: b769 j 6f74 <__swbuf_r+0x28>
|
|
6fec: 00002797 auipc a5,0x2
|
|
6ff0: e6878793 addi a5,a5,-408 # 8e54 <__sf_fake_stderr>
|
|
6ff4: f8f410e3 bne s0,a5,6f74 <__swbuf_r+0x28>
|
|
6ff8: 44c0 lw s0,12(s1)
|
|
6ffa: bfad j 6f74 <__swbuf_r+0x28>
|
|
6ffc: 85a2 mv a1,s0
|
|
6ffe: 8526 mv a0,s1
|
|
7000: 2021 jal 7008 <__swsetup_r>
|
|
7002: d141 beqz a0,6f82 <__swbuf_r+0x36>
|
|
7004: 597d li s2,-1
|
|
7006: b7d9 j 6fcc <__swbuf_r+0x80>
|
|
|
|
00007008 <__swsetup_r>:
|
|
7008: 1141 addi sp,sp,-16
|
|
700a: 81818793 addi a5,gp,-2024 # 20000180 <_impure_ptr>
|
|
700e: c226 sw s1,4(sp)
|
|
7010: 4384 lw s1,0(a5)
|
|
7012: c422 sw s0,8(sp)
|
|
7014: c04a sw s2,0(sp)
|
|
7016: c606 sw ra,12(sp)
|
|
7018: 892a mv s2,a0
|
|
701a: 842e mv s0,a1
|
|
701c: c489 beqz s1,7026 <__swsetup_r+0x1e>
|
|
701e: 4c9c lw a5,24(s1)
|
|
7020: e399 bnez a5,7026 <__swsetup_r+0x1e>
|
|
7022: 8526 mv a0,s1
|
|
7024: 2635 jal 7350 <__sinit>
|
|
7026: 00002797 auipc a5,0x2
|
|
702a: e4e78793 addi a5,a5,-434 # 8e74 <__sf_fake_stdin>
|
|
702e: 02f41b63 bne s0,a5,7064 <__swsetup_r+0x5c>
|
|
7032: 40c0 lw s0,4(s1)
|
|
7034: 00c41703 lh a4,12(s0) # 400000c <_data_lma+0x3ff711c>
|
|
7038: 01071793 slli a5,a4,0x10
|
|
703c: 83c1 srli a5,a5,0x10
|
|
703e: 0087f693 andi a3,a5,8
|
|
7042: eaad bnez a3,70b4 <__swsetup_r+0xac>
|
|
7044: 0107f693 andi a3,a5,16
|
|
7048: ee95 bnez a3,7084 <__swsetup_r+0x7c>
|
|
704a: 47a5 li a5,9
|
|
704c: 00f92023 sw a5,0(s2)
|
|
7050: 04076713 ori a4,a4,64
|
|
7054: a45a sh a4,12(s0)
|
|
7056: 557d li a0,-1
|
|
7058: 40b2 lw ra,12(sp)
|
|
705a: 4422 lw s0,8(sp)
|
|
705c: 4492 lw s1,4(sp)
|
|
705e: 4902 lw s2,0(sp)
|
|
7060: 0141 addi sp,sp,16
|
|
7062: 8082 ret
|
|
7064: 00002797 auipc a5,0x2
|
|
7068: e3078793 addi a5,a5,-464 # 8e94 <__sf_fake_stdout>
|
|
706c: 00f41463 bne s0,a5,7074 <__swsetup_r+0x6c>
|
|
7070: 4480 lw s0,8(s1)
|
|
7072: b7c9 j 7034 <__swsetup_r+0x2c>
|
|
7074: 00002797 auipc a5,0x2
|
|
7078: de078793 addi a5,a5,-544 # 8e54 <__sf_fake_stderr>
|
|
707c: faf41ce3 bne s0,a5,7034 <__swsetup_r+0x2c>
|
|
7080: 44c0 lw s0,12(s1)
|
|
7082: bf4d j 7034 <__swsetup_r+0x2c>
|
|
7084: 8b91 andi a5,a5,4
|
|
7086: c39d beqz a5,70ac <__swsetup_r+0xa4>
|
|
7088: 584c lw a1,52(s0)
|
|
708a: c989 beqz a1,709c <__swsetup_r+0x94>
|
|
708c: 04440793 addi a5,s0,68
|
|
7090: 00f58463 beq a1,a5,7098 <__swsetup_r+0x90>
|
|
7094: 854a mv a0,s2
|
|
7096: 2315 jal 75ba <_free_r>
|
|
7098: 02042a23 sw zero,52(s0)
|
|
709c: 245e lhu a5,12(s0)
|
|
709e: 00042223 sw zero,4(s0)
|
|
70a2: fdb7f793 andi a5,a5,-37
|
|
70a6: a45e sh a5,12(s0)
|
|
70a8: 481c lw a5,16(s0)
|
|
70aa: c01c sw a5,0(s0)
|
|
70ac: 245e lhu a5,12(s0)
|
|
70ae: 0087e793 ori a5,a5,8
|
|
70b2: a45e sh a5,12(s0)
|
|
70b4: 481c lw a5,16(s0)
|
|
70b6: eb99 bnez a5,70cc <__swsetup_r+0xc4>
|
|
70b8: 245e lhu a5,12(s0)
|
|
70ba: 20000713 li a4,512
|
|
70be: 2807f793 andi a5,a5,640
|
|
70c2: 00e78563 beq a5,a4,70cc <__swsetup_r+0xc4>
|
|
70c6: 85a2 mv a1,s0
|
|
70c8: 854a mv a0,s2
|
|
70ca: 2991 jal 751e <__smakebuf_r>
|
|
70cc: 245e lhu a5,12(s0)
|
|
70ce: 0017f713 andi a4,a5,1
|
|
70d2: c31d beqz a4,70f8 <__swsetup_r+0xf0>
|
|
70d4: 485c lw a5,20(s0)
|
|
70d6: 00042423 sw zero,8(s0)
|
|
70da: 40f007b3 neg a5,a5
|
|
70de: cc1c sw a5,24(s0)
|
|
70e0: 481c lw a5,16(s0)
|
|
70e2: 4501 li a0,0
|
|
70e4: fbb5 bnez a5,7058 <__swsetup_r+0x50>
|
|
70e6: 00c41783 lh a5,12(s0)
|
|
70ea: 0807f713 andi a4,a5,128
|
|
70ee: d72d beqz a4,7058 <__swsetup_r+0x50>
|
|
70f0: 0407e793 ori a5,a5,64
|
|
70f4: a45e sh a5,12(s0)
|
|
70f6: b785 j 7056 <__swsetup_r+0x4e>
|
|
70f8: 8b89 andi a5,a5,2
|
|
70fa: 4701 li a4,0
|
|
70fc: e391 bnez a5,7100 <__swsetup_r+0xf8>
|
|
70fe: 4858 lw a4,20(s0)
|
|
7100: c418 sw a4,8(s0)
|
|
7102: bff9 j 70e0 <__swsetup_r+0xd8>
|
|
|
|
00007104 <__sflush_r>:
|
|
7104: 25de lhu a5,12(a1)
|
|
7106: 1101 addi sp,sp,-32
|
|
7108: cc22 sw s0,24(sp)
|
|
710a: ca26 sw s1,20(sp)
|
|
710c: ce06 sw ra,28(sp)
|
|
710e: c84a sw s2,16(sp)
|
|
7110: c64e sw s3,12(sp)
|
|
7112: 0087f713 andi a4,a5,8
|
|
7116: 84aa mv s1,a0
|
|
7118: 842e mv s0,a1
|
|
711a: eb79 bnez a4,71f0 <__sflush_r+0xec>
|
|
711c: 41d8 lw a4,4(a1)
|
|
711e: 00e04d63 bgtz a4,7138 <__sflush_r+0x34>
|
|
7122: 41b8 lw a4,64(a1)
|
|
7124: 00e04a63 bgtz a4,7138 <__sflush_r+0x34>
|
|
7128: 4501 li a0,0
|
|
712a: 40f2 lw ra,28(sp)
|
|
712c: 4462 lw s0,24(sp)
|
|
712e: 44d2 lw s1,20(sp)
|
|
7130: 4942 lw s2,16(sp)
|
|
7132: 49b2 lw s3,12(sp)
|
|
7134: 6105 addi sp,sp,32
|
|
7136: 8082 ret
|
|
7138: 5458 lw a4,44(s0)
|
|
713a: d77d beqz a4,7128 <__sflush_r+0x24>
|
|
713c: 0004a903 lw s2,0(s1)
|
|
7140: 01379693 slli a3,a5,0x13
|
|
7144: 0004a023 sw zero,0(s1)
|
|
7148: 0606db63 bgez a3,71be <__sflush_r+0xba>
|
|
714c: 4870 lw a2,84(s0)
|
|
714e: 245e lhu a5,12(s0)
|
|
7150: 8b91 andi a5,a5,4
|
|
7152: c799 beqz a5,7160 <__sflush_r+0x5c>
|
|
7154: 405c lw a5,4(s0)
|
|
7156: 8e1d sub a2,a2,a5
|
|
7158: 585c lw a5,52(s0)
|
|
715a: c399 beqz a5,7160 <__sflush_r+0x5c>
|
|
715c: 403c lw a5,64(s0)
|
|
715e: 8e1d sub a2,a2,a5
|
|
7160: 545c lw a5,44(s0)
|
|
7162: 500c lw a1,32(s0)
|
|
7164: 4681 li a3,0
|
|
7166: 8526 mv a0,s1
|
|
7168: 9782 jalr a5
|
|
716a: 57fd li a5,-1
|
|
716c: 245a lhu a4,12(s0)
|
|
716e: 00f51d63 bne a0,a5,7188 <__sflush_r+0x84>
|
|
7172: 4094 lw a3,0(s1)
|
|
7174: 47f5 li a5,29
|
|
7176: 06d7e863 bltu a5,a3,71e6 <__sflush_r+0xe2>
|
|
717a: 204007b7 lui a5,0x20400
|
|
717e: 0785 addi a5,a5,1
|
|
7180: 00d7d7b3 srl a5,a5,a3
|
|
7184: 8b85 andi a5,a5,1
|
|
7186: c3a5 beqz a5,71e6 <__sflush_r+0xe2>
|
|
7188: 481c lw a5,16(s0)
|
|
718a: 00042223 sw zero,4(s0)
|
|
718e: c01c sw a5,0(s0)
|
|
7190: 01371793 slli a5,a4,0x13
|
|
7194: 0007d863 bgez a5,71a4 <__sflush_r+0xa0>
|
|
7198: 57fd li a5,-1
|
|
719a: 00f51463 bne a0,a5,71a2 <__sflush_r+0x9e>
|
|
719e: 409c lw a5,0(s1)
|
|
71a0: e391 bnez a5,71a4 <__sflush_r+0xa0>
|
|
71a2: c868 sw a0,84(s0)
|
|
71a4: 584c lw a1,52(s0)
|
|
71a6: 0124a023 sw s2,0(s1)
|
|
71aa: ddbd beqz a1,7128 <__sflush_r+0x24>
|
|
71ac: 04440793 addi a5,s0,68
|
|
71b0: 00f58463 beq a1,a5,71b8 <__sflush_r+0xb4>
|
|
71b4: 8526 mv a0,s1
|
|
71b6: 2111 jal 75ba <_free_r>
|
|
71b8: 02042a23 sw zero,52(s0)
|
|
71bc: b7b5 j 7128 <__sflush_r+0x24>
|
|
71be: 500c lw a1,32(s0)
|
|
71c0: 4601 li a2,0
|
|
71c2: 4685 li a3,1
|
|
71c4: 8526 mv a0,s1
|
|
71c6: 9702 jalr a4
|
|
71c8: 57fd li a5,-1
|
|
71ca: 862a mv a2,a0
|
|
71cc: f8f511e3 bne a0,a5,714e <__sflush_r+0x4a>
|
|
71d0: 409c lw a5,0(s1)
|
|
71d2: dfb5 beqz a5,714e <__sflush_r+0x4a>
|
|
71d4: 4775 li a4,29
|
|
71d6: 00e78563 beq a5,a4,71e0 <__sflush_r+0xdc>
|
|
71da: 4759 li a4,22
|
|
71dc: 04e79363 bne a5,a4,7222 <__sflush_r+0x11e>
|
|
71e0: 0124a023 sw s2,0(s1)
|
|
71e4: b791 j 7128 <__sflush_r+0x24>
|
|
71e6: 04076713 ori a4,a4,64
|
|
71ea: a45a sh a4,12(s0)
|
|
71ec: 557d li a0,-1
|
|
71ee: bf35 j 712a <__sflush_r+0x26>
|
|
71f0: 0105a983 lw s3,16(a1)
|
|
71f4: f2098ae3 beqz s3,7128 <__sflush_r+0x24>
|
|
71f8: 0005a903 lw s2,0(a1)
|
|
71fc: 8b8d andi a5,a5,3
|
|
71fe: 0135a023 sw s3,0(a1)
|
|
7202: 41390933 sub s2,s2,s3
|
|
7206: 4701 li a4,0
|
|
7208: e391 bnez a5,720c <__sflush_r+0x108>
|
|
720a: 49d8 lw a4,20(a1)
|
|
720c: c418 sw a4,8(s0)
|
|
720e: f1205de3 blez s2,7128 <__sflush_r+0x24>
|
|
7212: 541c lw a5,40(s0)
|
|
7214: 500c lw a1,32(s0)
|
|
7216: 86ca mv a3,s2
|
|
7218: 864e mv a2,s3
|
|
721a: 8526 mv a0,s1
|
|
721c: 9782 jalr a5
|
|
721e: 00a04763 bgtz a0,722c <__sflush_r+0x128>
|
|
7222: 245e lhu a5,12(s0)
|
|
7224: 0407e793 ori a5,a5,64
|
|
7228: a45e sh a5,12(s0)
|
|
722a: b7c9 j 71ec <__sflush_r+0xe8>
|
|
722c: 99aa add s3,s3,a0
|
|
722e: 40a90933 sub s2,s2,a0
|
|
7232: bff1 j 720e <__sflush_r+0x10a>
|
|
|
|
00007234 <_fflush_r>:
|
|
7234: 499c lw a5,16(a1)
|
|
7236: c3a5 beqz a5,7296 <_fflush_r+0x62>
|
|
7238: 1101 addi sp,sp,-32
|
|
723a: cc22 sw s0,24(sp)
|
|
723c: ce06 sw ra,28(sp)
|
|
723e: 842a mv s0,a0
|
|
7240: c511 beqz a0,724c <_fflush_r+0x18>
|
|
7242: 4d1c lw a5,24(a0)
|
|
7244: e781 bnez a5,724c <_fflush_r+0x18>
|
|
7246: c62e sw a1,12(sp)
|
|
7248: 2221 jal 7350 <__sinit>
|
|
724a: 45b2 lw a1,12(sp)
|
|
724c: 00002797 auipc a5,0x2
|
|
7250: c2878793 addi a5,a5,-984 # 8e74 <__sf_fake_stdin>
|
|
7254: 00f59c63 bne a1,a5,726c <_fflush_r+0x38>
|
|
7258: 404c lw a1,4(s0)
|
|
725a: 00c59783 lh a5,12(a1)
|
|
725e: c79d beqz a5,728c <_fflush_r+0x58>
|
|
7260: 8522 mv a0,s0
|
|
7262: 4462 lw s0,24(sp)
|
|
7264: 40f2 lw ra,28(sp)
|
|
7266: 6105 addi sp,sp,32
|
|
7268: e9dff06f j 7104 <__sflush_r>
|
|
726c: 00002797 auipc a5,0x2
|
|
7270: c2878793 addi a5,a5,-984 # 8e94 <__sf_fake_stdout>
|
|
7274: 00f59463 bne a1,a5,727c <_fflush_r+0x48>
|
|
7278: 440c lw a1,8(s0)
|
|
727a: b7c5 j 725a <_fflush_r+0x26>
|
|
727c: 00002797 auipc a5,0x2
|
|
7280: bd878793 addi a5,a5,-1064 # 8e54 <__sf_fake_stderr>
|
|
7284: fcf59be3 bne a1,a5,725a <_fflush_r+0x26>
|
|
7288: 444c lw a1,12(s0)
|
|
728a: bfc1 j 725a <_fflush_r+0x26>
|
|
728c: 40f2 lw ra,28(sp)
|
|
728e: 4462 lw s0,24(sp)
|
|
7290: 4501 li a0,0
|
|
7292: 6105 addi sp,sp,32
|
|
7294: 8082 ret
|
|
7296: 4501 li a0,0
|
|
7298: 8082 ret
|
|
|
|
0000729a <std>:
|
|
729a: 1141 addi sp,sp,-16
|
|
729c: c422 sw s0,8(sp)
|
|
729e: c606 sw ra,12(sp)
|
|
72a0: 842a mv s0,a0
|
|
72a2: a54e sh a1,12(a0)
|
|
72a4: a572 sh a2,14(a0)
|
|
72a6: 00052023 sw zero,0(a0)
|
|
72aa: 00052223 sw zero,4(a0)
|
|
72ae: 00052423 sw zero,8(a0)
|
|
72b2: 06052223 sw zero,100(a0)
|
|
72b6: 00052823 sw zero,16(a0)
|
|
72ba: 00052a23 sw zero,20(a0)
|
|
72be: 00052c23 sw zero,24(a0)
|
|
72c2: 4621 li a2,8
|
|
72c4: 4581 li a1,0
|
|
72c6: 05c50513 addi a0,a0,92
|
|
72ca: ed7f80ef jal ra,1a0 <memset>
|
|
72ce: 00001797 auipc a5,0x1
|
|
72d2: e8e78793 addi a5,a5,-370 # 815c <__sread>
|
|
72d6: d05c sw a5,36(s0)
|
|
72d8: 00001797 auipc a5,0x1
|
|
72dc: eb078793 addi a5,a5,-336 # 8188 <__swrite>
|
|
72e0: d41c sw a5,40(s0)
|
|
72e2: 00001797 auipc a5,0x1
|
|
72e6: eee78793 addi a5,a5,-274 # 81d0 <__sseek>
|
|
72ea: d45c sw a5,44(s0)
|
|
72ec: 00001797 auipc a5,0x1
|
|
72f0: f1478793 addi a5,a5,-236 # 8200 <__sclose>
|
|
72f4: d000 sw s0,32(s0)
|
|
72f6: d81c sw a5,48(s0)
|
|
72f8: 40b2 lw ra,12(sp)
|
|
72fa: 4422 lw s0,8(sp)
|
|
72fc: 0141 addi sp,sp,16
|
|
72fe: 8082 ret
|
|
|
|
00007300 <_cleanup_r>:
|
|
7300: 00000597 auipc a1,0x0
|
|
7304: f3458593 addi a1,a1,-204 # 7234 <_fflush_r>
|
|
7308: aa91 j 745c <_fwalk_reent>
|
|
|
|
0000730a <__sfmoreglue>:
|
|
730a: 1141 addi sp,sp,-16
|
|
730c: c226 sw s1,4(sp)
|
|
730e: 06800613 li a2,104
|
|
7312: fff58493 addi s1,a1,-1
|
|
7316: 02c484b3 mul s1,s1,a2
|
|
731a: c04a sw s2,0(sp)
|
|
731c: 892e mv s2,a1
|
|
731e: c422 sw s0,8(sp)
|
|
7320: c606 sw ra,12(sp)
|
|
7322: 07448593 addi a1,s1,116
|
|
7326: 2e35 jal 7662 <_malloc_r>
|
|
7328: 842a mv s0,a0
|
|
732a: cd01 beqz a0,7342 <__sfmoreglue+0x38>
|
|
732c: 00052023 sw zero,0(a0)
|
|
7330: 01252223 sw s2,4(a0)
|
|
7334: 0531 addi a0,a0,12
|
|
7336: c408 sw a0,8(s0)
|
|
7338: 06848613 addi a2,s1,104
|
|
733c: 4581 li a1,0
|
|
733e: e63f80ef jal ra,1a0 <memset>
|
|
7342: 8522 mv a0,s0
|
|
7344: 40b2 lw ra,12(sp)
|
|
7346: 4422 lw s0,8(sp)
|
|
7348: 4492 lw s1,4(sp)
|
|
734a: 4902 lw s2,0(sp)
|
|
734c: 0141 addi sp,sp,16
|
|
734e: 8082 ret
|
|
|
|
00007350 <__sinit>:
|
|
7350: 4d1c lw a5,24(a0)
|
|
7352: e7a5 bnez a5,73ba <__sinit+0x6a>
|
|
7354: 1141 addi sp,sp,-16
|
|
7356: c606 sw ra,12(sp)
|
|
7358: c422 sw s0,8(sp)
|
|
735a: 00000797 auipc a5,0x0
|
|
735e: fa678793 addi a5,a5,-90 # 7300 <_cleanup_r>
|
|
7362: d51c sw a5,40(a0)
|
|
7364: 81c18793 addi a5,gp,-2020 # 20000184 <_global_impure_ptr>
|
|
7368: 439c lw a5,0(a5)
|
|
736a: 04052423 sw zero,72(a0)
|
|
736e: 04052623 sw zero,76(a0)
|
|
7372: 04052823 sw zero,80(a0)
|
|
7376: 00f51463 bne a0,a5,737e <__sinit+0x2e>
|
|
737a: 4785 li a5,1
|
|
737c: cd1c sw a5,24(a0)
|
|
737e: 842a mv s0,a0
|
|
7380: 2835 jal 73bc <__sfp>
|
|
7382: c048 sw a0,4(s0)
|
|
7384: 8522 mv a0,s0
|
|
7386: 281d jal 73bc <__sfp>
|
|
7388: c408 sw a0,8(s0)
|
|
738a: 8522 mv a0,s0
|
|
738c: 2805 jal 73bc <__sfp>
|
|
738e: c448 sw a0,12(s0)
|
|
7390: 4048 lw a0,4(s0)
|
|
7392: 4601 li a2,0
|
|
7394: 4591 li a1,4
|
|
7396: f05ff0ef jal ra,729a <std>
|
|
739a: 4408 lw a0,8(s0)
|
|
739c: 4605 li a2,1
|
|
739e: 45a5 li a1,9
|
|
73a0: efbff0ef jal ra,729a <std>
|
|
73a4: 4448 lw a0,12(s0)
|
|
73a6: 4609 li a2,2
|
|
73a8: 45c9 li a1,18
|
|
73aa: ef1ff0ef jal ra,729a <std>
|
|
73ae: 4785 li a5,1
|
|
73b0: cc1c sw a5,24(s0)
|
|
73b2: 40b2 lw ra,12(sp)
|
|
73b4: 4422 lw s0,8(sp)
|
|
73b6: 0141 addi sp,sp,16
|
|
73b8: 8082 ret
|
|
73ba: 8082 ret
|
|
|
|
000073bc <__sfp>:
|
|
73bc: 1141 addi sp,sp,-16
|
|
73be: 81c18793 addi a5,gp,-2020 # 20000184 <_global_impure_ptr>
|
|
73c2: c226 sw s1,4(sp)
|
|
73c4: 4384 lw s1,0(a5)
|
|
73c6: c04a sw s2,0(sp)
|
|
73c8: c606 sw ra,12(sp)
|
|
73ca: 4c9c lw a5,24(s1)
|
|
73cc: c422 sw s0,8(sp)
|
|
73ce: 892a mv s2,a0
|
|
73d0: e781 bnez a5,73d8 <__sfp+0x1c>
|
|
73d2: 8526 mv a0,s1
|
|
73d4: f7dff0ef jal ra,7350 <__sinit>
|
|
73d8: 04848493 addi s1,s1,72
|
|
73dc: 4480 lw s0,8(s1)
|
|
73de: 40dc lw a5,4(s1)
|
|
73e0: 17fd addi a5,a5,-1
|
|
73e2: 0007d663 bgez a5,73ee <__sfp+0x32>
|
|
73e6: 409c lw a5,0(s1)
|
|
73e8: cfb9 beqz a5,7446 <__sfp+0x8a>
|
|
73ea: 4084 lw s1,0(s1)
|
|
73ec: bfc5 j 73dc <__sfp+0x20>
|
|
73ee: 00c41703 lh a4,12(s0)
|
|
73f2: e739 bnez a4,7440 <__sfp+0x84>
|
|
73f4: 77c1 lui a5,0xffff0
|
|
73f6: 0785 addi a5,a5,1
|
|
73f8: 06042223 sw zero,100(s0)
|
|
73fc: 00042023 sw zero,0(s0)
|
|
7400: 00042223 sw zero,4(s0)
|
|
7404: 00042423 sw zero,8(s0)
|
|
7408: c45c sw a5,12(s0)
|
|
740a: 00042823 sw zero,16(s0)
|
|
740e: 00042a23 sw zero,20(s0)
|
|
7412: 00042c23 sw zero,24(s0)
|
|
7416: 4621 li a2,8
|
|
7418: 4581 li a1,0
|
|
741a: 05c40513 addi a0,s0,92
|
|
741e: d83f80ef jal ra,1a0 <memset>
|
|
7422: 02042a23 sw zero,52(s0)
|
|
7426: 02042c23 sw zero,56(s0)
|
|
742a: 04042423 sw zero,72(s0)
|
|
742e: 04042623 sw zero,76(s0)
|
|
7432: 8522 mv a0,s0
|
|
7434: 40b2 lw ra,12(sp)
|
|
7436: 4422 lw s0,8(sp)
|
|
7438: 4492 lw s1,4(sp)
|
|
743a: 4902 lw s2,0(sp)
|
|
743c: 0141 addi sp,sp,16
|
|
743e: 8082 ret
|
|
7440: 06840413 addi s0,s0,104
|
|
7444: bf71 j 73e0 <__sfp+0x24>
|
|
7446: 4591 li a1,4
|
|
7448: 854a mv a0,s2
|
|
744a: ec1ff0ef jal ra,730a <__sfmoreglue>
|
|
744e: c088 sw a0,0(s1)
|
|
7450: fd49 bnez a0,73ea <__sfp+0x2e>
|
|
7452: 47b1 li a5,12
|
|
7454: 00f92023 sw a5,0(s2)
|
|
7458: 4401 li s0,0
|
|
745a: bfe1 j 7432 <__sfp+0x76>
|
|
|
|
0000745c <_fwalk_reent>:
|
|
745c: 7179 addi sp,sp,-48
|
|
745e: d422 sw s0,40(sp)
|
|
7460: d04a sw s2,32(sp)
|
|
7462: cc52 sw s4,24(sp)
|
|
7464: ca56 sw s5,20(sp)
|
|
7466: c85a sw s6,16(sp)
|
|
7468: c65e sw s7,12(sp)
|
|
746a: d606 sw ra,44(sp)
|
|
746c: d226 sw s1,36(sp)
|
|
746e: ce4e sw s3,28(sp)
|
|
7470: 8a2a mv s4,a0
|
|
7472: 8aae mv s5,a1
|
|
7474: 04850413 addi s0,a0,72
|
|
7478: 4901 li s2,0
|
|
747a: 4b05 li s6,1
|
|
747c: 5bfd li s7,-1
|
|
747e: ec09 bnez s0,7498 <_fwalk_reent+0x3c>
|
|
7480: 50b2 lw ra,44(sp)
|
|
7482: 5422 lw s0,40(sp)
|
|
7484: 854a mv a0,s2
|
|
7486: 5492 lw s1,36(sp)
|
|
7488: 5902 lw s2,32(sp)
|
|
748a: 49f2 lw s3,28(sp)
|
|
748c: 4a62 lw s4,24(sp)
|
|
748e: 4ad2 lw s5,20(sp)
|
|
7490: 4b42 lw s6,16(sp)
|
|
7492: 4bb2 lw s7,12(sp)
|
|
7494: 6145 addi sp,sp,48
|
|
7496: 8082 ret
|
|
7498: 4404 lw s1,8(s0)
|
|
749a: 00442983 lw s3,4(s0)
|
|
749e: 19fd addi s3,s3,-1
|
|
74a0: 0009d463 bgez s3,74a8 <_fwalk_reent+0x4c>
|
|
74a4: 4000 lw s0,0(s0)
|
|
74a6: bfe1 j 747e <_fwalk_reent+0x22>
|
|
74a8: 24de lhu a5,12(s1)
|
|
74aa: 00fb7b63 bgeu s6,a5,74c0 <_fwalk_reent+0x64>
|
|
74ae: 00e49783 lh a5,14(s1)
|
|
74b2: 01778763 beq a5,s7,74c0 <_fwalk_reent+0x64>
|
|
74b6: 85a6 mv a1,s1
|
|
74b8: 8552 mv a0,s4
|
|
74ba: 9a82 jalr s5
|
|
74bc: 00a96933 or s2,s2,a0
|
|
74c0: 06848493 addi s1,s1,104
|
|
74c4: bfe9 j 749e <_fwalk_reent+0x42>
|
|
|
|
000074c6 <__swhatbuf_r>:
|
|
74c6: 7119 addi sp,sp,-128
|
|
74c8: daa6 sw s1,116(sp)
|
|
74ca: 84ae mv s1,a1
|
|
74cc: 00e59583 lh a1,14(a1)
|
|
74d0: dca2 sw s0,120(sp)
|
|
74d2: de86 sw ra,124(sp)
|
|
74d4: 8432 mv s0,a2
|
|
74d6: 0005db63 bgez a1,74ec <__swhatbuf_r+0x26>
|
|
74da: 24de lhu a5,12(s1)
|
|
74dc: 0006a023 sw zero,0(a3)
|
|
74e0: 0807f793 andi a5,a5,128
|
|
74e4: e785 bnez a5,750c <__swhatbuf_r+0x46>
|
|
74e6: 40000793 li a5,1024
|
|
74ea: a01d j 7510 <__swhatbuf_r+0x4a>
|
|
74ec: 0830 addi a2,sp,24
|
|
74ee: c636 sw a3,12(sp)
|
|
74f0: 57d000ef jal ra,826c <_fstat_r>
|
|
74f4: 46b2 lw a3,12(sp)
|
|
74f6: fe0542e3 bltz a0,74da <__swhatbuf_r+0x14>
|
|
74fa: 4772 lw a4,28(sp)
|
|
74fc: 67bd lui a5,0xf
|
|
74fe: 8ff9 and a5,a5,a4
|
|
7500: 7779 lui a4,0xffffe
|
|
7502: 97ba add a5,a5,a4
|
|
7504: 0017b793 seqz a5,a5
|
|
7508: c29c sw a5,0(a3)
|
|
750a: bff1 j 74e6 <__swhatbuf_r+0x20>
|
|
750c: 04000793 li a5,64
|
|
7510: c01c sw a5,0(s0)
|
|
7512: 50f6 lw ra,124(sp)
|
|
7514: 5466 lw s0,120(sp)
|
|
7516: 54d6 lw s1,116(sp)
|
|
7518: 4501 li a0,0
|
|
751a: 6109 addi sp,sp,128
|
|
751c: 8082 ret
|
|
|
|
0000751e <__smakebuf_r>:
|
|
751e: 25de lhu a5,12(a1)
|
|
7520: 1101 addi sp,sp,-32
|
|
7522: cc22 sw s0,24(sp)
|
|
7524: ce06 sw ra,28(sp)
|
|
7526: ca26 sw s1,20(sp)
|
|
7528: c84a sw s2,16(sp)
|
|
752a: 8b89 andi a5,a5,2
|
|
752c: 842e mv s0,a1
|
|
752e: cf89 beqz a5,7548 <__smakebuf_r+0x2a>
|
|
7530: 04740793 addi a5,s0,71
|
|
7534: c01c sw a5,0(s0)
|
|
7536: c81c sw a5,16(s0)
|
|
7538: 4785 li a5,1
|
|
753a: c85c sw a5,20(s0)
|
|
753c: 40f2 lw ra,28(sp)
|
|
753e: 4462 lw s0,24(sp)
|
|
7540: 44d2 lw s1,20(sp)
|
|
7542: 4942 lw s2,16(sp)
|
|
7544: 6105 addi sp,sp,32
|
|
7546: 8082 ret
|
|
7548: 0074 addi a3,sp,12
|
|
754a: 0030 addi a2,sp,8
|
|
754c: 84aa mv s1,a0
|
|
754e: f79ff0ef jal ra,74c6 <__swhatbuf_r>
|
|
7552: 45a2 lw a1,8(sp)
|
|
7554: 892a mv s2,a0
|
|
7556: 8526 mv a0,s1
|
|
7558: 2229 jal 7662 <_malloc_r>
|
|
755a: e919 bnez a0,7570 <__smakebuf_r+0x52>
|
|
755c: 00c41783 lh a5,12(s0)
|
|
7560: 2007f713 andi a4,a5,512
|
|
7564: ff61 bnez a4,753c <__smakebuf_r+0x1e>
|
|
7566: 9bf1 andi a5,a5,-4
|
|
7568: 0027e793 ori a5,a5,2
|
|
756c: a45e sh a5,12(s0)
|
|
756e: b7c9 j 7530 <__smakebuf_r+0x12>
|
|
7570: 00000797 auipc a5,0x0
|
|
7574: d9078793 addi a5,a5,-624 # 7300 <_cleanup_r>
|
|
7578: d49c sw a5,40(s1)
|
|
757a: 245e lhu a5,12(s0)
|
|
757c: c008 sw a0,0(s0)
|
|
757e: c808 sw a0,16(s0)
|
|
7580: 0807e793 ori a5,a5,128
|
|
7584: a45e sh a5,12(s0)
|
|
7586: 47a2 lw a5,8(sp)
|
|
7588: c85c sw a5,20(s0)
|
|
758a: 47b2 lw a5,12(sp)
|
|
758c: cf81 beqz a5,75a4 <__smakebuf_r+0x86>
|
|
758e: 00e41583 lh a1,14(s0)
|
|
7592: 8526 mv a0,s1
|
|
7594: 50b000ef jal ra,829e <_isatty_r>
|
|
7598: c511 beqz a0,75a4 <__smakebuf_r+0x86>
|
|
759a: 245e lhu a5,12(s0)
|
|
759c: 9bf1 andi a5,a5,-4
|
|
759e: 0017e793 ori a5,a5,1
|
|
75a2: a45e sh a5,12(s0)
|
|
75a4: 245e lhu a5,12(s0)
|
|
75a6: 00f96933 or s2,s2,a5
|
|
75aa: 01241623 sh s2,12(s0)
|
|
75ae: b779 j 753c <__smakebuf_r+0x1e>
|
|
|
|
000075b0 <malloc>:
|
|
75b0: 81818793 addi a5,gp,-2024 # 20000180 <_impure_ptr>
|
|
75b4: 85aa mv a1,a0
|
|
75b6: 4388 lw a0,0(a5)
|
|
75b8: a06d j 7662 <_malloc_r>
|
|
|
|
000075ba <_free_r>:
|
|
75ba: c1dd beqz a1,7660 <_free_r+0xa6>
|
|
75bc: ffc5a783 lw a5,-4(a1)
|
|
75c0: 1141 addi sp,sp,-16
|
|
75c2: c422 sw s0,8(sp)
|
|
75c4: c606 sw ra,12(sp)
|
|
75c6: c226 sw s1,4(sp)
|
|
75c8: ffc58413 addi s0,a1,-4
|
|
75cc: 0007d363 bgez a5,75d2 <_free_r+0x18>
|
|
75d0: 943e add s0,s0,a5
|
|
75d2: 84aa mv s1,a0
|
|
75d4: 58d000ef jal ra,8360 <__malloc_lock>
|
|
75d8: 8ac18793 addi a5,gp,-1876 # 20000214 <__malloc_free_list>
|
|
75dc: 439c lw a5,0(a5)
|
|
75de: ef81 bnez a5,75f6 <_free_r+0x3c>
|
|
75e0: 00042223 sw zero,4(s0)
|
|
75e4: 8a81a623 sw s0,-1876(gp) # 20000214 <__malloc_free_list>
|
|
75e8: 4422 lw s0,8(sp)
|
|
75ea: 40b2 lw ra,12(sp)
|
|
75ec: 8526 mv a0,s1
|
|
75ee: 4492 lw s1,4(sp)
|
|
75f0: 0141 addi sp,sp,16
|
|
75f2: 5710006f j 8362 <__malloc_unlock>
|
|
75f6: 00f47e63 bgeu s0,a5,7612 <_free_r+0x58>
|
|
75fa: 4014 lw a3,0(s0)
|
|
75fc: 00d40733 add a4,s0,a3
|
|
7600: 00e79663 bne a5,a4,760c <_free_r+0x52>
|
|
7604: 4398 lw a4,0(a5)
|
|
7606: 43dc lw a5,4(a5)
|
|
7608: 9736 add a4,a4,a3
|
|
760a: c018 sw a4,0(s0)
|
|
760c: c05c sw a5,4(s0)
|
|
760e: bfd9 j 75e4 <_free_r+0x2a>
|
|
7610: 87ba mv a5,a4
|
|
7612: 43d8 lw a4,4(a5)
|
|
7614: c319 beqz a4,761a <_free_r+0x60>
|
|
7616: fee47de3 bgeu s0,a4,7610 <_free_r+0x56>
|
|
761a: 4394 lw a3,0(a5)
|
|
761c: 00d78633 add a2,a5,a3
|
|
7620: 00861f63 bne a2,s0,763e <_free_r+0x84>
|
|
7624: 4010 lw a2,0(s0)
|
|
7626: 96b2 add a3,a3,a2
|
|
7628: c394 sw a3,0(a5)
|
|
762a: 00d78633 add a2,a5,a3
|
|
762e: fac71de3 bne a4,a2,75e8 <_free_r+0x2e>
|
|
7632: 4310 lw a2,0(a4)
|
|
7634: 4358 lw a4,4(a4)
|
|
7636: 96b2 add a3,a3,a2
|
|
7638: c394 sw a3,0(a5)
|
|
763a: c3d8 sw a4,4(a5)
|
|
763c: b775 j 75e8 <_free_r+0x2e>
|
|
763e: 00c47563 bgeu s0,a2,7648 <_free_r+0x8e>
|
|
7642: 47b1 li a5,12
|
|
7644: c09c sw a5,0(s1)
|
|
7646: b74d j 75e8 <_free_r+0x2e>
|
|
7648: 4010 lw a2,0(s0)
|
|
764a: 00c406b3 add a3,s0,a2
|
|
764e: 00d71663 bne a4,a3,765a <_free_r+0xa0>
|
|
7652: 4314 lw a3,0(a4)
|
|
7654: 4358 lw a4,4(a4)
|
|
7656: 96b2 add a3,a3,a2
|
|
7658: c014 sw a3,0(s0)
|
|
765a: c058 sw a4,4(s0)
|
|
765c: c3c0 sw s0,4(a5)
|
|
765e: b769 j 75e8 <_free_r+0x2e>
|
|
7660: 8082 ret
|
|
|
|
00007662 <_malloc_r>:
|
|
7662: 1101 addi sp,sp,-32
|
|
7664: ca26 sw s1,20(sp)
|
|
7666: 00358493 addi s1,a1,3
|
|
766a: 98f1 andi s1,s1,-4
|
|
766c: ce06 sw ra,28(sp)
|
|
766e: cc22 sw s0,24(sp)
|
|
7670: c84a sw s2,16(sp)
|
|
7672: c64e sw s3,12(sp)
|
|
7674: 04a1 addi s1,s1,8
|
|
7676: 47b1 li a5,12
|
|
7678: 04f4f563 bgeu s1,a5,76c2 <_malloc_r+0x60>
|
|
767c: 44b1 li s1,12
|
|
767e: 04b4e463 bltu s1,a1,76c6 <_malloc_r+0x64>
|
|
7682: 892a mv s2,a0
|
|
7684: 4dd000ef jal ra,8360 <__malloc_lock>
|
|
7688: 8ac18793 addi a5,gp,-1876 # 20000214 <__malloc_free_list>
|
|
768c: 4398 lw a4,0(a5)
|
|
768e: 843a mv s0,a4
|
|
7690: e429 bnez s0,76da <_malloc_r+0x78>
|
|
7692: 8b018793 addi a5,gp,-1872 # 20000218 <__malloc_sbrk_start>
|
|
7696: 439c lw a5,0(a5)
|
|
7698: e799 bnez a5,76a6 <_malloc_r+0x44>
|
|
769a: 4581 li a1,0
|
|
769c: 854a mv a0,s2
|
|
769e: 28d000ef jal ra,812a <_sbrk_r>
|
|
76a2: 8aa1a823 sw a0,-1872(gp) # 20000218 <__malloc_sbrk_start>
|
|
76a6: 85a6 mv a1,s1
|
|
76a8: 854a mv a0,s2
|
|
76aa: 281000ef jal ra,812a <_sbrk_r>
|
|
76ae: 59fd li s3,-1
|
|
76b0: 07351963 bne a0,s3,7722 <_malloc_r+0xc0>
|
|
76b4: 47b1 li a5,12
|
|
76b6: 00f92023 sw a5,0(s2)
|
|
76ba: 854a mv a0,s2
|
|
76bc: 4a7000ef jal ra,8362 <__malloc_unlock>
|
|
76c0: a029 j 76ca <_malloc_r+0x68>
|
|
76c2: fa04dee3 bgez s1,767e <_malloc_r+0x1c>
|
|
76c6: 47b1 li a5,12
|
|
76c8: c11c sw a5,0(a0)
|
|
76ca: 4501 li a0,0
|
|
76cc: 40f2 lw ra,28(sp)
|
|
76ce: 4462 lw s0,24(sp)
|
|
76d0: 44d2 lw s1,20(sp)
|
|
76d2: 4942 lw s2,16(sp)
|
|
76d4: 49b2 lw s3,12(sp)
|
|
76d6: 6105 addi sp,sp,32
|
|
76d8: 8082 ret
|
|
76da: 401c lw a5,0(s0)
|
|
76dc: 8f85 sub a5,a5,s1
|
|
76de: 0207cf63 bltz a5,771c <_malloc_r+0xba>
|
|
76e2: 46ad li a3,11
|
|
76e4: 00f6f663 bgeu a3,a5,76f0 <_malloc_r+0x8e>
|
|
76e8: c01c sw a5,0(s0)
|
|
76ea: 943e add s0,s0,a5
|
|
76ec: c004 sw s1,0(s0)
|
|
76ee: a031 j 76fa <_malloc_r+0x98>
|
|
76f0: 405c lw a5,4(s0)
|
|
76f2: 02871363 bne a4,s0,7718 <_malloc_r+0xb6>
|
|
76f6: 8af1a623 sw a5,-1876(gp) # 20000214 <__malloc_free_list>
|
|
76fa: 854a mv a0,s2
|
|
76fc: 467000ef jal ra,8362 <__malloc_unlock>
|
|
7700: 00b40513 addi a0,s0,11
|
|
7704: 00440793 addi a5,s0,4
|
|
7708: 9961 andi a0,a0,-8
|
|
770a: 40f50733 sub a4,a0,a5
|
|
770e: df5d beqz a4,76cc <_malloc_r+0x6a>
|
|
7710: 943a add s0,s0,a4
|
|
7712: 8f89 sub a5,a5,a0
|
|
7714: c01c sw a5,0(s0)
|
|
7716: bf5d j 76cc <_malloc_r+0x6a>
|
|
7718: c35c sw a5,4(a4)
|
|
771a: b7c5 j 76fa <_malloc_r+0x98>
|
|
771c: 8722 mv a4,s0
|
|
771e: 4040 lw s0,4(s0)
|
|
7720: bf85 j 7690 <_malloc_r+0x2e>
|
|
7722: 00350413 addi s0,a0,3
|
|
7726: 9871 andi s0,s0,-4
|
|
7728: fc8502e3 beq a0,s0,76ec <_malloc_r+0x8a>
|
|
772c: 40a405b3 sub a1,s0,a0
|
|
7730: 854a mv a0,s2
|
|
7732: 1f9000ef jal ra,812a <_sbrk_r>
|
|
7736: fb351be3 bne a0,s3,76ec <_malloc_r+0x8a>
|
|
773a: bfad j 76b4 <_malloc_r+0x52>
|
|
|
|
0000773c <__ssputs_r>:
|
|
773c: 1101 addi sp,sp,-32
|
|
773e: c84a sw s2,16(sp)
|
|
7740: 0085a903 lw s2,8(a1)
|
|
7744: cc22 sw s0,24(sp)
|
|
7746: c452 sw s4,8(sp)
|
|
7748: c05a sw s6,0(sp)
|
|
774a: ce06 sw ra,28(sp)
|
|
774c: ca26 sw s1,20(sp)
|
|
774e: c64e sw s3,12(sp)
|
|
7750: c256 sw s5,4(sp)
|
|
7752: 842e mv s0,a1
|
|
7754: 8b32 mv s6,a2
|
|
7756: 8a36 mv s4,a3
|
|
7758: 0926e963 bltu a3,s2,77ea <__ssputs_r+0xae>
|
|
775c: 25de lhu a5,12(a1)
|
|
775e: 4807f713 andi a4,a5,1152
|
|
7762: c351 beqz a4,77e6 <__ssputs_r+0xaa>
|
|
7764: 4004 lw s1,0(s0)
|
|
7766: 498c lw a1,16(a1)
|
|
7768: 4858 lw a4,20(s0)
|
|
776a: 8aaa mv s5,a0
|
|
776c: 40b489b3 sub s3,s1,a1
|
|
7770: 448d li s1,3
|
|
7772: 02e484b3 mul s1,s1,a4
|
|
7776: 4709 li a4,2
|
|
7778: 02e4c4b3 div s1,s1,a4
|
|
777c: 00168713 addi a4,a3,1
|
|
7780: 974e add a4,a4,s3
|
|
7782: 00e4f363 bgeu s1,a4,7788 <__ssputs_r+0x4c>
|
|
7786: 84ba mv s1,a4
|
|
7788: 4007f793 andi a5,a5,1024
|
|
778c: cfbd beqz a5,780a <__ssputs_r+0xce>
|
|
778e: 85a6 mv a1,s1
|
|
7790: 8556 mv a0,s5
|
|
7792: ed1ff0ef jal ra,7662 <_malloc_r>
|
|
7796: 892a mv s2,a0
|
|
7798: e11d bnez a0,77be <__ssputs_r+0x82>
|
|
779a: 47b1 li a5,12
|
|
779c: 00faa023 sw a5,0(s5)
|
|
77a0: 245e lhu a5,12(s0)
|
|
77a2: 557d li a0,-1
|
|
77a4: 0407e793 ori a5,a5,64
|
|
77a8: a45e sh a5,12(s0)
|
|
77aa: 40f2 lw ra,28(sp)
|
|
77ac: 4462 lw s0,24(sp)
|
|
77ae: 44d2 lw s1,20(sp)
|
|
77b0: 4942 lw s2,16(sp)
|
|
77b2: 49b2 lw s3,12(sp)
|
|
77b4: 4a22 lw s4,8(sp)
|
|
77b6: 4a92 lw s5,4(sp)
|
|
77b8: 4b02 lw s6,0(sp)
|
|
77ba: 6105 addi sp,sp,32
|
|
77bc: 8082 ret
|
|
77be: 480c lw a1,16(s0)
|
|
77c0: 864e mv a2,s3
|
|
77c2: c96ff0ef jal ra,6c58 <memcpy>
|
|
77c6: 245e lhu a5,12(s0)
|
|
77c8: b7f7f793 andi a5,a5,-1153
|
|
77cc: 0807e793 ori a5,a5,128
|
|
77d0: a45e sh a5,12(s0)
|
|
77d2: 01242823 sw s2,16(s0)
|
|
77d6: c844 sw s1,20(s0)
|
|
77d8: 994e add s2,s2,s3
|
|
77da: 413484b3 sub s1,s1,s3
|
|
77de: 01242023 sw s2,0(s0)
|
|
77e2: c404 sw s1,8(s0)
|
|
77e4: 8952 mv s2,s4
|
|
77e6: 012a7363 bgeu s4,s2,77ec <__ssputs_r+0xb0>
|
|
77ea: 8952 mv s2,s4
|
|
77ec: 4008 lw a0,0(s0)
|
|
77ee: 864a mv a2,s2
|
|
77f0: 85da mv a1,s6
|
|
77f2: 329000ef jal ra,831a <memmove>
|
|
77f6: 441c lw a5,8(s0)
|
|
77f8: 4501 li a0,0
|
|
77fa: 412787b3 sub a5,a5,s2
|
|
77fe: c41c sw a5,8(s0)
|
|
7800: 401c lw a5,0(s0)
|
|
7802: 993e add s2,s2,a5
|
|
7804: 01242023 sw s2,0(s0)
|
|
7808: b74d j 77aa <__ssputs_r+0x6e>
|
|
780a: 8626 mv a2,s1
|
|
780c: 8556 mv a0,s5
|
|
780e: 357000ef jal ra,8364 <_realloc_r>
|
|
7812: 892a mv s2,a0
|
|
7814: fd5d bnez a0,77d2 <__ssputs_r+0x96>
|
|
7816: 480c lw a1,16(s0)
|
|
7818: 8556 mv a0,s5
|
|
781a: da1ff0ef jal ra,75ba <_free_r>
|
|
781e: bfb5 j 779a <__ssputs_r+0x5e>
|
|
|
|
00007820 <_svfiprintf_r>:
|
|
7820: 25de lhu a5,12(a1)
|
|
7822: 7171 addi sp,sp,-176
|
|
7824: d326 sw s1,164(sp)
|
|
7826: d14a sw s2,160(sp)
|
|
7828: cf4e sw s3,156(sp)
|
|
782a: d706 sw ra,172(sp)
|
|
782c: d522 sw s0,168(sp)
|
|
782e: cd52 sw s4,152(sp)
|
|
7830: cb56 sw s5,148(sp)
|
|
7832: c95a sw s6,144(sp)
|
|
7834: c75e sw s7,140(sp)
|
|
7836: c562 sw s8,136(sp)
|
|
7838: c366 sw s9,132(sp)
|
|
783a: 0807f793 andi a5,a5,128
|
|
783e: 89aa mv s3,a0
|
|
7840: 892e mv s2,a1
|
|
7842: 84b2 mv s1,a2
|
|
7844: c3b9 beqz a5,788a <_svfiprintf_r+0x6a>
|
|
7846: 499c lw a5,16(a1)
|
|
7848: e3a9 bnez a5,788a <_svfiprintf_r+0x6a>
|
|
784a: 04000593 li a1,64
|
|
784e: c636 sw a3,12(sp)
|
|
7850: e13ff0ef jal ra,7662 <_malloc_r>
|
|
7854: 00a92023 sw a0,0(s2)
|
|
7858: 00a92823 sw a0,16(s2)
|
|
785c: 46b2 lw a3,12(sp)
|
|
785e: e115 bnez a0,7882 <_svfiprintf_r+0x62>
|
|
7860: 47b1 li a5,12
|
|
7862: 00f9a023 sw a5,0(s3)
|
|
7866: 557d li a0,-1
|
|
7868: 50ba lw ra,172(sp)
|
|
786a: 542a lw s0,168(sp)
|
|
786c: 549a lw s1,164(sp)
|
|
786e: 590a lw s2,160(sp)
|
|
7870: 49fa lw s3,156(sp)
|
|
7872: 4a6a lw s4,152(sp)
|
|
7874: 4ada lw s5,148(sp)
|
|
7876: 4b4a lw s6,144(sp)
|
|
7878: 4bba lw s7,140(sp)
|
|
787a: 4c2a lw s8,136(sp)
|
|
787c: 4c9a lw s9,132(sp)
|
|
787e: 614d addi sp,sp,176
|
|
7880: 8082 ret
|
|
7882: 04000793 li a5,64
|
|
7886: 00f92a23 sw a5,20(s2)
|
|
788a: 02000793 li a5,32
|
|
788e: 02f10ca3 sb a5,57(sp)
|
|
7892: 03000793 li a5,48
|
|
7896: da02 sw zero,52(sp)
|
|
7898: 02f10d23 sb a5,58(sp)
|
|
789c: ce36 sw a3,28(sp)
|
|
789e: 02500b93 li s7,37
|
|
78a2: 00001a97 auipc s5,0x1
|
|
78a6: 612a8a93 addi s5,s5,1554 # 8eb4 <__sf_fake_stdout+0x20>
|
|
78aa: 4c05 li s8,1
|
|
78ac: 4b29 li s6,10
|
|
78ae: 8426 mv s0,s1
|
|
78b0: 201c lbu a5,0(s0)
|
|
78b2: c399 beqz a5,78b8 <_svfiprintf_r+0x98>
|
|
78b4: 09779963 bne a5,s7,7946 <_svfiprintf_r+0x126>
|
|
78b8: 40940cb3 sub s9,s0,s1
|
|
78bc: 000c8e63 beqz s9,78d8 <_svfiprintf_r+0xb8>
|
|
78c0: 86e6 mv a3,s9
|
|
78c2: 8626 mv a2,s1
|
|
78c4: 85ca mv a1,s2
|
|
78c6: 854e mv a0,s3
|
|
78c8: e75ff0ef jal ra,773c <__ssputs_r>
|
|
78cc: 57fd li a5,-1
|
|
78ce: 18f50b63 beq a0,a5,7a64 <_svfiprintf_r+0x244>
|
|
78d2: 56d2 lw a3,52(sp)
|
|
78d4: 96e6 add a3,a3,s9
|
|
78d6: da36 sw a3,52(sp)
|
|
78d8: 201c lbu a5,0(s0)
|
|
78da: 18078563 beqz a5,7a64 <_svfiprintf_r+0x244>
|
|
78de: 57fd li a5,-1
|
|
78e0: 00140493 addi s1,s0,1
|
|
78e4: d002 sw zero,32(sp)
|
|
78e6: d602 sw zero,44(sp)
|
|
78e8: d23e sw a5,36(sp)
|
|
78ea: d402 sw zero,40(sp)
|
|
78ec: 060101a3 sb zero,99(sp)
|
|
78f0: dc82 sw zero,120(sp)
|
|
78f2: 208c lbu a1,0(s1)
|
|
78f4: 4615 li a2,5
|
|
78f6: 8556 mv a0,s5
|
|
78f8: 20b000ef jal ra,8302 <memchr>
|
|
78fc: 00148413 addi s0,s1,1
|
|
7900: 5782 lw a5,32(sp)
|
|
7902: e521 bnez a0,794a <_svfiprintf_r+0x12a>
|
|
7904: 0107f713 andi a4,a5,16
|
|
7908: c709 beqz a4,7912 <_svfiprintf_r+0xf2>
|
|
790a: 02000713 li a4,32
|
|
790e: 06e101a3 sb a4,99(sp)
|
|
7912: 0087f713 andi a4,a5,8
|
|
7916: c709 beqz a4,7920 <_svfiprintf_r+0x100>
|
|
7918: 02b00713 li a4,43
|
|
791c: 06e101a3 sb a4,99(sp)
|
|
7920: 2094 lbu a3,0(s1)
|
|
7922: 02a00713 li a4,42
|
|
7926: 02e68a63 beq a3,a4,795a <_svfiprintf_r+0x13a>
|
|
792a: 57b2 lw a5,44(sp)
|
|
792c: 8426 mv s0,s1
|
|
792e: 4681 li a3,0
|
|
7930: 4625 li a2,9
|
|
7932: 2018 lbu a4,0(s0)
|
|
7934: 00140593 addi a1,s0,1
|
|
7938: fd070713 addi a4,a4,-48 # ffffdfd0 <_eusrstack+0xdfff8fd0>
|
|
793c: 06e67263 bgeu a2,a4,79a0 <_svfiprintf_r+0x180>
|
|
7940: c68d beqz a3,796a <_svfiprintf_r+0x14a>
|
|
7942: d63e sw a5,44(sp)
|
|
7944: a01d j 796a <_svfiprintf_r+0x14a>
|
|
7946: 0405 addi s0,s0,1
|
|
7948: b7a5 j 78b0 <_svfiprintf_r+0x90>
|
|
794a: 41550533 sub a0,a0,s5
|
|
794e: 00ac1533 sll a0,s8,a0
|
|
7952: 8fc9 or a5,a5,a0
|
|
7954: d03e sw a5,32(sp)
|
|
7956: 84a2 mv s1,s0
|
|
7958: bf69 j 78f2 <_svfiprintf_r+0xd2>
|
|
795a: 4772 lw a4,28(sp)
|
|
795c: 00470693 addi a3,a4,4
|
|
7960: 4318 lw a4,0(a4)
|
|
7962: ce36 sw a3,28(sp)
|
|
7964: 02074763 bltz a4,7992 <_svfiprintf_r+0x172>
|
|
7968: d63a sw a4,44(sp)
|
|
796a: 2018 lbu a4,0(s0)
|
|
796c: 02e00793 li a5,46
|
|
7970: 04f71d63 bne a4,a5,79ca <_svfiprintf_r+0x1aa>
|
|
7974: 3018 lbu a4,1(s0)
|
|
7976: 02a00793 li a5,42
|
|
797a: 02f71b63 bne a4,a5,79b0 <_svfiprintf_r+0x190>
|
|
797e: 47f2 lw a5,28(sp)
|
|
7980: 0409 addi s0,s0,2
|
|
7982: 00478713 addi a4,a5,4
|
|
7986: 439c lw a5,0(a5)
|
|
7988: ce3a sw a4,28(sp)
|
|
798a: 0207c163 bltz a5,79ac <_svfiprintf_r+0x18c>
|
|
798e: d23e sw a5,36(sp)
|
|
7990: a82d j 79ca <_svfiprintf_r+0x1aa>
|
|
7992: 40e00733 neg a4,a4
|
|
7996: 0027e793 ori a5,a5,2
|
|
799a: d63a sw a4,44(sp)
|
|
799c: d03e sw a5,32(sp)
|
|
799e: b7f1 j 796a <_svfiprintf_r+0x14a>
|
|
79a0: 036787b3 mul a5,a5,s6
|
|
79a4: 4685 li a3,1
|
|
79a6: 842e mv s0,a1
|
|
79a8: 97ba add a5,a5,a4
|
|
79aa: b761 j 7932 <_svfiprintf_r+0x112>
|
|
79ac: 57fd li a5,-1
|
|
79ae: b7c5 j 798e <_svfiprintf_r+0x16e>
|
|
79b0: 0405 addi s0,s0,1
|
|
79b2: d202 sw zero,36(sp)
|
|
79b4: 4681 li a3,0
|
|
79b6: 4781 li a5,0
|
|
79b8: 4625 li a2,9
|
|
79ba: 2018 lbu a4,0(s0)
|
|
79bc: 00140593 addi a1,s0,1
|
|
79c0: fd070713 addi a4,a4,-48
|
|
79c4: 06e67663 bgeu a2,a4,7a30 <_svfiprintf_r+0x210>
|
|
79c8: f2f9 bnez a3,798e <_svfiprintf_r+0x16e>
|
|
79ca: 200c lbu a1,0(s0)
|
|
79cc: 460d li a2,3
|
|
79ce: 00001517 auipc a0,0x1
|
|
79d2: 4ee50513 addi a0,a0,1262 # 8ebc <__sf_fake_stdout+0x28>
|
|
79d6: 12d000ef jal ra,8302 <memchr>
|
|
79da: cd11 beqz a0,79f6 <_svfiprintf_r+0x1d6>
|
|
79dc: 00001797 auipc a5,0x1
|
|
79e0: 4e078793 addi a5,a5,1248 # 8ebc <__sf_fake_stdout+0x28>
|
|
79e4: 8d1d sub a0,a0,a5
|
|
79e6: 04000793 li a5,64
|
|
79ea: 00a797b3 sll a5,a5,a0
|
|
79ee: 5502 lw a0,32(sp)
|
|
79f0: 0405 addi s0,s0,1
|
|
79f2: 8d5d or a0,a0,a5
|
|
79f4: d02a sw a0,32(sp)
|
|
79f6: 200c lbu a1,0(s0)
|
|
79f8: 4619 li a2,6
|
|
79fa: 00001517 auipc a0,0x1
|
|
79fe: 4c650513 addi a0,a0,1222 # 8ec0 <__sf_fake_stdout+0x2c>
|
|
7a02: 00140493 addi s1,s0,1
|
|
7a06: 02b10c23 sb a1,56(sp)
|
|
7a0a: 0f9000ef jal ra,8302 <memchr>
|
|
7a0e: c525 beqz a0,7a76 <_svfiprintf_r+0x256>
|
|
7a10: ffff8797 auipc a5,0xffff8
|
|
7a14: 5f078793 addi a5,a5,1520 # 0 <_sinit>
|
|
7a18: e795 bnez a5,7a44 <_svfiprintf_r+0x224>
|
|
7a1a: 5702 lw a4,32(sp)
|
|
7a1c: 47f2 lw a5,28(sp)
|
|
7a1e: 10077713 andi a4,a4,256
|
|
7a22: cf09 beqz a4,7a3c <_svfiprintf_r+0x21c>
|
|
7a24: 0791 addi a5,a5,4
|
|
7a26: ce3e sw a5,28(sp)
|
|
7a28: 57d2 lw a5,52(sp)
|
|
7a2a: 97d2 add a5,a5,s4
|
|
7a2c: da3e sw a5,52(sp)
|
|
7a2e: b541 j 78ae <_svfiprintf_r+0x8e>
|
|
7a30: 036787b3 mul a5,a5,s6
|
|
7a34: 4685 li a3,1
|
|
7a36: 842e mv s0,a1
|
|
7a38: 97ba add a5,a5,a4
|
|
7a3a: b741 j 79ba <_svfiprintf_r+0x19a>
|
|
7a3c: 079d addi a5,a5,7
|
|
7a3e: 9be1 andi a5,a5,-8
|
|
7a40: 07a1 addi a5,a5,8
|
|
7a42: b7d5 j 7a26 <_svfiprintf_r+0x206>
|
|
7a44: 0878 addi a4,sp,28
|
|
7a46: 00000697 auipc a3,0x0
|
|
7a4a: cf668693 addi a3,a3,-778 # 773c <__ssputs_r>
|
|
7a4e: 864a mv a2,s2
|
|
7a50: 100c addi a1,sp,32
|
|
7a52: 854e mv a0,s3
|
|
7a54: 00000097 auipc ra,0x0
|
|
7a58: 000000e7 jalr zero # 0 <_sinit>
|
|
7a5c: 57fd li a5,-1
|
|
7a5e: 8a2a mv s4,a0
|
|
7a60: fcf514e3 bne a0,a5,7a28 <_svfiprintf_r+0x208>
|
|
7a64: 00c95783 lhu a5,12(s2)
|
|
7a68: 557d li a0,-1
|
|
7a6a: 0407f793 andi a5,a5,64
|
|
7a6e: de079de3 bnez a5,7868 <_svfiprintf_r+0x48>
|
|
7a72: 5552 lw a0,52(sp)
|
|
7a74: bbd5 j 7868 <_svfiprintf_r+0x48>
|
|
7a76: 0878 addi a4,sp,28
|
|
7a78: 00000697 auipc a3,0x0
|
|
7a7c: cc468693 addi a3,a3,-828 # 773c <__ssputs_r>
|
|
7a80: 864a mv a2,s2
|
|
7a82: 100c addi a1,sp,32
|
|
7a84: 854e mv a0,s3
|
|
7a86: 2109 jal 7e88 <_printf_i>
|
|
7a88: bfd1 j 7a5c <_svfiprintf_r+0x23c>
|
|
|
|
00007a8a <__sfputc_r>:
|
|
7a8a: 461c lw a5,8(a2)
|
|
7a8c: 17fd addi a5,a5,-1
|
|
7a8e: c61c sw a5,8(a2)
|
|
7a90: 0007da63 bgez a5,7aa4 <__sfputc_r+0x1a>
|
|
7a94: 4e18 lw a4,24(a2)
|
|
7a96: 00e7c563 blt a5,a4,7aa0 <__sfputc_r+0x16>
|
|
7a9a: 47a9 li a5,10
|
|
7a9c: 00f59463 bne a1,a5,7aa4 <__sfputc_r+0x1a>
|
|
7aa0: cacff06f j 6f4c <__swbuf_r>
|
|
7aa4: 421c lw a5,0(a2)
|
|
7aa6: 852e mv a0,a1
|
|
7aa8: 00178713 addi a4,a5,1
|
|
7aac: c218 sw a4,0(a2)
|
|
7aae: a38c sb a1,0(a5)
|
|
7ab0: 8082 ret
|
|
|
|
00007ab2 <__sfputs_r>:
|
|
7ab2: 1101 addi sp,sp,-32
|
|
7ab4: cc22 sw s0,24(sp)
|
|
7ab6: ca26 sw s1,20(sp)
|
|
7ab8: c84a sw s2,16(sp)
|
|
7aba: c64e sw s3,12(sp)
|
|
7abc: c452 sw s4,8(sp)
|
|
7abe: ce06 sw ra,28(sp)
|
|
7ac0: 892a mv s2,a0
|
|
7ac2: 89ae mv s3,a1
|
|
7ac4: 8432 mv s0,a2
|
|
7ac6: 00d604b3 add s1,a2,a3
|
|
7aca: 5a7d li s4,-1
|
|
7acc: 00941463 bne s0,s1,7ad4 <__sfputs_r+0x22>
|
|
7ad0: 4501 li a0,0
|
|
7ad2: a809 j 7ae4 <__sfputs_r+0x32>
|
|
7ad4: 200c lbu a1,0(s0)
|
|
7ad6: 864e mv a2,s3
|
|
7ad8: 854a mv a0,s2
|
|
7ada: fb1ff0ef jal ra,7a8a <__sfputc_r>
|
|
7ade: 0405 addi s0,s0,1
|
|
7ae0: ff4516e3 bne a0,s4,7acc <__sfputs_r+0x1a>
|
|
7ae4: 40f2 lw ra,28(sp)
|
|
7ae6: 4462 lw s0,24(sp)
|
|
7ae8: 44d2 lw s1,20(sp)
|
|
7aea: 4942 lw s2,16(sp)
|
|
7aec: 49b2 lw s3,12(sp)
|
|
7aee: 4a22 lw s4,8(sp)
|
|
7af0: 6105 addi sp,sp,32
|
|
7af2: 8082 ret
|
|
|
|
00007af4 <_vfiprintf_r>:
|
|
7af4: 7135 addi sp,sp,-160
|
|
7af6: cd22 sw s0,152(sp)
|
|
7af8: cb26 sw s1,148(sp)
|
|
7afa: c94a sw s2,144(sp)
|
|
7afc: c74e sw s3,140(sp)
|
|
7afe: cf06 sw ra,156(sp)
|
|
7b00: c552 sw s4,136(sp)
|
|
7b02: c356 sw s5,132(sp)
|
|
7b04: c15a sw s6,128(sp)
|
|
7b06: dede sw s7,124(sp)
|
|
7b08: dce2 sw s8,120(sp)
|
|
7b0a: dae6 sw s9,116(sp)
|
|
7b0c: 89aa mv s3,a0
|
|
7b0e: 84ae mv s1,a1
|
|
7b10: 8932 mv s2,a2
|
|
7b12: 8436 mv s0,a3
|
|
7b14: c509 beqz a0,7b1e <_vfiprintf_r+0x2a>
|
|
7b16: 4d1c lw a5,24(a0)
|
|
7b18: e399 bnez a5,7b1e <_vfiprintf_r+0x2a>
|
|
7b1a: 837ff0ef jal ra,7350 <__sinit>
|
|
7b1e: 00001797 auipc a5,0x1
|
|
7b22: 35678793 addi a5,a5,854 # 8e74 <__sf_fake_stdin>
|
|
7b26: 0cf49863 bne s1,a5,7bf6 <_vfiprintf_r+0x102>
|
|
7b2a: 0049a483 lw s1,4(s3)
|
|
7b2e: 24de lhu a5,12(s1)
|
|
7b30: 8ba1 andi a5,a5,8
|
|
7b32: c7e5 beqz a5,7c1a <_vfiprintf_r+0x126>
|
|
7b34: 489c lw a5,16(s1)
|
|
7b36: c3f5 beqz a5,7c1a <_vfiprintf_r+0x126>
|
|
7b38: 02000793 li a5,32
|
|
7b3c: 02f104a3 sb a5,41(sp)
|
|
7b40: 03000793 li a5,48
|
|
7b44: d202 sw zero,36(sp)
|
|
7b46: 02f10523 sb a5,42(sp)
|
|
7b4a: c622 sw s0,12(sp)
|
|
7b4c: 02500b93 li s7,37
|
|
7b50: 00001a97 auipc s5,0x1
|
|
7b54: 364a8a93 addi s5,s5,868 # 8eb4 <__sf_fake_stdout+0x20>
|
|
7b58: 4c05 li s8,1
|
|
7b5a: 4b29 li s6,10
|
|
7b5c: 844a mv s0,s2
|
|
7b5e: 201c lbu a5,0(s0)
|
|
7b60: c399 beqz a5,7b66 <_vfiprintf_r+0x72>
|
|
7b62: 0d779f63 bne a5,s7,7c40 <_vfiprintf_r+0x14c>
|
|
7b66: 41240cb3 sub s9,s0,s2
|
|
7b6a: 000c8e63 beqz s9,7b86 <_vfiprintf_r+0x92>
|
|
7b6e: 86e6 mv a3,s9
|
|
7b70: 864a mv a2,s2
|
|
7b72: 85a6 mv a1,s1
|
|
7b74: 854e mv a0,s3
|
|
7b76: f3dff0ef jal ra,7ab2 <__sfputs_r>
|
|
7b7a: 57fd li a5,-1
|
|
7b7c: 1cf50f63 beq a0,a5,7d5a <_vfiprintf_r+0x266>
|
|
7b80: 5692 lw a3,36(sp)
|
|
7b82: 96e6 add a3,a3,s9
|
|
7b84: d236 sw a3,36(sp)
|
|
7b86: 201c lbu a5,0(s0)
|
|
7b88: 1c078963 beqz a5,7d5a <_vfiprintf_r+0x266>
|
|
7b8c: 57fd li a5,-1
|
|
7b8e: 00140913 addi s2,s0,1
|
|
7b92: c802 sw zero,16(sp)
|
|
7b94: ce02 sw zero,28(sp)
|
|
7b96: ca3e sw a5,20(sp)
|
|
7b98: cc02 sw zero,24(sp)
|
|
7b9a: 040109a3 sb zero,83(sp)
|
|
7b9e: d482 sw zero,104(sp)
|
|
7ba0: 00094583 lbu a1,0(s2)
|
|
7ba4: 4615 li a2,5
|
|
7ba6: 8556 mv a0,s5
|
|
7ba8: 2fa9 jal 8302 <memchr>
|
|
7baa: 00190413 addi s0,s2,1
|
|
7bae: 47c2 lw a5,16(sp)
|
|
7bb0: e951 bnez a0,7c44 <_vfiprintf_r+0x150>
|
|
7bb2: 0107f713 andi a4,a5,16
|
|
7bb6: c709 beqz a4,7bc0 <_vfiprintf_r+0xcc>
|
|
7bb8: 02000713 li a4,32
|
|
7bbc: 04e109a3 sb a4,83(sp)
|
|
7bc0: 0087f713 andi a4,a5,8
|
|
7bc4: c709 beqz a4,7bce <_vfiprintf_r+0xda>
|
|
7bc6: 02b00713 li a4,43
|
|
7bca: 04e109a3 sb a4,83(sp)
|
|
7bce: 00094683 lbu a3,0(s2)
|
|
7bd2: 02a00713 li a4,42
|
|
7bd6: 06e68f63 beq a3,a4,7c54 <_vfiprintf_r+0x160>
|
|
7bda: 47f2 lw a5,28(sp)
|
|
7bdc: 844a mv s0,s2
|
|
7bde: 4681 li a3,0
|
|
7be0: 4625 li a2,9
|
|
7be2: 2018 lbu a4,0(s0)
|
|
7be4: 00140593 addi a1,s0,1
|
|
7be8: fd070713 addi a4,a4,-48
|
|
7bec: 0ae67763 bgeu a2,a4,7c9a <_vfiprintf_r+0x1a6>
|
|
7bf0: cab5 beqz a3,7c64 <_vfiprintf_r+0x170>
|
|
7bf2: ce3e sw a5,28(sp)
|
|
7bf4: a885 j 7c64 <_vfiprintf_r+0x170>
|
|
7bf6: 00001797 auipc a5,0x1
|
|
7bfa: 29e78793 addi a5,a5,670 # 8e94 <__sf_fake_stdout>
|
|
7bfe: 00f49563 bne s1,a5,7c08 <_vfiprintf_r+0x114>
|
|
7c02: 0089a483 lw s1,8(s3)
|
|
7c06: b725 j 7b2e <_vfiprintf_r+0x3a>
|
|
7c08: 00001797 auipc a5,0x1
|
|
7c0c: 24c78793 addi a5,a5,588 # 8e54 <__sf_fake_stderr>
|
|
7c10: f0f49fe3 bne s1,a5,7b2e <_vfiprintf_r+0x3a>
|
|
7c14: 00c9a483 lw s1,12(s3)
|
|
7c18: bf19 j 7b2e <_vfiprintf_r+0x3a>
|
|
7c1a: 85a6 mv a1,s1
|
|
7c1c: 854e mv a0,s3
|
|
7c1e: beaff0ef jal ra,7008 <__swsetup_r>
|
|
7c22: d919 beqz a0,7b38 <_vfiprintf_r+0x44>
|
|
7c24: 557d li a0,-1
|
|
7c26: 40fa lw ra,156(sp)
|
|
7c28: 446a lw s0,152(sp)
|
|
7c2a: 44da lw s1,148(sp)
|
|
7c2c: 494a lw s2,144(sp)
|
|
7c2e: 49ba lw s3,140(sp)
|
|
7c30: 4a2a lw s4,136(sp)
|
|
7c32: 4a9a lw s5,132(sp)
|
|
7c34: 4b0a lw s6,128(sp)
|
|
7c36: 5bf6 lw s7,124(sp)
|
|
7c38: 5c66 lw s8,120(sp)
|
|
7c3a: 5cd6 lw s9,116(sp)
|
|
7c3c: 610d addi sp,sp,160
|
|
7c3e: 8082 ret
|
|
7c40: 0405 addi s0,s0,1
|
|
7c42: bf31 j 7b5e <_vfiprintf_r+0x6a>
|
|
7c44: 41550533 sub a0,a0,s5
|
|
7c48: 00ac1533 sll a0,s8,a0
|
|
7c4c: 8fc9 or a5,a5,a0
|
|
7c4e: c83e sw a5,16(sp)
|
|
7c50: 8922 mv s2,s0
|
|
7c52: b7b9 j 7ba0 <_vfiprintf_r+0xac>
|
|
7c54: 4732 lw a4,12(sp)
|
|
7c56: 00470693 addi a3,a4,4
|
|
7c5a: 4318 lw a4,0(a4)
|
|
7c5c: c636 sw a3,12(sp)
|
|
7c5e: 02074763 bltz a4,7c8c <_vfiprintf_r+0x198>
|
|
7c62: ce3a sw a4,28(sp)
|
|
7c64: 2018 lbu a4,0(s0)
|
|
7c66: 02e00793 li a5,46
|
|
7c6a: 04f71d63 bne a4,a5,7cc4 <_vfiprintf_r+0x1d0>
|
|
7c6e: 3018 lbu a4,1(s0)
|
|
7c70: 02a00793 li a5,42
|
|
7c74: 02f71b63 bne a4,a5,7caa <_vfiprintf_r+0x1b6>
|
|
7c78: 47b2 lw a5,12(sp)
|
|
7c7a: 0409 addi s0,s0,2
|
|
7c7c: 00478713 addi a4,a5,4
|
|
7c80: 439c lw a5,0(a5)
|
|
7c82: c63a sw a4,12(sp)
|
|
7c84: 0207c163 bltz a5,7ca6 <_vfiprintf_r+0x1b2>
|
|
7c88: ca3e sw a5,20(sp)
|
|
7c8a: a82d j 7cc4 <_vfiprintf_r+0x1d0>
|
|
7c8c: 40e00733 neg a4,a4
|
|
7c90: 0027e793 ori a5,a5,2
|
|
7c94: ce3a sw a4,28(sp)
|
|
7c96: c83e sw a5,16(sp)
|
|
7c98: b7f1 j 7c64 <_vfiprintf_r+0x170>
|
|
7c9a: 036787b3 mul a5,a5,s6
|
|
7c9e: 4685 li a3,1
|
|
7ca0: 842e mv s0,a1
|
|
7ca2: 97ba add a5,a5,a4
|
|
7ca4: bf3d j 7be2 <_vfiprintf_r+0xee>
|
|
7ca6: 57fd li a5,-1
|
|
7ca8: b7c5 j 7c88 <_vfiprintf_r+0x194>
|
|
7caa: 0405 addi s0,s0,1
|
|
7cac: ca02 sw zero,20(sp)
|
|
7cae: 4681 li a3,0
|
|
7cb0: 4781 li a5,0
|
|
7cb2: 4625 li a2,9
|
|
7cb4: 2018 lbu a4,0(s0)
|
|
7cb6: 00140593 addi a1,s0,1
|
|
7cba: fd070713 addi a4,a4,-48
|
|
7cbe: 06e67463 bgeu a2,a4,7d26 <_vfiprintf_r+0x232>
|
|
7cc2: f2f9 bnez a3,7c88 <_vfiprintf_r+0x194>
|
|
7cc4: 200c lbu a1,0(s0)
|
|
7cc6: 460d li a2,3
|
|
7cc8: 00001517 auipc a0,0x1
|
|
7ccc: 1f450513 addi a0,a0,500 # 8ebc <__sf_fake_stdout+0x28>
|
|
7cd0: 2d0d jal 8302 <memchr>
|
|
7cd2: cd11 beqz a0,7cee <_vfiprintf_r+0x1fa>
|
|
7cd4: 00001797 auipc a5,0x1
|
|
7cd8: 1e878793 addi a5,a5,488 # 8ebc <__sf_fake_stdout+0x28>
|
|
7cdc: 8d1d sub a0,a0,a5
|
|
7cde: 04000793 li a5,64
|
|
7ce2: 00a797b3 sll a5,a5,a0
|
|
7ce6: 4542 lw a0,16(sp)
|
|
7ce8: 0405 addi s0,s0,1
|
|
7cea: 8d5d or a0,a0,a5
|
|
7cec: c82a sw a0,16(sp)
|
|
7cee: 200c lbu a1,0(s0)
|
|
7cf0: 4619 li a2,6
|
|
7cf2: 00001517 auipc a0,0x1
|
|
7cf6: 1ce50513 addi a0,a0,462 # 8ec0 <__sf_fake_stdout+0x2c>
|
|
7cfa: 00140913 addi s2,s0,1
|
|
7cfe: 02b10423 sb a1,40(sp)
|
|
7d02: 2501 jal 8302 <memchr>
|
|
7d04: c135 beqz a0,7d68 <_vfiprintf_r+0x274>
|
|
7d06: ffff8797 auipc a5,0xffff8
|
|
7d0a: 2fa78793 addi a5,a5,762 # 0 <_sinit>
|
|
7d0e: e795 bnez a5,7d3a <_vfiprintf_r+0x246>
|
|
7d10: 4742 lw a4,16(sp)
|
|
7d12: 47b2 lw a5,12(sp)
|
|
7d14: 10077713 andi a4,a4,256
|
|
7d18: cf09 beqz a4,7d32 <_vfiprintf_r+0x23e>
|
|
7d1a: 0791 addi a5,a5,4
|
|
7d1c: c63e sw a5,12(sp)
|
|
7d1e: 5792 lw a5,36(sp)
|
|
7d20: 97d2 add a5,a5,s4
|
|
7d22: d23e sw a5,36(sp)
|
|
7d24: bd25 j 7b5c <_vfiprintf_r+0x68>
|
|
7d26: 036787b3 mul a5,a5,s6
|
|
7d2a: 4685 li a3,1
|
|
7d2c: 842e mv s0,a1
|
|
7d2e: 97ba add a5,a5,a4
|
|
7d30: b751 j 7cb4 <_vfiprintf_r+0x1c0>
|
|
7d32: 079d addi a5,a5,7
|
|
7d34: 9be1 andi a5,a5,-8
|
|
7d36: 07a1 addi a5,a5,8
|
|
7d38: b7d5 j 7d1c <_vfiprintf_r+0x228>
|
|
7d3a: 0078 addi a4,sp,12
|
|
7d3c: 00000697 auipc a3,0x0
|
|
7d40: d7668693 addi a3,a3,-650 # 7ab2 <__sfputs_r>
|
|
7d44: 8626 mv a2,s1
|
|
7d46: 080c addi a1,sp,16
|
|
7d48: 854e mv a0,s3
|
|
7d4a: 00000097 auipc ra,0x0
|
|
7d4e: 000000e7 jalr zero # 0 <_sinit>
|
|
7d52: 57fd li a5,-1
|
|
7d54: 8a2a mv s4,a0
|
|
7d56: fcf514e3 bne a0,a5,7d1e <_vfiprintf_r+0x22a>
|
|
7d5a: 24de lhu a5,12(s1)
|
|
7d5c: 0407f793 andi a5,a5,64
|
|
7d60: ec0792e3 bnez a5,7c24 <_vfiprintf_r+0x130>
|
|
7d64: 5512 lw a0,36(sp)
|
|
7d66: b5c1 j 7c26 <_vfiprintf_r+0x132>
|
|
7d68: 0078 addi a4,sp,12
|
|
7d6a: 00000697 auipc a3,0x0
|
|
7d6e: d4868693 addi a3,a3,-696 # 7ab2 <__sfputs_r>
|
|
7d72: 8626 mv a2,s1
|
|
7d74: 080c addi a1,sp,16
|
|
7d76: 854e mv a0,s3
|
|
7d78: 2a01 jal 7e88 <_printf_i>
|
|
7d7a: bfe1 j 7d52 <_vfiprintf_r+0x25e>
|
|
|
|
00007d7c <_printf_common>:
|
|
7d7c: 7179 addi sp,sp,-48
|
|
7d7e: ca56 sw s5,20(sp)
|
|
7d80: 499c lw a5,16(a1)
|
|
7d82: 8aba mv s5,a4
|
|
7d84: 4598 lw a4,8(a1)
|
|
7d86: d422 sw s0,40(sp)
|
|
7d88: d226 sw s1,36(sp)
|
|
7d8a: ce4e sw s3,28(sp)
|
|
7d8c: cc52 sw s4,24(sp)
|
|
7d8e: d606 sw ra,44(sp)
|
|
7d90: d04a sw s2,32(sp)
|
|
7d92: c85a sw s6,16(sp)
|
|
7d94: c65e sw s7,12(sp)
|
|
7d96: 89aa mv s3,a0
|
|
7d98: 842e mv s0,a1
|
|
7d9a: 84b2 mv s1,a2
|
|
7d9c: 8a36 mv s4,a3
|
|
7d9e: 00e7d363 bge a5,a4,7da4 <_printf_common+0x28>
|
|
7da2: 87ba mv a5,a4
|
|
7da4: c09c sw a5,0(s1)
|
|
7da6: 04344703 lbu a4,67(s0)
|
|
7daa: c319 beqz a4,7db0 <_printf_common+0x34>
|
|
7dac: 0785 addi a5,a5,1
|
|
7dae: c09c sw a5,0(s1)
|
|
7db0: 401c lw a5,0(s0)
|
|
7db2: 0207f793 andi a5,a5,32
|
|
7db6: c781 beqz a5,7dbe <_printf_common+0x42>
|
|
7db8: 409c lw a5,0(s1)
|
|
7dba: 0789 addi a5,a5,2
|
|
7dbc: c09c sw a5,0(s1)
|
|
7dbe: 00042903 lw s2,0(s0)
|
|
7dc2: 00697913 andi s2,s2,6
|
|
7dc6: 00091a63 bnez s2,7dda <_printf_common+0x5e>
|
|
7dca: 01940b13 addi s6,s0,25
|
|
7dce: 5bfd li s7,-1
|
|
7dd0: 445c lw a5,12(s0)
|
|
7dd2: 4098 lw a4,0(s1)
|
|
7dd4: 8f99 sub a5,a5,a4
|
|
7dd6: 04f94c63 blt s2,a5,7e2e <_printf_common+0xb2>
|
|
7dda: 401c lw a5,0(s0)
|
|
7ddc: 04344683 lbu a3,67(s0)
|
|
7de0: 0207f793 andi a5,a5,32
|
|
7de4: 00d036b3 snez a3,a3
|
|
7de8: eba5 bnez a5,7e58 <_printf_common+0xdc>
|
|
7dea: 04340613 addi a2,s0,67
|
|
7dee: 85d2 mv a1,s4
|
|
7df0: 854e mv a0,s3
|
|
7df2: 9a82 jalr s5
|
|
7df4: 57fd li a5,-1
|
|
7df6: 04f50363 beq a0,a5,7e3c <_printf_common+0xc0>
|
|
7dfa: 401c lw a5,0(s0)
|
|
7dfc: 4611 li a2,4
|
|
7dfe: 4098 lw a4,0(s1)
|
|
7e00: 8b99 andi a5,a5,6
|
|
7e02: 4454 lw a3,12(s0)
|
|
7e04: 4481 li s1,0
|
|
7e06: 00c79763 bne a5,a2,7e14 <_printf_common+0x98>
|
|
7e0a: 40e684b3 sub s1,a3,a4
|
|
7e0e: 0004d363 bgez s1,7e14 <_printf_common+0x98>
|
|
7e12: 4481 li s1,0
|
|
7e14: 441c lw a5,8(s0)
|
|
7e16: 4818 lw a4,16(s0)
|
|
7e18: 00f75463 bge a4,a5,7e20 <_printf_common+0xa4>
|
|
7e1c: 8f99 sub a5,a5,a4
|
|
7e1e: 94be add s1,s1,a5
|
|
7e20: 4901 li s2,0
|
|
7e22: 0469 addi s0,s0,26
|
|
7e24: 5b7d li s6,-1
|
|
7e26: 05249863 bne s1,s2,7e76 <_printf_common+0xfa>
|
|
7e2a: 4501 li a0,0
|
|
7e2c: a809 j 7e3e <_printf_common+0xc2>
|
|
7e2e: 4685 li a3,1
|
|
7e30: 865a mv a2,s6
|
|
7e32: 85d2 mv a1,s4
|
|
7e34: 854e mv a0,s3
|
|
7e36: 9a82 jalr s5
|
|
7e38: 01751e63 bne a0,s7,7e54 <_printf_common+0xd8>
|
|
7e3c: 557d li a0,-1
|
|
7e3e: 50b2 lw ra,44(sp)
|
|
7e40: 5422 lw s0,40(sp)
|
|
7e42: 5492 lw s1,36(sp)
|
|
7e44: 5902 lw s2,32(sp)
|
|
7e46: 49f2 lw s3,28(sp)
|
|
7e48: 4a62 lw s4,24(sp)
|
|
7e4a: 4ad2 lw s5,20(sp)
|
|
7e4c: 4b42 lw s6,16(sp)
|
|
7e4e: 4bb2 lw s7,12(sp)
|
|
7e50: 6145 addi sp,sp,48
|
|
7e52: 8082 ret
|
|
7e54: 0905 addi s2,s2,1
|
|
7e56: bfad j 7dd0 <_printf_common+0x54>
|
|
7e58: 00d40733 add a4,s0,a3
|
|
7e5c: 03000613 li a2,48
|
|
7e60: 04c701a3 sb a2,67(a4)
|
|
7e64: 04544703 lbu a4,69(s0)
|
|
7e68: 00168793 addi a5,a3,1
|
|
7e6c: 97a2 add a5,a5,s0
|
|
7e6e: 0689 addi a3,a3,2
|
|
7e70: 04e781a3 sb a4,67(a5)
|
|
7e74: bf9d j 7dea <_printf_common+0x6e>
|
|
7e76: 4685 li a3,1
|
|
7e78: 8622 mv a2,s0
|
|
7e7a: 85d2 mv a1,s4
|
|
7e7c: 854e mv a0,s3
|
|
7e7e: 9a82 jalr s5
|
|
7e80: fb650ee3 beq a0,s6,7e3c <_printf_common+0xc0>
|
|
7e84: 0905 addi s2,s2,1
|
|
7e86: b745 j 7e26 <_printf_common+0xaa>
|
|
|
|
00007e88 <_printf_i>:
|
|
7e88: 7179 addi sp,sp,-48
|
|
7e8a: d422 sw s0,40(sp)
|
|
7e8c: d226 sw s1,36(sp)
|
|
7e8e: d04a sw s2,32(sp)
|
|
7e90: ce4e sw s3,28(sp)
|
|
7e92: d606 sw ra,44(sp)
|
|
7e94: cc52 sw s4,24(sp)
|
|
7e96: ca56 sw s5,20(sp)
|
|
7e98: c85a sw s6,16(sp)
|
|
7e9a: 89b6 mv s3,a3
|
|
7e9c: 2d94 lbu a3,24(a1)
|
|
7e9e: 06900793 li a5,105
|
|
7ea2: 8932 mv s2,a2
|
|
7ea4: 84aa mv s1,a0
|
|
7ea6: 842e mv s0,a1
|
|
7ea8: 04358613 addi a2,a1,67
|
|
7eac: 02f68d63 beq a3,a5,7ee6 <_printf_i+0x5e>
|
|
7eb0: 06d7e263 bltu a5,a3,7f14 <_printf_i+0x8c>
|
|
7eb4: 05800793 li a5,88
|
|
7eb8: 18f68663 beq a3,a5,8044 <_printf_i+0x1bc>
|
|
7ebc: 00d7ed63 bltu a5,a3,7ed6 <_printf_i+0x4e>
|
|
7ec0: 20068e63 beqz a3,80dc <_printf_i+0x254>
|
|
7ec4: 04300793 li a5,67
|
|
7ec8: 0af68e63 beq a3,a5,7f84 <_printf_i+0xfc>
|
|
7ecc: 04240a93 addi s5,s0,66
|
|
7ed0: 04d40123 sb a3,66(s0)
|
|
7ed4: a0c9 j 7f96 <_printf_i+0x10e>
|
|
7ed6: 06300793 li a5,99
|
|
7eda: 0af68563 beq a3,a5,7f84 <_printf_i+0xfc>
|
|
7ede: 06400793 li a5,100
|
|
7ee2: fef695e3 bne a3,a5,7ecc <_printf_i+0x44>
|
|
7ee6: 401c lw a5,0(s0)
|
|
7ee8: 4308 lw a0,0(a4)
|
|
7eea: 0807f693 andi a3,a5,128
|
|
7eee: 00450593 addi a1,a0,4
|
|
7ef2: c6c5 beqz a3,7f9a <_printf_i+0x112>
|
|
7ef4: 411c lw a5,0(a0)
|
|
7ef6: c30c sw a1,0(a4)
|
|
7ef8: 0007d863 bgez a5,7f08 <_printf_i+0x80>
|
|
7efc: 02d00713 li a4,45
|
|
7f00: 40f007b3 neg a5,a5
|
|
7f04: 04e401a3 sb a4,67(s0)
|
|
7f08: 00001697 auipc a3,0x1
|
|
7f0c: fc068693 addi a3,a3,-64 # 8ec8 <__sf_fake_stdout+0x34>
|
|
7f10: 4729 li a4,10
|
|
7f12: a865 j 7fca <_printf_i+0x142>
|
|
7f14: 07000793 li a5,112
|
|
7f18: 16f68263 beq a3,a5,807c <_printf_i+0x1f4>
|
|
7f1c: 02d7e563 bltu a5,a3,7f46 <_printf_i+0xbe>
|
|
7f20: 06e00793 li a5,110
|
|
7f24: 18f68963 beq a3,a5,80b6 <_printf_i+0x22e>
|
|
7f28: 06f00793 li a5,111
|
|
7f2c: faf690e3 bne a3,a5,7ecc <_printf_i+0x44>
|
|
7f30: 400c lw a1,0(s0)
|
|
7f32: 431c lw a5,0(a4)
|
|
7f34: 0805f813 andi a6,a1,128
|
|
7f38: 00478513 addi a0,a5,4
|
|
7f3c: 06080763 beqz a6,7faa <_printf_i+0x122>
|
|
7f40: c308 sw a0,0(a4)
|
|
7f42: 439c lw a5,0(a5)
|
|
7f44: a885 j 7fb4 <_printf_i+0x12c>
|
|
7f46: 07500793 li a5,117
|
|
7f4a: fef683e3 beq a3,a5,7f30 <_printf_i+0xa8>
|
|
7f4e: 07800793 li a5,120
|
|
7f52: 12f68963 beq a3,a5,8084 <_printf_i+0x1fc>
|
|
7f56: 07300793 li a5,115
|
|
7f5a: f6f699e3 bne a3,a5,7ecc <_printf_i+0x44>
|
|
7f5e: 431c lw a5,0(a4)
|
|
7f60: 41d0 lw a2,4(a1)
|
|
7f62: 4581 li a1,0
|
|
7f64: 00478693 addi a3,a5,4
|
|
7f68: c314 sw a3,0(a4)
|
|
7f6a: 0007aa83 lw s5,0(a5)
|
|
7f6e: 8556 mv a0,s5
|
|
7f70: 2e49 jal 8302 <memchr>
|
|
7f72: c501 beqz a0,7f7a <_printf_i+0xf2>
|
|
7f74: 41550533 sub a0,a0,s5
|
|
7f78: c048 sw a0,4(s0)
|
|
7f7a: 405c lw a5,4(s0)
|
|
7f7c: c81c sw a5,16(s0)
|
|
7f7e: 040401a3 sb zero,67(s0)
|
|
7f82: a861 j 801a <_printf_i+0x192>
|
|
7f84: 431c lw a5,0(a4)
|
|
7f86: 04240a93 addi s5,s0,66
|
|
7f8a: 00478693 addi a3,a5,4
|
|
7f8e: 439c lw a5,0(a5)
|
|
7f90: c314 sw a3,0(a4)
|
|
7f92: 04f40123 sb a5,66(s0)
|
|
7f96: 4785 li a5,1
|
|
7f98: b7d5 j 7f7c <_printf_i+0xf4>
|
|
7f9a: 0407f693 andi a3,a5,64
|
|
7f9e: 411c lw a5,0(a0)
|
|
7fa0: c30c sw a1,0(a4)
|
|
7fa2: dab9 beqz a3,7ef8 <_printf_i+0x70>
|
|
7fa4: 07c2 slli a5,a5,0x10
|
|
7fa6: 87c1 srai a5,a5,0x10
|
|
7fa8: bf81 j 7ef8 <_printf_i+0x70>
|
|
7faa: 0405f593 andi a1,a1,64
|
|
7fae: c308 sw a0,0(a4)
|
|
7fb0: d9c9 beqz a1,7f42 <_printf_i+0xba>
|
|
7fb2: 239e lhu a5,0(a5)
|
|
7fb4: 06f00713 li a4,111
|
|
7fb8: 0ee68763 beq a3,a4,80a6 <_printf_i+0x21e>
|
|
7fbc: 00001697 auipc a3,0x1
|
|
7fc0: f0c68693 addi a3,a3,-244 # 8ec8 <__sf_fake_stdout+0x34>
|
|
7fc4: 4729 li a4,10
|
|
7fc6: 040401a3 sb zero,67(s0)
|
|
7fca: 404c lw a1,4(s0)
|
|
7fcc: c40c sw a1,8(s0)
|
|
7fce: 0005c563 bltz a1,7fd8 <_printf_i+0x150>
|
|
7fd2: 4008 lw a0,0(s0)
|
|
7fd4: 996d andi a0,a0,-5
|
|
7fd6: c008 sw a0,0(s0)
|
|
7fd8: e399 bnez a5,7fde <_printf_i+0x156>
|
|
7fda: 8ab2 mv s5,a2
|
|
7fdc: cd89 beqz a1,7ff6 <_printf_i+0x16e>
|
|
7fde: 8ab2 mv s5,a2
|
|
7fe0: 02e7f5b3 remu a1,a5,a4
|
|
7fe4: 1afd addi s5,s5,-1
|
|
7fe6: 95b6 add a1,a1,a3
|
|
7fe8: 218c lbu a1,0(a1)
|
|
7fea: 00ba8023 sb a1,0(s5)
|
|
7fee: 02e7d5b3 divu a1,a5,a4
|
|
7ff2: 0ce7f063 bgeu a5,a4,80b2 <_printf_i+0x22a>
|
|
7ff6: 47a1 li a5,8
|
|
7ff8: 00f71e63 bne a4,a5,8014 <_printf_i+0x18c>
|
|
7ffc: 401c lw a5,0(s0)
|
|
7ffe: 8b85 andi a5,a5,1
|
|
8000: cb91 beqz a5,8014 <_printf_i+0x18c>
|
|
8002: 4058 lw a4,4(s0)
|
|
8004: 481c lw a5,16(s0)
|
|
8006: 00e7c763 blt a5,a4,8014 <_printf_i+0x18c>
|
|
800a: 03000793 li a5,48
|
|
800e: fefa8fa3 sb a5,-1(s5)
|
|
8012: 1afd addi s5,s5,-1
|
|
8014: 41560633 sub a2,a2,s5
|
|
8018: c810 sw a2,16(s0)
|
|
801a: 874e mv a4,s3
|
|
801c: 86ca mv a3,s2
|
|
801e: 0070 addi a2,sp,12
|
|
8020: 85a2 mv a1,s0
|
|
8022: 8526 mv a0,s1
|
|
8024: d59ff0ef jal ra,7d7c <_printf_common>
|
|
8028: 5a7d li s4,-1
|
|
802a: 0b451d63 bne a0,s4,80e4 <_printf_i+0x25c>
|
|
802e: 557d li a0,-1
|
|
8030: 50b2 lw ra,44(sp)
|
|
8032: 5422 lw s0,40(sp)
|
|
8034: 5492 lw s1,36(sp)
|
|
8036: 5902 lw s2,32(sp)
|
|
8038: 49f2 lw s3,28(sp)
|
|
803a: 4a62 lw s4,24(sp)
|
|
803c: 4ad2 lw s5,20(sp)
|
|
803e: 4b42 lw s6,16(sp)
|
|
8040: 6145 addi sp,sp,48
|
|
8042: 8082 ret
|
|
8044: 04d582a3 sb a3,69(a1)
|
|
8048: 00001697 auipc a3,0x1
|
|
804c: e8068693 addi a3,a3,-384 # 8ec8 <__sf_fake_stdout+0x34>
|
|
8050: 400c lw a1,0(s0)
|
|
8052: 4308 lw a0,0(a4)
|
|
8054: 0805f813 andi a6,a1,128
|
|
8058: 411c lw a5,0(a0)
|
|
805a: 0511 addi a0,a0,4
|
|
805c: 02080d63 beqz a6,8096 <_printf_i+0x20e>
|
|
8060: c308 sw a0,0(a4)
|
|
8062: 0015f713 andi a4,a1,1
|
|
8066: c701 beqz a4,806e <_printf_i+0x1e6>
|
|
8068: 0205e593 ori a1,a1,32
|
|
806c: c00c sw a1,0(s0)
|
|
806e: 4741 li a4,16
|
|
8070: fbb9 bnez a5,7fc6 <_printf_i+0x13e>
|
|
8072: 400c lw a1,0(s0)
|
|
8074: fdf5f593 andi a1,a1,-33
|
|
8078: c00c sw a1,0(s0)
|
|
807a: b7b1 j 7fc6 <_printf_i+0x13e>
|
|
807c: 419c lw a5,0(a1)
|
|
807e: 0207e793 ori a5,a5,32
|
|
8082: c19c sw a5,0(a1)
|
|
8084: 07800793 li a5,120
|
|
8088: 04f402a3 sb a5,69(s0)
|
|
808c: 00001697 auipc a3,0x1
|
|
8090: e5068693 addi a3,a3,-432 # 8edc <__sf_fake_stdout+0x48>
|
|
8094: bf75 j 8050 <_printf_i+0x1c8>
|
|
8096: 0405f813 andi a6,a1,64
|
|
809a: c308 sw a0,0(a4)
|
|
809c: fc0803e3 beqz a6,8062 <_printf_i+0x1da>
|
|
80a0: 07c2 slli a5,a5,0x10
|
|
80a2: 83c1 srli a5,a5,0x10
|
|
80a4: bf7d j 8062 <_printf_i+0x1da>
|
|
80a6: 00001697 auipc a3,0x1
|
|
80aa: e2268693 addi a3,a3,-478 # 8ec8 <__sf_fake_stdout+0x34>
|
|
80ae: 4721 li a4,8
|
|
80b0: bf19 j 7fc6 <_printf_i+0x13e>
|
|
80b2: 87ae mv a5,a1
|
|
80b4: b735 j 7fe0 <_printf_i+0x158>
|
|
80b6: 4194 lw a3,0(a1)
|
|
80b8: 431c lw a5,0(a4)
|
|
80ba: 49cc lw a1,20(a1)
|
|
80bc: 0806f813 andi a6,a3,128
|
|
80c0: 00478513 addi a0,a5,4
|
|
80c4: 00080663 beqz a6,80d0 <_printf_i+0x248>
|
|
80c8: c308 sw a0,0(a4)
|
|
80ca: 439c lw a5,0(a5)
|
|
80cc: c38c sw a1,0(a5)
|
|
80ce: a039 j 80dc <_printf_i+0x254>
|
|
80d0: c308 sw a0,0(a4)
|
|
80d2: 0406f693 andi a3,a3,64
|
|
80d6: 439c lw a5,0(a5)
|
|
80d8: daf5 beqz a3,80cc <_printf_i+0x244>
|
|
80da: a38e sh a1,0(a5)
|
|
80dc: 00042823 sw zero,16(s0)
|
|
80e0: 8ab2 mv s5,a2
|
|
80e2: bf25 j 801a <_printf_i+0x192>
|
|
80e4: 4814 lw a3,16(s0)
|
|
80e6: 8656 mv a2,s5
|
|
80e8: 85ca mv a1,s2
|
|
80ea: 8526 mv a0,s1
|
|
80ec: 9982 jalr s3
|
|
80ee: f54500e3 beq a0,s4,802e <_printf_i+0x1a6>
|
|
80f2: 401c lw a5,0(s0)
|
|
80f4: 8b89 andi a5,a5,2
|
|
80f6: e78d bnez a5,8120 <_printf_i+0x298>
|
|
80f8: 47b2 lw a5,12(sp)
|
|
80fa: 4448 lw a0,12(s0)
|
|
80fc: f2f55ae3 bge a0,a5,8030 <_printf_i+0x1a8>
|
|
8100: 853e mv a0,a5
|
|
8102: b73d j 8030 <_printf_i+0x1a8>
|
|
8104: 4685 li a3,1
|
|
8106: 8656 mv a2,s5
|
|
8108: 85ca mv a1,s2
|
|
810a: 8526 mv a0,s1
|
|
810c: 9982 jalr s3
|
|
810e: f36500e3 beq a0,s6,802e <_printf_i+0x1a6>
|
|
8112: 0a05 addi s4,s4,1
|
|
8114: 445c lw a5,12(s0)
|
|
8116: 4732 lw a4,12(sp)
|
|
8118: 8f99 sub a5,a5,a4
|
|
811a: fefa45e3 blt s4,a5,8104 <_printf_i+0x27c>
|
|
811e: bfe9 j 80f8 <_printf_i+0x270>
|
|
8120: 4a01 li s4,0
|
|
8122: 01940a93 addi s5,s0,25
|
|
8126: 5b7d li s6,-1
|
|
8128: b7f5 j 8114 <_printf_i+0x28c>
|
|
|
|
0000812a <_sbrk_r>:
|
|
812a: 1141 addi sp,sp,-16
|
|
812c: c422 sw s0,8(sp)
|
|
812e: 842a mv s0,a0
|
|
8130: 852e mv a0,a1
|
|
8132: 1fff9797 auipc a5,0x1fff9
|
|
8136: 3e07a923 sw zero,1010(a5) # 20001524 <errno>
|
|
813a: c606 sw ra,12(sp)
|
|
813c: df9f90ef jal ra,1f34 <_sbrk>
|
|
8140: 57fd li a5,-1
|
|
8142: 00f51963 bne a0,a5,8154 <_sbrk_r+0x2a>
|
|
8146: 1fff9797 auipc a5,0x1fff9
|
|
814a: 3de78793 addi a5,a5,990 # 20001524 <errno>
|
|
814e: 439c lw a5,0(a5)
|
|
8150: c391 beqz a5,8154 <_sbrk_r+0x2a>
|
|
8152: c01c sw a5,0(s0)
|
|
8154: 40b2 lw ra,12(sp)
|
|
8156: 4422 lw s0,8(sp)
|
|
8158: 0141 addi sp,sp,16
|
|
815a: 8082 ret
|
|
|
|
0000815c <__sread>:
|
|
815c: 1141 addi sp,sp,-16
|
|
815e: c422 sw s0,8(sp)
|
|
8160: 842e mv s0,a1
|
|
8162: 00e59583 lh a1,14(a1)
|
|
8166: c606 sw ra,12(sp)
|
|
8168: 2c91 jal 83bc <_read_r>
|
|
816a: 00054963 bltz a0,817c <__sread+0x20>
|
|
816e: 487c lw a5,84(s0)
|
|
8170: 97aa add a5,a5,a0
|
|
8172: c87c sw a5,84(s0)
|
|
8174: 40b2 lw ra,12(sp)
|
|
8176: 4422 lw s0,8(sp)
|
|
8178: 0141 addi sp,sp,16
|
|
817a: 8082 ret
|
|
817c: 245e lhu a5,12(s0)
|
|
817e: 777d lui a4,0xfffff
|
|
8180: 177d addi a4,a4,-1
|
|
8182: 8ff9 and a5,a5,a4
|
|
8184: a45e sh a5,12(s0)
|
|
8186: b7fd j 8174 <__sread+0x18>
|
|
|
|
00008188 <__swrite>:
|
|
8188: 25de lhu a5,12(a1)
|
|
818a: 1101 addi sp,sp,-32
|
|
818c: cc22 sw s0,24(sp)
|
|
818e: ca26 sw s1,20(sp)
|
|
8190: c84a sw s2,16(sp)
|
|
8192: c64e sw s3,12(sp)
|
|
8194: ce06 sw ra,28(sp)
|
|
8196: 1007f793 andi a5,a5,256
|
|
819a: 84aa mv s1,a0
|
|
819c: 842e mv s0,a1
|
|
819e: 8932 mv s2,a2
|
|
81a0: 89b6 mv s3,a3
|
|
81a2: c791 beqz a5,81ae <__swrite+0x26>
|
|
81a4: 00e59583 lh a1,14(a1)
|
|
81a8: 4689 li a3,2
|
|
81aa: 4601 li a2,0
|
|
81ac: 220d jal 82ce <_lseek_r>
|
|
81ae: 245e lhu a5,12(s0)
|
|
81b0: 777d lui a4,0xfffff
|
|
81b2: 177d addi a4,a4,-1
|
|
81b4: 8ff9 and a5,a5,a4
|
|
81b6: a45e sh a5,12(s0)
|
|
81b8: 00e41583 lh a1,14(s0)
|
|
81bc: 4462 lw s0,24(sp)
|
|
81be: 40f2 lw ra,28(sp)
|
|
81c0: 86ce mv a3,s3
|
|
81c2: 864a mv a2,s2
|
|
81c4: 49b2 lw s3,12(sp)
|
|
81c6: 4942 lw s2,16(sp)
|
|
81c8: 8526 mv a0,s1
|
|
81ca: 44d2 lw s1,20(sp)
|
|
81cc: 6105 addi sp,sp,32
|
|
81ce: a825 j 8206 <_write_r>
|
|
|
|
000081d0 <__sseek>:
|
|
81d0: 1141 addi sp,sp,-16
|
|
81d2: c422 sw s0,8(sp)
|
|
81d4: 842e mv s0,a1
|
|
81d6: 00e59583 lh a1,14(a1)
|
|
81da: c606 sw ra,12(sp)
|
|
81dc: 28cd jal 82ce <_lseek_r>
|
|
81de: 57fd li a5,-1
|
|
81e0: 245a lhu a4,12(s0)
|
|
81e2: 00f51a63 bne a0,a5,81f6 <__sseek+0x26>
|
|
81e6: 77fd lui a5,0xfffff
|
|
81e8: 17fd addi a5,a5,-1
|
|
81ea: 8ff9 and a5,a5,a4
|
|
81ec: a45e sh a5,12(s0)
|
|
81ee: 40b2 lw ra,12(sp)
|
|
81f0: 4422 lw s0,8(sp)
|
|
81f2: 0141 addi sp,sp,16
|
|
81f4: 8082 ret
|
|
81f6: 6785 lui a5,0x1
|
|
81f8: 8fd9 or a5,a5,a4
|
|
81fa: a45e sh a5,12(s0)
|
|
81fc: c868 sw a0,84(s0)
|
|
81fe: bfc5 j 81ee <__sseek+0x1e>
|
|
|
|
00008200 <__sclose>:
|
|
8200: 00e59583 lh a1,14(a1)
|
|
8204: a825 j 823c <_close_r>
|
|
|
|
00008206 <_write_r>:
|
|
8206: 1141 addi sp,sp,-16
|
|
8208: c422 sw s0,8(sp)
|
|
820a: 842a mv s0,a0
|
|
820c: 852e mv a0,a1
|
|
820e: 85b2 mv a1,a2
|
|
8210: 8636 mv a2,a3
|
|
8212: 1fff9797 auipc a5,0x1fff9
|
|
8216: 3007a923 sw zero,786(a5) # 20001524 <errno>
|
|
821a: c606 sw ra,12(sp)
|
|
821c: cdbf90ef jal ra,1ef6 <_write>
|
|
8220: 57fd li a5,-1
|
|
8222: 00f51963 bne a0,a5,8234 <_write_r+0x2e>
|
|
8226: 1fff9797 auipc a5,0x1fff9
|
|
822a: 2fe78793 addi a5,a5,766 # 20001524 <errno>
|
|
822e: 439c lw a5,0(a5)
|
|
8230: c391 beqz a5,8234 <_write_r+0x2e>
|
|
8232: c01c sw a5,0(s0)
|
|
8234: 40b2 lw ra,12(sp)
|
|
8236: 4422 lw s0,8(sp)
|
|
8238: 0141 addi sp,sp,16
|
|
823a: 8082 ret
|
|
|
|
0000823c <_close_r>:
|
|
823c: 1141 addi sp,sp,-16
|
|
823e: c422 sw s0,8(sp)
|
|
8240: 842a mv s0,a0
|
|
8242: 852e mv a0,a1
|
|
8244: 1fff9797 auipc a5,0x1fff9
|
|
8248: 2e07a023 sw zero,736(a5) # 20001524 <errno>
|
|
824c: c606 sw ra,12(sp)
|
|
824e: 2a5d jal 8404 <_close>
|
|
8250: 57fd li a5,-1
|
|
8252: 00f51963 bne a0,a5,8264 <_close_r+0x28>
|
|
8256: 1fff9797 auipc a5,0x1fff9
|
|
825a: 2ce78793 addi a5,a5,718 # 20001524 <errno>
|
|
825e: 439c lw a5,0(a5)
|
|
8260: c391 beqz a5,8264 <_close_r+0x28>
|
|
8262: c01c sw a5,0(s0)
|
|
8264: 40b2 lw ra,12(sp)
|
|
8266: 4422 lw s0,8(sp)
|
|
8268: 0141 addi sp,sp,16
|
|
826a: 8082 ret
|
|
|
|
0000826c <_fstat_r>:
|
|
826c: 1141 addi sp,sp,-16
|
|
826e: c422 sw s0,8(sp)
|
|
8270: 842a mv s0,a0
|
|
8272: 852e mv a0,a1
|
|
8274: 85b2 mv a1,a2
|
|
8276: 1fff9797 auipc a5,0x1fff9
|
|
827a: 2a07a723 sw zero,686(a5) # 20001524 <errno>
|
|
827e: c606 sw ra,12(sp)
|
|
8280: 2a51 jal 8414 <_fstat>
|
|
8282: 57fd li a5,-1
|
|
8284: 00f51963 bne a0,a5,8296 <_fstat_r+0x2a>
|
|
8288: 1fff9797 auipc a5,0x1fff9
|
|
828c: 29c78793 addi a5,a5,668 # 20001524 <errno>
|
|
8290: 439c lw a5,0(a5)
|
|
8292: c391 beqz a5,8296 <_fstat_r+0x2a>
|
|
8294: c01c sw a5,0(s0)
|
|
8296: 40b2 lw ra,12(sp)
|
|
8298: 4422 lw s0,8(sp)
|
|
829a: 0141 addi sp,sp,16
|
|
829c: 8082 ret
|
|
|
|
0000829e <_isatty_r>:
|
|
829e: 1141 addi sp,sp,-16
|
|
82a0: c422 sw s0,8(sp)
|
|
82a2: 842a mv s0,a0
|
|
82a4: 852e mv a0,a1
|
|
82a6: 1fff9797 auipc a5,0x1fff9
|
|
82aa: 2607af23 sw zero,638(a5) # 20001524 <errno>
|
|
82ae: c606 sw ra,12(sp)
|
|
82b0: 2a95 jal 8424 <_isatty>
|
|
82b2: 57fd li a5,-1
|
|
82b4: 00f51963 bne a0,a5,82c6 <_isatty_r+0x28>
|
|
82b8: 1fff9797 auipc a5,0x1fff9
|
|
82bc: 26c78793 addi a5,a5,620 # 20001524 <errno>
|
|
82c0: 439c lw a5,0(a5)
|
|
82c2: c391 beqz a5,82c6 <_isatty_r+0x28>
|
|
82c4: c01c sw a5,0(s0)
|
|
82c6: 40b2 lw ra,12(sp)
|
|
82c8: 4422 lw s0,8(sp)
|
|
82ca: 0141 addi sp,sp,16
|
|
82cc: 8082 ret
|
|
|
|
000082ce <_lseek_r>:
|
|
82ce: 1141 addi sp,sp,-16
|
|
82d0: c422 sw s0,8(sp)
|
|
82d2: 842a mv s0,a0
|
|
82d4: 852e mv a0,a1
|
|
82d6: 85b2 mv a1,a2
|
|
82d8: 8636 mv a2,a3
|
|
82da: 1fff9797 auipc a5,0x1fff9
|
|
82de: 2407a523 sw zero,586(a5) # 20001524 <errno>
|
|
82e2: c606 sw ra,12(sp)
|
|
82e4: 2a81 jal 8434 <_lseek>
|
|
82e6: 57fd li a5,-1
|
|
82e8: 00f51963 bne a0,a5,82fa <_lseek_r+0x2c>
|
|
82ec: 1fff9797 auipc a5,0x1fff9
|
|
82f0: 23878793 addi a5,a5,568 # 20001524 <errno>
|
|
82f4: 439c lw a5,0(a5)
|
|
82f6: c391 beqz a5,82fa <_lseek_r+0x2c>
|
|
82f8: c01c sw a5,0(s0)
|
|
82fa: 40b2 lw ra,12(sp)
|
|
82fc: 4422 lw s0,8(sp)
|
|
82fe: 0141 addi sp,sp,16
|
|
8300: 8082 ret
|
|
|
|
00008302 <memchr>:
|
|
8302: 0ff5f593 andi a1,a1,255
|
|
8306: 962a add a2,a2,a0
|
|
8308: 00c51463 bne a0,a2,8310 <memchr+0xe>
|
|
830c: 4501 li a0,0
|
|
830e: 8082 ret
|
|
8310: 211c lbu a5,0(a0)
|
|
8312: feb78ee3 beq a5,a1,830e <memchr+0xc>
|
|
8316: 0505 addi a0,a0,1
|
|
8318: bfc5 j 8308 <memchr+0x6>
|
|
|
|
0000831a <memmove>:
|
|
831a: 04a5f163 bgeu a1,a0,835c <memmove+0x42>
|
|
831e: 00c586b3 add a3,a1,a2
|
|
8322: 02d57d63 bgeu a0,a3,835c <memmove+0x42>
|
|
8326: fff64593 not a1,a2
|
|
832a: 4781 li a5,0
|
|
832c: 17fd addi a5,a5,-1
|
|
832e: 00f59363 bne a1,a5,8334 <memmove+0x1a>
|
|
8332: 8082 ret
|
|
8334: 00f68733 add a4,a3,a5
|
|
8338: 00074803 lbu a6,0(a4) # fffff000 <_eusrstack+0xdfffa000>
|
|
833c: 00c78733 add a4,a5,a2
|
|
8340: 972a add a4,a4,a0
|
|
8342: 01070023 sb a6,0(a4)
|
|
8346: b7dd j 832c <memmove+0x12>
|
|
8348: 00f58733 add a4,a1,a5
|
|
834c: 2314 lbu a3,0(a4)
|
|
834e: 00f50733 add a4,a0,a5
|
|
8352: 0785 addi a5,a5,1
|
|
8354: a314 sb a3,0(a4)
|
|
8356: fef619e3 bne a2,a5,8348 <memmove+0x2e>
|
|
835a: 8082 ret
|
|
835c: 4781 li a5,0
|
|
835e: bfe5 j 8356 <memmove+0x3c>
|
|
|
|
00008360 <__malloc_lock>:
|
|
8360: 8082 ret
|
|
|
|
00008362 <__malloc_unlock>:
|
|
8362: 8082 ret
|
|
|
|
00008364 <_realloc_r>:
|
|
8364: e581 bnez a1,836c <_realloc_r+0x8>
|
|
8366: 85b2 mv a1,a2
|
|
8368: afaff06f j 7662 <_malloc_r>
|
|
836c: 1101 addi sp,sp,-32
|
|
836e: cc22 sw s0,24(sp)
|
|
8370: ce06 sw ra,28(sp)
|
|
8372: ca26 sw s1,20(sp)
|
|
8374: c84a sw s2,16(sp)
|
|
8376: c64e sw s3,12(sp)
|
|
8378: 8432 mv s0,a2
|
|
837a: ee01 bnez a2,8392 <_realloc_r+0x2e>
|
|
837c: a3eff0ef jal ra,75ba <_free_r>
|
|
8380: 4901 li s2,0
|
|
8382: 40f2 lw ra,28(sp)
|
|
8384: 4462 lw s0,24(sp)
|
|
8386: 854a mv a0,s2
|
|
8388: 44d2 lw s1,20(sp)
|
|
838a: 4942 lw s2,16(sp)
|
|
838c: 49b2 lw s3,12(sp)
|
|
838e: 6105 addi sp,sp,32
|
|
8390: 8082 ret
|
|
8392: 84ae mv s1,a1
|
|
8394: 89aa mv s3,a0
|
|
8396: 28a9 jal 83f0 <_malloc_usable_size_r>
|
|
8398: 8926 mv s2,s1
|
|
839a: fe8574e3 bgeu a0,s0,8382 <_realloc_r+0x1e>
|
|
839e: 85a2 mv a1,s0
|
|
83a0: 854e mv a0,s3
|
|
83a2: ac0ff0ef jal ra,7662 <_malloc_r>
|
|
83a6: 892a mv s2,a0
|
|
83a8: dd69 beqz a0,8382 <_realloc_r+0x1e>
|
|
83aa: 85a6 mv a1,s1
|
|
83ac: 8622 mv a2,s0
|
|
83ae: 8abfe0ef jal ra,6c58 <memcpy>
|
|
83b2: 85a6 mv a1,s1
|
|
83b4: 854e mv a0,s3
|
|
83b6: a04ff0ef jal ra,75ba <_free_r>
|
|
83ba: b7e1 j 8382 <_realloc_r+0x1e>
|
|
|
|
000083bc <_read_r>:
|
|
83bc: 1141 addi sp,sp,-16
|
|
83be: c422 sw s0,8(sp)
|
|
83c0: 842a mv s0,a0
|
|
83c2: 852e mv a0,a1
|
|
83c4: 85b2 mv a1,a2
|
|
83c6: 8636 mv a2,a3
|
|
83c8: 1fff9797 auipc a5,0x1fff9
|
|
83cc: 1407ae23 sw zero,348(a5) # 20001524 <errno>
|
|
83d0: c606 sw ra,12(sp)
|
|
83d2: 288d jal 8444 <_read>
|
|
83d4: 57fd li a5,-1
|
|
83d6: 00f51963 bne a0,a5,83e8 <_read_r+0x2c>
|
|
83da: 1fff9797 auipc a5,0x1fff9
|
|
83de: 14a78793 addi a5,a5,330 # 20001524 <errno>
|
|
83e2: 439c lw a5,0(a5)
|
|
83e4: c391 beqz a5,83e8 <_read_r+0x2c>
|
|
83e6: c01c sw a5,0(s0)
|
|
83e8: 40b2 lw ra,12(sp)
|
|
83ea: 4422 lw s0,8(sp)
|
|
83ec: 0141 addi sp,sp,16
|
|
83ee: 8082 ret
|
|
|
|
000083f0 <_malloc_usable_size_r>:
|
|
83f0: ffc5a783 lw a5,-4(a1)
|
|
83f4: ffc78513 addi a0,a5,-4
|
|
83f8: 0007d563 bgez a5,8402 <_malloc_usable_size_r+0x12>
|
|
83fc: 95aa add a1,a1,a0
|
|
83fe: 419c lw a5,0(a1)
|
|
8400: 953e add a0,a0,a5
|
|
8402: 8082 ret
|
|
|
|
00008404 <_close>:
|
|
8404: 05800793 li a5,88
|
|
8408: 1fff9717 auipc a4,0x1fff9
|
|
840c: 10f72e23 sw a5,284(a4) # 20001524 <errno>
|
|
8410: 557d li a0,-1
|
|
8412: 8082 ret
|
|
|
|
00008414 <_fstat>:
|
|
8414: 05800793 li a5,88
|
|
8418: 1fff9717 auipc a4,0x1fff9
|
|
841c: 10f72623 sw a5,268(a4) # 20001524 <errno>
|
|
8420: 557d li a0,-1
|
|
8422: 8082 ret
|
|
|
|
00008424 <_isatty>:
|
|
8424: 05800793 li a5,88
|
|
8428: 1fff9717 auipc a4,0x1fff9
|
|
842c: 0ef72e23 sw a5,252(a4) # 20001524 <errno>
|
|
8430: 4501 li a0,0
|
|
8432: 8082 ret
|
|
|
|
00008434 <_lseek>:
|
|
8434: 05800793 li a5,88
|
|
8438: 1fff9717 auipc a4,0x1fff9
|
|
843c: 0ef72623 sw a5,236(a4) # 20001524 <errno>
|
|
8440: 557d li a0,-1
|
|
8442: 8082 ret
|
|
|
|
00008444 <_read>:
|
|
8444: 05800793 li a5,88
|
|
8448: 1fff9717 auipc a4,0x1fff9
|
|
844c: 0cf72e23 sw a5,220(a4) # 20001524 <errno>
|
|
8450: 557d li a0,-1
|
|
8452: 8082 ret
|
|
8454: 74737953 0x74737953
|
|
8458: 6d65 lui s10,0x19
|
|
845a: 3a6b6c43 fmadd.d fs8,fs6,ft6,ft7,unknown
|
|
845e: 6425 lui s0,0x9
|
|
8460: 0a0d addi s4,s4,3
|
|
8462: 0000 unimp
|
|
8464: 70696843 fmadd.s fa6,fs2,ft6,fa4,unknown
|
|
8468: 4449 li s0,18
|
|
846a: 253a lhu a4,10(a0)
|
|
846c: 3830 lbu a2,19(s0)
|
|
846e: 0d78 addi a4,sp,668
|
|
8470: 000a c.slli zero,0x2
|
|
8472: 0000 unimp
|
|
8474: 696c6143 fmadd.s ft2,fs8,fs6,fa3,unknown
|
|
8478: 7262 flw ft4,56(sp)
|
|
847a: 7461 lui s0,0xffff8
|
|
847c: 6974 flw fa3,84(a0)
|
|
847e: 565f6e6f jal t3,ff1e2 <_data_lma+0xf62f2>
|
|
8482: 6c61 lui s8,0x18
|
|
8484: 3a20 lbu s0,19(a2)
|
|
8486: 2520 lbu s0,10(a0)
|
|
8488: 0a64 addi s1,sp,284
|
|
848a: 0000 unimp
|
|
848c: cccd beqz s1,8546 <mosTemperADC+0x56>
|
|
848e: 3d4c lbu a1,29(a0)
|
|
8490: 6666 flw fa2,88(sp)
|
|
8492: 3f66 lhu s1,62(a4)
|
|
8494: 0000 unimp
|
|
8496: 43f0 lw a2,68(a5)
|
|
8498: 999a add s3,s3,t1
|
|
849a: 9999 andi a1,a1,-26
|
|
849c: 9999 andi a1,a1,-26
|
|
849e: 3fa9 jal 83f8 <_malloc_usable_size_r+0x8>
|
|
84a0: cccd beqz s1,855a <mosTemperADC+0x6a>
|
|
84a2: cccc sw a1,28(s1)
|
|
84a4: cccc sw a1,28(s1)
|
|
84a6: 3fec lbu a1,31(a5)
|
|
84a8: 6e69 lui t3,0x1a
|
|
84aa: 7420 flw fs0,104(s0)
|
|
84ac: 6d69 lui s10,0x1a
|
|
84ae: 2031 jal 84ba <_read+0x76>
|
|
84b0: 7269 lui tp,0xffffa
|
|
84b2: 2071 jal 853e <mosTemperADC+0x4e>
|
|
84b4: 0000 unimp
|
|
84b6: 0000 unimp
|
|
84b8: f000 fsw fs0,32(s0)
|
|
84ba: 457f 0x457f
|
|
...
|
|
84c4: 0000 unimp
|
|
84c6: 4004 lw s1,0(s0)
|
|
84c8: 0000 unimp
|
|
84ca: 0000 unimp
|
|
84cc: 0000 unimp
|
|
84ce: 4020 lw s0,64(s0)
|
|
84d0: 0000 unimp
|
|
84d2: 0000 unimp
|
|
84d4: 0000 unimp
|
|
84d6: 3fe0 lbu s0,31(a5)
|
|
84d8: 0000 unimp
|
|
84da: 0000 unimp
|
|
84dc: 0000 unimp
|
|
84de: 4034 lw a3,64(s0)
|
|
84e0: 0000 unimp
|
|
84e2: 0000 unimp
|
|
84e4: 403646cf fnmadd.s fa3,fa2,ft3,fs0,rmm
|
|
84e8: 0000 unimp
|
|
84ea: 6000 flw fs0,0(s0)
|
|
84ec: 6666 flw fa2,88(sp)
|
|
84ee: 401a 0x401a
|
|
|
|
000084f0 <mosTemperADC>:
|
|
84f0: 131d 130f 1302 12f4 12e6 12d7 12c8 12b9 ................
|
|
8500: 12aa 129a 128a 127a 126a 1259 1248 1237 ......z.j.Y.H.7.
|
|
8510: 1225 1213 1201 11ee 11db 11c8 11b5 11a1 %...............
|
|
8520: 118d 1179 1164 114f 113a 1125 110f 10f9 ..y.d.O.:.%.....
|
|
8530: 10e3 10cc 10b5 109e 1087 106f 1057 103f ..........o.W.?.
|
|
8540: 1026 100d 0ff4 0fdb 0fc2 0fa8 0f8e 0f74 &.............t.
|
|
8550: 0f59 0f3f 0f24 0f09 0eed 0ed2 0eb6 0e9a Y.?.$...........
|
|
8560: 0e7e 0e62 0e46 0e29 0e0c 0df0 0dd3 0db6 ~.b.F.).........
|
|
8570: 0d98 0d7b 0d5e 0d40 0d22 0d05 0ce7 0cc9 ..{.^.@.".......
|
|
8580: 0cab 0c8d 0c6f 0c51 0c33 0c15 0bf7 0bd9 ....o.Q.3.......
|
|
8590: 0bbb 0b9c 0b7e 0b60 0b42 0b24 0b06 0ae8 ....~.`.B.$.....
|
|
85a0: 0aca 0aad 0a8f 0a71 0a54 0a36 0a19 09fc ......q.T.6.....
|
|
85b0: 09df 09c2 09a5 0988 096c 094f 0933 0917 ........l.O.3...
|
|
85c0: 08fb 08df 08c3 08a8 088d 0872 0857 083c ..........r.W.<.
|
|
85d0: 0821 0807 07ed 07d3 07b9 07a0 0786 076d !.............m.
|
|
85e0: 0754 073c 0723 070b 06f3 06db 06c4 06ad T.<.#...........
|
|
85f0: 0696 067f 0668 0652 063c 0626 0610 05fb ....h.R.<.&.....
|
|
8600: 05e6 05d1 05bc 05a7 0593 057f 056b 0558 ............k.X.
|
|
8610: 0545 0532 051f 050c 04fa 04e8 04d6 04c4 E.2.............
|
|
8620: 04b3 04a1 0490 047f 046f 045f 044e 043e ........o._.N.>.
|
|
8630: 042f 041f 0410 0401 03f2 03e3 03d5 03c7 /...............
|
|
8640: 03b9 03ab 039d 0390 0382 0375 0368 035c ..........u.h.\.
|
|
8650: 034f 0343 0336 032a 031f 0313 0307 02fc O.C.6.*.........
|
|
8660: 02f1 02e6 02db 02d1 02c6 02bc 02b2 02a7 ................
|
|
8670: 029e 0294 028a 0281 0277 026e 0265 025c ........w.n.e.\.
|
|
8680: 0254 024b 0242 023a 0232 022a 0222 021a T.K.B.:.2.*."...
|
|
8690: 0212 020b 0203 01fc 01f4 01ed 01e6 01df ................
|
|
86a0: 01d8 01d2 01cb 01c4 01be 01b8 01b1 01ab ................
|
|
86b0: 01a5 019f 0199 0194 018e 0188 0183 017d ..............}.
|
|
86c0: 0178 0173 016e 0169 0163 015e 015a 0155 x.s.n.i.c.^.Z.U.
|
|
86d0: 0150 0000 4000 461c 0000 42c8 0000 4190 P....@.F...B...A
|
|
86e0: 0000 4180 0000 4100 999a 9999 9999 3fc9 ...A...A.......?
|
|
86f0: 999a 9999 9999 3fb9 6c46 616f 4974 203a .......?FloatI:
|
|
8700: 6425 2f20 3120 3030 0a20 0000 6f6e 6f77 %d / 100 ...nowo
|
|
8710: 6b72 0020 b717 3851 c5ac 3727 0000 447a rk ...Q8..'7..zD
|
|
8720: d70a 3ba3 0000 0000 6666 6666 6666 402c ...;....ffffff,@
|
|
8730: 495b 464e 5d4f 5b20 7325 253a 5d64 5220 [INFO] [%s:%d] R
|
|
8740: 6765 7369 7274 7461 6f69 206e 7573 6363 egistration succ
|
|
8750: 7365 2073 0a0d 0a0d 0000 0000 455b 5252 ess ........[ERR
|
|
8760: 524f 205d 255b 3a73 6425 205d 5220 6765 OR] [%s:%d] Reg
|
|
8770: 7369 6574 5f72 754e 626d 7265 6520 7272 ister_Number err
|
|
8780: 726f 253a 2078 0a0d 0a0d 0000 455b 5252 or:%x ......[ERR
|
|
8790: 524f 205d 255b 3a73 6425 205d 5220 6765 OR] [%s:%d] Reg
|
|
87a0: 7369 6574 5f72 7453 7261 5f74 6441 7264 ister_Start_Addr
|
|
87b0: 7365 2073 7265 6f72 2072 203a 7825 0d20 ess error : %x .
|
|
87c0: 0d0a 000a 6e69 7720 6972 6574 7220 6765 ....in write reg
|
|
87d0: 7369 6574 2072 0000 495b 464e 5d4f 5b20 ister ..[INFO] [
|
|
87e0: 7325 253a 5d64 2020 4c53 525f 6165 5264 %s:%d] SL_ReadR
|
|
87f0: 6765 7369 6574 4272 7461 6574 7972 6f56 egisterBatteryVo
|
|
8800: 746c 6761 2065 0a0d 0000 0000 495b 464e ltage ......[INF
|
|
8810: 5d4f 5b20 7325 253a 5d64 2020 4c53 525f O] [%s:%d] SL_R
|
|
8820: 6165 5264 6765 7369 6574 4372 6168 6772 eadRegisterCharg
|
|
8830: 7543 7272 6e65 2074 0a0d 0000 495b 464e Current ....[INF
|
|
8840: 5d4f 5b20 7325 253a 5d64 2020 4c53 525f O] [%s:%d] SL_R
|
|
8850: 6165 5264 6765 7369 6574 4472 7369 6863 eadRegisterDisch
|
|
8860: 7261 4367 7275 6572 746e 0d20 000a 0000 argCurrent .....
|
|
8870: 495b 464e 5d4f 5b20 7325 253a 5d64 2020 [INFO] [%s:%d]
|
|
8880: 4c53 525f 6165 5264 6765 7369 6574 4472 SL_ReadRegisterD
|
|
8890: 7369 6863 7261 4d67 736f 7453 7461 2065 ischargMosState
|
|
88a0: 0a0d 0000 0000 4120 495b 464e 5d4f 5b20 ...... A[INFO] [
|
|
88b0: 7325 253a 5d64 2020 4c53 525f 6165 5264 %s:%d] SL_ReadR
|
|
88c0: 6765 7369 6574 4872 6769 5368 6469 4d65 egisterHighSideM
|
|
88d0: 736f 6554 706d 7265 7461 7275 2065 0a0d osTemperature ..
|
|
88e0: 0000 0000 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
88f0: 5d64 2020 4c53 525f 6165 5264 6765 7369 d] SL_ReadRegis
|
|
8900: 6574 4d72 5050 4d54 646f 2065 0a0d 0000 terMPPTMode ....
|
|
8910: 495b 464e 5d4f 5b20 7325 253a 5d64 2020 [INFO] [%s:%d]
|
|
8920: 4c53 525f 6165 5264 6765 7369 6574 5372 SL_ReadRegisterS
|
|
8930: 6c6f 7261 704f 6e65 6943 6372 6975 5674 olarOpenCircuitV
|
|
8940: 6c6f 6174 6567 0d20 000a 0000 495b 464e oltage .....[INF
|
|
8950: 5d4f 5b20 7325 253a 5d64 4d20 7461 6863 O] [%s:%d] Match
|
|
8960: 535f 6174 7472 6c66 6761 7320 6375 6563 _Startflag succe
|
|
8970: 7373 0d20 0d0a 000a 495b 464e 5d4f 5b20 ss .....[INFO] [
|
|
8980: 7325 253a 5d64 4d20 7461 6863 615f 6464 %s:%d] Match_add
|
|
8990: 6572 7373 7320 6375 6563 7373 0d20 0d0a ress success ...
|
|
89a0: 000a 0000 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
89b0: 5d64 4d20 7461 6863 425f 6f72 6461 6163 d] Match_Broadca
|
|
89c0: 7473 6461 7264 7365 2073 7573 6363 7365 staddress succes
|
|
89d0: 0d73 0d0a 000a 0000 495b 464e 5d4f 5b20 s.......[INFO] [
|
|
89e0: 7325 253a 5d64 5220 6165 5f64 6552 6967 %s:%d] Read_Regi
|
|
89f0: 7473 7265 0a0d 0a0d 0000 0000 495b 464e ster........[INF
|
|
8a00: 5d4f 5b20 7325 253a 5d64 5720 6972 6574 O] [%s:%d] Write
|
|
8a10: 525f 6765 7369 6574 0d72 0d0a 000a 0000 _Register.......
|
|
8a20: 495b 464e 5d4f 5b20 7325 253a 5d64 4f20 [INFO] [%s:%d] O
|
|
8a30: 6874 7265 6620 6172 656d 0d73 0d0a 000a ther frames.....
|
|
8a40: 495b 464e 5d4f 5b20 7325 253a 5d64 4220 [INFO] [%s:%d] B
|
|
8a50: 6f72 6461 6163 7473 535f 6163 0d6e 0d0a roadcast_Scan...
|
|
8a60: 000a 0000 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
8a70: 5d64 5220 6765 7369 7274 7461 6f69 5f6e d] Registration_
|
|
8a80: 6572 7571 7365 0d74 0d0a 000a 495b 464e request.....[INF
|
|
8a90: 5d4f 5b20 7325 253a 5d64 6620 6e75 6f63 O] [%s:%d] funco
|
|
8aa0: 6564 6520 7272 726f 2520 0d78 0d0a 000a de error %x.....
|
|
8ab0: 6420 7475 5f79 6172 6974 206f 203a 6425 duty_ratio : %d
|
|
8ac0: 312f 3030 2030 000a 4920 706e 7475 565f /1000 .. Input_V
|
|
8ad0: 6c6f 6174 6567 3a20 2520 2f64 3031 2030 oltage : %d/100
|
|
8ae0: 000a 0000 7620 756f 2074 203a 6425 312f .... vout : %d/1
|
|
8af0: 3030 0a20 0000 0000 7620 6142 7474 7265 00 ..... vBatter
|
|
8b00: 2079 203a 6425 312f 3030 0a20 0000 0000 y : %d/100 .....
|
|
8b10: 4920 756f 2074 203a 6425 312f 3030 0a20 Iout : %d/100 .
|
|
8b20: 0000 0000 4920 6964 6f73 7475 3a20 2520 .... Idisout : %
|
|
8b30: 2f64 3031 2030 000a 6d20 736f 2054 203a d/100 .. mosT :
|
|
8b40: 6425 312f 2030 000a 6920 706d 6465 6e61 %d/10 .. impedan
|
|
8b50: 6563 3a20 2520 2f64 3031 3030 0a20 0000 ce : %d/1000 ...
|
|
8b60: 6720 695f 706d 6465 6e61 6563 7453 7261 g_impedanceStar
|
|
8b70: 2074 203a 6425 0a20 0000 0000 6d20 736f t : %d ..... mos
|
|
8b80: 7453 7461 2065 203a 6425 0a20 0000 0000 State : %d .....
|
|
8b90: 6220 7461 6574 7972 7453 7461 2065 203a batteryState :
|
|
8ba0: 6425 0a20 0000 0000 6f20 7475 7570 4174 %d ..... outputA
|
|
8bb0: 6167 6e69 6c46 6761 3a20 2520 2064 000a gainFlag : %d ..
|
|
8bc0: 6520 6378 7365 6973 6576 6f4c 6461 6c46 excessiveLoadFl
|
|
8bd0: 6761 3a20 2520 2064 000a 0000 3020 c32e ag : %d .... 0..
|
|
8be0: d3bb b9d0 d7a4 3bf7 3120 e42e c1b8 c4f7 .......; 1......
|
|
8bf0: caa3 3bbd 3220 ba2e c1e3 c4f7 caa3 3bbd ...; 2.........;
|
|
8c00: 3320 ba2e d1e3 c4b9 caa3 3bbd 3420 b82e 3.........; 4..
|
|
8c10: b3a1 c4e4 caa3 3bbd 3520 c32e d3bb b5d0 .......; 5......
|
|
8c20: b3e7 20d8 203a 6425 0a20 0000 0000 3f80 ... : %d ......?
|
|
8c30: 0000 4040 999a 3f19 999a 9999 9999 bfb9 ..@@...?........
|
|
8c40: 147b 47ae 7ae1 3f84 0000 4130 0000 4170 {..G.z.?..0A..pA
|
|
8c50: 3333 3f33 c336 ffff c228 ffff c228 ffff 333?6...(...(...
|
|
8c60: c226 ffff c22e ffff c22e ffff c1f4 ffff &...............
|
|
8c70: c226 ffff c22e ffff c1f4 ffff c22e ffff &...............
|
|
8c80: c226 ffff c322 ffff c322 ffff c322 ffff &..."..."..."...
|
|
8c90: c1f4 ffff d272 ffff d198 ffff d26c ffff ....r.......l...
|
|
8ca0: d1a0 ffff d26c ffff d166 ffff d26c ffff ....l...f...l...
|
|
8cb0: d1a0 ffff d198 ffff d198 ffff d166 ffff ............f...
|
|
8cc0: d1a0 ffff d1a6 ffff d1a6 ffff d1a6 ffff ................
|
|
8cd0: d166 ffff d158 ffff d158 ffff d22c ffff f...X...X...,...
|
|
8ce0: d308 ffff d22c ffff d126 ffff d22c ffff ....,...&...,...
|
|
8cf0: d308 ffff d158 ffff d158 ffff d126 ffff ....X...X...&...
|
|
8d00: d308 ffff d166 ffff d166 ffff d166 ffff ....f...f...f...
|
|
8d10: d126 ffff d5dc ffff d52a ffff d52a ffff &.......*...*...
|
|
8d20: d528 ffff d52e ffff d52e ffff d4fe ffff (...............
|
|
8d30: d528 ffff d52e ffff d4fe ffff d52e ffff (...............
|
|
8d40: d528 ffff d5ca ffff d5ca ffff d5ca ffff (...............
|
|
8d50: d4fe ffff ....
|
|
|
|
00008d54 <__clz_tab>:
|
|
8d54: 0100 0202 0303 0303 0404 0404 0404 0404 ................
|
|
8d64: 0505 0505 0505 0505 0505 0505 0505 0505 ................
|
|
8d74: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
8d84: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
8d94: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8da4: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8db4: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8dc4: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8dd4: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8de4: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8df4: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8e04: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8e14: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8e24: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8e34: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8e44: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
|
|
00008e54 <__sf_fake_stderr>:
|
|
...
|
|
|
|
00008e74 <__sf_fake_stdin>:
|
|
...
|
|
|
|
00008e94 <__sf_fake_stdout>:
|
|
...
|
|
8eb4: 2d23 2b30 0020 0000 6c68 004c 6665 4567 #-0+ ...hlL.efgE
|
|
8ec4: 4746 0000 3130 3332 3534 3736 3938 4241 FG..0123456789AB
|
|
8ed4: 4443 4645 0000 0000 3130 3332 3534 3736 CDEF....01234567
|
|
8ee4: 3938 6261 6463 6665 0000 0000 89abcdef....
|