12356 lines
562 KiB
Plaintext
12356 lines
562 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 0x00008854 memsz 0x00008854 flags r-x
|
|
LOAD off 0x0000a000 vaddr 0x20000000 paddr 0x00008854 align 2**12
|
|
filesz 0x00000180 memsz 0x0000050c 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 00008714 00000140 00000140 00001140 2**3
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 00008854 00008854 0000a180 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 0000a180 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 00008854 00008854 0000a180 2**0
|
|
CONTENTS
|
|
6 .data 00000180 20000000 00008854 0000a000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 0000038c 20000180 000089d4 0000a180 2**2
|
|
ALLOC
|
|
8 .stack 00000800 20004800 20004800 0000a800 2**0
|
|
ALLOC
|
|
9 .debug_info 0002143d 00000000 00000000 0000a180 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 0000567b 00000000 00000000 0002b5bd 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_aranges 00000ef0 00000000 00000000 00030c38 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_ranges 00001118 00000000 00000000 00031b28 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_line 000142ce 00000000 00000000 00032c40 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_str 00004a2d 00000000 00000000 00046f0e 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .comment 00000033 00000000 00000000 0004b93b 2**0
|
|
CONTENTS, READONLY
|
|
16 .debug_frame 00003364 00000000 00000000 0004b970 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
17 .debug_loc 000067b7 00000000 00000000 0004ecd4 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
18 .stab 00000084 00000000 00000000 0005548c 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
19 .stabstr 00000117 00000000 00000000 00055510 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
|
|
00008854 l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
00008854 l d .dlalign 00000000 .dlalign
|
|
20000000 l d .data 00000000 .data
|
|
20000180 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
|
|
20000164 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
|
|
200001a0 l O .bss 00000004 pTimeSliceList
|
|
00000000 l df *ABS* 00000000 ring_queue.c
|
|
00000000 l df *ABS* 00000000 debug.c
|
|
200001a4 l O .bss 00000002 p_ms
|
|
200001a6 l O .bss 00000002 p_us
|
|
20000168 l O .data 00000004 curbrk.5007
|
|
00000000 l df *ABS* 00000000 collect_Conversion.c
|
|
00001cce l F .text 00000092 middleAverageFilter
|
|
00000000 l df *ABS* 00000000 inflash.c
|
|
00000000 l df *ABS* 00000000 mppt_control.c
|
|
200001a8 l O .bss 00000004 ConstantCurrentV.5826
|
|
200001ac l O .bss 00000004 ConstantVoltageChargeV.5804
|
|
200001b0 l O .bss 00000004 ConstantVoltageV.5827
|
|
200001b4 l O .bss 00000004 FloatChargeV.5809
|
|
200001b8 l O .bss 00000004 FloatI.5828
|
|
200001bc l O .bss 00000004 StopSolarOpenCircuitV.5829
|
|
200001c0 l O .bss 00000004 TrickleChargeC.5796
|
|
20000170 l O .data 00000001 onlyOnce.5797
|
|
20000171 l O .data 00000001 onlyOnce.5805
|
|
20000172 l O .data 00000001 onlyOnce.5810
|
|
20000173 l O .data 00000001 only_once.5830
|
|
00000000 l df *ABS* 00000000 sl_protocol.c
|
|
000025c0 l F .text 0000002a SL_ReadRegisterMPPTMode
|
|
000025ea l F .text 00000024 SL_ReadRegisterDischargMosState
|
|
0000260e l F .text 0000003e SL_ReadRegisterHighSideMosTemperature
|
|
0000264c l F .text 0000003e SL_ReadRegisterSolarOpenCircuitVoltage
|
|
0000268a l F .text 0000003c SL_ReadRegisterDischargCurrent
|
|
000026c6 l F .text 0000003c SL_ReadRegisterChargCurrent
|
|
00002702 l F .text 0000003c SL_ReadRegisterBatteryVoltage
|
|
0000273e l F .text 00000054 SL_MsgProcFunc_Registration_request
|
|
00002792 l F .text 00000034 SL_MsgProcFunc_Broadcast_Scan
|
|
000027c6 l F .text 00000056 SL_MsgProcFunc_Write_Register
|
|
00002900 l F .text 0000009e SL_MsgProcFunc_Remote_Upgrade
|
|
0000299e l F .text 0000009e SL_MsgProcFunc_Update_Profile
|
|
00002a3c l F .text 0000018c SL_MsgProcFunc_Read_Register
|
|
20000240 l O .bss 00000032 rs485_buff
|
|
00000000 l df *ABS* 00000000 task.c
|
|
200001c6 l O .bss 00000002 checkRegisterRefreshTimeFlag.6447
|
|
200001c8 l O .bss 00000002 checkSolarOpenCircuitVTimeFlag.6423
|
|
200001cc l O .bss 00000004 currOne.6469
|
|
200001d0 l O .bss 00000004 currTwo.6471
|
|
200001d4 l O .bss 00000004 dutyRatio.6431
|
|
200001d8 l O .bss 00000004 enabBroadcastTimeFlag.6485
|
|
200001dc l O .bss 00000001 flag.6417
|
|
200001e9 l O .bss 00000001 num.6418
|
|
200001ea l O .bss 00000002 num.6430
|
|
200001ec l O .bss 00000001 num.6468
|
|
200001ed l O .bss 00000001 num.6479
|
|
200001f1 l O .bss 00000001 run_number.6455
|
|
200001f4 l O .bss 00000004 temp.6441
|
|
200001f8 l O .bss 00000004 voltOne.6470
|
|
200001fc l O .bss 00000004 voltTwo.6472
|
|
20000174 l O .data 00000001 only_once.6424
|
|
00000000 l df *ABS* 00000000 uart_dev.c
|
|
00003c9a l F .text 00000046 uart_putchar
|
|
20000314 l O .bss 000000c8 bat485_in_buff
|
|
200003dc 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
|
|
00006bfa 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
|
|
000073ea 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
|
|
200000fc l O .data 00000060 impure_data
|
|
00000000 l df *ABS* 00000000 reent.c
|
|
00007d18 g F .text 00000014 _malloc_usable_size_r
|
|
00001538 g F .text 0000003e EXTI2_IRQHandler
|
|
00007bde g F .text 00000028 _isatty_r
|
|
00001ad4 g F .text 00000022 TimeSliceOffset_Start
|
|
000066aa g F .text 000000d4 _puts_r
|
|
00007c06 g F .text 0000002c _lseek_r
|
|
000018e2 g F .text 00000052 TIM3_Int_Init
|
|
0000183c g F .text 0000001a USARTx_SendByte
|
|
20000020 g O .data 0000002c g_slConfigInfo
|
|
00003ce0 g F .text 00000052 uart_dev_init
|
|
00003a74 g F .text 0000004c Task_sensorEnableBroadcast
|
|
20000175 g O .data 00000001 run_Broadcast
|
|
00002014 g F .text 00000062 mppt_constantCurrentO
|
|
000009de g F .text 0000000a GPIO_ReadOutputDataBit
|
|
0000666a g F .text 00000040 printf
|
|
20000960 g .data 00000000 __global_pointer$
|
|
00000148 g F .text 00000028 .hidden __riscv_save_8
|
|
00000440 w .text 00000000 TIM1_CC_IRQHandler
|
|
00007b28 g F .text 00000030 __sseek
|
|
00006cb0 g F .text 0000006c __sinit
|
|
00000ec8 g F .text 00000004 SPI_I2S_SendData
|
|
000068ac g F .text 000000bc __swbuf_r
|
|
0000024a g F .text 00000002 HardFault_Handler
|
|
00006c6a g F .text 00000046 __sfmoreglue
|
|
00007c92 g F .text 00000002 __malloc_unlock
|
|
00001b2e g F .text 0000002c InRingQueue
|
|
00000440 w .text 00000000 USBPD_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_3
|
|
000056ac g F .text 000002b2 .hidden __divsf3
|
|
00001986 g F .text 00000058 TIM2_Int_Init
|
|
00002bc8 g F .text 00000032 FRT_MsgHandler
|
|
00001a28 g F .text 0000000e SysTick_Handler
|
|
00000568 g F .text 0000000a ADC_StartCalibration
|
|
00003df8 g F .text 00000018 uart_dev_char_present
|
|
00000ce4 g F .text 00000054 NVIC_Init
|
|
200001ee g O .bss 00000001 outputAgainFlag
|
|
00000440 w .text 00000000 PVD_IRQHandler
|
|
00007c4a g F .text 00000046 memmove
|
|
00001e2c g F .text 00000044 get_PV1_VOLT_IN
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_10
|
|
00000ecc g F .text 00000004 SPI_I2S_ReceiveData
|
|
00000248 g F .text 00000002 NMI_Handler
|
|
000060e8 g F .text 00000062 .hidden __fixsfsi
|
|
00000440 w .text 00000000 EXTI3_IRQHandler
|
|
00000148 g F .text 00000028 .hidden __riscv_save_11
|
|
0000087c g F .text 00000006 DBGMCU_GetCHIPID
|
|
00004576 g F .text 000000ae .hidden __gtdf2
|
|
00002ec4 g F .text 00000346 Task_RunLED
|
|
000011a4 g F .text 0000000a USART_GetFlagStatus
|
|
00007bb4 g F .text 0000002a _fstat_r
|
|
20000508 g O .bss 00000004 errno
|
|
00003d66 g F .text 00000018 gw485_tx_enabla
|
|
20000180 g .bss 00000000 _sbss
|
|
00000800 g *ABS* 00000000 __stack_size
|
|
00000652 g F .text 0000000a ADC_GetFlagStatus
|
|
00001be6 g F .text 0000005a USART_Printf_Init
|
|
00003e38 g F .text 0000000e ring_queue_length
|
|
00007e18 g O .text 000001e2 mosTemperADC
|
|
00005d60 g F .text 00000388 .hidden __subsf3
|
|
00000440 w .text 00000000 USBFS_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_2
|
|
00003d96 g F .text 00000062 uart_dev_write
|
|
00001fb2 g F .text 00000062 mppt_constantVoltageO
|
|
00000fe4 g F .text 00000016 TIM_CtrlPWMOutputs
|
|
000065b8 g F .text 000000b2 memcpy
|
|
00000546 g F .text 00000010 ADC_Cmd
|
|
00006c60 g F .text 0000000a _cleanup_r
|
|
000009f6 g F .text 0000012c GPIO_PinRemapConfig
|
|
00007180 g F .text 0000026a _svfprintf_r
|
|
000052d0 g F .text 00000072 .hidden __floatsidf
|
|
00004624 g F .text 000000b6 .hidden __ltdf2
|
|
00000440 w .text 00000000 EXTI0_IRQHandler
|
|
00000440 w .text 00000000 I2C2_EV_IRQHandler
|
|
00000e5e g F .text 0000001e RCC_PB2PeriphResetCmd
|
|
00000440 w .text 00000000 LPTIM_IRQHandler
|
|
00003d32 g F .text 0000001a bat485_tx_enabla
|
|
20000194 g O .bss 00000002 Calibrattion_Val
|
|
00000fcc g F .text 00000018 TIM_Cmd
|
|
0000677e g F .text 0000000c puts
|
|
00001026 g F .text 00000016 TIM_OC4PreloadConfig
|
|
20000160 g O .data 00000004 SystemCoreClock
|
|
0000119c g F .text 00000008 USART_ReceiveData
|
|
00006f10 g F .text 0000000a malloc
|
|
00007d38 g F .text 0000000c _fstat
|
|
00001f4c g F .text 00000066 mppt_constantVoltage
|
|
00000004 g .init 00000000 _einit
|
|
00001082 g F .text 0000000c TIM_ClearITPendingBit
|
|
00001052 g F .text 00000018 TIM_GetCounter
|
|
00005a40 g F .text 0000008c .hidden __lesf2
|
|
00000140 g F .text 00000030 .hidden __riscv_save_12
|
|
00000914 g F .text 000000c0 GPIO_Init
|
|
00000d38 g F .text 00000014 RCC_ADCCLKConfig
|
|
00001a68 g F .text 0000003e TimeSliceOffset_Register
|
|
00000440 w .text 00000000 Break_Point_Handler
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_11
|
|
20000200 g O .bss 00000004 g_bat485_uart3_handle
|
|
20000190 g O .bss 00000004 NVIC_Priority_Group
|
|
00000440 w .text 00000000 SPI1_IRQHandler
|
|
00000556 g F .text 0000000a ADC_ResetCalibration
|
|
00001148 g F .text 00000016 USART_Cmd
|
|
00007a8a g F .text 0000002a _sbrk_r
|
|
20000184 g O .bss 00000004 CHIPID
|
|
00000440 w .text 00000000 TAMPER_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_1
|
|
00001ec6 g F .text 00000086 read_config_info
|
|
00001d60 g F .text 00000044 get_CHG_CURR
|
|
200001f0 g O .bss 00000001 recvbroadcast_flag
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_0
|
|
00007cec g F .text 0000002c _read_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_7
|
|
200001e8 g O .bss 00000001 g_recvBroadcastRegisterNumber
|
|
00006334 g F .text 000000ac .hidden __extendsfdf2
|
|
00003e46 g F .text 00000730 .hidden __adddf3
|
|
0000595e g F .text 0000005c .hidden __nesf2
|
|
00000440 w .text 00000000 Ecall_M_Mode_Handler
|
|
20004800 g .stack 00000000 _heap_end
|
|
00003d4c g F .text 0000001a bat485_tx_disenabla
|
|
00007d44 g F .text 0000000c _isatty
|
|
2000008c g O .data 00000038 g_RegTblR
|
|
2000017c g O .data 00000004 _global_impure_ptr
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_5
|
|
00007c94 g F .text 00000058 _realloc_r
|
|
20000180 g O .bss 00000002 ADC_Trim
|
|
00000ed0 g F .text 0000000a SPI_I2S_GetFlagStatus
|
|
00000440 w .text 00000000 DMA1_Channel4_IRQHandler
|
|
00000592 g F .text 000000b8 ADC_RegularChannelConfig
|
|
00001c7e g F .text 00000026 _sbrk
|
|
00000686 g F .text 00000012 ADC_FIFO_Cmd
|
|
0000064a g F .text 00000008 ADC_GetConversionValue
|
|
0000285a g F .text 0000002c randomDelay
|
|
2000004c g O .data 0000000e defaultValue
|
|
00001b1e g F .text 00000010 InitRingQueue
|
|
0000325c g F .text 00000010 Task_usart
|
|
00001b80 g F .text 00000010 RingQueueLength
|
|
0000281c g F .text 0000003e CheckFunc
|
|
000014de g F .text 0000005a DSG_PROT_Init
|
|
0000137e g F .text 0000005a SPI_ReadWriteByte
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_6
|
|
00002076 g F .text 000000e8 MpptContorl
|
|
00001856 g F .text 00000046 USART3_IRQHandler
|
|
0000090a g F .text 0000000a EXTI_ClearITPendingBit
|
|
00001de8 g F .text 00000044 get_DSG_CURR
|
|
00000440 w .text 00000000 RTC_IRQHandler
|
|
00000572 g F .text 00000008 ADC_GetCalibrationStatus
|
|
2000050c g .bss 00000000 _ebss
|
|
000011ae g F .text 0000003c USART_GetITStatus
|
|
00003ac0 g F .text 00000124 g_Mppt_Para_Init
|
|
00000440 w .text 00000000 DMA1_Channel7_IRQHandler
|
|
20000198 g O .bss 00000001 USART3_Rbuffer
|
|
0000057a g F .text 00000018 ADC_SoftwareStartConvCmd
|
|
00000560 g F .text 00000008 ADC_GetResetCalibrationStatus
|
|
00000440 w .text 00000000 CAN1_RX1_IRQHandler
|
|
0000374e g F .text 0000017e Task_impedanceCalculation
|
|
00001b90 g F .text 00000020 Delay_Init
|
|
000013d8 g F .text 00000068 SPI_Flash_Read
|
|
00001b5a g F .text 00000026 OutRingQueue
|
|
00000e22 g F .text 0000001e RCC_PB2PeriphClockCmd
|
|
00000b4e g F .text 00000190 GPIO_IPD_Unused
|
|
000059ba g F .text 00000086 .hidden __gtsf2
|
|
00000440 w .text 00000000 USBPDWakeUp_IRQHandler
|
|
000009e8 g F .text 00000004 GPIO_SetBits
|
|
00000440 w .text 00000000 TIM4_IRQHandler
|
|
00004624 g F .text 000000b6 .hidden __ledf2
|
|
0000100c g F .text 0000001a TIM_ARRPreloadConfig
|
|
00000148 g F .text 00000028 .hidden __riscv_save_9
|
|
000009ec g F .text 0000000a GPIO_WriteBit
|
|
000087b8 g O .text 00000020 __sf_fake_stderr
|
|
00001592 g F .text 00000048 PWM_GPIO_Configuration
|
|
00000156 g F .text 0000001a .hidden __riscv_save_4
|
|
00000440 w .text 00000000 I2C1_EV_IRQHandler
|
|
0000189c g F .text 00000046 USART4_IRQHandler
|
|
000016cc g F .text 000000b2 GW_485_Init
|
|
0000709c g F .text 000000e4 __ssputs_r
|
|
0000106a g F .text 00000018 TIM_GetITStatus
|
|
00000d4c g F .text 000000d6 RCC_GetClocksFreq
|
|
0000372a g F .text 00000024 start_mpptWork
|
|
00000440 w .text 00000000 DMA1_Channel6_IRQHandler
|
|
0000654a g F .text 0000006e .hidden __clzsi2
|
|
00001af6 g F .text 00000028 TimeSliceOffset_Produce
|
|
00007412 g F .text 00000042 __sfputs_r
|
|
2000018c g O .bss 00000004 TS_Val
|
|
00007c32 g F .text 00000018 memchr
|
|
00003a20 g F .text 00000054 Task_outputAgain
|
|
0000108e g F .text 000000ba USART_Init
|
|
00006f1a g F .text 000000a8 _free_r
|
|
0000195c 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
|
|
00002438 g F .text 00000188 test
|
|
00000440 w .text 00000000 DMA1_Channel1_IRQHandler
|
|
00001440 g F .text 0000002e RUN_LED_Init
|
|
00000000 g .init 00000000 _start
|
|
200002c4 g O .bss 00000010 m_sensorEnableBroadcast
|
|
200002a4 g O .bss 00000010 m_refreshRegister
|
|
000067e2 g F .text 00000084 rand
|
|
00007d50 g F .text 0000000c _lseek
|
|
200001c4 g O .bss 00000001 RegistrationRequestFlag
|
|
200001dd g O .bss 00000001 g_batteryState
|
|
000061a0 g F .text 000000c6 .hidden __floatsisf
|
|
00000e40 g F .text 0000001e RCC_PB1PeriphClockCmd
|
|
00000440 w .text 00000000 EXTI15_10_IRQHandler
|
|
00000ffa g F .text 00000012 TIM_ITConfig
|
|
00000440 w .text 00000000 ADC_IRQHandler
|
|
0000115e g F .text 00000036 USART_ITConfig
|
|
00000882 g F .text 0000006a EXTI_Init
|
|
20000188 g O .bss 00000004 OPA_Trim
|
|
0000595e g F .text 0000005c .hidden __eqsf2
|
|
00000440 w .text 00000000 DMA1_Channel8_IRQHandler
|
|
2000016c g O .data 00000004 g_duty_ratio
|
|
00007b8c g F .text 00000028 _close_r
|
|
20000000 g .dalign 00000000 _data_vma
|
|
000014a0 g F .text 0000003e POW_OUT_CON_Init
|
|
00003c68 g F .text 00000032 hardware_Init
|
|
00000f50 g F .text 0000007c TIM_OC4Init
|
|
00006968 g F .text 000000fc __swsetup_r
|
|
00000440 w .text 00000000 EXTI9_5_IRQHandler
|
|
00006d1c g F .text 000000a0 __sfp
|
|
200002b4 g O .bss 00000010 m_runled
|
|
00000b22 g F .text 0000002c GPIO_EXTILineConfig
|
|
000046da g F .text 000004b8 .hidden __muldf3
|
|
00000148 g F .text 00000028 .hidden __riscv_save_10
|
|
00007ab4 g F .text 0000002c __sread
|
|
200000c4 g O .data 00000038 uart_devices
|
|
00007c90 g F .text 00000002 __malloc_lock
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_4
|
|
00001da4 g F .text 00000044 get_PV_VOLT_OUT
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_8
|
|
00001ca4 g F .text 0000002a Get_ConversionVal
|
|
00006b94 g F .text 00000066 _fflush_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_6
|
|
000008ec g F .text 0000001e EXTI_GetITStatus
|
|
00000440 w .text 00000000 SPI2_IRQHandler
|
|
000087d8 g O .text 00000020 __sf_fake_stdin
|
|
200001ef 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
|
|
00001934 g F .text 00000028 TIM3_Init
|
|
0000678a g F .text 00000058 srand
|
|
00003d7e g F .text 00000018 gw485_tx_disenabla
|
|
00005a40 g F .text 0000008c .hidden __ltsf2
|
|
00007b58 g F .text 00000006 __sclose
|
|
000063e0 g F .text 0000016a .hidden __truncdfsf2
|
|
20000284 g O .bss 00000010 m_outputAgain
|
|
00006fc2 g F .text 000000da _malloc_r
|
|
0000326c g F .text 00000136 Task_startMpptControl
|
|
000006a8 g F .text 000001d4 Get_CalibrationValue
|
|
00000440 w .text 00000000 DMA1_Channel5_IRQHandler
|
|
200002f4 g O .bss 00000010 m_usart
|
|
00000440 w .text 00000000 EXTI4_IRQHandler
|
|
000033a2 g F .text 00000118 Task_softStart
|
|
00001bb0 g F .text 00000036 Delay_Ms
|
|
00000440 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
00005acc g F .text 00000294 .hidden __mulsf3
|
|
0000103c g F .text 00000016 TIM_SetCompare4
|
|
0000065c g F .text 00000018 ADC_BufferCmd
|
|
00000eae g F .text 0000001a SPI_Cmd
|
|
00000296 g F .text 00000106 SystemInit
|
|
00000674 g F .text 00000012 ADC_DutyDelayCmd
|
|
0000666a g F .text 00000040 iprintf
|
|
00002bfa g F .text 000002ca read_and_process_uart_data
|
|
2000019c g O .bss 00000001 USART4_Rbuffer
|
|
00000440 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
|
|
20000274 g O .bss 00000010 m_impedanceCalculation
|
|
00006866 g F .text 00000046 sprintf
|
|
000086b8 g O .text 00000100 .hidden __clz_tab
|
|
00000000 g .init 00000000 _sinit
|
|
00000440 w .text 00000000 CMPWakeUp_IRQHandler
|
|
000059ba g F .text 00000086 .hidden __gesf2
|
|
00007b5e g F .text 0000002e _write_r
|
|
00000440 w .text 00000000 DMA1_Channel3_IRQHandler
|
|
000076dc g F .text 0000010c _printf_common
|
|
20000178 g O .data 00000004 _impure_ptr
|
|
000038cc g F .text 00000154 Task_recvbroadcast
|
|
00001a36 g F .text 00000032 TIM1_UP_IRQHandler
|
|
00006a64 g F .text 00000130 __sflush_r
|
|
00000440 w .text 00000000 LPTIMWakeUp_IRQHandler
|
|
00007180 g F .text 0000026a _svfiprintf_r
|
|
00000440 w .text 00000000 WWDG_IRQHandler
|
|
200002d4 g O .bss 00000010 m_softStart
|
|
00001aa6 g F .text 0000002e TimeSliceOffset_Unregister
|
|
00000440 w .text 00000000 Ecall_U_Mode_Handler
|
|
00003be4 g F .text 00000084 task_Init
|
|
000034ea g F .text 00000240 Task_refreshRegister
|
|
2000005c g O .data 00000030 g_MsgTbl
|
|
00000698 g F .text 00000010 ADC_Sample_ModeConfig
|
|
00001a0c g F .text 0000001c TIM2_IRQHandler
|
|
20005000 g .stack 00000000 _eusrstack
|
|
0000320a g F .text 00000052 Task_wdi
|
|
00000170 g F .text 0000000c .hidden __riscv_save_2
|
|
00000440 w .text 00000000 SW_Handler
|
|
200001e0 g O .bss 00000004 g_impedance
|
|
000004c8 g F .text 00000028 ADC_DeInit
|
|
00000440 w .text 00000000 TIM1_BRK_IRQHandler
|
|
00006e26 g F .text 00000058 __swhatbuf_r
|
|
000004f0 g F .text 00000056 ADC_Init
|
|
00001194 g F .text 00000008 USART_SendData
|
|
00000440 w .text 00000000 OPA_IRQHandler
|
|
00002886 g F .text 0000007a Check_485_bus_busy
|
|
20000294 g O .bss 00000010 m_recvbroadcast
|
|
00001576 g F .text 0000001c EXTI1_IRQHandler
|
|
00000156 g F .text 0000001a .hidden __riscv_save_5
|
|
00001c40 g F .text 0000003e _write
|
|
20000180 g .data 00000000 _edata
|
|
2000050c g .bss 00000000 _end
|
|
00000eda g F .text 00000076 TIM_TimeBaseInit
|
|
00000440 w .text 00000000 RTCAlarm_IRQHandler
|
|
00008854 g .dlalign 00000000 _data_lma
|
|
0000215e g F .text 000002da MpptMode
|
|
00000440 w .text 00000000 USART2_IRQHandler
|
|
00007ae0 g F .text 00000048 __swrite
|
|
0000177e g F .text 000000be BAT_485_Init
|
|
00007454 g F .text 00000288 _vfiprintf_r
|
|
00006dbc g F .text 0000006a _fwalk_reent
|
|
0000039c g F .text 000000a4 SystemCoreClockUpdate
|
|
00006266 g F .text 000000ce .hidden __floatunsisf
|
|
0000146e g F .text 00000032 WDI_INPUT_Init
|
|
00000440 w .text 00000000 I2C2_ER_IRQHandler
|
|
00000440 w .text 00000000 DMA1_Channel2_IRQHandler
|
|
000015da g F .text 0000006c PWM_TIM_Configuration
|
|
000087f8 g O .text 00000020 __sf_fake_stdout
|
|
00006866 g F .text 00000046 siprintf
|
|
20000000 g O .data 00000010 HBPrescTable
|
|
0000017c g F .text 00000024 .hidden __riscv_restore_12
|
|
00007d5c g F .text 0000000c _read
|
|
00000442 w .text 00000000 handle_reset
|
|
00000440 w .text 00000000 CAN1_SCE_IRQHandler
|
|
0000614a g F .text 00000056 .hidden __fixunssfsi
|
|
00000440 w .text 00000000 FLASH_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_0
|
|
20000304 g O .bss 00000010 m_wdi
|
|
00000440 w .text 00000000 USBFSWakeUp_IRQHandler
|
|
200001e4 g O .bss 00000004 g_recvBroadcastDevice
|
|
000019de g F .text 0000002e TIM2_Init
|
|
00000440 w .text 00000000 USART1_IRQHandler
|
|
00006e7e g F .text 00000092 __smakebuf_r
|
|
000077e8 g F .text 000002a2 _printf_i
|
|
20000210 g O .bss 0000002d g_Mppt_Para
|
|
00004576 g F .text 000000ae .hidden __gedf2
|
|
2000020c g O .bss 00000004 __malloc_sbrk_start
|
|
00000440 w .text 00000000 I2C1_ER_IRQHandler
|
|
000012da g F .text 000000a4 SPI_Flash_Init
|
|
00000e7c g F .text 00000032 SPI_Init
|
|
00000cde g F .text 00000006 NVIC_PriorityGroupConfig
|
|
200002e4 g O .bss 00000010 m_startMpptControl
|
|
000011ea g F .text 000000f0 ADC_all_Init
|
|
000034ba g F .text 00000030 stop_mpptWork
|
|
00001646 g F .text 00000086 Set_duty_ratio
|
|
00000440 w .text 00000000 TKeyWakeUp_IRQHandler
|
|
20000208 g O .bss 00000004 __malloc_free_list
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_1
|
|
20000204 g O .bss 00000004 g_gw485_uart4_handle
|
|
00004b92 g F .text 0000073e .hidden __subdf3
|
|
00007454 g F .text 00000288 _vfprintf_r
|
|
000009d4 g F .text 0000000a GPIO_ReadInputDataBit
|
|
00005342 g F .text 0000036a .hidden __addsf3
|
|
00001e70 g F .text 00000056 get_MOSFET_Temper
|
|
00007d2c g F .text 0000000c _close
|
|
00003e10 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: 1a28 addi a0,sp,312
|
|
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: 1576 slli a0,a0,0x3d
|
|
62: 0000 unimp
|
|
64: 1538 addi a4,sp,680
|
|
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: 1a36 slli s4,s4,0x2d
|
|
aa: 0000 unimp
|
|
ac: 0440 addi s0,sp,516
|
|
ae: 0000 unimp
|
|
b0: 0440 addi s0,sp,516
|
|
b2: 0000 unimp
|
|
b4: 1a0c addi a1,sp,304
|
|
b6: 0000 unimp
|
|
b8: 195c addi a5,sp,180
|
|
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: 1856 slli a6,a6,0x35
|
|
e2: 0000 unimp
|
|
e4: 0440 addi s0,sp,516
|
|
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: 189c addi a5,sp,112
|
|
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: 28d000ef jal ra,cde <NVIC_PriorityGroupConfig>
|
|
256: 2299 jal 39c <SystemCoreClockUpdate>
|
|
258: 139010ef jal ra,1b90 <Delay_Init>
|
|
25c: 6571 lui a0,0x1c
|
|
25e: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x139ac>
|
|
262: 185010ef jal ra,1be6 <USART_Printf_Init>
|
|
266: 200007b7 lui a5,0x20000
|
|
26a: 1607a583 lw a1,352(a5) # 20000160 <SystemCoreClock>
|
|
26e: 00008537 lui a0,0x8
|
|
272: d6850513 addi a0,a0,-664 # 7d68 <_read+0xc>
|
|
276: 3f4060ef jal ra,666a <iprintf>
|
|
27a: 2509 jal 87c <DBGMCU_GetCHIPID>
|
|
27c: 85aa mv a1,a0
|
|
27e: 00008537 lui a0,0x8
|
|
282: d7850513 addi a0,a0,-648 # 7d78 <_read+0x1c>
|
|
286: 3e4060ef jal ra,666a <iprintf>
|
|
28a: 1df030ef jal ra,3c68 <hardware_Init>
|
|
28e: 157030ef jal ra,3be4 <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: 073000ef jal ra,b4e <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: 16070713 addi a4,a4,352 # 20000160 <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+0xeb9ec>
|
|
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+0x7989ac>
|
|
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+0x7989ac>
|
|
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+0x3c80ac>
|
|
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: 51e18193 addi gp,gp,1310 # 20000960 <__global_pointer$>
|
|
44a: 20005117 auipc sp,0x20005
|
|
44e: bb610113 addi sp,sp,-1098 # 20005000 <_eusrstack>
|
|
452: 00008517 auipc a0,0x8
|
|
456: 40250513 addi a0,a0,1026 # 8854 <_data_lma>
|
|
45a: 20000597 auipc a1,0x20000
|
|
45e: ba658593 addi a1,a1,-1114 # 20000000 <_data_vma>
|
|
462: 82018613 addi a2,gp,-2016 # 20000180 <_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 # 20000180 <_edata>
|
|
47e: bac18593 addi a1,gp,-1108 # 2000050c <_ebss>
|
|
482: 00b57763 bgeu a0,a1,490 <handle_reset+0x4e>
|
|
486: 00052023 sw zero,0(a0)
|
|
48a: 0511 addi a0,a0,4
|
|
48c: feb56de3 bltu a0,a1,486 <handle_reset+0x44>
|
|
490: 42fd li t0,31
|
|
492: bc029073 csrw 0xbc0,t0
|
|
496: 428d li t0,3
|
|
498: 80429073 csrw 0x804,t0
|
|
49c: 08800293 li t0,136
|
|
4a0: 30029073 csrw mstatus,t0
|
|
4a4: 00000297 auipc t0,0x0
|
|
4a8: b6028293 addi t0,t0,-1184 # 4 <_einit>
|
|
4ac: 0032e293 ori t0,t0,3
|
|
4b0: 30529073 csrw mtvec,t0
|
|
4b4: de3ff0ef jal ra,296 <SystemInit>
|
|
4b8: 00000297 auipc t0,0x0
|
|
4bc: d9428293 addi t0,t0,-620 # 24c <main>
|
|
4c0: 34129073 csrw mepc,t0
|
|
4c4: 30200073 mret
|
|
|
|
000004c8 <ADC_DeInit>:
|
|
4c8: 400127b7 lui a5,0x40012
|
|
4cc: 40078793 addi a5,a5,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
4d0: 00f51f63 bne a0,a5,4ee <ADC_DeInit+0x26>
|
|
4d4: c9dff2ef jal t0,170 <__riscv_save_0>
|
|
4d8: 4585 li a1,1
|
|
4da: 20000513 li a0,512
|
|
4de: 181000ef jal ra,e5e <RCC_PB2PeriphResetCmd>
|
|
4e2: 4581 li a1,0
|
|
4e4: 20000513 li a0,512
|
|
4e8: 177000ef jal ra,e5e <RCC_PB2PeriphResetCmd>
|
|
4ec: b165 j 194 <__riscv_restore_0>
|
|
4ee: 8082 ret
|
|
|
|
000004f0 <ADC_Init>:
|
|
4f0: 415c lw a5,4(a0)
|
|
4f2: e0f10737 lui a4,0xe0f10
|
|
4f6: eff70713 addi a4,a4,-257 # e0f0feff <_eusrstack+0xc0f0aeff>
|
|
4fa: 4d94 lw a3,24(a1)
|
|
4fc: 8f7d and a4,a4,a5
|
|
4fe: 419c lw a5,0(a1)
|
|
500: 8fd5 or a5,a5,a3
|
|
502: 4dd4 lw a3,28(a1)
|
|
504: 8fd5 or a5,a5,a3
|
|
506: 41d4 lw a3,4(a1)
|
|
508: 06a2 slli a3,a3,0x8
|
|
50a: 8fd5 or a5,a5,a3
|
|
50c: 8fd9 or a5,a5,a4
|
|
50e: c15c sw a5,4(a0)
|
|
510: 451c lw a5,8(a0)
|
|
512: fff1f737 lui a4,0xfff1f
|
|
516: 7fd70713 addi a4,a4,2045 # fff1f7fd <_eusrstack+0xdff1a7fd>
|
|
51a: 45d4 lw a3,12(a1)
|
|
51c: 8f7d and a4,a4,a5
|
|
51e: 499c lw a5,16(a1)
|
|
520: 8fd5 or a5,a5,a3
|
|
522: 4594 lw a3,8(a1)
|
|
524: 0686 slli a3,a3,0x1
|
|
526: 8fd5 or a5,a5,a3
|
|
528: 8fd9 or a5,a5,a4
|
|
52a: c51c sw a5,8(a0)
|
|
52c: 555c lw a5,44(a0)
|
|
52e: ff100737 lui a4,0xff100
|
|
532: 177d addi a4,a4,-1
|
|
534: 8f7d and a4,a4,a5
|
|
536: 29dc lbu a5,20(a1)
|
|
538: 17fd addi a5,a5,-1
|
|
53a: 0ff7f793 andi a5,a5,255
|
|
53e: 07d2 slli a5,a5,0x14
|
|
540: 8fd9 or a5,a5,a4
|
|
542: d55c sw a5,44(a0)
|
|
544: 8082 ret
|
|
|
|
00000546 <ADC_Cmd>:
|
|
546: 451c lw a5,8(a0)
|
|
548: c589 beqz a1,552 <ADC_Cmd+0xc>
|
|
54a: 0017e793 ori a5,a5,1
|
|
54e: c51c sw a5,8(a0)
|
|
550: 8082 ret
|
|
552: 9bf9 andi a5,a5,-2
|
|
554: bfed j 54e <ADC_Cmd+0x8>
|
|
|
|
00000556 <ADC_ResetCalibration>:
|
|
556: 451c lw a5,8(a0)
|
|
558: 0087e793 ori a5,a5,8
|
|
55c: c51c sw a5,8(a0)
|
|
55e: 8082 ret
|
|
|
|
00000560 <ADC_GetResetCalibrationStatus>:
|
|
560: 4508 lw a0,8(a0)
|
|
562: 810d srli a0,a0,0x3
|
|
564: 8905 andi a0,a0,1
|
|
566: 8082 ret
|
|
|
|
00000568 <ADC_StartCalibration>:
|
|
568: 451c lw a5,8(a0)
|
|
56a: 0047e793 ori a5,a5,4
|
|
56e: c51c sw a5,8(a0)
|
|
570: 8082 ret
|
|
|
|
00000572 <ADC_GetCalibrationStatus>:
|
|
572: 4508 lw a0,8(a0)
|
|
574: 8109 srli a0,a0,0x2
|
|
576: 8905 andi a0,a0,1
|
|
578: 8082 ret
|
|
|
|
0000057a <ADC_SoftwareStartConvCmd>:
|
|
57a: 451c lw a5,8(a0)
|
|
57c: c591 beqz a1,588 <ADC_SoftwareStartConvCmd+0xe>
|
|
57e: 00500737 lui a4,0x500
|
|
582: 8fd9 or a5,a5,a4
|
|
584: c51c sw a5,8(a0)
|
|
586: 8082 ret
|
|
588: ffb00737 lui a4,0xffb00
|
|
58c: 177d addi a4,a4,-1
|
|
58e: 8ff9 and a5,a5,a4
|
|
590: bfd5 j 584 <ADC_SoftwareStartConvCmd+0xa>
|
|
|
|
00000592 <ADC_RegularChannelConfig>:
|
|
592: 47a5 li a5,9
|
|
594: 04b7f763 bgeu a5,a1,5e2 <ADC_RegularChannelConfig+0x50>
|
|
598: 478d li a5,3
|
|
59a: ff658713 addi a4,a1,-10
|
|
59e: 02f70733 mul a4,a4,a5
|
|
5a2: 00c52803 lw a6,12(a0)
|
|
5a6: 479d li a5,7
|
|
5a8: 00e797b3 sll a5,a5,a4
|
|
5ac: fff7c793 not a5,a5
|
|
5b0: 0107f7b3 and a5,a5,a6
|
|
5b4: 00e696b3 sll a3,a3,a4
|
|
5b8: 8edd or a3,a3,a5
|
|
5ba: c554 sw a3,12(a0)
|
|
5bc: 4799 li a5,6
|
|
5be: 04c7e363 bltu a5,a2,604 <ADC_RegularChannelConfig+0x72>
|
|
5c2: 4795 li a5,5
|
|
5c4: 167d addi a2,a2,-1
|
|
5c6: 02f60633 mul a2,a2,a5
|
|
5ca: 5958 lw a4,52(a0)
|
|
5cc: 47fd li a5,31
|
|
5ce: 00c797b3 sll a5,a5,a2
|
|
5d2: fff7c793 not a5,a5
|
|
5d6: 8ff9 and a5,a5,a4
|
|
5d8: 00c59633 sll a2,a1,a2
|
|
5dc: 8e5d or a2,a2,a5
|
|
5de: d950 sw a2,52(a0)
|
|
5e0: 8082 ret
|
|
5e2: 470d li a4,3
|
|
5e4: 02e58733 mul a4,a1,a4
|
|
5e8: 01052803 lw a6,16(a0)
|
|
5ec: 479d li a5,7
|
|
5ee: 00e797b3 sll a5,a5,a4
|
|
5f2: fff7c793 not a5,a5
|
|
5f6: 0107f7b3 and a5,a5,a6
|
|
5fa: 00e696b3 sll a3,a3,a4
|
|
5fe: 8edd or a3,a3,a5
|
|
600: c914 sw a3,16(a0)
|
|
602: bf6d j 5bc <ADC_RegularChannelConfig+0x2a>
|
|
604: 47b1 li a5,12
|
|
606: 02c7e263 bltu a5,a2,62a <ADC_RegularChannelConfig+0x98>
|
|
60a: 4795 li a5,5
|
|
60c: 1665 addi a2,a2,-7
|
|
60e: 02f60633 mul a2,a2,a5
|
|
612: 5918 lw a4,48(a0)
|
|
614: 47fd li a5,31
|
|
616: 00c797b3 sll a5,a5,a2
|
|
61a: fff7c793 not a5,a5
|
|
61e: 8ff9 and a5,a5,a4
|
|
620: 00c59633 sll a2,a1,a2
|
|
624: 8e5d or a2,a2,a5
|
|
626: d910 sw a2,48(a0)
|
|
628: 8082 ret
|
|
62a: 4795 li a5,5
|
|
62c: 164d addi a2,a2,-13
|
|
62e: 02f60633 mul a2,a2,a5
|
|
632: 5558 lw a4,44(a0)
|
|
634: 47fd li a5,31
|
|
636: 00c797b3 sll a5,a5,a2
|
|
63a: fff7c793 not a5,a5
|
|
63e: 8ff9 and a5,a5,a4
|
|
640: 00c595b3 sll a1,a1,a2
|
|
644: 8ddd or a1,a1,a5
|
|
646: d54c sw a1,44(a0)
|
|
648: 8082 ret
|
|
|
|
0000064a <ADC_GetConversionValue>:
|
|
64a: 4568 lw a0,76(a0)
|
|
64c: 0542 slli a0,a0,0x10
|
|
64e: 8141 srli a0,a0,0x10
|
|
650: 8082 ret
|
|
|
|
00000652 <ADC_GetFlagStatus>:
|
|
652: 4108 lw a0,0(a0)
|
|
654: 8d6d and a0,a0,a1
|
|
656: 00a03533 snez a0,a0
|
|
65a: 8082 ret
|
|
|
|
0000065c <ADC_BufferCmd>:
|
|
65c: 415c lw a5,4(a0)
|
|
65e: c591 beqz a1,66a <ADC_BufferCmd+0xe>
|
|
660: 04000737 lui a4,0x4000
|
|
664: 8fd9 or a5,a5,a4
|
|
666: c15c sw a5,4(a0)
|
|
668: 8082 ret
|
|
66a: fc000737 lui a4,0xfc000
|
|
66e: 177d addi a4,a4,-1
|
|
670: 8ff9 and a5,a5,a4
|
|
672: bfd5 j 666 <ADC_BufferCmd+0xa>
|
|
|
|
00000674 <ADC_DutyDelayCmd>:
|
|
674: 493c lw a5,80(a0)
|
|
676: c589 beqz a1,680 <ADC_DutyDelayCmd+0xc>
|
|
678: 0807e793 ori a5,a5,128
|
|
67c: c93c sw a5,80(a0)
|
|
67e: 8082 ret
|
|
680: f7f7f793 andi a5,a5,-129
|
|
684: bfe5 j 67c <ADC_DutyDelayCmd+0x8>
|
|
|
|
00000686 <ADC_FIFO_Cmd>:
|
|
686: 493c lw a5,80(a0)
|
|
688: c589 beqz a1,692 <ADC_FIFO_Cmd+0xc>
|
|
68a: 0407e793 ori a5,a5,64
|
|
68e: c93c sw a5,80(a0)
|
|
690: 8082 ret
|
|
692: fbf7f793 andi a5,a5,-65
|
|
696: bfe5 j 68e <ADC_FIFO_Cmd+0x8>
|
|
|
|
00000698 <ADC_Sample_ModeConfig>:
|
|
698: 493c lw a5,80(a0)
|
|
69a: fdf7f793 andi a5,a5,-33
|
|
69e: c93c sw a5,80(a0)
|
|
6a0: 493c lw a5,80(a0)
|
|
6a2: 8ddd or a1,a1,a5
|
|
6a4: c92c sw a1,80(a0)
|
|
6a6: 8082 ret
|
|
|
|
000006a8 <Get_CalibrationValue>:
|
|
6a8: ac9ff2ef jal t0,170 <__riscv_save_0>
|
|
6ac: 456706b7 lui a3,0x45670
|
|
6b0: 400227b7 lui a5,0x40022
|
|
6b4: 12368693 addi a3,a3,291 # 45670123 <_eusrstack+0x2566b123>
|
|
6b8: cdef9737 lui a4,0xcdef9
|
|
6bc: c3d4 sw a3,4(a5)
|
|
6be: 9ab70713 addi a4,a4,-1621 # cdef89ab <_eusrstack+0xadef39ab>
|
|
6c2: c3d8 sw a4,4(a5)
|
|
6c4: d3d4 sw a3,36(a5)
|
|
6c6: 1101 addi sp,sp,-32
|
|
6c8: c798 sw a4,8(a5)
|
|
6ca: 5bd4 lw a3,52(a5)
|
|
6cc: 03478713 addi a4,a5,52 # 40022034 <_eusrstack+0x2001d034>
|
|
6d0: 00269613 slli a2,a3,0x2
|
|
6d4: fe064be3 bltz a2,6ca <Get_CalibrationValue+0x22>
|
|
6d8: 57d4 lw a3,44(a5)
|
|
6da: 40012537 lui a0,0x40012
|
|
6de: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
6e2: 2006e693 ori a3,a3,512
|
|
6e6: d7d4 sw a3,44(a5)
|
|
6e8: 5bdc lw a5,52(a5)
|
|
6ea: 200006b7 lui a3,0x20000
|
|
6ee: 8fd5 or a5,a5,a3
|
|
6f0: c31c sw a5,0(a4)
|
|
6f2: 431c lw a5,0(a4)
|
|
6f4: 451c lw a5,8(a0)
|
|
6f6: 000e0737 lui a4,0xe0
|
|
6fa: 8fd9 or a5,a5,a4
|
|
6fc: c51c sw a5,8(a0)
|
|
6fe: 451c lw a5,8(a0)
|
|
700: 0017e793 ori a5,a5,1
|
|
704: c51c sw a5,8(a0)
|
|
706: 493c lw a5,80(a0)
|
|
708: 0407e793 ori a5,a5,64
|
|
70c: c93c sw a5,80(a0)
|
|
70e: 451c lw a5,8(a0)
|
|
710: 0087e793 ori a5,a5,8
|
|
714: c51c sw a5,8(a0)
|
|
716: 842a mv s0,a0
|
|
718: 8522 mv a0,s0
|
|
71a: 3599 jal 560 <ADC_GetResetCalibrationStatus>
|
|
71c: fd75 bnez a0,718 <Get_CalibrationValue+0x70>
|
|
71e: 40012537 lui a0,0x40012
|
|
722: 40852783 lw a5,1032(a0) # 40012408 <_eusrstack+0x2000d408>
|
|
726: 40050513 addi a0,a0,1024
|
|
72a: 0047e793 ori a5,a5,4
|
|
72e: c51c sw a5,8(a0)
|
|
730: 842a mv s0,a0
|
|
732: 8522 mv a0,s0
|
|
734: 3d3d jal 572 <ADC_GetCalibrationStatus>
|
|
736: fd75 bnez a0,732 <Get_CalibrationValue+0x8a>
|
|
738: 40012537 lui a0,0x40012
|
|
73c: 4605 li a2,1
|
|
73e: 45c9 li a1,18
|
|
740: 4681 li a3,0
|
|
742: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
746: 35b1 jal 592 <ADC_RegularChannelConfig>
|
|
748: 4625 li a2,9
|
|
74a: 00010423 sb zero,8(sp)
|
|
74e: 40012737 lui a4,0x40012
|
|
752: 005005b7 lui a1,0x500
|
|
756: 841c lbu a5,8(sp)
|
|
758: 04f67f63 bgeu a2,a5,7b6 <Get_CalibrationValue+0x10e>
|
|
75c: 00010423 sb zero,8(sp)
|
|
760: 46a5 li a3,9
|
|
762: 4621 li a2,8
|
|
764: 841c lbu a5,8(sp)
|
|
766: 06f6ff63 bgeu a3,a5,7e4 <Get_CalibrationValue+0x13c>
|
|
76a: 00011523 sh zero,10(sp)
|
|
76e: 00010423 sb zero,8(sp)
|
|
772: 4695 li a3,5
|
|
774: 841c lbu a5,8(sp)
|
|
776: 0ef6f163 bgeu a3,a5,858 <__stack_size+0x58>
|
|
77a: 8538 lhu a4,10(sp)
|
|
77c: 853c lhu a5,10(sp)
|
|
77e: 4699 li a3,6
|
|
780: 460d li a2,3
|
|
782: 02d7f7b3 remu a5,a5,a3
|
|
786: 6505 lui a0,0x1
|
|
788: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
|
|
78c: 02d75733 divu a4,a4,a3
|
|
790: 02c7d7b3 divu a5,a5,a2
|
|
794: 97ba add a5,a5,a4
|
|
796: 07c2 slli a5,a5,0x10
|
|
798: 83c1 srli a5,a5,0x10
|
|
79a: 857c sh a5,10(sp)
|
|
79c: 400127b7 lui a5,0x40012
|
|
7a0: 4087a703 lw a4,1032(a5) # 40012408 <_eusrstack+0x2000d408>
|
|
7a4: 9b79 andi a4,a4,-2
|
|
7a6: 40e7a423 sw a4,1032(a5)
|
|
7aa: 853c lhu a5,10(sp)
|
|
7ac: 6105 addi sp,sp,32
|
|
7ae: 8d1d sub a0,a0,a5
|
|
7b0: 0542 slli a0,a0,0x10
|
|
7b2: 8541 srai a0,a0,0x10
|
|
7b4: b2c5 j 194 <__riscv_restore_0>
|
|
7b6: 40872783 lw a5,1032(a4) # 40012408 <_eusrstack+0x2000d408>
|
|
7ba: 8fcd or a5,a5,a1
|
|
7bc: 40f72423 sw a5,1032(a4)
|
|
7c0: 40072783 lw a5,1024(a4)
|
|
7c4: 8b89 andi a5,a5,2
|
|
7c6: dfed beqz a5,7c0 <Get_CalibrationValue+0x118>
|
|
7c8: 841c lbu a5,8(sp)
|
|
7ca: 44c72683 lw a3,1100(a4)
|
|
7ce: 1008 addi a0,sp,32
|
|
7d0: 0786 slli a5,a5,0x1
|
|
7d2: 97aa add a5,a5,a0
|
|
7d4: fed79623 sh a3,-20(a5)
|
|
7d8: 841c lbu a5,8(sp)
|
|
7da: 0785 addi a5,a5,1
|
|
7dc: 0ff7f793 andi a5,a5,255
|
|
7e0: 845c sb a5,8(sp)
|
|
7e2: bf95 j 756 <Get_CalibrationValue+0xae>
|
|
7e4: 000104a3 sb zero,9(sp)
|
|
7e8: 849c lbu a5,9(sp)
|
|
7ea: 00f67863 bgeu a2,a5,7fa <Get_CalibrationValue+0x152>
|
|
7ee: 841c lbu a5,8(sp)
|
|
7f0: 0785 addi a5,a5,1
|
|
7f2: 0ff7f793 andi a5,a5,255
|
|
7f6: 845c sb a5,8(sp)
|
|
7f8: b7b5 j 764 <Get_CalibrationValue+0xbc>
|
|
7fa: 8498 lbu a4,9(sp)
|
|
7fc: 849c lbu a5,9(sp)
|
|
7fe: 100c addi a1,sp,32
|
|
800: 0706 slli a4,a4,0x1
|
|
802: 0785 addi a5,a5,1
|
|
804: 0786 slli a5,a5,0x1
|
|
806: 972e add a4,a4,a1
|
|
808: 97ae add a5,a5,a1
|
|
80a: fec75703 lhu a4,-20(a4)
|
|
80e: fec7d783 lhu a5,-20(a5)
|
|
812: 02e7fd63 bgeu a5,a4,84c <__stack_size+0x4c>
|
|
816: 849c lbu a5,9(sp)
|
|
818: 0786 slli a5,a5,0x1
|
|
81a: 97ae add a5,a5,a1
|
|
81c: fec7d783 lhu a5,-20(a5)
|
|
820: 857c sh a5,10(sp)
|
|
822: 849c lbu a5,9(sp)
|
|
824: 8498 lbu a4,9(sp)
|
|
826: 0785 addi a5,a5,1
|
|
828: 0786 slli a5,a5,0x1
|
|
82a: 97ae add a5,a5,a1
|
|
82c: fec7d583 lhu a1,-20(a5)
|
|
830: 00171793 slli a5,a4,0x1
|
|
834: 1018 addi a4,sp,32
|
|
836: 97ba add a5,a5,a4
|
|
838: feb79623 sh a1,-20(a5)
|
|
83c: 849c lbu a5,9(sp)
|
|
83e: 8538 lhu a4,10(sp)
|
|
840: 100c addi a1,sp,32
|
|
842: 0785 addi a5,a5,1
|
|
844: 0786 slli a5,a5,0x1
|
|
846: 97ae add a5,a5,a1
|
|
848: fee79623 sh a4,-20(a5)
|
|
84c: 849c lbu a5,9(sp)
|
|
84e: 0785 addi a5,a5,1
|
|
850: 0ff7f793 andi a5,a5,255
|
|
854: 84dc sb a5,9(sp)
|
|
856: bf49 j 7e8 <Get_CalibrationValue+0x140>
|
|
858: 841c lbu a5,8(sp)
|
|
85a: 1010 addi a2,sp,32
|
|
85c: 8538 lhu a4,10(sp)
|
|
85e: 0789 addi a5,a5,2
|
|
860: 0786 slli a5,a5,0x1
|
|
862: 97b2 add a5,a5,a2
|
|
864: fec7d783 lhu a5,-20(a5)
|
|
868: 97ba add a5,a5,a4
|
|
86a: 07c2 slli a5,a5,0x10
|
|
86c: 83c1 srli a5,a5,0x10
|
|
86e: 857c sh a5,10(sp)
|
|
870: 841c lbu a5,8(sp)
|
|
872: 0785 addi a5,a5,1
|
|
874: 0ff7f793 andi a5,a5,255
|
|
878: 845c sb a5,8(sp)
|
|
87a: bded j 774 <Get_CalibrationValue+0xcc>
|
|
|
|
0000087c <DBGMCU_GetCHIPID>:
|
|
87c: 8241a503 lw a0,-2012(gp) # 20000184 <CHIPID>
|
|
880: 8082 ret
|
|
|
|
00000882 <EXTI_Init>:
|
|
882: 4158 lw a4,4(a0)
|
|
884: 00052803 lw a6,0(a0)
|
|
888: 454c lw a1,12(a0)
|
|
88a: 40010637 lui a2,0x40010
|
|
88e: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x2000b400>
|
|
892: 973e add a4,a4,a5
|
|
894: fff84693 not a3,a6
|
|
898: c5b1 beqz a1,8e4 <EXTI_Init+0x62>
|
|
89a: 40062583 lw a1,1024(a2)
|
|
89e: 8df5 and a1,a1,a3
|
|
8a0: 40b62023 sw a1,1024(a2)
|
|
8a4: 43d0 lw a2,4(a5)
|
|
8a6: 8ef1 and a3,a3,a2
|
|
8a8: c3d4 sw a3,4(a5)
|
|
8aa: 4314 lw a3,0(a4)
|
|
8ac: 0106e6b3 or a3,a3,a6
|
|
8b0: c314 sw a3,0(a4)
|
|
8b2: 4118 lw a4,0(a0)
|
|
8b4: 4790 lw a2,8(a5)
|
|
8b6: fff74693 not a3,a4
|
|
8ba: 8e75 and a2,a2,a3
|
|
8bc: c790 sw a2,8(a5)
|
|
8be: 47d0 lw a2,12(a5)
|
|
8c0: 8ef1 and a3,a3,a2
|
|
8c2: c7d4 sw a3,12(a5)
|
|
8c4: 4514 lw a3,8(a0)
|
|
8c6: 4641 li a2,16
|
|
8c8: 00c69963 bne a3,a2,8da <EXTI_Init+0x58>
|
|
8cc: 4794 lw a3,8(a5)
|
|
8ce: 8ed9 or a3,a3,a4
|
|
8d0: c794 sw a3,8(a5)
|
|
8d2: 47d4 lw a3,12(a5)
|
|
8d4: 8f55 or a4,a4,a3
|
|
8d6: c7d8 sw a4,12(a5)
|
|
8d8: 8082 ret
|
|
8da: 97b6 add a5,a5,a3
|
|
8dc: 4394 lw a3,0(a5)
|
|
8de: 8f55 or a4,a4,a3
|
|
8e0: c398 sw a4,0(a5)
|
|
8e2: 8082 ret
|
|
8e4: 431c lw a5,0(a4)
|
|
8e6: 8ff5 and a5,a5,a3
|
|
8e8: c31c sw a5,0(a4)
|
|
8ea: 8082 ret
|
|
|
|
000008ec <EXTI_GetITStatus>:
|
|
8ec: 400107b7 lui a5,0x40010
|
|
8f0: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x2000b400>
|
|
8f4: 4007a783 lw a5,1024(a5)
|
|
8f8: 4b58 lw a4,20(a4)
|
|
8fa: 8f69 and a4,a4,a0
|
|
8fc: c709 beqz a4,906 <EXTI_GetITStatus+0x1a>
|
|
8fe: 8d7d and a0,a0,a5
|
|
900: 00a03533 snez a0,a0
|
|
904: 8082 ret
|
|
906: 4501 li a0,0
|
|
908: 8082 ret
|
|
|
|
0000090a <EXTI_ClearITPendingBit>:
|
|
90a: 400107b7 lui a5,0x40010
|
|
90e: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x2000b414>
|
|
912: 8082 ret
|
|
|
|
00000914 <GPIO_Init>:
|
|
914: 459c lw a5,8(a1)
|
|
916: 0107f713 andi a4,a5,16
|
|
91a: 00f7f813 andi a6,a5,15
|
|
91e: c701 beqz a4,926 <GPIO_Init+0x12>
|
|
920: 41d8 lw a4,4(a1)
|
|
922: 00e86833 or a6,a6,a4
|
|
926: 218e lhu a1,0(a1)
|
|
928: 0ff5f713 andi a4,a1,255
|
|
92c: c339 beqz a4,972 <GPIO_Init+0x5e>
|
|
92e: 4118 lw a4,0(a0)
|
|
930: 4681 li a3,0
|
|
932: 4e85 li t4,1
|
|
934: 4f3d li t5,15
|
|
936: 02800f93 li t6,40
|
|
93a: 04800293 li t0,72
|
|
93e: 4e21 li t3,8
|
|
940: 00de9633 sll a2,t4,a3
|
|
944: 00c5f8b3 and a7,a1,a2
|
|
948: 03161163 bne a2,a7,96a <GPIO_Init+0x56>
|
|
94c: 00269893 slli a7,a3,0x2
|
|
950: 011f1333 sll t1,t5,a7
|
|
954: fff34313 not t1,t1
|
|
958: 00e37733 and a4,t1,a4
|
|
95c: 011818b3 sll a7,a6,a7
|
|
960: 00e8e733 or a4,a7,a4
|
|
964: 05f79f63 bne a5,t6,9c2 <GPIO_Init+0xae>
|
|
968: c950 sw a2,20(a0)
|
|
96a: 0685 addi a3,a3,1
|
|
96c: fdc69ae3 bne a3,t3,940 <GPIO_Init+0x2c>
|
|
970: c118 sw a4,0(a0)
|
|
972: 0ff00713 li a4,255
|
|
976: 04b77563 bgeu a4,a1,9c0 <GPIO_Init+0xac>
|
|
97a: 4154 lw a3,4(a0)
|
|
97c: 4621 li a2,8
|
|
97e: 4e85 li t4,1
|
|
980: 4f3d li t5,15
|
|
982: 02800f93 li t6,40
|
|
986: 04800293 li t0,72
|
|
98a: 4e41 li t3,16
|
|
98c: 00ce98b3 sll a7,t4,a2
|
|
990: 0115f733 and a4,a1,a7
|
|
994: 02e89263 bne a7,a4,9b8 <GPIO_Init+0xa4>
|
|
998: 00261713 slli a4,a2,0x2
|
|
99c: 1701 addi a4,a4,-32
|
|
99e: 00ef1333 sll t1,t5,a4
|
|
9a2: fff34313 not t1,t1
|
|
9a6: 00d376b3 and a3,t1,a3
|
|
9aa: 00e81733 sll a4,a6,a4
|
|
9ae: 8ed9 or a3,a3,a4
|
|
9b0: 01f79d63 bne a5,t6,9ca <GPIO_Init+0xb6>
|
|
9b4: 01152a23 sw a7,20(a0)
|
|
9b8: 0605 addi a2,a2,1
|
|
9ba: fdc619e3 bne a2,t3,98c <GPIO_Init+0x78>
|
|
9be: c154 sw a3,4(a0)
|
|
9c0: 8082 ret
|
|
9c2: fa5794e3 bne a5,t0,96a <GPIO_Init+0x56>
|
|
9c6: c910 sw a2,16(a0)
|
|
9c8: b74d j 96a <GPIO_Init+0x56>
|
|
9ca: fe5797e3 bne a5,t0,9b8 <GPIO_Init+0xa4>
|
|
9ce: 01152823 sw a7,16(a0)
|
|
9d2: b7dd j 9b8 <GPIO_Init+0xa4>
|
|
|
|
000009d4 <GPIO_ReadInputDataBit>:
|
|
9d4: 4508 lw a0,8(a0)
|
|
9d6: 8d6d and a0,a0,a1
|
|
9d8: 00a03533 snez a0,a0
|
|
9dc: 8082 ret
|
|
|
|
000009de <GPIO_ReadOutputDataBit>:
|
|
9de: 4548 lw a0,12(a0)
|
|
9e0: 8d6d and a0,a0,a1
|
|
9e2: 00a03533 snez a0,a0
|
|
9e6: 8082 ret
|
|
|
|
000009e8 <GPIO_SetBits>:
|
|
9e8: c90c sw a1,16(a0)
|
|
9ea: 8082 ret
|
|
|
|
000009ec <GPIO_WriteBit>:
|
|
9ec: c219 beqz a2,9f2 <GPIO_WriteBit+0x6>
|
|
9ee: c90c sw a1,16(a0)
|
|
9f0: 8082 ret
|
|
9f2: c94c sw a1,20(a0)
|
|
9f4: 8082 ret
|
|
|
|
000009f6 <GPIO_PinRemapConfig>:
|
|
9f6: c0000737 lui a4,0xc0000
|
|
9fa: 00e577b3 and a5,a0,a4
|
|
9fe: 08e79563 bne a5,a4,a88 <GPIO_PinRemapConfig+0x92>
|
|
a02: 40010737 lui a4,0x40010
|
|
a06: 435c lw a5,4(a4)
|
|
a08: 01b55693 srli a3,a0,0x1b
|
|
a0c: 4f58 lw a4,28(a4)
|
|
a0e: 8a9d andi a3,a3,7
|
|
a10: e69d bnez a3,a3e <GPIO_PinRemapConfig+0x48>
|
|
a12: 9bf9 andi a5,a5,-2
|
|
a14: ff0006b7 lui a3,0xff000
|
|
a18: 16fd addi a3,a3,-1
|
|
a1a: 8f75 and a4,a4,a3
|
|
a1c: c989 beqz a1,a2e <GPIO_PinRemapConfig+0x38>
|
|
a1e: 01051693 slli a3,a0,0x10
|
|
a22: 82c1 srli a3,a3,0x10
|
|
a24: 8fd5 or a5,a5,a3
|
|
a26: 01ff06b7 lui a3,0x1ff0
|
|
a2a: 8d75 and a0,a0,a3
|
|
a2c: 8f49 or a4,a4,a0
|
|
a2e: 070006b7 lui a3,0x7000
|
|
a32: 8fd5 or a5,a5,a3
|
|
a34: 400106b7 lui a3,0x40010
|
|
a38: c2dc sw a5,4(a3)
|
|
a3a: ced8 sw a4,28(a3)
|
|
a3c: 8082 ret
|
|
a3e: 4605 li a2,1
|
|
a40: 00c69663 bne a3,a2,a4c <GPIO_PinRemapConfig+0x56>
|
|
a44: 9bf5 andi a5,a5,-3
|
|
a46: ff8006b7 lui a3,0xff800
|
|
a4a: b7f9 j a18 <GPIO_PinRemapConfig+0x22>
|
|
a4c: 4609 li a2,2
|
|
a4e: 00c69663 bne a3,a2,a5a <GPIO_PinRemapConfig+0x64>
|
|
a52: 9bed andi a5,a5,-5
|
|
a54: ffe806b7 lui a3,0xffe80
|
|
a58: b7c1 j a18 <GPIO_PinRemapConfig+0x22>
|
|
a5a: 460d li a2,3
|
|
a5c: 00c69663 bne a3,a2,a68 <GPIO_PinRemapConfig+0x72>
|
|
a60: 9bdd andi a5,a5,-9
|
|
a62: fffc06b7 lui a3,0xfffc0
|
|
a66: bf4d j a18 <GPIO_PinRemapConfig+0x22>
|
|
a68: 4611 li a2,4
|
|
a6a: 00c69763 bne a3,a2,a78 <GPIO_PinRemapConfig+0x82>
|
|
a6e: f3f7f793 andi a5,a5,-193
|
|
a72: ffc006b7 lui a3,0xffc00
|
|
a76: b74d j a18 <GPIO_PinRemapConfig+0x22>
|
|
a78: 4615 li a2,5
|
|
a7a: fac691e3 bne a3,a2,a1c <GPIO_PinRemapConfig+0x26>
|
|
a7e: cff7f793 andi a5,a5,-769
|
|
a82: ffe006b7 lui a3,0xffe00
|
|
a86: bf49 j a18 <GPIO_PinRemapConfig+0x22>
|
|
a88: 40000737 lui a4,0x40000
|
|
a8c: 02e79163 bne a5,a4,aae <GPIO_PinRemapConfig+0xb8>
|
|
a90: 400107b7 lui a5,0x40010
|
|
a94: 4fd8 lw a4,28(a5)
|
|
a96: 0542 slli a0,a0,0x10
|
|
a98: 00a767b3 or a5,a4,a0
|
|
a9c: e589 bnez a1,aa6 <GPIO_PinRemapConfig+0xb0>
|
|
a9e: fff54513 not a0,a0
|
|
aa2: 00e577b3 and a5,a0,a4
|
|
aa6: 40010737 lui a4,0x40010
|
|
aaa: cf5c sw a5,28(a4)
|
|
aac: 8082 ret
|
|
aae: e3a9 bnez a5,af0 <GPIO_PinRemapConfig+0xfa>
|
|
ab0: 40010837 lui a6,0x40010
|
|
ab4: 003007b7 lui a5,0x300
|
|
ab8: 00482603 lw a2,4(a6) # 40010004 <_eusrstack+0x2000b004>
|
|
abc: 01051713 slli a4,a0,0x10
|
|
ac0: 00f576b3 and a3,a0,a5
|
|
ac4: 8341 srli a4,a4,0x10
|
|
ac6: 02f69663 bne a3,a5,af2 <GPIO_PinRemapConfig+0xfc>
|
|
aca: f90006b7 lui a3,0xf9000
|
|
ace: 16fd addi a3,a3,-1
|
|
ad0: 00d677b3 and a5,a2,a3
|
|
ad4: 00482603 lw a2,4(a6)
|
|
ad8: 8ef1 and a3,a3,a2
|
|
ada: 00d82223 sw a3,4(a6)
|
|
ade: c591 beqz a1,aea <GPIO_PinRemapConfig+0xf4>
|
|
ae0: 8155 srli a0,a0,0x15
|
|
ae2: 0512 slli a0,a0,0x4
|
|
ae4: 00a71533 sll a0,a4,a0
|
|
ae8: 8fc9 or a5,a5,a0
|
|
aea: 40010737 lui a4,0x40010
|
|
aee: c35c sw a5,4(a4)
|
|
af0: 8082 ret
|
|
af2: 00b51793 slli a5,a0,0xb
|
|
af6: 0207d063 bgez a5,b16 <GPIO_PinRemapConfig+0x120>
|
|
afa: 01055793 srli a5,a0,0x10
|
|
afe: 00f7f693 andi a3,a5,15
|
|
b02: 478d li a5,3
|
|
b04: 00d797b3 sll a5,a5,a3
|
|
b08: fff7c793 not a5,a5
|
|
b0c: 8ff1 and a5,a5,a2
|
|
b0e: 070006b7 lui a3,0x7000
|
|
b12: 8fd5 or a5,a5,a3
|
|
b14: b7e9 j ade <GPIO_PinRemapConfig+0xe8>
|
|
b16: 01555793 srli a5,a0,0x15
|
|
b1a: 0792 slli a5,a5,0x4
|
|
b1c: 00f717b3 sll a5,a4,a5
|
|
b20: b7e5 j b08 <GPIO_PinRemapConfig+0x112>
|
|
|
|
00000b22 <GPIO_EXTILineConfig>:
|
|
b22: 0fc5f713 andi a4,a1,252
|
|
b26: 0035f793 andi a5,a1,3
|
|
b2a: 400105b7 lui a1,0x40010
|
|
b2e: 95ba add a1,a1,a4
|
|
b30: 4594 lw a3,8(a1)
|
|
b32: 078a slli a5,a5,0x2
|
|
b34: 473d li a4,15
|
|
b36: 00f71733 sll a4,a4,a5
|
|
b3a: fff74713 not a4,a4
|
|
b3e: 8f75 and a4,a4,a3
|
|
b40: c598 sw a4,8(a1)
|
|
b42: 4598 lw a4,8(a1)
|
|
b44: 00f51533 sll a0,a0,a5
|
|
b48: 8d59 or a0,a0,a4
|
|
b4a: c588 sw a0,8(a1)
|
|
b4c: 8082 ret
|
|
|
|
00000b4e <GPIO_IPD_Unused>:
|
|
b4e: e22ff2ef jal t0,170 <__riscv_save_0>
|
|
b52: 1ffff437 lui s0,0x1ffff
|
|
b56: 72442703 lw a4,1828(s0) # 1ffff724 <_data_lma+0x1fff6ed0>
|
|
b5a: 3e000637 lui a2,0x3e000
|
|
b5e: 1141 addi sp,sp,-16
|
|
b60: 01971793 slli a5,a4,0x19
|
|
b64: fff74693 not a3,a4
|
|
b68: 8ff1 and a5,a5,a2
|
|
b6a: 0706 slli a4,a4,0x1
|
|
b6c: 003e0637 lui a2,0x3e0
|
|
b70: 8f71 and a4,a4,a2
|
|
b72: 8fd9 or a5,a5,a4
|
|
b74: 01000637 lui a2,0x1000
|
|
b78: 00969713 slli a4,a3,0x9
|
|
b7c: 8f71 and a4,a4,a2
|
|
b7e: 8fd9 or a5,a5,a4
|
|
b80: 82bd srli a3,a3,0xf
|
|
b82: 6741 lui a4,0x10
|
|
b84: 8ef9 and a3,a3,a4
|
|
b86: 8fd5 or a5,a5,a3
|
|
b88: c202 sw zero,4(sp)
|
|
b8a: c402 sw zero,8(sp)
|
|
b8c: c602 sw zero,12(sp)
|
|
b8e: 82f1a423 sw a5,-2008(gp) # 20000188 <OPA_Trim>
|
|
b92: 72845703 lhu a4,1832(s0)
|
|
b96: 4585 li a1,1
|
|
b98: 82e19023 sh a4,-2016(gp) # 20000180 <_edata>
|
|
b9c: 72042703 lw a4,1824(s0)
|
|
ba0: 03d00513 li a0,61
|
|
ba4: 82e1a623 sw a4,-2004(gp) # 2000018c <TS_Val>
|
|
ba8: 70442703 lw a4,1796(s0)
|
|
bac: 82e1a223 sw a4,-2012(gp) # 20000184 <CHIPID>
|
|
bb0: 2c8d jal e22 <RCC_PB2PeriphClockCmd>
|
|
bb2: 70442783 lw a5,1796(s0)
|
|
bb6: 103a0737 lui a4,0x103a0
|
|
bba: 70070713 addi a4,a4,1792 # 103a0700 <_data_lma+0x10397eac>
|
|
bbe: f0f7f793 andi a5,a5,-241
|
|
bc2: 10e78063 beq a5,a4,cc2 <GPIO_IPD_Unused+0x174>
|
|
bc6: 02f76163 bltu a4,a5,be8 <GPIO_IPD_Unused+0x9a>
|
|
bca: 10320737 lui a4,0x10320
|
|
bce: 70070713 addi a4,a4,1792 # 10320700 <_data_lma+0x10317eac>
|
|
bd2: 06e78063 beq a5,a4,c32 <GPIO_IPD_Unused+0xe4>
|
|
bd6: 10370737 lui a4,0x10370
|
|
bda: 70070713 addi a4,a4,1792 # 10370700 <_data_lma+0x10367eac>
|
|
bde: 08e78763 beq a5,a4,c6c <GPIO_IPD_Unused+0x11e>
|
|
be2: 0141 addi sp,sp,16
|
|
be4: db0ff06f j 194 <__riscv_restore_0>
|
|
be8: 103b0737 lui a4,0x103b0
|
|
bec: 70070713 addi a4,a4,1792 # 103b0700 <_data_lma+0x103a7eac>
|
|
bf0: 0ae78b63 beq a5,a4,ca6 <GPIO_IPD_Unused+0x158>
|
|
bf4: 103d0737 lui a4,0x103d0
|
|
bf8: 70070713 addi a4,a4,1792 # 103d0700 <_data_lma+0x103c7eac>
|
|
bfc: fee793e3 bne a5,a4,be2 <GPIO_IPD_Unused+0x94>
|
|
c00: 4585 li a1,1
|
|
c02: 6521 lui a0,0x8
|
|
c04: 3bcd jal 9f6 <GPIO_PinRemapConfig>
|
|
c06: 400114b7 lui s1,0x40011
|
|
c0a: 77e1 lui a5,0xffff8
|
|
c0c: 04800413 li s0,72
|
|
c10: 004c addi a1,sp,4
|
|
c12: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
c16: 827c sh a5,4(sp)
|
|
c18: c622 sw s0,12(sp)
|
|
c1a: 39ed jal 914 <GPIO_Init>
|
|
c1c: 6785 lui a5,0x1
|
|
c1e: 33c78793 addi a5,a5,828 # 133c <SPI_Flash_Init+0x62>
|
|
c22: 004c addi a1,sp,4
|
|
c24: c0048513 addi a0,s1,-1024
|
|
c28: 827c sh a5,4(sp)
|
|
c2a: c622 sw s0,12(sp)
|
|
c2c: 31e5 jal 914 <GPIO_Init>
|
|
c2e: 77f9 lui a5,0xffffe
|
|
c30: a00d j c52 <GPIO_IPD_Unused+0x104>
|
|
c32: 4585 li a1,1
|
|
c34: 6521 lui a0,0x8
|
|
c36: 33c1 jal 9f6 <GPIO_PinRemapConfig>
|
|
c38: 400114b7 lui s1,0x40011
|
|
c3c: e0000793 li a5,-512
|
|
c40: 04800413 li s0,72
|
|
c44: 004c addi a1,sp,4
|
|
c46: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
c4a: 827c sh a5,4(sp)
|
|
c4c: c622 sw s0,12(sp)
|
|
c4e: 31d9 jal 914 <GPIO_Init>
|
|
c50: 6789 lui a5,0x2
|
|
c52: 004c addi a1,sp,4
|
|
c54: 40011537 lui a0,0x40011
|
|
c58: 827c sh a5,4(sp)
|
|
c5a: c622 sw s0,12(sp)
|
|
c5c: 3965 jal 914 <GPIO_Init>
|
|
c5e: 478d li a5,3
|
|
c60: 827c sh a5,4(sp)
|
|
c62: c622 sw s0,12(sp)
|
|
c64: 004c addi a1,sp,4
|
|
c66: 40048513 addi a0,s1,1024
|
|
c6a: a825 j ca2 <GPIO_IPD_Unused+0x154>
|
|
c6c: 400114b7 lui s1,0x40011
|
|
c70: 77e1 lui a5,0xffff8
|
|
c72: 70078793 addi a5,a5,1792 # ffff8700 <_eusrstack+0xdfff3700>
|
|
c76: 04800413 li s0,72
|
|
c7a: 004c addi a1,sp,4
|
|
c7c: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
c80: 827c sh a5,4(sp)
|
|
c82: c622 sw s0,12(sp)
|
|
c84: 3941 jal 914 <GPIO_Init>
|
|
c86: e3d00793 li a5,-451
|
|
c8a: 004c addi a1,sp,4
|
|
c8c: c0048513 addi a0,s1,-1024
|
|
c90: 827c sh a5,4(sp)
|
|
c92: c622 sw s0,12(sp)
|
|
c94: 3141 jal 914 <GPIO_Init>
|
|
c96: 77f9 lui a5,0xffffe
|
|
c98: 827c sh a5,4(sp)
|
|
c9a: c622 sw s0,12(sp)
|
|
c9c: 004c addi a1,sp,4
|
|
c9e: 40011537 lui a0,0x40011
|
|
ca2: 398d jal 914 <GPIO_Init>
|
|
ca4: bf3d j be2 <GPIO_IPD_Unused+0x94>
|
|
ca6: 400114b7 lui s1,0x40011
|
|
caa: 77e1 lui a5,0xffff8
|
|
cac: 04800413 li s0,72
|
|
cb0: 004c addi a1,sp,4
|
|
cb2: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
cb6: 827c sh a5,4(sp)
|
|
cb8: c622 sw s0,12(sp)
|
|
cba: 39a9 jal 914 <GPIO_Init>
|
|
cbc: 20400793 li a5,516
|
|
cc0: b78d j c22 <GPIO_IPD_Unused+0xd4>
|
|
cc2: 400114b7 lui s1,0x40011
|
|
cc6: 77e1 lui a5,0xffff8
|
|
cc8: 04800413 li s0,72
|
|
ccc: 004c addi a1,sp,4
|
|
cce: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
cd2: 827c sh a5,4(sp)
|
|
cd4: c622 sw s0,12(sp)
|
|
cd6: 393d jal 914 <GPIO_Init>
|
|
cd8: 6789 lui a5,0x2
|
|
cda: 17f5 addi a5,a5,-3
|
|
cdc: b799 j c22 <GPIO_IPD_Unused+0xd4>
|
|
|
|
00000cde <NVIC_PriorityGroupConfig>:
|
|
cde: 82a1a823 sw a0,-2000(gp) # 20000190 <NVIC_Priority_Group>
|
|
ce2: 8082 ret
|
|
|
|
00000ce4 <NVIC_Init>:
|
|
ce4: 8301a703 lw a4,-2000(gp) # 20000190 <NVIC_Priority_Group>
|
|
ce8: 4785 li a5,1
|
|
cea: 2114 lbu a3,0(a0)
|
|
cec: 02f71063 bne a4,a5,d0c <NVIC_Init+0x28>
|
|
cf0: 311c lbu a5,1(a0)
|
|
cf2: 02e79c63 bne a5,a4,d2a <NVIC_Init+0x46>
|
|
cf6: 213c lbu a5,2(a0)
|
|
cf8: 0796 slli a5,a5,0x5
|
|
cfa: f807e793 ori a5,a5,-128
|
|
cfe: e000e737 lui a4,0xe000e
|
|
d02: 0ff7f793 andi a5,a5,255
|
|
d06: 9736 add a4,a4,a3
|
|
d08: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xc0009400>
|
|
d0c: 4705 li a4,1
|
|
d0e: 0056d793 srli a5,a3,0x5
|
|
d12: 00d71733 sll a4,a4,a3
|
|
d16: 4154 lw a3,4(a0)
|
|
d18: ce89 beqz a3,d32 <NVIC_Init+0x4e>
|
|
d1a: 04078793 addi a5,a5,64 # 2040 <mppt_constantCurrentO+0x2c>
|
|
d1e: 078a slli a5,a5,0x2
|
|
d20: e000e6b7 lui a3,0xe000e
|
|
d24: 97b6 add a5,a5,a3
|
|
d26: c398 sw a4,0(a5)
|
|
d28: 8082 ret
|
|
d2a: f3ed bnez a5,d0c <NVIC_Init+0x28>
|
|
d2c: 213c lbu a5,2(a0)
|
|
d2e: 0796 slli a5,a5,0x5
|
|
d30: b7f9 j cfe <NVIC_Init+0x1a>
|
|
d32: 06078793 addi a5,a5,96
|
|
d36: b7e5 j d1e <NVIC_Init+0x3a>
|
|
|
|
00000d38 <RCC_ADCCLKConfig>:
|
|
d38: 400216b7 lui a3,0x40021
|
|
d3c: 42dc lw a5,4(a3)
|
|
d3e: 7fff4737 lui a4,0x7fff4
|
|
d42: 177d addi a4,a4,-1
|
|
d44: 8ff9 and a5,a5,a4
|
|
d46: 8d5d or a0,a0,a5
|
|
d48: c2c8 sw a0,4(a3)
|
|
d4a: 8082 ret
|
|
|
|
00000d4c <RCC_GetClocksFreq>:
|
|
d4c: 40021737 lui a4,0x40021
|
|
d50: 435c lw a5,4(a4)
|
|
d52: 4691 li a3,4
|
|
d54: 8bb1 andi a5,a5,12
|
|
d56: 06d78c63 beq a5,a3,dce <RCC_GetClocksFreq+0x82>
|
|
d5a: 46a1 li a3,8
|
|
d5c: 06d78e63 beq a5,a3,dd8 <RCC_GetClocksFreq+0x8c>
|
|
d60: e7bd bnez a5,dce <RCC_GetClocksFreq+0x82>
|
|
d62: 431c lw a5,0(a4)
|
|
d64: 8b91 andi a5,a5,4
|
|
d66: c7a5 beqz a5,dce <RCC_GetClocksFreq+0x82>
|
|
d68: 000f47b7 lui a5,0xf4
|
|
d6c: 24078793 addi a5,a5,576 # f4240 <_data_lma+0xeb9ec>
|
|
d70: c11c sw a5,0(a0)
|
|
d72: 40021637 lui a2,0x40021
|
|
d76: 425c lw a5,4(a2)
|
|
d78: 20000737 lui a4,0x20000
|
|
d7c: 01070713 addi a4,a4,16 # 20000010 <PBHBPrescTable>
|
|
d80: 8391 srli a5,a5,0x4
|
|
d82: 8bbd andi a5,a5,15
|
|
d84: 97ba add a5,a5,a4
|
|
d86: 2394 lbu a3,0(a5)
|
|
d88: 411c lw a5,0(a0)
|
|
d8a: 00d7d7b3 srl a5,a5,a3
|
|
d8e: c15c sw a5,4(a0)
|
|
d90: 4254 lw a3,4(a2)
|
|
d92: 82a1 srli a3,a3,0x8
|
|
d94: 8a9d andi a3,a3,7
|
|
d96: 96ba add a3,a3,a4
|
|
d98: 2294 lbu a3,0(a3)
|
|
d9a: 00d7d6b3 srl a3,a5,a3
|
|
d9e: c514 sw a3,8(a0)
|
|
da0: 4254 lw a3,4(a2)
|
|
da2: 82ad srli a3,a3,0xb
|
|
da4: 8a9d andi a3,a3,7
|
|
da6: 9736 add a4,a4,a3
|
|
da8: 2314 lbu a3,0(a4)
|
|
daa: 00d7d6b3 srl a3,a5,a3
|
|
dae: c554 sw a3,12(a0)
|
|
db0: 4258 lw a4,4(a2)
|
|
db2: 00074c63 bltz a4,dca <RCC_GetClocksFreq+0x7e>
|
|
db6: 425c lw a5,4(a2)
|
|
db8: 83b9 srli a5,a5,0xe
|
|
dba: 0037f713 andi a4,a5,3
|
|
dbe: 80418793 addi a5,gp,-2044 # 20000164 <ADCPrescTable>
|
|
dc2: 97ba add a5,a5,a4
|
|
dc4: 239c lbu a5,0(a5)
|
|
dc6: 02f6d7b3 divu a5,a3,a5
|
|
dca: c91c sw a5,16(a0)
|
|
dcc: 8082 ret
|
|
dce: 007a17b7 lui a5,0x7a1
|
|
dd2: 20078793 addi a5,a5,512 # 7a1200 <_data_lma+0x7989ac>
|
|
dd6: bf69 j d70 <RCC_GetClocksFreq+0x24>
|
|
dd8: 435c lw a5,4(a4)
|
|
dda: 4358 lw a4,4(a4)
|
|
ddc: 66c1 lui a3,0x10
|
|
dde: 83c9 srli a5,a5,0x12
|
|
de0: 8bbd andi a5,a5,15
|
|
de2: 8f75 and a4,a4,a3
|
|
de4: 0789 addi a5,a5,2
|
|
de6: 46c5 li a3,17
|
|
de8: 00d79363 bne a5,a3,dee <RCC_GetClocksFreq+0xa2>
|
|
dec: 47c9 li a5,18
|
|
dee: ef01 bnez a4,e06 <RCC_GetClocksFreq+0xba>
|
|
df0: 40024737 lui a4,0x40024
|
|
df4: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x2001e800>
|
|
df8: 8b41 andi a4,a4,16
|
|
dfa: cf09 beqz a4,e14 <RCC_GetClocksFreq+0xc8>
|
|
dfc: 007a1737 lui a4,0x7a1
|
|
e00: 20070713 addi a4,a4,512 # 7a1200 <_data_lma+0x7989ac>
|
|
e04: a821 j e1c <RCC_GetClocksFreq+0xd0>
|
|
e06: 40021737 lui a4,0x40021
|
|
e0a: 4358 lw a4,4(a4)
|
|
e0c: 00e71693 slli a3,a4,0xe
|
|
e10: fe06d6e3 bgez a3,dfc <RCC_GetClocksFreq+0xb0>
|
|
e14: 003d1737 lui a4,0x3d1
|
|
e18: 90070713 addi a4,a4,-1792 # 3d0900 <_data_lma+0x3c80ac>
|
|
e1c: 02e787b3 mul a5,a5,a4
|
|
e20: bf81 j d70 <RCC_GetClocksFreq+0x24>
|
|
|
|
00000e22 <RCC_PB2PeriphClockCmd>:
|
|
e22: c599 beqz a1,e30 <RCC_PB2PeriphClockCmd+0xe>
|
|
e24: 40021737 lui a4,0x40021
|
|
e28: 4f1c lw a5,24(a4)
|
|
e2a: 8d5d or a0,a0,a5
|
|
e2c: cf08 sw a0,24(a4)
|
|
e2e: 8082 ret
|
|
e30: 400217b7 lui a5,0x40021
|
|
e34: 4f98 lw a4,24(a5)
|
|
e36: fff54513 not a0,a0
|
|
e3a: 8d79 and a0,a0,a4
|
|
e3c: cf88 sw a0,24(a5)
|
|
e3e: 8082 ret
|
|
|
|
00000e40 <RCC_PB1PeriphClockCmd>:
|
|
e40: c599 beqz a1,e4e <RCC_PB1PeriphClockCmd+0xe>
|
|
e42: 40021737 lui a4,0x40021
|
|
e46: 4f5c lw a5,28(a4)
|
|
e48: 8d5d or a0,a0,a5
|
|
e4a: cf48 sw a0,28(a4)
|
|
e4c: 8082 ret
|
|
e4e: 400217b7 lui a5,0x40021
|
|
e52: 4fd8 lw a4,28(a5)
|
|
e54: fff54513 not a0,a0
|
|
e58: 8d79 and a0,a0,a4
|
|
e5a: cfc8 sw a0,28(a5)
|
|
e5c: 8082 ret
|
|
|
|
00000e5e <RCC_PB2PeriphResetCmd>:
|
|
e5e: c599 beqz a1,e6c <RCC_PB2PeriphResetCmd+0xe>
|
|
e60: 40021737 lui a4,0x40021
|
|
e64: 475c lw a5,12(a4)
|
|
e66: 8d5d or a0,a0,a5
|
|
e68: c748 sw a0,12(a4)
|
|
e6a: 8082 ret
|
|
e6c: 400217b7 lui a5,0x40021
|
|
e70: 47d8 lw a4,12(a5)
|
|
e72: fff54513 not a0,a0
|
|
e76: 8d79 and a0,a0,a4
|
|
e78: c7c8 sw a0,12(a5)
|
|
e7a: 8082 ret
|
|
|
|
00000e7c <SPI_Init>:
|
|
e7c: 211a lhu a4,0(a0)
|
|
e7e: 678d lui a5,0x3
|
|
e80: 04078793 addi a5,a5,64 # 3040 <Task_RunLED+0x17c>
|
|
e84: 21b6 lhu a3,2(a1)
|
|
e86: 8f7d and a4,a4,a5
|
|
e88: 219e lhu a5,0(a1)
|
|
e8a: 8fd5 or a5,a5,a3
|
|
e8c: 21d6 lhu a3,4(a1)
|
|
e8e: 8fd5 or a5,a5,a3
|
|
e90: 21f6 lhu a3,6(a1)
|
|
e92: 8fd5 or a5,a5,a3
|
|
e94: 2596 lhu a3,8(a1)
|
|
e96: 8fd5 or a5,a5,a3
|
|
e98: 25b6 lhu a3,10(a1)
|
|
e9a: 8fd5 or a5,a5,a3
|
|
e9c: 25d6 lhu a3,12(a1)
|
|
e9e: 8fd5 or a5,a5,a3
|
|
ea0: 25f6 lhu a3,14(a1)
|
|
ea2: 8fd5 or a5,a5,a3
|
|
ea4: 8fd9 or a5,a5,a4
|
|
ea6: a11e sh a5,0(a0)
|
|
ea8: 299e lhu a5,16(a1)
|
|
eaa: a91e sh a5,16(a0)
|
|
eac: 8082 ret
|
|
|
|
00000eae <SPI_Cmd>:
|
|
eae: 211e lhu a5,0(a0)
|
|
eb0: c589 beqz a1,eba <SPI_Cmd+0xc>
|
|
eb2: 0407e793 ori a5,a5,64
|
|
eb6: a11e sh a5,0(a0)
|
|
eb8: 8082 ret
|
|
eba: 07c2 slli a5,a5,0x10
|
|
ebc: 83c1 srli a5,a5,0x10
|
|
ebe: fbf7f793 andi a5,a5,-65
|
|
ec2: 07c2 slli a5,a5,0x10
|
|
ec4: 83c1 srli a5,a5,0x10
|
|
ec6: bfc5 j eb6 <SPI_Cmd+0x8>
|
|
|
|
00000ec8 <SPI_I2S_SendData>:
|
|
ec8: a54e sh a1,12(a0)
|
|
eca: 8082 ret
|
|
|
|
00000ecc <SPI_I2S_ReceiveData>:
|
|
ecc: 254a lhu a0,12(a0)
|
|
ece: 8082 ret
|
|
|
|
00000ed0 <SPI_I2S_GetFlagStatus>:
|
|
ed0: 250a lhu a0,8(a0)
|
|
ed2: 8d6d and a0,a0,a1
|
|
ed4: 00a03533 snez a0,a0
|
|
ed8: 8082 ret
|
|
|
|
00000eda <TIM_TimeBaseInit>:
|
|
eda: 211e lhu a5,0(a0)
|
|
edc: 40013737 lui a4,0x40013
|
|
ee0: c0070713 addi a4,a4,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
ee4: 07c2 slli a5,a5,0x10
|
|
ee6: 83c1 srli a5,a5,0x10
|
|
ee8: 02e50063 beq a0,a4,f08 <TIM_TimeBaseInit+0x2e>
|
|
eec: 40000737 lui a4,0x40000
|
|
ef0: 00e50c63 beq a0,a4,f08 <TIM_TimeBaseInit+0x2e>
|
|
ef4: 40070713 addi a4,a4,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
ef8: 00e50863 beq a0,a4,f08 <TIM_TimeBaseInit+0x2e>
|
|
efc: 40001737 lui a4,0x40001
|
|
f00: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
f04: 00e51663 bne a0,a4,f10 <TIM_TimeBaseInit+0x36>
|
|
f08: 21fa lhu a4,6(a1)
|
|
f0a: f8f7f793 andi a5,a5,-113
|
|
f0e: 8fd9 or a5,a5,a4
|
|
f10: 259a lhu a4,8(a1)
|
|
f12: cff7f793 andi a5,a5,-769
|
|
f16: 07c2 slli a5,a5,0x10
|
|
f18: 83c1 srli a5,a5,0x10
|
|
f1a: 8fd9 or a5,a5,a4
|
|
f1c: 40001737 lui a4,0x40001
|
|
f20: a11e sh a5,0(a0)
|
|
f22: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
f26: 419c lw a5,0(a1)
|
|
f28: 02e51063 bne a0,a4,f48 <TIM_TimeBaseInit+0x6e>
|
|
f2c: d55c sw a5,44(a0)
|
|
f2e: 21de lhu a5,4(a1)
|
|
f30: b51e sh a5,40(a0)
|
|
f32: 400137b7 lui a5,0x40013
|
|
f36: c0078793 addi a5,a5,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
f3a: 00f51463 bne a0,a5,f42 <TIM_TimeBaseInit+0x68>
|
|
f3e: 25bc lbu a5,10(a1)
|
|
f40: b91e sh a5,48(a0)
|
|
f42: 4785 li a5,1
|
|
f44: a95e sh a5,20(a0)
|
|
f46: 8082 ret
|
|
f48: 07c2 slli a5,a5,0x10
|
|
f4a: 83c1 srli a5,a5,0x10
|
|
f4c: b55e sh a5,44(a0)
|
|
f4e: b7c5 j f2e <TIM_TimeBaseInit+0x54>
|
|
|
|
00000f50 <TIM_OC4Init>:
|
|
f50: 311a lhu a4,32(a0)
|
|
f52: 77fd lui a5,0xfffff
|
|
f54: 17fd addi a5,a5,-1
|
|
f56: 8ff9 and a5,a5,a4
|
|
f58: b11e sh a5,32(a0)
|
|
f5a: 02055803 lhu a6,32(a0) # 40011020 <_eusrstack+0x2000c020>
|
|
f5e: 2156 lhu a3,4(a0)
|
|
f60: 2d5e lhu a5,28(a0)
|
|
f62: 7765 lui a4,0xffff9
|
|
f64: 21d2 lhu a2,4(a1)
|
|
f66: cff70713 addi a4,a4,-769 # ffff8cff <_eusrstack+0xdfff3cff>
|
|
f6a: 8f7d and a4,a4,a5
|
|
f6c: 77f9 lui a5,0xffffe
|
|
f6e: 0622 slli a2,a2,0x8
|
|
f70: 17fd addi a5,a5,-1
|
|
f72: 8f51 or a4,a4,a2
|
|
f74: 0107f7b3 and a5,a5,a6
|
|
f78: 21f2 lhu a2,6(a1)
|
|
f7a: 00a5d803 lhu a6,10(a1) # 4001000a <_eusrstack+0x2000b00a>
|
|
f7e: 06c2 slli a3,a3,0x10
|
|
f80: 0742 slli a4,a4,0x10
|
|
f82: 01066633 or a2,a2,a6
|
|
f86: 0632 slli a2,a2,0xc
|
|
f88: 8fd1 or a5,a5,a2
|
|
f8a: 40013637 lui a2,0x40013
|
|
f8e: 07c2 slli a5,a5,0x10
|
|
f90: c0060613 addi a2,a2,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
f94: 82c1 srli a3,a3,0x10
|
|
f96: 8341 srli a4,a4,0x10
|
|
f98: 83c1 srli a5,a5,0x10
|
|
f9a: 00c51a63 bne a0,a2,fae <TIM_OC4Init+0x5e>
|
|
f9e: 7671 lui a2,0xffffc
|
|
fa0: 167d addi a2,a2,-1
|
|
fa2: 8ef1 and a3,a3,a2
|
|
fa4: 25f2 lhu a2,14(a1)
|
|
fa6: 061a slli a2,a2,0x6
|
|
fa8: 8ed1 or a3,a3,a2
|
|
faa: 06c2 slli a3,a3,0x10
|
|
fac: 82c1 srli a3,a3,0x10
|
|
fae: a156 sh a3,4(a0)
|
|
fb0: 400016b7 lui a3,0x40001
|
|
fb4: ad5a sh a4,28(a0)
|
|
fb6: 80068693 addi a3,a3,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
fba: 4198 lw a4,0(a1)
|
|
fbc: 00d51563 bne a0,a3,fc6 <TIM_OC4Init+0x76>
|
|
fc0: c138 sw a4,64(a0)
|
|
fc2: b11e sh a5,32(a0)
|
|
fc4: 8082 ret
|
|
fc6: 0742 slli a4,a4,0x10
|
|
fc8: 8341 srli a4,a4,0x10
|
|
fca: bfdd j fc0 <TIM_OC4Init+0x70>
|
|
|
|
00000fcc <TIM_Cmd>:
|
|
fcc: 211e lhu a5,0(a0)
|
|
fce: c589 beqz a1,fd8 <TIM_Cmd+0xc>
|
|
fd0: 0017e793 ori a5,a5,1
|
|
fd4: a11e sh a5,0(a0)
|
|
fd6: 8082 ret
|
|
fd8: 07c2 slli a5,a5,0x10
|
|
fda: 83c1 srli a5,a5,0x10
|
|
fdc: 9bf9 andi a5,a5,-2
|
|
fde: 07c2 slli a5,a5,0x10
|
|
fe0: 83c1 srli a5,a5,0x10
|
|
fe2: bfcd j fd4 <TIM_Cmd+0x8>
|
|
|
|
00000fe4 <TIM_CtrlPWMOutputs>:
|
|
fe4: 04455783 lhu a5,68(a0)
|
|
fe8: c591 beqz a1,ff4 <TIM_CtrlPWMOutputs+0x10>
|
|
fea: 6721 lui a4,0x8
|
|
fec: 8fd9 or a5,a5,a4
|
|
fee: 04f51223 sh a5,68(a0)
|
|
ff2: 8082 ret
|
|
ff4: 07c6 slli a5,a5,0x11
|
|
ff6: 83c5 srli a5,a5,0x11
|
|
ff8: bfdd j fee <TIM_CtrlPWMOutputs+0xa>
|
|
|
|
00000ffa <TIM_ITConfig>:
|
|
ffa: 255e lhu a5,12(a0)
|
|
ffc: c601 beqz a2,1004 <TIM_ITConfig+0xa>
|
|
ffe: 8ddd or a1,a1,a5
|
|
1000: a54e sh a1,12(a0)
|
|
1002: 8082 ret
|
|
1004: fff5c593 not a1,a1
|
|
1008: 8dfd and a1,a1,a5
|
|
100a: bfdd j 1000 <TIM_ITConfig+0x6>
|
|
|
|
0000100c <TIM_ARRPreloadConfig>:
|
|
100c: 211e lhu a5,0(a0)
|
|
100e: c589 beqz a1,1018 <TIM_ARRPreloadConfig+0xc>
|
|
1010: 0807e793 ori a5,a5,128
|
|
1014: a11e sh a5,0(a0)
|
|
1016: 8082 ret
|
|
1018: 07c2 slli a5,a5,0x10
|
|
101a: 83c1 srli a5,a5,0x10
|
|
101c: f7f7f793 andi a5,a5,-129
|
|
1020: 07c2 slli a5,a5,0x10
|
|
1022: 83c1 srli a5,a5,0x10
|
|
1024: bfc5 j 1014 <TIM_ARRPreloadConfig+0x8>
|
|
|
|
00001026 <TIM_OC4PreloadConfig>:
|
|
1026: 2d5a lhu a4,28(a0)
|
|
1028: 77fd lui a5,0xfffff
|
|
102a: 7ff78793 addi a5,a5,2047 # fffff7ff <_eusrstack+0xdfffa7ff>
|
|
102e: 8ff9 and a5,a5,a4
|
|
1030: 05a2 slli a1,a1,0x8
|
|
1032: 8fcd or a5,a5,a1
|
|
1034: 07c2 slli a5,a5,0x10
|
|
1036: 83c1 srli a5,a5,0x10
|
|
1038: ad5e sh a5,28(a0)
|
|
103a: 8082 ret
|
|
|
|
0000103c <TIM_SetCompare4>:
|
|
103c: 400017b7 lui a5,0x40001
|
|
1040: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
1044: 00f51463 bne a0,a5,104c <TIM_SetCompare4+0x10>
|
|
1048: c12c sw a1,64(a0)
|
|
104a: 8082 ret
|
|
104c: 05c2 slli a1,a1,0x10
|
|
104e: 81c1 srli a1,a1,0x10
|
|
1050: bfe5 j 1048 <TIM_SetCompare4+0xc>
|
|
|
|
00001052 <TIM_GetCounter>:
|
|
1052: 400017b7 lui a5,0x40001
|
|
1056: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
105a: 00f51463 bne a0,a5,1062 <TIM_GetCounter+0x10>
|
|
105e: 5148 lw a0,36(a0)
|
|
1060: 8082 ret
|
|
1062: 314a lhu a0,36(a0)
|
|
1064: 0542 slli a0,a0,0x10
|
|
1066: 8141 srli a0,a0,0x10
|
|
1068: 8082 ret
|
|
|
|
0000106a <TIM_GetITStatus>:
|
|
106a: 291e lhu a5,16(a0)
|
|
106c: 254a lhu a0,12(a0)
|
|
106e: 8fed and a5,a5,a1
|
|
1070: 0542 slli a0,a0,0x10
|
|
1072: 8141 srli a0,a0,0x10
|
|
1074: c789 beqz a5,107e <TIM_GetITStatus+0x14>
|
|
1076: 8d6d and a0,a0,a1
|
|
1078: 00a03533 snez a0,a0
|
|
107c: 8082 ret
|
|
107e: 4501 li a0,0
|
|
1080: 8082 ret
|
|
|
|
00001082 <TIM_ClearITPendingBit>:
|
|
1082: fff5c593 not a1,a1
|
|
1086: 05c2 slli a1,a1,0x10
|
|
1088: 81c1 srli a1,a1,0x10
|
|
108a: a90e sh a1,16(a0)
|
|
108c: 8082 ret
|
|
|
|
0000108e <USART_Init>:
|
|
108e: 8e2ff2ef jal t0,170 <__riscv_save_0>
|
|
1092: 2916 lhu a3,16(a0)
|
|
1094: 77f5 lui a5,0xffffd
|
|
1096: 17fd addi a5,a5,-1
|
|
1098: 8ff5 and a5,a5,a3
|
|
109a: 21f6 lhu a3,6(a1)
|
|
109c: 25da lhu a4,12(a1)
|
|
109e: 7179 addi sp,sp,-48
|
|
10a0: 8fd5 or a5,a5,a3
|
|
10a2: a91e sh a5,16(a0)
|
|
10a4: 2556 lhu a3,12(a0)
|
|
10a6: 77fd lui a5,0xfffff
|
|
10a8: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdfff99f3>
|
|
10ac: 8ff5 and a5,a5,a3
|
|
10ae: 21d6 lhu a3,4(a1)
|
|
10b0: 842a mv s0,a0
|
|
10b2: c62e sw a1,12(sp)
|
|
10b4: 8fd5 or a5,a5,a3
|
|
10b6: 2596 lhu a3,8(a1)
|
|
10b8: 8fd5 or a5,a5,a3
|
|
10ba: 25b6 lhu a3,10(a1)
|
|
10bc: 8fd5 or a5,a5,a3
|
|
10be: a55e sh a5,12(a0)
|
|
10c0: 295e lhu a5,20(a0)
|
|
10c2: 07c2 slli a5,a5,0x10
|
|
10c4: 83c1 srli a5,a5,0x10
|
|
10c6: cff7f793 andi a5,a5,-769
|
|
10ca: 8fd9 or a5,a5,a4
|
|
10cc: a95e sh a5,20(a0)
|
|
10ce: 0868 addi a0,sp,28
|
|
10d0: 39b5 jal d4c <RCC_GetClocksFreq>
|
|
10d2: 400147b7 lui a5,0x40014
|
|
10d6: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
10da: 45b2 lw a1,12(sp)
|
|
10dc: 04f41a63 bne s0,a5,1130 <USART_Init+0xa2>
|
|
10e0: 57a2 lw a5,40(sp)
|
|
10e2: 2456 lhu a3,12(s0)
|
|
10e4: 4765 li a4,25
|
|
10e6: 02e787b3 mul a5,a5,a4
|
|
10ea: 06c2 slli a3,a3,0x10
|
|
10ec: 86c1 srai a3,a3,0x10
|
|
10ee: 4198 lw a4,0(a1)
|
|
10f0: 0406d263 bgez a3,1134 <USART_Init+0xa6>
|
|
10f4: 0706 slli a4,a4,0x1
|
|
10f6: 2452 lhu a2,12(s0)
|
|
10f8: 0642 slli a2,a2,0x10
|
|
10fa: 02e7d7b3 divu a5,a5,a4
|
|
10fe: 06400713 li a4,100
|
|
1102: 8641 srai a2,a2,0x10
|
|
1104: 02e7d6b3 divu a3,a5,a4
|
|
1108: 02e7f7b3 remu a5,a5,a4
|
|
110c: 0692 slli a3,a3,0x4
|
|
110e: 02065563 bgez a2,1138 <USART_Init+0xaa>
|
|
1112: 078e slli a5,a5,0x3
|
|
1114: 03278793 addi a5,a5,50
|
|
1118: 02e7d7b3 divu a5,a5,a4
|
|
111c: 0077f713 andi a4,a5,7
|
|
1120: 00d767b3 or a5,a4,a3
|
|
1124: 07c2 slli a5,a5,0x10
|
|
1126: 83c1 srli a5,a5,0x10
|
|
1128: a41e sh a5,8(s0)
|
|
112a: 6145 addi sp,sp,48
|
|
112c: 868ff06f j 194 <__riscv_restore_0>
|
|
1130: 5792 lw a5,36(sp)
|
|
1132: bf45 j 10e2 <USART_Init+0x54>
|
|
1134: 070a slli a4,a4,0x2
|
|
1136: b7c1 j 10f6 <USART_Init+0x68>
|
|
1138: 0792 slli a5,a5,0x4
|
|
113a: 03278793 addi a5,a5,50
|
|
113e: 02e7d7b3 divu a5,a5,a4
|
|
1142: 8bbd andi a5,a5,15
|
|
1144: 8fd5 or a5,a5,a3
|
|
1146: bff9 j 1124 <USART_Init+0x96>
|
|
|
|
00001148 <USART_Cmd>:
|
|
1148: c591 beqz a1,1154 <USART_Cmd+0xc>
|
|
114a: 255e lhu a5,12(a0)
|
|
114c: 6709 lui a4,0x2
|
|
114e: 8fd9 or a5,a5,a4
|
|
1150: a55e sh a5,12(a0)
|
|
1152: 8082 ret
|
|
1154: 255a lhu a4,12(a0)
|
|
1156: 77f9 lui a5,0xffffe
|
|
1158: 17fd addi a5,a5,-1
|
|
115a: 8ff9 and a5,a5,a4
|
|
115c: bfd5 j 1150 <USART_Cmd+0x8>
|
|
|
|
0000115e <USART_ITConfig>:
|
|
115e: 0ff5f713 andi a4,a1,255
|
|
1162: 4785 li a5,1
|
|
1164: 8315 srli a4,a4,0x5
|
|
1166: 00b795b3 sll a1,a5,a1
|
|
116a: 00f71963 bne a4,a5,117c <USART_ITConfig+0x1e>
|
|
116e: 00c50793 addi a5,a0,12
|
|
1172: 4398 lw a4,0(a5)
|
|
1174: ce01 beqz a2,118c <USART_ITConfig+0x2e>
|
|
1176: 8dd9 or a1,a1,a4
|
|
1178: c38c sw a1,0(a5)
|
|
117a: 8082 ret
|
|
117c: 4689 li a3,2
|
|
117e: 01450793 addi a5,a0,20
|
|
1182: fed718e3 bne a4,a3,1172 <USART_ITConfig+0x14>
|
|
1186: 01050793 addi a5,a0,16
|
|
118a: b7e5 j 1172 <USART_ITConfig+0x14>
|
|
118c: fff5c593 not a1,a1
|
|
1190: 8df9 and a1,a1,a4
|
|
1192: b7dd j 1178 <USART_ITConfig+0x1a>
|
|
|
|
00001194 <USART_SendData>:
|
|
1194: 1ff5f593 andi a1,a1,511
|
|
1198: a14e sh a1,4(a0)
|
|
119a: 8082 ret
|
|
|
|
0000119c <USART_ReceiveData>:
|
|
119c: 214a lhu a0,4(a0)
|
|
119e: 1ff57513 andi a0,a0,511
|
|
11a2: 8082 ret
|
|
|
|
000011a4 <USART_GetFlagStatus>:
|
|
11a4: 210a lhu a0,0(a0)
|
|
11a6: 8d6d and a0,a0,a1
|
|
11a8: 00a03533 snez a0,a0
|
|
11ac: 8082 ret
|
|
|
|
000011ae <USART_GetITStatus>:
|
|
11ae: 0ff5f713 andi a4,a1,255
|
|
11b2: 4685 li a3,1
|
|
11b4: 8315 srli a4,a4,0x5
|
|
11b6: 00b697b3 sll a5,a3,a1
|
|
11ba: 02d71163 bne a4,a3,11dc <USART_GetITStatus+0x2e>
|
|
11be: 255a lhu a4,12(a0)
|
|
11c0: 8ff9 and a5,a5,a4
|
|
11c2: 211a lhu a4,0(a0)
|
|
11c4: 4501 li a0,0
|
|
11c6: 0742 slli a4,a4,0x10
|
|
11c8: 8341 srli a4,a4,0x10
|
|
11ca: cb81 beqz a5,11da <USART_GetITStatus+0x2c>
|
|
11cc: 4505 li a0,1
|
|
11ce: 81a1 srli a1,a1,0x8
|
|
11d0: 00b515b3 sll a1,a0,a1
|
|
11d4: 8f6d and a4,a4,a1
|
|
11d6: 00e03533 snez a0,a4
|
|
11da: 8082 ret
|
|
11dc: 4689 li a3,2
|
|
11de: 00d71463 bne a4,a3,11e6 <USART_GetITStatus+0x38>
|
|
11e2: 291a lhu a4,16(a0)
|
|
11e4: bff1 j 11c0 <USART_GetITStatus+0x12>
|
|
11e6: 295a lhu a4,20(a0)
|
|
11e8: bfe1 j 11c0 <USART_GetITStatus+0x12>
|
|
|
|
000011ea <ADC_all_Init>:
|
|
11ea: f87fe2ef jal t0,170 <__riscv_save_0>
|
|
11ee: 7179 addi sp,sp,-48
|
|
11f0: 02000613 li a2,32
|
|
11f4: 4581 li a1,0
|
|
11f6: 0808 addi a0,sp,16
|
|
11f8: fa9fe0ef jal ra,1a0 <memset>
|
|
11fc: 4585 li a1,1
|
|
11fe: 4511 li a0,4
|
|
1200: c202 sw zero,4(sp)
|
|
1202: c402 sw zero,8(sp)
|
|
1204: c602 sw zero,12(sp)
|
|
1206: 3931 jal e22 <RCC_PB2PeriphClockCmd>
|
|
1208: 4585 li a1,1
|
|
120a: 20000513 li a0,512
|
|
120e: 3911 jal e22 <RCC_PB2PeriphClockCmd>
|
|
1210: 4501 li a0,0
|
|
1212: 361d jal d38 <RCC_ADCCLKConfig>
|
|
1214: 40011537 lui a0,0x40011
|
|
1218: 0fe00793 li a5,254
|
|
121c: 004c addi a1,sp,4
|
|
121e: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1222: 40012437 lui s0,0x40012
|
|
1226: 827c sh a5,4(sp)
|
|
1228: c602 sw zero,12(sp)
|
|
122a: eeaff0ef jal ra,914 <GPIO_Init>
|
|
122e: 40040513 addi a0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
1232: a96ff0ef jal ra,4c8 <ADC_DeInit>
|
|
1236: 40040513 addi a0,s0,1024
|
|
123a: c6eff0ef jal ra,6a8 <Get_CalibrationValue>
|
|
123e: 85aa mv a1,a0
|
|
1240: 82a19a23 sh a0,-1996(gp) # 20000194 <Calibrattion_Val>
|
|
1244: 00008537 lui a0,0x8
|
|
1248: d8850513 addi a0,a0,-632 # 7d88 <_read+0x2c>
|
|
124c: 41e050ef jal ra,666a <iprintf>
|
|
1250: 000e07b7 lui a5,0xe0
|
|
1254: ce3e sw a5,28(sp)
|
|
1256: 080c addi a1,sp,16
|
|
1258: 4785 li a5,1
|
|
125a: 40040513 addi a0,s0,1024
|
|
125e: 02f10223 sb a5,36(sp)
|
|
1262: c802 sw zero,16(sp)
|
|
1264: ca02 sw zero,20(sp)
|
|
1266: cc02 sw zero,24(sp)
|
|
1268: d002 sw zero,32(sp)
|
|
126a: a86ff0ef jal ra,4f0 <ADC_Init>
|
|
126e: 4585 li a1,1
|
|
1270: 40040513 addi a0,s0,1024
|
|
1274: ad2ff0ef jal ra,546 <ADC_Cmd>
|
|
1278: 4585 li a1,1
|
|
127a: 40040513 addi a0,s0,1024
|
|
127e: c08ff0ef jal ra,686 <ADC_FIFO_Cmd>
|
|
1282: 4581 li a1,0
|
|
1284: 40040513 addi a0,s0,1024
|
|
1288: bd4ff0ef jal ra,65c <ADC_BufferCmd>
|
|
128c: 40040513 addi a0,s0,1024
|
|
1290: ac6ff0ef jal ra,556 <ADC_ResetCalibration>
|
|
1294: 40040493 addi s1,s0,1024
|
|
1298: 8526 mv a0,s1
|
|
129a: ac6ff0ef jal ra,560 <ADC_GetResetCalibrationStatus>
|
|
129e: fd6d bnez a0,1298 <ADC_all_Init+0xae>
|
|
12a0: 40040513 addi a0,s0,1024
|
|
12a4: 40012437 lui s0,0x40012
|
|
12a8: ac0ff0ef jal ra,568 <ADC_StartCalibration>
|
|
12ac: 40040493 addi s1,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
12b0: 8526 mv a0,s1
|
|
12b2: ac0ff0ef jal ra,572 <ADC_GetCalibrationStatus>
|
|
12b6: fd6d bnez a0,12b0 <ADC_all_Init+0xc6>
|
|
12b8: 80000537 lui a0,0x80000
|
|
12bc: 3cb5 jal d38 <RCC_ADCCLKConfig>
|
|
12be: 40040513 addi a0,s0,1024
|
|
12c2: 4585 li a1,1
|
|
12c4: bb0ff0ef jal ra,674 <ADC_DutyDelayCmd>
|
|
12c8: 02000593 li a1,32
|
|
12cc: 40040513 addi a0,s0,1024
|
|
12d0: bc8ff0ef jal ra,698 <ADC_Sample_ModeConfig>
|
|
12d4: 6145 addi sp,sp,48
|
|
12d6: ebffe06f j 194 <__riscv_restore_0>
|
|
|
|
000012da <SPI_Flash_Init>:
|
|
12da: e97fe2ef jal t0,170 <__riscv_save_0>
|
|
12de: 1101 addi sp,sp,-32
|
|
12e0: 4585 li a1,1
|
|
12e2: 4521 li a0,8
|
|
12e4: 3e3d jal e22 <RCC_PB2PeriphClockCmd>
|
|
12e6: 4585 li a1,1
|
|
12e8: 6511 lui a0,0x4
|
|
12ea: 3e99 jal e40 <RCC_PB1PeriphClockCmd>
|
|
12ec: 40011437 lui s0,0x40011
|
|
12f0: 6785 lui a5,0x1
|
|
12f2: 448d li s1,3
|
|
12f4: 807c sh a5,0(sp)
|
|
12f6: 858a mv a1,sp
|
|
12f8: 47c1 li a5,16
|
|
12fa: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
12fe: c43e sw a5,8(sp)
|
|
1300: c226 sw s1,4(sp)
|
|
1302: e12ff0ef jal ra,914 <GPIO_Init>
|
|
1306: c0040513 addi a0,s0,-1024
|
|
130a: 6585 lui a1,0x1
|
|
130c: edcff0ef jal ra,9e8 <GPIO_SetBits>
|
|
1310: 6789 lui a5,0x2
|
|
1312: 4961 li s2,24
|
|
1314: 858a mv a1,sp
|
|
1316: c0040513 addi a0,s0,-1024
|
|
131a: 807c sh a5,0(sp)
|
|
131c: c44a sw s2,8(sp)
|
|
131e: c226 sw s1,4(sp)
|
|
1320: df4ff0ef jal ra,914 <GPIO_Init>
|
|
1324: 6791 lui a5,0x4
|
|
1326: 807c sh a5,0(sp)
|
|
1328: 858a mv a1,sp
|
|
132a: 4791 li a5,4
|
|
132c: c0040513 addi a0,s0,-1024
|
|
1330: c43e sw a5,8(sp)
|
|
1332: de2ff0ef jal ra,914 <GPIO_Init>
|
|
1336: 77e1 lui a5,0xffff8
|
|
1338: 858a mv a1,sp
|
|
133a: c0040513 addi a0,s0,-1024
|
|
133e: 807c sh a5,0(sp)
|
|
1340: c44a sw s2,8(sp)
|
|
1342: c226 sw s1,4(sp)
|
|
1344: dd0ff0ef jal ra,914 <GPIO_Init>
|
|
1348: 010407b7 lui a5,0x1040
|
|
134c: c63e sw a5,12(sp)
|
|
134e: 000207b7 lui a5,0x20
|
|
1352: c83e sw a5,16(sp)
|
|
1354: 020007b7 lui a5,0x2000
|
|
1358: 0785 addi a5,a5,1
|
|
135a: 40004437 lui s0,0x40004
|
|
135e: ca3e sw a5,20(sp)
|
|
1360: 47a1 li a5,8
|
|
1362: cc3e sw a5,24(sp)
|
|
1364: 006c addi a1,sp,12
|
|
1366: 479d li a5,7
|
|
1368: 80040513 addi a0,s0,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
136c: 86fc sh a5,28(sp)
|
|
136e: 3639 jal e7c <SPI_Init>
|
|
1370: 4585 li a1,1
|
|
1372: 80040513 addi a0,s0,-2048
|
|
1376: 3e25 jal eae <SPI_Cmd>
|
|
1378: 6105 addi sp,sp,32
|
|
137a: e1bfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000137e <SPI_ReadWriteByte>:
|
|
137e: dd9fe2ef jal t0,156 <__riscv_save_4>
|
|
1382: 400044b7 lui s1,0x40004
|
|
1386: 892a mv s2,a0
|
|
1388: 0c900413 li s0,201
|
|
138c: 80048993 addi s3,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
1390: 4589 li a1,2
|
|
1392: 854e mv a0,s3
|
|
1394: 3e35 jal ed0 <SPI_I2S_GetFlagStatus>
|
|
1396: c50d beqz a0,13c0 <SPI_ReadWriteByte+0x42>
|
|
1398: 85ca mv a1,s2
|
|
139a: 80048513 addi a0,s1,-2048
|
|
139e: 400044b7 lui s1,0x40004
|
|
13a2: 361d jal ec8 <SPI_I2S_SendData>
|
|
13a4: 0c900413 li s0,201
|
|
13a8: 80048913 addi s2,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
13ac: 4585 li a1,1
|
|
13ae: 854a mv a0,s2
|
|
13b0: 3605 jal ed0 <SPI_I2S_GetFlagStatus>
|
|
13b2: cd11 beqz a0,13ce <SPI_ReadWriteByte+0x50>
|
|
13b4: 80048513 addi a0,s1,-2048
|
|
13b8: 3e11 jal ecc <SPI_I2S_ReceiveData>
|
|
13ba: 0ff57513 andi a0,a0,255
|
|
13be: a031 j 13ca <SPI_ReadWriteByte+0x4c>
|
|
13c0: 147d addi s0,s0,-1
|
|
13c2: 0ff47413 andi s0,s0,255
|
|
13c6: f469 bnez s0,1390 <SPI_ReadWriteByte+0x12>
|
|
13c8: 4501 li a0,0
|
|
13ca: dc1fe06f j 18a <__riscv_restore_4>
|
|
13ce: 147d addi s0,s0,-1
|
|
13d0: 0ff47413 andi s0,s0,255
|
|
13d4: fc61 bnez s0,13ac <SPI_ReadWriteByte+0x2e>
|
|
13d6: bfcd j 13c8 <SPI_ReadWriteByte+0x4a>
|
|
|
|
000013d8 <SPI_Flash_Read>:
|
|
13d8: d99fe2ef jal t0,170 <__riscv_save_0>
|
|
13dc: 892a mv s2,a0
|
|
13de: 40011537 lui a0,0x40011
|
|
13e2: 842e mv s0,a1
|
|
13e4: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
13e8: 6585 lui a1,0x1
|
|
13ea: 84b2 mv s1,a2
|
|
13ec: 4601 li a2,0
|
|
13ee: dfeff0ef jal ra,9ec <GPIO_WriteBit>
|
|
13f2: 450d li a0,3
|
|
13f4: 3769 jal 137e <SPI_ReadWriteByte>
|
|
13f6: 01045513 srli a0,s0,0x10
|
|
13fa: 0ff57513 andi a0,a0,255
|
|
13fe: 3741 jal 137e <SPI_ReadWriteByte>
|
|
1400: 00845513 srli a0,s0,0x8
|
|
1404: 0ff57513 andi a0,a0,255
|
|
1408: 3f9d jal 137e <SPI_ReadWriteByte>
|
|
140a: 0ff47513 andi a0,s0,255
|
|
140e: 3f85 jal 137e <SPI_ReadWriteByte>
|
|
1410: 4401 li s0,0
|
|
1412: 01041793 slli a5,s0,0x10
|
|
1416: 83c1 srli a5,a5,0x10
|
|
1418: 0097ec63 bltu a5,s1,1430 <SPI_Flash_Read+0x58>
|
|
141c: 40011537 lui a0,0x40011
|
|
1420: 4605 li a2,1
|
|
1422: 6585 lui a1,0x1
|
|
1424: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1428: dc4ff0ef jal ra,9ec <GPIO_WriteBit>
|
|
142c: d69fe06f j 194 <__riscv_restore_0>
|
|
1430: 0ff00513 li a0,255
|
|
1434: 37a9 jal 137e <SPI_ReadWriteByte>
|
|
1436: 008907b3 add a5,s2,s0
|
|
143a: a388 sb a0,0(a5)
|
|
143c: 0405 addi s0,s0,1
|
|
143e: bfd1 j 1412 <SPI_Flash_Read+0x3a>
|
|
|
|
00001440 <RUN_LED_Init>:
|
|
1440: d31fe2ef jal t0,170 <__riscv_save_0>
|
|
1444: 1141 addi sp,sp,-16
|
|
1446: 4585 li a1,1
|
|
1448: 4511 li a0,4
|
|
144a: 3ae1 jal e22 <RCC_PB2PeriphClockCmd>
|
|
144c: 10000793 li a5,256
|
|
1450: 827c sh a5,4(sp)
|
|
1452: 40011537 lui a0,0x40011
|
|
1456: 47c1 li a5,16
|
|
1458: c63e sw a5,12(sp)
|
|
145a: 004c addi a1,sp,4
|
|
145c: 478d li a5,3
|
|
145e: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1462: c43e sw a5,8(sp)
|
|
1464: cb0ff0ef jal ra,914 <GPIO_Init>
|
|
1468: 0141 addi sp,sp,16
|
|
146a: d2bfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000146e <WDI_INPUT_Init>:
|
|
146e: d03fe2ef jal t0,170 <__riscv_save_0>
|
|
1472: 1141 addi sp,sp,-16
|
|
1474: 4585 li a1,1
|
|
1476: 4541 li a0,16
|
|
1478: 9abff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
147c: 6785 lui a5,0x1
|
|
147e: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
1482: 827c sh a5,4(sp)
|
|
1484: 40011537 lui a0,0x40011
|
|
1488: 47c1 li a5,16
|
|
148a: c63e sw a5,12(sp)
|
|
148c: 004c addi a1,sp,4
|
|
148e: 478d li a5,3
|
|
1490: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1494: c43e sw a5,8(sp)
|
|
1496: c7eff0ef jal ra,914 <GPIO_Init>
|
|
149a: 0141 addi sp,sp,16
|
|
149c: cf9fe06f j 194 <__riscv_restore_0>
|
|
|
|
000014a0 <POW_OUT_CON_Init>:
|
|
14a0: cd1fe2ef jal t0,170 <__riscv_save_0>
|
|
14a4: 1141 addi sp,sp,-16
|
|
14a6: 4585 li a1,1
|
|
14a8: 4521 li a0,8
|
|
14aa: 979ff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
14ae: 10000793 li a5,256
|
|
14b2: 40011437 lui s0,0x40011
|
|
14b6: 827c sh a5,4(sp)
|
|
14b8: 47c1 li a5,16
|
|
14ba: c63e sw a5,12(sp)
|
|
14bc: 004c addi a1,sp,4
|
|
14be: 478d li a5,3
|
|
14c0: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
14c4: c43e sw a5,8(sp)
|
|
14c6: c4eff0ef jal ra,914 <GPIO_Init>
|
|
14ca: 4601 li a2,0
|
|
14cc: 10000593 li a1,256
|
|
14d0: c0040513 addi a0,s0,-1024
|
|
14d4: d18ff0ef jal ra,9ec <GPIO_WriteBit>
|
|
14d8: 0141 addi sp,sp,16
|
|
14da: cbbfe06f j 194 <__riscv_restore_0>
|
|
|
|
000014de <DSG_PROT_Init>:
|
|
14de: c93fe2ef jal t0,170 <__riscv_save_0>
|
|
14e2: 7179 addi sp,sp,-48
|
|
14e4: 4585 li a1,1
|
|
14e6: 4525 li a0,9
|
|
14e8: 93bff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
14ec: 4791 li a5,4
|
|
14ee: 40011537 lui a0,0x40011
|
|
14f2: 82fc sh a5,20(sp)
|
|
14f4: 084c addi a1,sp,20
|
|
14f6: 04800793 li a5,72
|
|
14fa: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
14fe: ce3e sw a5,28(sp)
|
|
1500: c14ff0ef jal ra,914 <GPIO_Init>
|
|
1504: 4589 li a1,2
|
|
1506: 4505 li a0,1
|
|
1508: e1aff0ef jal ra,b22 <GPIO_EXTILineConfig>
|
|
150c: 4791 li a5,4
|
|
150e: 4405 li s0,1
|
|
1510: d03e sw a5,32(sp)
|
|
1512: 1008 addi a0,sp,32
|
|
1514: 47b1 li a5,12
|
|
1516: d43e sw a5,40(sp)
|
|
1518: d622 sw s0,44(sp)
|
|
151a: d202 sw zero,36(sp)
|
|
151c: b66ff0ef jal ra,882 <EXTI_Init>
|
|
1520: 11800793 li a5,280
|
|
1524: 867c sh a5,12(sp)
|
|
1526: 0068 addi a0,sp,12
|
|
1528: 4789 li a5,2
|
|
152a: 875c sb a5,14(sp)
|
|
152c: c822 sw s0,16(sp)
|
|
152e: fb6ff0ef jal ra,ce4 <NVIC_Init>
|
|
1532: 6145 addi sp,sp,48
|
|
1534: c61fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001538 <EXTI2_IRQHandler>:
|
|
1538: 1141 addi sp,sp,-16
|
|
153a: 4511 li a0,4
|
|
153c: c622 sw s0,12(sp)
|
|
153e: baeff0ef jal ra,8ec <EXTI_GetITStatus>
|
|
1542: 4785 li a5,1
|
|
1544: 02f51563 bne a0,a5,156e <EXTI2_IRQHandler+0x36>
|
|
1548: 842a mv s0,a0
|
|
154a: 4511 li a0,4
|
|
154c: bbeff0ef jal ra,90a <EXTI_ClearITPendingBit>
|
|
1550: 88e1c703 lbu a4,-1906(gp) # 200001ee <outputAgainFlag>
|
|
1554: ef09 bnez a4,156e <EXTI2_IRQHandler+0x36>
|
|
1556: 000045b7 lui a1,0x4
|
|
155a: 4681 li a3,0
|
|
155c: 3e800613 li a2,1000
|
|
1560: a2058593 addi a1,a1,-1504 # 3a20 <Task_outputAgain>
|
|
1564: 92418513 addi a0,gp,-1756 # 20000284 <m_outputAgain>
|
|
1568: 88818723 sb s0,-1906(gp) # 200001ee <outputAgainFlag>
|
|
156c: 29f5 jal 1a68 <TimeSliceOffset_Register>
|
|
156e: 4432 lw s0,12(sp)
|
|
1570: 0141 addi sp,sp,16
|
|
1572: 30200073 mret
|
|
|
|
00001576 <EXTI1_IRQHandler>:
|
|
1576: 4509 li a0,2
|
|
1578: b74ff0ef jal ra,8ec <EXTI_GetITStatus>
|
|
157c: 4785 li a5,1
|
|
157e: 00f51863 bne a0,a5,158e <EXTI1_IRQHandler+0x18>
|
|
1582: 00008537 lui a0,0x8
|
|
1586: da050513 addi a0,a0,-608 # 7da0 <_read+0x44>
|
|
158a: 1f4050ef jal ra,677e <puts>
|
|
158e: 30200073 mret
|
|
|
|
00001592 <PWM_GPIO_Configuration>:
|
|
1592: bdffe2ef jal t0,170 <__riscv_save_0>
|
|
1596: 1141 addi sp,sp,-16
|
|
1598: 4585 li a1,1
|
|
159a: 4521 li a0,8
|
|
159c: 887ff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
15a0: 4585 li a1,1
|
|
15a2: 4511 li a0,4
|
|
15a4: 89dff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
15a8: 20000793 li a5,512
|
|
15ac: 40011437 lui s0,0x40011
|
|
15b0: 827c sh a5,4(sp)
|
|
15b2: 47e1 li a5,24
|
|
15b4: c63e sw a5,12(sp)
|
|
15b6: 004c addi a1,sp,4
|
|
15b8: 478d li a5,3
|
|
15ba: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
15be: c43e sw a5,8(sp)
|
|
15c0: b54ff0ef jal ra,914 <GPIO_Init>
|
|
15c4: 08000793 li a5,128
|
|
15c8: 004c addi a1,sp,4
|
|
15ca: c0040513 addi a0,s0,-1024
|
|
15ce: 827c sh a5,4(sp)
|
|
15d0: b44ff0ef jal ra,914 <GPIO_Init>
|
|
15d4: 0141 addi sp,sp,16
|
|
15d6: bbffe06f j 194 <__riscv_restore_0>
|
|
|
|
000015da <PWM_TIM_Configuration>:
|
|
15da: b97fe2ef jal t0,170 <__riscv_save_0>
|
|
15de: 1101 addi sp,sp,-32
|
|
15e0: 3f4d jal 1592 <PWM_GPIO_Configuration>
|
|
15e2: 40001437 lui s0,0x40001
|
|
15e6: 1df00793 li a5,479
|
|
15ea: 858a mv a1,sp
|
|
15ec: 80040513 addi a0,s0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
15f0: c03e sw a5,0(sp)
|
|
15f2: c202 sw zero,4(sp)
|
|
15f4: 00011423 sh zero,8(sp)
|
|
15f8: 00010523 sb zero,10(sp)
|
|
15fc: 8dfff0ef jal ra,eda <TIM_TimeBaseInit>
|
|
1600: 80040513 addi a0,s0,-2048
|
|
1604: 4585 li a1,1
|
|
1606: a07ff0ef jal ra,100c <TIM_ARRPreloadConfig>
|
|
160a: 67c1 lui a5,0x10
|
|
160c: 06078793 addi a5,a5,96 # 10060 <_data_lma+0x780c>
|
|
1610: 006c addi a1,sp,12
|
|
1612: 80040513 addi a0,s0,-2048
|
|
1616: c83e sw a5,16(sp)
|
|
1618: 00011b23 sh zero,22(sp)
|
|
161c: c602 sw zero,12(sp)
|
|
161e: 933ff0ef jal ra,f50 <TIM_OC4Init>
|
|
1622: 80040513 addi a0,s0,-2048
|
|
1626: 45a1 li a1,8
|
|
1628: 9ffff0ef jal ra,1026 <TIM_OC4PreloadConfig>
|
|
162c: 80040513 addi a0,s0,-2048
|
|
1630: 4585 li a1,1
|
|
1632: 99bff0ef jal ra,fcc <TIM_Cmd>
|
|
1636: 4585 li a1,1
|
|
1638: 80040513 addi a0,s0,-2048
|
|
163c: 9a9ff0ef jal ra,fe4 <TIM_CtrlPWMOutputs>
|
|
1640: 6105 addi sp,sp,32
|
|
1642: b53fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001646 <Set_duty_ratio>:
|
|
1646: 1141 addi sp,sp,-16
|
|
1648: c422 sw s0,8(sp)
|
|
164a: 842a mv s0,a0
|
|
164c: 4108 lw a0,0(a0)
|
|
164e: c24a sw s2,4(sp)
|
|
1650: c04e sw s3,0(sp)
|
|
1652: c606 sw ra,12(sp)
|
|
1654: 4e1040ef jal ra,6334 <__extendsfdf2>
|
|
1658: 000087b7 lui a5,0x8
|
|
165c: dc07a603 lw a2,-576(a5) # 7dc0 <_read+0x64>
|
|
1660: dc47a683 lw a3,-572(a5)
|
|
1664: 892a mv s2,a0
|
|
1666: 89ae mv s3,a1
|
|
1668: 7bd020ef jal ra,4624 <__ledf2>
|
|
166c: 02055f63 bgez a0,16aa <Set_duty_ratio+0x64>
|
|
1670: 000087b7 lui a5,0x8
|
|
1674: db07a783 lw a5,-592(a5) # 7db0 <_read+0x54>
|
|
1678: c01c sw a5,0(s0)
|
|
167a: 000087b7 lui a5,0x8
|
|
167e: db87a583 lw a1,-584(a5) # 7db8 <_read+0x5c>
|
|
1682: 4008 lw a0,0(s0)
|
|
1684: 448040ef jal ra,5acc <__mulsf3>
|
|
1688: 2c3040ef jal ra,614a <__fixunssfsi>
|
|
168c: 01051593 slli a1,a0,0x10
|
|
1690: 40001537 lui a0,0x40001
|
|
1694: 81c1 srli a1,a1,0x10
|
|
1696: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
169a: 9a3ff0ef jal ra,103c <TIM_SetCompare4>
|
|
169e: 40b2 lw ra,12(sp)
|
|
16a0: 4422 lw s0,8(sp)
|
|
16a2: 4912 lw s2,4(sp)
|
|
16a4: 4982 lw s3,0(sp)
|
|
16a6: 0141 addi sp,sp,16
|
|
16a8: 8082 ret
|
|
16aa: 000087b7 lui a5,0x8
|
|
16ae: dc87a603 lw a2,-568(a5) # 7dc8 <_read+0x6c>
|
|
16b2: dcc7a683 lw a3,-564(a5)
|
|
16b6: 854a mv a0,s2
|
|
16b8: 85ce mv a1,s3
|
|
16ba: 6bd020ef jal ra,4576 <__gedf2>
|
|
16be: faa05ee3 blez a0,167a <Set_duty_ratio+0x34>
|
|
16c2: 000087b7 lui a5,0x8
|
|
16c6: db47a783 lw a5,-588(a5) # 7db4 <_read+0x58>
|
|
16ca: b77d j 1678 <Set_duty_ratio+0x32>
|
|
|
|
000016cc <GW_485_Init>:
|
|
16cc: aa5fe2ef jal t0,170 <__riscv_save_0>
|
|
16d0: 7179 addi sp,sp,-48
|
|
16d2: 40011437 lui s0,0x40011
|
|
16d6: 47c1 li a5,16
|
|
16d8: 892a mv s2,a0
|
|
16da: 82fc sh a5,20(sp)
|
|
16dc: 448d li s1,3
|
|
16de: 47c1 li a5,16
|
|
16e0: 084c addi a1,sp,20
|
|
16e2: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
16e6: ce3e sw a5,28(sp)
|
|
16e8: cc26 sw s1,24(sp)
|
|
16ea: a2aff0ef jal ra,914 <GPIO_Init>
|
|
16ee: 4601 li a2,0
|
|
16f0: c0040513 addi a0,s0,-1024
|
|
16f4: 45c1 li a1,16
|
|
16f6: af6ff0ef jal ra,9ec <GPIO_WriteBit>
|
|
16fa: 4585 li a1,1
|
|
16fc: 4521 li a0,8
|
|
16fe: f24ff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
1702: 4585 li a1,1
|
|
1704: 00080537 lui a0,0x80
|
|
1708: f38ff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
170c: 4785 li a5,1
|
|
170e: 82fc sh a5,20(sp)
|
|
1710: 084c addi a1,sp,20
|
|
1712: 47e1 li a5,24
|
|
1714: c0040513 addi a0,s0,-1024
|
|
1718: cc26 sw s1,24(sp)
|
|
171a: ce3e sw a5,28(sp)
|
|
171c: 9f8ff0ef jal ra,914 <GPIO_Init>
|
|
1720: 4489 li s1,2
|
|
1722: 4791 li a5,4
|
|
1724: 084c addi a1,sp,20
|
|
1726: c0040513 addi a0,s0,-1024
|
|
172a: 82e4 sh s1,20(sp)
|
|
172c: 40005437 lui s0,0x40005
|
|
1730: ce3e sw a5,28(sp)
|
|
1732: 9e2ff0ef jal ra,914 <GPIO_Init>
|
|
1736: 100c addi a1,sp,32
|
|
1738: 000c07b7 lui a5,0xc0
|
|
173c: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
1740: d04a sw s2,32(sp)
|
|
1742: d43e sw a5,40(sp)
|
|
1744: d202 sw zero,36(sp)
|
|
1746: 02011623 sh zero,44(sp)
|
|
174a: 945ff0ef jal ra,108e <USART_Init>
|
|
174e: 13d00793 li a5,317
|
|
1752: 867c sh a5,12(sp)
|
|
1754: 0068 addi a0,sp,12
|
|
1756: 4785 li a5,1
|
|
1758: c83e sw a5,16(sp)
|
|
175a: 8744 sb s1,14(sp)
|
|
175c: d88ff0ef jal ra,ce4 <NVIC_Init>
|
|
1760: 4605 li a2,1
|
|
1762: c0040513 addi a0,s0,-1024
|
|
1766: 52500593 li a1,1317
|
|
176a: 9f5ff0ef jal ra,115e <USART_ITConfig>
|
|
176e: 4585 li a1,1
|
|
1770: c0040513 addi a0,s0,-1024
|
|
1774: 9d5ff0ef jal ra,1148 <USART_Cmd>
|
|
1778: 6145 addi sp,sp,48
|
|
177a: a1bfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000177e <BAT_485_Init>:
|
|
177e: 9f3fe2ef jal t0,170 <__riscv_save_0>
|
|
1782: 7179 addi sp,sp,-48
|
|
1784: 40011437 lui s0,0x40011
|
|
1788: 02000793 li a5,32
|
|
178c: 892a mv s2,a0
|
|
178e: 82fc sh a5,20(sp)
|
|
1790: 448d li s1,3
|
|
1792: 47c1 li a5,16
|
|
1794: 084c addi a1,sp,20
|
|
1796: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
179a: ce3e sw a5,28(sp)
|
|
179c: cc26 sw s1,24(sp)
|
|
179e: 976ff0ef jal ra,914 <GPIO_Init>
|
|
17a2: 4601 li a2,0
|
|
17a4: c0040513 addi a0,s0,-1024
|
|
17a8: 02000593 li a1,32
|
|
17ac: a40ff0ef jal ra,9ec <GPIO_WriteBit>
|
|
17b0: 4585 li a1,1
|
|
17b2: 4521 li a0,8
|
|
17b4: e6eff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
17b8: 4585 li a1,1
|
|
17ba: 00040537 lui a0,0x40
|
|
17be: e82ff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
17c2: 40000793 li a5,1024
|
|
17c6: 82fc sh a5,20(sp)
|
|
17c8: 084c addi a1,sp,20
|
|
17ca: 47e1 li a5,24
|
|
17cc: c0040513 addi a0,s0,-1024
|
|
17d0: cc26 sw s1,24(sp)
|
|
17d2: ce3e sw a5,28(sp)
|
|
17d4: 940ff0ef jal ra,914 <GPIO_Init>
|
|
17d8: 6785 lui a5,0x1
|
|
17da: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
17de: 82fc sh a5,20(sp)
|
|
17e0: 084c addi a1,sp,20
|
|
17e2: 4791 li a5,4
|
|
17e4: c0040513 addi a0,s0,-1024
|
|
17e8: ce3e sw a5,28(sp)
|
|
17ea: 40005437 lui s0,0x40005
|
|
17ee: 926ff0ef jal ra,914 <GPIO_Init>
|
|
17f2: 100c addi a1,sp,32
|
|
17f4: 000c07b7 lui a5,0xc0
|
|
17f8: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
17fc: d04a sw s2,32(sp)
|
|
17fe: d43e sw a5,40(sp)
|
|
1800: d202 sw zero,36(sp)
|
|
1802: 02011623 sh zero,44(sp)
|
|
1806: 889ff0ef jal ra,108e <USART_Init>
|
|
180a: 13700793 li a5,311
|
|
180e: 867c sh a5,12(sp)
|
|
1810: 4785 li a5,1
|
|
1812: 875c sb a5,14(sp)
|
|
1814: 0068 addi a0,sp,12
|
|
1816: 4785 li a5,1
|
|
1818: c83e sw a5,16(sp)
|
|
181a: ccaff0ef jal ra,ce4 <NVIC_Init>
|
|
181e: 4605 li a2,1
|
|
1820: 80040513 addi a0,s0,-2048
|
|
1824: 52500593 li a1,1317
|
|
1828: 937ff0ef jal ra,115e <USART_ITConfig>
|
|
182c: 4585 li a1,1
|
|
182e: 80040513 addi a0,s0,-2048
|
|
1832: 917ff0ef jal ra,1148 <USART_Cmd>
|
|
1836: 6145 addi sp,sp,48
|
|
1838: 95dfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000183c <USARTx_SendByte>:
|
|
183c: 935fe2ef jal t0,170 <__riscv_save_0>
|
|
1840: 842a mv s0,a0
|
|
1842: 953ff0ef jal ra,1194 <USART_SendData>
|
|
1846: 08000593 li a1,128
|
|
184a: 8522 mv a0,s0
|
|
184c: 959ff0ef jal ra,11a4 <USART_GetFlagStatus>
|
|
1850: d97d beqz a0,1846 <USARTx_SendByte+0xa>
|
|
1852: 943fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001856 <USART3_IRQHandler>:
|
|
1856: 1141 addi sp,sp,-16
|
|
1858: c622 sw s0,12(sp)
|
|
185a: 40005437 lui s0,0x40005
|
|
185e: 52500593 li a1,1317
|
|
1862: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
1866: 949ff0ef jal ra,11ae <USART_GetITStatus>
|
|
186a: c50d beqz a0,1894 <USART3_IRQHandler+0x3e>
|
|
186c: 80040513 addi a0,s0,-2048
|
|
1870: 92dff0ef jal ra,119c <USART_ReceiveData>
|
|
1874: 0ff57593 andi a1,a0,255
|
|
1878: 82b18c23 sb a1,-1992(gp) # 20000198 <USART3_Rbuffer>
|
|
187c: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
1880: 4d1c lw a5,24(a0)
|
|
1882: 4910 lw a2,16(a0)
|
|
1884: 4954 lw a3,20(a0)
|
|
1886: 0785 addi a5,a5,1
|
|
1888: 02c7e7b3 rem a5,a5,a2
|
|
188c: 00d78463 beq a5,a3,1894 <USART3_IRQHandler+0x3e>
|
|
1890: 0531 addi a0,a0,12
|
|
1892: 2c71 jal 1b2e <InRingQueue>
|
|
1894: 4432 lw s0,12(sp)
|
|
1896: 0141 addi sp,sp,16
|
|
1898: 30200073 mret
|
|
|
|
0000189c <USART4_IRQHandler>:
|
|
189c: 1141 addi sp,sp,-16
|
|
189e: c622 sw s0,12(sp)
|
|
18a0: 40005437 lui s0,0x40005
|
|
18a4: 52500593 li a1,1317
|
|
18a8: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
18ac: 903ff0ef jal ra,11ae <USART_GetITStatus>
|
|
18b0: c50d beqz a0,18da <USART4_IRQHandler+0x3e>
|
|
18b2: c0040513 addi a0,s0,-1024
|
|
18b6: 8e7ff0ef jal ra,119c <USART_ReceiveData>
|
|
18ba: 0ff57593 andi a1,a0,255
|
|
18be: 82b18e23 sb a1,-1988(gp) # 2000019c <USART4_Rbuffer>
|
|
18c2: 8a41a503 lw a0,-1884(gp) # 20000204 <g_gw485_uart4_handle>
|
|
18c6: 4d1c lw a5,24(a0)
|
|
18c8: 4910 lw a2,16(a0)
|
|
18ca: 4954 lw a3,20(a0)
|
|
18cc: 0785 addi a5,a5,1
|
|
18ce: 02c7e7b3 rem a5,a5,a2
|
|
18d2: 00d78463 beq a5,a3,18da <USART4_IRQHandler+0x3e>
|
|
18d6: 0531 addi a0,a0,12
|
|
18d8: 2c99 jal 1b2e <InRingQueue>
|
|
18da: 4432 lw s0,12(sp)
|
|
18dc: 0141 addi sp,sp,16
|
|
18de: 30200073 mret
|
|
|
|
000018e2 <TIM3_Int_Init>:
|
|
18e2: 88ffe2ef jal t0,170 <__riscv_save_0>
|
|
18e6: 1101 addi sp,sp,-32
|
|
18e8: 84aa mv s1,a0
|
|
18ea: 842e mv s0,a1
|
|
18ec: 4509 li a0,2
|
|
18ee: 4585 li a1,1
|
|
18f0: d50ff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
18f4: 84e0 sh s0,24(sp)
|
|
18f6: 40000437 lui s0,0x40000
|
|
18fa: 084c addi a1,sp,20
|
|
18fc: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
1900: ca26 sw s1,20(sp)
|
|
1902: 00011e23 sh zero,28(sp)
|
|
1906: 00011d23 sh zero,26(sp)
|
|
190a: dd0ff0ef jal ra,eda <TIM_TimeBaseInit>
|
|
190e: 4605 li a2,1
|
|
1910: 4585 li a1,1
|
|
1912: 40040513 addi a0,s0,1024
|
|
1916: ee4ff0ef jal ra,ffa <TIM_ITConfig>
|
|
191a: 02d00793 li a5,45
|
|
191e: 867c sh a5,12(sp)
|
|
1920: 4785 li a5,1
|
|
1922: 875c sb a5,14(sp)
|
|
1924: 0068 addi a0,sp,12
|
|
1926: 4785 li a5,1
|
|
1928: c83e sw a5,16(sp)
|
|
192a: bbaff0ef jal ra,ce4 <NVIC_Init>
|
|
192e: 6105 addi sp,sp,32
|
|
1930: 865fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001934 <TIM3_Init>:
|
|
1934: 83dfe2ef jal t0,170 <__riscv_save_0>
|
|
1938: 200007b7 lui a5,0x20000
|
|
193c: 1607a583 lw a1,352(a5) # 20000160 <SystemCoreClock>
|
|
1940: 6789 lui a5,0x2
|
|
1942: 71078793 addi a5,a5,1808 # 2710 <SL_ReadRegisterBatteryVoltage+0xe>
|
|
1946: 02f5d5b3 divu a1,a1,a5
|
|
194a: 157d addi a0,a0,-1
|
|
194c: 0542 slli a0,a0,0x10
|
|
194e: 8141 srli a0,a0,0x10
|
|
1950: 15fd addi a1,a1,-1
|
|
1952: 05c2 slli a1,a1,0x10
|
|
1954: 81c1 srli a1,a1,0x10
|
|
1956: 3771 jal 18e2 <TIM3_Int_Init>
|
|
1958: 83dfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000195c <TIM3_IRQHandler>:
|
|
195c: 1141 addi sp,sp,-16
|
|
195e: c622 sw s0,12(sp)
|
|
1960: 40000437 lui s0,0x40000
|
|
1964: 4585 li a1,1
|
|
1966: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
196a: f00ff0ef jal ra,106a <TIM_GetITStatus>
|
|
196e: c901 beqz a0,197e <TIM3_IRQHandler+0x22>
|
|
1970: 4585 li a1,1
|
|
1972: 40040513 addi a0,s0,1024
|
|
1976: f0cff0ef jal ra,1082 <TIM_ClearITPendingBit>
|
|
197a: 2bf000ef jal ra,2438 <test>
|
|
197e: 4432 lw s0,12(sp)
|
|
1980: 0141 addi sp,sp,16
|
|
1982: 30200073 mret
|
|
|
|
00001986 <TIM2_Int_Init>:
|
|
1986: feafe2ef jal t0,170 <__riscv_save_0>
|
|
198a: 1101 addi sp,sp,-32
|
|
198c: 842e mv s0,a1
|
|
198e: 84aa mv s1,a0
|
|
1990: 4585 li a1,1
|
|
1992: 4505 li a0,1
|
|
1994: cacff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
1998: 084c addi a1,sp,20
|
|
199a: 40000537 lui a0,0x40000
|
|
199e: ca26 sw s1,20(sp)
|
|
19a0: 84e0 sh s0,24(sp)
|
|
19a2: 00011e23 sh zero,28(sp)
|
|
19a6: 00011d23 sh zero,26(sp)
|
|
19aa: d30ff0ef jal ra,eda <TIM_TimeBaseInit>
|
|
19ae: 4605 li a2,1
|
|
19b0: 4585 li a1,1
|
|
19b2: 40000537 lui a0,0x40000
|
|
19b6: e44ff0ef jal ra,ffa <TIM_ITConfig>
|
|
19ba: 02c00793 li a5,44
|
|
19be: 867c sh a5,12(sp)
|
|
19c0: 478d li a5,3
|
|
19c2: 875c sb a5,14(sp)
|
|
19c4: 0068 addi a0,sp,12
|
|
19c6: 4785 li a5,1
|
|
19c8: c83e sw a5,16(sp)
|
|
19ca: b1aff0ef jal ra,ce4 <NVIC_Init>
|
|
19ce: 4585 li a1,1
|
|
19d0: 40000537 lui a0,0x40000
|
|
19d4: df8ff0ef jal ra,fcc <TIM_Cmd>
|
|
19d8: 6105 addi sp,sp,32
|
|
19da: fbafe06f j 194 <__riscv_restore_0>
|
|
|
|
000019de <TIM2_Init>:
|
|
19de: f92fe2ef jal t0,170 <__riscv_save_0>
|
|
19e2: 200007b7 lui a5,0x20000
|
|
19e6: 1607a583 lw a1,352(a5) # 20000160 <SystemCoreClock>
|
|
19ea: 6789 lui a5,0x2
|
|
19ec: 71078793 addi a5,a5,1808 # 2710 <SL_ReadRegisterBatteryVoltage+0xe>
|
|
19f0: 02f5d5b3 divu a1,a1,a5
|
|
19f4: 47a9 li a5,10
|
|
19f6: 02f50533 mul a0,a0,a5
|
|
19fa: 15fd addi a1,a1,-1
|
|
19fc: 05c2 slli a1,a1,0x10
|
|
19fe: 81c1 srli a1,a1,0x10
|
|
1a00: 157d addi a0,a0,-1
|
|
1a02: 0542 slli a0,a0,0x10
|
|
1a04: 8141 srli a0,a0,0x10
|
|
1a06: 3741 jal 1986 <TIM2_Int_Init>
|
|
1a08: f8cfe06f j 194 <__riscv_restore_0>
|
|
|
|
00001a0c <TIM2_IRQHandler>:
|
|
1a0c: 4585 li a1,1
|
|
1a0e: 40000537 lui a0,0x40000
|
|
1a12: e58ff0ef jal ra,106a <TIM_GetITStatus>
|
|
1a16: c519 beqz a0,1a24 <TIM2_IRQHandler+0x18>
|
|
1a18: 4585 li a1,1
|
|
1a1a: 40000537 lui a0,0x40000
|
|
1a1e: e64ff0ef jal ra,1082 <TIM_ClearITPendingBit>
|
|
1a22: 28d1 jal 1af6 <TimeSliceOffset_Produce>
|
|
1a24: 30200073 mret
|
|
|
|
00001a28 <SysTick_Handler>:
|
|
1a28: e000f7b7 lui a5,0xe000f
|
|
1a2c: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xc000a004>
|
|
1a30: 20d9 jal 1af6 <TimeSliceOffset_Produce>
|
|
1a32: 30200073 mret
|
|
|
|
00001a36 <TIM1_UP_IRQHandler>:
|
|
1a36: 1141 addi sp,sp,-16
|
|
1a38: c622 sw s0,12(sp)
|
|
1a3a: 40013437 lui s0,0x40013
|
|
1a3e: 4585 li a1,1
|
|
1a40: c0040513 addi a0,s0,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
1a44: e26ff0ef jal ra,106a <TIM_GetITStatus>
|
|
1a48: cd01 beqz a0,1a60 <TIM1_UP_IRQHandler+0x2a>
|
|
1a4a: c0040513 addi a0,s0,-1024
|
|
1a4e: 4585 li a1,1
|
|
1a50: e32ff0ef jal ra,1082 <TIM_ClearITPendingBit>
|
|
1a54: 00008537 lui a0,0x8
|
|
1a58: dd050513 addi a0,a0,-560 # 7dd0 <_read+0x74>
|
|
1a5c: 523040ef jal ra,677e <puts>
|
|
1a60: 4432 lw s0,12(sp)
|
|
1a62: 0141 addi sp,sp,16
|
|
1a64: 30200073 mret
|
|
|
|
00001a68 <TimeSliceOffset_Register>:
|
|
1a68: c91d beqz a0,1a9e <TimeSliceOffset_Register+0x36>
|
|
1a6a: 96b2 add a3,a3,a2
|
|
1a6c: 06c2 slli a3,a3,0x10
|
|
1a6e: 82c1 srli a3,a3,0x10
|
|
1a70: a152 sh a2,4(a0)
|
|
1a72: a136 sh a3,2(a0)
|
|
1a74: c50c sw a1,8(a0)
|
|
1a76: ee09 bnez a2,1a90 <TimeSliceOffset_Register+0x28>
|
|
1a78: 4785 li a5,1
|
|
1a7a: a11c sb a5,0(a0)
|
|
1a7c: 8401a683 lw a3,-1984(gp) # 200001a0 <pTimeSliceList>
|
|
1a80: 84018793 addi a5,gp,-1984 # 200001a0 <pTimeSliceList>
|
|
1a84: 8736 mv a4,a3
|
|
1a86: eb01 bnez a4,1a96 <TimeSliceOffset_Register+0x2e>
|
|
1a88: c554 sw a3,12(a0)
|
|
1a8a: c388 sw a0,0(a5)
|
|
1a8c: 4501 li a0,0
|
|
1a8e: 8082 ret
|
|
1a90: 00050023 sb zero,0(a0)
|
|
1a94: b7e5 j 1a7c <TimeSliceOffset_Register+0x14>
|
|
1a96: 00a70663 beq a4,a0,1aa2 <TimeSliceOffset_Register+0x3a>
|
|
1a9a: 4758 lw a4,12(a4)
|
|
1a9c: b7ed j 1a86 <TimeSliceOffset_Register+0x1e>
|
|
1a9e: 557d li a0,-1
|
|
1aa0: 8082 ret
|
|
1aa2: 4505 li a0,1
|
|
1aa4: 8082 ret
|
|
|
|
00001aa6 <TimeSliceOffset_Unregister>:
|
|
1aa6: c50d beqz a0,1ad0 <TimeSliceOffset_Unregister+0x2a>
|
|
1aa8: 8401a783 lw a5,-1984(gp) # 200001a0 <pTimeSliceList>
|
|
1aac: 84018713 addi a4,gp,-1984 # 200001a0 <pTimeSliceList>
|
|
1ab0: e399 bnez a5,1ab6 <TimeSliceOffset_Unregister+0x10>
|
|
1ab2: 4505 li a0,1
|
|
1ab4: 8082 ret
|
|
1ab6: 47d4 lw a3,12(a5)
|
|
1ab8: 00a69663 bne a3,a0,1ac4 <TimeSliceOffset_Unregister+0x1e>
|
|
1abc: 4558 lw a4,12(a0)
|
|
1abe: c7d8 sw a4,12(a5)
|
|
1ac0: 4501 li a0,0
|
|
1ac2: 8082 ret
|
|
1ac4: 00a79463 bne a5,a0,1acc <TimeSliceOffset_Unregister+0x26>
|
|
1ac8: c314 sw a3,0(a4)
|
|
1aca: bfdd j 1ac0 <TimeSliceOffset_Unregister+0x1a>
|
|
1acc: 87b6 mv a5,a3
|
|
1ace: b7cd j 1ab0 <TimeSliceOffset_Unregister+0xa>
|
|
1ad0: 557d li a0,-1
|
|
1ad2: 8082 ret
|
|
|
|
00001ad4 <TimeSliceOffset_Start>:
|
|
1ad4: e9cfe2ef jal t0,170 <__riscv_save_0>
|
|
1ad8: 8401a403 lw s0,-1984(gp) # 200001a0 <pTimeSliceList>
|
|
1adc: dc75 beqz s0,1ad8 <TimeSliceOffset_Start+0x4>
|
|
1ade: 201c lbu a5,0(s0)
|
|
1ae0: 0ff7f793 andi a5,a5,255
|
|
1ae4: c799 beqz a5,1af2 <TimeSliceOffset_Start+0x1e>
|
|
1ae6: 205e lhu a5,4(s0)
|
|
1ae8: c399 beqz a5,1aee <TimeSliceOffset_Start+0x1a>
|
|
1aea: 00040023 sb zero,0(s0)
|
|
1aee: 441c lw a5,8(s0)
|
|
1af0: 9782 jalr a5
|
|
1af2: 4440 lw s0,12(s0)
|
|
1af4: b7e5 j 1adc <TimeSliceOffset_Start+0x8>
|
|
|
|
00001af6 <TimeSliceOffset_Produce>:
|
|
1af6: 8401a783 lw a5,-1984(gp) # 200001a0 <pTimeSliceList>
|
|
1afa: 4605 li a2,1
|
|
1afc: e391 bnez a5,1b00 <TimeSliceOffset_Produce+0xa>
|
|
1afe: 8082 ret
|
|
1b00: 23d6 lhu a3,4(a5)
|
|
1b02: ce81 beqz a3,1b1a <TimeSliceOffset_Produce+0x24>
|
|
1b04: 23ba lhu a4,2(a5)
|
|
1b06: 177d addi a4,a4,-1
|
|
1b08: 0742 slli a4,a4,0x10
|
|
1b0a: 8341 srli a4,a4,0x10
|
|
1b0c: a3ba sh a4,2(a5)
|
|
1b0e: 23ba lhu a4,2(a5)
|
|
1b10: 0742 slli a4,a4,0x10
|
|
1b12: 8341 srli a4,a4,0x10
|
|
1b14: e319 bnez a4,1b1a <TimeSliceOffset_Produce+0x24>
|
|
1b16: a390 sb a2,0(a5)
|
|
1b18: a3b6 sh a3,2(a5)
|
|
1b1a: 47dc lw a5,12(a5)
|
|
1b1c: b7c5 j 1afc <TimeSliceOffset_Produce+0x6>
|
|
|
|
00001b1e <InitRingQueue>:
|
|
1b1e: 00052623 sw zero,12(a0)
|
|
1b22: c10c sw a1,0(a0)
|
|
1b24: c150 sw a2,4(a0)
|
|
1b26: 00052423 sw zero,8(a0)
|
|
1b2a: 4505 li a0,1
|
|
1b2c: 8082 ret
|
|
|
|
00001b2e <InRingQueue>:
|
|
1b2e: 455c lw a5,12(a0)
|
|
1b30: 4154 lw a3,4(a0)
|
|
1b32: 4518 lw a4,8(a0)
|
|
1b34: 0785 addi a5,a5,1
|
|
1b36: 02d7e7b3 rem a5,a5,a3
|
|
1b3a: 00e78e63 beq a5,a4,1b56 <InRingQueue+0x28>
|
|
1b3e: 4558 lw a4,12(a0)
|
|
1b40: 411c lw a5,0(a0)
|
|
1b42: 97ba add a5,a5,a4
|
|
1b44: a38c sb a1,0(a5)
|
|
1b46: 455c lw a5,12(a0)
|
|
1b48: 4158 lw a4,4(a0)
|
|
1b4a: 0785 addi a5,a5,1
|
|
1b4c: 02e7e7b3 rem a5,a5,a4
|
|
1b50: c55c sw a5,12(a0)
|
|
1b52: 4505 li a0,1
|
|
1b54: 8082 ret
|
|
1b56: 5579 li a0,-2
|
|
1b58: 8082 ret
|
|
|
|
00001b5a <OutRingQueue>:
|
|
1b5a: 4518 lw a4,8(a0)
|
|
1b5c: 455c lw a5,12(a0)
|
|
1b5e: 00f70f63 beq a4,a5,1b7c <OutRingQueue+0x22>
|
|
1b62: 4518 lw a4,8(a0)
|
|
1b64: 411c lw a5,0(a0)
|
|
1b66: 97ba add a5,a5,a4
|
|
1b68: 239c lbu a5,0(a5)
|
|
1b6a: a19c sb a5,0(a1)
|
|
1b6c: 451c lw a5,8(a0)
|
|
1b6e: 4158 lw a4,4(a0)
|
|
1b70: 0785 addi a5,a5,1
|
|
1b72: 02e7e7b3 rem a5,a5,a4
|
|
1b76: c51c sw a5,8(a0)
|
|
1b78: 4505 li a0,1
|
|
1b7a: 8082 ret
|
|
1b7c: 4501 li a0,0
|
|
1b7e: 8082 ret
|
|
|
|
00001b80 <RingQueueLength>:
|
|
1b80: 455c lw a5,12(a0)
|
|
1b82: 4518 lw a4,8(a0)
|
|
1b84: 4148 lw a0,4(a0)
|
|
1b86: 8f99 sub a5,a5,a4
|
|
1b88: 97aa add a5,a5,a0
|
|
1b8a: 02a7e533 rem a0,a5,a0
|
|
1b8e: 8082 ret
|
|
|
|
00001b90 <Delay_Init>:
|
|
1b90: 200007b7 lui a5,0x20000
|
|
1b94: 1607a783 lw a5,352(a5) # 20000160 <SystemCoreClock>
|
|
1b98: 6709 lui a4,0x2
|
|
1b9a: f4070713 addi a4,a4,-192 # 1f40 <read_config_info+0x7a>
|
|
1b9e: 02e7d7b3 divu a5,a5,a4
|
|
1ba2: 07c2 slli a5,a5,0x10
|
|
1ba4: 83c1 srli a5,a5,0x10
|
|
1ba6: 84f19323 sh a5,-1978(gp) # 200001a6 <p_us>
|
|
1baa: 84f19223 sh a5,-1980(gp) # 200001a4 <p_ms>
|
|
1bae: 8082 ret
|
|
|
|
00001bb0 <Delay_Ms>:
|
|
1bb0: e000f7b7 lui a5,0xe000f
|
|
1bb4: 43d8 lw a4,4(a5)
|
|
1bb6: 4681 li a3,0
|
|
1bb8: 9b79 andi a4,a4,-2
|
|
1bba: c3d8 sw a4,4(a5)
|
|
1bbc: 8441d703 lhu a4,-1980(gp) # 200001a4 <p_ms>
|
|
1bc0: 02a70633 mul a2,a4,a0
|
|
1bc4: cb90 sw a2,16(a5)
|
|
1bc6: cbd4 sw a3,20(a5)
|
|
1bc8: 4398 lw a4,0(a5)
|
|
1bca: 01076713 ori a4,a4,16
|
|
1bce: c398 sw a4,0(a5)
|
|
1bd0: 4398 lw a4,0(a5)
|
|
1bd2: 02176713 ori a4,a4,33
|
|
1bd6: c398 sw a4,0(a5)
|
|
1bd8: 43d8 lw a4,4(a5)
|
|
1bda: 8b05 andi a4,a4,1
|
|
1bdc: df75 beqz a4,1bd8 <Delay_Ms+0x28>
|
|
1bde: 4398 lw a4,0(a5)
|
|
1be0: 9b79 andi a4,a4,-2
|
|
1be2: c398 sw a4,0(a5)
|
|
1be4: 8082 ret
|
|
|
|
00001be6 <USART_Printf_Init>:
|
|
1be6: d8afe2ef jal t0,170 <__riscv_save_0>
|
|
1bea: 842a mv s0,a0
|
|
1bec: 6511 lui a0,0x4
|
|
1bee: 1101 addi sp,sp,-32
|
|
1bf0: 4585 li a1,1
|
|
1bf2: 0511 addi a0,a0,4
|
|
1bf4: a2eff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
1bf8: 20000793 li a5,512
|
|
1bfc: 827c sh a5,4(sp)
|
|
1bfe: 40011537 lui a0,0x40011
|
|
1c02: 478d li a5,3
|
|
1c04: c43e sw a5,8(sp)
|
|
1c06: 004c addi a1,sp,4
|
|
1c08: 47e1 li a5,24
|
|
1c0a: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1c0e: c63e sw a5,12(sp)
|
|
1c10: d05fe0ef jal ra,914 <GPIO_Init>
|
|
1c14: c822 sw s0,16(sp)
|
|
1c16: 40014437 lui s0,0x40014
|
|
1c1a: 000807b7 lui a5,0x80
|
|
1c1e: 080c addi a1,sp,16
|
|
1c20: 80040513 addi a0,s0,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1c24: cc3e sw a5,24(sp)
|
|
1c26: ca02 sw zero,20(sp)
|
|
1c28: 00011e23 sh zero,28(sp)
|
|
1c2c: c62ff0ef jal ra,108e <USART_Init>
|
|
1c30: 4585 li a1,1
|
|
1c32: 80040513 addi a0,s0,-2048
|
|
1c36: d12ff0ef jal ra,1148 <USART_Cmd>
|
|
1c3a: 6105 addi sp,sp,32
|
|
1c3c: d58fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001c40 <_write>:
|
|
1c40: d16fe2ef jal t0,156 <__riscv_save_4>
|
|
1c44: 400144b7 lui s1,0x40014
|
|
1c48: 89ae mv s3,a1
|
|
1c4a: 8932 mv s2,a2
|
|
1c4c: 4401 li s0,0
|
|
1c4e: 80048493 addi s1,s1,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1c52: 01244563 blt s0,s2,1c5c <_write+0x1c>
|
|
1c56: 854a mv a0,s2
|
|
1c58: d32fe06f j 18a <__riscv_restore_4>
|
|
1c5c: 04000593 li a1,64
|
|
1c60: 8526 mv a0,s1
|
|
1c62: d42ff0ef jal ra,11a4 <USART_GetFlagStatus>
|
|
1c66: d97d beqz a0,1c5c <_write+0x1c>
|
|
1c68: 008987b3 add a5,s3,s0
|
|
1c6c: 00078583 lb a1,0(a5) # 80000 <_data_lma+0x777ac>
|
|
1c70: 8526 mv a0,s1
|
|
1c72: 0405 addi s0,s0,1
|
|
1c74: 05c2 slli a1,a1,0x10
|
|
1c76: 81c1 srli a1,a1,0x10
|
|
1c78: d1cff0ef jal ra,1194 <USART_SendData>
|
|
1c7c: bfd9 j 1c52 <_write+0x12>
|
|
|
|
00001c7e <_sbrk>:
|
|
1c7e: 80818713 addi a4,gp,-2040 # 20000168 <curbrk.5007>
|
|
1c82: 431c lw a5,0(a4)
|
|
1c84: bac18693 addi a3,gp,-1108 # 2000050c <_ebss>
|
|
1c88: 953e add a0,a0,a5
|
|
1c8a: 00d56b63 bltu a0,a3,1ca0 <_sbrk+0x22>
|
|
1c8e: 200056b7 lui a3,0x20005
|
|
1c92: 80068693 addi a3,a3,-2048 # 20004800 <_heap_end>
|
|
1c96: 00a6e563 bltu a3,a0,1ca0 <_sbrk+0x22>
|
|
1c9a: c308 sw a0,0(a4)
|
|
1c9c: 853e mv a0,a5
|
|
1c9e: 8082 ret
|
|
1ca0: 57fd li a5,-1
|
|
1ca2: bfed j 1c9c <_sbrk+0x1e>
|
|
|
|
00001ca4 <Get_ConversionVal>:
|
|
1ca4: 83419703 lh a4,-1996(gp) # 20000194 <Calibrattion_Val>
|
|
1ca8: 4781 li a5,0
|
|
1caa: 972a add a4,a4,a0
|
|
1cac: 00074f63 bltz a4,1cca <Get_ConversionVal+0x26>
|
|
1cb0: cd09 beqz a0,1cca <Get_ConversionVal+0x26>
|
|
1cb2: 6605 lui a2,0x1
|
|
1cb4: fff60693 addi a3,a2,-1 # fff <TIM_ITConfig+0x5>
|
|
1cb8: 87b6 mv a5,a3
|
|
1cba: 00c75863 bge a4,a2,1cca <Get_ConversionVal+0x26>
|
|
1cbe: 87aa mv a5,a0
|
|
1cc0: 00d50563 beq a0,a3,1cca <Get_ConversionVal+0x26>
|
|
1cc4: 01071793 slli a5,a4,0x10
|
|
1cc8: 83c1 srli a5,a5,0x10
|
|
1cca: 853e mv a0,a5
|
|
1ccc: 8082 ret
|
|
|
|
00001cce <middleAverageFilter>:
|
|
1cce: c88fe2ef jal t0,156 <__riscv_save_4>
|
|
1cd2: 1141 addi sp,sp,-16
|
|
1cd4: 40012437 lui s0,0x40012
|
|
1cd8: 89aa mv s3,a0
|
|
1cda: 0044 addi s1,sp,4
|
|
1cdc: 01010913 addi s2,sp,16
|
|
1ce0: 40040413 addi s0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
1ce4: 85ce mv a1,s3
|
|
1ce6: 8522 mv a0,s0
|
|
1ce8: 4695 li a3,5
|
|
1cea: 4605 li a2,1
|
|
1cec: 8a7fe0ef jal ra,592 <ADC_RegularChannelConfig>
|
|
1cf0: 4585 li a1,1
|
|
1cf2: 8522 mv a0,s0
|
|
1cf4: 887fe0ef jal ra,57a <ADC_SoftwareStartConvCmd>
|
|
1cf8: 4589 li a1,2
|
|
1cfa: 8522 mv a0,s0
|
|
1cfc: 957fe0ef jal ra,652 <ADC_GetFlagStatus>
|
|
1d00: dd65 beqz a0,1cf8 <middleAverageFilter+0x2a>
|
|
1d02: 8522 mv a0,s0
|
|
1d04: 947fe0ef jal ra,64a <ADC_GetConversionValue>
|
|
1d08: 0542 slli a0,a0,0x10
|
|
1d0a: 8541 srai a0,a0,0x10
|
|
1d0c: 3f61 jal 1ca4 <Get_ConversionVal>
|
|
1d0e: a08a sh a0,0(s1)
|
|
1d10: 0489 addi s1,s1,2
|
|
1d12: fc9919e3 bne s2,s1,1ce4 <middleAverageFilter+0x16>
|
|
1d16: 4715 li a4,5
|
|
1d18: 4781 li a5,0
|
|
1d1a: a035 j 1d46 <middleAverageFilter+0x78>
|
|
1d1c: 00179613 slli a2,a5,0x1
|
|
1d20: 0814 addi a3,sp,16
|
|
1d22: 0785 addi a5,a5,1
|
|
1d24: 9636 add a2,a2,a3
|
|
1d26: 0808 addi a0,sp,16
|
|
1d28: 00179693 slli a3,a5,0x1
|
|
1d2c: 96aa add a3,a3,a0
|
|
1d2e: ff465583 lhu a1,-12(a2)
|
|
1d32: ff46d503 lhu a0,-12(a3)
|
|
1d36: 00b57663 bgeu a0,a1,1d42 <middleAverageFilter+0x74>
|
|
1d3a: fea61a23 sh a0,-12(a2)
|
|
1d3e: feb69a23 sh a1,-12(a3)
|
|
1d42: 07c2 slli a5,a5,0x10
|
|
1d44: 83c1 srli a5,a5,0x10
|
|
1d46: fce7cbe3 blt a5,a4,1d1c <middleAverageFilter+0x4e>
|
|
1d4a: 177d addi a4,a4,-1
|
|
1d4c: f771 bnez a4,1d18 <middleAverageFilter+0x4a>
|
|
1d4e: 8428 lhu a0,8(sp)
|
|
1d50: 853c lhu a5,10(sp)
|
|
1d52: 0141 addi sp,sp,16
|
|
1d54: 953e add a0,a0,a5
|
|
1d56: 0542 slli a0,a0,0x10
|
|
1d58: 8141 srli a0,a0,0x10
|
|
1d5a: 8105 srli a0,a0,0x1
|
|
1d5c: c2efe06f j 18a <__riscv_restore_4>
|
|
|
|
00001d60 <get_CHG_CURR>:
|
|
1d60: c10fe2ef jal t0,170 <__riscv_save_0>
|
|
1d64: 4505 li a0,1
|
|
1d66: 37a5 jal 1cce <middleAverageFilter>
|
|
1d68: 4fe040ef jal ra,6266 <__floatunsisf>
|
|
1d6c: 000087b7 lui a5,0x8
|
|
1d70: de07a583 lw a1,-544(a5) # 7de0 <_read+0x84>
|
|
1d74: 139030ef jal ra,56ac <__divsf3>
|
|
1d78: 5bc040ef jal ra,6334 <__extendsfdf2>
|
|
1d7c: 000087b7 lui a5,0x8
|
|
1d80: de87a603 lw a2,-536(a5) # 7de8 <_read+0x8c>
|
|
1d84: dec7a683 lw a3,-532(a5)
|
|
1d88: 153020ef jal ra,46da <__muldf3>
|
|
1d8c: 000087b7 lui a5,0x8
|
|
1d90: df07a603 lw a2,-528(a5) # 7df0 <_read+0x94>
|
|
1d94: df47a683 lw a3,-524(a5)
|
|
1d98: 143020ef jal ra,46da <__muldf3>
|
|
1d9c: 644040ef jal ra,63e0 <__truncdfsf2>
|
|
1da0: bf4fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001da4 <get_PV_VOLT_OUT>:
|
|
1da4: bccfe2ef jal t0,170 <__riscv_save_0>
|
|
1da8: 4509 li a0,2
|
|
1daa: 3715 jal 1cce <middleAverageFilter>
|
|
1dac: 4ba040ef jal ra,6266 <__floatunsisf>
|
|
1db0: 000087b7 lui a5,0x8
|
|
1db4: de07a583 lw a1,-544(a5) # 7de0 <_read+0x84>
|
|
1db8: 0f5030ef jal ra,56ac <__divsf3>
|
|
1dbc: 578040ef jal ra,6334 <__extendsfdf2>
|
|
1dc0: 000087b7 lui a5,0x8
|
|
1dc4: de87a603 lw a2,-536(a5) # 7de8 <_read+0x8c>
|
|
1dc8: dec7a683 lw a3,-532(a5)
|
|
1dcc: 10f020ef jal ra,46da <__muldf3>
|
|
1dd0: 000087b7 lui a5,0x8
|
|
1dd4: e107a603 lw a2,-496(a5) # 7e10 <_read+0xb4>
|
|
1dd8: e147a683 lw a3,-492(a5)
|
|
1ddc: 0ff020ef jal ra,46da <__muldf3>
|
|
1de0: 600040ef jal ra,63e0 <__truncdfsf2>
|
|
1de4: bb0fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001de8 <get_DSG_CURR>:
|
|
1de8: b88fe2ef jal t0,170 <__riscv_save_0>
|
|
1dec: 450d li a0,3
|
|
1dee: 35c5 jal 1cce <middleAverageFilter>
|
|
1df0: 476040ef jal ra,6266 <__floatunsisf>
|
|
1df4: 000087b7 lui a5,0x8
|
|
1df8: de07a583 lw a1,-544(a5) # 7de0 <_read+0x84>
|
|
1dfc: 0b1030ef jal ra,56ac <__divsf3>
|
|
1e00: 534040ef jal ra,6334 <__extendsfdf2>
|
|
1e04: 000087b7 lui a5,0x8
|
|
1e08: de87a603 lw a2,-536(a5) # 7de8 <_read+0x8c>
|
|
1e0c: dec7a683 lw a3,-532(a5)
|
|
1e10: 0cb020ef jal ra,46da <__muldf3>
|
|
1e14: 000087b7 lui a5,0x8
|
|
1e18: df07a603 lw a2,-528(a5) # 7df0 <_read+0x94>
|
|
1e1c: df47a683 lw a3,-524(a5)
|
|
1e20: 0bb020ef jal ra,46da <__muldf3>
|
|
1e24: 5bc040ef jal ra,63e0 <__truncdfsf2>
|
|
1e28: b6cfe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e2c <get_PV1_VOLT_IN>:
|
|
1e2c: b44fe2ef jal t0,170 <__riscv_save_0>
|
|
1e30: 4511 li a0,4
|
|
1e32: 3d71 jal 1cce <middleAverageFilter>
|
|
1e34: 432040ef jal ra,6266 <__floatunsisf>
|
|
1e38: 000087b7 lui a5,0x8
|
|
1e3c: de07a583 lw a1,-544(a5) # 7de0 <_read+0x84>
|
|
1e40: 06d030ef jal ra,56ac <__divsf3>
|
|
1e44: 4f0040ef jal ra,6334 <__extendsfdf2>
|
|
1e48: 000087b7 lui a5,0x8
|
|
1e4c: de87a603 lw a2,-536(a5) # 7de8 <_read+0x8c>
|
|
1e50: dec7a683 lw a3,-532(a5)
|
|
1e54: 087020ef jal ra,46da <__muldf3>
|
|
1e58: 000087b7 lui a5,0x8
|
|
1e5c: e087a603 lw a2,-504(a5) # 7e08 <_read+0xac>
|
|
1e60: e0c7a683 lw a3,-500(a5)
|
|
1e64: 077020ef jal ra,46da <__muldf3>
|
|
1e68: 578040ef jal ra,63e0 <__truncdfsf2>
|
|
1e6c: b28fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e70 <get_MOSFET_Temper>:
|
|
1e70: b00fe2ef jal t0,170 <__riscv_save_0>
|
|
1e74: 4519 li a0,6
|
|
1e76: 3da1 jal 1cce <middleAverageFilter>
|
|
1e78: 67a1 lui a5,0x8
|
|
1e7a: e1878793 addi a5,a5,-488 # 7e18 <mosTemperADC>
|
|
1e7e: 4701 li a4,0
|
|
1e80: 0f100693 li a3,241
|
|
1e84: 2392 lhu a2,0(a5)
|
|
1e86: 02c56963 bltu a0,a2,1eb8 <get_MOSFET_Temper+0x48>
|
|
1e8a: 853a mv a0,a4
|
|
1e8c: 444030ef jal ra,52d0 <__floatsidf>
|
|
1e90: 000087b7 lui a5,0x8
|
|
1e94: df87a603 lw a2,-520(a5) # 7df8 <_read+0x9c>
|
|
1e98: dfc7a683 lw a3,-516(a5)
|
|
1e9c: 03f020ef jal ra,46da <__muldf3>
|
|
1ea0: 000087b7 lui a5,0x8
|
|
1ea4: e007a603 lw a2,-512(a5) # 7e00 <_read+0xa4>
|
|
1ea8: e047a683 lw a3,-508(a5)
|
|
1eac: 4e7020ef jal ra,4b92 <__subdf3>
|
|
1eb0: 530040ef jal ra,63e0 <__truncdfsf2>
|
|
1eb4: ae0fe06f j 194 <__riscv_restore_0>
|
|
1eb8: 0705 addi a4,a4,1
|
|
1eba: 0789 addi a5,a5,2
|
|
1ebc: fcd714e3 bne a4,a3,1e84 <get_MOSFET_Temper+0x14>
|
|
1ec0: 00000513 li a0,0
|
|
1ec4: bfc5 j 1eb4 <get_MOSFET_Temper+0x44>
|
|
|
|
00001ec6 <read_config_info>:
|
|
1ec6: aaafe2ef jal t0,170 <__riscv_save_0>
|
|
1eca: 7179 addi sp,sp,-48
|
|
1ecc: 0048 addi a0,sp,4
|
|
1ece: 02c00613 li a2,44
|
|
1ed2: 4581 li a1,0
|
|
1ed4: d04ff0ef jal ra,13d8 <SPI_Flash_Read>
|
|
1ed8: 8218 lbu a4,4(sp)
|
|
1eda: 05300793 li a5,83
|
|
1ede: 20000537 lui a0,0x20000
|
|
1ee2: 02f71763 bne a4,a5,1f10 <read_config_info+0x4a>
|
|
1ee6: 8298 lbu a4,5(sp)
|
|
1ee8: 04c00793 li a5,76
|
|
1eec: 02f71263 bne a4,a5,1f10 <read_config_info+0x4a>
|
|
1ef0: 02f14703 lbu a4,47(sp)
|
|
1ef4: 47d9 li a5,22
|
|
1ef6: 00f71d63 bne a4,a5,1f10 <read_config_info+0x4a>
|
|
1efa: 02c00613 li a2,44
|
|
1efe: 004c addi a1,sp,4
|
|
1f00: 02050513 addi a0,a0,32 # 20000020 <g_slConfigInfo>
|
|
1f04: 6b4040ef jal ra,65b8 <memcpy>
|
|
1f08: 4505 li a0,1
|
|
1f0a: 6145 addi sp,sp,48
|
|
1f0c: a88fe06f j 194 <__riscv_restore_0>
|
|
1f10: 200007b7 lui a5,0x20000
|
|
1f14: 04c7c703 lbu a4,76(a5) # 2000004c <defaultValue>
|
|
1f18: 02050513 addi a0,a0,32
|
|
1f1c: 04c78793 addi a5,a5,76
|
|
1f20: a118 sb a4,0(a0)
|
|
1f22: 3398 lbu a4,1(a5)
|
|
1f24: b118 sb a4,1(a0)
|
|
1f26: 23b8 lbu a4,2(a5)
|
|
1f28: a138 sb a4,2(a0)
|
|
1f2a: 33b8 lbu a4,3(a5)
|
|
1f2c: b138 sb a4,3(a0)
|
|
1f2e: 23d8 lbu a4,4(a5)
|
|
1f30: a158 sb a4,4(a0)
|
|
1f32: 33d8 lbu a4,5(a5)
|
|
1f34: b158 sb a4,5(a0)
|
|
1f36: 23f8 lbu a4,6(a5)
|
|
1f38: a178 sb a4,6(a0)
|
|
1f3a: 33f8 lbu a4,7(a5)
|
|
1f3c: b178 sb a4,7(a0)
|
|
1f3e: 2798 lbu a4,8(a5)
|
|
1f40: 37dc lbu a5,13(a5)
|
|
1f42: a518 sb a4,8(a0)
|
|
1f44: 02f505a3 sb a5,43(a0)
|
|
1f48: 4501 li a0,0
|
|
1f4a: b7c1 j 1f0a <read_config_info+0x44>
|
|
|
|
00001f4c <mppt_constantVoltage>:
|
|
1f4c: a0afe2ef jal t0,156 <__riscv_save_4>
|
|
1f50: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
1f54: 2ff8 lbu a4,30(a5)
|
|
1f56: 3fc0 lbu s0,29(a5)
|
|
1f58: 85aa mv a1,a0
|
|
1f5a: 0722 slli a4,a4,0x8
|
|
1f5c: 8f41 or a4,a4,s0
|
|
1f5e: 3fe0 lbu s0,31(a5)
|
|
1f60: 80c18913 addi s2,gp,-2036 # 2000016c <g_duty_ratio>
|
|
1f64: 0442 slli s0,s0,0x10
|
|
1f66: 8f41 or a4,a4,s0
|
|
1f68: 0207c403 lbu s0,32(a5)
|
|
1f6c: 0462 slli s0,s0,0x18
|
|
1f6e: 8c59 or s0,s0,a4
|
|
1f70: 8522 mv a0,s0
|
|
1f72: 5ef030ef jal ra,5d60 <__subsf3>
|
|
1f76: 000087b7 lui a5,0x8
|
|
1f7a: 0487a583 lw a1,72(a5) # 8048 <mosTemperADC+0x230>
|
|
1f7e: 34f030ef jal ra,5acc <__mulsf3>
|
|
1f82: 000087b7 lui a5,0x8
|
|
1f86: 0407a583 lw a1,64(a5) # 8040 <mosTemperADC+0x228>
|
|
1f8a: 89aa mv s3,a0
|
|
1f8c: 8522 mv a0,s0
|
|
1f8e: 33f030ef jal ra,5acc <__mulsf3>
|
|
1f92: 85aa mv a1,a0
|
|
1f94: 854e mv a0,s3
|
|
1f96: 3ac030ef jal ra,5342 <__addsf3>
|
|
1f9a: 00092583 lw a1,0(s2)
|
|
1f9e: 3a4030ef jal ra,5342 <__addsf3>
|
|
1fa2: 00a92023 sw a0,0(s2)
|
|
1fa6: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
1faa: e9cff0ef jal ra,1646 <Set_duty_ratio>
|
|
1fae: 9dcfe06f j 18a <__riscv_restore_4>
|
|
|
|
00001fb2 <mppt_constantVoltageO>:
|
|
1fb2: 9a4fe2ef jal t0,156 <__riscv_save_4>
|
|
1fb6: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
1fba: 27f8 lbu a4,14(a5)
|
|
1fbc: 37c0 lbu s0,13(a5)
|
|
1fbe: 0722 slli a4,a4,0x8
|
|
1fc0: 8f41 or a4,a4,s0
|
|
1fc2: 37e0 lbu s0,15(a5)
|
|
1fc4: 80c18913 addi s2,gp,-2036 # 2000016c <g_duty_ratio>
|
|
1fc8: 0442 slli s0,s0,0x10
|
|
1fca: 8f41 or a4,a4,s0
|
|
1fcc: 2b80 lbu s0,16(a5)
|
|
1fce: 0462 slli s0,s0,0x18
|
|
1fd0: 8c59 or s0,s0,a4
|
|
1fd2: 85a2 mv a1,s0
|
|
1fd4: 58d030ef jal ra,5d60 <__subsf3>
|
|
1fd8: 000087b7 lui a5,0x8
|
|
1fdc: 0487a583 lw a1,72(a5) # 8048 <mosTemperADC+0x230>
|
|
1fe0: 2ed030ef jal ra,5acc <__mulsf3>
|
|
1fe4: 000087b7 lui a5,0x8
|
|
1fe8: 0407a583 lw a1,64(a5) # 8040 <mosTemperADC+0x228>
|
|
1fec: 89aa mv s3,a0
|
|
1fee: 8522 mv a0,s0
|
|
1ff0: 2dd030ef jal ra,5acc <__mulsf3>
|
|
1ff4: 85aa mv a1,a0
|
|
1ff6: 854e mv a0,s3
|
|
1ff8: 34a030ef jal ra,5342 <__addsf3>
|
|
1ffc: 00092583 lw a1,0(s2)
|
|
2000: 342030ef jal ra,5342 <__addsf3>
|
|
2004: 00a92023 sw a0,0(s2)
|
|
2008: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
200c: e3aff0ef jal ra,1646 <Set_duty_ratio>
|
|
2010: 97afe06f j 18a <__riscv_restore_4>
|
|
|
|
00002014 <mppt_constantCurrentO>:
|
|
2014: 942fe2ef jal t0,156 <__riscv_save_4>
|
|
2018: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
201c: 2bf8 lbu a4,22(a5)
|
|
201e: 3bc0 lbu s0,21(a5)
|
|
2020: 0722 slli a4,a4,0x8
|
|
2022: 8f41 or a4,a4,s0
|
|
2024: 3be0 lbu s0,23(a5)
|
|
2026: 80c18913 addi s2,gp,-2036 # 2000016c <g_duty_ratio>
|
|
202a: 0442 slli s0,s0,0x10
|
|
202c: 8f41 or a4,a4,s0
|
|
202e: 2f80 lbu s0,24(a5)
|
|
2030: 0462 slli s0,s0,0x18
|
|
2032: 8c59 or s0,s0,a4
|
|
2034: 85a2 mv a1,s0
|
|
2036: 52b030ef jal ra,5d60 <__subsf3>
|
|
203a: 000087b7 lui a5,0x8
|
|
203e: 0487a583 lw a1,72(a5) # 8048 <mosTemperADC+0x230>
|
|
2042: 28b030ef jal ra,5acc <__mulsf3>
|
|
2046: 000087b7 lui a5,0x8
|
|
204a: 03c7a583 lw a1,60(a5) # 803c <mosTemperADC+0x224>
|
|
204e: 89aa mv s3,a0
|
|
2050: 8522 mv a0,s0
|
|
2052: 27b030ef jal ra,5acc <__mulsf3>
|
|
2056: 85aa mv a1,a0
|
|
2058: 854e mv a0,s3
|
|
205a: 2e8030ef jal ra,5342 <__addsf3>
|
|
205e: 00092583 lw a1,0(s2)
|
|
2062: 2e0030ef jal ra,5342 <__addsf3>
|
|
2066: 00a92023 sw a0,0(s2)
|
|
206a: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
206e: dd8ff0ef jal ra,1646 <Set_duty_ratio>
|
|
2072: 918fe06f j 18a <__riscv_restore_4>
|
|
|
|
00002076 <MpptContorl>:
|
|
2076: 8fafe2ef jal t0,170 <__riscv_save_0>
|
|
207a: 8b018713 addi a4,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
207e: 02c74783 lbu a5,44(a4)
|
|
2082: 02b74683 lbu a3,43(a4)
|
|
2086: 4709 li a4,2
|
|
2088: 07a2 slli a5,a5,0x8
|
|
208a: 8fd5 or a5,a5,a3
|
|
208c: 08e78763 beq a5,a4,211a <MpptContorl+0xa4>
|
|
2090: 00f76763 bltu a4,a5,209e <MpptContorl+0x28>
|
|
2094: 4705 li a4,1
|
|
2096: 02e78763 beq a5,a4,20c4 <MpptContorl+0x4e>
|
|
209a: 8fafe06f j 194 <__riscv_restore_0>
|
|
209e: 470d li a4,3
|
|
20a0: 08e78363 beq a5,a4,2126 <MpptContorl+0xb0>
|
|
20a4: 4711 li a4,4
|
|
20a6: fee79ae3 bne a5,a4,209a <MpptContorl+0x24>
|
|
20aa: 81218493 addi s1,gp,-2030 # 20000172 <onlyOnce.5810>
|
|
20ae: 209c lbu a5,0(s1)
|
|
20b0: 85418413 addi s0,gp,-1964 # 200001b4 <FloatChargeV.5809>
|
|
20b4: c3d5 beqz a5,2158 <MpptContorl+0xe2>
|
|
20b6: 200007b7 lui a5,0x20000
|
|
20ba: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
20be: 3fa8 lbu a0,27(a5)
|
|
20c0: 2fdc lbu a5,28(a5)
|
|
20c2: a8b5 j 213e <MpptContorl+0xc8>
|
|
20c4: 81018913 addi s2,gp,-2032 # 20000170 <onlyOnce.5797>
|
|
20c8: 00094783 lbu a5,0(s2)
|
|
20cc: 8b018413 addi s0,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
20d0: 86018493 addi s1,gp,-1952 # 200001c0 <TrickleChargeC.5796>
|
|
20d4: c785 beqz a5,20fc <MpptContorl+0x86>
|
|
20d6: 200007b7 lui a5,0x20000
|
|
20da: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
20de: 3f88 lbu a0,25(a5)
|
|
20e0: 2fbc lbu a5,26(a5)
|
|
20e2: 07a2 slli a5,a5,0x8
|
|
20e4: 8d5d or a0,a0,a5
|
|
20e6: 180040ef jal ra,6266 <__floatunsisf>
|
|
20ea: 000087b7 lui a5,0x8
|
|
20ee: 0007a583 lw a1,0(a5) # 8000 <mosTemperADC+0x1e8>
|
|
20f2: 5ba030ef jal ra,56ac <__divsf3>
|
|
20f6: c088 sw a0,0(s1)
|
|
20f8: 00090023 sb zero,0(s2)
|
|
20fc: 2c2c lbu a1,26(s0)
|
|
20fe: 3c1c lbu a5,25(s0)
|
|
2100: 4088 lw a0,0(s1)
|
|
2102: 05a2 slli a1,a1,0x8
|
|
2104: 8ddd or a1,a1,a5
|
|
2106: 3c3c lbu a5,27(s0)
|
|
2108: 07c2 slli a5,a5,0x10
|
|
210a: 8fcd or a5,a5,a1
|
|
210c: 2c4c lbu a1,28(s0)
|
|
210e: 05e2 slli a1,a1,0x18
|
|
2110: 8ddd or a1,a1,a5
|
|
2112: 230030ef jal ra,5342 <__addsf3>
|
|
2116: 3dfd jal 2014 <mppt_constantCurrentO>
|
|
2118: b749 j 209a <MpptContorl+0x24>
|
|
211a: 000087b7 lui a5,0x8
|
|
211e: 0047a503 lw a0,4(a5) # 8004 <mosTemperADC+0x1ec>
|
|
2122: 352d jal 1f4c <mppt_constantVoltage>
|
|
2124: bf9d j 209a <MpptContorl+0x24>
|
|
2126: 81118493 addi s1,gp,-2031 # 20000171 <onlyOnce.5805>
|
|
212a: 209c lbu a5,0(s1)
|
|
212c: 84c18413 addi s0,gp,-1972 # 200001ac <ConstantVoltageChargeV.5804>
|
|
2130: c785 beqz a5,2158 <MpptContorl+0xe2>
|
|
2132: 200007b7 lui a5,0x20000
|
|
2136: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
213a: 3be8 lbu a0,23(a5)
|
|
213c: 2f9c lbu a5,24(a5)
|
|
213e: 07a2 slli a5,a5,0x8
|
|
2140: 8d5d or a0,a0,a5
|
|
2142: 124040ef jal ra,6266 <__floatunsisf>
|
|
2146: 000087b7 lui a5,0x8
|
|
214a: 0007a583 lw a1,0(a5) # 8000 <mosTemperADC+0x1e8>
|
|
214e: 55e030ef jal ra,56ac <__divsf3>
|
|
2152: c008 sw a0,0(s0)
|
|
2154: 00048023 sb zero,0(s1)
|
|
2158: 4008 lw a0,0(s0)
|
|
215a: 3da1 jal 1fb2 <mppt_constantVoltageO>
|
|
215c: bf3d j 209a <MpptContorl+0x24>
|
|
|
|
0000215e <MpptMode>:
|
|
215e: febfd2ef jal t0,148 <__riscv_save_10>
|
|
2162: 81318913 addi s2,gp,-2029 # 20000173 <only_once.5830>
|
|
2166: 00094783 lbu a5,0(s2)
|
|
216a: 85c18a13 addi s4,gp,-1956 # 200001bc <StopSolarOpenCircuitV.5829>
|
|
216e: c7d1 beqz a5,21fa <MpptMode+0x9c>
|
|
2170: 20000437 lui s0,0x20000
|
|
2174: 02040413 addi s0,s0,32 # 20000020 <g_slConfigInfo>
|
|
2178: 247c lbu a5,14(s0)
|
|
217a: 3448 lbu a0,13(s0)
|
|
217c: 000084b7 lui s1,0x8
|
|
2180: 07a2 slli a5,a5,0x8
|
|
2182: 8d5d or a0,a0,a5
|
|
2184: 0e2040ef jal ra,6266 <__floatunsisf>
|
|
2188: 0004a583 lw a1,0(s1) # 8000 <mosTemperADC+0x1e8>
|
|
218c: 520030ef jal ra,56ac <__divsf3>
|
|
2190: 84a1a423 sw a0,-1976(gp) # 200001a8 <ConstantCurrentV.5826>
|
|
2194: 281c lbu a5,16(s0)
|
|
2196: 3468 lbu a0,15(s0)
|
|
2198: 07a2 slli a5,a5,0x8
|
|
219a: 8d5d or a0,a0,a5
|
|
219c: 0ca040ef jal ra,6266 <__floatunsisf>
|
|
21a0: 0004a583 lw a1,0(s1)
|
|
21a4: 508030ef jal ra,56ac <__divsf3>
|
|
21a8: 84a1a823 sw a0,-1968(gp) # 200001b0 <ConstantVoltageV.5827>
|
|
21ac: 283c lbu a5,18(s0)
|
|
21ae: 3808 lbu a0,17(s0)
|
|
21b0: 07a2 slli a5,a5,0x8
|
|
21b2: 8d5d or a0,a0,a5
|
|
21b4: 0b2040ef jal ra,6266 <__floatunsisf>
|
|
21b8: 0004a583 lw a1,0(s1)
|
|
21bc: 4f0030ef jal ra,56ac <__divsf3>
|
|
21c0: 0004a583 lw a1,0(s1)
|
|
21c4: 84a1ac23 sw a0,-1960(gp) # 200001b8 <FloatI.5828>
|
|
21c8: 105030ef jal ra,5acc <__mulsf3>
|
|
21cc: 71d030ef jal ra,60e8 <__fixsfsi>
|
|
21d0: 85aa mv a1,a0
|
|
21d2: 00008537 lui a0,0x8
|
|
21d6: 02050513 addi a0,a0,32 # 8020 <mosTemperADC+0x208>
|
|
21da: 490040ef jal ra,666a <iprintf>
|
|
21de: 287c lbu a5,22(s0)
|
|
21e0: 3848 lbu a0,21(s0)
|
|
21e2: 07a2 slli a5,a5,0x8
|
|
21e4: 8d5d or a0,a0,a5
|
|
21e6: 080040ef jal ra,6266 <__floatunsisf>
|
|
21ea: 0004a583 lw a1,0(s1)
|
|
21ee: 4be030ef jal ra,56ac <__divsf3>
|
|
21f2: 00aa2023 sw a0,0(s4)
|
|
21f6: 00090023 sb zero,0(s2)
|
|
21fa: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
21fe: 2fb8 lbu a4,26(a5)
|
|
2200: 0197c903 lbu s2,25(a5)
|
|
2204: 0157c983 lbu s3,21(a5)
|
|
2208: 0722 slli a4,a4,0x8
|
|
220a: 01276733 or a4,a4,s2
|
|
220e: 01b7c903 lbu s2,27(a5)
|
|
2212: 2fec lbu a1,30(a5)
|
|
2214: 000a2503 lw a0,0(s4)
|
|
2218: 0942 slli s2,s2,0x10
|
|
221a: 00e96733 or a4,s2,a4
|
|
221e: 01c7c903 lbu s2,28(a5)
|
|
2222: 05a2 slli a1,a1,0x8
|
|
2224: 8b018413 addi s0,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
2228: 0962 slli s2,s2,0x18
|
|
222a: 00e96933 or s2,s2,a4
|
|
222e: 2bf8 lbu a4,22(a5)
|
|
2230: 0722 slli a4,a4,0x8
|
|
2232: 01376733 or a4,a4,s3
|
|
2236: 0177c983 lbu s3,23(a5)
|
|
223a: 09c2 slli s3,s3,0x10
|
|
223c: 00e9e733 or a4,s3,a4
|
|
2240: 0187c983 lbu s3,24(a5)
|
|
2244: 09e2 slli s3,s3,0x18
|
|
2246: 00e9e9b3 or s3,s3,a4
|
|
224a: 3fd8 lbu a4,29(a5)
|
|
224c: 8dd9 or a1,a1,a4
|
|
224e: 3ff8 lbu a4,31(a5)
|
|
2250: 0742 slli a4,a4,0x10
|
|
2252: 8f4d or a4,a4,a1
|
|
2254: 0207c583 lbu a1,32(a5)
|
|
2258: 05e2 slli a1,a1,0x18
|
|
225a: 8dd9 or a1,a1,a4
|
|
225c: 75e030ef jal ra,59ba <__gesf2>
|
|
2260: 06a05163 blez a0,22c2 <MpptMode+0x164>
|
|
2264: 85ce mv a1,s3
|
|
2266: 854a mv a0,s2
|
|
2268: 752030ef jal ra,59ba <__gesf2>
|
|
226c: 02055263 bgez a0,2290 <MpptMode+0x132>
|
|
2270: 85ca mv a1,s2
|
|
2272: 854e mv a0,s3
|
|
2274: 2ed030ef jal ra,5d60 <__subsf3>
|
|
2278: 0bc040ef jal ra,6334 <__extendsfdf2>
|
|
227c: 000087b7 lui a5,0x8
|
|
2280: dc07a603 lw a2,-576(a5) # 7dc0 <_read+0x64>
|
|
2284: dc47a683 lw a3,-572(a5)
|
|
2288: 39c020ef jal ra,4624 <__ledf2>
|
|
228c: 02055b63 bgez a0,22c2 <MpptMode+0x164>
|
|
2290: 00008537 lui a0,0x8
|
|
2294: 03450513 addi a0,a0,52 # 8034 <mosTemperADC+0x21c>
|
|
2298: 020405a3 sb zero,43(s0)
|
|
229c: 02040623 sb zero,44(s0)
|
|
22a0: 4de040ef jal ra,677e <puts>
|
|
22a4: 216010ef jal ra,34ba <stop_mpptWork>
|
|
22a8: 000035b7 lui a1,0x3
|
|
22ac: 4681 li a3,0
|
|
22ae: 3e800613 li a2,1000
|
|
22b2: 26c58593 addi a1,a1,620 # 326c <Task_startMpptControl>
|
|
22b6: 98418513 addi a0,gp,-1660 # 200002e4 <m_startMpptControl>
|
|
22ba: faeff0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
22be: ec3fd06f j 180 <__riscv_restore_10>
|
|
22c2: 85ca mv a1,s2
|
|
22c4: 854e mv a0,s3
|
|
22c6: 29b030ef jal ra,5d60 <__subsf3>
|
|
22ca: 06a040ef jal ra,6334 <__extendsfdf2>
|
|
22ce: 000087b7 lui a5,0x8
|
|
22d2: dc07ab03 lw s6,-576(a5) # 7dc0 <_read+0x64>
|
|
22d6: dc47ab83 lw s7,-572(a5)
|
|
22da: 8a2a mv s4,a0
|
|
22dc: 865a mv a2,s6
|
|
22de: 86de mv a3,s7
|
|
22e0: 8aae mv s5,a1
|
|
22e2: 342020ef jal ra,4624 <__ledf2>
|
|
22e6: 00055e63 bgez a0,2302 <MpptMode+0x1a4>
|
|
22ea: 85ce mv a1,s3
|
|
22ec: 854a mv a0,s2
|
|
22ee: 273030ef jal ra,5d60 <__subsf3>
|
|
22f2: 042040ef jal ra,6334 <__extendsfdf2>
|
|
22f6: 865a mv a2,s6
|
|
22f8: 86de mv a3,s7
|
|
22fa: 32a020ef jal ra,4624 <__ledf2>
|
|
22fe: 02054e63 bltz a0,233a <MpptMode+0x1dc>
|
|
2302: 283c lbu a5,18(s0)
|
|
2304: 3804 lbu s1,17(s0)
|
|
2306: 07a2 slli a5,a5,0x8
|
|
2308: 8fc5 or a5,a5,s1
|
|
230a: 3824 lbu s1,19(s0)
|
|
230c: 04c2 slli s1,s1,0x10
|
|
230e: 8fc5 or a5,a5,s1
|
|
2310: 2844 lbu s1,20(s0)
|
|
2312: 04e2 slli s1,s1,0x18
|
|
2314: 8cdd or s1,s1,a5
|
|
2316: 000087b7 lui a5,0x8
|
|
231a: 0087a583 lw a1,8(a5) # 8008 <mosTemperADC+0x1f0>
|
|
231e: 8526 mv a0,s1
|
|
2320: 69a030ef jal ra,59ba <__gesf2>
|
|
2324: 00a04b63 bgtz a0,233a <MpptMode+0x1dc>
|
|
2328: 000087b7 lui a5,0x8
|
|
232c: 00c7a583 lw a1,12(a5) # 800c <mosTemperADC+0x1f4>
|
|
2330: 8526 mv a0,s1
|
|
2332: 70e030ef jal ra,5a40 <__lesf2>
|
|
2336: 00055a63 bgez a0,234a <MpptMode+0x1ec>
|
|
233a: 4791 li a5,4
|
|
233c: 02f405a3 sb a5,43(s0)
|
|
2340: 02040623 sb zero,44(s0)
|
|
2344: 86018ea3 sb zero,-1923(gp) # 200001dd <g_batteryState>
|
|
2348: bf9d j 22be <MpptMode+0x160>
|
|
234a: 8481ac03 lw s8,-1976(gp) # 200001a8 <ConstantCurrentV.5826>
|
|
234e: 8526 mv a0,s1
|
|
2350: 7e5030ef jal ra,6334 <__extendsfdf2>
|
|
2354: 8b2a mv s6,a0
|
|
2356: 8562 mv a0,s8
|
|
2358: 8bae mv s7,a1
|
|
235a: 8501ac83 lw s9,-1968(gp) # 200001b0 <ConstantVoltageV.5827>
|
|
235e: 00008d37 lui s10,0x8
|
|
2362: 7d3030ef jal ra,6334 <__extendsfdf2>
|
|
2366: 010d2603 lw a2,16(s10) # 8010 <mosTemperADC+0x1f8>
|
|
236a: 014d2683 lw a3,20(s10)
|
|
236e: 2d9010ef jal ra,3e46 <__adddf3>
|
|
2372: 865a mv a2,s6
|
|
2374: 86de mv a3,s7
|
|
2376: 2ae020ef jal ra,4624 <__ledf2>
|
|
237a: 04055063 bgez a0,23ba <MpptMode+0x25c>
|
|
237e: 8566 mv a0,s9
|
|
2380: 7b5030ef jal ra,6334 <__extendsfdf2>
|
|
2384: 010d2603 lw a2,16(s10)
|
|
2388: 014d2683 lw a3,20(s10)
|
|
238c: 007020ef jal ra,4b92 <__subdf3>
|
|
2390: 862a mv a2,a0
|
|
2392: 86ae mv a3,a1
|
|
2394: 855a mv a0,s6
|
|
2396: 85de mv a1,s7
|
|
2398: 28c020ef jal ra,4624 <__ledf2>
|
|
239c: 00a04f63 bgtz a0,23ba <MpptMode+0x25c>
|
|
23a0: 000087b7 lui a5,0x8
|
|
23a4: 0187a603 lw a2,24(a5) # 8018 <mosTemperADC+0x200>
|
|
23a8: 01c7a683 lw a3,28(a5)
|
|
23ac: 8552 mv a0,s4
|
|
23ae: 85d6 mv a1,s5
|
|
23b0: 1c6020ef jal ra,4576 <__gedf2>
|
|
23b4: 4789 li a5,2
|
|
23b6: 06a04463 bgtz a0,241e <MpptMode+0x2c0>
|
|
23ba: 85e6 mv a1,s9
|
|
23bc: 8526 mv a0,s1
|
|
23be: 5fc030ef jal ra,59ba <__gesf2>
|
|
23c2: 04a05463 blez a0,240a <MpptMode+0x2ac>
|
|
23c6: 8581ab03 lw s6,-1960(gp) # 200001b8 <FloatI.5828>
|
|
23ca: 855a mv a0,s6
|
|
23cc: 769030ef jal ra,6334 <__extendsfdf2>
|
|
23d0: 000087b7 lui a5,0x8
|
|
23d4: 0187a603 lw a2,24(a5) # 8018 <mosTemperADC+0x200>
|
|
23d8: 01c7a683 lw a3,28(a5)
|
|
23dc: 26b010ef jal ra,3e46 <__adddf3>
|
|
23e0: 862a mv a2,a0
|
|
23e2: 86ae mv a3,a1
|
|
23e4: 8552 mv a0,s4
|
|
23e6: 85d6 mv a1,s5
|
|
23e8: 18e020ef jal ra,4576 <__gedf2>
|
|
23ec: 478d li a5,3
|
|
23ee: 02055863 bgez a0,241e <MpptMode+0x2c0>
|
|
23f2: 85ce mv a1,s3
|
|
23f4: 855a mv a0,s6
|
|
23f6: 5c4030ef jal ra,59ba <__gesf2>
|
|
23fa: 00a05863 blez a0,240a <MpptMode+0x2ac>
|
|
23fe: 85ca mv a1,s2
|
|
2400: 855a mv a0,s6
|
|
2402: 5b8030ef jal ra,59ba <__gesf2>
|
|
2406: 00a04b63 bgtz a0,241c <MpptMode+0x2be>
|
|
240a: 02c44783 lbu a5,44(s0)
|
|
240e: 02b44703 lbu a4,43(s0)
|
|
2412: 07a2 slli a5,a5,0x8
|
|
2414: 8fd9 or a5,a5,a4
|
|
2416: 4711 li a4,4
|
|
2418: 00e79863 bne a5,a4,2428 <MpptMode+0x2ca>
|
|
241c: 4791 li a5,4
|
|
241e: 02f405a3 sb a5,43(s0)
|
|
2422: 02040623 sb zero,44(s0)
|
|
2426: bd61 j 22be <MpptMode+0x160>
|
|
2428: 85e2 mv a1,s8
|
|
242a: 8526 mv a0,s1
|
|
242c: 614030ef jal ra,5a40 <__lesf2>
|
|
2430: e80557e3 bgez a0,22be <MpptMode+0x160>
|
|
2434: 4785 li a5,1
|
|
2436: b7e5 j 241e <MpptMode+0x2c0>
|
|
|
|
00002438 <test>:
|
|
2438: d1ffd2ef jal t0,156 <__riscv_save_4>
|
|
243c: 925ff0ef jal ra,1d60 <get_CHG_CURR>
|
|
2440: 8b018413 addi s0,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
2444: 00855793 srli a5,a0,0x8
|
|
2448: b848 sb a0,21(s0)
|
|
244a: a87c sb a5,22(s0)
|
|
244c: 01055793 srli a5,a0,0x10
|
|
2450: 8161 srli a0,a0,0x18
|
|
2452: b87c sb a5,23(s0)
|
|
2454: ac08 sb a0,24(s0)
|
|
2456: 993ff0ef jal ra,1de8 <get_DSG_CURR>
|
|
245a: 00855793 srli a5,a0,0x8
|
|
245e: bc08 sb a0,25(s0)
|
|
2460: ac3c sb a5,26(s0)
|
|
2462: 01055793 srli a5,a0,0x10
|
|
2466: 8161 srli a0,a0,0x18
|
|
2468: bc3c sb a5,27(s0)
|
|
246a: ac48 sb a0,28(s0)
|
|
246c: 939ff0ef jal ra,1da4 <get_PV_VOLT_OUT>
|
|
2470: 00855793 srli a5,a0,0x8
|
|
2474: b448 sb a0,13(s0)
|
|
2476: a47c sb a5,14(s0)
|
|
2478: 01055793 srli a5,a0,0x10
|
|
247c: 8161 srli a0,a0,0x18
|
|
247e: b47c sb a5,15(s0)
|
|
2480: a808 sb a0,16(s0)
|
|
2482: 9abff0ef jal ra,1e2c <get_PV1_VOLT_IN>
|
|
2486: 00855793 srli a5,a0,0x8
|
|
248a: ac7c sb a5,30(s0)
|
|
248c: 01055793 srli a5,a0,0x10
|
|
2490: bc7c sb a5,31(s0)
|
|
2492: 2c3c lbu a5,26(s0)
|
|
2494: 3c04 lbu s1,25(s0)
|
|
2496: bc48 sb a0,29(s0)
|
|
2498: 07a2 slli a5,a5,0x8
|
|
249a: 8fc5 or a5,a5,s1
|
|
249c: 3c24 lbu s1,27(s0)
|
|
249e: 8161 srli a0,a0,0x18
|
|
24a0: 02a40023 sb a0,32(s0)
|
|
24a4: 04c2 slli s1,s1,0x10
|
|
24a6: 8fc5 or a5,a5,s1
|
|
24a8: 2c44 lbu s1,28(s0)
|
|
24aa: 00000593 li a1,0
|
|
24ae: 04e2 slli s1,s1,0x18
|
|
24b0: 8cdd or s1,s1,a5
|
|
24b2: 8526 mv a0,s1
|
|
24b4: 4aa030ef jal ra,595e <__eqsf2>
|
|
24b8: e10d bnez a0,24da <test+0xa2>
|
|
24ba: 2868 lbu a0,22(s0)
|
|
24bc: 385c lbu a5,21(s0)
|
|
24be: 00000593 li a1,0
|
|
24c2: 0522 slli a0,a0,0x8
|
|
24c4: 8d5d or a0,a0,a5
|
|
24c6: 387c lbu a5,23(s0)
|
|
24c8: 07c2 slli a5,a5,0x10
|
|
24ca: 8fc9 or a5,a5,a0
|
|
24cc: 2c08 lbu a0,24(s0)
|
|
24ce: 0562 slli a0,a0,0x18
|
|
24d0: 8d5d or a0,a0,a5
|
|
24d2: 48c030ef jal ra,595e <__eqsf2>
|
|
24d6: 0e050163 beqz a0,25b8 <test+0x180>
|
|
24da: 2868 lbu a0,22(s0)
|
|
24dc: 385c lbu a5,21(s0)
|
|
24de: 85a6 mv a1,s1
|
|
24e0: 0522 slli a0,a0,0x8
|
|
24e2: 8d5d or a0,a0,a5
|
|
24e4: 387c lbu a5,23(s0)
|
|
24e6: 00008a37 lui s4,0x8
|
|
24ea: 07c2 slli a5,a5,0x10
|
|
24ec: 8fc9 or a5,a5,a0
|
|
24ee: 2c08 lbu a0,24(s0)
|
|
24f0: 0562 slli a0,a0,0x18
|
|
24f2: 8d5d or a0,a0,a5
|
|
24f4: 06d030ef jal ra,5d60 <__subsf3>
|
|
24f8: 8aaa mv s5,a0
|
|
24fa: 63b030ef jal ra,6334 <__extendsfdf2>
|
|
24fe: 247c lbu a5,14(s0)
|
|
2500: 3444 lbu s1,13(s0)
|
|
2502: 018a2603 lw a2,24(s4) # 8018 <mosTemperADC+0x200>
|
|
2506: 07a2 slli a5,a5,0x8
|
|
2508: 8fc5 or a5,a5,s1
|
|
250a: 3464 lbu s1,15(s0)
|
|
250c: 01ca2683 lw a3,28(s4)
|
|
2510: 892a mv s2,a0
|
|
2512: 04c2 slli s1,s1,0x10
|
|
2514: 8fc5 or a5,a5,s1
|
|
2516: 2804 lbu s1,16(s0)
|
|
2518: 89ae mv s3,a1
|
|
251a: 04e2 slli s1,s1,0x18
|
|
251c: 8cdd or s1,s1,a5
|
|
251e: 058020ef jal ra,4576 <__gedf2>
|
|
2522: 08a05d63 blez a0,25bc <test+0x184>
|
|
2526: 8801a583 lw a1,-1920(gp) # 200001e0 <g_impedance>
|
|
252a: 8556 mv a0,s5
|
|
252c: 5a0030ef jal ra,5acc <__mulsf3>
|
|
2530: 85aa mv a1,a0
|
|
2532: 8526 mv a0,s1
|
|
2534: 02d030ef jal ra,5d60 <__subsf3>
|
|
2538: 00855793 srli a5,a0,0x8
|
|
253c: b808 sb a0,17(s0)
|
|
253e: a83c sb a5,18(s0)
|
|
2540: 01055793 srli a5,a0,0x10
|
|
2544: 8161 srli a0,a0,0x18
|
|
2546: b83c sb a5,19(s0)
|
|
2548: a848 sb a0,20(s0)
|
|
254a: 87d1c783 lbu a5,-1923(gp) # 200001dd <g_batteryState>
|
|
254e: efb1 bnez a5,25aa <test+0x172>
|
|
2550: 018a2603 lw a2,24(s4)
|
|
2554: 01ca2683 lw a3,28(s4)
|
|
2558: 854a mv a0,s2
|
|
255a: 85ce mv a1,s3
|
|
255c: 01a020ef jal ra,4576 <__gedf2>
|
|
2560: 04a05563 blez a0,25aa <test+0x172>
|
|
2564: 8526 mv a0,s1
|
|
2566: 5cf030ef jal ra,6334 <__extendsfdf2>
|
|
256a: 000087b7 lui a5,0x8
|
|
256e: 0507a603 lw a2,80(a5) # 8050 <mosTemperADC+0x238>
|
|
2572: 0547a683 lw a3,84(a5)
|
|
2576: 0ae020ef jal ra,4624 <__ledf2>
|
|
257a: 02055863 bgez a0,25aa <test+0x172>
|
|
257e: 00008537 lui a0,0x8
|
|
2582: 4581 li a1,0
|
|
2584: 05850513 addi a0,a0,88 # 8058 <mosTemperADC+0x240>
|
|
2588: 0e2040ef jal ra,666a <iprintf>
|
|
258c: 000035b7 lui a1,0x3
|
|
2590: 4785 li a5,1
|
|
2592: 0c800693 li a3,200
|
|
2596: 0c800613 li a2,200
|
|
259a: 74e58593 addi a1,a1,1870 # 374e <Task_impedanceCalculation>
|
|
259e: 91418513 addi a0,gp,-1772 # 20000274 <m_impedanceCalculation>
|
|
25a2: 86f18ea3 sb a5,-1923(gp) # 200001dd <g_batteryState>
|
|
25a6: cc2ff0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
25aa: 88f1c783 lbu a5,-1905(gp) # 200001ef <overTemperature>
|
|
25ae: e789 bnez a5,25b8 <test+0x180>
|
|
25b0: bafff0ef jal ra,215e <MpptMode>
|
|
25b4: ac3ff0ef jal ra,2076 <MpptContorl>
|
|
25b8: bd3fd06f j 18a <__riscv_restore_4>
|
|
25bc: 8526 mv a0,s1
|
|
25be: bfad j 2538 <test+0x100>
|
|
|
|
000025c0 <SL_ReadRegisterMPPTMode>:
|
|
25c0: bb1fd2ef jal t0,170 <__riscv_save_0>
|
|
25c4: 00008537 lui a0,0x8
|
|
25c8: 22f00613 li a2,559
|
|
25cc: 4585 li a1,1
|
|
25ce: 22850513 addi a0,a0,552 # 8228 <mosTemperADC+0x410>
|
|
25d2: 098040ef jal ra,666a <iprintf>
|
|
25d6: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
25da: 02b7c503 lbu a0,43(a5)
|
|
25de: 02c7c783 lbu a5,44(a5)
|
|
25e2: 07a2 slli a5,a5,0x8
|
|
25e4: 8d5d or a0,a0,a5
|
|
25e6: baffd06f j 194 <__riscv_restore_0>
|
|
|
|
000025ea <SL_ReadRegisterDischargMosState>:
|
|
25ea: b87fd2ef jal t0,170 <__riscv_save_0>
|
|
25ee: 00008537 lui a0,0x8
|
|
25f2: 22300613 li a2,547
|
|
25f6: 4585 li a1,1
|
|
25f8: 1b450513 addi a0,a0,436 # 81b4 <mosTemperADC+0x39c>
|
|
25fc: 06e040ef jal ra,666a <iprintf>
|
|
2600: 8d81a503 lw a0,-1832(gp) # 20000238 <g_Mppt_Para+0x28>
|
|
2604: 8121 srli a0,a0,0x8
|
|
2606: 0542 slli a0,a0,0x10
|
|
2608: 8141 srli a0,a0,0x10
|
|
260a: b8bfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000260e <SL_ReadRegisterHighSideMosTemperature>:
|
|
260e: b63fd2ef jal t0,170 <__riscv_save_0>
|
|
2612: 00008537 lui a0,0x8
|
|
2616: 21700613 li a2,535
|
|
261a: 4585 li a1,1
|
|
261c: 1ec50513 addi a0,a0,492 # 81ec <mosTemperADC+0x3d4>
|
|
2620: 04a040ef jal ra,666a <iprintf>
|
|
2624: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
2628: 53d8 lw a4,36(a5)
|
|
262a: 0287c503 lbu a0,40(a5)
|
|
262e: 000087b7 lui a5,0x8
|
|
2632: 1e87a583 lw a1,488(a5) # 81e8 <mosTemperADC+0x3d0>
|
|
2636: 8321 srli a4,a4,0x8
|
|
2638: 0562 slli a0,a0,0x18
|
|
263a: 8d59 or a0,a0,a4
|
|
263c: 490030ef jal ra,5acc <__mulsf3>
|
|
2640: 30b030ef jal ra,614a <__fixunssfsi>
|
|
2644: 0542 slli a0,a0,0x10
|
|
2646: 8141 srli a0,a0,0x10
|
|
2648: b4dfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000264c <SL_ReadRegisterSolarOpenCircuitVoltage>:
|
|
264c: b25fd2ef jal t0,170 <__riscv_save_0>
|
|
2650: 00008537 lui a0,0x8
|
|
2654: 20b00613 li a2,523
|
|
2658: 4585 li a1,1
|
|
265a: 25450513 addi a0,a0,596 # 8254 <mosTemperADC+0x43c>
|
|
265e: 00c040ef jal ra,666a <iprintf>
|
|
2662: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
2666: 5398 lw a4,32(a5)
|
|
2668: 0247c503 lbu a0,36(a5)
|
|
266c: 000087b7 lui a5,0x8
|
|
2670: 1e87a583 lw a1,488(a5) # 81e8 <mosTemperADC+0x3d0>
|
|
2674: 8321 srli a4,a4,0x8
|
|
2676: 0562 slli a0,a0,0x18
|
|
2678: 8d59 or a0,a0,a4
|
|
267a: 452030ef jal ra,5acc <__mulsf3>
|
|
267e: 2cd030ef jal ra,614a <__fixunssfsi>
|
|
2682: 0542 slli a0,a0,0x10
|
|
2684: 8141 srli a0,a0,0x10
|
|
2686: b0ffd06f j 194 <__riscv_restore_0>
|
|
|
|
0000268a <SL_ReadRegisterDischargCurrent>:
|
|
268a: ae7fd2ef jal t0,170 <__riscv_save_0>
|
|
268e: 00008537 lui a0,0x8
|
|
2692: 1ff00613 li a2,511
|
|
2696: 4585 li a1,1
|
|
2698: 18050513 addi a0,a0,384 # 8180 <mosTemperADC+0x368>
|
|
269c: 7cf030ef jal ra,666a <iprintf>
|
|
26a0: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
26a4: 4f98 lw a4,24(a5)
|
|
26a6: 2fc8 lbu a0,28(a5)
|
|
26a8: 000087b7 lui a5,0x8
|
|
26ac: 1e87a583 lw a1,488(a5) # 81e8 <mosTemperADC+0x3d0>
|
|
26b0: 8321 srli a4,a4,0x8
|
|
26b2: 0562 slli a0,a0,0x18
|
|
26b4: 8d59 or a0,a0,a4
|
|
26b6: 416030ef jal ra,5acc <__mulsf3>
|
|
26ba: 291030ef jal ra,614a <__fixunssfsi>
|
|
26be: 0542 slli a0,a0,0x10
|
|
26c0: 8141 srli a0,a0,0x10
|
|
26c2: ad3fd06f j 194 <__riscv_restore_0>
|
|
|
|
000026c6 <SL_ReadRegisterChargCurrent>:
|
|
26c6: aabfd2ef jal t0,170 <__riscv_save_0>
|
|
26ca: 00008537 lui a0,0x8
|
|
26ce: 1f300613 li a2,499
|
|
26d2: 4585 li a1,1
|
|
26d4: 15050513 addi a0,a0,336 # 8150 <mosTemperADC+0x338>
|
|
26d8: 793030ef jal ra,666a <iprintf>
|
|
26dc: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
26e0: 4bd8 lw a4,20(a5)
|
|
26e2: 2f88 lbu a0,24(a5)
|
|
26e4: 000087b7 lui a5,0x8
|
|
26e8: 1e87a583 lw a1,488(a5) # 81e8 <mosTemperADC+0x3d0>
|
|
26ec: 8321 srli a4,a4,0x8
|
|
26ee: 0562 slli a0,a0,0x18
|
|
26f0: 8d59 or a0,a0,a4
|
|
26f2: 3da030ef jal ra,5acc <__mulsf3>
|
|
26f6: 255030ef jal ra,614a <__fixunssfsi>
|
|
26fa: 0542 slli a0,a0,0x10
|
|
26fc: 8141 srli a0,a0,0x10
|
|
26fe: a97fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002702 <SL_ReadRegisterBatteryVoltage>:
|
|
2702: a6ffd2ef jal t0,170 <__riscv_save_0>
|
|
2706: 00008537 lui a0,0x8
|
|
270a: 1e700613 li a2,487
|
|
270e: 4585 li a1,1
|
|
2710: 11c50513 addi a0,a0,284 # 811c <mosTemperADC+0x304>
|
|
2714: 757030ef jal ra,666a <iprintf>
|
|
2718: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
271c: 4b98 lw a4,16(a5)
|
|
271e: 2bc8 lbu a0,20(a5)
|
|
2720: 000087b7 lui a5,0x8
|
|
2724: 1e87a583 lw a1,488(a5) # 81e8 <mosTemperADC+0x3d0>
|
|
2728: 8321 srli a4,a4,0x8
|
|
272a: 0562 slli a0,a0,0x18
|
|
272c: 8d59 or a0,a0,a4
|
|
272e: 39e030ef jal ra,5acc <__mulsf3>
|
|
2732: 219030ef jal ra,614a <__fixunssfsi>
|
|
2736: 0542 slli a0,a0,0x10
|
|
2738: 8141 srli a0,a0,0x10
|
|
273a: a5bfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000273e <SL_MsgProcFunc_Registration_request>:
|
|
273e: a33fd2ef jal t0,170 <__riscv_save_0>
|
|
2742: 00008537 lui a0,0x8
|
|
2746: 842e mv s0,a1
|
|
2748: 14f00613 li a2,335
|
|
274c: 4585 li a1,1
|
|
274e: 07450513 addi a0,a0,116 # 8074 <mosTemperADC+0x25c>
|
|
2752: 719030ef jal ra,666a <iprintf>
|
|
2756: 4705 li a4,1
|
|
2758: 88e18823 sb a4,-1904(gp) # 200001f0 <recvbroadcast_flag>
|
|
275c: 93418513 addi a0,gp,-1740 # 20000294 <m_recvbroadcast>
|
|
2760: 86018223 sb zero,-1948(gp) # 200001c4 <RegistrationRequestFlag>
|
|
2764: b42ff0ef jal ra,1aa6 <TimeSliceOffset_Unregister>
|
|
2768: 245c lbu a5,12(s0)
|
|
276a: 3458 lbu a4,13(s0)
|
|
276c: 000045b7 lui a1,0x4
|
|
2770: 07a2 slli a5,a5,0x8
|
|
2772: 8fd9 or a5,a5,a4
|
|
2774: 4681 li a3,0
|
|
2776: 3e800613 li a2,1000
|
|
277a: a7458593 addi a1,a1,-1420 # 3a74 <Task_sensorEnableBroadcast>
|
|
277e: 96418513 addi a0,gp,-1692 # 200002c4 <m_sensorEnableBroadcast>
|
|
2782: 92018a23 sb zero,-1740(gp) # 20000294 <m_recvbroadcast>
|
|
2786: 8af19823 sh a5,-1872(gp) # 20000210 <g_Mppt_Para>
|
|
278a: adeff0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
278e: a07fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002792 <SL_MsgProcFunc_Broadcast_Scan>:
|
|
2792: 9dffd2ef jal t0,170 <__riscv_save_0>
|
|
2796: 88a1a223 sw a0,-1916(gp) # 200001e4 <g_recvBroadcastDevice>
|
|
279a: 4715 li a4,5
|
|
279c: 6605 lui a2,0x1
|
|
279e: 000045b7 lui a1,0x4
|
|
27a2: 88e18423 sb a4,-1912(gp) # 200001e8 <g_recvBroadcastRegisterNumber>
|
|
27a6: 4485 li s1,1
|
|
27a8: 4681 li a3,0
|
|
27aa: bb860613 addi a2,a2,-1096 # bb8 <GPIO_IPD_Unused+0x6a>
|
|
27ae: 8cc58593 addi a1,a1,-1844 # 38cc <Task_recvbroadcast>
|
|
27b2: 93418513 addi a0,gp,-1740 # 20000294 <m_recvbroadcast>
|
|
27b6: 86918223 sb s1,-1948(gp) # 200001c4 <RegistrationRequestFlag>
|
|
27ba: aaeff0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
27be: 92918a23 sb s1,-1740(gp) # 20000294 <m_recvbroadcast>
|
|
27c2: 9d3fd06f j 194 <__riscv_restore_0>
|
|
|
|
000027c6 <SL_MsgProcFunc_Write_Register>:
|
|
27c6: 9abfd2ef jal t0,170 <__riscv_save_0>
|
|
27ca: 25d4 lbu a3,12(a1)
|
|
27cc: 35dc lbu a5,13(a1)
|
|
27ce: 06a2 slli a3,a3,0x8
|
|
27d0: 8edd or a3,a3,a5
|
|
27d2: 4795 li a5,5
|
|
27d4: 00d7fd63 bgeu a5,a3,27ee <SL_MsgProcFunc_Write_Register+0x28>
|
|
27d8: 00008537 lui a0,0x8
|
|
27dc: 12400613 li a2,292
|
|
27e0: 4585 li a1,1
|
|
27e2: 0a050513 addi a0,a0,160 # 80a0 <mosTemperADC+0x288>
|
|
27e6: 685030ef jal ra,666a <iprintf>
|
|
27ea: 9abfd06f j 194 <__riscv_restore_0>
|
|
27ee: 25b4 lbu a3,10(a1)
|
|
27f0: 35bc lbu a5,11(a1)
|
|
27f2: 06a2 slli a3,a3,0x8
|
|
27f4: 8edd or a3,a3,a5
|
|
27f6: 20000793 li a5,512
|
|
27fa: 00d7fa63 bgeu a5,a3,280e <SL_MsgProcFunc_Write_Register+0x48>
|
|
27fe: 00008537 lui a0,0x8
|
|
2802: 12b00613 li a2,299
|
|
2806: 4585 li a1,1
|
|
2808: 0d050513 addi a0,a0,208 # 80d0 <mosTemperADC+0x2b8>
|
|
280c: bfe9 j 27e6 <SL_MsgProcFunc_Write_Register+0x20>
|
|
280e: 00008537 lui a0,0x8
|
|
2812: 10850513 addi a0,a0,264 # 8108 <mosTemperADC+0x2f0>
|
|
2816: 769030ef jal ra,677e <puts>
|
|
281a: bfc1 j 27ea <SL_MsgProcFunc_Write_Register+0x24>
|
|
|
|
0000281c <CheckFunc>:
|
|
281c: 67c1 lui a5,0x10
|
|
281e: 7669 lui a2,0xffffa
|
|
2820: 4681 li a3,0
|
|
2822: 17fd addi a5,a5,-1
|
|
2824: 0605 addi a2,a2,1
|
|
2826: 01069713 slli a4,a3,0x10
|
|
282a: 8341 srli a4,a4,0x10
|
|
282c: 00b76463 bltu a4,a1,2834 <CheckFunc+0x18>
|
|
2830: 853e mv a0,a5
|
|
2832: 8082 ret
|
|
2834: 00d50733 add a4,a0,a3
|
|
2838: 2318 lbu a4,0(a4)
|
|
283a: 8fb9 xor a5,a5,a4
|
|
283c: 4721 li a4,8
|
|
283e: 0017f813 andi a6,a5,1
|
|
2842: 8385 srli a5,a5,0x1
|
|
2844: 00080563 beqz a6,284e <CheckFunc+0x32>
|
|
2848: 8fb1 xor a5,a5,a2
|
|
284a: 07c2 slli a5,a5,0x10
|
|
284c: 83c1 srli a5,a5,0x10
|
|
284e: 177d addi a4,a4,-1
|
|
2850: 0742 slli a4,a4,0x10
|
|
2852: 8341 srli a4,a4,0x10
|
|
2854: f76d bnez a4,283e <CheckFunc+0x22>
|
|
2856: 0685 addi a3,a3,1
|
|
2858: b7f9 j 2826 <CheckFunc+0xa>
|
|
|
|
0000285a <randomDelay>:
|
|
285a: 917fd2ef jal t0,170 <__riscv_save_0>
|
|
285e: 40001537 lui a0,0x40001
|
|
2862: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
2866: fecfe0ef jal ra,1052 <TIM_GetCounter>
|
|
286a: 721030ef jal ra,678a <srand>
|
|
286e: 775030ef jal ra,67e2 <rand>
|
|
2872: 0f100793 li a5,241
|
|
2876: 02f56533 rem a0,a0,a5
|
|
287a: 47a9 li a5,10
|
|
287c: 0529 addi a0,a0,10
|
|
287e: 02f50533 mul a0,a0,a5
|
|
2882: 913fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002886 <Check_485_bus_busy>:
|
|
2886: 8d1fd2ef jal t0,156 <__riscv_save_4>
|
|
288a: 8a01a703 lw a4,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
288e: 842a mv s0,a0
|
|
2890: 84be mv s1,a5
|
|
2892: 4605 li a2,1
|
|
2894: 52500593 li a1,1317
|
|
2898: 04a71c63 bne a4,a0,28f0 <Check_485_bus_busy+0x6a>
|
|
289c: 40005537 lui a0,0x40005
|
|
28a0: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
28a4: 8bbfe0ef jal ra,115e <USART_ITConfig>
|
|
28a8: 8522 mv a0,s0
|
|
28aa: 58e010ef jal ra,3e38 <ring_queue_length>
|
|
28ae: 01051913 slli s2,a0,0x10
|
|
28b2: 4509 li a0,2
|
|
28b4: afcff0ef jal ra,1bb0 <Delay_Ms>
|
|
28b8: 8522 mv a0,s0
|
|
28ba: 57e010ef jal ra,3e38 <ring_queue_length>
|
|
28be: 8a01a783 lw a5,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
28c2: 01051993 slli s3,a0,0x10
|
|
28c6: 01095913 srli s2,s2,0x10
|
|
28ca: 0109d993 srli s3,s3,0x10
|
|
28ce: 4601 li a2,0
|
|
28d0: 52500593 li a1,1317
|
|
28d4: 40005537 lui a0,0x40005
|
|
28d8: 02879163 bne a5,s0,28fa <Check_485_bus_busy+0x74>
|
|
28dc: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
28e0: 87ffe0ef jal ra,115e <USART_ITConfig>
|
|
28e4: 41390533 sub a0,s2,s3
|
|
28e8: 00a03533 snez a0,a0
|
|
28ec: 89ffd06f j 18a <__riscv_restore_4>
|
|
28f0: 40005537 lui a0,0x40005
|
|
28f4: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
28f8: b775 j 28a4 <Check_485_bus_busy+0x1e>
|
|
28fa: c0050513 addi a0,a0,-1024
|
|
28fe: b7cd j 28e0 <Check_485_bus_busy+0x5a>
|
|
|
|
00002900 <SL_MsgProcFunc_Remote_Upgrade>:
|
|
2900: 871fd2ef jal t0,170 <__riscv_save_0>
|
|
2904: 20000437 lui s0,0x20000
|
|
2908: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
290c: 1141 addi sp,sp,-16
|
|
290e: 02040413 addi s0,s0,32
|
|
2912: 805c sb a5,0(sp)
|
|
2914: 301c lbu a5,1(s0)
|
|
2916: 00011523 sh zero,10(sp)
|
|
291a: 84aa mv s1,a0
|
|
291c: 80dc sb a5,1(sp)
|
|
291e: 203c lbu a5,2(s0)
|
|
2920: 45ad li a1,11
|
|
2922: 850a mv a0,sp
|
|
2924: 815c sb a5,2(sp)
|
|
2926: 303c lbu a5,3(s0)
|
|
2928: 00011623 sh zero,12(sp)
|
|
292c: 81dc sb a5,3(sp)
|
|
292e: 205c lbu a5,4(s0)
|
|
2930: 825c sb a5,4(sp)
|
|
2932: 305c lbu a5,5(s0)
|
|
2934: 82dc sb a5,5(sp)
|
|
2936: 207c lbu a5,6(s0)
|
|
2938: 835c sb a5,6(sp)
|
|
293a: 307c lbu a5,7(s0)
|
|
293c: 83dc sb a5,7(sp)
|
|
293e: 241c lbu a5,8(s0)
|
|
2940: 845c sb a5,8(sp)
|
|
2942: fd100793 li a5,-47
|
|
2946: 84dc sb a5,9(sp)
|
|
2948: 4785 li a5,1
|
|
294a: 855c sb a5,10(sp)
|
|
294c: ed1ff0ef jal ra,281c <CheckFunc>
|
|
2950: 00855793 srli a5,a0,0x8
|
|
2954: 85dc sb a5,11(sp)
|
|
2956: 02b44783 lbu a5,43(s0)
|
|
295a: 8648 sb a0,12(sp)
|
|
295c: 86dc sb a5,13(sp)
|
|
295e: efdff0ef jal ra,285a <randomDelay>
|
|
2962: a4eff0ef jal ra,1bb0 <Delay_Ms>
|
|
2966: 8526 mv a0,s1
|
|
2968: f1fff0ef jal ra,2886 <Check_485_bus_busy>
|
|
296c: f96d bnez a0,295e <SL_MsgProcFunc_Remote_Upgrade+0x5e>
|
|
296e: 463d li a2,15
|
|
2970: 858a mv a1,sp
|
|
2972: 8526 mv a0,s1
|
|
2974: 422010ef jal ra,3d96 <uart_dev_write>
|
|
2978: 8a01a783 lw a5,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
297c: 4605 li a2,1
|
|
297e: 52500593 li a1,1317
|
|
2982: 40005537 lui a0,0x40005
|
|
2986: 00979963 bne a5,s1,2998 <SL_MsgProcFunc_Remote_Upgrade+0x98>
|
|
298a: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
298e: fd0fe0ef jal ra,115e <USART_ITConfig>
|
|
2992: 0141 addi sp,sp,16
|
|
2994: 801fd06f j 194 <__riscv_restore_0>
|
|
2998: c0050513 addi a0,a0,-1024
|
|
299c: bfcd j 298e <SL_MsgProcFunc_Remote_Upgrade+0x8e>
|
|
|
|
0000299e <SL_MsgProcFunc_Update_Profile>:
|
|
299e: fd2fd2ef jal t0,170 <__riscv_save_0>
|
|
29a2: 20000437 lui s0,0x20000
|
|
29a6: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
29aa: 1141 addi sp,sp,-16
|
|
29ac: 02040413 addi s0,s0,32
|
|
29b0: 805c sb a5,0(sp)
|
|
29b2: 301c lbu a5,1(s0)
|
|
29b4: 00011523 sh zero,10(sp)
|
|
29b8: 84aa mv s1,a0
|
|
29ba: 80dc sb a5,1(sp)
|
|
29bc: 203c lbu a5,2(s0)
|
|
29be: 45ad li a1,11
|
|
29c0: 850a mv a0,sp
|
|
29c2: 815c sb a5,2(sp)
|
|
29c4: 303c lbu a5,3(s0)
|
|
29c6: 00011623 sh zero,12(sp)
|
|
29ca: 81dc sb a5,3(sp)
|
|
29cc: 205c lbu a5,4(s0)
|
|
29ce: 825c sb a5,4(sp)
|
|
29d0: 305c lbu a5,5(s0)
|
|
29d2: 82dc sb a5,5(sp)
|
|
29d4: 207c lbu a5,6(s0)
|
|
29d6: 835c sb a5,6(sp)
|
|
29d8: 307c lbu a5,7(s0)
|
|
29da: 83dc sb a5,7(sp)
|
|
29dc: 241c lbu a5,8(s0)
|
|
29de: 845c sb a5,8(sp)
|
|
29e0: fd000793 li a5,-48
|
|
29e4: 84dc sb a5,9(sp)
|
|
29e6: 4785 li a5,1
|
|
29e8: 855c sb a5,10(sp)
|
|
29ea: e33ff0ef jal ra,281c <CheckFunc>
|
|
29ee: 00855793 srli a5,a0,0x8
|
|
29f2: 85dc sb a5,11(sp)
|
|
29f4: 02b44783 lbu a5,43(s0)
|
|
29f8: 8648 sb a0,12(sp)
|
|
29fa: 86dc sb a5,13(sp)
|
|
29fc: e5fff0ef jal ra,285a <randomDelay>
|
|
2a00: 9b0ff0ef jal ra,1bb0 <Delay_Ms>
|
|
2a04: 8526 mv a0,s1
|
|
2a06: e81ff0ef jal ra,2886 <Check_485_bus_busy>
|
|
2a0a: f96d bnez a0,29fc <SL_MsgProcFunc_Update_Profile+0x5e>
|
|
2a0c: 463d li a2,15
|
|
2a0e: 858a mv a1,sp
|
|
2a10: 8526 mv a0,s1
|
|
2a12: 384010ef jal ra,3d96 <uart_dev_write>
|
|
2a16: 8a01a783 lw a5,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
2a1a: 4605 li a2,1
|
|
2a1c: 52500593 li a1,1317
|
|
2a20: 40005537 lui a0,0x40005
|
|
2a24: 00979963 bne a5,s1,2a36 <SL_MsgProcFunc_Update_Profile+0x98>
|
|
2a28: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2a2c: f32fe0ef jal ra,115e <USART_ITConfig>
|
|
2a30: 0141 addi sp,sp,16
|
|
2a32: f62fd06f j 194 <__riscv_restore_0>
|
|
2a36: c0050513 addi a0,a0,-1024
|
|
2a3a: bfcd j 2a2c <SL_MsgProcFunc_Update_Profile+0x8e>
|
|
|
|
00002a3c <SL_MsgProcFunc_Read_Register>:
|
|
2a3c: f0cfd2ef jal t0,148 <__riscv_save_10>
|
|
2a40: 00c5c903 lbu s2,12(a1)
|
|
2a44: 35dc lbu a5,13(a1)
|
|
2a46: 1101 addi sp,sp,-32
|
|
2a48: 0922 slli s2,s2,0x8
|
|
2a4a: 00f96933 or s2,s2,a5
|
|
2a4e: 0942 slli s2,s2,0x10
|
|
2a50: 41095913 srai s2,s2,0x10
|
|
2a54: 01091493 slli s1,s2,0x10
|
|
2a58: 80c1 srli s1,s1,0x10
|
|
2a5a: 4795 li a5,5
|
|
2a5c: 0097ff63 bgeu a5,s1,2a7a <SL_MsgProcFunc_Read_Register+0x3e>
|
|
2a60: 00008537 lui a0,0x8
|
|
2a64: 86a6 mv a3,s1
|
|
2a66: 0c500613 li a2,197
|
|
2a6a: 4585 li a1,1
|
|
2a6c: 0a050513 addi a0,a0,160 # 80a0 <mosTemperADC+0x288>
|
|
2a70: 3fb030ef jal ra,666a <iprintf>
|
|
2a74: 6105 addi sp,sp,32
|
|
2a76: f0afd06f j 180 <__riscv_restore_10>
|
|
2a7a: 25b4 lbu a3,10(a1)
|
|
2a7c: 35bc lbu a5,11(a1)
|
|
2a7e: 06a2 slli a3,a3,0x8
|
|
2a80: 8edd or a3,a3,a5
|
|
2a82: 20000793 li a5,512
|
|
2a86: 00d7fa63 bgeu a5,a3,2a9a <SL_MsgProcFunc_Read_Register+0x5e>
|
|
2a8a: 00008537 lui a0,0x8
|
|
2a8e: 0cb00613 li a2,203
|
|
2a92: 4585 li a1,1
|
|
2a94: 0d050513 addi a0,a0,208 # 80d0 <mosTemperADC+0x2b8>
|
|
2a98: bfe1 j 2a70 <SL_MsgProcFunc_Read_Register+0x34>
|
|
2a9a: 89aa mv s3,a0
|
|
2a9c: ca02 sw zero,20(sp)
|
|
2a9e: cc02 sw zero,24(sp)
|
|
2aa0: 00011e23 sh zero,28(sp)
|
|
2aa4: 01410a93 addi s5,sp,20
|
|
2aa8: 8a36 mv s4,a3
|
|
2aaa: 20000b37 lui s6,0x20000
|
|
2aae: 40da07b3 sub a5,s4,a3
|
|
2ab2: 07c2 slli a5,a5,0x10
|
|
2ab4: 83c1 srli a5,a5,0x10
|
|
2ab6: 0c97e163 bltu a5,s1,2b78 <SL_MsgProcFunc_Read_Register+0x13c>
|
|
2aba: 8e018413 addi s0,gp,-1824 # 20000240 <rs485_buff>
|
|
2abe: 00c40513 addi a0,s0,12
|
|
2ac2: 02600613 li a2,38
|
|
2ac6: 4581 li a1,0
|
|
2ac8: ed8fd0ef jal ra,1a0 <memset>
|
|
2acc: 20000737 lui a4,0x20000
|
|
2ad0: 02074783 lbu a5,32(a4) # 20000020 <g_slConfigInfo>
|
|
2ad4: 012405a3 sb s2,11(s0)
|
|
2ad8: 00040523 sb zero,10(s0)
|
|
2adc: a01c sb a5,0(s0)
|
|
2ade: 02070793 addi a5,a4,32
|
|
2ae2: 3394 lbu a3,1(a5)
|
|
2ae4: 00149a93 slli s5,s1,0x1
|
|
2ae8: 02070913 addi s2,a4,32
|
|
2aec: b014 sb a3,1(s0)
|
|
2aee: 23b4 lbu a3,2(a5)
|
|
2af0: a034 sb a3,2(s0)
|
|
2af2: 33b4 lbu a3,3(a5)
|
|
2af4: b034 sb a3,3(s0)
|
|
2af6: 23d4 lbu a3,4(a5)
|
|
2af8: a054 sb a3,4(s0)
|
|
2afa: 33d4 lbu a3,5(a5)
|
|
2afc: b054 sb a3,5(s0)
|
|
2afe: 23f4 lbu a3,6(a5)
|
|
2b00: a074 sb a3,6(s0)
|
|
2b02: 33f4 lbu a3,7(a5)
|
|
2b04: 279c lbu a5,8(a5)
|
|
2b06: b074 sb a3,7(s0)
|
|
2b08: a41c sb a5,8(s0)
|
|
2b0a: 03000793 li a5,48
|
|
2b0e: b41c sb a5,9(s0)
|
|
2b10: 4781 li a5,0
|
|
2b12: 8ec18413 addi s0,gp,-1812 # 2000024c <rs485_buff+0xc>
|
|
2b16: 0957c563 blt a5,s5,2ba0 <SL_MsgProcFunc_Read_Register+0x164>
|
|
2b1a: 00648593 addi a1,s1,6
|
|
2b1e: 0586 slli a1,a1,0x1
|
|
2b20: 0fe5f593 andi a1,a1,254
|
|
2b24: 8e018513 addi a0,gp,-1824 # 20000240 <rs485_buff>
|
|
2b28: cf5ff0ef jal ra,281c <CheckFunc>
|
|
2b2c: 00851793 slli a5,a0,0x8
|
|
2b30: 8121 srli a0,a0,0x8
|
|
2b32: 8d5d or a0,a0,a5
|
|
2b34: 02b94783 lbu a5,43(s2)
|
|
2b38: 9456 add s0,s0,s5
|
|
2b3a: a00a sh a0,0(s0)
|
|
2b3c: a03c sb a5,2(s0)
|
|
2b3e: d1dff0ef jal ra,285a <randomDelay>
|
|
2b42: 86eff0ef jal ra,1bb0 <Delay_Ms>
|
|
2b46: 854e mv a0,s3
|
|
2b48: d3fff0ef jal ra,2886 <Check_485_bus_busy>
|
|
2b4c: f96d bnez a0,2b3e <SL_MsgProcFunc_Read_Register+0x102>
|
|
2b4e: 010a8613 addi a2,s5,16
|
|
2b52: 8e018593 addi a1,gp,-1824 # 20000240 <rs485_buff>
|
|
2b56: 854e mv a0,s3
|
|
2b58: 23e010ef jal ra,3d96 <uart_dev_write>
|
|
2b5c: 8a01a783 lw a5,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
2b60: 4605 li a2,1
|
|
2b62: 52500593 li a1,1317
|
|
2b66: 40005537 lui a0,0x40005
|
|
2b6a: 05379c63 bne a5,s3,2bc2 <SL_MsgProcFunc_Read_Register+0x186>
|
|
2b6e: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2b72: decfe0ef jal ra,115e <USART_ITConfig>
|
|
2b76: bdfd j 2a74 <SL_MsgProcFunc_Read_Register+0x38>
|
|
2b78: 08cb0413 addi s0,s6,140 # 2000008c <g_RegTblR>
|
|
2b7c: 03840b93 addi s7,s0,56
|
|
2b80: 401c lw a5,0(s0)
|
|
2b82: 01479963 bne a5,s4,2b94 <SL_MsgProcFunc_Read_Register+0x158>
|
|
2b86: 405c lw a5,4(s0)
|
|
2b88: 4501 li a0,0
|
|
2b8a: c636 sw a3,12(sp)
|
|
2b8c: 9782 jalr a5
|
|
2b8e: 46b2 lw a3,12(sp)
|
|
2b90: 00aa9023 sh a0,0(s5)
|
|
2b94: 0421 addi s0,s0,8
|
|
2b96: fe8b95e3 bne s7,s0,2b80 <SL_MsgProcFunc_Read_Register+0x144>
|
|
2b9a: 0a89 addi s5,s5,2
|
|
2b9c: 0a05 addi s4,s4,1
|
|
2b9e: bf01 j 2aae <SL_MsgProcFunc_Read_Register+0x72>
|
|
2ba0: 1010 addi a2,sp,32
|
|
2ba2: 0fe7f713 andi a4,a5,254
|
|
2ba6: 9732 add a4,a4,a2
|
|
2ba8: 0017f613 andi a2,a5,1
|
|
2bac: 00f406b3 add a3,s0,a5
|
|
2bb0: ff475703 lhu a4,-12(a4)
|
|
2bb4: e211 bnez a2,2bb8 <SL_MsgProcFunc_Read_Register+0x17c>
|
|
2bb6: 8321 srli a4,a4,0x8
|
|
2bb8: 0785 addi a5,a5,1
|
|
2bba: a298 sb a4,0(a3)
|
|
2bbc: 0ff7f793 andi a5,a5,255
|
|
2bc0: bf99 j 2b16 <SL_MsgProcFunc_Read_Register+0xda>
|
|
2bc2: c0050513 addi a0,a0,-1024
|
|
2bc6: b775 j 2b72 <SL_MsgProcFunc_Read_Register+0x136>
|
|
|
|
00002bc8 <FRT_MsgHandler>:
|
|
2bc8: d8efd2ef jal t0,156 <__riscv_save_4>
|
|
2bcc: 20000437 lui s0,0x20000
|
|
2bd0: 05c40413 addi s0,s0,92 # 2000005c <g_MsgTbl>
|
|
2bd4: 89aa mv s3,a0
|
|
2bd6: 84ae mv s1,a1
|
|
2bd8: 8a32 mv s4,a2
|
|
2bda: 03040913 addi s2,s0,48
|
|
2bde: 3498 lbu a4,9(s1)
|
|
2be0: 401c lw a5,0(s0)
|
|
2be2: 00f71763 bne a4,a5,2bf0 <FRT_MsgHandler+0x28>
|
|
2be6: 405c lw a5,4(s0)
|
|
2be8: 8652 mv a2,s4
|
|
2bea: 85a6 mv a1,s1
|
|
2bec: 854e mv a0,s3
|
|
2bee: 9782 jalr a5
|
|
2bf0: 0421 addi s0,s0,8
|
|
2bf2: ff2416e3 bne s0,s2,2bde <FRT_MsgHandler+0x16>
|
|
2bf6: d94fd06f j 18a <__riscv_restore_4>
|
|
|
|
00002bfa <read_and_process_uart_data>:
|
|
2bfa: d46fd2ef jal t0,140 <__riscv_save_12>
|
|
2bfe: 1141 addi sp,sp,-16
|
|
2c00: 8c2a mv s8,a0
|
|
2c02: 1f6010ef jal ra,3df8 <uart_dev_char_present>
|
|
2c06: 2a050863 beqz a0,2eb6 <read_and_process_uart_data+0x2bc>
|
|
2c0a: 4551 li a0,20
|
|
2c0c: fa5fe0ef jal ra,1bb0 <Delay_Ms>
|
|
2c10: 03200613 li a2,50
|
|
2c14: 4581 li a1,0
|
|
2c16: 8e018513 addi a0,gp,-1824 # 20000240 <rs485_buff>
|
|
2c1a: 8e018413 addi s0,gp,-1824 # 20000240 <rs485_buff>
|
|
2c1e: 20000db7 lui s11,0x20000
|
|
2c22: d7efd0ef jal ra,1a0 <memset>
|
|
2c26: 4981 li s3,0
|
|
2c28: 4481 li s1,0
|
|
2c2a: 4a01 li s4,0
|
|
2c2c: 00140b93 addi s7,s0,1
|
|
2c30: 00008cb7 lui s9,0x8
|
|
2c34: 00008d37 lui s10,0x8
|
|
2c38: 020d8b13 addi s6,s11,32 # 20000020 <g_slConfigInfo>
|
|
2c3c: 8562 mv a0,s8
|
|
2c3e: 1fa010ef jal ra,3e38 <ring_queue_length>
|
|
2c42: 26050a63 beqz a0,2eb6 <read_and_process_uart_data+0x2bc>
|
|
2c46: 8562 mv a0,s8
|
|
2c48: 1c8010ef jal ra,3e10 <uart_dev_in_char>
|
|
2c4c: 8e018793 addi a5,gp,-1824 # 20000240 <rs485_buff>
|
|
2c50: 97d2 add a5,a5,s4
|
|
2c52: c63e sw a5,12(sp)
|
|
2c54: a388 sb a0,0(a5)
|
|
2c56: 001a0a93 addi s5,s4,1
|
|
2c5a: 4789 li a5,2
|
|
2c5c: 00fa8463 beq s5,a5,2c64 <read_and_process_uart_data+0x6a>
|
|
2c60: 24048e63 beqz s1,2ebc <read_and_process_uart_data+0x2c2>
|
|
2c64: 2018 lbu a4,0(s0)
|
|
2c66: 020dc783 lbu a5,32(s11)
|
|
2c6a: 10f71463 bne a4,a5,2d72 <read_and_process_uart_data+0x178>
|
|
2c6e: 3018 lbu a4,1(s0)
|
|
2c70: 001b4783 lbu a5,1(s6)
|
|
2c74: 0ef71f63 bne a4,a5,2d72 <read_and_process_uart_data+0x178>
|
|
2c78: 00008537 lui a0,0x8
|
|
2c7c: 27200613 li a2,626
|
|
2c80: 4585 li a1,1
|
|
2c82: 29050513 addi a0,a0,656 # 8290 <mosTemperADC+0x478>
|
|
2c86: 1e5030ef jal ra,666a <iprintf>
|
|
2c8a: 47a5 li a5,9
|
|
2c8c: 06fa9463 bne s5,a5,2cf4 <read_and_process_uart_data+0xfa>
|
|
2c90: 8b01d703 lhu a4,-1872(gp) # 20000210 <g_Mppt_Para>
|
|
2c94: 4789 li a5,2
|
|
2c96: 08f71d63 bne a4,a5,2d30 <read_and_process_uart_data+0x136>
|
|
2c9a: 2038 lbu a4,2(s0)
|
|
2c9c: 002b4783 lbu a5,2(s6)
|
|
2ca0: 08f71b63 bne a4,a5,2d36 <read_and_process_uart_data+0x13c>
|
|
2ca4: 3038 lbu a4,3(s0)
|
|
2ca6: 003b4783 lbu a5,3(s6)
|
|
2caa: 08f71663 bne a4,a5,2d36 <read_and_process_uart_data+0x13c>
|
|
2cae: 2058 lbu a4,4(s0)
|
|
2cb0: 004b4783 lbu a5,4(s6)
|
|
2cb4: 08f71163 bne a4,a5,2d36 <read_and_process_uart_data+0x13c>
|
|
2cb8: 3058 lbu a4,5(s0)
|
|
2cba: 005b4783 lbu a5,5(s6)
|
|
2cbe: 06f71c63 bne a4,a5,2d36 <read_and_process_uart_data+0x13c>
|
|
2cc2: 2078 lbu a4,6(s0)
|
|
2cc4: 006b4783 lbu a5,6(s6)
|
|
2cc8: 06f71763 bne a4,a5,2d36 <read_and_process_uart_data+0x13c>
|
|
2ccc: 3078 lbu a4,7(s0)
|
|
2cce: 007b4783 lbu a5,7(s6)
|
|
2cd2: 06f71263 bne a4,a5,2d36 <read_and_process_uart_data+0x13c>
|
|
2cd6: 2418 lbu a4,8(s0)
|
|
2cd8: 008b4783 lbu a5,8(s6)
|
|
2cdc: 04f71d63 bne a4,a5,2d36 <read_and_process_uart_data+0x13c>
|
|
2ce0: 00008537 lui a0,0x8
|
|
2ce4: 28b00613 li a2,651
|
|
2ce8: 4585 li a1,1
|
|
2cea: 2bc50513 addi a0,a0,700 # 82bc <mosTemperADC+0x4a4>
|
|
2cee: 17d030ef jal ra,666a <iprintf>
|
|
2cf2: a021 j 2cfa <read_and_process_uart_data+0x100>
|
|
2cf4: 4785 li a5,1
|
|
2cf6: f897ede3 bltu a5,s1,2c90 <read_and_process_uart_data+0x96>
|
|
2cfa: 47a9 li a5,10
|
|
2cfc: 00fa8563 beq s5,a5,2d06 <read_and_process_uart_data+0x10c>
|
|
2d00: 4789 li a5,2
|
|
2d02: 0897ff63 bgeu a5,s1,2da0 <read_and_process_uart_data+0x1a6>
|
|
2d06: 8b01d783 lhu a5,-1872(gp) # 20000210 <g_Mppt_Para>
|
|
2d0a: 4709 li a4,2
|
|
2d0c: 3414 lbu a3,9(s0)
|
|
2d0e: 12e79263 bne a5,a4,2e32 <read_and_process_uart_data+0x238>
|
|
2d12: 03000713 li a4,48
|
|
2d16: 06e69963 bne a3,a4,2d88 <read_and_process_uart_data+0x18e>
|
|
2d1a: 00008537 lui a0,0x8
|
|
2d1e: 2dc00613 li a2,732
|
|
2d22: 4585 li a1,1
|
|
2d24: 31c50513 addi a0,a0,796 # 831c <mosTemperADC+0x504>
|
|
2d28: 143030ef jal ra,666a <iprintf>
|
|
2d2c: 49c5 li s3,17
|
|
2d2e: a88d j 2da0 <read_and_process_uart_data+0x1a6>
|
|
2d30: 8641c783 lbu a5,-1948(gp) # 200001c4 <RegistrationRequestFlag>
|
|
2d34: f3bd bnez a5,2c9a <read_and_process_uart_data+0xa0>
|
|
2d36: 8151c783 lbu a5,-2027(gp) # 20000175 <run_Broadcast>
|
|
2d3a: cb95 beqz a5,2d6e <read_and_process_uart_data+0x174>
|
|
2d3c: 3038 lbu a4,3(s0)
|
|
2d3e: 203c lbu a5,2(s0)
|
|
2d40: 8ff9 and a5,a5,a4
|
|
2d42: 2058 lbu a4,4(s0)
|
|
2d44: 8ff9 and a5,a5,a4
|
|
2d46: 3058 lbu a4,5(s0)
|
|
2d48: 8ff9 and a5,a5,a4
|
|
2d4a: 2078 lbu a4,6(s0)
|
|
2d4c: 8ff9 and a5,a5,a4
|
|
2d4e: 3078 lbu a4,7(s0)
|
|
2d50: 8ff9 and a5,a5,a4
|
|
2d52: 2418 lbu a4,8(s0)
|
|
2d54: 8ff9 and a5,a5,a4
|
|
2d56: 0ff00713 li a4,255
|
|
2d5a: 00e79a63 bne a5,a4,2d6e <read_and_process_uart_data+0x174>
|
|
2d5e: 00008537 lui a0,0x8
|
|
2d62: 2a000613 li a2,672
|
|
2d66: 4585 li a1,1
|
|
2d68: 2e850513 addi a0,a0,744 # 82e8 <mosTemperADC+0x4d0>
|
|
2d6c: b749 j 2cee <read_and_process_uart_data+0xf4>
|
|
2d6e: e091 bnez s1,2d72 <read_and_process_uart_data+0x178>
|
|
2d70: 4485 li s1,1
|
|
2d72: 8652 mv a2,s4
|
|
2d74: 85de mv a1,s7
|
|
2d76: 8e018513 addi a0,gp,-1824 # 20000240 <rs485_buff>
|
|
2d7a: 03f030ef jal ra,65b8 <memcpy>
|
|
2d7e: 03000793 li a5,48
|
|
2d82: eb47fde3 bgeu a5,s4,2c3c <read_and_process_uart_data+0x42>
|
|
2d86: aa05 j 2eb6 <read_and_process_uart_data+0x2bc>
|
|
2d88: 4741 li a4,16
|
|
2d8a: 02e69863 bne a3,a4,2dba <read_and_process_uart_data+0x1c0>
|
|
2d8e: 00008537 lui a0,0x8
|
|
2d92: 2e200613 li a2,738
|
|
2d96: 4585 li a1,1
|
|
2d98: 34050513 addi a0,a0,832 # 8340 <mosTemperADC+0x528>
|
|
2d9c: 0cf030ef jal ra,666a <iprintf>
|
|
2da0: 3418 lbu a4,9(s0)
|
|
2da2: 47c1 li a5,16
|
|
2da4: 0cf71263 bne a4,a5,2e68 <read_and_process_uart_data+0x26e>
|
|
2da8: 47b5 li a5,13
|
|
2daa: 0b57ff63 bgeu a5,s5,2e68 <read_and_process_uart_data+0x26e>
|
|
2dae: 00d44983 lbu s3,13(s0)
|
|
2db2: 0986 slli s3,s3,0x1
|
|
2db4: 09c5 addi s3,s3,17
|
|
2db6: 8a56 mv s4,s5
|
|
2db8: b7d9 j 2d7e <read_and_process_uart_data+0x184>
|
|
2dba: 03068713 addi a4,a3,48
|
|
2dbe: 0ff77713 andi a4,a4,255
|
|
2dc2: 4605 li a2,1
|
|
2dc4: 00e66d63 bltu a2,a4,2dde <read_and_process_uart_data+0x1e4>
|
|
2dc8: 00008537 lui a0,0x8
|
|
2dcc: 2e900613 li a2,745
|
|
2dd0: 4585 li a1,1
|
|
2dd2: 36450513 addi a0,a0,868 # 8364 <mosTemperADC+0x54c>
|
|
2dd6: 095030ef jal ra,666a <iprintf>
|
|
2dda: 49b5 li s3,13
|
|
2ddc: b7d1 j 2da0 <read_and_process_uart_data+0x1a6>
|
|
2dde: 8151c703 lbu a4,-2027(gp) # 20000175 <run_Broadcast>
|
|
2de2: cf1d beqz a4,2e20 <read_and_process_uart_data+0x226>
|
|
2de4: 0a000713 li a4,160
|
|
2de8: 2ef00613 li a2,751
|
|
2dec: 04e68963 beq a3,a4,2e3e <read_and_process_uart_data+0x244>
|
|
2df0: 0a100713 li a4,161
|
|
2df4: 00e69863 bne a3,a4,2e04 <read_and_process_uart_data+0x20a>
|
|
2df8: 2f500613 li a2,757
|
|
2dfc: 4585 li a1,1
|
|
2dfe: 3a8d0513 addi a0,s10,936 # 83a8 <mosTemperADC+0x590>
|
|
2e02: b71d j 2d28 <read_and_process_uart_data+0x12e>
|
|
2e04: 8726 mv a4,s1
|
|
2e06: 00f4f363 bgeu s1,a5,2e0c <read_and_process_uart_data+0x212>
|
|
2e0a: 4709 li a4,2
|
|
2e0c: 0ff77493 andi s1,a4,255
|
|
2e10: 2fd00613 li a2,765
|
|
2e14: 4585 li a1,1
|
|
2e16: 3d0c8513 addi a0,s9,976 # 83d0 <mosTemperADC+0x5b8>
|
|
2e1a: 051030ef jal ra,666a <iprintf>
|
|
2e1e: bf91 j 2d72 <read_and_process_uart_data+0x178>
|
|
2e20: 8726 mv a4,s1
|
|
2e22: 00f4f363 bgeu s1,a5,2e28 <read_and_process_uart_data+0x22e>
|
|
2e26: 4709 li a4,2
|
|
2e28: 0ff77493 andi s1,a4,255
|
|
2e2c: 30800613 li a2,776
|
|
2e30: b7d5 j 2e14 <read_and_process_uart_data+0x21a>
|
|
2e32: 0a000793 li a5,160
|
|
2e36: 00f69a63 bne a3,a5,2e4a <read_and_process_uart_data+0x250>
|
|
2e3a: 31100613 li a2,785
|
|
2e3e: 00008537 lui a0,0x8
|
|
2e42: 4585 li a1,1
|
|
2e44: 38450513 addi a0,a0,900 # 8384 <mosTemperADC+0x56c>
|
|
2e48: b779 j 2dd6 <read_and_process_uart_data+0x1dc>
|
|
2e4a: 0a100793 li a5,161
|
|
2e4e: 31700613 li a2,791
|
|
2e52: faf685e3 beq a3,a5,2dfc <read_and_process_uart_data+0x202>
|
|
2e56: 87a6 mv a5,s1
|
|
2e58: 00e4f363 bgeu s1,a4,2e5e <read_and_process_uart_data+0x264>
|
|
2e5c: 4789 li a5,2
|
|
2e5e: 0ff7f493 andi s1,a5,255
|
|
2e62: 31f00613 li a2,799
|
|
2e66: b77d j 2e14 <read_and_process_uart_data+0x21a>
|
|
2e68: f53a97e3 bne s5,s3,2db6 <read_and_process_uart_data+0x1bc>
|
|
2e6c: ffda8593 addi a1,s5,-3
|
|
2e70: 0ff5f593 andi a1,a1,255
|
|
2e74: 8e018513 addi a0,gp,-1824 # 20000240 <rs485_buff>
|
|
2e78: 9a5ff0ef jal ra,281c <CheckFunc>
|
|
2e7c: 01440733 add a4,s0,s4
|
|
2e80: ffe74783 lbu a5,-2(a4)
|
|
2e84: fff74703 lbu a4,-1(a4)
|
|
2e88: 07a2 slli a5,a5,0x8
|
|
2e8a: 8fd9 or a5,a5,a4
|
|
2e8c: 00a79763 bne a5,a0,2e9a <read_and_process_uart_data+0x2a0>
|
|
2e90: 47b2 lw a5,12(sp)
|
|
2e92: 2398 lbu a4,0(a5)
|
|
2e94: 47d9 li a5,22
|
|
2e96: 00f70a63 beq a4,a5,2eaa <read_and_process_uart_data+0x2b0>
|
|
2e9a: 470d li a4,3
|
|
2e9c: 87a6 mv a5,s1
|
|
2e9e: 00e4f363 bgeu s1,a4,2ea4 <read_and_process_uart_data+0x2aa>
|
|
2ea2: 478d li a5,3
|
|
2ea4: 0ff7f493 andi s1,a5,255
|
|
2ea8: b5e9 j 2d72 <read_and_process_uart_data+0x178>
|
|
2eaa: 8656 mv a2,s5
|
|
2eac: 8e018593 addi a1,gp,-1824 # 20000240 <rs485_buff>
|
|
2eb0: 8562 mv a0,s8
|
|
2eb2: d17ff0ef jal ra,2bc8 <FRT_MsgHandler>
|
|
2eb6: 0141 addi sp,sp,16
|
|
2eb8: ac4fd06f j 17c <__riscv_restore_12>
|
|
2ebc: 47a5 li a5,9
|
|
2ebe: e2fa9ee3 bne s5,a5,2cfa <read_and_process_uart_data+0x100>
|
|
2ec2: b3f9 j 2c90 <read_and_process_uart_data+0x96>
|
|
|
|
00002ec4 <Task_RunLED>:
|
|
2ec4: a92fd2ef jal t0,156 <__riscv_save_4>
|
|
2ec8: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
2ecc: 000089b7 lui s3,0x8
|
|
2ed0: 715d addi sp,sp,-80
|
|
2ed2: 460d li a2,3
|
|
2ed4: 4a098593 addi a1,s3,1184 # 84a0 <mosTemperADC+0x688>
|
|
2ed8: 6bf000ef jal ra,3d96 <uart_dev_write>
|
|
2edc: 05000613 li a2,80
|
|
2ee0: 4581 li a1,0
|
|
2ee2: 850a mv a0,sp
|
|
2ee4: abcfd0ef jal ra,1a0 <memset>
|
|
2ee8: 00008a37 lui s4,0x8
|
|
2eec: 80c1a503 lw a0,-2036(gp) # 2000016c <g_duty_ratio>
|
|
2ef0: 044a2583 lw a1,68(s4) # 8044 <mosTemperADC+0x22c>
|
|
2ef4: 8b018413 addi s0,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
2ef8: 3d5020ef jal ra,5acc <__mulsf3>
|
|
2efc: 1ec030ef jal ra,60e8 <__fixsfsi>
|
|
2f00: 000085b7 lui a1,0x8
|
|
2f04: 862a mv a2,a0
|
|
2f06: 3f458593 addi a1,a1,1012 # 83f4 <mosTemperADC+0x5dc>
|
|
2f0a: 850a mv a0,sp
|
|
2f0c: 15b030ef jal ra,6866 <siprintf>
|
|
2f10: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
2f14: 05000613 li a2,80
|
|
2f18: 858a mv a1,sp
|
|
2f1a: 67d000ef jal ra,3d96 <uart_dev_write>
|
|
2f1e: 05000613 li a2,80
|
|
2f22: 4581 li a1,0
|
|
2f24: 850a mv a0,sp
|
|
2f26: a7afd0ef jal ra,1a0 <memset>
|
|
2f2a: 2c68 lbu a0,30(s0)
|
|
2f2c: 3c5c lbu a5,29(s0)
|
|
2f2e: 00008937 lui s2,0x8
|
|
2f32: 0522 slli a0,a0,0x8
|
|
2f34: 8d5d or a0,a0,a5
|
|
2f36: 3c7c lbu a5,31(s0)
|
|
2f38: 00092583 lw a1,0(s2) # 8000 <mosTemperADC+0x1e8>
|
|
2f3c: 07c2 slli a5,a5,0x10
|
|
2f3e: 8fc9 or a5,a5,a0
|
|
2f40: 02044503 lbu a0,32(s0)
|
|
2f44: 0562 slli a0,a0,0x18
|
|
2f46: 8d5d or a0,a0,a5
|
|
2f48: 385020ef jal ra,5acc <__mulsf3>
|
|
2f4c: 19c030ef jal ra,60e8 <__fixsfsi>
|
|
2f50: 000085b7 lui a1,0x8
|
|
2f54: 862a mv a2,a0
|
|
2f56: 40c58593 addi a1,a1,1036 # 840c <mosTemperADC+0x5f4>
|
|
2f5a: 850a mv a0,sp
|
|
2f5c: 10b030ef jal ra,6866 <siprintf>
|
|
2f60: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
2f64: 05000613 li a2,80
|
|
2f68: 858a mv a1,sp
|
|
2f6a: 62d000ef jal ra,3d96 <uart_dev_write>
|
|
2f6e: 05000613 li a2,80
|
|
2f72: 4581 li a1,0
|
|
2f74: 850a mv a0,sp
|
|
2f76: a2afd0ef jal ra,1a0 <memset>
|
|
2f7a: 2468 lbu a0,14(s0)
|
|
2f7c: 345c lbu a5,13(s0)
|
|
2f7e: 00092583 lw a1,0(s2)
|
|
2f82: 0522 slli a0,a0,0x8
|
|
2f84: 8d5d or a0,a0,a5
|
|
2f86: 347c lbu a5,15(s0)
|
|
2f88: 07c2 slli a5,a5,0x10
|
|
2f8a: 8fc9 or a5,a5,a0
|
|
2f8c: 2808 lbu a0,16(s0)
|
|
2f8e: 0562 slli a0,a0,0x18
|
|
2f90: 8d5d or a0,a0,a5
|
|
2f92: 33b020ef jal ra,5acc <__mulsf3>
|
|
2f96: 152030ef jal ra,60e8 <__fixsfsi>
|
|
2f9a: 000085b7 lui a1,0x8
|
|
2f9e: 862a mv a2,a0
|
|
2fa0: 42858593 addi a1,a1,1064 # 8428 <mosTemperADC+0x610>
|
|
2fa4: 850a mv a0,sp
|
|
2fa6: 0c1030ef jal ra,6866 <siprintf>
|
|
2faa: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
2fae: 05000613 li a2,80
|
|
2fb2: 858a mv a1,sp
|
|
2fb4: 5e3000ef jal ra,3d96 <uart_dev_write>
|
|
2fb8: 05000613 li a2,80
|
|
2fbc: 4581 li a1,0
|
|
2fbe: 850a mv a0,sp
|
|
2fc0: 9e0fd0ef jal ra,1a0 <memset>
|
|
2fc4: 2828 lbu a0,18(s0)
|
|
2fc6: 381c lbu a5,17(s0)
|
|
2fc8: 00092583 lw a1,0(s2)
|
|
2fcc: 0522 slli a0,a0,0x8
|
|
2fce: 8d5d or a0,a0,a5
|
|
2fd0: 383c lbu a5,19(s0)
|
|
2fd2: 07c2 slli a5,a5,0x10
|
|
2fd4: 8fc9 or a5,a5,a0
|
|
2fd6: 2848 lbu a0,20(s0)
|
|
2fd8: 0562 slli a0,a0,0x18
|
|
2fda: 8d5d or a0,a0,a5
|
|
2fdc: 2f1020ef jal ra,5acc <__mulsf3>
|
|
2fe0: 108030ef jal ra,60e8 <__fixsfsi>
|
|
2fe4: 000085b7 lui a1,0x8
|
|
2fe8: 862a mv a2,a0
|
|
2fea: 43c58593 addi a1,a1,1084 # 843c <mosTemperADC+0x624>
|
|
2fee: 850a mv a0,sp
|
|
2ff0: 077030ef jal ra,6866 <siprintf>
|
|
2ff4: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
2ff8: 05000613 li a2,80
|
|
2ffc: 858a mv a1,sp
|
|
2ffe: 599000ef jal ra,3d96 <uart_dev_write>
|
|
3002: 05000613 li a2,80
|
|
3006: 4581 li a1,0
|
|
3008: 850a mv a0,sp
|
|
300a: 996fd0ef jal ra,1a0 <memset>
|
|
300e: 2868 lbu a0,22(s0)
|
|
3010: 385c lbu a5,21(s0)
|
|
3012: 00092583 lw a1,0(s2)
|
|
3016: 0522 slli a0,a0,0x8
|
|
3018: 8d5d or a0,a0,a5
|
|
301a: 387c lbu a5,23(s0)
|
|
301c: 07c2 slli a5,a5,0x10
|
|
301e: 8fc9 or a5,a5,a0
|
|
3020: 2c08 lbu a0,24(s0)
|
|
3022: 0562 slli a0,a0,0x18
|
|
3024: 8d5d or a0,a0,a5
|
|
3026: 2a7020ef jal ra,5acc <__mulsf3>
|
|
302a: 0be030ef jal ra,60e8 <__fixsfsi>
|
|
302e: 000085b7 lui a1,0x8
|
|
3032: 862a mv a2,a0
|
|
3034: 45458593 addi a1,a1,1108 # 8454 <mosTemperADC+0x63c>
|
|
3038: 850a mv a0,sp
|
|
303a: 02d030ef jal ra,6866 <siprintf>
|
|
303e: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
3042: 05000613 li a2,80
|
|
3046: 858a mv a1,sp
|
|
3048: 54f000ef jal ra,3d96 <uart_dev_write>
|
|
304c: 05000613 li a2,80
|
|
3050: 4581 li a1,0
|
|
3052: 850a mv a0,sp
|
|
3054: 94cfd0ef jal ra,1a0 <memset>
|
|
3058: 2c28 lbu a0,26(s0)
|
|
305a: 3c1c lbu a5,25(s0)
|
|
305c: 00092583 lw a1,0(s2)
|
|
3060: 0522 slli a0,a0,0x8
|
|
3062: 8d5d or a0,a0,a5
|
|
3064: 3c3c lbu a5,27(s0)
|
|
3066: 07c2 slli a5,a5,0x10
|
|
3068: 8fc9 or a5,a5,a0
|
|
306a: 2c48 lbu a0,28(s0)
|
|
306c: 0562 slli a0,a0,0x18
|
|
306e: 8d5d or a0,a0,a5
|
|
3070: 25d020ef jal ra,5acc <__mulsf3>
|
|
3074: 074030ef jal ra,60e8 <__fixsfsi>
|
|
3078: 000085b7 lui a1,0x8
|
|
307c: 862a mv a2,a0
|
|
307e: 46858593 addi a1,a1,1128 # 8468 <mosTemperADC+0x650>
|
|
3082: 850a mv a0,sp
|
|
3084: 7e2030ef jal ra,6866 <siprintf>
|
|
3088: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
308c: 05000613 li a2,80
|
|
3090: 858a mv a1,sp
|
|
3092: 505000ef jal ra,3d96 <uart_dev_write>
|
|
3096: 05000613 li a2,80
|
|
309a: 4581 li a1,0
|
|
309c: 850a mv a0,sp
|
|
309e: 902fd0ef jal ra,1a0 <memset>
|
|
30a2: 02644503 lbu a0,38(s0)
|
|
30a6: 02544783 lbu a5,37(s0)
|
|
30aa: 00008737 lui a4,0x8
|
|
30ae: 0522 slli a0,a0,0x8
|
|
30b0: 8d5d or a0,a0,a5
|
|
30b2: 02744783 lbu a5,39(s0)
|
|
30b6: 1e872583 lw a1,488(a4) # 81e8 <mosTemperADC+0x3d0>
|
|
30ba: 07c2 slli a5,a5,0x10
|
|
30bc: 8fc9 or a5,a5,a0
|
|
30be: 02844503 lbu a0,40(s0)
|
|
30c2: 0562 slli a0,a0,0x18
|
|
30c4: 8d5d or a0,a0,a5
|
|
30c6: 207020ef jal ra,5acc <__mulsf3>
|
|
30ca: 01e030ef jal ra,60e8 <__fixsfsi>
|
|
30ce: 000085b7 lui a1,0x8
|
|
30d2: 862a mv a2,a0
|
|
30d4: 47c58593 addi a1,a1,1148 # 847c <mosTemperADC+0x664>
|
|
30d8: 850a mv a0,sp
|
|
30da: 78c030ef jal ra,6866 <siprintf>
|
|
30de: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
30e2: 05000613 li a2,80
|
|
30e6: 858a mv a1,sp
|
|
30e8: 4af000ef jal ra,3d96 <uart_dev_write>
|
|
30ec: 05000613 li a2,80
|
|
30f0: 4581 li a1,0
|
|
30f2: 850a mv a0,sp
|
|
30f4: 8acfd0ef jal ra,1a0 <memset>
|
|
30f8: 8801a503 lw a0,-1920(gp) # 200001e0 <g_impedance>
|
|
30fc: 044a2583 lw a1,68(s4)
|
|
3100: 1cd020ef jal ra,5acc <__mulsf3>
|
|
3104: 7e5020ef jal ra,60e8 <__fixsfsi>
|
|
3108: 000085b7 lui a1,0x8
|
|
310c: 862a mv a2,a0
|
|
310e: 48c58593 addi a1,a1,1164 # 848c <mosTemperADC+0x674>
|
|
3112: 850a mv a0,sp
|
|
3114: 752030ef jal ra,6866 <siprintf>
|
|
3118: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
311c: 05000613 li a2,80
|
|
3120: 858a mv a1,sp
|
|
3122: 475000ef jal ra,3d96 <uart_dev_write>
|
|
3126: 05000613 li a2,80
|
|
312a: 4581 li a1,0
|
|
312c: 850a mv a0,sp
|
|
312e: 872fd0ef jal ra,1a0 <memset>
|
|
3132: 02a44783 lbu a5,42(s0)
|
|
3136: 02944603 lbu a2,41(s0)
|
|
313a: 000085b7 lui a1,0x8
|
|
313e: 07a2 slli a5,a5,0x8
|
|
3140: 8e5d or a2,a2,a5
|
|
3142: 4a458593 addi a1,a1,1188 # 84a4 <mosTemperADC+0x68c>
|
|
3146: 850a mv a0,sp
|
|
3148: 71e030ef jal ra,6866 <siprintf>
|
|
314c: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
3150: 05000613 li a2,80
|
|
3154: 858a mv a1,sp
|
|
3156: 441000ef jal ra,3d96 <uart_dev_write>
|
|
315a: 05000613 li a2,80
|
|
315e: 4581 li a1,0
|
|
3160: 850a mv a0,sp
|
|
3162: 83efd0ef jal ra,1a0 <memset>
|
|
3166: 87d1c603 lbu a2,-1923(gp) # 200001dd <g_batteryState>
|
|
316a: 000085b7 lui a1,0x8
|
|
316e: 4b858593 addi a1,a1,1208 # 84b8 <mosTemperADC+0x6a0>
|
|
3172: 850a mv a0,sp
|
|
3174: 6f2030ef jal ra,6866 <siprintf>
|
|
3178: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
317c: 05000613 li a2,80
|
|
3180: 858a mv a1,sp
|
|
3182: 415000ef jal ra,3d96 <uart_dev_write>
|
|
3186: 05000613 li a2,80
|
|
318a: 4581 li a1,0
|
|
318c: 850a mv a0,sp
|
|
318e: 812fd0ef jal ra,1a0 <memset>
|
|
3192: 02c44783 lbu a5,44(s0)
|
|
3196: 02b44603 lbu a2,43(s0)
|
|
319a: 000085b7 lui a1,0x8
|
|
319e: 07a2 slli a5,a5,0x8
|
|
31a0: 8e5d or a2,a2,a5
|
|
31a2: 4d058593 addi a1,a1,1232 # 84d0 <mosTemperADC+0x6b8>
|
|
31a6: 850a mv a0,sp
|
|
31a8: 6be030ef jal ra,6866 <siprintf>
|
|
31ac: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
31b0: 05000613 li a2,80
|
|
31b4: 858a mv a1,sp
|
|
31b6: 3e1000ef jal ra,3d96 <uart_dev_write>
|
|
31ba: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
31be: 460d li a2,3
|
|
31c0: 4a098593 addi a1,s3,1184
|
|
31c4: 3d3000ef jal ra,3d96 <uart_dev_write>
|
|
31c8: 87c18793 addi a5,gp,-1924 # 200001dc <flag.6417>
|
|
31cc: 2390 lbu a2,0(a5)
|
|
31ce: 40011437 lui s0,0x40011
|
|
31d2: 10000593 li a1,256
|
|
31d6: 00163613 seqz a2,a2
|
|
31da: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
31de: a390 sb a2,0(a5)
|
|
31e0: 80dfd0ef jal ra,9ec <GPIO_WriteBit>
|
|
31e4: 88918793 addi a5,gp,-1911 # 200001e9 <num.6418>
|
|
31e8: 2398 lbu a4,0(a5)
|
|
31ea: 00170693 addi a3,a4,1
|
|
31ee: a394 sb a3,0(a5)
|
|
31f0: 47d1 li a5,20
|
|
31f2: 00f71963 bne a4,a5,3204 <Task_RunLED+0x340>
|
|
31f6: 4605 li a2,1
|
|
31f8: 10000593 li a1,256
|
|
31fc: c0040513 addi a0,s0,-1024
|
|
3200: fecfd0ef jal ra,9ec <GPIO_WriteBit>
|
|
3204: 6161 addi sp,sp,80
|
|
3206: f85fc06f j 18a <__riscv_restore_4>
|
|
|
|
0000320a <Task_wdi>:
|
|
320a: f67fc2ef jal t0,170 <__riscv_save_0>
|
|
320e: 89418793 addi a5,gp,-1900 # 200001f4 <temp.6441>
|
|
3212: 4398 lw a4,0(a5)
|
|
3214: 66d5 lui a3,0x15
|
|
3216: 18068693 addi a3,a3,384 # 15180 <_data_lma+0xc92c>
|
|
321a: 02d70763 beq a4,a3,3248 <Task_wdi+0x3e>
|
|
321e: 0705 addi a4,a4,1
|
|
3220: c398 sw a4,0(a5)
|
|
3222: 40011437 lui s0,0x40011
|
|
3226: 6485 lui s1,0x1
|
|
3228: 80048593 addi a1,s1,-2048 # 800 <__stack_size>
|
|
322c: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
3230: 4605 li a2,1
|
|
3232: fbafd0ef jal ra,9ec <GPIO_WriteBit>
|
|
3236: 4601 li a2,0
|
|
3238: 80048593 addi a1,s1,-2048
|
|
323c: 80040513 addi a0,s0,-2048
|
|
3240: facfd0ef jal ra,9ec <GPIO_WriteBit>
|
|
3244: f51fc06f j 194 <__riscv_restore_0>
|
|
3248: 0007a023 sw zero,0(a5) # 10000 <_data_lma+0x77ac>
|
|
324c: beef07b7 lui a5,0xbeef0
|
|
3250: e000e737 lui a4,0xe000e
|
|
3254: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eeeb080>
|
|
3258: c73c sw a5,72(a4)
|
|
325a: b7e1 j 3222 <Task_wdi+0x18>
|
|
|
|
0000325c <Task_usart>:
|
|
325c: f15fc2ef jal t0,170 <__riscv_save_0>
|
|
3260: 8a41a503 lw a0,-1884(gp) # 20000204 <g_gw485_uart4_handle>
|
|
3264: 997ff0ef jal ra,2bfa <read_and_process_uart_data>
|
|
3268: f2dfc06f j 194 <__riscv_restore_0>
|
|
|
|
0000326c <Task_startMpptControl>:
|
|
326c: eebfc2ef jal t0,156 <__riscv_save_4>
|
|
3270: 20000937 lui s2,0x20000
|
|
3274: 02090793 addi a5,s2,32 # 20000020 <g_slConfigInfo>
|
|
3278: 2ff4 lbu a3,30(a5)
|
|
327a: 3fd8 lbu a4,29(a5)
|
|
327c: 06a2 slli a3,a3,0x8
|
|
327e: 8ed9 or a3,a3,a4
|
|
3280: 81418713 addi a4,gp,-2028 # 20000174 <only_once.6424>
|
|
3284: 2310 lbu a2,0(a4)
|
|
3286: 7139 addi sp,sp,-64
|
|
3288: 02090913 addi s2,s2,32
|
|
328c: 86818793 addi a5,gp,-1944 # 200001c8 <checkSolarOpenCircuitVTimeFlag.6423>
|
|
3290: c611 beqz a2,329c <Task_startMpptControl+0x30>
|
|
3292: 00070023 sb zero,0(a4) # e000e000 <_eusrstack+0xc0009000>
|
|
3296: ffd68713 addi a4,a3,-3
|
|
329a: a39a sh a4,0(a5)
|
|
329c: 239a lhu a4,0(a5)
|
|
329e: 0705 addi a4,a4,1
|
|
32a0: 0742 slli a4,a4,0x10
|
|
32a2: 8341 srli a4,a4,0x10
|
|
32a4: 00d70663 beq a4,a3,32b0 <Task_startMpptControl+0x44>
|
|
32a8: a39a sh a4,0(a5)
|
|
32aa: 6121 addi sp,sp,64
|
|
32ac: edffc06f j 18a <__riscv_restore_4>
|
|
32b0: 00079023 sh zero,0(a5)
|
|
32b4: b79fe0ef jal ra,1e2c <get_PV1_VOLT_IN>
|
|
32b8: 8b018413 addi s0,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
32bc: 00855713 srli a4,a0,0x8
|
|
32c0: 01855793 srli a5,a0,0x18
|
|
32c4: 03200613 li a2,50
|
|
32c8: 84aa mv s1,a0
|
|
32ca: 02a400a3 sb a0,33(s0)
|
|
32ce: 02e40123 sb a4,34(s0)
|
|
32d2: 4581 li a1,0
|
|
32d4: 01055713 srli a4,a0,0x10
|
|
32d8: 0068 addi a0,sp,12
|
|
32da: 02e401a3 sb a4,35(s0)
|
|
32de: 02f40223 sb a5,36(s0)
|
|
32e2: 000089b7 lui s3,0x8
|
|
32e6: ebbfc0ef jal ra,1a0 <memset>
|
|
32ea: 0009a583 lw a1,0(s3) # 8000 <mosTemperADC+0x1e8>
|
|
32ee: 8526 mv a0,s1
|
|
32f0: 7dc020ef jal ra,5acc <__mulsf3>
|
|
32f4: 5f5020ef jal ra,60e8 <__fixsfsi>
|
|
32f8: 000085b7 lui a1,0x8
|
|
32fc: 862a mv a2,a0
|
|
32fe: 5a058593 addi a1,a1,1440 # 85a0 <mosTemperADC+0x788>
|
|
3302: 0068 addi a0,sp,12
|
|
3304: 562030ef jal ra,6866 <siprintf>
|
|
3308: 8a01a503 lw a0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
330c: 03200613 li a2,50
|
|
3310: 006c addi a1,sp,12
|
|
3312: 285000ef jal ra,3d96 <uart_dev_write>
|
|
3316: 02244783 lbu a5,34(s0)
|
|
331a: 02144483 lbu s1,33(s0)
|
|
331e: 01394503 lbu a0,19(s2)
|
|
3322: 07a2 slli a5,a5,0x8
|
|
3324: 8fc5 or a5,a5,s1
|
|
3326: 02344483 lbu s1,35(s0)
|
|
332a: 04c2 slli s1,s1,0x10
|
|
332c: 8fc5 or a5,a5,s1
|
|
332e: 02444483 lbu s1,36(s0)
|
|
3332: 04e2 slli s1,s1,0x18
|
|
3334: 8cdd or s1,s1,a5
|
|
3336: 01494783 lbu a5,20(s2)
|
|
333a: 07a2 slli a5,a5,0x8
|
|
333c: 8d5d or a0,a0,a5
|
|
333e: 729020ef jal ra,6266 <__floatunsisf>
|
|
3342: 0009a583 lw a1,0(s3)
|
|
3346: 366020ef jal ra,56ac <__divsf3>
|
|
334a: 85a6 mv a1,s1
|
|
334c: 6f4020ef jal ra,5a40 <__lesf2>
|
|
3350: f4055de3 bgez a0,32aa <Task_startMpptControl+0x3e>
|
|
3354: 98418493 addi s1,gp,-1660 # 200002e4 <m_startMpptControl>
|
|
3358: 98418513 addi a0,gp,-1660 # 200002e4 <m_startMpptControl>
|
|
335c: f4afe0ef jal ra,1aa6 <TimeSliceOffset_Unregister>
|
|
3360: 00048023 sb zero,0(s1)
|
|
3364: 2468 lbu a0,14(s0)
|
|
3366: 345c lbu a5,13(s0)
|
|
3368: 00008737 lui a4,0x8
|
|
336c: 0522 slli a0,a0,0x8
|
|
336e: 8d5d or a0,a0,a5
|
|
3370: 347c lbu a5,15(s0)
|
|
3372: 1e872583 lw a1,488(a4) # 81e8 <mosTemperADC+0x3d0>
|
|
3376: 07c2 slli a5,a5,0x10
|
|
3378: 8fc9 or a5,a5,a0
|
|
337a: 2808 lbu a0,16(s0)
|
|
337c: 0562 slli a0,a0,0x18
|
|
337e: 8d5d or a0,a0,a5
|
|
3380: 63a020ef jal ra,59ba <__gesf2>
|
|
3384: 00a02533 sgtz a0,a0
|
|
3388: 86a18ea3 sb a0,-1923(gp) # 200001dd <g_batteryState>
|
|
338c: 000035b7 lui a1,0x3
|
|
3390: 4681 li a3,0
|
|
3392: 4679 li a2,30
|
|
3394: 3a258593 addi a1,a1,930 # 33a2 <Task_softStart>
|
|
3398: 97418513 addi a0,gp,-1676 # 200002d4 <m_softStart>
|
|
339c: eccfe0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
33a0: b729 j 32aa <Task_startMpptControl+0x3e>
|
|
|
|
000033a2 <Task_softStart>:
|
|
33a2: db5fc2ef jal t0,156 <__riscv_save_4>
|
|
33a6: 88a18713 addi a4,gp,-1910 # 200001ea <num.6430>
|
|
33aa: 231e lhu a5,0(a4)
|
|
33ac: 0785 addi a5,a5,1
|
|
33ae: 07c2 slli a5,a5,0x10
|
|
33b0: 83c1 srli a5,a5,0x10
|
|
33b2: a31e sh a5,0(a4)
|
|
33b4: 4711 li a4,4
|
|
33b6: 00f76c63 bltu a4,a5,33ce <Task_softStart+0x2c>
|
|
33ba: 40001537 lui a0,0x40001
|
|
33be: 06400593 li a1,100
|
|
33c2: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
33c6: c77fd0ef jal ra,103c <TIM_SetCompare4>
|
|
33ca: dc1fc06f j 18a <__riscv_restore_4>
|
|
33ce: 04600713 li a4,70
|
|
33d2: 88a18413 addi s0,gp,-1910 # 200001ea <num.6430>
|
|
33d6: 87418a13 addi s4,gp,-1932 # 200001d4 <dutyRatio.6431>
|
|
33da: 00f76b63 bltu a4,a5,33f0 <Task_softStart+0x4e>
|
|
33de: 000a2983 lw s3,0(s4)
|
|
33e2: 80c1a583 lw a1,-2036(gp) # 2000016c <g_duty_ratio>
|
|
33e6: 854e mv a0,s3
|
|
33e8: 5d2020ef jal ra,59ba <__gesf2>
|
|
33ec: 0aa05363 blez a0,3492 <Task_softStart+0xf0>
|
|
33f0: 97418913 addi s2,gp,-1676 # 200002d4 <m_softStart>
|
|
33f4: 97418513 addi a0,gp,-1676 # 200002d4 <m_softStart>
|
|
33f8: eaefe0ef jal ra,1aa6 <TimeSliceOffset_Unregister>
|
|
33fc: 00000793 li a5,0
|
|
3400: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
3404: 00fa2023 sw a5,0(s4)
|
|
3408: 00090023 sb zero,0(s2)
|
|
340c: 00041023 sh zero,0(s0)
|
|
3410: a36fe0ef jal ra,1646 <Set_duty_ratio>
|
|
3414: 87d1c703 lbu a4,-1923(gp) # 200001dd <g_batteryState>
|
|
3418: 4785 li a5,1
|
|
341a: 00f71f63 bne a4,a5,3438 <Task_softStart+0x96>
|
|
341e: 000035b7 lui a1,0x3
|
|
3422: 0c800693 li a3,200
|
|
3426: 0c800613 li a2,200
|
|
342a: 74e58593 addi a1,a1,1870 # 374e <Task_impedanceCalculation>
|
|
342e: 91418513 addi a0,gp,-1772 # 20000274 <m_impedanceCalculation>
|
|
3432: e36fe0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
3436: bf51 j 33ca <Task_softStart+0x28>
|
|
3438: 00000793 li a5,0
|
|
343c: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
3440: 00fa2023 sw a5,0(s4)
|
|
3444: 00041023 sh zero,0(s0)
|
|
3448: 9fefe0ef jal ra,1646 <Set_duty_ratio>
|
|
344c: 915fe0ef jal ra,1d60 <get_CHG_CURR>
|
|
3450: 842a mv s0,a0
|
|
3452: 997fe0ef jal ra,1de8 <get_DSG_CURR>
|
|
3456: 85aa mv a1,a0
|
|
3458: 8522 mv a0,s0
|
|
345a: 107020ef jal ra,5d60 <__subsf3>
|
|
345e: 6d7020ef jal ra,6334 <__extendsfdf2>
|
|
3462: 000087b7 lui a5,0x8
|
|
3466: 0107a603 lw a2,16(a5) # 8010 <mosTemperADC+0x1f8>
|
|
346a: 0147a683 lw a3,20(a5)
|
|
346e: 108010ef jal ra,4576 <__gedf2>
|
|
3472: faa046e3 bgtz a0,341e <Task_softStart+0x7c>
|
|
3476: 40000537 lui a0,0x40000
|
|
347a: 4585 li a1,1
|
|
347c: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
3480: b4dfd0ef jal ra,fcc <TIM_Cmd>
|
|
3484: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
3488: 020785a3 sb zero,43(a5)
|
|
348c: 02078623 sb zero,44(a5)
|
|
3490: bf2d j 33ca <Task_softStart+0x28>
|
|
3492: 854e mv a0,s3
|
|
3494: 6a1020ef jal ra,6334 <__extendsfdf2>
|
|
3498: 000087b7 lui a5,0x8
|
|
349c: 5987a603 lw a2,1432(a5) # 8598 <mosTemperADC+0x780>
|
|
34a0: 59c7a683 lw a3,1436(a5)
|
|
34a4: 1a3000ef jal ra,3e46 <__adddf3>
|
|
34a8: 739020ef jal ra,63e0 <__truncdfsf2>
|
|
34ac: 00aa2023 sw a0,0(s4)
|
|
34b0: 87418513 addi a0,gp,-1932 # 200001d4 <dutyRatio.6431>
|
|
34b4: 992fe0ef jal ra,1646 <Set_duty_ratio>
|
|
34b8: bf09 j 33ca <Task_softStart+0x28>
|
|
|
|
000034ba <stop_mpptWork>:
|
|
34ba: cb7fc2ef jal t0,170 <__riscv_save_0>
|
|
34be: 00008737 lui a4,0x8
|
|
34c2: 5b472703 lw a4,1460(a4) # 85b4 <mosTemperADC+0x79c>
|
|
34c6: 40000537 lui a0,0x40000
|
|
34ca: 4581 li a1,0
|
|
34cc: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
34d0: 80e1a623 sw a4,-2036(gp) # 2000016c <g_duty_ratio>
|
|
34d4: af9fd0ef jal ra,fcc <TIM_Cmd>
|
|
34d8: 40001537 lui a0,0x40001
|
|
34dc: 4581 li a1,0
|
|
34de: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
34e2: b5bfd0ef jal ra,103c <TIM_SetCompare4>
|
|
34e6: caffc06f j 194 <__riscv_restore_0>
|
|
|
|
000034ea <Task_refreshRegister>:
|
|
34ea: c6dfc2ef jal t0,156 <__riscv_save_4>
|
|
34ee: 86618713 addi a4,gp,-1946 # 200001c6 <checkRegisterRefreshTimeFlag.6447>
|
|
34f2: 20000937 lui s2,0x20000
|
|
34f6: 02090613 addi a2,s2,32 # 20000020 <g_slConfigInfo>
|
|
34fa: 231e lhu a5,0(a4)
|
|
34fc: 02064683 lbu a3,32(a2) # ffffa020 <_eusrstack+0xdfff5020>
|
|
3500: 3e6c lbu a1,31(a2)
|
|
3502: 0785 addi a5,a5,1
|
|
3504: 07c2 slli a5,a5,0x10
|
|
3506: 06a2 slli a3,a3,0x8
|
|
3508: 83c1 srli a5,a5,0x10
|
|
350a: 8ecd or a3,a3,a1
|
|
350c: 00f68563 beq a3,a5,3516 <Task_refreshRegister+0x2c>
|
|
3510: a31e sh a5,0(a4)
|
|
3512: c79fc06f j 18a <__riscv_restore_4>
|
|
3516: 00071023 sh zero,0(a4)
|
|
351a: 88bfe0ef jal ra,1da4 <get_PV_VOLT_OUT>
|
|
351e: 8b018493 addi s1,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
3522: 00855793 srli a5,a0,0x8
|
|
3526: b4c8 sb a0,13(s1)
|
|
3528: a4fc sb a5,14(s1)
|
|
352a: 01055793 srli a5,a0,0x10
|
|
352e: 8161 srli a0,a0,0x18
|
|
3530: b4fc sb a5,15(s1)
|
|
3532: a888 sb a0,16(s1)
|
|
3534: 82dfe0ef jal ra,1d60 <get_CHG_CURR>
|
|
3538: 00855793 srli a5,a0,0x8
|
|
353c: b8c8 sb a0,21(s1)
|
|
353e: a8fc sb a5,22(s1)
|
|
3540: 01055793 srli a5,a0,0x10
|
|
3544: 8161 srli a0,a0,0x18
|
|
3546: b8fc sb a5,23(s1)
|
|
3548: ac88 sb a0,24(s1)
|
|
354a: 89ffe0ef jal ra,1de8 <get_DSG_CURR>
|
|
354e: 00855793 srli a5,a0,0x8
|
|
3552: bc88 sb a0,25(s1)
|
|
3554: acbc sb a5,26(s1)
|
|
3556: 01055793 srli a5,a0,0x10
|
|
355a: 8161 srli a0,a0,0x18
|
|
355c: bcbc sb a5,27(s1)
|
|
355e: acc8 sb a0,28(s1)
|
|
3560: 911fe0ef jal ra,1e70 <get_MOSFET_Temper>
|
|
3564: 00855793 srli a5,a0,0x8
|
|
3568: 02a482a3 sb a0,37(s1)
|
|
356c: 02f48323 sb a5,38(s1)
|
|
3570: 01055793 srli a5,a0,0x10
|
|
3574: 8161 srli a0,a0,0x18
|
|
3576: 02f483a3 sb a5,39(s1)
|
|
357a: 02a48423 sb a0,40(s1)
|
|
357e: 400114b7 lui s1,0x40011
|
|
3582: 10000593 li a1,256
|
|
3586: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
358a: c54fd0ef jal ra,9de <GPIO_ReadOutputDataBit>
|
|
358e: 02090913 addi s2,s2,32
|
|
3592: 8b018413 addi s0,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
3596: 4781 li a5,0
|
|
3598: c901 beqz a0,35a8 <Task_refreshRegister+0xbe>
|
|
359a: 4591 li a1,4
|
|
359c: c0048513 addi a0,s1,-1024
|
|
35a0: c34fd0ef jal ra,9d4 <GPIO_ReadInputDataBit>
|
|
35a4: 00a037b3 snez a5,a0
|
|
35a8: 2868 lbu a0,22(s0)
|
|
35aa: 2c2c lbu a1,26(s0)
|
|
35ac: 02f404a3 sb a5,41(s0)
|
|
35b0: 3c18 lbu a4,25(s0)
|
|
35b2: 385c lbu a5,21(s0)
|
|
35b4: 0522 slli a0,a0,0x8
|
|
35b6: 05a2 slli a1,a1,0x8
|
|
35b8: 8d5d or a0,a0,a5
|
|
35ba: 8dd9 or a1,a1,a4
|
|
35bc: 387c lbu a5,23(s0)
|
|
35be: 3c38 lbu a4,27(s0)
|
|
35c0: 02040523 sb zero,42(s0)
|
|
35c4: 07c2 slli a5,a5,0x10
|
|
35c6: 0742 slli a4,a4,0x10
|
|
35c8: 8fc9 or a5,a5,a0
|
|
35ca: 8f4d or a4,a4,a1
|
|
35cc: 2c08 lbu a0,24(s0)
|
|
35ce: 2c4c lbu a1,28(s0)
|
|
35d0: 0562 slli a0,a0,0x18
|
|
35d2: 05e2 slli a1,a1,0x18
|
|
35d4: 8d5d or a0,a0,a5
|
|
35d6: 8dd9 or a1,a1,a4
|
|
35d8: 788020ef jal ra,5d60 <__subsf3>
|
|
35dc: 89aa mv s3,a0
|
|
35de: 557020ef jal ra,6334 <__extendsfdf2>
|
|
35e2: 000087b7 lui a5,0x8
|
|
35e6: 5907a603 lw a2,1424(a5) # 8590 <mosTemperADC+0x778>
|
|
35ea: 5947a683 lw a3,1428(a5)
|
|
35ee: 036010ef jal ra,4624 <__ledf2>
|
|
35f2: 04055463 bgez a0,363a <Task_refreshRegister+0x150>
|
|
35f6: 247c lbu a5,14(s0)
|
|
35f8: 3444 lbu s1,13(s0)
|
|
35fa: 854e mv a0,s3
|
|
35fc: 07a2 slli a5,a5,0x8
|
|
35fe: 8fc5 or a5,a5,s1
|
|
3600: 3464 lbu s1,15(s0)
|
|
3602: 04c2 slli s1,s1,0x10
|
|
3604: 8fc5 or a5,a5,s1
|
|
3606: 2804 lbu s1,16(s0)
|
|
3608: 04e2 slli s1,s1,0x18
|
|
360a: 8cdd or s1,s1,a5
|
|
360c: 8801a583 lw a1,-1920(gp) # 200001e0 <g_impedance>
|
|
3610: 4bc020ef jal ra,5acc <__mulsf3>
|
|
3614: 000087b7 lui a5,0x8
|
|
3618: 0007a583 lw a1,0(a5) # 8000 <mosTemperADC+0x1e8>
|
|
361c: 090020ef jal ra,56ac <__divsf3>
|
|
3620: 85aa mv a1,a0
|
|
3622: 8526 mv a0,s1
|
|
3624: 73c020ef jal ra,5d60 <__subsf3>
|
|
3628: 00855793 srli a5,a0,0x8
|
|
362c: b808 sb a0,17(s0)
|
|
362e: a83c sb a5,18(s0)
|
|
3630: 01055793 srli a5,a0,0x10
|
|
3634: 8161 srli a0,a0,0x18
|
|
3636: b83c sb a5,19(s0)
|
|
3638: a848 sb a0,20(s0)
|
|
363a: ff2fe0ef jal ra,1e2c <get_PV1_VOLT_IN>
|
|
363e: 00855793 srli a5,a0,0x8
|
|
3642: ac7c sb a5,30(s0)
|
|
3644: 01055793 srli a5,a0,0x10
|
|
3648: bc7c sb a5,31(s0)
|
|
364a: 02644783 lbu a5,38(s0)
|
|
364e: 02544483 lbu s1,37(s0)
|
|
3652: bc48 sb a0,29(s0)
|
|
3654: 07a2 slli a5,a5,0x8
|
|
3656: 8fc5 or a5,a5,s1
|
|
3658: 02744483 lbu s1,39(s0)
|
|
365c: 8161 srli a0,a0,0x18
|
|
365e: 02a40023 sb a0,32(s0)
|
|
3662: 04c2 slli s1,s1,0x10
|
|
3664: 8fc5 or a5,a5,s1
|
|
3666: 02844483 lbu s1,40(s0)
|
|
366a: 02994503 lbu a0,41(s2)
|
|
366e: 04e2 slli s1,s1,0x18
|
|
3670: 8cdd or s1,s1,a5
|
|
3672: 02a94783 lbu a5,42(s2)
|
|
3676: 07a2 slli a5,a5,0x8
|
|
3678: 8d5d or a0,a0,a5
|
|
367a: 327020ef jal ra,61a0 <__floatsisf>
|
|
367e: 85aa mv a1,a0
|
|
3680: 8526 mv a0,s1
|
|
3682: 3be020ef jal ra,5a40 <__lesf2>
|
|
3686: 02055663 bgez a0,36b2 <Task_refreshRegister+0x1c8>
|
|
368a: 88f1c683 lbu a3,-1905(gp) # 200001ef <overTemperature>
|
|
368e: 4709 li a4,2
|
|
3690: 88f18413 addi s0,gp,-1905 # 200001ef <overTemperature>
|
|
3694: 00e69c63 bne a3,a4,36ac <Task_refreshRegister+0x1c2>
|
|
3698: 000035b7 lui a1,0x3
|
|
369c: 4681 li a3,0
|
|
369e: 4679 li a2,30
|
|
36a0: 3a258593 addi a1,a1,930 # 33a2 <Task_softStart>
|
|
36a4: 97418513 addi a0,gp,-1676 # 200002d4 <m_softStart>
|
|
36a8: bc0fe0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
36ac: 00040023 sb zero,0(s0)
|
|
36b0: b58d j 3512 <Task_refreshRegister+0x28>
|
|
36b2: 02894783 lbu a5,40(s2)
|
|
36b6: 02794503 lbu a0,39(s2)
|
|
36ba: 07a2 slli a5,a5,0x8
|
|
36bc: 8d5d or a0,a0,a5
|
|
36be: 2e3020ef jal ra,61a0 <__floatsisf>
|
|
36c2: 85aa mv a1,a0
|
|
36c4: 8526 mv a0,s1
|
|
36c6: 2f4020ef jal ra,59ba <__gesf2>
|
|
36ca: 00a05f63 blez a0,36e8 <Task_refreshRegister+0x1fe>
|
|
36ce: 000087b7 lui a5,0x8
|
|
36d2: 58c7a783 lw a5,1420(a5) # 858c <mosTemperADC+0x774>
|
|
36d6: 80f1a623 sw a5,-2036(gp) # 2000016c <g_duty_ratio>
|
|
36da: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
36de: f69fd0ef jal ra,1646 <Set_duty_ratio>
|
|
36e2: 4705 li a4,1
|
|
36e4: 88e187a3 sb a4,-1905(gp) # 200001ef <overTemperature>
|
|
36e8: 02644583 lbu a1,38(s0)
|
|
36ec: 02544783 lbu a5,37(s0)
|
|
36f0: 02594503 lbu a0,37(s2)
|
|
36f4: 05a2 slli a1,a1,0x8
|
|
36f6: 8fcd or a5,a5,a1
|
|
36f8: 02744583 lbu a1,39(s0)
|
|
36fc: 02844403 lbu s0,40(s0)
|
|
3700: 05c2 slli a1,a1,0x10
|
|
3702: 8ddd or a1,a1,a5
|
|
3704: 02694783 lbu a5,38(s2)
|
|
3708: 0462 slli s0,s0,0x18
|
|
370a: 8c4d or s0,s0,a1
|
|
370c: 07a2 slli a5,a5,0x8
|
|
370e: 8d5d or a0,a0,a5
|
|
3710: 291020ef jal ra,61a0 <__floatsisf>
|
|
3714: 85a2 mv a1,s0
|
|
3716: 32a020ef jal ra,5a40 <__lesf2>
|
|
371a: de055ce3 bgez a0,3512 <Task_refreshRegister+0x28>
|
|
371e: 4709 li a4,2
|
|
3720: 88e187a3 sb a4,-1905(gp) # 200001ef <overTemperature>
|
|
3724: d97ff0ef jal ra,34ba <stop_mpptWork>
|
|
3728: b3ed j 3512 <Task_refreshRegister+0x28>
|
|
|
|
0000372a <start_mpptWork>:
|
|
372a: a47fc2ef jal t0,170 <__riscv_save_0>
|
|
372e: 40000537 lui a0,0x40000
|
|
3732: 4585 li a1,1
|
|
3734: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
3738: 895fd0ef jal ra,fcc <TIM_Cmd>
|
|
373c: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
3740: 4709 li a4,2
|
|
3742: 02e785a3 sb a4,43(a5)
|
|
3746: 02078623 sb zero,44(a5)
|
|
374a: a4bfc06f j 194 <__riscv_restore_0>
|
|
|
|
0000374e <Task_impedanceCalculation>:
|
|
374e: a09fc2ef jal t0,156 <__riscv_save_4>
|
|
3752: 88c18493 addi s1,gp,-1908 # 200001ec <num.6468>
|
|
3756: 209c lbu a5,0(s1)
|
|
3758: 4705 li a4,1
|
|
375a: 1141 addi sp,sp,-16
|
|
375c: 0785 addi a5,a5,1
|
|
375e: 0ff7f793 andi a5,a5,255
|
|
3762: a09c sb a5,0(s1)
|
|
3764: 02e79463 bne a5,a4,378c <Task_impedanceCalculation+0x3e>
|
|
3768: 40000537 lui a0,0x40000
|
|
376c: 4581 li a1,0
|
|
376e: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
3772: 85bfd0ef jal ra,fcc <TIM_Cmd>
|
|
3776: 12c00593 li a1,300
|
|
377a: 40001537 lui a0,0x40001
|
|
377e: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
3782: 8bbfd0ef jal ra,103c <TIM_SetCompare4>
|
|
3786: 0141 addi sp,sp,16
|
|
3788: a03fc06f j 18a <__riscv_restore_4>
|
|
378c: 472d li a4,11
|
|
378e: 02e79463 bne a5,a4,37b6 <Task_impedanceCalculation+0x68>
|
|
3792: dcefe0ef jal ra,1d60 <get_CHG_CURR>
|
|
3796: 84aa mv s1,a0
|
|
3798: e50fe0ef jal ra,1de8 <get_DSG_CURR>
|
|
379c: 85aa mv a1,a0
|
|
379e: 8526 mv a0,s1
|
|
37a0: 5c0020ef jal ra,5d60 <__subsf3>
|
|
37a4: 86a1a623 sw a0,-1940(gp) # 200001cc <currOne.6469>
|
|
37a8: dfcfe0ef jal ra,1da4 <get_PV_VOLT_OUT>
|
|
37ac: 88a1ac23 sw a0,-1896(gp) # 200001f8 <voltOne.6470>
|
|
37b0: 1a400593 li a1,420
|
|
37b4: b7d9 j 377a <Task_impedanceCalculation+0x2c>
|
|
37b6: 4755 li a4,21
|
|
37b8: fce797e3 bne a5,a4,3786 <Task_impedanceCalculation+0x38>
|
|
37bc: 91418413 addi s0,gp,-1772 # 20000274 <m_impedanceCalculation>
|
|
37c0: 91418513 addi a0,gp,-1772 # 20000274 <m_impedanceCalculation>
|
|
37c4: ae2fe0ef jal ra,1aa6 <TimeSliceOffset_Unregister>
|
|
37c8: 00040023 sb zero,0(s0)
|
|
37cc: d94fe0ef jal ra,1d60 <get_CHG_CURR>
|
|
37d0: 892a mv s2,a0
|
|
37d2: e16fe0ef jal ra,1de8 <get_DSG_CURR>
|
|
37d6: 85aa mv a1,a0
|
|
37d8: 854a mv a0,s2
|
|
37da: 586020ef jal ra,5d60 <__subsf3>
|
|
37de: 87018413 addi s0,gp,-1936 # 200001d0 <currTwo.6471>
|
|
37e2: c008 sw a0,0(s0)
|
|
37e4: dc0fe0ef jal ra,1da4 <get_PV_VOLT_OUT>
|
|
37e8: 8981aa03 lw s4,-1896(gp) # 200001f8 <voltOne.6470>
|
|
37ec: 89c18913 addi s2,gp,-1892 # 200001fc <voltTwo.6472>
|
|
37f0: 85aa mv a1,a0
|
|
37f2: 00a92023 sw a0,0(s2)
|
|
37f6: 8552 mv a0,s4
|
|
37f8: 86c1ab03 lw s6,-1940(gp) # 200001cc <currOne.6469>
|
|
37fc: 564020ef jal ra,5d60 <__subsf3>
|
|
3800: 400c lw a1,0(s0)
|
|
3802: 8aaa mv s5,a0
|
|
3804: 855a mv a0,s6
|
|
3806: 55a020ef jal ra,5d60 <__subsf3>
|
|
380a: 85aa mv a1,a0
|
|
380c: 8556 mv a0,s5
|
|
380e: 69f010ef jal ra,56ac <__divsf3>
|
|
3812: 00008ab7 lui s5,0x8
|
|
3816: 000aa583 lw a1,0(s5) # 8000 <mosTemperADC+0x1e8>
|
|
381a: 88018993 addi s3,gp,-1920 # 200001e0 <g_impedance>
|
|
381e: 00a9a023 sw a0,0(s3)
|
|
3822: 8552 mv a0,s4
|
|
3824: 2a8020ef jal ra,5acc <__mulsf3>
|
|
3828: 0c1020ef jal ra,60e8 <__fixsfsi>
|
|
382c: 00008a37 lui s4,0x8
|
|
3830: 044a2583 lw a1,68(s4) # 8044 <mosTemperADC+0x22c>
|
|
3834: c62a sw a0,12(sp)
|
|
3836: 855a mv a0,s6
|
|
3838: 294020ef jal ra,5acc <__mulsf3>
|
|
383c: 0ad020ef jal ra,60e8 <__fixsfsi>
|
|
3840: 4632 lw a2,12(sp)
|
|
3842: 85aa mv a1,a0
|
|
3844: 00008537 lui a0,0x8
|
|
3848: 52050513 addi a0,a0,1312 # 8520 <mosTemperADC+0x708>
|
|
384c: 61f020ef jal ra,666a <iprintf>
|
|
3850: 000aa583 lw a1,0(s5)
|
|
3854: 00092503 lw a0,0(s2)
|
|
3858: 274020ef jal ra,5acc <__mulsf3>
|
|
385c: 08d020ef jal ra,60e8 <__fixsfsi>
|
|
3860: 044a2583 lw a1,68(s4)
|
|
3864: c62a sw a0,12(sp)
|
|
3866: 4008 lw a0,0(s0)
|
|
3868: 264020ef jal ra,5acc <__mulsf3>
|
|
386c: 07d020ef jal ra,60e8 <__fixsfsi>
|
|
3870: 4632 lw a2,12(sp)
|
|
3872: 85aa mv a1,a0
|
|
3874: 00008537 lui a0,0x8
|
|
3878: 54850513 addi a0,a0,1352 # 8548 <mosTemperADC+0x730>
|
|
387c: 5ef020ef jal ra,666a <iprintf>
|
|
3880: 0009a983 lw s3,0(s3)
|
|
3884: 400c lw a1,0(s0)
|
|
3886: 854e mv a0,s3
|
|
3888: 244020ef jal ra,5acc <__mulsf3>
|
|
388c: 85aa mv a1,a0
|
|
388e: 00092503 lw a0,0(s2)
|
|
3892: 4ce020ef jal ra,5d60 <__subsf3>
|
|
3896: 000aa583 lw a1,0(s5)
|
|
389a: 232020ef jal ra,5acc <__mulsf3>
|
|
389e: 04b020ef jal ra,60e8 <__fixsfsi>
|
|
38a2: 044a2583 lw a1,68(s4)
|
|
38a6: c62a sw a0,12(sp)
|
|
38a8: 854e mv a0,s3
|
|
38aa: 222020ef jal ra,5acc <__mulsf3>
|
|
38ae: 03b020ef jal ra,60e8 <__fixsfsi>
|
|
38b2: 4632 lw a2,12(sp)
|
|
38b4: 85aa mv a1,a0
|
|
38b6: 00008537 lui a0,0x8
|
|
38ba: 57050513 addi a0,a0,1392 # 8570 <mosTemperADC+0x758>
|
|
38be: 5ad020ef jal ra,666a <iprintf>
|
|
38c2: 00048023 sb zero,0(s1)
|
|
38c6: e65ff0ef jal ra,372a <start_mpptWork>
|
|
38ca: bd75 j 3786 <Task_impedanceCalculation+0x38>
|
|
|
|
000038cc <Task_recvbroadcast>:
|
|
38cc: 88bfc2ef jal t0,156 <__riscv_save_4>
|
|
38d0: 89118713 addi a4,gp,-1903 # 200001f1 <run_number.6455>
|
|
38d4: 231c lbu a5,0(a4)
|
|
38d6: 1101 addi sp,sp,-32
|
|
38d8: 00178693 addi a3,a5,1
|
|
38dc: 17f5 addi a5,a5,-3
|
|
38de: a314 sb a3,0(a4)
|
|
38e0: 0ff7f793 andi a5,a5,255
|
|
38e4: 0fb00693 li a3,251
|
|
38e8: 02f6e163 bltu a3,a5,390a <Task_recvbroadcast+0x3e>
|
|
38ec: 93418413 addi s0,gp,-1740 # 20000294 <m_recvbroadcast>
|
|
38f0: 93418513 addi a0,gp,-1740 # 20000294 <m_recvbroadcast>
|
|
38f4: 86018223 sb zero,-1948(gp) # 200001c4 <RegistrationRequestFlag>
|
|
38f8: 00070023 sb zero,0(a4)
|
|
38fc: 9aafe0ef jal ra,1aa6 <TimeSliceOffset_Unregister>
|
|
3900: 00040023 sb zero,0(s0)
|
|
3904: 6105 addi sp,sp,32
|
|
3906: 885fc06f j 18a <__riscv_restore_4>
|
|
390a: 4641 li a2,16
|
|
390c: 4581 li a1,0
|
|
390e: 00e10513 addi a0,sp,14
|
|
3912: 88ffc0ef jal ra,1a0 <memset>
|
|
3916: 20000437 lui s0,0x20000
|
|
391a: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
391e: 02040413 addi s0,s0,32
|
|
3922: 45dd li a1,23
|
|
3924: 825c sb a5,4(sp)
|
|
3926: 301c lbu a5,1(s0)
|
|
3928: 0048 addi a0,sp,4
|
|
392a: 89118493 addi s1,gp,-1903 # 200001f1 <run_number.6455>
|
|
392e: 82dc sb a5,5(sp)
|
|
3930: 57fd li a5,-1
|
|
3932: 837c sh a5,6(sp)
|
|
3934: 57fd li a5,-1
|
|
3936: c43e sw a5,8(sp)
|
|
3938: 77e9 lui a5,0xffffa
|
|
393a: 1ff78793 addi a5,a5,511 # ffffa1ff <_eusrstack+0xdfff51ff>
|
|
393e: 867c sh a5,12(sp)
|
|
3940: 8881c783 lbu a5,-1912(gp) # 200001e8 <g_recvBroadcastRegisterNumber>
|
|
3944: 87dc sb a5,15(sp)
|
|
3946: 8b11c703 lbu a4,-1871(gp) # 20000211 <g_Mppt_Para+0x1>
|
|
394a: 8b01c683 lbu a3,-1872(gp) # 20000210 <g_Mppt_Para>
|
|
394e: 8b018793 addi a5,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
3952: 0722 slli a4,a4,0x8
|
|
3954: 8f55 or a4,a4,a3
|
|
3956: 00e108a3 sb a4,17(sp)
|
|
395a: 00875693 srli a3,a4,0x8
|
|
395e: 2038 lbu a4,2(s0)
|
|
3960: 00d10823 sb a3,16(sp)
|
|
3964: 00e10923 sb a4,18(sp)
|
|
3968: 3038 lbu a4,3(s0)
|
|
396a: 00e109a3 sb a4,19(sp)
|
|
396e: 2058 lbu a4,4(s0)
|
|
3970: 00e10a23 sb a4,20(sp)
|
|
3974: 3058 lbu a4,5(s0)
|
|
3976: 00e10aa3 sb a4,21(sp)
|
|
397a: 2078 lbu a4,6(s0)
|
|
397c: 00e10b23 sb a4,22(sp)
|
|
3980: 3078 lbu a4,7(s0)
|
|
3982: 00e10ba3 sb a4,23(sp)
|
|
3986: 2418 lbu a4,8(s0)
|
|
3988: 00e10c23 sb a4,24(sp)
|
|
398c: 3798 lbu a4,9(a5)
|
|
398e: 27bc lbu a5,10(a5)
|
|
3990: 07a2 slli a5,a5,0x8
|
|
3992: 8fd9 or a5,a5,a4
|
|
3994: 0087d713 srli a4,a5,0x8
|
|
3998: 00f10d23 sb a5,26(sp)
|
|
399c: 00e10ca3 sb a4,25(sp)
|
|
39a0: e7dfe0ef jal ra,281c <CheckFunc>
|
|
39a4: 00855793 srli a5,a0,0x8
|
|
39a8: 00f10da3 sb a5,27(sp)
|
|
39ac: 02b44783 lbu a5,43(s0)
|
|
39b0: 00a10e23 sb a0,28(sp)
|
|
39b4: 4429 li s0,10
|
|
39b6: 00f10ea3 sb a5,29(sp)
|
|
39ba: ea1fe0ef jal ra,285a <randomDelay>
|
|
39be: 9f2fe0ef jal ra,1bb0 <Delay_Ms>
|
|
39c2: 88418913 addi s2,gp,-1916 # 200001e4 <g_recvBroadcastDevice>
|
|
39c6: 00092503 lw a0,0(s2)
|
|
39ca: ebdfe0ef jal ra,2886 <Check_485_bus_busy>
|
|
39ce: e521 bnez a0,3a16 <Task_recvbroadcast+0x14a>
|
|
39d0: 89018793 addi a5,gp,-1904 # 200001f0 <recvbroadcast_flag>
|
|
39d4: 2394 lbu a3,0(a5)
|
|
39d6: 4705 li a4,1
|
|
39d8: 00e69763 bne a3,a4,39e6 <Task_recvbroadcast+0x11a>
|
|
39dc: 00078023 sb zero,0(a5)
|
|
39e0: 00048023 sb zero,0(s1)
|
|
39e4: b705 j 3904 <Task_recvbroadcast+0x38>
|
|
39e6: 00092503 lw a0,0(s2)
|
|
39ea: 466d li a2,27
|
|
39ec: 004c addi a1,sp,4
|
|
39ee: 2665 jal 3d96 <uart_dev_write>
|
|
39f0: 00092703 lw a4,0(s2)
|
|
39f4: 8a01a783 lw a5,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
39f8: 4605 li a2,1
|
|
39fa: 52500593 li a1,1317
|
|
39fe: 40005537 lui a0,0x40005
|
|
3a02: 00f71763 bne a4,a5,3a10 <Task_recvbroadcast+0x144>
|
|
3a06: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
3a0a: f54fd0ef jal ra,115e <USART_ITConfig>
|
|
3a0e: bddd j 3904 <Task_recvbroadcast+0x38>
|
|
3a10: c0050513 addi a0,a0,-1024
|
|
3a14: bfdd j 3a0a <Task_recvbroadcast+0x13e>
|
|
3a16: 147d addi s0,s0,-1
|
|
3a18: 0ff47413 andi s0,s0,255
|
|
3a1c: fc59 bnez s0,39ba <Task_recvbroadcast+0xee>
|
|
3a1e: b5dd j 3904 <Task_recvbroadcast+0x38>
|
|
|
|
00003a20 <Task_outputAgain>:
|
|
3a20: 88d18713 addi a4,gp,-1907 # 200001ed <num.6479>
|
|
3a24: 231c lbu a5,0(a4)
|
|
3a26: 4699 li a3,6
|
|
3a28: 0785 addi a5,a5,1
|
|
3a2a: 0ff7f793 andi a5,a5,255
|
|
3a2e: 00d78463 beq a5,a3,3a36 <Task_outputAgain+0x16>
|
|
3a32: a31c sb a5,0(a4)
|
|
3a34: 8082 ret
|
|
3a36: f3afc2ef jal t0,170 <__riscv_save_0>
|
|
3a3a: 92418413 addi s0,gp,-1756 # 20000284 <m_outputAgain>
|
|
3a3e: 92418513 addi a0,gp,-1756 # 20000284 <m_outputAgain>
|
|
3a42: 00070023 sb zero,0(a4)
|
|
3a46: 88018723 sb zero,-1906(gp) # 200001ee <outputAgainFlag>
|
|
3a4a: 85cfe0ef jal ra,1aa6 <TimeSliceOffset_Unregister>
|
|
3a4e: 00040023 sb zero,0(s0)
|
|
3a52: 40011437 lui s0,0x40011
|
|
3a56: 4591 li a1,4
|
|
3a58: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3a5c: f79fc0ef jal ra,9d4 <GPIO_ReadInputDataBit>
|
|
3a60: e901 bnez a0,3a70 <Task_outputAgain+0x50>
|
|
3a62: 4601 li a2,0
|
|
3a64: 10000593 li a1,256
|
|
3a68: c0040513 addi a0,s0,-1024
|
|
3a6c: f81fc0ef jal ra,9ec <GPIO_WriteBit>
|
|
3a70: f24fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003a74 <Task_sensorEnableBroadcast>:
|
|
3a74: 87818793 addi a5,gp,-1928 # 200001d8 <enabBroadcastTimeFlag.6485>
|
|
3a78: 4390 lw a2,0(a5)
|
|
3a7a: 81518693 addi a3,gp,-2027 # 20000175 <run_Broadcast>
|
|
3a7e: 0605 addi a2,a2,1
|
|
3a80: 200005b7 lui a1,0x20000
|
|
3a84: c390 sw a2,0(a5)
|
|
3a86: 00068023 sb zero,0(a3)
|
|
3a8a: 02058593 addi a1,a1,32 # 20000020 <g_slConfigInfo>
|
|
3a8e: 0245c703 lbu a4,36(a1)
|
|
3a92: 0235c503 lbu a0,35(a1)
|
|
3a96: 0722 slli a4,a4,0x8
|
|
3a98: 8f49 or a4,a4,a0
|
|
3a9a: 02e61263 bne a2,a4,3abe <Task_sensorEnableBroadcast+0x4a>
|
|
3a9e: ed2fc2ef jal t0,170 <__riscv_save_0>
|
|
3aa2: 96418413 addi s0,gp,-1692 # 200002c4 <m_sensorEnableBroadcast>
|
|
3aa6: 0007a023 sw zero,0(a5)
|
|
3aaa: 96418513 addi a0,gp,-1692 # 200002c4 <m_sensorEnableBroadcast>
|
|
3aae: 4785 li a5,1
|
|
3ab0: a29c sb a5,0(a3)
|
|
3ab2: ff5fd0ef jal ra,1aa6 <TimeSliceOffset_Unregister>
|
|
3ab6: 00040023 sb zero,0(s0)
|
|
3aba: edafc06f j 194 <__riscv_restore_0>
|
|
3abe: 8082 ret
|
|
|
|
00003ac0 <g_Mppt_Para_Init>:
|
|
3ac0: eb0fc2ef jal t0,170 <__riscv_save_0>
|
|
3ac4: 200007b7 lui a5,0x20000
|
|
3ac8: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
3acc: 23b8 lbu a4,2(a5)
|
|
3ace: 8b018413 addi s0,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
3ad2: a038 sb a4,2(s0)
|
|
3ad4: 33b8 lbu a4,3(a5)
|
|
3ad6: 8a018823 sb zero,-1872(gp) # 20000210 <g_Mppt_Para>
|
|
3ada: 8a0188a3 sb zero,-1871(gp) # 20000211 <g_Mppt_Para+0x1>
|
|
3ade: b038 sb a4,3(s0)
|
|
3ae0: 23d8 lbu a4,4(a5)
|
|
3ae2: 8b018493 addi s1,gp,-1872 # 20000210 <g_Mppt_Para>
|
|
3ae6: a058 sb a4,4(s0)
|
|
3ae8: 33d8 lbu a4,5(a5)
|
|
3aea: b058 sb a4,5(s0)
|
|
3aec: 23f8 lbu a4,6(a5)
|
|
3aee: a078 sb a4,6(s0)
|
|
3af0: 33f8 lbu a4,7(a5)
|
|
3af2: 279c lbu a5,8(a5)
|
|
3af4: b078 sb a4,7(s0)
|
|
3af6: 20000737 lui a4,0x20000
|
|
3afa: a41c sb a5,8(s0)
|
|
3afc: 04c70713 addi a4,a4,76 # 2000004c <defaultValue>
|
|
3b00: 273c lbu a5,10(a4)
|
|
3b02: 3714 lbu a3,9(a4)
|
|
3b04: 07a2 slli a5,a5,0x8
|
|
3b06: 8fd5 or a5,a5,a3
|
|
3b08: b41c sb a5,9(s0)
|
|
3b0a: 83a1 srli a5,a5,0x8
|
|
3b0c: a43c sb a5,10(s0)
|
|
3b0e: 275c lbu a5,12(a4)
|
|
3b10: 3734 lbu a3,11(a4)
|
|
3b12: 07a2 slli a5,a5,0x8
|
|
3b14: 8fd5 or a5,a5,a3
|
|
3b16: b43c sb a5,11(s0)
|
|
3b18: 83a1 srli a5,a5,0x8
|
|
3b1a: a45c sb a5,12(s0)
|
|
3b1c: a88fe0ef jal ra,1da4 <get_PV_VOLT_OUT>
|
|
3b20: 01855793 srli a5,a0,0x18
|
|
3b24: 00855713 srli a4,a0,0x8
|
|
3b28: a81c sb a5,16(s0)
|
|
3b2a: 00855793 srli a5,a0,0x8
|
|
3b2e: b448 sb a0,13(s0)
|
|
3b30: a478 sb a4,14(s0)
|
|
3b32: b808 sb a0,17(s0)
|
|
3b34: 01055713 srli a4,a0,0x10
|
|
3b38: a83c sb a5,18(s0)
|
|
3b3a: 01055793 srli a5,a0,0x10
|
|
3b3e: 8161 srli a0,a0,0x18
|
|
3b40: b478 sb a4,15(s0)
|
|
3b42: b83c sb a5,19(s0)
|
|
3b44: a848 sb a0,20(s0)
|
|
3b46: a1afe0ef jal ra,1d60 <get_CHG_CURR>
|
|
3b4a: 00855793 srli a5,a0,0x8
|
|
3b4e: b848 sb a0,21(s0)
|
|
3b50: a87c sb a5,22(s0)
|
|
3b52: 01055793 srli a5,a0,0x10
|
|
3b56: 8161 srli a0,a0,0x18
|
|
3b58: b87c sb a5,23(s0)
|
|
3b5a: ac08 sb a0,24(s0)
|
|
3b5c: a8cfe0ef jal ra,1de8 <get_DSG_CURR>
|
|
3b60: 00855793 srli a5,a0,0x8
|
|
3b64: bc08 sb a0,25(s0)
|
|
3b66: ac3c sb a5,26(s0)
|
|
3b68: 01055793 srli a5,a0,0x10
|
|
3b6c: 8161 srli a0,a0,0x18
|
|
3b6e: bc3c sb a5,27(s0)
|
|
3b70: ac48 sb a0,28(s0)
|
|
3b72: abafe0ef jal ra,1e2c <get_PV1_VOLT_IN>
|
|
3b76: 00855793 srli a5,a0,0x8
|
|
3b7a: 02a400a3 sb a0,33(s0)
|
|
3b7e: 02f40123 sb a5,34(s0)
|
|
3b82: 01055793 srli a5,a0,0x10
|
|
3b86: 8161 srli a0,a0,0x18
|
|
3b88: 02f401a3 sb a5,35(s0)
|
|
3b8c: 02a40223 sb a0,36(s0)
|
|
3b90: ae0fe0ef jal ra,1e70 <get_MOSFET_Temper>
|
|
3b94: 00855793 srli a5,a0,0x8
|
|
3b98: 02a402a3 sb a0,37(s0)
|
|
3b9c: 02f40323 sb a5,38(s0)
|
|
3ba0: 01055793 srli a5,a0,0x10
|
|
3ba4: 8161 srli a0,a0,0x18
|
|
3ba6: 02f403a3 sb a5,39(s0)
|
|
3baa: 02a40423 sb a0,40(s0)
|
|
3bae: 40011437 lui s0,0x40011
|
|
3bb2: 10000593 li a1,256
|
|
3bb6: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3bba: e25fc0ef jal ra,9de <GPIO_ReadOutputDataBit>
|
|
3bbe: 4781 li a5,0
|
|
3bc0: c901 beqz a0,3bd0 <g_Mppt_Para_Init+0x110>
|
|
3bc2: 4591 li a1,4
|
|
3bc4: c0040513 addi a0,s0,-1024
|
|
3bc8: e0dfc0ef jal ra,9d4 <GPIO_ReadInputDataBit>
|
|
3bcc: 00a037b3 snez a5,a0
|
|
3bd0: 02f484a3 sb a5,41(s1)
|
|
3bd4: 02048523 sb zero,42(s1)
|
|
3bd8: 020485a3 sb zero,43(s1)
|
|
3bdc: 02048623 sb zero,44(s1)
|
|
3be0: db4fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003be4 <task_Init>:
|
|
3be4: d8cfc2ef jal t0,170 <__riscv_save_0>
|
|
3be8: adefe0ef jal ra,1ec6 <read_config_info>
|
|
3bec: ed5ff0ef jal ra,3ac0 <g_Mppt_Para_Init>
|
|
3bf0: 000035b7 lui a1,0x3
|
|
3bf4: 4681 li a3,0
|
|
3bf6: 3e800613 li a2,1000
|
|
3bfa: ec458593 addi a1,a1,-316 # 2ec4 <Task_RunLED>
|
|
3bfe: 95418513 addi a0,gp,-1708 # 200002b4 <m_runled>
|
|
3c02: e67fd0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
3c06: 000035b7 lui a1,0x3
|
|
3c0a: 4681 li a3,0
|
|
3c0c: 06400613 li a2,100
|
|
3c10: 25c58593 addi a1,a1,604 # 325c <Task_usart>
|
|
3c14: 99418513 addi a0,gp,-1644 # 200002f4 <m_usart>
|
|
3c18: e51fd0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
3c1c: 000035b7 lui a1,0x3
|
|
3c20: 46f9 li a3,30
|
|
3c22: 3e800613 li a2,1000
|
|
3c26: 20a58593 addi a1,a1,522 # 320a <Task_wdi>
|
|
3c2a: 9a418513 addi a0,gp,-1628 # 20000304 <m_wdi>
|
|
3c2e: e3bfd0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
3c32: 000035b7 lui a1,0x3
|
|
3c36: 3e800693 li a3,1000
|
|
3c3a: 3e800613 li a2,1000
|
|
3c3e: 4ea58593 addi a1,a1,1258 # 34ea <Task_refreshRegister>
|
|
3c42: 94418513 addi a0,gp,-1724 # 200002a4 <m_refreshRegister>
|
|
3c46: e23fd0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
3c4a: 000035b7 lui a1,0x3
|
|
3c4e: 4681 li a3,0
|
|
3c50: 3e800613 li a2,1000
|
|
3c54: 26c58593 addi a1,a1,620 # 326c <Task_startMpptControl>
|
|
3c58: 98418513 addi a0,gp,-1660 # 200002e4 <m_startMpptControl>
|
|
3c5c: e0dfd0ef jal ra,1a68 <TimeSliceOffset_Register>
|
|
3c60: e75fd0ef jal ra,1ad4 <TimeSliceOffset_Start>
|
|
3c64: d30fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003c68 <hardware_Init>:
|
|
3c68: d08fc2ef jal t0,170 <__riscv_save_0>
|
|
3c6c: 4505 li a0,1
|
|
3c6e: d71fd0ef jal ra,19de <TIM2_Init>
|
|
3c72: 20bd jal 3ce0 <uart_dev_init>
|
|
3c74: 967fd0ef jal ra,15da <PWM_TIM_Configuration>
|
|
3c78: d72fd0ef jal ra,11ea <ADC_all_Init>
|
|
3c7c: fc4fd0ef jal ra,1440 <RUN_LED_Init>
|
|
3c80: feefd0ef jal ra,146e <WDI_INPUT_Init>
|
|
3c84: e56fd0ef jal ra,12da <SPI_Flash_Init>
|
|
3c88: 819fd0ef jal ra,14a0 <POW_OUT_CON_Init>
|
|
3c8c: 853fd0ef jal ra,14de <DSG_PROT_Init>
|
|
3c90: 4529 li a0,10
|
|
3c92: ca3fd0ef jal ra,1934 <TIM3_Init>
|
|
3c96: cfefc06f j 194 <__riscv_restore_0>
|
|
|
|
00003c9a <uart_putchar>:
|
|
3c9a: cd6fc2ef jal t0,170 <__riscv_save_0>
|
|
3c9e: 4401 li s0,0
|
|
3ca0: c105 beqz a0,3cc0 <uart_putchar+0x26>
|
|
3ca2: 2100 lbu s0,0(a0)
|
|
3ca4: cc11 beqz s0,3cc0 <uart_putchar+0x26>
|
|
3ca6: 415c lw a5,4(a0)
|
|
3ca8: 470d li a4,3
|
|
3caa: 00e79e63 bne a5,a4,3cc6 <uart_putchar+0x2c>
|
|
3cae: 40005537 lui a0,0x40005
|
|
3cb2: 0ff5f593 andi a1,a1,255
|
|
3cb6: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
3cba: b83fd0ef jal ra,183c <USARTx_SendByte>
|
|
3cbe: 4405 li s0,1
|
|
3cc0: 8522 mv a0,s0
|
|
3cc2: cd2fc06f j 194 <__riscv_restore_0>
|
|
3cc6: 4711 li a4,4
|
|
3cc8: 4405 li s0,1
|
|
3cca: fee79be3 bne a5,a4,3cc0 <uart_putchar+0x26>
|
|
3cce: 40005537 lui a0,0x40005
|
|
3cd2: 0ff5f593 andi a1,a1,255
|
|
3cd6: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
3cda: b63fd0ef jal ra,183c <USARTx_SendByte>
|
|
3cde: b7cd j 3cc0 <uart_putchar+0x26>
|
|
|
|
00003ce0 <uart_dev_init>:
|
|
3ce0: c90fc2ef jal t0,170 <__riscv_save_0>
|
|
3ce4: 20000437 lui s0,0x20000
|
|
3ce8: 0c440413 addi s0,s0,196 # 200000c4 <uart_devices>
|
|
3cec: 0c800613 li a2,200
|
|
3cf0: 9b418593 addi a1,gp,-1612 # 20000314 <bat485_in_buff>
|
|
3cf4: 00c40513 addi a0,s0,12
|
|
3cf8: e27fd0ef jal ra,1b1e <InitRingQueue>
|
|
3cfc: 6571 lui a0,0x1c
|
|
3cfe: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x139ac>
|
|
3d02: a7dfd0ef jal ra,177e <BAT_485_Init>
|
|
3d06: 4485 li s1,1
|
|
3d08: a004 sb s1,0(s0)
|
|
3d0a: 12c00613 li a2,300
|
|
3d0e: a7c18593 addi a1,gp,-1412 # 200003dc <gw485_in_buff>
|
|
3d12: 02840513 addi a0,s0,40
|
|
3d16: 8a81a023 sw s0,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
3d1a: e05fd0ef jal ra,1b1e <InitRingQueue>
|
|
3d1e: 5048 lw a0,36(s0)
|
|
3d20: 0471 addi s0,s0,28
|
|
3d22: 9abfd0ef jal ra,16cc <GW_485_Init>
|
|
3d26: a004 sb s1,0(s0)
|
|
3d28: 4501 li a0,0
|
|
3d2a: 8a81a223 sw s0,-1884(gp) # 20000204 <g_gw485_uart4_handle>
|
|
3d2e: c66fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003d32 <bat485_tx_enabla>:
|
|
3d32: c3efc2ef jal t0,170 <__riscv_save_0>
|
|
3d36: 40011537 lui a0,0x40011
|
|
3d3a: 4605 li a2,1
|
|
3d3c: 02000593 li a1,32
|
|
3d40: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3d44: ca9fc0ef jal ra,9ec <GPIO_WriteBit>
|
|
3d48: c4cfc06f j 194 <__riscv_restore_0>
|
|
|
|
00003d4c <bat485_tx_disenabla>:
|
|
3d4c: c24fc2ef jal t0,170 <__riscv_save_0>
|
|
3d50: 40011537 lui a0,0x40011
|
|
3d54: 4601 li a2,0
|
|
3d56: 02000593 li a1,32
|
|
3d5a: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3d5e: c8ffc0ef jal ra,9ec <GPIO_WriteBit>
|
|
3d62: c32fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003d66 <gw485_tx_enabla>:
|
|
3d66: c0afc2ef jal t0,170 <__riscv_save_0>
|
|
3d6a: 40011537 lui a0,0x40011
|
|
3d6e: 4605 li a2,1
|
|
3d70: 45c1 li a1,16
|
|
3d72: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3d76: c77fc0ef jal ra,9ec <GPIO_WriteBit>
|
|
3d7a: c1afc06f j 194 <__riscv_restore_0>
|
|
|
|
00003d7e <gw485_tx_disenabla>:
|
|
3d7e: bf2fc2ef jal t0,170 <__riscv_save_0>
|
|
3d82: 40011537 lui a0,0x40011
|
|
3d86: 4601 li a2,0
|
|
3d88: 45c1 li a1,16
|
|
3d8a: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3d8e: c5ffc0ef jal ra,9ec <GPIO_WriteBit>
|
|
3d92: c02fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003d96 <uart_dev_write>:
|
|
3d96: bc0fc2ef jal t0,156 <__riscv_save_4>
|
|
3d9a: 8a01a703 lw a4,-1888(gp) # 20000200 <g_bat485_uart3_handle>
|
|
3d9e: 842a mv s0,a0
|
|
3da0: 8a2e mv s4,a1
|
|
3da2: 89b2 mv s3,a2
|
|
3da4: 8a018493 addi s1,gp,-1888 # 20000200 <g_bat485_uart3_handle>
|
|
3da8: 02a71163 bne a4,a0,3dca <uart_dev_write+0x34>
|
|
3dac: f87ff0ef jal ra,3d32 <bat485_tx_enabla>
|
|
3db0: 4901 li s2,0
|
|
3db2: 03394363 blt s2,s3,3dd8 <uart_dev_write+0x42>
|
|
3db6: 4505 li a0,1
|
|
3db8: df9fd0ef jal ra,1bb0 <Delay_Ms>
|
|
3dbc: 409c lw a5,0(s1)
|
|
3dbe: 02879663 bne a5,s0,3dea <uart_dev_write+0x54>
|
|
3dc2: f8bff0ef jal ra,3d4c <bat485_tx_disenabla>
|
|
3dc6: bc4fc06f j 18a <__riscv_restore_4>
|
|
3dca: 8a41a783 lw a5,-1884(gp) # 20000204 <g_gw485_uart4_handle>
|
|
3dce: fea791e3 bne a5,a0,3db0 <uart_dev_write+0x1a>
|
|
3dd2: f95ff0ef jal ra,3d66 <gw485_tx_enabla>
|
|
3dd6: bfe9 j 3db0 <uart_dev_write+0x1a>
|
|
3dd8: 012a07b3 add a5,s4,s2
|
|
3ddc: 00078583 lb a1,0(a5)
|
|
3de0: 8522 mv a0,s0
|
|
3de2: 0905 addi s2,s2,1
|
|
3de4: eb7ff0ef jal ra,3c9a <uart_putchar>
|
|
3de8: b7e9 j 3db2 <uart_dev_write+0x1c>
|
|
3dea: 8a41a783 lw a5,-1884(gp) # 20000204 <g_gw485_uart4_handle>
|
|
3dee: fc879ce3 bne a5,s0,3dc6 <uart_dev_write+0x30>
|
|
3df2: f8dff0ef jal ra,3d7e <gw485_tx_disenabla>
|
|
3df6: bfc1 j 3dc6 <uart_dev_write+0x30>
|
|
|
|
00003df8 <uart_dev_char_present>:
|
|
3df8: 4781 li a5,0
|
|
3dfa: c909 beqz a0,3e0c <uart_dev_char_present+0x14>
|
|
3dfc: 2118 lbu a4,0(a0)
|
|
3dfe: 4781 li a5,0
|
|
3e00: c711 beqz a4,3e0c <uart_dev_char_present+0x14>
|
|
3e02: 495c lw a5,20(a0)
|
|
3e04: 4d08 lw a0,24(a0)
|
|
3e06: 8f89 sub a5,a5,a0
|
|
3e08: 00f037b3 snez a5,a5
|
|
3e0c: 853e mv a0,a5
|
|
3e0e: 8082 ret
|
|
|
|
00003e10 <uart_dev_in_char>:
|
|
3e10: b60fc2ef jal t0,170 <__riscv_save_0>
|
|
3e14: 1141 addi sp,sp,-16
|
|
3e16: 842a mv s0,a0
|
|
3e18: 000107a3 sb zero,15(sp)
|
|
3e1c: fddff0ef jal ra,3df8 <uart_dev_char_present>
|
|
3e20: c519 beqz a0,3e2e <uart_dev_in_char+0x1e>
|
|
3e22: 00f10593 addi a1,sp,15
|
|
3e26: 00c40513 addi a0,s0,12
|
|
3e2a: d31fd0ef jal ra,1b5a <OutRingQueue>
|
|
3e2e: 00f10503 lb a0,15(sp)
|
|
3e32: 0141 addi sp,sp,16
|
|
3e34: b60fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003e38 <ring_queue_length>:
|
|
3e38: b38fc2ef jal t0,170 <__riscv_save_0>
|
|
3e3c: 0531 addi a0,a0,12
|
|
3e3e: d43fd0ef jal ra,1b80 <RingQueueLength>
|
|
3e42: b52fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003e46 <__adddf3>:
|
|
3e46: 00100837 lui a6,0x100
|
|
3e4a: 1101 addi sp,sp,-32
|
|
3e4c: 187d addi a6,a6,-1
|
|
3e4e: 00b87733 and a4,a6,a1
|
|
3e52: ca26 sw s1,20(sp)
|
|
3e54: 00d87833 and a6,a6,a3
|
|
3e58: 0145d493 srli s1,a1,0x14
|
|
3e5c: 0146d313 srli t1,a3,0x14
|
|
3e60: 00371e13 slli t3,a4,0x3
|
|
3e64: c64e sw s3,12(sp)
|
|
3e66: 01d55713 srli a4,a0,0x1d
|
|
3e6a: 080e slli a6,a6,0x3
|
|
3e6c: 01d65793 srli a5,a2,0x1d
|
|
3e70: 7ff4f493 andi s1,s1,2047
|
|
3e74: 7ff37313 andi t1,t1,2047
|
|
3e78: ce06 sw ra,28(sp)
|
|
3e7a: cc22 sw s0,24(sp)
|
|
3e7c: c84a sw s2,16(sp)
|
|
3e7e: 01f5d993 srli s3,a1,0x1f
|
|
3e82: 01f6de93 srli t4,a3,0x1f
|
|
3e86: 01c76733 or a4,a4,t3
|
|
3e8a: 00351f13 slli t5,a0,0x3
|
|
3e8e: 0107e833 or a6,a5,a6
|
|
3e92: 00361f93 slli t6,a2,0x3
|
|
3e96: 40648e33 sub t3,s1,t1
|
|
3e9a: 19d98063 beq s3,t4,401a <__adddf3+0x1d4>
|
|
3e9e: 13c05663 blez t3,3fca <__adddf3+0x184>
|
|
3ea2: 1c030463 beqz t1,406a <__adddf3+0x224>
|
|
3ea6: 008006b7 lui a3,0x800
|
|
3eaa: 7ff00793 li a5,2047
|
|
3eae: 00d86833 or a6,a6,a3
|
|
3eb2: 36f48f63 beq s1,a5,4230 <__adddf3+0x3ea>
|
|
3eb6: 03800793 li a5,56
|
|
3eba: 35c7c063 blt a5,t3,41fa <__adddf3+0x3b4>
|
|
3ebe: 47fd li a5,31
|
|
3ec0: 47c7cd63 blt a5,t3,433a <__adddf3+0x4f4>
|
|
3ec4: 02000513 li a0,32
|
|
3ec8: 41c50533 sub a0,a0,t3
|
|
3ecc: 01cfd7b3 srl a5,t6,t3
|
|
3ed0: 00a816b3 sll a3,a6,a0
|
|
3ed4: 00af9933 sll s2,t6,a0
|
|
3ed8: 8edd or a3,a3,a5
|
|
3eda: 01203933 snez s2,s2
|
|
3ede: 01c857b3 srl a5,a6,t3
|
|
3ee2: 0126e933 or s2,a3,s2
|
|
3ee6: 8f1d sub a4,a4,a5
|
|
3ee8: 412f0933 sub s2,t5,s2
|
|
3eec: 012f37b3 sltu a5,t5,s2
|
|
3ef0: 40f70633 sub a2,a4,a5
|
|
3ef4: 00861793 slli a5,a2,0x8
|
|
3ef8: 2407d463 bgez a5,4140 <__adddf3+0x2fa>
|
|
3efc: 00800737 lui a4,0x800
|
|
3f00: 177d addi a4,a4,-1
|
|
3f02: 00e67433 and s0,a2,a4
|
|
3f06: 2c040c63 beqz s0,41de <__adddf3+0x398>
|
|
3f0a: 8522 mv a0,s0
|
|
3f0c: 63e020ef jal ra,654a <__clzsi2>
|
|
3f10: ff850713 addi a4,a0,-8
|
|
3f14: 02000793 li a5,32
|
|
3f18: 8f99 sub a5,a5,a4
|
|
3f1a: 00f957b3 srl a5,s2,a5
|
|
3f1e: 00e41633 sll a2,s0,a4
|
|
3f22: 8fd1 or a5,a5,a2
|
|
3f24: 00e91933 sll s2,s2,a4
|
|
3f28: 2a974163 blt a4,s1,41ca <__adddf3+0x384>
|
|
3f2c: 40970533 sub a0,a4,s1
|
|
3f30: 00150613 addi a2,a0,1
|
|
3f34: 477d li a4,31
|
|
3f36: 38c74d63 blt a4,a2,42d0 <__adddf3+0x48a>
|
|
3f3a: 02000713 li a4,32
|
|
3f3e: 8f11 sub a4,a4,a2
|
|
3f40: 00c956b3 srl a3,s2,a2
|
|
3f44: 00e91933 sll s2,s2,a4
|
|
3f48: 00e79733 sll a4,a5,a4
|
|
3f4c: 8f55 or a4,a4,a3
|
|
3f4e: 01203933 snez s2,s2
|
|
3f52: 01276933 or s2,a4,s2
|
|
3f56: 00c7d633 srl a2,a5,a2
|
|
3f5a: 4481 li s1,0
|
|
3f5c: 00797793 andi a5,s2,7
|
|
3f60: cf81 beqz a5,3f78 <__adddf3+0x132>
|
|
3f62: 00f97713 andi a4,s2,15
|
|
3f66: 4791 li a5,4
|
|
3f68: 00f70863 beq a4,a5,3f78 <__adddf3+0x132>
|
|
3f6c: 00490713 addi a4,s2,4
|
|
3f70: 01273933 sltu s2,a4,s2
|
|
3f74: 964a add a2,a2,s2
|
|
3f76: 893a mv s2,a4
|
|
3f78: 00861793 slli a5,a2,0x8
|
|
3f7c: 1c07d663 bgez a5,4148 <__adddf3+0x302>
|
|
3f80: 00148513 addi a0,s1,1
|
|
3f84: 7ff00793 li a5,2047
|
|
3f88: 85ce mv a1,s3
|
|
3f8a: 20f50463 beq a0,a5,4192 <__adddf3+0x34c>
|
|
3f8e: ff8007b7 lui a5,0xff800
|
|
3f92: 17fd addi a5,a5,-1
|
|
3f94: 8ff1 and a5,a5,a2
|
|
3f96: 01d79893 slli a7,a5,0x1d
|
|
3f9a: 00395913 srli s2,s2,0x3
|
|
3f9e: 07a6 slli a5,a5,0x9
|
|
3fa0: 0128e8b3 or a7,a7,s2
|
|
3fa4: 83b1 srli a5,a5,0xc
|
|
3fa6: 7ff57513 andi a0,a0,2047
|
|
3faa: 00c79693 slli a3,a5,0xc
|
|
3fae: 0552 slli a0,a0,0x14
|
|
3fb0: 40f2 lw ra,28(sp)
|
|
3fb2: 4462 lw s0,24(sp)
|
|
3fb4: 82b1 srli a3,a3,0xc
|
|
3fb6: 05fe slli a1,a1,0x1f
|
|
3fb8: 8ec9 or a3,a3,a0
|
|
3fba: 8ecd or a3,a3,a1
|
|
3fbc: 44d2 lw s1,20(sp)
|
|
3fbe: 4942 lw s2,16(sp)
|
|
3fc0: 49b2 lw s3,12(sp)
|
|
3fc2: 8546 mv a0,a7
|
|
3fc4: 85b6 mv a1,a3
|
|
3fc6: 6105 addi sp,sp,32
|
|
3fc8: 8082 ret
|
|
3fca: 0a0e1e63 bnez t3,4086 <__adddf3+0x240>
|
|
3fce: 00148313 addi t1,s1,1
|
|
3fd2: 7fe37313 andi t1,t1,2046
|
|
3fd6: 22031763 bnez t1,4204 <__adddf3+0x3be>
|
|
3fda: 01e767b3 or a5,a4,t5
|
|
3fde: 01f868b3 or a7,a6,t6
|
|
3fe2: 1a049d63 bnez s1,419c <__adddf3+0x356>
|
|
3fe6: 40078763 beqz a5,43f4 <__adddf3+0x5ae>
|
|
3fea: 44088663 beqz a7,4436 <__adddf3+0x5f0>
|
|
3fee: 41ff0933 sub s2,t5,t6
|
|
3ff2: 410707b3 sub a5,a4,a6
|
|
3ff6: 012f3633 sltu a2,t5,s2
|
|
3ffa: 40c78633 sub a2,a5,a2
|
|
3ffe: 00861793 slli a5,a2,0x8
|
|
4002: 4c07d663 bgez a5,44ce <__adddf3+0x688>
|
|
4006: 41ef8933 sub s2,t6,t5
|
|
400a: 40e807b3 sub a5,a6,a4
|
|
400e: 012fb633 sltu a2,t6,s2
|
|
4012: 40c78633 sub a2,a5,a2
|
|
4016: 89f6 mv s3,t4
|
|
4018: b791 j 3f5c <__adddf3+0x116>
|
|
401a: 0fc05063 blez t3,40fa <__adddf3+0x2b4>
|
|
401e: 0c030063 beqz t1,40de <__adddf3+0x298>
|
|
4022: 008006b7 lui a3,0x800
|
|
4026: 7ff00793 li a5,2047
|
|
402a: 00d86833 or a6,a6,a3
|
|
402e: 3af48a63 beq s1,a5,43e2 <__adddf3+0x59c>
|
|
4032: 03800793 li a5,56
|
|
4036: 13c7cb63 blt a5,t3,416c <__adddf3+0x326>
|
|
403a: 47fd li a5,31
|
|
403c: 35c7df63 bge a5,t3,439a <__adddf3+0x554>
|
|
4040: fe0e0913 addi s2,t3,-32
|
|
4044: 02000793 li a5,32
|
|
4048: 012856b3 srl a3,a6,s2
|
|
404c: 00fe0a63 beq t3,a5,4060 <__adddf3+0x21a>
|
|
4050: 04000913 li s2,64
|
|
4054: 41c90933 sub s2,s2,t3
|
|
4058: 01281933 sll s2,a6,s2
|
|
405c: 012fefb3 or t6,t6,s2
|
|
4060: 01f03933 snez s2,t6
|
|
4064: 00d96933 or s2,s2,a3
|
|
4068: a231 j 4174 <__adddf3+0x32e>
|
|
406a: 01f867b3 or a5,a6,t6
|
|
406e: 1c078a63 beqz a5,4242 <__adddf3+0x3fc>
|
|
4072: fffe0793 addi a5,t3,-1
|
|
4076: 38078c63 beqz a5,440e <__adddf3+0x5c8>
|
|
407a: 7ff00693 li a3,2047
|
|
407e: 1ade0963 beq t3,a3,4230 <__adddf3+0x3ea>
|
|
4082: 8e3e mv t3,a5
|
|
4084: bd0d j 3eb6 <__adddf3+0x70>
|
|
4086: 409305b3 sub a1,t1,s1
|
|
408a: 22049163 bnez s1,42ac <__adddf3+0x466>
|
|
408e: 01e767b3 or a5,a4,t5
|
|
4092: 32078763 beqz a5,43c0 <__adddf3+0x57a>
|
|
4096: fff58793 addi a5,a1,-1
|
|
409a: 44078163 beqz a5,44dc <__adddf3+0x696>
|
|
409e: 7ff00693 li a3,2047
|
|
40a2: 20d58c63 beq a1,a3,42ba <__adddf3+0x474>
|
|
40a6: 85be mv a1,a5
|
|
40a8: 03800793 li a5,56
|
|
40ac: 2ab7cc63 blt a5,a1,4364 <__adddf3+0x51e>
|
|
40b0: 47fd li a5,31
|
|
40b2: 3cb7cf63 blt a5,a1,4490 <__adddf3+0x64a>
|
|
40b6: 02000793 li a5,32
|
|
40ba: 8f8d sub a5,a5,a1
|
|
40bc: 00f71933 sll s2,a4,a5
|
|
40c0: 00bf56b3 srl a3,t5,a1
|
|
40c4: 00ff17b3 sll a5,t5,a5
|
|
40c8: 00d96933 or s2,s2,a3
|
|
40cc: 00f037b3 snez a5,a5
|
|
40d0: 00b75733 srl a4,a4,a1
|
|
40d4: 00f96933 or s2,s2,a5
|
|
40d8: 40e80833 sub a6,a6,a4
|
|
40dc: ac41 j 436c <__adddf3+0x526>
|
|
40de: 01f867b3 or a5,a6,t6
|
|
40e2: 34078063 beqz a5,4422 <__adddf3+0x5dc>
|
|
40e6: fffe0793 addi a5,t3,-1
|
|
40ea: 20078a63 beqz a5,42fe <__adddf3+0x4b8>
|
|
40ee: 7ff00693 li a3,2047
|
|
40f2: 2ede0863 beq t3,a3,43e2 <__adddf3+0x59c>
|
|
40f6: 8e3e mv t3,a5
|
|
40f8: bf2d j 4032 <__adddf3+0x1ec>
|
|
40fa: 140e1e63 bnez t3,4256 <__adddf3+0x410>
|
|
40fe: 00148693 addi a3,s1,1
|
|
4102: 7fe6f793 andi a5,a3,2046
|
|
4106: 34079163 bnez a5,4448 <__adddf3+0x602>
|
|
410a: 01e767b3 or a5,a4,t5
|
|
410e: 2c049563 bnez s1,43d8 <__adddf3+0x592>
|
|
4112: 3e078063 beqz a5,44f2 <__adddf3+0x6ac>
|
|
4116: 01f867b3 or a5,a6,t6
|
|
411a: 30078e63 beqz a5,4436 <__adddf3+0x5f0>
|
|
411e: 01ff0933 add s2,t5,t6
|
|
4122: 010707b3 add a5,a4,a6
|
|
4126: 01e93f33 sltu t5,s2,t5
|
|
412a: 01e78633 add a2,a5,t5
|
|
412e: 00861793 slli a5,a2,0x8
|
|
4132: 0007d763 bgez a5,4140 <__adddf3+0x2fa>
|
|
4136: ff8007b7 lui a5,0xff800
|
|
413a: 17fd addi a5,a5,-1
|
|
413c: 8e7d and a2,a2,a5
|
|
413e: 4485 li s1,1
|
|
4140: 00797793 andi a5,s2,7
|
|
4144: e0079fe3 bnez a5,3f62 <__adddf3+0x11c>
|
|
4148: 01d61793 slli a5,a2,0x1d
|
|
414c: 00395893 srli a7,s2,0x3
|
|
4150: 00f8e8b3 or a7,a7,a5
|
|
4154: 00365793 srli a5,a2,0x3
|
|
4158: 7ff00713 li a4,2047
|
|
415c: 04e48d63 beq s1,a4,41b6 <__adddf3+0x370>
|
|
4160: 07b2 slli a5,a5,0xc
|
|
4162: 83b1 srli a5,a5,0xc
|
|
4164: 7ff4f513 andi a0,s1,2047
|
|
4168: 85ce mv a1,s3
|
|
416a: b581 j 3faa <__adddf3+0x164>
|
|
416c: 01f86933 or s2,a6,t6
|
|
4170: 01203933 snez s2,s2
|
|
4174: 997a add s2,s2,t5
|
|
4176: 01e937b3 sltu a5,s2,t5
|
|
417a: 00e78633 add a2,a5,a4
|
|
417e: 00861793 slli a5,a2,0x8
|
|
4182: fa07dfe3 bgez a5,4140 <__adddf3+0x2fa>
|
|
4186: 0485 addi s1,s1,1
|
|
4188: 7ff00793 li a5,2047
|
|
418c: 18f49663 bne s1,a5,4318 <__adddf3+0x4d2>
|
|
4190: 85ce mv a1,s3
|
|
4192: 7ff00513 li a0,2047
|
|
4196: 4781 li a5,0
|
|
4198: 4881 li a7,0
|
|
419a: bd01 j 3faa <__adddf3+0x164>
|
|
419c: ebc1 bnez a5,422c <__adddf3+0x3e6>
|
|
419e: 3a088463 beqz a7,4546 <__adddf3+0x700>
|
|
41a2: 00361693 slli a3,a2,0x3
|
|
41a6: 01d81793 slli a5,a6,0x1d
|
|
41aa: 828d srli a3,a3,0x3
|
|
41ac: 00d7e8b3 or a7,a5,a3
|
|
41b0: 89f6 mv s3,t4
|
|
41b2: 00385793 srli a5,a6,0x3
|
|
41b6: 00f8e7b3 or a5,a7,a5
|
|
41ba: dbf9 beqz a5,4190 <__adddf3+0x34a>
|
|
41bc: 4581 li a1,0
|
|
41be: 7ff00513 li a0,2047
|
|
41c2: 000807b7 lui a5,0x80
|
|
41c6: 4881 li a7,0
|
|
41c8: b3cd j 3faa <__adddf3+0x164>
|
|
41ca: ff800637 lui a2,0xff800
|
|
41ce: 167d addi a2,a2,-1
|
|
41d0: 8e7d and a2,a2,a5
|
|
41d2: 00797793 andi a5,s2,7
|
|
41d6: 8c99 sub s1,s1,a4
|
|
41d8: d80795e3 bnez a5,3f62 <__adddf3+0x11c>
|
|
41dc: b7b5 j 4148 <__adddf3+0x302>
|
|
41de: 854a mv a0,s2
|
|
41e0: 36a020ef jal ra,654a <__clzsi2>
|
|
41e4: 01850713 addi a4,a0,24
|
|
41e8: 47fd li a5,31
|
|
41ea: d2e7d5e3 bge a5,a4,3f14 <__adddf3+0xce>
|
|
41ee: ff850613 addi a2,a0,-8
|
|
41f2: 00c917b3 sll a5,s2,a2
|
|
41f6: 4901 li s2,0
|
|
41f8: bb05 j 3f28 <__adddf3+0xe2>
|
|
41fa: 01f86933 or s2,a6,t6
|
|
41fe: 01203933 snez s2,s2
|
|
4202: b1dd j 3ee8 <__adddf3+0xa2>
|
|
4204: 41ff0933 sub s2,t5,t6
|
|
4208: 41070633 sub a2,a4,a6
|
|
420c: 012f3433 sltu s0,t5,s2
|
|
4210: 40860433 sub s0,a2,s0
|
|
4214: 00841793 slli a5,s0,0x8
|
|
4218: 2407cd63 bltz a5,4472 <__adddf3+0x62c>
|
|
421c: 008968b3 or a7,s2,s0
|
|
4220: ce0893e3 bnez a7,3f06 <__adddf3+0xc0>
|
|
4224: 4781 li a5,0
|
|
4226: 4981 li s3,0
|
|
4228: 4481 li s1,0
|
|
422a: bf1d j 4160 <__adddf3+0x31a>
|
|
422c: f80898e3 bnez a7,41bc <__adddf3+0x376>
|
|
4230: 050e slli a0,a0,0x3
|
|
4232: 01d71793 slli a5,a4,0x1d
|
|
4236: 810d srli a0,a0,0x3
|
|
4238: 00a7e8b3 or a7,a5,a0
|
|
423c: 00375793 srli a5,a4,0x3
|
|
4240: bf9d j 41b6 <__adddf3+0x370>
|
|
4242: 050e slli a0,a0,0x3
|
|
4244: 01d71793 slli a5,a4,0x1d
|
|
4248: 810d srli a0,a0,0x3
|
|
424a: 00a7e8b3 or a7,a5,a0
|
|
424e: 84f2 mv s1,t3
|
|
4250: 00375793 srli a5,a4,0x3
|
|
4254: b711 j 4158 <__adddf3+0x312>
|
|
4256: 40930533 sub a0,t1,s1
|
|
425a: 12048263 beqz s1,437e <__adddf3+0x538>
|
|
425e: 008006b7 lui a3,0x800
|
|
4262: 7ff00793 li a5,2047
|
|
4266: 8f55 or a4,a4,a3
|
|
4268: 2ef30d63 beq t1,a5,4562 <__adddf3+0x71c>
|
|
426c: 03800793 li a5,56
|
|
4270: 20a7cb63 blt a5,a0,4486 <__adddf3+0x640>
|
|
4274: 47fd li a5,31
|
|
4276: 2aa7c363 blt a5,a0,451c <__adddf3+0x6d6>
|
|
427a: 02000793 li a5,32
|
|
427e: 8f89 sub a5,a5,a0
|
|
4280: 00f71933 sll s2,a4,a5
|
|
4284: 00af56b3 srl a3,t5,a0
|
|
4288: 00ff17b3 sll a5,t5,a5
|
|
428c: 00d96933 or s2,s2,a3
|
|
4290: 00f037b3 snez a5,a5
|
|
4294: 00a75733 srl a4,a4,a0
|
|
4298: 00f96933 or s2,s2,a5
|
|
429c: 983a add a6,a6,a4
|
|
429e: 997e add s2,s2,t6
|
|
42a0: 01f937b3 sltu a5,s2,t6
|
|
42a4: 01078633 add a2,a5,a6
|
|
42a8: 849a mv s1,t1
|
|
42aa: bdd1 j 417e <__adddf3+0x338>
|
|
42ac: 008006b7 lui a3,0x800
|
|
42b0: 7ff00793 li a5,2047
|
|
42b4: 8f55 or a4,a4,a3
|
|
42b6: def319e3 bne t1,a5,40a8 <__adddf3+0x262>
|
|
42ba: 00361793 slli a5,a2,0x3
|
|
42be: 838d srli a5,a5,0x3
|
|
42c0: 01d81893 slli a7,a6,0x1d
|
|
42c4: 0117e8b3 or a7,a5,a7
|
|
42c8: 89f6 mv s3,t4
|
|
42ca: 00385793 srli a5,a6,0x3
|
|
42ce: b5e5 j 41b6 <__adddf3+0x370>
|
|
42d0: fe150713 addi a4,a0,-31
|
|
42d4: 02000693 li a3,32
|
|
42d8: 00e7d733 srl a4,a5,a4
|
|
42dc: 00d60a63 beq a2,a3,42f0 <__adddf3+0x4aa>
|
|
42e0: 04000693 li a3,64
|
|
42e4: 40c68633 sub a2,a3,a2
|
|
42e8: 00c79633 sll a2,a5,a2
|
|
42ec: 00c96933 or s2,s2,a2
|
|
42f0: 01203933 snez s2,s2
|
|
42f4: 00e96933 or s2,s2,a4
|
|
42f8: 4601 li a2,0
|
|
42fa: 4481 li s1,0
|
|
42fc: b591 j 4140 <__adddf3+0x2fa>
|
|
42fe: 01ff0933 add s2,t5,t6
|
|
4302: 010707b3 add a5,a4,a6
|
|
4306: 01e93633 sltu a2,s2,t5
|
|
430a: 963e add a2,a2,a5
|
|
430c: 00861793 slli a5,a2,0x8
|
|
4310: 4485 li s1,1
|
|
4312: e207d7e3 bgez a5,4140 <__adddf3+0x2fa>
|
|
4316: 4489 li s1,2
|
|
4318: ff8007b7 lui a5,0xff800
|
|
431c: 17fd addi a5,a5,-1
|
|
431e: 8ff1 and a5,a5,a2
|
|
4320: 00195713 srli a4,s2,0x1
|
|
4324: 00197913 andi s2,s2,1
|
|
4328: 01276933 or s2,a4,s2
|
|
432c: 01f79893 slli a7,a5,0x1f
|
|
4330: 0128e933 or s2,a7,s2
|
|
4334: 0017d613 srli a2,a5,0x1
|
|
4338: b115 j 3f5c <__adddf3+0x116>
|
|
433a: fe0e0913 addi s2,t3,-32
|
|
433e: 02000793 li a5,32
|
|
4342: 012856b3 srl a3,a6,s2
|
|
4346: 00fe0a63 beq t3,a5,435a <__adddf3+0x514>
|
|
434a: 04000913 li s2,64
|
|
434e: 41c90933 sub s2,s2,t3
|
|
4352: 01281933 sll s2,a6,s2
|
|
4356: 012fefb3 or t6,t6,s2
|
|
435a: 01f03933 snez s2,t6
|
|
435e: 00d96933 or s2,s2,a3
|
|
4362: b659 j 3ee8 <__adddf3+0xa2>
|
|
4364: 01e76933 or s2,a4,t5
|
|
4368: 01203933 snez s2,s2
|
|
436c: 412f8933 sub s2,t6,s2
|
|
4370: 012fb7b3 sltu a5,t6,s2
|
|
4374: 40f80633 sub a2,a6,a5
|
|
4378: 849a mv s1,t1
|
|
437a: 89f6 mv s3,t4
|
|
437c: bea5 j 3ef4 <__adddf3+0xae>
|
|
437e: 01e767b3 or a5,a4,t5
|
|
4382: 18078263 beqz a5,4506 <__adddf3+0x6c0>
|
|
4386: fff50793 addi a5,a0,-1
|
|
438a: 1c078463 beqz a5,4552 <__adddf3+0x70c>
|
|
438e: 7ff00693 li a3,2047
|
|
4392: 12d50463 beq a0,a3,44ba <__adddf3+0x674>
|
|
4396: 853e mv a0,a5
|
|
4398: bdd1 j 426c <__adddf3+0x426>
|
|
439a: 02000793 li a5,32
|
|
439e: 41c787b3 sub a5,a5,t3
|
|
43a2: 00f816b3 sll a3,a6,a5
|
|
43a6: 00ff9933 sll s2,t6,a5
|
|
43aa: 01cfd633 srl a2,t6,t3
|
|
43ae: 8ed1 or a3,a3,a2
|
|
43b0: 01203933 snez s2,s2
|
|
43b4: 01c857b3 srl a5,a6,t3
|
|
43b8: 0126e933 or s2,a3,s2
|
|
43bc: 973e add a4,a4,a5
|
|
43be: bb5d j 4174 <__adddf3+0x32e>
|
|
43c0: 00361793 slli a5,a2,0x3
|
|
43c4: 838d srli a5,a5,0x3
|
|
43c6: 01d81893 slli a7,a6,0x1d
|
|
43ca: 0117e8b3 or a7,a5,a7
|
|
43ce: 84ae mv s1,a1
|
|
43d0: 00385793 srli a5,a6,0x3
|
|
43d4: 89f6 mv s3,t4
|
|
43d6: b349 j 4158 <__adddf3+0x312>
|
|
43d8: c3ed beqz a5,44ba <__adddf3+0x674>
|
|
43da: 01f86933 or s2,a6,t6
|
|
43de: dc091fe3 bnez s2,41bc <__adddf3+0x376>
|
|
43e2: 050e slli a0,a0,0x3
|
|
43e4: 01d71793 slli a5,a4,0x1d
|
|
43e8: 810d srli a0,a0,0x3
|
|
43ea: 00f568b3 or a7,a0,a5
|
|
43ee: 00375793 srli a5,a4,0x3
|
|
43f2: b3d1 j 41b6 <__adddf3+0x370>
|
|
43f4: 0e088163 beqz a7,44d6 <__adddf3+0x690>
|
|
43f8: 00361693 slli a3,a2,0x3
|
|
43fc: 01d81793 slli a5,a6,0x1d
|
|
4400: 828d srli a3,a3,0x3
|
|
4402: 00d7e8b3 or a7,a5,a3
|
|
4406: 89f6 mv s3,t4
|
|
4408: 00385793 srli a5,a6,0x3
|
|
440c: bb91 j 4160 <__adddf3+0x31a>
|
|
440e: 41ff0933 sub s2,t5,t6
|
|
4412: 410707b3 sub a5,a4,a6
|
|
4416: 012f3f33 sltu t5,t5,s2
|
|
441a: 41e78633 sub a2,a5,t5
|
|
441e: 4485 li s1,1
|
|
4420: bcd1 j 3ef4 <__adddf3+0xae>
|
|
4422: 050e slli a0,a0,0x3
|
|
4424: 01d71793 slli a5,a4,0x1d
|
|
4428: 810d srli a0,a0,0x3
|
|
442a: 00f568b3 or a7,a0,a5
|
|
442e: 84f2 mv s1,t3
|
|
4430: 00375793 srli a5,a4,0x3
|
|
4434: b315 j 4158 <__adddf3+0x312>
|
|
4436: 050e slli a0,a0,0x3
|
|
4438: 01d71793 slli a5,a4,0x1d
|
|
443c: 810d srli a0,a0,0x3
|
|
443e: 00a7e8b3 or a7,a5,a0
|
|
4442: 00375793 srli a5,a4,0x3
|
|
4446: bb29 j 4160 <__adddf3+0x31a>
|
|
4448: 7ff00793 li a5,2047
|
|
444c: d4f682e3 beq a3,a5,4190 <__adddf3+0x34a>
|
|
4450: 01ff0933 add s2,t5,t6
|
|
4454: 01e93633 sltu a2,s2,t5
|
|
4458: 010707b3 add a5,a4,a6
|
|
445c: 97b2 add a5,a5,a2
|
|
445e: 01f79893 slli a7,a5,0x1f
|
|
4462: 00195913 srli s2,s2,0x1
|
|
4466: 0128e933 or s2,a7,s2
|
|
446a: 0017d613 srli a2,a5,0x1
|
|
446e: 84b6 mv s1,a3
|
|
4470: b9c1 j 4140 <__adddf3+0x2fa>
|
|
4472: 41ef8933 sub s2,t6,t5
|
|
4476: 40e80733 sub a4,a6,a4
|
|
447a: 012fb633 sltu a2,t6,s2
|
|
447e: 40c70433 sub s0,a4,a2
|
|
4482: 89f6 mv s3,t4
|
|
4484: b449 j 3f06 <__adddf3+0xc0>
|
|
4486: 01e76933 or s2,a4,t5
|
|
448a: 01203933 snez s2,s2
|
|
448e: bd01 j 429e <__adddf3+0x458>
|
|
4490: fe058793 addi a5,a1,-32
|
|
4494: 02000693 li a3,32
|
|
4498: 00f757b3 srl a5,a4,a5
|
|
449c: 00d58a63 beq a1,a3,44b0 <__adddf3+0x66a>
|
|
44a0: 04000693 li a3,64
|
|
44a4: 40b685b3 sub a1,a3,a1
|
|
44a8: 00b71733 sll a4,a4,a1
|
|
44ac: 00ef6f33 or t5,t5,a4
|
|
44b0: 01e03933 snez s2,t5
|
|
44b4: 00f96933 or s2,s2,a5
|
|
44b8: bd55 j 436c <__adddf3+0x526>
|
|
44ba: 00361793 slli a5,a2,0x3
|
|
44be: 838d srli a5,a5,0x3
|
|
44c0: 01d81893 slli a7,a6,0x1d
|
|
44c4: 0117e8b3 or a7,a5,a7
|
|
44c8: 00385793 srli a5,a6,0x3
|
|
44cc: b1ed j 41b6 <__adddf3+0x370>
|
|
44ce: 00c968b3 or a7,s2,a2
|
|
44d2: c60897e3 bnez a7,4140 <__adddf3+0x2fa>
|
|
44d6: 4781 li a5,0
|
|
44d8: 4981 li s3,0
|
|
44da: b159 j 4160 <__adddf3+0x31a>
|
|
44dc: 41ef8933 sub s2,t6,t5
|
|
44e0: 40e807b3 sub a5,a6,a4
|
|
44e4: 012fb633 sltu a2,t6,s2
|
|
44e8: 40c78633 sub a2,a5,a2
|
|
44ec: 89f6 mv s3,t4
|
|
44ee: 4485 li s1,1
|
|
44f0: b411 j 3ef4 <__adddf3+0xae>
|
|
44f2: 00361693 slli a3,a2,0x3
|
|
44f6: 01d81793 slli a5,a6,0x1d
|
|
44fa: 828d srli a3,a3,0x3
|
|
44fc: 00d7e8b3 or a7,a5,a3
|
|
4500: 00385793 srli a5,a6,0x3
|
|
4504: b9b1 j 4160 <__adddf3+0x31a>
|
|
4506: 00361693 slli a3,a2,0x3
|
|
450a: 01d81793 slli a5,a6,0x1d
|
|
450e: 828d srli a3,a3,0x3
|
|
4510: 00d7e8b3 or a7,a5,a3
|
|
4514: 84aa mv s1,a0
|
|
4516: 00385793 srli a5,a6,0x3
|
|
451a: b93d j 4158 <__adddf3+0x312>
|
|
451c: fe050793 addi a5,a0,-32
|
|
4520: 02000693 li a3,32
|
|
4524: 00f757b3 srl a5,a4,a5
|
|
4528: 00d50a63 beq a0,a3,453c <__adddf3+0x6f6>
|
|
452c: 04000693 li a3,64
|
|
4530: 40a68533 sub a0,a3,a0
|
|
4534: 00a71733 sll a4,a4,a0
|
|
4538: 00ef6f33 or t5,t5,a4
|
|
453c: 01e03933 snez s2,t5
|
|
4540: 00f96933 or s2,s2,a5
|
|
4544: bba9 j 429e <__adddf3+0x458>
|
|
4546: 4581 li a1,0
|
|
4548: 7ff00513 li a0,2047
|
|
454c: 000807b7 lui a5,0x80
|
|
4550: bca9 j 3faa <__adddf3+0x164>
|
|
4552: 01ff0933 add s2,t5,t6
|
|
4556: 010707b3 add a5,a4,a6
|
|
455a: 01f93633 sltu a2,s2,t6
|
|
455e: 963e add a2,a2,a5
|
|
4560: b375 j 430c <__adddf3+0x4c6>
|
|
4562: 00361693 slli a3,a2,0x3
|
|
4566: 01d81793 slli a5,a6,0x1d
|
|
456a: 828d srli a3,a3,0x3
|
|
456c: 00d7e8b3 or a7,a5,a3
|
|
4570: 00385793 srli a5,a6,0x3
|
|
4574: b189 j 41b6 <__adddf3+0x370>
|
|
|
|
00004576 <__gedf2>:
|
|
4576: 0145d713 srli a4,a1,0x14
|
|
457a: 001007b7 lui a5,0x100
|
|
457e: 17fd addi a5,a5,-1
|
|
4580: 0146d813 srli a6,a3,0x14
|
|
4584: 7ff77713 andi a4,a4,2047
|
|
4588: 7ff00893 li a7,2047
|
|
458c: 00b7f333 and t1,a5,a1
|
|
4590: 8e2a mv t3,a0
|
|
4592: 8ff5 and a5,a5,a3
|
|
4594: 81fd srli a1,a1,0x1f
|
|
4596: 8eb2 mv t4,a2
|
|
4598: 7ff87813 andi a6,a6,2047
|
|
459c: 82fd srli a3,a3,0x1f
|
|
459e: 03170863 beq a4,a7,45ce <__gedf2+0x58>
|
|
45a2: 03180063 beq a6,a7,45c2 <__gedf2+0x4c>
|
|
45a6: eb0d bnez a4,45d8 <__gedf2+0x62>
|
|
45a8: 00a368b3 or a7,t1,a0
|
|
45ac: 00081463 bnez a6,45b4 <__gedf2+0x3e>
|
|
45b0: 8e5d or a2,a2,a5
|
|
45b2: ca29 beqz a2,4604 <__gedf2+0x8e>
|
|
45b4: 04088563 beqz a7,45fe <__gedf2+0x88>
|
|
45b8: 02d58863 beq a1,a3,45e8 <__gedf2+0x72>
|
|
45bc: 4505 li a0,1
|
|
45be: ed95 bnez a1,45fa <__gedf2+0x84>
|
|
45c0: 8082 ret
|
|
45c2: 00c7e8b3 or a7,a5,a2
|
|
45c6: fe0880e3 beqz a7,45a6 <__gedf2+0x30>
|
|
45ca: 5579 li a0,-2
|
|
45cc: 8082 ret
|
|
45ce: 00a36533 or a0,t1,a0
|
|
45d2: fd65 bnez a0,45ca <__gedf2+0x54>
|
|
45d4: 02e80c63 beq a6,a4,460c <__gedf2+0x96>
|
|
45d8: 00081463 bnez a6,45e0 <__gedf2+0x6a>
|
|
45dc: 8e5d or a2,a2,a5
|
|
45de: de79 beqz a2,45bc <__gedf2+0x46>
|
|
45e0: fcd59ee3 bne a1,a3,45bc <__gedf2+0x46>
|
|
45e4: fce84ce3 blt a6,a4,45bc <__gedf2+0x46>
|
|
45e8: 01074863 blt a4,a6,45f8 <__gedf2+0x82>
|
|
45ec: fc67e8e3 bltu a5,t1,45bc <__gedf2+0x46>
|
|
45f0: 02f30363 beq t1,a5,4616 <__gedf2+0xa0>
|
|
45f4: 00f37f63 bgeu t1,a5,4612 <__gedf2+0x9c>
|
|
45f8: e581 bnez a1,4600 <__gedf2+0x8a>
|
|
45fa: 557d li a0,-1
|
|
45fc: 8082 ret
|
|
45fe: def5 beqz a3,45fa <__gedf2+0x84>
|
|
4600: 4505 li a0,1
|
|
4602: 8082 ret
|
|
4604: 4501 li a0,0
|
|
4606: fa089be3 bnez a7,45bc <__gedf2+0x46>
|
|
460a: 8082 ret
|
|
460c: 8e5d or a2,a2,a5
|
|
460e: da69 beqz a2,45e0 <__gedf2+0x6a>
|
|
4610: bf6d j 45ca <__gedf2+0x54>
|
|
4612: 4501 li a0,0
|
|
4614: 8082 ret
|
|
4616: fbcee3e3 bltu t4,t3,45bc <__gedf2+0x46>
|
|
461a: 4501 li a0,0
|
|
461c: fbde72e3 bgeu t3,t4,45c0 <__gedf2+0x4a>
|
|
4620: f1e5 bnez a1,4600 <__gedf2+0x8a>
|
|
4622: bfe1 j 45fa <__gedf2+0x84>
|
|
|
|
00004624 <__ledf2>:
|
|
4624: 0145d713 srli a4,a1,0x14
|
|
4628: 001007b7 lui a5,0x100
|
|
462c: 17fd addi a5,a5,-1
|
|
462e: 0146d813 srli a6,a3,0x14
|
|
4632: 7ff77713 andi a4,a4,2047
|
|
4636: 7ff00893 li a7,2047
|
|
463a: 00b7fe33 and t3,a5,a1
|
|
463e: 8eaa mv t4,a0
|
|
4640: 8ff5 and a5,a5,a3
|
|
4642: 81fd srli a1,a1,0x1f
|
|
4644: 8f32 mv t5,a2
|
|
4646: 7ff87813 andi a6,a6,2047
|
|
464a: 82fd srli a3,a3,0x1f
|
|
464c: 03170e63 beq a4,a7,4688 <__ledf2+0x64>
|
|
4650: 01180d63 beq a6,a7,466a <__ledf2+0x46>
|
|
4654: e329 bnez a4,4696 <__ledf2+0x72>
|
|
4656: 00ae68b3 or a7,t3,a0
|
|
465a: 00081f63 bnez a6,4678 <__ledf2+0x54>
|
|
465e: 8e5d or a2,a2,a5
|
|
4660: ee01 bnez a2,4678 <__ledf2+0x54>
|
|
4662: 4301 li t1,0
|
|
4664: 04088c63 beqz a7,46bc <__ledf2+0x98>
|
|
4668: a821 j 4680 <__ledf2+0x5c>
|
|
466a: 00c7e8b3 or a7,a5,a2
|
|
466e: 4309 li t1,2
|
|
4670: 04089663 bnez a7,46bc <__ledf2+0x98>
|
|
4674: d36d beqz a4,4656 <__ledf2+0x32>
|
|
4676: a005 j 4696 <__ledf2+0x72>
|
|
4678: 04088463 beqz a7,46c0 <__ledf2+0x9c>
|
|
467c: 02d58563 beq a1,a3,46a6 <__ledf2+0x82>
|
|
4680: 4305 li t1,1
|
|
4682: cd8d beqz a1,46bc <__ledf2+0x98>
|
|
4684: 537d li t1,-1
|
|
4686: a81d j 46bc <__ledf2+0x98>
|
|
4688: 00ae68b3 or a7,t3,a0
|
|
468c: 4309 li t1,2
|
|
468e: 02089763 bnez a7,46bc <__ledf2+0x98>
|
|
4692: 02e80a63 beq a6,a4,46c6 <__ledf2+0xa2>
|
|
4696: 00081463 bnez a6,469e <__ledf2+0x7a>
|
|
469a: 8e5d or a2,a2,a5
|
|
469c: d275 beqz a2,4680 <__ledf2+0x5c>
|
|
469e: fed591e3 bne a1,a3,4680 <__ledf2+0x5c>
|
|
46a2: fce84fe3 blt a6,a4,4680 <__ledf2+0x5c>
|
|
46a6: 01074963 blt a4,a6,46b8 <__ledf2+0x94>
|
|
46aa: fdc7ebe3 bltu a5,t3,4680 <__ledf2+0x5c>
|
|
46ae: 00fe0f63 beq t3,a5,46cc <__ledf2+0xa8>
|
|
46b2: 4301 li t1,0
|
|
46b4: 00fe7463 bgeu t3,a5,46bc <__ledf2+0x98>
|
|
46b8: d5f1 beqz a1,4684 <__ledf2+0x60>
|
|
46ba: 4305 li t1,1
|
|
46bc: 851a mv a0,t1
|
|
46be: 8082 ret
|
|
46c0: feed bnez a3,46ba <__ledf2+0x96>
|
|
46c2: 537d li t1,-1
|
|
46c4: bfe5 j 46bc <__ledf2+0x98>
|
|
46c6: 8e5d or a2,a2,a5
|
|
46c8: da79 beqz a2,469e <__ledf2+0x7a>
|
|
46ca: bfcd j 46bc <__ledf2+0x98>
|
|
46cc: fbdf6ae3 bltu t5,t4,4680 <__ledf2+0x5c>
|
|
46d0: 4301 li t1,0
|
|
46d2: ffeef5e3 bgeu t4,t5,46bc <__ledf2+0x98>
|
|
46d6: f1f5 bnez a1,46ba <__ledf2+0x96>
|
|
46d8: b775 j 4684 <__ledf2+0x60>
|
|
|
|
000046da <__muldf3>:
|
|
46da: 7139 addi sp,sp,-64
|
|
46dc: d84a sw s2,48(sp)
|
|
46de: 0145d913 srli s2,a1,0x14
|
|
46e2: d64e sw s3,44(sp)
|
|
46e4: d452 sw s4,40(sp)
|
|
46e6: d256 sw s5,36(sp)
|
|
46e8: 00c59993 slli s3,a1,0xc
|
|
46ec: de06 sw ra,60(sp)
|
|
46ee: dc22 sw s0,56(sp)
|
|
46f0: da26 sw s1,52(sp)
|
|
46f2: d05a sw s6,32(sp)
|
|
46f4: ce5e sw s7,28(sp)
|
|
46f6: 7ff97913 andi s2,s2,2047
|
|
46fa: 8a2a mv s4,a0
|
|
46fc: 00c9d993 srli s3,s3,0xc
|
|
4700: 01f5da93 srli s5,a1,0x1f
|
|
4704: 0e090d63 beqz s2,47fe <__muldf3+0x124>
|
|
4708: 7ff00793 li a5,2047
|
|
470c: 18f90663 beq s2,a5,4898 <__muldf3+0x1be>
|
|
4710: 01d55413 srli s0,a0,0x1d
|
|
4714: 098e slli s3,s3,0x3
|
|
4716: 013469b3 or s3,s0,s3
|
|
471a: 00800437 lui s0,0x800
|
|
471e: 0089e433 or s0,s3,s0
|
|
4722: 00351493 slli s1,a0,0x3
|
|
4726: c0190913 addi s2,s2,-1023
|
|
472a: 4981 li s3,0
|
|
472c: 4b81 li s7,0
|
|
472e: 0146d713 srli a4,a3,0x14
|
|
4732: 00c69a13 slli s4,a3,0xc
|
|
4736: 7ff77713 andi a4,a4,2047
|
|
473a: 85b2 mv a1,a2
|
|
473c: 00ca5a13 srli s4,s4,0xc
|
|
4740: 01f6db13 srli s6,a3,0x1f
|
|
4744: 10070b63 beqz a4,485a <__muldf3+0x180>
|
|
4748: 7ff00793 li a5,2047
|
|
474c: 04f70363 beq a4,a5,4792 <__muldf3+0xb8>
|
|
4750: 01d65793 srli a5,a2,0x1d
|
|
4754: 0a0e slli s4,s4,0x3
|
|
4756: 0147ea33 or s4,a5,s4
|
|
475a: c0170713 addi a4,a4,-1023 # 7ffc01 <_data_lma+0x7f73ad>
|
|
475e: 008007b7 lui a5,0x800
|
|
4762: 00fa67b3 or a5,s4,a5
|
|
4766: 00361593 slli a1,a2,0x3
|
|
476a: 993a add s2,s2,a4
|
|
476c: 4881 li a7,0
|
|
476e: 016ac733 xor a4,s5,s6
|
|
4772: 46bd li a3,15
|
|
4774: 853a mv a0,a4
|
|
4776: 00190813 addi a6,s2,1
|
|
477a: 1736e863 bltu a3,s3,48ea <__muldf3+0x210>
|
|
477e: 00004617 auipc a2,0x4
|
|
4782: e3a60613 addi a2,a2,-454 # 85b8 <mosTemperADC+0x7a0>
|
|
4786: 098a slli s3,s3,0x2
|
|
4788: 99b2 add s3,s3,a2
|
|
478a: 0009a683 lw a3,0(s3)
|
|
478e: 96b2 add a3,a3,a2
|
|
4790: 8682 jr a3
|
|
4792: 00ca67b3 or a5,s4,a2
|
|
4796: 7ff90913 addi s2,s2,2047
|
|
479a: 12079963 bnez a5,48cc <__muldf3+0x1f2>
|
|
479e: 0029e993 ori s3,s3,2
|
|
47a2: 4581 li a1,0
|
|
47a4: 4889 li a7,2
|
|
47a6: b7e1 j 476e <__muldf3+0x94>
|
|
47a8: 4701 li a4,0
|
|
47aa: 7ff00793 li a5,2047
|
|
47ae: 00080437 lui s0,0x80
|
|
47b2: 4481 li s1,0
|
|
47b4: 0432 slli s0,s0,0xc
|
|
47b6: 07d2 slli a5,a5,0x14
|
|
47b8: 8031 srli s0,s0,0xc
|
|
47ba: 077e slli a4,a4,0x1f
|
|
47bc: 8c5d or s0,s0,a5
|
|
47be: 8c59 or s0,s0,a4
|
|
47c0: 85a2 mv a1,s0
|
|
47c2: 50f2 lw ra,60(sp)
|
|
47c4: 5462 lw s0,56(sp)
|
|
47c6: 8526 mv a0,s1
|
|
47c8: 5942 lw s2,48(sp)
|
|
47ca: 54d2 lw s1,52(sp)
|
|
47cc: 59b2 lw s3,44(sp)
|
|
47ce: 5a22 lw s4,40(sp)
|
|
47d0: 5a92 lw s5,36(sp)
|
|
47d2: 5b02 lw s6,32(sp)
|
|
47d4: 4bf2 lw s7,28(sp)
|
|
47d6: 6121 addi sp,sp,64
|
|
47d8: 8082 ret
|
|
47da: 855a mv a0,s6
|
|
47dc: 843e mv s0,a5
|
|
47de: 84ae mv s1,a1
|
|
47e0: 8bc6 mv s7,a7
|
|
47e2: 4789 li a5,2
|
|
47e4: 0efb8d63 beq s7,a5,48de <__muldf3+0x204>
|
|
47e8: 478d li a5,3
|
|
47ea: fafb8fe3 beq s7,a5,47a8 <__muldf3+0xce>
|
|
47ee: 4785 li a5,1
|
|
47f0: 872a mv a4,a0
|
|
47f2: 38fb9e63 bne s7,a5,4b8e <__muldf3+0x4b4>
|
|
47f6: 4781 li a5,0
|
|
47f8: 4401 li s0,0
|
|
47fa: 4481 li s1,0
|
|
47fc: bf65 j 47b4 <__muldf3+0xda>
|
|
47fe: 00a9e433 or s0,s3,a0
|
|
4802: c061 beqz s0,48c2 <__muldf3+0x1e8>
|
|
4804: c636 sw a3,12(sp)
|
|
4806: c432 sw a2,8(sp)
|
|
4808: 2a098c63 beqz s3,4ac0 <__muldf3+0x3e6>
|
|
480c: 854e mv a0,s3
|
|
480e: 53d010ef jal ra,654a <__clzsi2>
|
|
4812: 4622 lw a2,8(sp)
|
|
4814: 46b2 lw a3,12(sp)
|
|
4816: 87aa mv a5,a0
|
|
4818: ff550713 addi a4,a0,-11
|
|
481c: 4475 li s0,29
|
|
481e: ff878493 addi s1,a5,-8 # 7ffff8 <_data_lma+0x7f77a4>
|
|
4822: 8c19 sub s0,s0,a4
|
|
4824: 009999b3 sll s3,s3,s1
|
|
4828: 008a5433 srl s0,s4,s0
|
|
482c: 01346433 or s0,s0,s3
|
|
4830: 009a14b3 sll s1,s4,s1
|
|
4834: 0146d713 srli a4,a3,0x14
|
|
4838: c0d00913 li s2,-1011
|
|
483c: 00c69a13 slli s4,a3,0xc
|
|
4840: 7ff77713 andi a4,a4,2047
|
|
4844: 40f90933 sub s2,s2,a5
|
|
4848: 4981 li s3,0
|
|
484a: 4b81 li s7,0
|
|
484c: 85b2 mv a1,a2
|
|
484e: 00ca5a13 srli s4,s4,0xc
|
|
4852: 01f6db13 srli s6,a3,0x1f
|
|
4856: ee0719e3 bnez a4,4748 <__muldf3+0x6e>
|
|
485a: 00ca67b3 or a5,s4,a2
|
|
485e: c7b1 beqz a5,48aa <__muldf3+0x1d0>
|
|
4860: 220a0f63 beqz s4,4a9e <__muldf3+0x3c4>
|
|
4864: 8552 mv a0,s4
|
|
4866: c432 sw a2,8(sp)
|
|
4868: 4e3010ef jal ra,654a <__clzsi2>
|
|
486c: 4622 lw a2,8(sp)
|
|
486e: 872a mv a4,a0
|
|
4870: ff550693 addi a3,a0,-11
|
|
4874: 47f5 li a5,29
|
|
4876: ff870593 addi a1,a4,-8
|
|
487a: 8f95 sub a5,a5,a3
|
|
487c: 00ba1a33 sll s4,s4,a1
|
|
4880: 00f657b3 srl a5,a2,a5
|
|
4884: 0147e7b3 or a5,a5,s4
|
|
4888: 00b615b3 sll a1,a2,a1
|
|
488c: 40e90933 sub s2,s2,a4
|
|
4890: c0d90913 addi s2,s2,-1011
|
|
4894: 4881 li a7,0
|
|
4896: bde1 j 476e <__muldf3+0x94>
|
|
4898: 00a9e433 or s0,s3,a0
|
|
489c: ec01 bnez s0,48b4 <__muldf3+0x1da>
|
|
489e: 49a1 li s3,8
|
|
48a0: 4481 li s1,0
|
|
48a2: 7ff00913 li s2,2047
|
|
48a6: 4b89 li s7,2
|
|
48a8: b559 j 472e <__muldf3+0x54>
|
|
48aa: 0019e993 ori s3,s3,1
|
|
48ae: 4581 li a1,0
|
|
48b0: 4885 li a7,1
|
|
48b2: bd75 j 476e <__muldf3+0x94>
|
|
48b4: 844e mv s0,s3
|
|
48b6: 84aa mv s1,a0
|
|
48b8: 49b1 li s3,12
|
|
48ba: 7ff00913 li s2,2047
|
|
48be: 4b8d li s7,3
|
|
48c0: b5bd j 472e <__muldf3+0x54>
|
|
48c2: 4991 li s3,4
|
|
48c4: 4481 li s1,0
|
|
48c6: 4901 li s2,0
|
|
48c8: 4b85 li s7,1
|
|
48ca: b595 j 472e <__muldf3+0x54>
|
|
48cc: 0039e993 ori s3,s3,3
|
|
48d0: 87d2 mv a5,s4
|
|
48d2: 488d li a7,3
|
|
48d4: bd69 j 476e <__muldf3+0x94>
|
|
48d6: 4789 li a5,2
|
|
48d8: 8556 mv a0,s5
|
|
48da: f0fb97e3 bne s7,a5,47e8 <__muldf3+0x10e>
|
|
48de: 872a mv a4,a0
|
|
48e0: 7ff00793 li a5,2047
|
|
48e4: 4401 li s0,0
|
|
48e6: 4481 li s1,0
|
|
48e8: b5f1 j 47b4 <__muldf3+0xda>
|
|
48ea: 6ec1 lui t4,0x10
|
|
48ec: fffe8613 addi a2,t4,-1 # ffff <_data_lma+0x77ab>
|
|
48f0: 0104d693 srli a3,s1,0x10
|
|
48f4: 0105de13 srli t3,a1,0x10
|
|
48f8: 8cf1 and s1,s1,a2
|
|
48fa: 8df1 and a1,a1,a2
|
|
48fc: 02958633 mul a2,a1,s1
|
|
4900: 02b68333 mul t1,a3,a1
|
|
4904: 01065893 srli a7,a2,0x10
|
|
4908: 029e0533 mul a0,t3,s1
|
|
490c: 951a add a0,a0,t1
|
|
490e: 98aa add a7,a7,a0
|
|
4910: 03c682b3 mul t0,a3,t3
|
|
4914: 0068f363 bgeu a7,t1,491a <__muldf3+0x240>
|
|
4918: 92f6 add t0,t0,t4
|
|
491a: 6fc1 lui t6,0x10
|
|
491c: ffff8313 addi t1,t6,-1 # ffff <_data_lma+0x77ab>
|
|
4920: 0067f533 and a0,a5,t1
|
|
4924: 0107d393 srli t2,a5,0x10
|
|
4928: 0068f7b3 and a5,a7,t1
|
|
492c: 07c2 slli a5,a5,0x10
|
|
492e: 00667333 and t1,a2,t1
|
|
4932: 933e add t1,t1,a5
|
|
4934: 02950633 mul a2,a0,s1
|
|
4938: 0108d893 srli a7,a7,0x10
|
|
493c: 02a687b3 mul a5,a3,a0
|
|
4940: 01065f13 srli t5,a2,0x10
|
|
4944: 029384b3 mul s1,t2,s1
|
|
4948: 94be add s1,s1,a5
|
|
494a: 94fa add s1,s1,t5
|
|
494c: 02768eb3 mul t4,a3,t2
|
|
4950: 00f4f363 bgeu s1,a5,4956 <__muldf3+0x27c>
|
|
4954: 9efe add t4,t4,t6
|
|
4956: 6a41 lui s4,0x10
|
|
4958: fffa0793 addi a5,s4,-1 # ffff <_data_lma+0x77ab>
|
|
495c: 01045f93 srli t6,s0,0x10
|
|
4960: 00f476b3 and a3,s0,a5
|
|
4964: 00f4f9b3 and s3,s1,a5
|
|
4968: 8e7d and a2,a2,a5
|
|
496a: 80c1 srli s1,s1,0x10
|
|
496c: 02d58433 mul s0,a1,a3
|
|
4970: 09c2 slli s3,s3,0x10
|
|
4972: 01d48f33 add t5,s1,t4
|
|
4976: 99b2 add s3,s3,a2
|
|
4978: 98ce add a7,a7,s3
|
|
497a: 02de07b3 mul a5,t3,a3
|
|
497e: 01045e93 srli t4,s0,0x10
|
|
4982: 02bf85b3 mul a1,t6,a1
|
|
4986: 97ae add a5,a5,a1
|
|
4988: 9ebe add t4,t4,a5
|
|
498a: 03fe0e33 mul t3,t3,t6
|
|
498e: 00bef363 bgeu t4,a1,4994 <__muldf3+0x2ba>
|
|
4992: 9e52 add t3,t3,s4
|
|
4994: 67c1 lui a5,0x10
|
|
4996: fff78593 addi a1,a5,-1 # ffff <_data_lma+0x77ab>
|
|
499a: 00bef633 and a2,t4,a1
|
|
499e: 8c6d and s0,s0,a1
|
|
49a0: 0642 slli a2,a2,0x10
|
|
49a2: 9622 add a2,a2,s0
|
|
49a4: 010ede93 srli t4,t4,0x10
|
|
49a8: 02d505b3 mul a1,a0,a3
|
|
49ac: 9e76 add t3,t3,t4
|
|
49ae: 02af8533 mul a0,t6,a0
|
|
49b2: 0105d413 srli s0,a1,0x10
|
|
49b6: 02d386b3 mul a3,t2,a3
|
|
49ba: 96aa add a3,a3,a0
|
|
49bc: 96a2 add a3,a3,s0
|
|
49be: 03f38fb3 mul t6,t2,t6
|
|
49c2: 00a6f363 bgeu a3,a0,49c8 <__muldf3+0x2ee>
|
|
49c6: 9fbe add t6,t6,a5
|
|
49c8: 6541 lui a0,0x10
|
|
49ca: 157d addi a0,a0,-1
|
|
49cc: 00a6f7b3 and a5,a3,a0
|
|
49d0: 07c2 slli a5,a5,0x10
|
|
49d2: 8d6d and a0,a0,a1
|
|
49d4: 97aa add a5,a5,a0
|
|
49d6: 005885b3 add a1,a7,t0
|
|
49da: 0135b9b3 sltu s3,a1,s3
|
|
49de: 97fa add a5,a5,t5
|
|
49e0: 95b2 add a1,a1,a2
|
|
49e2: 01378433 add s0,a5,s3
|
|
49e6: 00c5b633 sltu a2,a1,a2
|
|
49ea: 01c40eb3 add t4,s0,t3
|
|
49ee: 00ce8533 add a0,t4,a2
|
|
49f2: 01343433 sltu s0,s0,s3
|
|
49f6: 01e7b7b3 sltu a5,a5,t5
|
|
49fa: 8fc1 or a5,a5,s0
|
|
49fc: 01cebe33 sltu t3,t4,t3
|
|
4a00: 0106d413 srli s0,a3,0x10
|
|
4a04: 00c53633 sltu a2,a0,a2
|
|
4a08: 943e add s0,s0,a5
|
|
4a0a: 00ce6633 or a2,t3,a2
|
|
4a0e: 00959493 slli s1,a1,0x9
|
|
4a12: 9432 add s0,s0,a2
|
|
4a14: 947e add s0,s0,t6
|
|
4a16: 0064e4b3 or s1,s1,t1
|
|
4a1a: 0426 slli s0,s0,0x9
|
|
4a1c: 01755693 srli a3,a0,0x17
|
|
4a20: 009034b3 snez s1,s1
|
|
4a24: 81dd srli a1,a1,0x17
|
|
4a26: 00951793 slli a5,a0,0x9
|
|
4a2a: 8ccd or s1,s1,a1
|
|
4a2c: 8c55 or s0,s0,a3
|
|
4a2e: 8cdd or s1,s1,a5
|
|
4a30: 00741793 slli a5,s0,0x7
|
|
4a34: 0007db63 bgez a5,4a4a <__muldf3+0x370>
|
|
4a38: 0014d793 srli a5,s1,0x1
|
|
4a3c: 8885 andi s1,s1,1
|
|
4a3e: 01f41693 slli a3,s0,0x1f
|
|
4a42: 8cdd or s1,s1,a5
|
|
4a44: 8cd5 or s1,s1,a3
|
|
4a46: 8005 srli s0,s0,0x1
|
|
4a48: 8942 mv s2,a6
|
|
4a4a: 3ff90793 addi a5,s2,1023
|
|
4a4e: 08f05963 blez a5,4ae0 <__muldf3+0x406>
|
|
4a52: 0074f693 andi a3,s1,7
|
|
4a56: ce81 beqz a3,4a6e <__muldf3+0x394>
|
|
4a58: 00f4f693 andi a3,s1,15
|
|
4a5c: 4611 li a2,4
|
|
4a5e: 00c68863 beq a3,a2,4a6e <__muldf3+0x394>
|
|
4a62: 00448693 addi a3,s1,4
|
|
4a66: 0096b4b3 sltu s1,a3,s1
|
|
4a6a: 9426 add s0,s0,s1
|
|
4a6c: 84b6 mv s1,a3
|
|
4a6e: 00741693 slli a3,s0,0x7
|
|
4a72: 0006d863 bgez a3,4a82 <__muldf3+0x3a8>
|
|
4a76: ff0007b7 lui a5,0xff000
|
|
4a7a: 17fd addi a5,a5,-1
|
|
4a7c: 8c7d and s0,s0,a5
|
|
4a7e: 40090793 addi a5,s2,1024
|
|
4a82: 7fe00693 li a3,2046
|
|
4a86: 0ef6cf63 blt a3,a5,4b84 <__muldf3+0x4aa>
|
|
4a8a: 0034d693 srli a3,s1,0x3
|
|
4a8e: 01d41493 slli s1,s0,0x1d
|
|
4a92: 0426 slli s0,s0,0x9
|
|
4a94: 8cd5 or s1,s1,a3
|
|
4a96: 8031 srli s0,s0,0xc
|
|
4a98: 7ff7f793 andi a5,a5,2047
|
|
4a9c: bb21 j 47b4 <__muldf3+0xda>
|
|
4a9e: 8532 mv a0,a2
|
|
4aa0: c432 sw a2,8(sp)
|
|
4aa2: 2a9010ef jal ra,654a <__clzsi2>
|
|
4aa6: 01550693 addi a3,a0,21 # 10015 <_data_lma+0x77c1>
|
|
4aaa: 47f1 li a5,28
|
|
4aac: 02050713 addi a4,a0,32
|
|
4ab0: 4622 lw a2,8(sp)
|
|
4ab2: dcd7d1e3 bge a5,a3,4874 <__muldf3+0x19a>
|
|
4ab6: 1561 addi a0,a0,-8
|
|
4ab8: 00a617b3 sll a5,a2,a0
|
|
4abc: 4581 li a1,0
|
|
4abe: b3f9 j 488c <__muldf3+0x1b2>
|
|
4ac0: 28b010ef jal ra,654a <__clzsi2>
|
|
4ac4: 01550713 addi a4,a0,21
|
|
4ac8: 45f1 li a1,28
|
|
4aca: 02050793 addi a5,a0,32
|
|
4ace: 4622 lw a2,8(sp)
|
|
4ad0: 46b2 lw a3,12(sp)
|
|
4ad2: d4e5d5e3 bge a1,a4,481c <__muldf3+0x142>
|
|
4ad6: 1561 addi a0,a0,-8
|
|
4ad8: 00aa1433 sll s0,s4,a0
|
|
4adc: 4481 li s1,0
|
|
4ade: bb99 j 4834 <__muldf3+0x15a>
|
|
4ae0: 4685 li a3,1
|
|
4ae2: 8e9d sub a3,a3,a5
|
|
4ae4: e7b1 bnez a5,4b30 <__muldf3+0x456>
|
|
4ae6: 41e90913 addi s2,s2,1054
|
|
4aea: 012497b3 sll a5,s1,s2
|
|
4aee: 00d4d4b3 srl s1,s1,a3
|
|
4af2: 01241933 sll s2,s0,s2
|
|
4af6: 00f037b3 snez a5,a5
|
|
4afa: 009964b3 or s1,s2,s1
|
|
4afe: 8cdd or s1,s1,a5
|
|
4b00: 0074f793 andi a5,s1,7
|
|
4b04: 00d456b3 srl a3,s0,a3
|
|
4b08: cf81 beqz a5,4b20 <__muldf3+0x446>
|
|
4b0a: 00f4f793 andi a5,s1,15
|
|
4b0e: 4611 li a2,4
|
|
4b10: 00c78863 beq a5,a2,4b20 <__muldf3+0x446>
|
|
4b14: 00448793 addi a5,s1,4
|
|
4b18: 0097b4b3 sltu s1,a5,s1
|
|
4b1c: 96a6 add a3,a3,s1
|
|
4b1e: 84be mv s1,a5
|
|
4b20: 00869793 slli a5,a3,0x8
|
|
4b24: 0407d863 bgez a5,4b74 <__muldf3+0x49a>
|
|
4b28: 4785 li a5,1
|
|
4b2a: 4401 li s0,0
|
|
4b2c: 4481 li s1,0
|
|
4b2e: b159 j 47b4 <__muldf3+0xda>
|
|
4b30: 03800613 li a2,56
|
|
4b34: ccd641e3 blt a2,a3,47f6 <__muldf3+0x11c>
|
|
4b38: 467d li a2,31
|
|
4b3a: fad656e3 bge a2,a3,4ae6 <__muldf3+0x40c>
|
|
4b3e: 5605 li a2,-31
|
|
4b40: 40f607b3 sub a5,a2,a5
|
|
4b44: 02000593 li a1,32
|
|
4b48: 00f45633 srl a2,s0,a5
|
|
4b4c: 00b68763 beq a3,a1,4b5a <__muldf3+0x480>
|
|
4b50: 43e90913 addi s2,s2,1086
|
|
4b54: 012417b3 sll a5,s0,s2
|
|
4b58: 8cdd or s1,s1,a5
|
|
4b5a: 009034b3 snez s1,s1
|
|
4b5e: 8cd1 or s1,s1,a2
|
|
4b60: 0074f693 andi a3,s1,7
|
|
4b64: 4401 li s0,0
|
|
4b66: ca99 beqz a3,4b7c <__muldf3+0x4a2>
|
|
4b68: 00f4f793 andi a5,s1,15
|
|
4b6c: 4611 li a2,4
|
|
4b6e: 4681 li a3,0
|
|
4b70: fac792e3 bne a5,a2,4b14 <__muldf3+0x43a>
|
|
4b74: 00969413 slli s0,a3,0x9
|
|
4b78: 8031 srli s0,s0,0xc
|
|
4b7a: 06f6 slli a3,a3,0x1d
|
|
4b7c: 808d srli s1,s1,0x3
|
|
4b7e: 8cd5 or s1,s1,a3
|
|
4b80: 4781 li a5,0
|
|
4b82: b90d j 47b4 <__muldf3+0xda>
|
|
4b84: 7ff00793 li a5,2047
|
|
4b88: 4401 li s0,0
|
|
4b8a: 4481 li s1,0
|
|
4b8c: b125 j 47b4 <__muldf3+0xda>
|
|
4b8e: 8942 mv s2,a6
|
|
4b90: bd6d j 4a4a <__muldf3+0x370>
|
|
|
|
00004b92 <__subdf3>:
|
|
4b92: 00100737 lui a4,0x100
|
|
4b96: 177d addi a4,a4,-1
|
|
4b98: 1101 addi sp,sp,-32
|
|
4b9a: 00b77333 and t1,a4,a1
|
|
4b9e: 0146d893 srli a7,a3,0x14
|
|
4ba2: 8f75 and a4,a4,a3
|
|
4ba4: 01d65e93 srli t4,a2,0x1d
|
|
4ba8: cc22 sw s0,24(sp)
|
|
4baa: ca26 sw s1,20(sp)
|
|
4bac: 030e slli t1,t1,0x3
|
|
4bae: 0145d493 srli s1,a1,0x14
|
|
4bb2: 01d55793 srli a5,a0,0x1d
|
|
4bb6: 070e slli a4,a4,0x3
|
|
4bb8: ce06 sw ra,28(sp)
|
|
4bba: c84a sw s2,16(sp)
|
|
4bbc: c64e sw s3,12(sp)
|
|
4bbe: 7ff8f893 andi a7,a7,2047
|
|
4bc2: 7ff00e13 li t3,2047
|
|
4bc6: 00eee733 or a4,t4,a4
|
|
4bca: 7ff4f493 andi s1,s1,2047
|
|
4bce: 01f5d413 srli s0,a1,0x1f
|
|
4bd2: 0067e333 or t1,a5,t1
|
|
4bd6: 00351f13 slli t5,a0,0x3
|
|
4bda: 82fd srli a3,a3,0x1f
|
|
4bdc: 00361e93 slli t4,a2,0x3
|
|
4be0: 19c88063 beq a7,t3,4d60 <__subdf3+0x1ce>
|
|
4be4: 0016c693 xori a3,a3,1
|
|
4be8: 411485b3 sub a1,s1,a7
|
|
4bec: 12d40563 beq s0,a3,4d16 <__subdf3+0x184>
|
|
4bf0: 18b05163 blez a1,4d72 <__subdf3+0x1e0>
|
|
4bf4: 1a088b63 beqz a7,4daa <__subdf3+0x218>
|
|
4bf8: 008007b7 lui a5,0x800
|
|
4bfc: 8f5d or a4,a4,a5
|
|
4bfe: 59c48163 beq s1,t3,5180 <__subdf3+0x5ee>
|
|
4c02: 03800793 li a5,56
|
|
4c06: 34b7c463 blt a5,a1,4f4e <__subdf3+0x3bc>
|
|
4c0a: 47fd li a5,31
|
|
4c0c: 48b7c563 blt a5,a1,5096 <__subdf3+0x504>
|
|
4c10: 02000793 li a5,32
|
|
4c14: 8f8d sub a5,a5,a1
|
|
4c16: 00bed9b3 srl s3,t4,a1
|
|
4c1a: 00f71833 sll a6,a4,a5
|
|
4c1e: 00fe9eb3 sll t4,t4,a5
|
|
4c22: 01386833 or a6,a6,s3
|
|
4c26: 00b75733 srl a4,a4,a1
|
|
4c2a: 01d039b3 snez s3,t4
|
|
4c2e: 01386833 or a6,a6,s3
|
|
4c32: 40e30333 sub t1,t1,a4
|
|
4c36: 410f09b3 sub s3,t5,a6
|
|
4c3a: 013f37b3 sltu a5,t5,s3
|
|
4c3e: 40f30633 sub a2,t1,a5
|
|
4c42: 00861793 slli a5,a2,0x8
|
|
4c46: 2407d363 bgez a5,4e8c <__subdf3+0x2fa>
|
|
4c4a: 00800937 lui s2,0x800
|
|
4c4e: 197d addi s2,s2,-1
|
|
4c50: 01267933 and s2,a2,s2
|
|
4c54: 2c090f63 beqz s2,4f32 <__subdf3+0x3a0>
|
|
4c58: 854a mv a0,s2
|
|
4c5a: 0f1010ef jal ra,654a <__clzsi2>
|
|
4c5e: ff850713 addi a4,a0,-8
|
|
4c62: 02000793 li a5,32
|
|
4c66: 8f99 sub a5,a5,a4
|
|
4c68: 00f9d7b3 srl a5,s3,a5
|
|
4c6c: 00e91633 sll a2,s2,a4
|
|
4c70: 8fd1 or a5,a5,a2
|
|
4c72: 00e999b3 sll s3,s3,a4
|
|
4c76: 2a974463 blt a4,s1,4f1e <__subdf3+0x38c>
|
|
4c7a: 8f05 sub a4,a4,s1
|
|
4c7c: 00170613 addi a2,a4,1 # 100001 <_data_lma+0xf77ad>
|
|
4c80: 46fd li a3,31
|
|
4c82: 3ac6c563 blt a3,a2,502c <__subdf3+0x49a>
|
|
4c86: 02000713 li a4,32
|
|
4c8a: 8f11 sub a4,a4,a2
|
|
4c8c: 00c9d6b3 srl a3,s3,a2
|
|
4c90: 00e99833 sll a6,s3,a4
|
|
4c94: 00e79733 sll a4,a5,a4
|
|
4c98: 8f55 or a4,a4,a3
|
|
4c9a: 01003833 snez a6,a6
|
|
4c9e: 010769b3 or s3,a4,a6
|
|
4ca2: 00c7d633 srl a2,a5,a2
|
|
4ca6: 4481 li s1,0
|
|
4ca8: 0079f793 andi a5,s3,7
|
|
4cac: cf81 beqz a5,4cc4 <__subdf3+0x132>
|
|
4cae: 00f9f693 andi a3,s3,15
|
|
4cb2: 4791 li a5,4
|
|
4cb4: 00f68863 beq a3,a5,4cc4 <__subdf3+0x132>
|
|
4cb8: 00498693 addi a3,s3,4
|
|
4cbc: 0136b833 sltu a6,a3,s3
|
|
4cc0: 9642 add a2,a2,a6
|
|
4cc2: 89b6 mv s3,a3
|
|
4cc4: 00861793 slli a5,a2,0x8
|
|
4cc8: 1c07d663 bgez a5,4e94 <__subdf3+0x302>
|
|
4ccc: 00148713 addi a4,s1,1
|
|
4cd0: 7ff00793 li a5,2047
|
|
4cd4: 8805 andi s0,s0,1
|
|
4cd6: 20f70663 beq a4,a5,4ee2 <__subdf3+0x350>
|
|
4cda: ff8007b7 lui a5,0xff800
|
|
4cde: 17fd addi a5,a5,-1
|
|
4ce0: 8ff1 and a5,a5,a2
|
|
4ce2: 01d79813 slli a6,a5,0x1d
|
|
4ce6: 0039d993 srli s3,s3,0x3
|
|
4cea: 07a6 slli a5,a5,0x9
|
|
4cec: 01386833 or a6,a6,s3
|
|
4cf0: 83b1 srli a5,a5,0xc
|
|
4cf2: 7ff77713 andi a4,a4,2047
|
|
4cf6: 00c79693 slli a3,a5,0xc
|
|
4cfa: 0752 slli a4,a4,0x14
|
|
4cfc: 82b1 srli a3,a3,0xc
|
|
4cfe: 047e slli s0,s0,0x1f
|
|
4d00: 8ed9 or a3,a3,a4
|
|
4d02: 8ec1 or a3,a3,s0
|
|
4d04: 40f2 lw ra,28(sp)
|
|
4d06: 4462 lw s0,24(sp)
|
|
4d08: 44d2 lw s1,20(sp)
|
|
4d0a: 4942 lw s2,16(sp)
|
|
4d0c: 49b2 lw s3,12(sp)
|
|
4d0e: 8542 mv a0,a6
|
|
4d10: 85b6 mv a1,a3
|
|
4d12: 6105 addi sp,sp,32
|
|
4d14: 8082 ret
|
|
4d16: 0ab05663 blez a1,4dc2 <__subdf3+0x230>
|
|
4d1a: 12088a63 beqz a7,4e4e <__subdf3+0x2bc>
|
|
4d1e: 008007b7 lui a5,0x800
|
|
4d22: 8f5d or a4,a4,a5
|
|
4d24: 2dc48763 beq s1,t3,4ff2 <__subdf3+0x460>
|
|
4d28: 03800793 li a5,56
|
|
4d2c: 18b7c763 blt a5,a1,4eba <__subdf3+0x328>
|
|
4d30: 47fd li a5,31
|
|
4d32: 3cb7d263 bge a5,a1,50f6 <__subdf3+0x564>
|
|
4d36: fe058813 addi a6,a1,-32
|
|
4d3a: 02000793 li a5,32
|
|
4d3e: 010759b3 srl s3,a4,a6
|
|
4d42: 00f58a63 beq a1,a5,4d56 <__subdf3+0x1c4>
|
|
4d46: 04000793 li a5,64
|
|
4d4a: 40b785b3 sub a1,a5,a1
|
|
4d4e: 00b71733 sll a4,a4,a1
|
|
4d52: 00eeeeb3 or t4,t4,a4
|
|
4d56: 01d03833 snez a6,t4
|
|
4d5a: 01386833 or a6,a6,s3
|
|
4d5e: a295 j 4ec2 <__subdf3+0x330>
|
|
4d60: 01d767b3 or a5,a4,t4
|
|
4d64: 80148593 addi a1,s1,-2047
|
|
4d68: e399 bnez a5,4d6e <__subdf3+0x1dc>
|
|
4d6a: 0016c693 xori a3,a3,1
|
|
4d6e: 04d40a63 beq s0,a3,4dc2 <__subdf3+0x230>
|
|
4d72: e1d1 bnez a1,4df6 <__subdf3+0x264>
|
|
4d74: 00148793 addi a5,s1,1
|
|
4d78: 7fe7f793 andi a5,a5,2046
|
|
4d7c: 1e079963 bnez a5,4f6e <__subdf3+0x3dc>
|
|
4d80: 01e367b3 or a5,t1,t5
|
|
4d84: 01d76833 or a6,a4,t4
|
|
4d88: 16049263 bnez s1,4eec <__subdf3+0x35a>
|
|
4d8c: 3c078263 beqz a5,5150 <__subdf3+0x5be>
|
|
4d90: 42081663 bnez a6,51bc <__subdf3+0x62a>
|
|
4d94: 00351813 slli a6,a0,0x3
|
|
4d98: 01d31693 slli a3,t1,0x1d
|
|
4d9c: 00385813 srli a6,a6,0x3
|
|
4da0: 0106e833 or a6,a3,a6
|
|
4da4: 00335793 srli a5,t1,0x3
|
|
4da8: a219 j 4eae <__subdf3+0x31c>
|
|
4daa: 01d767b3 or a5,a4,t4
|
|
4dae: 1a078563 beqz a5,4f58 <__subdf3+0x3c6>
|
|
4db2: fff58793 addi a5,a1,-1
|
|
4db6: 3a078b63 beqz a5,516c <__subdf3+0x5da>
|
|
4dba: 23c58c63 beq a1,t3,4ff2 <__subdf3+0x460>
|
|
4dbe: 85be mv a1,a5
|
|
4dc0: b589 j 4c02 <__subdf3+0x70>
|
|
4dc2: 1c059963 bnez a1,4f94 <__subdf3+0x402>
|
|
4dc6: 00148693 addi a3,s1,1
|
|
4dca: 7fe6f793 andi a5,a3,2046
|
|
4dce: efc1 bnez a5,4e66 <__subdf3+0x2d4>
|
|
4dd0: 01e367b3 or a5,t1,t5
|
|
4dd4: 36049063 bnez s1,5134 <__subdf3+0x5a2>
|
|
4dd8: 44078d63 beqz a5,5232 <__subdf3+0x6a0>
|
|
4ddc: 01d767b3 or a5,a4,t4
|
|
4de0: 46079463 bnez a5,5248 <__subdf3+0x6b6>
|
|
4de4: 050e slli a0,a0,0x3
|
|
4de6: 01d31813 slli a6,t1,0x1d
|
|
4dea: 810d srli a0,a0,0x3
|
|
4dec: 00a86833 or a6,a6,a0
|
|
4df0: 00335793 srli a5,t1,0x3
|
|
4df4: a86d j 4eae <__subdf3+0x31c>
|
|
4df6: 409885b3 sub a1,a7,s1
|
|
4dfa: 20049763 bnez s1,5008 <__subdf3+0x476>
|
|
4dfe: 01e367b3 or a5,t1,t5
|
|
4e02: 30078d63 beqz a5,511c <__subdf3+0x58a>
|
|
4e06: fff58793 addi a5,a1,-1
|
|
4e0a: 40078963 beqz a5,521c <__subdf3+0x68a>
|
|
4e0e: 7ff00513 li a0,2047
|
|
4e12: 20a58363 beq a1,a0,5018 <__subdf3+0x486>
|
|
4e16: 85be mv a1,a5
|
|
4e18: 03800793 li a5,56
|
|
4e1c: 2ab7c263 blt a5,a1,50c0 <__subdf3+0x52e>
|
|
4e20: 47fd li a5,31
|
|
4e22: 3cb7c863 blt a5,a1,51f2 <__subdf3+0x660>
|
|
4e26: 02000793 li a5,32
|
|
4e2a: 8f8d sub a5,a5,a1
|
|
4e2c: 00f31833 sll a6,t1,a5
|
|
4e30: 00bf5633 srl a2,t5,a1
|
|
4e34: 00ff17b3 sll a5,t5,a5
|
|
4e38: 00c86833 or a6,a6,a2
|
|
4e3c: 00f039b3 snez s3,a5
|
|
4e40: 00b35333 srl t1,t1,a1
|
|
4e44: 01386833 or a6,a6,s3
|
|
4e48: 40670733 sub a4,a4,t1
|
|
4e4c: acb5 j 50c8 <__subdf3+0x536>
|
|
4e4e: 01d767b3 or a5,a4,t4
|
|
4e52: 10078363 beqz a5,4f58 <__subdf3+0x3c6>
|
|
4e56: fff58793 addi a5,a1,-1
|
|
4e5a: 1e078f63 beqz a5,5058 <__subdf3+0x4c6>
|
|
4e5e: 2fc58063 beq a1,t3,513e <__subdf3+0x5ac>
|
|
4e62: 85be mv a1,a5
|
|
4e64: b5d1 j 4d28 <__subdf3+0x196>
|
|
4e66: 7ff00793 li a5,2047
|
|
4e6a: 06f68b63 beq a3,a5,4ee0 <__subdf3+0x34e>
|
|
4e6e: 9efa add t4,t4,t5
|
|
4e70: 01eeb633 sltu a2,t4,t5
|
|
4e74: 00e307b3 add a5,t1,a4
|
|
4e78: 97b2 add a5,a5,a2
|
|
4e7a: 01f79813 slli a6,a5,0x1f
|
|
4e7e: 001ede93 srli t4,t4,0x1
|
|
4e82: 01d869b3 or s3,a6,t4
|
|
4e86: 0017d613 srli a2,a5,0x1
|
|
4e8a: 84b6 mv s1,a3
|
|
4e8c: 0079f793 andi a5,s3,7
|
|
4e90: e0079fe3 bnez a5,4cae <__subdf3+0x11c>
|
|
4e94: 01d61793 slli a5,a2,0x1d
|
|
4e98: 0039d813 srli a6,s3,0x3
|
|
4e9c: 00f86833 or a6,a6,a5
|
|
4ea0: 85a6 mv a1,s1
|
|
4ea2: 00365793 srli a5,a2,0x3
|
|
4ea6: 7ff00713 li a4,2047
|
|
4eaa: 06e58063 beq a1,a4,4f0a <__subdf3+0x378>
|
|
4eae: 07b2 slli a5,a5,0xc
|
|
4eb0: 83b1 srli a5,a5,0xc
|
|
4eb2: 7ff5f713 andi a4,a1,2047
|
|
4eb6: 8805 andi s0,s0,1
|
|
4eb8: bd3d j 4cf6 <__subdf3+0x164>
|
|
4eba: 01d76733 or a4,a4,t4
|
|
4ebe: 00e03833 snez a6,a4
|
|
4ec2: 01e809b3 add s3,a6,t5
|
|
4ec6: 01e9b7b3 sltu a5,s3,t5
|
|
4eca: 00678633 add a2,a5,t1
|
|
4ece: 00861793 slli a5,a2,0x8
|
|
4ed2: fa07dde3 bgez a5,4e8c <__subdf3+0x2fa>
|
|
4ed6: 0485 addi s1,s1,1
|
|
4ed8: 7ff00793 li a5,2047
|
|
4edc: 18f49c63 bne s1,a5,5074 <__subdf3+0x4e2>
|
|
4ee0: 8805 andi s0,s0,1
|
|
4ee2: 7ff00713 li a4,2047
|
|
4ee6: 4781 li a5,0
|
|
4ee8: 4801 li a6,0
|
|
4eea: b531 j 4cf6 <__subdf3+0x164>
|
|
4eec: 10079163 bnez a5,4fee <__subdf3+0x45c>
|
|
4ef0: 3c080163 beqz a6,52b2 <__subdf3+0x720>
|
|
4ef4: 00361813 slli a6,a2,0x3
|
|
4ef8: 01d71793 slli a5,a4,0x1d
|
|
4efc: 00385813 srli a6,a6,0x3
|
|
4f00: 00f86833 or a6,a6,a5
|
|
4f04: 8436 mv s0,a3
|
|
4f06: 00375793 srli a5,a4,0x3
|
|
4f0a: 00f867b3 or a5,a6,a5
|
|
4f0e: dbe9 beqz a5,4ee0 <__subdf3+0x34e>
|
|
4f10: 4401 li s0,0
|
|
4f12: 7ff00713 li a4,2047
|
|
4f16: 000807b7 lui a5,0x80
|
|
4f1a: 4801 li a6,0
|
|
4f1c: bbe9 j 4cf6 <__subdf3+0x164>
|
|
4f1e: ff800637 lui a2,0xff800
|
|
4f22: 167d addi a2,a2,-1
|
|
4f24: 8e7d and a2,a2,a5
|
|
4f26: 0079f793 andi a5,s3,7
|
|
4f2a: 8c99 sub s1,s1,a4
|
|
4f2c: d80791e3 bnez a5,4cae <__subdf3+0x11c>
|
|
4f30: b795 j 4e94 <__subdf3+0x302>
|
|
4f32: 854e mv a0,s3
|
|
4f34: 616010ef jal ra,654a <__clzsi2>
|
|
4f38: 01850713 addi a4,a0,24
|
|
4f3c: 47fd li a5,31
|
|
4f3e: d2e7d2e3 bge a5,a4,4c62 <__subdf3+0xd0>
|
|
4f42: ff850613 addi a2,a0,-8
|
|
4f46: 00c997b3 sll a5,s3,a2
|
|
4f4a: 4981 li s3,0
|
|
4f4c: b32d j 4c76 <__subdf3+0xe4>
|
|
4f4e: 01d76833 or a6,a4,t4
|
|
4f52: 01003833 snez a6,a6
|
|
4f56: b1c5 j 4c36 <__subdf3+0xa4>
|
|
4f58: 00351813 slli a6,a0,0x3
|
|
4f5c: 01d31793 slli a5,t1,0x1d
|
|
4f60: 00385813 srli a6,a6,0x3
|
|
4f64: 00f86833 or a6,a6,a5
|
|
4f68: 00335793 srli a5,t1,0x3
|
|
4f6c: bf2d j 4ea6 <__subdf3+0x314>
|
|
4f6e: 41df09b3 sub s3,t5,t4
|
|
4f72: 40e30933 sub s2,t1,a4
|
|
4f76: 013f3633 sltu a2,t5,s3
|
|
4f7a: 40c90933 sub s2,s2,a2
|
|
4f7e: 00891793 slli a5,s2,0x8
|
|
4f82: 2007ca63 bltz a5,5196 <__subdf3+0x604>
|
|
4f86: 0129e833 or a6,s3,s2
|
|
4f8a: cc0815e3 bnez a6,4c54 <__subdf3+0xc2>
|
|
4f8e: 4781 li a5,0
|
|
4f90: 4401 li s0,0
|
|
4f92: bf31 j 4eae <__subdf3+0x31c>
|
|
4f94: 409885b3 sub a1,a7,s1
|
|
4f98: 14048163 beqz s1,50da <__subdf3+0x548>
|
|
4f9c: 008006b7 lui a3,0x800
|
|
4fa0: 7ff00793 li a5,2047
|
|
4fa4: 00d36333 or t1,t1,a3
|
|
4fa8: 20f88163 beq a7,a5,51aa <__subdf3+0x618>
|
|
4fac: 03800793 li a5,56
|
|
4fb0: 22b7cc63 blt a5,a1,51e8 <__subdf3+0x656>
|
|
4fb4: 47fd li a5,31
|
|
4fb6: 2cb7c963 blt a5,a1,5288 <__subdf3+0x6f6>
|
|
4fba: 02000793 li a5,32
|
|
4fbe: 8f8d sub a5,a5,a1
|
|
4fc0: 00f31833 sll a6,t1,a5
|
|
4fc4: 00bf56b3 srl a3,t5,a1
|
|
4fc8: 00ff17b3 sll a5,t5,a5
|
|
4fcc: 00d86833 or a6,a6,a3
|
|
4fd0: 00f039b3 snez s3,a5
|
|
4fd4: 00b35333 srl t1,t1,a1
|
|
4fd8: 01386833 or a6,a6,s3
|
|
4fdc: 971a add a4,a4,t1
|
|
4fde: 01d809b3 add s3,a6,t4
|
|
4fe2: 01d9b7b3 sltu a5,s3,t4
|
|
4fe6: 00e78633 add a2,a5,a4
|
|
4fea: 84c6 mv s1,a7
|
|
4fec: b5cd j 4ece <__subdf3+0x33c>
|
|
4fee: f20811e3 bnez a6,4f10 <__subdf3+0x37e>
|
|
4ff2: 00351813 slli a6,a0,0x3
|
|
4ff6: 01d31793 slli a5,t1,0x1d
|
|
4ffa: 00385813 srli a6,a6,0x3
|
|
4ffe: 00f86833 or a6,a6,a5
|
|
5002: 00335793 srli a5,t1,0x3
|
|
5006: b711 j 4f0a <__subdf3+0x378>
|
|
5008: 00800537 lui a0,0x800
|
|
500c: 7ff00793 li a5,2047
|
|
5010: 00a36333 or t1,t1,a0
|
|
5014: e0f892e3 bne a7,a5,4e18 <__subdf3+0x286>
|
|
5018: 060e slli a2,a2,0x3
|
|
501a: 01d71813 slli a6,a4,0x1d
|
|
501e: 820d srli a2,a2,0x3
|
|
5020: 00c86833 or a6,a6,a2
|
|
5024: 00375793 srli a5,a4,0x3
|
|
5028: 8436 mv s0,a3
|
|
502a: b5c5 j 4f0a <__subdf3+0x378>
|
|
502c: 1705 addi a4,a4,-31
|
|
502e: 02000693 li a3,32
|
|
5032: 00e7d733 srl a4,a5,a4
|
|
5036: 00d60a63 beq a2,a3,504a <__subdf3+0x4b8>
|
|
503a: 04000693 li a3,64
|
|
503e: 40c68633 sub a2,a3,a2
|
|
5042: 00c79633 sll a2,a5,a2
|
|
5046: 00c9e9b3 or s3,s3,a2
|
|
504a: 01303833 snez a6,s3
|
|
504e: 00e869b3 or s3,a6,a4
|
|
5052: 4601 li a2,0
|
|
5054: 4481 li s1,0
|
|
5056: bd1d j 4e8c <__subdf3+0x2fa>
|
|
5058: 01df09b3 add s3,t5,t4
|
|
505c: 00e307b3 add a5,t1,a4
|
|
5060: 01e9bf33 sltu t5,s3,t5
|
|
5064: 01e78633 add a2,a5,t5
|
|
5068: 00861793 slli a5,a2,0x8
|
|
506c: 4485 li s1,1
|
|
506e: e007dfe3 bgez a5,4e8c <__subdf3+0x2fa>
|
|
5072: 4489 li s1,2
|
|
5074: ff8007b7 lui a5,0xff800
|
|
5078: 17fd addi a5,a5,-1
|
|
507a: 8ff1 and a5,a5,a2
|
|
507c: 0019d713 srli a4,s3,0x1
|
|
5080: 0019f813 andi a6,s3,1
|
|
5084: 01076833 or a6,a4,a6
|
|
5088: 01f79993 slli s3,a5,0x1f
|
|
508c: 0109e9b3 or s3,s3,a6
|
|
5090: 0017d613 srli a2,a5,0x1
|
|
5094: b911 j 4ca8 <__subdf3+0x116>
|
|
5096: fe058813 addi a6,a1,-32
|
|
509a: 02000793 li a5,32
|
|
509e: 010759b3 srl s3,a4,a6
|
|
50a2: 00f58a63 beq a1,a5,50b6 <__subdf3+0x524>
|
|
50a6: 04000793 li a5,64
|
|
50aa: 40b785b3 sub a1,a5,a1
|
|
50ae: 00b71733 sll a4,a4,a1
|
|
50b2: 00eeeeb3 or t4,t4,a4
|
|
50b6: 01d03833 snez a6,t4
|
|
50ba: 01386833 or a6,a6,s3
|
|
50be: bea5 j 4c36 <__subdf3+0xa4>
|
|
50c0: 01e36333 or t1,t1,t5
|
|
50c4: 00603833 snez a6,t1
|
|
50c8: 410e89b3 sub s3,t4,a6
|
|
50cc: 013eb7b3 sltu a5,t4,s3
|
|
50d0: 40f70633 sub a2,a4,a5
|
|
50d4: 84c6 mv s1,a7
|
|
50d6: 8436 mv s0,a3
|
|
50d8: b6ad j 4c42 <__subdf3+0xb0>
|
|
50da: 01e367b3 or a5,t1,t5
|
|
50de: 18078763 beqz a5,526c <__subdf3+0x6da>
|
|
50e2: fff58793 addi a5,a1,-1
|
|
50e6: 1c078c63 beqz a5,52be <__subdf3+0x72c>
|
|
50ea: 7ff00693 li a3,2047
|
|
50ee: 0ad58e63 beq a1,a3,51aa <__subdf3+0x618>
|
|
50f2: 85be mv a1,a5
|
|
50f4: bd65 j 4fac <__subdf3+0x41a>
|
|
50f6: 02000793 li a5,32
|
|
50fa: 8f8d sub a5,a5,a1
|
|
50fc: 00bed9b3 srl s3,t4,a1
|
|
5100: 00f71833 sll a6,a4,a5
|
|
5104: 00fe9eb3 sll t4,t4,a5
|
|
5108: 01386833 or a6,a6,s3
|
|
510c: 00b75733 srl a4,a4,a1
|
|
5110: 01d039b3 snez s3,t4
|
|
5114: 01386833 or a6,a6,s3
|
|
5118: 933a add t1,t1,a4
|
|
511a: b365 j 4ec2 <__subdf3+0x330>
|
|
511c: 00361813 slli a6,a2,0x3
|
|
5120: 01d71793 slli a5,a4,0x1d
|
|
5124: 00385813 srli a6,a6,0x3
|
|
5128: 0107e833 or a6,a5,a6
|
|
512c: 8436 mv s0,a3
|
|
512e: 00375793 srli a5,a4,0x3
|
|
5132: bb95 j 4ea6 <__subdf3+0x314>
|
|
5134: cbbd beqz a5,51aa <__subdf3+0x618>
|
|
5136: 01d76733 or a4,a4,t4
|
|
513a: dc071be3 bnez a4,4f10 <__subdf3+0x37e>
|
|
513e: 050e slli a0,a0,0x3
|
|
5140: 01d31813 slli a6,t1,0x1d
|
|
5144: 810d srli a0,a0,0x3
|
|
5146: 00a86833 or a6,a6,a0
|
|
514a: 00335793 srli a5,t1,0x3
|
|
514e: bb75 j 4f0a <__subdf3+0x378>
|
|
5150: e2080fe3 beqz a6,4f8e <__subdf3+0x3fc>
|
|
5154: 00361813 slli a6,a2,0x3
|
|
5158: 01d71793 slli a5,a4,0x1d
|
|
515c: 00385813 srli a6,a6,0x3
|
|
5160: 00f86833 or a6,a6,a5
|
|
5164: 8436 mv s0,a3
|
|
5166: 00375793 srli a5,a4,0x3
|
|
516a: b391 j 4eae <__subdf3+0x31c>
|
|
516c: 41df09b3 sub s3,t5,t4
|
|
5170: 40e307b3 sub a5,t1,a4
|
|
5174: 013f3f33 sltu t5,t5,s3
|
|
5178: 41e78633 sub a2,a5,t5
|
|
517c: 4485 li s1,1
|
|
517e: b4d1 j 4c42 <__subdf3+0xb0>
|
|
5180: 00351813 slli a6,a0,0x3
|
|
5184: 01d31693 slli a3,t1,0x1d
|
|
5188: 00385813 srli a6,a6,0x3
|
|
518c: 0106e833 or a6,a3,a6
|
|
5190: 00335793 srli a5,t1,0x3
|
|
5194: bb9d j 4f0a <__subdf3+0x378>
|
|
5196: 41ee89b3 sub s3,t4,t5
|
|
519a: 40670633 sub a2,a4,t1
|
|
519e: 013eb933 sltu s2,t4,s3
|
|
51a2: 41260933 sub s2,a2,s2
|
|
51a6: 8436 mv s0,a3
|
|
51a8: b475 j 4c54 <__subdf3+0xc2>
|
|
51aa: 060e slli a2,a2,0x3
|
|
51ac: 01d71813 slli a6,a4,0x1d
|
|
51b0: 820d srli a2,a2,0x3
|
|
51b2: 00c86833 or a6,a6,a2
|
|
51b6: 00375793 srli a5,a4,0x3
|
|
51ba: bb81 j 4f0a <__subdf3+0x378>
|
|
51bc: 41df09b3 sub s3,t5,t4
|
|
51c0: 40e307b3 sub a5,t1,a4
|
|
51c4: 013f3633 sltu a2,t5,s3
|
|
51c8: 40c78633 sub a2,a5,a2
|
|
51cc: 00861793 slli a5,a2,0x8
|
|
51d0: 0a07d763 bgez a5,527e <__subdf3+0x6ec>
|
|
51d4: 41ee89b3 sub s3,t4,t5
|
|
51d8: 406707b3 sub a5,a4,t1
|
|
51dc: 013ebeb3 sltu t4,t4,s3
|
|
51e0: 41d78633 sub a2,a5,t4
|
|
51e4: 8436 mv s0,a3
|
|
51e6: b4c9 j 4ca8 <__subdf3+0x116>
|
|
51e8: 01e36333 or t1,t1,t5
|
|
51ec: 00603833 snez a6,t1
|
|
51f0: b3fd j 4fde <__subdf3+0x44c>
|
|
51f2: fe058813 addi a6,a1,-32
|
|
51f6: 02000793 li a5,32
|
|
51fa: 010359b3 srl s3,t1,a6
|
|
51fe: 00f58a63 beq a1,a5,5212 <__subdf3+0x680>
|
|
5202: 04000793 li a5,64
|
|
5206: 40b785b3 sub a1,a5,a1
|
|
520a: 00b31333 sll t1,t1,a1
|
|
520e: 006f6f33 or t5,t5,t1
|
|
5212: 01e03833 snez a6,t5
|
|
5216: 01386833 or a6,a6,s3
|
|
521a: b57d j 50c8 <__subdf3+0x536>
|
|
521c: 41ee89b3 sub s3,t4,t5
|
|
5220: 406707b3 sub a5,a4,t1
|
|
5224: 013ebeb3 sltu t4,t4,s3
|
|
5228: 41d78633 sub a2,a5,t4
|
|
522c: 8436 mv s0,a3
|
|
522e: 4485 li s1,1
|
|
5230: bc09 j 4c42 <__subdf3+0xb0>
|
|
5232: 00361813 slli a6,a2,0x3
|
|
5236: 01d71793 slli a5,a4,0x1d
|
|
523a: 00385813 srli a6,a6,0x3
|
|
523e: 00f86833 or a6,a6,a5
|
|
5242: 00375793 srli a5,a4,0x3
|
|
5246: b1a5 j 4eae <__subdf3+0x31c>
|
|
5248: 01df09b3 add s3,t5,t4
|
|
524c: 00e307b3 add a5,t1,a4
|
|
5250: 01e9bf33 sltu t5,s3,t5
|
|
5254: 01e78633 add a2,a5,t5
|
|
5258: 00861793 slli a5,a2,0x8
|
|
525c: c207d8e3 bgez a5,4e8c <__subdf3+0x2fa>
|
|
5260: ff8007b7 lui a5,0xff800
|
|
5264: 17fd addi a5,a5,-1
|
|
5266: 8e7d and a2,a2,a5
|
|
5268: 4485 li s1,1
|
|
526a: b10d j 4e8c <__subdf3+0x2fa>
|
|
526c: 060e slli a2,a2,0x3
|
|
526e: 01d71813 slli a6,a4,0x1d
|
|
5272: 820d srli a2,a2,0x3
|
|
5274: 00c86833 or a6,a6,a2
|
|
5278: 00375793 srli a5,a4,0x3
|
|
527c: b12d j 4ea6 <__subdf3+0x314>
|
|
527e: 00c9e833 or a6,s3,a2
|
|
5282: d00806e3 beqz a6,4f8e <__subdf3+0x3fc>
|
|
5286: b119 j 4e8c <__subdf3+0x2fa>
|
|
5288: fe058813 addi a6,a1,-32
|
|
528c: 02000793 li a5,32
|
|
5290: 010359b3 srl s3,t1,a6
|
|
5294: 00f58a63 beq a1,a5,52a8 <__subdf3+0x716>
|
|
5298: 04000793 li a5,64
|
|
529c: 40b785b3 sub a1,a5,a1
|
|
52a0: 00b31333 sll t1,t1,a1
|
|
52a4: 006f6f33 or t5,t5,t1
|
|
52a8: 01e03833 snez a6,t5
|
|
52ac: 01386833 or a6,a6,s3
|
|
52b0: b33d j 4fde <__subdf3+0x44c>
|
|
52b2: 4401 li s0,0
|
|
52b4: 7ff00713 li a4,2047
|
|
52b8: 000807b7 lui a5,0x80
|
|
52bc: bc2d j 4cf6 <__subdf3+0x164>
|
|
52be: 01df09b3 add s3,t5,t4
|
|
52c2: 00e307b3 add a5,t1,a4
|
|
52c6: 01d9beb3 sltu t4,s3,t4
|
|
52ca: 01d78633 add a2,a5,t4
|
|
52ce: bb69 j 5068 <__subdf3+0x4d6>
|
|
|
|
000052d0 <__floatsidf>:
|
|
52d0: 1141 addi sp,sp,-16
|
|
52d2: c606 sw ra,12(sp)
|
|
52d4: c422 sw s0,8(sp)
|
|
52d6: c226 sw s1,4(sp)
|
|
52d8: cd0d beqz a0,5312 <__floatsidf+0x42>
|
|
52da: 41f55793 srai a5,a0,0x1f
|
|
52de: 00a7c4b3 xor s1,a5,a0
|
|
52e2: 8c9d sub s1,s1,a5
|
|
52e4: 842a mv s0,a0
|
|
52e6: 8526 mv a0,s1
|
|
52e8: 262010ef jal ra,654a <__clzsi2>
|
|
52ec: 41e00693 li a3,1054
|
|
52f0: 8e89 sub a3,a3,a0
|
|
52f2: 47a9 li a5,10
|
|
52f4: 807d srli s0,s0,0x1f
|
|
52f6: 7ff6f693 andi a3,a3,2047
|
|
52fa: 02a7cd63 blt a5,a0,5334 <__floatsidf+0x64>
|
|
52fe: 472d li a4,11
|
|
5300: 8f09 sub a4,a4,a0
|
|
5302: 00e4d7b3 srl a5,s1,a4
|
|
5306: 0555 addi a0,a0,21
|
|
5308: 07b2 slli a5,a5,0xc
|
|
530a: 00a494b3 sll s1,s1,a0
|
|
530e: 83b1 srli a5,a5,0xc
|
|
5310: a029 j 531a <__floatsidf+0x4a>
|
|
5312: 4401 li s0,0
|
|
5314: 4681 li a3,0
|
|
5316: 4781 li a5,0
|
|
5318: 4481 li s1,0
|
|
531a: 07b2 slli a5,a5,0xc
|
|
531c: 06d2 slli a3,a3,0x14
|
|
531e: 83b1 srli a5,a5,0xc
|
|
5320: 047e slli s0,s0,0x1f
|
|
5322: 8fd5 or a5,a5,a3
|
|
5324: 8fc1 or a5,a5,s0
|
|
5326: 40b2 lw ra,12(sp)
|
|
5328: 4422 lw s0,8(sp)
|
|
532a: 8526 mv a0,s1
|
|
532c: 85be mv a1,a5
|
|
532e: 4492 lw s1,4(sp)
|
|
5330: 0141 addi sp,sp,16
|
|
5332: 8082 ret
|
|
5334: 1555 addi a0,a0,-11
|
|
5336: 00a497b3 sll a5,s1,a0
|
|
533a: 07b2 slli a5,a5,0xc
|
|
533c: 83b1 srli a5,a5,0xc
|
|
533e: 4481 li s1,0
|
|
5340: bfe9 j 531a <__floatsidf+0x4a>
|
|
|
|
00005342 <__addsf3>:
|
|
5342: 1141 addi sp,sp,-16
|
|
5344: 00800737 lui a4,0x800
|
|
5348: 177d addi a4,a4,-1
|
|
534a: 0175d813 srli a6,a1,0x17
|
|
534e: c226 sw s1,4(sp)
|
|
5350: 01755493 srli s1,a0,0x17
|
|
5354: 00a77333 and t1,a4,a0
|
|
5358: 0ff4f493 andi s1,s1,255
|
|
535c: 00b776b3 and a3,a4,a1
|
|
5360: c04a sw s2,0(sp)
|
|
5362: 0ff87813 andi a6,a6,255
|
|
5366: 01f55913 srli s2,a0,0x1f
|
|
536a: c606 sw ra,12(sp)
|
|
536c: c422 sw s0,8(sp)
|
|
536e: 81fd srli a1,a1,0x1f
|
|
5370: 879a mv a5,t1
|
|
5372: 8526 mv a0,s1
|
|
5374: 864a mv a2,s2
|
|
5376: 00331e13 slli t3,t1,0x3
|
|
537a: 00369e93 slli t4,a3,0x3
|
|
537e: 410488b3 sub a7,s1,a6
|
|
5382: 0eb90a63 beq s2,a1,5476 <__addsf3+0x134>
|
|
5386: 0d105063 blez a7,5446 <__addsf3+0x104>
|
|
538a: 14080463 beqz a6,54d2 <__addsf3+0x190>
|
|
538e: 0ff00793 li a5,255
|
|
5392: 14f48b63 beq s1,a5,54e8 <__addsf3+0x1a6>
|
|
5396: 040007b7 lui a5,0x4000
|
|
539a: 00feeeb3 or t4,t4,a5
|
|
539e: 47ed li a5,27
|
|
53a0: 2917c163 blt a5,a7,5622 <__addsf3+0x2e0>
|
|
53a4: 02000793 li a5,32
|
|
53a8: 411787b3 sub a5,a5,a7
|
|
53ac: 00fe97b3 sll a5,t4,a5
|
|
53b0: 011ed8b3 srl a7,t4,a7
|
|
53b4: 00f037b3 snez a5,a5
|
|
53b8: 00f8e7b3 or a5,a7,a5
|
|
53bc: 40fe07b3 sub a5,t3,a5
|
|
53c0: 00579713 slli a4,a5,0x5
|
|
53c4: 18075e63 bgez a4,5560 <__addsf3+0x21e>
|
|
53c8: 04000437 lui s0,0x4000
|
|
53cc: 147d addi s0,s0,-1
|
|
53ce: 8c7d and s0,s0,a5
|
|
53d0: 8522 mv a0,s0
|
|
53d2: 178010ef jal ra,654a <__clzsi2>
|
|
53d6: 156d addi a0,a0,-5
|
|
53d8: 00a417b3 sll a5,s0,a0
|
|
53dc: 1a954863 blt a0,s1,558c <__addsf3+0x24a>
|
|
53e0: 8d05 sub a0,a0,s1
|
|
53e2: 00150413 addi s0,a0,1 # 800001 <_data_lma+0x7f77ad>
|
|
53e6: 02000713 li a4,32
|
|
53ea: 8f01 sub a4,a4,s0
|
|
53ec: 00e79733 sll a4,a5,a4
|
|
53f0: 00e03733 snez a4,a4
|
|
53f4: 0087d7b3 srl a5,a5,s0
|
|
53f8: 8fd9 or a5,a5,a4
|
|
53fa: 4481 li s1,0
|
|
53fc: 0077f713 andi a4,a5,7
|
|
5400: c719 beqz a4,540e <__addsf3+0xcc>
|
|
5402: 00f7f713 andi a4,a5,15
|
|
5406: 4691 li a3,4
|
|
5408: 00d70363 beq a4,a3,540e <__addsf3+0xcc>
|
|
540c: 0791 addi a5,a5,4
|
|
540e: 00579713 slli a4,a5,0x5
|
|
5412: 14075b63 bgez a4,5568 <__addsf3+0x226>
|
|
5416: 0485 addi s1,s1,1
|
|
5418: 0ff00713 li a4,255
|
|
541c: 864a mv a2,s2
|
|
541e: 16e48363 beq s1,a4,5584 <__addsf3+0x242>
|
|
5422: 079a slli a5,a5,0x6
|
|
5424: 83a5 srli a5,a5,0x9
|
|
5426: 0ff4f513 andi a0,s1,255
|
|
542a: 40b2 lw ra,12(sp)
|
|
542c: 4422 lw s0,8(sp)
|
|
542e: 07a6 slli a5,a5,0x9
|
|
5430: 01751493 slli s1,a0,0x17
|
|
5434: 0097d513 srli a0,a5,0x9
|
|
5438: 8d45 or a0,a0,s1
|
|
543a: 067e slli a2,a2,0x1f
|
|
543c: 4492 lw s1,4(sp)
|
|
543e: 4902 lw s2,0(sp)
|
|
5440: 8d51 or a0,a0,a2
|
|
5442: 0141 addi sp,sp,16
|
|
5444: 8082 ret
|
|
5446: 0a089963 bnez a7,54f8 <__addsf3+0x1b6>
|
|
544a: 00148713 addi a4,s1,1
|
|
544e: 0fe77713 andi a4,a4,254
|
|
5452: 14071763 bnez a4,55a0 <__addsf3+0x25e>
|
|
5456: 22049063 bnez s1,5676 <__addsf3+0x334>
|
|
545a: 1e0e0d63 beqz t3,5654 <__addsf3+0x312>
|
|
545e: fc0e86e3 beqz t4,542a <__addsf3+0xe8>
|
|
5462: 41de07b3 sub a5,t3,t4
|
|
5466: 00579713 slli a4,a5,0x5
|
|
546a: 22075063 bgez a4,568a <__addsf3+0x348>
|
|
546e: 41ce87b3 sub a5,t4,t3
|
|
5472: 892e mv s2,a1
|
|
5474: b761 j 53fc <__addsf3+0xba>
|
|
5476: 0b105c63 blez a7,552e <__addsf3+0x1ec>
|
|
547a: 08080e63 beqz a6,5516 <__addsf3+0x1d4>
|
|
547e: 0ff00793 li a5,255
|
|
5482: 06f48363 beq s1,a5,54e8 <__addsf3+0x1a6>
|
|
5486: 040007b7 lui a5,0x4000
|
|
548a: 00feeeb3 or t4,t4,a5
|
|
548e: 47ed li a5,27
|
|
5490: 1f17c963 blt a5,a7,5682 <__addsf3+0x340>
|
|
5494: 02000793 li a5,32
|
|
5498: 411787b3 sub a5,a5,a7
|
|
549c: 00fe97b3 sll a5,t4,a5
|
|
54a0: 011ed8b3 srl a7,t4,a7
|
|
54a4: 00f037b3 snez a5,a5
|
|
54a8: 00f8e7b3 or a5,a7,a5
|
|
54ac: 97f2 add a5,a5,t3
|
|
54ae: 00579713 slli a4,a5,0x5
|
|
54b2: 0a075763 bgez a4,5560 <__addsf3+0x21e>
|
|
54b6: 0485 addi s1,s1,1
|
|
54b8: 0ff00713 li a4,255
|
|
54bc: 0ce48463 beq s1,a4,5584 <__addsf3+0x242>
|
|
54c0: 7e0006b7 lui a3,0x7e000
|
|
54c4: 0017d713 srli a4,a5,0x1
|
|
54c8: 16fd addi a3,a3,-1
|
|
54ca: 8b85 andi a5,a5,1
|
|
54cc: 8f75 and a4,a4,a3
|
|
54ce: 8fd9 or a5,a5,a4
|
|
54d0: b735 j 53fc <__addsf3+0xba>
|
|
54d2: 080e8d63 beqz t4,556c <__addsf3+0x22a>
|
|
54d6: 18fd addi a7,a7,-1
|
|
54d8: 41de07b3 sub a5,t3,t4
|
|
54dc: ee0882e3 beqz a7,53c0 <__addsf3+0x7e>
|
|
54e0: 0ff00793 li a5,255
|
|
54e4: eaf49de3 bne s1,a5,539e <__addsf3+0x5c>
|
|
54e8: 08030d63 beqz t1,5582 <__addsf3+0x240>
|
|
54ec: 4601 li a2,0
|
|
54ee: 0ff00513 li a0,255
|
|
54f2: 004007b7 lui a5,0x400
|
|
54f6: bf15 j 542a <__addsf3+0xe8>
|
|
54f8: 40980733 sub a4,a6,s1
|
|
54fc: e8ed bnez s1,55ee <__addsf3+0x2ac>
|
|
54fe: 140e0263 beqz t3,5642 <__addsf3+0x300>
|
|
5502: 177d addi a4,a4,-1
|
|
5504: 18070863 beqz a4,5694 <__addsf3+0x352>
|
|
5508: 0ff00793 li a5,255
|
|
550c: 0ef81963 bne a6,a5,55fe <__addsf3+0x2bc>
|
|
5510: 892e mv s2,a1
|
|
5512: 8336 mv t1,a3
|
|
5514: bfd1 j 54e8 <__addsf3+0x1a6>
|
|
5516: 040e8b63 beqz t4,556c <__addsf3+0x22a>
|
|
551a: 18fd addi a7,a7,-1
|
|
551c: 01de07b3 add a5,t3,t4
|
|
5520: f80887e3 beqz a7,54ae <__addsf3+0x16c>
|
|
5524: 0ff00793 li a5,255
|
|
5528: f6f493e3 bne s1,a5,548e <__addsf3+0x14c>
|
|
552c: bf75 j 54e8 <__addsf3+0x1a6>
|
|
552e: 08089563 bnez a7,55b8 <__addsf3+0x276>
|
|
5532: 0485 addi s1,s1,1
|
|
5534: 0fe4f713 andi a4,s1,254
|
|
5538: 12071363 bnez a4,565e <__addsf3+0x31c>
|
|
553c: 10051763 bnez a0,564a <__addsf3+0x308>
|
|
5540: 140e0f63 beqz t3,569e <__addsf3+0x35c>
|
|
5544: ee0e83e3 beqz t4,542a <__addsf3+0xe8>
|
|
5548: 01de07b3 add a5,t3,t4
|
|
554c: 00579713 slli a4,a5,0x5
|
|
5550: 4481 li s1,0
|
|
5552: 00075763 bgez a4,5560 <__addsf3+0x21e>
|
|
5556: fc000737 lui a4,0xfc000
|
|
555a: 177d addi a4,a4,-1
|
|
555c: 8ff9 and a5,a5,a4
|
|
555e: 4485 li s1,1
|
|
5560: 0077f713 andi a4,a5,7
|
|
5564: e8071fe3 bnez a4,5402 <__addsf3+0xc0>
|
|
5568: 0037d313 srli t1,a5,0x3
|
|
556c: 0ff00793 li a5,255
|
|
5570: f6f48ce3 beq s1,a5,54e8 <__addsf3+0x1a6>
|
|
5574: 00931793 slli a5,t1,0x9
|
|
5578: 83a5 srli a5,a5,0x9
|
|
557a: 0ff4f513 andi a0,s1,255
|
|
557e: 864a mv a2,s2
|
|
5580: b56d j 542a <__addsf3+0xe8>
|
|
5582: 864a mv a2,s2
|
|
5584: 0ff00513 li a0,255
|
|
5588: 4781 li a5,0
|
|
558a: b545 j 542a <__addsf3+0xe8>
|
|
558c: fc000737 lui a4,0xfc000
|
|
5590: 177d addi a4,a4,-1
|
|
5592: 8ff9 and a5,a5,a4
|
|
5594: 0077f713 andi a4,a5,7
|
|
5598: 8c89 sub s1,s1,a0
|
|
559a: e60714e3 bnez a4,5402 <__addsf3+0xc0>
|
|
559e: b7e9 j 5568 <__addsf3+0x226>
|
|
55a0: 41de0433 sub s0,t3,t4
|
|
55a4: 00541793 slli a5,s0,0x5
|
|
55a8: 0c07c363 bltz a5,566e <__addsf3+0x32c>
|
|
55ac: e20412e3 bnez s0,53d0 <__addsf3+0x8e>
|
|
55b0: 4601 li a2,0
|
|
55b2: 4501 li a0,0
|
|
55b4: 4781 li a5,0
|
|
55b6: bd95 j 542a <__addsf3+0xe8>
|
|
55b8: 40980733 sub a4,a6,s1
|
|
55bc: c4ad beqz s1,5626 <__addsf3+0x2e4>
|
|
55be: 0ff00793 li a5,255
|
|
55c2: f4f808e3 beq a6,a5,5512 <__addsf3+0x1d0>
|
|
55c6: 040007b7 lui a5,0x4000
|
|
55ca: 00fe6e33 or t3,t3,a5
|
|
55ce: 47ed li a5,27
|
|
55d0: 0ce7cc63 blt a5,a4,56a8 <__addsf3+0x366>
|
|
55d4: 02000793 li a5,32
|
|
55d8: 8f99 sub a5,a5,a4
|
|
55da: 00fe17b3 sll a5,t3,a5
|
|
55de: 00ee5733 srl a4,t3,a4
|
|
55e2: 00f037b3 snez a5,a5
|
|
55e6: 8fd9 or a5,a5,a4
|
|
55e8: 97f6 add a5,a5,t4
|
|
55ea: 84c2 mv s1,a6
|
|
55ec: b5c9 j 54ae <__addsf3+0x16c>
|
|
55ee: 0ff00793 li a5,255
|
|
55f2: f0f80fe3 beq a6,a5,5510 <__addsf3+0x1ce>
|
|
55f6: 040007b7 lui a5,0x4000
|
|
55fa: 00fe6e33 or t3,t3,a5
|
|
55fe: 47ed li a5,27
|
|
5600: 08e7c363 blt a5,a4,5686 <__addsf3+0x344>
|
|
5604: 02000693 li a3,32
|
|
5608: 8e99 sub a3,a3,a4
|
|
560a: 00de16b3 sll a3,t3,a3
|
|
560e: 00ee57b3 srl a5,t3,a4
|
|
5612: 00d03733 snez a4,a3
|
|
5616: 8fd9 or a5,a5,a4
|
|
5618: 40fe87b3 sub a5,t4,a5
|
|
561c: 84c2 mv s1,a6
|
|
561e: 892e mv s2,a1
|
|
5620: b345 j 53c0 <__addsf3+0x7e>
|
|
5622: 4785 li a5,1
|
|
5624: bb61 j 53bc <__addsf3+0x7a>
|
|
5626: 060e0e63 beqz t3,56a2 <__addsf3+0x360>
|
|
562a: 177d addi a4,a4,-1
|
|
562c: 01de07b3 add a5,t3,t4
|
|
5630: 84c2 mv s1,a6
|
|
5632: e6070ee3 beqz a4,54ae <__addsf3+0x16c>
|
|
5636: 0ff00793 li a5,255
|
|
563a: f8f81ae3 bne a6,a5,55ce <__addsf3+0x28c>
|
|
563e: 8336 mv t1,a3
|
|
5640: b565 j 54e8 <__addsf3+0x1a6>
|
|
5642: 8336 mv t1,a3
|
|
5644: 84c2 mv s1,a6
|
|
5646: 892e mv s2,a1
|
|
5648: b715 j 556c <__addsf3+0x22a>
|
|
564a: ec0e04e3 beqz t3,5512 <__addsf3+0x1d0>
|
|
564e: e80e8de3 beqz t4,54e8 <__addsf3+0x1a6>
|
|
5652: bd69 j 54ec <__addsf3+0x1aa>
|
|
5654: 020e8d63 beqz t4,568e <__addsf3+0x34c>
|
|
5658: 862e mv a2,a1
|
|
565a: 87b6 mv a5,a3
|
|
565c: b3f9 j 542a <__addsf3+0xe8>
|
|
565e: 0ff00793 li a5,255
|
|
5662: f2f481e3 beq s1,a5,5584 <__addsf3+0x242>
|
|
5666: 01de07b3 add a5,t3,t4
|
|
566a: 8385 srli a5,a5,0x1
|
|
566c: bdd5 j 5560 <__addsf3+0x21e>
|
|
566e: 41ce8433 sub s0,t4,t3
|
|
5672: 892e mv s2,a1
|
|
5674: bbb1 j 53d0 <__addsf3+0x8e>
|
|
5676: fc0e1ce3 bnez t3,564e <__addsf3+0x30c>
|
|
567a: e60e89e3 beqz t4,54ec <__addsf3+0x1aa>
|
|
567e: 892e mv s2,a1
|
|
5680: bd49 j 5512 <__addsf3+0x1d0>
|
|
5682: 4785 li a5,1
|
|
5684: b525 j 54ac <__addsf3+0x16a>
|
|
5686: 4785 li a5,1
|
|
5688: bf41 j 5618 <__addsf3+0x2d6>
|
|
568a: ec079be3 bnez a5,5560 <__addsf3+0x21e>
|
|
568e: 4601 li a2,0
|
|
5690: 4781 li a5,0
|
|
5692: bb61 j 542a <__addsf3+0xe8>
|
|
5694: 41ce87b3 sub a5,t4,t3
|
|
5698: 84c2 mv s1,a6
|
|
569a: 892e mv s2,a1
|
|
569c: b315 j 53c0 <__addsf3+0x7e>
|
|
569e: 87b6 mv a5,a3
|
|
56a0: b369 j 542a <__addsf3+0xe8>
|
|
56a2: 8336 mv t1,a3
|
|
56a4: 84c2 mv s1,a6
|
|
56a6: b5d9 j 556c <__addsf3+0x22a>
|
|
56a8: 4785 li a5,1
|
|
56aa: bf3d j 55e8 <__addsf3+0x2a6>
|
|
|
|
000056ac <__divsf3>:
|
|
56ac: 7139 addi sp,sp,-64
|
|
56ae: 01755793 srli a5,a0,0x17
|
|
56b2: d84a sw s2,48(sp)
|
|
56b4: d256 sw s5,36(sp)
|
|
56b6: ce5e sw s7,28(sp)
|
|
56b8: 00951a93 slli s5,a0,0x9
|
|
56bc: 01f55913 srli s2,a0,0x1f
|
|
56c0: de06 sw ra,60(sp)
|
|
56c2: dc22 sw s0,56(sp)
|
|
56c4: da26 sw s1,52(sp)
|
|
56c6: d64e sw s3,44(sp)
|
|
56c8: d452 sw s4,40(sp)
|
|
56ca: d05a sw s6,32(sp)
|
|
56cc: 0ff7f793 andi a5,a5,255
|
|
56d0: 009ada93 srli s5,s5,0x9
|
|
56d4: 8bca mv s7,s2
|
|
56d6: 12078263 beqz a5,57fa <__divsf3+0x14e>
|
|
56da: 0ff00713 li a4,255
|
|
56de: 12e78463 beq a5,a4,5806 <__divsf3+0x15a>
|
|
56e2: 0a8e slli s5,s5,0x3
|
|
56e4: 04000737 lui a4,0x4000
|
|
56e8: 00eaeab3 or s5,s5,a4
|
|
56ec: f8178a13 addi s4,a5,-127 # 3ffff81 <_data_lma+0x3ff772d>
|
|
56f0: 4401 li s0,0
|
|
56f2: 4b01 li s6,0
|
|
56f4: 0175d793 srli a5,a1,0x17
|
|
56f8: 00959493 slli s1,a1,0x9
|
|
56fc: 0ff7f793 andi a5,a5,255
|
|
5700: 80a5 srli s1,s1,0x9
|
|
5702: 01f5d993 srli s3,a1,0x1f
|
|
5706: c7fd beqz a5,57f4 <__divsf3+0x148>
|
|
5708: 0ff00713 li a4,255
|
|
570c: 02e78763 beq a5,a4,573a <__divsf3+0x8e>
|
|
5710: 048e slli s1,s1,0x3
|
|
5712: f8178793 addi a5,a5,-127
|
|
5716: 04000737 lui a4,0x4000
|
|
571a: 8cd9 or s1,s1,a4
|
|
571c: 40fa0a33 sub s4,s4,a5
|
|
5720: 4681 li a3,0
|
|
5722: 8c55 or s0,s0,a3
|
|
5724: 00003717 auipc a4,0x3
|
|
5728: ed470713 addi a4,a4,-300 # 85f8 <mosTemperADC+0x7e0>
|
|
572c: 040a slli s0,s0,0x2
|
|
572e: 943a add s0,s0,a4
|
|
5730: 401c lw a5,0(s0)
|
|
5732: 01394933 xor s2,s2,s3
|
|
5736: 97ba add a5,a5,a4
|
|
5738: 8782 jr a5
|
|
573a: f01a0a13 addi s4,s4,-255
|
|
573e: e8f9 bnez s1,5814 <__divsf3+0x168>
|
|
5740: 4689 li a3,2
|
|
5742: 8c55 or s0,s0,a3
|
|
5744: 00003717 auipc a4,0x3
|
|
5748: ef470713 addi a4,a4,-268 # 8638 <mosTemperADC+0x820>
|
|
574c: 040a slli s0,s0,0x2
|
|
574e: 943a add s0,s0,a4
|
|
5750: 401c lw a5,0(s0)
|
|
5752: 01394933 xor s2,s2,s3
|
|
5756: 97ba add a5,a5,a4
|
|
5758: 8782 jr a5
|
|
575a: 4901 li s2,0
|
|
575c: 0ff00713 li a4,255
|
|
5760: 004007b7 lui a5,0x400
|
|
5764: 00979513 slli a0,a5,0x9
|
|
5768: 50f2 lw ra,60(sp)
|
|
576a: 5462 lw s0,56(sp)
|
|
576c: 01771793 slli a5,a4,0x17
|
|
5770: 8125 srli a0,a0,0x9
|
|
5772: 097e slli s2,s2,0x1f
|
|
5774: 8d5d or a0,a0,a5
|
|
5776: 01256533 or a0,a0,s2
|
|
577a: 54d2 lw s1,52(sp)
|
|
577c: 5942 lw s2,48(sp)
|
|
577e: 59b2 lw s3,44(sp)
|
|
5780: 5a22 lw s4,40(sp)
|
|
5782: 5a92 lw s5,36(sp)
|
|
5784: 5b02 lw s6,32(sp)
|
|
5786: 4bf2 lw s7,28(sp)
|
|
5788: 6121 addi sp,sp,64
|
|
578a: 8082 ret
|
|
578c: 0ff00713 li a4,255
|
|
5790: 4781 li a5,0
|
|
5792: bfc9 j 5764 <__divsf3+0xb8>
|
|
5794: 8aa6 mv s5,s1
|
|
5796: 8bce mv s7,s3
|
|
5798: 8b36 mv s6,a3
|
|
579a: 4789 li a5,2
|
|
579c: 1afb0b63 beq s6,a5,5952 <__divsf3+0x2a6>
|
|
57a0: 478d li a5,3
|
|
57a2: fafb0ce3 beq s6,a5,575a <__divsf3+0xae>
|
|
57a6: 4785 li a5,1
|
|
57a8: 0afb0a63 beq s6,a5,585c <__divsf3+0x1b0>
|
|
57ac: 07fa0713 addi a4,s4,127
|
|
57b0: 001bf913 andi s2,s7,1
|
|
57b4: 12e05763 blez a4,58e2 <__divsf3+0x236>
|
|
57b8: 007af793 andi a5,s5,7
|
|
57bc: c799 beqz a5,57ca <__divsf3+0x11e>
|
|
57be: 00faf793 andi a5,s5,15
|
|
57c2: 4691 li a3,4
|
|
57c4: 00d78363 beq a5,a3,57ca <__divsf3+0x11e>
|
|
57c8: 0a91 addi s5,s5,4
|
|
57ca: 004a9793 slli a5,s5,0x4
|
|
57ce: 0007d963 bgez a5,57e0 <__divsf3+0x134>
|
|
57d2: f80007b7 lui a5,0xf8000
|
|
57d6: 17fd addi a5,a5,-1
|
|
57d8: 00fafab3 and s5,s5,a5
|
|
57dc: 080a0713 addi a4,s4,128
|
|
57e0: 0fe00793 li a5,254
|
|
57e4: fae7c4e3 blt a5,a4,578c <__divsf3+0xe0>
|
|
57e8: 006a9793 slli a5,s5,0x6
|
|
57ec: 83a5 srli a5,a5,0x9
|
|
57ee: 0ff77713 andi a4,a4,255
|
|
57f2: bf8d j 5764 <__divsf3+0xb8>
|
|
57f4: e4b9 bnez s1,5842 <__divsf3+0x196>
|
|
57f6: 4685 li a3,1
|
|
57f8: b7a9 j 5742 <__divsf3+0x96>
|
|
57fa: 020a9463 bnez s5,5822 <__divsf3+0x176>
|
|
57fe: 4411 li s0,4
|
|
5800: 4a01 li s4,0
|
|
5802: 4b05 li s6,1
|
|
5804: bdc5 j 56f4 <__divsf3+0x48>
|
|
5806: 000a9963 bnez s5,5818 <__divsf3+0x16c>
|
|
580a: 4421 li s0,8
|
|
580c: 0ff00a13 li s4,255
|
|
5810: 4b09 li s6,2
|
|
5812: b5cd j 56f4 <__divsf3+0x48>
|
|
5814: 468d li a3,3
|
|
5816: b731 j 5722 <__divsf3+0x76>
|
|
5818: 4431 li s0,12
|
|
581a: 0ff00a13 li s4,255
|
|
581e: 4b0d li s6,3
|
|
5820: bdd1 j 56f4 <__divsf3+0x48>
|
|
5822: 8556 mv a0,s5
|
|
5824: c62e sw a1,12(sp)
|
|
5826: 525000ef jal ra,654a <__clzsi2>
|
|
582a: ffb50793 addi a5,a0,-5
|
|
582e: 00fa9ab3 sll s5,s5,a5
|
|
5832: f8a00793 li a5,-118
|
|
5836: 40a78a33 sub s4,a5,a0
|
|
583a: 4401 li s0,0
|
|
583c: 4b01 li s6,0
|
|
583e: 45b2 lw a1,12(sp)
|
|
5840: bd55 j 56f4 <__divsf3+0x48>
|
|
5842: 8526 mv a0,s1
|
|
5844: 507000ef jal ra,654a <__clzsi2>
|
|
5848: ffb50713 addi a4,a0,-5
|
|
584c: 00aa07b3 add a5,s4,a0
|
|
5850: 00e494b3 sll s1,s1,a4
|
|
5854: 07678a13 addi s4,a5,118 # f8000076 <_eusrstack+0xd7ffb076>
|
|
5858: 4681 li a3,0
|
|
585a: b5e1 j 5722 <__divsf3+0x76>
|
|
585c: 001bf913 andi s2,s7,1
|
|
5860: 4701 li a4,0
|
|
5862: 4781 li a5,0
|
|
5864: b701 j 5764 <__divsf3+0xb8>
|
|
5866: 6641 lui a2,0x10
|
|
5868: 00549513 slli a0,s1,0x5
|
|
586c: 167d addi a2,a2,-1
|
|
586e: 01055793 srli a5,a0,0x10
|
|
5872: 8e69 and a2,a2,a0
|
|
5874: 0a9afa63 bgeu s5,s1,5928 <__divsf3+0x27c>
|
|
5878: 02fad5b3 divu a1,s5,a5
|
|
587c: 1a7d addi s4,s4,-1
|
|
587e: 86d6 mv a3,s5
|
|
5880: 4701 li a4,0
|
|
5882: 02c58833 mul a6,a1,a2
|
|
5886: 02f6f6b3 remu a3,a3,a5
|
|
588a: 06c2 slli a3,a3,0x10
|
|
588c: 8f55 or a4,a4,a3
|
|
588e: 01077b63 bgeu a4,a6,58a4 <__divsf3+0x1f8>
|
|
5892: 972a add a4,a4,a0
|
|
5894: fff58693 addi a3,a1,-1
|
|
5898: 0aa76863 bltu a4,a0,5948 <__divsf3+0x29c>
|
|
589c: 0b077663 bgeu a4,a6,5948 <__divsf3+0x29c>
|
|
58a0: 15f9 addi a1,a1,-2
|
|
58a2: 972a add a4,a4,a0
|
|
58a4: 41070733 sub a4,a4,a6
|
|
58a8: 02f756b3 divu a3,a4,a5
|
|
58ac: 02f77733 remu a4,a4,a5
|
|
58b0: 02c68ab3 mul s5,a3,a2
|
|
58b4: 01071793 slli a5,a4,0x10
|
|
58b8: 0157fb63 bgeu a5,s5,58ce <__divsf3+0x222>
|
|
58bc: 97aa add a5,a5,a0
|
|
58be: fff68713 addi a4,a3,-1 # 7dffffff <_eusrstack+0x5dffafff>
|
|
58c2: 08a7e163 bltu a5,a0,5944 <__divsf3+0x298>
|
|
58c6: 0757ff63 bgeu a5,s5,5944 <__divsf3+0x298>
|
|
58ca: 16f9 addi a3,a3,-2
|
|
58cc: 97aa add a5,a5,a0
|
|
58ce: 05c2 slli a1,a1,0x10
|
|
58d0: 41578ab3 sub s5,a5,s5
|
|
58d4: 8dd5 or a1,a1,a3
|
|
58d6: 01503ab3 snez s5,s5
|
|
58da: 0155eab3 or s5,a1,s5
|
|
58de: 8bca mv s7,s2
|
|
58e0: b5f1 j 57ac <__divsf3+0x100>
|
|
58e2: 4685 li a3,1
|
|
58e4: 8e99 sub a3,a3,a4
|
|
58e6: c711 beqz a4,58f2 <__divsf3+0x246>
|
|
58e8: 466d li a2,27
|
|
58ea: 4701 li a4,0
|
|
58ec: 4781 li a5,0
|
|
58ee: e6d64be3 blt a2,a3,5764 <__divsf3+0xb8>
|
|
58f2: 09ea0a13 addi s4,s4,158
|
|
58f6: 014a9a33 sll s4,s5,s4
|
|
58fa: 00dad7b3 srl a5,s5,a3
|
|
58fe: 01403ab3 snez s5,s4
|
|
5902: 0157e7b3 or a5,a5,s5
|
|
5906: 0077f713 andi a4,a5,7
|
|
590a: c719 beqz a4,5918 <__divsf3+0x26c>
|
|
590c: 00f7f713 andi a4,a5,15
|
|
5910: 4691 li a3,4
|
|
5912: 00d70363 beq a4,a3,5918 <__divsf3+0x26c>
|
|
5916: 0791 addi a5,a5,4
|
|
5918: 00579713 slli a4,a5,0x5
|
|
591c: 02074863 bltz a4,594c <__divsf3+0x2a0>
|
|
5920: 079a slli a5,a5,0x6
|
|
5922: 83a5 srli a5,a5,0x9
|
|
5924: 4701 li a4,0
|
|
5926: bd3d j 5764 <__divsf3+0xb8>
|
|
5928: 001ad693 srli a3,s5,0x1
|
|
592c: 02f6d5b3 divu a1,a3,a5
|
|
5930: 01fa9713 slli a4,s5,0x1f
|
|
5934: 8341 srli a4,a4,0x10
|
|
5936: 02c58833 mul a6,a1,a2
|
|
593a: b7b1 j 5886 <__divsf3+0x1da>
|
|
593c: 8bce mv s7,s3
|
|
593e: 8b36 mv s6,a3
|
|
5940: 4a81 li s5,0
|
|
5942: bda1 j 579a <__divsf3+0xee>
|
|
5944: 86ba mv a3,a4
|
|
5946: b761 j 58ce <__divsf3+0x222>
|
|
5948: 85b6 mv a1,a3
|
|
594a: bfa9 j 58a4 <__divsf3+0x1f8>
|
|
594c: 4705 li a4,1
|
|
594e: 4781 li a5,0
|
|
5950: bd11 j 5764 <__divsf3+0xb8>
|
|
5952: 001bf913 andi s2,s7,1
|
|
5956: 0ff00713 li a4,255
|
|
595a: 4781 li a5,0
|
|
595c: b521 j 5764 <__divsf3+0xb8>
|
|
|
|
0000595e <__eqsf2>:
|
|
595e: 01755693 srli a3,a0,0x17
|
|
5962: 008007b7 lui a5,0x800
|
|
5966: 17fd addi a5,a5,-1
|
|
5968: 0175d613 srli a2,a1,0x17
|
|
596c: 0ff6f693 andi a3,a3,255
|
|
5970: 0ff00813 li a6,255
|
|
5974: 00a7f8b3 and a7,a5,a0
|
|
5978: 01f55713 srli a4,a0,0x1f
|
|
597c: 8fed and a5,a5,a1
|
|
597e: 0ff67613 andi a2,a2,255
|
|
5982: 81fd srli a1,a1,0x1f
|
|
5984: 03068463 beq a3,a6,59ac <__eqsf2+0x4e>
|
|
5988: 0ff00513 li a0,255
|
|
598c: 02a60463 beq a2,a0,59b4 <__eqsf2+0x56>
|
|
5990: 4505 li a0,1
|
|
5992: 00c68363 beq a3,a2,5998 <__eqsf2+0x3a>
|
|
5996: 8082 ret
|
|
5998: fef89fe3 bne a7,a5,5996 <__eqsf2+0x38>
|
|
599c: 4501 li a0,0
|
|
599e: feb70ce3 beq a4,a1,5996 <__eqsf2+0x38>
|
|
59a2: 4505 li a0,1
|
|
59a4: faed bnez a3,5996 <__eqsf2+0x38>
|
|
59a6: 01103533 snez a0,a7
|
|
59aa: 8082 ret
|
|
59ac: 4505 li a0,1
|
|
59ae: fc088de3 beqz a7,5988 <__eqsf2+0x2a>
|
|
59b2: 8082 ret
|
|
59b4: 4505 li a0,1
|
|
59b6: dfe9 beqz a5,5990 <__eqsf2+0x32>
|
|
59b8: 8082 ret
|
|
|
|
000059ba <__gesf2>:
|
|
59ba: 01755693 srli a3,a0,0x17
|
|
59be: 008007b7 lui a5,0x800
|
|
59c2: 17fd addi a5,a5,-1
|
|
59c4: 0175d613 srli a2,a1,0x17
|
|
59c8: 0ff6f693 andi a3,a3,255
|
|
59cc: 0ff00813 li a6,255
|
|
59d0: 00a7f8b3 and a7,a5,a0
|
|
59d4: 01f55713 srli a4,a0,0x1f
|
|
59d8: 8fed and a5,a5,a1
|
|
59da: 0ff67613 andi a2,a2,255
|
|
59de: 81fd srli a1,a1,0x1f
|
|
59e0: 03068163 beq a3,a6,5a02 <__gesf2+0x48>
|
|
59e4: 01060c63 beq a2,a6,59fc <__gesf2+0x42>
|
|
59e8: e28d bnez a3,5a0a <__gesf2+0x50>
|
|
59ea: e211 bnez a2,59ee <__gesf2+0x34>
|
|
59ec: c3b1 beqz a5,5a30 <__gesf2+0x76>
|
|
59ee: 02088e63 beqz a7,5a2a <__gesf2+0x70>
|
|
59f2: 04b70563 beq a4,a1,5a3c <__gesf2+0x82>
|
|
59f6: 4505 li a0,1
|
|
59f8: e71d bnez a4,5a26 <__gesf2+0x6c>
|
|
59fa: 8082 ret
|
|
59fc: d7f5 beqz a5,59e8 <__gesf2+0x2e>
|
|
59fe: 5579 li a0,-2
|
|
5a00: 8082 ret
|
|
5a02: fe089ee3 bnez a7,59fe <__gesf2+0x44>
|
|
5a06: 02d60963 beq a2,a3,5a38 <__gesf2+0x7e>
|
|
5a0a: e211 bnez a2,5a0e <__gesf2+0x54>
|
|
5a0c: d7ed beqz a5,59f6 <__gesf2+0x3c>
|
|
5a0e: feb714e3 bne a4,a1,59f6 <__gesf2+0x3c>
|
|
5a12: fed642e3 blt a2,a3,59f6 <__gesf2+0x3c>
|
|
5a16: 00c6c763 blt a3,a2,5a24 <__gesf2+0x6a>
|
|
5a1a: fd17eee3 bltu a5,a7,59f6 <__gesf2+0x3c>
|
|
5a1e: 4501 li a0,0
|
|
5a20: fcf8fde3 bgeu a7,a5,59fa <__gesf2+0x40>
|
|
5a24: e701 bnez a4,5a2c <__gesf2+0x72>
|
|
5a26: 557d li a0,-1
|
|
5a28: 8082 ret
|
|
5a2a: ddf5 beqz a1,5a26 <__gesf2+0x6c>
|
|
5a2c: 4505 li a0,1
|
|
5a2e: 8082 ret
|
|
5a30: 4501 li a0,0
|
|
5a32: fc0892e3 bnez a7,59f6 <__gesf2+0x3c>
|
|
5a36: 8082 ret
|
|
5a38: dbf9 beqz a5,5a0e <__gesf2+0x54>
|
|
5a3a: b7d1 j 59fe <__gesf2+0x44>
|
|
5a3c: 4681 li a3,0
|
|
5a3e: bfe1 j 5a16 <__gesf2+0x5c>
|
|
|
|
00005a40 <__lesf2>:
|
|
5a40: 01755693 srli a3,a0,0x17
|
|
5a44: 008007b7 lui a5,0x800
|
|
5a48: 17fd addi a5,a5,-1
|
|
5a4a: 0175d613 srli a2,a1,0x17
|
|
5a4e: 0ff6f693 andi a3,a3,255
|
|
5a52: 0ff00813 li a6,255
|
|
5a56: 00a7f8b3 and a7,a5,a0
|
|
5a5a: 01f55713 srli a4,a0,0x1f
|
|
5a5e: 8fed and a5,a5,a1
|
|
5a60: 0ff67613 andi a2,a2,255
|
|
5a64: 81fd srli a1,a1,0x1f
|
|
5a66: 03068763 beq a3,a6,5a94 <__lesf2+0x54>
|
|
5a6a: 01060963 beq a2,a6,5a7c <__lesf2+0x3c>
|
|
5a6e: ea85 bnez a3,5a9e <__lesf2+0x5e>
|
|
5a70: ea11 bnez a2,5a84 <__lesf2+0x44>
|
|
5a72: eb89 bnez a5,5a84 <__lesf2+0x44>
|
|
5a74: 4501 li a0,0
|
|
5a76: 00089b63 bnez a7,5a8c <__lesf2+0x4c>
|
|
5a7a: 8082 ret
|
|
5a7c: 4509 li a0,2
|
|
5a7e: fff5 bnez a5,5a7a <__lesf2+0x3a>
|
|
5a80: dae5 beqz a3,5a70 <__lesf2+0x30>
|
|
5a82: a831 j 5a9e <__lesf2+0x5e>
|
|
5a84: 02088c63 beqz a7,5abc <__lesf2+0x7c>
|
|
5a88: 04b70063 beq a4,a1,5ac8 <__lesf2+0x88>
|
|
5a8c: 4505 li a0,1
|
|
5a8e: d775 beqz a4,5a7a <__lesf2+0x3a>
|
|
5a90: 557d li a0,-1
|
|
5a92: 8082 ret
|
|
5a94: 4509 li a0,2
|
|
5a96: 02089863 bnez a7,5ac6 <__lesf2+0x86>
|
|
5a9a: 02d60463 beq a2,a3,5ac2 <__lesf2+0x82>
|
|
5a9e: e211 bnez a2,5aa2 <__lesf2+0x62>
|
|
5aa0: d7f5 beqz a5,5a8c <__lesf2+0x4c>
|
|
5aa2: feb715e3 bne a4,a1,5a8c <__lesf2+0x4c>
|
|
5aa6: fed643e3 blt a2,a3,5a8c <__lesf2+0x4c>
|
|
5aaa: 00c6c763 blt a3,a2,5ab8 <__lesf2+0x78>
|
|
5aae: fd17efe3 bltu a5,a7,5a8c <__lesf2+0x4c>
|
|
5ab2: 4501 li a0,0
|
|
5ab4: fcf8f3e3 bgeu a7,a5,5a7a <__lesf2+0x3a>
|
|
5ab8: e319 bnez a4,5abe <__lesf2+0x7e>
|
|
5aba: bfd9 j 5a90 <__lesf2+0x50>
|
|
5abc: d9f1 beqz a1,5a90 <__lesf2+0x50>
|
|
5abe: 4505 li a0,1
|
|
5ac0: 8082 ret
|
|
5ac2: d3e5 beqz a5,5aa2 <__lesf2+0x62>
|
|
5ac4: 8082 ret
|
|
5ac6: 8082 ret
|
|
5ac8: 4681 li a3,0
|
|
5aca: b7c5 j 5aaa <__lesf2+0x6a>
|
|
|
|
00005acc <__mulsf3>:
|
|
5acc: 7179 addi sp,sp,-48
|
|
5ace: d422 sw s0,40(sp)
|
|
5ad0: 01755413 srli s0,a0,0x17
|
|
5ad4: ce4e sw s3,28(sp)
|
|
5ad6: cc52 sw s4,24(sp)
|
|
5ad8: 00951993 slli s3,a0,0x9
|
|
5adc: d606 sw ra,44(sp)
|
|
5ade: d226 sw s1,36(sp)
|
|
5ae0: d04a sw s2,32(sp)
|
|
5ae2: ca56 sw s5,20(sp)
|
|
5ae4: c85a sw s6,16(sp)
|
|
5ae6: 0ff47413 andi s0,s0,255
|
|
5aea: 0099d993 srli s3,s3,0x9
|
|
5aee: 01f55a13 srli s4,a0,0x1f
|
|
5af2: c469 beqz s0,5bbc <__mulsf3+0xf0>
|
|
5af4: 0ff00793 li a5,255
|
|
5af8: 0ef40863 beq s0,a5,5be8 <__mulsf3+0x11c>
|
|
5afc: 00399793 slli a5,s3,0x3
|
|
5b00: 04000737 lui a4,0x4000
|
|
5b04: 00e7e9b3 or s3,a5,a4
|
|
5b08: f8140413 addi s0,s0,-127 # 3ffff81 <_data_lma+0x3ff772d>
|
|
5b0c: 4481 li s1,0
|
|
5b0e: 4b01 li s6,0
|
|
5b10: 0175d713 srli a4,a1,0x17
|
|
5b14: 00959a93 slli s5,a1,0x9
|
|
5b18: 0ff77713 andi a4,a4,255
|
|
5b1c: 009ada93 srli s5,s5,0x9
|
|
5b20: 01f5d913 srli s2,a1,0x1f
|
|
5b24: cf45 beqz a4,5bdc <__mulsf3+0x110>
|
|
5b26: 0ff00793 li a5,255
|
|
5b2a: 02f70c63 beq a4,a5,5b62 <__mulsf3+0x96>
|
|
5b2e: 0a8e slli s5,s5,0x3
|
|
5b30: f8170713 addi a4,a4,-127 # 3ffff81 <_data_lma+0x3ff772d>
|
|
5b34: 040007b7 lui a5,0x4000
|
|
5b38: 00faeab3 or s5,s5,a5
|
|
5b3c: 943a add s0,s0,a4
|
|
5b3e: 4601 li a2,0
|
|
5b40: 012a4533 xor a0,s4,s2
|
|
5b44: 47bd li a5,15
|
|
5b46: 86aa mv a3,a0
|
|
5b48: 00140593 addi a1,s0,1
|
|
5b4c: 1097e263 bltu a5,s1,5c50 <__mulsf3+0x184>
|
|
5b50: 00003717 auipc a4,0x3
|
|
5b54: b2870713 addi a4,a4,-1240 # 8678 <mosTemperADC+0x860>
|
|
5b58: 048a slli s1,s1,0x2
|
|
5b5a: 94ba add s1,s1,a4
|
|
5b5c: 409c lw a5,0(s1)
|
|
5b5e: 97ba add a5,a5,a4
|
|
5b60: 8782 jr a5
|
|
5b62: 0ff40413 addi s0,s0,255
|
|
5b66: 0c0a9863 bnez s5,5c36 <__mulsf3+0x16a>
|
|
5b6a: 0024e493 ori s1,s1,2
|
|
5b6e: 4609 li a2,2
|
|
5b70: bfc1 j 5b40 <__mulsf3+0x74>
|
|
5b72: 4501 li a0,0
|
|
5b74: 0ff00713 li a4,255
|
|
5b78: 004007b7 lui a5,0x400
|
|
5b7c: 50b2 lw ra,44(sp)
|
|
5b7e: 5422 lw s0,40(sp)
|
|
5b80: 07a6 slli a5,a5,0x9
|
|
5b82: 075e slli a4,a4,0x17
|
|
5b84: 83a5 srli a5,a5,0x9
|
|
5b86: 057e slli a0,a0,0x1f
|
|
5b88: 8fd9 or a5,a5,a4
|
|
5b8a: 5492 lw s1,36(sp)
|
|
5b8c: 5902 lw s2,32(sp)
|
|
5b8e: 49f2 lw s3,28(sp)
|
|
5b90: 4a62 lw s4,24(sp)
|
|
5b92: 4ad2 lw s5,20(sp)
|
|
5b94: 4b42 lw s6,16(sp)
|
|
5b96: 8d5d or a0,a0,a5
|
|
5b98: 6145 addi sp,sp,48
|
|
5b9a: 8082 ret
|
|
5b9c: 86ca mv a3,s2
|
|
5b9e: 89d6 mv s3,s5
|
|
5ba0: 8b32 mv s6,a2
|
|
5ba2: 4789 li a5,2
|
|
5ba4: 0afb0163 beq s6,a5,5c46 <__mulsf3+0x17a>
|
|
5ba8: 478d li a5,3
|
|
5baa: fcfb04e3 beq s6,a5,5b72 <__mulsf3+0xa6>
|
|
5bae: 4785 li a5,1
|
|
5bb0: 8536 mv a0,a3
|
|
5bb2: 1afb1263 bne s6,a5,5d56 <__mulsf3+0x28a>
|
|
5bb6: 4701 li a4,0
|
|
5bb8: 4781 li a5,0
|
|
5bba: b7c9 j 5b7c <__mulsf3+0xb0>
|
|
5bbc: 04099e63 bnez s3,5c18 <__mulsf3+0x14c>
|
|
5bc0: 0175d713 srli a4,a1,0x17
|
|
5bc4: 00959a93 slli s5,a1,0x9
|
|
5bc8: 0ff77713 andi a4,a4,255
|
|
5bcc: 4491 li s1,4
|
|
5bce: 4401 li s0,0
|
|
5bd0: 4b05 li s6,1
|
|
5bd2: 009ada93 srli s5,s5,0x9
|
|
5bd6: 01f5d913 srli s2,a1,0x1f
|
|
5bda: f731 bnez a4,5b26 <__mulsf3+0x5a>
|
|
5bdc: 000a9d63 bnez s5,5bf6 <__mulsf3+0x12a>
|
|
5be0: 0014e493 ori s1,s1,1
|
|
5be4: 4605 li a2,1
|
|
5be6: bfa9 j 5b40 <__mulsf3+0x74>
|
|
5be8: 02099363 bnez s3,5c0e <__mulsf3+0x142>
|
|
5bec: 44a1 li s1,8
|
|
5bee: 0ff00413 li s0,255
|
|
5bf2: 4b09 li s6,2
|
|
5bf4: bf31 j 5b10 <__mulsf3+0x44>
|
|
5bf6: 8556 mv a0,s5
|
|
5bf8: 153000ef jal ra,654a <__clzsi2>
|
|
5bfc: ffb50793 addi a5,a0,-5
|
|
5c00: 8c09 sub s0,s0,a0
|
|
5c02: 00fa9ab3 sll s5,s5,a5
|
|
5c06: f8a40413 addi s0,s0,-118
|
|
5c0a: 4601 li a2,0
|
|
5c0c: bf15 j 5b40 <__mulsf3+0x74>
|
|
5c0e: 44b1 li s1,12
|
|
5c10: 0ff00413 li s0,255
|
|
5c14: 4b0d li s6,3
|
|
5c16: bded j 5b10 <__mulsf3+0x44>
|
|
5c18: 854e mv a0,s3
|
|
5c1a: c62e sw a1,12(sp)
|
|
5c1c: 12f000ef jal ra,654a <__clzsi2>
|
|
5c20: ffb50793 addi a5,a0,-5
|
|
5c24: f8a00413 li s0,-118
|
|
5c28: 00f999b3 sll s3,s3,a5
|
|
5c2c: 8c09 sub s0,s0,a0
|
|
5c2e: 4481 li s1,0
|
|
5c30: 4b01 li s6,0
|
|
5c32: 45b2 lw a1,12(sp)
|
|
5c34: bdf1 j 5b10 <__mulsf3+0x44>
|
|
5c36: 0034e493 ori s1,s1,3
|
|
5c3a: 460d li a2,3
|
|
5c3c: b711 j 5b40 <__mulsf3+0x74>
|
|
5c3e: 4789 li a5,2
|
|
5c40: 86d2 mv a3,s4
|
|
5c42: f6fb13e3 bne s6,a5,5ba8 <__mulsf3+0xdc>
|
|
5c46: 8536 mv a0,a3
|
|
5c48: 0ff00713 li a4,255
|
|
5c4c: 4781 li a5,0
|
|
5c4e: b73d j 5b7c <__mulsf3+0xb0>
|
|
5c50: 6341 lui t1,0x10
|
|
5c52: fff30693 addi a3,t1,-1 # ffff <_data_lma+0x77ab>
|
|
5c56: 0109d613 srli a2,s3,0x10
|
|
5c5a: 010ad893 srli a7,s5,0x10
|
|
5c5e: 00d9f7b3 and a5,s3,a3
|
|
5c62: 00dafab3 and s5,s5,a3
|
|
5c66: 03578833 mul a6,a5,s5
|
|
5c6a: 02f889b3 mul s3,a7,a5
|
|
5c6e: 01085713 srli a4,a6,0x10
|
|
5c72: 03560ab3 mul s5,a2,s5
|
|
5c76: 99d6 add s3,s3,s5
|
|
5c78: 974e add a4,a4,s3
|
|
5c7a: 03160633 mul a2,a2,a7
|
|
5c7e: 01577363 bgeu a4,s5,5c84 <__mulsf3+0x1b8>
|
|
5c82: 961a add a2,a2,t1
|
|
5c84: 67c1 lui a5,0x10
|
|
5c86: 17fd addi a5,a5,-1
|
|
5c88: 00f776b3 and a3,a4,a5
|
|
5c8c: 00f87833 and a6,a6,a5
|
|
5c90: 06c2 slli a3,a3,0x10
|
|
5c92: 96c2 add a3,a3,a6
|
|
5c94: 00669993 slli s3,a3,0x6
|
|
5c98: 01075793 srli a5,a4,0x10
|
|
5c9c: 013039b3 snez s3,s3
|
|
5ca0: 82e9 srli a3,a3,0x1a
|
|
5ca2: 97b2 add a5,a5,a2
|
|
5ca4: 079a slli a5,a5,0x6
|
|
5ca6: 00d9e6b3 or a3,s3,a3
|
|
5caa: 00d7e9b3 or s3,a5,a3
|
|
5cae: 00499793 slli a5,s3,0x4
|
|
5cb2: 0007d963 bgez a5,5cc4 <__mulsf3+0x1f8>
|
|
5cb6: 0019d713 srli a4,s3,0x1
|
|
5cba: 0019f793 andi a5,s3,1
|
|
5cbe: 00f769b3 or s3,a4,a5
|
|
5cc2: 842e mv s0,a1
|
|
5cc4: 07f40713 addi a4,s0,127
|
|
5cc8: 04e05063 blez a4,5d08 <__mulsf3+0x23c>
|
|
5ccc: 0079f793 andi a5,s3,7
|
|
5cd0: c799 beqz a5,5cde <__mulsf3+0x212>
|
|
5cd2: 00f9f793 andi a5,s3,15
|
|
5cd6: 4691 li a3,4
|
|
5cd8: 00d78363 beq a5,a3,5cde <__mulsf3+0x212>
|
|
5cdc: 0991 addi s3,s3,4
|
|
5cde: 00499793 slli a5,s3,0x4
|
|
5ce2: 0007d963 bgez a5,5cf4 <__mulsf3+0x228>
|
|
5ce6: f80007b7 lui a5,0xf8000
|
|
5cea: 17fd addi a5,a5,-1
|
|
5cec: 00f9f9b3 and s3,s3,a5
|
|
5cf0: 08040713 addi a4,s0,128
|
|
5cf4: 0fe00793 li a5,254
|
|
5cf8: 04e7cb63 blt a5,a4,5d4e <__mulsf3+0x282>
|
|
5cfc: 00699793 slli a5,s3,0x6
|
|
5d00: 83a5 srli a5,a5,0x9
|
|
5d02: 0ff77713 andi a4,a4,255
|
|
5d06: bd9d j 5b7c <__mulsf3+0xb0>
|
|
5d08: 4785 li a5,1
|
|
5d0a: 40e786b3 sub a3,a5,a4
|
|
5d0e: c711 beqz a4,5d1a <__mulsf3+0x24e>
|
|
5d10: 466d li a2,27
|
|
5d12: 4701 li a4,0
|
|
5d14: 4781 li a5,0
|
|
5d16: e6d643e3 blt a2,a3,5b7c <__mulsf3+0xb0>
|
|
5d1a: 09e40713 addi a4,s0,158
|
|
5d1e: 00e99733 sll a4,s3,a4
|
|
5d22: 00e03733 snez a4,a4
|
|
5d26: 00d9d7b3 srl a5,s3,a3
|
|
5d2a: 8fd9 or a5,a5,a4
|
|
5d2c: 0077f713 andi a4,a5,7
|
|
5d30: c719 beqz a4,5d3e <__mulsf3+0x272>
|
|
5d32: 00f7f713 andi a4,a5,15
|
|
5d36: 4691 li a3,4
|
|
5d38: 00d70363 beq a4,a3,5d3e <__mulsf3+0x272>
|
|
5d3c: 0791 addi a5,a5,4
|
|
5d3e: 00579713 slli a4,a5,0x5
|
|
5d42: 00074c63 bltz a4,5d5a <__mulsf3+0x28e>
|
|
5d46: 079a slli a5,a5,0x6
|
|
5d48: 83a5 srli a5,a5,0x9
|
|
5d4a: 4701 li a4,0
|
|
5d4c: bd05 j 5b7c <__mulsf3+0xb0>
|
|
5d4e: 0ff00713 li a4,255
|
|
5d52: 4781 li a5,0
|
|
5d54: b525 j 5b7c <__mulsf3+0xb0>
|
|
5d56: 842e mv s0,a1
|
|
5d58: b7b5 j 5cc4 <__mulsf3+0x1f8>
|
|
5d5a: 4705 li a4,1
|
|
5d5c: 4781 li a5,0
|
|
5d5e: bd39 j 5b7c <__mulsf3+0xb0>
|
|
|
|
00005d60 <__subsf3>:
|
|
5d60: 00800737 lui a4,0x800
|
|
5d64: 1141 addi sp,sp,-16
|
|
5d66: 177d addi a4,a4,-1
|
|
5d68: 01755693 srli a3,a0,0x17
|
|
5d6c: 0175d813 srli a6,a1,0x17
|
|
5d70: 00a777b3 and a5,a4,a0
|
|
5d74: 0ff6f693 andi a3,a3,255
|
|
5d78: 01f55e93 srli t4,a0,0x1f
|
|
5d7c: 00b77633 and a2,a4,a1
|
|
5d80: c226 sw s1,4(sp)
|
|
5d82: c04a sw s2,0(sp)
|
|
5d84: 0ff87813 andi a6,a6,255
|
|
5d88: c606 sw ra,12(sp)
|
|
5d8a: c422 sw s0,8(sp)
|
|
5d8c: 0ff00313 li t1,255
|
|
5d90: 8e3e mv t3,a5
|
|
5d92: 8936 mv s2,a3
|
|
5d94: 84f6 mv s1,t4
|
|
5d96: 00379f13 slli t5,a5,0x3
|
|
5d9a: 81fd srli a1,a1,0x1f
|
|
5d9c: 00361513 slli a0,a2,0x3
|
|
5da0: 410688b3 sub a7,a3,a6
|
|
5da4: 10680263 beq a6,t1,5ea8 <__subsf3+0x148>
|
|
5da8: 0015c593 xori a1,a1,1
|
|
5dac: 10be8c63 beq t4,a1,5ec4 <__subsf3+0x164>
|
|
5db0: 0d105463 blez a7,5e78 <__subsf3+0x118>
|
|
5db4: 10081063 bnez a6,5eb4 <__subsf3+0x154>
|
|
5db8: 1e050463 beqz a0,5fa0 <__subsf3+0x240>
|
|
5dbc: 18fd addi a7,a7,-1
|
|
5dbe: 40af07b3 sub a5,t5,a0
|
|
5dc2: 02088663 beqz a7,5dee <__subsf3+0x8e>
|
|
5dc6: 0ff00793 li a5,255
|
|
5dca: 16f68863 beq a3,a5,5f3a <__subsf3+0x1da>
|
|
5dce: 47ed li a5,27
|
|
5dd0: 2917c763 blt a5,a7,605e <__subsf3+0x2fe>
|
|
5dd4: 02000713 li a4,32
|
|
5dd8: 41170733 sub a4,a4,a7
|
|
5ddc: 00e51733 sll a4,a0,a4
|
|
5de0: 011557b3 srl a5,a0,a7
|
|
5de4: 00e03733 snez a4,a4
|
|
5de8: 8fd9 or a5,a5,a4
|
|
5dea: 40ff07b3 sub a5,t5,a5
|
|
5dee: 00579713 slli a4,a5,0x5
|
|
5df2: 1a075163 bgez a4,5f94 <__subsf3+0x234>
|
|
5df6: 04000437 lui s0,0x4000
|
|
5dfa: 147d addi s0,s0,-1
|
|
5dfc: 8c7d and s0,s0,a5
|
|
5dfe: 8522 mv a0,s0
|
|
5e00: 27a9 jal 654a <__clzsi2>
|
|
5e02: 156d addi a0,a0,-5
|
|
5e04: 00a417b3 sll a5,s0,a0
|
|
5e08: 1b254e63 blt a0,s2,5fc4 <__subsf3+0x264>
|
|
5e0c: 41250533 sub a0,a0,s2
|
|
5e10: 00150413 addi s0,a0,1
|
|
5e14: 02000713 li a4,32
|
|
5e18: 8f01 sub a4,a4,s0
|
|
5e1a: 00e79733 sll a4,a5,a4
|
|
5e1e: 00e03733 snez a4,a4
|
|
5e22: 0087d7b3 srl a5,a5,s0
|
|
5e26: 8fd9 or a5,a5,a4
|
|
5e28: 4901 li s2,0
|
|
5e2a: 0077f713 andi a4,a5,7
|
|
5e2e: c719 beqz a4,5e3c <__subsf3+0xdc>
|
|
5e30: 00f7f713 andi a4,a5,15
|
|
5e34: 4691 li a3,4
|
|
5e36: 00d70363 beq a4,a3,5e3c <__subsf3+0xdc>
|
|
5e3a: 0791 addi a5,a5,4
|
|
5e3c: 00579713 slli a4,a5,0x5
|
|
5e40: 14075e63 bgez a4,5f9c <__subsf3+0x23c>
|
|
5e44: 00190693 addi a3,s2,1 # 800001 <_data_lma+0x7f77ad>
|
|
5e48: 0ff00713 li a4,255
|
|
5e4c: 0014fe93 andi t4,s1,1
|
|
5e50: 16e68663 beq a3,a4,5fbc <__subsf3+0x25c>
|
|
5e54: 079a slli a5,a5,0x6
|
|
5e56: 83a5 srli a5,a5,0x9
|
|
5e58: 0ff6f693 andi a3,a3,255
|
|
5e5c: 07a6 slli a5,a5,0x9
|
|
5e5e: 40b2 lw ra,12(sp)
|
|
5e60: 4422 lw s0,8(sp)
|
|
5e62: 0097d513 srli a0,a5,0x9
|
|
5e66: 06de slli a3,a3,0x17
|
|
5e68: 01fe9793 slli a5,t4,0x1f
|
|
5e6c: 8d55 or a0,a0,a3
|
|
5e6e: 4492 lw s1,4(sp)
|
|
5e70: 4902 lw s2,0(sp)
|
|
5e72: 8d5d or a0,a0,a5
|
|
5e74: 0141 addi sp,sp,16
|
|
5e76: 8082 ret
|
|
5e78: 0a089263 bnez a7,5f1c <__subsf3+0x1bc>
|
|
5e7c: 00168713 addi a4,a3,1
|
|
5e80: 0fe77713 andi a4,a4,254
|
|
5e84: 14071b63 bnez a4,5fda <__subsf3+0x27a>
|
|
5e88: 22069463 bnez a3,60b0 <__subsf3+0x350>
|
|
5e8c: 200f0263 beqz t5,6090 <__subsf3+0x330>
|
|
5e90: d571 beqz a0,5e5c <__subsf3+0xfc>
|
|
5e92: 40af07b3 sub a5,t5,a0
|
|
5e96: 00579713 slli a4,a5,0x5
|
|
5e9a: 22075563 bgez a4,60c4 <__subsf3+0x364>
|
|
5e9e: 41e507b3 sub a5,a0,t5
|
|
5ea2: 4901 li s2,0
|
|
5ea4: 84ae mv s1,a1
|
|
5ea6: b751 j 5e2a <__subsf3+0xca>
|
|
5ea8: f00500e3 beqz a0,5da8 <__subsf3+0x48>
|
|
5eac: 0abe8a63 beq t4,a1,5f60 <__subsf3+0x200>
|
|
5eb0: fd1054e3 blez a7,5e78 <__subsf3+0x118>
|
|
5eb4: 0ff00793 li a5,255
|
|
5eb8: 08f68163 beq a3,a5,5f3a <__subsf3+0x1da>
|
|
5ebc: 040007b7 lui a5,0x4000
|
|
5ec0: 8d5d or a0,a0,a5
|
|
5ec2: b731 j 5dce <__subsf3+0x6e>
|
|
5ec4: 09105e63 blez a7,5f60 <__subsf3+0x200>
|
|
5ec8: 08080163 beqz a6,5f4a <__subsf3+0x1ea>
|
|
5ecc: 0ff00793 li a5,255
|
|
5ed0: 06f68563 beq a3,a5,5f3a <__subsf3+0x1da>
|
|
5ed4: 040007b7 lui a5,0x4000
|
|
5ed8: 8d5d or a0,a0,a5
|
|
5eda: 47ed li a5,27
|
|
5edc: 1f17c063 blt a5,a7,60bc <__subsf3+0x35c>
|
|
5ee0: 02000713 li a4,32
|
|
5ee4: 41170733 sub a4,a4,a7
|
|
5ee8: 00e51733 sll a4,a0,a4
|
|
5eec: 011557b3 srl a5,a0,a7
|
|
5ef0: 00e03733 snez a4,a4
|
|
5ef4: 8fd9 or a5,a5,a4
|
|
5ef6: 97fa add a5,a5,t5
|
|
5ef8: 00579713 slli a4,a5,0x5
|
|
5efc: 08075c63 bgez a4,5f94 <__subsf3+0x234>
|
|
5f00: 0905 addi s2,s2,1
|
|
5f02: 0ff00713 li a4,255
|
|
5f06: 0ae90b63 beq s2,a4,5fbc <__subsf3+0x25c>
|
|
5f0a: 7e0006b7 lui a3,0x7e000
|
|
5f0e: 0017d713 srli a4,a5,0x1
|
|
5f12: 16fd addi a3,a3,-1
|
|
5f14: 8b85 andi a5,a5,1
|
|
5f16: 8f75 and a4,a4,a3
|
|
5f18: 8fd9 or a5,a5,a4
|
|
5f1a: bf01 j 5e2a <__subsf3+0xca>
|
|
5f1c: 40d80733 sub a4,a6,a3
|
|
5f20: 10069563 bnez a3,602a <__subsf3+0x2ca>
|
|
5f24: 140f0d63 beqz t5,607e <__subsf3+0x31e>
|
|
5f28: 177d addi a4,a4,-1
|
|
5f2a: 1a070363 beqz a4,60d0 <__subsf3+0x370>
|
|
5f2e: 0ff00793 li a5,255
|
|
5f32: 10f81463 bne a6,a5,603a <__subsf3+0x2da>
|
|
5f36: 84ae mv s1,a1
|
|
5f38: 8e32 mv t3,a2
|
|
5f3a: 060e0f63 beqz t3,5fb8 <__subsf3+0x258>
|
|
5f3e: 4e81 li t4,0
|
|
5f40: 0ff00693 li a3,255
|
|
5f44: 004007b7 lui a5,0x400
|
|
5f48: bf11 j 5e5c <__subsf3+0xfc>
|
|
5f4a: c939 beqz a0,5fa0 <__subsf3+0x240>
|
|
5f4c: 18fd addi a7,a7,-1
|
|
5f4e: 00af07b3 add a5,t5,a0
|
|
5f52: fa0883e3 beqz a7,5ef8 <__subsf3+0x198>
|
|
5f56: 0ff00793 li a5,255
|
|
5f5a: f8f690e3 bne a3,a5,5eda <__subsf3+0x17a>
|
|
5f5e: bff1 j 5f3a <__subsf3+0x1da>
|
|
5f60: 08089963 bnez a7,5ff2 <__subsf3+0x292>
|
|
5f64: 00168913 addi s2,a3,1 # 7e000001 <_eusrstack+0x5dffb001>
|
|
5f68: 0fe97713 andi a4,s2,254
|
|
5f6c: 12071663 bnez a4,6098 <__subsf3+0x338>
|
|
5f70: 10069b63 bnez a3,6086 <__subsf3+0x326>
|
|
5f74: 160f0363 beqz t5,60da <__subsf3+0x37a>
|
|
5f78: ee0502e3 beqz a0,5e5c <__subsf3+0xfc>
|
|
5f7c: 00af07b3 add a5,t5,a0
|
|
5f80: 00579713 slli a4,a5,0x5
|
|
5f84: 4901 li s2,0
|
|
5f86: 00075763 bgez a4,5f94 <__subsf3+0x234>
|
|
5f8a: fc000737 lui a4,0xfc000
|
|
5f8e: 177d addi a4,a4,-1
|
|
5f90: 8ff9 and a5,a5,a4
|
|
5f92: 4905 li s2,1
|
|
5f94: 0077f713 andi a4,a5,7
|
|
5f98: e8071ce3 bnez a4,5e30 <__subsf3+0xd0>
|
|
5f9c: 0037de13 srli t3,a5,0x3
|
|
5fa0: 0ff00793 li a5,255
|
|
5fa4: f8f90be3 beq s2,a5,5f3a <__subsf3+0x1da>
|
|
5fa8: 009e1793 slli a5,t3,0x9
|
|
5fac: 83a5 srli a5,a5,0x9
|
|
5fae: 0ff97693 andi a3,s2,255
|
|
5fb2: 0014fe93 andi t4,s1,1
|
|
5fb6: b55d j 5e5c <__subsf3+0xfc>
|
|
5fb8: 0014fe93 andi t4,s1,1
|
|
5fbc: 0ff00693 li a3,255
|
|
5fc0: 4781 li a5,0
|
|
5fc2: bd69 j 5e5c <__subsf3+0xfc>
|
|
5fc4: fc000737 lui a4,0xfc000
|
|
5fc8: 177d addi a4,a4,-1
|
|
5fca: 8ff9 and a5,a5,a4
|
|
5fcc: 0077f713 andi a4,a5,7
|
|
5fd0: 40a90933 sub s2,s2,a0
|
|
5fd4: e4071ee3 bnez a4,5e30 <__subsf3+0xd0>
|
|
5fd8: b7d1 j 5f9c <__subsf3+0x23c>
|
|
5fda: 40af0433 sub s0,t5,a0
|
|
5fde: 00541793 slli a5,s0,0x5
|
|
5fe2: 0c07c363 bltz a5,60a8 <__subsf3+0x348>
|
|
5fe6: e0041ce3 bnez s0,5dfe <__subsf3+0x9e>
|
|
5fea: 4e81 li t4,0
|
|
5fec: 4681 li a3,0
|
|
5fee: 4781 li a5,0
|
|
5ff0: b5b5 j 5e5c <__subsf3+0xfc>
|
|
5ff2: 40d80733 sub a4,a6,a3
|
|
5ff6: c6b5 beqz a3,6062 <__subsf3+0x302>
|
|
5ff8: 0ff00793 li a5,255
|
|
5ffc: f2f80ee3 beq a6,a5,5f38 <__subsf3+0x1d8>
|
|
6000: 040007b7 lui a5,0x4000
|
|
6004: 00ff6f33 or t5,t5,a5
|
|
6008: 47ed li a5,27
|
|
600a: 0ce7cd63 blt a5,a4,60e4 <__subsf3+0x384>
|
|
600e: 02000793 li a5,32
|
|
6012: 8f99 sub a5,a5,a4
|
|
6014: 00ff17b3 sll a5,t5,a5
|
|
6018: 00ef5733 srl a4,t5,a4
|
|
601c: 00f037b3 snez a5,a5
|
|
6020: 8f5d or a4,a4,a5
|
|
6022: 00a707b3 add a5,a4,a0
|
|
6026: 8942 mv s2,a6
|
|
6028: bdc1 j 5ef8 <__subsf3+0x198>
|
|
602a: 0ff00793 li a5,255
|
|
602e: f0f804e3 beq a6,a5,5f36 <__subsf3+0x1d6>
|
|
6032: 040007b7 lui a5,0x4000
|
|
6036: 00ff6f33 or t5,t5,a5
|
|
603a: 47ed li a5,27
|
|
603c: 08e7c263 blt a5,a4,60c0 <__subsf3+0x360>
|
|
6040: 02000793 li a5,32
|
|
6044: 8f99 sub a5,a5,a4
|
|
6046: 00ff17b3 sll a5,t5,a5
|
|
604a: 00ef5733 srl a4,t5,a4
|
|
604e: 00f037b3 snez a5,a5
|
|
6052: 8fd9 or a5,a5,a4
|
|
6054: 40f507b3 sub a5,a0,a5
|
|
6058: 8942 mv s2,a6
|
|
605a: 84ae mv s1,a1
|
|
605c: bb49 j 5dee <__subsf3+0x8e>
|
|
605e: 4785 li a5,1
|
|
6060: b369 j 5dea <__subsf3+0x8a>
|
|
6062: 060f0e63 beqz t5,60de <__subsf3+0x37e>
|
|
6066: 177d addi a4,a4,-1
|
|
6068: 00af07b3 add a5,t5,a0
|
|
606c: 8942 mv s2,a6
|
|
606e: e80705e3 beqz a4,5ef8 <__subsf3+0x198>
|
|
6072: 0ff00793 li a5,255
|
|
6076: f8f819e3 bne a6,a5,6008 <__subsf3+0x2a8>
|
|
607a: 8e32 mv t3,a2
|
|
607c: bd7d j 5f3a <__subsf3+0x1da>
|
|
607e: 8e32 mv t3,a2
|
|
6080: 8942 mv s2,a6
|
|
6082: 84ae mv s1,a1
|
|
6084: bf31 j 5fa0 <__subsf3+0x240>
|
|
6086: ea0f09e3 beqz t5,5f38 <__subsf3+0x1d8>
|
|
608a: ea0508e3 beqz a0,5f3a <__subsf3+0x1da>
|
|
608e: bd45 j 5f3e <__subsf3+0x1de>
|
|
6090: cd0d beqz a0,60ca <__subsf3+0x36a>
|
|
6092: 8eae mv t4,a1
|
|
6094: 87b2 mv a5,a2
|
|
6096: b3d9 j 5e5c <__subsf3+0xfc>
|
|
6098: 0ff00793 li a5,255
|
|
609c: f2f900e3 beq s2,a5,5fbc <__subsf3+0x25c>
|
|
60a0: 00af07b3 add a5,t5,a0
|
|
60a4: 8385 srli a5,a5,0x1
|
|
60a6: b5fd j 5f94 <__subsf3+0x234>
|
|
60a8: 41e50433 sub s0,a0,t5
|
|
60ac: 84ae mv s1,a1
|
|
60ae: bb81 j 5dfe <__subsf3+0x9e>
|
|
60b0: fc0f1de3 bnez t5,608a <__subsf3+0x32a>
|
|
60b4: e80505e3 beqz a0,5f3e <__subsf3+0x1de>
|
|
60b8: 84ae mv s1,a1
|
|
60ba: bdbd j 5f38 <__subsf3+0x1d8>
|
|
60bc: 4785 li a5,1
|
|
60be: bd25 j 5ef6 <__subsf3+0x196>
|
|
60c0: 4785 li a5,1
|
|
60c2: bf49 j 6054 <__subsf3+0x2f4>
|
|
60c4: 4901 li s2,0
|
|
60c6: ec0797e3 bnez a5,5f94 <__subsf3+0x234>
|
|
60ca: 4e81 li t4,0
|
|
60cc: 4781 li a5,0
|
|
60ce: b379 j 5e5c <__subsf3+0xfc>
|
|
60d0: 41e507b3 sub a5,a0,t5
|
|
60d4: 8942 mv s2,a6
|
|
60d6: 84ae mv s1,a1
|
|
60d8: bb19 j 5dee <__subsf3+0x8e>
|
|
60da: 87b2 mv a5,a2
|
|
60dc: b341 j 5e5c <__subsf3+0xfc>
|
|
60de: 8e32 mv t3,a2
|
|
60e0: 8942 mv s2,a6
|
|
60e2: bd7d j 5fa0 <__subsf3+0x240>
|
|
60e4: 4705 li a4,1
|
|
60e6: bf35 j 6022 <__subsf3+0x2c2>
|
|
|
|
000060e8 <__fixsfsi>:
|
|
60e8: 00800637 lui a2,0x800
|
|
60ec: 01755713 srli a4,a0,0x17
|
|
60f0: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7f77ab>
|
|
60f4: 0ff77713 andi a4,a4,255
|
|
60f8: 07e00593 li a1,126
|
|
60fc: 00a7f6b3 and a3,a5,a0
|
|
6100: 01f55793 srli a5,a0,0x1f
|
|
6104: 00e5fc63 bgeu a1,a4,611c <__fixsfsi+0x34>
|
|
6108: 09d00593 li a1,157
|
|
610c: 00e5fa63 bgeu a1,a4,6120 <__fixsfsi+0x38>
|
|
6110: 80000537 lui a0,0x80000
|
|
6114: fff54513 not a0,a0
|
|
6118: 953e add a0,a0,a5
|
|
611a: 8082 ret
|
|
611c: 4501 li a0,0
|
|
611e: 8082 ret
|
|
6120: 09500593 li a1,149
|
|
6124: 8ed1 or a3,a3,a2
|
|
6126: 00e5cd63 blt a1,a4,6140 <__fixsfsi+0x58>
|
|
612a: 09600613 li a2,150
|
|
612e: 40e60733 sub a4,a2,a4
|
|
6132: 00e6d733 srl a4,a3,a4
|
|
6136: 40e00533 neg a0,a4
|
|
613a: f3f5 bnez a5,611e <__fixsfsi+0x36>
|
|
613c: 853a mv a0,a4
|
|
613e: 8082 ret
|
|
6140: f6a70713 addi a4,a4,-150 # fbffff6a <_eusrstack+0xdbffaf6a>
|
|
6144: 00e69733 sll a4,a3,a4
|
|
6148: b7fd j 6136 <__fixsfsi+0x4e>
|
|
|
|
0000614a <__fixunssfsi>:
|
|
614a: 01755713 srli a4,a0,0x17
|
|
614e: 00800637 lui a2,0x800
|
|
6152: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7f77ab>
|
|
6156: 0ff77713 andi a4,a4,255
|
|
615a: 07e00593 li a1,126
|
|
615e: 00a7f6b3 and a3,a5,a0
|
|
6162: 01f55793 srli a5,a0,0x1f
|
|
6166: 4501 li a0,0
|
|
6168: 00e5f463 bgeu a1,a4,6170 <__fixunssfsi+0x26>
|
|
616c: c399 beqz a5,6172 <__fixunssfsi+0x28>
|
|
616e: 8082 ret
|
|
6170: 8082 ret
|
|
6172: 09e00793 li a5,158
|
|
6176: 557d li a0,-1
|
|
6178: fee7ebe3 bltu a5,a4,616e <__fixunssfsi+0x24>
|
|
617c: 09500593 li a1,149
|
|
6180: 00c6e7b3 or a5,a3,a2
|
|
6184: 00e5d763 bge a1,a4,6192 <__fixunssfsi+0x48>
|
|
6188: f6a70713 addi a4,a4,-150
|
|
618c: 00e79533 sll a0,a5,a4
|
|
6190: 8082 ret
|
|
6192: 09600513 li a0,150
|
|
6196: 40e50733 sub a4,a0,a4
|
|
619a: 00e7d533 srl a0,a5,a4
|
|
619e: 8082 ret
|
|
|
|
000061a0 <__floatsisf>:
|
|
61a0: 1141 addi sp,sp,-16
|
|
61a2: c606 sw ra,12(sp)
|
|
61a4: c422 sw s0,8(sp)
|
|
61a6: c226 sw s1,4(sp)
|
|
61a8: cd0d beqz a0,61e2 <__floatsisf+0x42>
|
|
61aa: 41f55793 srai a5,a0,0x1f
|
|
61ae: 00a7c433 xor s0,a5,a0
|
|
61b2: 8c1d sub s0,s0,a5
|
|
61b4: 84aa mv s1,a0
|
|
61b6: 8522 mv a0,s0
|
|
61b8: 2e49 jal 654a <__clzsi2>
|
|
61ba: 09e00793 li a5,158
|
|
61be: 40a78733 sub a4,a5,a0
|
|
61c2: 09600793 li a5,150
|
|
61c6: 80fd srli s1,s1,0x1f
|
|
61c8: 02e7cc63 blt a5,a4,6200 <__floatsisf+0x60>
|
|
61cc: 46a1 li a3,8
|
|
61ce: 0ff77793 andi a5,a4,255
|
|
61d2: 00a6d563 bge a3,a0,61dc <__floatsisf+0x3c>
|
|
61d6: 1561 addi a0,a0,-8
|
|
61d8: 00a41433 sll s0,s0,a0
|
|
61dc: 0426 slli s0,s0,0x9
|
|
61de: 8025 srli s0,s0,0x9
|
|
61e0: a021 j 61e8 <__floatsisf+0x48>
|
|
61e2: 4481 li s1,0
|
|
61e4: 4781 li a5,0
|
|
61e6: 4401 li s0,0
|
|
61e8: 0426 slli s0,s0,0x9
|
|
61ea: 00945513 srli a0,s0,0x9
|
|
61ee: 40b2 lw ra,12(sp)
|
|
61f0: 4422 lw s0,8(sp)
|
|
61f2: 07de slli a5,a5,0x17
|
|
61f4: 04fe slli s1,s1,0x1f
|
|
61f6: 8d5d or a0,a0,a5
|
|
61f8: 8d45 or a0,a0,s1
|
|
61fa: 4492 lw s1,4(sp)
|
|
61fc: 0141 addi sp,sp,16
|
|
61fe: 8082 ret
|
|
6200: 09900793 li a5,153
|
|
6204: 00e7dd63 bge a5,a4,621e <__floatsisf+0x7e>
|
|
6208: 01b50793 addi a5,a0,27 # 8000001b <_eusrstack+0x5fffb01b>
|
|
620c: 4695 li a3,5
|
|
620e: 00f417b3 sll a5,s0,a5
|
|
6212: 8e89 sub a3,a3,a0
|
|
6214: 00d45433 srl s0,s0,a3
|
|
6218: 00f037b3 snez a5,a5
|
|
621c: 8c5d or s0,s0,a5
|
|
621e: 4795 li a5,5
|
|
6220: 00a7d663 bge a5,a0,622c <__floatsisf+0x8c>
|
|
6224: ffb50793 addi a5,a0,-5
|
|
6228: 00f41433 sll s0,s0,a5
|
|
622c: fc0006b7 lui a3,0xfc000
|
|
6230: 16fd addi a3,a3,-1
|
|
6232: 00747793 andi a5,s0,7
|
|
6236: 00d47633 and a2,s0,a3
|
|
623a: c385 beqz a5,625a <__floatsisf+0xba>
|
|
623c: 00f47793 andi a5,s0,15
|
|
6240: 4591 li a1,4
|
|
6242: 00b78c63 beq a5,a1,625a <__floatsisf+0xba>
|
|
6246: 0611 addi a2,a2,4
|
|
6248: 00561793 slli a5,a2,0x5
|
|
624c: 0007d763 bgez a5,625a <__floatsisf+0xba>
|
|
6250: 09f00793 li a5,159
|
|
6254: 8e75 and a2,a2,a3
|
|
6256: 40a78733 sub a4,a5,a0
|
|
625a: 00661413 slli s0,a2,0x6
|
|
625e: 8025 srli s0,s0,0x9
|
|
6260: 0ff77793 andi a5,a4,255
|
|
6264: b751 j 61e8 <__floatsisf+0x48>
|
|
|
|
00006266 <__floatunsisf>:
|
|
6266: 1141 addi sp,sp,-16
|
|
6268: c606 sw ra,12(sp)
|
|
626a: c422 sw s0,8(sp)
|
|
626c: cd15 beqz a0,62a8 <__floatunsisf+0x42>
|
|
626e: 842a mv s0,a0
|
|
6270: 2ce9 jal 654a <__clzsi2>
|
|
6272: 09e00793 li a5,158
|
|
6276: 40a78733 sub a4,a5,a0
|
|
627a: 09600793 li a5,150
|
|
627e: 04e7c063 blt a5,a4,62be <__floatunsisf+0x58>
|
|
6282: 46a1 li a3,8
|
|
6284: 0ff77793 andi a5,a4,255
|
|
6288: 00a6d563 bge a3,a0,6292 <__floatunsisf+0x2c>
|
|
628c: 1561 addi a0,a0,-8
|
|
628e: 00a41433 sll s0,s0,a0
|
|
6292: 0426 slli s0,s0,0x9
|
|
6294: 8025 srli s0,s0,0x9
|
|
6296: 0426 slli s0,s0,0x9
|
|
6298: 00945513 srli a0,s0,0x9
|
|
629c: 40b2 lw ra,12(sp)
|
|
629e: 4422 lw s0,8(sp)
|
|
62a0: 07de slli a5,a5,0x17
|
|
62a2: 8d5d or a0,a0,a5
|
|
62a4: 0141 addi sp,sp,16
|
|
62a6: 8082 ret
|
|
62a8: 4401 li s0,0
|
|
62aa: 0426 slli s0,s0,0x9
|
|
62ac: 00945513 srli a0,s0,0x9
|
|
62b0: 40b2 lw ra,12(sp)
|
|
62b2: 4422 lw s0,8(sp)
|
|
62b4: 4781 li a5,0
|
|
62b6: 07de slli a5,a5,0x17
|
|
62b8: 8d5d or a0,a0,a5
|
|
62ba: 0141 addi sp,sp,16
|
|
62bc: 8082 ret
|
|
62be: 09900793 li a5,153
|
|
62c2: 00e7dd63 bge a5,a4,62dc <__floatunsisf+0x76>
|
|
62c6: 01b50793 addi a5,a0,27
|
|
62ca: 4695 li a3,5
|
|
62cc: 00f417b3 sll a5,s0,a5
|
|
62d0: 8e89 sub a3,a3,a0
|
|
62d2: 00f037b3 snez a5,a5
|
|
62d6: 00d45433 srl s0,s0,a3
|
|
62da: 8c5d or s0,s0,a5
|
|
62dc: 4795 li a5,5
|
|
62de: 00a7d663 bge a5,a0,62ea <__floatunsisf+0x84>
|
|
62e2: ffb50793 addi a5,a0,-5
|
|
62e6: 00f41433 sll s0,s0,a5
|
|
62ea: fc0006b7 lui a3,0xfc000
|
|
62ee: 16fd addi a3,a3,-1
|
|
62f0: 00747793 andi a5,s0,7
|
|
62f4: 00d47633 and a2,s0,a3
|
|
62f8: c385 beqz a5,6318 <__floatunsisf+0xb2>
|
|
62fa: 00f47793 andi a5,s0,15
|
|
62fe: 4591 li a1,4
|
|
6300: 00b78c63 beq a5,a1,6318 <__floatunsisf+0xb2>
|
|
6304: 0611 addi a2,a2,4
|
|
6306: 00561793 slli a5,a2,0x5
|
|
630a: 0007d763 bgez a5,6318 <__floatunsisf+0xb2>
|
|
630e: 09f00793 li a5,159
|
|
6312: 8e75 and a2,a2,a3
|
|
6314: 40a78733 sub a4,a5,a0
|
|
6318: 00661413 slli s0,a2,0x6
|
|
631c: 8025 srli s0,s0,0x9
|
|
631e: 0426 slli s0,s0,0x9
|
|
6320: 00945513 srli a0,s0,0x9
|
|
6324: 40b2 lw ra,12(sp)
|
|
6326: 4422 lw s0,8(sp)
|
|
6328: 0ff77793 andi a5,a4,255
|
|
632c: 07de slli a5,a5,0x17
|
|
632e: 8d5d or a0,a0,a5
|
|
6330: 0141 addi sp,sp,16
|
|
6332: 8082 ret
|
|
|
|
00006334 <__extendsfdf2>:
|
|
6334: 01755713 srli a4,a0,0x17
|
|
6338: 0ff77713 andi a4,a4,255
|
|
633c: 1141 addi sp,sp,-16
|
|
633e: 00170793 addi a5,a4,1
|
|
6342: c422 sw s0,8(sp)
|
|
6344: c226 sw s1,4(sp)
|
|
6346: 00951413 slli s0,a0,0x9
|
|
634a: c606 sw ra,12(sp)
|
|
634c: 0fe7f793 andi a5,a5,254
|
|
6350: 8025 srli s0,s0,0x9
|
|
6352: 01f55493 srli s1,a0,0x1f
|
|
6356: c785 beqz a5,637e <__extendsfdf2+0x4a>
|
|
6358: 00345793 srli a5,s0,0x3
|
|
635c: 38070713 addi a4,a4,896
|
|
6360: 0476 slli s0,s0,0x1d
|
|
6362: 07b2 slli a5,a5,0xc
|
|
6364: 0752 slli a4,a4,0x14
|
|
6366: 83b1 srli a5,a5,0xc
|
|
6368: 01f49513 slli a0,s1,0x1f
|
|
636c: 8fd9 or a5,a5,a4
|
|
636e: 8fc9 or a5,a5,a0
|
|
6370: 40b2 lw ra,12(sp)
|
|
6372: 8522 mv a0,s0
|
|
6374: 4422 lw s0,8(sp)
|
|
6376: 4492 lw s1,4(sp)
|
|
6378: 85be mv a1,a5
|
|
637a: 0141 addi sp,sp,16
|
|
637c: 8082 ret
|
|
637e: eb05 bnez a4,63ae <__extendsfdf2+0x7a>
|
|
6380: c439 beqz s0,63ce <__extendsfdf2+0x9a>
|
|
6382: 8522 mv a0,s0
|
|
6384: 22d9 jal 654a <__clzsi2>
|
|
6386: 47a9 li a5,10
|
|
6388: 04a7c663 blt a5,a0,63d4 <__extendsfdf2+0xa0>
|
|
638c: 472d li a4,11
|
|
638e: 8f09 sub a4,a4,a0
|
|
6390: 01550793 addi a5,a0,21
|
|
6394: 00e45733 srl a4,s0,a4
|
|
6398: 00f41433 sll s0,s0,a5
|
|
639c: 00c71793 slli a5,a4,0xc
|
|
63a0: 38900713 li a4,905
|
|
63a4: 8f09 sub a4,a4,a0
|
|
63a6: 83b1 srli a5,a5,0xc
|
|
63a8: 7ff77713 andi a4,a4,2047
|
|
63ac: bf5d j 6362 <__extendsfdf2+0x2e>
|
|
63ae: cc01 beqz s0,63c6 <__extendsfdf2+0x92>
|
|
63b0: 00345713 srli a4,s0,0x3
|
|
63b4: 000807b7 lui a5,0x80
|
|
63b8: 8fd9 or a5,a5,a4
|
|
63ba: 07b2 slli a5,a5,0xc
|
|
63bc: 0476 slli s0,s0,0x1d
|
|
63be: 83b1 srli a5,a5,0xc
|
|
63c0: 7ff00713 li a4,2047
|
|
63c4: bf79 j 6362 <__extendsfdf2+0x2e>
|
|
63c6: 7ff00713 li a4,2047
|
|
63ca: 4781 li a5,0
|
|
63cc: bf59 j 6362 <__extendsfdf2+0x2e>
|
|
63ce: 4701 li a4,0
|
|
63d0: 4781 li a5,0
|
|
63d2: bf41 j 6362 <__extendsfdf2+0x2e>
|
|
63d4: ff550713 addi a4,a0,-11
|
|
63d8: 00e41733 sll a4,s0,a4
|
|
63dc: 4401 li s0,0
|
|
63de: bf7d j 639c <__extendsfdf2+0x68>
|
|
|
|
000063e0 <__truncdfsf2>:
|
|
63e0: 0145d693 srli a3,a1,0x14
|
|
63e4: 00c59793 slli a5,a1,0xc
|
|
63e8: 7ff6f693 andi a3,a3,2047
|
|
63ec: 83b1 srli a5,a5,0xc
|
|
63ee: 00168613 addi a2,a3,1 # fc000001 <_eusrstack+0xdbffb001>
|
|
63f2: 078e slli a5,a5,0x3
|
|
63f4: 01d55713 srli a4,a0,0x1d
|
|
63f8: 7fe67613 andi a2,a2,2046
|
|
63fc: 81fd srli a1,a1,0x1f
|
|
63fe: 8f5d or a4,a4,a5
|
|
6400: 00351893 slli a7,a0,0x3
|
|
6404: ce35 beqz a2,6480 <__truncdfsf2+0xa0>
|
|
6406: c8068813 addi a6,a3,-896
|
|
640a: 0fe00793 li a5,254
|
|
640e: 0107dd63 bge a5,a6,6428 <__truncdfsf2+0x48>
|
|
6412: 4781 li a5,0
|
|
6414: 00979513 slli a0,a5,0x9
|
|
6418: 0ff00693 li a3,255
|
|
641c: 06de slli a3,a3,0x17
|
|
641e: 8125 srli a0,a0,0x9
|
|
6420: 05fe slli a1,a1,0x1f
|
|
6422: 8d55 or a0,a0,a3
|
|
6424: 8d4d or a0,a0,a1
|
|
6426: 8082 ret
|
|
6428: 0b005563 blez a6,64d2 <__truncdfsf2+0xf2>
|
|
642c: 00651793 slli a5,a0,0x6
|
|
6430: 070e slli a4,a4,0x3
|
|
6432: 00f037b3 snez a5,a5
|
|
6436: 8fd9 or a5,a5,a4
|
|
6438: 01d8d893 srli a7,a7,0x1d
|
|
643c: 0117e7b3 or a5,a5,a7
|
|
6440: 0077f713 andi a4,a5,7
|
|
6444: 10070163 beqz a4,6546 <__truncdfsf2+0x166>
|
|
6448: 00f7f713 andi a4,a5,15
|
|
644c: 4691 li a3,4
|
|
644e: 00d70363 beq a4,a3,6454 <__truncdfsf2+0x74>
|
|
6452: 0791 addi a5,a5,4
|
|
6454: 04000737 lui a4,0x4000
|
|
6458: 8f7d and a4,a4,a5
|
|
645a: c775 beqz a4,6546 <__truncdfsf2+0x166>
|
|
645c: 00180713 addi a4,a6,1 # 100001 <_data_lma+0xf77ad>
|
|
6460: 0ff00613 li a2,255
|
|
6464: 0ff77693 andi a3,a4,255
|
|
6468: fac705e3 beq a4,a2,6412 <__truncdfsf2+0x32>
|
|
646c: 079a slli a5,a5,0x6
|
|
646e: 83a5 srli a5,a5,0x9
|
|
6470: 00979513 slli a0,a5,0x9
|
|
6474: 06de slli a3,a3,0x17
|
|
6476: 8125 srli a0,a0,0x9
|
|
6478: 05fe slli a1,a1,0x1f
|
|
647a: 8d55 or a0,a0,a3
|
|
647c: 8d4d or a0,a0,a1
|
|
647e: 8082 ret
|
|
6480: 011767b3 or a5,a4,a7
|
|
6484: ee99 bnez a3,64a2 <__truncdfsf2+0xc2>
|
|
6486: cf85 beqz a5,64be <__truncdfsf2+0xde>
|
|
6488: 4795 li a5,5
|
|
648a: 079a slli a5,a5,0x6
|
|
648c: 83a5 srli a5,a5,0x9
|
|
648e: 00979513 slli a0,a5,0x9
|
|
6492: 0ff6f693 andi a3,a3,255
|
|
6496: 06de slli a3,a3,0x17
|
|
6498: 8125 srli a0,a0,0x9
|
|
649a: 05fe slli a1,a1,0x1f
|
|
649c: 8d55 or a0,a0,a3
|
|
649e: 8d4d or a0,a0,a1
|
|
64a0: 8082 ret
|
|
64a2: dba5 beqz a5,6412 <__truncdfsf2+0x32>
|
|
64a4: 004007b7 lui a5,0x400
|
|
64a8: 00979513 slli a0,a5,0x9
|
|
64ac: 0ff00693 li a3,255
|
|
64b0: 06de slli a3,a3,0x17
|
|
64b2: 4581 li a1,0
|
|
64b4: 8125 srli a0,a0,0x9
|
|
64b6: 05fe slli a1,a1,0x1f
|
|
64b8: 8d55 or a0,a0,a3
|
|
64ba: 8d4d or a0,a0,a1
|
|
64bc: 8082 ret
|
|
64be: 4781 li a5,0
|
|
64c0: 00979513 slli a0,a5,0x9
|
|
64c4: 4681 li a3,0
|
|
64c6: 06de slli a3,a3,0x17
|
|
64c8: 8125 srli a0,a0,0x9
|
|
64ca: 05fe slli a1,a1,0x1f
|
|
64cc: 8d55 or a0,a0,a3
|
|
64ce: 8d4d or a0,a0,a1
|
|
64d0: 8082 ret
|
|
64d2: 57a5 li a5,-23
|
|
64d4: 04f84863 blt a6,a5,6524 <__truncdfsf2+0x144>
|
|
64d8: 47f9 li a5,30
|
|
64da: 00800637 lui a2,0x800
|
|
64de: 410787b3 sub a5,a5,a6
|
|
64e2: 457d li a0,31
|
|
64e4: 8e59 or a2,a2,a4
|
|
64e6: 04f55163 bge a0,a5,6528 <__truncdfsf2+0x148>
|
|
64ea: 5779 li a4,-2
|
|
64ec: 41070733 sub a4,a4,a6
|
|
64f0: 02000513 li a0,32
|
|
64f4: 00e65733 srl a4,a2,a4
|
|
64f8: 00a78863 beq a5,a0,6508 <__truncdfsf2+0x128>
|
|
64fc: ca268693 addi a3,a3,-862
|
|
6500: 00d616b3 sll a3,a2,a3
|
|
6504: 00d8e8b3 or a7,a7,a3
|
|
6508: 011037b3 snez a5,a7
|
|
650c: 8fd9 or a5,a5,a4
|
|
650e: 0077f713 andi a4,a5,7
|
|
6512: 4801 li a6,0
|
|
6514: fb15 bnez a4,6448 <__truncdfsf2+0x68>
|
|
6516: 00579713 slli a4,a5,0x5
|
|
651a: 4685 li a3,1
|
|
651c: f40748e3 bltz a4,646c <__truncdfsf2+0x8c>
|
|
6520: 4681 li a3,0
|
|
6522: b7a5 j 648a <__truncdfsf2+0xaa>
|
|
6524: 4681 li a3,0
|
|
6526: b78d j 6488 <__truncdfsf2+0xa8>
|
|
6528: c8268693 addi a3,a3,-894
|
|
652c: 00d89733 sll a4,a7,a3
|
|
6530: 00e03733 snez a4,a4
|
|
6534: 00d616b3 sll a3,a2,a3
|
|
6538: 00f8d8b3 srl a7,a7,a5
|
|
653c: 00d767b3 or a5,a4,a3
|
|
6540: 00f8e7b3 or a5,a7,a5
|
|
6544: b7e9 j 650e <__truncdfsf2+0x12e>
|
|
6546: 86c2 mv a3,a6
|
|
6548: b789 j 648a <__truncdfsf2+0xaa>
|
|
|
|
0000654a <__clzsi2>:
|
|
654a: 67c1 lui a5,0x10
|
|
654c: 02f57c63 bgeu a0,a5,6584 <__clzsi2+0x3a>
|
|
6550: 0ff00793 li a5,255
|
|
6554: 02000713 li a4,32
|
|
6558: 00a7eb63 bltu a5,a0,656e <__clzsi2+0x24>
|
|
655c: 00002797 auipc a5,0x2
|
|
6560: 15c78793 addi a5,a5,348 # 86b8 <__clz_tab>
|
|
6564: 97aa add a5,a5,a0
|
|
6566: 2388 lbu a0,0(a5)
|
|
6568: 40a70533 sub a0,a4,a0
|
|
656c: 8082 ret
|
|
656e: 8121 srli a0,a0,0x8
|
|
6570: 00002797 auipc a5,0x2
|
|
6574: 14878793 addi a5,a5,328 # 86b8 <__clz_tab>
|
|
6578: 97aa add a5,a5,a0
|
|
657a: 2388 lbu a0,0(a5)
|
|
657c: 4761 li a4,24
|
|
657e: 40a70533 sub a0,a4,a0
|
|
6582: 8082 ret
|
|
6584: 010007b7 lui a5,0x1000
|
|
6588: 00f56d63 bltu a0,a5,65a2 <__clzsi2+0x58>
|
|
658c: 8161 srli a0,a0,0x18
|
|
658e: 00002797 auipc a5,0x2
|
|
6592: 12a78793 addi a5,a5,298 # 86b8 <__clz_tab>
|
|
6596: 97aa add a5,a5,a0
|
|
6598: 2388 lbu a0,0(a5)
|
|
659a: 4721 li a4,8
|
|
659c: 40a70533 sub a0,a4,a0
|
|
65a0: 8082 ret
|
|
65a2: 8141 srli a0,a0,0x10
|
|
65a4: 00002797 auipc a5,0x2
|
|
65a8: 11478793 addi a5,a5,276 # 86b8 <__clz_tab>
|
|
65ac: 97aa add a5,a5,a0
|
|
65ae: 2388 lbu a0,0(a5)
|
|
65b0: 4741 li a4,16
|
|
65b2: 40a70533 sub a0,a4,a0
|
|
65b6: 8082 ret
|
|
|
|
000065b8 <memcpy>:
|
|
65b8: 00a5c7b3 xor a5,a1,a0
|
|
65bc: 8b8d andi a5,a5,3
|
|
65be: 00c50733 add a4,a0,a2
|
|
65c2: e781 bnez a5,65ca <memcpy+0x12>
|
|
65c4: 478d li a5,3
|
|
65c6: 00c7ed63 bltu a5,a2,65e0 <memcpy+0x28>
|
|
65ca: 87aa mv a5,a0
|
|
65cc: 08e57e63 bgeu a0,a4,6668 <memcpy+0xb0>
|
|
65d0: 2194 lbu a3,0(a1)
|
|
65d2: 0785 addi a5,a5,1
|
|
65d4: 0585 addi a1,a1,1
|
|
65d6: fed78fa3 sb a3,-1(a5)
|
|
65da: fee7ebe3 bltu a5,a4,65d0 <memcpy+0x18>
|
|
65de: 8082 ret
|
|
65e0: 00357693 andi a3,a0,3
|
|
65e4: 87aa mv a5,a0
|
|
65e6: ca89 beqz a3,65f8 <memcpy+0x40>
|
|
65e8: 2194 lbu a3,0(a1)
|
|
65ea: 0785 addi a5,a5,1
|
|
65ec: 0585 addi a1,a1,1
|
|
65ee: fed78fa3 sb a3,-1(a5)
|
|
65f2: 0037f693 andi a3,a5,3
|
|
65f6: bfc5 j 65e6 <memcpy+0x2e>
|
|
65f8: ffc77693 andi a3,a4,-4
|
|
65fc: fe068613 addi a2,a3,-32
|
|
6600: 06c7f063 bgeu a5,a2,6660 <memcpy+0xa8>
|
|
6604: 0005a383 lw t2,0(a1)
|
|
6608: 0045a283 lw t0,4(a1)
|
|
660c: 0085af83 lw t6,8(a1)
|
|
6610: 00c5af03 lw t5,12(a1)
|
|
6614: 0105ae83 lw t4,16(a1)
|
|
6618: 0145ae03 lw t3,20(a1)
|
|
661c: 0185a303 lw t1,24(a1)
|
|
6620: 01c5a883 lw a7,28(a1)
|
|
6624: 02458593 addi a1,a1,36
|
|
6628: 0077a023 sw t2,0(a5)
|
|
662c: ffc5a803 lw a6,-4(a1)
|
|
6630: 0057a223 sw t0,4(a5)
|
|
6634: 01f7a423 sw t6,8(a5)
|
|
6638: 01e7a623 sw t5,12(a5)
|
|
663c: 01d7a823 sw t4,16(a5)
|
|
6640: 01c7aa23 sw t3,20(a5)
|
|
6644: 0067ac23 sw t1,24(a5)
|
|
6648: 0117ae23 sw a7,28(a5)
|
|
664c: 02478793 addi a5,a5,36
|
|
6650: ff07ae23 sw a6,-4(a5)
|
|
6654: b775 j 6600 <memcpy+0x48>
|
|
6656: 4190 lw a2,0(a1)
|
|
6658: 0791 addi a5,a5,4
|
|
665a: 0591 addi a1,a1,4
|
|
665c: fec7ae23 sw a2,-4(a5)
|
|
6660: fed7ebe3 bltu a5,a3,6656 <memcpy+0x9e>
|
|
6664: f6e7e6e3 bltu a5,a4,65d0 <memcpy+0x18>
|
|
6668: 8082 ret
|
|
|
|
0000666a <iprintf>:
|
|
666a: 7139 addi sp,sp,-64
|
|
666c: da3e sw a5,52(sp)
|
|
666e: d22e sw a1,36(sp)
|
|
6670: d432 sw a2,40(sp)
|
|
6672: d636 sw a3,44(sp)
|
|
6674: d83a sw a4,48(sp)
|
|
6676: dc42 sw a6,56(sp)
|
|
6678: de46 sw a7,60(sp)
|
|
667a: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
667e: cc22 sw s0,24(sp)
|
|
6680: 4380 lw s0,0(a5)
|
|
6682: ca26 sw s1,20(sp)
|
|
6684: ce06 sw ra,28(sp)
|
|
6686: 84aa mv s1,a0
|
|
6688: c409 beqz s0,6692 <iprintf+0x28>
|
|
668a: 4c1c lw a5,24(s0)
|
|
668c: e399 bnez a5,6692 <iprintf+0x28>
|
|
668e: 8522 mv a0,s0
|
|
6690: 2505 jal 6cb0 <__sinit>
|
|
6692: 440c lw a1,8(s0)
|
|
6694: 1054 addi a3,sp,36
|
|
6696: 8626 mv a2,s1
|
|
6698: 8522 mv a0,s0
|
|
669a: c636 sw a3,12(sp)
|
|
669c: 5b9000ef jal ra,7454 <_vfiprintf_r>
|
|
66a0: 40f2 lw ra,28(sp)
|
|
66a2: 4462 lw s0,24(sp)
|
|
66a4: 44d2 lw s1,20(sp)
|
|
66a6: 6121 addi sp,sp,64
|
|
66a8: 8082 ret
|
|
|
|
000066aa <_puts_r>:
|
|
66aa: 1101 addi sp,sp,-32
|
|
66ac: ca26 sw s1,20(sp)
|
|
66ae: c84a sw s2,16(sp)
|
|
66b0: ce06 sw ra,28(sp)
|
|
66b2: cc22 sw s0,24(sp)
|
|
66b4: c64e sw s3,12(sp)
|
|
66b6: c452 sw s4,8(sp)
|
|
66b8: 84aa mv s1,a0
|
|
66ba: 892e mv s2,a1
|
|
66bc: c501 beqz a0,66c4 <_puts_r+0x1a>
|
|
66be: 4d1c lw a5,24(a0)
|
|
66c0: e391 bnez a5,66c4 <_puts_r+0x1a>
|
|
66c2: 23fd jal 6cb0 <__sinit>
|
|
66c4: 4c9c lw a5,24(s1)
|
|
66c6: 4480 lw s0,8(s1)
|
|
66c8: e399 bnez a5,66ce <_puts_r+0x24>
|
|
66ca: 8526 mv a0,s1
|
|
66cc: 23d5 jal 6cb0 <__sinit>
|
|
66ce: 00002797 auipc a5,0x2
|
|
66d2: 10a78793 addi a5,a5,266 # 87d8 <__sf_fake_stdin>
|
|
66d6: 02f41b63 bne s0,a5,670c <_puts_r+0x62>
|
|
66da: 40c0 lw s0,4(s1)
|
|
66dc: 245e lhu a5,12(s0)
|
|
66de: 8ba1 andi a5,a5,8
|
|
66e0: c7b1 beqz a5,672c <_puts_r+0x82>
|
|
66e2: 481c lw a5,16(s0)
|
|
66e4: c7a1 beqz a5,672c <_puts_r+0x82>
|
|
66e6: 59fd li s3,-1
|
|
66e8: 4a29 li s4,10
|
|
66ea: 441c lw a5,8(s0)
|
|
66ec: 00094583 lbu a1,0(s2)
|
|
66f0: 17fd addi a5,a5,-1
|
|
66f2: e9b1 bnez a1,6746 <_puts_r+0x9c>
|
|
66f4: c41c sw a5,8(s0)
|
|
66f6: 0607dd63 bgez a5,6770 <_puts_r+0xc6>
|
|
66fa: 8622 mv a2,s0
|
|
66fc: 45a9 li a1,10
|
|
66fe: 8526 mv a0,s1
|
|
6700: 2275 jal 68ac <__swbuf_r>
|
|
6702: 57fd li a5,-1
|
|
6704: 02f50863 beq a0,a5,6734 <_puts_r+0x8a>
|
|
6708: 4529 li a0,10
|
|
670a: a035 j 6736 <_puts_r+0x8c>
|
|
670c: 00002797 auipc a5,0x2
|
|
6710: 0ec78793 addi a5,a5,236 # 87f8 <__sf_fake_stdout>
|
|
6714: 00f41463 bne s0,a5,671c <_puts_r+0x72>
|
|
6718: 4480 lw s0,8(s1)
|
|
671a: b7c9 j 66dc <_puts_r+0x32>
|
|
671c: 00002797 auipc a5,0x2
|
|
6720: 09c78793 addi a5,a5,156 # 87b8 <__sf_fake_stderr>
|
|
6724: faf41ce3 bne s0,a5,66dc <_puts_r+0x32>
|
|
6728: 44c0 lw s0,12(s1)
|
|
672a: bf4d j 66dc <_puts_r+0x32>
|
|
672c: 85a2 mv a1,s0
|
|
672e: 8526 mv a0,s1
|
|
6730: 2c25 jal 6968 <__swsetup_r>
|
|
6732: d955 beqz a0,66e6 <_puts_r+0x3c>
|
|
6734: 557d li a0,-1
|
|
6736: 40f2 lw ra,28(sp)
|
|
6738: 4462 lw s0,24(sp)
|
|
673a: 44d2 lw s1,20(sp)
|
|
673c: 4942 lw s2,16(sp)
|
|
673e: 49b2 lw s3,12(sp)
|
|
6740: 4a22 lw s4,8(sp)
|
|
6742: 6105 addi sp,sp,32
|
|
6744: 8082 ret
|
|
6746: c41c sw a5,8(s0)
|
|
6748: 0905 addi s2,s2,1
|
|
674a: 0007d763 bgez a5,6758 <_puts_r+0xae>
|
|
674e: 4c18 lw a4,24(s0)
|
|
6750: 00e7ca63 blt a5,a4,6764 <_puts_r+0xba>
|
|
6754: 01458863 beq a1,s4,6764 <_puts_r+0xba>
|
|
6758: 401c lw a5,0(s0)
|
|
675a: 00178713 addi a4,a5,1
|
|
675e: c018 sw a4,0(s0)
|
|
6760: a38c sb a1,0(a5)
|
|
6762: b761 j 66ea <_puts_r+0x40>
|
|
6764: 8622 mv a2,s0
|
|
6766: 8526 mv a0,s1
|
|
6768: 2291 jal 68ac <__swbuf_r>
|
|
676a: f93510e3 bne a0,s3,66ea <_puts_r+0x40>
|
|
676e: b7d9 j 6734 <_puts_r+0x8a>
|
|
6770: 401c lw a5,0(s0)
|
|
6772: 00178713 addi a4,a5,1
|
|
6776: c018 sw a4,0(s0)
|
|
6778: 4729 li a4,10
|
|
677a: a398 sb a4,0(a5)
|
|
677c: b771 j 6708 <_puts_r+0x5e>
|
|
|
|
0000677e <puts>:
|
|
677e: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
6782: 85aa mv a1,a0
|
|
6784: 4388 lw a0,0(a5)
|
|
6786: f25ff06f j 66aa <_puts_r>
|
|
|
|
0000678a <srand>:
|
|
678a: 1141 addi sp,sp,-16
|
|
678c: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
6790: c422 sw s0,8(sp)
|
|
6792: 4380 lw s0,0(a5)
|
|
6794: c226 sw s1,4(sp)
|
|
6796: c606 sw ra,12(sp)
|
|
6798: 5c1c lw a5,56(s0)
|
|
679a: 84aa mv s1,a0
|
|
679c: eb95 bnez a5,67d0 <srand+0x46>
|
|
679e: 4561 li a0,24
|
|
67a0: 770000ef jal ra,6f10 <malloc>
|
|
67a4: abcd37b7 lui a5,0xabcd3
|
|
67a8: dc08 sw a0,56(s0)
|
|
67aa: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
67ae: c11c sw a5,0(a0)
|
|
67b0: e66d17b7 lui a5,0xe66d1
|
|
67b4: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
67b8: c15c sw a5,4(a0)
|
|
67ba: 0005e7b7 lui a5,0x5e
|
|
67be: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x55698>
|
|
67c2: c51c sw a5,8(a0)
|
|
67c4: 47ad li a5,11
|
|
67c6: a55e sh a5,12(a0)
|
|
67c8: 4705 li a4,1
|
|
67ca: 4781 li a5,0
|
|
67cc: c918 sw a4,16(a0)
|
|
67ce: c95c sw a5,20(a0)
|
|
67d0: 5c1c lw a5,56(s0)
|
|
67d2: 40b2 lw ra,12(sp)
|
|
67d4: 4422 lw s0,8(sp)
|
|
67d6: cb84 sw s1,16(a5)
|
|
67d8: 0007aa23 sw zero,20(a5)
|
|
67dc: 4492 lw s1,4(sp)
|
|
67de: 0141 addi sp,sp,16
|
|
67e0: 8082 ret
|
|
|
|
000067e2 <rand>:
|
|
67e2: 1141 addi sp,sp,-16
|
|
67e4: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
67e8: c422 sw s0,8(sp)
|
|
67ea: 4380 lw s0,0(a5)
|
|
67ec: c606 sw ra,12(sp)
|
|
67ee: 5c1c lw a5,56(s0)
|
|
67f0: eb8d bnez a5,6822 <rand+0x40>
|
|
67f2: 4561 li a0,24
|
|
67f4: 2f31 jal 6f10 <malloc>
|
|
67f6: abcd37b7 lui a5,0xabcd3
|
|
67fa: dc08 sw a0,56(s0)
|
|
67fc: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
6800: c11c sw a5,0(a0)
|
|
6802: e66d17b7 lui a5,0xe66d1
|
|
6806: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
680a: c15c sw a5,4(a0)
|
|
680c: 0005e7b7 lui a5,0x5e
|
|
6810: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x55698>
|
|
6814: c51c sw a5,8(a0)
|
|
6816: 47ad li a5,11
|
|
6818: a55e sh a5,12(a0)
|
|
681a: 4705 li a4,1
|
|
681c: 4781 li a5,0
|
|
681e: c918 sw a4,16(a0)
|
|
6820: c95c sw a5,20(a0)
|
|
6822: 5c10 lw a2,56(s0)
|
|
6824: 4c958737 lui a4,0x4c958
|
|
6828: 5851f7b7 lui a5,0x5851f
|
|
682c: 4a14 lw a3,16(a2)
|
|
682e: 4a48 lw a0,20(a2)
|
|
6830: f2d70713 addi a4,a4,-211 # 4c957f2d <_eusrstack+0x2c952f2d>
|
|
6834: 42d78793 addi a5,a5,1069 # 5851f42d <_eusrstack+0x3851a42d>
|
|
6838: 02f687b3 mul a5,a3,a5
|
|
683c: 40b2 lw ra,12(sp)
|
|
683e: 4422 lw s0,8(sp)
|
|
6840: 02e50533 mul a0,a0,a4
|
|
6844: 953e add a0,a0,a5
|
|
6846: 02e687b3 mul a5,a3,a4
|
|
684a: 02e6b733 mulhu a4,a3,a4
|
|
684e: 00178693 addi a3,a5,1
|
|
6852: ca14 sw a3,16(a2)
|
|
6854: 972a add a4,a4,a0
|
|
6856: 00f6b533 sltu a0,a3,a5
|
|
685a: 953a add a0,a0,a4
|
|
685c: ca48 sw a0,20(a2)
|
|
685e: 0506 slli a0,a0,0x1
|
|
6860: 8105 srli a0,a0,0x1
|
|
6862: 0141 addi sp,sp,16
|
|
6864: 8082 ret
|
|
|
|
00006866 <siprintf>:
|
|
6866: 7135 addi sp,sp,-160
|
|
6868: cb3e sw a5,148(sp)
|
|
686a: 800007b7 lui a5,0x80000
|
|
686e: fff7c793 not a5,a5
|
|
6872: ce3e sw a5,28(sp)
|
|
6874: c83e sw a5,16(sp)
|
|
6876: 77c1 lui a5,0xffff0
|
|
6878: 20878793 addi a5,a5,520 # ffff0208 <_eusrstack+0xdffeb208>
|
|
687c: c532 sw a2,136(sp)
|
|
687e: c736 sw a3,140(sp)
|
|
6880: c93a sw a4,144(sp)
|
|
6882: cd42 sw a6,152(sp)
|
|
6884: cf46 sw a7,156(sp)
|
|
6886: ca3e sw a5,20(sp)
|
|
6888: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
688c: c42a sw a0,8(sp)
|
|
688e: cc2a sw a0,24(sp)
|
|
6890: 4388 lw a0,0(a5)
|
|
6892: 0134 addi a3,sp,136
|
|
6894: 862e mv a2,a1
|
|
6896: 002c addi a1,sp,8
|
|
6898: de86 sw ra,124(sp)
|
|
689a: c236 sw a3,4(sp)
|
|
689c: 0e5000ef jal ra,7180 <_svfiprintf_r>
|
|
68a0: 47a2 lw a5,8(sp)
|
|
68a2: 00078023 sb zero,0(a5)
|
|
68a6: 50f6 lw ra,124(sp)
|
|
68a8: 610d addi sp,sp,160
|
|
68aa: 8082 ret
|
|
|
|
000068ac <__swbuf_r>:
|
|
68ac: 1101 addi sp,sp,-32
|
|
68ae: cc22 sw s0,24(sp)
|
|
68b0: ca26 sw s1,20(sp)
|
|
68b2: c84a sw s2,16(sp)
|
|
68b4: ce06 sw ra,28(sp)
|
|
68b6: c64e sw s3,12(sp)
|
|
68b8: 84aa mv s1,a0
|
|
68ba: 892e mv s2,a1
|
|
68bc: 8432 mv s0,a2
|
|
68be: c501 beqz a0,68c6 <__swbuf_r+0x1a>
|
|
68c0: 4d1c lw a5,24(a0)
|
|
68c2: e391 bnez a5,68c6 <__swbuf_r+0x1a>
|
|
68c4: 26f5 jal 6cb0 <__sinit>
|
|
68c6: 00002797 auipc a5,0x2
|
|
68ca: f1278793 addi a5,a5,-238 # 87d8 <__sf_fake_stdin>
|
|
68ce: 06f41763 bne s0,a5,693c <__swbuf_r+0x90>
|
|
68d2: 40c0 lw s0,4(s1)
|
|
68d4: 4c1c lw a5,24(s0)
|
|
68d6: c41c sw a5,8(s0)
|
|
68d8: 245e lhu a5,12(s0)
|
|
68da: 8ba1 andi a5,a5,8
|
|
68dc: c3c1 beqz a5,695c <__swbuf_r+0xb0>
|
|
68de: 481c lw a5,16(s0)
|
|
68e0: cfb5 beqz a5,695c <__swbuf_r+0xb0>
|
|
68e2: 481c lw a5,16(s0)
|
|
68e4: 4008 lw a0,0(s0)
|
|
68e6: 0ff97993 andi s3,s2,255
|
|
68ea: 0ff97913 andi s2,s2,255
|
|
68ee: 8d1d sub a0,a0,a5
|
|
68f0: 485c lw a5,20(s0)
|
|
68f2: 00f54663 blt a0,a5,68fe <__swbuf_r+0x52>
|
|
68f6: 85a2 mv a1,s0
|
|
68f8: 8526 mv a0,s1
|
|
68fa: 2c69 jal 6b94 <_fflush_r>
|
|
68fc: e525 bnez a0,6964 <__swbuf_r+0xb8>
|
|
68fe: 441c lw a5,8(s0)
|
|
6900: 0505 addi a0,a0,1
|
|
6902: 17fd addi a5,a5,-1
|
|
6904: c41c sw a5,8(s0)
|
|
6906: 401c lw a5,0(s0)
|
|
6908: 00178713 addi a4,a5,1
|
|
690c: c018 sw a4,0(s0)
|
|
690e: 01378023 sb s3,0(a5)
|
|
6912: 485c lw a5,20(s0)
|
|
6914: 00a78863 beq a5,a0,6924 <__swbuf_r+0x78>
|
|
6918: 245e lhu a5,12(s0)
|
|
691a: 8b85 andi a5,a5,1
|
|
691c: cb81 beqz a5,692c <__swbuf_r+0x80>
|
|
691e: 47a9 li a5,10
|
|
6920: 00f91663 bne s2,a5,692c <__swbuf_r+0x80>
|
|
6924: 85a2 mv a1,s0
|
|
6926: 8526 mv a0,s1
|
|
6928: 24b5 jal 6b94 <_fflush_r>
|
|
692a: ed0d bnez a0,6964 <__swbuf_r+0xb8>
|
|
692c: 40f2 lw ra,28(sp)
|
|
692e: 4462 lw s0,24(sp)
|
|
6930: 854a mv a0,s2
|
|
6932: 44d2 lw s1,20(sp)
|
|
6934: 4942 lw s2,16(sp)
|
|
6936: 49b2 lw s3,12(sp)
|
|
6938: 6105 addi sp,sp,32
|
|
693a: 8082 ret
|
|
693c: 00002797 auipc a5,0x2
|
|
6940: ebc78793 addi a5,a5,-324 # 87f8 <__sf_fake_stdout>
|
|
6944: 00f41463 bne s0,a5,694c <__swbuf_r+0xa0>
|
|
6948: 4480 lw s0,8(s1)
|
|
694a: b769 j 68d4 <__swbuf_r+0x28>
|
|
694c: 00002797 auipc a5,0x2
|
|
6950: e6c78793 addi a5,a5,-404 # 87b8 <__sf_fake_stderr>
|
|
6954: f8f410e3 bne s0,a5,68d4 <__swbuf_r+0x28>
|
|
6958: 44c0 lw s0,12(s1)
|
|
695a: bfad j 68d4 <__swbuf_r+0x28>
|
|
695c: 85a2 mv a1,s0
|
|
695e: 8526 mv a0,s1
|
|
6960: 2021 jal 6968 <__swsetup_r>
|
|
6962: d141 beqz a0,68e2 <__swbuf_r+0x36>
|
|
6964: 597d li s2,-1
|
|
6966: b7d9 j 692c <__swbuf_r+0x80>
|
|
|
|
00006968 <__swsetup_r>:
|
|
6968: 1141 addi sp,sp,-16
|
|
696a: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
696e: c226 sw s1,4(sp)
|
|
6970: 4384 lw s1,0(a5)
|
|
6972: c422 sw s0,8(sp)
|
|
6974: c04a sw s2,0(sp)
|
|
6976: c606 sw ra,12(sp)
|
|
6978: 892a mv s2,a0
|
|
697a: 842e mv s0,a1
|
|
697c: c489 beqz s1,6986 <__swsetup_r+0x1e>
|
|
697e: 4c9c lw a5,24(s1)
|
|
6980: e399 bnez a5,6986 <__swsetup_r+0x1e>
|
|
6982: 8526 mv a0,s1
|
|
6984: 2635 jal 6cb0 <__sinit>
|
|
6986: 00002797 auipc a5,0x2
|
|
698a: e5278793 addi a5,a5,-430 # 87d8 <__sf_fake_stdin>
|
|
698e: 02f41b63 bne s0,a5,69c4 <__swsetup_r+0x5c>
|
|
6992: 40c0 lw s0,4(s1)
|
|
6994: 00c41703 lh a4,12(s0) # 400000c <_data_lma+0x3ff77b8>
|
|
6998: 01071793 slli a5,a4,0x10
|
|
699c: 83c1 srli a5,a5,0x10
|
|
699e: 0087f693 andi a3,a5,8
|
|
69a2: eaad bnez a3,6a14 <__swsetup_r+0xac>
|
|
69a4: 0107f693 andi a3,a5,16
|
|
69a8: ee95 bnez a3,69e4 <__swsetup_r+0x7c>
|
|
69aa: 47a5 li a5,9
|
|
69ac: 00f92023 sw a5,0(s2)
|
|
69b0: 04076713 ori a4,a4,64
|
|
69b4: a45a sh a4,12(s0)
|
|
69b6: 557d li a0,-1
|
|
69b8: 40b2 lw ra,12(sp)
|
|
69ba: 4422 lw s0,8(sp)
|
|
69bc: 4492 lw s1,4(sp)
|
|
69be: 4902 lw s2,0(sp)
|
|
69c0: 0141 addi sp,sp,16
|
|
69c2: 8082 ret
|
|
69c4: 00002797 auipc a5,0x2
|
|
69c8: e3478793 addi a5,a5,-460 # 87f8 <__sf_fake_stdout>
|
|
69cc: 00f41463 bne s0,a5,69d4 <__swsetup_r+0x6c>
|
|
69d0: 4480 lw s0,8(s1)
|
|
69d2: b7c9 j 6994 <__swsetup_r+0x2c>
|
|
69d4: 00002797 auipc a5,0x2
|
|
69d8: de478793 addi a5,a5,-540 # 87b8 <__sf_fake_stderr>
|
|
69dc: faf41ce3 bne s0,a5,6994 <__swsetup_r+0x2c>
|
|
69e0: 44c0 lw s0,12(s1)
|
|
69e2: bf4d j 6994 <__swsetup_r+0x2c>
|
|
69e4: 8b91 andi a5,a5,4
|
|
69e6: c39d beqz a5,6a0c <__swsetup_r+0xa4>
|
|
69e8: 584c lw a1,52(s0)
|
|
69ea: c989 beqz a1,69fc <__swsetup_r+0x94>
|
|
69ec: 04440793 addi a5,s0,68
|
|
69f0: 00f58463 beq a1,a5,69f8 <__swsetup_r+0x90>
|
|
69f4: 854a mv a0,s2
|
|
69f6: 2315 jal 6f1a <_free_r>
|
|
69f8: 02042a23 sw zero,52(s0)
|
|
69fc: 245e lhu a5,12(s0)
|
|
69fe: 00042223 sw zero,4(s0)
|
|
6a02: fdb7f793 andi a5,a5,-37
|
|
6a06: a45e sh a5,12(s0)
|
|
6a08: 481c lw a5,16(s0)
|
|
6a0a: c01c sw a5,0(s0)
|
|
6a0c: 245e lhu a5,12(s0)
|
|
6a0e: 0087e793 ori a5,a5,8
|
|
6a12: a45e sh a5,12(s0)
|
|
6a14: 481c lw a5,16(s0)
|
|
6a16: eb99 bnez a5,6a2c <__swsetup_r+0xc4>
|
|
6a18: 245e lhu a5,12(s0)
|
|
6a1a: 20000713 li a4,512
|
|
6a1e: 2807f793 andi a5,a5,640
|
|
6a22: 00e78563 beq a5,a4,6a2c <__swsetup_r+0xc4>
|
|
6a26: 85a2 mv a1,s0
|
|
6a28: 854a mv a0,s2
|
|
6a2a: 2991 jal 6e7e <__smakebuf_r>
|
|
6a2c: 245e lhu a5,12(s0)
|
|
6a2e: 0017f713 andi a4,a5,1
|
|
6a32: c31d beqz a4,6a58 <__swsetup_r+0xf0>
|
|
6a34: 485c lw a5,20(s0)
|
|
6a36: 00042423 sw zero,8(s0)
|
|
6a3a: 40f007b3 neg a5,a5
|
|
6a3e: cc1c sw a5,24(s0)
|
|
6a40: 481c lw a5,16(s0)
|
|
6a42: 4501 li a0,0
|
|
6a44: fbb5 bnez a5,69b8 <__swsetup_r+0x50>
|
|
6a46: 00c41783 lh a5,12(s0)
|
|
6a4a: 0807f713 andi a4,a5,128
|
|
6a4e: d72d beqz a4,69b8 <__swsetup_r+0x50>
|
|
6a50: 0407e793 ori a5,a5,64
|
|
6a54: a45e sh a5,12(s0)
|
|
6a56: b785 j 69b6 <__swsetup_r+0x4e>
|
|
6a58: 8b89 andi a5,a5,2
|
|
6a5a: 4701 li a4,0
|
|
6a5c: e391 bnez a5,6a60 <__swsetup_r+0xf8>
|
|
6a5e: 4858 lw a4,20(s0)
|
|
6a60: c418 sw a4,8(s0)
|
|
6a62: bff9 j 6a40 <__swsetup_r+0xd8>
|
|
|
|
00006a64 <__sflush_r>:
|
|
6a64: 25de lhu a5,12(a1)
|
|
6a66: 1101 addi sp,sp,-32
|
|
6a68: cc22 sw s0,24(sp)
|
|
6a6a: ca26 sw s1,20(sp)
|
|
6a6c: ce06 sw ra,28(sp)
|
|
6a6e: c84a sw s2,16(sp)
|
|
6a70: c64e sw s3,12(sp)
|
|
6a72: 0087f713 andi a4,a5,8
|
|
6a76: 84aa mv s1,a0
|
|
6a78: 842e mv s0,a1
|
|
6a7a: eb79 bnez a4,6b50 <__sflush_r+0xec>
|
|
6a7c: 41d8 lw a4,4(a1)
|
|
6a7e: 00e04d63 bgtz a4,6a98 <__sflush_r+0x34>
|
|
6a82: 41b8 lw a4,64(a1)
|
|
6a84: 00e04a63 bgtz a4,6a98 <__sflush_r+0x34>
|
|
6a88: 4501 li a0,0
|
|
6a8a: 40f2 lw ra,28(sp)
|
|
6a8c: 4462 lw s0,24(sp)
|
|
6a8e: 44d2 lw s1,20(sp)
|
|
6a90: 4942 lw s2,16(sp)
|
|
6a92: 49b2 lw s3,12(sp)
|
|
6a94: 6105 addi sp,sp,32
|
|
6a96: 8082 ret
|
|
6a98: 5458 lw a4,44(s0)
|
|
6a9a: d77d beqz a4,6a88 <__sflush_r+0x24>
|
|
6a9c: 0004a903 lw s2,0(s1)
|
|
6aa0: 01379693 slli a3,a5,0x13
|
|
6aa4: 0004a023 sw zero,0(s1)
|
|
6aa8: 0606db63 bgez a3,6b1e <__sflush_r+0xba>
|
|
6aac: 4870 lw a2,84(s0)
|
|
6aae: 245e lhu a5,12(s0)
|
|
6ab0: 8b91 andi a5,a5,4
|
|
6ab2: c799 beqz a5,6ac0 <__sflush_r+0x5c>
|
|
6ab4: 405c lw a5,4(s0)
|
|
6ab6: 8e1d sub a2,a2,a5
|
|
6ab8: 585c lw a5,52(s0)
|
|
6aba: c399 beqz a5,6ac0 <__sflush_r+0x5c>
|
|
6abc: 403c lw a5,64(s0)
|
|
6abe: 8e1d sub a2,a2,a5
|
|
6ac0: 545c lw a5,44(s0)
|
|
6ac2: 500c lw a1,32(s0)
|
|
6ac4: 4681 li a3,0
|
|
6ac6: 8526 mv a0,s1
|
|
6ac8: 9782 jalr a5
|
|
6aca: 57fd li a5,-1
|
|
6acc: 245a lhu a4,12(s0)
|
|
6ace: 00f51d63 bne a0,a5,6ae8 <__sflush_r+0x84>
|
|
6ad2: 4094 lw a3,0(s1)
|
|
6ad4: 47f5 li a5,29
|
|
6ad6: 06d7e863 bltu a5,a3,6b46 <__sflush_r+0xe2>
|
|
6ada: 204007b7 lui a5,0x20400
|
|
6ade: 0785 addi a5,a5,1
|
|
6ae0: 00d7d7b3 srl a5,a5,a3
|
|
6ae4: 8b85 andi a5,a5,1
|
|
6ae6: c3a5 beqz a5,6b46 <__sflush_r+0xe2>
|
|
6ae8: 481c lw a5,16(s0)
|
|
6aea: 00042223 sw zero,4(s0)
|
|
6aee: c01c sw a5,0(s0)
|
|
6af0: 01371793 slli a5,a4,0x13
|
|
6af4: 0007d863 bgez a5,6b04 <__sflush_r+0xa0>
|
|
6af8: 57fd li a5,-1
|
|
6afa: 00f51463 bne a0,a5,6b02 <__sflush_r+0x9e>
|
|
6afe: 409c lw a5,0(s1)
|
|
6b00: e391 bnez a5,6b04 <__sflush_r+0xa0>
|
|
6b02: c868 sw a0,84(s0)
|
|
6b04: 584c lw a1,52(s0)
|
|
6b06: 0124a023 sw s2,0(s1)
|
|
6b0a: ddbd beqz a1,6a88 <__sflush_r+0x24>
|
|
6b0c: 04440793 addi a5,s0,68
|
|
6b10: 00f58463 beq a1,a5,6b18 <__sflush_r+0xb4>
|
|
6b14: 8526 mv a0,s1
|
|
6b16: 2111 jal 6f1a <_free_r>
|
|
6b18: 02042a23 sw zero,52(s0)
|
|
6b1c: b7b5 j 6a88 <__sflush_r+0x24>
|
|
6b1e: 500c lw a1,32(s0)
|
|
6b20: 4601 li a2,0
|
|
6b22: 4685 li a3,1
|
|
6b24: 8526 mv a0,s1
|
|
6b26: 9702 jalr a4
|
|
6b28: 57fd li a5,-1
|
|
6b2a: 862a mv a2,a0
|
|
6b2c: f8f511e3 bne a0,a5,6aae <__sflush_r+0x4a>
|
|
6b30: 409c lw a5,0(s1)
|
|
6b32: dfb5 beqz a5,6aae <__sflush_r+0x4a>
|
|
6b34: 4775 li a4,29
|
|
6b36: 00e78563 beq a5,a4,6b40 <__sflush_r+0xdc>
|
|
6b3a: 4759 li a4,22
|
|
6b3c: 04e79363 bne a5,a4,6b82 <__sflush_r+0x11e>
|
|
6b40: 0124a023 sw s2,0(s1)
|
|
6b44: b791 j 6a88 <__sflush_r+0x24>
|
|
6b46: 04076713 ori a4,a4,64
|
|
6b4a: a45a sh a4,12(s0)
|
|
6b4c: 557d li a0,-1
|
|
6b4e: bf35 j 6a8a <__sflush_r+0x26>
|
|
6b50: 0105a983 lw s3,16(a1)
|
|
6b54: f2098ae3 beqz s3,6a88 <__sflush_r+0x24>
|
|
6b58: 0005a903 lw s2,0(a1)
|
|
6b5c: 8b8d andi a5,a5,3
|
|
6b5e: 0135a023 sw s3,0(a1)
|
|
6b62: 41390933 sub s2,s2,s3
|
|
6b66: 4701 li a4,0
|
|
6b68: e391 bnez a5,6b6c <__sflush_r+0x108>
|
|
6b6a: 49d8 lw a4,20(a1)
|
|
6b6c: c418 sw a4,8(s0)
|
|
6b6e: f1205de3 blez s2,6a88 <__sflush_r+0x24>
|
|
6b72: 541c lw a5,40(s0)
|
|
6b74: 500c lw a1,32(s0)
|
|
6b76: 86ca mv a3,s2
|
|
6b78: 864e mv a2,s3
|
|
6b7a: 8526 mv a0,s1
|
|
6b7c: 9782 jalr a5
|
|
6b7e: 00a04763 bgtz a0,6b8c <__sflush_r+0x128>
|
|
6b82: 245e lhu a5,12(s0)
|
|
6b84: 0407e793 ori a5,a5,64
|
|
6b88: a45e sh a5,12(s0)
|
|
6b8a: b7c9 j 6b4c <__sflush_r+0xe8>
|
|
6b8c: 99aa add s3,s3,a0
|
|
6b8e: 40a90933 sub s2,s2,a0
|
|
6b92: bff1 j 6b6e <__sflush_r+0x10a>
|
|
|
|
00006b94 <_fflush_r>:
|
|
6b94: 499c lw a5,16(a1)
|
|
6b96: c3a5 beqz a5,6bf6 <_fflush_r+0x62>
|
|
6b98: 1101 addi sp,sp,-32
|
|
6b9a: cc22 sw s0,24(sp)
|
|
6b9c: ce06 sw ra,28(sp)
|
|
6b9e: 842a mv s0,a0
|
|
6ba0: c511 beqz a0,6bac <_fflush_r+0x18>
|
|
6ba2: 4d1c lw a5,24(a0)
|
|
6ba4: e781 bnez a5,6bac <_fflush_r+0x18>
|
|
6ba6: c62e sw a1,12(sp)
|
|
6ba8: 2221 jal 6cb0 <__sinit>
|
|
6baa: 45b2 lw a1,12(sp)
|
|
6bac: 00002797 auipc a5,0x2
|
|
6bb0: c2c78793 addi a5,a5,-980 # 87d8 <__sf_fake_stdin>
|
|
6bb4: 00f59c63 bne a1,a5,6bcc <_fflush_r+0x38>
|
|
6bb8: 404c lw a1,4(s0)
|
|
6bba: 00c59783 lh a5,12(a1)
|
|
6bbe: c79d beqz a5,6bec <_fflush_r+0x58>
|
|
6bc0: 8522 mv a0,s0
|
|
6bc2: 4462 lw s0,24(sp)
|
|
6bc4: 40f2 lw ra,28(sp)
|
|
6bc6: 6105 addi sp,sp,32
|
|
6bc8: e9dff06f j 6a64 <__sflush_r>
|
|
6bcc: 00002797 auipc a5,0x2
|
|
6bd0: c2c78793 addi a5,a5,-980 # 87f8 <__sf_fake_stdout>
|
|
6bd4: 00f59463 bne a1,a5,6bdc <_fflush_r+0x48>
|
|
6bd8: 440c lw a1,8(s0)
|
|
6bda: b7c5 j 6bba <_fflush_r+0x26>
|
|
6bdc: 00002797 auipc a5,0x2
|
|
6be0: bdc78793 addi a5,a5,-1060 # 87b8 <__sf_fake_stderr>
|
|
6be4: fcf59be3 bne a1,a5,6bba <_fflush_r+0x26>
|
|
6be8: 444c lw a1,12(s0)
|
|
6bea: bfc1 j 6bba <_fflush_r+0x26>
|
|
6bec: 40f2 lw ra,28(sp)
|
|
6bee: 4462 lw s0,24(sp)
|
|
6bf0: 4501 li a0,0
|
|
6bf2: 6105 addi sp,sp,32
|
|
6bf4: 8082 ret
|
|
6bf6: 4501 li a0,0
|
|
6bf8: 8082 ret
|
|
|
|
00006bfa <std>:
|
|
6bfa: 1141 addi sp,sp,-16
|
|
6bfc: c422 sw s0,8(sp)
|
|
6bfe: c606 sw ra,12(sp)
|
|
6c00: 842a mv s0,a0
|
|
6c02: a54e sh a1,12(a0)
|
|
6c04: a572 sh a2,14(a0)
|
|
6c06: 00052023 sw zero,0(a0)
|
|
6c0a: 00052223 sw zero,4(a0)
|
|
6c0e: 00052423 sw zero,8(a0)
|
|
6c12: 06052223 sw zero,100(a0)
|
|
6c16: 00052823 sw zero,16(a0)
|
|
6c1a: 00052a23 sw zero,20(a0)
|
|
6c1e: 00052c23 sw zero,24(a0)
|
|
6c22: 4621 li a2,8
|
|
6c24: 4581 li a1,0
|
|
6c26: 05c50513 addi a0,a0,92
|
|
6c2a: d76f90ef jal ra,1a0 <memset>
|
|
6c2e: 00001797 auipc a5,0x1
|
|
6c32: e8678793 addi a5,a5,-378 # 7ab4 <__sread>
|
|
6c36: d05c sw a5,36(s0)
|
|
6c38: 00001797 auipc a5,0x1
|
|
6c3c: ea878793 addi a5,a5,-344 # 7ae0 <__swrite>
|
|
6c40: d41c sw a5,40(s0)
|
|
6c42: 00001797 auipc a5,0x1
|
|
6c46: ee678793 addi a5,a5,-282 # 7b28 <__sseek>
|
|
6c4a: d45c sw a5,44(s0)
|
|
6c4c: 00001797 auipc a5,0x1
|
|
6c50: f0c78793 addi a5,a5,-244 # 7b58 <__sclose>
|
|
6c54: d000 sw s0,32(s0)
|
|
6c56: d81c sw a5,48(s0)
|
|
6c58: 40b2 lw ra,12(sp)
|
|
6c5a: 4422 lw s0,8(sp)
|
|
6c5c: 0141 addi sp,sp,16
|
|
6c5e: 8082 ret
|
|
|
|
00006c60 <_cleanup_r>:
|
|
6c60: 00000597 auipc a1,0x0
|
|
6c64: f3458593 addi a1,a1,-204 # 6b94 <_fflush_r>
|
|
6c68: aa91 j 6dbc <_fwalk_reent>
|
|
|
|
00006c6a <__sfmoreglue>:
|
|
6c6a: 1141 addi sp,sp,-16
|
|
6c6c: c226 sw s1,4(sp)
|
|
6c6e: 06800613 li a2,104
|
|
6c72: fff58493 addi s1,a1,-1
|
|
6c76: 02c484b3 mul s1,s1,a2
|
|
6c7a: c04a sw s2,0(sp)
|
|
6c7c: 892e mv s2,a1
|
|
6c7e: c422 sw s0,8(sp)
|
|
6c80: c606 sw ra,12(sp)
|
|
6c82: 07448593 addi a1,s1,116
|
|
6c86: 2e35 jal 6fc2 <_malloc_r>
|
|
6c88: 842a mv s0,a0
|
|
6c8a: cd01 beqz a0,6ca2 <__sfmoreglue+0x38>
|
|
6c8c: 00052023 sw zero,0(a0)
|
|
6c90: 01252223 sw s2,4(a0)
|
|
6c94: 0531 addi a0,a0,12
|
|
6c96: c408 sw a0,8(s0)
|
|
6c98: 06848613 addi a2,s1,104
|
|
6c9c: 4581 li a1,0
|
|
6c9e: d02f90ef jal ra,1a0 <memset>
|
|
6ca2: 8522 mv a0,s0
|
|
6ca4: 40b2 lw ra,12(sp)
|
|
6ca6: 4422 lw s0,8(sp)
|
|
6ca8: 4492 lw s1,4(sp)
|
|
6caa: 4902 lw s2,0(sp)
|
|
6cac: 0141 addi sp,sp,16
|
|
6cae: 8082 ret
|
|
|
|
00006cb0 <__sinit>:
|
|
6cb0: 4d1c lw a5,24(a0)
|
|
6cb2: e7a5 bnez a5,6d1a <__sinit+0x6a>
|
|
6cb4: 1141 addi sp,sp,-16
|
|
6cb6: c606 sw ra,12(sp)
|
|
6cb8: c422 sw s0,8(sp)
|
|
6cba: 00000797 auipc a5,0x0
|
|
6cbe: fa678793 addi a5,a5,-90 # 6c60 <_cleanup_r>
|
|
6cc2: d51c sw a5,40(a0)
|
|
6cc4: 81c18793 addi a5,gp,-2020 # 2000017c <_global_impure_ptr>
|
|
6cc8: 439c lw a5,0(a5)
|
|
6cca: 04052423 sw zero,72(a0)
|
|
6cce: 04052623 sw zero,76(a0)
|
|
6cd2: 04052823 sw zero,80(a0)
|
|
6cd6: 00f51463 bne a0,a5,6cde <__sinit+0x2e>
|
|
6cda: 4785 li a5,1
|
|
6cdc: cd1c sw a5,24(a0)
|
|
6cde: 842a mv s0,a0
|
|
6ce0: 2835 jal 6d1c <__sfp>
|
|
6ce2: c048 sw a0,4(s0)
|
|
6ce4: 8522 mv a0,s0
|
|
6ce6: 281d jal 6d1c <__sfp>
|
|
6ce8: c408 sw a0,8(s0)
|
|
6cea: 8522 mv a0,s0
|
|
6cec: 2805 jal 6d1c <__sfp>
|
|
6cee: c448 sw a0,12(s0)
|
|
6cf0: 4048 lw a0,4(s0)
|
|
6cf2: 4601 li a2,0
|
|
6cf4: 4591 li a1,4
|
|
6cf6: f05ff0ef jal ra,6bfa <std>
|
|
6cfa: 4408 lw a0,8(s0)
|
|
6cfc: 4605 li a2,1
|
|
6cfe: 45a5 li a1,9
|
|
6d00: efbff0ef jal ra,6bfa <std>
|
|
6d04: 4448 lw a0,12(s0)
|
|
6d06: 4609 li a2,2
|
|
6d08: 45c9 li a1,18
|
|
6d0a: ef1ff0ef jal ra,6bfa <std>
|
|
6d0e: 4785 li a5,1
|
|
6d10: cc1c sw a5,24(s0)
|
|
6d12: 40b2 lw ra,12(sp)
|
|
6d14: 4422 lw s0,8(sp)
|
|
6d16: 0141 addi sp,sp,16
|
|
6d18: 8082 ret
|
|
6d1a: 8082 ret
|
|
|
|
00006d1c <__sfp>:
|
|
6d1c: 1141 addi sp,sp,-16
|
|
6d1e: 81c18793 addi a5,gp,-2020 # 2000017c <_global_impure_ptr>
|
|
6d22: c226 sw s1,4(sp)
|
|
6d24: 4384 lw s1,0(a5)
|
|
6d26: c04a sw s2,0(sp)
|
|
6d28: c606 sw ra,12(sp)
|
|
6d2a: 4c9c lw a5,24(s1)
|
|
6d2c: c422 sw s0,8(sp)
|
|
6d2e: 892a mv s2,a0
|
|
6d30: e781 bnez a5,6d38 <__sfp+0x1c>
|
|
6d32: 8526 mv a0,s1
|
|
6d34: f7dff0ef jal ra,6cb0 <__sinit>
|
|
6d38: 04848493 addi s1,s1,72
|
|
6d3c: 4480 lw s0,8(s1)
|
|
6d3e: 40dc lw a5,4(s1)
|
|
6d40: 17fd addi a5,a5,-1
|
|
6d42: 0007d663 bgez a5,6d4e <__sfp+0x32>
|
|
6d46: 409c lw a5,0(s1)
|
|
6d48: cfb9 beqz a5,6da6 <__sfp+0x8a>
|
|
6d4a: 4084 lw s1,0(s1)
|
|
6d4c: bfc5 j 6d3c <__sfp+0x20>
|
|
6d4e: 00c41703 lh a4,12(s0)
|
|
6d52: e739 bnez a4,6da0 <__sfp+0x84>
|
|
6d54: 77c1 lui a5,0xffff0
|
|
6d56: 0785 addi a5,a5,1
|
|
6d58: 06042223 sw zero,100(s0)
|
|
6d5c: 00042023 sw zero,0(s0)
|
|
6d60: 00042223 sw zero,4(s0)
|
|
6d64: 00042423 sw zero,8(s0)
|
|
6d68: c45c sw a5,12(s0)
|
|
6d6a: 00042823 sw zero,16(s0)
|
|
6d6e: 00042a23 sw zero,20(s0)
|
|
6d72: 00042c23 sw zero,24(s0)
|
|
6d76: 4621 li a2,8
|
|
6d78: 4581 li a1,0
|
|
6d7a: 05c40513 addi a0,s0,92
|
|
6d7e: c22f90ef jal ra,1a0 <memset>
|
|
6d82: 02042a23 sw zero,52(s0)
|
|
6d86: 02042c23 sw zero,56(s0)
|
|
6d8a: 04042423 sw zero,72(s0)
|
|
6d8e: 04042623 sw zero,76(s0)
|
|
6d92: 8522 mv a0,s0
|
|
6d94: 40b2 lw ra,12(sp)
|
|
6d96: 4422 lw s0,8(sp)
|
|
6d98: 4492 lw s1,4(sp)
|
|
6d9a: 4902 lw s2,0(sp)
|
|
6d9c: 0141 addi sp,sp,16
|
|
6d9e: 8082 ret
|
|
6da0: 06840413 addi s0,s0,104
|
|
6da4: bf71 j 6d40 <__sfp+0x24>
|
|
6da6: 4591 li a1,4
|
|
6da8: 854a mv a0,s2
|
|
6daa: ec1ff0ef jal ra,6c6a <__sfmoreglue>
|
|
6dae: c088 sw a0,0(s1)
|
|
6db0: fd49 bnez a0,6d4a <__sfp+0x2e>
|
|
6db2: 47b1 li a5,12
|
|
6db4: 00f92023 sw a5,0(s2)
|
|
6db8: 4401 li s0,0
|
|
6dba: bfe1 j 6d92 <__sfp+0x76>
|
|
|
|
00006dbc <_fwalk_reent>:
|
|
6dbc: 7179 addi sp,sp,-48
|
|
6dbe: d422 sw s0,40(sp)
|
|
6dc0: d04a sw s2,32(sp)
|
|
6dc2: cc52 sw s4,24(sp)
|
|
6dc4: ca56 sw s5,20(sp)
|
|
6dc6: c85a sw s6,16(sp)
|
|
6dc8: c65e sw s7,12(sp)
|
|
6dca: d606 sw ra,44(sp)
|
|
6dcc: d226 sw s1,36(sp)
|
|
6dce: ce4e sw s3,28(sp)
|
|
6dd0: 8a2a mv s4,a0
|
|
6dd2: 8aae mv s5,a1
|
|
6dd4: 04850413 addi s0,a0,72
|
|
6dd8: 4901 li s2,0
|
|
6dda: 4b05 li s6,1
|
|
6ddc: 5bfd li s7,-1
|
|
6dde: ec09 bnez s0,6df8 <_fwalk_reent+0x3c>
|
|
6de0: 50b2 lw ra,44(sp)
|
|
6de2: 5422 lw s0,40(sp)
|
|
6de4: 854a mv a0,s2
|
|
6de6: 5492 lw s1,36(sp)
|
|
6de8: 5902 lw s2,32(sp)
|
|
6dea: 49f2 lw s3,28(sp)
|
|
6dec: 4a62 lw s4,24(sp)
|
|
6dee: 4ad2 lw s5,20(sp)
|
|
6df0: 4b42 lw s6,16(sp)
|
|
6df2: 4bb2 lw s7,12(sp)
|
|
6df4: 6145 addi sp,sp,48
|
|
6df6: 8082 ret
|
|
6df8: 4404 lw s1,8(s0)
|
|
6dfa: 00442983 lw s3,4(s0)
|
|
6dfe: 19fd addi s3,s3,-1
|
|
6e00: 0009d463 bgez s3,6e08 <_fwalk_reent+0x4c>
|
|
6e04: 4000 lw s0,0(s0)
|
|
6e06: bfe1 j 6dde <_fwalk_reent+0x22>
|
|
6e08: 24de lhu a5,12(s1)
|
|
6e0a: 00fb7b63 bgeu s6,a5,6e20 <_fwalk_reent+0x64>
|
|
6e0e: 00e49783 lh a5,14(s1)
|
|
6e12: 01778763 beq a5,s7,6e20 <_fwalk_reent+0x64>
|
|
6e16: 85a6 mv a1,s1
|
|
6e18: 8552 mv a0,s4
|
|
6e1a: 9a82 jalr s5
|
|
6e1c: 00a96933 or s2,s2,a0
|
|
6e20: 06848493 addi s1,s1,104
|
|
6e24: bfe9 j 6dfe <_fwalk_reent+0x42>
|
|
|
|
00006e26 <__swhatbuf_r>:
|
|
6e26: 7119 addi sp,sp,-128
|
|
6e28: daa6 sw s1,116(sp)
|
|
6e2a: 84ae mv s1,a1
|
|
6e2c: 00e59583 lh a1,14(a1)
|
|
6e30: dca2 sw s0,120(sp)
|
|
6e32: de86 sw ra,124(sp)
|
|
6e34: 8432 mv s0,a2
|
|
6e36: 0005db63 bgez a1,6e4c <__swhatbuf_r+0x26>
|
|
6e3a: 24de lhu a5,12(s1)
|
|
6e3c: 0006a023 sw zero,0(a3)
|
|
6e40: 0807f793 andi a5,a5,128
|
|
6e44: e785 bnez a5,6e6c <__swhatbuf_r+0x46>
|
|
6e46: 40000793 li a5,1024
|
|
6e4a: a01d j 6e70 <__swhatbuf_r+0x4a>
|
|
6e4c: 0830 addi a2,sp,24
|
|
6e4e: c636 sw a3,12(sp)
|
|
6e50: 565000ef jal ra,7bb4 <_fstat_r>
|
|
6e54: 46b2 lw a3,12(sp)
|
|
6e56: fe0542e3 bltz a0,6e3a <__swhatbuf_r+0x14>
|
|
6e5a: 4772 lw a4,28(sp)
|
|
6e5c: 67bd lui a5,0xf
|
|
6e5e: 8ff9 and a5,a5,a4
|
|
6e60: 7779 lui a4,0xffffe
|
|
6e62: 97ba add a5,a5,a4
|
|
6e64: 0017b793 seqz a5,a5
|
|
6e68: c29c sw a5,0(a3)
|
|
6e6a: bff1 j 6e46 <__swhatbuf_r+0x20>
|
|
6e6c: 04000793 li a5,64
|
|
6e70: c01c sw a5,0(s0)
|
|
6e72: 50f6 lw ra,124(sp)
|
|
6e74: 5466 lw s0,120(sp)
|
|
6e76: 54d6 lw s1,116(sp)
|
|
6e78: 4501 li a0,0
|
|
6e7a: 6109 addi sp,sp,128
|
|
6e7c: 8082 ret
|
|
|
|
00006e7e <__smakebuf_r>:
|
|
6e7e: 25de lhu a5,12(a1)
|
|
6e80: 1101 addi sp,sp,-32
|
|
6e82: cc22 sw s0,24(sp)
|
|
6e84: ce06 sw ra,28(sp)
|
|
6e86: ca26 sw s1,20(sp)
|
|
6e88: c84a sw s2,16(sp)
|
|
6e8a: 8b89 andi a5,a5,2
|
|
6e8c: 842e mv s0,a1
|
|
6e8e: cf89 beqz a5,6ea8 <__smakebuf_r+0x2a>
|
|
6e90: 04740793 addi a5,s0,71
|
|
6e94: c01c sw a5,0(s0)
|
|
6e96: c81c sw a5,16(s0)
|
|
6e98: 4785 li a5,1
|
|
6e9a: c85c sw a5,20(s0)
|
|
6e9c: 40f2 lw ra,28(sp)
|
|
6e9e: 4462 lw s0,24(sp)
|
|
6ea0: 44d2 lw s1,20(sp)
|
|
6ea2: 4942 lw s2,16(sp)
|
|
6ea4: 6105 addi sp,sp,32
|
|
6ea6: 8082 ret
|
|
6ea8: 0074 addi a3,sp,12
|
|
6eaa: 0030 addi a2,sp,8
|
|
6eac: 84aa mv s1,a0
|
|
6eae: f79ff0ef jal ra,6e26 <__swhatbuf_r>
|
|
6eb2: 45a2 lw a1,8(sp)
|
|
6eb4: 892a mv s2,a0
|
|
6eb6: 8526 mv a0,s1
|
|
6eb8: 2229 jal 6fc2 <_malloc_r>
|
|
6eba: e919 bnez a0,6ed0 <__smakebuf_r+0x52>
|
|
6ebc: 00c41783 lh a5,12(s0)
|
|
6ec0: 2007f713 andi a4,a5,512
|
|
6ec4: ff61 bnez a4,6e9c <__smakebuf_r+0x1e>
|
|
6ec6: 9bf1 andi a5,a5,-4
|
|
6ec8: 0027e793 ori a5,a5,2
|
|
6ecc: a45e sh a5,12(s0)
|
|
6ece: b7c9 j 6e90 <__smakebuf_r+0x12>
|
|
6ed0: 00000797 auipc a5,0x0
|
|
6ed4: d9078793 addi a5,a5,-624 # 6c60 <_cleanup_r>
|
|
6ed8: d49c sw a5,40(s1)
|
|
6eda: 245e lhu a5,12(s0)
|
|
6edc: c008 sw a0,0(s0)
|
|
6ede: c808 sw a0,16(s0)
|
|
6ee0: 0807e793 ori a5,a5,128
|
|
6ee4: a45e sh a5,12(s0)
|
|
6ee6: 47a2 lw a5,8(sp)
|
|
6ee8: c85c sw a5,20(s0)
|
|
6eea: 47b2 lw a5,12(sp)
|
|
6eec: cf81 beqz a5,6f04 <__smakebuf_r+0x86>
|
|
6eee: 00e41583 lh a1,14(s0)
|
|
6ef2: 8526 mv a0,s1
|
|
6ef4: 4eb000ef jal ra,7bde <_isatty_r>
|
|
6ef8: c511 beqz a0,6f04 <__smakebuf_r+0x86>
|
|
6efa: 245e lhu a5,12(s0)
|
|
6efc: 9bf1 andi a5,a5,-4
|
|
6efe: 0017e793 ori a5,a5,1
|
|
6f02: a45e sh a5,12(s0)
|
|
6f04: 245e lhu a5,12(s0)
|
|
6f06: 00f96933 or s2,s2,a5
|
|
6f0a: 01241623 sh s2,12(s0)
|
|
6f0e: b779 j 6e9c <__smakebuf_r+0x1e>
|
|
|
|
00006f10 <malloc>:
|
|
6f10: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
6f14: 85aa mv a1,a0
|
|
6f16: 4388 lw a0,0(a5)
|
|
6f18: a06d j 6fc2 <_malloc_r>
|
|
|
|
00006f1a <_free_r>:
|
|
6f1a: c1dd beqz a1,6fc0 <_free_r+0xa6>
|
|
6f1c: ffc5a783 lw a5,-4(a1)
|
|
6f20: 1141 addi sp,sp,-16
|
|
6f22: c422 sw s0,8(sp)
|
|
6f24: c606 sw ra,12(sp)
|
|
6f26: c226 sw s1,4(sp)
|
|
6f28: ffc58413 addi s0,a1,-4
|
|
6f2c: 0007d363 bgez a5,6f32 <_free_r+0x18>
|
|
6f30: 943e add s0,s0,a5
|
|
6f32: 84aa mv s1,a0
|
|
6f34: 55d000ef jal ra,7c90 <__malloc_lock>
|
|
6f38: 8a818793 addi a5,gp,-1880 # 20000208 <__malloc_free_list>
|
|
6f3c: 439c lw a5,0(a5)
|
|
6f3e: ef81 bnez a5,6f56 <_free_r+0x3c>
|
|
6f40: 00042223 sw zero,4(s0)
|
|
6f44: 8a81a423 sw s0,-1880(gp) # 20000208 <__malloc_free_list>
|
|
6f48: 4422 lw s0,8(sp)
|
|
6f4a: 40b2 lw ra,12(sp)
|
|
6f4c: 8526 mv a0,s1
|
|
6f4e: 4492 lw s1,4(sp)
|
|
6f50: 0141 addi sp,sp,16
|
|
6f52: 5410006f j 7c92 <__malloc_unlock>
|
|
6f56: 00f47e63 bgeu s0,a5,6f72 <_free_r+0x58>
|
|
6f5a: 4014 lw a3,0(s0)
|
|
6f5c: 00d40733 add a4,s0,a3
|
|
6f60: 00e79663 bne a5,a4,6f6c <_free_r+0x52>
|
|
6f64: 4398 lw a4,0(a5)
|
|
6f66: 43dc lw a5,4(a5)
|
|
6f68: 9736 add a4,a4,a3
|
|
6f6a: c018 sw a4,0(s0)
|
|
6f6c: c05c sw a5,4(s0)
|
|
6f6e: bfd9 j 6f44 <_free_r+0x2a>
|
|
6f70: 87ba mv a5,a4
|
|
6f72: 43d8 lw a4,4(a5)
|
|
6f74: c319 beqz a4,6f7a <_free_r+0x60>
|
|
6f76: fee47de3 bgeu s0,a4,6f70 <_free_r+0x56>
|
|
6f7a: 4394 lw a3,0(a5)
|
|
6f7c: 00d78633 add a2,a5,a3
|
|
6f80: 00861f63 bne a2,s0,6f9e <_free_r+0x84>
|
|
6f84: 4010 lw a2,0(s0)
|
|
6f86: 96b2 add a3,a3,a2
|
|
6f88: c394 sw a3,0(a5)
|
|
6f8a: 00d78633 add a2,a5,a3
|
|
6f8e: fac71de3 bne a4,a2,6f48 <_free_r+0x2e>
|
|
6f92: 4310 lw a2,0(a4)
|
|
6f94: 4358 lw a4,4(a4)
|
|
6f96: 96b2 add a3,a3,a2
|
|
6f98: c394 sw a3,0(a5)
|
|
6f9a: c3d8 sw a4,4(a5)
|
|
6f9c: b775 j 6f48 <_free_r+0x2e>
|
|
6f9e: 00c47563 bgeu s0,a2,6fa8 <_free_r+0x8e>
|
|
6fa2: 47b1 li a5,12
|
|
6fa4: c09c sw a5,0(s1)
|
|
6fa6: b74d j 6f48 <_free_r+0x2e>
|
|
6fa8: 4010 lw a2,0(s0)
|
|
6faa: 00c406b3 add a3,s0,a2
|
|
6fae: 00d71663 bne a4,a3,6fba <_free_r+0xa0>
|
|
6fb2: 4314 lw a3,0(a4)
|
|
6fb4: 4358 lw a4,4(a4)
|
|
6fb6: 96b2 add a3,a3,a2
|
|
6fb8: c014 sw a3,0(s0)
|
|
6fba: c058 sw a4,4(s0)
|
|
6fbc: c3c0 sw s0,4(a5)
|
|
6fbe: b769 j 6f48 <_free_r+0x2e>
|
|
6fc0: 8082 ret
|
|
|
|
00006fc2 <_malloc_r>:
|
|
6fc2: 1101 addi sp,sp,-32
|
|
6fc4: ca26 sw s1,20(sp)
|
|
6fc6: 00358493 addi s1,a1,3
|
|
6fca: 98f1 andi s1,s1,-4
|
|
6fcc: ce06 sw ra,28(sp)
|
|
6fce: cc22 sw s0,24(sp)
|
|
6fd0: c84a sw s2,16(sp)
|
|
6fd2: c64e sw s3,12(sp)
|
|
6fd4: 04a1 addi s1,s1,8
|
|
6fd6: 47b1 li a5,12
|
|
6fd8: 04f4f563 bgeu s1,a5,7022 <_malloc_r+0x60>
|
|
6fdc: 44b1 li s1,12
|
|
6fde: 04b4e463 bltu s1,a1,7026 <_malloc_r+0x64>
|
|
6fe2: 892a mv s2,a0
|
|
6fe4: 4ad000ef jal ra,7c90 <__malloc_lock>
|
|
6fe8: 8a818793 addi a5,gp,-1880 # 20000208 <__malloc_free_list>
|
|
6fec: 4398 lw a4,0(a5)
|
|
6fee: 843a mv s0,a4
|
|
6ff0: e429 bnez s0,703a <_malloc_r+0x78>
|
|
6ff2: 8ac18793 addi a5,gp,-1876 # 2000020c <__malloc_sbrk_start>
|
|
6ff6: 439c lw a5,0(a5)
|
|
6ff8: e799 bnez a5,7006 <_malloc_r+0x44>
|
|
6ffa: 4581 li a1,0
|
|
6ffc: 854a mv a0,s2
|
|
6ffe: 28d000ef jal ra,7a8a <_sbrk_r>
|
|
7002: 8aa1a623 sw a0,-1876(gp) # 2000020c <__malloc_sbrk_start>
|
|
7006: 85a6 mv a1,s1
|
|
7008: 854a mv a0,s2
|
|
700a: 281000ef jal ra,7a8a <_sbrk_r>
|
|
700e: 59fd li s3,-1
|
|
7010: 07351963 bne a0,s3,7082 <_malloc_r+0xc0>
|
|
7014: 47b1 li a5,12
|
|
7016: 00f92023 sw a5,0(s2)
|
|
701a: 854a mv a0,s2
|
|
701c: 477000ef jal ra,7c92 <__malloc_unlock>
|
|
7020: a029 j 702a <_malloc_r+0x68>
|
|
7022: fa04dee3 bgez s1,6fde <_malloc_r+0x1c>
|
|
7026: 47b1 li a5,12
|
|
7028: c11c sw a5,0(a0)
|
|
702a: 4501 li a0,0
|
|
702c: 40f2 lw ra,28(sp)
|
|
702e: 4462 lw s0,24(sp)
|
|
7030: 44d2 lw s1,20(sp)
|
|
7032: 4942 lw s2,16(sp)
|
|
7034: 49b2 lw s3,12(sp)
|
|
7036: 6105 addi sp,sp,32
|
|
7038: 8082 ret
|
|
703a: 401c lw a5,0(s0)
|
|
703c: 8f85 sub a5,a5,s1
|
|
703e: 0207cf63 bltz a5,707c <_malloc_r+0xba>
|
|
7042: 46ad li a3,11
|
|
7044: 00f6f663 bgeu a3,a5,7050 <_malloc_r+0x8e>
|
|
7048: c01c sw a5,0(s0)
|
|
704a: 943e add s0,s0,a5
|
|
704c: c004 sw s1,0(s0)
|
|
704e: a031 j 705a <_malloc_r+0x98>
|
|
7050: 405c lw a5,4(s0)
|
|
7052: 02871363 bne a4,s0,7078 <_malloc_r+0xb6>
|
|
7056: 8af1a423 sw a5,-1880(gp) # 20000208 <__malloc_free_list>
|
|
705a: 854a mv a0,s2
|
|
705c: 437000ef jal ra,7c92 <__malloc_unlock>
|
|
7060: 00b40513 addi a0,s0,11
|
|
7064: 00440793 addi a5,s0,4
|
|
7068: 9961 andi a0,a0,-8
|
|
706a: 40f50733 sub a4,a0,a5
|
|
706e: df5d beqz a4,702c <_malloc_r+0x6a>
|
|
7070: 943a add s0,s0,a4
|
|
7072: 8f89 sub a5,a5,a0
|
|
7074: c01c sw a5,0(s0)
|
|
7076: bf5d j 702c <_malloc_r+0x6a>
|
|
7078: c35c sw a5,4(a4)
|
|
707a: b7c5 j 705a <_malloc_r+0x98>
|
|
707c: 8722 mv a4,s0
|
|
707e: 4040 lw s0,4(s0)
|
|
7080: bf85 j 6ff0 <_malloc_r+0x2e>
|
|
7082: 00350413 addi s0,a0,3
|
|
7086: 9871 andi s0,s0,-4
|
|
7088: fc8502e3 beq a0,s0,704c <_malloc_r+0x8a>
|
|
708c: 40a405b3 sub a1,s0,a0
|
|
7090: 854a mv a0,s2
|
|
7092: 1f9000ef jal ra,7a8a <_sbrk_r>
|
|
7096: fb351be3 bne a0,s3,704c <_malloc_r+0x8a>
|
|
709a: bfad j 7014 <_malloc_r+0x52>
|
|
|
|
0000709c <__ssputs_r>:
|
|
709c: 1101 addi sp,sp,-32
|
|
709e: c84a sw s2,16(sp)
|
|
70a0: 0085a903 lw s2,8(a1)
|
|
70a4: cc22 sw s0,24(sp)
|
|
70a6: c452 sw s4,8(sp)
|
|
70a8: c05a sw s6,0(sp)
|
|
70aa: ce06 sw ra,28(sp)
|
|
70ac: ca26 sw s1,20(sp)
|
|
70ae: c64e sw s3,12(sp)
|
|
70b0: c256 sw s5,4(sp)
|
|
70b2: 842e mv s0,a1
|
|
70b4: 8b32 mv s6,a2
|
|
70b6: 8a36 mv s4,a3
|
|
70b8: 0926e963 bltu a3,s2,714a <__ssputs_r+0xae>
|
|
70bc: 25de lhu a5,12(a1)
|
|
70be: 4807f713 andi a4,a5,1152
|
|
70c2: c351 beqz a4,7146 <__ssputs_r+0xaa>
|
|
70c4: 4004 lw s1,0(s0)
|
|
70c6: 498c lw a1,16(a1)
|
|
70c8: 4858 lw a4,20(s0)
|
|
70ca: 8aaa mv s5,a0
|
|
70cc: 40b489b3 sub s3,s1,a1
|
|
70d0: 448d li s1,3
|
|
70d2: 02e484b3 mul s1,s1,a4
|
|
70d6: 4709 li a4,2
|
|
70d8: 02e4c4b3 div s1,s1,a4
|
|
70dc: 00168713 addi a4,a3,1
|
|
70e0: 974e add a4,a4,s3
|
|
70e2: 00e4f363 bgeu s1,a4,70e8 <__ssputs_r+0x4c>
|
|
70e6: 84ba mv s1,a4
|
|
70e8: 4007f793 andi a5,a5,1024
|
|
70ec: cfbd beqz a5,716a <__ssputs_r+0xce>
|
|
70ee: 85a6 mv a1,s1
|
|
70f0: 8556 mv a0,s5
|
|
70f2: ed1ff0ef jal ra,6fc2 <_malloc_r>
|
|
70f6: 892a mv s2,a0
|
|
70f8: e11d bnez a0,711e <__ssputs_r+0x82>
|
|
70fa: 47b1 li a5,12
|
|
70fc: 00faa023 sw a5,0(s5)
|
|
7100: 245e lhu a5,12(s0)
|
|
7102: 557d li a0,-1
|
|
7104: 0407e793 ori a5,a5,64
|
|
7108: a45e sh a5,12(s0)
|
|
710a: 40f2 lw ra,28(sp)
|
|
710c: 4462 lw s0,24(sp)
|
|
710e: 44d2 lw s1,20(sp)
|
|
7110: 4942 lw s2,16(sp)
|
|
7112: 49b2 lw s3,12(sp)
|
|
7114: 4a22 lw s4,8(sp)
|
|
7116: 4a92 lw s5,4(sp)
|
|
7118: 4b02 lw s6,0(sp)
|
|
711a: 6105 addi sp,sp,32
|
|
711c: 8082 ret
|
|
711e: 480c lw a1,16(s0)
|
|
7120: 864e mv a2,s3
|
|
7122: c96ff0ef jal ra,65b8 <memcpy>
|
|
7126: 245e lhu a5,12(s0)
|
|
7128: b7f7f793 andi a5,a5,-1153
|
|
712c: 0807e793 ori a5,a5,128
|
|
7130: a45e sh a5,12(s0)
|
|
7132: 01242823 sw s2,16(s0)
|
|
7136: c844 sw s1,20(s0)
|
|
7138: 994e add s2,s2,s3
|
|
713a: 413484b3 sub s1,s1,s3
|
|
713e: 01242023 sw s2,0(s0)
|
|
7142: c404 sw s1,8(s0)
|
|
7144: 8952 mv s2,s4
|
|
7146: 012a7363 bgeu s4,s2,714c <__ssputs_r+0xb0>
|
|
714a: 8952 mv s2,s4
|
|
714c: 4008 lw a0,0(s0)
|
|
714e: 864a mv a2,s2
|
|
7150: 85da mv a1,s6
|
|
7152: 2f9000ef jal ra,7c4a <memmove>
|
|
7156: 441c lw a5,8(s0)
|
|
7158: 4501 li a0,0
|
|
715a: 412787b3 sub a5,a5,s2
|
|
715e: c41c sw a5,8(s0)
|
|
7160: 401c lw a5,0(s0)
|
|
7162: 993e add s2,s2,a5
|
|
7164: 01242023 sw s2,0(s0)
|
|
7168: b74d j 710a <__ssputs_r+0x6e>
|
|
716a: 8626 mv a2,s1
|
|
716c: 8556 mv a0,s5
|
|
716e: 327000ef jal ra,7c94 <_realloc_r>
|
|
7172: 892a mv s2,a0
|
|
7174: fd5d bnez a0,7132 <__ssputs_r+0x96>
|
|
7176: 480c lw a1,16(s0)
|
|
7178: 8556 mv a0,s5
|
|
717a: da1ff0ef jal ra,6f1a <_free_r>
|
|
717e: bfb5 j 70fa <__ssputs_r+0x5e>
|
|
|
|
00007180 <_svfiprintf_r>:
|
|
7180: 25de lhu a5,12(a1)
|
|
7182: 7171 addi sp,sp,-176
|
|
7184: d326 sw s1,164(sp)
|
|
7186: d14a sw s2,160(sp)
|
|
7188: cf4e sw s3,156(sp)
|
|
718a: d706 sw ra,172(sp)
|
|
718c: d522 sw s0,168(sp)
|
|
718e: cd52 sw s4,152(sp)
|
|
7190: cb56 sw s5,148(sp)
|
|
7192: c95a sw s6,144(sp)
|
|
7194: c75e sw s7,140(sp)
|
|
7196: c562 sw s8,136(sp)
|
|
7198: c366 sw s9,132(sp)
|
|
719a: 0807f793 andi a5,a5,128
|
|
719e: 89aa mv s3,a0
|
|
71a0: 892e mv s2,a1
|
|
71a2: 84b2 mv s1,a2
|
|
71a4: c3b9 beqz a5,71ea <_svfiprintf_r+0x6a>
|
|
71a6: 499c lw a5,16(a1)
|
|
71a8: e3a9 bnez a5,71ea <_svfiprintf_r+0x6a>
|
|
71aa: 04000593 li a1,64
|
|
71ae: c636 sw a3,12(sp)
|
|
71b0: e13ff0ef jal ra,6fc2 <_malloc_r>
|
|
71b4: 00a92023 sw a0,0(s2)
|
|
71b8: 00a92823 sw a0,16(s2)
|
|
71bc: 46b2 lw a3,12(sp)
|
|
71be: e115 bnez a0,71e2 <_svfiprintf_r+0x62>
|
|
71c0: 47b1 li a5,12
|
|
71c2: 00f9a023 sw a5,0(s3)
|
|
71c6: 557d li a0,-1
|
|
71c8: 50ba lw ra,172(sp)
|
|
71ca: 542a lw s0,168(sp)
|
|
71cc: 549a lw s1,164(sp)
|
|
71ce: 590a lw s2,160(sp)
|
|
71d0: 49fa lw s3,156(sp)
|
|
71d2: 4a6a lw s4,152(sp)
|
|
71d4: 4ada lw s5,148(sp)
|
|
71d6: 4b4a lw s6,144(sp)
|
|
71d8: 4bba lw s7,140(sp)
|
|
71da: 4c2a lw s8,136(sp)
|
|
71dc: 4c9a lw s9,132(sp)
|
|
71de: 614d addi sp,sp,176
|
|
71e0: 8082 ret
|
|
71e2: 04000793 li a5,64
|
|
71e6: 00f92a23 sw a5,20(s2)
|
|
71ea: 02000793 li a5,32
|
|
71ee: 02f10ca3 sb a5,57(sp)
|
|
71f2: 03000793 li a5,48
|
|
71f6: da02 sw zero,52(sp)
|
|
71f8: 02f10d23 sb a5,58(sp)
|
|
71fc: ce36 sw a3,28(sp)
|
|
71fe: 02500b93 li s7,37
|
|
7202: 00001a97 auipc s5,0x1
|
|
7206: 616a8a93 addi s5,s5,1558 # 8818 <__sf_fake_stdout+0x20>
|
|
720a: 4c05 li s8,1
|
|
720c: 4b29 li s6,10
|
|
720e: 8426 mv s0,s1
|
|
7210: 201c lbu a5,0(s0)
|
|
7212: c399 beqz a5,7218 <_svfiprintf_r+0x98>
|
|
7214: 09779963 bne a5,s7,72a6 <_svfiprintf_r+0x126>
|
|
7218: 40940cb3 sub s9,s0,s1
|
|
721c: 000c8e63 beqz s9,7238 <_svfiprintf_r+0xb8>
|
|
7220: 86e6 mv a3,s9
|
|
7222: 8626 mv a2,s1
|
|
7224: 85ca mv a1,s2
|
|
7226: 854e mv a0,s3
|
|
7228: e75ff0ef jal ra,709c <__ssputs_r>
|
|
722c: 57fd li a5,-1
|
|
722e: 18f50b63 beq a0,a5,73c4 <_svfiprintf_r+0x244>
|
|
7232: 56d2 lw a3,52(sp)
|
|
7234: 96e6 add a3,a3,s9
|
|
7236: da36 sw a3,52(sp)
|
|
7238: 201c lbu a5,0(s0)
|
|
723a: 18078563 beqz a5,73c4 <_svfiprintf_r+0x244>
|
|
723e: 57fd li a5,-1
|
|
7240: 00140493 addi s1,s0,1
|
|
7244: d002 sw zero,32(sp)
|
|
7246: d602 sw zero,44(sp)
|
|
7248: d23e sw a5,36(sp)
|
|
724a: d402 sw zero,40(sp)
|
|
724c: 060101a3 sb zero,99(sp)
|
|
7250: dc82 sw zero,120(sp)
|
|
7252: 208c lbu a1,0(s1)
|
|
7254: 4615 li a2,5
|
|
7256: 8556 mv a0,s5
|
|
7258: 1db000ef jal ra,7c32 <memchr>
|
|
725c: 00148413 addi s0,s1,1
|
|
7260: 5782 lw a5,32(sp)
|
|
7262: e521 bnez a0,72aa <_svfiprintf_r+0x12a>
|
|
7264: 0107f713 andi a4,a5,16
|
|
7268: c709 beqz a4,7272 <_svfiprintf_r+0xf2>
|
|
726a: 02000713 li a4,32
|
|
726e: 06e101a3 sb a4,99(sp)
|
|
7272: 0087f713 andi a4,a5,8
|
|
7276: c709 beqz a4,7280 <_svfiprintf_r+0x100>
|
|
7278: 02b00713 li a4,43
|
|
727c: 06e101a3 sb a4,99(sp)
|
|
7280: 2094 lbu a3,0(s1)
|
|
7282: 02a00713 li a4,42
|
|
7286: 02e68a63 beq a3,a4,72ba <_svfiprintf_r+0x13a>
|
|
728a: 57b2 lw a5,44(sp)
|
|
728c: 8426 mv s0,s1
|
|
728e: 4681 li a3,0
|
|
7290: 4625 li a2,9
|
|
7292: 2018 lbu a4,0(s0)
|
|
7294: 00140593 addi a1,s0,1
|
|
7298: fd070713 addi a4,a4,-48 # ffffdfd0 <_eusrstack+0xdfff8fd0>
|
|
729c: 06e67263 bgeu a2,a4,7300 <_svfiprintf_r+0x180>
|
|
72a0: c68d beqz a3,72ca <_svfiprintf_r+0x14a>
|
|
72a2: d63e sw a5,44(sp)
|
|
72a4: a01d j 72ca <_svfiprintf_r+0x14a>
|
|
72a6: 0405 addi s0,s0,1
|
|
72a8: b7a5 j 7210 <_svfiprintf_r+0x90>
|
|
72aa: 41550533 sub a0,a0,s5
|
|
72ae: 00ac1533 sll a0,s8,a0
|
|
72b2: 8fc9 or a5,a5,a0
|
|
72b4: d03e sw a5,32(sp)
|
|
72b6: 84a2 mv s1,s0
|
|
72b8: bf69 j 7252 <_svfiprintf_r+0xd2>
|
|
72ba: 4772 lw a4,28(sp)
|
|
72bc: 00470693 addi a3,a4,4
|
|
72c0: 4318 lw a4,0(a4)
|
|
72c2: ce36 sw a3,28(sp)
|
|
72c4: 02074763 bltz a4,72f2 <_svfiprintf_r+0x172>
|
|
72c8: d63a sw a4,44(sp)
|
|
72ca: 2018 lbu a4,0(s0)
|
|
72cc: 02e00793 li a5,46
|
|
72d0: 04f71d63 bne a4,a5,732a <_svfiprintf_r+0x1aa>
|
|
72d4: 3018 lbu a4,1(s0)
|
|
72d6: 02a00793 li a5,42
|
|
72da: 02f71b63 bne a4,a5,7310 <_svfiprintf_r+0x190>
|
|
72de: 47f2 lw a5,28(sp)
|
|
72e0: 0409 addi s0,s0,2
|
|
72e2: 00478713 addi a4,a5,4
|
|
72e6: 439c lw a5,0(a5)
|
|
72e8: ce3a sw a4,28(sp)
|
|
72ea: 0207c163 bltz a5,730c <_svfiprintf_r+0x18c>
|
|
72ee: d23e sw a5,36(sp)
|
|
72f0: a82d j 732a <_svfiprintf_r+0x1aa>
|
|
72f2: 40e00733 neg a4,a4
|
|
72f6: 0027e793 ori a5,a5,2
|
|
72fa: d63a sw a4,44(sp)
|
|
72fc: d03e sw a5,32(sp)
|
|
72fe: b7f1 j 72ca <_svfiprintf_r+0x14a>
|
|
7300: 036787b3 mul a5,a5,s6
|
|
7304: 4685 li a3,1
|
|
7306: 842e mv s0,a1
|
|
7308: 97ba add a5,a5,a4
|
|
730a: b761 j 7292 <_svfiprintf_r+0x112>
|
|
730c: 57fd li a5,-1
|
|
730e: b7c5 j 72ee <_svfiprintf_r+0x16e>
|
|
7310: 0405 addi s0,s0,1
|
|
7312: d202 sw zero,36(sp)
|
|
7314: 4681 li a3,0
|
|
7316: 4781 li a5,0
|
|
7318: 4625 li a2,9
|
|
731a: 2018 lbu a4,0(s0)
|
|
731c: 00140593 addi a1,s0,1
|
|
7320: fd070713 addi a4,a4,-48
|
|
7324: 06e67663 bgeu a2,a4,7390 <_svfiprintf_r+0x210>
|
|
7328: f2f9 bnez a3,72ee <_svfiprintf_r+0x16e>
|
|
732a: 200c lbu a1,0(s0)
|
|
732c: 460d li a2,3
|
|
732e: 00001517 auipc a0,0x1
|
|
7332: 4f250513 addi a0,a0,1266 # 8820 <__sf_fake_stdout+0x28>
|
|
7336: 0fd000ef jal ra,7c32 <memchr>
|
|
733a: cd11 beqz a0,7356 <_svfiprintf_r+0x1d6>
|
|
733c: 00001797 auipc a5,0x1
|
|
7340: 4e478793 addi a5,a5,1252 # 8820 <__sf_fake_stdout+0x28>
|
|
7344: 8d1d sub a0,a0,a5
|
|
7346: 04000793 li a5,64
|
|
734a: 00a797b3 sll a5,a5,a0
|
|
734e: 5502 lw a0,32(sp)
|
|
7350: 0405 addi s0,s0,1
|
|
7352: 8d5d or a0,a0,a5
|
|
7354: d02a sw a0,32(sp)
|
|
7356: 200c lbu a1,0(s0)
|
|
7358: 4619 li a2,6
|
|
735a: 00001517 auipc a0,0x1
|
|
735e: 4ca50513 addi a0,a0,1226 # 8824 <__sf_fake_stdout+0x2c>
|
|
7362: 00140493 addi s1,s0,1
|
|
7366: 02b10c23 sb a1,56(sp)
|
|
736a: 0c9000ef jal ra,7c32 <memchr>
|
|
736e: c525 beqz a0,73d6 <_svfiprintf_r+0x256>
|
|
7370: ffff9797 auipc a5,0xffff9
|
|
7374: c9078793 addi a5,a5,-880 # 0 <_sinit>
|
|
7378: e795 bnez a5,73a4 <_svfiprintf_r+0x224>
|
|
737a: 5702 lw a4,32(sp)
|
|
737c: 47f2 lw a5,28(sp)
|
|
737e: 10077713 andi a4,a4,256
|
|
7382: cf09 beqz a4,739c <_svfiprintf_r+0x21c>
|
|
7384: 0791 addi a5,a5,4
|
|
7386: ce3e sw a5,28(sp)
|
|
7388: 57d2 lw a5,52(sp)
|
|
738a: 97d2 add a5,a5,s4
|
|
738c: da3e sw a5,52(sp)
|
|
738e: b541 j 720e <_svfiprintf_r+0x8e>
|
|
7390: 036787b3 mul a5,a5,s6
|
|
7394: 4685 li a3,1
|
|
7396: 842e mv s0,a1
|
|
7398: 97ba add a5,a5,a4
|
|
739a: b741 j 731a <_svfiprintf_r+0x19a>
|
|
739c: 079d addi a5,a5,7
|
|
739e: 9be1 andi a5,a5,-8
|
|
73a0: 07a1 addi a5,a5,8
|
|
73a2: b7d5 j 7386 <_svfiprintf_r+0x206>
|
|
73a4: 0878 addi a4,sp,28
|
|
73a6: 00000697 auipc a3,0x0
|
|
73aa: cf668693 addi a3,a3,-778 # 709c <__ssputs_r>
|
|
73ae: 864a mv a2,s2
|
|
73b0: 100c addi a1,sp,32
|
|
73b2: 854e mv a0,s3
|
|
73b4: 00000097 auipc ra,0x0
|
|
73b8: 000000e7 jalr zero # 0 <_sinit>
|
|
73bc: 57fd li a5,-1
|
|
73be: 8a2a mv s4,a0
|
|
73c0: fcf514e3 bne a0,a5,7388 <_svfiprintf_r+0x208>
|
|
73c4: 00c95783 lhu a5,12(s2)
|
|
73c8: 557d li a0,-1
|
|
73ca: 0407f793 andi a5,a5,64
|
|
73ce: de079de3 bnez a5,71c8 <_svfiprintf_r+0x48>
|
|
73d2: 5552 lw a0,52(sp)
|
|
73d4: bbd5 j 71c8 <_svfiprintf_r+0x48>
|
|
73d6: 0878 addi a4,sp,28
|
|
73d8: 00000697 auipc a3,0x0
|
|
73dc: cc468693 addi a3,a3,-828 # 709c <__ssputs_r>
|
|
73e0: 864a mv a2,s2
|
|
73e2: 100c addi a1,sp,32
|
|
73e4: 854e mv a0,s3
|
|
73e6: 2109 jal 77e8 <_printf_i>
|
|
73e8: bfd1 j 73bc <_svfiprintf_r+0x23c>
|
|
|
|
000073ea <__sfputc_r>:
|
|
73ea: 461c lw a5,8(a2)
|
|
73ec: 17fd addi a5,a5,-1
|
|
73ee: c61c sw a5,8(a2)
|
|
73f0: 0007da63 bgez a5,7404 <__sfputc_r+0x1a>
|
|
73f4: 4e18 lw a4,24(a2)
|
|
73f6: 00e7c563 blt a5,a4,7400 <__sfputc_r+0x16>
|
|
73fa: 47a9 li a5,10
|
|
73fc: 00f59463 bne a1,a5,7404 <__sfputc_r+0x1a>
|
|
7400: cacff06f j 68ac <__swbuf_r>
|
|
7404: 421c lw a5,0(a2)
|
|
7406: 852e mv a0,a1
|
|
7408: 00178713 addi a4,a5,1
|
|
740c: c218 sw a4,0(a2)
|
|
740e: a38c sb a1,0(a5)
|
|
7410: 8082 ret
|
|
|
|
00007412 <__sfputs_r>:
|
|
7412: 1101 addi sp,sp,-32
|
|
7414: cc22 sw s0,24(sp)
|
|
7416: ca26 sw s1,20(sp)
|
|
7418: c84a sw s2,16(sp)
|
|
741a: c64e sw s3,12(sp)
|
|
741c: c452 sw s4,8(sp)
|
|
741e: ce06 sw ra,28(sp)
|
|
7420: 892a mv s2,a0
|
|
7422: 89ae mv s3,a1
|
|
7424: 8432 mv s0,a2
|
|
7426: 00d604b3 add s1,a2,a3
|
|
742a: 5a7d li s4,-1
|
|
742c: 00941463 bne s0,s1,7434 <__sfputs_r+0x22>
|
|
7430: 4501 li a0,0
|
|
7432: a809 j 7444 <__sfputs_r+0x32>
|
|
7434: 200c lbu a1,0(s0)
|
|
7436: 864e mv a2,s3
|
|
7438: 854a mv a0,s2
|
|
743a: fb1ff0ef jal ra,73ea <__sfputc_r>
|
|
743e: 0405 addi s0,s0,1
|
|
7440: ff4516e3 bne a0,s4,742c <__sfputs_r+0x1a>
|
|
7444: 40f2 lw ra,28(sp)
|
|
7446: 4462 lw s0,24(sp)
|
|
7448: 44d2 lw s1,20(sp)
|
|
744a: 4942 lw s2,16(sp)
|
|
744c: 49b2 lw s3,12(sp)
|
|
744e: 4a22 lw s4,8(sp)
|
|
7450: 6105 addi sp,sp,32
|
|
7452: 8082 ret
|
|
|
|
00007454 <_vfiprintf_r>:
|
|
7454: 7135 addi sp,sp,-160
|
|
7456: cd22 sw s0,152(sp)
|
|
7458: cb26 sw s1,148(sp)
|
|
745a: c94a sw s2,144(sp)
|
|
745c: c74e sw s3,140(sp)
|
|
745e: cf06 sw ra,156(sp)
|
|
7460: c552 sw s4,136(sp)
|
|
7462: c356 sw s5,132(sp)
|
|
7464: c15a sw s6,128(sp)
|
|
7466: dede sw s7,124(sp)
|
|
7468: dce2 sw s8,120(sp)
|
|
746a: dae6 sw s9,116(sp)
|
|
746c: 89aa mv s3,a0
|
|
746e: 84ae mv s1,a1
|
|
7470: 8932 mv s2,a2
|
|
7472: 8436 mv s0,a3
|
|
7474: c509 beqz a0,747e <_vfiprintf_r+0x2a>
|
|
7476: 4d1c lw a5,24(a0)
|
|
7478: e399 bnez a5,747e <_vfiprintf_r+0x2a>
|
|
747a: 837ff0ef jal ra,6cb0 <__sinit>
|
|
747e: 00001797 auipc a5,0x1
|
|
7482: 35a78793 addi a5,a5,858 # 87d8 <__sf_fake_stdin>
|
|
7486: 0cf49863 bne s1,a5,7556 <_vfiprintf_r+0x102>
|
|
748a: 0049a483 lw s1,4(s3)
|
|
748e: 24de lhu a5,12(s1)
|
|
7490: 8ba1 andi a5,a5,8
|
|
7492: c7e5 beqz a5,757a <_vfiprintf_r+0x126>
|
|
7494: 489c lw a5,16(s1)
|
|
7496: c3f5 beqz a5,757a <_vfiprintf_r+0x126>
|
|
7498: 02000793 li a5,32
|
|
749c: 02f104a3 sb a5,41(sp)
|
|
74a0: 03000793 li a5,48
|
|
74a4: d202 sw zero,36(sp)
|
|
74a6: 02f10523 sb a5,42(sp)
|
|
74aa: c622 sw s0,12(sp)
|
|
74ac: 02500b93 li s7,37
|
|
74b0: 00001a97 auipc s5,0x1
|
|
74b4: 368a8a93 addi s5,s5,872 # 8818 <__sf_fake_stdout+0x20>
|
|
74b8: 4c05 li s8,1
|
|
74ba: 4b29 li s6,10
|
|
74bc: 844a mv s0,s2
|
|
74be: 201c lbu a5,0(s0)
|
|
74c0: c399 beqz a5,74c6 <_vfiprintf_r+0x72>
|
|
74c2: 0d779f63 bne a5,s7,75a0 <_vfiprintf_r+0x14c>
|
|
74c6: 41240cb3 sub s9,s0,s2
|
|
74ca: 000c8e63 beqz s9,74e6 <_vfiprintf_r+0x92>
|
|
74ce: 86e6 mv a3,s9
|
|
74d0: 864a mv a2,s2
|
|
74d2: 85a6 mv a1,s1
|
|
74d4: 854e mv a0,s3
|
|
74d6: f3dff0ef jal ra,7412 <__sfputs_r>
|
|
74da: 57fd li a5,-1
|
|
74dc: 1cf50f63 beq a0,a5,76ba <_vfiprintf_r+0x266>
|
|
74e0: 5692 lw a3,36(sp)
|
|
74e2: 96e6 add a3,a3,s9
|
|
74e4: d236 sw a3,36(sp)
|
|
74e6: 201c lbu a5,0(s0)
|
|
74e8: 1c078963 beqz a5,76ba <_vfiprintf_r+0x266>
|
|
74ec: 57fd li a5,-1
|
|
74ee: 00140913 addi s2,s0,1
|
|
74f2: c802 sw zero,16(sp)
|
|
74f4: ce02 sw zero,28(sp)
|
|
74f6: ca3e sw a5,20(sp)
|
|
74f8: cc02 sw zero,24(sp)
|
|
74fa: 040109a3 sb zero,83(sp)
|
|
74fe: d482 sw zero,104(sp)
|
|
7500: 00094583 lbu a1,0(s2)
|
|
7504: 4615 li a2,5
|
|
7506: 8556 mv a0,s5
|
|
7508: 272d jal 7c32 <memchr>
|
|
750a: 00190413 addi s0,s2,1
|
|
750e: 47c2 lw a5,16(sp)
|
|
7510: e951 bnez a0,75a4 <_vfiprintf_r+0x150>
|
|
7512: 0107f713 andi a4,a5,16
|
|
7516: c709 beqz a4,7520 <_vfiprintf_r+0xcc>
|
|
7518: 02000713 li a4,32
|
|
751c: 04e109a3 sb a4,83(sp)
|
|
7520: 0087f713 andi a4,a5,8
|
|
7524: c709 beqz a4,752e <_vfiprintf_r+0xda>
|
|
7526: 02b00713 li a4,43
|
|
752a: 04e109a3 sb a4,83(sp)
|
|
752e: 00094683 lbu a3,0(s2)
|
|
7532: 02a00713 li a4,42
|
|
7536: 06e68f63 beq a3,a4,75b4 <_vfiprintf_r+0x160>
|
|
753a: 47f2 lw a5,28(sp)
|
|
753c: 844a mv s0,s2
|
|
753e: 4681 li a3,0
|
|
7540: 4625 li a2,9
|
|
7542: 2018 lbu a4,0(s0)
|
|
7544: 00140593 addi a1,s0,1
|
|
7548: fd070713 addi a4,a4,-48
|
|
754c: 0ae67763 bgeu a2,a4,75fa <_vfiprintf_r+0x1a6>
|
|
7550: cab5 beqz a3,75c4 <_vfiprintf_r+0x170>
|
|
7552: ce3e sw a5,28(sp)
|
|
7554: a885 j 75c4 <_vfiprintf_r+0x170>
|
|
7556: 00001797 auipc a5,0x1
|
|
755a: 2a278793 addi a5,a5,674 # 87f8 <__sf_fake_stdout>
|
|
755e: 00f49563 bne s1,a5,7568 <_vfiprintf_r+0x114>
|
|
7562: 0089a483 lw s1,8(s3)
|
|
7566: b725 j 748e <_vfiprintf_r+0x3a>
|
|
7568: 00001797 auipc a5,0x1
|
|
756c: 25078793 addi a5,a5,592 # 87b8 <__sf_fake_stderr>
|
|
7570: f0f49fe3 bne s1,a5,748e <_vfiprintf_r+0x3a>
|
|
7574: 00c9a483 lw s1,12(s3)
|
|
7578: bf19 j 748e <_vfiprintf_r+0x3a>
|
|
757a: 85a6 mv a1,s1
|
|
757c: 854e mv a0,s3
|
|
757e: beaff0ef jal ra,6968 <__swsetup_r>
|
|
7582: d919 beqz a0,7498 <_vfiprintf_r+0x44>
|
|
7584: 557d li a0,-1
|
|
7586: 40fa lw ra,156(sp)
|
|
7588: 446a lw s0,152(sp)
|
|
758a: 44da lw s1,148(sp)
|
|
758c: 494a lw s2,144(sp)
|
|
758e: 49ba lw s3,140(sp)
|
|
7590: 4a2a lw s4,136(sp)
|
|
7592: 4a9a lw s5,132(sp)
|
|
7594: 4b0a lw s6,128(sp)
|
|
7596: 5bf6 lw s7,124(sp)
|
|
7598: 5c66 lw s8,120(sp)
|
|
759a: 5cd6 lw s9,116(sp)
|
|
759c: 610d addi sp,sp,160
|
|
759e: 8082 ret
|
|
75a0: 0405 addi s0,s0,1
|
|
75a2: bf31 j 74be <_vfiprintf_r+0x6a>
|
|
75a4: 41550533 sub a0,a0,s5
|
|
75a8: 00ac1533 sll a0,s8,a0
|
|
75ac: 8fc9 or a5,a5,a0
|
|
75ae: c83e sw a5,16(sp)
|
|
75b0: 8922 mv s2,s0
|
|
75b2: b7b9 j 7500 <_vfiprintf_r+0xac>
|
|
75b4: 4732 lw a4,12(sp)
|
|
75b6: 00470693 addi a3,a4,4
|
|
75ba: 4318 lw a4,0(a4)
|
|
75bc: c636 sw a3,12(sp)
|
|
75be: 02074763 bltz a4,75ec <_vfiprintf_r+0x198>
|
|
75c2: ce3a sw a4,28(sp)
|
|
75c4: 2018 lbu a4,0(s0)
|
|
75c6: 02e00793 li a5,46
|
|
75ca: 04f71d63 bne a4,a5,7624 <_vfiprintf_r+0x1d0>
|
|
75ce: 3018 lbu a4,1(s0)
|
|
75d0: 02a00793 li a5,42
|
|
75d4: 02f71b63 bne a4,a5,760a <_vfiprintf_r+0x1b6>
|
|
75d8: 47b2 lw a5,12(sp)
|
|
75da: 0409 addi s0,s0,2
|
|
75dc: 00478713 addi a4,a5,4
|
|
75e0: 439c lw a5,0(a5)
|
|
75e2: c63a sw a4,12(sp)
|
|
75e4: 0207c163 bltz a5,7606 <_vfiprintf_r+0x1b2>
|
|
75e8: ca3e sw a5,20(sp)
|
|
75ea: a82d j 7624 <_vfiprintf_r+0x1d0>
|
|
75ec: 40e00733 neg a4,a4
|
|
75f0: 0027e793 ori a5,a5,2
|
|
75f4: ce3a sw a4,28(sp)
|
|
75f6: c83e sw a5,16(sp)
|
|
75f8: b7f1 j 75c4 <_vfiprintf_r+0x170>
|
|
75fa: 036787b3 mul a5,a5,s6
|
|
75fe: 4685 li a3,1
|
|
7600: 842e mv s0,a1
|
|
7602: 97ba add a5,a5,a4
|
|
7604: bf3d j 7542 <_vfiprintf_r+0xee>
|
|
7606: 57fd li a5,-1
|
|
7608: b7c5 j 75e8 <_vfiprintf_r+0x194>
|
|
760a: 0405 addi s0,s0,1
|
|
760c: ca02 sw zero,20(sp)
|
|
760e: 4681 li a3,0
|
|
7610: 4781 li a5,0
|
|
7612: 4625 li a2,9
|
|
7614: 2018 lbu a4,0(s0)
|
|
7616: 00140593 addi a1,s0,1
|
|
761a: fd070713 addi a4,a4,-48
|
|
761e: 06e67463 bgeu a2,a4,7686 <_vfiprintf_r+0x232>
|
|
7622: f2f9 bnez a3,75e8 <_vfiprintf_r+0x194>
|
|
7624: 200c lbu a1,0(s0)
|
|
7626: 460d li a2,3
|
|
7628: 00001517 auipc a0,0x1
|
|
762c: 1f850513 addi a0,a0,504 # 8820 <__sf_fake_stdout+0x28>
|
|
7630: 2509 jal 7c32 <memchr>
|
|
7632: cd11 beqz a0,764e <_vfiprintf_r+0x1fa>
|
|
7634: 00001797 auipc a5,0x1
|
|
7638: 1ec78793 addi a5,a5,492 # 8820 <__sf_fake_stdout+0x28>
|
|
763c: 8d1d sub a0,a0,a5
|
|
763e: 04000793 li a5,64
|
|
7642: 00a797b3 sll a5,a5,a0
|
|
7646: 4542 lw a0,16(sp)
|
|
7648: 0405 addi s0,s0,1
|
|
764a: 8d5d or a0,a0,a5
|
|
764c: c82a sw a0,16(sp)
|
|
764e: 200c lbu a1,0(s0)
|
|
7650: 4619 li a2,6
|
|
7652: 00001517 auipc a0,0x1
|
|
7656: 1d250513 addi a0,a0,466 # 8824 <__sf_fake_stdout+0x2c>
|
|
765a: 00140913 addi s2,s0,1
|
|
765e: 02b10423 sb a1,40(sp)
|
|
7662: 2bc1 jal 7c32 <memchr>
|
|
7664: c135 beqz a0,76c8 <_vfiprintf_r+0x274>
|
|
7666: ffff9797 auipc a5,0xffff9
|
|
766a: 99a78793 addi a5,a5,-1638 # 0 <_sinit>
|
|
766e: e795 bnez a5,769a <_vfiprintf_r+0x246>
|
|
7670: 4742 lw a4,16(sp)
|
|
7672: 47b2 lw a5,12(sp)
|
|
7674: 10077713 andi a4,a4,256
|
|
7678: cf09 beqz a4,7692 <_vfiprintf_r+0x23e>
|
|
767a: 0791 addi a5,a5,4
|
|
767c: c63e sw a5,12(sp)
|
|
767e: 5792 lw a5,36(sp)
|
|
7680: 97d2 add a5,a5,s4
|
|
7682: d23e sw a5,36(sp)
|
|
7684: bd25 j 74bc <_vfiprintf_r+0x68>
|
|
7686: 036787b3 mul a5,a5,s6
|
|
768a: 4685 li a3,1
|
|
768c: 842e mv s0,a1
|
|
768e: 97ba add a5,a5,a4
|
|
7690: b751 j 7614 <_vfiprintf_r+0x1c0>
|
|
7692: 079d addi a5,a5,7
|
|
7694: 9be1 andi a5,a5,-8
|
|
7696: 07a1 addi a5,a5,8
|
|
7698: b7d5 j 767c <_vfiprintf_r+0x228>
|
|
769a: 0078 addi a4,sp,12
|
|
769c: 00000697 auipc a3,0x0
|
|
76a0: d7668693 addi a3,a3,-650 # 7412 <__sfputs_r>
|
|
76a4: 8626 mv a2,s1
|
|
76a6: 080c addi a1,sp,16
|
|
76a8: 854e mv a0,s3
|
|
76aa: 00000097 auipc ra,0x0
|
|
76ae: 000000e7 jalr zero # 0 <_sinit>
|
|
76b2: 57fd li a5,-1
|
|
76b4: 8a2a mv s4,a0
|
|
76b6: fcf514e3 bne a0,a5,767e <_vfiprintf_r+0x22a>
|
|
76ba: 24de lhu a5,12(s1)
|
|
76bc: 0407f793 andi a5,a5,64
|
|
76c0: ec0792e3 bnez a5,7584 <_vfiprintf_r+0x130>
|
|
76c4: 5512 lw a0,36(sp)
|
|
76c6: b5c1 j 7586 <_vfiprintf_r+0x132>
|
|
76c8: 0078 addi a4,sp,12
|
|
76ca: 00000697 auipc a3,0x0
|
|
76ce: d4868693 addi a3,a3,-696 # 7412 <__sfputs_r>
|
|
76d2: 8626 mv a2,s1
|
|
76d4: 080c addi a1,sp,16
|
|
76d6: 854e mv a0,s3
|
|
76d8: 2a01 jal 77e8 <_printf_i>
|
|
76da: bfe1 j 76b2 <_vfiprintf_r+0x25e>
|
|
|
|
000076dc <_printf_common>:
|
|
76dc: 7179 addi sp,sp,-48
|
|
76de: ca56 sw s5,20(sp)
|
|
76e0: 499c lw a5,16(a1)
|
|
76e2: 8aba mv s5,a4
|
|
76e4: 4598 lw a4,8(a1)
|
|
76e6: d422 sw s0,40(sp)
|
|
76e8: d226 sw s1,36(sp)
|
|
76ea: ce4e sw s3,28(sp)
|
|
76ec: cc52 sw s4,24(sp)
|
|
76ee: d606 sw ra,44(sp)
|
|
76f0: d04a sw s2,32(sp)
|
|
76f2: c85a sw s6,16(sp)
|
|
76f4: c65e sw s7,12(sp)
|
|
76f6: 89aa mv s3,a0
|
|
76f8: 842e mv s0,a1
|
|
76fa: 84b2 mv s1,a2
|
|
76fc: 8a36 mv s4,a3
|
|
76fe: 00e7d363 bge a5,a4,7704 <_printf_common+0x28>
|
|
7702: 87ba mv a5,a4
|
|
7704: c09c sw a5,0(s1)
|
|
7706: 04344703 lbu a4,67(s0)
|
|
770a: c319 beqz a4,7710 <_printf_common+0x34>
|
|
770c: 0785 addi a5,a5,1
|
|
770e: c09c sw a5,0(s1)
|
|
7710: 401c lw a5,0(s0)
|
|
7712: 0207f793 andi a5,a5,32
|
|
7716: c781 beqz a5,771e <_printf_common+0x42>
|
|
7718: 409c lw a5,0(s1)
|
|
771a: 0789 addi a5,a5,2
|
|
771c: c09c sw a5,0(s1)
|
|
771e: 00042903 lw s2,0(s0)
|
|
7722: 00697913 andi s2,s2,6
|
|
7726: 00091a63 bnez s2,773a <_printf_common+0x5e>
|
|
772a: 01940b13 addi s6,s0,25
|
|
772e: 5bfd li s7,-1
|
|
7730: 445c lw a5,12(s0)
|
|
7732: 4098 lw a4,0(s1)
|
|
7734: 8f99 sub a5,a5,a4
|
|
7736: 04f94c63 blt s2,a5,778e <_printf_common+0xb2>
|
|
773a: 401c lw a5,0(s0)
|
|
773c: 04344683 lbu a3,67(s0)
|
|
7740: 0207f793 andi a5,a5,32
|
|
7744: 00d036b3 snez a3,a3
|
|
7748: eba5 bnez a5,77b8 <_printf_common+0xdc>
|
|
774a: 04340613 addi a2,s0,67
|
|
774e: 85d2 mv a1,s4
|
|
7750: 854e mv a0,s3
|
|
7752: 9a82 jalr s5
|
|
7754: 57fd li a5,-1
|
|
7756: 04f50363 beq a0,a5,779c <_printf_common+0xc0>
|
|
775a: 401c lw a5,0(s0)
|
|
775c: 4611 li a2,4
|
|
775e: 4098 lw a4,0(s1)
|
|
7760: 8b99 andi a5,a5,6
|
|
7762: 4454 lw a3,12(s0)
|
|
7764: 4481 li s1,0
|
|
7766: 00c79763 bne a5,a2,7774 <_printf_common+0x98>
|
|
776a: 40e684b3 sub s1,a3,a4
|
|
776e: 0004d363 bgez s1,7774 <_printf_common+0x98>
|
|
7772: 4481 li s1,0
|
|
7774: 441c lw a5,8(s0)
|
|
7776: 4818 lw a4,16(s0)
|
|
7778: 00f75463 bge a4,a5,7780 <_printf_common+0xa4>
|
|
777c: 8f99 sub a5,a5,a4
|
|
777e: 94be add s1,s1,a5
|
|
7780: 4901 li s2,0
|
|
7782: 0469 addi s0,s0,26
|
|
7784: 5b7d li s6,-1
|
|
7786: 05249863 bne s1,s2,77d6 <_printf_common+0xfa>
|
|
778a: 4501 li a0,0
|
|
778c: a809 j 779e <_printf_common+0xc2>
|
|
778e: 4685 li a3,1
|
|
7790: 865a mv a2,s6
|
|
7792: 85d2 mv a1,s4
|
|
7794: 854e mv a0,s3
|
|
7796: 9a82 jalr s5
|
|
7798: 01751e63 bne a0,s7,77b4 <_printf_common+0xd8>
|
|
779c: 557d li a0,-1
|
|
779e: 50b2 lw ra,44(sp)
|
|
77a0: 5422 lw s0,40(sp)
|
|
77a2: 5492 lw s1,36(sp)
|
|
77a4: 5902 lw s2,32(sp)
|
|
77a6: 49f2 lw s3,28(sp)
|
|
77a8: 4a62 lw s4,24(sp)
|
|
77aa: 4ad2 lw s5,20(sp)
|
|
77ac: 4b42 lw s6,16(sp)
|
|
77ae: 4bb2 lw s7,12(sp)
|
|
77b0: 6145 addi sp,sp,48
|
|
77b2: 8082 ret
|
|
77b4: 0905 addi s2,s2,1
|
|
77b6: bfad j 7730 <_printf_common+0x54>
|
|
77b8: 00d40733 add a4,s0,a3
|
|
77bc: 03000613 li a2,48
|
|
77c0: 04c701a3 sb a2,67(a4)
|
|
77c4: 04544703 lbu a4,69(s0)
|
|
77c8: 00168793 addi a5,a3,1
|
|
77cc: 97a2 add a5,a5,s0
|
|
77ce: 0689 addi a3,a3,2
|
|
77d0: 04e781a3 sb a4,67(a5)
|
|
77d4: bf9d j 774a <_printf_common+0x6e>
|
|
77d6: 4685 li a3,1
|
|
77d8: 8622 mv a2,s0
|
|
77da: 85d2 mv a1,s4
|
|
77dc: 854e mv a0,s3
|
|
77de: 9a82 jalr s5
|
|
77e0: fb650ee3 beq a0,s6,779c <_printf_common+0xc0>
|
|
77e4: 0905 addi s2,s2,1
|
|
77e6: b745 j 7786 <_printf_common+0xaa>
|
|
|
|
000077e8 <_printf_i>:
|
|
77e8: 7179 addi sp,sp,-48
|
|
77ea: d422 sw s0,40(sp)
|
|
77ec: d226 sw s1,36(sp)
|
|
77ee: d04a sw s2,32(sp)
|
|
77f0: ce4e sw s3,28(sp)
|
|
77f2: d606 sw ra,44(sp)
|
|
77f4: cc52 sw s4,24(sp)
|
|
77f6: ca56 sw s5,20(sp)
|
|
77f8: c85a sw s6,16(sp)
|
|
77fa: 89b6 mv s3,a3
|
|
77fc: 2d94 lbu a3,24(a1)
|
|
77fe: 06900793 li a5,105
|
|
7802: 8932 mv s2,a2
|
|
7804: 84aa mv s1,a0
|
|
7806: 842e mv s0,a1
|
|
7808: 04358613 addi a2,a1,67
|
|
780c: 02f68d63 beq a3,a5,7846 <_printf_i+0x5e>
|
|
7810: 06d7e263 bltu a5,a3,7874 <_printf_i+0x8c>
|
|
7814: 05800793 li a5,88
|
|
7818: 18f68663 beq a3,a5,79a4 <_printf_i+0x1bc>
|
|
781c: 00d7ed63 bltu a5,a3,7836 <_printf_i+0x4e>
|
|
7820: 20068e63 beqz a3,7a3c <_printf_i+0x254>
|
|
7824: 04300793 li a5,67
|
|
7828: 0af68e63 beq a3,a5,78e4 <_printf_i+0xfc>
|
|
782c: 04240a93 addi s5,s0,66
|
|
7830: 04d40123 sb a3,66(s0)
|
|
7834: a0c9 j 78f6 <_printf_i+0x10e>
|
|
7836: 06300793 li a5,99
|
|
783a: 0af68563 beq a3,a5,78e4 <_printf_i+0xfc>
|
|
783e: 06400793 li a5,100
|
|
7842: fef695e3 bne a3,a5,782c <_printf_i+0x44>
|
|
7846: 401c lw a5,0(s0)
|
|
7848: 4308 lw a0,0(a4)
|
|
784a: 0807f693 andi a3,a5,128
|
|
784e: 00450593 addi a1,a0,4
|
|
7852: c6c5 beqz a3,78fa <_printf_i+0x112>
|
|
7854: 411c lw a5,0(a0)
|
|
7856: c30c sw a1,0(a4)
|
|
7858: 0007d863 bgez a5,7868 <_printf_i+0x80>
|
|
785c: 02d00713 li a4,45
|
|
7860: 40f007b3 neg a5,a5
|
|
7864: 04e401a3 sb a4,67(s0)
|
|
7868: 00001697 auipc a3,0x1
|
|
786c: fc468693 addi a3,a3,-60 # 882c <__sf_fake_stdout+0x34>
|
|
7870: 4729 li a4,10
|
|
7872: a865 j 792a <_printf_i+0x142>
|
|
7874: 07000793 li a5,112
|
|
7878: 16f68263 beq a3,a5,79dc <_printf_i+0x1f4>
|
|
787c: 02d7e563 bltu a5,a3,78a6 <_printf_i+0xbe>
|
|
7880: 06e00793 li a5,110
|
|
7884: 18f68963 beq a3,a5,7a16 <_printf_i+0x22e>
|
|
7888: 06f00793 li a5,111
|
|
788c: faf690e3 bne a3,a5,782c <_printf_i+0x44>
|
|
7890: 400c lw a1,0(s0)
|
|
7892: 431c lw a5,0(a4)
|
|
7894: 0805f813 andi a6,a1,128
|
|
7898: 00478513 addi a0,a5,4
|
|
789c: 06080763 beqz a6,790a <_printf_i+0x122>
|
|
78a0: c308 sw a0,0(a4)
|
|
78a2: 439c lw a5,0(a5)
|
|
78a4: a885 j 7914 <_printf_i+0x12c>
|
|
78a6: 07500793 li a5,117
|
|
78aa: fef683e3 beq a3,a5,7890 <_printf_i+0xa8>
|
|
78ae: 07800793 li a5,120
|
|
78b2: 12f68963 beq a3,a5,79e4 <_printf_i+0x1fc>
|
|
78b6: 07300793 li a5,115
|
|
78ba: f6f699e3 bne a3,a5,782c <_printf_i+0x44>
|
|
78be: 431c lw a5,0(a4)
|
|
78c0: 41d0 lw a2,4(a1)
|
|
78c2: 4581 li a1,0
|
|
78c4: 00478693 addi a3,a5,4
|
|
78c8: c314 sw a3,0(a4)
|
|
78ca: 0007aa83 lw s5,0(a5)
|
|
78ce: 8556 mv a0,s5
|
|
78d0: 268d jal 7c32 <memchr>
|
|
78d2: c501 beqz a0,78da <_printf_i+0xf2>
|
|
78d4: 41550533 sub a0,a0,s5
|
|
78d8: c048 sw a0,4(s0)
|
|
78da: 405c lw a5,4(s0)
|
|
78dc: c81c sw a5,16(s0)
|
|
78de: 040401a3 sb zero,67(s0)
|
|
78e2: a861 j 797a <_printf_i+0x192>
|
|
78e4: 431c lw a5,0(a4)
|
|
78e6: 04240a93 addi s5,s0,66
|
|
78ea: 00478693 addi a3,a5,4
|
|
78ee: 439c lw a5,0(a5)
|
|
78f0: c314 sw a3,0(a4)
|
|
78f2: 04f40123 sb a5,66(s0)
|
|
78f6: 4785 li a5,1
|
|
78f8: b7d5 j 78dc <_printf_i+0xf4>
|
|
78fa: 0407f693 andi a3,a5,64
|
|
78fe: 411c lw a5,0(a0)
|
|
7900: c30c sw a1,0(a4)
|
|
7902: dab9 beqz a3,7858 <_printf_i+0x70>
|
|
7904: 07c2 slli a5,a5,0x10
|
|
7906: 87c1 srai a5,a5,0x10
|
|
7908: bf81 j 7858 <_printf_i+0x70>
|
|
790a: 0405f593 andi a1,a1,64
|
|
790e: c308 sw a0,0(a4)
|
|
7910: d9c9 beqz a1,78a2 <_printf_i+0xba>
|
|
7912: 239e lhu a5,0(a5)
|
|
7914: 06f00713 li a4,111
|
|
7918: 0ee68763 beq a3,a4,7a06 <_printf_i+0x21e>
|
|
791c: 00001697 auipc a3,0x1
|
|
7920: f1068693 addi a3,a3,-240 # 882c <__sf_fake_stdout+0x34>
|
|
7924: 4729 li a4,10
|
|
7926: 040401a3 sb zero,67(s0)
|
|
792a: 404c lw a1,4(s0)
|
|
792c: c40c sw a1,8(s0)
|
|
792e: 0005c563 bltz a1,7938 <_printf_i+0x150>
|
|
7932: 4008 lw a0,0(s0)
|
|
7934: 996d andi a0,a0,-5
|
|
7936: c008 sw a0,0(s0)
|
|
7938: e399 bnez a5,793e <_printf_i+0x156>
|
|
793a: 8ab2 mv s5,a2
|
|
793c: cd89 beqz a1,7956 <_printf_i+0x16e>
|
|
793e: 8ab2 mv s5,a2
|
|
7940: 02e7f5b3 remu a1,a5,a4
|
|
7944: 1afd addi s5,s5,-1
|
|
7946: 95b6 add a1,a1,a3
|
|
7948: 218c lbu a1,0(a1)
|
|
794a: 00ba8023 sb a1,0(s5)
|
|
794e: 02e7d5b3 divu a1,a5,a4
|
|
7952: 0ce7f063 bgeu a5,a4,7a12 <_printf_i+0x22a>
|
|
7956: 47a1 li a5,8
|
|
7958: 00f71e63 bne a4,a5,7974 <_printf_i+0x18c>
|
|
795c: 401c lw a5,0(s0)
|
|
795e: 8b85 andi a5,a5,1
|
|
7960: cb91 beqz a5,7974 <_printf_i+0x18c>
|
|
7962: 4058 lw a4,4(s0)
|
|
7964: 481c lw a5,16(s0)
|
|
7966: 00e7c763 blt a5,a4,7974 <_printf_i+0x18c>
|
|
796a: 03000793 li a5,48
|
|
796e: fefa8fa3 sb a5,-1(s5)
|
|
7972: 1afd addi s5,s5,-1
|
|
7974: 41560633 sub a2,a2,s5
|
|
7978: c810 sw a2,16(s0)
|
|
797a: 874e mv a4,s3
|
|
797c: 86ca mv a3,s2
|
|
797e: 0070 addi a2,sp,12
|
|
7980: 85a2 mv a1,s0
|
|
7982: 8526 mv a0,s1
|
|
7984: d59ff0ef jal ra,76dc <_printf_common>
|
|
7988: 5a7d li s4,-1
|
|
798a: 0b451d63 bne a0,s4,7a44 <_printf_i+0x25c>
|
|
798e: 557d li a0,-1
|
|
7990: 50b2 lw ra,44(sp)
|
|
7992: 5422 lw s0,40(sp)
|
|
7994: 5492 lw s1,36(sp)
|
|
7996: 5902 lw s2,32(sp)
|
|
7998: 49f2 lw s3,28(sp)
|
|
799a: 4a62 lw s4,24(sp)
|
|
799c: 4ad2 lw s5,20(sp)
|
|
799e: 4b42 lw s6,16(sp)
|
|
79a0: 6145 addi sp,sp,48
|
|
79a2: 8082 ret
|
|
79a4: 04d582a3 sb a3,69(a1)
|
|
79a8: 00001697 auipc a3,0x1
|
|
79ac: e8468693 addi a3,a3,-380 # 882c <__sf_fake_stdout+0x34>
|
|
79b0: 400c lw a1,0(s0)
|
|
79b2: 4308 lw a0,0(a4)
|
|
79b4: 0805f813 andi a6,a1,128
|
|
79b8: 411c lw a5,0(a0)
|
|
79ba: 0511 addi a0,a0,4
|
|
79bc: 02080d63 beqz a6,79f6 <_printf_i+0x20e>
|
|
79c0: c308 sw a0,0(a4)
|
|
79c2: 0015f713 andi a4,a1,1
|
|
79c6: c701 beqz a4,79ce <_printf_i+0x1e6>
|
|
79c8: 0205e593 ori a1,a1,32
|
|
79cc: c00c sw a1,0(s0)
|
|
79ce: 4741 li a4,16
|
|
79d0: fbb9 bnez a5,7926 <_printf_i+0x13e>
|
|
79d2: 400c lw a1,0(s0)
|
|
79d4: fdf5f593 andi a1,a1,-33
|
|
79d8: c00c sw a1,0(s0)
|
|
79da: b7b1 j 7926 <_printf_i+0x13e>
|
|
79dc: 419c lw a5,0(a1)
|
|
79de: 0207e793 ori a5,a5,32
|
|
79e2: c19c sw a5,0(a1)
|
|
79e4: 07800793 li a5,120
|
|
79e8: 04f402a3 sb a5,69(s0)
|
|
79ec: 00001697 auipc a3,0x1
|
|
79f0: e5468693 addi a3,a3,-428 # 8840 <__sf_fake_stdout+0x48>
|
|
79f4: bf75 j 79b0 <_printf_i+0x1c8>
|
|
79f6: 0405f813 andi a6,a1,64
|
|
79fa: c308 sw a0,0(a4)
|
|
79fc: fc0803e3 beqz a6,79c2 <_printf_i+0x1da>
|
|
7a00: 07c2 slli a5,a5,0x10
|
|
7a02: 83c1 srli a5,a5,0x10
|
|
7a04: bf7d j 79c2 <_printf_i+0x1da>
|
|
7a06: 00001697 auipc a3,0x1
|
|
7a0a: e2668693 addi a3,a3,-474 # 882c <__sf_fake_stdout+0x34>
|
|
7a0e: 4721 li a4,8
|
|
7a10: bf19 j 7926 <_printf_i+0x13e>
|
|
7a12: 87ae mv a5,a1
|
|
7a14: b735 j 7940 <_printf_i+0x158>
|
|
7a16: 4194 lw a3,0(a1)
|
|
7a18: 431c lw a5,0(a4)
|
|
7a1a: 49cc lw a1,20(a1)
|
|
7a1c: 0806f813 andi a6,a3,128
|
|
7a20: 00478513 addi a0,a5,4
|
|
7a24: 00080663 beqz a6,7a30 <_printf_i+0x248>
|
|
7a28: c308 sw a0,0(a4)
|
|
7a2a: 439c lw a5,0(a5)
|
|
7a2c: c38c sw a1,0(a5)
|
|
7a2e: a039 j 7a3c <_printf_i+0x254>
|
|
7a30: c308 sw a0,0(a4)
|
|
7a32: 0406f693 andi a3,a3,64
|
|
7a36: 439c lw a5,0(a5)
|
|
7a38: daf5 beqz a3,7a2c <_printf_i+0x244>
|
|
7a3a: a38e sh a1,0(a5)
|
|
7a3c: 00042823 sw zero,16(s0)
|
|
7a40: 8ab2 mv s5,a2
|
|
7a42: bf25 j 797a <_printf_i+0x192>
|
|
7a44: 4814 lw a3,16(s0)
|
|
7a46: 8656 mv a2,s5
|
|
7a48: 85ca mv a1,s2
|
|
7a4a: 8526 mv a0,s1
|
|
7a4c: 9982 jalr s3
|
|
7a4e: f54500e3 beq a0,s4,798e <_printf_i+0x1a6>
|
|
7a52: 401c lw a5,0(s0)
|
|
7a54: 8b89 andi a5,a5,2
|
|
7a56: e78d bnez a5,7a80 <_printf_i+0x298>
|
|
7a58: 47b2 lw a5,12(sp)
|
|
7a5a: 4448 lw a0,12(s0)
|
|
7a5c: f2f55ae3 bge a0,a5,7990 <_printf_i+0x1a8>
|
|
7a60: 853e mv a0,a5
|
|
7a62: b73d j 7990 <_printf_i+0x1a8>
|
|
7a64: 4685 li a3,1
|
|
7a66: 8656 mv a2,s5
|
|
7a68: 85ca mv a1,s2
|
|
7a6a: 8526 mv a0,s1
|
|
7a6c: 9982 jalr s3
|
|
7a6e: f36500e3 beq a0,s6,798e <_printf_i+0x1a6>
|
|
7a72: 0a05 addi s4,s4,1
|
|
7a74: 445c lw a5,12(s0)
|
|
7a76: 4732 lw a4,12(sp)
|
|
7a78: 8f99 sub a5,a5,a4
|
|
7a7a: fefa45e3 blt s4,a5,7a64 <_printf_i+0x27c>
|
|
7a7e: bfe9 j 7a58 <_printf_i+0x270>
|
|
7a80: 4a01 li s4,0
|
|
7a82: 01940a93 addi s5,s0,25
|
|
7a86: 5b7d li s6,-1
|
|
7a88: b7f5 j 7a74 <_printf_i+0x28c>
|
|
|
|
00007a8a <_sbrk_r>:
|
|
7a8a: 1141 addi sp,sp,-16
|
|
7a8c: c422 sw s0,8(sp)
|
|
7a8e: 842a mv s0,a0
|
|
7a90: 852e mv a0,a1
|
|
7a92: ba01a423 sw zero,-1112(gp) # 20000508 <errno>
|
|
7a96: c606 sw ra,12(sp)
|
|
7a98: 9e6fa0ef jal ra,1c7e <_sbrk>
|
|
7a9c: 57fd li a5,-1
|
|
7a9e: 00f51763 bne a0,a5,7aac <_sbrk_r+0x22>
|
|
7aa2: ba818793 addi a5,gp,-1112 # 20000508 <errno>
|
|
7aa6: 439c lw a5,0(a5)
|
|
7aa8: c391 beqz a5,7aac <_sbrk_r+0x22>
|
|
7aaa: c01c sw a5,0(s0)
|
|
7aac: 40b2 lw ra,12(sp)
|
|
7aae: 4422 lw s0,8(sp)
|
|
7ab0: 0141 addi sp,sp,16
|
|
7ab2: 8082 ret
|
|
|
|
00007ab4 <__sread>:
|
|
7ab4: 1141 addi sp,sp,-16
|
|
7ab6: c422 sw s0,8(sp)
|
|
7ab8: 842e mv s0,a1
|
|
7aba: 00e59583 lh a1,14(a1)
|
|
7abe: c606 sw ra,12(sp)
|
|
7ac0: 2435 jal 7cec <_read_r>
|
|
7ac2: 00054963 bltz a0,7ad4 <__sread+0x20>
|
|
7ac6: 487c lw a5,84(s0)
|
|
7ac8: 97aa add a5,a5,a0
|
|
7aca: c87c sw a5,84(s0)
|
|
7acc: 40b2 lw ra,12(sp)
|
|
7ace: 4422 lw s0,8(sp)
|
|
7ad0: 0141 addi sp,sp,16
|
|
7ad2: 8082 ret
|
|
7ad4: 245e lhu a5,12(s0)
|
|
7ad6: 777d lui a4,0xfffff
|
|
7ad8: 177d addi a4,a4,-1
|
|
7ada: 8ff9 and a5,a5,a4
|
|
7adc: a45e sh a5,12(s0)
|
|
7ade: b7fd j 7acc <__sread+0x18>
|
|
|
|
00007ae0 <__swrite>:
|
|
7ae0: 25de lhu a5,12(a1)
|
|
7ae2: 1101 addi sp,sp,-32
|
|
7ae4: cc22 sw s0,24(sp)
|
|
7ae6: ca26 sw s1,20(sp)
|
|
7ae8: c84a sw s2,16(sp)
|
|
7aea: c64e sw s3,12(sp)
|
|
7aec: ce06 sw ra,28(sp)
|
|
7aee: 1007f793 andi a5,a5,256
|
|
7af2: 84aa mv s1,a0
|
|
7af4: 842e mv s0,a1
|
|
7af6: 8932 mv s2,a2
|
|
7af8: 89b6 mv s3,a3
|
|
7afa: c791 beqz a5,7b06 <__swrite+0x26>
|
|
7afc: 00e59583 lh a1,14(a1)
|
|
7b00: 4689 li a3,2
|
|
7b02: 4601 li a2,0
|
|
7b04: 2209 jal 7c06 <_lseek_r>
|
|
7b06: 245e lhu a5,12(s0)
|
|
7b08: 777d lui a4,0xfffff
|
|
7b0a: 177d addi a4,a4,-1
|
|
7b0c: 8ff9 and a5,a5,a4
|
|
7b0e: a45e sh a5,12(s0)
|
|
7b10: 00e41583 lh a1,14(s0)
|
|
7b14: 4462 lw s0,24(sp)
|
|
7b16: 40f2 lw ra,28(sp)
|
|
7b18: 86ce mv a3,s3
|
|
7b1a: 864a mv a2,s2
|
|
7b1c: 49b2 lw s3,12(sp)
|
|
7b1e: 4942 lw s2,16(sp)
|
|
7b20: 8526 mv a0,s1
|
|
7b22: 44d2 lw s1,20(sp)
|
|
7b24: 6105 addi sp,sp,32
|
|
7b26: a825 j 7b5e <_write_r>
|
|
|
|
00007b28 <__sseek>:
|
|
7b28: 1141 addi sp,sp,-16
|
|
7b2a: c422 sw s0,8(sp)
|
|
7b2c: 842e mv s0,a1
|
|
7b2e: 00e59583 lh a1,14(a1)
|
|
7b32: c606 sw ra,12(sp)
|
|
7b34: 28c9 jal 7c06 <_lseek_r>
|
|
7b36: 57fd li a5,-1
|
|
7b38: 245a lhu a4,12(s0)
|
|
7b3a: 00f51a63 bne a0,a5,7b4e <__sseek+0x26>
|
|
7b3e: 77fd lui a5,0xfffff
|
|
7b40: 17fd addi a5,a5,-1
|
|
7b42: 8ff9 and a5,a5,a4
|
|
7b44: a45e sh a5,12(s0)
|
|
7b46: 40b2 lw ra,12(sp)
|
|
7b48: 4422 lw s0,8(sp)
|
|
7b4a: 0141 addi sp,sp,16
|
|
7b4c: 8082 ret
|
|
7b4e: 6785 lui a5,0x1
|
|
7b50: 8fd9 or a5,a5,a4
|
|
7b52: a45e sh a5,12(s0)
|
|
7b54: c868 sw a0,84(s0)
|
|
7b56: bfc5 j 7b46 <__sseek+0x1e>
|
|
|
|
00007b58 <__sclose>:
|
|
7b58: 00e59583 lh a1,14(a1)
|
|
7b5c: a805 j 7b8c <_close_r>
|
|
|
|
00007b5e <_write_r>:
|
|
7b5e: 1141 addi sp,sp,-16
|
|
7b60: c422 sw s0,8(sp)
|
|
7b62: 842a mv s0,a0
|
|
7b64: 852e mv a0,a1
|
|
7b66: 85b2 mv a1,a2
|
|
7b68: 8636 mv a2,a3
|
|
7b6a: ba01a423 sw zero,-1112(gp) # 20000508 <errno>
|
|
7b6e: c606 sw ra,12(sp)
|
|
7b70: 8d0fa0ef jal ra,1c40 <_write>
|
|
7b74: 57fd li a5,-1
|
|
7b76: 00f51763 bne a0,a5,7b84 <_write_r+0x26>
|
|
7b7a: ba818793 addi a5,gp,-1112 # 20000508 <errno>
|
|
7b7e: 439c lw a5,0(a5)
|
|
7b80: c391 beqz a5,7b84 <_write_r+0x26>
|
|
7b82: c01c sw a5,0(s0)
|
|
7b84: 40b2 lw ra,12(sp)
|
|
7b86: 4422 lw s0,8(sp)
|
|
7b88: 0141 addi sp,sp,16
|
|
7b8a: 8082 ret
|
|
|
|
00007b8c <_close_r>:
|
|
7b8c: 1141 addi sp,sp,-16
|
|
7b8e: c422 sw s0,8(sp)
|
|
7b90: 842a mv s0,a0
|
|
7b92: 852e mv a0,a1
|
|
7b94: ba01a423 sw zero,-1112(gp) # 20000508 <errno>
|
|
7b98: c606 sw ra,12(sp)
|
|
7b9a: 2a49 jal 7d2c <_close>
|
|
7b9c: 57fd li a5,-1
|
|
7b9e: 00f51763 bne a0,a5,7bac <_close_r+0x20>
|
|
7ba2: ba818793 addi a5,gp,-1112 # 20000508 <errno>
|
|
7ba6: 439c lw a5,0(a5)
|
|
7ba8: c391 beqz a5,7bac <_close_r+0x20>
|
|
7baa: c01c sw a5,0(s0)
|
|
7bac: 40b2 lw ra,12(sp)
|
|
7bae: 4422 lw s0,8(sp)
|
|
7bb0: 0141 addi sp,sp,16
|
|
7bb2: 8082 ret
|
|
|
|
00007bb4 <_fstat_r>:
|
|
7bb4: 1141 addi sp,sp,-16
|
|
7bb6: c422 sw s0,8(sp)
|
|
7bb8: 842a mv s0,a0
|
|
7bba: 852e mv a0,a1
|
|
7bbc: 85b2 mv a1,a2
|
|
7bbe: ba01a423 sw zero,-1112(gp) # 20000508 <errno>
|
|
7bc2: c606 sw ra,12(sp)
|
|
7bc4: 2a95 jal 7d38 <_fstat>
|
|
7bc6: 57fd li a5,-1
|
|
7bc8: 00f51763 bne a0,a5,7bd6 <_fstat_r+0x22>
|
|
7bcc: ba818793 addi a5,gp,-1112 # 20000508 <errno>
|
|
7bd0: 439c lw a5,0(a5)
|
|
7bd2: c391 beqz a5,7bd6 <_fstat_r+0x22>
|
|
7bd4: c01c sw a5,0(s0)
|
|
7bd6: 40b2 lw ra,12(sp)
|
|
7bd8: 4422 lw s0,8(sp)
|
|
7bda: 0141 addi sp,sp,16
|
|
7bdc: 8082 ret
|
|
|
|
00007bde <_isatty_r>:
|
|
7bde: 1141 addi sp,sp,-16
|
|
7be0: c422 sw s0,8(sp)
|
|
7be2: 842a mv s0,a0
|
|
7be4: 852e mv a0,a1
|
|
7be6: ba01a423 sw zero,-1112(gp) # 20000508 <errno>
|
|
7bea: c606 sw ra,12(sp)
|
|
7bec: 2aa1 jal 7d44 <_isatty>
|
|
7bee: 57fd li a5,-1
|
|
7bf0: 00f51763 bne a0,a5,7bfe <_isatty_r+0x20>
|
|
7bf4: ba818793 addi a5,gp,-1112 # 20000508 <errno>
|
|
7bf8: 439c lw a5,0(a5)
|
|
7bfa: c391 beqz a5,7bfe <_isatty_r+0x20>
|
|
7bfc: c01c sw a5,0(s0)
|
|
7bfe: 40b2 lw ra,12(sp)
|
|
7c00: 4422 lw s0,8(sp)
|
|
7c02: 0141 addi sp,sp,16
|
|
7c04: 8082 ret
|
|
|
|
00007c06 <_lseek_r>:
|
|
7c06: 1141 addi sp,sp,-16
|
|
7c08: c422 sw s0,8(sp)
|
|
7c0a: 842a mv s0,a0
|
|
7c0c: 852e mv a0,a1
|
|
7c0e: 85b2 mv a1,a2
|
|
7c10: 8636 mv a2,a3
|
|
7c12: ba01a423 sw zero,-1112(gp) # 20000508 <errno>
|
|
7c16: c606 sw ra,12(sp)
|
|
7c18: 2a25 jal 7d50 <_lseek>
|
|
7c1a: 57fd li a5,-1
|
|
7c1c: 00f51763 bne a0,a5,7c2a <_lseek_r+0x24>
|
|
7c20: ba818793 addi a5,gp,-1112 # 20000508 <errno>
|
|
7c24: 439c lw a5,0(a5)
|
|
7c26: c391 beqz a5,7c2a <_lseek_r+0x24>
|
|
7c28: c01c sw a5,0(s0)
|
|
7c2a: 40b2 lw ra,12(sp)
|
|
7c2c: 4422 lw s0,8(sp)
|
|
7c2e: 0141 addi sp,sp,16
|
|
7c30: 8082 ret
|
|
|
|
00007c32 <memchr>:
|
|
7c32: 0ff5f593 andi a1,a1,255
|
|
7c36: 962a add a2,a2,a0
|
|
7c38: 00c51463 bne a0,a2,7c40 <memchr+0xe>
|
|
7c3c: 4501 li a0,0
|
|
7c3e: 8082 ret
|
|
7c40: 211c lbu a5,0(a0)
|
|
7c42: feb78ee3 beq a5,a1,7c3e <memchr+0xc>
|
|
7c46: 0505 addi a0,a0,1
|
|
7c48: bfc5 j 7c38 <memchr+0x6>
|
|
|
|
00007c4a <memmove>:
|
|
7c4a: 04a5f163 bgeu a1,a0,7c8c <memmove+0x42>
|
|
7c4e: 00c586b3 add a3,a1,a2
|
|
7c52: 02d57d63 bgeu a0,a3,7c8c <memmove+0x42>
|
|
7c56: fff64593 not a1,a2
|
|
7c5a: 4781 li a5,0
|
|
7c5c: 17fd addi a5,a5,-1
|
|
7c5e: 00f59363 bne a1,a5,7c64 <memmove+0x1a>
|
|
7c62: 8082 ret
|
|
7c64: 00f68733 add a4,a3,a5
|
|
7c68: 00074803 lbu a6,0(a4) # fffff000 <_eusrstack+0xdfffa000>
|
|
7c6c: 00c78733 add a4,a5,a2
|
|
7c70: 972a add a4,a4,a0
|
|
7c72: 01070023 sb a6,0(a4)
|
|
7c76: b7dd j 7c5c <memmove+0x12>
|
|
7c78: 00f58733 add a4,a1,a5
|
|
7c7c: 2314 lbu a3,0(a4)
|
|
7c7e: 00f50733 add a4,a0,a5
|
|
7c82: 0785 addi a5,a5,1
|
|
7c84: a314 sb a3,0(a4)
|
|
7c86: fef619e3 bne a2,a5,7c78 <memmove+0x2e>
|
|
7c8a: 8082 ret
|
|
7c8c: 4781 li a5,0
|
|
7c8e: bfe5 j 7c86 <memmove+0x3c>
|
|
|
|
00007c90 <__malloc_lock>:
|
|
7c90: 8082 ret
|
|
|
|
00007c92 <__malloc_unlock>:
|
|
7c92: 8082 ret
|
|
|
|
00007c94 <_realloc_r>:
|
|
7c94: e581 bnez a1,7c9c <_realloc_r+0x8>
|
|
7c96: 85b2 mv a1,a2
|
|
7c98: b2aff06f j 6fc2 <_malloc_r>
|
|
7c9c: 1101 addi sp,sp,-32
|
|
7c9e: cc22 sw s0,24(sp)
|
|
7ca0: ce06 sw ra,28(sp)
|
|
7ca2: ca26 sw s1,20(sp)
|
|
7ca4: c84a sw s2,16(sp)
|
|
7ca6: c64e sw s3,12(sp)
|
|
7ca8: 8432 mv s0,a2
|
|
7caa: ee01 bnez a2,7cc2 <_realloc_r+0x2e>
|
|
7cac: a6eff0ef jal ra,6f1a <_free_r>
|
|
7cb0: 4901 li s2,0
|
|
7cb2: 40f2 lw ra,28(sp)
|
|
7cb4: 4462 lw s0,24(sp)
|
|
7cb6: 854a mv a0,s2
|
|
7cb8: 44d2 lw s1,20(sp)
|
|
7cba: 4942 lw s2,16(sp)
|
|
7cbc: 49b2 lw s3,12(sp)
|
|
7cbe: 6105 addi sp,sp,32
|
|
7cc0: 8082 ret
|
|
7cc2: 84ae mv s1,a1
|
|
7cc4: 89aa mv s3,a0
|
|
7cc6: 2889 jal 7d18 <_malloc_usable_size_r>
|
|
7cc8: 8926 mv s2,s1
|
|
7cca: fe8574e3 bgeu a0,s0,7cb2 <_realloc_r+0x1e>
|
|
7cce: 85a2 mv a1,s0
|
|
7cd0: 854e mv a0,s3
|
|
7cd2: af0ff0ef jal ra,6fc2 <_malloc_r>
|
|
7cd6: 892a mv s2,a0
|
|
7cd8: dd69 beqz a0,7cb2 <_realloc_r+0x1e>
|
|
7cda: 85a6 mv a1,s1
|
|
7cdc: 8622 mv a2,s0
|
|
7cde: 8dbfe0ef jal ra,65b8 <memcpy>
|
|
7ce2: 85a6 mv a1,s1
|
|
7ce4: 854e mv a0,s3
|
|
7ce6: a34ff0ef jal ra,6f1a <_free_r>
|
|
7cea: b7e1 j 7cb2 <_realloc_r+0x1e>
|
|
|
|
00007cec <_read_r>:
|
|
7cec: 1141 addi sp,sp,-16
|
|
7cee: c422 sw s0,8(sp)
|
|
7cf0: 842a mv s0,a0
|
|
7cf2: 852e mv a0,a1
|
|
7cf4: 85b2 mv a1,a2
|
|
7cf6: 8636 mv a2,a3
|
|
7cf8: ba01a423 sw zero,-1112(gp) # 20000508 <errno>
|
|
7cfc: c606 sw ra,12(sp)
|
|
7cfe: 28b9 jal 7d5c <_read>
|
|
7d00: 57fd li a5,-1
|
|
7d02: 00f51763 bne a0,a5,7d10 <_read_r+0x24>
|
|
7d06: ba818793 addi a5,gp,-1112 # 20000508 <errno>
|
|
7d0a: 439c lw a5,0(a5)
|
|
7d0c: c391 beqz a5,7d10 <_read_r+0x24>
|
|
7d0e: c01c sw a5,0(s0)
|
|
7d10: 40b2 lw ra,12(sp)
|
|
7d12: 4422 lw s0,8(sp)
|
|
7d14: 0141 addi sp,sp,16
|
|
7d16: 8082 ret
|
|
|
|
00007d18 <_malloc_usable_size_r>:
|
|
7d18: ffc5a783 lw a5,-4(a1)
|
|
7d1c: ffc78513 addi a0,a5,-4 # ffc <TIM_ITConfig+0x2>
|
|
7d20: 0007d563 bgez a5,7d2a <_malloc_usable_size_r+0x12>
|
|
7d24: 95aa add a1,a1,a0
|
|
7d26: 419c lw a5,0(a1)
|
|
7d28: 953e add a0,a0,a5
|
|
7d2a: 8082 ret
|
|
|
|
00007d2c <_close>:
|
|
7d2c: 05800793 li a5,88
|
|
7d30: baf1a423 sw a5,-1112(gp) # 20000508 <errno>
|
|
7d34: 557d li a0,-1
|
|
7d36: 8082 ret
|
|
|
|
00007d38 <_fstat>:
|
|
7d38: 05800793 li a5,88
|
|
7d3c: baf1a423 sw a5,-1112(gp) # 20000508 <errno>
|
|
7d40: 557d li a0,-1
|
|
7d42: 8082 ret
|
|
|
|
00007d44 <_isatty>:
|
|
7d44: 05800793 li a5,88
|
|
7d48: baf1a423 sw a5,-1112(gp) # 20000508 <errno>
|
|
7d4c: 4501 li a0,0
|
|
7d4e: 8082 ret
|
|
|
|
00007d50 <_lseek>:
|
|
7d50: 05800793 li a5,88
|
|
7d54: baf1a423 sw a5,-1112(gp) # 20000508 <errno>
|
|
7d58: 557d li a0,-1
|
|
7d5a: 8082 ret
|
|
|
|
00007d5c <_read>:
|
|
7d5c: 05800793 li a5,88
|
|
7d60: baf1a423 sw a5,-1112(gp) # 20000508 <errno>
|
|
7d64: 557d li a0,-1
|
|
7d66: 8082 ret
|
|
7d68: 74737953 0x74737953
|
|
7d6c: 6d65 lui s10,0x19
|
|
7d6e: 3a6b6c43 fmadd.d fs8,fs6,ft6,ft7,unknown
|
|
7d72: 6425 lui s0,0x9
|
|
7d74: 0a0d addi s4,s4,3
|
|
7d76: 0000 unimp
|
|
7d78: 70696843 fmadd.s fa6,fs2,ft6,fa4,unknown
|
|
7d7c: 4449 li s0,18
|
|
7d7e: 253a lhu a4,10(a0)
|
|
7d80: 3830 lbu a2,19(s0)
|
|
7d82: 0d78 addi a4,sp,668
|
|
7d84: 000a c.slli zero,0x2
|
|
7d86: 0000 unimp
|
|
7d88: 696c6143 fmadd.s ft2,fs8,fs6,fa3,unknown
|
|
7d8c: 7262 flw ft4,56(sp)
|
|
7d8e: 7461 lui s0,0xffff8
|
|
7d90: 6974 flw fa3,84(a0)
|
|
7d92: 565f6e6f jal t3,feaf6 <_data_lma+0xf62a2>
|
|
7d96: 6c61 lui s8,0x18
|
|
7d98: 3a20 lbu s0,19(a2)
|
|
7d9a: 2520 lbu s0,10(a0)
|
|
7d9c: 0a64 addi s1,sp,284
|
|
7d9e: 0000 unimp
|
|
7da0: 7620 flw fs0,104(a2)
|
|
7da2: 2074756f jal a0,4f7a8 <_data_lma+0x46f54>
|
|
7da6: 6f6c flw fa1,92(a4)
|
|
7da8: 31312077 0x31312077
|
|
7dac: 2056 lhu a3,4(s0)
|
|
7dae: 0000 unimp
|
|
7db0: cccd beqz s1,7e6a <mosTemperADC+0x52>
|
|
7db2: 3d4c lbu a1,29(a0)
|
|
7db4: 3f733333 0x3f733333
|
|
7db8: 0000 unimp
|
|
7dba: 43f0 lw a2,68(a5)
|
|
7dbc: 0000 unimp
|
|
7dbe: 0000 unimp
|
|
7dc0: 999a add s3,s3,t1
|
|
7dc2: 9999 andi a1,a1,-26
|
|
7dc4: 9999 andi a1,a1,-26
|
|
7dc6: 3fa9 jal 7d20 <_malloc_usable_size_r+0x8>
|
|
7dc8: 6666 flw fa2,88(sp)
|
|
7dca: 6666 flw fa2,88(sp)
|
|
7dcc: 6666 flw fa2,88(sp)
|
|
7dce: 3fee lhu a1,62(a5)
|
|
7dd0: 6e69 lui t3,0x1a
|
|
7dd2: 7420 flw fs0,104(s0)
|
|
7dd4: 6d69 lui s10,0x1a
|
|
7dd6: 2031 jal 7de2 <_read+0x86>
|
|
7dd8: 7269 lui tp,0xffffa
|
|
7dda: 2071 jal 7e66 <mosTemperADC+0x4e>
|
|
7ddc: 0000 unimp
|
|
7dde: 0000 unimp
|
|
7de0: f000 fsw fs0,32(s0)
|
|
7de2: 457f 0x457f
|
|
...
|
|
7dec: 0000 unimp
|
|
7dee: 4004 lw s1,0(s0)
|
|
7df0: 0000 unimp
|
|
7df2: 0000 unimp
|
|
7df4: 0000 unimp
|
|
7df6: 4020 lw s0,64(s0)
|
|
7df8: 0000 unimp
|
|
7dfa: 0000 unimp
|
|
7dfc: 0000 unimp
|
|
7dfe: 3fe0 lbu s0,31(a5)
|
|
7e00: 0000 unimp
|
|
7e02: 0000 unimp
|
|
7e04: 0000 unimp
|
|
7e06: 4034 lw a3,64(s0)
|
|
7e08: 0000 unimp
|
|
7e0a: 0000 unimp
|
|
7e0c: 403646cf fnmadd.s fa3,fa2,ft3,fs0,rmm
|
|
7e10: 0000 unimp
|
|
7e12: 0000 unimp
|
|
7e14: 0000 unimp
|
|
7e16: 4026 0x4026
|
|
|
|
00007e18 <mosTemperADC>:
|
|
7e18: 131d 130f 1302 12f4 12e6 12d7 12c8 12b9 ................
|
|
7e28: 12aa 129a 128a 127a 126a 1259 1248 1237 ......z.j.Y.H.7.
|
|
7e38: 1225 1213 1201 11ee 11db 11c8 11b5 11a1 %...............
|
|
7e48: 118d 1179 1164 114f 113a 1125 110f 10f9 ..y.d.O.:.%.....
|
|
7e58: 10e3 10cc 10b5 109e 1087 106f 1057 103f ..........o.W.?.
|
|
7e68: 1026 100d 0ff4 0fdb 0fc2 0fa8 0f8e 0f74 &.............t.
|
|
7e78: 0f59 0f3f 0f24 0f09 0eed 0ed2 0eb6 0e9a Y.?.$...........
|
|
7e88: 0e7e 0e62 0e46 0e29 0e0c 0df0 0dd3 0db6 ~.b.F.).........
|
|
7e98: 0d98 0d7b 0d5e 0d40 0d22 0d05 0ce7 0cc9 ..{.^.@.".......
|
|
7ea8: 0cab 0c8d 0c6f 0c51 0c33 0c15 0bf7 0bd9 ....o.Q.3.......
|
|
7eb8: 0bbb 0b9c 0b7e 0b60 0b42 0b24 0b06 0ae8 ....~.`.B.$.....
|
|
7ec8: 0aca 0aad 0a8f 0a71 0a54 0a36 0a19 09fc ......q.T.6.....
|
|
7ed8: 09df 09c2 09a5 0988 096c 094f 0933 0917 ........l.O.3...
|
|
7ee8: 08fb 08df 08c3 08a8 088d 0872 0857 083c ..........r.W.<.
|
|
7ef8: 0821 0807 07ed 07d3 07b9 07a0 0786 076d !.............m.
|
|
7f08: 0754 073c 0723 070b 06f3 06db 06c4 06ad T.<.#...........
|
|
7f18: 0696 067f 0668 0652 063c 0626 0610 05fb ....h.R.<.&.....
|
|
7f28: 05e6 05d1 05bc 05a7 0593 057f 056b 0558 ............k.X.
|
|
7f38: 0545 0532 051f 050c 04fa 04e8 04d6 04c4 E.2.............
|
|
7f48: 04b3 04a1 0490 047f 046f 045f 044e 043e ........o._.N.>.
|
|
7f58: 042f 041f 0410 0401 03f2 03e3 03d5 03c7 /...............
|
|
7f68: 03b9 03ab 039d 0390 0382 0375 0368 035c ..........u.h.\.
|
|
7f78: 034f 0343 0336 032a 031f 0313 0307 02fc O.C.6.*.........
|
|
7f88: 02f1 02e6 02db 02d1 02c6 02bc 02b2 02a7 ................
|
|
7f98: 029e 0294 028a 0281 0277 026e 0265 025c ........w.n.e.\.
|
|
7fa8: 0254 024b 0242 023a 0232 022a 0222 021a T.K.B.:.2.*."...
|
|
7fb8: 0212 020b 0203 01fc 01f4 01ed 01e6 01df ................
|
|
7fc8: 01d8 01d2 01cb 01c4 01be 01b8 01b1 01ab ................
|
|
7fd8: 01a5 019f 0199 0194 018e 0188 0183 017d ..............}.
|
|
7fe8: 0178 0173 016e 0169 0163 015e 015a 0155 x.s.n.i.c.^.Z.U.
|
|
7ff8: 0150 0000 4000 461c 0000 42c8 0000 4190 P....@.F...B...A
|
|
8008: 0000 4180 0000 4100 999a 9999 9999 3fc9 ...A...A.......?
|
|
8018: 999a 9999 9999 3fb9 6c46 616f 4974 203a .......?FloatI:
|
|
8028: 6425 2f20 3120 3030 0a20 0000 6f6e 6f77 %d / 100 ...nowo
|
|
8038: 6b72 0020 b717 3851 c5ac 3727 0000 447a rk ...Q8..'7..zD
|
|
8048: d70a 3ba3 0000 0000 6666 6666 6666 402c ...;....ffffff,@
|
|
8058: 6e69 2074 5f67 6162 7474 7265 5379 6174 int g_batterySta
|
|
8068: 6574 3a20 2520 0a64 0000 0000 495b 464e te : %d.....[INF
|
|
8078: 5d4f 5b20 7325 253a 5d64 5220 6765 7369 O] [%s:%d] Regis
|
|
8088: 7274 7461 6f69 206e 7573 6363 7365 2073 tration success
|
|
8098: 0a0d 0a0d 0000 0000 455b 5252 524f 205d ........[ERROR]
|
|
80a8: 255b 3a73 6425 205d 5220 6765 7369 6574 [%s:%d] Registe
|
|
80b8: 5f72 754e 626d 7265 6520 7272 726f 253a r_Number error:%
|
|
80c8: 2078 0a0d 0a0d 0000 455b 5252 524f 205d x ......[ERROR]
|
|
80d8: 255b 3a73 6425 205d 5220 6765 7369 6574 [%s:%d] Registe
|
|
80e8: 5f72 7453 7261 5f74 6441 7264 7365 2073 r_Start_Address
|
|
80f8: 7265 6f72 2072 203a 7825 0d20 0d0a 000a error : %x .....
|
|
8108: 6e69 7720 6972 6574 7220 6765 7369 6574 in write registe
|
|
8118: 2072 0000 495b 464e 5d4f 5b20 7325 253a r ..[INFO] [%s:%
|
|
8128: 5d64 2020 4c53 525f 6165 5264 6765 7369 d] SL_ReadRegis
|
|
8138: 6574 4272 7461 6574 7972 6f56 746c 6761 terBatteryVoltag
|
|
8148: 2065 0a0d 0000 0000 495b 464e 5d4f 5b20 e ......[INFO] [
|
|
8158: 7325 253a 5d64 2020 4c53 525f 6165 5264 %s:%d] SL_ReadR
|
|
8168: 6765 7369 6574 4372 6168 6772 7543 7272 egisterChargCurr
|
|
8178: 6e65 2074 0a0d 0000 495b 464e 5d4f 5b20 ent ....[INFO] [
|
|
8188: 7325 253a 5d64 2020 4c53 525f 6165 5264 %s:%d] SL_ReadR
|
|
8198: 6765 7369 6574 4472 7369 6863 7261 4367 egisterDischargC
|
|
81a8: 7275 6572 746e 0d20 000a 0000 495b 464e urrent .....[INF
|
|
81b8: 5d4f 5b20 7325 253a 5d64 2020 4c53 525f O] [%s:%d] SL_R
|
|
81c8: 6165 5264 6765 7369 6574 4472 7369 6863 eadRegisterDisch
|
|
81d8: 7261 4d67 736f 7453 7461 2065 0a0d 0000 argMosState ....
|
|
81e8: 0000 4120 495b 464e 5d4f 5b20 7325 253a .. A[INFO] [%s:%
|
|
81f8: 5d64 2020 4c53 525f 6165 5264 6765 7369 d] SL_ReadRegis
|
|
8208: 6574 4872 6769 5368 6469 4d65 736f 6554 terHighSideMosTe
|
|
8218: 706d 7265 7461 7275 2065 0a0d 0000 0000 mperature ......
|
|
8228: 495b 464e 5d4f 5b20 7325 253a 5d64 2020 [INFO] [%s:%d]
|
|
8238: 4c53 525f 6165 5264 6765 7369 6574 4d72 SL_ReadRegisterM
|
|
8248: 5050 4d54 646f 2065 0a0d 0000 495b 464e PPTMode ....[INF
|
|
8258: 5d4f 5b20 7325 253a 5d64 2020 4c53 525f O] [%s:%d] SL_R
|
|
8268: 6165 5264 6765 7369 6574 5372 6c6f 7261 eadRegisterSolar
|
|
8278: 704f 6e65 6943 6372 6975 5674 6c6f 6174 OpenCircuitVolta
|
|
8288: 6567 0d20 000a 0000 495b 464e 5d4f 5b20 ge .....[INFO] [
|
|
8298: 7325 253a 5d64 4d20 7461 6863 535f 6174 %s:%d] Match_Sta
|
|
82a8: 7472 6c66 6761 7320 6375 6563 7373 0d20 rtflag success .
|
|
82b8: 0d0a 000a 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
82c8: 5d64 4d20 7461 6863 615f 6464 6572 7373 d] Match_address
|
|
82d8: 7320 6375 6563 7373 0d20 0d0a 000a 0000 success .......
|
|
82e8: 495b 464e 5d4f 5b20 7325 253a 5d64 4d20 [INFO] [%s:%d] M
|
|
82f8: 7461 6863 425f 6f72 6461 6163 7473 6461 atch_Broadcastad
|
|
8308: 7264 7365 2073 7573 6363 7365 0d73 0d0a dress success...
|
|
8318: 000a 0000 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
8328: 5d64 5220 6165 5f64 6552 6967 7473 7265 d] Read_Register
|
|
8338: 0a0d 0a0d 0000 0000 495b 464e 5d4f 5b20 ........[INFO] [
|
|
8348: 7325 253a 5d64 5720 6972 6574 525f 6765 %s:%d] Write_Reg
|
|
8358: 7369 6574 0d72 0d0a 000a 0000 495b 464e ister.......[INF
|
|
8368: 5d4f 5b20 7325 253a 5d64 4f20 6874 7265 O] [%s:%d] Other
|
|
8378: 6620 6172 656d 0d73 0d0a 000a 495b 464e frames.....[INF
|
|
8388: 5d4f 5b20 7325 253a 5d64 4220 6f72 6461 O] [%s:%d] Broad
|
|
8398: 6163 7473 535f 6163 0d6e 0d0a 000a 0000 cast_Scan.......
|
|
83a8: 495b 464e 5d4f 5b20 7325 253a 5d64 5220 [INFO] [%s:%d] R
|
|
83b8: 6765 7369 7274 7461 6f69 5f6e 6572 7571 egistration_requ
|
|
83c8: 7365 0d74 0d0a 000a 495b 464e 5d4f 5b20 est.....[INFO] [
|
|
83d8: 7325 253a 5d64 6620 6e75 6f63 6564 6520 %s:%d] funcode e
|
|
83e8: 7272 726f 2520 0d78 0d0a 000a 6420 7475 rror %x..... dut
|
|
83f8: 5f79 6172 6974 206f 203a 6425 312f 3030 y_ratio : %d/100
|
|
8408: 2030 000a 4920 706e 7475 565f 6c6f 6174 0 .. Input_Volta
|
|
8418: 6567 3a20 2520 2f64 3031 2030 000a 0000 ge : %d/100 ....
|
|
8428: 7620 756f 2074 203a 6425 312f 3030 0a20 vout : %d/100 .
|
|
8438: 0000 0000 7620 6142 7474 7265 2079 203a .... vBattery :
|
|
8448: 6425 312f 3030 0a20 0000 0000 4920 756f %d/100 ..... Iou
|
|
8458: 2074 203a 6425 312f 3030 0a20 0000 0000 t : %d/100 .....
|
|
8468: 4920 6964 6f73 7475 3a20 2520 2f64 3031 Idisout : %d/10
|
|
8478: 2030 000a 6d20 736f 2054 203a 6425 312f 0 .. mosT : %d/1
|
|
8488: 2030 000a 6920 706d 6465 6e61 6563 3a20 0 .. impedance :
|
|
8498: 2520 2f64 3031 3030 0a20 0000 6d20 736f %d/1000 ... mos
|
|
84a8: 7453 7461 2065 203a 6425 0a20 0000 0000 State : %d .....
|
|
84b8: 6220 7461 6574 7972 7453 7461 2065 203a batteryState :
|
|
84c8: 6425 0a20 0000 0000 3020 c32e d3bb b9d0 %d ..... 0......
|
|
84d8: d7a4 3bf7 3120 e42e c1b8 c4f7 caa3 3bbd ...; 1.........;
|
|
84e8: 3220 ba2e c1e3 c4f7 caa3 3bbd 3320 ba2e 2.........; 3..
|
|
84f8: d1e3 c4b9 caa3 3bbd 3420 b82e b3a1 c4e4 .......; 4......
|
|
8508: caa3 3bbd 3520 c32e d3bb b5d0 b3e7 20d8 ...; 5.........
|
|
8518: 203a 6425 0a20 0000 7563 7272 6e4f 2065 : %d ...currOne
|
|
8528: 203d 6425 312f 3030 2c30 7620 6c6f 4f74 = %d/1000, voltO
|
|
8538: 656e 3d20 2520 2f64 3031 2030 000a 0000 ne = %d/100 ....
|
|
8548: 7563 7272 7754 206f 203d 6425 312f 3030 currTwo = %d/100
|
|
8558: 2c30 7620 6c6f 5474 6f77 3d20 2520 2f64 0, voltTwo = %d/
|
|
8568: 3031 2030 000a 0000 6552 2073 203d 6425 100 ....Res = %d
|
|
8578: 312f 3030 2c30 4520 3d20 2520 2f64 3031 /1000, E = %d/10
|
|
8588: 2030 000a 0000 3f00 999a 9999 9999 bfb9 0 .....?........
|
|
8598: 147b 47ae 7ae1 3f84 6f76 746c 6920 206e {..G.z.?volt in
|
|
85a8: 203a 6425 312f 3030 0a20 0000 3333 3f33 : %d/100 ...333?
|
|
85b8: c332 ffff c224 ffff c224 ffff c222 ffff 2...$...$..."...
|
|
85c8: c22a ffff c22a ffff c1f0 ffff c222 ffff *...*......."...
|
|
85d8: c22a ffff c1f0 ffff c22a ffff c222 ffff *.......*..."...
|
|
85e8: c31e ffff c31e ffff c31e ffff c1f0 ffff ................
|
|
85f8: d26e ffff d194 ffff d268 ffff d19c ffff n.......h.......
|
|
8608: d268 ffff d162 ffff d268 ffff d19c ffff h...b...h.......
|
|
8618: d194 ffff d194 ffff d162 ffff d19c ffff ........b.......
|
|
8628: d1a2 ffff d1a2 ffff d1a2 ffff d162 ffff ............b...
|
|
8638: d154 ffff d154 ffff d228 ffff d304 ffff T...T...(.......
|
|
8648: d228 ffff d122 ffff d228 ffff d304 ffff (..."...(.......
|
|
8658: d154 ffff d154 ffff d122 ffff d304 ffff T...T...".......
|
|
8668: d162 ffff d162 ffff d162 ffff d122 ffff b...b...b..."...
|
|
8678: d5d8 ffff d526 ffff d526 ffff d524 ffff ....&...&...$...
|
|
8688: d52a ffff d52a ffff d4fa ffff d524 ffff *...*.......$...
|
|
8698: d52a ffff d4fa ffff d52a ffff d524 ffff *.......*...$...
|
|
86a8: d5c6 ffff d5c6 ffff d5c6 ffff d4fa ffff ................
|
|
|
|
000086b8 <__clz_tab>:
|
|
86b8: 0100 0202 0303 0303 0404 0404 0404 0404 ................
|
|
86c8: 0505 0505 0505 0505 0505 0505 0505 0505 ................
|
|
86d8: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
86e8: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
86f8: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8708: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8718: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8728: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8738: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8748: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8758: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8768: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8778: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8788: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8798: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
87a8: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
|
|
000087b8 <__sf_fake_stderr>:
|
|
...
|
|
|
|
000087d8 <__sf_fake_stdin>:
|
|
...
|
|
|
|
000087f8 <__sf_fake_stdout>:
|
|
...
|
|
8818: 2d23 2b30 0020 0000 6c68 004c 6665 4567 #-0+ ...hlL.efgE
|
|
8828: 4746 0000 3130 3332 3534 3736 3938 4241 FG..0123456789AB
|
|
8838: 4443 4645 0000 0000 3130 3332 3534 3736 CDEF....01234567
|
|
8848: 3938 6261 6463 6665 0000 0000 89abcdef....
|