11972 lines
543 KiB
Plaintext
11972 lines
543 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 0x0000832c memsz 0x0000832c flags r-x
|
|
LOAD off 0x0000a000 vaddr 0x20000000 paddr 0x0000832c align 2**12
|
|
filesz 0x00000180 memsz 0x000004d8 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 000081ec 00000140 00000140 00001140 2**3
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 0000832c 0000832c 0000a180 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 0000a180 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 0000832c 0000832c 0000a180 2**0
|
|
CONTENTS
|
|
6 .data 00000180 20000000 0000832c 0000a000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 00000358 20000180 000084ac 0000a180 2**2
|
|
ALLOC
|
|
8 .stack 00000800 20004800 20004800 0000a800 2**0
|
|
ALLOC
|
|
9 .debug_info 000211c6 00000000 00000000 0000a180 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 0000564f 00000000 00000000 0002b346 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_aranges 00000ee0 00000000 00000000 00030998 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_ranges 000010d8 00000000 00000000 00031878 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_line 00013e5b 00000000 00000000 00032950 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_str 000049da 00000000 00000000 000467ab 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .comment 00000033 00000000 00000000 0004b185 2**0
|
|
CONTENTS, READONLY
|
|
16 .debug_frame 000032f8 00000000 00000000 0004b1b8 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
17 .debug_loc 00006716 00000000 00000000 0004e4b0 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
18 .stab 00000084 00000000 00000000 00054bc8 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
19 .stabstr 00000117 00000000 00000000 00054c4c 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
|
|
0000832c l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
0000832c 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
|
|
00001ce6 l F .text 00000092 middleAverageFilter
|
|
00000000 l df *ABS* 00000000 inflash.c
|
|
00000000 l df *ABS* 00000000 mppt_control.c
|
|
0000202c l F .text 0000003e ConstantVoltageCharge
|
|
200001a8 l O .bss 00000004 ConstantCurrentV.5817
|
|
200001ac l O .bss 00000004 ConstantVoltageChargeV.5794
|
|
200001b0 l O .bss 00000004 ConstantVoltageV.5818
|
|
200001b4 l O .bss 00000004 FloatI.5819
|
|
200001b8 l O .bss 00000004 StopSolarOpenCircuitV.5820
|
|
200001bc l O .bss 00000004 TrickleChargeC.5786
|
|
200001c0 l O .bss 00000004 num.5799
|
|
200001c4 l O .bss 00000004 numLenFlag.5800
|
|
20000170 l O .data 00000001 onlyOnce.5787
|
|
20000171 l O .data 00000001 onlyOnce.5795
|
|
20000172 l O .data 00000001 onlyOnce.5801
|
|
20000173 l O .data 00000001 only_once.5821
|
|
00000000 l df *ABS* 00000000 sl_protocol.c
|
|
0000255a l F .text 0000002a SL_ReadRegisterMPPTMode
|
|
00002584 l F .text 00000024 SL_ReadRegisterDischargMosState
|
|
000025a8 l F .text 0000003e SL_ReadRegisterHighSideMosTemperature
|
|
000025e6 l F .text 0000003e SL_ReadRegisterSolarOpenCircuitVoltage
|
|
00002624 l F .text 0000003c SL_ReadRegisterDischargCurrent
|
|
00002660 l F .text 0000003c SL_ReadRegisterChargCurrent
|
|
0000269c l F .text 0000003c SL_ReadRegisterBatteryVoltage
|
|
000026d8 l F .text 00000050 SL_MsgProcFunc_Registration_request
|
|
00002728 l F .text 00000034 SL_MsgProcFunc_Broadcast_Scan
|
|
0000275c l F .text 00000056 SL_MsgProcFunc_Write_Register
|
|
00002896 l F .text 0000009e SL_MsgProcFunc_Remote_Upgrade
|
|
00002934 l F .text 0000009e SL_MsgProcFunc_Update_Profile
|
|
000029d2 l F .text 0000018c SL_MsgProcFunc_Read_Register
|
|
2000022c l O .bss 00000032 rs485_buff
|
|
00000000 l df *ABS* 00000000 task.c
|
|
200001ca l O .bss 00000002 checkRegisterRefreshTimeFlag.6444
|
|
200001cc l O .bss 00000002 checkSolarOpenCircuitVTimeFlag.6420
|
|
200001d0 l O .bss 00000004 dutyRatio.6428
|
|
200001d4 l O .bss 00000004 enabBroadcastTimeFlag.6480
|
|
200001d8 l O .bss 00000001 flag.6415
|
|
200001e2 l O .bss 00000002 num.6427
|
|
200001e7 l O .bss 00000001 run_number.6452
|
|
200001e8 l O .bss 00000004 temp.6438
|
|
20000174 l O .data 00000001 only_once.6421
|
|
00000000 l df *ABS* 00000000 uart_dev.c
|
|
000038b2 l F .text 00000046 uart_putchar
|
|
200002e0 l O .bss 000000c8 bat485_in_buff
|
|
200003a8 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 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
|
|
000067b6 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
|
|
00006fa6 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
|
|
000078d4 g F .text 00000014 _malloc_usable_size_r
|
|
00001538 g F .text 0000005e EXTI2_IRQHandler
|
|
0000779a g F .text 00000028 _isatty_r
|
|
00001aec g F .text 00000022 TimeSliceOffset_Start
|
|
00006266 g F .text 000000d4 _puts_r
|
|
000077c2 g F .text 0000002c _lseek_r
|
|
000018e6 g F .text 00000052 TIM3_Int_Init
|
|
00001840 g F .text 0000001a USARTx_SendByte
|
|
20000020 g O .data 0000002c g_slConfigInfo
|
|
000038f8 g F .text 00000052 uart_dev_init
|
|
00003632 g F .text 00000044 Task_sensorEnableBroadcast
|
|
20000175 g O .data 00000001 run_Broadcast
|
|
0000206a g F .text 00000062 mppt_constantCurrentO
|
|
000009de g F .text 0000000a GPIO_ReadOutputDataBit
|
|
00006226 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
|
|
000076e4 g F .text 00000030 __sseek
|
|
0000686c g F .text 0000006c __sinit
|
|
00000ec8 g F .text 00000004 SPI_I2S_SendData
|
|
00006468 g F .text 000000bc __swbuf_r
|
|
0000024a g F .text 00000002 HardFault_Handler
|
|
00006826 g F .text 00000046 __sfmoreglue
|
|
0000784e g F .text 00000002 __malloc_unlock
|
|
00001b46 g F .text 0000002c InRingQueue
|
|
00000440 w .text 00000000 USBPD_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_3
|
|
000052c4 g F .text 000002b2 .hidden __divsf3
|
|
00001990 g F .text 00000058 TIM2_Int_Init
|
|
00002b5e g F .text 00000032 FRT_MsgHandler
|
|
00001a40 g F .text 0000000e SysTick_Handler
|
|
00000568 g F .text 0000000a ADC_StartCalibration
|
|
00003a10 g F .text 00000018 uart_dev_char_present
|
|
00000ce4 g F .text 00000054 NVIC_Init
|
|
200001e4 g O .bss 00000001 outputAgainFlag
|
|
00000440 w .text 00000000 PVD_IRQHandler
|
|
00007806 g F .text 00000046 memmove
|
|
00001e44 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
|
|
00005ca4 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
|
|
0000418e g F .text 000000ae .hidden __gtdf2
|
|
00002eac g F .text 00000274 Task_RunLED
|
|
000011a4 g F .text 0000000a USART_GetFlagStatus
|
|
00007770 g F .text 0000002a _fstat_r
|
|
200004d4 g O .bss 00000004 errno
|
|
0000397e 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
|
|
00001bfe g F .text 0000005a USART_Printf_Init
|
|
00003a50 g F .text 0000000e ring_queue_length
|
|
000079c0 g O .text 000001e2 mosTemperADC
|
|
0000591c g F .text 00000388 .hidden __subsf3
|
|
00000440 w .text 00000000 USBFS_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_2
|
|
000039ae g F .text 00000062 uart_dev_write
|
|
00001fca g F .text 00000062 mppt_constantVoltageO
|
|
00000fe4 g F .text 00000016 TIM_CtrlPWMOutputs
|
|
00006174 g F .text 000000b2 memcpy
|
|
00000546 g F .text 00000010 ADC_Cmd
|
|
0000681c g F .text 0000000a _cleanup_r
|
|
000009f6 g F .text 0000012c GPIO_PinRemapConfig
|
|
00006d3c g F .text 0000026a _svfprintf_r
|
|
00004ee8 g F .text 00000072 .hidden __floatsidf
|
|
0000423c 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
|
|
0000394a g F .text 0000001a bat485_tx_enabla
|
|
20000194 g O .bss 00000002 Calibrattion_Val
|
|
00000fcc g F .text 00000018 TIM_Cmd
|
|
0000633a 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
|
|
00006acc g F .text 0000000a malloc
|
|
000078f4 g F .text 0000000c _fstat
|
|
00001f64 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
|
|
000055fc 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
|
|
00001a80 g F .text 0000003e TimeSliceOffset_Register
|
|
00000440 w .text 00000000 Break_Point_Handler
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_11
|
|
200001ec 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
|
|
00007646 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
|
|
00001ede g F .text 00000086 read_config_info
|
|
00001d78 g F .text 00000044 get_CHG_CURR
|
|
200001e6 g O .bss 00000001 recvbroadcast_flag
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_0
|
|
000078a8 g F .text 0000002c _read_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_7
|
|
200001e0 g O .bss 00000001 g_recvBroadcastRegisterNumber
|
|
00005ef0 g F .text 000000ac .hidden __extendsfdf2
|
|
00003a5e g F .text 00000730 .hidden __adddf3
|
|
00000440 w .text 00000000 Ecall_M_Mode_Handler
|
|
20004800 g .stack 00000000 _heap_end
|
|
00003964 g F .text 0000001a bat485_tx_disenabla
|
|
00007900 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
|
|
00007850 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
|
|
00001c96 g F .text 00000026 _sbrk
|
|
00000686 g F .text 00000012 ADC_FIFO_Cmd
|
|
0000064a g F .text 00000008 ADC_GetConversionValue
|
|
000027f0 g F .text 0000002c randomDelay
|
|
2000004c g O .data 0000000e defaultValue
|
|
00001b36 g F .text 00000010 InitRingQueue
|
|
00003120 g F .text 00000010 Task_usart
|
|
00001b98 g F .text 00000010 RingQueueLength
|
|
000027b2 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
|
|
000020cc g F .text 0000010c MpptContorl
|
|
0000185a g F .text 00000046 USART3_IRQHandler
|
|
0000090a g F .text 0000000a EXTI_ClearITPendingBit
|
|
00001e00 g F .text 00000044 get_DSG_CURR
|
|
00000440 w .text 00000000 RTC_IRQHandler
|
|
00000572 g F .text 00000008 ADC_GetCalibrationStatus
|
|
200004d8 g .bss 00000000 _ebss
|
|
000011ae g F .text 0000003c USART_GetITStatus
|
|
00003676 g F .text 00000176 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
|
|
00001ba8 g F .text 00000020 Delay_Init
|
|
000013d8 g F .text 00000068 SPI_Flash_Read
|
|
00001b72 g F .text 00000026 OutRingQueue
|
|
00000e22 g F .text 0000001e RCC_PB2PeriphClockCmd
|
|
00000b4e g F .text 00000190 GPIO_IPD_Unused
|
|
00005576 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
|
|
0000423c 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
|
|
00008290 g O .text 00000020 __sf_fake_stderr
|
|
00001596 g F .text 00000048 PWM_GPIO_Configuration
|
|
00000156 g F .text 0000001a .hidden __riscv_save_4
|
|
00000440 w .text 00000000 I2C1_EV_IRQHandler
|
|
000018a0 g F .text 00000046 USART4_IRQHandler
|
|
000016d0 g F .text 000000b2 GW_485_Init
|
|
00006c58 g F .text 000000e4 __ssputs_r
|
|
0000106a g F .text 00000018 TIM_GetITStatus
|
|
00000d4c g F .text 000000d6 RCC_GetClocksFreq
|
|
0000341e g F .text 00000036 start_mpptWork
|
|
00000440 w .text 00000000 DMA1_Channel6_IRQHandler
|
|
00006106 g F .text 0000006e .hidden __clzsi2
|
|
00001b0e g F .text 00000028 TimeSliceOffset_Produce
|
|
00006fce g F .text 00000042 __sfputs_r
|
|
2000018c g O .bss 00000004 TS_Val
|
|
000077ee g F .text 00000018 memchr
|
|
0000108e g F .text 000000ba USART_Init
|
|
00006ad6 g F .text 000000a8 _free_r
|
|
00001966 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
|
|
0000246c g F .text 000000ee test
|
|
00000440 w .text 00000000 DMA1_Channel1_IRQHandler
|
|
00001440 g F .text 0000002e RUN_LED_Init
|
|
00000000 g .init 00000000 _start
|
|
20000290 g O .bss 00000010 m_sensorEnableBroadcast
|
|
20000270 g O .bss 00000010 m_refreshRegister
|
|
0000639e g F .text 00000084 rand
|
|
0000790c g F .text 0000000c _lseek
|
|
200001c8 g O .bss 00000001 RegistrationRequestFlag
|
|
00005d5c 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
|
|
00000440 w .text 00000000 DMA1_Channel8_IRQHandler
|
|
2000016c g O .data 00000004 g_duty_ratio
|
|
00007748 g F .text 00000028 _close_r
|
|
20000000 g .dalign 00000000 _data_vma
|
|
000014a0 g F .text 0000003e POW_OUT_CON_Init
|
|
00003870 g F .text 00000042 hardware_Init
|
|
00000f50 g F .text 0000007c TIM_OC4Init
|
|
00006524 g F .text 000000fc __swsetup_r
|
|
00000440 w .text 00000000 EXTI9_5_IRQHandler
|
|
000068d8 g F .text 000000a0 __sfp
|
|
20000280 g O .bss 00000010 m_runled
|
|
00000b22 g F .text 0000002c GPIO_EXTILineConfig
|
|
000042f2 g F .text 000004b8 .hidden __muldf3
|
|
00000148 g F .text 00000028 .hidden __riscv_save_10
|
|
00007670 g F .text 0000002c __sread
|
|
200000c4 g O .data 00000038 uart_devices
|
|
0000784c g F .text 00000002 __malloc_lock
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_4
|
|
00001dbc g F .text 00000044 get_PV_VOLT_OUT
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_8
|
|
00001cbc g F .text 0000002a Get_ConversionVal
|
|
00006750 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
|
|
000082b0 g O .text 00000020 __sf_fake_stdin
|
|
200001e5 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
|
|
00001938 g F .text 0000002e TIM3_Init
|
|
00006346 g F .text 00000058 srand
|
|
00003996 g F .text 00000018 gw485_tx_disenabla
|
|
000055fc g F .text 0000008c .hidden __ltsf2
|
|
00007714 g F .text 00000006 __sclose
|
|
00005f9c g F .text 0000016a .hidden __truncdfsf2
|
|
00006b7e g F .text 000000da _malloc_r
|
|
00003130 g F .text 00000102 Task_startMpptControl
|
|
000006a8 g F .text 000001d4 Get_CalibrationValue
|
|
00000440 w .text 00000000 DMA1_Channel5_IRQHandler
|
|
200002c0 g O .bss 00000010 m_usart
|
|
00000440 w .text 00000000 EXTI4_IRQHandler
|
|
00003454 g F .text 00000092 Task_softStart
|
|
00001bc8 g F .text 00000036 Delay_Ms
|
|
00000440 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
00005688 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
|
|
00006226 g F .text 00000040 iprintf
|
|
00002b90 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
|
|
00006422 g F .text 00000046 sprintf
|
|
00008190 g O .text 00000100 .hidden __clz_tab
|
|
00000000 g .init 00000000 _sinit
|
|
00000440 w .text 00000000 CMPWakeUp_IRQHandler
|
|
00005576 g F .text 00000086 .hidden __gesf2
|
|
0000771a g F .text 0000002e _write_r
|
|
00000440 w .text 00000000 DMA1_Channel3_IRQHandler
|
|
00007298 g F .text 0000010c _printf_common
|
|
20000178 g O .data 00000004 _impure_ptr
|
|
000034e6 g F .text 0000014c Task_recvbroadcast
|
|
00001a4e g F .text 00000032 TIM1_UP_IRQHandler
|
|
00006620 g F .text 00000130 __sflush_r
|
|
00000440 w .text 00000000 LPTIMWakeUp_IRQHandler
|
|
00006d3c g F .text 0000026a _svfiprintf_r
|
|
00000440 w .text 00000000 WWDG_IRQHandler
|
|
200002a0 g O .bss 00000010 m_softStart
|
|
00001abe g F .text 0000002e TimeSliceOffset_Unregister
|
|
00000440 w .text 00000000 Ecall_U_Mode_Handler
|
|
000037ec g F .text 00000084 task_Init
|
|
00003262 g F .text 000001bc Task_refreshRegister
|
|
2000005c g O .data 00000030 g_MsgTbl
|
|
00000698 g F .text 00000010 ADC_Sample_ModeConfig
|
|
00001a16 g F .text 0000002a TIM2_IRQHandler
|
|
20005000 g .stack 00000000 _eusrstack
|
|
00002e5a g F .text 00000052 Task_wdi
|
|
00000170 g F .text 0000000c .hidden __riscv_save_2
|
|
00000440 w .text 00000000 SW_Handler
|
|
000004c8 g F .text 00000028 ADC_DeInit
|
|
00000440 w .text 00000000 TIM1_BRK_IRQHandler
|
|
000069e2 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
|
|
0000281c g F .text 0000007a Check_485_bus_busy
|
|
20000260 g O .bss 00000010 m_recvbroadcast
|
|
00000440 w .text 00000000 EXTI1_IRQHandler
|
|
00000156 g F .text 0000001a .hidden __riscv_save_5
|
|
00001c58 g F .text 0000003e _write
|
|
20000180 g .data 00000000 _edata
|
|
200004d8 g .bss 00000000 _end
|
|
00000eda g F .text 00000076 TIM_TimeBaseInit
|
|
00000440 w .text 00000000 RTCAlarm_IRQHandler
|
|
0000832c g .dlalign 00000000 _data_lma
|
|
000021d8 g F .text 00000294 MpptMode
|
|
00000440 w .text 00000000 USART2_IRQHandler
|
|
0000769c g F .text 00000048 __swrite
|
|
00001782 g F .text 000000be BAT_485_Init
|
|
00007010 g F .text 00000288 _vfiprintf_r
|
|
00006978 g F .text 0000006a _fwalk_reent
|
|
0000039c g F .text 000000a4 SystemCoreClockUpdate
|
|
00005e22 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
|
|
000015de g F .text 0000006c PWM_TIM_Configuration
|
|
000082d0 g O .text 00000020 __sf_fake_stdout
|
|
00006422 g F .text 00000046 siprintf
|
|
20000000 g O .data 00000010 HBPrescTable
|
|
0000017c g F .text 00000024 .hidden __riscv_restore_12
|
|
00007918 g F .text 0000000c _read
|
|
00000442 w .text 00000000 handle_reset
|
|
00000440 w .text 00000000 CAN1_SCE_IRQHandler
|
|
00005d06 g F .text 00000056 .hidden __fixunssfsi
|
|
00000440 w .text 00000000 FLASH_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_0
|
|
200002d0 g O .bss 00000010 m_wdi
|
|
00000440 w .text 00000000 USBFSWakeUp_IRQHandler
|
|
200001dc g O .bss 00000004 g_recvBroadcastDevice
|
|
000019e8 g F .text 0000002e TIM2_Init
|
|
00000440 w .text 00000000 USART1_IRQHandler
|
|
00006a3a g F .text 00000092 __smakebuf_r
|
|
000073a4 g F .text 000002a2 _printf_i
|
|
200001fc g O .bss 0000002d g_Mppt_Para
|
|
0000418e g F .text 000000ae .hidden __gedf2
|
|
200001f8 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
|
|
200002b0 g O .bss 00000010 m_startMpptControl
|
|
000011ea g F .text 000000f0 ADC_all_Init
|
|
00003232 g F .text 00000030 stop_mpptWork
|
|
0000164a g F .text 00000086 Set_duty_ratio
|
|
00000440 w .text 00000000 TKeyWakeUp_IRQHandler
|
|
200001f4 g O .bss 00000004 __malloc_free_list
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_1
|
|
200001f0 g O .bss 00000004 g_gw485_uart4_handle
|
|
000047aa g F .text 0000073e .hidden __subdf3
|
|
00007010 g F .text 00000288 _vfprintf_r
|
|
000009d4 g F .text 0000000a GPIO_ReadInputDataBit
|
|
00004f5a g F .text 0000036a .hidden __addsf3
|
|
00001e88 g F .text 00000056 get_MOSFET_Temper
|
|
000078e8 g F .text 0000000c _close
|
|
00003a28 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: 1a40 addi s0,sp,308
|
|
36: 0000 unimp
|
|
38: 0000 unimp
|
|
3a: 0000 unimp
|
|
3c: 0440 addi s0,sp,516
|
|
3e: 0000 unimp
|
|
40: 0000 unimp
|
|
42: 0000 unimp
|
|
44: 0440 addi s0,sp,516
|
|
46: 0000 unimp
|
|
48: 0440 addi s0,sp,516
|
|
4a: 0000 unimp
|
|
4c: 0440 addi s0,sp,516
|
|
4e: 0000 unimp
|
|
50: 0440 addi s0,sp,516
|
|
52: 0000 unimp
|
|
54: 0440 addi s0,sp,516
|
|
56: 0000 unimp
|
|
58: 0440 addi s0,sp,516
|
|
5a: 0000 unimp
|
|
5c: 0440 addi s0,sp,516
|
|
5e: 0000 unimp
|
|
60: 0440 addi s0,sp,516
|
|
62: 0000 unimp
|
|
64: 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: 1a4e slli s4,s4,0x33
|
|
aa: 0000 unimp
|
|
ac: 0440 addi s0,sp,516
|
|
ae: 0000 unimp
|
|
b0: 0440 addi s0,sp,516
|
|
b2: 0000 unimp
|
|
b4: 1a16 slli s4,s4,0x25
|
|
b6: 0000 unimp
|
|
b8: 1966 slli s2,s2,0x39
|
|
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: 185a slli a6,a6,0x36
|
|
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: 18a0 addi s0,sp,120
|
|
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: 151010ef jal ra,1ba8 <Delay_Init>
|
|
25c: 6571 lui a0,0x1c
|
|
25e: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x13ed4>
|
|
262: 19d010ef jal ra,1bfe <USART_Printf_Init>
|
|
266: 200007b7 lui a5,0x20000
|
|
26a: 1607a583 lw a1,352(a5) # 20000160 <SystemCoreClock>
|
|
26e: 00008537 lui a0,0x8
|
|
272: 92450513 addi a0,a0,-1756 # 7924 <_read+0xc>
|
|
276: 7b1050ef jal ra,6226 <iprintf>
|
|
27a: 2509 jal 87c <DBGMCU_GetCHIPID>
|
|
27c: 85aa mv a1,a0
|
|
27e: 00008537 lui a0,0x8
|
|
282: 93450513 addi a0,a0,-1740 # 7934 <_read+0x1c>
|
|
286: 7a1050ef jal ra,6226 <iprintf>
|
|
28a: 5e6030ef jal ra,3870 <hardware_Init>
|
|
28e: 55e030ef jal ra,37ec <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+0xebf14>
|
|
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+0x798ed4>
|
|
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+0x798ed4>
|
|
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+0x3c85d4>
|
|
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: eda50513 addi a0,a0,-294 # 832c <_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: b7818593 addi a1,gp,-1160 # 200004d8 <_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+0x1fff73f8>
|
|
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+0x103983d4>
|
|
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+0x103183d4>
|
|
bd2: 06e78063 beq a5,a4,c32 <GPIO_IPD_Unused+0xe4>
|
|
bd6: 10370737 lui a4,0x10370
|
|
bda: 70070713 addi a4,a4,1792 # 10370700 <_data_lma+0x103683d4>
|
|
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+0x103a83d4>
|
|
bf0: 0ae78b63 beq a5,a4,ca6 <GPIO_IPD_Unused+0x158>
|
|
bf4: 103d0737 lui a4,0x103d0
|
|
bf8: 70070713 addi a4,a4,1792 # 103d0700 <_data_lma+0x103c83d4>
|
|
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 <ConstantVoltageCharge+0x14>
|
|
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+0xebf14>
|
|
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+0x798ed4>
|
|
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+0x798ed4>
|
|
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+0x3c85d4>
|
|
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+0x194>
|
|
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: 94450513 addi a0,a0,-1724 # 7944 <_read+0x2c>
|
|
124c: 7db040ef jal ra,6226 <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: c426 sw s1,8(sp)
|
|
1540: c24a sw s2,4(sp)
|
|
1542: baaff0ef jal ra,8ec <EXTI_GetITStatus>
|
|
1546: 4785 li a5,1
|
|
1548: 04f51163 bne a0,a5,158a <EXTI2_IRQHandler+0x52>
|
|
154c: 40011937 lui s2,0x40011
|
|
1550: 84aa mv s1,a0
|
|
1552: 4601 li a2,0
|
|
1554: 4591 li a1,4
|
|
1556: c0090513 addi a0,s2,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
155a: c92ff0ef jal ra,9ec <GPIO_WriteBit>
|
|
155e: 8841c703 lbu a4,-1916(gp) # 200001e4 <outputAgainFlag>
|
|
1562: 843e mv s0,a5
|
|
1564: ef11 bnez a4,1580 <EXTI2_IRQHandler+0x48>
|
|
1566: 4505 li a0,1
|
|
1568: 660000ef jal ra,1bc8 <Delay_Ms>
|
|
156c: 4605 li a2,1
|
|
156e: 4591 li a1,4
|
|
1570: c0090513 addi a0,s2,-1024
|
|
1574: c78ff0ef jal ra,9ec <GPIO_WriteBit>
|
|
1578: 4789 li a5,2
|
|
157a: 88f18223 sb a5,-1916(gp) # 200001e4 <outputAgainFlag>
|
|
157e: a019 j 1584 <EXTI2_IRQHandler+0x4c>
|
|
1580: fe970ce3 beq a4,s1,1578 <EXTI2_IRQHandler+0x40>
|
|
1584: 4511 li a0,4
|
|
1586: b84ff0ef jal ra,90a <EXTI_ClearITPendingBit>
|
|
158a: 4432 lw s0,12(sp)
|
|
158c: 44a2 lw s1,8(sp)
|
|
158e: 4912 lw s2,4(sp)
|
|
1590: 0141 addi sp,sp,16
|
|
1592: 30200073 mret
|
|
|
|
00001596 <PWM_GPIO_Configuration>:
|
|
1596: bdbfe2ef jal t0,170 <__riscv_save_0>
|
|
159a: 1141 addi sp,sp,-16
|
|
159c: 4585 li a1,1
|
|
159e: 4521 li a0,8
|
|
15a0: 883ff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
15a4: 4585 li a1,1
|
|
15a6: 4511 li a0,4
|
|
15a8: 899ff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
15ac: 20000793 li a5,512
|
|
15b0: 40011437 lui s0,0x40011
|
|
15b4: 827c sh a5,4(sp)
|
|
15b6: 47e1 li a5,24
|
|
15b8: c63e sw a5,12(sp)
|
|
15ba: 004c addi a1,sp,4
|
|
15bc: 478d li a5,3
|
|
15be: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
15c2: c43e sw a5,8(sp)
|
|
15c4: b50ff0ef jal ra,914 <GPIO_Init>
|
|
15c8: 08000793 li a5,128
|
|
15cc: 004c addi a1,sp,4
|
|
15ce: c0040513 addi a0,s0,-1024
|
|
15d2: 827c sh a5,4(sp)
|
|
15d4: b40ff0ef jal ra,914 <GPIO_Init>
|
|
15d8: 0141 addi sp,sp,16
|
|
15da: bbbfe06f j 194 <__riscv_restore_0>
|
|
|
|
000015de <PWM_TIM_Configuration>:
|
|
15de: b93fe2ef jal t0,170 <__riscv_save_0>
|
|
15e2: 1101 addi sp,sp,-32
|
|
15e4: 3f4d jal 1596 <PWM_GPIO_Configuration>
|
|
15e6: 40001437 lui s0,0x40001
|
|
15ea: 1df00793 li a5,479
|
|
15ee: 858a mv a1,sp
|
|
15f0: 80040513 addi a0,s0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
15f4: c03e sw a5,0(sp)
|
|
15f6: c202 sw zero,4(sp)
|
|
15f8: 00011423 sh zero,8(sp)
|
|
15fc: 00010523 sb zero,10(sp)
|
|
1600: 8dbff0ef jal ra,eda <TIM_TimeBaseInit>
|
|
1604: 80040513 addi a0,s0,-2048
|
|
1608: 4585 li a1,1
|
|
160a: a03ff0ef jal ra,100c <TIM_ARRPreloadConfig>
|
|
160e: 67c1 lui a5,0x10
|
|
1610: 06078793 addi a5,a5,96 # 10060 <_data_lma+0x7d34>
|
|
1614: 006c addi a1,sp,12
|
|
1616: 80040513 addi a0,s0,-2048
|
|
161a: c83e sw a5,16(sp)
|
|
161c: 00011b23 sh zero,22(sp)
|
|
1620: c602 sw zero,12(sp)
|
|
1622: 92fff0ef jal ra,f50 <TIM_OC4Init>
|
|
1626: 80040513 addi a0,s0,-2048
|
|
162a: 45a1 li a1,8
|
|
162c: 9fbff0ef jal ra,1026 <TIM_OC4PreloadConfig>
|
|
1630: 80040513 addi a0,s0,-2048
|
|
1634: 4585 li a1,1
|
|
1636: 997ff0ef jal ra,fcc <TIM_Cmd>
|
|
163a: 4585 li a1,1
|
|
163c: 80040513 addi a0,s0,-2048
|
|
1640: 9a5ff0ef jal ra,fe4 <TIM_CtrlPWMOutputs>
|
|
1644: 6105 addi sp,sp,32
|
|
1646: b4ffe06f j 194 <__riscv_restore_0>
|
|
|
|
0000164a <Set_duty_ratio>:
|
|
164a: 1141 addi sp,sp,-16
|
|
164c: c422 sw s0,8(sp)
|
|
164e: 842a mv s0,a0
|
|
1650: 4108 lw a0,0(a0)
|
|
1652: c24a sw s2,4(sp)
|
|
1654: c04e sw s3,0(sp)
|
|
1656: c606 sw ra,12(sp)
|
|
1658: 099040ef jal ra,5ef0 <__extendsfdf2>
|
|
165c: 000087b7 lui a5,0x8
|
|
1660: 9687a603 lw a2,-1688(a5) # 7968 <_read+0x50>
|
|
1664: 96c7a683 lw a3,-1684(a5)
|
|
1668: 892a mv s2,a0
|
|
166a: 89ae mv s3,a1
|
|
166c: 3d1020ef jal ra,423c <__ledf2>
|
|
1670: 02055f63 bgez a0,16ae <Set_duty_ratio+0x64>
|
|
1674: 000087b7 lui a5,0x8
|
|
1678: 95c7a783 lw a5,-1700(a5) # 795c <_read+0x44>
|
|
167c: c01c sw a5,0(s0)
|
|
167e: 000087b7 lui a5,0x8
|
|
1682: 9647a583 lw a1,-1692(a5) # 7964 <_read+0x4c>
|
|
1686: 4008 lw a0,0(s0)
|
|
1688: 000040ef jal ra,5688 <__mulsf3>
|
|
168c: 67a040ef jal ra,5d06 <__fixunssfsi>
|
|
1690: 01051593 slli a1,a0,0x10
|
|
1694: 40001537 lui a0,0x40001
|
|
1698: 81c1 srli a1,a1,0x10
|
|
169a: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
169e: 99fff0ef jal ra,103c <TIM_SetCompare4>
|
|
16a2: 40b2 lw ra,12(sp)
|
|
16a4: 4422 lw s0,8(sp)
|
|
16a6: 4912 lw s2,4(sp)
|
|
16a8: 4982 lw s3,0(sp)
|
|
16aa: 0141 addi sp,sp,16
|
|
16ac: 8082 ret
|
|
16ae: 000087b7 lui a5,0x8
|
|
16b2: 9707a603 lw a2,-1680(a5) # 7970 <_read+0x58>
|
|
16b6: 9747a683 lw a3,-1676(a5)
|
|
16ba: 854a mv a0,s2
|
|
16bc: 85ce mv a1,s3
|
|
16be: 2d1020ef jal ra,418e <__gedf2>
|
|
16c2: faa05ee3 blez a0,167e <Set_duty_ratio+0x34>
|
|
16c6: 000087b7 lui a5,0x8
|
|
16ca: 9607a783 lw a5,-1696(a5) # 7960 <_read+0x48>
|
|
16ce: b77d j 167c <Set_duty_ratio+0x32>
|
|
|
|
000016d0 <GW_485_Init>:
|
|
16d0: aa1fe2ef jal t0,170 <__riscv_save_0>
|
|
16d4: 7179 addi sp,sp,-48
|
|
16d6: 40011437 lui s0,0x40011
|
|
16da: 47c1 li a5,16
|
|
16dc: 892a mv s2,a0
|
|
16de: 82fc sh a5,20(sp)
|
|
16e0: 448d li s1,3
|
|
16e2: 47c1 li a5,16
|
|
16e4: 084c addi a1,sp,20
|
|
16e6: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
16ea: ce3e sw a5,28(sp)
|
|
16ec: cc26 sw s1,24(sp)
|
|
16ee: a26ff0ef jal ra,914 <GPIO_Init>
|
|
16f2: 4601 li a2,0
|
|
16f4: c0040513 addi a0,s0,-1024
|
|
16f8: 45c1 li a1,16
|
|
16fa: af2ff0ef jal ra,9ec <GPIO_WriteBit>
|
|
16fe: 4585 li a1,1
|
|
1700: 4521 li a0,8
|
|
1702: f20ff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
1706: 4585 li a1,1
|
|
1708: 00080537 lui a0,0x80
|
|
170c: f34ff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
1710: 4785 li a5,1
|
|
1712: 82fc sh a5,20(sp)
|
|
1714: 084c addi a1,sp,20
|
|
1716: 47e1 li a5,24
|
|
1718: c0040513 addi a0,s0,-1024
|
|
171c: cc26 sw s1,24(sp)
|
|
171e: ce3e sw a5,28(sp)
|
|
1720: 9f4ff0ef jal ra,914 <GPIO_Init>
|
|
1724: 4489 li s1,2
|
|
1726: 4791 li a5,4
|
|
1728: 084c addi a1,sp,20
|
|
172a: c0040513 addi a0,s0,-1024
|
|
172e: 82e4 sh s1,20(sp)
|
|
1730: 40005437 lui s0,0x40005
|
|
1734: ce3e sw a5,28(sp)
|
|
1736: 9deff0ef jal ra,914 <GPIO_Init>
|
|
173a: 100c addi a1,sp,32
|
|
173c: 000c07b7 lui a5,0xc0
|
|
1740: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
1744: d04a sw s2,32(sp)
|
|
1746: d43e sw a5,40(sp)
|
|
1748: d202 sw zero,36(sp)
|
|
174a: 02011623 sh zero,44(sp)
|
|
174e: 941ff0ef jal ra,108e <USART_Init>
|
|
1752: 13d00793 li a5,317
|
|
1756: 867c sh a5,12(sp)
|
|
1758: 0068 addi a0,sp,12
|
|
175a: 4785 li a5,1
|
|
175c: c83e sw a5,16(sp)
|
|
175e: 8744 sb s1,14(sp)
|
|
1760: d84ff0ef jal ra,ce4 <NVIC_Init>
|
|
1764: 4605 li a2,1
|
|
1766: c0040513 addi a0,s0,-1024
|
|
176a: 52500593 li a1,1317
|
|
176e: 9f1ff0ef jal ra,115e <USART_ITConfig>
|
|
1772: 4585 li a1,1
|
|
1774: c0040513 addi a0,s0,-1024
|
|
1778: 9d1ff0ef jal ra,1148 <USART_Cmd>
|
|
177c: 6145 addi sp,sp,48
|
|
177e: a17fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001782 <BAT_485_Init>:
|
|
1782: 9effe2ef jal t0,170 <__riscv_save_0>
|
|
1786: 7179 addi sp,sp,-48
|
|
1788: 40011437 lui s0,0x40011
|
|
178c: 02000793 li a5,32
|
|
1790: 892a mv s2,a0
|
|
1792: 82fc sh a5,20(sp)
|
|
1794: 448d li s1,3
|
|
1796: 47c1 li a5,16
|
|
1798: 084c addi a1,sp,20
|
|
179a: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
179e: ce3e sw a5,28(sp)
|
|
17a0: cc26 sw s1,24(sp)
|
|
17a2: 972ff0ef jal ra,914 <GPIO_Init>
|
|
17a6: 4601 li a2,0
|
|
17a8: c0040513 addi a0,s0,-1024
|
|
17ac: 02000593 li a1,32
|
|
17b0: a3cff0ef jal ra,9ec <GPIO_WriteBit>
|
|
17b4: 4585 li a1,1
|
|
17b6: 4521 li a0,8
|
|
17b8: e6aff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
17bc: 4585 li a1,1
|
|
17be: 00040537 lui a0,0x40
|
|
17c2: e7eff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
17c6: 40000793 li a5,1024
|
|
17ca: 82fc sh a5,20(sp)
|
|
17cc: 084c addi a1,sp,20
|
|
17ce: 47e1 li a5,24
|
|
17d0: c0040513 addi a0,s0,-1024
|
|
17d4: cc26 sw s1,24(sp)
|
|
17d6: ce3e sw a5,28(sp)
|
|
17d8: 93cff0ef jal ra,914 <GPIO_Init>
|
|
17dc: 6785 lui a5,0x1
|
|
17de: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
17e2: 82fc sh a5,20(sp)
|
|
17e4: 084c addi a1,sp,20
|
|
17e6: 4791 li a5,4
|
|
17e8: c0040513 addi a0,s0,-1024
|
|
17ec: ce3e sw a5,28(sp)
|
|
17ee: 40005437 lui s0,0x40005
|
|
17f2: 922ff0ef jal ra,914 <GPIO_Init>
|
|
17f6: 100c addi a1,sp,32
|
|
17f8: 000c07b7 lui a5,0xc0
|
|
17fc: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
1800: d04a sw s2,32(sp)
|
|
1802: d43e sw a5,40(sp)
|
|
1804: d202 sw zero,36(sp)
|
|
1806: 02011623 sh zero,44(sp)
|
|
180a: 885ff0ef jal ra,108e <USART_Init>
|
|
180e: 13700793 li a5,311
|
|
1812: 867c sh a5,12(sp)
|
|
1814: 4785 li a5,1
|
|
1816: 875c sb a5,14(sp)
|
|
1818: 0068 addi a0,sp,12
|
|
181a: 4785 li a5,1
|
|
181c: c83e sw a5,16(sp)
|
|
181e: cc6ff0ef jal ra,ce4 <NVIC_Init>
|
|
1822: 4605 li a2,1
|
|
1824: 80040513 addi a0,s0,-2048
|
|
1828: 52500593 li a1,1317
|
|
182c: 933ff0ef jal ra,115e <USART_ITConfig>
|
|
1830: 4585 li a1,1
|
|
1832: 80040513 addi a0,s0,-2048
|
|
1836: 913ff0ef jal ra,1148 <USART_Cmd>
|
|
183a: 6145 addi sp,sp,48
|
|
183c: 959fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001840 <USARTx_SendByte>:
|
|
1840: 931fe2ef jal t0,170 <__riscv_save_0>
|
|
1844: 842a mv s0,a0
|
|
1846: 94fff0ef jal ra,1194 <USART_SendData>
|
|
184a: 08000593 li a1,128
|
|
184e: 8522 mv a0,s0
|
|
1850: 955ff0ef jal ra,11a4 <USART_GetFlagStatus>
|
|
1854: d97d beqz a0,184a <USARTx_SendByte+0xa>
|
|
1856: 93ffe06f j 194 <__riscv_restore_0>
|
|
|
|
0000185a <USART3_IRQHandler>:
|
|
185a: 1141 addi sp,sp,-16
|
|
185c: c622 sw s0,12(sp)
|
|
185e: 40005437 lui s0,0x40005
|
|
1862: 52500593 li a1,1317
|
|
1866: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
186a: 945ff0ef jal ra,11ae <USART_GetITStatus>
|
|
186e: c50d beqz a0,1898 <USART3_IRQHandler+0x3e>
|
|
1870: 80040513 addi a0,s0,-2048
|
|
1874: 929ff0ef jal ra,119c <USART_ReceiveData>
|
|
1878: 0ff57593 andi a1,a0,255
|
|
187c: 82b18c23 sb a1,-1992(gp) # 20000198 <USART3_Rbuffer>
|
|
1880: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
1884: 4d1c lw a5,24(a0)
|
|
1886: 4910 lw a2,16(a0)
|
|
1888: 4954 lw a3,20(a0)
|
|
188a: 0785 addi a5,a5,1
|
|
188c: 02c7e7b3 rem a5,a5,a2
|
|
1890: 00d78463 beq a5,a3,1898 <USART3_IRQHandler+0x3e>
|
|
1894: 0531 addi a0,a0,12
|
|
1896: 2c45 jal 1b46 <InRingQueue>
|
|
1898: 4432 lw s0,12(sp)
|
|
189a: 0141 addi sp,sp,16
|
|
189c: 30200073 mret
|
|
|
|
000018a0 <USART4_IRQHandler>:
|
|
18a0: 1141 addi sp,sp,-16
|
|
18a2: c622 sw s0,12(sp)
|
|
18a4: 40005437 lui s0,0x40005
|
|
18a8: 52500593 li a1,1317
|
|
18ac: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
18b0: 8ffff0ef jal ra,11ae <USART_GetITStatus>
|
|
18b4: c50d beqz a0,18de <USART4_IRQHandler+0x3e>
|
|
18b6: c0040513 addi a0,s0,-1024
|
|
18ba: 8e3ff0ef jal ra,119c <USART_ReceiveData>
|
|
18be: 0ff57593 andi a1,a0,255
|
|
18c2: 82b18e23 sb a1,-1988(gp) # 2000019c <USART4_Rbuffer>
|
|
18c6: 8901a503 lw a0,-1904(gp) # 200001f0 <g_gw485_uart4_handle>
|
|
18ca: 4d1c lw a5,24(a0)
|
|
18cc: 4910 lw a2,16(a0)
|
|
18ce: 4954 lw a3,20(a0)
|
|
18d0: 0785 addi a5,a5,1
|
|
18d2: 02c7e7b3 rem a5,a5,a2
|
|
18d6: 00d78463 beq a5,a3,18de <USART4_IRQHandler+0x3e>
|
|
18da: 0531 addi a0,a0,12
|
|
18dc: 24ad jal 1b46 <InRingQueue>
|
|
18de: 4432 lw s0,12(sp)
|
|
18e0: 0141 addi sp,sp,16
|
|
18e2: 30200073 mret
|
|
|
|
000018e6 <TIM3_Int_Init>:
|
|
18e6: 88bfe2ef jal t0,170 <__riscv_save_0>
|
|
18ea: 1101 addi sp,sp,-32
|
|
18ec: 84aa mv s1,a0
|
|
18ee: 842e mv s0,a1
|
|
18f0: 4509 li a0,2
|
|
18f2: 4585 li a1,1
|
|
18f4: d4cff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
18f8: 84e0 sh s0,24(sp)
|
|
18fa: 40000437 lui s0,0x40000
|
|
18fe: 084c addi a1,sp,20
|
|
1900: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
1904: ca26 sw s1,20(sp)
|
|
1906: 00011e23 sh zero,28(sp)
|
|
190a: 00011d23 sh zero,26(sp)
|
|
190e: dccff0ef jal ra,eda <TIM_TimeBaseInit>
|
|
1912: 4605 li a2,1
|
|
1914: 4585 li a1,1
|
|
1916: 40040513 addi a0,s0,1024
|
|
191a: ee0ff0ef jal ra,ffa <TIM_ITConfig>
|
|
191e: 02d00793 li a5,45
|
|
1922: 867c sh a5,12(sp)
|
|
1924: 4785 li a5,1
|
|
1926: 875c sb a5,14(sp)
|
|
1928: 0068 addi a0,sp,12
|
|
192a: 4785 li a5,1
|
|
192c: c83e sw a5,16(sp)
|
|
192e: bb6ff0ef jal ra,ce4 <NVIC_Init>
|
|
1932: 6105 addi sp,sp,32
|
|
1934: 861fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001938 <TIM3_Init>:
|
|
1938: 839fe2ef jal t0,170 <__riscv_save_0>
|
|
193c: 200007b7 lui a5,0x20000
|
|
1940: 1607a583 lw a1,352(a5) # 20000160 <SystemCoreClock>
|
|
1944: 6789 lui a5,0x2
|
|
1946: 71078793 addi a5,a5,1808 # 2710 <SL_MsgProcFunc_Registration_request+0x38>
|
|
194a: 02f5d5b3 divu a1,a1,a5
|
|
194e: 47a9 li a5,10
|
|
1950: 02f50533 mul a0,a0,a5
|
|
1954: 15fd addi a1,a1,-1
|
|
1956: 05c2 slli a1,a1,0x10
|
|
1958: 81c1 srli a1,a1,0x10
|
|
195a: 157d addi a0,a0,-1
|
|
195c: 0542 slli a0,a0,0x10
|
|
195e: 8141 srli a0,a0,0x10
|
|
1960: 3759 jal 18e6 <TIM3_Int_Init>
|
|
1962: 833fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001966 <TIM3_IRQHandler>:
|
|
1966: 1141 addi sp,sp,-16
|
|
1968: c622 sw s0,12(sp)
|
|
196a: 40000437 lui s0,0x40000
|
|
196e: 4585 li a1,1
|
|
1970: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
1974: ef6ff0ef jal ra,106a <TIM_GetITStatus>
|
|
1978: c901 beqz a0,1988 <TIM3_IRQHandler+0x22>
|
|
197a: 4585 li a1,1
|
|
197c: 40040513 addi a0,s0,1024
|
|
1980: f02ff0ef jal ra,1082 <TIM_ClearITPendingBit>
|
|
1984: 2e9000ef jal ra,246c <test>
|
|
1988: 4432 lw s0,12(sp)
|
|
198a: 0141 addi sp,sp,16
|
|
198c: 30200073 mret
|
|
|
|
00001990 <TIM2_Int_Init>:
|
|
1990: fe0fe2ef jal t0,170 <__riscv_save_0>
|
|
1994: 1101 addi sp,sp,-32
|
|
1996: 842e mv s0,a1
|
|
1998: 84aa mv s1,a0
|
|
199a: 4585 li a1,1
|
|
199c: 4505 li a0,1
|
|
199e: ca2ff0ef jal ra,e40 <RCC_PB1PeriphClockCmd>
|
|
19a2: 084c addi a1,sp,20
|
|
19a4: 40000537 lui a0,0x40000
|
|
19a8: ca26 sw s1,20(sp)
|
|
19aa: 84e0 sh s0,24(sp)
|
|
19ac: 00011e23 sh zero,28(sp)
|
|
19b0: 00011d23 sh zero,26(sp)
|
|
19b4: d26ff0ef jal ra,eda <TIM_TimeBaseInit>
|
|
19b8: 4605 li a2,1
|
|
19ba: 4585 li a1,1
|
|
19bc: 40000537 lui a0,0x40000
|
|
19c0: e3aff0ef jal ra,ffa <TIM_ITConfig>
|
|
19c4: 02c00793 li a5,44
|
|
19c8: 867c sh a5,12(sp)
|
|
19ca: 478d li a5,3
|
|
19cc: 875c sb a5,14(sp)
|
|
19ce: 0068 addi a0,sp,12
|
|
19d0: 4785 li a5,1
|
|
19d2: c83e sw a5,16(sp)
|
|
19d4: b10ff0ef jal ra,ce4 <NVIC_Init>
|
|
19d8: 4585 li a1,1
|
|
19da: 40000537 lui a0,0x40000
|
|
19de: deeff0ef jal ra,fcc <TIM_Cmd>
|
|
19e2: 6105 addi sp,sp,32
|
|
19e4: fb0fe06f j 194 <__riscv_restore_0>
|
|
|
|
000019e8 <TIM2_Init>:
|
|
19e8: f88fe2ef jal t0,170 <__riscv_save_0>
|
|
19ec: 200007b7 lui a5,0x20000
|
|
19f0: 1607a583 lw a1,352(a5) # 20000160 <SystemCoreClock>
|
|
19f4: 6789 lui a5,0x2
|
|
19f6: 71078793 addi a5,a5,1808 # 2710 <SL_MsgProcFunc_Registration_request+0x38>
|
|
19fa: 02f5d5b3 divu a1,a1,a5
|
|
19fe: 47a9 li a5,10
|
|
1a00: 02f50533 mul a0,a0,a5
|
|
1a04: 15fd addi a1,a1,-1
|
|
1a06: 05c2 slli a1,a1,0x10
|
|
1a08: 81c1 srli a1,a1,0x10
|
|
1a0a: 157d addi a0,a0,-1
|
|
1a0c: 0542 slli a0,a0,0x10
|
|
1a0e: 8141 srli a0,a0,0x10
|
|
1a10: 3741 jal 1990 <TIM2_Int_Init>
|
|
1a12: f82fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001a16 <TIM2_IRQHandler>:
|
|
1a16: 4585 li a1,1
|
|
1a18: 40000537 lui a0,0x40000
|
|
1a1c: e4eff0ef jal ra,106a <TIM_GetITStatus>
|
|
1a20: cd11 beqz a0,1a3c <TIM2_IRQHandler+0x26>
|
|
1a22: 4585 li a1,1
|
|
1a24: 40000537 lui a0,0x40000
|
|
1a28: e5aff0ef jal ra,1082 <TIM_ClearITPendingBit>
|
|
1a2c: 20cd jal 1b0e <TimeSliceOffset_Produce>
|
|
1a2e: 8841c683 lbu a3,-1916(gp) # 200001e4 <outputAgainFlag>
|
|
1a32: 4705 li a4,1
|
|
1a34: 00e69463 bne a3,a4,1a3c <TIM2_IRQHandler+0x26>
|
|
1a38: 88018223 sb zero,-1916(gp) # 200001e4 <outputAgainFlag>
|
|
1a3c: 30200073 mret
|
|
|
|
00001a40 <SysTick_Handler>:
|
|
1a40: e000f7b7 lui a5,0xe000f
|
|
1a44: 0007a223 sw zero,4(a5) # e000f004 <_eusrstack+0xc000a004>
|
|
1a48: 20d9 jal 1b0e <TimeSliceOffset_Produce>
|
|
1a4a: 30200073 mret
|
|
|
|
00001a4e <TIM1_UP_IRQHandler>:
|
|
1a4e: 1141 addi sp,sp,-16
|
|
1a50: c622 sw s0,12(sp)
|
|
1a52: 40013437 lui s0,0x40013
|
|
1a56: 4585 li a1,1
|
|
1a58: c0040513 addi a0,s0,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
1a5c: e0eff0ef jal ra,106a <TIM_GetITStatus>
|
|
1a60: cd01 beqz a0,1a78 <TIM1_UP_IRQHandler+0x2a>
|
|
1a62: c0040513 addi a0,s0,-1024
|
|
1a66: 4585 li a1,1
|
|
1a68: e1aff0ef jal ra,1082 <TIM_ClearITPendingBit>
|
|
1a6c: 00008537 lui a0,0x8
|
|
1a70: 97850513 addi a0,a0,-1672 # 7978 <_read+0x60>
|
|
1a74: 0c7040ef jal ra,633a <puts>
|
|
1a78: 4432 lw s0,12(sp)
|
|
1a7a: 0141 addi sp,sp,16
|
|
1a7c: 30200073 mret
|
|
|
|
00001a80 <TimeSliceOffset_Register>:
|
|
1a80: c91d beqz a0,1ab6 <TimeSliceOffset_Register+0x36>
|
|
1a82: 96b2 add a3,a3,a2
|
|
1a84: 06c2 slli a3,a3,0x10
|
|
1a86: 82c1 srli a3,a3,0x10
|
|
1a88: a152 sh a2,4(a0)
|
|
1a8a: a136 sh a3,2(a0)
|
|
1a8c: c50c sw a1,8(a0)
|
|
1a8e: ee09 bnez a2,1aa8 <TimeSliceOffset_Register+0x28>
|
|
1a90: 4785 li a5,1
|
|
1a92: a11c sb a5,0(a0)
|
|
1a94: 8401a683 lw a3,-1984(gp) # 200001a0 <pTimeSliceList>
|
|
1a98: 84018793 addi a5,gp,-1984 # 200001a0 <pTimeSliceList>
|
|
1a9c: 8736 mv a4,a3
|
|
1a9e: eb01 bnez a4,1aae <TimeSliceOffset_Register+0x2e>
|
|
1aa0: c554 sw a3,12(a0)
|
|
1aa2: c388 sw a0,0(a5)
|
|
1aa4: 4501 li a0,0
|
|
1aa6: 8082 ret
|
|
1aa8: 00050023 sb zero,0(a0)
|
|
1aac: b7e5 j 1a94 <TimeSliceOffset_Register+0x14>
|
|
1aae: 00a70663 beq a4,a0,1aba <TimeSliceOffset_Register+0x3a>
|
|
1ab2: 4758 lw a4,12(a4)
|
|
1ab4: b7ed j 1a9e <TimeSliceOffset_Register+0x1e>
|
|
1ab6: 557d li a0,-1
|
|
1ab8: 8082 ret
|
|
1aba: 4505 li a0,1
|
|
1abc: 8082 ret
|
|
|
|
00001abe <TimeSliceOffset_Unregister>:
|
|
1abe: c50d beqz a0,1ae8 <TimeSliceOffset_Unregister+0x2a>
|
|
1ac0: 8401a783 lw a5,-1984(gp) # 200001a0 <pTimeSliceList>
|
|
1ac4: 84018713 addi a4,gp,-1984 # 200001a0 <pTimeSliceList>
|
|
1ac8: e399 bnez a5,1ace <TimeSliceOffset_Unregister+0x10>
|
|
1aca: 4505 li a0,1
|
|
1acc: 8082 ret
|
|
1ace: 47d4 lw a3,12(a5)
|
|
1ad0: 00a69663 bne a3,a0,1adc <TimeSliceOffset_Unregister+0x1e>
|
|
1ad4: 4558 lw a4,12(a0)
|
|
1ad6: c7d8 sw a4,12(a5)
|
|
1ad8: 4501 li a0,0
|
|
1ada: 8082 ret
|
|
1adc: 00a79463 bne a5,a0,1ae4 <TimeSliceOffset_Unregister+0x26>
|
|
1ae0: c314 sw a3,0(a4)
|
|
1ae2: bfdd j 1ad8 <TimeSliceOffset_Unregister+0x1a>
|
|
1ae4: 87b6 mv a5,a3
|
|
1ae6: b7cd j 1ac8 <TimeSliceOffset_Unregister+0xa>
|
|
1ae8: 557d li a0,-1
|
|
1aea: 8082 ret
|
|
|
|
00001aec <TimeSliceOffset_Start>:
|
|
1aec: e84fe2ef jal t0,170 <__riscv_save_0>
|
|
1af0: 8401a403 lw s0,-1984(gp) # 200001a0 <pTimeSliceList>
|
|
1af4: dc75 beqz s0,1af0 <TimeSliceOffset_Start+0x4>
|
|
1af6: 201c lbu a5,0(s0)
|
|
1af8: 0ff7f793 andi a5,a5,255
|
|
1afc: c799 beqz a5,1b0a <TimeSliceOffset_Start+0x1e>
|
|
1afe: 205e lhu a5,4(s0)
|
|
1b00: c399 beqz a5,1b06 <TimeSliceOffset_Start+0x1a>
|
|
1b02: 00040023 sb zero,0(s0)
|
|
1b06: 441c lw a5,8(s0)
|
|
1b08: 9782 jalr a5
|
|
1b0a: 4440 lw s0,12(s0)
|
|
1b0c: b7e5 j 1af4 <TimeSliceOffset_Start+0x8>
|
|
|
|
00001b0e <TimeSliceOffset_Produce>:
|
|
1b0e: 8401a783 lw a5,-1984(gp) # 200001a0 <pTimeSliceList>
|
|
1b12: 4605 li a2,1
|
|
1b14: e391 bnez a5,1b18 <TimeSliceOffset_Produce+0xa>
|
|
1b16: 8082 ret
|
|
1b18: 23d6 lhu a3,4(a5)
|
|
1b1a: ce81 beqz a3,1b32 <TimeSliceOffset_Produce+0x24>
|
|
1b1c: 23ba lhu a4,2(a5)
|
|
1b1e: 177d addi a4,a4,-1
|
|
1b20: 0742 slli a4,a4,0x10
|
|
1b22: 8341 srli a4,a4,0x10
|
|
1b24: a3ba sh a4,2(a5)
|
|
1b26: 23ba lhu a4,2(a5)
|
|
1b28: 0742 slli a4,a4,0x10
|
|
1b2a: 8341 srli a4,a4,0x10
|
|
1b2c: e319 bnez a4,1b32 <TimeSliceOffset_Produce+0x24>
|
|
1b2e: a390 sb a2,0(a5)
|
|
1b30: a3b6 sh a3,2(a5)
|
|
1b32: 47dc lw a5,12(a5)
|
|
1b34: b7c5 j 1b14 <TimeSliceOffset_Produce+0x6>
|
|
|
|
00001b36 <InitRingQueue>:
|
|
1b36: 00052623 sw zero,12(a0)
|
|
1b3a: c10c sw a1,0(a0)
|
|
1b3c: c150 sw a2,4(a0)
|
|
1b3e: 00052423 sw zero,8(a0)
|
|
1b42: 4505 li a0,1
|
|
1b44: 8082 ret
|
|
|
|
00001b46 <InRingQueue>:
|
|
1b46: 455c lw a5,12(a0)
|
|
1b48: 4154 lw a3,4(a0)
|
|
1b4a: 4518 lw a4,8(a0)
|
|
1b4c: 0785 addi a5,a5,1
|
|
1b4e: 02d7e7b3 rem a5,a5,a3
|
|
1b52: 00e78e63 beq a5,a4,1b6e <InRingQueue+0x28>
|
|
1b56: 4558 lw a4,12(a0)
|
|
1b58: 411c lw a5,0(a0)
|
|
1b5a: 97ba add a5,a5,a4
|
|
1b5c: a38c sb a1,0(a5)
|
|
1b5e: 455c lw a5,12(a0)
|
|
1b60: 4158 lw a4,4(a0)
|
|
1b62: 0785 addi a5,a5,1
|
|
1b64: 02e7e7b3 rem a5,a5,a4
|
|
1b68: c55c sw a5,12(a0)
|
|
1b6a: 4505 li a0,1
|
|
1b6c: 8082 ret
|
|
1b6e: 5579 li a0,-2
|
|
1b70: 8082 ret
|
|
|
|
00001b72 <OutRingQueue>:
|
|
1b72: 4518 lw a4,8(a0)
|
|
1b74: 455c lw a5,12(a0)
|
|
1b76: 00f70f63 beq a4,a5,1b94 <OutRingQueue+0x22>
|
|
1b7a: 4518 lw a4,8(a0)
|
|
1b7c: 411c lw a5,0(a0)
|
|
1b7e: 97ba add a5,a5,a4
|
|
1b80: 239c lbu a5,0(a5)
|
|
1b82: a19c sb a5,0(a1)
|
|
1b84: 451c lw a5,8(a0)
|
|
1b86: 4158 lw a4,4(a0)
|
|
1b88: 0785 addi a5,a5,1
|
|
1b8a: 02e7e7b3 rem a5,a5,a4
|
|
1b8e: c51c sw a5,8(a0)
|
|
1b90: 4505 li a0,1
|
|
1b92: 8082 ret
|
|
1b94: 4501 li a0,0
|
|
1b96: 8082 ret
|
|
|
|
00001b98 <RingQueueLength>:
|
|
1b98: 455c lw a5,12(a0)
|
|
1b9a: 4518 lw a4,8(a0)
|
|
1b9c: 4148 lw a0,4(a0)
|
|
1b9e: 8f99 sub a5,a5,a4
|
|
1ba0: 97aa add a5,a5,a0
|
|
1ba2: 02a7e533 rem a0,a5,a0
|
|
1ba6: 8082 ret
|
|
|
|
00001ba8 <Delay_Init>:
|
|
1ba8: 200007b7 lui a5,0x20000
|
|
1bac: 1607a783 lw a5,352(a5) # 20000160 <SystemCoreClock>
|
|
1bb0: 6709 lui a4,0x2
|
|
1bb2: f4070713 addi a4,a4,-192 # 1f40 <read_config_info+0x62>
|
|
1bb6: 02e7d7b3 divu a5,a5,a4
|
|
1bba: 07c2 slli a5,a5,0x10
|
|
1bbc: 83c1 srli a5,a5,0x10
|
|
1bbe: 84f19323 sh a5,-1978(gp) # 200001a6 <p_us>
|
|
1bc2: 84f19223 sh a5,-1980(gp) # 200001a4 <p_ms>
|
|
1bc6: 8082 ret
|
|
|
|
00001bc8 <Delay_Ms>:
|
|
1bc8: e000f7b7 lui a5,0xe000f
|
|
1bcc: 43d8 lw a4,4(a5)
|
|
1bce: 4681 li a3,0
|
|
1bd0: 9b79 andi a4,a4,-2
|
|
1bd2: c3d8 sw a4,4(a5)
|
|
1bd4: 8441d703 lhu a4,-1980(gp) # 200001a4 <p_ms>
|
|
1bd8: 02a70633 mul a2,a4,a0
|
|
1bdc: cb90 sw a2,16(a5)
|
|
1bde: cbd4 sw a3,20(a5)
|
|
1be0: 4398 lw a4,0(a5)
|
|
1be2: 01076713 ori a4,a4,16
|
|
1be6: c398 sw a4,0(a5)
|
|
1be8: 4398 lw a4,0(a5)
|
|
1bea: 02176713 ori a4,a4,33
|
|
1bee: c398 sw a4,0(a5)
|
|
1bf0: 43d8 lw a4,4(a5)
|
|
1bf2: 8b05 andi a4,a4,1
|
|
1bf4: df75 beqz a4,1bf0 <Delay_Ms+0x28>
|
|
1bf6: 4398 lw a4,0(a5)
|
|
1bf8: 9b79 andi a4,a4,-2
|
|
1bfa: c398 sw a4,0(a5)
|
|
1bfc: 8082 ret
|
|
|
|
00001bfe <USART_Printf_Init>:
|
|
1bfe: d72fe2ef jal t0,170 <__riscv_save_0>
|
|
1c02: 842a mv s0,a0
|
|
1c04: 6511 lui a0,0x4
|
|
1c06: 1101 addi sp,sp,-32
|
|
1c08: 4585 li a1,1
|
|
1c0a: 0511 addi a0,a0,4
|
|
1c0c: a16ff0ef jal ra,e22 <RCC_PB2PeriphClockCmd>
|
|
1c10: 20000793 li a5,512
|
|
1c14: 827c sh a5,4(sp)
|
|
1c16: 40011537 lui a0,0x40011
|
|
1c1a: 478d li a5,3
|
|
1c1c: c43e sw a5,8(sp)
|
|
1c1e: 004c addi a1,sp,4
|
|
1c20: 47e1 li a5,24
|
|
1c22: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1c26: c63e sw a5,12(sp)
|
|
1c28: cedfe0ef jal ra,914 <GPIO_Init>
|
|
1c2c: c822 sw s0,16(sp)
|
|
1c2e: 40014437 lui s0,0x40014
|
|
1c32: 000807b7 lui a5,0x80
|
|
1c36: 080c addi a1,sp,16
|
|
1c38: 80040513 addi a0,s0,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1c3c: cc3e sw a5,24(sp)
|
|
1c3e: ca02 sw zero,20(sp)
|
|
1c40: 00011e23 sh zero,28(sp)
|
|
1c44: c4aff0ef jal ra,108e <USART_Init>
|
|
1c48: 4585 li a1,1
|
|
1c4a: 80040513 addi a0,s0,-2048
|
|
1c4e: cfaff0ef jal ra,1148 <USART_Cmd>
|
|
1c52: 6105 addi sp,sp,32
|
|
1c54: d40fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001c58 <_write>:
|
|
1c58: cfefe2ef jal t0,156 <__riscv_save_4>
|
|
1c5c: 400144b7 lui s1,0x40014
|
|
1c60: 89ae mv s3,a1
|
|
1c62: 8932 mv s2,a2
|
|
1c64: 4401 li s0,0
|
|
1c66: 80048493 addi s1,s1,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1c6a: 01244563 blt s0,s2,1c74 <_write+0x1c>
|
|
1c6e: 854a mv a0,s2
|
|
1c70: d1afe06f j 18a <__riscv_restore_4>
|
|
1c74: 04000593 li a1,64
|
|
1c78: 8526 mv a0,s1
|
|
1c7a: d2aff0ef jal ra,11a4 <USART_GetFlagStatus>
|
|
1c7e: d97d beqz a0,1c74 <_write+0x1c>
|
|
1c80: 008987b3 add a5,s3,s0
|
|
1c84: 00078583 lb a1,0(a5) # 80000 <_data_lma+0x77cd4>
|
|
1c88: 8526 mv a0,s1
|
|
1c8a: 0405 addi s0,s0,1
|
|
1c8c: 05c2 slli a1,a1,0x10
|
|
1c8e: 81c1 srli a1,a1,0x10
|
|
1c90: d04ff0ef jal ra,1194 <USART_SendData>
|
|
1c94: bfd9 j 1c6a <_write+0x12>
|
|
|
|
00001c96 <_sbrk>:
|
|
1c96: 80818713 addi a4,gp,-2040 # 20000168 <curbrk.5007>
|
|
1c9a: 431c lw a5,0(a4)
|
|
1c9c: b7818693 addi a3,gp,-1160 # 200004d8 <_ebss>
|
|
1ca0: 953e add a0,a0,a5
|
|
1ca2: 00d56b63 bltu a0,a3,1cb8 <_sbrk+0x22>
|
|
1ca6: 200056b7 lui a3,0x20005
|
|
1caa: 80068693 addi a3,a3,-2048 # 20004800 <_heap_end>
|
|
1cae: 00a6e563 bltu a3,a0,1cb8 <_sbrk+0x22>
|
|
1cb2: c308 sw a0,0(a4)
|
|
1cb4: 853e mv a0,a5
|
|
1cb6: 8082 ret
|
|
1cb8: 57fd li a5,-1
|
|
1cba: bfed j 1cb4 <_sbrk+0x1e>
|
|
|
|
00001cbc <Get_ConversionVal>:
|
|
1cbc: 83419703 lh a4,-1996(gp) # 20000194 <Calibrattion_Val>
|
|
1cc0: 4781 li a5,0
|
|
1cc2: 972a add a4,a4,a0
|
|
1cc4: 00074f63 bltz a4,1ce2 <Get_ConversionVal+0x26>
|
|
1cc8: cd09 beqz a0,1ce2 <Get_ConversionVal+0x26>
|
|
1cca: 6605 lui a2,0x1
|
|
1ccc: fff60693 addi a3,a2,-1 # fff <TIM_ITConfig+0x5>
|
|
1cd0: 87b6 mv a5,a3
|
|
1cd2: 00c75863 bge a4,a2,1ce2 <Get_ConversionVal+0x26>
|
|
1cd6: 87aa mv a5,a0
|
|
1cd8: 00d50563 beq a0,a3,1ce2 <Get_ConversionVal+0x26>
|
|
1cdc: 01071793 slli a5,a4,0x10
|
|
1ce0: 83c1 srli a5,a5,0x10
|
|
1ce2: 853e mv a0,a5
|
|
1ce4: 8082 ret
|
|
|
|
00001ce6 <middleAverageFilter>:
|
|
1ce6: c70fe2ef jal t0,156 <__riscv_save_4>
|
|
1cea: 1141 addi sp,sp,-16
|
|
1cec: 40012437 lui s0,0x40012
|
|
1cf0: 89aa mv s3,a0
|
|
1cf2: 0044 addi s1,sp,4
|
|
1cf4: 01010913 addi s2,sp,16
|
|
1cf8: 40040413 addi s0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
1cfc: 85ce mv a1,s3
|
|
1cfe: 8522 mv a0,s0
|
|
1d00: 4695 li a3,5
|
|
1d02: 4605 li a2,1
|
|
1d04: 88ffe0ef jal ra,592 <ADC_RegularChannelConfig>
|
|
1d08: 4585 li a1,1
|
|
1d0a: 8522 mv a0,s0
|
|
1d0c: 86ffe0ef jal ra,57a <ADC_SoftwareStartConvCmd>
|
|
1d10: 4589 li a1,2
|
|
1d12: 8522 mv a0,s0
|
|
1d14: 93ffe0ef jal ra,652 <ADC_GetFlagStatus>
|
|
1d18: dd65 beqz a0,1d10 <middleAverageFilter+0x2a>
|
|
1d1a: 8522 mv a0,s0
|
|
1d1c: 92ffe0ef jal ra,64a <ADC_GetConversionValue>
|
|
1d20: 0542 slli a0,a0,0x10
|
|
1d22: 8541 srai a0,a0,0x10
|
|
1d24: 3f61 jal 1cbc <Get_ConversionVal>
|
|
1d26: a08a sh a0,0(s1)
|
|
1d28: 0489 addi s1,s1,2
|
|
1d2a: fc9919e3 bne s2,s1,1cfc <middleAverageFilter+0x16>
|
|
1d2e: 4715 li a4,5
|
|
1d30: 4781 li a5,0
|
|
1d32: a035 j 1d5e <middleAverageFilter+0x78>
|
|
1d34: 00179613 slli a2,a5,0x1
|
|
1d38: 0814 addi a3,sp,16
|
|
1d3a: 0785 addi a5,a5,1
|
|
1d3c: 9636 add a2,a2,a3
|
|
1d3e: 0808 addi a0,sp,16
|
|
1d40: 00179693 slli a3,a5,0x1
|
|
1d44: 96aa add a3,a3,a0
|
|
1d46: ff465583 lhu a1,-12(a2)
|
|
1d4a: ff46d503 lhu a0,-12(a3)
|
|
1d4e: 00b57663 bgeu a0,a1,1d5a <middleAverageFilter+0x74>
|
|
1d52: fea61a23 sh a0,-12(a2)
|
|
1d56: feb69a23 sh a1,-12(a3)
|
|
1d5a: 07c2 slli a5,a5,0x10
|
|
1d5c: 83c1 srli a5,a5,0x10
|
|
1d5e: fce7cbe3 blt a5,a4,1d34 <middleAverageFilter+0x4e>
|
|
1d62: 177d addi a4,a4,-1
|
|
1d64: f771 bnez a4,1d30 <middleAverageFilter+0x4a>
|
|
1d66: 8428 lhu a0,8(sp)
|
|
1d68: 853c lhu a5,10(sp)
|
|
1d6a: 0141 addi sp,sp,16
|
|
1d6c: 953e add a0,a0,a5
|
|
1d6e: 0542 slli a0,a0,0x10
|
|
1d70: 8141 srli a0,a0,0x10
|
|
1d72: 8105 srli a0,a0,0x1
|
|
1d74: c16fe06f j 18a <__riscv_restore_4>
|
|
|
|
00001d78 <get_CHG_CURR>:
|
|
1d78: bf8fe2ef jal t0,170 <__riscv_save_0>
|
|
1d7c: 4505 li a0,1
|
|
1d7e: 37a5 jal 1ce6 <middleAverageFilter>
|
|
1d80: 0a2040ef jal ra,5e22 <__floatunsisf>
|
|
1d84: 000087b7 lui a5,0x8
|
|
1d88: 9887a583 lw a1,-1656(a5) # 7988 <_read+0x70>
|
|
1d8c: 538030ef jal ra,52c4 <__divsf3>
|
|
1d90: 160040ef jal ra,5ef0 <__extendsfdf2>
|
|
1d94: 000087b7 lui a5,0x8
|
|
1d98: 9907a603 lw a2,-1648(a5) # 7990 <_read+0x78>
|
|
1d9c: 9947a683 lw a3,-1644(a5)
|
|
1da0: 552020ef jal ra,42f2 <__muldf3>
|
|
1da4: 000087b7 lui a5,0x8
|
|
1da8: 9987a603 lw a2,-1640(a5) # 7998 <_read+0x80>
|
|
1dac: 99c7a683 lw a3,-1636(a5)
|
|
1db0: 542020ef jal ra,42f2 <__muldf3>
|
|
1db4: 1e8040ef jal ra,5f9c <__truncdfsf2>
|
|
1db8: bdcfe06f j 194 <__riscv_restore_0>
|
|
|
|
00001dbc <get_PV_VOLT_OUT>:
|
|
1dbc: bb4fe2ef jal t0,170 <__riscv_save_0>
|
|
1dc0: 4509 li a0,2
|
|
1dc2: 3715 jal 1ce6 <middleAverageFilter>
|
|
1dc4: 05e040ef jal ra,5e22 <__floatunsisf>
|
|
1dc8: 000087b7 lui a5,0x8
|
|
1dcc: 9887a583 lw a1,-1656(a5) # 7988 <_read+0x70>
|
|
1dd0: 4f4030ef jal ra,52c4 <__divsf3>
|
|
1dd4: 11c040ef jal ra,5ef0 <__extendsfdf2>
|
|
1dd8: 000087b7 lui a5,0x8
|
|
1ddc: 9907a603 lw a2,-1648(a5) # 7990 <_read+0x78>
|
|
1de0: 9947a683 lw a3,-1644(a5)
|
|
1de4: 50e020ef jal ra,42f2 <__muldf3>
|
|
1de8: 000087b7 lui a5,0x8
|
|
1dec: 9b87a603 lw a2,-1608(a5) # 79b8 <_read+0xa0>
|
|
1df0: 9bc7a683 lw a3,-1604(a5)
|
|
1df4: 4fe020ef jal ra,42f2 <__muldf3>
|
|
1df8: 1a4040ef jal ra,5f9c <__truncdfsf2>
|
|
1dfc: b98fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e00 <get_DSG_CURR>:
|
|
1e00: b70fe2ef jal t0,170 <__riscv_save_0>
|
|
1e04: 450d li a0,3
|
|
1e06: 35c5 jal 1ce6 <middleAverageFilter>
|
|
1e08: 01a040ef jal ra,5e22 <__floatunsisf>
|
|
1e0c: 000087b7 lui a5,0x8
|
|
1e10: 9887a583 lw a1,-1656(a5) # 7988 <_read+0x70>
|
|
1e14: 4b0030ef jal ra,52c4 <__divsf3>
|
|
1e18: 0d8040ef jal ra,5ef0 <__extendsfdf2>
|
|
1e1c: 000087b7 lui a5,0x8
|
|
1e20: 9907a603 lw a2,-1648(a5) # 7990 <_read+0x78>
|
|
1e24: 9947a683 lw a3,-1644(a5)
|
|
1e28: 4ca020ef jal ra,42f2 <__muldf3>
|
|
1e2c: 000087b7 lui a5,0x8
|
|
1e30: 9987a603 lw a2,-1640(a5) # 7998 <_read+0x80>
|
|
1e34: 99c7a683 lw a3,-1636(a5)
|
|
1e38: 4ba020ef jal ra,42f2 <__muldf3>
|
|
1e3c: 160040ef jal ra,5f9c <__truncdfsf2>
|
|
1e40: b54fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e44 <get_PV1_VOLT_IN>:
|
|
1e44: b2cfe2ef jal t0,170 <__riscv_save_0>
|
|
1e48: 4511 li a0,4
|
|
1e4a: 3d71 jal 1ce6 <middleAverageFilter>
|
|
1e4c: 7d7030ef jal ra,5e22 <__floatunsisf>
|
|
1e50: 000087b7 lui a5,0x8
|
|
1e54: 9887a583 lw a1,-1656(a5) # 7988 <_read+0x70>
|
|
1e58: 46c030ef jal ra,52c4 <__divsf3>
|
|
1e5c: 094040ef jal ra,5ef0 <__extendsfdf2>
|
|
1e60: 000087b7 lui a5,0x8
|
|
1e64: 9907a603 lw a2,-1648(a5) # 7990 <_read+0x78>
|
|
1e68: 9947a683 lw a3,-1644(a5)
|
|
1e6c: 486020ef jal ra,42f2 <__muldf3>
|
|
1e70: 000087b7 lui a5,0x8
|
|
1e74: 9b07a603 lw a2,-1616(a5) # 79b0 <_read+0x98>
|
|
1e78: 9b47a683 lw a3,-1612(a5)
|
|
1e7c: 476020ef jal ra,42f2 <__muldf3>
|
|
1e80: 11c040ef jal ra,5f9c <__truncdfsf2>
|
|
1e84: b10fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e88 <get_MOSFET_Temper>:
|
|
1e88: ae8fe2ef jal t0,170 <__riscv_save_0>
|
|
1e8c: 4519 li a0,6
|
|
1e8e: 3da1 jal 1ce6 <middleAverageFilter>
|
|
1e90: 67a1 lui a5,0x8
|
|
1e92: 9c078793 addi a5,a5,-1600 # 79c0 <mosTemperADC>
|
|
1e96: 4701 li a4,0
|
|
1e98: 0f100693 li a3,241
|
|
1e9c: 2392 lhu a2,0(a5)
|
|
1e9e: 02c56963 bltu a0,a2,1ed0 <get_MOSFET_Temper+0x48>
|
|
1ea2: 853a mv a0,a4
|
|
1ea4: 044030ef jal ra,4ee8 <__floatsidf>
|
|
1ea8: 000087b7 lui a5,0x8
|
|
1eac: 9a07a603 lw a2,-1632(a5) # 79a0 <_read+0x88>
|
|
1eb0: 9a47a683 lw a3,-1628(a5)
|
|
1eb4: 43e020ef jal ra,42f2 <__muldf3>
|
|
1eb8: 000087b7 lui a5,0x8
|
|
1ebc: 9a87a603 lw a2,-1624(a5) # 79a8 <_read+0x90>
|
|
1ec0: 9ac7a683 lw a3,-1620(a5)
|
|
1ec4: 0e7020ef jal ra,47aa <__subdf3>
|
|
1ec8: 0d4040ef jal ra,5f9c <__truncdfsf2>
|
|
1ecc: ac8fe06f j 194 <__riscv_restore_0>
|
|
1ed0: 0705 addi a4,a4,1
|
|
1ed2: 0789 addi a5,a5,2
|
|
1ed4: fcd714e3 bne a4,a3,1e9c <get_MOSFET_Temper+0x14>
|
|
1ed8: 00000513 li a0,0
|
|
1edc: bfc5 j 1ecc <get_MOSFET_Temper+0x44>
|
|
|
|
00001ede <read_config_info>:
|
|
1ede: a92fe2ef jal t0,170 <__riscv_save_0>
|
|
1ee2: 7179 addi sp,sp,-48
|
|
1ee4: 0048 addi a0,sp,4
|
|
1ee6: 02c00613 li a2,44
|
|
1eea: 4581 li a1,0
|
|
1eec: cecff0ef jal ra,13d8 <SPI_Flash_Read>
|
|
1ef0: 8218 lbu a4,4(sp)
|
|
1ef2: 05300793 li a5,83
|
|
1ef6: 20000537 lui a0,0x20000
|
|
1efa: 02f71763 bne a4,a5,1f28 <read_config_info+0x4a>
|
|
1efe: 8298 lbu a4,5(sp)
|
|
1f00: 04c00793 li a5,76
|
|
1f04: 02f71263 bne a4,a5,1f28 <read_config_info+0x4a>
|
|
1f08: 02f14703 lbu a4,47(sp)
|
|
1f0c: 47d9 li a5,22
|
|
1f0e: 00f71d63 bne a4,a5,1f28 <read_config_info+0x4a>
|
|
1f12: 02c00613 li a2,44
|
|
1f16: 004c addi a1,sp,4
|
|
1f18: 02050513 addi a0,a0,32 # 20000020 <g_slConfigInfo>
|
|
1f1c: 258040ef jal ra,6174 <memcpy>
|
|
1f20: 4505 li a0,1
|
|
1f22: 6145 addi sp,sp,48
|
|
1f24: a70fe06f j 194 <__riscv_restore_0>
|
|
1f28: 200007b7 lui a5,0x20000
|
|
1f2c: 04c7c703 lbu a4,76(a5) # 2000004c <defaultValue>
|
|
1f30: 02050513 addi a0,a0,32
|
|
1f34: 04c78793 addi a5,a5,76
|
|
1f38: a118 sb a4,0(a0)
|
|
1f3a: 3398 lbu a4,1(a5)
|
|
1f3c: b118 sb a4,1(a0)
|
|
1f3e: 23b8 lbu a4,2(a5)
|
|
1f40: a138 sb a4,2(a0)
|
|
1f42: 33b8 lbu a4,3(a5)
|
|
1f44: b138 sb a4,3(a0)
|
|
1f46: 23d8 lbu a4,4(a5)
|
|
1f48: a158 sb a4,4(a0)
|
|
1f4a: 33d8 lbu a4,5(a5)
|
|
1f4c: b158 sb a4,5(a0)
|
|
1f4e: 23f8 lbu a4,6(a5)
|
|
1f50: a178 sb a4,6(a0)
|
|
1f52: 33f8 lbu a4,7(a5)
|
|
1f54: b178 sb a4,7(a0)
|
|
1f56: 2798 lbu a4,8(a5)
|
|
1f58: 37dc lbu a5,13(a5)
|
|
1f5a: a518 sb a4,8(a0)
|
|
1f5c: 02f505a3 sb a5,43(a0)
|
|
1f60: 4501 li a0,0
|
|
1f62: b7c1 j 1f22 <read_config_info+0x44>
|
|
|
|
00001f64 <mppt_constantVoltage>:
|
|
1f64: 9f2fe2ef jal t0,156 <__riscv_save_4>
|
|
1f68: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
1f6c: 2ff8 lbu a4,30(a5)
|
|
1f6e: 3fc0 lbu s0,29(a5)
|
|
1f70: 85aa mv a1,a0
|
|
1f72: 0722 slli a4,a4,0x8
|
|
1f74: 8f41 or a4,a4,s0
|
|
1f76: 3fe0 lbu s0,31(a5)
|
|
1f78: 80c18913 addi s2,gp,-2036 # 2000016c <g_duty_ratio>
|
|
1f7c: 0442 slli s0,s0,0x10
|
|
1f7e: 8f41 or a4,a4,s0
|
|
1f80: 0207c403 lbu s0,32(a5)
|
|
1f84: 0462 slli s0,s0,0x18
|
|
1f86: 8c59 or s0,s0,a4
|
|
1f88: 8522 mv a0,s0
|
|
1f8a: 193030ef jal ra,591c <__subsf3>
|
|
1f8e: 000087b7 lui a5,0x8
|
|
1f92: bec7a583 lw a1,-1044(a5) # 7bec <mosTemperADC+0x22c>
|
|
1f96: 6f2030ef jal ra,5688 <__mulsf3>
|
|
1f9a: 000087b7 lui a5,0x8
|
|
1f9e: bdc7a583 lw a1,-1060(a5) # 7bdc <mosTemperADC+0x21c>
|
|
1fa2: 89aa mv s3,a0
|
|
1fa4: 8522 mv a0,s0
|
|
1fa6: 6e2030ef jal ra,5688 <__mulsf3>
|
|
1faa: 85aa mv a1,a0
|
|
1fac: 854e mv a0,s3
|
|
1fae: 7ad020ef jal ra,4f5a <__addsf3>
|
|
1fb2: 00092583 lw a1,0(s2)
|
|
1fb6: 7a5020ef jal ra,4f5a <__addsf3>
|
|
1fba: 00a92023 sw a0,0(s2)
|
|
1fbe: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
1fc2: e88ff0ef jal ra,164a <Set_duty_ratio>
|
|
1fc6: 9c4fe06f j 18a <__riscv_restore_4>
|
|
|
|
00001fca <mppt_constantVoltageO>:
|
|
1fca: 98cfe2ef jal t0,156 <__riscv_save_4>
|
|
1fce: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
1fd2: 2bb8 lbu a4,18(a5)
|
|
1fd4: 3b80 lbu s0,17(a5)
|
|
1fd6: 0722 slli a4,a4,0x8
|
|
1fd8: 8f41 or a4,a4,s0
|
|
1fda: 3ba0 lbu s0,19(a5)
|
|
1fdc: 80c18913 addi s2,gp,-2036 # 2000016c <g_duty_ratio>
|
|
1fe0: 0442 slli s0,s0,0x10
|
|
1fe2: 8f41 or a4,a4,s0
|
|
1fe4: 2bc0 lbu s0,20(a5)
|
|
1fe6: 0462 slli s0,s0,0x18
|
|
1fe8: 8c59 or s0,s0,a4
|
|
1fea: 85a2 mv a1,s0
|
|
1fec: 131030ef jal ra,591c <__subsf3>
|
|
1ff0: 000087b7 lui a5,0x8
|
|
1ff4: be07a583 lw a1,-1056(a5) # 7be0 <mosTemperADC+0x220>
|
|
1ff8: 690030ef jal ra,5688 <__mulsf3>
|
|
1ffc: 000087b7 lui a5,0x8
|
|
2000: be47a583 lw a1,-1052(a5) # 7be4 <mosTemperADC+0x224>
|
|
2004: 89aa mv s3,a0
|
|
2006: 8522 mv a0,s0
|
|
2008: 680030ef jal ra,5688 <__mulsf3>
|
|
200c: 85aa mv a1,a0
|
|
200e: 854e mv a0,s3
|
|
2010: 74b020ef jal ra,4f5a <__addsf3>
|
|
2014: 00092583 lw a1,0(s2)
|
|
2018: 743020ef jal ra,4f5a <__addsf3>
|
|
201c: 00a92023 sw a0,0(s2)
|
|
2020: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
2024: e26ff0ef jal ra,164a <Set_duty_ratio>
|
|
2028: 962fe06f j 18a <__riscv_restore_4>
|
|
|
|
0000202c <ConstantVoltageCharge>:
|
|
202c: 944fe2ef jal t0,170 <__riscv_save_0>
|
|
2030: 81118493 addi s1,gp,-2031 # 20000171 <onlyOnce.5795>
|
|
2034: 209c lbu a5,0(s1)
|
|
2036: 84c18413 addi s0,gp,-1972 # 200001ac <ConstantVoltageChargeV.5794>
|
|
203a: c785 beqz a5,2062 <ConstantVoltageCharge+0x36>
|
|
203c: 200007b7 lui a5,0x20000
|
|
2040: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
2044: 3be8 lbu a0,23(a5)
|
|
2046: 2f9c lbu a5,24(a5)
|
|
2048: 07a2 slli a5,a5,0x8
|
|
204a: 8d5d or a0,a0,a5
|
|
204c: 5d7030ef jal ra,5e22 <__floatunsisf>
|
|
2050: 000087b7 lui a5,0x8
|
|
2054: ba87a583 lw a1,-1112(a5) # 7ba8 <mosTemperADC+0x1e8>
|
|
2058: 26c030ef jal ra,52c4 <__divsf3>
|
|
205c: c008 sw a0,0(s0)
|
|
205e: 00048023 sb zero,0(s1)
|
|
2062: 4008 lw a0,0(s0)
|
|
2064: 379d jal 1fca <mppt_constantVoltageO>
|
|
2066: 92efe06f j 194 <__riscv_restore_0>
|
|
|
|
0000206a <mppt_constantCurrentO>:
|
|
206a: 8ecfe2ef jal t0,156 <__riscv_save_4>
|
|
206e: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
2072: 2bf8 lbu a4,22(a5)
|
|
2074: 3bc0 lbu s0,21(a5)
|
|
2076: 0722 slli a4,a4,0x8
|
|
2078: 8f41 or a4,a4,s0
|
|
207a: 3be0 lbu s0,23(a5)
|
|
207c: 80c18913 addi s2,gp,-2036 # 2000016c <g_duty_ratio>
|
|
2080: 0442 slli s0,s0,0x10
|
|
2082: 8f41 or a4,a4,s0
|
|
2084: 2f80 lbu s0,24(a5)
|
|
2086: 0462 slli s0,s0,0x18
|
|
2088: 8c59 or s0,s0,a4
|
|
208a: 85a2 mv a1,s0
|
|
208c: 091030ef jal ra,591c <__subsf3>
|
|
2090: 000087b7 lui a5,0x8
|
|
2094: bec7a583 lw a1,-1044(a5) # 7bec <mosTemperADC+0x22c>
|
|
2098: 5f0030ef jal ra,5688 <__mulsf3>
|
|
209c: 000087b7 lui a5,0x8
|
|
20a0: bd87a583 lw a1,-1064(a5) # 7bd8 <mosTemperADC+0x218>
|
|
20a4: 89aa mv s3,a0
|
|
20a6: 8522 mv a0,s0
|
|
20a8: 5e0030ef jal ra,5688 <__mulsf3>
|
|
20ac: 85aa mv a1,a0
|
|
20ae: 854e mv a0,s3
|
|
20b0: 6ab020ef jal ra,4f5a <__addsf3>
|
|
20b4: 00092583 lw a1,0(s2)
|
|
20b8: 6a3020ef jal ra,4f5a <__addsf3>
|
|
20bc: 00a92023 sw a0,0(s2)
|
|
20c0: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
20c4: d86ff0ef jal ra,164a <Set_duty_ratio>
|
|
20c8: 8c2fe06f j 18a <__riscv_restore_4>
|
|
|
|
000020cc <MpptContorl>:
|
|
20cc: 8a4fe2ef jal t0,170 <__riscv_save_0>
|
|
20d0: 89c18713 addi a4,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
20d4: 02c74783 lbu a5,44(a4)
|
|
20d8: 02b74683 lbu a3,43(a4)
|
|
20dc: 4709 li a4,2
|
|
20de: 07a2 slli a5,a5,0x8
|
|
20e0: 8fd5 or a5,a5,a3
|
|
20e2: 0ee78363 beq a5,a4,21c8 <MpptContorl+0xfc>
|
|
20e6: 89c18413 addi s0,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
20ea: 00f76763 bltu a4,a5,20f8 <MpptContorl+0x2c>
|
|
20ee: 4705 li a4,1
|
|
20f0: 06e78d63 beq a5,a4,216a <MpptContorl+0x9e>
|
|
20f4: 8a0fe06f j 194 <__riscv_restore_0>
|
|
20f8: 470d li a4,3
|
|
20fa: 0ce78d63 beq a5,a4,21d4 <MpptContorl+0x108>
|
|
20fe: 4711 li a4,4
|
|
2100: fee79ae3 bne a5,a4,20f4 <MpptContorl+0x28>
|
|
2104: 81218713 addi a4,gp,-2030 # 20000172 <onlyOnce.5801>
|
|
2108: 231c lbu a5,0(a4)
|
|
210a: 86418493 addi s1,gp,-1948 # 200001c4 <numLenFlag.5800>
|
|
210e: c385 beqz a5,212e <MpptContorl+0x62>
|
|
2110: 200006b7 lui a3,0x20000
|
|
2114: 02068693 addi a3,a3,32 # 20000020 <g_slConfigInfo>
|
|
2118: 2edc lbu a5,28(a3)
|
|
211a: 3eb0 lbu a2,27(a3)
|
|
211c: 3e800693 li a3,1000
|
|
2120: 07a2 slli a5,a5,0x8
|
|
2122: 8fd1 or a5,a5,a2
|
|
2124: 02d787b3 mul a5,a5,a3
|
|
2128: 00070023 sb zero,0(a4)
|
|
212c: c09c sw a5,0(s1)
|
|
212e: 00008537 lui a0,0x8
|
|
2132: bb850513 addi a0,a0,-1096 # 7bb8 <mosTemperADC+0x1f8>
|
|
2136: 204040ef jal ra,633a <puts>
|
|
213a: 40001537 lui a0,0x40001
|
|
213e: 4581 li a1,0
|
|
2140: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
2144: ef9fe0ef jal ra,103c <TIM_SetCompare4>
|
|
2148: 86018793 addi a5,gp,-1952 # 200001c0 <num.5799>
|
|
214c: 4398 lw a4,0(a5)
|
|
214e: 4094 lw a3,0(s1)
|
|
2150: 0705 addi a4,a4,1
|
|
2152: c398 sw a4,0(a5)
|
|
2154: fad710e3 bne a4,a3,20f4 <MpptContorl+0x28>
|
|
2158: 0007a023 sw zero,0(a5)
|
|
215c: 3dc1 jal 202c <ConstantVoltageCharge>
|
|
215e: 478d li a5,3
|
|
2160: 02f405a3 sb a5,43(s0)
|
|
2164: 02040623 sb zero,44(s0)
|
|
2168: b771 j 20f4 <MpptContorl+0x28>
|
|
216a: 81018913 addi s2,gp,-2032 # 20000170 <onlyOnce.5787>
|
|
216e: 00094783 lbu a5,0(s2)
|
|
2172: 85c18493 addi s1,gp,-1956 # 200001bc <TrickleChargeC.5786>
|
|
2176: c785 beqz a5,219e <MpptContorl+0xd2>
|
|
2178: 200007b7 lui a5,0x20000
|
|
217c: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
2180: 3f88 lbu a0,25(a5)
|
|
2182: 2fbc lbu a5,26(a5)
|
|
2184: 07a2 slli a5,a5,0x8
|
|
2186: 8d5d or a0,a0,a5
|
|
2188: 49b030ef jal ra,5e22 <__floatunsisf>
|
|
218c: 000087b7 lui a5,0x8
|
|
2190: ba87a583 lw a1,-1112(a5) # 7ba8 <mosTemperADC+0x1e8>
|
|
2194: 130030ef jal ra,52c4 <__divsf3>
|
|
2198: c088 sw a0,0(s1)
|
|
219a: 00090023 sb zero,0(s2)
|
|
219e: 00008537 lui a0,0x8
|
|
21a2: bb050513 addi a0,a0,-1104 # 7bb0 <mosTemperADC+0x1f0>
|
|
21a6: 194040ef jal ra,633a <puts>
|
|
21aa: 2c2c lbu a1,26(s0)
|
|
21ac: 3c1c lbu a5,25(s0)
|
|
21ae: 4088 lw a0,0(s1)
|
|
21b0: 05a2 slli a1,a1,0x8
|
|
21b2: 8ddd or a1,a1,a5
|
|
21b4: 3c3c lbu a5,27(s0)
|
|
21b6: 07c2 slli a5,a5,0x10
|
|
21b8: 8fcd or a5,a5,a1
|
|
21ba: 2c4c lbu a1,28(s0)
|
|
21bc: 05e2 slli a1,a1,0x18
|
|
21be: 8ddd or a1,a1,a5
|
|
21c0: 59b020ef jal ra,4f5a <__addsf3>
|
|
21c4: 355d jal 206a <mppt_constantCurrentO>
|
|
21c6: b73d j 20f4 <MpptContorl+0x28>
|
|
21c8: 000087b7 lui a5,0x8
|
|
21cc: bac7a503 lw a0,-1108(a5) # 7bac <mosTemperADC+0x1ec>
|
|
21d0: 3b51 jal 1f64 <mppt_constantVoltage>
|
|
21d2: b70d j 20f4 <MpptContorl+0x28>
|
|
21d4: 3da1 jal 202c <ConstantVoltageCharge>
|
|
21d6: bf39 j 20f4 <MpptContorl+0x28>
|
|
|
|
000021d8 <MpptMode>:
|
|
21d8: f71fd2ef jal t0,148 <__riscv_save_10>
|
|
21dc: 81318493 addi s1,gp,-2029 # 20000173 <only_once.5821>
|
|
21e0: 209c lbu a5,0(s1)
|
|
21e2: 85818a13 addi s4,gp,-1960 # 200001b8 <StopSolarOpenCircuitV.5820>
|
|
21e6: cbad beqz a5,2258 <MpptMode+0x80>
|
|
21e8: 20000437 lui s0,0x20000
|
|
21ec: 02040413 addi s0,s0,32 # 20000020 <g_slConfigInfo>
|
|
21f0: 247c lbu a5,14(s0)
|
|
21f2: 3448 lbu a0,13(s0)
|
|
21f4: 00008937 lui s2,0x8
|
|
21f8: 07a2 slli a5,a5,0x8
|
|
21fa: 8d5d or a0,a0,a5
|
|
21fc: 427030ef jal ra,5e22 <__floatunsisf>
|
|
2200: ba892583 lw a1,-1112(s2) # 7ba8 <mosTemperADC+0x1e8>
|
|
2204: 0c0030ef jal ra,52c4 <__divsf3>
|
|
2208: 84a1a423 sw a0,-1976(gp) # 200001a8 <ConstantCurrentV.5817>
|
|
220c: 281c lbu a5,16(s0)
|
|
220e: 3468 lbu a0,15(s0)
|
|
2210: 07a2 slli a5,a5,0x8
|
|
2212: 8d5d or a0,a0,a5
|
|
2214: 40f030ef jal ra,5e22 <__floatunsisf>
|
|
2218: ba892583 lw a1,-1112(s2)
|
|
221c: 0a8030ef jal ra,52c4 <__divsf3>
|
|
2220: 84a1a823 sw a0,-1968(gp) # 200001b0 <ConstantVoltageV.5818>
|
|
2224: 283c lbu a5,18(s0)
|
|
2226: 3808 lbu a0,17(s0)
|
|
2228: 07a2 slli a5,a5,0x8
|
|
222a: 8d5d or a0,a0,a5
|
|
222c: 3f7030ef jal ra,5e22 <__floatunsisf>
|
|
2230: ba892583 lw a1,-1112(s2)
|
|
2234: 090030ef jal ra,52c4 <__divsf3>
|
|
2238: 84a1aa23 sw a0,-1964(gp) # 200001b4 <FloatI.5819>
|
|
223c: 287c lbu a5,22(s0)
|
|
223e: 3848 lbu a0,21(s0)
|
|
2240: 07a2 slli a5,a5,0x8
|
|
2242: 8d5d or a0,a0,a5
|
|
2244: 3df030ef jal ra,5e22 <__floatunsisf>
|
|
2248: ba892583 lw a1,-1112(s2)
|
|
224c: 078030ef jal ra,52c4 <__divsf3>
|
|
2250: 00aa2023 sw a0,0(s4)
|
|
2254: 00048023 sb zero,0(s1)
|
|
2258: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
225c: 2fb8 lbu a4,26(a5)
|
|
225e: 0197c903 lbu s2,25(a5)
|
|
2262: 3bc4 lbu s1,21(a5)
|
|
2264: 0722 slli a4,a4,0x8
|
|
2266: 01276733 or a4,a4,s2
|
|
226a: 01b7c903 lbu s2,27(a5)
|
|
226e: 0227c583 lbu a1,34(a5)
|
|
2272: 000a2503 lw a0,0(s4)
|
|
2276: 0942 slli s2,s2,0x10
|
|
2278: 00e96733 or a4,s2,a4
|
|
227c: 01c7c903 lbu s2,28(a5)
|
|
2280: 05a2 slli a1,a1,0x8
|
|
2282: 89c18413 addi s0,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
2286: 0962 slli s2,s2,0x18
|
|
2288: 00e96933 or s2,s2,a4
|
|
228c: 2bf8 lbu a4,22(a5)
|
|
228e: 0722 slli a4,a4,0x8
|
|
2290: 8f45 or a4,a4,s1
|
|
2292: 3be4 lbu s1,23(a5)
|
|
2294: 04c2 slli s1,s1,0x10
|
|
2296: 8f45 or a4,a4,s1
|
|
2298: 2f84 lbu s1,24(a5)
|
|
229a: 04e2 slli s1,s1,0x18
|
|
229c: 8cd9 or s1,s1,a4
|
|
229e: 0217c703 lbu a4,33(a5)
|
|
22a2: 8dd9 or a1,a1,a4
|
|
22a4: 0237c703 lbu a4,35(a5)
|
|
22a8: 0742 slli a4,a4,0x10
|
|
22aa: 8f4d or a4,a4,a1
|
|
22ac: 0247c583 lbu a1,36(a5)
|
|
22b0: 05e2 slli a1,a1,0x18
|
|
22b2: 8dd9 or a1,a1,a4
|
|
22b4: 2c2030ef jal ra,5576 <__gesf2>
|
|
22b8: 04a05b63 blez a0,230e <MpptMode+0x136>
|
|
22bc: 85a6 mv a1,s1
|
|
22be: 854a mv a0,s2
|
|
22c0: 2b6030ef jal ra,5576 <__gesf2>
|
|
22c4: 02055263 bgez a0,22e8 <MpptMode+0x110>
|
|
22c8: 85ca mv a1,s2
|
|
22ca: 8526 mv a0,s1
|
|
22cc: 650030ef jal ra,591c <__subsf3>
|
|
22d0: 421030ef jal ra,5ef0 <__extendsfdf2>
|
|
22d4: 000087b7 lui a5,0x8
|
|
22d8: bc87a603 lw a2,-1080(a5) # 7bc8 <mosTemperADC+0x208>
|
|
22dc: bcc7a683 lw a3,-1076(a5)
|
|
22e0: 75d010ef jal ra,423c <__ledf2>
|
|
22e4: 02055563 bgez a0,230e <MpptMode+0x136>
|
|
22e8: 020405a3 sb zero,43(s0)
|
|
22ec: 02040623 sb zero,44(s0)
|
|
22f0: 743000ef jal ra,3232 <stop_mpptWork>
|
|
22f4: 000035b7 lui a1,0x3
|
|
22f8: 4681 li a3,0
|
|
22fa: 3e800613 li a2,1000
|
|
22fe: 13058593 addi a1,a1,304 # 3130 <Task_startMpptControl>
|
|
2302: 95018513 addi a0,gp,-1712 # 200002b0 <m_startMpptControl>
|
|
2306: f7aff0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
230a: e77fd06f j 180 <__riscv_restore_10>
|
|
230e: 85ca mv a1,s2
|
|
2310: 8526 mv a0,s1
|
|
2312: 60a030ef jal ra,591c <__subsf3>
|
|
2316: 3db030ef jal ra,5ef0 <__extendsfdf2>
|
|
231a: 000087b7 lui a5,0x8
|
|
231e: bc87ab03 lw s6,-1080(a5) # 7bc8 <mosTemperADC+0x208>
|
|
2322: bcc7ab83 lw s7,-1076(a5)
|
|
2326: 8a2a mv s4,a0
|
|
2328: 865a mv a2,s6
|
|
232a: 86de mv a3,s7
|
|
232c: 8aae mv s5,a1
|
|
232e: 70f010ef jal ra,423c <__ledf2>
|
|
2332: 00055e63 bgez a0,234e <MpptMode+0x176>
|
|
2336: 85a6 mv a1,s1
|
|
2338: 854a mv a0,s2
|
|
233a: 5e2030ef jal ra,591c <__subsf3>
|
|
233e: 3b3030ef jal ra,5ef0 <__extendsfdf2>
|
|
2342: 865a mv a2,s6
|
|
2344: 86de mv a3,s7
|
|
2346: 6f7010ef jal ra,423c <__ledf2>
|
|
234a: 04054463 bltz a0,2392 <MpptMode+0x1ba>
|
|
234e: 283c lbu a5,18(s0)
|
|
2350: 01144903 lbu s2,17(s0)
|
|
2354: 07a2 slli a5,a5,0x8
|
|
2356: 0127e7b3 or a5,a5,s2
|
|
235a: 01344903 lbu s2,19(s0)
|
|
235e: 0942 slli s2,s2,0x10
|
|
2360: 00f967b3 or a5,s2,a5
|
|
2364: 01444903 lbu s2,20(s0)
|
|
2368: 0962 slli s2,s2,0x18
|
|
236a: 00f96933 or s2,s2,a5
|
|
236e: 000087b7 lui a5,0x8
|
|
2372: bc07a583 lw a1,-1088(a5) # 7bc0 <mosTemperADC+0x200>
|
|
2376: 854a mv a0,s2
|
|
2378: 1fe030ef jal ra,5576 <__gesf2>
|
|
237c: 00a04b63 bgtz a0,2392 <MpptMode+0x1ba>
|
|
2380: 000087b7 lui a5,0x8
|
|
2384: bc47a583 lw a1,-1084(a5) # 7bc4 <mosTemperADC+0x204>
|
|
2388: 854a mv a0,s2
|
|
238a: 272030ef jal ra,55fc <__lesf2>
|
|
238e: 00055863 bgez a0,239e <MpptMode+0x1c6>
|
|
2392: 478d li a5,3
|
|
2394: 02f405a3 sb a5,43(s0)
|
|
2398: 02040623 sb zero,44(s0)
|
|
239c: b7bd j 230a <MpptMode+0x132>
|
|
239e: 8481a983 lw s3,-1976(gp) # 200001a8 <ConstantCurrentV.5817>
|
|
23a2: 854a mv a0,s2
|
|
23a4: 34d030ef jal ra,5ef0 <__extendsfdf2>
|
|
23a8: 8b2a mv s6,a0
|
|
23aa: 854e mv a0,s3
|
|
23ac: 8bae mv s7,a1
|
|
23ae: 8501ac03 lw s8,-1968(gp) # 200001b0 <ConstantVoltageV.5818>
|
|
23b2: 00008cb7 lui s9,0x8
|
|
23b6: 33b030ef jal ra,5ef0 <__extendsfdf2>
|
|
23ba: bd0ca603 lw a2,-1072(s9) # 7bd0 <mosTemperADC+0x210>
|
|
23be: bd4ca683 lw a3,-1068(s9)
|
|
23c2: 69c010ef jal ra,3a5e <__adddf3>
|
|
23c6: 865a mv a2,s6
|
|
23c8: 86de mv a3,s7
|
|
23ca: 673010ef jal ra,423c <__ledf2>
|
|
23ce: 04055063 bgez a0,240e <MpptMode+0x236>
|
|
23d2: 8562 mv a0,s8
|
|
23d4: 31d030ef jal ra,5ef0 <__extendsfdf2>
|
|
23d8: bd0ca603 lw a2,-1072(s9)
|
|
23dc: bd4ca683 lw a3,-1068(s9)
|
|
23e0: 3ca020ef jal ra,47aa <__subdf3>
|
|
23e4: 862a mv a2,a0
|
|
23e6: 86ae mv a3,a1
|
|
23e8: 855a mv a0,s6
|
|
23ea: 85de mv a1,s7
|
|
23ec: 651010ef jal ra,423c <__ledf2>
|
|
23f0: 00a04f63 bgtz a0,240e <MpptMode+0x236>
|
|
23f4: 000087b7 lui a5,0x8
|
|
23f8: 9687a603 lw a2,-1688(a5) # 7968 <_read+0x50>
|
|
23fc: 96c7a683 lw a3,-1684(a5)
|
|
2400: 8552 mv a0,s4
|
|
2402: 85d6 mv a1,s5
|
|
2404: 58b010ef jal ra,418e <__gedf2>
|
|
2408: 4789 li a5,2
|
|
240a: f8a045e3 bgtz a0,2394 <MpptMode+0x1bc>
|
|
240e: 85e2 mv a1,s8
|
|
2410: 854a mv a0,s2
|
|
2412: 164030ef jal ra,5576 <__gesf2>
|
|
2416: 04a05363 blez a0,245c <MpptMode+0x284>
|
|
241a: 8541aa03 lw s4,-1964(gp) # 200001b4 <FloatI.5819>
|
|
241e: 85a6 mv a1,s1
|
|
2420: 8552 mv a0,s4
|
|
2422: 154030ef jal ra,5576 <__gesf2>
|
|
2426: 4791 li a5,4
|
|
2428: f6a046e3 bgtz a0,2394 <MpptMode+0x1bc>
|
|
242c: 8552 mv a0,s4
|
|
242e: 2c3030ef jal ra,5ef0 <__extendsfdf2>
|
|
2432: 000087b7 lui a5,0x8
|
|
2436: 9687a603 lw a2,-1688(a5) # 7968 <_read+0x50>
|
|
243a: 96c7a683 lw a3,-1684(a5)
|
|
243e: 620010ef jal ra,3a5e <__adddf3>
|
|
2442: 8a2a mv s4,a0
|
|
2444: 8526 mv a0,s1
|
|
2446: 8aae mv s5,a1
|
|
2448: 2a9030ef jal ra,5ef0 <__extendsfdf2>
|
|
244c: 862a mv a2,a0
|
|
244e: 86ae mv a3,a1
|
|
2450: 8552 mv a0,s4
|
|
2452: 85d6 mv a1,s5
|
|
2454: 5e9010ef jal ra,423c <__ledf2>
|
|
2458: f2a05de3 blez a0,2392 <MpptMode+0x1ba>
|
|
245c: 85ce mv a1,s3
|
|
245e: 854a mv a0,s2
|
|
2460: 19c030ef jal ra,55fc <__lesf2>
|
|
2464: ea0553e3 bgez a0,230a <MpptMode+0x132>
|
|
2468: 4785 li a5,1
|
|
246a: b72d j 2394 <MpptMode+0x1bc>
|
|
|
|
0000246c <test>:
|
|
246c: d05fd2ef jal t0,170 <__riscv_save_0>
|
|
2470: 909ff0ef jal ra,1d78 <get_CHG_CURR>
|
|
2474: 89c18413 addi s0,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
2478: 00855793 srli a5,a0,0x8
|
|
247c: b848 sb a0,21(s0)
|
|
247e: a87c sb a5,22(s0)
|
|
2480: 01055793 srli a5,a0,0x10
|
|
2484: 8161 srli a0,a0,0x18
|
|
2486: b87c sb a5,23(s0)
|
|
2488: ac08 sb a0,24(s0)
|
|
248a: 977ff0ef jal ra,1e00 <get_DSG_CURR>
|
|
248e: 00855793 srli a5,a0,0x8
|
|
2492: bc08 sb a0,25(s0)
|
|
2494: ac3c sb a5,26(s0)
|
|
2496: 01055793 srli a5,a0,0x10
|
|
249a: 8161 srli a0,a0,0x18
|
|
249c: bc3c sb a5,27(s0)
|
|
249e: ac48 sb a0,28(s0)
|
|
24a0: 91dff0ef jal ra,1dbc <get_PV_VOLT_OUT>
|
|
24a4: 00855793 srli a5,a0,0x8
|
|
24a8: b448 sb a0,13(s0)
|
|
24aa: a47c sb a5,14(s0)
|
|
24ac: 01055793 srli a5,a0,0x10
|
|
24b0: 8161 srli a0,a0,0x18
|
|
24b2: b47c sb a5,15(s0)
|
|
24b4: a808 sb a0,16(s0)
|
|
24b6: 98fff0ef jal ra,1e44 <get_PV1_VOLT_IN>
|
|
24ba: 00855793 srli a5,a0,0x8
|
|
24be: bc48 sb a0,29(s0)
|
|
24c0: ac7c sb a5,30(s0)
|
|
24c2: 01055793 srli a5,a0,0x10
|
|
24c6: 8161 srli a0,a0,0x18
|
|
24c8: 02a40023 sb a0,32(s0)
|
|
24cc: 2c2c lbu a1,26(s0)
|
|
24ce: 2868 lbu a0,22(s0)
|
|
24d0: bc7c sb a5,31(s0)
|
|
24d2: 3c18 lbu a4,25(s0)
|
|
24d4: 385c lbu a5,21(s0)
|
|
24d6: 0522 slli a0,a0,0x8
|
|
24d8: 05a2 slli a1,a1,0x8
|
|
24da: 8d5d or a0,a0,a5
|
|
24dc: 8dd9 or a1,a1,a4
|
|
24de: 387c lbu a5,23(s0)
|
|
24e0: 3c38 lbu a4,27(s0)
|
|
24e2: 07c2 slli a5,a5,0x10
|
|
24e4: 0742 slli a4,a4,0x10
|
|
24e6: 8fc9 or a5,a5,a0
|
|
24e8: 8f4d or a4,a4,a1
|
|
24ea: 2c08 lbu a0,24(s0)
|
|
24ec: 2c4c lbu a1,28(s0)
|
|
24ee: 0562 slli a0,a0,0x18
|
|
24f0: 05e2 slli a1,a1,0x18
|
|
24f2: 8dd9 or a1,a1,a4
|
|
24f4: 8d5d or a0,a0,a5
|
|
24f6: 426030ef jal ra,591c <__subsf3>
|
|
24fa: 000087b7 lui a5,0x8
|
|
24fe: bf07a583 lw a1,-1040(a5) # 7bf0 <mosTemperADC+0x230>
|
|
2502: 892a mv s2,a0
|
|
2504: 072030ef jal ra,5576 <__gesf2>
|
|
2508: 04a05063 blez a0,2548 <test+0xdc>
|
|
250c: 247c lbu a5,14(s0)
|
|
250e: 3444 lbu s1,13(s0)
|
|
2510: 854a mv a0,s2
|
|
2512: 07a2 slli a5,a5,0x8
|
|
2514: 8fc5 or a5,a5,s1
|
|
2516: 3464 lbu s1,15(s0)
|
|
2518: 04c2 slli s1,s1,0x10
|
|
251a: 8fc5 or a5,a5,s1
|
|
251c: 2804 lbu s1,16(s0)
|
|
251e: 04e2 slli s1,s1,0x18
|
|
2520: 8cdd or s1,s1,a5
|
|
2522: 000087b7 lui a5,0x8
|
|
2526: bf47a583 lw a1,-1036(a5) # 7bf4 <mosTemperADC+0x234>
|
|
252a: 15e030ef jal ra,5688 <__mulsf3>
|
|
252e: 85aa mv a1,a0
|
|
2530: 8526 mv a0,s1
|
|
2532: 3ea030ef jal ra,591c <__subsf3>
|
|
2536: 00855793 srli a5,a0,0x8
|
|
253a: b808 sb a0,17(s0)
|
|
253c: a83c sb a5,18(s0)
|
|
253e: 01055793 srli a5,a0,0x10
|
|
2542: 8161 srli a0,a0,0x18
|
|
2544: b83c sb a5,19(s0)
|
|
2546: a848 sb a0,20(s0)
|
|
2548: 8851c783 lbu a5,-1915(gp) # 200001e5 <overTemperature>
|
|
254c: e789 bnez a5,2556 <test+0xea>
|
|
254e: c8bff0ef jal ra,21d8 <MpptMode>
|
|
2552: b7bff0ef jal ra,20cc <MpptContorl>
|
|
2556: c3ffd06f j 194 <__riscv_restore_0>
|
|
|
|
0000255a <SL_ReadRegisterMPPTMode>:
|
|
255a: c17fd2ef jal t0,170 <__riscv_save_0>
|
|
255e: 00008537 lui a0,0x8
|
|
2562: 22e00613 li a2,558
|
|
2566: 4585 li a1,1
|
|
2568: dac50513 addi a0,a0,-596 # 7dac <mosTemperADC+0x3ec>
|
|
256c: 4bb030ef jal ra,6226 <iprintf>
|
|
2570: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
2574: 02b7c503 lbu a0,43(a5)
|
|
2578: 02c7c783 lbu a5,44(a5)
|
|
257c: 07a2 slli a5,a5,0x8
|
|
257e: 8d5d or a0,a0,a5
|
|
2580: c15fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002584 <SL_ReadRegisterDischargMosState>:
|
|
2584: bedfd2ef jal t0,170 <__riscv_save_0>
|
|
2588: 00008537 lui a0,0x8
|
|
258c: 22200613 li a2,546
|
|
2590: 4585 li a1,1
|
|
2592: d3850513 addi a0,a0,-712 # 7d38 <mosTemperADC+0x378>
|
|
2596: 491030ef jal ra,6226 <iprintf>
|
|
259a: 8c41a503 lw a0,-1852(gp) # 20000224 <g_Mppt_Para+0x28>
|
|
259e: 8121 srli a0,a0,0x8
|
|
25a0: 0542 slli a0,a0,0x10
|
|
25a2: 8141 srli a0,a0,0x10
|
|
25a4: bf1fd06f j 194 <__riscv_restore_0>
|
|
|
|
000025a8 <SL_ReadRegisterHighSideMosTemperature>:
|
|
25a8: bc9fd2ef jal t0,170 <__riscv_save_0>
|
|
25ac: 00008537 lui a0,0x8
|
|
25b0: 21600613 li a2,534
|
|
25b4: 4585 li a1,1
|
|
25b6: d7050513 addi a0,a0,-656 # 7d70 <mosTemperADC+0x3b0>
|
|
25ba: 46d030ef jal ra,6226 <iprintf>
|
|
25be: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
25c2: 53d8 lw a4,36(a5)
|
|
25c4: 0287c503 lbu a0,40(a5)
|
|
25c8: 000087b7 lui a5,0x8
|
|
25cc: d6c7a583 lw a1,-660(a5) # 7d6c <mosTemperADC+0x3ac>
|
|
25d0: 8321 srli a4,a4,0x8
|
|
25d2: 0562 slli a0,a0,0x18
|
|
25d4: 8d59 or a0,a0,a4
|
|
25d6: 0b2030ef jal ra,5688 <__mulsf3>
|
|
25da: 72c030ef jal ra,5d06 <__fixunssfsi>
|
|
25de: 0542 slli a0,a0,0x10
|
|
25e0: 8141 srli a0,a0,0x10
|
|
25e2: bb3fd06f j 194 <__riscv_restore_0>
|
|
|
|
000025e6 <SL_ReadRegisterSolarOpenCircuitVoltage>:
|
|
25e6: b8bfd2ef jal t0,170 <__riscv_save_0>
|
|
25ea: 00008537 lui a0,0x8
|
|
25ee: 20a00613 li a2,522
|
|
25f2: 4585 li a1,1
|
|
25f4: dd850513 addi a0,a0,-552 # 7dd8 <mosTemperADC+0x418>
|
|
25f8: 42f030ef jal ra,6226 <iprintf>
|
|
25fc: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
2600: 5398 lw a4,32(a5)
|
|
2602: 0247c503 lbu a0,36(a5)
|
|
2606: 000087b7 lui a5,0x8
|
|
260a: d6c7a583 lw a1,-660(a5) # 7d6c <mosTemperADC+0x3ac>
|
|
260e: 8321 srli a4,a4,0x8
|
|
2610: 0562 slli a0,a0,0x18
|
|
2612: 8d59 or a0,a0,a4
|
|
2614: 074030ef jal ra,5688 <__mulsf3>
|
|
2618: 6ee030ef jal ra,5d06 <__fixunssfsi>
|
|
261c: 0542 slli a0,a0,0x10
|
|
261e: 8141 srli a0,a0,0x10
|
|
2620: b75fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002624 <SL_ReadRegisterDischargCurrent>:
|
|
2624: b4dfd2ef jal t0,170 <__riscv_save_0>
|
|
2628: 00008537 lui a0,0x8
|
|
262c: 1fe00613 li a2,510
|
|
2630: 4585 li a1,1
|
|
2632: d0450513 addi a0,a0,-764 # 7d04 <mosTemperADC+0x344>
|
|
2636: 3f1030ef jal ra,6226 <iprintf>
|
|
263a: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
263e: 4f98 lw a4,24(a5)
|
|
2640: 2fc8 lbu a0,28(a5)
|
|
2642: 000087b7 lui a5,0x8
|
|
2646: d6c7a583 lw a1,-660(a5) # 7d6c <mosTemperADC+0x3ac>
|
|
264a: 8321 srli a4,a4,0x8
|
|
264c: 0562 slli a0,a0,0x18
|
|
264e: 8d59 or a0,a0,a4
|
|
2650: 038030ef jal ra,5688 <__mulsf3>
|
|
2654: 6b2030ef jal ra,5d06 <__fixunssfsi>
|
|
2658: 0542 slli a0,a0,0x10
|
|
265a: 8141 srli a0,a0,0x10
|
|
265c: b39fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002660 <SL_ReadRegisterChargCurrent>:
|
|
2660: b11fd2ef jal t0,170 <__riscv_save_0>
|
|
2664: 00008537 lui a0,0x8
|
|
2668: 1f200613 li a2,498
|
|
266c: 4585 li a1,1
|
|
266e: cd450513 addi a0,a0,-812 # 7cd4 <mosTemperADC+0x314>
|
|
2672: 3b5030ef jal ra,6226 <iprintf>
|
|
2676: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
267a: 4bd8 lw a4,20(a5)
|
|
267c: 2f88 lbu a0,24(a5)
|
|
267e: 000087b7 lui a5,0x8
|
|
2682: d6c7a583 lw a1,-660(a5) # 7d6c <mosTemperADC+0x3ac>
|
|
2686: 8321 srli a4,a4,0x8
|
|
2688: 0562 slli a0,a0,0x18
|
|
268a: 8d59 or a0,a0,a4
|
|
268c: 7fd020ef jal ra,5688 <__mulsf3>
|
|
2690: 676030ef jal ra,5d06 <__fixunssfsi>
|
|
2694: 0542 slli a0,a0,0x10
|
|
2696: 8141 srli a0,a0,0x10
|
|
2698: afdfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000269c <SL_ReadRegisterBatteryVoltage>:
|
|
269c: ad5fd2ef jal t0,170 <__riscv_save_0>
|
|
26a0: 00008537 lui a0,0x8
|
|
26a4: 1e600613 li a2,486
|
|
26a8: 4585 li a1,1
|
|
26aa: ca050513 addi a0,a0,-864 # 7ca0 <mosTemperADC+0x2e0>
|
|
26ae: 379030ef jal ra,6226 <iprintf>
|
|
26b2: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
26b6: 4b98 lw a4,16(a5)
|
|
26b8: 2bc8 lbu a0,20(a5)
|
|
26ba: 000087b7 lui a5,0x8
|
|
26be: d6c7a583 lw a1,-660(a5) # 7d6c <mosTemperADC+0x3ac>
|
|
26c2: 8321 srli a4,a4,0x8
|
|
26c4: 0562 slli a0,a0,0x18
|
|
26c6: 8d59 or a0,a0,a4
|
|
26c8: 7c1020ef jal ra,5688 <__mulsf3>
|
|
26cc: 63a030ef jal ra,5d06 <__fixunssfsi>
|
|
26d0: 0542 slli a0,a0,0x10
|
|
26d2: 8141 srli a0,a0,0x10
|
|
26d4: ac1fd06f j 194 <__riscv_restore_0>
|
|
|
|
000026d8 <SL_MsgProcFunc_Registration_request>:
|
|
26d8: a99fd2ef jal t0,170 <__riscv_save_0>
|
|
26dc: 00008537 lui a0,0x8
|
|
26e0: 842e mv s0,a1
|
|
26e2: 14f00613 li a2,335
|
|
26e6: 4585 li a1,1
|
|
26e8: bf850513 addi a0,a0,-1032 # 7bf8 <mosTemperADC+0x238>
|
|
26ec: 33b030ef jal ra,6226 <iprintf>
|
|
26f0: 4705 li a4,1
|
|
26f2: 88e18323 sb a4,-1914(gp) # 200001e6 <recvbroadcast_flag>
|
|
26f6: 90018513 addi a0,gp,-1792 # 20000260 <m_recvbroadcast>
|
|
26fa: 86018423 sb zero,-1944(gp) # 200001c8 <RegistrationRequestFlag>
|
|
26fe: bc0ff0ef jal ra,1abe <TimeSliceOffset_Unregister>
|
|
2702: 245c lbu a5,12(s0)
|
|
2704: 3458 lbu a4,13(s0)
|
|
2706: 000035b7 lui a1,0x3
|
|
270a: 07a2 slli a5,a5,0x8
|
|
270c: 8fd9 or a5,a5,a4
|
|
270e: 4681 li a3,0
|
|
2710: 3e800613 li a2,1000
|
|
2714: 63258593 addi a1,a1,1586 # 3632 <Task_sensorEnableBroadcast>
|
|
2718: 93018513 addi a0,gp,-1744 # 20000290 <m_sensorEnableBroadcast>
|
|
271c: 88f19e23 sh a5,-1892(gp) # 200001fc <g_Mppt_Para>
|
|
2720: b60ff0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
2724: a71fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002728 <SL_MsgProcFunc_Broadcast_Scan>:
|
|
2728: a49fd2ef jal t0,170 <__riscv_save_0>
|
|
272c: 86a1ae23 sw a0,-1924(gp) # 200001dc <g_recvBroadcastDevice>
|
|
2730: 4715 li a4,5
|
|
2732: 6605 lui a2,0x1
|
|
2734: 000035b7 lui a1,0x3
|
|
2738: 88e18023 sb a4,-1920(gp) # 200001e0 <g_recvBroadcastRegisterNumber>
|
|
273c: 4485 li s1,1
|
|
273e: 4681 li a3,0
|
|
2740: bb860613 addi a2,a2,-1096 # bb8 <GPIO_IPD_Unused+0x6a>
|
|
2744: 4e658593 addi a1,a1,1254 # 34e6 <Task_recvbroadcast>
|
|
2748: 90018513 addi a0,gp,-1792 # 20000260 <m_recvbroadcast>
|
|
274c: 86918423 sb s1,-1944(gp) # 200001c8 <RegistrationRequestFlag>
|
|
2750: b30ff0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
2754: 90918023 sb s1,-1792(gp) # 20000260 <m_recvbroadcast>
|
|
2758: a3dfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000275c <SL_MsgProcFunc_Write_Register>:
|
|
275c: a15fd2ef jal t0,170 <__riscv_save_0>
|
|
2760: 25d4 lbu a3,12(a1)
|
|
2762: 35dc lbu a5,13(a1)
|
|
2764: 06a2 slli a3,a3,0x8
|
|
2766: 8edd or a3,a3,a5
|
|
2768: 4795 li a5,5
|
|
276a: 00d7fd63 bgeu a5,a3,2784 <SL_MsgProcFunc_Write_Register+0x28>
|
|
276e: 00008537 lui a0,0x8
|
|
2772: 12400613 li a2,292
|
|
2776: 4585 li a1,1
|
|
2778: c2450513 addi a0,a0,-988 # 7c24 <mosTemperADC+0x264>
|
|
277c: 2ab030ef jal ra,6226 <iprintf>
|
|
2780: a15fd06f j 194 <__riscv_restore_0>
|
|
2784: 25b4 lbu a3,10(a1)
|
|
2786: 35bc lbu a5,11(a1)
|
|
2788: 06a2 slli a3,a3,0x8
|
|
278a: 8edd or a3,a3,a5
|
|
278c: 20000793 li a5,512
|
|
2790: 00d7fa63 bgeu a5,a3,27a4 <SL_MsgProcFunc_Write_Register+0x48>
|
|
2794: 00008537 lui a0,0x8
|
|
2798: 12b00613 li a2,299
|
|
279c: 4585 li a1,1
|
|
279e: c5450513 addi a0,a0,-940 # 7c54 <mosTemperADC+0x294>
|
|
27a2: bfe9 j 277c <SL_MsgProcFunc_Write_Register+0x20>
|
|
27a4: 00008537 lui a0,0x8
|
|
27a8: c8c50513 addi a0,a0,-884 # 7c8c <mosTemperADC+0x2cc>
|
|
27ac: 38f030ef jal ra,633a <puts>
|
|
27b0: bfc1 j 2780 <SL_MsgProcFunc_Write_Register+0x24>
|
|
|
|
000027b2 <CheckFunc>:
|
|
27b2: 67c1 lui a5,0x10
|
|
27b4: 7669 lui a2,0xffffa
|
|
27b6: 4681 li a3,0
|
|
27b8: 17fd addi a5,a5,-1
|
|
27ba: 0605 addi a2,a2,1
|
|
27bc: 01069713 slli a4,a3,0x10
|
|
27c0: 8341 srli a4,a4,0x10
|
|
27c2: 00b76463 bltu a4,a1,27ca <CheckFunc+0x18>
|
|
27c6: 853e mv a0,a5
|
|
27c8: 8082 ret
|
|
27ca: 00d50733 add a4,a0,a3
|
|
27ce: 2318 lbu a4,0(a4)
|
|
27d0: 8fb9 xor a5,a5,a4
|
|
27d2: 4721 li a4,8
|
|
27d4: 0017f813 andi a6,a5,1
|
|
27d8: 8385 srli a5,a5,0x1
|
|
27da: 00080563 beqz a6,27e4 <CheckFunc+0x32>
|
|
27de: 8fb1 xor a5,a5,a2
|
|
27e0: 07c2 slli a5,a5,0x10
|
|
27e2: 83c1 srli a5,a5,0x10
|
|
27e4: 177d addi a4,a4,-1
|
|
27e6: 0742 slli a4,a4,0x10
|
|
27e8: 8341 srli a4,a4,0x10
|
|
27ea: f76d bnez a4,27d4 <CheckFunc+0x22>
|
|
27ec: 0685 addi a3,a3,1
|
|
27ee: b7f9 j 27bc <CheckFunc+0xa>
|
|
|
|
000027f0 <randomDelay>:
|
|
27f0: 981fd2ef jal t0,170 <__riscv_save_0>
|
|
27f4: 40001537 lui a0,0x40001
|
|
27f8: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
27fc: 857fe0ef jal ra,1052 <TIM_GetCounter>
|
|
2800: 347030ef jal ra,6346 <srand>
|
|
2804: 39b030ef jal ra,639e <rand>
|
|
2808: 0f100793 li a5,241
|
|
280c: 02f56533 rem a0,a0,a5
|
|
2810: 47a9 li a5,10
|
|
2812: 0529 addi a0,a0,10
|
|
2814: 02f50533 mul a0,a0,a5
|
|
2818: 97dfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000281c <Check_485_bus_busy>:
|
|
281c: 93bfd2ef jal t0,156 <__riscv_save_4>
|
|
2820: 88c1a703 lw a4,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
2824: 842a mv s0,a0
|
|
2826: 84be mv s1,a5
|
|
2828: 4605 li a2,1
|
|
282a: 52500593 li a1,1317
|
|
282e: 04a71c63 bne a4,a0,2886 <Check_485_bus_busy+0x6a>
|
|
2832: 40005537 lui a0,0x40005
|
|
2836: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
283a: 925fe0ef jal ra,115e <USART_ITConfig>
|
|
283e: 8522 mv a0,s0
|
|
2840: 210010ef jal ra,3a50 <ring_queue_length>
|
|
2844: 01051913 slli s2,a0,0x10
|
|
2848: 4509 li a0,2
|
|
284a: b7eff0ef jal ra,1bc8 <Delay_Ms>
|
|
284e: 8522 mv a0,s0
|
|
2850: 200010ef jal ra,3a50 <ring_queue_length>
|
|
2854: 88c1a783 lw a5,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
2858: 01051993 slli s3,a0,0x10
|
|
285c: 01095913 srli s2,s2,0x10
|
|
2860: 0109d993 srli s3,s3,0x10
|
|
2864: 4601 li a2,0
|
|
2866: 52500593 li a1,1317
|
|
286a: 40005537 lui a0,0x40005
|
|
286e: 02879163 bne a5,s0,2890 <Check_485_bus_busy+0x74>
|
|
2872: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2876: 8e9fe0ef jal ra,115e <USART_ITConfig>
|
|
287a: 41390533 sub a0,s2,s3
|
|
287e: 00a03533 snez a0,a0
|
|
2882: 909fd06f j 18a <__riscv_restore_4>
|
|
2886: 40005537 lui a0,0x40005
|
|
288a: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
288e: b775 j 283a <Check_485_bus_busy+0x1e>
|
|
2890: c0050513 addi a0,a0,-1024
|
|
2894: b7cd j 2876 <Check_485_bus_busy+0x5a>
|
|
|
|
00002896 <SL_MsgProcFunc_Remote_Upgrade>:
|
|
2896: 8dbfd2ef jal t0,170 <__riscv_save_0>
|
|
289a: 20000437 lui s0,0x20000
|
|
289e: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
28a2: 1141 addi sp,sp,-16
|
|
28a4: 02040413 addi s0,s0,32
|
|
28a8: 805c sb a5,0(sp)
|
|
28aa: 301c lbu a5,1(s0)
|
|
28ac: 00011523 sh zero,10(sp)
|
|
28b0: 84aa mv s1,a0
|
|
28b2: 80dc sb a5,1(sp)
|
|
28b4: 203c lbu a5,2(s0)
|
|
28b6: 45ad li a1,11
|
|
28b8: 850a mv a0,sp
|
|
28ba: 815c sb a5,2(sp)
|
|
28bc: 303c lbu a5,3(s0)
|
|
28be: 00011623 sh zero,12(sp)
|
|
28c2: 81dc sb a5,3(sp)
|
|
28c4: 205c lbu a5,4(s0)
|
|
28c6: 825c sb a5,4(sp)
|
|
28c8: 305c lbu a5,5(s0)
|
|
28ca: 82dc sb a5,5(sp)
|
|
28cc: 207c lbu a5,6(s0)
|
|
28ce: 835c sb a5,6(sp)
|
|
28d0: 307c lbu a5,7(s0)
|
|
28d2: 83dc sb a5,7(sp)
|
|
28d4: 241c lbu a5,8(s0)
|
|
28d6: 845c sb a5,8(sp)
|
|
28d8: fd100793 li a5,-47
|
|
28dc: 84dc sb a5,9(sp)
|
|
28de: 4785 li a5,1
|
|
28e0: 855c sb a5,10(sp)
|
|
28e2: ed1ff0ef jal ra,27b2 <CheckFunc>
|
|
28e6: 00855793 srli a5,a0,0x8
|
|
28ea: 85dc sb a5,11(sp)
|
|
28ec: 02b44783 lbu a5,43(s0)
|
|
28f0: 8648 sb a0,12(sp)
|
|
28f2: 86dc sb a5,13(sp)
|
|
28f4: efdff0ef jal ra,27f0 <randomDelay>
|
|
28f8: ad0ff0ef jal ra,1bc8 <Delay_Ms>
|
|
28fc: 8526 mv a0,s1
|
|
28fe: f1fff0ef jal ra,281c <Check_485_bus_busy>
|
|
2902: f96d bnez a0,28f4 <SL_MsgProcFunc_Remote_Upgrade+0x5e>
|
|
2904: 463d li a2,15
|
|
2906: 858a mv a1,sp
|
|
2908: 8526 mv a0,s1
|
|
290a: 0a4010ef jal ra,39ae <uart_dev_write>
|
|
290e: 88c1a783 lw a5,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
2912: 4605 li a2,1
|
|
2914: 52500593 li a1,1317
|
|
2918: 40005537 lui a0,0x40005
|
|
291c: 00979963 bne a5,s1,292e <SL_MsgProcFunc_Remote_Upgrade+0x98>
|
|
2920: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2924: 83bfe0ef jal ra,115e <USART_ITConfig>
|
|
2928: 0141 addi sp,sp,16
|
|
292a: 86bfd06f j 194 <__riscv_restore_0>
|
|
292e: c0050513 addi a0,a0,-1024
|
|
2932: bfcd j 2924 <SL_MsgProcFunc_Remote_Upgrade+0x8e>
|
|
|
|
00002934 <SL_MsgProcFunc_Update_Profile>:
|
|
2934: 83dfd2ef jal t0,170 <__riscv_save_0>
|
|
2938: 20000437 lui s0,0x20000
|
|
293c: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
2940: 1141 addi sp,sp,-16
|
|
2942: 02040413 addi s0,s0,32
|
|
2946: 805c sb a5,0(sp)
|
|
2948: 301c lbu a5,1(s0)
|
|
294a: 00011523 sh zero,10(sp)
|
|
294e: 84aa mv s1,a0
|
|
2950: 80dc sb a5,1(sp)
|
|
2952: 203c lbu a5,2(s0)
|
|
2954: 45ad li a1,11
|
|
2956: 850a mv a0,sp
|
|
2958: 815c sb a5,2(sp)
|
|
295a: 303c lbu a5,3(s0)
|
|
295c: 00011623 sh zero,12(sp)
|
|
2960: 81dc sb a5,3(sp)
|
|
2962: 205c lbu a5,4(s0)
|
|
2964: 825c sb a5,4(sp)
|
|
2966: 305c lbu a5,5(s0)
|
|
2968: 82dc sb a5,5(sp)
|
|
296a: 207c lbu a5,6(s0)
|
|
296c: 835c sb a5,6(sp)
|
|
296e: 307c lbu a5,7(s0)
|
|
2970: 83dc sb a5,7(sp)
|
|
2972: 241c lbu a5,8(s0)
|
|
2974: 845c sb a5,8(sp)
|
|
2976: fd000793 li a5,-48
|
|
297a: 84dc sb a5,9(sp)
|
|
297c: 4785 li a5,1
|
|
297e: 855c sb a5,10(sp)
|
|
2980: e33ff0ef jal ra,27b2 <CheckFunc>
|
|
2984: 00855793 srli a5,a0,0x8
|
|
2988: 85dc sb a5,11(sp)
|
|
298a: 02b44783 lbu a5,43(s0)
|
|
298e: 8648 sb a0,12(sp)
|
|
2990: 86dc sb a5,13(sp)
|
|
2992: e5fff0ef jal ra,27f0 <randomDelay>
|
|
2996: a32ff0ef jal ra,1bc8 <Delay_Ms>
|
|
299a: 8526 mv a0,s1
|
|
299c: e81ff0ef jal ra,281c <Check_485_bus_busy>
|
|
29a0: f96d bnez a0,2992 <SL_MsgProcFunc_Update_Profile+0x5e>
|
|
29a2: 463d li a2,15
|
|
29a4: 858a mv a1,sp
|
|
29a6: 8526 mv a0,s1
|
|
29a8: 006010ef jal ra,39ae <uart_dev_write>
|
|
29ac: 88c1a783 lw a5,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
29b0: 4605 li a2,1
|
|
29b2: 52500593 li a1,1317
|
|
29b6: 40005537 lui a0,0x40005
|
|
29ba: 00979963 bne a5,s1,29cc <SL_MsgProcFunc_Update_Profile+0x98>
|
|
29be: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
29c2: f9cfe0ef jal ra,115e <USART_ITConfig>
|
|
29c6: 0141 addi sp,sp,16
|
|
29c8: fccfd06f j 194 <__riscv_restore_0>
|
|
29cc: c0050513 addi a0,a0,-1024
|
|
29d0: bfcd j 29c2 <SL_MsgProcFunc_Update_Profile+0x8e>
|
|
|
|
000029d2 <SL_MsgProcFunc_Read_Register>:
|
|
29d2: f76fd2ef jal t0,148 <__riscv_save_10>
|
|
29d6: 00c5c903 lbu s2,12(a1)
|
|
29da: 35dc lbu a5,13(a1)
|
|
29dc: 1101 addi sp,sp,-32
|
|
29de: 0922 slli s2,s2,0x8
|
|
29e0: 00f96933 or s2,s2,a5
|
|
29e4: 0942 slli s2,s2,0x10
|
|
29e6: 41095913 srai s2,s2,0x10
|
|
29ea: 01091493 slli s1,s2,0x10
|
|
29ee: 80c1 srli s1,s1,0x10
|
|
29f0: 4795 li a5,5
|
|
29f2: 0097ff63 bgeu a5,s1,2a10 <SL_MsgProcFunc_Read_Register+0x3e>
|
|
29f6: 00008537 lui a0,0x8
|
|
29fa: 86a6 mv a3,s1
|
|
29fc: 0c500613 li a2,197
|
|
2a00: 4585 li a1,1
|
|
2a02: c2450513 addi a0,a0,-988 # 7c24 <mosTemperADC+0x264>
|
|
2a06: 021030ef jal ra,6226 <iprintf>
|
|
2a0a: 6105 addi sp,sp,32
|
|
2a0c: f74fd06f j 180 <__riscv_restore_10>
|
|
2a10: 25b4 lbu a3,10(a1)
|
|
2a12: 35bc lbu a5,11(a1)
|
|
2a14: 06a2 slli a3,a3,0x8
|
|
2a16: 8edd or a3,a3,a5
|
|
2a18: 20000793 li a5,512
|
|
2a1c: 00d7fa63 bgeu a5,a3,2a30 <SL_MsgProcFunc_Read_Register+0x5e>
|
|
2a20: 00008537 lui a0,0x8
|
|
2a24: 0cb00613 li a2,203
|
|
2a28: 4585 li a1,1
|
|
2a2a: c5450513 addi a0,a0,-940 # 7c54 <mosTemperADC+0x294>
|
|
2a2e: bfe1 j 2a06 <SL_MsgProcFunc_Read_Register+0x34>
|
|
2a30: 89aa mv s3,a0
|
|
2a32: ca02 sw zero,20(sp)
|
|
2a34: cc02 sw zero,24(sp)
|
|
2a36: 00011e23 sh zero,28(sp)
|
|
2a3a: 01410a93 addi s5,sp,20
|
|
2a3e: 8a36 mv s4,a3
|
|
2a40: 20000b37 lui s6,0x20000
|
|
2a44: 40da07b3 sub a5,s4,a3
|
|
2a48: 07c2 slli a5,a5,0x10
|
|
2a4a: 83c1 srli a5,a5,0x10
|
|
2a4c: 0c97e163 bltu a5,s1,2b0e <SL_MsgProcFunc_Read_Register+0x13c>
|
|
2a50: 8cc18413 addi s0,gp,-1844 # 2000022c <rs485_buff>
|
|
2a54: 00c40513 addi a0,s0,12
|
|
2a58: 02600613 li a2,38
|
|
2a5c: 4581 li a1,0
|
|
2a5e: f42fd0ef jal ra,1a0 <memset>
|
|
2a62: 20000737 lui a4,0x20000
|
|
2a66: 02074783 lbu a5,32(a4) # 20000020 <g_slConfigInfo>
|
|
2a6a: 012405a3 sb s2,11(s0)
|
|
2a6e: 00040523 sb zero,10(s0)
|
|
2a72: a01c sb a5,0(s0)
|
|
2a74: 02070793 addi a5,a4,32
|
|
2a78: 3394 lbu a3,1(a5)
|
|
2a7a: 00149a93 slli s5,s1,0x1
|
|
2a7e: 02070913 addi s2,a4,32
|
|
2a82: b014 sb a3,1(s0)
|
|
2a84: 23b4 lbu a3,2(a5)
|
|
2a86: a034 sb a3,2(s0)
|
|
2a88: 33b4 lbu a3,3(a5)
|
|
2a8a: b034 sb a3,3(s0)
|
|
2a8c: 23d4 lbu a3,4(a5)
|
|
2a8e: a054 sb a3,4(s0)
|
|
2a90: 33d4 lbu a3,5(a5)
|
|
2a92: b054 sb a3,5(s0)
|
|
2a94: 23f4 lbu a3,6(a5)
|
|
2a96: a074 sb a3,6(s0)
|
|
2a98: 33f4 lbu a3,7(a5)
|
|
2a9a: 279c lbu a5,8(a5)
|
|
2a9c: b074 sb a3,7(s0)
|
|
2a9e: a41c sb a5,8(s0)
|
|
2aa0: 03000793 li a5,48
|
|
2aa4: b41c sb a5,9(s0)
|
|
2aa6: 4781 li a5,0
|
|
2aa8: 8d818413 addi s0,gp,-1832 # 20000238 <rs485_buff+0xc>
|
|
2aac: 0957c563 blt a5,s5,2b36 <SL_MsgProcFunc_Read_Register+0x164>
|
|
2ab0: 00648593 addi a1,s1,6
|
|
2ab4: 0586 slli a1,a1,0x1
|
|
2ab6: 0fe5f593 andi a1,a1,254
|
|
2aba: 8cc18513 addi a0,gp,-1844 # 2000022c <rs485_buff>
|
|
2abe: cf5ff0ef jal ra,27b2 <CheckFunc>
|
|
2ac2: 00851793 slli a5,a0,0x8
|
|
2ac6: 8121 srli a0,a0,0x8
|
|
2ac8: 8d5d or a0,a0,a5
|
|
2aca: 02b94783 lbu a5,43(s2)
|
|
2ace: 9456 add s0,s0,s5
|
|
2ad0: a00a sh a0,0(s0)
|
|
2ad2: a03c sb a5,2(s0)
|
|
2ad4: d1dff0ef jal ra,27f0 <randomDelay>
|
|
2ad8: 8f0ff0ef jal ra,1bc8 <Delay_Ms>
|
|
2adc: 854e mv a0,s3
|
|
2ade: d3fff0ef jal ra,281c <Check_485_bus_busy>
|
|
2ae2: f96d bnez a0,2ad4 <SL_MsgProcFunc_Read_Register+0x102>
|
|
2ae4: 010a8613 addi a2,s5,16
|
|
2ae8: 8cc18593 addi a1,gp,-1844 # 2000022c <rs485_buff>
|
|
2aec: 854e mv a0,s3
|
|
2aee: 6c1000ef jal ra,39ae <uart_dev_write>
|
|
2af2: 88c1a783 lw a5,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
2af6: 4605 li a2,1
|
|
2af8: 52500593 li a1,1317
|
|
2afc: 40005537 lui a0,0x40005
|
|
2b00: 05379c63 bne a5,s3,2b58 <SL_MsgProcFunc_Read_Register+0x186>
|
|
2b04: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2b08: e56fe0ef jal ra,115e <USART_ITConfig>
|
|
2b0c: bdfd j 2a0a <SL_MsgProcFunc_Read_Register+0x38>
|
|
2b0e: 08cb0413 addi s0,s6,140 # 2000008c <g_RegTblR>
|
|
2b12: 03840b93 addi s7,s0,56
|
|
2b16: 401c lw a5,0(s0)
|
|
2b18: 01479963 bne a5,s4,2b2a <SL_MsgProcFunc_Read_Register+0x158>
|
|
2b1c: 405c lw a5,4(s0)
|
|
2b1e: 4501 li a0,0
|
|
2b20: c636 sw a3,12(sp)
|
|
2b22: 9782 jalr a5
|
|
2b24: 46b2 lw a3,12(sp)
|
|
2b26: 00aa9023 sh a0,0(s5)
|
|
2b2a: 0421 addi s0,s0,8
|
|
2b2c: fe8b95e3 bne s7,s0,2b16 <SL_MsgProcFunc_Read_Register+0x144>
|
|
2b30: 0a89 addi s5,s5,2
|
|
2b32: 0a05 addi s4,s4,1
|
|
2b34: bf01 j 2a44 <SL_MsgProcFunc_Read_Register+0x72>
|
|
2b36: 1010 addi a2,sp,32
|
|
2b38: 0fe7f713 andi a4,a5,254
|
|
2b3c: 9732 add a4,a4,a2
|
|
2b3e: 0017f613 andi a2,a5,1
|
|
2b42: 00f406b3 add a3,s0,a5
|
|
2b46: ff475703 lhu a4,-12(a4)
|
|
2b4a: e211 bnez a2,2b4e <SL_MsgProcFunc_Read_Register+0x17c>
|
|
2b4c: 8321 srli a4,a4,0x8
|
|
2b4e: 0785 addi a5,a5,1
|
|
2b50: a298 sb a4,0(a3)
|
|
2b52: 0ff7f793 andi a5,a5,255
|
|
2b56: bf99 j 2aac <SL_MsgProcFunc_Read_Register+0xda>
|
|
2b58: c0050513 addi a0,a0,-1024
|
|
2b5c: b775 j 2b08 <SL_MsgProcFunc_Read_Register+0x136>
|
|
|
|
00002b5e <FRT_MsgHandler>:
|
|
2b5e: df8fd2ef jal t0,156 <__riscv_save_4>
|
|
2b62: 20000437 lui s0,0x20000
|
|
2b66: 05c40413 addi s0,s0,92 # 2000005c <g_MsgTbl>
|
|
2b6a: 89aa mv s3,a0
|
|
2b6c: 84ae mv s1,a1
|
|
2b6e: 8a32 mv s4,a2
|
|
2b70: 03040913 addi s2,s0,48
|
|
2b74: 3498 lbu a4,9(s1)
|
|
2b76: 401c lw a5,0(s0)
|
|
2b78: 00f71763 bne a4,a5,2b86 <FRT_MsgHandler+0x28>
|
|
2b7c: 405c lw a5,4(s0)
|
|
2b7e: 8652 mv a2,s4
|
|
2b80: 85a6 mv a1,s1
|
|
2b82: 854e mv a0,s3
|
|
2b84: 9782 jalr a5
|
|
2b86: 0421 addi s0,s0,8
|
|
2b88: ff2416e3 bne s0,s2,2b74 <FRT_MsgHandler+0x16>
|
|
2b8c: dfefd06f j 18a <__riscv_restore_4>
|
|
|
|
00002b90 <read_and_process_uart_data>:
|
|
2b90: db0fd2ef jal t0,140 <__riscv_save_12>
|
|
2b94: 1141 addi sp,sp,-16
|
|
2b96: 8c2a mv s8,a0
|
|
2b98: 679000ef jal ra,3a10 <uart_dev_char_present>
|
|
2b9c: 2a050863 beqz a0,2e4c <read_and_process_uart_data+0x2bc>
|
|
2ba0: 4551 li a0,20
|
|
2ba2: 826ff0ef jal ra,1bc8 <Delay_Ms>
|
|
2ba6: 03200613 li a2,50
|
|
2baa: 4581 li a1,0
|
|
2bac: 8cc18513 addi a0,gp,-1844 # 2000022c <rs485_buff>
|
|
2bb0: 8cc18413 addi s0,gp,-1844 # 2000022c <rs485_buff>
|
|
2bb4: 20000db7 lui s11,0x20000
|
|
2bb8: de8fd0ef jal ra,1a0 <memset>
|
|
2bbc: 4981 li s3,0
|
|
2bbe: 4481 li s1,0
|
|
2bc0: 4a01 li s4,0
|
|
2bc2: 00140b93 addi s7,s0,1
|
|
2bc6: 00008cb7 lui s9,0x8
|
|
2bca: 00008d37 lui s10,0x8
|
|
2bce: 020d8b13 addi s6,s11,32 # 20000020 <g_slConfigInfo>
|
|
2bd2: 8562 mv a0,s8
|
|
2bd4: 67d000ef jal ra,3a50 <ring_queue_length>
|
|
2bd8: 26050a63 beqz a0,2e4c <read_and_process_uart_data+0x2bc>
|
|
2bdc: 8562 mv a0,s8
|
|
2bde: 64b000ef jal ra,3a28 <uart_dev_in_char>
|
|
2be2: 8cc18793 addi a5,gp,-1844 # 2000022c <rs485_buff>
|
|
2be6: 97d2 add a5,a5,s4
|
|
2be8: c63e sw a5,12(sp)
|
|
2bea: a388 sb a0,0(a5)
|
|
2bec: 001a0a93 addi s5,s4,1
|
|
2bf0: 4789 li a5,2
|
|
2bf2: 00fa8463 beq s5,a5,2bfa <read_and_process_uart_data+0x6a>
|
|
2bf6: 24048e63 beqz s1,2e52 <read_and_process_uart_data+0x2c2>
|
|
2bfa: 2018 lbu a4,0(s0)
|
|
2bfc: 020dc783 lbu a5,32(s11)
|
|
2c00: 10f71463 bne a4,a5,2d08 <read_and_process_uart_data+0x178>
|
|
2c04: 3018 lbu a4,1(s0)
|
|
2c06: 001b4783 lbu a5,1(s6)
|
|
2c0a: 0ef71f63 bne a4,a5,2d08 <read_and_process_uart_data+0x178>
|
|
2c0e: 00008537 lui a0,0x8
|
|
2c12: 27100613 li a2,625
|
|
2c16: 4585 li a1,1
|
|
2c18: e1450513 addi a0,a0,-492 # 7e14 <mosTemperADC+0x454>
|
|
2c1c: 60a030ef jal ra,6226 <iprintf>
|
|
2c20: 47a5 li a5,9
|
|
2c22: 06fa9463 bne s5,a5,2c8a <read_and_process_uart_data+0xfa>
|
|
2c26: 89c1d703 lhu a4,-1892(gp) # 200001fc <g_Mppt_Para>
|
|
2c2a: 4789 li a5,2
|
|
2c2c: 08f71d63 bne a4,a5,2cc6 <read_and_process_uart_data+0x136>
|
|
2c30: 2038 lbu a4,2(s0)
|
|
2c32: 002b4783 lbu a5,2(s6)
|
|
2c36: 08f71b63 bne a4,a5,2ccc <read_and_process_uart_data+0x13c>
|
|
2c3a: 3038 lbu a4,3(s0)
|
|
2c3c: 003b4783 lbu a5,3(s6)
|
|
2c40: 08f71663 bne a4,a5,2ccc <read_and_process_uart_data+0x13c>
|
|
2c44: 2058 lbu a4,4(s0)
|
|
2c46: 004b4783 lbu a5,4(s6)
|
|
2c4a: 08f71163 bne a4,a5,2ccc <read_and_process_uart_data+0x13c>
|
|
2c4e: 3058 lbu a4,5(s0)
|
|
2c50: 005b4783 lbu a5,5(s6)
|
|
2c54: 06f71c63 bne a4,a5,2ccc <read_and_process_uart_data+0x13c>
|
|
2c58: 2078 lbu a4,6(s0)
|
|
2c5a: 006b4783 lbu a5,6(s6)
|
|
2c5e: 06f71763 bne a4,a5,2ccc <read_and_process_uart_data+0x13c>
|
|
2c62: 3078 lbu a4,7(s0)
|
|
2c64: 007b4783 lbu a5,7(s6)
|
|
2c68: 06f71263 bne a4,a5,2ccc <read_and_process_uart_data+0x13c>
|
|
2c6c: 2418 lbu a4,8(s0)
|
|
2c6e: 008b4783 lbu a5,8(s6)
|
|
2c72: 04f71d63 bne a4,a5,2ccc <read_and_process_uart_data+0x13c>
|
|
2c76: 00008537 lui a0,0x8
|
|
2c7a: 28a00613 li a2,650
|
|
2c7e: 4585 li a1,1
|
|
2c80: e4050513 addi a0,a0,-448 # 7e40 <mosTemperADC+0x480>
|
|
2c84: 5a2030ef jal ra,6226 <iprintf>
|
|
2c88: a021 j 2c90 <read_and_process_uart_data+0x100>
|
|
2c8a: 4785 li a5,1
|
|
2c8c: f897ede3 bltu a5,s1,2c26 <read_and_process_uart_data+0x96>
|
|
2c90: 47a9 li a5,10
|
|
2c92: 00fa8563 beq s5,a5,2c9c <read_and_process_uart_data+0x10c>
|
|
2c96: 4789 li a5,2
|
|
2c98: 0897ff63 bgeu a5,s1,2d36 <read_and_process_uart_data+0x1a6>
|
|
2c9c: 89c1d783 lhu a5,-1892(gp) # 200001fc <g_Mppt_Para>
|
|
2ca0: 4709 li a4,2
|
|
2ca2: 3414 lbu a3,9(s0)
|
|
2ca4: 12e79263 bne a5,a4,2dc8 <read_and_process_uart_data+0x238>
|
|
2ca8: 03000713 li a4,48
|
|
2cac: 06e69963 bne a3,a4,2d1e <read_and_process_uart_data+0x18e>
|
|
2cb0: 00008537 lui a0,0x8
|
|
2cb4: 2db00613 li a2,731
|
|
2cb8: 4585 li a1,1
|
|
2cba: ea050513 addi a0,a0,-352 # 7ea0 <mosTemperADC+0x4e0>
|
|
2cbe: 568030ef jal ra,6226 <iprintf>
|
|
2cc2: 49c5 li s3,17
|
|
2cc4: a88d j 2d36 <read_and_process_uart_data+0x1a6>
|
|
2cc6: 8681c783 lbu a5,-1944(gp) # 200001c8 <RegistrationRequestFlag>
|
|
2cca: f3bd bnez a5,2c30 <read_and_process_uart_data+0xa0>
|
|
2ccc: 8151c783 lbu a5,-2027(gp) # 20000175 <run_Broadcast>
|
|
2cd0: cb95 beqz a5,2d04 <read_and_process_uart_data+0x174>
|
|
2cd2: 3038 lbu a4,3(s0)
|
|
2cd4: 203c lbu a5,2(s0)
|
|
2cd6: 8ff9 and a5,a5,a4
|
|
2cd8: 2058 lbu a4,4(s0)
|
|
2cda: 8ff9 and a5,a5,a4
|
|
2cdc: 3058 lbu a4,5(s0)
|
|
2cde: 8ff9 and a5,a5,a4
|
|
2ce0: 2078 lbu a4,6(s0)
|
|
2ce2: 8ff9 and a5,a5,a4
|
|
2ce4: 3078 lbu a4,7(s0)
|
|
2ce6: 8ff9 and a5,a5,a4
|
|
2ce8: 2418 lbu a4,8(s0)
|
|
2cea: 8ff9 and a5,a5,a4
|
|
2cec: 0ff00713 li a4,255
|
|
2cf0: 00e79a63 bne a5,a4,2d04 <read_and_process_uart_data+0x174>
|
|
2cf4: 00008537 lui a0,0x8
|
|
2cf8: 29f00613 li a2,671
|
|
2cfc: 4585 li a1,1
|
|
2cfe: e6c50513 addi a0,a0,-404 # 7e6c <mosTemperADC+0x4ac>
|
|
2d02: b749 j 2c84 <read_and_process_uart_data+0xf4>
|
|
2d04: e091 bnez s1,2d08 <read_and_process_uart_data+0x178>
|
|
2d06: 4485 li s1,1
|
|
2d08: 8652 mv a2,s4
|
|
2d0a: 85de mv a1,s7
|
|
2d0c: 8cc18513 addi a0,gp,-1844 # 2000022c <rs485_buff>
|
|
2d10: 464030ef jal ra,6174 <memcpy>
|
|
2d14: 03000793 li a5,48
|
|
2d18: eb47fde3 bgeu a5,s4,2bd2 <read_and_process_uart_data+0x42>
|
|
2d1c: aa05 j 2e4c <read_and_process_uart_data+0x2bc>
|
|
2d1e: 4741 li a4,16
|
|
2d20: 02e69863 bne a3,a4,2d50 <read_and_process_uart_data+0x1c0>
|
|
2d24: 00008537 lui a0,0x8
|
|
2d28: 2e100613 li a2,737
|
|
2d2c: 4585 li a1,1
|
|
2d2e: ec450513 addi a0,a0,-316 # 7ec4 <mosTemperADC+0x504>
|
|
2d32: 4f4030ef jal ra,6226 <iprintf>
|
|
2d36: 3418 lbu a4,9(s0)
|
|
2d38: 47c1 li a5,16
|
|
2d3a: 0cf71263 bne a4,a5,2dfe <read_and_process_uart_data+0x26e>
|
|
2d3e: 47b5 li a5,13
|
|
2d40: 0b57ff63 bgeu a5,s5,2dfe <read_and_process_uart_data+0x26e>
|
|
2d44: 00d44983 lbu s3,13(s0)
|
|
2d48: 0986 slli s3,s3,0x1
|
|
2d4a: 09c5 addi s3,s3,17
|
|
2d4c: 8a56 mv s4,s5
|
|
2d4e: b7d9 j 2d14 <read_and_process_uart_data+0x184>
|
|
2d50: 03068713 addi a4,a3,48
|
|
2d54: 0ff77713 andi a4,a4,255
|
|
2d58: 4605 li a2,1
|
|
2d5a: 00e66d63 bltu a2,a4,2d74 <read_and_process_uart_data+0x1e4>
|
|
2d5e: 00008537 lui a0,0x8
|
|
2d62: 2e800613 li a2,744
|
|
2d66: 4585 li a1,1
|
|
2d68: ee850513 addi a0,a0,-280 # 7ee8 <mosTemperADC+0x528>
|
|
2d6c: 4ba030ef jal ra,6226 <iprintf>
|
|
2d70: 49b5 li s3,13
|
|
2d72: b7d1 j 2d36 <read_and_process_uart_data+0x1a6>
|
|
2d74: 8151c703 lbu a4,-2027(gp) # 20000175 <run_Broadcast>
|
|
2d78: cf1d beqz a4,2db6 <read_and_process_uart_data+0x226>
|
|
2d7a: 0a000713 li a4,160
|
|
2d7e: 2ee00613 li a2,750
|
|
2d82: 04e68963 beq a3,a4,2dd4 <read_and_process_uart_data+0x244>
|
|
2d86: 0a100713 li a4,161
|
|
2d8a: 00e69863 bne a3,a4,2d9a <read_and_process_uart_data+0x20a>
|
|
2d8e: 2f400613 li a2,756
|
|
2d92: 4585 li a1,1
|
|
2d94: f2cd0513 addi a0,s10,-212 # 7f2c <mosTemperADC+0x56c>
|
|
2d98: b71d j 2cbe <read_and_process_uart_data+0x12e>
|
|
2d9a: 8726 mv a4,s1
|
|
2d9c: 00f4f363 bgeu s1,a5,2da2 <read_and_process_uart_data+0x212>
|
|
2da0: 4709 li a4,2
|
|
2da2: 0ff77493 andi s1,a4,255
|
|
2da6: 2fc00613 li a2,764
|
|
2daa: 4585 li a1,1
|
|
2dac: f54c8513 addi a0,s9,-172 # 7f54 <mosTemperADC+0x594>
|
|
2db0: 476030ef jal ra,6226 <iprintf>
|
|
2db4: bf91 j 2d08 <read_and_process_uart_data+0x178>
|
|
2db6: 8726 mv a4,s1
|
|
2db8: 00f4f363 bgeu s1,a5,2dbe <read_and_process_uart_data+0x22e>
|
|
2dbc: 4709 li a4,2
|
|
2dbe: 0ff77493 andi s1,a4,255
|
|
2dc2: 30700613 li a2,775
|
|
2dc6: b7d5 j 2daa <read_and_process_uart_data+0x21a>
|
|
2dc8: 0a000793 li a5,160
|
|
2dcc: 00f69a63 bne a3,a5,2de0 <read_and_process_uart_data+0x250>
|
|
2dd0: 31000613 li a2,784
|
|
2dd4: 00008537 lui a0,0x8
|
|
2dd8: 4585 li a1,1
|
|
2dda: f0850513 addi a0,a0,-248 # 7f08 <mosTemperADC+0x548>
|
|
2dde: b779 j 2d6c <read_and_process_uart_data+0x1dc>
|
|
2de0: 0a100793 li a5,161
|
|
2de4: 31600613 li a2,790
|
|
2de8: faf685e3 beq a3,a5,2d92 <read_and_process_uart_data+0x202>
|
|
2dec: 87a6 mv a5,s1
|
|
2dee: 00e4f363 bgeu s1,a4,2df4 <read_and_process_uart_data+0x264>
|
|
2df2: 4789 li a5,2
|
|
2df4: 0ff7f493 andi s1,a5,255
|
|
2df8: 31e00613 li a2,798
|
|
2dfc: b77d j 2daa <read_and_process_uart_data+0x21a>
|
|
2dfe: f53a97e3 bne s5,s3,2d4c <read_and_process_uart_data+0x1bc>
|
|
2e02: ffda8593 addi a1,s5,-3
|
|
2e06: 0ff5f593 andi a1,a1,255
|
|
2e0a: 8cc18513 addi a0,gp,-1844 # 2000022c <rs485_buff>
|
|
2e0e: 9a5ff0ef jal ra,27b2 <CheckFunc>
|
|
2e12: 01440733 add a4,s0,s4
|
|
2e16: ffe74783 lbu a5,-2(a4)
|
|
2e1a: fff74703 lbu a4,-1(a4)
|
|
2e1e: 07a2 slli a5,a5,0x8
|
|
2e20: 8fd9 or a5,a5,a4
|
|
2e22: 00a79763 bne a5,a0,2e30 <read_and_process_uart_data+0x2a0>
|
|
2e26: 47b2 lw a5,12(sp)
|
|
2e28: 2398 lbu a4,0(a5)
|
|
2e2a: 47d9 li a5,22
|
|
2e2c: 00f70a63 beq a4,a5,2e40 <read_and_process_uart_data+0x2b0>
|
|
2e30: 470d li a4,3
|
|
2e32: 87a6 mv a5,s1
|
|
2e34: 00e4f363 bgeu s1,a4,2e3a <read_and_process_uart_data+0x2aa>
|
|
2e38: 478d li a5,3
|
|
2e3a: 0ff7f493 andi s1,a5,255
|
|
2e3e: b5e9 j 2d08 <read_and_process_uart_data+0x178>
|
|
2e40: 8656 mv a2,s5
|
|
2e42: 8cc18593 addi a1,gp,-1844 # 2000022c <rs485_buff>
|
|
2e46: 8562 mv a0,s8
|
|
2e48: d17ff0ef jal ra,2b5e <FRT_MsgHandler>
|
|
2e4c: 0141 addi sp,sp,16
|
|
2e4e: b2efd06f j 17c <__riscv_restore_12>
|
|
2e52: 47a5 li a5,9
|
|
2e54: e2fa9ee3 bne s5,a5,2c90 <read_and_process_uart_data+0x100>
|
|
2e58: b3f9 j 2c26 <read_and_process_uart_data+0x96>
|
|
|
|
00002e5a <Task_wdi>:
|
|
2e5a: b16fd2ef jal t0,170 <__riscv_save_0>
|
|
2e5e: 88818793 addi a5,gp,-1912 # 200001e8 <temp.6438>
|
|
2e62: 4398 lw a4,0(a5)
|
|
2e64: 66d5 lui a3,0x15
|
|
2e66: 18068693 addi a3,a3,384 # 15180 <_data_lma+0xce54>
|
|
2e6a: 02d70763 beq a4,a3,2e98 <Task_wdi+0x3e>
|
|
2e6e: 0705 addi a4,a4,1
|
|
2e70: c398 sw a4,0(a5)
|
|
2e72: 40011437 lui s0,0x40011
|
|
2e76: 6485 lui s1,0x1
|
|
2e78: 80048593 addi a1,s1,-2048 # 800 <__stack_size>
|
|
2e7c: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
2e80: 4605 li a2,1
|
|
2e82: b6bfd0ef jal ra,9ec <GPIO_WriteBit>
|
|
2e86: 4601 li a2,0
|
|
2e88: 80048593 addi a1,s1,-2048
|
|
2e8c: 80040513 addi a0,s0,-2048
|
|
2e90: b5dfd0ef jal ra,9ec <GPIO_WriteBit>
|
|
2e94: b00fd06f j 194 <__riscv_restore_0>
|
|
2e98: 0007a023 sw zero,0(a5) # 10000 <_data_lma+0x7cd4>
|
|
2e9c: beef07b7 lui a5,0xbeef0
|
|
2ea0: e000e737 lui a4,0xe000e
|
|
2ea4: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eeeb080>
|
|
2ea8: c73c sw a5,72(a4)
|
|
2eaa: b7e1 j 2e72 <Task_wdi+0x18>
|
|
|
|
00002eac <Task_RunLED>:
|
|
2eac: aaafd2ef jal t0,156 <__riscv_save_4>
|
|
2eb0: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
2eb4: 000089b7 lui s3,0x8
|
|
2eb8: 715d addi sp,sp,-80
|
|
2eba: 07098593 addi a1,s3,112 # 8070 <mosTemperADC+0x6b0>
|
|
2ebe: 460d li a2,3
|
|
2ec0: 2ef000ef jal ra,39ae <uart_dev_write>
|
|
2ec4: 05000613 li a2,80
|
|
2ec8: 4581 li a1,0
|
|
2eca: 850a mv a0,sp
|
|
2ecc: ad4fd0ef jal ra,1a0 <memset>
|
|
2ed0: 000087b7 lui a5,0x8
|
|
2ed4: be87a583 lw a1,-1048(a5) # 7be8 <mosTemperADC+0x228>
|
|
2ed8: 80c1a503 lw a0,-2036(gp) # 2000016c <g_duty_ratio>
|
|
2edc: 89c18413 addi s0,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
2ee0: 7a8020ef jal ra,5688 <__mulsf3>
|
|
2ee4: 5c1020ef jal ra,5ca4 <__fixsfsi>
|
|
2ee8: 000085b7 lui a1,0x8
|
|
2eec: 862a mv a2,a0
|
|
2eee: f7858593 addi a1,a1,-136 # 7f78 <mosTemperADC+0x5b8>
|
|
2ef2: 850a mv a0,sp
|
|
2ef4: 52e030ef jal ra,6422 <siprintf>
|
|
2ef8: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
2efc: 858a mv a1,sp
|
|
2efe: 05000613 li a2,80
|
|
2f02: 2ad000ef jal ra,39ae <uart_dev_write>
|
|
2f06: 05000613 li a2,80
|
|
2f0a: 4581 li a1,0
|
|
2f0c: 850a mv a0,sp
|
|
2f0e: a92fd0ef jal ra,1a0 <memset>
|
|
2f12: 2468 lbu a0,14(s0)
|
|
2f14: 345c lbu a5,13(s0)
|
|
2f16: 00008937 lui s2,0x8
|
|
2f1a: 0522 slli a0,a0,0x8
|
|
2f1c: 8d5d or a0,a0,a5
|
|
2f1e: 347c lbu a5,15(s0)
|
|
2f20: ba892583 lw a1,-1112(s2) # 7ba8 <mosTemperADC+0x1e8>
|
|
2f24: 07c2 slli a5,a5,0x10
|
|
2f26: 8fc9 or a5,a5,a0
|
|
2f28: 2808 lbu a0,16(s0)
|
|
2f2a: 0562 slli a0,a0,0x18
|
|
2f2c: 8d5d or a0,a0,a5
|
|
2f2e: 75a020ef jal ra,5688 <__mulsf3>
|
|
2f32: 573020ef jal ra,5ca4 <__fixsfsi>
|
|
2f36: 000085b7 lui a1,0x8
|
|
2f3a: 862a mv a2,a0
|
|
2f3c: f9058593 addi a1,a1,-112 # 7f90 <mosTemperADC+0x5d0>
|
|
2f40: 850a mv a0,sp
|
|
2f42: 4e0030ef jal ra,6422 <siprintf>
|
|
2f46: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
2f4a: 858a mv a1,sp
|
|
2f4c: 05000613 li a2,80
|
|
2f50: 25f000ef jal ra,39ae <uart_dev_write>
|
|
2f54: 05000613 li a2,80
|
|
2f58: 4581 li a1,0
|
|
2f5a: 850a mv a0,sp
|
|
2f5c: a44fd0ef jal ra,1a0 <memset>
|
|
2f60: 2828 lbu a0,18(s0)
|
|
2f62: 381c lbu a5,17(s0)
|
|
2f64: ba892583 lw a1,-1112(s2)
|
|
2f68: 0522 slli a0,a0,0x8
|
|
2f6a: 8d5d or a0,a0,a5
|
|
2f6c: 383c lbu a5,19(s0)
|
|
2f6e: 07c2 slli a5,a5,0x10
|
|
2f70: 8fc9 or a5,a5,a0
|
|
2f72: 2848 lbu a0,20(s0)
|
|
2f74: 0562 slli a0,a0,0x18
|
|
2f76: 8d5d or a0,a0,a5
|
|
2f78: 710020ef jal ra,5688 <__mulsf3>
|
|
2f7c: 529020ef jal ra,5ca4 <__fixsfsi>
|
|
2f80: 000085b7 lui a1,0x8
|
|
2f84: 862a mv a2,a0
|
|
2f86: fa458593 addi a1,a1,-92 # 7fa4 <mosTemperADC+0x5e4>
|
|
2f8a: 850a mv a0,sp
|
|
2f8c: 496030ef jal ra,6422 <siprintf>
|
|
2f90: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
2f94: 858a mv a1,sp
|
|
2f96: 05000613 li a2,80
|
|
2f9a: 215000ef jal ra,39ae <uart_dev_write>
|
|
2f9e: 05000613 li a2,80
|
|
2fa2: 4581 li a1,0
|
|
2fa4: 850a mv a0,sp
|
|
2fa6: 9fafd0ef jal ra,1a0 <memset>
|
|
2faa: 2868 lbu a0,22(s0)
|
|
2fac: 385c lbu a5,21(s0)
|
|
2fae: ba892583 lw a1,-1112(s2)
|
|
2fb2: 0522 slli a0,a0,0x8
|
|
2fb4: 8d5d or a0,a0,a5
|
|
2fb6: 387c lbu a5,23(s0)
|
|
2fb8: 07c2 slli a5,a5,0x10
|
|
2fba: 8fc9 or a5,a5,a0
|
|
2fbc: 2c08 lbu a0,24(s0)
|
|
2fbe: 0562 slli a0,a0,0x18
|
|
2fc0: 8d5d or a0,a0,a5
|
|
2fc2: 6c6020ef jal ra,5688 <__mulsf3>
|
|
2fc6: 4df020ef jal ra,5ca4 <__fixsfsi>
|
|
2fca: 000085b7 lui a1,0x8
|
|
2fce: 862a mv a2,a0
|
|
2fd0: fbc58593 addi a1,a1,-68 # 7fbc <mosTemperADC+0x5fc>
|
|
2fd4: 850a mv a0,sp
|
|
2fd6: 44c030ef jal ra,6422 <siprintf>
|
|
2fda: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
2fde: 858a mv a1,sp
|
|
2fe0: 05000613 li a2,80
|
|
2fe4: 1cb000ef jal ra,39ae <uart_dev_write>
|
|
2fe8: 05000613 li a2,80
|
|
2fec: 4581 li a1,0
|
|
2fee: 850a mv a0,sp
|
|
2ff0: 9b0fd0ef jal ra,1a0 <memset>
|
|
2ff4: 2c28 lbu a0,26(s0)
|
|
2ff6: 3c1c lbu a5,25(s0)
|
|
2ff8: ba892583 lw a1,-1112(s2)
|
|
2ffc: 0522 slli a0,a0,0x8
|
|
2ffe: 8d5d or a0,a0,a5
|
|
3000: 3c3c lbu a5,27(s0)
|
|
3002: 07c2 slli a5,a5,0x10
|
|
3004: 8fc9 or a5,a5,a0
|
|
3006: 2c48 lbu a0,28(s0)
|
|
3008: 0562 slli a0,a0,0x18
|
|
300a: 8d5d or a0,a0,a5
|
|
300c: 67c020ef jal ra,5688 <__mulsf3>
|
|
3010: 495020ef jal ra,5ca4 <__fixsfsi>
|
|
3014: 000085b7 lui a1,0x8
|
|
3018: 862a mv a2,a0
|
|
301a: fd058593 addi a1,a1,-48 # 7fd0 <mosTemperADC+0x610>
|
|
301e: 850a mv a0,sp
|
|
3020: 402030ef jal ra,6422 <siprintf>
|
|
3024: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
3028: 858a mv a1,sp
|
|
302a: 05000613 li a2,80
|
|
302e: 181000ef jal ra,39ae <uart_dev_write>
|
|
3032: 05000613 li a2,80
|
|
3036: 4581 li a1,0
|
|
3038: 850a mv a0,sp
|
|
303a: 966fd0ef jal ra,1a0 <memset>
|
|
303e: 02644503 lbu a0,38(s0)
|
|
3042: 02544783 lbu a5,37(s0)
|
|
3046: 00008737 lui a4,0x8
|
|
304a: 0522 slli a0,a0,0x8
|
|
304c: 8d5d or a0,a0,a5
|
|
304e: 02744783 lbu a5,39(s0)
|
|
3052: d6c72583 lw a1,-660(a4) # 7d6c <mosTemperADC+0x3ac>
|
|
3056: 07c2 slli a5,a5,0x10
|
|
3058: 8fc9 or a5,a5,a0
|
|
305a: 02844503 lbu a0,40(s0)
|
|
305e: 0562 slli a0,a0,0x18
|
|
3060: 8d5d or a0,a0,a5
|
|
3062: 626020ef jal ra,5688 <__mulsf3>
|
|
3066: 43f020ef jal ra,5ca4 <__fixsfsi>
|
|
306a: 000085b7 lui a1,0x8
|
|
306e: 862a mv a2,a0
|
|
3070: fe458593 addi a1,a1,-28 # 7fe4 <mosTemperADC+0x624>
|
|
3074: 850a mv a0,sp
|
|
3076: 3ac030ef jal ra,6422 <siprintf>
|
|
307a: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
307e: 858a mv a1,sp
|
|
3080: 05000613 li a2,80
|
|
3084: 12b000ef jal ra,39ae <uart_dev_write>
|
|
3088: 05000613 li a2,80
|
|
308c: 4581 li a1,0
|
|
308e: 850a mv a0,sp
|
|
3090: 910fd0ef jal ra,1a0 <memset>
|
|
3094: 02a44783 lbu a5,42(s0)
|
|
3098: 02944603 lbu a2,41(s0)
|
|
309c: 000085b7 lui a1,0x8
|
|
30a0: 07a2 slli a5,a5,0x8
|
|
30a2: 8e5d or a2,a2,a5
|
|
30a4: ff458593 addi a1,a1,-12 # 7ff4 <mosTemperADC+0x634>
|
|
30a8: 850a mv a0,sp
|
|
30aa: 378030ef jal ra,6422 <siprintf>
|
|
30ae: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
30b2: 858a mv a1,sp
|
|
30b4: 05000613 li a2,80
|
|
30b8: 0f7000ef jal ra,39ae <uart_dev_write>
|
|
30bc: 05000613 li a2,80
|
|
30c0: 4581 li a1,0
|
|
30c2: 850a mv a0,sp
|
|
30c4: 8dcfd0ef jal ra,1a0 <memset>
|
|
30c8: 02c44783 lbu a5,44(s0)
|
|
30cc: 02b44603 lbu a2,43(s0)
|
|
30d0: 000085b7 lui a1,0x8
|
|
30d4: 07a2 slli a5,a5,0x8
|
|
30d6: 8e5d or a2,a2,a5
|
|
30d8: 00858593 addi a1,a1,8 # 8008 <mosTemperADC+0x648>
|
|
30dc: 850a mv a0,sp
|
|
30de: 344030ef jal ra,6422 <siprintf>
|
|
30e2: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
30e6: 858a mv a1,sp
|
|
30e8: 05000613 li a2,80
|
|
30ec: 0c3000ef jal ra,39ae <uart_dev_write>
|
|
30f0: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
30f4: 07098593 addi a1,s3,112
|
|
30f8: 460d li a2,3
|
|
30fa: 0b5000ef jal ra,39ae <uart_dev_write>
|
|
30fe: 87818793 addi a5,gp,-1928 # 200001d8 <flag.6415>
|
|
3102: 2390 lbu a2,0(a5)
|
|
3104: 40011537 lui a0,0x40011
|
|
3108: 10000593 li a1,256
|
|
310c: 00163613 seqz a2,a2
|
|
3110: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
3114: a390 sb a2,0(a5)
|
|
3116: 8d7fd0ef jal ra,9ec <GPIO_WriteBit>
|
|
311a: 6161 addi sp,sp,80
|
|
311c: 86efd06f j 18a <__riscv_restore_4>
|
|
|
|
00003120 <Task_usart>:
|
|
3120: 850fd2ef jal t0,170 <__riscv_save_0>
|
|
3124: 8901a503 lw a0,-1904(gp) # 200001f0 <g_gw485_uart4_handle>
|
|
3128: a69ff0ef jal ra,2b90 <read_and_process_uart_data>
|
|
312c: 868fd06f j 194 <__riscv_restore_0>
|
|
|
|
00003130 <Task_startMpptControl>:
|
|
3130: 826fd2ef jal t0,156 <__riscv_save_4>
|
|
3134: 200004b7 lui s1,0x20000
|
|
3138: 02048793 addi a5,s1,32 # 20000020 <g_slConfigInfo>
|
|
313c: 2ff4 lbu a3,30(a5)
|
|
313e: 3fd8 lbu a4,29(a5)
|
|
3140: 06a2 slli a3,a3,0x8
|
|
3142: 8ed9 or a3,a3,a4
|
|
3144: 81418713 addi a4,gp,-2028 # 20000174 <only_once.6421>
|
|
3148: 2310 lbu a2,0(a4)
|
|
314a: 7139 addi sp,sp,-64
|
|
314c: 02048493 addi s1,s1,32
|
|
3150: 86c18793 addi a5,gp,-1940 # 200001cc <checkSolarOpenCircuitVTimeFlag.6420>
|
|
3154: c611 beqz a2,3160 <Task_startMpptControl+0x30>
|
|
3156: 00070023 sb zero,0(a4)
|
|
315a: ffd68713 addi a4,a3,-3
|
|
315e: a39a sh a4,0(a5)
|
|
3160: 239a lhu a4,0(a5)
|
|
3162: 0705 addi a4,a4,1
|
|
3164: 0742 slli a4,a4,0x10
|
|
3166: 8341 srli a4,a4,0x10
|
|
3168: 00d70663 beq a4,a3,3174 <Task_startMpptControl+0x44>
|
|
316c: a39a sh a4,0(a5)
|
|
316e: 6121 addi sp,sp,64
|
|
3170: 81afd06f j 18a <__riscv_restore_4>
|
|
3174: 00079023 sh zero,0(a5)
|
|
3178: ccdfe0ef jal ra,1e44 <get_PV1_VOLT_IN>
|
|
317c: 89c18413 addi s0,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
3180: 00855713 srli a4,a0,0x8
|
|
3184: 01855793 srli a5,a0,0x18
|
|
3188: 03200613 li a2,50
|
|
318c: 02a400a3 sb a0,33(s0)
|
|
3190: 02e40123 sb a4,34(s0)
|
|
3194: 89aa mv s3,a0
|
|
3196: 01055713 srli a4,a0,0x10
|
|
319a: 4581 li a1,0
|
|
319c: 0068 addi a0,sp,12
|
|
319e: 02e401a3 sb a4,35(s0)
|
|
31a2: 02f40223 sb a5,36(s0)
|
|
31a6: 00008937 lui s2,0x8
|
|
31aa: ff7fc0ef jal ra,1a0 <memset>
|
|
31ae: ba892583 lw a1,-1112(s2) # 7ba8 <mosTemperADC+0x1e8>
|
|
31b2: 854e mv a0,s3
|
|
31b4: 4d4020ef jal ra,5688 <__mulsf3>
|
|
31b8: 2ed020ef jal ra,5ca4 <__fixsfsi>
|
|
31bc: 000085b7 lui a1,0x8
|
|
31c0: 862a mv a2,a0
|
|
31c2: 06058593 addi a1,a1,96 # 8060 <mosTemperADC+0x6a0>
|
|
31c6: 0068 addi a0,sp,12
|
|
31c8: 25a030ef jal ra,6422 <siprintf>
|
|
31cc: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
31d0: 03200613 li a2,50
|
|
31d4: 006c addi a1,sp,12
|
|
31d6: 7d8000ef jal ra,39ae <uart_dev_write>
|
|
31da: 02244783 lbu a5,34(s0)
|
|
31de: 02144703 lbu a4,33(s0)
|
|
31e2: 38a8 lbu a0,19(s1)
|
|
31e4: 07a2 slli a5,a5,0x8
|
|
31e6: 8f5d or a4,a4,a5
|
|
31e8: 02344783 lbu a5,35(s0)
|
|
31ec: 02444403 lbu s0,36(s0)
|
|
31f0: 07c2 slli a5,a5,0x10
|
|
31f2: 8fd9 or a5,a5,a4
|
|
31f4: 0462 slli s0,s0,0x18
|
|
31f6: 8c5d or s0,s0,a5
|
|
31f8: 28dc lbu a5,20(s1)
|
|
31fa: 07a2 slli a5,a5,0x8
|
|
31fc: 8d5d or a0,a0,a5
|
|
31fe: 425020ef jal ra,5e22 <__floatunsisf>
|
|
3202: ba892583 lw a1,-1112(s2)
|
|
3206: 0be020ef jal ra,52c4 <__divsf3>
|
|
320a: 85a2 mv a1,s0
|
|
320c: 3f0020ef jal ra,55fc <__lesf2>
|
|
3210: f4055fe3 bgez a0,316e <Task_startMpptControl+0x3e>
|
|
3214: 000035b7 lui a1,0x3
|
|
3218: 4681 li a3,0
|
|
321a: 4679 li a2,30
|
|
321c: 45458593 addi a1,a1,1108 # 3454 <Task_softStart>
|
|
3220: 94018513 addi a0,gp,-1728 # 200002a0 <m_softStart>
|
|
3224: 85dfe0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
3228: 95018513 addi a0,gp,-1712 # 200002b0 <m_startMpptControl>
|
|
322c: 893fe0ef jal ra,1abe <TimeSliceOffset_Unregister>
|
|
3230: bf3d j 316e <Task_startMpptControl+0x3e>
|
|
|
|
00003232 <stop_mpptWork>:
|
|
3232: f3ffc2ef jal t0,170 <__riscv_save_0>
|
|
3236: 00008737 lui a4,0x8
|
|
323a: 08c72703 lw a4,140(a4) # 808c <mosTemperADC+0x6cc>
|
|
323e: 40000537 lui a0,0x40000
|
|
3242: 4581 li a1,0
|
|
3244: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
3248: 80e1a623 sw a4,-2036(gp) # 2000016c <g_duty_ratio>
|
|
324c: d81fd0ef jal ra,fcc <TIM_Cmd>
|
|
3250: 40001537 lui a0,0x40001
|
|
3254: 4581 li a1,0
|
|
3256: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
325a: de3fd0ef jal ra,103c <TIM_SetCompare4>
|
|
325e: f37fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003262 <Task_refreshRegister>:
|
|
3262: f0ffc2ef jal t0,170 <__riscv_save_0>
|
|
3266: 86a18713 addi a4,gp,-1942 # 200001ca <checkRegisterRefreshTimeFlag.6444>
|
|
326a: 20000937 lui s2,0x20000
|
|
326e: 02090613 addi a2,s2,32 # 20000020 <g_slConfigInfo>
|
|
3272: 231e lhu a5,0(a4)
|
|
3274: 02064683 lbu a3,32(a2) # ffffa020 <_eusrstack+0xdfff5020>
|
|
3278: 3e6c lbu a1,31(a2)
|
|
327a: 0785 addi a5,a5,1
|
|
327c: 07c2 slli a5,a5,0x10
|
|
327e: 06a2 slli a3,a3,0x8
|
|
3280: 83c1 srli a5,a5,0x10
|
|
3282: 8ecd or a3,a3,a1
|
|
3284: 00f68563 beq a3,a5,328e <Task_refreshRegister+0x2c>
|
|
3288: a31e sh a5,0(a4)
|
|
328a: f0bfc06f j 194 <__riscv_restore_0>
|
|
328e: 00071023 sh zero,0(a4)
|
|
3292: b2bfe0ef jal ra,1dbc <get_PV_VOLT_OUT>
|
|
3296: 89c18493 addi s1,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
329a: 00855793 srli a5,a0,0x8
|
|
329e: b888 sb a0,17(s1)
|
|
32a0: a8bc sb a5,18(s1)
|
|
32a2: 01055793 srli a5,a0,0x10
|
|
32a6: 8161 srli a0,a0,0x18
|
|
32a8: b8bc sb a5,19(s1)
|
|
32aa: a8c8 sb a0,20(s1)
|
|
32ac: acdfe0ef jal ra,1d78 <get_CHG_CURR>
|
|
32b0: 00855793 srli a5,a0,0x8
|
|
32b4: b8c8 sb a0,21(s1)
|
|
32b6: a8fc sb a5,22(s1)
|
|
32b8: 01055793 srli a5,a0,0x10
|
|
32bc: 8161 srli a0,a0,0x18
|
|
32be: b8fc sb a5,23(s1)
|
|
32c0: ac88 sb a0,24(s1)
|
|
32c2: b3ffe0ef jal ra,1e00 <get_DSG_CURR>
|
|
32c6: 00855793 srli a5,a0,0x8
|
|
32ca: bc88 sb a0,25(s1)
|
|
32cc: acbc sb a5,26(s1)
|
|
32ce: 01055793 srli a5,a0,0x10
|
|
32d2: 8161 srli a0,a0,0x18
|
|
32d4: bcbc sb a5,27(s1)
|
|
32d6: acc8 sb a0,28(s1)
|
|
32d8: bb1fe0ef jal ra,1e88 <get_MOSFET_Temper>
|
|
32dc: 00855793 srli a5,a0,0x8
|
|
32e0: 02a482a3 sb a0,37(s1)
|
|
32e4: 02f48323 sb a5,38(s1)
|
|
32e8: 01055793 srli a5,a0,0x10
|
|
32ec: 8161 srli a0,a0,0x18
|
|
32ee: 02f483a3 sb a5,39(s1)
|
|
32f2: 02a48423 sb a0,40(s1)
|
|
32f6: 400114b7 lui s1,0x40011
|
|
32fa: 10000593 li a1,256
|
|
32fe: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3302: edcfd0ef jal ra,9de <GPIO_ReadOutputDataBit>
|
|
3306: 02090913 addi s2,s2,32
|
|
330a: 89c18413 addi s0,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
330e: 4781 li a5,0
|
|
3310: c901 beqz a0,3320 <Task_refreshRegister+0xbe>
|
|
3312: 4591 li a1,4
|
|
3314: c0048513 addi a0,s1,-1024
|
|
3318: ebcfd0ef jal ra,9d4 <GPIO_ReadInputDataBit>
|
|
331c: 00a037b3 snez a5,a0
|
|
3320: 02f404a3 sb a5,41(s0)
|
|
3324: 02040523 sb zero,42(s0)
|
|
3328: b1dfe0ef jal ra,1e44 <get_PV1_VOLT_IN>
|
|
332c: 00855793 srli a5,a0,0x8
|
|
3330: 02f40123 sb a5,34(s0)
|
|
3334: 01055793 srli a5,a0,0x10
|
|
3338: 02f401a3 sb a5,35(s0)
|
|
333c: 02644783 lbu a5,38(s0)
|
|
3340: 02544483 lbu s1,37(s0)
|
|
3344: 02a400a3 sb a0,33(s0)
|
|
3348: 07a2 slli a5,a5,0x8
|
|
334a: 8fc5 or a5,a5,s1
|
|
334c: 02744483 lbu s1,39(s0)
|
|
3350: 8161 srli a0,a0,0x18
|
|
3352: 02a40223 sb a0,36(s0)
|
|
3356: 04c2 slli s1,s1,0x10
|
|
3358: 8fc5 or a5,a5,s1
|
|
335a: 02844483 lbu s1,40(s0)
|
|
335e: 02994503 lbu a0,41(s2)
|
|
3362: 04e2 slli s1,s1,0x18
|
|
3364: 8cdd or s1,s1,a5
|
|
3366: 02a94783 lbu a5,42(s2)
|
|
336a: 07a2 slli a5,a5,0x8
|
|
336c: 8d5d or a0,a0,a5
|
|
336e: 1ef020ef jal ra,5d5c <__floatsisf>
|
|
3372: 85aa mv a1,a0
|
|
3374: 8526 mv a0,s1
|
|
3376: 286020ef jal ra,55fc <__lesf2>
|
|
337a: 02055663 bgez a0,33a6 <Task_refreshRegister+0x144>
|
|
337e: 8851c683 lbu a3,-1915(gp) # 200001e5 <overTemperature>
|
|
3382: 4709 li a4,2
|
|
3384: 88518413 addi s0,gp,-1915 # 200001e5 <overTemperature>
|
|
3388: 00e69c63 bne a3,a4,33a0 <Task_refreshRegister+0x13e>
|
|
338c: 000035b7 lui a1,0x3
|
|
3390: 4681 li a3,0
|
|
3392: 4679 li a2,30
|
|
3394: 45458593 addi a1,a1,1108 # 3454 <Task_softStart>
|
|
3398: 94018513 addi a0,gp,-1728 # 200002a0 <m_softStart>
|
|
339c: ee4fe0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
33a0: 00040023 sb zero,0(s0)
|
|
33a4: b5dd j 328a <Task_refreshRegister+0x28>
|
|
33a6: 02894783 lbu a5,40(s2)
|
|
33aa: 02794503 lbu a0,39(s2)
|
|
33ae: 07a2 slli a5,a5,0x8
|
|
33b0: 8d5d or a0,a0,a5
|
|
33b2: 1ab020ef jal ra,5d5c <__floatsisf>
|
|
33b6: 85aa mv a1,a0
|
|
33b8: 8526 mv a0,s1
|
|
33ba: 1bc020ef jal ra,5576 <__gesf2>
|
|
33be: 00a05f63 blez a0,33dc <Task_refreshRegister+0x17a>
|
|
33c2: 000087b7 lui a5,0x8
|
|
33c6: bf07a783 lw a5,-1040(a5) # 7bf0 <mosTemperADC+0x230>
|
|
33ca: 80f1a623 sw a5,-2036(gp) # 2000016c <g_duty_ratio>
|
|
33ce: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
33d2: a78fe0ef jal ra,164a <Set_duty_ratio>
|
|
33d6: 4705 li a4,1
|
|
33d8: 88e182a3 sb a4,-1915(gp) # 200001e5 <overTemperature>
|
|
33dc: 02644583 lbu a1,38(s0)
|
|
33e0: 02544783 lbu a5,37(s0)
|
|
33e4: 02594503 lbu a0,37(s2)
|
|
33e8: 05a2 slli a1,a1,0x8
|
|
33ea: 8fcd or a5,a5,a1
|
|
33ec: 02744583 lbu a1,39(s0)
|
|
33f0: 02844403 lbu s0,40(s0)
|
|
33f4: 05c2 slli a1,a1,0x10
|
|
33f6: 8ddd or a1,a1,a5
|
|
33f8: 02694783 lbu a5,38(s2)
|
|
33fc: 0462 slli s0,s0,0x18
|
|
33fe: 8c4d or s0,s0,a1
|
|
3400: 07a2 slli a5,a5,0x8
|
|
3402: 8d5d or a0,a0,a5
|
|
3404: 159020ef jal ra,5d5c <__floatsisf>
|
|
3408: 85a2 mv a1,s0
|
|
340a: 1f2020ef jal ra,55fc <__lesf2>
|
|
340e: e6055ee3 bgez a0,328a <Task_refreshRegister+0x28>
|
|
3412: 4709 li a4,2
|
|
3414: 88e182a3 sb a4,-1915(gp) # 200001e5 <overTemperature>
|
|
3418: e1bff0ef jal ra,3232 <stop_mpptWork>
|
|
341c: b5bd j 328a <Task_refreshRegister+0x28>
|
|
|
|
0000341e <start_mpptWork>:
|
|
341e: d53fc2ef jal t0,170 <__riscv_save_0>
|
|
3422: 40000537 lui a0,0x40000
|
|
3426: 4585 li a1,1
|
|
3428: 40050513 addi a0,a0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
342c: ba1fd0ef jal ra,fcc <TIM_Cmd>
|
|
3430: 40011537 lui a0,0x40011
|
|
3434: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
3438: 4709 li a4,2
|
|
343a: 4605 li a2,1
|
|
343c: 10000593 li a1,256
|
|
3440: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3444: 02e785a3 sb a4,43(a5)
|
|
3448: 02078623 sb zero,44(a5)
|
|
344c: da0fd0ef jal ra,9ec <GPIO_WriteBit>
|
|
3450: d45fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003454 <Task_softStart>:
|
|
3454: d03fc2ef jal t0,156 <__riscv_save_4>
|
|
3458: 88218693 addi a3,gp,-1918 # 200001e2 <num.6427>
|
|
345c: 229e lhu a5,0(a3)
|
|
345e: 0785 addi a5,a5,1
|
|
3460: 07c2 slli a5,a5,0x10
|
|
3462: 83c1 srli a5,a5,0x10
|
|
3464: a29e sh a5,0(a3)
|
|
3466: 4691 li a3,4
|
|
3468: 00f6ec63 bltu a3,a5,3480 <Task_softStart+0x2c>
|
|
346c: 40001537 lui a0,0x40001
|
|
3470: 06400593 li a1,100
|
|
3474: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
3478: bc5fd0ef jal ra,103c <TIM_SetCompare4>
|
|
347c: d0ffc06f j 18a <__riscv_restore_4>
|
|
3480: 88218413 addi s0,gp,-1918 # 200001e2 <num.6427>
|
|
3484: 04600713 li a4,70
|
|
3488: 87018493 addi s1,gp,-1936 # 200001d0 <dutyRatio.6428>
|
|
348c: 00f76b63 bltu a4,a5,34a2 <Task_softStart+0x4e>
|
|
3490: 0004a983 lw s3,0(s1)
|
|
3494: 80c1a583 lw a1,-2036(gp) # 2000016c <g_duty_ratio>
|
|
3498: 854e mv a0,s3
|
|
349a: 0dc020ef jal ra,5576 <__gesf2>
|
|
349e: 02a05263 blez a0,34c2 <Task_softStart+0x6e>
|
|
34a2: 00000793 li a5,0
|
|
34a6: 80c18513 addi a0,gp,-2036 # 2000016c <g_duty_ratio>
|
|
34aa: c09c sw a5,0(s1)
|
|
34ac: 00041023 sh zero,0(s0)
|
|
34b0: 99afe0ef jal ra,164a <Set_duty_ratio>
|
|
34b4: 94018513 addi a0,gp,-1728 # 200002a0 <m_softStart>
|
|
34b8: e06fe0ef jal ra,1abe <TimeSliceOffset_Unregister>
|
|
34bc: f63ff0ef jal ra,341e <start_mpptWork>
|
|
34c0: bf75 j 347c <Task_softStart+0x28>
|
|
34c2: 854e mv a0,s3
|
|
34c4: 22d020ef jal ra,5ef0 <__extendsfdf2>
|
|
34c8: 000087b7 lui a5,0x8
|
|
34cc: 0587a603 lw a2,88(a5) # 8058 <mosTemperADC+0x698>
|
|
34d0: 05c7a683 lw a3,92(a5)
|
|
34d4: 2369 jal 3a5e <__adddf3>
|
|
34d6: 2c7020ef jal ra,5f9c <__truncdfsf2>
|
|
34da: c088 sw a0,0(s1)
|
|
34dc: 87018513 addi a0,gp,-1936 # 200001d0 <dutyRatio.6428>
|
|
34e0: 96afe0ef jal ra,164a <Set_duty_ratio>
|
|
34e4: bf61 j 347c <Task_softStart+0x28>
|
|
|
|
000034e6 <Task_recvbroadcast>:
|
|
34e6: c71fc2ef jal t0,156 <__riscv_save_4>
|
|
34ea: 88718713 addi a4,gp,-1913 # 200001e7 <run_number.6452>
|
|
34ee: 231c lbu a5,0(a4)
|
|
34f0: 1101 addi sp,sp,-32
|
|
34f2: 00178693 addi a3,a5,1
|
|
34f6: 17f5 addi a5,a5,-3
|
|
34f8: a314 sb a3,0(a4)
|
|
34fa: 0ff7f793 andi a5,a5,255
|
|
34fe: 0fb00693 li a3,251
|
|
3502: 00f6ed63 bltu a3,a5,351c <Task_recvbroadcast+0x36>
|
|
3506: 90018513 addi a0,gp,-1792 # 20000260 <m_recvbroadcast>
|
|
350a: 86018423 sb zero,-1944(gp) # 200001c8 <RegistrationRequestFlag>
|
|
350e: 00070023 sb zero,0(a4)
|
|
3512: dacfe0ef jal ra,1abe <TimeSliceOffset_Unregister>
|
|
3516: 6105 addi sp,sp,32
|
|
3518: c73fc06f j 18a <__riscv_restore_4>
|
|
351c: 4641 li a2,16
|
|
351e: 4581 li a1,0
|
|
3520: 00e10513 addi a0,sp,14
|
|
3524: c7dfc0ef jal ra,1a0 <memset>
|
|
3528: 20000437 lui s0,0x20000
|
|
352c: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
3530: 02040413 addi s0,s0,32
|
|
3534: 45dd li a1,23
|
|
3536: 825c sb a5,4(sp)
|
|
3538: 301c lbu a5,1(s0)
|
|
353a: 0048 addi a0,sp,4
|
|
353c: 88718493 addi s1,gp,-1913 # 200001e7 <run_number.6452>
|
|
3540: 82dc sb a5,5(sp)
|
|
3542: 57fd li a5,-1
|
|
3544: 837c sh a5,6(sp)
|
|
3546: 57fd li a5,-1
|
|
3548: c43e sw a5,8(sp)
|
|
354a: 77e9 lui a5,0xffffa
|
|
354c: 1ff78793 addi a5,a5,511 # ffffa1ff <_eusrstack+0xdfff51ff>
|
|
3550: 867c sh a5,12(sp)
|
|
3552: 8801c783 lbu a5,-1920(gp) # 200001e0 <g_recvBroadcastRegisterNumber>
|
|
3556: 87dc sb a5,15(sp)
|
|
3558: 89d1c703 lbu a4,-1891(gp) # 200001fd <g_Mppt_Para+0x1>
|
|
355c: 89c1c683 lbu a3,-1892(gp) # 200001fc <g_Mppt_Para>
|
|
3560: 89c18793 addi a5,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
3564: 0722 slli a4,a4,0x8
|
|
3566: 8f55 or a4,a4,a3
|
|
3568: 00e108a3 sb a4,17(sp)
|
|
356c: 00875693 srli a3,a4,0x8
|
|
3570: 2038 lbu a4,2(s0)
|
|
3572: 00d10823 sb a3,16(sp)
|
|
3576: 00e10923 sb a4,18(sp)
|
|
357a: 3038 lbu a4,3(s0)
|
|
357c: 00e109a3 sb a4,19(sp)
|
|
3580: 2058 lbu a4,4(s0)
|
|
3582: 00e10a23 sb a4,20(sp)
|
|
3586: 3058 lbu a4,5(s0)
|
|
3588: 00e10aa3 sb a4,21(sp)
|
|
358c: 2078 lbu a4,6(s0)
|
|
358e: 00e10b23 sb a4,22(sp)
|
|
3592: 3078 lbu a4,7(s0)
|
|
3594: 00e10ba3 sb a4,23(sp)
|
|
3598: 2418 lbu a4,8(s0)
|
|
359a: 00e10c23 sb a4,24(sp)
|
|
359e: 3798 lbu a4,9(a5)
|
|
35a0: 27bc lbu a5,10(a5)
|
|
35a2: 07a2 slli a5,a5,0x8
|
|
35a4: 8fd9 or a5,a5,a4
|
|
35a6: 0087d713 srli a4,a5,0x8
|
|
35aa: 00f10d23 sb a5,26(sp)
|
|
35ae: 00e10ca3 sb a4,25(sp)
|
|
35b2: a00ff0ef jal ra,27b2 <CheckFunc>
|
|
35b6: 00855793 srli a5,a0,0x8
|
|
35ba: 00f10da3 sb a5,27(sp)
|
|
35be: 02b44783 lbu a5,43(s0)
|
|
35c2: 00a10e23 sb a0,28(sp)
|
|
35c6: 4429 li s0,10
|
|
35c8: 00f10ea3 sb a5,29(sp)
|
|
35cc: a24ff0ef jal ra,27f0 <randomDelay>
|
|
35d0: df8fe0ef jal ra,1bc8 <Delay_Ms>
|
|
35d4: 87c18913 addi s2,gp,-1924 # 200001dc <g_recvBroadcastDevice>
|
|
35d8: 00092503 lw a0,0(s2)
|
|
35dc: a40ff0ef jal ra,281c <Check_485_bus_busy>
|
|
35e0: e521 bnez a0,3628 <Task_recvbroadcast+0x142>
|
|
35e2: 88618793 addi a5,gp,-1914 # 200001e6 <recvbroadcast_flag>
|
|
35e6: 2394 lbu a3,0(a5)
|
|
35e8: 4705 li a4,1
|
|
35ea: 00e69763 bne a3,a4,35f8 <Task_recvbroadcast+0x112>
|
|
35ee: 00078023 sb zero,0(a5)
|
|
35f2: 00048023 sb zero,0(s1)
|
|
35f6: b705 j 3516 <Task_recvbroadcast+0x30>
|
|
35f8: 00092503 lw a0,0(s2)
|
|
35fc: 466d li a2,27
|
|
35fe: 004c addi a1,sp,4
|
|
3600: 267d jal 39ae <uart_dev_write>
|
|
3602: 00092703 lw a4,0(s2)
|
|
3606: 88c1a783 lw a5,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
360a: 4605 li a2,1
|
|
360c: 52500593 li a1,1317
|
|
3610: 40005537 lui a0,0x40005
|
|
3614: 00f71763 bne a4,a5,3622 <Task_recvbroadcast+0x13c>
|
|
3618: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
361c: b43fd0ef jal ra,115e <USART_ITConfig>
|
|
3620: bddd j 3516 <Task_recvbroadcast+0x30>
|
|
3622: c0050513 addi a0,a0,-1024
|
|
3626: bfdd j 361c <Task_recvbroadcast+0x136>
|
|
3628: 147d addi s0,s0,-1
|
|
362a: 0ff47413 andi s0,s0,255
|
|
362e: fc59 bnez s0,35cc <Task_recvbroadcast+0xe6>
|
|
3630: b5dd j 3516 <Task_recvbroadcast+0x30>
|
|
|
|
00003632 <Task_sensorEnableBroadcast>:
|
|
3632: 87418793 addi a5,gp,-1932 # 200001d4 <enabBroadcastTimeFlag.6480>
|
|
3636: 4390 lw a2,0(a5)
|
|
3638: 81518693 addi a3,gp,-2027 # 20000175 <run_Broadcast>
|
|
363c: 0605 addi a2,a2,1
|
|
363e: 200005b7 lui a1,0x20000
|
|
3642: c390 sw a2,0(a5)
|
|
3644: 00068023 sb zero,0(a3)
|
|
3648: 02058593 addi a1,a1,32 # 20000020 <g_slConfigInfo>
|
|
364c: 0245c703 lbu a4,36(a1)
|
|
3650: 0235c503 lbu a0,35(a1)
|
|
3654: 0722 slli a4,a4,0x8
|
|
3656: 8f49 or a4,a4,a0
|
|
3658: 00e61e63 bne a2,a4,3674 <Task_sensorEnableBroadcast+0x42>
|
|
365c: b15fc2ef jal t0,170 <__riscv_save_0>
|
|
3660: 0007a023 sw zero,0(a5)
|
|
3664: 93018513 addi a0,gp,-1744 # 20000290 <m_sensorEnableBroadcast>
|
|
3668: 4785 li a5,1
|
|
366a: a29c sb a5,0(a3)
|
|
366c: c52fe0ef jal ra,1abe <TimeSliceOffset_Unregister>
|
|
3670: b25fc06f j 194 <__riscv_restore_0>
|
|
3674: 8082 ret
|
|
|
|
00003676 <g_Mppt_Para_Init>:
|
|
3676: afbfc2ef jal t0,170 <__riscv_save_0>
|
|
367a: 200007b7 lui a5,0x20000
|
|
367e: 02078793 addi a5,a5,32 # 20000020 <g_slConfigInfo>
|
|
3682: 23b8 lbu a4,2(a5)
|
|
3684: 89c18413 addi s0,gp,-1892 # 200001fc <g_Mppt_Para>
|
|
3688: a038 sb a4,2(s0)
|
|
368a: 33b8 lbu a4,3(a5)
|
|
368c: 88018e23 sb zero,-1892(gp) # 200001fc <g_Mppt_Para>
|
|
3690: 88018ea3 sb zero,-1891(gp) # 200001fd <g_Mppt_Para+0x1>
|
|
3694: b038 sb a4,3(s0)
|
|
3696: 23d8 lbu a4,4(a5)
|
|
3698: a058 sb a4,4(s0)
|
|
369a: 33d8 lbu a4,5(a5)
|
|
369c: b058 sb a4,5(s0)
|
|
369e: 23f8 lbu a4,6(a5)
|
|
36a0: a078 sb a4,6(s0)
|
|
36a2: 33f8 lbu a4,7(a5)
|
|
36a4: 279c lbu a5,8(a5)
|
|
36a6: b078 sb a4,7(s0)
|
|
36a8: 20000737 lui a4,0x20000
|
|
36ac: 04c70713 addi a4,a4,76 # 2000004c <defaultValue>
|
|
36b0: a41c sb a5,8(s0)
|
|
36b2: 273c lbu a5,10(a4)
|
|
36b4: 3714 lbu a3,9(a4)
|
|
36b6: 07a2 slli a5,a5,0x8
|
|
36b8: 8fd5 or a5,a5,a3
|
|
36ba: b41c sb a5,9(s0)
|
|
36bc: 83a1 srli a5,a5,0x8
|
|
36be: a43c sb a5,10(s0)
|
|
36c0: 275c lbu a5,12(a4)
|
|
36c2: 3734 lbu a3,11(a4)
|
|
36c4: 07a2 slli a5,a5,0x8
|
|
36c6: 8fd5 or a5,a5,a3
|
|
36c8: b43c sb a5,11(s0)
|
|
36ca: 83a1 srli a5,a5,0x8
|
|
36cc: a45c sb a5,12(s0)
|
|
36ce: eeefe0ef jal ra,1dbc <get_PV_VOLT_OUT>
|
|
36d2: 01855793 srli a5,a0,0x18
|
|
36d6: 00855713 srli a4,a0,0x8
|
|
36da: a81c sb a5,16(s0)
|
|
36dc: 00855793 srli a5,a0,0x8
|
|
36e0: b448 sb a0,13(s0)
|
|
36e2: a478 sb a4,14(s0)
|
|
36e4: b808 sb a0,17(s0)
|
|
36e6: 01055713 srli a4,a0,0x10
|
|
36ea: a83c sb a5,18(s0)
|
|
36ec: 01055793 srli a5,a0,0x10
|
|
36f0: 8161 srli a0,a0,0x18
|
|
36f2: b478 sb a4,15(s0)
|
|
36f4: b83c sb a5,19(s0)
|
|
36f6: a848 sb a0,20(s0)
|
|
36f8: e80fe0ef jal ra,1d78 <get_CHG_CURR>
|
|
36fc: 00855793 srli a5,a0,0x8
|
|
3700: b848 sb a0,21(s0)
|
|
3702: a87c sb a5,22(s0)
|
|
3704: 01055793 srli a5,a0,0x10
|
|
3708: 8161 srli a0,a0,0x18
|
|
370a: b87c sb a5,23(s0)
|
|
370c: ac08 sb a0,24(s0)
|
|
370e: ef2fe0ef jal ra,1e00 <get_DSG_CURR>
|
|
3712: 00855793 srli a5,a0,0x8
|
|
3716: bc08 sb a0,25(s0)
|
|
3718: ac3c sb a5,26(s0)
|
|
371a: 01055793 srli a5,a0,0x10
|
|
371e: 8161 srli a0,a0,0x18
|
|
3720: bc3c sb a5,27(s0)
|
|
3722: ac48 sb a0,28(s0)
|
|
3724: f20fe0ef jal ra,1e44 <get_PV1_VOLT_IN>
|
|
3728: 00855793 srli a5,a0,0x8
|
|
372c: 02a400a3 sb a0,33(s0)
|
|
3730: 02f40123 sb a5,34(s0)
|
|
3734: 01055793 srli a5,a0,0x10
|
|
3738: 8161 srli a0,a0,0x18
|
|
373a: 02f401a3 sb a5,35(s0)
|
|
373e: 02a40223 sb a0,36(s0)
|
|
3742: f46fe0ef jal ra,1e88 <get_MOSFET_Temper>
|
|
3746: 00855793 srli a5,a0,0x8
|
|
374a: 02f40323 sb a5,38(s0)
|
|
374e: 01055793 srli a5,a0,0x10
|
|
3752: 02f403a3 sb a5,39(s0)
|
|
3756: 283c lbu a5,18(s0)
|
|
3758: 01144903 lbu s2,17(s0)
|
|
375c: 02a402a3 sb a0,37(s0)
|
|
3760: 07a2 slli a5,a5,0x8
|
|
3762: 0127e7b3 or a5,a5,s2
|
|
3766: 01344903 lbu s2,19(s0)
|
|
376a: 8161 srli a0,a0,0x18
|
|
376c: 02a40423 sb a0,40(s0)
|
|
3770: 0942 slli s2,s2,0x10
|
|
3772: 00f967b3 or a5,s2,a5
|
|
3776: 01444903 lbu s2,20(s0)
|
|
377a: 0962 slli s2,s2,0x18
|
|
377c: 00f96933 or s2,s2,a5
|
|
3780: 000087b7 lui a5,0x8
|
|
3784: 0747a583 lw a1,116(a5) # 8074 <mosTemperADC+0x6b4>
|
|
3788: 854a mv a0,s2
|
|
378a: 673010ef jal ra,55fc <__lesf2>
|
|
378e: 00054b63 bltz a0,37a4 <g_Mppt_Para_Init+0x12e>
|
|
3792: 000087b7 lui a5,0x8
|
|
3796: 0787a583 lw a1,120(a5) # 8078 <mosTemperADC+0x6b8>
|
|
379a: 854a mv a0,s2
|
|
379c: 5db010ef jal ra,5576 <__gesf2>
|
|
37a0: 00a05b63 blez a0,37b6 <g_Mppt_Para_Init+0x140>
|
|
37a4: 40011537 lui a0,0x40011
|
|
37a8: 4605 li a2,1
|
|
37aa: 10000593 li a1,256
|
|
37ae: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
37b2: a3afd0ef jal ra,9ec <GPIO_WriteBit>
|
|
37b6: 400114b7 lui s1,0x40011
|
|
37ba: 10000593 li a1,256
|
|
37be: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
37c2: a1cfd0ef jal ra,9de <GPIO_ReadOutputDataBit>
|
|
37c6: 4781 li a5,0
|
|
37c8: c901 beqz a0,37d8 <g_Mppt_Para_Init+0x162>
|
|
37ca: 4591 li a1,4
|
|
37cc: c0048513 addi a0,s1,-1024
|
|
37d0: a04fd0ef jal ra,9d4 <GPIO_ReadInputDataBit>
|
|
37d4: 00a037b3 snez a5,a0
|
|
37d8: 02f404a3 sb a5,41(s0)
|
|
37dc: 02040523 sb zero,42(s0)
|
|
37e0: 020405a3 sb zero,43(s0)
|
|
37e4: 02040623 sb zero,44(s0)
|
|
37e8: 9adfc06f j 194 <__riscv_restore_0>
|
|
|
|
000037ec <task_Init>:
|
|
37ec: 985fc2ef jal t0,170 <__riscv_save_0>
|
|
37f0: eeefe0ef jal ra,1ede <read_config_info>
|
|
37f4: e83ff0ef jal ra,3676 <g_Mppt_Para_Init>
|
|
37f8: 000035b7 lui a1,0x3
|
|
37fc: 4681 li a3,0
|
|
37fe: 3e800613 li a2,1000
|
|
3802: eac58593 addi a1,a1,-340 # 2eac <Task_RunLED>
|
|
3806: 92018513 addi a0,gp,-1760 # 20000280 <m_runled>
|
|
380a: a76fe0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
380e: 000035b7 lui a1,0x3
|
|
3812: 4681 li a3,0
|
|
3814: 06400613 li a2,100
|
|
3818: 12058593 addi a1,a1,288 # 3120 <Task_usart>
|
|
381c: 96018513 addi a0,gp,-1696 # 200002c0 <m_usart>
|
|
3820: a60fe0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
3824: 000035b7 lui a1,0x3
|
|
3828: 46f9 li a3,30
|
|
382a: 3e800613 li a2,1000
|
|
382e: e5a58593 addi a1,a1,-422 # 2e5a <Task_wdi>
|
|
3832: 97018513 addi a0,gp,-1680 # 200002d0 <m_wdi>
|
|
3836: a4afe0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
383a: 000035b7 lui a1,0x3
|
|
383e: 3e800693 li a3,1000
|
|
3842: 3e800613 li a2,1000
|
|
3846: 26258593 addi a1,a1,610 # 3262 <Task_refreshRegister>
|
|
384a: 91018513 addi a0,gp,-1776 # 20000270 <m_refreshRegister>
|
|
384e: a32fe0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
3852: 000035b7 lui a1,0x3
|
|
3856: 4681 li a3,0
|
|
3858: 3e800613 li a2,1000
|
|
385c: 13058593 addi a1,a1,304 # 3130 <Task_startMpptControl>
|
|
3860: 95018513 addi a0,gp,-1712 # 200002b0 <m_startMpptControl>
|
|
3864: a1cfe0ef jal ra,1a80 <TimeSliceOffset_Register>
|
|
3868: a84fe0ef jal ra,1aec <TimeSliceOffset_Start>
|
|
386c: 929fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003870 <hardware_Init>:
|
|
3870: 901fc2ef jal t0,170 <__riscv_save_0>
|
|
3874: 4505 li a0,1
|
|
3876: 972fe0ef jal ra,19e8 <TIM2_Init>
|
|
387a: 28bd jal 38f8 <uart_dev_init>
|
|
387c: d63fd0ef jal ra,15de <PWM_TIM_Configuration>
|
|
3880: 96bfd0ef jal ra,11ea <ADC_all_Init>
|
|
3884: bbdfd0ef jal ra,1440 <RUN_LED_Init>
|
|
3888: be7fd0ef jal ra,146e <WDI_INPUT_Init>
|
|
388c: a4ffd0ef jal ra,12da <SPI_Flash_Init>
|
|
3890: c11fd0ef jal ra,14a0 <POW_OUT_CON_Init>
|
|
3894: c4bfd0ef jal ra,14de <DSG_PROT_Init>
|
|
3898: 88c1a503 lw a0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
389c: 000085b7 lui a1,0x8
|
|
38a0: 463d li a2,15
|
|
38a2: 07c58593 addi a1,a1,124 # 807c <mosTemperADC+0x6bc>
|
|
38a6: 2221 jal 39ae <uart_dev_write>
|
|
38a8: 4505 li a0,1
|
|
38aa: 88efe0ef jal ra,1938 <TIM3_Init>
|
|
38ae: 8e7fc06f j 194 <__riscv_restore_0>
|
|
|
|
000038b2 <uart_putchar>:
|
|
38b2: 8bffc2ef jal t0,170 <__riscv_save_0>
|
|
38b6: 4401 li s0,0
|
|
38b8: c105 beqz a0,38d8 <uart_putchar+0x26>
|
|
38ba: 2100 lbu s0,0(a0)
|
|
38bc: cc11 beqz s0,38d8 <uart_putchar+0x26>
|
|
38be: 415c lw a5,4(a0)
|
|
38c0: 470d li a4,3
|
|
38c2: 00e79e63 bne a5,a4,38de <uart_putchar+0x2c>
|
|
38c6: 40005537 lui a0,0x40005
|
|
38ca: 0ff5f593 andi a1,a1,255
|
|
38ce: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
38d2: f6ffd0ef jal ra,1840 <USARTx_SendByte>
|
|
38d6: 4405 li s0,1
|
|
38d8: 8522 mv a0,s0
|
|
38da: 8bbfc06f j 194 <__riscv_restore_0>
|
|
38de: 4711 li a4,4
|
|
38e0: 4405 li s0,1
|
|
38e2: fee79be3 bne a5,a4,38d8 <uart_putchar+0x26>
|
|
38e6: 40005537 lui a0,0x40005
|
|
38ea: 0ff5f593 andi a1,a1,255
|
|
38ee: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
38f2: f4ffd0ef jal ra,1840 <USARTx_SendByte>
|
|
38f6: b7cd j 38d8 <uart_putchar+0x26>
|
|
|
|
000038f8 <uart_dev_init>:
|
|
38f8: 879fc2ef jal t0,170 <__riscv_save_0>
|
|
38fc: 20000437 lui s0,0x20000
|
|
3900: 0c440413 addi s0,s0,196 # 200000c4 <uart_devices>
|
|
3904: 0c800613 li a2,200
|
|
3908: 98018593 addi a1,gp,-1664 # 200002e0 <bat485_in_buff>
|
|
390c: 00c40513 addi a0,s0,12
|
|
3910: a26fe0ef jal ra,1b36 <InitRingQueue>
|
|
3914: 6571 lui a0,0x1c
|
|
3916: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x13ed4>
|
|
391a: e69fd0ef jal ra,1782 <BAT_485_Init>
|
|
391e: 4485 li s1,1
|
|
3920: a004 sb s1,0(s0)
|
|
3922: 12c00613 li a2,300
|
|
3926: a4818593 addi a1,gp,-1464 # 200003a8 <gw485_in_buff>
|
|
392a: 02840513 addi a0,s0,40
|
|
392e: 8881a623 sw s0,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
3932: a04fe0ef jal ra,1b36 <InitRingQueue>
|
|
3936: 5048 lw a0,36(s0)
|
|
3938: 0471 addi s0,s0,28
|
|
393a: d97fd0ef jal ra,16d0 <GW_485_Init>
|
|
393e: a004 sb s1,0(s0)
|
|
3940: 4501 li a0,0
|
|
3942: 8881a823 sw s0,-1904(gp) # 200001f0 <g_gw485_uart4_handle>
|
|
3946: 84ffc06f j 194 <__riscv_restore_0>
|
|
|
|
0000394a <bat485_tx_enabla>:
|
|
394a: 827fc2ef jal t0,170 <__riscv_save_0>
|
|
394e: 40011537 lui a0,0x40011
|
|
3952: 4605 li a2,1
|
|
3954: 02000593 li a1,32
|
|
3958: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
395c: 890fd0ef jal ra,9ec <GPIO_WriteBit>
|
|
3960: 835fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003964 <bat485_tx_disenabla>:
|
|
3964: 80dfc2ef jal t0,170 <__riscv_save_0>
|
|
3968: 40011537 lui a0,0x40011
|
|
396c: 4601 li a2,0
|
|
396e: 02000593 li a1,32
|
|
3972: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
3976: 876fd0ef jal ra,9ec <GPIO_WriteBit>
|
|
397a: 81bfc06f j 194 <__riscv_restore_0>
|
|
|
|
0000397e <gw485_tx_enabla>:
|
|
397e: ff2fc2ef jal t0,170 <__riscv_save_0>
|
|
3982: 40011537 lui a0,0x40011
|
|
3986: 4605 li a2,1
|
|
3988: 45c1 li a1,16
|
|
398a: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
398e: 85efd0ef jal ra,9ec <GPIO_WriteBit>
|
|
3992: 803fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003996 <gw485_tx_disenabla>:
|
|
3996: fdafc2ef jal t0,170 <__riscv_save_0>
|
|
399a: 40011537 lui a0,0x40011
|
|
399e: 4601 li a2,0
|
|
39a0: 45c1 li a1,16
|
|
39a2: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
39a6: 846fd0ef jal ra,9ec <GPIO_WriteBit>
|
|
39aa: feafc06f j 194 <__riscv_restore_0>
|
|
|
|
000039ae <uart_dev_write>:
|
|
39ae: fa8fc2ef jal t0,156 <__riscv_save_4>
|
|
39b2: 88c1a703 lw a4,-1908(gp) # 200001ec <g_bat485_uart3_handle>
|
|
39b6: 842a mv s0,a0
|
|
39b8: 8a2e mv s4,a1
|
|
39ba: 89b2 mv s3,a2
|
|
39bc: 88c18493 addi s1,gp,-1908 # 200001ec <g_bat485_uart3_handle>
|
|
39c0: 02a71163 bne a4,a0,39e2 <uart_dev_write+0x34>
|
|
39c4: f87ff0ef jal ra,394a <bat485_tx_enabla>
|
|
39c8: 4901 li s2,0
|
|
39ca: 03394363 blt s2,s3,39f0 <uart_dev_write+0x42>
|
|
39ce: 4505 li a0,1
|
|
39d0: 9f8fe0ef jal ra,1bc8 <Delay_Ms>
|
|
39d4: 409c lw a5,0(s1)
|
|
39d6: 02879663 bne a5,s0,3a02 <uart_dev_write+0x54>
|
|
39da: f8bff0ef jal ra,3964 <bat485_tx_disenabla>
|
|
39de: facfc06f j 18a <__riscv_restore_4>
|
|
39e2: 8901a783 lw a5,-1904(gp) # 200001f0 <g_gw485_uart4_handle>
|
|
39e6: fea791e3 bne a5,a0,39c8 <uart_dev_write+0x1a>
|
|
39ea: f95ff0ef jal ra,397e <gw485_tx_enabla>
|
|
39ee: bfe9 j 39c8 <uart_dev_write+0x1a>
|
|
39f0: 012a07b3 add a5,s4,s2
|
|
39f4: 00078583 lb a1,0(a5)
|
|
39f8: 8522 mv a0,s0
|
|
39fa: 0905 addi s2,s2,1
|
|
39fc: eb7ff0ef jal ra,38b2 <uart_putchar>
|
|
3a00: b7e9 j 39ca <uart_dev_write+0x1c>
|
|
3a02: 8901a783 lw a5,-1904(gp) # 200001f0 <g_gw485_uart4_handle>
|
|
3a06: fc879ce3 bne a5,s0,39de <uart_dev_write+0x30>
|
|
3a0a: f8dff0ef jal ra,3996 <gw485_tx_disenabla>
|
|
3a0e: bfc1 j 39de <uart_dev_write+0x30>
|
|
|
|
00003a10 <uart_dev_char_present>:
|
|
3a10: 4781 li a5,0
|
|
3a12: c909 beqz a0,3a24 <uart_dev_char_present+0x14>
|
|
3a14: 2118 lbu a4,0(a0)
|
|
3a16: 4781 li a5,0
|
|
3a18: c711 beqz a4,3a24 <uart_dev_char_present+0x14>
|
|
3a1a: 495c lw a5,20(a0)
|
|
3a1c: 4d08 lw a0,24(a0)
|
|
3a1e: 8f89 sub a5,a5,a0
|
|
3a20: 00f037b3 snez a5,a5
|
|
3a24: 853e mv a0,a5
|
|
3a26: 8082 ret
|
|
|
|
00003a28 <uart_dev_in_char>:
|
|
3a28: f48fc2ef jal t0,170 <__riscv_save_0>
|
|
3a2c: 1141 addi sp,sp,-16
|
|
3a2e: 842a mv s0,a0
|
|
3a30: 000107a3 sb zero,15(sp)
|
|
3a34: fddff0ef jal ra,3a10 <uart_dev_char_present>
|
|
3a38: c519 beqz a0,3a46 <uart_dev_in_char+0x1e>
|
|
3a3a: 00f10593 addi a1,sp,15
|
|
3a3e: 00c40513 addi a0,s0,12
|
|
3a42: 930fe0ef jal ra,1b72 <OutRingQueue>
|
|
3a46: 00f10503 lb a0,15(sp)
|
|
3a4a: 0141 addi sp,sp,16
|
|
3a4c: f48fc06f j 194 <__riscv_restore_0>
|
|
|
|
00003a50 <ring_queue_length>:
|
|
3a50: f20fc2ef jal t0,170 <__riscv_save_0>
|
|
3a54: 0531 addi a0,a0,12
|
|
3a56: 942fe0ef jal ra,1b98 <RingQueueLength>
|
|
3a5a: f3afc06f j 194 <__riscv_restore_0>
|
|
|
|
00003a5e <__adddf3>:
|
|
3a5e: 00100837 lui a6,0x100
|
|
3a62: 1101 addi sp,sp,-32
|
|
3a64: 187d addi a6,a6,-1
|
|
3a66: 00b87733 and a4,a6,a1
|
|
3a6a: ca26 sw s1,20(sp)
|
|
3a6c: 00d87833 and a6,a6,a3
|
|
3a70: 0145d493 srli s1,a1,0x14
|
|
3a74: 0146d313 srli t1,a3,0x14
|
|
3a78: 00371e13 slli t3,a4,0x3
|
|
3a7c: c64e sw s3,12(sp)
|
|
3a7e: 01d55713 srli a4,a0,0x1d
|
|
3a82: 080e slli a6,a6,0x3
|
|
3a84: 01d65793 srli a5,a2,0x1d
|
|
3a88: 7ff4f493 andi s1,s1,2047
|
|
3a8c: 7ff37313 andi t1,t1,2047
|
|
3a90: ce06 sw ra,28(sp)
|
|
3a92: cc22 sw s0,24(sp)
|
|
3a94: c84a sw s2,16(sp)
|
|
3a96: 01f5d993 srli s3,a1,0x1f
|
|
3a9a: 01f6de93 srli t4,a3,0x1f
|
|
3a9e: 01c76733 or a4,a4,t3
|
|
3aa2: 00351f13 slli t5,a0,0x3
|
|
3aa6: 0107e833 or a6,a5,a6
|
|
3aaa: 00361f93 slli t6,a2,0x3
|
|
3aae: 40648e33 sub t3,s1,t1
|
|
3ab2: 19d98063 beq s3,t4,3c32 <__adddf3+0x1d4>
|
|
3ab6: 13c05663 blez t3,3be2 <__adddf3+0x184>
|
|
3aba: 1c030463 beqz t1,3c82 <__adddf3+0x224>
|
|
3abe: 008006b7 lui a3,0x800
|
|
3ac2: 7ff00793 li a5,2047
|
|
3ac6: 00d86833 or a6,a6,a3
|
|
3aca: 36f48f63 beq s1,a5,3e48 <__adddf3+0x3ea>
|
|
3ace: 03800793 li a5,56
|
|
3ad2: 35c7c063 blt a5,t3,3e12 <__adddf3+0x3b4>
|
|
3ad6: 47fd li a5,31
|
|
3ad8: 47c7cd63 blt a5,t3,3f52 <__adddf3+0x4f4>
|
|
3adc: 02000513 li a0,32
|
|
3ae0: 41c50533 sub a0,a0,t3
|
|
3ae4: 01cfd7b3 srl a5,t6,t3
|
|
3ae8: 00a816b3 sll a3,a6,a0
|
|
3aec: 00af9933 sll s2,t6,a0
|
|
3af0: 8edd or a3,a3,a5
|
|
3af2: 01203933 snez s2,s2
|
|
3af6: 01c857b3 srl a5,a6,t3
|
|
3afa: 0126e933 or s2,a3,s2
|
|
3afe: 8f1d sub a4,a4,a5
|
|
3b00: 412f0933 sub s2,t5,s2
|
|
3b04: 012f37b3 sltu a5,t5,s2
|
|
3b08: 40f70633 sub a2,a4,a5
|
|
3b0c: 00861793 slli a5,a2,0x8
|
|
3b10: 2407d463 bgez a5,3d58 <__adddf3+0x2fa>
|
|
3b14: 00800737 lui a4,0x800
|
|
3b18: 177d addi a4,a4,-1
|
|
3b1a: 00e67433 and s0,a2,a4
|
|
3b1e: 2c040c63 beqz s0,3df6 <__adddf3+0x398>
|
|
3b22: 8522 mv a0,s0
|
|
3b24: 5e2020ef jal ra,6106 <__clzsi2>
|
|
3b28: ff850713 addi a4,a0,-8
|
|
3b2c: 02000793 li a5,32
|
|
3b30: 8f99 sub a5,a5,a4
|
|
3b32: 00f957b3 srl a5,s2,a5
|
|
3b36: 00e41633 sll a2,s0,a4
|
|
3b3a: 8fd1 or a5,a5,a2
|
|
3b3c: 00e91933 sll s2,s2,a4
|
|
3b40: 2a974163 blt a4,s1,3de2 <__adddf3+0x384>
|
|
3b44: 40970533 sub a0,a4,s1
|
|
3b48: 00150613 addi a2,a0,1
|
|
3b4c: 477d li a4,31
|
|
3b4e: 38c74d63 blt a4,a2,3ee8 <__adddf3+0x48a>
|
|
3b52: 02000713 li a4,32
|
|
3b56: 8f11 sub a4,a4,a2
|
|
3b58: 00c956b3 srl a3,s2,a2
|
|
3b5c: 00e91933 sll s2,s2,a4
|
|
3b60: 00e79733 sll a4,a5,a4
|
|
3b64: 8f55 or a4,a4,a3
|
|
3b66: 01203933 snez s2,s2
|
|
3b6a: 01276933 or s2,a4,s2
|
|
3b6e: 00c7d633 srl a2,a5,a2
|
|
3b72: 4481 li s1,0
|
|
3b74: 00797793 andi a5,s2,7
|
|
3b78: cf81 beqz a5,3b90 <__adddf3+0x132>
|
|
3b7a: 00f97713 andi a4,s2,15
|
|
3b7e: 4791 li a5,4
|
|
3b80: 00f70863 beq a4,a5,3b90 <__adddf3+0x132>
|
|
3b84: 00490713 addi a4,s2,4
|
|
3b88: 01273933 sltu s2,a4,s2
|
|
3b8c: 964a add a2,a2,s2
|
|
3b8e: 893a mv s2,a4
|
|
3b90: 00861793 slli a5,a2,0x8
|
|
3b94: 1c07d663 bgez a5,3d60 <__adddf3+0x302>
|
|
3b98: 00148513 addi a0,s1,1
|
|
3b9c: 7ff00793 li a5,2047
|
|
3ba0: 85ce mv a1,s3
|
|
3ba2: 20f50463 beq a0,a5,3daa <__adddf3+0x34c>
|
|
3ba6: ff8007b7 lui a5,0xff800
|
|
3baa: 17fd addi a5,a5,-1
|
|
3bac: 8ff1 and a5,a5,a2
|
|
3bae: 01d79893 slli a7,a5,0x1d
|
|
3bb2: 00395913 srli s2,s2,0x3
|
|
3bb6: 07a6 slli a5,a5,0x9
|
|
3bb8: 0128e8b3 or a7,a7,s2
|
|
3bbc: 83b1 srli a5,a5,0xc
|
|
3bbe: 7ff57513 andi a0,a0,2047
|
|
3bc2: 00c79693 slli a3,a5,0xc
|
|
3bc6: 0552 slli a0,a0,0x14
|
|
3bc8: 40f2 lw ra,28(sp)
|
|
3bca: 4462 lw s0,24(sp)
|
|
3bcc: 82b1 srli a3,a3,0xc
|
|
3bce: 05fe slli a1,a1,0x1f
|
|
3bd0: 8ec9 or a3,a3,a0
|
|
3bd2: 8ecd or a3,a3,a1
|
|
3bd4: 44d2 lw s1,20(sp)
|
|
3bd6: 4942 lw s2,16(sp)
|
|
3bd8: 49b2 lw s3,12(sp)
|
|
3bda: 8546 mv a0,a7
|
|
3bdc: 85b6 mv a1,a3
|
|
3bde: 6105 addi sp,sp,32
|
|
3be0: 8082 ret
|
|
3be2: 0a0e1e63 bnez t3,3c9e <__adddf3+0x240>
|
|
3be6: 00148313 addi t1,s1,1
|
|
3bea: 7fe37313 andi t1,t1,2046
|
|
3bee: 22031763 bnez t1,3e1c <__adddf3+0x3be>
|
|
3bf2: 01e767b3 or a5,a4,t5
|
|
3bf6: 01f868b3 or a7,a6,t6
|
|
3bfa: 1a049d63 bnez s1,3db4 <__adddf3+0x356>
|
|
3bfe: 40078763 beqz a5,400c <__adddf3+0x5ae>
|
|
3c02: 44088663 beqz a7,404e <__adddf3+0x5f0>
|
|
3c06: 41ff0933 sub s2,t5,t6
|
|
3c0a: 410707b3 sub a5,a4,a6
|
|
3c0e: 012f3633 sltu a2,t5,s2
|
|
3c12: 40c78633 sub a2,a5,a2
|
|
3c16: 00861793 slli a5,a2,0x8
|
|
3c1a: 4c07d663 bgez a5,40e6 <__adddf3+0x688>
|
|
3c1e: 41ef8933 sub s2,t6,t5
|
|
3c22: 40e807b3 sub a5,a6,a4
|
|
3c26: 012fb633 sltu a2,t6,s2
|
|
3c2a: 40c78633 sub a2,a5,a2
|
|
3c2e: 89f6 mv s3,t4
|
|
3c30: b791 j 3b74 <__adddf3+0x116>
|
|
3c32: 0fc05063 blez t3,3d12 <__adddf3+0x2b4>
|
|
3c36: 0c030063 beqz t1,3cf6 <__adddf3+0x298>
|
|
3c3a: 008006b7 lui a3,0x800
|
|
3c3e: 7ff00793 li a5,2047
|
|
3c42: 00d86833 or a6,a6,a3
|
|
3c46: 3af48a63 beq s1,a5,3ffa <__adddf3+0x59c>
|
|
3c4a: 03800793 li a5,56
|
|
3c4e: 13c7cb63 blt a5,t3,3d84 <__adddf3+0x326>
|
|
3c52: 47fd li a5,31
|
|
3c54: 35c7df63 bge a5,t3,3fb2 <__adddf3+0x554>
|
|
3c58: fe0e0913 addi s2,t3,-32
|
|
3c5c: 02000793 li a5,32
|
|
3c60: 012856b3 srl a3,a6,s2
|
|
3c64: 00fe0a63 beq t3,a5,3c78 <__adddf3+0x21a>
|
|
3c68: 04000913 li s2,64
|
|
3c6c: 41c90933 sub s2,s2,t3
|
|
3c70: 01281933 sll s2,a6,s2
|
|
3c74: 012fefb3 or t6,t6,s2
|
|
3c78: 01f03933 snez s2,t6
|
|
3c7c: 00d96933 or s2,s2,a3
|
|
3c80: a231 j 3d8c <__adddf3+0x32e>
|
|
3c82: 01f867b3 or a5,a6,t6
|
|
3c86: 1c078a63 beqz a5,3e5a <__adddf3+0x3fc>
|
|
3c8a: fffe0793 addi a5,t3,-1
|
|
3c8e: 38078c63 beqz a5,4026 <__adddf3+0x5c8>
|
|
3c92: 7ff00693 li a3,2047
|
|
3c96: 1ade0963 beq t3,a3,3e48 <__adddf3+0x3ea>
|
|
3c9a: 8e3e mv t3,a5
|
|
3c9c: bd0d j 3ace <__adddf3+0x70>
|
|
3c9e: 409305b3 sub a1,t1,s1
|
|
3ca2: 22049163 bnez s1,3ec4 <__adddf3+0x466>
|
|
3ca6: 01e767b3 or a5,a4,t5
|
|
3caa: 32078763 beqz a5,3fd8 <__adddf3+0x57a>
|
|
3cae: fff58793 addi a5,a1,-1
|
|
3cb2: 44078163 beqz a5,40f4 <__adddf3+0x696>
|
|
3cb6: 7ff00693 li a3,2047
|
|
3cba: 20d58c63 beq a1,a3,3ed2 <__adddf3+0x474>
|
|
3cbe: 85be mv a1,a5
|
|
3cc0: 03800793 li a5,56
|
|
3cc4: 2ab7cc63 blt a5,a1,3f7c <__adddf3+0x51e>
|
|
3cc8: 47fd li a5,31
|
|
3cca: 3cb7cf63 blt a5,a1,40a8 <__adddf3+0x64a>
|
|
3cce: 02000793 li a5,32
|
|
3cd2: 8f8d sub a5,a5,a1
|
|
3cd4: 00f71933 sll s2,a4,a5
|
|
3cd8: 00bf56b3 srl a3,t5,a1
|
|
3cdc: 00ff17b3 sll a5,t5,a5
|
|
3ce0: 00d96933 or s2,s2,a3
|
|
3ce4: 00f037b3 snez a5,a5
|
|
3ce8: 00b75733 srl a4,a4,a1
|
|
3cec: 00f96933 or s2,s2,a5
|
|
3cf0: 40e80833 sub a6,a6,a4
|
|
3cf4: ac41 j 3f84 <__adddf3+0x526>
|
|
3cf6: 01f867b3 or a5,a6,t6
|
|
3cfa: 34078063 beqz a5,403a <__adddf3+0x5dc>
|
|
3cfe: fffe0793 addi a5,t3,-1
|
|
3d02: 20078a63 beqz a5,3f16 <__adddf3+0x4b8>
|
|
3d06: 7ff00693 li a3,2047
|
|
3d0a: 2ede0863 beq t3,a3,3ffa <__adddf3+0x59c>
|
|
3d0e: 8e3e mv t3,a5
|
|
3d10: bf2d j 3c4a <__adddf3+0x1ec>
|
|
3d12: 140e1e63 bnez t3,3e6e <__adddf3+0x410>
|
|
3d16: 00148693 addi a3,s1,1
|
|
3d1a: 7fe6f793 andi a5,a3,2046
|
|
3d1e: 34079163 bnez a5,4060 <__adddf3+0x602>
|
|
3d22: 01e767b3 or a5,a4,t5
|
|
3d26: 2c049563 bnez s1,3ff0 <__adddf3+0x592>
|
|
3d2a: 3e078063 beqz a5,410a <__adddf3+0x6ac>
|
|
3d2e: 01f867b3 or a5,a6,t6
|
|
3d32: 30078e63 beqz a5,404e <__adddf3+0x5f0>
|
|
3d36: 01ff0933 add s2,t5,t6
|
|
3d3a: 010707b3 add a5,a4,a6
|
|
3d3e: 01e93f33 sltu t5,s2,t5
|
|
3d42: 01e78633 add a2,a5,t5
|
|
3d46: 00861793 slli a5,a2,0x8
|
|
3d4a: 0007d763 bgez a5,3d58 <__adddf3+0x2fa>
|
|
3d4e: ff8007b7 lui a5,0xff800
|
|
3d52: 17fd addi a5,a5,-1
|
|
3d54: 8e7d and a2,a2,a5
|
|
3d56: 4485 li s1,1
|
|
3d58: 00797793 andi a5,s2,7
|
|
3d5c: e0079fe3 bnez a5,3b7a <__adddf3+0x11c>
|
|
3d60: 01d61793 slli a5,a2,0x1d
|
|
3d64: 00395893 srli a7,s2,0x3
|
|
3d68: 00f8e8b3 or a7,a7,a5
|
|
3d6c: 00365793 srli a5,a2,0x3
|
|
3d70: 7ff00713 li a4,2047
|
|
3d74: 04e48d63 beq s1,a4,3dce <__adddf3+0x370>
|
|
3d78: 07b2 slli a5,a5,0xc
|
|
3d7a: 83b1 srli a5,a5,0xc
|
|
3d7c: 7ff4f513 andi a0,s1,2047
|
|
3d80: 85ce mv a1,s3
|
|
3d82: b581 j 3bc2 <__adddf3+0x164>
|
|
3d84: 01f86933 or s2,a6,t6
|
|
3d88: 01203933 snez s2,s2
|
|
3d8c: 997a add s2,s2,t5
|
|
3d8e: 01e937b3 sltu a5,s2,t5
|
|
3d92: 00e78633 add a2,a5,a4
|
|
3d96: 00861793 slli a5,a2,0x8
|
|
3d9a: fa07dfe3 bgez a5,3d58 <__adddf3+0x2fa>
|
|
3d9e: 0485 addi s1,s1,1
|
|
3da0: 7ff00793 li a5,2047
|
|
3da4: 18f49663 bne s1,a5,3f30 <__adddf3+0x4d2>
|
|
3da8: 85ce mv a1,s3
|
|
3daa: 7ff00513 li a0,2047
|
|
3dae: 4781 li a5,0
|
|
3db0: 4881 li a7,0
|
|
3db2: bd01 j 3bc2 <__adddf3+0x164>
|
|
3db4: ebc1 bnez a5,3e44 <__adddf3+0x3e6>
|
|
3db6: 3a088463 beqz a7,415e <__adddf3+0x700>
|
|
3dba: 00361693 slli a3,a2,0x3
|
|
3dbe: 01d81793 slli a5,a6,0x1d
|
|
3dc2: 828d srli a3,a3,0x3
|
|
3dc4: 00d7e8b3 or a7,a5,a3
|
|
3dc8: 89f6 mv s3,t4
|
|
3dca: 00385793 srli a5,a6,0x3
|
|
3dce: 00f8e7b3 or a5,a7,a5
|
|
3dd2: dbf9 beqz a5,3da8 <__adddf3+0x34a>
|
|
3dd4: 4581 li a1,0
|
|
3dd6: 7ff00513 li a0,2047
|
|
3dda: 000807b7 lui a5,0x80
|
|
3dde: 4881 li a7,0
|
|
3de0: b3cd j 3bc2 <__adddf3+0x164>
|
|
3de2: ff800637 lui a2,0xff800
|
|
3de6: 167d addi a2,a2,-1
|
|
3de8: 8e7d and a2,a2,a5
|
|
3dea: 00797793 andi a5,s2,7
|
|
3dee: 8c99 sub s1,s1,a4
|
|
3df0: d80795e3 bnez a5,3b7a <__adddf3+0x11c>
|
|
3df4: b7b5 j 3d60 <__adddf3+0x302>
|
|
3df6: 854a mv a0,s2
|
|
3df8: 30e020ef jal ra,6106 <__clzsi2>
|
|
3dfc: 01850713 addi a4,a0,24
|
|
3e00: 47fd li a5,31
|
|
3e02: d2e7d5e3 bge a5,a4,3b2c <__adddf3+0xce>
|
|
3e06: ff850613 addi a2,a0,-8
|
|
3e0a: 00c917b3 sll a5,s2,a2
|
|
3e0e: 4901 li s2,0
|
|
3e10: bb05 j 3b40 <__adddf3+0xe2>
|
|
3e12: 01f86933 or s2,a6,t6
|
|
3e16: 01203933 snez s2,s2
|
|
3e1a: b1dd j 3b00 <__adddf3+0xa2>
|
|
3e1c: 41ff0933 sub s2,t5,t6
|
|
3e20: 41070633 sub a2,a4,a6
|
|
3e24: 012f3433 sltu s0,t5,s2
|
|
3e28: 40860433 sub s0,a2,s0
|
|
3e2c: 00841793 slli a5,s0,0x8
|
|
3e30: 2407cd63 bltz a5,408a <__adddf3+0x62c>
|
|
3e34: 008968b3 or a7,s2,s0
|
|
3e38: ce0893e3 bnez a7,3b1e <__adddf3+0xc0>
|
|
3e3c: 4781 li a5,0
|
|
3e3e: 4981 li s3,0
|
|
3e40: 4481 li s1,0
|
|
3e42: bf1d j 3d78 <__adddf3+0x31a>
|
|
3e44: f80898e3 bnez a7,3dd4 <__adddf3+0x376>
|
|
3e48: 050e slli a0,a0,0x3
|
|
3e4a: 01d71793 slli a5,a4,0x1d
|
|
3e4e: 810d srli a0,a0,0x3
|
|
3e50: 00a7e8b3 or a7,a5,a0
|
|
3e54: 00375793 srli a5,a4,0x3
|
|
3e58: bf9d j 3dce <__adddf3+0x370>
|
|
3e5a: 050e slli a0,a0,0x3
|
|
3e5c: 01d71793 slli a5,a4,0x1d
|
|
3e60: 810d srli a0,a0,0x3
|
|
3e62: 00a7e8b3 or a7,a5,a0
|
|
3e66: 84f2 mv s1,t3
|
|
3e68: 00375793 srli a5,a4,0x3
|
|
3e6c: b711 j 3d70 <__adddf3+0x312>
|
|
3e6e: 40930533 sub a0,t1,s1
|
|
3e72: 12048263 beqz s1,3f96 <__adddf3+0x538>
|
|
3e76: 008006b7 lui a3,0x800
|
|
3e7a: 7ff00793 li a5,2047
|
|
3e7e: 8f55 or a4,a4,a3
|
|
3e80: 2ef30d63 beq t1,a5,417a <__adddf3+0x71c>
|
|
3e84: 03800793 li a5,56
|
|
3e88: 20a7cb63 blt a5,a0,409e <__adddf3+0x640>
|
|
3e8c: 47fd li a5,31
|
|
3e8e: 2aa7c363 blt a5,a0,4134 <__adddf3+0x6d6>
|
|
3e92: 02000793 li a5,32
|
|
3e96: 8f89 sub a5,a5,a0
|
|
3e98: 00f71933 sll s2,a4,a5
|
|
3e9c: 00af56b3 srl a3,t5,a0
|
|
3ea0: 00ff17b3 sll a5,t5,a5
|
|
3ea4: 00d96933 or s2,s2,a3
|
|
3ea8: 00f037b3 snez a5,a5
|
|
3eac: 00a75733 srl a4,a4,a0
|
|
3eb0: 00f96933 or s2,s2,a5
|
|
3eb4: 983a add a6,a6,a4
|
|
3eb6: 997e add s2,s2,t6
|
|
3eb8: 01f937b3 sltu a5,s2,t6
|
|
3ebc: 01078633 add a2,a5,a6
|
|
3ec0: 849a mv s1,t1
|
|
3ec2: bdd1 j 3d96 <__adddf3+0x338>
|
|
3ec4: 008006b7 lui a3,0x800
|
|
3ec8: 7ff00793 li a5,2047
|
|
3ecc: 8f55 or a4,a4,a3
|
|
3ece: def319e3 bne t1,a5,3cc0 <__adddf3+0x262>
|
|
3ed2: 00361793 slli a5,a2,0x3
|
|
3ed6: 838d srli a5,a5,0x3
|
|
3ed8: 01d81893 slli a7,a6,0x1d
|
|
3edc: 0117e8b3 or a7,a5,a7
|
|
3ee0: 89f6 mv s3,t4
|
|
3ee2: 00385793 srli a5,a6,0x3
|
|
3ee6: b5e5 j 3dce <__adddf3+0x370>
|
|
3ee8: fe150713 addi a4,a0,-31
|
|
3eec: 02000693 li a3,32
|
|
3ef0: 00e7d733 srl a4,a5,a4
|
|
3ef4: 00d60a63 beq a2,a3,3f08 <__adddf3+0x4aa>
|
|
3ef8: 04000693 li a3,64
|
|
3efc: 40c68633 sub a2,a3,a2
|
|
3f00: 00c79633 sll a2,a5,a2
|
|
3f04: 00c96933 or s2,s2,a2
|
|
3f08: 01203933 snez s2,s2
|
|
3f0c: 00e96933 or s2,s2,a4
|
|
3f10: 4601 li a2,0
|
|
3f12: 4481 li s1,0
|
|
3f14: b591 j 3d58 <__adddf3+0x2fa>
|
|
3f16: 01ff0933 add s2,t5,t6
|
|
3f1a: 010707b3 add a5,a4,a6
|
|
3f1e: 01e93633 sltu a2,s2,t5
|
|
3f22: 963e add a2,a2,a5
|
|
3f24: 00861793 slli a5,a2,0x8
|
|
3f28: 4485 li s1,1
|
|
3f2a: e207d7e3 bgez a5,3d58 <__adddf3+0x2fa>
|
|
3f2e: 4489 li s1,2
|
|
3f30: ff8007b7 lui a5,0xff800
|
|
3f34: 17fd addi a5,a5,-1
|
|
3f36: 8ff1 and a5,a5,a2
|
|
3f38: 00195713 srli a4,s2,0x1
|
|
3f3c: 00197913 andi s2,s2,1
|
|
3f40: 01276933 or s2,a4,s2
|
|
3f44: 01f79893 slli a7,a5,0x1f
|
|
3f48: 0128e933 or s2,a7,s2
|
|
3f4c: 0017d613 srli a2,a5,0x1
|
|
3f50: b115 j 3b74 <__adddf3+0x116>
|
|
3f52: fe0e0913 addi s2,t3,-32
|
|
3f56: 02000793 li a5,32
|
|
3f5a: 012856b3 srl a3,a6,s2
|
|
3f5e: 00fe0a63 beq t3,a5,3f72 <__adddf3+0x514>
|
|
3f62: 04000913 li s2,64
|
|
3f66: 41c90933 sub s2,s2,t3
|
|
3f6a: 01281933 sll s2,a6,s2
|
|
3f6e: 012fefb3 or t6,t6,s2
|
|
3f72: 01f03933 snez s2,t6
|
|
3f76: 00d96933 or s2,s2,a3
|
|
3f7a: b659 j 3b00 <__adddf3+0xa2>
|
|
3f7c: 01e76933 or s2,a4,t5
|
|
3f80: 01203933 snez s2,s2
|
|
3f84: 412f8933 sub s2,t6,s2
|
|
3f88: 012fb7b3 sltu a5,t6,s2
|
|
3f8c: 40f80633 sub a2,a6,a5
|
|
3f90: 849a mv s1,t1
|
|
3f92: 89f6 mv s3,t4
|
|
3f94: bea5 j 3b0c <__adddf3+0xae>
|
|
3f96: 01e767b3 or a5,a4,t5
|
|
3f9a: 18078263 beqz a5,411e <__adddf3+0x6c0>
|
|
3f9e: fff50793 addi a5,a0,-1
|
|
3fa2: 1c078463 beqz a5,416a <__adddf3+0x70c>
|
|
3fa6: 7ff00693 li a3,2047
|
|
3faa: 12d50463 beq a0,a3,40d2 <__adddf3+0x674>
|
|
3fae: 853e mv a0,a5
|
|
3fb0: bdd1 j 3e84 <__adddf3+0x426>
|
|
3fb2: 02000793 li a5,32
|
|
3fb6: 41c787b3 sub a5,a5,t3
|
|
3fba: 00f816b3 sll a3,a6,a5
|
|
3fbe: 00ff9933 sll s2,t6,a5
|
|
3fc2: 01cfd633 srl a2,t6,t3
|
|
3fc6: 8ed1 or a3,a3,a2
|
|
3fc8: 01203933 snez s2,s2
|
|
3fcc: 01c857b3 srl a5,a6,t3
|
|
3fd0: 0126e933 or s2,a3,s2
|
|
3fd4: 973e add a4,a4,a5
|
|
3fd6: bb5d j 3d8c <__adddf3+0x32e>
|
|
3fd8: 00361793 slli a5,a2,0x3
|
|
3fdc: 838d srli a5,a5,0x3
|
|
3fde: 01d81893 slli a7,a6,0x1d
|
|
3fe2: 0117e8b3 or a7,a5,a7
|
|
3fe6: 84ae mv s1,a1
|
|
3fe8: 00385793 srli a5,a6,0x3
|
|
3fec: 89f6 mv s3,t4
|
|
3fee: b349 j 3d70 <__adddf3+0x312>
|
|
3ff0: c3ed beqz a5,40d2 <__adddf3+0x674>
|
|
3ff2: 01f86933 or s2,a6,t6
|
|
3ff6: dc091fe3 bnez s2,3dd4 <__adddf3+0x376>
|
|
3ffa: 050e slli a0,a0,0x3
|
|
3ffc: 01d71793 slli a5,a4,0x1d
|
|
4000: 810d srli a0,a0,0x3
|
|
4002: 00f568b3 or a7,a0,a5
|
|
4006: 00375793 srli a5,a4,0x3
|
|
400a: b3d1 j 3dce <__adddf3+0x370>
|
|
400c: 0e088163 beqz a7,40ee <__adddf3+0x690>
|
|
4010: 00361693 slli a3,a2,0x3
|
|
4014: 01d81793 slli a5,a6,0x1d
|
|
4018: 828d srli a3,a3,0x3
|
|
401a: 00d7e8b3 or a7,a5,a3
|
|
401e: 89f6 mv s3,t4
|
|
4020: 00385793 srli a5,a6,0x3
|
|
4024: bb91 j 3d78 <__adddf3+0x31a>
|
|
4026: 41ff0933 sub s2,t5,t6
|
|
402a: 410707b3 sub a5,a4,a6
|
|
402e: 012f3f33 sltu t5,t5,s2
|
|
4032: 41e78633 sub a2,a5,t5
|
|
4036: 4485 li s1,1
|
|
4038: bcd1 j 3b0c <__adddf3+0xae>
|
|
403a: 050e slli a0,a0,0x3
|
|
403c: 01d71793 slli a5,a4,0x1d
|
|
4040: 810d srli a0,a0,0x3
|
|
4042: 00f568b3 or a7,a0,a5
|
|
4046: 84f2 mv s1,t3
|
|
4048: 00375793 srli a5,a4,0x3
|
|
404c: b315 j 3d70 <__adddf3+0x312>
|
|
404e: 050e slli a0,a0,0x3
|
|
4050: 01d71793 slli a5,a4,0x1d
|
|
4054: 810d srli a0,a0,0x3
|
|
4056: 00a7e8b3 or a7,a5,a0
|
|
405a: 00375793 srli a5,a4,0x3
|
|
405e: bb29 j 3d78 <__adddf3+0x31a>
|
|
4060: 7ff00793 li a5,2047
|
|
4064: d4f682e3 beq a3,a5,3da8 <__adddf3+0x34a>
|
|
4068: 01ff0933 add s2,t5,t6
|
|
406c: 01e93633 sltu a2,s2,t5
|
|
4070: 010707b3 add a5,a4,a6
|
|
4074: 97b2 add a5,a5,a2
|
|
4076: 01f79893 slli a7,a5,0x1f
|
|
407a: 00195913 srli s2,s2,0x1
|
|
407e: 0128e933 or s2,a7,s2
|
|
4082: 0017d613 srli a2,a5,0x1
|
|
4086: 84b6 mv s1,a3
|
|
4088: b9c1 j 3d58 <__adddf3+0x2fa>
|
|
408a: 41ef8933 sub s2,t6,t5
|
|
408e: 40e80733 sub a4,a6,a4
|
|
4092: 012fb633 sltu a2,t6,s2
|
|
4096: 40c70433 sub s0,a4,a2
|
|
409a: 89f6 mv s3,t4
|
|
409c: b449 j 3b1e <__adddf3+0xc0>
|
|
409e: 01e76933 or s2,a4,t5
|
|
40a2: 01203933 snez s2,s2
|
|
40a6: bd01 j 3eb6 <__adddf3+0x458>
|
|
40a8: fe058793 addi a5,a1,-32
|
|
40ac: 02000693 li a3,32
|
|
40b0: 00f757b3 srl a5,a4,a5
|
|
40b4: 00d58a63 beq a1,a3,40c8 <__adddf3+0x66a>
|
|
40b8: 04000693 li a3,64
|
|
40bc: 40b685b3 sub a1,a3,a1
|
|
40c0: 00b71733 sll a4,a4,a1
|
|
40c4: 00ef6f33 or t5,t5,a4
|
|
40c8: 01e03933 snez s2,t5
|
|
40cc: 00f96933 or s2,s2,a5
|
|
40d0: bd55 j 3f84 <__adddf3+0x526>
|
|
40d2: 00361793 slli a5,a2,0x3
|
|
40d6: 838d srli a5,a5,0x3
|
|
40d8: 01d81893 slli a7,a6,0x1d
|
|
40dc: 0117e8b3 or a7,a5,a7
|
|
40e0: 00385793 srli a5,a6,0x3
|
|
40e4: b1ed j 3dce <__adddf3+0x370>
|
|
40e6: 00c968b3 or a7,s2,a2
|
|
40ea: c60897e3 bnez a7,3d58 <__adddf3+0x2fa>
|
|
40ee: 4781 li a5,0
|
|
40f0: 4981 li s3,0
|
|
40f2: b159 j 3d78 <__adddf3+0x31a>
|
|
40f4: 41ef8933 sub s2,t6,t5
|
|
40f8: 40e807b3 sub a5,a6,a4
|
|
40fc: 012fb633 sltu a2,t6,s2
|
|
4100: 40c78633 sub a2,a5,a2
|
|
4104: 89f6 mv s3,t4
|
|
4106: 4485 li s1,1
|
|
4108: b411 j 3b0c <__adddf3+0xae>
|
|
410a: 00361693 slli a3,a2,0x3
|
|
410e: 01d81793 slli a5,a6,0x1d
|
|
4112: 828d srli a3,a3,0x3
|
|
4114: 00d7e8b3 or a7,a5,a3
|
|
4118: 00385793 srli a5,a6,0x3
|
|
411c: b9b1 j 3d78 <__adddf3+0x31a>
|
|
411e: 00361693 slli a3,a2,0x3
|
|
4122: 01d81793 slli a5,a6,0x1d
|
|
4126: 828d srli a3,a3,0x3
|
|
4128: 00d7e8b3 or a7,a5,a3
|
|
412c: 84aa mv s1,a0
|
|
412e: 00385793 srli a5,a6,0x3
|
|
4132: b93d j 3d70 <__adddf3+0x312>
|
|
4134: fe050793 addi a5,a0,-32
|
|
4138: 02000693 li a3,32
|
|
413c: 00f757b3 srl a5,a4,a5
|
|
4140: 00d50a63 beq a0,a3,4154 <__adddf3+0x6f6>
|
|
4144: 04000693 li a3,64
|
|
4148: 40a68533 sub a0,a3,a0
|
|
414c: 00a71733 sll a4,a4,a0
|
|
4150: 00ef6f33 or t5,t5,a4
|
|
4154: 01e03933 snez s2,t5
|
|
4158: 00f96933 or s2,s2,a5
|
|
415c: bba9 j 3eb6 <__adddf3+0x458>
|
|
415e: 4581 li a1,0
|
|
4160: 7ff00513 li a0,2047
|
|
4164: 000807b7 lui a5,0x80
|
|
4168: bca9 j 3bc2 <__adddf3+0x164>
|
|
416a: 01ff0933 add s2,t5,t6
|
|
416e: 010707b3 add a5,a4,a6
|
|
4172: 01f93633 sltu a2,s2,t6
|
|
4176: 963e add a2,a2,a5
|
|
4178: b375 j 3f24 <__adddf3+0x4c6>
|
|
417a: 00361693 slli a3,a2,0x3
|
|
417e: 01d81793 slli a5,a6,0x1d
|
|
4182: 828d srli a3,a3,0x3
|
|
4184: 00d7e8b3 or a7,a5,a3
|
|
4188: 00385793 srli a5,a6,0x3
|
|
418c: b189 j 3dce <__adddf3+0x370>
|
|
|
|
0000418e <__gedf2>:
|
|
418e: 0145d713 srli a4,a1,0x14
|
|
4192: 001007b7 lui a5,0x100
|
|
4196: 17fd addi a5,a5,-1
|
|
4198: 0146d813 srli a6,a3,0x14
|
|
419c: 7ff77713 andi a4,a4,2047
|
|
41a0: 7ff00893 li a7,2047
|
|
41a4: 00b7f333 and t1,a5,a1
|
|
41a8: 8e2a mv t3,a0
|
|
41aa: 8ff5 and a5,a5,a3
|
|
41ac: 81fd srli a1,a1,0x1f
|
|
41ae: 8eb2 mv t4,a2
|
|
41b0: 7ff87813 andi a6,a6,2047
|
|
41b4: 82fd srli a3,a3,0x1f
|
|
41b6: 03170863 beq a4,a7,41e6 <__gedf2+0x58>
|
|
41ba: 03180063 beq a6,a7,41da <__gedf2+0x4c>
|
|
41be: eb0d bnez a4,41f0 <__gedf2+0x62>
|
|
41c0: 00a368b3 or a7,t1,a0
|
|
41c4: 00081463 bnez a6,41cc <__gedf2+0x3e>
|
|
41c8: 8e5d or a2,a2,a5
|
|
41ca: ca29 beqz a2,421c <__gedf2+0x8e>
|
|
41cc: 04088563 beqz a7,4216 <__gedf2+0x88>
|
|
41d0: 02d58863 beq a1,a3,4200 <__gedf2+0x72>
|
|
41d4: 4505 li a0,1
|
|
41d6: ed95 bnez a1,4212 <__gedf2+0x84>
|
|
41d8: 8082 ret
|
|
41da: 00c7e8b3 or a7,a5,a2
|
|
41de: fe0880e3 beqz a7,41be <__gedf2+0x30>
|
|
41e2: 5579 li a0,-2
|
|
41e4: 8082 ret
|
|
41e6: 00a36533 or a0,t1,a0
|
|
41ea: fd65 bnez a0,41e2 <__gedf2+0x54>
|
|
41ec: 02e80c63 beq a6,a4,4224 <__gedf2+0x96>
|
|
41f0: 00081463 bnez a6,41f8 <__gedf2+0x6a>
|
|
41f4: 8e5d or a2,a2,a5
|
|
41f6: de79 beqz a2,41d4 <__gedf2+0x46>
|
|
41f8: fcd59ee3 bne a1,a3,41d4 <__gedf2+0x46>
|
|
41fc: fce84ce3 blt a6,a4,41d4 <__gedf2+0x46>
|
|
4200: 01074863 blt a4,a6,4210 <__gedf2+0x82>
|
|
4204: fc67e8e3 bltu a5,t1,41d4 <__gedf2+0x46>
|
|
4208: 02f30363 beq t1,a5,422e <__gedf2+0xa0>
|
|
420c: 00f37f63 bgeu t1,a5,422a <__gedf2+0x9c>
|
|
4210: e581 bnez a1,4218 <__gedf2+0x8a>
|
|
4212: 557d li a0,-1
|
|
4214: 8082 ret
|
|
4216: def5 beqz a3,4212 <__gedf2+0x84>
|
|
4218: 4505 li a0,1
|
|
421a: 8082 ret
|
|
421c: 4501 li a0,0
|
|
421e: fa089be3 bnez a7,41d4 <__gedf2+0x46>
|
|
4222: 8082 ret
|
|
4224: 8e5d or a2,a2,a5
|
|
4226: da69 beqz a2,41f8 <__gedf2+0x6a>
|
|
4228: bf6d j 41e2 <__gedf2+0x54>
|
|
422a: 4501 li a0,0
|
|
422c: 8082 ret
|
|
422e: fbcee3e3 bltu t4,t3,41d4 <__gedf2+0x46>
|
|
4232: 4501 li a0,0
|
|
4234: fbde72e3 bgeu t3,t4,41d8 <__gedf2+0x4a>
|
|
4238: f1e5 bnez a1,4218 <__gedf2+0x8a>
|
|
423a: bfe1 j 4212 <__gedf2+0x84>
|
|
|
|
0000423c <__ledf2>:
|
|
423c: 0145d713 srli a4,a1,0x14
|
|
4240: 001007b7 lui a5,0x100
|
|
4244: 17fd addi a5,a5,-1
|
|
4246: 0146d813 srli a6,a3,0x14
|
|
424a: 7ff77713 andi a4,a4,2047
|
|
424e: 7ff00893 li a7,2047
|
|
4252: 00b7fe33 and t3,a5,a1
|
|
4256: 8eaa mv t4,a0
|
|
4258: 8ff5 and a5,a5,a3
|
|
425a: 81fd srli a1,a1,0x1f
|
|
425c: 8f32 mv t5,a2
|
|
425e: 7ff87813 andi a6,a6,2047
|
|
4262: 82fd srli a3,a3,0x1f
|
|
4264: 03170e63 beq a4,a7,42a0 <__ledf2+0x64>
|
|
4268: 01180d63 beq a6,a7,4282 <__ledf2+0x46>
|
|
426c: e329 bnez a4,42ae <__ledf2+0x72>
|
|
426e: 00ae68b3 or a7,t3,a0
|
|
4272: 00081f63 bnez a6,4290 <__ledf2+0x54>
|
|
4276: 8e5d or a2,a2,a5
|
|
4278: ee01 bnez a2,4290 <__ledf2+0x54>
|
|
427a: 4301 li t1,0
|
|
427c: 04088c63 beqz a7,42d4 <__ledf2+0x98>
|
|
4280: a821 j 4298 <__ledf2+0x5c>
|
|
4282: 00c7e8b3 or a7,a5,a2
|
|
4286: 4309 li t1,2
|
|
4288: 04089663 bnez a7,42d4 <__ledf2+0x98>
|
|
428c: d36d beqz a4,426e <__ledf2+0x32>
|
|
428e: a005 j 42ae <__ledf2+0x72>
|
|
4290: 04088463 beqz a7,42d8 <__ledf2+0x9c>
|
|
4294: 02d58563 beq a1,a3,42be <__ledf2+0x82>
|
|
4298: 4305 li t1,1
|
|
429a: cd8d beqz a1,42d4 <__ledf2+0x98>
|
|
429c: 537d li t1,-1
|
|
429e: a81d j 42d4 <__ledf2+0x98>
|
|
42a0: 00ae68b3 or a7,t3,a0
|
|
42a4: 4309 li t1,2
|
|
42a6: 02089763 bnez a7,42d4 <__ledf2+0x98>
|
|
42aa: 02e80a63 beq a6,a4,42de <__ledf2+0xa2>
|
|
42ae: 00081463 bnez a6,42b6 <__ledf2+0x7a>
|
|
42b2: 8e5d or a2,a2,a5
|
|
42b4: d275 beqz a2,4298 <__ledf2+0x5c>
|
|
42b6: fed591e3 bne a1,a3,4298 <__ledf2+0x5c>
|
|
42ba: fce84fe3 blt a6,a4,4298 <__ledf2+0x5c>
|
|
42be: 01074963 blt a4,a6,42d0 <__ledf2+0x94>
|
|
42c2: fdc7ebe3 bltu a5,t3,4298 <__ledf2+0x5c>
|
|
42c6: 00fe0f63 beq t3,a5,42e4 <__ledf2+0xa8>
|
|
42ca: 4301 li t1,0
|
|
42cc: 00fe7463 bgeu t3,a5,42d4 <__ledf2+0x98>
|
|
42d0: d5f1 beqz a1,429c <__ledf2+0x60>
|
|
42d2: 4305 li t1,1
|
|
42d4: 851a mv a0,t1
|
|
42d6: 8082 ret
|
|
42d8: feed bnez a3,42d2 <__ledf2+0x96>
|
|
42da: 537d li t1,-1
|
|
42dc: bfe5 j 42d4 <__ledf2+0x98>
|
|
42de: 8e5d or a2,a2,a5
|
|
42e0: da79 beqz a2,42b6 <__ledf2+0x7a>
|
|
42e2: bfcd j 42d4 <__ledf2+0x98>
|
|
42e4: fbdf6ae3 bltu t5,t4,4298 <__ledf2+0x5c>
|
|
42e8: 4301 li t1,0
|
|
42ea: ffeef5e3 bgeu t4,t5,42d4 <__ledf2+0x98>
|
|
42ee: f1f5 bnez a1,42d2 <__ledf2+0x96>
|
|
42f0: b775 j 429c <__ledf2+0x60>
|
|
|
|
000042f2 <__muldf3>:
|
|
42f2: 7139 addi sp,sp,-64
|
|
42f4: d84a sw s2,48(sp)
|
|
42f6: 0145d913 srli s2,a1,0x14
|
|
42fa: d64e sw s3,44(sp)
|
|
42fc: d452 sw s4,40(sp)
|
|
42fe: d256 sw s5,36(sp)
|
|
4300: 00c59993 slli s3,a1,0xc
|
|
4304: de06 sw ra,60(sp)
|
|
4306: dc22 sw s0,56(sp)
|
|
4308: da26 sw s1,52(sp)
|
|
430a: d05a sw s6,32(sp)
|
|
430c: ce5e sw s7,28(sp)
|
|
430e: 7ff97913 andi s2,s2,2047
|
|
4312: 8a2a mv s4,a0
|
|
4314: 00c9d993 srli s3,s3,0xc
|
|
4318: 01f5da93 srli s5,a1,0x1f
|
|
431c: 0e090d63 beqz s2,4416 <__muldf3+0x124>
|
|
4320: 7ff00793 li a5,2047
|
|
4324: 18f90663 beq s2,a5,44b0 <__muldf3+0x1be>
|
|
4328: 01d55413 srli s0,a0,0x1d
|
|
432c: 098e slli s3,s3,0x3
|
|
432e: 013469b3 or s3,s0,s3
|
|
4332: 00800437 lui s0,0x800
|
|
4336: 0089e433 or s0,s3,s0
|
|
433a: 00351493 slli s1,a0,0x3
|
|
433e: c0190913 addi s2,s2,-1023
|
|
4342: 4981 li s3,0
|
|
4344: 4b81 li s7,0
|
|
4346: 0146d713 srli a4,a3,0x14
|
|
434a: 00c69a13 slli s4,a3,0xc
|
|
434e: 7ff77713 andi a4,a4,2047
|
|
4352: 85b2 mv a1,a2
|
|
4354: 00ca5a13 srli s4,s4,0xc
|
|
4358: 01f6db13 srli s6,a3,0x1f
|
|
435c: 10070b63 beqz a4,4472 <__muldf3+0x180>
|
|
4360: 7ff00793 li a5,2047
|
|
4364: 04f70363 beq a4,a5,43aa <__muldf3+0xb8>
|
|
4368: 01d65793 srli a5,a2,0x1d
|
|
436c: 0a0e slli s4,s4,0x3
|
|
436e: 0147ea33 or s4,a5,s4
|
|
4372: c0170713 addi a4,a4,-1023 # 7ffc01 <_data_lma+0x7f78d5>
|
|
4376: 008007b7 lui a5,0x800
|
|
437a: 00fa67b3 or a5,s4,a5
|
|
437e: 00361593 slli a1,a2,0x3
|
|
4382: 993a add s2,s2,a4
|
|
4384: 4881 li a7,0
|
|
4386: 016ac733 xor a4,s5,s6
|
|
438a: 46bd li a3,15
|
|
438c: 853a mv a0,a4
|
|
438e: 00190813 addi a6,s2,1
|
|
4392: 1736e863 bltu a3,s3,4502 <__muldf3+0x210>
|
|
4396: 00004617 auipc a2,0x4
|
|
439a: cfa60613 addi a2,a2,-774 # 8090 <mosTemperADC+0x6d0>
|
|
439e: 098a slli s3,s3,0x2
|
|
43a0: 99b2 add s3,s3,a2
|
|
43a2: 0009a683 lw a3,0(s3)
|
|
43a6: 96b2 add a3,a3,a2
|
|
43a8: 8682 jr a3
|
|
43aa: 00ca67b3 or a5,s4,a2
|
|
43ae: 7ff90913 addi s2,s2,2047
|
|
43b2: 12079963 bnez a5,44e4 <__muldf3+0x1f2>
|
|
43b6: 0029e993 ori s3,s3,2
|
|
43ba: 4581 li a1,0
|
|
43bc: 4889 li a7,2
|
|
43be: b7e1 j 4386 <__muldf3+0x94>
|
|
43c0: 4701 li a4,0
|
|
43c2: 7ff00793 li a5,2047
|
|
43c6: 00080437 lui s0,0x80
|
|
43ca: 4481 li s1,0
|
|
43cc: 0432 slli s0,s0,0xc
|
|
43ce: 07d2 slli a5,a5,0x14
|
|
43d0: 8031 srli s0,s0,0xc
|
|
43d2: 077e slli a4,a4,0x1f
|
|
43d4: 8c5d or s0,s0,a5
|
|
43d6: 8c59 or s0,s0,a4
|
|
43d8: 85a2 mv a1,s0
|
|
43da: 50f2 lw ra,60(sp)
|
|
43dc: 5462 lw s0,56(sp)
|
|
43de: 8526 mv a0,s1
|
|
43e0: 5942 lw s2,48(sp)
|
|
43e2: 54d2 lw s1,52(sp)
|
|
43e4: 59b2 lw s3,44(sp)
|
|
43e6: 5a22 lw s4,40(sp)
|
|
43e8: 5a92 lw s5,36(sp)
|
|
43ea: 5b02 lw s6,32(sp)
|
|
43ec: 4bf2 lw s7,28(sp)
|
|
43ee: 6121 addi sp,sp,64
|
|
43f0: 8082 ret
|
|
43f2: 855a mv a0,s6
|
|
43f4: 843e mv s0,a5
|
|
43f6: 84ae mv s1,a1
|
|
43f8: 8bc6 mv s7,a7
|
|
43fa: 4789 li a5,2
|
|
43fc: 0efb8d63 beq s7,a5,44f6 <__muldf3+0x204>
|
|
4400: 478d li a5,3
|
|
4402: fafb8fe3 beq s7,a5,43c0 <__muldf3+0xce>
|
|
4406: 4785 li a5,1
|
|
4408: 872a mv a4,a0
|
|
440a: 38fb9e63 bne s7,a5,47a6 <__muldf3+0x4b4>
|
|
440e: 4781 li a5,0
|
|
4410: 4401 li s0,0
|
|
4412: 4481 li s1,0
|
|
4414: bf65 j 43cc <__muldf3+0xda>
|
|
4416: 00a9e433 or s0,s3,a0
|
|
441a: c061 beqz s0,44da <__muldf3+0x1e8>
|
|
441c: c636 sw a3,12(sp)
|
|
441e: c432 sw a2,8(sp)
|
|
4420: 2a098c63 beqz s3,46d8 <__muldf3+0x3e6>
|
|
4424: 854e mv a0,s3
|
|
4426: 4e1010ef jal ra,6106 <__clzsi2>
|
|
442a: 4622 lw a2,8(sp)
|
|
442c: 46b2 lw a3,12(sp)
|
|
442e: 87aa mv a5,a0
|
|
4430: ff550713 addi a4,a0,-11
|
|
4434: 4475 li s0,29
|
|
4436: ff878493 addi s1,a5,-8 # 7ffff8 <_data_lma+0x7f7ccc>
|
|
443a: 8c19 sub s0,s0,a4
|
|
443c: 009999b3 sll s3,s3,s1
|
|
4440: 008a5433 srl s0,s4,s0
|
|
4444: 01346433 or s0,s0,s3
|
|
4448: 009a14b3 sll s1,s4,s1
|
|
444c: 0146d713 srli a4,a3,0x14
|
|
4450: c0d00913 li s2,-1011
|
|
4454: 00c69a13 slli s4,a3,0xc
|
|
4458: 7ff77713 andi a4,a4,2047
|
|
445c: 40f90933 sub s2,s2,a5
|
|
4460: 4981 li s3,0
|
|
4462: 4b81 li s7,0
|
|
4464: 85b2 mv a1,a2
|
|
4466: 00ca5a13 srli s4,s4,0xc
|
|
446a: 01f6db13 srli s6,a3,0x1f
|
|
446e: ee0719e3 bnez a4,4360 <__muldf3+0x6e>
|
|
4472: 00ca67b3 or a5,s4,a2
|
|
4476: c7b1 beqz a5,44c2 <__muldf3+0x1d0>
|
|
4478: 220a0f63 beqz s4,46b6 <__muldf3+0x3c4>
|
|
447c: 8552 mv a0,s4
|
|
447e: c432 sw a2,8(sp)
|
|
4480: 487010ef jal ra,6106 <__clzsi2>
|
|
4484: 4622 lw a2,8(sp)
|
|
4486: 872a mv a4,a0
|
|
4488: ff550693 addi a3,a0,-11
|
|
448c: 47f5 li a5,29
|
|
448e: ff870593 addi a1,a4,-8
|
|
4492: 8f95 sub a5,a5,a3
|
|
4494: 00ba1a33 sll s4,s4,a1
|
|
4498: 00f657b3 srl a5,a2,a5
|
|
449c: 0147e7b3 or a5,a5,s4
|
|
44a0: 00b615b3 sll a1,a2,a1
|
|
44a4: 40e90933 sub s2,s2,a4
|
|
44a8: c0d90913 addi s2,s2,-1011
|
|
44ac: 4881 li a7,0
|
|
44ae: bde1 j 4386 <__muldf3+0x94>
|
|
44b0: 00a9e433 or s0,s3,a0
|
|
44b4: ec01 bnez s0,44cc <__muldf3+0x1da>
|
|
44b6: 49a1 li s3,8
|
|
44b8: 4481 li s1,0
|
|
44ba: 7ff00913 li s2,2047
|
|
44be: 4b89 li s7,2
|
|
44c0: b559 j 4346 <__muldf3+0x54>
|
|
44c2: 0019e993 ori s3,s3,1
|
|
44c6: 4581 li a1,0
|
|
44c8: 4885 li a7,1
|
|
44ca: bd75 j 4386 <__muldf3+0x94>
|
|
44cc: 844e mv s0,s3
|
|
44ce: 84aa mv s1,a0
|
|
44d0: 49b1 li s3,12
|
|
44d2: 7ff00913 li s2,2047
|
|
44d6: 4b8d li s7,3
|
|
44d8: b5bd j 4346 <__muldf3+0x54>
|
|
44da: 4991 li s3,4
|
|
44dc: 4481 li s1,0
|
|
44de: 4901 li s2,0
|
|
44e0: 4b85 li s7,1
|
|
44e2: b595 j 4346 <__muldf3+0x54>
|
|
44e4: 0039e993 ori s3,s3,3
|
|
44e8: 87d2 mv a5,s4
|
|
44ea: 488d li a7,3
|
|
44ec: bd69 j 4386 <__muldf3+0x94>
|
|
44ee: 4789 li a5,2
|
|
44f0: 8556 mv a0,s5
|
|
44f2: f0fb97e3 bne s7,a5,4400 <__muldf3+0x10e>
|
|
44f6: 872a mv a4,a0
|
|
44f8: 7ff00793 li a5,2047
|
|
44fc: 4401 li s0,0
|
|
44fe: 4481 li s1,0
|
|
4500: b5f1 j 43cc <__muldf3+0xda>
|
|
4502: 6ec1 lui t4,0x10
|
|
4504: fffe8613 addi a2,t4,-1 # ffff <_data_lma+0x7cd3>
|
|
4508: 0104d693 srli a3,s1,0x10
|
|
450c: 0105de13 srli t3,a1,0x10
|
|
4510: 8cf1 and s1,s1,a2
|
|
4512: 8df1 and a1,a1,a2
|
|
4514: 02958633 mul a2,a1,s1
|
|
4518: 02b68333 mul t1,a3,a1
|
|
451c: 01065893 srli a7,a2,0x10
|
|
4520: 029e0533 mul a0,t3,s1
|
|
4524: 951a add a0,a0,t1
|
|
4526: 98aa add a7,a7,a0
|
|
4528: 03c682b3 mul t0,a3,t3
|
|
452c: 0068f363 bgeu a7,t1,4532 <__muldf3+0x240>
|
|
4530: 92f6 add t0,t0,t4
|
|
4532: 6fc1 lui t6,0x10
|
|
4534: ffff8313 addi t1,t6,-1 # ffff <_data_lma+0x7cd3>
|
|
4538: 0067f533 and a0,a5,t1
|
|
453c: 0107d393 srli t2,a5,0x10
|
|
4540: 0068f7b3 and a5,a7,t1
|
|
4544: 07c2 slli a5,a5,0x10
|
|
4546: 00667333 and t1,a2,t1
|
|
454a: 933e add t1,t1,a5
|
|
454c: 02950633 mul a2,a0,s1
|
|
4550: 0108d893 srli a7,a7,0x10
|
|
4554: 02a687b3 mul a5,a3,a0
|
|
4558: 01065f13 srli t5,a2,0x10
|
|
455c: 029384b3 mul s1,t2,s1
|
|
4560: 94be add s1,s1,a5
|
|
4562: 94fa add s1,s1,t5
|
|
4564: 02768eb3 mul t4,a3,t2
|
|
4568: 00f4f363 bgeu s1,a5,456e <__muldf3+0x27c>
|
|
456c: 9efe add t4,t4,t6
|
|
456e: 6a41 lui s4,0x10
|
|
4570: fffa0793 addi a5,s4,-1 # ffff <_data_lma+0x7cd3>
|
|
4574: 01045f93 srli t6,s0,0x10
|
|
4578: 00f476b3 and a3,s0,a5
|
|
457c: 00f4f9b3 and s3,s1,a5
|
|
4580: 8e7d and a2,a2,a5
|
|
4582: 80c1 srli s1,s1,0x10
|
|
4584: 02d58433 mul s0,a1,a3
|
|
4588: 09c2 slli s3,s3,0x10
|
|
458a: 01d48f33 add t5,s1,t4
|
|
458e: 99b2 add s3,s3,a2
|
|
4590: 98ce add a7,a7,s3
|
|
4592: 02de07b3 mul a5,t3,a3
|
|
4596: 01045e93 srli t4,s0,0x10
|
|
459a: 02bf85b3 mul a1,t6,a1
|
|
459e: 97ae add a5,a5,a1
|
|
45a0: 9ebe add t4,t4,a5
|
|
45a2: 03fe0e33 mul t3,t3,t6
|
|
45a6: 00bef363 bgeu t4,a1,45ac <__muldf3+0x2ba>
|
|
45aa: 9e52 add t3,t3,s4
|
|
45ac: 67c1 lui a5,0x10
|
|
45ae: fff78593 addi a1,a5,-1 # ffff <_data_lma+0x7cd3>
|
|
45b2: 00bef633 and a2,t4,a1
|
|
45b6: 8c6d and s0,s0,a1
|
|
45b8: 0642 slli a2,a2,0x10
|
|
45ba: 9622 add a2,a2,s0
|
|
45bc: 010ede93 srli t4,t4,0x10
|
|
45c0: 02d505b3 mul a1,a0,a3
|
|
45c4: 9e76 add t3,t3,t4
|
|
45c6: 02af8533 mul a0,t6,a0
|
|
45ca: 0105d413 srli s0,a1,0x10
|
|
45ce: 02d386b3 mul a3,t2,a3
|
|
45d2: 96aa add a3,a3,a0
|
|
45d4: 96a2 add a3,a3,s0
|
|
45d6: 03f38fb3 mul t6,t2,t6
|
|
45da: 00a6f363 bgeu a3,a0,45e0 <__muldf3+0x2ee>
|
|
45de: 9fbe add t6,t6,a5
|
|
45e0: 6541 lui a0,0x10
|
|
45e2: 157d addi a0,a0,-1
|
|
45e4: 00a6f7b3 and a5,a3,a0
|
|
45e8: 07c2 slli a5,a5,0x10
|
|
45ea: 8d6d and a0,a0,a1
|
|
45ec: 97aa add a5,a5,a0
|
|
45ee: 005885b3 add a1,a7,t0
|
|
45f2: 0135b9b3 sltu s3,a1,s3
|
|
45f6: 97fa add a5,a5,t5
|
|
45f8: 95b2 add a1,a1,a2
|
|
45fa: 01378433 add s0,a5,s3
|
|
45fe: 00c5b633 sltu a2,a1,a2
|
|
4602: 01c40eb3 add t4,s0,t3
|
|
4606: 00ce8533 add a0,t4,a2
|
|
460a: 01343433 sltu s0,s0,s3
|
|
460e: 01e7b7b3 sltu a5,a5,t5
|
|
4612: 8fc1 or a5,a5,s0
|
|
4614: 01cebe33 sltu t3,t4,t3
|
|
4618: 0106d413 srli s0,a3,0x10
|
|
461c: 00c53633 sltu a2,a0,a2
|
|
4620: 943e add s0,s0,a5
|
|
4622: 00ce6633 or a2,t3,a2
|
|
4626: 00959493 slli s1,a1,0x9
|
|
462a: 9432 add s0,s0,a2
|
|
462c: 947e add s0,s0,t6
|
|
462e: 0064e4b3 or s1,s1,t1
|
|
4632: 0426 slli s0,s0,0x9
|
|
4634: 01755693 srli a3,a0,0x17
|
|
4638: 009034b3 snez s1,s1
|
|
463c: 81dd srli a1,a1,0x17
|
|
463e: 00951793 slli a5,a0,0x9
|
|
4642: 8ccd or s1,s1,a1
|
|
4644: 8c55 or s0,s0,a3
|
|
4646: 8cdd or s1,s1,a5
|
|
4648: 00741793 slli a5,s0,0x7
|
|
464c: 0007db63 bgez a5,4662 <__muldf3+0x370>
|
|
4650: 0014d793 srli a5,s1,0x1
|
|
4654: 8885 andi s1,s1,1
|
|
4656: 01f41693 slli a3,s0,0x1f
|
|
465a: 8cdd or s1,s1,a5
|
|
465c: 8cd5 or s1,s1,a3
|
|
465e: 8005 srli s0,s0,0x1
|
|
4660: 8942 mv s2,a6
|
|
4662: 3ff90793 addi a5,s2,1023
|
|
4666: 08f05963 blez a5,46f8 <__muldf3+0x406>
|
|
466a: 0074f693 andi a3,s1,7
|
|
466e: ce81 beqz a3,4686 <__muldf3+0x394>
|
|
4670: 00f4f693 andi a3,s1,15
|
|
4674: 4611 li a2,4
|
|
4676: 00c68863 beq a3,a2,4686 <__muldf3+0x394>
|
|
467a: 00448693 addi a3,s1,4
|
|
467e: 0096b4b3 sltu s1,a3,s1
|
|
4682: 9426 add s0,s0,s1
|
|
4684: 84b6 mv s1,a3
|
|
4686: 00741693 slli a3,s0,0x7
|
|
468a: 0006d863 bgez a3,469a <__muldf3+0x3a8>
|
|
468e: ff0007b7 lui a5,0xff000
|
|
4692: 17fd addi a5,a5,-1
|
|
4694: 8c7d and s0,s0,a5
|
|
4696: 40090793 addi a5,s2,1024
|
|
469a: 7fe00693 li a3,2046
|
|
469e: 0ef6cf63 blt a3,a5,479c <__muldf3+0x4aa>
|
|
46a2: 0034d693 srli a3,s1,0x3
|
|
46a6: 01d41493 slli s1,s0,0x1d
|
|
46aa: 0426 slli s0,s0,0x9
|
|
46ac: 8cd5 or s1,s1,a3
|
|
46ae: 8031 srli s0,s0,0xc
|
|
46b0: 7ff7f793 andi a5,a5,2047
|
|
46b4: bb21 j 43cc <__muldf3+0xda>
|
|
46b6: 8532 mv a0,a2
|
|
46b8: c432 sw a2,8(sp)
|
|
46ba: 24d010ef jal ra,6106 <__clzsi2>
|
|
46be: 01550693 addi a3,a0,21 # 10015 <_data_lma+0x7ce9>
|
|
46c2: 47f1 li a5,28
|
|
46c4: 02050713 addi a4,a0,32
|
|
46c8: 4622 lw a2,8(sp)
|
|
46ca: dcd7d1e3 bge a5,a3,448c <__muldf3+0x19a>
|
|
46ce: 1561 addi a0,a0,-8
|
|
46d0: 00a617b3 sll a5,a2,a0
|
|
46d4: 4581 li a1,0
|
|
46d6: b3f9 j 44a4 <__muldf3+0x1b2>
|
|
46d8: 22f010ef jal ra,6106 <__clzsi2>
|
|
46dc: 01550713 addi a4,a0,21
|
|
46e0: 45f1 li a1,28
|
|
46e2: 02050793 addi a5,a0,32
|
|
46e6: 4622 lw a2,8(sp)
|
|
46e8: 46b2 lw a3,12(sp)
|
|
46ea: d4e5d5e3 bge a1,a4,4434 <__muldf3+0x142>
|
|
46ee: 1561 addi a0,a0,-8
|
|
46f0: 00aa1433 sll s0,s4,a0
|
|
46f4: 4481 li s1,0
|
|
46f6: bb99 j 444c <__muldf3+0x15a>
|
|
46f8: 4685 li a3,1
|
|
46fa: 8e9d sub a3,a3,a5
|
|
46fc: e7b1 bnez a5,4748 <__muldf3+0x456>
|
|
46fe: 41e90913 addi s2,s2,1054
|
|
4702: 012497b3 sll a5,s1,s2
|
|
4706: 00d4d4b3 srl s1,s1,a3
|
|
470a: 01241933 sll s2,s0,s2
|
|
470e: 00f037b3 snez a5,a5
|
|
4712: 009964b3 or s1,s2,s1
|
|
4716: 8cdd or s1,s1,a5
|
|
4718: 0074f793 andi a5,s1,7
|
|
471c: 00d456b3 srl a3,s0,a3
|
|
4720: cf81 beqz a5,4738 <__muldf3+0x446>
|
|
4722: 00f4f793 andi a5,s1,15
|
|
4726: 4611 li a2,4
|
|
4728: 00c78863 beq a5,a2,4738 <__muldf3+0x446>
|
|
472c: 00448793 addi a5,s1,4
|
|
4730: 0097b4b3 sltu s1,a5,s1
|
|
4734: 96a6 add a3,a3,s1
|
|
4736: 84be mv s1,a5
|
|
4738: 00869793 slli a5,a3,0x8
|
|
473c: 0407d863 bgez a5,478c <__muldf3+0x49a>
|
|
4740: 4785 li a5,1
|
|
4742: 4401 li s0,0
|
|
4744: 4481 li s1,0
|
|
4746: b159 j 43cc <__muldf3+0xda>
|
|
4748: 03800613 li a2,56
|
|
474c: ccd641e3 blt a2,a3,440e <__muldf3+0x11c>
|
|
4750: 467d li a2,31
|
|
4752: fad656e3 bge a2,a3,46fe <__muldf3+0x40c>
|
|
4756: 5605 li a2,-31
|
|
4758: 40f607b3 sub a5,a2,a5
|
|
475c: 02000593 li a1,32
|
|
4760: 00f45633 srl a2,s0,a5
|
|
4764: 00b68763 beq a3,a1,4772 <__muldf3+0x480>
|
|
4768: 43e90913 addi s2,s2,1086
|
|
476c: 012417b3 sll a5,s0,s2
|
|
4770: 8cdd or s1,s1,a5
|
|
4772: 009034b3 snez s1,s1
|
|
4776: 8cd1 or s1,s1,a2
|
|
4778: 0074f693 andi a3,s1,7
|
|
477c: 4401 li s0,0
|
|
477e: ca99 beqz a3,4794 <__muldf3+0x4a2>
|
|
4780: 00f4f793 andi a5,s1,15
|
|
4784: 4611 li a2,4
|
|
4786: 4681 li a3,0
|
|
4788: fac792e3 bne a5,a2,472c <__muldf3+0x43a>
|
|
478c: 00969413 slli s0,a3,0x9
|
|
4790: 8031 srli s0,s0,0xc
|
|
4792: 06f6 slli a3,a3,0x1d
|
|
4794: 808d srli s1,s1,0x3
|
|
4796: 8cd5 or s1,s1,a3
|
|
4798: 4781 li a5,0
|
|
479a: b90d j 43cc <__muldf3+0xda>
|
|
479c: 7ff00793 li a5,2047
|
|
47a0: 4401 li s0,0
|
|
47a2: 4481 li s1,0
|
|
47a4: b125 j 43cc <__muldf3+0xda>
|
|
47a6: 8942 mv s2,a6
|
|
47a8: bd6d j 4662 <__muldf3+0x370>
|
|
|
|
000047aa <__subdf3>:
|
|
47aa: 00100737 lui a4,0x100
|
|
47ae: 177d addi a4,a4,-1
|
|
47b0: 1101 addi sp,sp,-32
|
|
47b2: 00b77333 and t1,a4,a1
|
|
47b6: 0146d893 srli a7,a3,0x14
|
|
47ba: 8f75 and a4,a4,a3
|
|
47bc: 01d65e93 srli t4,a2,0x1d
|
|
47c0: cc22 sw s0,24(sp)
|
|
47c2: ca26 sw s1,20(sp)
|
|
47c4: 030e slli t1,t1,0x3
|
|
47c6: 0145d493 srli s1,a1,0x14
|
|
47ca: 01d55793 srli a5,a0,0x1d
|
|
47ce: 070e slli a4,a4,0x3
|
|
47d0: ce06 sw ra,28(sp)
|
|
47d2: c84a sw s2,16(sp)
|
|
47d4: c64e sw s3,12(sp)
|
|
47d6: 7ff8f893 andi a7,a7,2047
|
|
47da: 7ff00e13 li t3,2047
|
|
47de: 00eee733 or a4,t4,a4
|
|
47e2: 7ff4f493 andi s1,s1,2047
|
|
47e6: 01f5d413 srli s0,a1,0x1f
|
|
47ea: 0067e333 or t1,a5,t1
|
|
47ee: 00351f13 slli t5,a0,0x3
|
|
47f2: 82fd srli a3,a3,0x1f
|
|
47f4: 00361e93 slli t4,a2,0x3
|
|
47f8: 19c88063 beq a7,t3,4978 <__subdf3+0x1ce>
|
|
47fc: 0016c693 xori a3,a3,1
|
|
4800: 411485b3 sub a1,s1,a7
|
|
4804: 12d40563 beq s0,a3,492e <__subdf3+0x184>
|
|
4808: 18b05163 blez a1,498a <__subdf3+0x1e0>
|
|
480c: 1a088b63 beqz a7,49c2 <__subdf3+0x218>
|
|
4810: 008007b7 lui a5,0x800
|
|
4814: 8f5d or a4,a4,a5
|
|
4816: 59c48163 beq s1,t3,4d98 <__subdf3+0x5ee>
|
|
481a: 03800793 li a5,56
|
|
481e: 34b7c463 blt a5,a1,4b66 <__subdf3+0x3bc>
|
|
4822: 47fd li a5,31
|
|
4824: 48b7c563 blt a5,a1,4cae <__subdf3+0x504>
|
|
4828: 02000793 li a5,32
|
|
482c: 8f8d sub a5,a5,a1
|
|
482e: 00bed9b3 srl s3,t4,a1
|
|
4832: 00f71833 sll a6,a4,a5
|
|
4836: 00fe9eb3 sll t4,t4,a5
|
|
483a: 01386833 or a6,a6,s3
|
|
483e: 00b75733 srl a4,a4,a1
|
|
4842: 01d039b3 snez s3,t4
|
|
4846: 01386833 or a6,a6,s3
|
|
484a: 40e30333 sub t1,t1,a4
|
|
484e: 410f09b3 sub s3,t5,a6
|
|
4852: 013f37b3 sltu a5,t5,s3
|
|
4856: 40f30633 sub a2,t1,a5
|
|
485a: 00861793 slli a5,a2,0x8
|
|
485e: 2407d363 bgez a5,4aa4 <__subdf3+0x2fa>
|
|
4862: 00800937 lui s2,0x800
|
|
4866: 197d addi s2,s2,-1
|
|
4868: 01267933 and s2,a2,s2
|
|
486c: 2c090f63 beqz s2,4b4a <__subdf3+0x3a0>
|
|
4870: 854a mv a0,s2
|
|
4872: 095010ef jal ra,6106 <__clzsi2>
|
|
4876: ff850713 addi a4,a0,-8
|
|
487a: 02000793 li a5,32
|
|
487e: 8f99 sub a5,a5,a4
|
|
4880: 00f9d7b3 srl a5,s3,a5
|
|
4884: 00e91633 sll a2,s2,a4
|
|
4888: 8fd1 or a5,a5,a2
|
|
488a: 00e999b3 sll s3,s3,a4
|
|
488e: 2a974463 blt a4,s1,4b36 <__subdf3+0x38c>
|
|
4892: 8f05 sub a4,a4,s1
|
|
4894: 00170613 addi a2,a4,1 # 100001 <_data_lma+0xf7cd5>
|
|
4898: 46fd li a3,31
|
|
489a: 3ac6c563 blt a3,a2,4c44 <__subdf3+0x49a>
|
|
489e: 02000713 li a4,32
|
|
48a2: 8f11 sub a4,a4,a2
|
|
48a4: 00c9d6b3 srl a3,s3,a2
|
|
48a8: 00e99833 sll a6,s3,a4
|
|
48ac: 00e79733 sll a4,a5,a4
|
|
48b0: 8f55 or a4,a4,a3
|
|
48b2: 01003833 snez a6,a6
|
|
48b6: 010769b3 or s3,a4,a6
|
|
48ba: 00c7d633 srl a2,a5,a2
|
|
48be: 4481 li s1,0
|
|
48c0: 0079f793 andi a5,s3,7
|
|
48c4: cf81 beqz a5,48dc <__subdf3+0x132>
|
|
48c6: 00f9f693 andi a3,s3,15
|
|
48ca: 4791 li a5,4
|
|
48cc: 00f68863 beq a3,a5,48dc <__subdf3+0x132>
|
|
48d0: 00498693 addi a3,s3,4
|
|
48d4: 0136b833 sltu a6,a3,s3
|
|
48d8: 9642 add a2,a2,a6
|
|
48da: 89b6 mv s3,a3
|
|
48dc: 00861793 slli a5,a2,0x8
|
|
48e0: 1c07d663 bgez a5,4aac <__subdf3+0x302>
|
|
48e4: 00148713 addi a4,s1,1
|
|
48e8: 7ff00793 li a5,2047
|
|
48ec: 8805 andi s0,s0,1
|
|
48ee: 20f70663 beq a4,a5,4afa <__subdf3+0x350>
|
|
48f2: ff8007b7 lui a5,0xff800
|
|
48f6: 17fd addi a5,a5,-1
|
|
48f8: 8ff1 and a5,a5,a2
|
|
48fa: 01d79813 slli a6,a5,0x1d
|
|
48fe: 0039d993 srli s3,s3,0x3
|
|
4902: 07a6 slli a5,a5,0x9
|
|
4904: 01386833 or a6,a6,s3
|
|
4908: 83b1 srli a5,a5,0xc
|
|
490a: 7ff77713 andi a4,a4,2047
|
|
490e: 00c79693 slli a3,a5,0xc
|
|
4912: 0752 slli a4,a4,0x14
|
|
4914: 82b1 srli a3,a3,0xc
|
|
4916: 047e slli s0,s0,0x1f
|
|
4918: 8ed9 or a3,a3,a4
|
|
491a: 8ec1 or a3,a3,s0
|
|
491c: 40f2 lw ra,28(sp)
|
|
491e: 4462 lw s0,24(sp)
|
|
4920: 44d2 lw s1,20(sp)
|
|
4922: 4942 lw s2,16(sp)
|
|
4924: 49b2 lw s3,12(sp)
|
|
4926: 8542 mv a0,a6
|
|
4928: 85b6 mv a1,a3
|
|
492a: 6105 addi sp,sp,32
|
|
492c: 8082 ret
|
|
492e: 0ab05663 blez a1,49da <__subdf3+0x230>
|
|
4932: 12088a63 beqz a7,4a66 <__subdf3+0x2bc>
|
|
4936: 008007b7 lui a5,0x800
|
|
493a: 8f5d or a4,a4,a5
|
|
493c: 2dc48763 beq s1,t3,4c0a <__subdf3+0x460>
|
|
4940: 03800793 li a5,56
|
|
4944: 18b7c763 blt a5,a1,4ad2 <__subdf3+0x328>
|
|
4948: 47fd li a5,31
|
|
494a: 3cb7d263 bge a5,a1,4d0e <__subdf3+0x564>
|
|
494e: fe058813 addi a6,a1,-32
|
|
4952: 02000793 li a5,32
|
|
4956: 010759b3 srl s3,a4,a6
|
|
495a: 00f58a63 beq a1,a5,496e <__subdf3+0x1c4>
|
|
495e: 04000793 li a5,64
|
|
4962: 40b785b3 sub a1,a5,a1
|
|
4966: 00b71733 sll a4,a4,a1
|
|
496a: 00eeeeb3 or t4,t4,a4
|
|
496e: 01d03833 snez a6,t4
|
|
4972: 01386833 or a6,a6,s3
|
|
4976: a295 j 4ada <__subdf3+0x330>
|
|
4978: 01d767b3 or a5,a4,t4
|
|
497c: 80148593 addi a1,s1,-2047
|
|
4980: e399 bnez a5,4986 <__subdf3+0x1dc>
|
|
4982: 0016c693 xori a3,a3,1
|
|
4986: 04d40a63 beq s0,a3,49da <__subdf3+0x230>
|
|
498a: e1d1 bnez a1,4a0e <__subdf3+0x264>
|
|
498c: 00148793 addi a5,s1,1
|
|
4990: 7fe7f793 andi a5,a5,2046
|
|
4994: 1e079963 bnez a5,4b86 <__subdf3+0x3dc>
|
|
4998: 01e367b3 or a5,t1,t5
|
|
499c: 01d76833 or a6,a4,t4
|
|
49a0: 16049263 bnez s1,4b04 <__subdf3+0x35a>
|
|
49a4: 3c078263 beqz a5,4d68 <__subdf3+0x5be>
|
|
49a8: 42081663 bnez a6,4dd4 <__subdf3+0x62a>
|
|
49ac: 00351813 slli a6,a0,0x3
|
|
49b0: 01d31693 slli a3,t1,0x1d
|
|
49b4: 00385813 srli a6,a6,0x3
|
|
49b8: 0106e833 or a6,a3,a6
|
|
49bc: 00335793 srli a5,t1,0x3
|
|
49c0: a219 j 4ac6 <__subdf3+0x31c>
|
|
49c2: 01d767b3 or a5,a4,t4
|
|
49c6: 1a078563 beqz a5,4b70 <__subdf3+0x3c6>
|
|
49ca: fff58793 addi a5,a1,-1
|
|
49ce: 3a078b63 beqz a5,4d84 <__subdf3+0x5da>
|
|
49d2: 23c58c63 beq a1,t3,4c0a <__subdf3+0x460>
|
|
49d6: 85be mv a1,a5
|
|
49d8: b589 j 481a <__subdf3+0x70>
|
|
49da: 1c059963 bnez a1,4bac <__subdf3+0x402>
|
|
49de: 00148693 addi a3,s1,1
|
|
49e2: 7fe6f793 andi a5,a3,2046
|
|
49e6: efc1 bnez a5,4a7e <__subdf3+0x2d4>
|
|
49e8: 01e367b3 or a5,t1,t5
|
|
49ec: 36049063 bnez s1,4d4c <__subdf3+0x5a2>
|
|
49f0: 44078d63 beqz a5,4e4a <__subdf3+0x6a0>
|
|
49f4: 01d767b3 or a5,a4,t4
|
|
49f8: 46079463 bnez a5,4e60 <__subdf3+0x6b6>
|
|
49fc: 050e slli a0,a0,0x3
|
|
49fe: 01d31813 slli a6,t1,0x1d
|
|
4a02: 810d srli a0,a0,0x3
|
|
4a04: 00a86833 or a6,a6,a0
|
|
4a08: 00335793 srli a5,t1,0x3
|
|
4a0c: a86d j 4ac6 <__subdf3+0x31c>
|
|
4a0e: 409885b3 sub a1,a7,s1
|
|
4a12: 20049763 bnez s1,4c20 <__subdf3+0x476>
|
|
4a16: 01e367b3 or a5,t1,t5
|
|
4a1a: 30078d63 beqz a5,4d34 <__subdf3+0x58a>
|
|
4a1e: fff58793 addi a5,a1,-1
|
|
4a22: 40078963 beqz a5,4e34 <__subdf3+0x68a>
|
|
4a26: 7ff00513 li a0,2047
|
|
4a2a: 20a58363 beq a1,a0,4c30 <__subdf3+0x486>
|
|
4a2e: 85be mv a1,a5
|
|
4a30: 03800793 li a5,56
|
|
4a34: 2ab7c263 blt a5,a1,4cd8 <__subdf3+0x52e>
|
|
4a38: 47fd li a5,31
|
|
4a3a: 3cb7c863 blt a5,a1,4e0a <__subdf3+0x660>
|
|
4a3e: 02000793 li a5,32
|
|
4a42: 8f8d sub a5,a5,a1
|
|
4a44: 00f31833 sll a6,t1,a5
|
|
4a48: 00bf5633 srl a2,t5,a1
|
|
4a4c: 00ff17b3 sll a5,t5,a5
|
|
4a50: 00c86833 or a6,a6,a2
|
|
4a54: 00f039b3 snez s3,a5
|
|
4a58: 00b35333 srl t1,t1,a1
|
|
4a5c: 01386833 or a6,a6,s3
|
|
4a60: 40670733 sub a4,a4,t1
|
|
4a64: acb5 j 4ce0 <__subdf3+0x536>
|
|
4a66: 01d767b3 or a5,a4,t4
|
|
4a6a: 10078363 beqz a5,4b70 <__subdf3+0x3c6>
|
|
4a6e: fff58793 addi a5,a1,-1
|
|
4a72: 1e078f63 beqz a5,4c70 <__subdf3+0x4c6>
|
|
4a76: 2fc58063 beq a1,t3,4d56 <__subdf3+0x5ac>
|
|
4a7a: 85be mv a1,a5
|
|
4a7c: b5d1 j 4940 <__subdf3+0x196>
|
|
4a7e: 7ff00793 li a5,2047
|
|
4a82: 06f68b63 beq a3,a5,4af8 <__subdf3+0x34e>
|
|
4a86: 9efa add t4,t4,t5
|
|
4a88: 01eeb633 sltu a2,t4,t5
|
|
4a8c: 00e307b3 add a5,t1,a4
|
|
4a90: 97b2 add a5,a5,a2
|
|
4a92: 01f79813 slli a6,a5,0x1f
|
|
4a96: 001ede93 srli t4,t4,0x1
|
|
4a9a: 01d869b3 or s3,a6,t4
|
|
4a9e: 0017d613 srli a2,a5,0x1
|
|
4aa2: 84b6 mv s1,a3
|
|
4aa4: 0079f793 andi a5,s3,7
|
|
4aa8: e0079fe3 bnez a5,48c6 <__subdf3+0x11c>
|
|
4aac: 01d61793 slli a5,a2,0x1d
|
|
4ab0: 0039d813 srli a6,s3,0x3
|
|
4ab4: 00f86833 or a6,a6,a5
|
|
4ab8: 85a6 mv a1,s1
|
|
4aba: 00365793 srli a5,a2,0x3
|
|
4abe: 7ff00713 li a4,2047
|
|
4ac2: 06e58063 beq a1,a4,4b22 <__subdf3+0x378>
|
|
4ac6: 07b2 slli a5,a5,0xc
|
|
4ac8: 83b1 srli a5,a5,0xc
|
|
4aca: 7ff5f713 andi a4,a1,2047
|
|
4ace: 8805 andi s0,s0,1
|
|
4ad0: bd3d j 490e <__subdf3+0x164>
|
|
4ad2: 01d76733 or a4,a4,t4
|
|
4ad6: 00e03833 snez a6,a4
|
|
4ada: 01e809b3 add s3,a6,t5
|
|
4ade: 01e9b7b3 sltu a5,s3,t5
|
|
4ae2: 00678633 add a2,a5,t1
|
|
4ae6: 00861793 slli a5,a2,0x8
|
|
4aea: fa07dde3 bgez a5,4aa4 <__subdf3+0x2fa>
|
|
4aee: 0485 addi s1,s1,1
|
|
4af0: 7ff00793 li a5,2047
|
|
4af4: 18f49c63 bne s1,a5,4c8c <__subdf3+0x4e2>
|
|
4af8: 8805 andi s0,s0,1
|
|
4afa: 7ff00713 li a4,2047
|
|
4afe: 4781 li a5,0
|
|
4b00: 4801 li a6,0
|
|
4b02: b531 j 490e <__subdf3+0x164>
|
|
4b04: 10079163 bnez a5,4c06 <__subdf3+0x45c>
|
|
4b08: 3c080163 beqz a6,4eca <__subdf3+0x720>
|
|
4b0c: 00361813 slli a6,a2,0x3
|
|
4b10: 01d71793 slli a5,a4,0x1d
|
|
4b14: 00385813 srli a6,a6,0x3
|
|
4b18: 00f86833 or a6,a6,a5
|
|
4b1c: 8436 mv s0,a3
|
|
4b1e: 00375793 srli a5,a4,0x3
|
|
4b22: 00f867b3 or a5,a6,a5
|
|
4b26: dbe9 beqz a5,4af8 <__subdf3+0x34e>
|
|
4b28: 4401 li s0,0
|
|
4b2a: 7ff00713 li a4,2047
|
|
4b2e: 000807b7 lui a5,0x80
|
|
4b32: 4801 li a6,0
|
|
4b34: bbe9 j 490e <__subdf3+0x164>
|
|
4b36: ff800637 lui a2,0xff800
|
|
4b3a: 167d addi a2,a2,-1
|
|
4b3c: 8e7d and a2,a2,a5
|
|
4b3e: 0079f793 andi a5,s3,7
|
|
4b42: 8c99 sub s1,s1,a4
|
|
4b44: d80791e3 bnez a5,48c6 <__subdf3+0x11c>
|
|
4b48: b795 j 4aac <__subdf3+0x302>
|
|
4b4a: 854e mv a0,s3
|
|
4b4c: 5ba010ef jal ra,6106 <__clzsi2>
|
|
4b50: 01850713 addi a4,a0,24
|
|
4b54: 47fd li a5,31
|
|
4b56: d2e7d2e3 bge a5,a4,487a <__subdf3+0xd0>
|
|
4b5a: ff850613 addi a2,a0,-8
|
|
4b5e: 00c997b3 sll a5,s3,a2
|
|
4b62: 4981 li s3,0
|
|
4b64: b32d j 488e <__subdf3+0xe4>
|
|
4b66: 01d76833 or a6,a4,t4
|
|
4b6a: 01003833 snez a6,a6
|
|
4b6e: b1c5 j 484e <__subdf3+0xa4>
|
|
4b70: 00351813 slli a6,a0,0x3
|
|
4b74: 01d31793 slli a5,t1,0x1d
|
|
4b78: 00385813 srli a6,a6,0x3
|
|
4b7c: 00f86833 or a6,a6,a5
|
|
4b80: 00335793 srli a5,t1,0x3
|
|
4b84: bf2d j 4abe <__subdf3+0x314>
|
|
4b86: 41df09b3 sub s3,t5,t4
|
|
4b8a: 40e30933 sub s2,t1,a4
|
|
4b8e: 013f3633 sltu a2,t5,s3
|
|
4b92: 40c90933 sub s2,s2,a2
|
|
4b96: 00891793 slli a5,s2,0x8
|
|
4b9a: 2007ca63 bltz a5,4dae <__subdf3+0x604>
|
|
4b9e: 0129e833 or a6,s3,s2
|
|
4ba2: cc0815e3 bnez a6,486c <__subdf3+0xc2>
|
|
4ba6: 4781 li a5,0
|
|
4ba8: 4401 li s0,0
|
|
4baa: bf31 j 4ac6 <__subdf3+0x31c>
|
|
4bac: 409885b3 sub a1,a7,s1
|
|
4bb0: 14048163 beqz s1,4cf2 <__subdf3+0x548>
|
|
4bb4: 008006b7 lui a3,0x800
|
|
4bb8: 7ff00793 li a5,2047
|
|
4bbc: 00d36333 or t1,t1,a3
|
|
4bc0: 20f88163 beq a7,a5,4dc2 <__subdf3+0x618>
|
|
4bc4: 03800793 li a5,56
|
|
4bc8: 22b7cc63 blt a5,a1,4e00 <__subdf3+0x656>
|
|
4bcc: 47fd li a5,31
|
|
4bce: 2cb7c963 blt a5,a1,4ea0 <__subdf3+0x6f6>
|
|
4bd2: 02000793 li a5,32
|
|
4bd6: 8f8d sub a5,a5,a1
|
|
4bd8: 00f31833 sll a6,t1,a5
|
|
4bdc: 00bf56b3 srl a3,t5,a1
|
|
4be0: 00ff17b3 sll a5,t5,a5
|
|
4be4: 00d86833 or a6,a6,a3
|
|
4be8: 00f039b3 snez s3,a5
|
|
4bec: 00b35333 srl t1,t1,a1
|
|
4bf0: 01386833 or a6,a6,s3
|
|
4bf4: 971a add a4,a4,t1
|
|
4bf6: 01d809b3 add s3,a6,t4
|
|
4bfa: 01d9b7b3 sltu a5,s3,t4
|
|
4bfe: 00e78633 add a2,a5,a4
|
|
4c02: 84c6 mv s1,a7
|
|
4c04: b5cd j 4ae6 <__subdf3+0x33c>
|
|
4c06: f20811e3 bnez a6,4b28 <__subdf3+0x37e>
|
|
4c0a: 00351813 slli a6,a0,0x3
|
|
4c0e: 01d31793 slli a5,t1,0x1d
|
|
4c12: 00385813 srli a6,a6,0x3
|
|
4c16: 00f86833 or a6,a6,a5
|
|
4c1a: 00335793 srli a5,t1,0x3
|
|
4c1e: b711 j 4b22 <__subdf3+0x378>
|
|
4c20: 00800537 lui a0,0x800
|
|
4c24: 7ff00793 li a5,2047
|
|
4c28: 00a36333 or t1,t1,a0
|
|
4c2c: e0f892e3 bne a7,a5,4a30 <__subdf3+0x286>
|
|
4c30: 060e slli a2,a2,0x3
|
|
4c32: 01d71813 slli a6,a4,0x1d
|
|
4c36: 820d srli a2,a2,0x3
|
|
4c38: 00c86833 or a6,a6,a2
|
|
4c3c: 00375793 srli a5,a4,0x3
|
|
4c40: 8436 mv s0,a3
|
|
4c42: b5c5 j 4b22 <__subdf3+0x378>
|
|
4c44: 1705 addi a4,a4,-31
|
|
4c46: 02000693 li a3,32
|
|
4c4a: 00e7d733 srl a4,a5,a4
|
|
4c4e: 00d60a63 beq a2,a3,4c62 <__subdf3+0x4b8>
|
|
4c52: 04000693 li a3,64
|
|
4c56: 40c68633 sub a2,a3,a2
|
|
4c5a: 00c79633 sll a2,a5,a2
|
|
4c5e: 00c9e9b3 or s3,s3,a2
|
|
4c62: 01303833 snez a6,s3
|
|
4c66: 00e869b3 or s3,a6,a4
|
|
4c6a: 4601 li a2,0
|
|
4c6c: 4481 li s1,0
|
|
4c6e: bd1d j 4aa4 <__subdf3+0x2fa>
|
|
4c70: 01df09b3 add s3,t5,t4
|
|
4c74: 00e307b3 add a5,t1,a4
|
|
4c78: 01e9bf33 sltu t5,s3,t5
|
|
4c7c: 01e78633 add a2,a5,t5
|
|
4c80: 00861793 slli a5,a2,0x8
|
|
4c84: 4485 li s1,1
|
|
4c86: e007dfe3 bgez a5,4aa4 <__subdf3+0x2fa>
|
|
4c8a: 4489 li s1,2
|
|
4c8c: ff8007b7 lui a5,0xff800
|
|
4c90: 17fd addi a5,a5,-1
|
|
4c92: 8ff1 and a5,a5,a2
|
|
4c94: 0019d713 srli a4,s3,0x1
|
|
4c98: 0019f813 andi a6,s3,1
|
|
4c9c: 01076833 or a6,a4,a6
|
|
4ca0: 01f79993 slli s3,a5,0x1f
|
|
4ca4: 0109e9b3 or s3,s3,a6
|
|
4ca8: 0017d613 srli a2,a5,0x1
|
|
4cac: b911 j 48c0 <__subdf3+0x116>
|
|
4cae: fe058813 addi a6,a1,-32
|
|
4cb2: 02000793 li a5,32
|
|
4cb6: 010759b3 srl s3,a4,a6
|
|
4cba: 00f58a63 beq a1,a5,4cce <__subdf3+0x524>
|
|
4cbe: 04000793 li a5,64
|
|
4cc2: 40b785b3 sub a1,a5,a1
|
|
4cc6: 00b71733 sll a4,a4,a1
|
|
4cca: 00eeeeb3 or t4,t4,a4
|
|
4cce: 01d03833 snez a6,t4
|
|
4cd2: 01386833 or a6,a6,s3
|
|
4cd6: bea5 j 484e <__subdf3+0xa4>
|
|
4cd8: 01e36333 or t1,t1,t5
|
|
4cdc: 00603833 snez a6,t1
|
|
4ce0: 410e89b3 sub s3,t4,a6
|
|
4ce4: 013eb7b3 sltu a5,t4,s3
|
|
4ce8: 40f70633 sub a2,a4,a5
|
|
4cec: 84c6 mv s1,a7
|
|
4cee: 8436 mv s0,a3
|
|
4cf0: b6ad j 485a <__subdf3+0xb0>
|
|
4cf2: 01e367b3 or a5,t1,t5
|
|
4cf6: 18078763 beqz a5,4e84 <__subdf3+0x6da>
|
|
4cfa: fff58793 addi a5,a1,-1
|
|
4cfe: 1c078c63 beqz a5,4ed6 <__subdf3+0x72c>
|
|
4d02: 7ff00693 li a3,2047
|
|
4d06: 0ad58e63 beq a1,a3,4dc2 <__subdf3+0x618>
|
|
4d0a: 85be mv a1,a5
|
|
4d0c: bd65 j 4bc4 <__subdf3+0x41a>
|
|
4d0e: 02000793 li a5,32
|
|
4d12: 8f8d sub a5,a5,a1
|
|
4d14: 00bed9b3 srl s3,t4,a1
|
|
4d18: 00f71833 sll a6,a4,a5
|
|
4d1c: 00fe9eb3 sll t4,t4,a5
|
|
4d20: 01386833 or a6,a6,s3
|
|
4d24: 00b75733 srl a4,a4,a1
|
|
4d28: 01d039b3 snez s3,t4
|
|
4d2c: 01386833 or a6,a6,s3
|
|
4d30: 933a add t1,t1,a4
|
|
4d32: b365 j 4ada <__subdf3+0x330>
|
|
4d34: 00361813 slli a6,a2,0x3
|
|
4d38: 01d71793 slli a5,a4,0x1d
|
|
4d3c: 00385813 srli a6,a6,0x3
|
|
4d40: 0107e833 or a6,a5,a6
|
|
4d44: 8436 mv s0,a3
|
|
4d46: 00375793 srli a5,a4,0x3
|
|
4d4a: bb95 j 4abe <__subdf3+0x314>
|
|
4d4c: cbbd beqz a5,4dc2 <__subdf3+0x618>
|
|
4d4e: 01d76733 or a4,a4,t4
|
|
4d52: dc071be3 bnez a4,4b28 <__subdf3+0x37e>
|
|
4d56: 050e slli a0,a0,0x3
|
|
4d58: 01d31813 slli a6,t1,0x1d
|
|
4d5c: 810d srli a0,a0,0x3
|
|
4d5e: 00a86833 or a6,a6,a0
|
|
4d62: 00335793 srli a5,t1,0x3
|
|
4d66: bb75 j 4b22 <__subdf3+0x378>
|
|
4d68: e2080fe3 beqz a6,4ba6 <__subdf3+0x3fc>
|
|
4d6c: 00361813 slli a6,a2,0x3
|
|
4d70: 01d71793 slli a5,a4,0x1d
|
|
4d74: 00385813 srli a6,a6,0x3
|
|
4d78: 00f86833 or a6,a6,a5
|
|
4d7c: 8436 mv s0,a3
|
|
4d7e: 00375793 srli a5,a4,0x3
|
|
4d82: b391 j 4ac6 <__subdf3+0x31c>
|
|
4d84: 41df09b3 sub s3,t5,t4
|
|
4d88: 40e307b3 sub a5,t1,a4
|
|
4d8c: 013f3f33 sltu t5,t5,s3
|
|
4d90: 41e78633 sub a2,a5,t5
|
|
4d94: 4485 li s1,1
|
|
4d96: b4d1 j 485a <__subdf3+0xb0>
|
|
4d98: 00351813 slli a6,a0,0x3
|
|
4d9c: 01d31693 slli a3,t1,0x1d
|
|
4da0: 00385813 srli a6,a6,0x3
|
|
4da4: 0106e833 or a6,a3,a6
|
|
4da8: 00335793 srli a5,t1,0x3
|
|
4dac: bb9d j 4b22 <__subdf3+0x378>
|
|
4dae: 41ee89b3 sub s3,t4,t5
|
|
4db2: 40670633 sub a2,a4,t1
|
|
4db6: 013eb933 sltu s2,t4,s3
|
|
4dba: 41260933 sub s2,a2,s2
|
|
4dbe: 8436 mv s0,a3
|
|
4dc0: b475 j 486c <__subdf3+0xc2>
|
|
4dc2: 060e slli a2,a2,0x3
|
|
4dc4: 01d71813 slli a6,a4,0x1d
|
|
4dc8: 820d srli a2,a2,0x3
|
|
4dca: 00c86833 or a6,a6,a2
|
|
4dce: 00375793 srli a5,a4,0x3
|
|
4dd2: bb81 j 4b22 <__subdf3+0x378>
|
|
4dd4: 41df09b3 sub s3,t5,t4
|
|
4dd8: 40e307b3 sub a5,t1,a4
|
|
4ddc: 013f3633 sltu a2,t5,s3
|
|
4de0: 40c78633 sub a2,a5,a2
|
|
4de4: 00861793 slli a5,a2,0x8
|
|
4de8: 0a07d763 bgez a5,4e96 <__subdf3+0x6ec>
|
|
4dec: 41ee89b3 sub s3,t4,t5
|
|
4df0: 406707b3 sub a5,a4,t1
|
|
4df4: 013ebeb3 sltu t4,t4,s3
|
|
4df8: 41d78633 sub a2,a5,t4
|
|
4dfc: 8436 mv s0,a3
|
|
4dfe: b4c9 j 48c0 <__subdf3+0x116>
|
|
4e00: 01e36333 or t1,t1,t5
|
|
4e04: 00603833 snez a6,t1
|
|
4e08: b3fd j 4bf6 <__subdf3+0x44c>
|
|
4e0a: fe058813 addi a6,a1,-32
|
|
4e0e: 02000793 li a5,32
|
|
4e12: 010359b3 srl s3,t1,a6
|
|
4e16: 00f58a63 beq a1,a5,4e2a <__subdf3+0x680>
|
|
4e1a: 04000793 li a5,64
|
|
4e1e: 40b785b3 sub a1,a5,a1
|
|
4e22: 00b31333 sll t1,t1,a1
|
|
4e26: 006f6f33 or t5,t5,t1
|
|
4e2a: 01e03833 snez a6,t5
|
|
4e2e: 01386833 or a6,a6,s3
|
|
4e32: b57d j 4ce0 <__subdf3+0x536>
|
|
4e34: 41ee89b3 sub s3,t4,t5
|
|
4e38: 406707b3 sub a5,a4,t1
|
|
4e3c: 013ebeb3 sltu t4,t4,s3
|
|
4e40: 41d78633 sub a2,a5,t4
|
|
4e44: 8436 mv s0,a3
|
|
4e46: 4485 li s1,1
|
|
4e48: bc09 j 485a <__subdf3+0xb0>
|
|
4e4a: 00361813 slli a6,a2,0x3
|
|
4e4e: 01d71793 slli a5,a4,0x1d
|
|
4e52: 00385813 srli a6,a6,0x3
|
|
4e56: 00f86833 or a6,a6,a5
|
|
4e5a: 00375793 srli a5,a4,0x3
|
|
4e5e: b1a5 j 4ac6 <__subdf3+0x31c>
|
|
4e60: 01df09b3 add s3,t5,t4
|
|
4e64: 00e307b3 add a5,t1,a4
|
|
4e68: 01e9bf33 sltu t5,s3,t5
|
|
4e6c: 01e78633 add a2,a5,t5
|
|
4e70: 00861793 slli a5,a2,0x8
|
|
4e74: c207d8e3 bgez a5,4aa4 <__subdf3+0x2fa>
|
|
4e78: ff8007b7 lui a5,0xff800
|
|
4e7c: 17fd addi a5,a5,-1
|
|
4e7e: 8e7d and a2,a2,a5
|
|
4e80: 4485 li s1,1
|
|
4e82: b10d j 4aa4 <__subdf3+0x2fa>
|
|
4e84: 060e slli a2,a2,0x3
|
|
4e86: 01d71813 slli a6,a4,0x1d
|
|
4e8a: 820d srli a2,a2,0x3
|
|
4e8c: 00c86833 or a6,a6,a2
|
|
4e90: 00375793 srli a5,a4,0x3
|
|
4e94: b12d j 4abe <__subdf3+0x314>
|
|
4e96: 00c9e833 or a6,s3,a2
|
|
4e9a: d00806e3 beqz a6,4ba6 <__subdf3+0x3fc>
|
|
4e9e: b119 j 4aa4 <__subdf3+0x2fa>
|
|
4ea0: fe058813 addi a6,a1,-32
|
|
4ea4: 02000793 li a5,32
|
|
4ea8: 010359b3 srl s3,t1,a6
|
|
4eac: 00f58a63 beq a1,a5,4ec0 <__subdf3+0x716>
|
|
4eb0: 04000793 li a5,64
|
|
4eb4: 40b785b3 sub a1,a5,a1
|
|
4eb8: 00b31333 sll t1,t1,a1
|
|
4ebc: 006f6f33 or t5,t5,t1
|
|
4ec0: 01e03833 snez a6,t5
|
|
4ec4: 01386833 or a6,a6,s3
|
|
4ec8: b33d j 4bf6 <__subdf3+0x44c>
|
|
4eca: 4401 li s0,0
|
|
4ecc: 7ff00713 li a4,2047
|
|
4ed0: 000807b7 lui a5,0x80
|
|
4ed4: bc2d j 490e <__subdf3+0x164>
|
|
4ed6: 01df09b3 add s3,t5,t4
|
|
4eda: 00e307b3 add a5,t1,a4
|
|
4ede: 01d9beb3 sltu t4,s3,t4
|
|
4ee2: 01d78633 add a2,a5,t4
|
|
4ee6: bb69 j 4c80 <__subdf3+0x4d6>
|
|
|
|
00004ee8 <__floatsidf>:
|
|
4ee8: 1141 addi sp,sp,-16
|
|
4eea: c606 sw ra,12(sp)
|
|
4eec: c422 sw s0,8(sp)
|
|
4eee: c226 sw s1,4(sp)
|
|
4ef0: cd0d beqz a0,4f2a <__floatsidf+0x42>
|
|
4ef2: 41f55793 srai a5,a0,0x1f
|
|
4ef6: 00a7c4b3 xor s1,a5,a0
|
|
4efa: 8c9d sub s1,s1,a5
|
|
4efc: 842a mv s0,a0
|
|
4efe: 8526 mv a0,s1
|
|
4f00: 206010ef jal ra,6106 <__clzsi2>
|
|
4f04: 41e00693 li a3,1054
|
|
4f08: 8e89 sub a3,a3,a0
|
|
4f0a: 47a9 li a5,10
|
|
4f0c: 807d srli s0,s0,0x1f
|
|
4f0e: 7ff6f693 andi a3,a3,2047
|
|
4f12: 02a7cd63 blt a5,a0,4f4c <__floatsidf+0x64>
|
|
4f16: 472d li a4,11
|
|
4f18: 8f09 sub a4,a4,a0
|
|
4f1a: 00e4d7b3 srl a5,s1,a4
|
|
4f1e: 0555 addi a0,a0,21
|
|
4f20: 07b2 slli a5,a5,0xc
|
|
4f22: 00a494b3 sll s1,s1,a0
|
|
4f26: 83b1 srli a5,a5,0xc
|
|
4f28: a029 j 4f32 <__floatsidf+0x4a>
|
|
4f2a: 4401 li s0,0
|
|
4f2c: 4681 li a3,0
|
|
4f2e: 4781 li a5,0
|
|
4f30: 4481 li s1,0
|
|
4f32: 07b2 slli a5,a5,0xc
|
|
4f34: 06d2 slli a3,a3,0x14
|
|
4f36: 83b1 srli a5,a5,0xc
|
|
4f38: 047e slli s0,s0,0x1f
|
|
4f3a: 8fd5 or a5,a5,a3
|
|
4f3c: 8fc1 or a5,a5,s0
|
|
4f3e: 40b2 lw ra,12(sp)
|
|
4f40: 4422 lw s0,8(sp)
|
|
4f42: 8526 mv a0,s1
|
|
4f44: 85be mv a1,a5
|
|
4f46: 4492 lw s1,4(sp)
|
|
4f48: 0141 addi sp,sp,16
|
|
4f4a: 8082 ret
|
|
4f4c: 1555 addi a0,a0,-11
|
|
4f4e: 00a497b3 sll a5,s1,a0
|
|
4f52: 07b2 slli a5,a5,0xc
|
|
4f54: 83b1 srli a5,a5,0xc
|
|
4f56: 4481 li s1,0
|
|
4f58: bfe9 j 4f32 <__floatsidf+0x4a>
|
|
|
|
00004f5a <__addsf3>:
|
|
4f5a: 1141 addi sp,sp,-16
|
|
4f5c: 00800737 lui a4,0x800
|
|
4f60: 177d addi a4,a4,-1
|
|
4f62: 0175d813 srli a6,a1,0x17
|
|
4f66: c226 sw s1,4(sp)
|
|
4f68: 01755493 srli s1,a0,0x17
|
|
4f6c: 00a77333 and t1,a4,a0
|
|
4f70: 0ff4f493 andi s1,s1,255
|
|
4f74: 00b776b3 and a3,a4,a1
|
|
4f78: c04a sw s2,0(sp)
|
|
4f7a: 0ff87813 andi a6,a6,255
|
|
4f7e: 01f55913 srli s2,a0,0x1f
|
|
4f82: c606 sw ra,12(sp)
|
|
4f84: c422 sw s0,8(sp)
|
|
4f86: 81fd srli a1,a1,0x1f
|
|
4f88: 879a mv a5,t1
|
|
4f8a: 8526 mv a0,s1
|
|
4f8c: 864a mv a2,s2
|
|
4f8e: 00331e13 slli t3,t1,0x3
|
|
4f92: 00369e93 slli t4,a3,0x3
|
|
4f96: 410488b3 sub a7,s1,a6
|
|
4f9a: 0eb90a63 beq s2,a1,508e <__addsf3+0x134>
|
|
4f9e: 0d105063 blez a7,505e <__addsf3+0x104>
|
|
4fa2: 14080463 beqz a6,50ea <__addsf3+0x190>
|
|
4fa6: 0ff00793 li a5,255
|
|
4faa: 14f48b63 beq s1,a5,5100 <__addsf3+0x1a6>
|
|
4fae: 040007b7 lui a5,0x4000
|
|
4fb2: 00feeeb3 or t4,t4,a5
|
|
4fb6: 47ed li a5,27
|
|
4fb8: 2917c163 blt a5,a7,523a <__addsf3+0x2e0>
|
|
4fbc: 02000793 li a5,32
|
|
4fc0: 411787b3 sub a5,a5,a7
|
|
4fc4: 00fe97b3 sll a5,t4,a5
|
|
4fc8: 011ed8b3 srl a7,t4,a7
|
|
4fcc: 00f037b3 snez a5,a5
|
|
4fd0: 00f8e7b3 or a5,a7,a5
|
|
4fd4: 40fe07b3 sub a5,t3,a5
|
|
4fd8: 00579713 slli a4,a5,0x5
|
|
4fdc: 18075e63 bgez a4,5178 <__addsf3+0x21e>
|
|
4fe0: 04000437 lui s0,0x4000
|
|
4fe4: 147d addi s0,s0,-1
|
|
4fe6: 8c7d and s0,s0,a5
|
|
4fe8: 8522 mv a0,s0
|
|
4fea: 11c010ef jal ra,6106 <__clzsi2>
|
|
4fee: 156d addi a0,a0,-5
|
|
4ff0: 00a417b3 sll a5,s0,a0
|
|
4ff4: 1a954863 blt a0,s1,51a4 <__addsf3+0x24a>
|
|
4ff8: 8d05 sub a0,a0,s1
|
|
4ffa: 00150413 addi s0,a0,1 # 800001 <_data_lma+0x7f7cd5>
|
|
4ffe: 02000713 li a4,32
|
|
5002: 8f01 sub a4,a4,s0
|
|
5004: 00e79733 sll a4,a5,a4
|
|
5008: 00e03733 snez a4,a4
|
|
500c: 0087d7b3 srl a5,a5,s0
|
|
5010: 8fd9 or a5,a5,a4
|
|
5012: 4481 li s1,0
|
|
5014: 0077f713 andi a4,a5,7
|
|
5018: c719 beqz a4,5026 <__addsf3+0xcc>
|
|
501a: 00f7f713 andi a4,a5,15
|
|
501e: 4691 li a3,4
|
|
5020: 00d70363 beq a4,a3,5026 <__addsf3+0xcc>
|
|
5024: 0791 addi a5,a5,4
|
|
5026: 00579713 slli a4,a5,0x5
|
|
502a: 14075b63 bgez a4,5180 <__addsf3+0x226>
|
|
502e: 0485 addi s1,s1,1
|
|
5030: 0ff00713 li a4,255
|
|
5034: 864a mv a2,s2
|
|
5036: 16e48363 beq s1,a4,519c <__addsf3+0x242>
|
|
503a: 079a slli a5,a5,0x6
|
|
503c: 83a5 srli a5,a5,0x9
|
|
503e: 0ff4f513 andi a0,s1,255
|
|
5042: 40b2 lw ra,12(sp)
|
|
5044: 4422 lw s0,8(sp)
|
|
5046: 07a6 slli a5,a5,0x9
|
|
5048: 01751493 slli s1,a0,0x17
|
|
504c: 0097d513 srli a0,a5,0x9
|
|
5050: 8d45 or a0,a0,s1
|
|
5052: 067e slli a2,a2,0x1f
|
|
5054: 4492 lw s1,4(sp)
|
|
5056: 4902 lw s2,0(sp)
|
|
5058: 8d51 or a0,a0,a2
|
|
505a: 0141 addi sp,sp,16
|
|
505c: 8082 ret
|
|
505e: 0a089963 bnez a7,5110 <__addsf3+0x1b6>
|
|
5062: 00148713 addi a4,s1,1
|
|
5066: 0fe77713 andi a4,a4,254
|
|
506a: 14071763 bnez a4,51b8 <__addsf3+0x25e>
|
|
506e: 22049063 bnez s1,528e <__addsf3+0x334>
|
|
5072: 1e0e0d63 beqz t3,526c <__addsf3+0x312>
|
|
5076: fc0e86e3 beqz t4,5042 <__addsf3+0xe8>
|
|
507a: 41de07b3 sub a5,t3,t4
|
|
507e: 00579713 slli a4,a5,0x5
|
|
5082: 22075063 bgez a4,52a2 <__addsf3+0x348>
|
|
5086: 41ce87b3 sub a5,t4,t3
|
|
508a: 892e mv s2,a1
|
|
508c: b761 j 5014 <__addsf3+0xba>
|
|
508e: 0b105c63 blez a7,5146 <__addsf3+0x1ec>
|
|
5092: 08080e63 beqz a6,512e <__addsf3+0x1d4>
|
|
5096: 0ff00793 li a5,255
|
|
509a: 06f48363 beq s1,a5,5100 <__addsf3+0x1a6>
|
|
509e: 040007b7 lui a5,0x4000
|
|
50a2: 00feeeb3 or t4,t4,a5
|
|
50a6: 47ed li a5,27
|
|
50a8: 1f17c963 blt a5,a7,529a <__addsf3+0x340>
|
|
50ac: 02000793 li a5,32
|
|
50b0: 411787b3 sub a5,a5,a7
|
|
50b4: 00fe97b3 sll a5,t4,a5
|
|
50b8: 011ed8b3 srl a7,t4,a7
|
|
50bc: 00f037b3 snez a5,a5
|
|
50c0: 00f8e7b3 or a5,a7,a5
|
|
50c4: 97f2 add a5,a5,t3
|
|
50c6: 00579713 slli a4,a5,0x5
|
|
50ca: 0a075763 bgez a4,5178 <__addsf3+0x21e>
|
|
50ce: 0485 addi s1,s1,1
|
|
50d0: 0ff00713 li a4,255
|
|
50d4: 0ce48463 beq s1,a4,519c <__addsf3+0x242>
|
|
50d8: 7e0006b7 lui a3,0x7e000
|
|
50dc: 0017d713 srli a4,a5,0x1
|
|
50e0: 16fd addi a3,a3,-1
|
|
50e2: 8b85 andi a5,a5,1
|
|
50e4: 8f75 and a4,a4,a3
|
|
50e6: 8fd9 or a5,a5,a4
|
|
50e8: b735 j 5014 <__addsf3+0xba>
|
|
50ea: 080e8d63 beqz t4,5184 <__addsf3+0x22a>
|
|
50ee: 18fd addi a7,a7,-1
|
|
50f0: 41de07b3 sub a5,t3,t4
|
|
50f4: ee0882e3 beqz a7,4fd8 <__addsf3+0x7e>
|
|
50f8: 0ff00793 li a5,255
|
|
50fc: eaf49de3 bne s1,a5,4fb6 <__addsf3+0x5c>
|
|
5100: 08030d63 beqz t1,519a <__addsf3+0x240>
|
|
5104: 4601 li a2,0
|
|
5106: 0ff00513 li a0,255
|
|
510a: 004007b7 lui a5,0x400
|
|
510e: bf15 j 5042 <__addsf3+0xe8>
|
|
5110: 40980733 sub a4,a6,s1
|
|
5114: e8ed bnez s1,5206 <__addsf3+0x2ac>
|
|
5116: 140e0263 beqz t3,525a <__addsf3+0x300>
|
|
511a: 177d addi a4,a4,-1
|
|
511c: 18070863 beqz a4,52ac <__addsf3+0x352>
|
|
5120: 0ff00793 li a5,255
|
|
5124: 0ef81963 bne a6,a5,5216 <__addsf3+0x2bc>
|
|
5128: 892e mv s2,a1
|
|
512a: 8336 mv t1,a3
|
|
512c: bfd1 j 5100 <__addsf3+0x1a6>
|
|
512e: 040e8b63 beqz t4,5184 <__addsf3+0x22a>
|
|
5132: 18fd addi a7,a7,-1
|
|
5134: 01de07b3 add a5,t3,t4
|
|
5138: f80887e3 beqz a7,50c6 <__addsf3+0x16c>
|
|
513c: 0ff00793 li a5,255
|
|
5140: f6f493e3 bne s1,a5,50a6 <__addsf3+0x14c>
|
|
5144: bf75 j 5100 <__addsf3+0x1a6>
|
|
5146: 08089563 bnez a7,51d0 <__addsf3+0x276>
|
|
514a: 0485 addi s1,s1,1
|
|
514c: 0fe4f713 andi a4,s1,254
|
|
5150: 12071363 bnez a4,5276 <__addsf3+0x31c>
|
|
5154: 10051763 bnez a0,5262 <__addsf3+0x308>
|
|
5158: 140e0f63 beqz t3,52b6 <__addsf3+0x35c>
|
|
515c: ee0e83e3 beqz t4,5042 <__addsf3+0xe8>
|
|
5160: 01de07b3 add a5,t3,t4
|
|
5164: 00579713 slli a4,a5,0x5
|
|
5168: 4481 li s1,0
|
|
516a: 00075763 bgez a4,5178 <__addsf3+0x21e>
|
|
516e: fc000737 lui a4,0xfc000
|
|
5172: 177d addi a4,a4,-1
|
|
5174: 8ff9 and a5,a5,a4
|
|
5176: 4485 li s1,1
|
|
5178: 0077f713 andi a4,a5,7
|
|
517c: e8071fe3 bnez a4,501a <__addsf3+0xc0>
|
|
5180: 0037d313 srli t1,a5,0x3
|
|
5184: 0ff00793 li a5,255
|
|
5188: f6f48ce3 beq s1,a5,5100 <__addsf3+0x1a6>
|
|
518c: 00931793 slli a5,t1,0x9
|
|
5190: 83a5 srli a5,a5,0x9
|
|
5192: 0ff4f513 andi a0,s1,255
|
|
5196: 864a mv a2,s2
|
|
5198: b56d j 5042 <__addsf3+0xe8>
|
|
519a: 864a mv a2,s2
|
|
519c: 0ff00513 li a0,255
|
|
51a0: 4781 li a5,0
|
|
51a2: b545 j 5042 <__addsf3+0xe8>
|
|
51a4: fc000737 lui a4,0xfc000
|
|
51a8: 177d addi a4,a4,-1
|
|
51aa: 8ff9 and a5,a5,a4
|
|
51ac: 0077f713 andi a4,a5,7
|
|
51b0: 8c89 sub s1,s1,a0
|
|
51b2: e60714e3 bnez a4,501a <__addsf3+0xc0>
|
|
51b6: b7e9 j 5180 <__addsf3+0x226>
|
|
51b8: 41de0433 sub s0,t3,t4
|
|
51bc: 00541793 slli a5,s0,0x5
|
|
51c0: 0c07c363 bltz a5,5286 <__addsf3+0x32c>
|
|
51c4: e20412e3 bnez s0,4fe8 <__addsf3+0x8e>
|
|
51c8: 4601 li a2,0
|
|
51ca: 4501 li a0,0
|
|
51cc: 4781 li a5,0
|
|
51ce: bd95 j 5042 <__addsf3+0xe8>
|
|
51d0: 40980733 sub a4,a6,s1
|
|
51d4: c4ad beqz s1,523e <__addsf3+0x2e4>
|
|
51d6: 0ff00793 li a5,255
|
|
51da: f4f808e3 beq a6,a5,512a <__addsf3+0x1d0>
|
|
51de: 040007b7 lui a5,0x4000
|
|
51e2: 00fe6e33 or t3,t3,a5
|
|
51e6: 47ed li a5,27
|
|
51e8: 0ce7cc63 blt a5,a4,52c0 <__addsf3+0x366>
|
|
51ec: 02000793 li a5,32
|
|
51f0: 8f99 sub a5,a5,a4
|
|
51f2: 00fe17b3 sll a5,t3,a5
|
|
51f6: 00ee5733 srl a4,t3,a4
|
|
51fa: 00f037b3 snez a5,a5
|
|
51fe: 8fd9 or a5,a5,a4
|
|
5200: 97f6 add a5,a5,t4
|
|
5202: 84c2 mv s1,a6
|
|
5204: b5c9 j 50c6 <__addsf3+0x16c>
|
|
5206: 0ff00793 li a5,255
|
|
520a: f0f80fe3 beq a6,a5,5128 <__addsf3+0x1ce>
|
|
520e: 040007b7 lui a5,0x4000
|
|
5212: 00fe6e33 or t3,t3,a5
|
|
5216: 47ed li a5,27
|
|
5218: 08e7c363 blt a5,a4,529e <__addsf3+0x344>
|
|
521c: 02000693 li a3,32
|
|
5220: 8e99 sub a3,a3,a4
|
|
5222: 00de16b3 sll a3,t3,a3
|
|
5226: 00ee57b3 srl a5,t3,a4
|
|
522a: 00d03733 snez a4,a3
|
|
522e: 8fd9 or a5,a5,a4
|
|
5230: 40fe87b3 sub a5,t4,a5
|
|
5234: 84c2 mv s1,a6
|
|
5236: 892e mv s2,a1
|
|
5238: b345 j 4fd8 <__addsf3+0x7e>
|
|
523a: 4785 li a5,1
|
|
523c: bb61 j 4fd4 <__addsf3+0x7a>
|
|
523e: 060e0e63 beqz t3,52ba <__addsf3+0x360>
|
|
5242: 177d addi a4,a4,-1
|
|
5244: 01de07b3 add a5,t3,t4
|
|
5248: 84c2 mv s1,a6
|
|
524a: e6070ee3 beqz a4,50c6 <__addsf3+0x16c>
|
|
524e: 0ff00793 li a5,255
|
|
5252: f8f81ae3 bne a6,a5,51e6 <__addsf3+0x28c>
|
|
5256: 8336 mv t1,a3
|
|
5258: b565 j 5100 <__addsf3+0x1a6>
|
|
525a: 8336 mv t1,a3
|
|
525c: 84c2 mv s1,a6
|
|
525e: 892e mv s2,a1
|
|
5260: b715 j 5184 <__addsf3+0x22a>
|
|
5262: ec0e04e3 beqz t3,512a <__addsf3+0x1d0>
|
|
5266: e80e8de3 beqz t4,5100 <__addsf3+0x1a6>
|
|
526a: bd69 j 5104 <__addsf3+0x1aa>
|
|
526c: 020e8d63 beqz t4,52a6 <__addsf3+0x34c>
|
|
5270: 862e mv a2,a1
|
|
5272: 87b6 mv a5,a3
|
|
5274: b3f9 j 5042 <__addsf3+0xe8>
|
|
5276: 0ff00793 li a5,255
|
|
527a: f2f481e3 beq s1,a5,519c <__addsf3+0x242>
|
|
527e: 01de07b3 add a5,t3,t4
|
|
5282: 8385 srli a5,a5,0x1
|
|
5284: bdd5 j 5178 <__addsf3+0x21e>
|
|
5286: 41ce8433 sub s0,t4,t3
|
|
528a: 892e mv s2,a1
|
|
528c: bbb1 j 4fe8 <__addsf3+0x8e>
|
|
528e: fc0e1ce3 bnez t3,5266 <__addsf3+0x30c>
|
|
5292: e60e89e3 beqz t4,5104 <__addsf3+0x1aa>
|
|
5296: 892e mv s2,a1
|
|
5298: bd49 j 512a <__addsf3+0x1d0>
|
|
529a: 4785 li a5,1
|
|
529c: b525 j 50c4 <__addsf3+0x16a>
|
|
529e: 4785 li a5,1
|
|
52a0: bf41 j 5230 <__addsf3+0x2d6>
|
|
52a2: ec079be3 bnez a5,5178 <__addsf3+0x21e>
|
|
52a6: 4601 li a2,0
|
|
52a8: 4781 li a5,0
|
|
52aa: bb61 j 5042 <__addsf3+0xe8>
|
|
52ac: 41ce87b3 sub a5,t4,t3
|
|
52b0: 84c2 mv s1,a6
|
|
52b2: 892e mv s2,a1
|
|
52b4: b315 j 4fd8 <__addsf3+0x7e>
|
|
52b6: 87b6 mv a5,a3
|
|
52b8: b369 j 5042 <__addsf3+0xe8>
|
|
52ba: 8336 mv t1,a3
|
|
52bc: 84c2 mv s1,a6
|
|
52be: b5d9 j 5184 <__addsf3+0x22a>
|
|
52c0: 4785 li a5,1
|
|
52c2: bf3d j 5200 <__addsf3+0x2a6>
|
|
|
|
000052c4 <__divsf3>:
|
|
52c4: 7139 addi sp,sp,-64
|
|
52c6: 01755793 srli a5,a0,0x17
|
|
52ca: d84a sw s2,48(sp)
|
|
52cc: d256 sw s5,36(sp)
|
|
52ce: ce5e sw s7,28(sp)
|
|
52d0: 00951a93 slli s5,a0,0x9
|
|
52d4: 01f55913 srli s2,a0,0x1f
|
|
52d8: de06 sw ra,60(sp)
|
|
52da: dc22 sw s0,56(sp)
|
|
52dc: da26 sw s1,52(sp)
|
|
52de: d64e sw s3,44(sp)
|
|
52e0: d452 sw s4,40(sp)
|
|
52e2: d05a sw s6,32(sp)
|
|
52e4: 0ff7f793 andi a5,a5,255
|
|
52e8: 009ada93 srli s5,s5,0x9
|
|
52ec: 8bca mv s7,s2
|
|
52ee: 12078263 beqz a5,5412 <__divsf3+0x14e>
|
|
52f2: 0ff00713 li a4,255
|
|
52f6: 12e78463 beq a5,a4,541e <__divsf3+0x15a>
|
|
52fa: 0a8e slli s5,s5,0x3
|
|
52fc: 04000737 lui a4,0x4000
|
|
5300: 00eaeab3 or s5,s5,a4
|
|
5304: f8178a13 addi s4,a5,-127 # 3ffff81 <_data_lma+0x3ff7c55>
|
|
5308: 4401 li s0,0
|
|
530a: 4b01 li s6,0
|
|
530c: 0175d793 srli a5,a1,0x17
|
|
5310: 00959493 slli s1,a1,0x9
|
|
5314: 0ff7f793 andi a5,a5,255
|
|
5318: 80a5 srli s1,s1,0x9
|
|
531a: 01f5d993 srli s3,a1,0x1f
|
|
531e: c7fd beqz a5,540c <__divsf3+0x148>
|
|
5320: 0ff00713 li a4,255
|
|
5324: 02e78763 beq a5,a4,5352 <__divsf3+0x8e>
|
|
5328: 048e slli s1,s1,0x3
|
|
532a: f8178793 addi a5,a5,-127
|
|
532e: 04000737 lui a4,0x4000
|
|
5332: 8cd9 or s1,s1,a4
|
|
5334: 40fa0a33 sub s4,s4,a5
|
|
5338: 4681 li a3,0
|
|
533a: 8c55 or s0,s0,a3
|
|
533c: 00003717 auipc a4,0x3
|
|
5340: d9470713 addi a4,a4,-620 # 80d0 <mosTemperADC+0x710>
|
|
5344: 040a slli s0,s0,0x2
|
|
5346: 943a add s0,s0,a4
|
|
5348: 401c lw a5,0(s0)
|
|
534a: 01394933 xor s2,s2,s3
|
|
534e: 97ba add a5,a5,a4
|
|
5350: 8782 jr a5
|
|
5352: f01a0a13 addi s4,s4,-255
|
|
5356: e8f9 bnez s1,542c <__divsf3+0x168>
|
|
5358: 4689 li a3,2
|
|
535a: 8c55 or s0,s0,a3
|
|
535c: 00003717 auipc a4,0x3
|
|
5360: db470713 addi a4,a4,-588 # 8110 <mosTemperADC+0x750>
|
|
5364: 040a slli s0,s0,0x2
|
|
5366: 943a add s0,s0,a4
|
|
5368: 401c lw a5,0(s0)
|
|
536a: 01394933 xor s2,s2,s3
|
|
536e: 97ba add a5,a5,a4
|
|
5370: 8782 jr a5
|
|
5372: 4901 li s2,0
|
|
5374: 0ff00713 li a4,255
|
|
5378: 004007b7 lui a5,0x400
|
|
537c: 00979513 slli a0,a5,0x9
|
|
5380: 50f2 lw ra,60(sp)
|
|
5382: 5462 lw s0,56(sp)
|
|
5384: 01771793 slli a5,a4,0x17
|
|
5388: 8125 srli a0,a0,0x9
|
|
538a: 097e slli s2,s2,0x1f
|
|
538c: 8d5d or a0,a0,a5
|
|
538e: 01256533 or a0,a0,s2
|
|
5392: 54d2 lw s1,52(sp)
|
|
5394: 5942 lw s2,48(sp)
|
|
5396: 59b2 lw s3,44(sp)
|
|
5398: 5a22 lw s4,40(sp)
|
|
539a: 5a92 lw s5,36(sp)
|
|
539c: 5b02 lw s6,32(sp)
|
|
539e: 4bf2 lw s7,28(sp)
|
|
53a0: 6121 addi sp,sp,64
|
|
53a2: 8082 ret
|
|
53a4: 0ff00713 li a4,255
|
|
53a8: 4781 li a5,0
|
|
53aa: bfc9 j 537c <__divsf3+0xb8>
|
|
53ac: 8aa6 mv s5,s1
|
|
53ae: 8bce mv s7,s3
|
|
53b0: 8b36 mv s6,a3
|
|
53b2: 4789 li a5,2
|
|
53b4: 1afb0b63 beq s6,a5,556a <__divsf3+0x2a6>
|
|
53b8: 478d li a5,3
|
|
53ba: fafb0ce3 beq s6,a5,5372 <__divsf3+0xae>
|
|
53be: 4785 li a5,1
|
|
53c0: 0afb0a63 beq s6,a5,5474 <__divsf3+0x1b0>
|
|
53c4: 07fa0713 addi a4,s4,127
|
|
53c8: 001bf913 andi s2,s7,1
|
|
53cc: 12e05763 blez a4,54fa <__divsf3+0x236>
|
|
53d0: 007af793 andi a5,s5,7
|
|
53d4: c799 beqz a5,53e2 <__divsf3+0x11e>
|
|
53d6: 00faf793 andi a5,s5,15
|
|
53da: 4691 li a3,4
|
|
53dc: 00d78363 beq a5,a3,53e2 <__divsf3+0x11e>
|
|
53e0: 0a91 addi s5,s5,4
|
|
53e2: 004a9793 slli a5,s5,0x4
|
|
53e6: 0007d963 bgez a5,53f8 <__divsf3+0x134>
|
|
53ea: f80007b7 lui a5,0xf8000
|
|
53ee: 17fd addi a5,a5,-1
|
|
53f0: 00fafab3 and s5,s5,a5
|
|
53f4: 080a0713 addi a4,s4,128
|
|
53f8: 0fe00793 li a5,254
|
|
53fc: fae7c4e3 blt a5,a4,53a4 <__divsf3+0xe0>
|
|
5400: 006a9793 slli a5,s5,0x6
|
|
5404: 83a5 srli a5,a5,0x9
|
|
5406: 0ff77713 andi a4,a4,255
|
|
540a: bf8d j 537c <__divsf3+0xb8>
|
|
540c: e4b9 bnez s1,545a <__divsf3+0x196>
|
|
540e: 4685 li a3,1
|
|
5410: b7a9 j 535a <__divsf3+0x96>
|
|
5412: 020a9463 bnez s5,543a <__divsf3+0x176>
|
|
5416: 4411 li s0,4
|
|
5418: 4a01 li s4,0
|
|
541a: 4b05 li s6,1
|
|
541c: bdc5 j 530c <__divsf3+0x48>
|
|
541e: 000a9963 bnez s5,5430 <__divsf3+0x16c>
|
|
5422: 4421 li s0,8
|
|
5424: 0ff00a13 li s4,255
|
|
5428: 4b09 li s6,2
|
|
542a: b5cd j 530c <__divsf3+0x48>
|
|
542c: 468d li a3,3
|
|
542e: b731 j 533a <__divsf3+0x76>
|
|
5430: 4431 li s0,12
|
|
5432: 0ff00a13 li s4,255
|
|
5436: 4b0d li s6,3
|
|
5438: bdd1 j 530c <__divsf3+0x48>
|
|
543a: 8556 mv a0,s5
|
|
543c: c62e sw a1,12(sp)
|
|
543e: 4c9000ef jal ra,6106 <__clzsi2>
|
|
5442: ffb50793 addi a5,a0,-5
|
|
5446: 00fa9ab3 sll s5,s5,a5
|
|
544a: f8a00793 li a5,-118
|
|
544e: 40a78a33 sub s4,a5,a0
|
|
5452: 4401 li s0,0
|
|
5454: 4b01 li s6,0
|
|
5456: 45b2 lw a1,12(sp)
|
|
5458: bd55 j 530c <__divsf3+0x48>
|
|
545a: 8526 mv a0,s1
|
|
545c: 4ab000ef jal ra,6106 <__clzsi2>
|
|
5460: ffb50713 addi a4,a0,-5
|
|
5464: 00aa07b3 add a5,s4,a0
|
|
5468: 00e494b3 sll s1,s1,a4
|
|
546c: 07678a13 addi s4,a5,118 # f8000076 <_eusrstack+0xd7ffb076>
|
|
5470: 4681 li a3,0
|
|
5472: b5e1 j 533a <__divsf3+0x76>
|
|
5474: 001bf913 andi s2,s7,1
|
|
5478: 4701 li a4,0
|
|
547a: 4781 li a5,0
|
|
547c: b701 j 537c <__divsf3+0xb8>
|
|
547e: 6641 lui a2,0x10
|
|
5480: 00549513 slli a0,s1,0x5
|
|
5484: 167d addi a2,a2,-1
|
|
5486: 01055793 srli a5,a0,0x10
|
|
548a: 8e69 and a2,a2,a0
|
|
548c: 0a9afa63 bgeu s5,s1,5540 <__divsf3+0x27c>
|
|
5490: 02fad5b3 divu a1,s5,a5
|
|
5494: 1a7d addi s4,s4,-1
|
|
5496: 86d6 mv a3,s5
|
|
5498: 4701 li a4,0
|
|
549a: 02c58833 mul a6,a1,a2
|
|
549e: 02f6f6b3 remu a3,a3,a5
|
|
54a2: 06c2 slli a3,a3,0x10
|
|
54a4: 8f55 or a4,a4,a3
|
|
54a6: 01077b63 bgeu a4,a6,54bc <__divsf3+0x1f8>
|
|
54aa: 972a add a4,a4,a0
|
|
54ac: fff58693 addi a3,a1,-1
|
|
54b0: 0aa76863 bltu a4,a0,5560 <__divsf3+0x29c>
|
|
54b4: 0b077663 bgeu a4,a6,5560 <__divsf3+0x29c>
|
|
54b8: 15f9 addi a1,a1,-2
|
|
54ba: 972a add a4,a4,a0
|
|
54bc: 41070733 sub a4,a4,a6
|
|
54c0: 02f756b3 divu a3,a4,a5
|
|
54c4: 02f77733 remu a4,a4,a5
|
|
54c8: 02c68ab3 mul s5,a3,a2
|
|
54cc: 01071793 slli a5,a4,0x10
|
|
54d0: 0157fb63 bgeu a5,s5,54e6 <__divsf3+0x222>
|
|
54d4: 97aa add a5,a5,a0
|
|
54d6: fff68713 addi a4,a3,-1 # 7dffffff <_eusrstack+0x5dffafff>
|
|
54da: 08a7e163 bltu a5,a0,555c <__divsf3+0x298>
|
|
54de: 0757ff63 bgeu a5,s5,555c <__divsf3+0x298>
|
|
54e2: 16f9 addi a3,a3,-2
|
|
54e4: 97aa add a5,a5,a0
|
|
54e6: 05c2 slli a1,a1,0x10
|
|
54e8: 41578ab3 sub s5,a5,s5
|
|
54ec: 8dd5 or a1,a1,a3
|
|
54ee: 01503ab3 snez s5,s5
|
|
54f2: 0155eab3 or s5,a1,s5
|
|
54f6: 8bca mv s7,s2
|
|
54f8: b5f1 j 53c4 <__divsf3+0x100>
|
|
54fa: 4685 li a3,1
|
|
54fc: 8e99 sub a3,a3,a4
|
|
54fe: c711 beqz a4,550a <__divsf3+0x246>
|
|
5500: 466d li a2,27
|
|
5502: 4701 li a4,0
|
|
5504: 4781 li a5,0
|
|
5506: e6d64be3 blt a2,a3,537c <__divsf3+0xb8>
|
|
550a: 09ea0a13 addi s4,s4,158
|
|
550e: 014a9a33 sll s4,s5,s4
|
|
5512: 00dad7b3 srl a5,s5,a3
|
|
5516: 01403ab3 snez s5,s4
|
|
551a: 0157e7b3 or a5,a5,s5
|
|
551e: 0077f713 andi a4,a5,7
|
|
5522: c719 beqz a4,5530 <__divsf3+0x26c>
|
|
5524: 00f7f713 andi a4,a5,15
|
|
5528: 4691 li a3,4
|
|
552a: 00d70363 beq a4,a3,5530 <__divsf3+0x26c>
|
|
552e: 0791 addi a5,a5,4
|
|
5530: 00579713 slli a4,a5,0x5
|
|
5534: 02074863 bltz a4,5564 <__divsf3+0x2a0>
|
|
5538: 079a slli a5,a5,0x6
|
|
553a: 83a5 srli a5,a5,0x9
|
|
553c: 4701 li a4,0
|
|
553e: bd3d j 537c <__divsf3+0xb8>
|
|
5540: 001ad693 srli a3,s5,0x1
|
|
5544: 02f6d5b3 divu a1,a3,a5
|
|
5548: 01fa9713 slli a4,s5,0x1f
|
|
554c: 8341 srli a4,a4,0x10
|
|
554e: 02c58833 mul a6,a1,a2
|
|
5552: b7b1 j 549e <__divsf3+0x1da>
|
|
5554: 8bce mv s7,s3
|
|
5556: 8b36 mv s6,a3
|
|
5558: 4a81 li s5,0
|
|
555a: bda1 j 53b2 <__divsf3+0xee>
|
|
555c: 86ba mv a3,a4
|
|
555e: b761 j 54e6 <__divsf3+0x222>
|
|
5560: 85b6 mv a1,a3
|
|
5562: bfa9 j 54bc <__divsf3+0x1f8>
|
|
5564: 4705 li a4,1
|
|
5566: 4781 li a5,0
|
|
5568: bd11 j 537c <__divsf3+0xb8>
|
|
556a: 001bf913 andi s2,s7,1
|
|
556e: 0ff00713 li a4,255
|
|
5572: 4781 li a5,0
|
|
5574: b521 j 537c <__divsf3+0xb8>
|
|
|
|
00005576 <__gesf2>:
|
|
5576: 01755693 srli a3,a0,0x17
|
|
557a: 008007b7 lui a5,0x800
|
|
557e: 17fd addi a5,a5,-1
|
|
5580: 0175d613 srli a2,a1,0x17
|
|
5584: 0ff6f693 andi a3,a3,255
|
|
5588: 0ff00813 li a6,255
|
|
558c: 00a7f8b3 and a7,a5,a0
|
|
5590: 01f55713 srli a4,a0,0x1f
|
|
5594: 8fed and a5,a5,a1
|
|
5596: 0ff67613 andi a2,a2,255
|
|
559a: 81fd srli a1,a1,0x1f
|
|
559c: 03068163 beq a3,a6,55be <__gesf2+0x48>
|
|
55a0: 01060c63 beq a2,a6,55b8 <__gesf2+0x42>
|
|
55a4: e28d bnez a3,55c6 <__gesf2+0x50>
|
|
55a6: e211 bnez a2,55aa <__gesf2+0x34>
|
|
55a8: c3b1 beqz a5,55ec <__gesf2+0x76>
|
|
55aa: 02088e63 beqz a7,55e6 <__gesf2+0x70>
|
|
55ae: 04b70563 beq a4,a1,55f8 <__gesf2+0x82>
|
|
55b2: 4505 li a0,1
|
|
55b4: e71d bnez a4,55e2 <__gesf2+0x6c>
|
|
55b6: 8082 ret
|
|
55b8: d7f5 beqz a5,55a4 <__gesf2+0x2e>
|
|
55ba: 5579 li a0,-2
|
|
55bc: 8082 ret
|
|
55be: fe089ee3 bnez a7,55ba <__gesf2+0x44>
|
|
55c2: 02d60963 beq a2,a3,55f4 <__gesf2+0x7e>
|
|
55c6: e211 bnez a2,55ca <__gesf2+0x54>
|
|
55c8: d7ed beqz a5,55b2 <__gesf2+0x3c>
|
|
55ca: feb714e3 bne a4,a1,55b2 <__gesf2+0x3c>
|
|
55ce: fed642e3 blt a2,a3,55b2 <__gesf2+0x3c>
|
|
55d2: 00c6c763 blt a3,a2,55e0 <__gesf2+0x6a>
|
|
55d6: fd17eee3 bltu a5,a7,55b2 <__gesf2+0x3c>
|
|
55da: 4501 li a0,0
|
|
55dc: fcf8fde3 bgeu a7,a5,55b6 <__gesf2+0x40>
|
|
55e0: e701 bnez a4,55e8 <__gesf2+0x72>
|
|
55e2: 557d li a0,-1
|
|
55e4: 8082 ret
|
|
55e6: ddf5 beqz a1,55e2 <__gesf2+0x6c>
|
|
55e8: 4505 li a0,1
|
|
55ea: 8082 ret
|
|
55ec: 4501 li a0,0
|
|
55ee: fc0892e3 bnez a7,55b2 <__gesf2+0x3c>
|
|
55f2: 8082 ret
|
|
55f4: dbf9 beqz a5,55ca <__gesf2+0x54>
|
|
55f6: b7d1 j 55ba <__gesf2+0x44>
|
|
55f8: 4681 li a3,0
|
|
55fa: bfe1 j 55d2 <__gesf2+0x5c>
|
|
|
|
000055fc <__lesf2>:
|
|
55fc: 01755693 srli a3,a0,0x17
|
|
5600: 008007b7 lui a5,0x800
|
|
5604: 17fd addi a5,a5,-1
|
|
5606: 0175d613 srli a2,a1,0x17
|
|
560a: 0ff6f693 andi a3,a3,255
|
|
560e: 0ff00813 li a6,255
|
|
5612: 00a7f8b3 and a7,a5,a0
|
|
5616: 01f55713 srli a4,a0,0x1f
|
|
561a: 8fed and a5,a5,a1
|
|
561c: 0ff67613 andi a2,a2,255
|
|
5620: 81fd srli a1,a1,0x1f
|
|
5622: 03068763 beq a3,a6,5650 <__lesf2+0x54>
|
|
5626: 01060963 beq a2,a6,5638 <__lesf2+0x3c>
|
|
562a: ea85 bnez a3,565a <__lesf2+0x5e>
|
|
562c: ea11 bnez a2,5640 <__lesf2+0x44>
|
|
562e: eb89 bnez a5,5640 <__lesf2+0x44>
|
|
5630: 4501 li a0,0
|
|
5632: 00089b63 bnez a7,5648 <__lesf2+0x4c>
|
|
5636: 8082 ret
|
|
5638: 4509 li a0,2
|
|
563a: fff5 bnez a5,5636 <__lesf2+0x3a>
|
|
563c: dae5 beqz a3,562c <__lesf2+0x30>
|
|
563e: a831 j 565a <__lesf2+0x5e>
|
|
5640: 02088c63 beqz a7,5678 <__lesf2+0x7c>
|
|
5644: 04b70063 beq a4,a1,5684 <__lesf2+0x88>
|
|
5648: 4505 li a0,1
|
|
564a: d775 beqz a4,5636 <__lesf2+0x3a>
|
|
564c: 557d li a0,-1
|
|
564e: 8082 ret
|
|
5650: 4509 li a0,2
|
|
5652: 02089863 bnez a7,5682 <__lesf2+0x86>
|
|
5656: 02d60463 beq a2,a3,567e <__lesf2+0x82>
|
|
565a: e211 bnez a2,565e <__lesf2+0x62>
|
|
565c: d7f5 beqz a5,5648 <__lesf2+0x4c>
|
|
565e: feb715e3 bne a4,a1,5648 <__lesf2+0x4c>
|
|
5662: fed643e3 blt a2,a3,5648 <__lesf2+0x4c>
|
|
5666: 00c6c763 blt a3,a2,5674 <__lesf2+0x78>
|
|
566a: fd17efe3 bltu a5,a7,5648 <__lesf2+0x4c>
|
|
566e: 4501 li a0,0
|
|
5670: fcf8f3e3 bgeu a7,a5,5636 <__lesf2+0x3a>
|
|
5674: e319 bnez a4,567a <__lesf2+0x7e>
|
|
5676: bfd9 j 564c <__lesf2+0x50>
|
|
5678: d9f1 beqz a1,564c <__lesf2+0x50>
|
|
567a: 4505 li a0,1
|
|
567c: 8082 ret
|
|
567e: d3e5 beqz a5,565e <__lesf2+0x62>
|
|
5680: 8082 ret
|
|
5682: 8082 ret
|
|
5684: 4681 li a3,0
|
|
5686: b7c5 j 5666 <__lesf2+0x6a>
|
|
|
|
00005688 <__mulsf3>:
|
|
5688: 7179 addi sp,sp,-48
|
|
568a: d422 sw s0,40(sp)
|
|
568c: 01755413 srli s0,a0,0x17
|
|
5690: ce4e sw s3,28(sp)
|
|
5692: cc52 sw s4,24(sp)
|
|
5694: 00951993 slli s3,a0,0x9
|
|
5698: d606 sw ra,44(sp)
|
|
569a: d226 sw s1,36(sp)
|
|
569c: d04a sw s2,32(sp)
|
|
569e: ca56 sw s5,20(sp)
|
|
56a0: c85a sw s6,16(sp)
|
|
56a2: 0ff47413 andi s0,s0,255
|
|
56a6: 0099d993 srli s3,s3,0x9
|
|
56aa: 01f55a13 srli s4,a0,0x1f
|
|
56ae: c469 beqz s0,5778 <__mulsf3+0xf0>
|
|
56b0: 0ff00793 li a5,255
|
|
56b4: 0ef40863 beq s0,a5,57a4 <__mulsf3+0x11c>
|
|
56b8: 00399793 slli a5,s3,0x3
|
|
56bc: 04000737 lui a4,0x4000
|
|
56c0: 00e7e9b3 or s3,a5,a4
|
|
56c4: f8140413 addi s0,s0,-127 # 3ffff81 <_data_lma+0x3ff7c55>
|
|
56c8: 4481 li s1,0
|
|
56ca: 4b01 li s6,0
|
|
56cc: 0175d713 srli a4,a1,0x17
|
|
56d0: 00959a93 slli s5,a1,0x9
|
|
56d4: 0ff77713 andi a4,a4,255
|
|
56d8: 009ada93 srli s5,s5,0x9
|
|
56dc: 01f5d913 srli s2,a1,0x1f
|
|
56e0: cf45 beqz a4,5798 <__mulsf3+0x110>
|
|
56e2: 0ff00793 li a5,255
|
|
56e6: 02f70c63 beq a4,a5,571e <__mulsf3+0x96>
|
|
56ea: 0a8e slli s5,s5,0x3
|
|
56ec: f8170713 addi a4,a4,-127 # 3ffff81 <_data_lma+0x3ff7c55>
|
|
56f0: 040007b7 lui a5,0x4000
|
|
56f4: 00faeab3 or s5,s5,a5
|
|
56f8: 943a add s0,s0,a4
|
|
56fa: 4601 li a2,0
|
|
56fc: 012a4533 xor a0,s4,s2
|
|
5700: 47bd li a5,15
|
|
5702: 86aa mv a3,a0
|
|
5704: 00140593 addi a1,s0,1
|
|
5708: 1097e263 bltu a5,s1,580c <__mulsf3+0x184>
|
|
570c: 00003717 auipc a4,0x3
|
|
5710: a4470713 addi a4,a4,-1468 # 8150 <mosTemperADC+0x790>
|
|
5714: 048a slli s1,s1,0x2
|
|
5716: 94ba add s1,s1,a4
|
|
5718: 409c lw a5,0(s1)
|
|
571a: 97ba add a5,a5,a4
|
|
571c: 8782 jr a5
|
|
571e: 0ff40413 addi s0,s0,255
|
|
5722: 0c0a9863 bnez s5,57f2 <__mulsf3+0x16a>
|
|
5726: 0024e493 ori s1,s1,2
|
|
572a: 4609 li a2,2
|
|
572c: bfc1 j 56fc <__mulsf3+0x74>
|
|
572e: 4501 li a0,0
|
|
5730: 0ff00713 li a4,255
|
|
5734: 004007b7 lui a5,0x400
|
|
5738: 50b2 lw ra,44(sp)
|
|
573a: 5422 lw s0,40(sp)
|
|
573c: 07a6 slli a5,a5,0x9
|
|
573e: 075e slli a4,a4,0x17
|
|
5740: 83a5 srli a5,a5,0x9
|
|
5742: 057e slli a0,a0,0x1f
|
|
5744: 8fd9 or a5,a5,a4
|
|
5746: 5492 lw s1,36(sp)
|
|
5748: 5902 lw s2,32(sp)
|
|
574a: 49f2 lw s3,28(sp)
|
|
574c: 4a62 lw s4,24(sp)
|
|
574e: 4ad2 lw s5,20(sp)
|
|
5750: 4b42 lw s6,16(sp)
|
|
5752: 8d5d or a0,a0,a5
|
|
5754: 6145 addi sp,sp,48
|
|
5756: 8082 ret
|
|
5758: 86ca mv a3,s2
|
|
575a: 89d6 mv s3,s5
|
|
575c: 8b32 mv s6,a2
|
|
575e: 4789 li a5,2
|
|
5760: 0afb0163 beq s6,a5,5802 <__mulsf3+0x17a>
|
|
5764: 478d li a5,3
|
|
5766: fcfb04e3 beq s6,a5,572e <__mulsf3+0xa6>
|
|
576a: 4785 li a5,1
|
|
576c: 8536 mv a0,a3
|
|
576e: 1afb1263 bne s6,a5,5912 <__mulsf3+0x28a>
|
|
5772: 4701 li a4,0
|
|
5774: 4781 li a5,0
|
|
5776: b7c9 j 5738 <__mulsf3+0xb0>
|
|
5778: 04099e63 bnez s3,57d4 <__mulsf3+0x14c>
|
|
577c: 0175d713 srli a4,a1,0x17
|
|
5780: 00959a93 slli s5,a1,0x9
|
|
5784: 0ff77713 andi a4,a4,255
|
|
5788: 4491 li s1,4
|
|
578a: 4401 li s0,0
|
|
578c: 4b05 li s6,1
|
|
578e: 009ada93 srli s5,s5,0x9
|
|
5792: 01f5d913 srli s2,a1,0x1f
|
|
5796: f731 bnez a4,56e2 <__mulsf3+0x5a>
|
|
5798: 000a9d63 bnez s5,57b2 <__mulsf3+0x12a>
|
|
579c: 0014e493 ori s1,s1,1
|
|
57a0: 4605 li a2,1
|
|
57a2: bfa9 j 56fc <__mulsf3+0x74>
|
|
57a4: 02099363 bnez s3,57ca <__mulsf3+0x142>
|
|
57a8: 44a1 li s1,8
|
|
57aa: 0ff00413 li s0,255
|
|
57ae: 4b09 li s6,2
|
|
57b0: bf31 j 56cc <__mulsf3+0x44>
|
|
57b2: 8556 mv a0,s5
|
|
57b4: 153000ef jal ra,6106 <__clzsi2>
|
|
57b8: ffb50793 addi a5,a0,-5
|
|
57bc: 8c09 sub s0,s0,a0
|
|
57be: 00fa9ab3 sll s5,s5,a5
|
|
57c2: f8a40413 addi s0,s0,-118
|
|
57c6: 4601 li a2,0
|
|
57c8: bf15 j 56fc <__mulsf3+0x74>
|
|
57ca: 44b1 li s1,12
|
|
57cc: 0ff00413 li s0,255
|
|
57d0: 4b0d li s6,3
|
|
57d2: bded j 56cc <__mulsf3+0x44>
|
|
57d4: 854e mv a0,s3
|
|
57d6: c62e sw a1,12(sp)
|
|
57d8: 12f000ef jal ra,6106 <__clzsi2>
|
|
57dc: ffb50793 addi a5,a0,-5
|
|
57e0: f8a00413 li s0,-118
|
|
57e4: 00f999b3 sll s3,s3,a5
|
|
57e8: 8c09 sub s0,s0,a0
|
|
57ea: 4481 li s1,0
|
|
57ec: 4b01 li s6,0
|
|
57ee: 45b2 lw a1,12(sp)
|
|
57f0: bdf1 j 56cc <__mulsf3+0x44>
|
|
57f2: 0034e493 ori s1,s1,3
|
|
57f6: 460d li a2,3
|
|
57f8: b711 j 56fc <__mulsf3+0x74>
|
|
57fa: 4789 li a5,2
|
|
57fc: 86d2 mv a3,s4
|
|
57fe: f6fb13e3 bne s6,a5,5764 <__mulsf3+0xdc>
|
|
5802: 8536 mv a0,a3
|
|
5804: 0ff00713 li a4,255
|
|
5808: 4781 li a5,0
|
|
580a: b73d j 5738 <__mulsf3+0xb0>
|
|
580c: 6341 lui t1,0x10
|
|
580e: fff30693 addi a3,t1,-1 # ffff <_data_lma+0x7cd3>
|
|
5812: 0109d613 srli a2,s3,0x10
|
|
5816: 010ad893 srli a7,s5,0x10
|
|
581a: 00d9f7b3 and a5,s3,a3
|
|
581e: 00dafab3 and s5,s5,a3
|
|
5822: 03578833 mul a6,a5,s5
|
|
5826: 02f889b3 mul s3,a7,a5
|
|
582a: 01085713 srli a4,a6,0x10
|
|
582e: 03560ab3 mul s5,a2,s5
|
|
5832: 99d6 add s3,s3,s5
|
|
5834: 974e add a4,a4,s3
|
|
5836: 03160633 mul a2,a2,a7
|
|
583a: 01577363 bgeu a4,s5,5840 <__mulsf3+0x1b8>
|
|
583e: 961a add a2,a2,t1
|
|
5840: 67c1 lui a5,0x10
|
|
5842: 17fd addi a5,a5,-1
|
|
5844: 00f776b3 and a3,a4,a5
|
|
5848: 00f87833 and a6,a6,a5
|
|
584c: 06c2 slli a3,a3,0x10
|
|
584e: 96c2 add a3,a3,a6
|
|
5850: 00669993 slli s3,a3,0x6
|
|
5854: 01075793 srli a5,a4,0x10
|
|
5858: 013039b3 snez s3,s3
|
|
585c: 82e9 srli a3,a3,0x1a
|
|
585e: 97b2 add a5,a5,a2
|
|
5860: 079a slli a5,a5,0x6
|
|
5862: 00d9e6b3 or a3,s3,a3
|
|
5866: 00d7e9b3 or s3,a5,a3
|
|
586a: 00499793 slli a5,s3,0x4
|
|
586e: 0007d963 bgez a5,5880 <__mulsf3+0x1f8>
|
|
5872: 0019d713 srli a4,s3,0x1
|
|
5876: 0019f793 andi a5,s3,1
|
|
587a: 00f769b3 or s3,a4,a5
|
|
587e: 842e mv s0,a1
|
|
5880: 07f40713 addi a4,s0,127
|
|
5884: 04e05063 blez a4,58c4 <__mulsf3+0x23c>
|
|
5888: 0079f793 andi a5,s3,7
|
|
588c: c799 beqz a5,589a <__mulsf3+0x212>
|
|
588e: 00f9f793 andi a5,s3,15
|
|
5892: 4691 li a3,4
|
|
5894: 00d78363 beq a5,a3,589a <__mulsf3+0x212>
|
|
5898: 0991 addi s3,s3,4
|
|
589a: 00499793 slli a5,s3,0x4
|
|
589e: 0007d963 bgez a5,58b0 <__mulsf3+0x228>
|
|
58a2: f80007b7 lui a5,0xf8000
|
|
58a6: 17fd addi a5,a5,-1
|
|
58a8: 00f9f9b3 and s3,s3,a5
|
|
58ac: 08040713 addi a4,s0,128
|
|
58b0: 0fe00793 li a5,254
|
|
58b4: 04e7cb63 blt a5,a4,590a <__mulsf3+0x282>
|
|
58b8: 00699793 slli a5,s3,0x6
|
|
58bc: 83a5 srli a5,a5,0x9
|
|
58be: 0ff77713 andi a4,a4,255
|
|
58c2: bd9d j 5738 <__mulsf3+0xb0>
|
|
58c4: 4785 li a5,1
|
|
58c6: 40e786b3 sub a3,a5,a4
|
|
58ca: c711 beqz a4,58d6 <__mulsf3+0x24e>
|
|
58cc: 466d li a2,27
|
|
58ce: 4701 li a4,0
|
|
58d0: 4781 li a5,0
|
|
58d2: e6d643e3 blt a2,a3,5738 <__mulsf3+0xb0>
|
|
58d6: 09e40713 addi a4,s0,158
|
|
58da: 00e99733 sll a4,s3,a4
|
|
58de: 00e03733 snez a4,a4
|
|
58e2: 00d9d7b3 srl a5,s3,a3
|
|
58e6: 8fd9 or a5,a5,a4
|
|
58e8: 0077f713 andi a4,a5,7
|
|
58ec: c719 beqz a4,58fa <__mulsf3+0x272>
|
|
58ee: 00f7f713 andi a4,a5,15
|
|
58f2: 4691 li a3,4
|
|
58f4: 00d70363 beq a4,a3,58fa <__mulsf3+0x272>
|
|
58f8: 0791 addi a5,a5,4
|
|
58fa: 00579713 slli a4,a5,0x5
|
|
58fe: 00074c63 bltz a4,5916 <__mulsf3+0x28e>
|
|
5902: 079a slli a5,a5,0x6
|
|
5904: 83a5 srli a5,a5,0x9
|
|
5906: 4701 li a4,0
|
|
5908: bd05 j 5738 <__mulsf3+0xb0>
|
|
590a: 0ff00713 li a4,255
|
|
590e: 4781 li a5,0
|
|
5910: b525 j 5738 <__mulsf3+0xb0>
|
|
5912: 842e mv s0,a1
|
|
5914: b7b5 j 5880 <__mulsf3+0x1f8>
|
|
5916: 4705 li a4,1
|
|
5918: 4781 li a5,0
|
|
591a: bd39 j 5738 <__mulsf3+0xb0>
|
|
|
|
0000591c <__subsf3>:
|
|
591c: 00800737 lui a4,0x800
|
|
5920: 1141 addi sp,sp,-16
|
|
5922: 177d addi a4,a4,-1
|
|
5924: 01755693 srli a3,a0,0x17
|
|
5928: 0175d813 srli a6,a1,0x17
|
|
592c: 00a777b3 and a5,a4,a0
|
|
5930: 0ff6f693 andi a3,a3,255
|
|
5934: 01f55e93 srli t4,a0,0x1f
|
|
5938: 00b77633 and a2,a4,a1
|
|
593c: c226 sw s1,4(sp)
|
|
593e: c04a sw s2,0(sp)
|
|
5940: 0ff87813 andi a6,a6,255
|
|
5944: c606 sw ra,12(sp)
|
|
5946: c422 sw s0,8(sp)
|
|
5948: 0ff00313 li t1,255
|
|
594c: 8e3e mv t3,a5
|
|
594e: 8936 mv s2,a3
|
|
5950: 84f6 mv s1,t4
|
|
5952: 00379f13 slli t5,a5,0x3
|
|
5956: 81fd srli a1,a1,0x1f
|
|
5958: 00361513 slli a0,a2,0x3
|
|
595c: 410688b3 sub a7,a3,a6
|
|
5960: 10680263 beq a6,t1,5a64 <__subsf3+0x148>
|
|
5964: 0015c593 xori a1,a1,1
|
|
5968: 10be8c63 beq t4,a1,5a80 <__subsf3+0x164>
|
|
596c: 0d105463 blez a7,5a34 <__subsf3+0x118>
|
|
5970: 10081063 bnez a6,5a70 <__subsf3+0x154>
|
|
5974: 1e050463 beqz a0,5b5c <__subsf3+0x240>
|
|
5978: 18fd addi a7,a7,-1
|
|
597a: 40af07b3 sub a5,t5,a0
|
|
597e: 02088663 beqz a7,59aa <__subsf3+0x8e>
|
|
5982: 0ff00793 li a5,255
|
|
5986: 16f68863 beq a3,a5,5af6 <__subsf3+0x1da>
|
|
598a: 47ed li a5,27
|
|
598c: 2917c763 blt a5,a7,5c1a <__subsf3+0x2fe>
|
|
5990: 02000713 li a4,32
|
|
5994: 41170733 sub a4,a4,a7
|
|
5998: 00e51733 sll a4,a0,a4
|
|
599c: 011557b3 srl a5,a0,a7
|
|
59a0: 00e03733 snez a4,a4
|
|
59a4: 8fd9 or a5,a5,a4
|
|
59a6: 40ff07b3 sub a5,t5,a5
|
|
59aa: 00579713 slli a4,a5,0x5
|
|
59ae: 1a075163 bgez a4,5b50 <__subsf3+0x234>
|
|
59b2: 04000437 lui s0,0x4000
|
|
59b6: 147d addi s0,s0,-1
|
|
59b8: 8c7d and s0,s0,a5
|
|
59ba: 8522 mv a0,s0
|
|
59bc: 27a9 jal 6106 <__clzsi2>
|
|
59be: 156d addi a0,a0,-5
|
|
59c0: 00a417b3 sll a5,s0,a0
|
|
59c4: 1b254e63 blt a0,s2,5b80 <__subsf3+0x264>
|
|
59c8: 41250533 sub a0,a0,s2
|
|
59cc: 00150413 addi s0,a0,1
|
|
59d0: 02000713 li a4,32
|
|
59d4: 8f01 sub a4,a4,s0
|
|
59d6: 00e79733 sll a4,a5,a4
|
|
59da: 00e03733 snez a4,a4
|
|
59de: 0087d7b3 srl a5,a5,s0
|
|
59e2: 8fd9 or a5,a5,a4
|
|
59e4: 4901 li s2,0
|
|
59e6: 0077f713 andi a4,a5,7
|
|
59ea: c719 beqz a4,59f8 <__subsf3+0xdc>
|
|
59ec: 00f7f713 andi a4,a5,15
|
|
59f0: 4691 li a3,4
|
|
59f2: 00d70363 beq a4,a3,59f8 <__subsf3+0xdc>
|
|
59f6: 0791 addi a5,a5,4
|
|
59f8: 00579713 slli a4,a5,0x5
|
|
59fc: 14075e63 bgez a4,5b58 <__subsf3+0x23c>
|
|
5a00: 00190693 addi a3,s2,1 # 800001 <_data_lma+0x7f7cd5>
|
|
5a04: 0ff00713 li a4,255
|
|
5a08: 0014fe93 andi t4,s1,1
|
|
5a0c: 16e68663 beq a3,a4,5b78 <__subsf3+0x25c>
|
|
5a10: 079a slli a5,a5,0x6
|
|
5a12: 83a5 srli a5,a5,0x9
|
|
5a14: 0ff6f693 andi a3,a3,255
|
|
5a18: 07a6 slli a5,a5,0x9
|
|
5a1a: 40b2 lw ra,12(sp)
|
|
5a1c: 4422 lw s0,8(sp)
|
|
5a1e: 0097d513 srli a0,a5,0x9
|
|
5a22: 06de slli a3,a3,0x17
|
|
5a24: 01fe9793 slli a5,t4,0x1f
|
|
5a28: 8d55 or a0,a0,a3
|
|
5a2a: 4492 lw s1,4(sp)
|
|
5a2c: 4902 lw s2,0(sp)
|
|
5a2e: 8d5d or a0,a0,a5
|
|
5a30: 0141 addi sp,sp,16
|
|
5a32: 8082 ret
|
|
5a34: 0a089263 bnez a7,5ad8 <__subsf3+0x1bc>
|
|
5a38: 00168713 addi a4,a3,1
|
|
5a3c: 0fe77713 andi a4,a4,254
|
|
5a40: 14071b63 bnez a4,5b96 <__subsf3+0x27a>
|
|
5a44: 22069463 bnez a3,5c6c <__subsf3+0x350>
|
|
5a48: 200f0263 beqz t5,5c4c <__subsf3+0x330>
|
|
5a4c: d571 beqz a0,5a18 <__subsf3+0xfc>
|
|
5a4e: 40af07b3 sub a5,t5,a0
|
|
5a52: 00579713 slli a4,a5,0x5
|
|
5a56: 22075563 bgez a4,5c80 <__subsf3+0x364>
|
|
5a5a: 41e507b3 sub a5,a0,t5
|
|
5a5e: 4901 li s2,0
|
|
5a60: 84ae mv s1,a1
|
|
5a62: b751 j 59e6 <__subsf3+0xca>
|
|
5a64: f00500e3 beqz a0,5964 <__subsf3+0x48>
|
|
5a68: 0abe8a63 beq t4,a1,5b1c <__subsf3+0x200>
|
|
5a6c: fd1054e3 blez a7,5a34 <__subsf3+0x118>
|
|
5a70: 0ff00793 li a5,255
|
|
5a74: 08f68163 beq a3,a5,5af6 <__subsf3+0x1da>
|
|
5a78: 040007b7 lui a5,0x4000
|
|
5a7c: 8d5d or a0,a0,a5
|
|
5a7e: b731 j 598a <__subsf3+0x6e>
|
|
5a80: 09105e63 blez a7,5b1c <__subsf3+0x200>
|
|
5a84: 08080163 beqz a6,5b06 <__subsf3+0x1ea>
|
|
5a88: 0ff00793 li a5,255
|
|
5a8c: 06f68563 beq a3,a5,5af6 <__subsf3+0x1da>
|
|
5a90: 040007b7 lui a5,0x4000
|
|
5a94: 8d5d or a0,a0,a5
|
|
5a96: 47ed li a5,27
|
|
5a98: 1f17c063 blt a5,a7,5c78 <__subsf3+0x35c>
|
|
5a9c: 02000713 li a4,32
|
|
5aa0: 41170733 sub a4,a4,a7
|
|
5aa4: 00e51733 sll a4,a0,a4
|
|
5aa8: 011557b3 srl a5,a0,a7
|
|
5aac: 00e03733 snez a4,a4
|
|
5ab0: 8fd9 or a5,a5,a4
|
|
5ab2: 97fa add a5,a5,t5
|
|
5ab4: 00579713 slli a4,a5,0x5
|
|
5ab8: 08075c63 bgez a4,5b50 <__subsf3+0x234>
|
|
5abc: 0905 addi s2,s2,1
|
|
5abe: 0ff00713 li a4,255
|
|
5ac2: 0ae90b63 beq s2,a4,5b78 <__subsf3+0x25c>
|
|
5ac6: 7e0006b7 lui a3,0x7e000
|
|
5aca: 0017d713 srli a4,a5,0x1
|
|
5ace: 16fd addi a3,a3,-1
|
|
5ad0: 8b85 andi a5,a5,1
|
|
5ad2: 8f75 and a4,a4,a3
|
|
5ad4: 8fd9 or a5,a5,a4
|
|
5ad6: bf01 j 59e6 <__subsf3+0xca>
|
|
5ad8: 40d80733 sub a4,a6,a3
|
|
5adc: 10069563 bnez a3,5be6 <__subsf3+0x2ca>
|
|
5ae0: 140f0d63 beqz t5,5c3a <__subsf3+0x31e>
|
|
5ae4: 177d addi a4,a4,-1
|
|
5ae6: 1a070363 beqz a4,5c8c <__subsf3+0x370>
|
|
5aea: 0ff00793 li a5,255
|
|
5aee: 10f81463 bne a6,a5,5bf6 <__subsf3+0x2da>
|
|
5af2: 84ae mv s1,a1
|
|
5af4: 8e32 mv t3,a2
|
|
5af6: 060e0f63 beqz t3,5b74 <__subsf3+0x258>
|
|
5afa: 4e81 li t4,0
|
|
5afc: 0ff00693 li a3,255
|
|
5b00: 004007b7 lui a5,0x400
|
|
5b04: bf11 j 5a18 <__subsf3+0xfc>
|
|
5b06: c939 beqz a0,5b5c <__subsf3+0x240>
|
|
5b08: 18fd addi a7,a7,-1
|
|
5b0a: 00af07b3 add a5,t5,a0
|
|
5b0e: fa0883e3 beqz a7,5ab4 <__subsf3+0x198>
|
|
5b12: 0ff00793 li a5,255
|
|
5b16: f8f690e3 bne a3,a5,5a96 <__subsf3+0x17a>
|
|
5b1a: bff1 j 5af6 <__subsf3+0x1da>
|
|
5b1c: 08089963 bnez a7,5bae <__subsf3+0x292>
|
|
5b20: 00168913 addi s2,a3,1 # 7e000001 <_eusrstack+0x5dffb001>
|
|
5b24: 0fe97713 andi a4,s2,254
|
|
5b28: 12071663 bnez a4,5c54 <__subsf3+0x338>
|
|
5b2c: 10069b63 bnez a3,5c42 <__subsf3+0x326>
|
|
5b30: 160f0363 beqz t5,5c96 <__subsf3+0x37a>
|
|
5b34: ee0502e3 beqz a0,5a18 <__subsf3+0xfc>
|
|
5b38: 00af07b3 add a5,t5,a0
|
|
5b3c: 00579713 slli a4,a5,0x5
|
|
5b40: 4901 li s2,0
|
|
5b42: 00075763 bgez a4,5b50 <__subsf3+0x234>
|
|
5b46: fc000737 lui a4,0xfc000
|
|
5b4a: 177d addi a4,a4,-1
|
|
5b4c: 8ff9 and a5,a5,a4
|
|
5b4e: 4905 li s2,1
|
|
5b50: 0077f713 andi a4,a5,7
|
|
5b54: e8071ce3 bnez a4,59ec <__subsf3+0xd0>
|
|
5b58: 0037de13 srli t3,a5,0x3
|
|
5b5c: 0ff00793 li a5,255
|
|
5b60: f8f90be3 beq s2,a5,5af6 <__subsf3+0x1da>
|
|
5b64: 009e1793 slli a5,t3,0x9
|
|
5b68: 83a5 srli a5,a5,0x9
|
|
5b6a: 0ff97693 andi a3,s2,255
|
|
5b6e: 0014fe93 andi t4,s1,1
|
|
5b72: b55d j 5a18 <__subsf3+0xfc>
|
|
5b74: 0014fe93 andi t4,s1,1
|
|
5b78: 0ff00693 li a3,255
|
|
5b7c: 4781 li a5,0
|
|
5b7e: bd69 j 5a18 <__subsf3+0xfc>
|
|
5b80: fc000737 lui a4,0xfc000
|
|
5b84: 177d addi a4,a4,-1
|
|
5b86: 8ff9 and a5,a5,a4
|
|
5b88: 0077f713 andi a4,a5,7
|
|
5b8c: 40a90933 sub s2,s2,a0
|
|
5b90: e4071ee3 bnez a4,59ec <__subsf3+0xd0>
|
|
5b94: b7d1 j 5b58 <__subsf3+0x23c>
|
|
5b96: 40af0433 sub s0,t5,a0
|
|
5b9a: 00541793 slli a5,s0,0x5
|
|
5b9e: 0c07c363 bltz a5,5c64 <__subsf3+0x348>
|
|
5ba2: e0041ce3 bnez s0,59ba <__subsf3+0x9e>
|
|
5ba6: 4e81 li t4,0
|
|
5ba8: 4681 li a3,0
|
|
5baa: 4781 li a5,0
|
|
5bac: b5b5 j 5a18 <__subsf3+0xfc>
|
|
5bae: 40d80733 sub a4,a6,a3
|
|
5bb2: c6b5 beqz a3,5c1e <__subsf3+0x302>
|
|
5bb4: 0ff00793 li a5,255
|
|
5bb8: f2f80ee3 beq a6,a5,5af4 <__subsf3+0x1d8>
|
|
5bbc: 040007b7 lui a5,0x4000
|
|
5bc0: 00ff6f33 or t5,t5,a5
|
|
5bc4: 47ed li a5,27
|
|
5bc6: 0ce7cd63 blt a5,a4,5ca0 <__subsf3+0x384>
|
|
5bca: 02000793 li a5,32
|
|
5bce: 8f99 sub a5,a5,a4
|
|
5bd0: 00ff17b3 sll a5,t5,a5
|
|
5bd4: 00ef5733 srl a4,t5,a4
|
|
5bd8: 00f037b3 snez a5,a5
|
|
5bdc: 8f5d or a4,a4,a5
|
|
5bde: 00a707b3 add a5,a4,a0
|
|
5be2: 8942 mv s2,a6
|
|
5be4: bdc1 j 5ab4 <__subsf3+0x198>
|
|
5be6: 0ff00793 li a5,255
|
|
5bea: f0f804e3 beq a6,a5,5af2 <__subsf3+0x1d6>
|
|
5bee: 040007b7 lui a5,0x4000
|
|
5bf2: 00ff6f33 or t5,t5,a5
|
|
5bf6: 47ed li a5,27
|
|
5bf8: 08e7c263 blt a5,a4,5c7c <__subsf3+0x360>
|
|
5bfc: 02000793 li a5,32
|
|
5c00: 8f99 sub a5,a5,a4
|
|
5c02: 00ff17b3 sll a5,t5,a5
|
|
5c06: 00ef5733 srl a4,t5,a4
|
|
5c0a: 00f037b3 snez a5,a5
|
|
5c0e: 8fd9 or a5,a5,a4
|
|
5c10: 40f507b3 sub a5,a0,a5
|
|
5c14: 8942 mv s2,a6
|
|
5c16: 84ae mv s1,a1
|
|
5c18: bb49 j 59aa <__subsf3+0x8e>
|
|
5c1a: 4785 li a5,1
|
|
5c1c: b369 j 59a6 <__subsf3+0x8a>
|
|
5c1e: 060f0e63 beqz t5,5c9a <__subsf3+0x37e>
|
|
5c22: 177d addi a4,a4,-1
|
|
5c24: 00af07b3 add a5,t5,a0
|
|
5c28: 8942 mv s2,a6
|
|
5c2a: e80705e3 beqz a4,5ab4 <__subsf3+0x198>
|
|
5c2e: 0ff00793 li a5,255
|
|
5c32: f8f819e3 bne a6,a5,5bc4 <__subsf3+0x2a8>
|
|
5c36: 8e32 mv t3,a2
|
|
5c38: bd7d j 5af6 <__subsf3+0x1da>
|
|
5c3a: 8e32 mv t3,a2
|
|
5c3c: 8942 mv s2,a6
|
|
5c3e: 84ae mv s1,a1
|
|
5c40: bf31 j 5b5c <__subsf3+0x240>
|
|
5c42: ea0f09e3 beqz t5,5af4 <__subsf3+0x1d8>
|
|
5c46: ea0508e3 beqz a0,5af6 <__subsf3+0x1da>
|
|
5c4a: bd45 j 5afa <__subsf3+0x1de>
|
|
5c4c: cd0d beqz a0,5c86 <__subsf3+0x36a>
|
|
5c4e: 8eae mv t4,a1
|
|
5c50: 87b2 mv a5,a2
|
|
5c52: b3d9 j 5a18 <__subsf3+0xfc>
|
|
5c54: 0ff00793 li a5,255
|
|
5c58: f2f900e3 beq s2,a5,5b78 <__subsf3+0x25c>
|
|
5c5c: 00af07b3 add a5,t5,a0
|
|
5c60: 8385 srli a5,a5,0x1
|
|
5c62: b5fd j 5b50 <__subsf3+0x234>
|
|
5c64: 41e50433 sub s0,a0,t5
|
|
5c68: 84ae mv s1,a1
|
|
5c6a: bb81 j 59ba <__subsf3+0x9e>
|
|
5c6c: fc0f1de3 bnez t5,5c46 <__subsf3+0x32a>
|
|
5c70: e80505e3 beqz a0,5afa <__subsf3+0x1de>
|
|
5c74: 84ae mv s1,a1
|
|
5c76: bdbd j 5af4 <__subsf3+0x1d8>
|
|
5c78: 4785 li a5,1
|
|
5c7a: bd25 j 5ab2 <__subsf3+0x196>
|
|
5c7c: 4785 li a5,1
|
|
5c7e: bf49 j 5c10 <__subsf3+0x2f4>
|
|
5c80: 4901 li s2,0
|
|
5c82: ec0797e3 bnez a5,5b50 <__subsf3+0x234>
|
|
5c86: 4e81 li t4,0
|
|
5c88: 4781 li a5,0
|
|
5c8a: b379 j 5a18 <__subsf3+0xfc>
|
|
5c8c: 41e507b3 sub a5,a0,t5
|
|
5c90: 8942 mv s2,a6
|
|
5c92: 84ae mv s1,a1
|
|
5c94: bb19 j 59aa <__subsf3+0x8e>
|
|
5c96: 87b2 mv a5,a2
|
|
5c98: b341 j 5a18 <__subsf3+0xfc>
|
|
5c9a: 8e32 mv t3,a2
|
|
5c9c: 8942 mv s2,a6
|
|
5c9e: bd7d j 5b5c <__subsf3+0x240>
|
|
5ca0: 4705 li a4,1
|
|
5ca2: bf35 j 5bde <__subsf3+0x2c2>
|
|
|
|
00005ca4 <__fixsfsi>:
|
|
5ca4: 00800637 lui a2,0x800
|
|
5ca8: 01755713 srli a4,a0,0x17
|
|
5cac: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7f7cd3>
|
|
5cb0: 0ff77713 andi a4,a4,255
|
|
5cb4: 07e00593 li a1,126
|
|
5cb8: 00a7f6b3 and a3,a5,a0
|
|
5cbc: 01f55793 srli a5,a0,0x1f
|
|
5cc0: 00e5fc63 bgeu a1,a4,5cd8 <__fixsfsi+0x34>
|
|
5cc4: 09d00593 li a1,157
|
|
5cc8: 00e5fa63 bgeu a1,a4,5cdc <__fixsfsi+0x38>
|
|
5ccc: 80000537 lui a0,0x80000
|
|
5cd0: fff54513 not a0,a0
|
|
5cd4: 953e add a0,a0,a5
|
|
5cd6: 8082 ret
|
|
5cd8: 4501 li a0,0
|
|
5cda: 8082 ret
|
|
5cdc: 09500593 li a1,149
|
|
5ce0: 8ed1 or a3,a3,a2
|
|
5ce2: 00e5cd63 blt a1,a4,5cfc <__fixsfsi+0x58>
|
|
5ce6: 09600613 li a2,150
|
|
5cea: 40e60733 sub a4,a2,a4
|
|
5cee: 00e6d733 srl a4,a3,a4
|
|
5cf2: 40e00533 neg a0,a4
|
|
5cf6: f3f5 bnez a5,5cda <__fixsfsi+0x36>
|
|
5cf8: 853a mv a0,a4
|
|
5cfa: 8082 ret
|
|
5cfc: f6a70713 addi a4,a4,-150 # fbffff6a <_eusrstack+0xdbffaf6a>
|
|
5d00: 00e69733 sll a4,a3,a4
|
|
5d04: b7fd j 5cf2 <__fixsfsi+0x4e>
|
|
|
|
00005d06 <__fixunssfsi>:
|
|
5d06: 01755713 srli a4,a0,0x17
|
|
5d0a: 00800637 lui a2,0x800
|
|
5d0e: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7f7cd3>
|
|
5d12: 0ff77713 andi a4,a4,255
|
|
5d16: 07e00593 li a1,126
|
|
5d1a: 00a7f6b3 and a3,a5,a0
|
|
5d1e: 01f55793 srli a5,a0,0x1f
|
|
5d22: 4501 li a0,0
|
|
5d24: 00e5f463 bgeu a1,a4,5d2c <__fixunssfsi+0x26>
|
|
5d28: c399 beqz a5,5d2e <__fixunssfsi+0x28>
|
|
5d2a: 8082 ret
|
|
5d2c: 8082 ret
|
|
5d2e: 09e00793 li a5,158
|
|
5d32: 557d li a0,-1
|
|
5d34: fee7ebe3 bltu a5,a4,5d2a <__fixunssfsi+0x24>
|
|
5d38: 09500593 li a1,149
|
|
5d3c: 00c6e7b3 or a5,a3,a2
|
|
5d40: 00e5d763 bge a1,a4,5d4e <__fixunssfsi+0x48>
|
|
5d44: f6a70713 addi a4,a4,-150
|
|
5d48: 00e79533 sll a0,a5,a4
|
|
5d4c: 8082 ret
|
|
5d4e: 09600513 li a0,150
|
|
5d52: 40e50733 sub a4,a0,a4
|
|
5d56: 00e7d533 srl a0,a5,a4
|
|
5d5a: 8082 ret
|
|
|
|
00005d5c <__floatsisf>:
|
|
5d5c: 1141 addi sp,sp,-16
|
|
5d5e: c606 sw ra,12(sp)
|
|
5d60: c422 sw s0,8(sp)
|
|
5d62: c226 sw s1,4(sp)
|
|
5d64: cd0d beqz a0,5d9e <__floatsisf+0x42>
|
|
5d66: 41f55793 srai a5,a0,0x1f
|
|
5d6a: 00a7c433 xor s0,a5,a0
|
|
5d6e: 8c1d sub s0,s0,a5
|
|
5d70: 84aa mv s1,a0
|
|
5d72: 8522 mv a0,s0
|
|
5d74: 2e49 jal 6106 <__clzsi2>
|
|
5d76: 09e00793 li a5,158
|
|
5d7a: 40a78733 sub a4,a5,a0
|
|
5d7e: 09600793 li a5,150
|
|
5d82: 80fd srli s1,s1,0x1f
|
|
5d84: 02e7cc63 blt a5,a4,5dbc <__floatsisf+0x60>
|
|
5d88: 46a1 li a3,8
|
|
5d8a: 0ff77793 andi a5,a4,255
|
|
5d8e: 00a6d563 bge a3,a0,5d98 <__floatsisf+0x3c>
|
|
5d92: 1561 addi a0,a0,-8
|
|
5d94: 00a41433 sll s0,s0,a0
|
|
5d98: 0426 slli s0,s0,0x9
|
|
5d9a: 8025 srli s0,s0,0x9
|
|
5d9c: a021 j 5da4 <__floatsisf+0x48>
|
|
5d9e: 4481 li s1,0
|
|
5da0: 4781 li a5,0
|
|
5da2: 4401 li s0,0
|
|
5da4: 0426 slli s0,s0,0x9
|
|
5da6: 00945513 srli a0,s0,0x9
|
|
5daa: 40b2 lw ra,12(sp)
|
|
5dac: 4422 lw s0,8(sp)
|
|
5dae: 07de slli a5,a5,0x17
|
|
5db0: 04fe slli s1,s1,0x1f
|
|
5db2: 8d5d or a0,a0,a5
|
|
5db4: 8d45 or a0,a0,s1
|
|
5db6: 4492 lw s1,4(sp)
|
|
5db8: 0141 addi sp,sp,16
|
|
5dba: 8082 ret
|
|
5dbc: 09900793 li a5,153
|
|
5dc0: 00e7dd63 bge a5,a4,5dda <__floatsisf+0x7e>
|
|
5dc4: 01b50793 addi a5,a0,27 # 8000001b <_eusrstack+0x5fffb01b>
|
|
5dc8: 4695 li a3,5
|
|
5dca: 00f417b3 sll a5,s0,a5
|
|
5dce: 8e89 sub a3,a3,a0
|
|
5dd0: 00d45433 srl s0,s0,a3
|
|
5dd4: 00f037b3 snez a5,a5
|
|
5dd8: 8c5d or s0,s0,a5
|
|
5dda: 4795 li a5,5
|
|
5ddc: 00a7d663 bge a5,a0,5de8 <__floatsisf+0x8c>
|
|
5de0: ffb50793 addi a5,a0,-5
|
|
5de4: 00f41433 sll s0,s0,a5
|
|
5de8: fc0006b7 lui a3,0xfc000
|
|
5dec: 16fd addi a3,a3,-1
|
|
5dee: 00747793 andi a5,s0,7
|
|
5df2: 00d47633 and a2,s0,a3
|
|
5df6: c385 beqz a5,5e16 <__floatsisf+0xba>
|
|
5df8: 00f47793 andi a5,s0,15
|
|
5dfc: 4591 li a1,4
|
|
5dfe: 00b78c63 beq a5,a1,5e16 <__floatsisf+0xba>
|
|
5e02: 0611 addi a2,a2,4
|
|
5e04: 00561793 slli a5,a2,0x5
|
|
5e08: 0007d763 bgez a5,5e16 <__floatsisf+0xba>
|
|
5e0c: 09f00793 li a5,159
|
|
5e10: 8e75 and a2,a2,a3
|
|
5e12: 40a78733 sub a4,a5,a0
|
|
5e16: 00661413 slli s0,a2,0x6
|
|
5e1a: 8025 srli s0,s0,0x9
|
|
5e1c: 0ff77793 andi a5,a4,255
|
|
5e20: b751 j 5da4 <__floatsisf+0x48>
|
|
|
|
00005e22 <__floatunsisf>:
|
|
5e22: 1141 addi sp,sp,-16
|
|
5e24: c606 sw ra,12(sp)
|
|
5e26: c422 sw s0,8(sp)
|
|
5e28: cd15 beqz a0,5e64 <__floatunsisf+0x42>
|
|
5e2a: 842a mv s0,a0
|
|
5e2c: 2ce9 jal 6106 <__clzsi2>
|
|
5e2e: 09e00793 li a5,158
|
|
5e32: 40a78733 sub a4,a5,a0
|
|
5e36: 09600793 li a5,150
|
|
5e3a: 04e7c063 blt a5,a4,5e7a <__floatunsisf+0x58>
|
|
5e3e: 46a1 li a3,8
|
|
5e40: 0ff77793 andi a5,a4,255
|
|
5e44: 00a6d563 bge a3,a0,5e4e <__floatunsisf+0x2c>
|
|
5e48: 1561 addi a0,a0,-8
|
|
5e4a: 00a41433 sll s0,s0,a0
|
|
5e4e: 0426 slli s0,s0,0x9
|
|
5e50: 8025 srli s0,s0,0x9
|
|
5e52: 0426 slli s0,s0,0x9
|
|
5e54: 00945513 srli a0,s0,0x9
|
|
5e58: 40b2 lw ra,12(sp)
|
|
5e5a: 4422 lw s0,8(sp)
|
|
5e5c: 07de slli a5,a5,0x17
|
|
5e5e: 8d5d or a0,a0,a5
|
|
5e60: 0141 addi sp,sp,16
|
|
5e62: 8082 ret
|
|
5e64: 4401 li s0,0
|
|
5e66: 0426 slli s0,s0,0x9
|
|
5e68: 00945513 srli a0,s0,0x9
|
|
5e6c: 40b2 lw ra,12(sp)
|
|
5e6e: 4422 lw s0,8(sp)
|
|
5e70: 4781 li a5,0
|
|
5e72: 07de slli a5,a5,0x17
|
|
5e74: 8d5d or a0,a0,a5
|
|
5e76: 0141 addi sp,sp,16
|
|
5e78: 8082 ret
|
|
5e7a: 09900793 li a5,153
|
|
5e7e: 00e7dd63 bge a5,a4,5e98 <__floatunsisf+0x76>
|
|
5e82: 01b50793 addi a5,a0,27
|
|
5e86: 4695 li a3,5
|
|
5e88: 00f417b3 sll a5,s0,a5
|
|
5e8c: 8e89 sub a3,a3,a0
|
|
5e8e: 00f037b3 snez a5,a5
|
|
5e92: 00d45433 srl s0,s0,a3
|
|
5e96: 8c5d or s0,s0,a5
|
|
5e98: 4795 li a5,5
|
|
5e9a: 00a7d663 bge a5,a0,5ea6 <__floatunsisf+0x84>
|
|
5e9e: ffb50793 addi a5,a0,-5
|
|
5ea2: 00f41433 sll s0,s0,a5
|
|
5ea6: fc0006b7 lui a3,0xfc000
|
|
5eaa: 16fd addi a3,a3,-1
|
|
5eac: 00747793 andi a5,s0,7
|
|
5eb0: 00d47633 and a2,s0,a3
|
|
5eb4: c385 beqz a5,5ed4 <__floatunsisf+0xb2>
|
|
5eb6: 00f47793 andi a5,s0,15
|
|
5eba: 4591 li a1,4
|
|
5ebc: 00b78c63 beq a5,a1,5ed4 <__floatunsisf+0xb2>
|
|
5ec0: 0611 addi a2,a2,4
|
|
5ec2: 00561793 slli a5,a2,0x5
|
|
5ec6: 0007d763 bgez a5,5ed4 <__floatunsisf+0xb2>
|
|
5eca: 09f00793 li a5,159
|
|
5ece: 8e75 and a2,a2,a3
|
|
5ed0: 40a78733 sub a4,a5,a0
|
|
5ed4: 00661413 slli s0,a2,0x6
|
|
5ed8: 8025 srli s0,s0,0x9
|
|
5eda: 0426 slli s0,s0,0x9
|
|
5edc: 00945513 srli a0,s0,0x9
|
|
5ee0: 40b2 lw ra,12(sp)
|
|
5ee2: 4422 lw s0,8(sp)
|
|
5ee4: 0ff77793 andi a5,a4,255
|
|
5ee8: 07de slli a5,a5,0x17
|
|
5eea: 8d5d or a0,a0,a5
|
|
5eec: 0141 addi sp,sp,16
|
|
5eee: 8082 ret
|
|
|
|
00005ef0 <__extendsfdf2>:
|
|
5ef0: 01755713 srli a4,a0,0x17
|
|
5ef4: 0ff77713 andi a4,a4,255
|
|
5ef8: 1141 addi sp,sp,-16
|
|
5efa: 00170793 addi a5,a4,1
|
|
5efe: c422 sw s0,8(sp)
|
|
5f00: c226 sw s1,4(sp)
|
|
5f02: 00951413 slli s0,a0,0x9
|
|
5f06: c606 sw ra,12(sp)
|
|
5f08: 0fe7f793 andi a5,a5,254
|
|
5f0c: 8025 srli s0,s0,0x9
|
|
5f0e: 01f55493 srli s1,a0,0x1f
|
|
5f12: c785 beqz a5,5f3a <__extendsfdf2+0x4a>
|
|
5f14: 00345793 srli a5,s0,0x3
|
|
5f18: 38070713 addi a4,a4,896
|
|
5f1c: 0476 slli s0,s0,0x1d
|
|
5f1e: 07b2 slli a5,a5,0xc
|
|
5f20: 0752 slli a4,a4,0x14
|
|
5f22: 83b1 srli a5,a5,0xc
|
|
5f24: 01f49513 slli a0,s1,0x1f
|
|
5f28: 8fd9 or a5,a5,a4
|
|
5f2a: 8fc9 or a5,a5,a0
|
|
5f2c: 40b2 lw ra,12(sp)
|
|
5f2e: 8522 mv a0,s0
|
|
5f30: 4422 lw s0,8(sp)
|
|
5f32: 4492 lw s1,4(sp)
|
|
5f34: 85be mv a1,a5
|
|
5f36: 0141 addi sp,sp,16
|
|
5f38: 8082 ret
|
|
5f3a: eb05 bnez a4,5f6a <__extendsfdf2+0x7a>
|
|
5f3c: c439 beqz s0,5f8a <__extendsfdf2+0x9a>
|
|
5f3e: 8522 mv a0,s0
|
|
5f40: 22d9 jal 6106 <__clzsi2>
|
|
5f42: 47a9 li a5,10
|
|
5f44: 04a7c663 blt a5,a0,5f90 <__extendsfdf2+0xa0>
|
|
5f48: 472d li a4,11
|
|
5f4a: 8f09 sub a4,a4,a0
|
|
5f4c: 01550793 addi a5,a0,21
|
|
5f50: 00e45733 srl a4,s0,a4
|
|
5f54: 00f41433 sll s0,s0,a5
|
|
5f58: 00c71793 slli a5,a4,0xc
|
|
5f5c: 38900713 li a4,905
|
|
5f60: 8f09 sub a4,a4,a0
|
|
5f62: 83b1 srli a5,a5,0xc
|
|
5f64: 7ff77713 andi a4,a4,2047
|
|
5f68: bf5d j 5f1e <__extendsfdf2+0x2e>
|
|
5f6a: cc01 beqz s0,5f82 <__extendsfdf2+0x92>
|
|
5f6c: 00345713 srli a4,s0,0x3
|
|
5f70: 000807b7 lui a5,0x80
|
|
5f74: 8fd9 or a5,a5,a4
|
|
5f76: 07b2 slli a5,a5,0xc
|
|
5f78: 0476 slli s0,s0,0x1d
|
|
5f7a: 83b1 srli a5,a5,0xc
|
|
5f7c: 7ff00713 li a4,2047
|
|
5f80: bf79 j 5f1e <__extendsfdf2+0x2e>
|
|
5f82: 7ff00713 li a4,2047
|
|
5f86: 4781 li a5,0
|
|
5f88: bf59 j 5f1e <__extendsfdf2+0x2e>
|
|
5f8a: 4701 li a4,0
|
|
5f8c: 4781 li a5,0
|
|
5f8e: bf41 j 5f1e <__extendsfdf2+0x2e>
|
|
5f90: ff550713 addi a4,a0,-11
|
|
5f94: 00e41733 sll a4,s0,a4
|
|
5f98: 4401 li s0,0
|
|
5f9a: bf7d j 5f58 <__extendsfdf2+0x68>
|
|
|
|
00005f9c <__truncdfsf2>:
|
|
5f9c: 0145d693 srli a3,a1,0x14
|
|
5fa0: 00c59793 slli a5,a1,0xc
|
|
5fa4: 7ff6f693 andi a3,a3,2047
|
|
5fa8: 83b1 srli a5,a5,0xc
|
|
5faa: 00168613 addi a2,a3,1 # fc000001 <_eusrstack+0xdbffb001>
|
|
5fae: 078e slli a5,a5,0x3
|
|
5fb0: 01d55713 srli a4,a0,0x1d
|
|
5fb4: 7fe67613 andi a2,a2,2046
|
|
5fb8: 81fd srli a1,a1,0x1f
|
|
5fba: 8f5d or a4,a4,a5
|
|
5fbc: 00351893 slli a7,a0,0x3
|
|
5fc0: ce35 beqz a2,603c <__truncdfsf2+0xa0>
|
|
5fc2: c8068813 addi a6,a3,-896
|
|
5fc6: 0fe00793 li a5,254
|
|
5fca: 0107dd63 bge a5,a6,5fe4 <__truncdfsf2+0x48>
|
|
5fce: 4781 li a5,0
|
|
5fd0: 00979513 slli a0,a5,0x9
|
|
5fd4: 0ff00693 li a3,255
|
|
5fd8: 06de slli a3,a3,0x17
|
|
5fda: 8125 srli a0,a0,0x9
|
|
5fdc: 05fe slli a1,a1,0x1f
|
|
5fde: 8d55 or a0,a0,a3
|
|
5fe0: 8d4d or a0,a0,a1
|
|
5fe2: 8082 ret
|
|
5fe4: 0b005563 blez a6,608e <__truncdfsf2+0xf2>
|
|
5fe8: 00651793 slli a5,a0,0x6
|
|
5fec: 070e slli a4,a4,0x3
|
|
5fee: 00f037b3 snez a5,a5
|
|
5ff2: 8fd9 or a5,a5,a4
|
|
5ff4: 01d8d893 srli a7,a7,0x1d
|
|
5ff8: 0117e7b3 or a5,a5,a7
|
|
5ffc: 0077f713 andi a4,a5,7
|
|
6000: 10070163 beqz a4,6102 <__truncdfsf2+0x166>
|
|
6004: 00f7f713 andi a4,a5,15
|
|
6008: 4691 li a3,4
|
|
600a: 00d70363 beq a4,a3,6010 <__truncdfsf2+0x74>
|
|
600e: 0791 addi a5,a5,4
|
|
6010: 04000737 lui a4,0x4000
|
|
6014: 8f7d and a4,a4,a5
|
|
6016: c775 beqz a4,6102 <__truncdfsf2+0x166>
|
|
6018: 00180713 addi a4,a6,1 # 100001 <_data_lma+0xf7cd5>
|
|
601c: 0ff00613 li a2,255
|
|
6020: 0ff77693 andi a3,a4,255
|
|
6024: fac705e3 beq a4,a2,5fce <__truncdfsf2+0x32>
|
|
6028: 079a slli a5,a5,0x6
|
|
602a: 83a5 srli a5,a5,0x9
|
|
602c: 00979513 slli a0,a5,0x9
|
|
6030: 06de slli a3,a3,0x17
|
|
6032: 8125 srli a0,a0,0x9
|
|
6034: 05fe slli a1,a1,0x1f
|
|
6036: 8d55 or a0,a0,a3
|
|
6038: 8d4d or a0,a0,a1
|
|
603a: 8082 ret
|
|
603c: 011767b3 or a5,a4,a7
|
|
6040: ee99 bnez a3,605e <__truncdfsf2+0xc2>
|
|
6042: cf85 beqz a5,607a <__truncdfsf2+0xde>
|
|
6044: 4795 li a5,5
|
|
6046: 079a slli a5,a5,0x6
|
|
6048: 83a5 srli a5,a5,0x9
|
|
604a: 00979513 slli a0,a5,0x9
|
|
604e: 0ff6f693 andi a3,a3,255
|
|
6052: 06de slli a3,a3,0x17
|
|
6054: 8125 srli a0,a0,0x9
|
|
6056: 05fe slli a1,a1,0x1f
|
|
6058: 8d55 or a0,a0,a3
|
|
605a: 8d4d or a0,a0,a1
|
|
605c: 8082 ret
|
|
605e: dba5 beqz a5,5fce <__truncdfsf2+0x32>
|
|
6060: 004007b7 lui a5,0x400
|
|
6064: 00979513 slli a0,a5,0x9
|
|
6068: 0ff00693 li a3,255
|
|
606c: 06de slli a3,a3,0x17
|
|
606e: 4581 li a1,0
|
|
6070: 8125 srli a0,a0,0x9
|
|
6072: 05fe slli a1,a1,0x1f
|
|
6074: 8d55 or a0,a0,a3
|
|
6076: 8d4d or a0,a0,a1
|
|
6078: 8082 ret
|
|
607a: 4781 li a5,0
|
|
607c: 00979513 slli a0,a5,0x9
|
|
6080: 4681 li a3,0
|
|
6082: 06de slli a3,a3,0x17
|
|
6084: 8125 srli a0,a0,0x9
|
|
6086: 05fe slli a1,a1,0x1f
|
|
6088: 8d55 or a0,a0,a3
|
|
608a: 8d4d or a0,a0,a1
|
|
608c: 8082 ret
|
|
608e: 57a5 li a5,-23
|
|
6090: 04f84863 blt a6,a5,60e0 <__truncdfsf2+0x144>
|
|
6094: 47f9 li a5,30
|
|
6096: 00800637 lui a2,0x800
|
|
609a: 410787b3 sub a5,a5,a6
|
|
609e: 457d li a0,31
|
|
60a0: 8e59 or a2,a2,a4
|
|
60a2: 04f55163 bge a0,a5,60e4 <__truncdfsf2+0x148>
|
|
60a6: 5779 li a4,-2
|
|
60a8: 41070733 sub a4,a4,a6
|
|
60ac: 02000513 li a0,32
|
|
60b0: 00e65733 srl a4,a2,a4
|
|
60b4: 00a78863 beq a5,a0,60c4 <__truncdfsf2+0x128>
|
|
60b8: ca268693 addi a3,a3,-862
|
|
60bc: 00d616b3 sll a3,a2,a3
|
|
60c0: 00d8e8b3 or a7,a7,a3
|
|
60c4: 011037b3 snez a5,a7
|
|
60c8: 8fd9 or a5,a5,a4
|
|
60ca: 0077f713 andi a4,a5,7
|
|
60ce: 4801 li a6,0
|
|
60d0: fb15 bnez a4,6004 <__truncdfsf2+0x68>
|
|
60d2: 00579713 slli a4,a5,0x5
|
|
60d6: 4685 li a3,1
|
|
60d8: f40748e3 bltz a4,6028 <__truncdfsf2+0x8c>
|
|
60dc: 4681 li a3,0
|
|
60de: b7a5 j 6046 <__truncdfsf2+0xaa>
|
|
60e0: 4681 li a3,0
|
|
60e2: b78d j 6044 <__truncdfsf2+0xa8>
|
|
60e4: c8268693 addi a3,a3,-894
|
|
60e8: 00d89733 sll a4,a7,a3
|
|
60ec: 00e03733 snez a4,a4
|
|
60f0: 00d616b3 sll a3,a2,a3
|
|
60f4: 00f8d8b3 srl a7,a7,a5
|
|
60f8: 00d767b3 or a5,a4,a3
|
|
60fc: 00f8e7b3 or a5,a7,a5
|
|
6100: b7e9 j 60ca <__truncdfsf2+0x12e>
|
|
6102: 86c2 mv a3,a6
|
|
6104: b789 j 6046 <__truncdfsf2+0xaa>
|
|
|
|
00006106 <__clzsi2>:
|
|
6106: 67c1 lui a5,0x10
|
|
6108: 02f57c63 bgeu a0,a5,6140 <__clzsi2+0x3a>
|
|
610c: 0ff00793 li a5,255
|
|
6110: 02000713 li a4,32
|
|
6114: 00a7eb63 bltu a5,a0,612a <__clzsi2+0x24>
|
|
6118: 00002797 auipc a5,0x2
|
|
611c: 07878793 addi a5,a5,120 # 8190 <__clz_tab>
|
|
6120: 97aa add a5,a5,a0
|
|
6122: 2388 lbu a0,0(a5)
|
|
6124: 40a70533 sub a0,a4,a0
|
|
6128: 8082 ret
|
|
612a: 8121 srli a0,a0,0x8
|
|
612c: 00002797 auipc a5,0x2
|
|
6130: 06478793 addi a5,a5,100 # 8190 <__clz_tab>
|
|
6134: 97aa add a5,a5,a0
|
|
6136: 2388 lbu a0,0(a5)
|
|
6138: 4761 li a4,24
|
|
613a: 40a70533 sub a0,a4,a0
|
|
613e: 8082 ret
|
|
6140: 010007b7 lui a5,0x1000
|
|
6144: 00f56d63 bltu a0,a5,615e <__clzsi2+0x58>
|
|
6148: 8161 srli a0,a0,0x18
|
|
614a: 00002797 auipc a5,0x2
|
|
614e: 04678793 addi a5,a5,70 # 8190 <__clz_tab>
|
|
6152: 97aa add a5,a5,a0
|
|
6154: 2388 lbu a0,0(a5)
|
|
6156: 4721 li a4,8
|
|
6158: 40a70533 sub a0,a4,a0
|
|
615c: 8082 ret
|
|
615e: 8141 srli a0,a0,0x10
|
|
6160: 00002797 auipc a5,0x2
|
|
6164: 03078793 addi a5,a5,48 # 8190 <__clz_tab>
|
|
6168: 97aa add a5,a5,a0
|
|
616a: 2388 lbu a0,0(a5)
|
|
616c: 4741 li a4,16
|
|
616e: 40a70533 sub a0,a4,a0
|
|
6172: 8082 ret
|
|
|
|
00006174 <memcpy>:
|
|
6174: 00a5c7b3 xor a5,a1,a0
|
|
6178: 8b8d andi a5,a5,3
|
|
617a: 00c50733 add a4,a0,a2
|
|
617e: e781 bnez a5,6186 <memcpy+0x12>
|
|
6180: 478d li a5,3
|
|
6182: 00c7ed63 bltu a5,a2,619c <memcpy+0x28>
|
|
6186: 87aa mv a5,a0
|
|
6188: 08e57e63 bgeu a0,a4,6224 <memcpy+0xb0>
|
|
618c: 2194 lbu a3,0(a1)
|
|
618e: 0785 addi a5,a5,1
|
|
6190: 0585 addi a1,a1,1
|
|
6192: fed78fa3 sb a3,-1(a5)
|
|
6196: fee7ebe3 bltu a5,a4,618c <memcpy+0x18>
|
|
619a: 8082 ret
|
|
619c: 00357693 andi a3,a0,3
|
|
61a0: 87aa mv a5,a0
|
|
61a2: ca89 beqz a3,61b4 <memcpy+0x40>
|
|
61a4: 2194 lbu a3,0(a1)
|
|
61a6: 0785 addi a5,a5,1
|
|
61a8: 0585 addi a1,a1,1
|
|
61aa: fed78fa3 sb a3,-1(a5)
|
|
61ae: 0037f693 andi a3,a5,3
|
|
61b2: bfc5 j 61a2 <memcpy+0x2e>
|
|
61b4: ffc77693 andi a3,a4,-4
|
|
61b8: fe068613 addi a2,a3,-32
|
|
61bc: 06c7f063 bgeu a5,a2,621c <memcpy+0xa8>
|
|
61c0: 0005a383 lw t2,0(a1)
|
|
61c4: 0045a283 lw t0,4(a1)
|
|
61c8: 0085af83 lw t6,8(a1)
|
|
61cc: 00c5af03 lw t5,12(a1)
|
|
61d0: 0105ae83 lw t4,16(a1)
|
|
61d4: 0145ae03 lw t3,20(a1)
|
|
61d8: 0185a303 lw t1,24(a1)
|
|
61dc: 01c5a883 lw a7,28(a1)
|
|
61e0: 02458593 addi a1,a1,36
|
|
61e4: 0077a023 sw t2,0(a5)
|
|
61e8: ffc5a803 lw a6,-4(a1)
|
|
61ec: 0057a223 sw t0,4(a5)
|
|
61f0: 01f7a423 sw t6,8(a5)
|
|
61f4: 01e7a623 sw t5,12(a5)
|
|
61f8: 01d7a823 sw t4,16(a5)
|
|
61fc: 01c7aa23 sw t3,20(a5)
|
|
6200: 0067ac23 sw t1,24(a5)
|
|
6204: 0117ae23 sw a7,28(a5)
|
|
6208: 02478793 addi a5,a5,36
|
|
620c: ff07ae23 sw a6,-4(a5)
|
|
6210: b775 j 61bc <memcpy+0x48>
|
|
6212: 4190 lw a2,0(a1)
|
|
6214: 0791 addi a5,a5,4
|
|
6216: 0591 addi a1,a1,4
|
|
6218: fec7ae23 sw a2,-4(a5)
|
|
621c: fed7ebe3 bltu a5,a3,6212 <memcpy+0x9e>
|
|
6220: f6e7e6e3 bltu a5,a4,618c <memcpy+0x18>
|
|
6224: 8082 ret
|
|
|
|
00006226 <iprintf>:
|
|
6226: 7139 addi sp,sp,-64
|
|
6228: da3e sw a5,52(sp)
|
|
622a: d22e sw a1,36(sp)
|
|
622c: d432 sw a2,40(sp)
|
|
622e: d636 sw a3,44(sp)
|
|
6230: d83a sw a4,48(sp)
|
|
6232: dc42 sw a6,56(sp)
|
|
6234: de46 sw a7,60(sp)
|
|
6236: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
623a: cc22 sw s0,24(sp)
|
|
623c: 4380 lw s0,0(a5)
|
|
623e: ca26 sw s1,20(sp)
|
|
6240: ce06 sw ra,28(sp)
|
|
6242: 84aa mv s1,a0
|
|
6244: c409 beqz s0,624e <iprintf+0x28>
|
|
6246: 4c1c lw a5,24(s0)
|
|
6248: e399 bnez a5,624e <iprintf+0x28>
|
|
624a: 8522 mv a0,s0
|
|
624c: 2505 jal 686c <__sinit>
|
|
624e: 440c lw a1,8(s0)
|
|
6250: 1054 addi a3,sp,36
|
|
6252: 8626 mv a2,s1
|
|
6254: 8522 mv a0,s0
|
|
6256: c636 sw a3,12(sp)
|
|
6258: 5b9000ef jal ra,7010 <_vfiprintf_r>
|
|
625c: 40f2 lw ra,28(sp)
|
|
625e: 4462 lw s0,24(sp)
|
|
6260: 44d2 lw s1,20(sp)
|
|
6262: 6121 addi sp,sp,64
|
|
6264: 8082 ret
|
|
|
|
00006266 <_puts_r>:
|
|
6266: 1101 addi sp,sp,-32
|
|
6268: ca26 sw s1,20(sp)
|
|
626a: c84a sw s2,16(sp)
|
|
626c: ce06 sw ra,28(sp)
|
|
626e: cc22 sw s0,24(sp)
|
|
6270: c64e sw s3,12(sp)
|
|
6272: c452 sw s4,8(sp)
|
|
6274: 84aa mv s1,a0
|
|
6276: 892e mv s2,a1
|
|
6278: c501 beqz a0,6280 <_puts_r+0x1a>
|
|
627a: 4d1c lw a5,24(a0)
|
|
627c: e391 bnez a5,6280 <_puts_r+0x1a>
|
|
627e: 23fd jal 686c <__sinit>
|
|
6280: 4c9c lw a5,24(s1)
|
|
6282: 4480 lw s0,8(s1)
|
|
6284: e399 bnez a5,628a <_puts_r+0x24>
|
|
6286: 8526 mv a0,s1
|
|
6288: 23d5 jal 686c <__sinit>
|
|
628a: 00002797 auipc a5,0x2
|
|
628e: 02678793 addi a5,a5,38 # 82b0 <__sf_fake_stdin>
|
|
6292: 02f41b63 bne s0,a5,62c8 <_puts_r+0x62>
|
|
6296: 40c0 lw s0,4(s1)
|
|
6298: 245e lhu a5,12(s0)
|
|
629a: 8ba1 andi a5,a5,8
|
|
629c: c7b1 beqz a5,62e8 <_puts_r+0x82>
|
|
629e: 481c lw a5,16(s0)
|
|
62a0: c7a1 beqz a5,62e8 <_puts_r+0x82>
|
|
62a2: 59fd li s3,-1
|
|
62a4: 4a29 li s4,10
|
|
62a6: 441c lw a5,8(s0)
|
|
62a8: 00094583 lbu a1,0(s2)
|
|
62ac: 17fd addi a5,a5,-1
|
|
62ae: e9b1 bnez a1,6302 <_puts_r+0x9c>
|
|
62b0: c41c sw a5,8(s0)
|
|
62b2: 0607dd63 bgez a5,632c <_puts_r+0xc6>
|
|
62b6: 8622 mv a2,s0
|
|
62b8: 45a9 li a1,10
|
|
62ba: 8526 mv a0,s1
|
|
62bc: 2275 jal 6468 <__swbuf_r>
|
|
62be: 57fd li a5,-1
|
|
62c0: 02f50863 beq a0,a5,62f0 <_puts_r+0x8a>
|
|
62c4: 4529 li a0,10
|
|
62c6: a035 j 62f2 <_puts_r+0x8c>
|
|
62c8: 00002797 auipc a5,0x2
|
|
62cc: 00878793 addi a5,a5,8 # 82d0 <__sf_fake_stdout>
|
|
62d0: 00f41463 bne s0,a5,62d8 <_puts_r+0x72>
|
|
62d4: 4480 lw s0,8(s1)
|
|
62d6: b7c9 j 6298 <_puts_r+0x32>
|
|
62d8: 00002797 auipc a5,0x2
|
|
62dc: fb878793 addi a5,a5,-72 # 8290 <__sf_fake_stderr>
|
|
62e0: faf41ce3 bne s0,a5,6298 <_puts_r+0x32>
|
|
62e4: 44c0 lw s0,12(s1)
|
|
62e6: bf4d j 6298 <_puts_r+0x32>
|
|
62e8: 85a2 mv a1,s0
|
|
62ea: 8526 mv a0,s1
|
|
62ec: 2c25 jal 6524 <__swsetup_r>
|
|
62ee: d955 beqz a0,62a2 <_puts_r+0x3c>
|
|
62f0: 557d li a0,-1
|
|
62f2: 40f2 lw ra,28(sp)
|
|
62f4: 4462 lw s0,24(sp)
|
|
62f6: 44d2 lw s1,20(sp)
|
|
62f8: 4942 lw s2,16(sp)
|
|
62fa: 49b2 lw s3,12(sp)
|
|
62fc: 4a22 lw s4,8(sp)
|
|
62fe: 6105 addi sp,sp,32
|
|
6300: 8082 ret
|
|
6302: c41c sw a5,8(s0)
|
|
6304: 0905 addi s2,s2,1
|
|
6306: 0007d763 bgez a5,6314 <_puts_r+0xae>
|
|
630a: 4c18 lw a4,24(s0)
|
|
630c: 00e7ca63 blt a5,a4,6320 <_puts_r+0xba>
|
|
6310: 01458863 beq a1,s4,6320 <_puts_r+0xba>
|
|
6314: 401c lw a5,0(s0)
|
|
6316: 00178713 addi a4,a5,1
|
|
631a: c018 sw a4,0(s0)
|
|
631c: a38c sb a1,0(a5)
|
|
631e: b761 j 62a6 <_puts_r+0x40>
|
|
6320: 8622 mv a2,s0
|
|
6322: 8526 mv a0,s1
|
|
6324: 2291 jal 6468 <__swbuf_r>
|
|
6326: f93510e3 bne a0,s3,62a6 <_puts_r+0x40>
|
|
632a: b7d9 j 62f0 <_puts_r+0x8a>
|
|
632c: 401c lw a5,0(s0)
|
|
632e: 00178713 addi a4,a5,1
|
|
6332: c018 sw a4,0(s0)
|
|
6334: 4729 li a4,10
|
|
6336: a398 sb a4,0(a5)
|
|
6338: b771 j 62c4 <_puts_r+0x5e>
|
|
|
|
0000633a <puts>:
|
|
633a: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
633e: 85aa mv a1,a0
|
|
6340: 4388 lw a0,0(a5)
|
|
6342: f25ff06f j 6266 <_puts_r>
|
|
|
|
00006346 <srand>:
|
|
6346: 1141 addi sp,sp,-16
|
|
6348: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
634c: c422 sw s0,8(sp)
|
|
634e: 4380 lw s0,0(a5)
|
|
6350: c226 sw s1,4(sp)
|
|
6352: c606 sw ra,12(sp)
|
|
6354: 5c1c lw a5,56(s0)
|
|
6356: 84aa mv s1,a0
|
|
6358: eb95 bnez a5,638c <srand+0x46>
|
|
635a: 4561 li a0,24
|
|
635c: 770000ef jal ra,6acc <malloc>
|
|
6360: abcd37b7 lui a5,0xabcd3
|
|
6364: dc08 sw a0,56(s0)
|
|
6366: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
636a: c11c sw a5,0(a0)
|
|
636c: e66d17b7 lui a5,0xe66d1
|
|
6370: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
6374: c15c sw a5,4(a0)
|
|
6376: 0005e7b7 lui a5,0x5e
|
|
637a: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x55bc0>
|
|
637e: c51c sw a5,8(a0)
|
|
6380: 47ad li a5,11
|
|
6382: a55e sh a5,12(a0)
|
|
6384: 4705 li a4,1
|
|
6386: 4781 li a5,0
|
|
6388: c918 sw a4,16(a0)
|
|
638a: c95c sw a5,20(a0)
|
|
638c: 5c1c lw a5,56(s0)
|
|
638e: 40b2 lw ra,12(sp)
|
|
6390: 4422 lw s0,8(sp)
|
|
6392: cb84 sw s1,16(a5)
|
|
6394: 0007aa23 sw zero,20(a5)
|
|
6398: 4492 lw s1,4(sp)
|
|
639a: 0141 addi sp,sp,16
|
|
639c: 8082 ret
|
|
|
|
0000639e <rand>:
|
|
639e: 1141 addi sp,sp,-16
|
|
63a0: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
63a4: c422 sw s0,8(sp)
|
|
63a6: 4380 lw s0,0(a5)
|
|
63a8: c606 sw ra,12(sp)
|
|
63aa: 5c1c lw a5,56(s0)
|
|
63ac: eb8d bnez a5,63de <rand+0x40>
|
|
63ae: 4561 li a0,24
|
|
63b0: 2f31 jal 6acc <malloc>
|
|
63b2: abcd37b7 lui a5,0xabcd3
|
|
63b6: dc08 sw a0,56(s0)
|
|
63b8: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
63bc: c11c sw a5,0(a0)
|
|
63be: e66d17b7 lui a5,0xe66d1
|
|
63c2: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
63c6: c15c sw a5,4(a0)
|
|
63c8: 0005e7b7 lui a5,0x5e
|
|
63cc: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x55bc0>
|
|
63d0: c51c sw a5,8(a0)
|
|
63d2: 47ad li a5,11
|
|
63d4: a55e sh a5,12(a0)
|
|
63d6: 4705 li a4,1
|
|
63d8: 4781 li a5,0
|
|
63da: c918 sw a4,16(a0)
|
|
63dc: c95c sw a5,20(a0)
|
|
63de: 5c10 lw a2,56(s0)
|
|
63e0: 4c958737 lui a4,0x4c958
|
|
63e4: 5851f7b7 lui a5,0x5851f
|
|
63e8: 4a14 lw a3,16(a2)
|
|
63ea: 4a48 lw a0,20(a2)
|
|
63ec: f2d70713 addi a4,a4,-211 # 4c957f2d <_eusrstack+0x2c952f2d>
|
|
63f0: 42d78793 addi a5,a5,1069 # 5851f42d <_eusrstack+0x3851a42d>
|
|
63f4: 02f687b3 mul a5,a3,a5
|
|
63f8: 40b2 lw ra,12(sp)
|
|
63fa: 4422 lw s0,8(sp)
|
|
63fc: 02e50533 mul a0,a0,a4
|
|
6400: 953e add a0,a0,a5
|
|
6402: 02e687b3 mul a5,a3,a4
|
|
6406: 02e6b733 mulhu a4,a3,a4
|
|
640a: 00178693 addi a3,a5,1
|
|
640e: ca14 sw a3,16(a2)
|
|
6410: 972a add a4,a4,a0
|
|
6412: 00f6b533 sltu a0,a3,a5
|
|
6416: 953a add a0,a0,a4
|
|
6418: ca48 sw a0,20(a2)
|
|
641a: 0506 slli a0,a0,0x1
|
|
641c: 8105 srli a0,a0,0x1
|
|
641e: 0141 addi sp,sp,16
|
|
6420: 8082 ret
|
|
|
|
00006422 <siprintf>:
|
|
6422: 7135 addi sp,sp,-160
|
|
6424: cb3e sw a5,148(sp)
|
|
6426: 800007b7 lui a5,0x80000
|
|
642a: fff7c793 not a5,a5
|
|
642e: ce3e sw a5,28(sp)
|
|
6430: c83e sw a5,16(sp)
|
|
6432: 77c1 lui a5,0xffff0
|
|
6434: 20878793 addi a5,a5,520 # ffff0208 <_eusrstack+0xdffeb208>
|
|
6438: c532 sw a2,136(sp)
|
|
643a: c736 sw a3,140(sp)
|
|
643c: c93a sw a4,144(sp)
|
|
643e: cd42 sw a6,152(sp)
|
|
6440: cf46 sw a7,156(sp)
|
|
6442: ca3e sw a5,20(sp)
|
|
6444: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
6448: c42a sw a0,8(sp)
|
|
644a: cc2a sw a0,24(sp)
|
|
644c: 4388 lw a0,0(a5)
|
|
644e: 0134 addi a3,sp,136
|
|
6450: 862e mv a2,a1
|
|
6452: 002c addi a1,sp,8
|
|
6454: de86 sw ra,124(sp)
|
|
6456: c236 sw a3,4(sp)
|
|
6458: 0e5000ef jal ra,6d3c <_svfiprintf_r>
|
|
645c: 47a2 lw a5,8(sp)
|
|
645e: 00078023 sb zero,0(a5)
|
|
6462: 50f6 lw ra,124(sp)
|
|
6464: 610d addi sp,sp,160
|
|
6466: 8082 ret
|
|
|
|
00006468 <__swbuf_r>:
|
|
6468: 1101 addi sp,sp,-32
|
|
646a: cc22 sw s0,24(sp)
|
|
646c: ca26 sw s1,20(sp)
|
|
646e: c84a sw s2,16(sp)
|
|
6470: ce06 sw ra,28(sp)
|
|
6472: c64e sw s3,12(sp)
|
|
6474: 84aa mv s1,a0
|
|
6476: 892e mv s2,a1
|
|
6478: 8432 mv s0,a2
|
|
647a: c501 beqz a0,6482 <__swbuf_r+0x1a>
|
|
647c: 4d1c lw a5,24(a0)
|
|
647e: e391 bnez a5,6482 <__swbuf_r+0x1a>
|
|
6480: 26f5 jal 686c <__sinit>
|
|
6482: 00002797 auipc a5,0x2
|
|
6486: e2e78793 addi a5,a5,-466 # 82b0 <__sf_fake_stdin>
|
|
648a: 06f41763 bne s0,a5,64f8 <__swbuf_r+0x90>
|
|
648e: 40c0 lw s0,4(s1)
|
|
6490: 4c1c lw a5,24(s0)
|
|
6492: c41c sw a5,8(s0)
|
|
6494: 245e lhu a5,12(s0)
|
|
6496: 8ba1 andi a5,a5,8
|
|
6498: c3c1 beqz a5,6518 <__swbuf_r+0xb0>
|
|
649a: 481c lw a5,16(s0)
|
|
649c: cfb5 beqz a5,6518 <__swbuf_r+0xb0>
|
|
649e: 481c lw a5,16(s0)
|
|
64a0: 4008 lw a0,0(s0)
|
|
64a2: 0ff97993 andi s3,s2,255
|
|
64a6: 0ff97913 andi s2,s2,255
|
|
64aa: 8d1d sub a0,a0,a5
|
|
64ac: 485c lw a5,20(s0)
|
|
64ae: 00f54663 blt a0,a5,64ba <__swbuf_r+0x52>
|
|
64b2: 85a2 mv a1,s0
|
|
64b4: 8526 mv a0,s1
|
|
64b6: 2c69 jal 6750 <_fflush_r>
|
|
64b8: e525 bnez a0,6520 <__swbuf_r+0xb8>
|
|
64ba: 441c lw a5,8(s0)
|
|
64bc: 0505 addi a0,a0,1
|
|
64be: 17fd addi a5,a5,-1
|
|
64c0: c41c sw a5,8(s0)
|
|
64c2: 401c lw a5,0(s0)
|
|
64c4: 00178713 addi a4,a5,1
|
|
64c8: c018 sw a4,0(s0)
|
|
64ca: 01378023 sb s3,0(a5)
|
|
64ce: 485c lw a5,20(s0)
|
|
64d0: 00a78863 beq a5,a0,64e0 <__swbuf_r+0x78>
|
|
64d4: 245e lhu a5,12(s0)
|
|
64d6: 8b85 andi a5,a5,1
|
|
64d8: cb81 beqz a5,64e8 <__swbuf_r+0x80>
|
|
64da: 47a9 li a5,10
|
|
64dc: 00f91663 bne s2,a5,64e8 <__swbuf_r+0x80>
|
|
64e0: 85a2 mv a1,s0
|
|
64e2: 8526 mv a0,s1
|
|
64e4: 24b5 jal 6750 <_fflush_r>
|
|
64e6: ed0d bnez a0,6520 <__swbuf_r+0xb8>
|
|
64e8: 40f2 lw ra,28(sp)
|
|
64ea: 4462 lw s0,24(sp)
|
|
64ec: 854a mv a0,s2
|
|
64ee: 44d2 lw s1,20(sp)
|
|
64f0: 4942 lw s2,16(sp)
|
|
64f2: 49b2 lw s3,12(sp)
|
|
64f4: 6105 addi sp,sp,32
|
|
64f6: 8082 ret
|
|
64f8: 00002797 auipc a5,0x2
|
|
64fc: dd878793 addi a5,a5,-552 # 82d0 <__sf_fake_stdout>
|
|
6500: 00f41463 bne s0,a5,6508 <__swbuf_r+0xa0>
|
|
6504: 4480 lw s0,8(s1)
|
|
6506: b769 j 6490 <__swbuf_r+0x28>
|
|
6508: 00002797 auipc a5,0x2
|
|
650c: d8878793 addi a5,a5,-632 # 8290 <__sf_fake_stderr>
|
|
6510: f8f410e3 bne s0,a5,6490 <__swbuf_r+0x28>
|
|
6514: 44c0 lw s0,12(s1)
|
|
6516: bfad j 6490 <__swbuf_r+0x28>
|
|
6518: 85a2 mv a1,s0
|
|
651a: 8526 mv a0,s1
|
|
651c: 2021 jal 6524 <__swsetup_r>
|
|
651e: d141 beqz a0,649e <__swbuf_r+0x36>
|
|
6520: 597d li s2,-1
|
|
6522: b7d9 j 64e8 <__swbuf_r+0x80>
|
|
|
|
00006524 <__swsetup_r>:
|
|
6524: 1141 addi sp,sp,-16
|
|
6526: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
652a: c226 sw s1,4(sp)
|
|
652c: 4384 lw s1,0(a5)
|
|
652e: c422 sw s0,8(sp)
|
|
6530: c04a sw s2,0(sp)
|
|
6532: c606 sw ra,12(sp)
|
|
6534: 892a mv s2,a0
|
|
6536: 842e mv s0,a1
|
|
6538: c489 beqz s1,6542 <__swsetup_r+0x1e>
|
|
653a: 4c9c lw a5,24(s1)
|
|
653c: e399 bnez a5,6542 <__swsetup_r+0x1e>
|
|
653e: 8526 mv a0,s1
|
|
6540: 2635 jal 686c <__sinit>
|
|
6542: 00002797 auipc a5,0x2
|
|
6546: d6e78793 addi a5,a5,-658 # 82b0 <__sf_fake_stdin>
|
|
654a: 02f41b63 bne s0,a5,6580 <__swsetup_r+0x5c>
|
|
654e: 40c0 lw s0,4(s1)
|
|
6550: 00c41703 lh a4,12(s0) # 400000c <_data_lma+0x3ff7ce0>
|
|
6554: 01071793 slli a5,a4,0x10
|
|
6558: 83c1 srli a5,a5,0x10
|
|
655a: 0087f693 andi a3,a5,8
|
|
655e: eaad bnez a3,65d0 <__swsetup_r+0xac>
|
|
6560: 0107f693 andi a3,a5,16
|
|
6564: ee95 bnez a3,65a0 <__swsetup_r+0x7c>
|
|
6566: 47a5 li a5,9
|
|
6568: 00f92023 sw a5,0(s2)
|
|
656c: 04076713 ori a4,a4,64
|
|
6570: a45a sh a4,12(s0)
|
|
6572: 557d li a0,-1
|
|
6574: 40b2 lw ra,12(sp)
|
|
6576: 4422 lw s0,8(sp)
|
|
6578: 4492 lw s1,4(sp)
|
|
657a: 4902 lw s2,0(sp)
|
|
657c: 0141 addi sp,sp,16
|
|
657e: 8082 ret
|
|
6580: 00002797 auipc a5,0x2
|
|
6584: d5078793 addi a5,a5,-688 # 82d0 <__sf_fake_stdout>
|
|
6588: 00f41463 bne s0,a5,6590 <__swsetup_r+0x6c>
|
|
658c: 4480 lw s0,8(s1)
|
|
658e: b7c9 j 6550 <__swsetup_r+0x2c>
|
|
6590: 00002797 auipc a5,0x2
|
|
6594: d0078793 addi a5,a5,-768 # 8290 <__sf_fake_stderr>
|
|
6598: faf41ce3 bne s0,a5,6550 <__swsetup_r+0x2c>
|
|
659c: 44c0 lw s0,12(s1)
|
|
659e: bf4d j 6550 <__swsetup_r+0x2c>
|
|
65a0: 8b91 andi a5,a5,4
|
|
65a2: c39d beqz a5,65c8 <__swsetup_r+0xa4>
|
|
65a4: 584c lw a1,52(s0)
|
|
65a6: c989 beqz a1,65b8 <__swsetup_r+0x94>
|
|
65a8: 04440793 addi a5,s0,68
|
|
65ac: 00f58463 beq a1,a5,65b4 <__swsetup_r+0x90>
|
|
65b0: 854a mv a0,s2
|
|
65b2: 2315 jal 6ad6 <_free_r>
|
|
65b4: 02042a23 sw zero,52(s0)
|
|
65b8: 245e lhu a5,12(s0)
|
|
65ba: 00042223 sw zero,4(s0)
|
|
65be: fdb7f793 andi a5,a5,-37
|
|
65c2: a45e sh a5,12(s0)
|
|
65c4: 481c lw a5,16(s0)
|
|
65c6: c01c sw a5,0(s0)
|
|
65c8: 245e lhu a5,12(s0)
|
|
65ca: 0087e793 ori a5,a5,8
|
|
65ce: a45e sh a5,12(s0)
|
|
65d0: 481c lw a5,16(s0)
|
|
65d2: eb99 bnez a5,65e8 <__swsetup_r+0xc4>
|
|
65d4: 245e lhu a5,12(s0)
|
|
65d6: 20000713 li a4,512
|
|
65da: 2807f793 andi a5,a5,640
|
|
65de: 00e78563 beq a5,a4,65e8 <__swsetup_r+0xc4>
|
|
65e2: 85a2 mv a1,s0
|
|
65e4: 854a mv a0,s2
|
|
65e6: 2991 jal 6a3a <__smakebuf_r>
|
|
65e8: 245e lhu a5,12(s0)
|
|
65ea: 0017f713 andi a4,a5,1
|
|
65ee: c31d beqz a4,6614 <__swsetup_r+0xf0>
|
|
65f0: 485c lw a5,20(s0)
|
|
65f2: 00042423 sw zero,8(s0)
|
|
65f6: 40f007b3 neg a5,a5
|
|
65fa: cc1c sw a5,24(s0)
|
|
65fc: 481c lw a5,16(s0)
|
|
65fe: 4501 li a0,0
|
|
6600: fbb5 bnez a5,6574 <__swsetup_r+0x50>
|
|
6602: 00c41783 lh a5,12(s0)
|
|
6606: 0807f713 andi a4,a5,128
|
|
660a: d72d beqz a4,6574 <__swsetup_r+0x50>
|
|
660c: 0407e793 ori a5,a5,64
|
|
6610: a45e sh a5,12(s0)
|
|
6612: b785 j 6572 <__swsetup_r+0x4e>
|
|
6614: 8b89 andi a5,a5,2
|
|
6616: 4701 li a4,0
|
|
6618: e391 bnez a5,661c <__swsetup_r+0xf8>
|
|
661a: 4858 lw a4,20(s0)
|
|
661c: c418 sw a4,8(s0)
|
|
661e: bff9 j 65fc <__swsetup_r+0xd8>
|
|
|
|
00006620 <__sflush_r>:
|
|
6620: 25de lhu a5,12(a1)
|
|
6622: 1101 addi sp,sp,-32
|
|
6624: cc22 sw s0,24(sp)
|
|
6626: ca26 sw s1,20(sp)
|
|
6628: ce06 sw ra,28(sp)
|
|
662a: c84a sw s2,16(sp)
|
|
662c: c64e sw s3,12(sp)
|
|
662e: 0087f713 andi a4,a5,8
|
|
6632: 84aa mv s1,a0
|
|
6634: 842e mv s0,a1
|
|
6636: eb79 bnez a4,670c <__sflush_r+0xec>
|
|
6638: 41d8 lw a4,4(a1)
|
|
663a: 00e04d63 bgtz a4,6654 <__sflush_r+0x34>
|
|
663e: 41b8 lw a4,64(a1)
|
|
6640: 00e04a63 bgtz a4,6654 <__sflush_r+0x34>
|
|
6644: 4501 li a0,0
|
|
6646: 40f2 lw ra,28(sp)
|
|
6648: 4462 lw s0,24(sp)
|
|
664a: 44d2 lw s1,20(sp)
|
|
664c: 4942 lw s2,16(sp)
|
|
664e: 49b2 lw s3,12(sp)
|
|
6650: 6105 addi sp,sp,32
|
|
6652: 8082 ret
|
|
6654: 5458 lw a4,44(s0)
|
|
6656: d77d beqz a4,6644 <__sflush_r+0x24>
|
|
6658: 0004a903 lw s2,0(s1)
|
|
665c: 01379693 slli a3,a5,0x13
|
|
6660: 0004a023 sw zero,0(s1)
|
|
6664: 0606db63 bgez a3,66da <__sflush_r+0xba>
|
|
6668: 4870 lw a2,84(s0)
|
|
666a: 245e lhu a5,12(s0)
|
|
666c: 8b91 andi a5,a5,4
|
|
666e: c799 beqz a5,667c <__sflush_r+0x5c>
|
|
6670: 405c lw a5,4(s0)
|
|
6672: 8e1d sub a2,a2,a5
|
|
6674: 585c lw a5,52(s0)
|
|
6676: c399 beqz a5,667c <__sflush_r+0x5c>
|
|
6678: 403c lw a5,64(s0)
|
|
667a: 8e1d sub a2,a2,a5
|
|
667c: 545c lw a5,44(s0)
|
|
667e: 500c lw a1,32(s0)
|
|
6680: 4681 li a3,0
|
|
6682: 8526 mv a0,s1
|
|
6684: 9782 jalr a5
|
|
6686: 57fd li a5,-1
|
|
6688: 245a lhu a4,12(s0)
|
|
668a: 00f51d63 bne a0,a5,66a4 <__sflush_r+0x84>
|
|
668e: 4094 lw a3,0(s1)
|
|
6690: 47f5 li a5,29
|
|
6692: 06d7e863 bltu a5,a3,6702 <__sflush_r+0xe2>
|
|
6696: 204007b7 lui a5,0x20400
|
|
669a: 0785 addi a5,a5,1
|
|
669c: 00d7d7b3 srl a5,a5,a3
|
|
66a0: 8b85 andi a5,a5,1
|
|
66a2: c3a5 beqz a5,6702 <__sflush_r+0xe2>
|
|
66a4: 481c lw a5,16(s0)
|
|
66a6: 00042223 sw zero,4(s0)
|
|
66aa: c01c sw a5,0(s0)
|
|
66ac: 01371793 slli a5,a4,0x13
|
|
66b0: 0007d863 bgez a5,66c0 <__sflush_r+0xa0>
|
|
66b4: 57fd li a5,-1
|
|
66b6: 00f51463 bne a0,a5,66be <__sflush_r+0x9e>
|
|
66ba: 409c lw a5,0(s1)
|
|
66bc: e391 bnez a5,66c0 <__sflush_r+0xa0>
|
|
66be: c868 sw a0,84(s0)
|
|
66c0: 584c lw a1,52(s0)
|
|
66c2: 0124a023 sw s2,0(s1)
|
|
66c6: ddbd beqz a1,6644 <__sflush_r+0x24>
|
|
66c8: 04440793 addi a5,s0,68
|
|
66cc: 00f58463 beq a1,a5,66d4 <__sflush_r+0xb4>
|
|
66d0: 8526 mv a0,s1
|
|
66d2: 2111 jal 6ad6 <_free_r>
|
|
66d4: 02042a23 sw zero,52(s0)
|
|
66d8: b7b5 j 6644 <__sflush_r+0x24>
|
|
66da: 500c lw a1,32(s0)
|
|
66dc: 4601 li a2,0
|
|
66de: 4685 li a3,1
|
|
66e0: 8526 mv a0,s1
|
|
66e2: 9702 jalr a4
|
|
66e4: 57fd li a5,-1
|
|
66e6: 862a mv a2,a0
|
|
66e8: f8f511e3 bne a0,a5,666a <__sflush_r+0x4a>
|
|
66ec: 409c lw a5,0(s1)
|
|
66ee: dfb5 beqz a5,666a <__sflush_r+0x4a>
|
|
66f0: 4775 li a4,29
|
|
66f2: 00e78563 beq a5,a4,66fc <__sflush_r+0xdc>
|
|
66f6: 4759 li a4,22
|
|
66f8: 04e79363 bne a5,a4,673e <__sflush_r+0x11e>
|
|
66fc: 0124a023 sw s2,0(s1)
|
|
6700: b791 j 6644 <__sflush_r+0x24>
|
|
6702: 04076713 ori a4,a4,64
|
|
6706: a45a sh a4,12(s0)
|
|
6708: 557d li a0,-1
|
|
670a: bf35 j 6646 <__sflush_r+0x26>
|
|
670c: 0105a983 lw s3,16(a1)
|
|
6710: f2098ae3 beqz s3,6644 <__sflush_r+0x24>
|
|
6714: 0005a903 lw s2,0(a1)
|
|
6718: 8b8d andi a5,a5,3
|
|
671a: 0135a023 sw s3,0(a1)
|
|
671e: 41390933 sub s2,s2,s3
|
|
6722: 4701 li a4,0
|
|
6724: e391 bnez a5,6728 <__sflush_r+0x108>
|
|
6726: 49d8 lw a4,20(a1)
|
|
6728: c418 sw a4,8(s0)
|
|
672a: f1205de3 blez s2,6644 <__sflush_r+0x24>
|
|
672e: 541c lw a5,40(s0)
|
|
6730: 500c lw a1,32(s0)
|
|
6732: 86ca mv a3,s2
|
|
6734: 864e mv a2,s3
|
|
6736: 8526 mv a0,s1
|
|
6738: 9782 jalr a5
|
|
673a: 00a04763 bgtz a0,6748 <__sflush_r+0x128>
|
|
673e: 245e lhu a5,12(s0)
|
|
6740: 0407e793 ori a5,a5,64
|
|
6744: a45e sh a5,12(s0)
|
|
6746: b7c9 j 6708 <__sflush_r+0xe8>
|
|
6748: 99aa add s3,s3,a0
|
|
674a: 40a90933 sub s2,s2,a0
|
|
674e: bff1 j 672a <__sflush_r+0x10a>
|
|
|
|
00006750 <_fflush_r>:
|
|
6750: 499c lw a5,16(a1)
|
|
6752: c3a5 beqz a5,67b2 <_fflush_r+0x62>
|
|
6754: 1101 addi sp,sp,-32
|
|
6756: cc22 sw s0,24(sp)
|
|
6758: ce06 sw ra,28(sp)
|
|
675a: 842a mv s0,a0
|
|
675c: c511 beqz a0,6768 <_fflush_r+0x18>
|
|
675e: 4d1c lw a5,24(a0)
|
|
6760: e781 bnez a5,6768 <_fflush_r+0x18>
|
|
6762: c62e sw a1,12(sp)
|
|
6764: 2221 jal 686c <__sinit>
|
|
6766: 45b2 lw a1,12(sp)
|
|
6768: 00002797 auipc a5,0x2
|
|
676c: b4878793 addi a5,a5,-1208 # 82b0 <__sf_fake_stdin>
|
|
6770: 00f59c63 bne a1,a5,6788 <_fflush_r+0x38>
|
|
6774: 404c lw a1,4(s0)
|
|
6776: 00c59783 lh a5,12(a1)
|
|
677a: c79d beqz a5,67a8 <_fflush_r+0x58>
|
|
677c: 8522 mv a0,s0
|
|
677e: 4462 lw s0,24(sp)
|
|
6780: 40f2 lw ra,28(sp)
|
|
6782: 6105 addi sp,sp,32
|
|
6784: e9dff06f j 6620 <__sflush_r>
|
|
6788: 00002797 auipc a5,0x2
|
|
678c: b4878793 addi a5,a5,-1208 # 82d0 <__sf_fake_stdout>
|
|
6790: 00f59463 bne a1,a5,6798 <_fflush_r+0x48>
|
|
6794: 440c lw a1,8(s0)
|
|
6796: b7c5 j 6776 <_fflush_r+0x26>
|
|
6798: 00002797 auipc a5,0x2
|
|
679c: af878793 addi a5,a5,-1288 # 8290 <__sf_fake_stderr>
|
|
67a0: fcf59be3 bne a1,a5,6776 <_fflush_r+0x26>
|
|
67a4: 444c lw a1,12(s0)
|
|
67a6: bfc1 j 6776 <_fflush_r+0x26>
|
|
67a8: 40f2 lw ra,28(sp)
|
|
67aa: 4462 lw s0,24(sp)
|
|
67ac: 4501 li a0,0
|
|
67ae: 6105 addi sp,sp,32
|
|
67b0: 8082 ret
|
|
67b2: 4501 li a0,0
|
|
67b4: 8082 ret
|
|
|
|
000067b6 <std>:
|
|
67b6: 1141 addi sp,sp,-16
|
|
67b8: c422 sw s0,8(sp)
|
|
67ba: c606 sw ra,12(sp)
|
|
67bc: 842a mv s0,a0
|
|
67be: a54e sh a1,12(a0)
|
|
67c0: a572 sh a2,14(a0)
|
|
67c2: 00052023 sw zero,0(a0)
|
|
67c6: 00052223 sw zero,4(a0)
|
|
67ca: 00052423 sw zero,8(a0)
|
|
67ce: 06052223 sw zero,100(a0)
|
|
67d2: 00052823 sw zero,16(a0)
|
|
67d6: 00052a23 sw zero,20(a0)
|
|
67da: 00052c23 sw zero,24(a0)
|
|
67de: 4621 li a2,8
|
|
67e0: 4581 li a1,0
|
|
67e2: 05c50513 addi a0,a0,92
|
|
67e6: 9bbf90ef jal ra,1a0 <memset>
|
|
67ea: 00001797 auipc a5,0x1
|
|
67ee: e8678793 addi a5,a5,-378 # 7670 <__sread>
|
|
67f2: d05c sw a5,36(s0)
|
|
67f4: 00001797 auipc a5,0x1
|
|
67f8: ea878793 addi a5,a5,-344 # 769c <__swrite>
|
|
67fc: d41c sw a5,40(s0)
|
|
67fe: 00001797 auipc a5,0x1
|
|
6802: ee678793 addi a5,a5,-282 # 76e4 <__sseek>
|
|
6806: d45c sw a5,44(s0)
|
|
6808: 00001797 auipc a5,0x1
|
|
680c: f0c78793 addi a5,a5,-244 # 7714 <__sclose>
|
|
6810: d000 sw s0,32(s0)
|
|
6812: d81c sw a5,48(s0)
|
|
6814: 40b2 lw ra,12(sp)
|
|
6816: 4422 lw s0,8(sp)
|
|
6818: 0141 addi sp,sp,16
|
|
681a: 8082 ret
|
|
|
|
0000681c <_cleanup_r>:
|
|
681c: 00000597 auipc a1,0x0
|
|
6820: f3458593 addi a1,a1,-204 # 6750 <_fflush_r>
|
|
6824: aa91 j 6978 <_fwalk_reent>
|
|
|
|
00006826 <__sfmoreglue>:
|
|
6826: 1141 addi sp,sp,-16
|
|
6828: c226 sw s1,4(sp)
|
|
682a: 06800613 li a2,104
|
|
682e: fff58493 addi s1,a1,-1
|
|
6832: 02c484b3 mul s1,s1,a2
|
|
6836: c04a sw s2,0(sp)
|
|
6838: 892e mv s2,a1
|
|
683a: c422 sw s0,8(sp)
|
|
683c: c606 sw ra,12(sp)
|
|
683e: 07448593 addi a1,s1,116
|
|
6842: 2e35 jal 6b7e <_malloc_r>
|
|
6844: 842a mv s0,a0
|
|
6846: cd01 beqz a0,685e <__sfmoreglue+0x38>
|
|
6848: 00052023 sw zero,0(a0)
|
|
684c: 01252223 sw s2,4(a0)
|
|
6850: 0531 addi a0,a0,12
|
|
6852: c408 sw a0,8(s0)
|
|
6854: 06848613 addi a2,s1,104
|
|
6858: 4581 li a1,0
|
|
685a: 947f90ef jal ra,1a0 <memset>
|
|
685e: 8522 mv a0,s0
|
|
6860: 40b2 lw ra,12(sp)
|
|
6862: 4422 lw s0,8(sp)
|
|
6864: 4492 lw s1,4(sp)
|
|
6866: 4902 lw s2,0(sp)
|
|
6868: 0141 addi sp,sp,16
|
|
686a: 8082 ret
|
|
|
|
0000686c <__sinit>:
|
|
686c: 4d1c lw a5,24(a0)
|
|
686e: e7a5 bnez a5,68d6 <__sinit+0x6a>
|
|
6870: 1141 addi sp,sp,-16
|
|
6872: c606 sw ra,12(sp)
|
|
6874: c422 sw s0,8(sp)
|
|
6876: 00000797 auipc a5,0x0
|
|
687a: fa678793 addi a5,a5,-90 # 681c <_cleanup_r>
|
|
687e: d51c sw a5,40(a0)
|
|
6880: 81c18793 addi a5,gp,-2020 # 2000017c <_global_impure_ptr>
|
|
6884: 439c lw a5,0(a5)
|
|
6886: 04052423 sw zero,72(a0)
|
|
688a: 04052623 sw zero,76(a0)
|
|
688e: 04052823 sw zero,80(a0)
|
|
6892: 00f51463 bne a0,a5,689a <__sinit+0x2e>
|
|
6896: 4785 li a5,1
|
|
6898: cd1c sw a5,24(a0)
|
|
689a: 842a mv s0,a0
|
|
689c: 2835 jal 68d8 <__sfp>
|
|
689e: c048 sw a0,4(s0)
|
|
68a0: 8522 mv a0,s0
|
|
68a2: 281d jal 68d8 <__sfp>
|
|
68a4: c408 sw a0,8(s0)
|
|
68a6: 8522 mv a0,s0
|
|
68a8: 2805 jal 68d8 <__sfp>
|
|
68aa: c448 sw a0,12(s0)
|
|
68ac: 4048 lw a0,4(s0)
|
|
68ae: 4601 li a2,0
|
|
68b0: 4591 li a1,4
|
|
68b2: f05ff0ef jal ra,67b6 <std>
|
|
68b6: 4408 lw a0,8(s0)
|
|
68b8: 4605 li a2,1
|
|
68ba: 45a5 li a1,9
|
|
68bc: efbff0ef jal ra,67b6 <std>
|
|
68c0: 4448 lw a0,12(s0)
|
|
68c2: 4609 li a2,2
|
|
68c4: 45c9 li a1,18
|
|
68c6: ef1ff0ef jal ra,67b6 <std>
|
|
68ca: 4785 li a5,1
|
|
68cc: cc1c sw a5,24(s0)
|
|
68ce: 40b2 lw ra,12(sp)
|
|
68d0: 4422 lw s0,8(sp)
|
|
68d2: 0141 addi sp,sp,16
|
|
68d4: 8082 ret
|
|
68d6: 8082 ret
|
|
|
|
000068d8 <__sfp>:
|
|
68d8: 1141 addi sp,sp,-16
|
|
68da: 81c18793 addi a5,gp,-2020 # 2000017c <_global_impure_ptr>
|
|
68de: c226 sw s1,4(sp)
|
|
68e0: 4384 lw s1,0(a5)
|
|
68e2: c04a sw s2,0(sp)
|
|
68e4: c606 sw ra,12(sp)
|
|
68e6: 4c9c lw a5,24(s1)
|
|
68e8: c422 sw s0,8(sp)
|
|
68ea: 892a mv s2,a0
|
|
68ec: e781 bnez a5,68f4 <__sfp+0x1c>
|
|
68ee: 8526 mv a0,s1
|
|
68f0: f7dff0ef jal ra,686c <__sinit>
|
|
68f4: 04848493 addi s1,s1,72
|
|
68f8: 4480 lw s0,8(s1)
|
|
68fa: 40dc lw a5,4(s1)
|
|
68fc: 17fd addi a5,a5,-1
|
|
68fe: 0007d663 bgez a5,690a <__sfp+0x32>
|
|
6902: 409c lw a5,0(s1)
|
|
6904: cfb9 beqz a5,6962 <__sfp+0x8a>
|
|
6906: 4084 lw s1,0(s1)
|
|
6908: bfc5 j 68f8 <__sfp+0x20>
|
|
690a: 00c41703 lh a4,12(s0)
|
|
690e: e739 bnez a4,695c <__sfp+0x84>
|
|
6910: 77c1 lui a5,0xffff0
|
|
6912: 0785 addi a5,a5,1
|
|
6914: 06042223 sw zero,100(s0)
|
|
6918: 00042023 sw zero,0(s0)
|
|
691c: 00042223 sw zero,4(s0)
|
|
6920: 00042423 sw zero,8(s0)
|
|
6924: c45c sw a5,12(s0)
|
|
6926: 00042823 sw zero,16(s0)
|
|
692a: 00042a23 sw zero,20(s0)
|
|
692e: 00042c23 sw zero,24(s0)
|
|
6932: 4621 li a2,8
|
|
6934: 4581 li a1,0
|
|
6936: 05c40513 addi a0,s0,92
|
|
693a: 867f90ef jal ra,1a0 <memset>
|
|
693e: 02042a23 sw zero,52(s0)
|
|
6942: 02042c23 sw zero,56(s0)
|
|
6946: 04042423 sw zero,72(s0)
|
|
694a: 04042623 sw zero,76(s0)
|
|
694e: 8522 mv a0,s0
|
|
6950: 40b2 lw ra,12(sp)
|
|
6952: 4422 lw s0,8(sp)
|
|
6954: 4492 lw s1,4(sp)
|
|
6956: 4902 lw s2,0(sp)
|
|
6958: 0141 addi sp,sp,16
|
|
695a: 8082 ret
|
|
695c: 06840413 addi s0,s0,104
|
|
6960: bf71 j 68fc <__sfp+0x24>
|
|
6962: 4591 li a1,4
|
|
6964: 854a mv a0,s2
|
|
6966: ec1ff0ef jal ra,6826 <__sfmoreglue>
|
|
696a: c088 sw a0,0(s1)
|
|
696c: fd49 bnez a0,6906 <__sfp+0x2e>
|
|
696e: 47b1 li a5,12
|
|
6970: 00f92023 sw a5,0(s2)
|
|
6974: 4401 li s0,0
|
|
6976: bfe1 j 694e <__sfp+0x76>
|
|
|
|
00006978 <_fwalk_reent>:
|
|
6978: 7179 addi sp,sp,-48
|
|
697a: d422 sw s0,40(sp)
|
|
697c: d04a sw s2,32(sp)
|
|
697e: cc52 sw s4,24(sp)
|
|
6980: ca56 sw s5,20(sp)
|
|
6982: c85a sw s6,16(sp)
|
|
6984: c65e sw s7,12(sp)
|
|
6986: d606 sw ra,44(sp)
|
|
6988: d226 sw s1,36(sp)
|
|
698a: ce4e sw s3,28(sp)
|
|
698c: 8a2a mv s4,a0
|
|
698e: 8aae mv s5,a1
|
|
6990: 04850413 addi s0,a0,72
|
|
6994: 4901 li s2,0
|
|
6996: 4b05 li s6,1
|
|
6998: 5bfd li s7,-1
|
|
699a: ec09 bnez s0,69b4 <_fwalk_reent+0x3c>
|
|
699c: 50b2 lw ra,44(sp)
|
|
699e: 5422 lw s0,40(sp)
|
|
69a0: 854a mv a0,s2
|
|
69a2: 5492 lw s1,36(sp)
|
|
69a4: 5902 lw s2,32(sp)
|
|
69a6: 49f2 lw s3,28(sp)
|
|
69a8: 4a62 lw s4,24(sp)
|
|
69aa: 4ad2 lw s5,20(sp)
|
|
69ac: 4b42 lw s6,16(sp)
|
|
69ae: 4bb2 lw s7,12(sp)
|
|
69b0: 6145 addi sp,sp,48
|
|
69b2: 8082 ret
|
|
69b4: 4404 lw s1,8(s0)
|
|
69b6: 00442983 lw s3,4(s0)
|
|
69ba: 19fd addi s3,s3,-1
|
|
69bc: 0009d463 bgez s3,69c4 <_fwalk_reent+0x4c>
|
|
69c0: 4000 lw s0,0(s0)
|
|
69c2: bfe1 j 699a <_fwalk_reent+0x22>
|
|
69c4: 24de lhu a5,12(s1)
|
|
69c6: 00fb7b63 bgeu s6,a5,69dc <_fwalk_reent+0x64>
|
|
69ca: 00e49783 lh a5,14(s1)
|
|
69ce: 01778763 beq a5,s7,69dc <_fwalk_reent+0x64>
|
|
69d2: 85a6 mv a1,s1
|
|
69d4: 8552 mv a0,s4
|
|
69d6: 9a82 jalr s5
|
|
69d8: 00a96933 or s2,s2,a0
|
|
69dc: 06848493 addi s1,s1,104
|
|
69e0: bfe9 j 69ba <_fwalk_reent+0x42>
|
|
|
|
000069e2 <__swhatbuf_r>:
|
|
69e2: 7119 addi sp,sp,-128
|
|
69e4: daa6 sw s1,116(sp)
|
|
69e6: 84ae mv s1,a1
|
|
69e8: 00e59583 lh a1,14(a1)
|
|
69ec: dca2 sw s0,120(sp)
|
|
69ee: de86 sw ra,124(sp)
|
|
69f0: 8432 mv s0,a2
|
|
69f2: 0005db63 bgez a1,6a08 <__swhatbuf_r+0x26>
|
|
69f6: 24de lhu a5,12(s1)
|
|
69f8: 0006a023 sw zero,0(a3)
|
|
69fc: 0807f793 andi a5,a5,128
|
|
6a00: e785 bnez a5,6a28 <__swhatbuf_r+0x46>
|
|
6a02: 40000793 li a5,1024
|
|
6a06: a01d j 6a2c <__swhatbuf_r+0x4a>
|
|
6a08: 0830 addi a2,sp,24
|
|
6a0a: c636 sw a3,12(sp)
|
|
6a0c: 565000ef jal ra,7770 <_fstat_r>
|
|
6a10: 46b2 lw a3,12(sp)
|
|
6a12: fe0542e3 bltz a0,69f6 <__swhatbuf_r+0x14>
|
|
6a16: 4772 lw a4,28(sp)
|
|
6a18: 67bd lui a5,0xf
|
|
6a1a: 8ff9 and a5,a5,a4
|
|
6a1c: 7779 lui a4,0xffffe
|
|
6a1e: 97ba add a5,a5,a4
|
|
6a20: 0017b793 seqz a5,a5
|
|
6a24: c29c sw a5,0(a3)
|
|
6a26: bff1 j 6a02 <__swhatbuf_r+0x20>
|
|
6a28: 04000793 li a5,64
|
|
6a2c: c01c sw a5,0(s0)
|
|
6a2e: 50f6 lw ra,124(sp)
|
|
6a30: 5466 lw s0,120(sp)
|
|
6a32: 54d6 lw s1,116(sp)
|
|
6a34: 4501 li a0,0
|
|
6a36: 6109 addi sp,sp,128
|
|
6a38: 8082 ret
|
|
|
|
00006a3a <__smakebuf_r>:
|
|
6a3a: 25de lhu a5,12(a1)
|
|
6a3c: 1101 addi sp,sp,-32
|
|
6a3e: cc22 sw s0,24(sp)
|
|
6a40: ce06 sw ra,28(sp)
|
|
6a42: ca26 sw s1,20(sp)
|
|
6a44: c84a sw s2,16(sp)
|
|
6a46: 8b89 andi a5,a5,2
|
|
6a48: 842e mv s0,a1
|
|
6a4a: cf89 beqz a5,6a64 <__smakebuf_r+0x2a>
|
|
6a4c: 04740793 addi a5,s0,71
|
|
6a50: c01c sw a5,0(s0)
|
|
6a52: c81c sw a5,16(s0)
|
|
6a54: 4785 li a5,1
|
|
6a56: c85c sw a5,20(s0)
|
|
6a58: 40f2 lw ra,28(sp)
|
|
6a5a: 4462 lw s0,24(sp)
|
|
6a5c: 44d2 lw s1,20(sp)
|
|
6a5e: 4942 lw s2,16(sp)
|
|
6a60: 6105 addi sp,sp,32
|
|
6a62: 8082 ret
|
|
6a64: 0074 addi a3,sp,12
|
|
6a66: 0030 addi a2,sp,8
|
|
6a68: 84aa mv s1,a0
|
|
6a6a: f79ff0ef jal ra,69e2 <__swhatbuf_r>
|
|
6a6e: 45a2 lw a1,8(sp)
|
|
6a70: 892a mv s2,a0
|
|
6a72: 8526 mv a0,s1
|
|
6a74: 2229 jal 6b7e <_malloc_r>
|
|
6a76: e919 bnez a0,6a8c <__smakebuf_r+0x52>
|
|
6a78: 00c41783 lh a5,12(s0)
|
|
6a7c: 2007f713 andi a4,a5,512
|
|
6a80: ff61 bnez a4,6a58 <__smakebuf_r+0x1e>
|
|
6a82: 9bf1 andi a5,a5,-4
|
|
6a84: 0027e793 ori a5,a5,2
|
|
6a88: a45e sh a5,12(s0)
|
|
6a8a: b7c9 j 6a4c <__smakebuf_r+0x12>
|
|
6a8c: 00000797 auipc a5,0x0
|
|
6a90: d9078793 addi a5,a5,-624 # 681c <_cleanup_r>
|
|
6a94: d49c sw a5,40(s1)
|
|
6a96: 245e lhu a5,12(s0)
|
|
6a98: c008 sw a0,0(s0)
|
|
6a9a: c808 sw a0,16(s0)
|
|
6a9c: 0807e793 ori a5,a5,128
|
|
6aa0: a45e sh a5,12(s0)
|
|
6aa2: 47a2 lw a5,8(sp)
|
|
6aa4: c85c sw a5,20(s0)
|
|
6aa6: 47b2 lw a5,12(sp)
|
|
6aa8: cf81 beqz a5,6ac0 <__smakebuf_r+0x86>
|
|
6aaa: 00e41583 lh a1,14(s0)
|
|
6aae: 8526 mv a0,s1
|
|
6ab0: 4eb000ef jal ra,779a <_isatty_r>
|
|
6ab4: c511 beqz a0,6ac0 <__smakebuf_r+0x86>
|
|
6ab6: 245e lhu a5,12(s0)
|
|
6ab8: 9bf1 andi a5,a5,-4
|
|
6aba: 0017e793 ori a5,a5,1
|
|
6abe: a45e sh a5,12(s0)
|
|
6ac0: 245e lhu a5,12(s0)
|
|
6ac2: 00f96933 or s2,s2,a5
|
|
6ac6: 01241623 sh s2,12(s0)
|
|
6aca: b779 j 6a58 <__smakebuf_r+0x1e>
|
|
|
|
00006acc <malloc>:
|
|
6acc: 81818793 addi a5,gp,-2024 # 20000178 <_impure_ptr>
|
|
6ad0: 85aa mv a1,a0
|
|
6ad2: 4388 lw a0,0(a5)
|
|
6ad4: a06d j 6b7e <_malloc_r>
|
|
|
|
00006ad6 <_free_r>:
|
|
6ad6: c1dd beqz a1,6b7c <_free_r+0xa6>
|
|
6ad8: ffc5a783 lw a5,-4(a1)
|
|
6adc: 1141 addi sp,sp,-16
|
|
6ade: c422 sw s0,8(sp)
|
|
6ae0: c606 sw ra,12(sp)
|
|
6ae2: c226 sw s1,4(sp)
|
|
6ae4: ffc58413 addi s0,a1,-4
|
|
6ae8: 0007d363 bgez a5,6aee <_free_r+0x18>
|
|
6aec: 943e add s0,s0,a5
|
|
6aee: 84aa mv s1,a0
|
|
6af0: 55d000ef jal ra,784c <__malloc_lock>
|
|
6af4: 89418793 addi a5,gp,-1900 # 200001f4 <__malloc_free_list>
|
|
6af8: 439c lw a5,0(a5)
|
|
6afa: ef81 bnez a5,6b12 <_free_r+0x3c>
|
|
6afc: 00042223 sw zero,4(s0)
|
|
6b00: 8881aa23 sw s0,-1900(gp) # 200001f4 <__malloc_free_list>
|
|
6b04: 4422 lw s0,8(sp)
|
|
6b06: 40b2 lw ra,12(sp)
|
|
6b08: 8526 mv a0,s1
|
|
6b0a: 4492 lw s1,4(sp)
|
|
6b0c: 0141 addi sp,sp,16
|
|
6b0e: 5410006f j 784e <__malloc_unlock>
|
|
6b12: 00f47e63 bgeu s0,a5,6b2e <_free_r+0x58>
|
|
6b16: 4014 lw a3,0(s0)
|
|
6b18: 00d40733 add a4,s0,a3
|
|
6b1c: 00e79663 bne a5,a4,6b28 <_free_r+0x52>
|
|
6b20: 4398 lw a4,0(a5)
|
|
6b22: 43dc lw a5,4(a5)
|
|
6b24: 9736 add a4,a4,a3
|
|
6b26: c018 sw a4,0(s0)
|
|
6b28: c05c sw a5,4(s0)
|
|
6b2a: bfd9 j 6b00 <_free_r+0x2a>
|
|
6b2c: 87ba mv a5,a4
|
|
6b2e: 43d8 lw a4,4(a5)
|
|
6b30: c319 beqz a4,6b36 <_free_r+0x60>
|
|
6b32: fee47de3 bgeu s0,a4,6b2c <_free_r+0x56>
|
|
6b36: 4394 lw a3,0(a5)
|
|
6b38: 00d78633 add a2,a5,a3
|
|
6b3c: 00861f63 bne a2,s0,6b5a <_free_r+0x84>
|
|
6b40: 4010 lw a2,0(s0)
|
|
6b42: 96b2 add a3,a3,a2
|
|
6b44: c394 sw a3,0(a5)
|
|
6b46: 00d78633 add a2,a5,a3
|
|
6b4a: fac71de3 bne a4,a2,6b04 <_free_r+0x2e>
|
|
6b4e: 4310 lw a2,0(a4)
|
|
6b50: 4358 lw a4,4(a4)
|
|
6b52: 96b2 add a3,a3,a2
|
|
6b54: c394 sw a3,0(a5)
|
|
6b56: c3d8 sw a4,4(a5)
|
|
6b58: b775 j 6b04 <_free_r+0x2e>
|
|
6b5a: 00c47563 bgeu s0,a2,6b64 <_free_r+0x8e>
|
|
6b5e: 47b1 li a5,12
|
|
6b60: c09c sw a5,0(s1)
|
|
6b62: b74d j 6b04 <_free_r+0x2e>
|
|
6b64: 4010 lw a2,0(s0)
|
|
6b66: 00c406b3 add a3,s0,a2
|
|
6b6a: 00d71663 bne a4,a3,6b76 <_free_r+0xa0>
|
|
6b6e: 4314 lw a3,0(a4)
|
|
6b70: 4358 lw a4,4(a4)
|
|
6b72: 96b2 add a3,a3,a2
|
|
6b74: c014 sw a3,0(s0)
|
|
6b76: c058 sw a4,4(s0)
|
|
6b78: c3c0 sw s0,4(a5)
|
|
6b7a: b769 j 6b04 <_free_r+0x2e>
|
|
6b7c: 8082 ret
|
|
|
|
00006b7e <_malloc_r>:
|
|
6b7e: 1101 addi sp,sp,-32
|
|
6b80: ca26 sw s1,20(sp)
|
|
6b82: 00358493 addi s1,a1,3
|
|
6b86: 98f1 andi s1,s1,-4
|
|
6b88: ce06 sw ra,28(sp)
|
|
6b8a: cc22 sw s0,24(sp)
|
|
6b8c: c84a sw s2,16(sp)
|
|
6b8e: c64e sw s3,12(sp)
|
|
6b90: 04a1 addi s1,s1,8
|
|
6b92: 47b1 li a5,12
|
|
6b94: 04f4f563 bgeu s1,a5,6bde <_malloc_r+0x60>
|
|
6b98: 44b1 li s1,12
|
|
6b9a: 04b4e463 bltu s1,a1,6be2 <_malloc_r+0x64>
|
|
6b9e: 892a mv s2,a0
|
|
6ba0: 4ad000ef jal ra,784c <__malloc_lock>
|
|
6ba4: 89418793 addi a5,gp,-1900 # 200001f4 <__malloc_free_list>
|
|
6ba8: 4398 lw a4,0(a5)
|
|
6baa: 843a mv s0,a4
|
|
6bac: e429 bnez s0,6bf6 <_malloc_r+0x78>
|
|
6bae: 89818793 addi a5,gp,-1896 # 200001f8 <__malloc_sbrk_start>
|
|
6bb2: 439c lw a5,0(a5)
|
|
6bb4: e799 bnez a5,6bc2 <_malloc_r+0x44>
|
|
6bb6: 4581 li a1,0
|
|
6bb8: 854a mv a0,s2
|
|
6bba: 28d000ef jal ra,7646 <_sbrk_r>
|
|
6bbe: 88a1ac23 sw a0,-1896(gp) # 200001f8 <__malloc_sbrk_start>
|
|
6bc2: 85a6 mv a1,s1
|
|
6bc4: 854a mv a0,s2
|
|
6bc6: 281000ef jal ra,7646 <_sbrk_r>
|
|
6bca: 59fd li s3,-1
|
|
6bcc: 07351963 bne a0,s3,6c3e <_malloc_r+0xc0>
|
|
6bd0: 47b1 li a5,12
|
|
6bd2: 00f92023 sw a5,0(s2)
|
|
6bd6: 854a mv a0,s2
|
|
6bd8: 477000ef jal ra,784e <__malloc_unlock>
|
|
6bdc: a029 j 6be6 <_malloc_r+0x68>
|
|
6bde: fa04dee3 bgez s1,6b9a <_malloc_r+0x1c>
|
|
6be2: 47b1 li a5,12
|
|
6be4: c11c sw a5,0(a0)
|
|
6be6: 4501 li a0,0
|
|
6be8: 40f2 lw ra,28(sp)
|
|
6bea: 4462 lw s0,24(sp)
|
|
6bec: 44d2 lw s1,20(sp)
|
|
6bee: 4942 lw s2,16(sp)
|
|
6bf0: 49b2 lw s3,12(sp)
|
|
6bf2: 6105 addi sp,sp,32
|
|
6bf4: 8082 ret
|
|
6bf6: 401c lw a5,0(s0)
|
|
6bf8: 8f85 sub a5,a5,s1
|
|
6bfa: 0207cf63 bltz a5,6c38 <_malloc_r+0xba>
|
|
6bfe: 46ad li a3,11
|
|
6c00: 00f6f663 bgeu a3,a5,6c0c <_malloc_r+0x8e>
|
|
6c04: c01c sw a5,0(s0)
|
|
6c06: 943e add s0,s0,a5
|
|
6c08: c004 sw s1,0(s0)
|
|
6c0a: a031 j 6c16 <_malloc_r+0x98>
|
|
6c0c: 405c lw a5,4(s0)
|
|
6c0e: 02871363 bne a4,s0,6c34 <_malloc_r+0xb6>
|
|
6c12: 88f1aa23 sw a5,-1900(gp) # 200001f4 <__malloc_free_list>
|
|
6c16: 854a mv a0,s2
|
|
6c18: 437000ef jal ra,784e <__malloc_unlock>
|
|
6c1c: 00b40513 addi a0,s0,11
|
|
6c20: 00440793 addi a5,s0,4
|
|
6c24: 9961 andi a0,a0,-8
|
|
6c26: 40f50733 sub a4,a0,a5
|
|
6c2a: df5d beqz a4,6be8 <_malloc_r+0x6a>
|
|
6c2c: 943a add s0,s0,a4
|
|
6c2e: 8f89 sub a5,a5,a0
|
|
6c30: c01c sw a5,0(s0)
|
|
6c32: bf5d j 6be8 <_malloc_r+0x6a>
|
|
6c34: c35c sw a5,4(a4)
|
|
6c36: b7c5 j 6c16 <_malloc_r+0x98>
|
|
6c38: 8722 mv a4,s0
|
|
6c3a: 4040 lw s0,4(s0)
|
|
6c3c: bf85 j 6bac <_malloc_r+0x2e>
|
|
6c3e: 00350413 addi s0,a0,3
|
|
6c42: 9871 andi s0,s0,-4
|
|
6c44: fc8502e3 beq a0,s0,6c08 <_malloc_r+0x8a>
|
|
6c48: 40a405b3 sub a1,s0,a0
|
|
6c4c: 854a mv a0,s2
|
|
6c4e: 1f9000ef jal ra,7646 <_sbrk_r>
|
|
6c52: fb351be3 bne a0,s3,6c08 <_malloc_r+0x8a>
|
|
6c56: bfad j 6bd0 <_malloc_r+0x52>
|
|
|
|
00006c58 <__ssputs_r>:
|
|
6c58: 1101 addi sp,sp,-32
|
|
6c5a: c84a sw s2,16(sp)
|
|
6c5c: 0085a903 lw s2,8(a1)
|
|
6c60: cc22 sw s0,24(sp)
|
|
6c62: c452 sw s4,8(sp)
|
|
6c64: c05a sw s6,0(sp)
|
|
6c66: ce06 sw ra,28(sp)
|
|
6c68: ca26 sw s1,20(sp)
|
|
6c6a: c64e sw s3,12(sp)
|
|
6c6c: c256 sw s5,4(sp)
|
|
6c6e: 842e mv s0,a1
|
|
6c70: 8b32 mv s6,a2
|
|
6c72: 8a36 mv s4,a3
|
|
6c74: 0926e963 bltu a3,s2,6d06 <__ssputs_r+0xae>
|
|
6c78: 25de lhu a5,12(a1)
|
|
6c7a: 4807f713 andi a4,a5,1152
|
|
6c7e: c351 beqz a4,6d02 <__ssputs_r+0xaa>
|
|
6c80: 4004 lw s1,0(s0)
|
|
6c82: 498c lw a1,16(a1)
|
|
6c84: 4858 lw a4,20(s0)
|
|
6c86: 8aaa mv s5,a0
|
|
6c88: 40b489b3 sub s3,s1,a1
|
|
6c8c: 448d li s1,3
|
|
6c8e: 02e484b3 mul s1,s1,a4
|
|
6c92: 4709 li a4,2
|
|
6c94: 02e4c4b3 div s1,s1,a4
|
|
6c98: 00168713 addi a4,a3,1
|
|
6c9c: 974e add a4,a4,s3
|
|
6c9e: 00e4f363 bgeu s1,a4,6ca4 <__ssputs_r+0x4c>
|
|
6ca2: 84ba mv s1,a4
|
|
6ca4: 4007f793 andi a5,a5,1024
|
|
6ca8: cfbd beqz a5,6d26 <__ssputs_r+0xce>
|
|
6caa: 85a6 mv a1,s1
|
|
6cac: 8556 mv a0,s5
|
|
6cae: ed1ff0ef jal ra,6b7e <_malloc_r>
|
|
6cb2: 892a mv s2,a0
|
|
6cb4: e11d bnez a0,6cda <__ssputs_r+0x82>
|
|
6cb6: 47b1 li a5,12
|
|
6cb8: 00faa023 sw a5,0(s5)
|
|
6cbc: 245e lhu a5,12(s0)
|
|
6cbe: 557d li a0,-1
|
|
6cc0: 0407e793 ori a5,a5,64
|
|
6cc4: a45e sh a5,12(s0)
|
|
6cc6: 40f2 lw ra,28(sp)
|
|
6cc8: 4462 lw s0,24(sp)
|
|
6cca: 44d2 lw s1,20(sp)
|
|
6ccc: 4942 lw s2,16(sp)
|
|
6cce: 49b2 lw s3,12(sp)
|
|
6cd0: 4a22 lw s4,8(sp)
|
|
6cd2: 4a92 lw s5,4(sp)
|
|
6cd4: 4b02 lw s6,0(sp)
|
|
6cd6: 6105 addi sp,sp,32
|
|
6cd8: 8082 ret
|
|
6cda: 480c lw a1,16(s0)
|
|
6cdc: 864e mv a2,s3
|
|
6cde: c96ff0ef jal ra,6174 <memcpy>
|
|
6ce2: 245e lhu a5,12(s0)
|
|
6ce4: b7f7f793 andi a5,a5,-1153
|
|
6ce8: 0807e793 ori a5,a5,128
|
|
6cec: a45e sh a5,12(s0)
|
|
6cee: 01242823 sw s2,16(s0)
|
|
6cf2: c844 sw s1,20(s0)
|
|
6cf4: 994e add s2,s2,s3
|
|
6cf6: 413484b3 sub s1,s1,s3
|
|
6cfa: 01242023 sw s2,0(s0)
|
|
6cfe: c404 sw s1,8(s0)
|
|
6d00: 8952 mv s2,s4
|
|
6d02: 012a7363 bgeu s4,s2,6d08 <__ssputs_r+0xb0>
|
|
6d06: 8952 mv s2,s4
|
|
6d08: 4008 lw a0,0(s0)
|
|
6d0a: 864a mv a2,s2
|
|
6d0c: 85da mv a1,s6
|
|
6d0e: 2f9000ef jal ra,7806 <memmove>
|
|
6d12: 441c lw a5,8(s0)
|
|
6d14: 4501 li a0,0
|
|
6d16: 412787b3 sub a5,a5,s2
|
|
6d1a: c41c sw a5,8(s0)
|
|
6d1c: 401c lw a5,0(s0)
|
|
6d1e: 993e add s2,s2,a5
|
|
6d20: 01242023 sw s2,0(s0)
|
|
6d24: b74d j 6cc6 <__ssputs_r+0x6e>
|
|
6d26: 8626 mv a2,s1
|
|
6d28: 8556 mv a0,s5
|
|
6d2a: 327000ef jal ra,7850 <_realloc_r>
|
|
6d2e: 892a mv s2,a0
|
|
6d30: fd5d bnez a0,6cee <__ssputs_r+0x96>
|
|
6d32: 480c lw a1,16(s0)
|
|
6d34: 8556 mv a0,s5
|
|
6d36: da1ff0ef jal ra,6ad6 <_free_r>
|
|
6d3a: bfb5 j 6cb6 <__ssputs_r+0x5e>
|
|
|
|
00006d3c <_svfiprintf_r>:
|
|
6d3c: 25de lhu a5,12(a1)
|
|
6d3e: 7171 addi sp,sp,-176
|
|
6d40: d326 sw s1,164(sp)
|
|
6d42: d14a sw s2,160(sp)
|
|
6d44: cf4e sw s3,156(sp)
|
|
6d46: d706 sw ra,172(sp)
|
|
6d48: d522 sw s0,168(sp)
|
|
6d4a: cd52 sw s4,152(sp)
|
|
6d4c: cb56 sw s5,148(sp)
|
|
6d4e: c95a sw s6,144(sp)
|
|
6d50: c75e sw s7,140(sp)
|
|
6d52: c562 sw s8,136(sp)
|
|
6d54: c366 sw s9,132(sp)
|
|
6d56: 0807f793 andi a5,a5,128
|
|
6d5a: 89aa mv s3,a0
|
|
6d5c: 892e mv s2,a1
|
|
6d5e: 84b2 mv s1,a2
|
|
6d60: c3b9 beqz a5,6da6 <_svfiprintf_r+0x6a>
|
|
6d62: 499c lw a5,16(a1)
|
|
6d64: e3a9 bnez a5,6da6 <_svfiprintf_r+0x6a>
|
|
6d66: 04000593 li a1,64
|
|
6d6a: c636 sw a3,12(sp)
|
|
6d6c: e13ff0ef jal ra,6b7e <_malloc_r>
|
|
6d70: 00a92023 sw a0,0(s2)
|
|
6d74: 00a92823 sw a0,16(s2)
|
|
6d78: 46b2 lw a3,12(sp)
|
|
6d7a: e115 bnez a0,6d9e <_svfiprintf_r+0x62>
|
|
6d7c: 47b1 li a5,12
|
|
6d7e: 00f9a023 sw a5,0(s3)
|
|
6d82: 557d li a0,-1
|
|
6d84: 50ba lw ra,172(sp)
|
|
6d86: 542a lw s0,168(sp)
|
|
6d88: 549a lw s1,164(sp)
|
|
6d8a: 590a lw s2,160(sp)
|
|
6d8c: 49fa lw s3,156(sp)
|
|
6d8e: 4a6a lw s4,152(sp)
|
|
6d90: 4ada lw s5,148(sp)
|
|
6d92: 4b4a lw s6,144(sp)
|
|
6d94: 4bba lw s7,140(sp)
|
|
6d96: 4c2a lw s8,136(sp)
|
|
6d98: 4c9a lw s9,132(sp)
|
|
6d9a: 614d addi sp,sp,176
|
|
6d9c: 8082 ret
|
|
6d9e: 04000793 li a5,64
|
|
6da2: 00f92a23 sw a5,20(s2)
|
|
6da6: 02000793 li a5,32
|
|
6daa: 02f10ca3 sb a5,57(sp)
|
|
6dae: 03000793 li a5,48
|
|
6db2: da02 sw zero,52(sp)
|
|
6db4: 02f10d23 sb a5,58(sp)
|
|
6db8: ce36 sw a3,28(sp)
|
|
6dba: 02500b93 li s7,37
|
|
6dbe: 00001a97 auipc s5,0x1
|
|
6dc2: 532a8a93 addi s5,s5,1330 # 82f0 <__sf_fake_stdout+0x20>
|
|
6dc6: 4c05 li s8,1
|
|
6dc8: 4b29 li s6,10
|
|
6dca: 8426 mv s0,s1
|
|
6dcc: 201c lbu a5,0(s0)
|
|
6dce: c399 beqz a5,6dd4 <_svfiprintf_r+0x98>
|
|
6dd0: 09779963 bne a5,s7,6e62 <_svfiprintf_r+0x126>
|
|
6dd4: 40940cb3 sub s9,s0,s1
|
|
6dd8: 000c8e63 beqz s9,6df4 <_svfiprintf_r+0xb8>
|
|
6ddc: 86e6 mv a3,s9
|
|
6dde: 8626 mv a2,s1
|
|
6de0: 85ca mv a1,s2
|
|
6de2: 854e mv a0,s3
|
|
6de4: e75ff0ef jal ra,6c58 <__ssputs_r>
|
|
6de8: 57fd li a5,-1
|
|
6dea: 18f50b63 beq a0,a5,6f80 <_svfiprintf_r+0x244>
|
|
6dee: 56d2 lw a3,52(sp)
|
|
6df0: 96e6 add a3,a3,s9
|
|
6df2: da36 sw a3,52(sp)
|
|
6df4: 201c lbu a5,0(s0)
|
|
6df6: 18078563 beqz a5,6f80 <_svfiprintf_r+0x244>
|
|
6dfa: 57fd li a5,-1
|
|
6dfc: 00140493 addi s1,s0,1
|
|
6e00: d002 sw zero,32(sp)
|
|
6e02: d602 sw zero,44(sp)
|
|
6e04: d23e sw a5,36(sp)
|
|
6e06: d402 sw zero,40(sp)
|
|
6e08: 060101a3 sb zero,99(sp)
|
|
6e0c: dc82 sw zero,120(sp)
|
|
6e0e: 208c lbu a1,0(s1)
|
|
6e10: 4615 li a2,5
|
|
6e12: 8556 mv a0,s5
|
|
6e14: 1db000ef jal ra,77ee <memchr>
|
|
6e18: 00148413 addi s0,s1,1
|
|
6e1c: 5782 lw a5,32(sp)
|
|
6e1e: e521 bnez a0,6e66 <_svfiprintf_r+0x12a>
|
|
6e20: 0107f713 andi a4,a5,16
|
|
6e24: c709 beqz a4,6e2e <_svfiprintf_r+0xf2>
|
|
6e26: 02000713 li a4,32
|
|
6e2a: 06e101a3 sb a4,99(sp)
|
|
6e2e: 0087f713 andi a4,a5,8
|
|
6e32: c709 beqz a4,6e3c <_svfiprintf_r+0x100>
|
|
6e34: 02b00713 li a4,43
|
|
6e38: 06e101a3 sb a4,99(sp)
|
|
6e3c: 2094 lbu a3,0(s1)
|
|
6e3e: 02a00713 li a4,42
|
|
6e42: 02e68a63 beq a3,a4,6e76 <_svfiprintf_r+0x13a>
|
|
6e46: 57b2 lw a5,44(sp)
|
|
6e48: 8426 mv s0,s1
|
|
6e4a: 4681 li a3,0
|
|
6e4c: 4625 li a2,9
|
|
6e4e: 2018 lbu a4,0(s0)
|
|
6e50: 00140593 addi a1,s0,1
|
|
6e54: fd070713 addi a4,a4,-48 # ffffdfd0 <_eusrstack+0xdfff8fd0>
|
|
6e58: 06e67263 bgeu a2,a4,6ebc <_svfiprintf_r+0x180>
|
|
6e5c: c68d beqz a3,6e86 <_svfiprintf_r+0x14a>
|
|
6e5e: d63e sw a5,44(sp)
|
|
6e60: a01d j 6e86 <_svfiprintf_r+0x14a>
|
|
6e62: 0405 addi s0,s0,1
|
|
6e64: b7a5 j 6dcc <_svfiprintf_r+0x90>
|
|
6e66: 41550533 sub a0,a0,s5
|
|
6e6a: 00ac1533 sll a0,s8,a0
|
|
6e6e: 8fc9 or a5,a5,a0
|
|
6e70: d03e sw a5,32(sp)
|
|
6e72: 84a2 mv s1,s0
|
|
6e74: bf69 j 6e0e <_svfiprintf_r+0xd2>
|
|
6e76: 4772 lw a4,28(sp)
|
|
6e78: 00470693 addi a3,a4,4
|
|
6e7c: 4318 lw a4,0(a4)
|
|
6e7e: ce36 sw a3,28(sp)
|
|
6e80: 02074763 bltz a4,6eae <_svfiprintf_r+0x172>
|
|
6e84: d63a sw a4,44(sp)
|
|
6e86: 2018 lbu a4,0(s0)
|
|
6e88: 02e00793 li a5,46
|
|
6e8c: 04f71d63 bne a4,a5,6ee6 <_svfiprintf_r+0x1aa>
|
|
6e90: 3018 lbu a4,1(s0)
|
|
6e92: 02a00793 li a5,42
|
|
6e96: 02f71b63 bne a4,a5,6ecc <_svfiprintf_r+0x190>
|
|
6e9a: 47f2 lw a5,28(sp)
|
|
6e9c: 0409 addi s0,s0,2
|
|
6e9e: 00478713 addi a4,a5,4
|
|
6ea2: 439c lw a5,0(a5)
|
|
6ea4: ce3a sw a4,28(sp)
|
|
6ea6: 0207c163 bltz a5,6ec8 <_svfiprintf_r+0x18c>
|
|
6eaa: d23e sw a5,36(sp)
|
|
6eac: a82d j 6ee6 <_svfiprintf_r+0x1aa>
|
|
6eae: 40e00733 neg a4,a4
|
|
6eb2: 0027e793 ori a5,a5,2
|
|
6eb6: d63a sw a4,44(sp)
|
|
6eb8: d03e sw a5,32(sp)
|
|
6eba: b7f1 j 6e86 <_svfiprintf_r+0x14a>
|
|
6ebc: 036787b3 mul a5,a5,s6
|
|
6ec0: 4685 li a3,1
|
|
6ec2: 842e mv s0,a1
|
|
6ec4: 97ba add a5,a5,a4
|
|
6ec6: b761 j 6e4e <_svfiprintf_r+0x112>
|
|
6ec8: 57fd li a5,-1
|
|
6eca: b7c5 j 6eaa <_svfiprintf_r+0x16e>
|
|
6ecc: 0405 addi s0,s0,1
|
|
6ece: d202 sw zero,36(sp)
|
|
6ed0: 4681 li a3,0
|
|
6ed2: 4781 li a5,0
|
|
6ed4: 4625 li a2,9
|
|
6ed6: 2018 lbu a4,0(s0)
|
|
6ed8: 00140593 addi a1,s0,1
|
|
6edc: fd070713 addi a4,a4,-48
|
|
6ee0: 06e67663 bgeu a2,a4,6f4c <_svfiprintf_r+0x210>
|
|
6ee4: f2f9 bnez a3,6eaa <_svfiprintf_r+0x16e>
|
|
6ee6: 200c lbu a1,0(s0)
|
|
6ee8: 460d li a2,3
|
|
6eea: 00001517 auipc a0,0x1
|
|
6eee: 40e50513 addi a0,a0,1038 # 82f8 <__sf_fake_stdout+0x28>
|
|
6ef2: 0fd000ef jal ra,77ee <memchr>
|
|
6ef6: cd11 beqz a0,6f12 <_svfiprintf_r+0x1d6>
|
|
6ef8: 00001797 auipc a5,0x1
|
|
6efc: 40078793 addi a5,a5,1024 # 82f8 <__sf_fake_stdout+0x28>
|
|
6f00: 8d1d sub a0,a0,a5
|
|
6f02: 04000793 li a5,64
|
|
6f06: 00a797b3 sll a5,a5,a0
|
|
6f0a: 5502 lw a0,32(sp)
|
|
6f0c: 0405 addi s0,s0,1
|
|
6f0e: 8d5d or a0,a0,a5
|
|
6f10: d02a sw a0,32(sp)
|
|
6f12: 200c lbu a1,0(s0)
|
|
6f14: 4619 li a2,6
|
|
6f16: 00001517 auipc a0,0x1
|
|
6f1a: 3e650513 addi a0,a0,998 # 82fc <__sf_fake_stdout+0x2c>
|
|
6f1e: 00140493 addi s1,s0,1
|
|
6f22: 02b10c23 sb a1,56(sp)
|
|
6f26: 0c9000ef jal ra,77ee <memchr>
|
|
6f2a: c525 beqz a0,6f92 <_svfiprintf_r+0x256>
|
|
6f2c: ffff9797 auipc a5,0xffff9
|
|
6f30: 0d478793 addi a5,a5,212 # 0 <_sinit>
|
|
6f34: e795 bnez a5,6f60 <_svfiprintf_r+0x224>
|
|
6f36: 5702 lw a4,32(sp)
|
|
6f38: 47f2 lw a5,28(sp)
|
|
6f3a: 10077713 andi a4,a4,256
|
|
6f3e: cf09 beqz a4,6f58 <_svfiprintf_r+0x21c>
|
|
6f40: 0791 addi a5,a5,4
|
|
6f42: ce3e sw a5,28(sp)
|
|
6f44: 57d2 lw a5,52(sp)
|
|
6f46: 97d2 add a5,a5,s4
|
|
6f48: da3e sw a5,52(sp)
|
|
6f4a: b541 j 6dca <_svfiprintf_r+0x8e>
|
|
6f4c: 036787b3 mul a5,a5,s6
|
|
6f50: 4685 li a3,1
|
|
6f52: 842e mv s0,a1
|
|
6f54: 97ba add a5,a5,a4
|
|
6f56: b741 j 6ed6 <_svfiprintf_r+0x19a>
|
|
6f58: 079d addi a5,a5,7
|
|
6f5a: 9be1 andi a5,a5,-8
|
|
6f5c: 07a1 addi a5,a5,8
|
|
6f5e: b7d5 j 6f42 <_svfiprintf_r+0x206>
|
|
6f60: 0878 addi a4,sp,28
|
|
6f62: 00000697 auipc a3,0x0
|
|
6f66: cf668693 addi a3,a3,-778 # 6c58 <__ssputs_r>
|
|
6f6a: 864a mv a2,s2
|
|
6f6c: 100c addi a1,sp,32
|
|
6f6e: 854e mv a0,s3
|
|
6f70: 00000097 auipc ra,0x0
|
|
6f74: 000000e7 jalr zero # 0 <_sinit>
|
|
6f78: 57fd li a5,-1
|
|
6f7a: 8a2a mv s4,a0
|
|
6f7c: fcf514e3 bne a0,a5,6f44 <_svfiprintf_r+0x208>
|
|
6f80: 00c95783 lhu a5,12(s2)
|
|
6f84: 557d li a0,-1
|
|
6f86: 0407f793 andi a5,a5,64
|
|
6f8a: de079de3 bnez a5,6d84 <_svfiprintf_r+0x48>
|
|
6f8e: 5552 lw a0,52(sp)
|
|
6f90: bbd5 j 6d84 <_svfiprintf_r+0x48>
|
|
6f92: 0878 addi a4,sp,28
|
|
6f94: 00000697 auipc a3,0x0
|
|
6f98: cc468693 addi a3,a3,-828 # 6c58 <__ssputs_r>
|
|
6f9c: 864a mv a2,s2
|
|
6f9e: 100c addi a1,sp,32
|
|
6fa0: 854e mv a0,s3
|
|
6fa2: 2109 jal 73a4 <_printf_i>
|
|
6fa4: bfd1 j 6f78 <_svfiprintf_r+0x23c>
|
|
|
|
00006fa6 <__sfputc_r>:
|
|
6fa6: 461c lw a5,8(a2)
|
|
6fa8: 17fd addi a5,a5,-1
|
|
6faa: c61c sw a5,8(a2)
|
|
6fac: 0007da63 bgez a5,6fc0 <__sfputc_r+0x1a>
|
|
6fb0: 4e18 lw a4,24(a2)
|
|
6fb2: 00e7c563 blt a5,a4,6fbc <__sfputc_r+0x16>
|
|
6fb6: 47a9 li a5,10
|
|
6fb8: 00f59463 bne a1,a5,6fc0 <__sfputc_r+0x1a>
|
|
6fbc: cacff06f j 6468 <__swbuf_r>
|
|
6fc0: 421c lw a5,0(a2)
|
|
6fc2: 852e mv a0,a1
|
|
6fc4: 00178713 addi a4,a5,1
|
|
6fc8: c218 sw a4,0(a2)
|
|
6fca: a38c sb a1,0(a5)
|
|
6fcc: 8082 ret
|
|
|
|
00006fce <__sfputs_r>:
|
|
6fce: 1101 addi sp,sp,-32
|
|
6fd0: cc22 sw s0,24(sp)
|
|
6fd2: ca26 sw s1,20(sp)
|
|
6fd4: c84a sw s2,16(sp)
|
|
6fd6: c64e sw s3,12(sp)
|
|
6fd8: c452 sw s4,8(sp)
|
|
6fda: ce06 sw ra,28(sp)
|
|
6fdc: 892a mv s2,a0
|
|
6fde: 89ae mv s3,a1
|
|
6fe0: 8432 mv s0,a2
|
|
6fe2: 00d604b3 add s1,a2,a3
|
|
6fe6: 5a7d li s4,-1
|
|
6fe8: 00941463 bne s0,s1,6ff0 <__sfputs_r+0x22>
|
|
6fec: 4501 li a0,0
|
|
6fee: a809 j 7000 <__sfputs_r+0x32>
|
|
6ff0: 200c lbu a1,0(s0)
|
|
6ff2: 864e mv a2,s3
|
|
6ff4: 854a mv a0,s2
|
|
6ff6: fb1ff0ef jal ra,6fa6 <__sfputc_r>
|
|
6ffa: 0405 addi s0,s0,1
|
|
6ffc: ff4516e3 bne a0,s4,6fe8 <__sfputs_r+0x1a>
|
|
7000: 40f2 lw ra,28(sp)
|
|
7002: 4462 lw s0,24(sp)
|
|
7004: 44d2 lw s1,20(sp)
|
|
7006: 4942 lw s2,16(sp)
|
|
7008: 49b2 lw s3,12(sp)
|
|
700a: 4a22 lw s4,8(sp)
|
|
700c: 6105 addi sp,sp,32
|
|
700e: 8082 ret
|
|
|
|
00007010 <_vfiprintf_r>:
|
|
7010: 7135 addi sp,sp,-160
|
|
7012: cd22 sw s0,152(sp)
|
|
7014: cb26 sw s1,148(sp)
|
|
7016: c94a sw s2,144(sp)
|
|
7018: c74e sw s3,140(sp)
|
|
701a: cf06 sw ra,156(sp)
|
|
701c: c552 sw s4,136(sp)
|
|
701e: c356 sw s5,132(sp)
|
|
7020: c15a sw s6,128(sp)
|
|
7022: dede sw s7,124(sp)
|
|
7024: dce2 sw s8,120(sp)
|
|
7026: dae6 sw s9,116(sp)
|
|
7028: 89aa mv s3,a0
|
|
702a: 84ae mv s1,a1
|
|
702c: 8932 mv s2,a2
|
|
702e: 8436 mv s0,a3
|
|
7030: c509 beqz a0,703a <_vfiprintf_r+0x2a>
|
|
7032: 4d1c lw a5,24(a0)
|
|
7034: e399 bnez a5,703a <_vfiprintf_r+0x2a>
|
|
7036: 837ff0ef jal ra,686c <__sinit>
|
|
703a: 00001797 auipc a5,0x1
|
|
703e: 27678793 addi a5,a5,630 # 82b0 <__sf_fake_stdin>
|
|
7042: 0cf49863 bne s1,a5,7112 <_vfiprintf_r+0x102>
|
|
7046: 0049a483 lw s1,4(s3)
|
|
704a: 24de lhu a5,12(s1)
|
|
704c: 8ba1 andi a5,a5,8
|
|
704e: c7e5 beqz a5,7136 <_vfiprintf_r+0x126>
|
|
7050: 489c lw a5,16(s1)
|
|
7052: c3f5 beqz a5,7136 <_vfiprintf_r+0x126>
|
|
7054: 02000793 li a5,32
|
|
7058: 02f104a3 sb a5,41(sp)
|
|
705c: 03000793 li a5,48
|
|
7060: d202 sw zero,36(sp)
|
|
7062: 02f10523 sb a5,42(sp)
|
|
7066: c622 sw s0,12(sp)
|
|
7068: 02500b93 li s7,37
|
|
706c: 00001a97 auipc s5,0x1
|
|
7070: 284a8a93 addi s5,s5,644 # 82f0 <__sf_fake_stdout+0x20>
|
|
7074: 4c05 li s8,1
|
|
7076: 4b29 li s6,10
|
|
7078: 844a mv s0,s2
|
|
707a: 201c lbu a5,0(s0)
|
|
707c: c399 beqz a5,7082 <_vfiprintf_r+0x72>
|
|
707e: 0d779f63 bne a5,s7,715c <_vfiprintf_r+0x14c>
|
|
7082: 41240cb3 sub s9,s0,s2
|
|
7086: 000c8e63 beqz s9,70a2 <_vfiprintf_r+0x92>
|
|
708a: 86e6 mv a3,s9
|
|
708c: 864a mv a2,s2
|
|
708e: 85a6 mv a1,s1
|
|
7090: 854e mv a0,s3
|
|
7092: f3dff0ef jal ra,6fce <__sfputs_r>
|
|
7096: 57fd li a5,-1
|
|
7098: 1cf50f63 beq a0,a5,7276 <_vfiprintf_r+0x266>
|
|
709c: 5692 lw a3,36(sp)
|
|
709e: 96e6 add a3,a3,s9
|
|
70a0: d236 sw a3,36(sp)
|
|
70a2: 201c lbu a5,0(s0)
|
|
70a4: 1c078963 beqz a5,7276 <_vfiprintf_r+0x266>
|
|
70a8: 57fd li a5,-1
|
|
70aa: 00140913 addi s2,s0,1
|
|
70ae: c802 sw zero,16(sp)
|
|
70b0: ce02 sw zero,28(sp)
|
|
70b2: ca3e sw a5,20(sp)
|
|
70b4: cc02 sw zero,24(sp)
|
|
70b6: 040109a3 sb zero,83(sp)
|
|
70ba: d482 sw zero,104(sp)
|
|
70bc: 00094583 lbu a1,0(s2)
|
|
70c0: 4615 li a2,5
|
|
70c2: 8556 mv a0,s5
|
|
70c4: 272d jal 77ee <memchr>
|
|
70c6: 00190413 addi s0,s2,1
|
|
70ca: 47c2 lw a5,16(sp)
|
|
70cc: e951 bnez a0,7160 <_vfiprintf_r+0x150>
|
|
70ce: 0107f713 andi a4,a5,16
|
|
70d2: c709 beqz a4,70dc <_vfiprintf_r+0xcc>
|
|
70d4: 02000713 li a4,32
|
|
70d8: 04e109a3 sb a4,83(sp)
|
|
70dc: 0087f713 andi a4,a5,8
|
|
70e0: c709 beqz a4,70ea <_vfiprintf_r+0xda>
|
|
70e2: 02b00713 li a4,43
|
|
70e6: 04e109a3 sb a4,83(sp)
|
|
70ea: 00094683 lbu a3,0(s2)
|
|
70ee: 02a00713 li a4,42
|
|
70f2: 06e68f63 beq a3,a4,7170 <_vfiprintf_r+0x160>
|
|
70f6: 47f2 lw a5,28(sp)
|
|
70f8: 844a mv s0,s2
|
|
70fa: 4681 li a3,0
|
|
70fc: 4625 li a2,9
|
|
70fe: 2018 lbu a4,0(s0)
|
|
7100: 00140593 addi a1,s0,1
|
|
7104: fd070713 addi a4,a4,-48
|
|
7108: 0ae67763 bgeu a2,a4,71b6 <_vfiprintf_r+0x1a6>
|
|
710c: cab5 beqz a3,7180 <_vfiprintf_r+0x170>
|
|
710e: ce3e sw a5,28(sp)
|
|
7110: a885 j 7180 <_vfiprintf_r+0x170>
|
|
7112: 00001797 auipc a5,0x1
|
|
7116: 1be78793 addi a5,a5,446 # 82d0 <__sf_fake_stdout>
|
|
711a: 00f49563 bne s1,a5,7124 <_vfiprintf_r+0x114>
|
|
711e: 0089a483 lw s1,8(s3)
|
|
7122: b725 j 704a <_vfiprintf_r+0x3a>
|
|
7124: 00001797 auipc a5,0x1
|
|
7128: 16c78793 addi a5,a5,364 # 8290 <__sf_fake_stderr>
|
|
712c: f0f49fe3 bne s1,a5,704a <_vfiprintf_r+0x3a>
|
|
7130: 00c9a483 lw s1,12(s3)
|
|
7134: bf19 j 704a <_vfiprintf_r+0x3a>
|
|
7136: 85a6 mv a1,s1
|
|
7138: 854e mv a0,s3
|
|
713a: beaff0ef jal ra,6524 <__swsetup_r>
|
|
713e: d919 beqz a0,7054 <_vfiprintf_r+0x44>
|
|
7140: 557d li a0,-1
|
|
7142: 40fa lw ra,156(sp)
|
|
7144: 446a lw s0,152(sp)
|
|
7146: 44da lw s1,148(sp)
|
|
7148: 494a lw s2,144(sp)
|
|
714a: 49ba lw s3,140(sp)
|
|
714c: 4a2a lw s4,136(sp)
|
|
714e: 4a9a lw s5,132(sp)
|
|
7150: 4b0a lw s6,128(sp)
|
|
7152: 5bf6 lw s7,124(sp)
|
|
7154: 5c66 lw s8,120(sp)
|
|
7156: 5cd6 lw s9,116(sp)
|
|
7158: 610d addi sp,sp,160
|
|
715a: 8082 ret
|
|
715c: 0405 addi s0,s0,1
|
|
715e: bf31 j 707a <_vfiprintf_r+0x6a>
|
|
7160: 41550533 sub a0,a0,s5
|
|
7164: 00ac1533 sll a0,s8,a0
|
|
7168: 8fc9 or a5,a5,a0
|
|
716a: c83e sw a5,16(sp)
|
|
716c: 8922 mv s2,s0
|
|
716e: b7b9 j 70bc <_vfiprintf_r+0xac>
|
|
7170: 4732 lw a4,12(sp)
|
|
7172: 00470693 addi a3,a4,4
|
|
7176: 4318 lw a4,0(a4)
|
|
7178: c636 sw a3,12(sp)
|
|
717a: 02074763 bltz a4,71a8 <_vfiprintf_r+0x198>
|
|
717e: ce3a sw a4,28(sp)
|
|
7180: 2018 lbu a4,0(s0)
|
|
7182: 02e00793 li a5,46
|
|
7186: 04f71d63 bne a4,a5,71e0 <_vfiprintf_r+0x1d0>
|
|
718a: 3018 lbu a4,1(s0)
|
|
718c: 02a00793 li a5,42
|
|
7190: 02f71b63 bne a4,a5,71c6 <_vfiprintf_r+0x1b6>
|
|
7194: 47b2 lw a5,12(sp)
|
|
7196: 0409 addi s0,s0,2
|
|
7198: 00478713 addi a4,a5,4
|
|
719c: 439c lw a5,0(a5)
|
|
719e: c63a sw a4,12(sp)
|
|
71a0: 0207c163 bltz a5,71c2 <_vfiprintf_r+0x1b2>
|
|
71a4: ca3e sw a5,20(sp)
|
|
71a6: a82d j 71e0 <_vfiprintf_r+0x1d0>
|
|
71a8: 40e00733 neg a4,a4
|
|
71ac: 0027e793 ori a5,a5,2
|
|
71b0: ce3a sw a4,28(sp)
|
|
71b2: c83e sw a5,16(sp)
|
|
71b4: b7f1 j 7180 <_vfiprintf_r+0x170>
|
|
71b6: 036787b3 mul a5,a5,s6
|
|
71ba: 4685 li a3,1
|
|
71bc: 842e mv s0,a1
|
|
71be: 97ba add a5,a5,a4
|
|
71c0: bf3d j 70fe <_vfiprintf_r+0xee>
|
|
71c2: 57fd li a5,-1
|
|
71c4: b7c5 j 71a4 <_vfiprintf_r+0x194>
|
|
71c6: 0405 addi s0,s0,1
|
|
71c8: ca02 sw zero,20(sp)
|
|
71ca: 4681 li a3,0
|
|
71cc: 4781 li a5,0
|
|
71ce: 4625 li a2,9
|
|
71d0: 2018 lbu a4,0(s0)
|
|
71d2: 00140593 addi a1,s0,1
|
|
71d6: fd070713 addi a4,a4,-48
|
|
71da: 06e67463 bgeu a2,a4,7242 <_vfiprintf_r+0x232>
|
|
71de: f2f9 bnez a3,71a4 <_vfiprintf_r+0x194>
|
|
71e0: 200c lbu a1,0(s0)
|
|
71e2: 460d li a2,3
|
|
71e4: 00001517 auipc a0,0x1
|
|
71e8: 11450513 addi a0,a0,276 # 82f8 <__sf_fake_stdout+0x28>
|
|
71ec: 2509 jal 77ee <memchr>
|
|
71ee: cd11 beqz a0,720a <_vfiprintf_r+0x1fa>
|
|
71f0: 00001797 auipc a5,0x1
|
|
71f4: 10878793 addi a5,a5,264 # 82f8 <__sf_fake_stdout+0x28>
|
|
71f8: 8d1d sub a0,a0,a5
|
|
71fa: 04000793 li a5,64
|
|
71fe: 00a797b3 sll a5,a5,a0
|
|
7202: 4542 lw a0,16(sp)
|
|
7204: 0405 addi s0,s0,1
|
|
7206: 8d5d or a0,a0,a5
|
|
7208: c82a sw a0,16(sp)
|
|
720a: 200c lbu a1,0(s0)
|
|
720c: 4619 li a2,6
|
|
720e: 00001517 auipc a0,0x1
|
|
7212: 0ee50513 addi a0,a0,238 # 82fc <__sf_fake_stdout+0x2c>
|
|
7216: 00140913 addi s2,s0,1
|
|
721a: 02b10423 sb a1,40(sp)
|
|
721e: 2bc1 jal 77ee <memchr>
|
|
7220: c135 beqz a0,7284 <_vfiprintf_r+0x274>
|
|
7222: ffff9797 auipc a5,0xffff9
|
|
7226: dde78793 addi a5,a5,-546 # 0 <_sinit>
|
|
722a: e795 bnez a5,7256 <_vfiprintf_r+0x246>
|
|
722c: 4742 lw a4,16(sp)
|
|
722e: 47b2 lw a5,12(sp)
|
|
7230: 10077713 andi a4,a4,256
|
|
7234: cf09 beqz a4,724e <_vfiprintf_r+0x23e>
|
|
7236: 0791 addi a5,a5,4
|
|
7238: c63e sw a5,12(sp)
|
|
723a: 5792 lw a5,36(sp)
|
|
723c: 97d2 add a5,a5,s4
|
|
723e: d23e sw a5,36(sp)
|
|
7240: bd25 j 7078 <_vfiprintf_r+0x68>
|
|
7242: 036787b3 mul a5,a5,s6
|
|
7246: 4685 li a3,1
|
|
7248: 842e mv s0,a1
|
|
724a: 97ba add a5,a5,a4
|
|
724c: b751 j 71d0 <_vfiprintf_r+0x1c0>
|
|
724e: 079d addi a5,a5,7
|
|
7250: 9be1 andi a5,a5,-8
|
|
7252: 07a1 addi a5,a5,8
|
|
7254: b7d5 j 7238 <_vfiprintf_r+0x228>
|
|
7256: 0078 addi a4,sp,12
|
|
7258: 00000697 auipc a3,0x0
|
|
725c: d7668693 addi a3,a3,-650 # 6fce <__sfputs_r>
|
|
7260: 8626 mv a2,s1
|
|
7262: 080c addi a1,sp,16
|
|
7264: 854e mv a0,s3
|
|
7266: 00000097 auipc ra,0x0
|
|
726a: 000000e7 jalr zero # 0 <_sinit>
|
|
726e: 57fd li a5,-1
|
|
7270: 8a2a mv s4,a0
|
|
7272: fcf514e3 bne a0,a5,723a <_vfiprintf_r+0x22a>
|
|
7276: 24de lhu a5,12(s1)
|
|
7278: 0407f793 andi a5,a5,64
|
|
727c: ec0792e3 bnez a5,7140 <_vfiprintf_r+0x130>
|
|
7280: 5512 lw a0,36(sp)
|
|
7282: b5c1 j 7142 <_vfiprintf_r+0x132>
|
|
7284: 0078 addi a4,sp,12
|
|
7286: 00000697 auipc a3,0x0
|
|
728a: d4868693 addi a3,a3,-696 # 6fce <__sfputs_r>
|
|
728e: 8626 mv a2,s1
|
|
7290: 080c addi a1,sp,16
|
|
7292: 854e mv a0,s3
|
|
7294: 2a01 jal 73a4 <_printf_i>
|
|
7296: bfe1 j 726e <_vfiprintf_r+0x25e>
|
|
|
|
00007298 <_printf_common>:
|
|
7298: 7179 addi sp,sp,-48
|
|
729a: ca56 sw s5,20(sp)
|
|
729c: 499c lw a5,16(a1)
|
|
729e: 8aba mv s5,a4
|
|
72a0: 4598 lw a4,8(a1)
|
|
72a2: d422 sw s0,40(sp)
|
|
72a4: d226 sw s1,36(sp)
|
|
72a6: ce4e sw s3,28(sp)
|
|
72a8: cc52 sw s4,24(sp)
|
|
72aa: d606 sw ra,44(sp)
|
|
72ac: d04a sw s2,32(sp)
|
|
72ae: c85a sw s6,16(sp)
|
|
72b0: c65e sw s7,12(sp)
|
|
72b2: 89aa mv s3,a0
|
|
72b4: 842e mv s0,a1
|
|
72b6: 84b2 mv s1,a2
|
|
72b8: 8a36 mv s4,a3
|
|
72ba: 00e7d363 bge a5,a4,72c0 <_printf_common+0x28>
|
|
72be: 87ba mv a5,a4
|
|
72c0: c09c sw a5,0(s1)
|
|
72c2: 04344703 lbu a4,67(s0)
|
|
72c6: c319 beqz a4,72cc <_printf_common+0x34>
|
|
72c8: 0785 addi a5,a5,1
|
|
72ca: c09c sw a5,0(s1)
|
|
72cc: 401c lw a5,0(s0)
|
|
72ce: 0207f793 andi a5,a5,32
|
|
72d2: c781 beqz a5,72da <_printf_common+0x42>
|
|
72d4: 409c lw a5,0(s1)
|
|
72d6: 0789 addi a5,a5,2
|
|
72d8: c09c sw a5,0(s1)
|
|
72da: 00042903 lw s2,0(s0)
|
|
72de: 00697913 andi s2,s2,6
|
|
72e2: 00091a63 bnez s2,72f6 <_printf_common+0x5e>
|
|
72e6: 01940b13 addi s6,s0,25
|
|
72ea: 5bfd li s7,-1
|
|
72ec: 445c lw a5,12(s0)
|
|
72ee: 4098 lw a4,0(s1)
|
|
72f0: 8f99 sub a5,a5,a4
|
|
72f2: 04f94c63 blt s2,a5,734a <_printf_common+0xb2>
|
|
72f6: 401c lw a5,0(s0)
|
|
72f8: 04344683 lbu a3,67(s0)
|
|
72fc: 0207f793 andi a5,a5,32
|
|
7300: 00d036b3 snez a3,a3
|
|
7304: eba5 bnez a5,7374 <_printf_common+0xdc>
|
|
7306: 04340613 addi a2,s0,67
|
|
730a: 85d2 mv a1,s4
|
|
730c: 854e mv a0,s3
|
|
730e: 9a82 jalr s5
|
|
7310: 57fd li a5,-1
|
|
7312: 04f50363 beq a0,a5,7358 <_printf_common+0xc0>
|
|
7316: 401c lw a5,0(s0)
|
|
7318: 4611 li a2,4
|
|
731a: 4098 lw a4,0(s1)
|
|
731c: 8b99 andi a5,a5,6
|
|
731e: 4454 lw a3,12(s0)
|
|
7320: 4481 li s1,0
|
|
7322: 00c79763 bne a5,a2,7330 <_printf_common+0x98>
|
|
7326: 40e684b3 sub s1,a3,a4
|
|
732a: 0004d363 bgez s1,7330 <_printf_common+0x98>
|
|
732e: 4481 li s1,0
|
|
7330: 441c lw a5,8(s0)
|
|
7332: 4818 lw a4,16(s0)
|
|
7334: 00f75463 bge a4,a5,733c <_printf_common+0xa4>
|
|
7338: 8f99 sub a5,a5,a4
|
|
733a: 94be add s1,s1,a5
|
|
733c: 4901 li s2,0
|
|
733e: 0469 addi s0,s0,26
|
|
7340: 5b7d li s6,-1
|
|
7342: 05249863 bne s1,s2,7392 <_printf_common+0xfa>
|
|
7346: 4501 li a0,0
|
|
7348: a809 j 735a <_printf_common+0xc2>
|
|
734a: 4685 li a3,1
|
|
734c: 865a mv a2,s6
|
|
734e: 85d2 mv a1,s4
|
|
7350: 854e mv a0,s3
|
|
7352: 9a82 jalr s5
|
|
7354: 01751e63 bne a0,s7,7370 <_printf_common+0xd8>
|
|
7358: 557d li a0,-1
|
|
735a: 50b2 lw ra,44(sp)
|
|
735c: 5422 lw s0,40(sp)
|
|
735e: 5492 lw s1,36(sp)
|
|
7360: 5902 lw s2,32(sp)
|
|
7362: 49f2 lw s3,28(sp)
|
|
7364: 4a62 lw s4,24(sp)
|
|
7366: 4ad2 lw s5,20(sp)
|
|
7368: 4b42 lw s6,16(sp)
|
|
736a: 4bb2 lw s7,12(sp)
|
|
736c: 6145 addi sp,sp,48
|
|
736e: 8082 ret
|
|
7370: 0905 addi s2,s2,1
|
|
7372: bfad j 72ec <_printf_common+0x54>
|
|
7374: 00d40733 add a4,s0,a3
|
|
7378: 03000613 li a2,48
|
|
737c: 04c701a3 sb a2,67(a4)
|
|
7380: 04544703 lbu a4,69(s0)
|
|
7384: 00168793 addi a5,a3,1
|
|
7388: 97a2 add a5,a5,s0
|
|
738a: 0689 addi a3,a3,2
|
|
738c: 04e781a3 sb a4,67(a5)
|
|
7390: bf9d j 7306 <_printf_common+0x6e>
|
|
7392: 4685 li a3,1
|
|
7394: 8622 mv a2,s0
|
|
7396: 85d2 mv a1,s4
|
|
7398: 854e mv a0,s3
|
|
739a: 9a82 jalr s5
|
|
739c: fb650ee3 beq a0,s6,7358 <_printf_common+0xc0>
|
|
73a0: 0905 addi s2,s2,1
|
|
73a2: b745 j 7342 <_printf_common+0xaa>
|
|
|
|
000073a4 <_printf_i>:
|
|
73a4: 7179 addi sp,sp,-48
|
|
73a6: d422 sw s0,40(sp)
|
|
73a8: d226 sw s1,36(sp)
|
|
73aa: d04a sw s2,32(sp)
|
|
73ac: ce4e sw s3,28(sp)
|
|
73ae: d606 sw ra,44(sp)
|
|
73b0: cc52 sw s4,24(sp)
|
|
73b2: ca56 sw s5,20(sp)
|
|
73b4: c85a sw s6,16(sp)
|
|
73b6: 89b6 mv s3,a3
|
|
73b8: 2d94 lbu a3,24(a1)
|
|
73ba: 06900793 li a5,105
|
|
73be: 8932 mv s2,a2
|
|
73c0: 84aa mv s1,a0
|
|
73c2: 842e mv s0,a1
|
|
73c4: 04358613 addi a2,a1,67
|
|
73c8: 02f68d63 beq a3,a5,7402 <_printf_i+0x5e>
|
|
73cc: 06d7e263 bltu a5,a3,7430 <_printf_i+0x8c>
|
|
73d0: 05800793 li a5,88
|
|
73d4: 18f68663 beq a3,a5,7560 <_printf_i+0x1bc>
|
|
73d8: 00d7ed63 bltu a5,a3,73f2 <_printf_i+0x4e>
|
|
73dc: 20068e63 beqz a3,75f8 <_printf_i+0x254>
|
|
73e0: 04300793 li a5,67
|
|
73e4: 0af68e63 beq a3,a5,74a0 <_printf_i+0xfc>
|
|
73e8: 04240a93 addi s5,s0,66
|
|
73ec: 04d40123 sb a3,66(s0)
|
|
73f0: a0c9 j 74b2 <_printf_i+0x10e>
|
|
73f2: 06300793 li a5,99
|
|
73f6: 0af68563 beq a3,a5,74a0 <_printf_i+0xfc>
|
|
73fa: 06400793 li a5,100
|
|
73fe: fef695e3 bne a3,a5,73e8 <_printf_i+0x44>
|
|
7402: 401c lw a5,0(s0)
|
|
7404: 4308 lw a0,0(a4)
|
|
7406: 0807f693 andi a3,a5,128
|
|
740a: 00450593 addi a1,a0,4
|
|
740e: c6c5 beqz a3,74b6 <_printf_i+0x112>
|
|
7410: 411c lw a5,0(a0)
|
|
7412: c30c sw a1,0(a4)
|
|
7414: 0007d863 bgez a5,7424 <_printf_i+0x80>
|
|
7418: 02d00713 li a4,45
|
|
741c: 40f007b3 neg a5,a5
|
|
7420: 04e401a3 sb a4,67(s0)
|
|
7424: 00001697 auipc a3,0x1
|
|
7428: ee068693 addi a3,a3,-288 # 8304 <__sf_fake_stdout+0x34>
|
|
742c: 4729 li a4,10
|
|
742e: a865 j 74e6 <_printf_i+0x142>
|
|
7430: 07000793 li a5,112
|
|
7434: 16f68263 beq a3,a5,7598 <_printf_i+0x1f4>
|
|
7438: 02d7e563 bltu a5,a3,7462 <_printf_i+0xbe>
|
|
743c: 06e00793 li a5,110
|
|
7440: 18f68963 beq a3,a5,75d2 <_printf_i+0x22e>
|
|
7444: 06f00793 li a5,111
|
|
7448: faf690e3 bne a3,a5,73e8 <_printf_i+0x44>
|
|
744c: 400c lw a1,0(s0)
|
|
744e: 431c lw a5,0(a4)
|
|
7450: 0805f813 andi a6,a1,128
|
|
7454: 00478513 addi a0,a5,4
|
|
7458: 06080763 beqz a6,74c6 <_printf_i+0x122>
|
|
745c: c308 sw a0,0(a4)
|
|
745e: 439c lw a5,0(a5)
|
|
7460: a885 j 74d0 <_printf_i+0x12c>
|
|
7462: 07500793 li a5,117
|
|
7466: fef683e3 beq a3,a5,744c <_printf_i+0xa8>
|
|
746a: 07800793 li a5,120
|
|
746e: 12f68963 beq a3,a5,75a0 <_printf_i+0x1fc>
|
|
7472: 07300793 li a5,115
|
|
7476: f6f699e3 bne a3,a5,73e8 <_printf_i+0x44>
|
|
747a: 431c lw a5,0(a4)
|
|
747c: 41d0 lw a2,4(a1)
|
|
747e: 4581 li a1,0
|
|
7480: 00478693 addi a3,a5,4
|
|
7484: c314 sw a3,0(a4)
|
|
7486: 0007aa83 lw s5,0(a5)
|
|
748a: 8556 mv a0,s5
|
|
748c: 268d jal 77ee <memchr>
|
|
748e: c501 beqz a0,7496 <_printf_i+0xf2>
|
|
7490: 41550533 sub a0,a0,s5
|
|
7494: c048 sw a0,4(s0)
|
|
7496: 405c lw a5,4(s0)
|
|
7498: c81c sw a5,16(s0)
|
|
749a: 040401a3 sb zero,67(s0)
|
|
749e: a861 j 7536 <_printf_i+0x192>
|
|
74a0: 431c lw a5,0(a4)
|
|
74a2: 04240a93 addi s5,s0,66
|
|
74a6: 00478693 addi a3,a5,4
|
|
74aa: 439c lw a5,0(a5)
|
|
74ac: c314 sw a3,0(a4)
|
|
74ae: 04f40123 sb a5,66(s0)
|
|
74b2: 4785 li a5,1
|
|
74b4: b7d5 j 7498 <_printf_i+0xf4>
|
|
74b6: 0407f693 andi a3,a5,64
|
|
74ba: 411c lw a5,0(a0)
|
|
74bc: c30c sw a1,0(a4)
|
|
74be: dab9 beqz a3,7414 <_printf_i+0x70>
|
|
74c0: 07c2 slli a5,a5,0x10
|
|
74c2: 87c1 srai a5,a5,0x10
|
|
74c4: bf81 j 7414 <_printf_i+0x70>
|
|
74c6: 0405f593 andi a1,a1,64
|
|
74ca: c308 sw a0,0(a4)
|
|
74cc: d9c9 beqz a1,745e <_printf_i+0xba>
|
|
74ce: 239e lhu a5,0(a5)
|
|
74d0: 06f00713 li a4,111
|
|
74d4: 0ee68763 beq a3,a4,75c2 <_printf_i+0x21e>
|
|
74d8: 00001697 auipc a3,0x1
|
|
74dc: e2c68693 addi a3,a3,-468 # 8304 <__sf_fake_stdout+0x34>
|
|
74e0: 4729 li a4,10
|
|
74e2: 040401a3 sb zero,67(s0)
|
|
74e6: 404c lw a1,4(s0)
|
|
74e8: c40c sw a1,8(s0)
|
|
74ea: 0005c563 bltz a1,74f4 <_printf_i+0x150>
|
|
74ee: 4008 lw a0,0(s0)
|
|
74f0: 996d andi a0,a0,-5
|
|
74f2: c008 sw a0,0(s0)
|
|
74f4: e399 bnez a5,74fa <_printf_i+0x156>
|
|
74f6: 8ab2 mv s5,a2
|
|
74f8: cd89 beqz a1,7512 <_printf_i+0x16e>
|
|
74fa: 8ab2 mv s5,a2
|
|
74fc: 02e7f5b3 remu a1,a5,a4
|
|
7500: 1afd addi s5,s5,-1
|
|
7502: 95b6 add a1,a1,a3
|
|
7504: 218c lbu a1,0(a1)
|
|
7506: 00ba8023 sb a1,0(s5)
|
|
750a: 02e7d5b3 divu a1,a5,a4
|
|
750e: 0ce7f063 bgeu a5,a4,75ce <_printf_i+0x22a>
|
|
7512: 47a1 li a5,8
|
|
7514: 00f71e63 bne a4,a5,7530 <_printf_i+0x18c>
|
|
7518: 401c lw a5,0(s0)
|
|
751a: 8b85 andi a5,a5,1
|
|
751c: cb91 beqz a5,7530 <_printf_i+0x18c>
|
|
751e: 4058 lw a4,4(s0)
|
|
7520: 481c lw a5,16(s0)
|
|
7522: 00e7c763 blt a5,a4,7530 <_printf_i+0x18c>
|
|
7526: 03000793 li a5,48
|
|
752a: fefa8fa3 sb a5,-1(s5)
|
|
752e: 1afd addi s5,s5,-1
|
|
7530: 41560633 sub a2,a2,s5
|
|
7534: c810 sw a2,16(s0)
|
|
7536: 874e mv a4,s3
|
|
7538: 86ca mv a3,s2
|
|
753a: 0070 addi a2,sp,12
|
|
753c: 85a2 mv a1,s0
|
|
753e: 8526 mv a0,s1
|
|
7540: d59ff0ef jal ra,7298 <_printf_common>
|
|
7544: 5a7d li s4,-1
|
|
7546: 0b451d63 bne a0,s4,7600 <_printf_i+0x25c>
|
|
754a: 557d li a0,-1
|
|
754c: 50b2 lw ra,44(sp)
|
|
754e: 5422 lw s0,40(sp)
|
|
7550: 5492 lw s1,36(sp)
|
|
7552: 5902 lw s2,32(sp)
|
|
7554: 49f2 lw s3,28(sp)
|
|
7556: 4a62 lw s4,24(sp)
|
|
7558: 4ad2 lw s5,20(sp)
|
|
755a: 4b42 lw s6,16(sp)
|
|
755c: 6145 addi sp,sp,48
|
|
755e: 8082 ret
|
|
7560: 04d582a3 sb a3,69(a1)
|
|
7564: 00001697 auipc a3,0x1
|
|
7568: da068693 addi a3,a3,-608 # 8304 <__sf_fake_stdout+0x34>
|
|
756c: 400c lw a1,0(s0)
|
|
756e: 4308 lw a0,0(a4)
|
|
7570: 0805f813 andi a6,a1,128
|
|
7574: 411c lw a5,0(a0)
|
|
7576: 0511 addi a0,a0,4
|
|
7578: 02080d63 beqz a6,75b2 <_printf_i+0x20e>
|
|
757c: c308 sw a0,0(a4)
|
|
757e: 0015f713 andi a4,a1,1
|
|
7582: c701 beqz a4,758a <_printf_i+0x1e6>
|
|
7584: 0205e593 ori a1,a1,32
|
|
7588: c00c sw a1,0(s0)
|
|
758a: 4741 li a4,16
|
|
758c: fbb9 bnez a5,74e2 <_printf_i+0x13e>
|
|
758e: 400c lw a1,0(s0)
|
|
7590: fdf5f593 andi a1,a1,-33
|
|
7594: c00c sw a1,0(s0)
|
|
7596: b7b1 j 74e2 <_printf_i+0x13e>
|
|
7598: 419c lw a5,0(a1)
|
|
759a: 0207e793 ori a5,a5,32
|
|
759e: c19c sw a5,0(a1)
|
|
75a0: 07800793 li a5,120
|
|
75a4: 04f402a3 sb a5,69(s0)
|
|
75a8: 00001697 auipc a3,0x1
|
|
75ac: d7068693 addi a3,a3,-656 # 8318 <__sf_fake_stdout+0x48>
|
|
75b0: bf75 j 756c <_printf_i+0x1c8>
|
|
75b2: 0405f813 andi a6,a1,64
|
|
75b6: c308 sw a0,0(a4)
|
|
75b8: fc0803e3 beqz a6,757e <_printf_i+0x1da>
|
|
75bc: 07c2 slli a5,a5,0x10
|
|
75be: 83c1 srli a5,a5,0x10
|
|
75c0: bf7d j 757e <_printf_i+0x1da>
|
|
75c2: 00001697 auipc a3,0x1
|
|
75c6: d4268693 addi a3,a3,-702 # 8304 <__sf_fake_stdout+0x34>
|
|
75ca: 4721 li a4,8
|
|
75cc: bf19 j 74e2 <_printf_i+0x13e>
|
|
75ce: 87ae mv a5,a1
|
|
75d0: b735 j 74fc <_printf_i+0x158>
|
|
75d2: 4194 lw a3,0(a1)
|
|
75d4: 431c lw a5,0(a4)
|
|
75d6: 49cc lw a1,20(a1)
|
|
75d8: 0806f813 andi a6,a3,128
|
|
75dc: 00478513 addi a0,a5,4
|
|
75e0: 00080663 beqz a6,75ec <_printf_i+0x248>
|
|
75e4: c308 sw a0,0(a4)
|
|
75e6: 439c lw a5,0(a5)
|
|
75e8: c38c sw a1,0(a5)
|
|
75ea: a039 j 75f8 <_printf_i+0x254>
|
|
75ec: c308 sw a0,0(a4)
|
|
75ee: 0406f693 andi a3,a3,64
|
|
75f2: 439c lw a5,0(a5)
|
|
75f4: daf5 beqz a3,75e8 <_printf_i+0x244>
|
|
75f6: a38e sh a1,0(a5)
|
|
75f8: 00042823 sw zero,16(s0)
|
|
75fc: 8ab2 mv s5,a2
|
|
75fe: bf25 j 7536 <_printf_i+0x192>
|
|
7600: 4814 lw a3,16(s0)
|
|
7602: 8656 mv a2,s5
|
|
7604: 85ca mv a1,s2
|
|
7606: 8526 mv a0,s1
|
|
7608: 9982 jalr s3
|
|
760a: f54500e3 beq a0,s4,754a <_printf_i+0x1a6>
|
|
760e: 401c lw a5,0(s0)
|
|
7610: 8b89 andi a5,a5,2
|
|
7612: e78d bnez a5,763c <_printf_i+0x298>
|
|
7614: 47b2 lw a5,12(sp)
|
|
7616: 4448 lw a0,12(s0)
|
|
7618: f2f55ae3 bge a0,a5,754c <_printf_i+0x1a8>
|
|
761c: 853e mv a0,a5
|
|
761e: b73d j 754c <_printf_i+0x1a8>
|
|
7620: 4685 li a3,1
|
|
7622: 8656 mv a2,s5
|
|
7624: 85ca mv a1,s2
|
|
7626: 8526 mv a0,s1
|
|
7628: 9982 jalr s3
|
|
762a: f36500e3 beq a0,s6,754a <_printf_i+0x1a6>
|
|
762e: 0a05 addi s4,s4,1
|
|
7630: 445c lw a5,12(s0)
|
|
7632: 4732 lw a4,12(sp)
|
|
7634: 8f99 sub a5,a5,a4
|
|
7636: fefa45e3 blt s4,a5,7620 <_printf_i+0x27c>
|
|
763a: bfe9 j 7614 <_printf_i+0x270>
|
|
763c: 4a01 li s4,0
|
|
763e: 01940a93 addi s5,s0,25
|
|
7642: 5b7d li s6,-1
|
|
7644: b7f5 j 7630 <_printf_i+0x28c>
|
|
|
|
00007646 <_sbrk_r>:
|
|
7646: 1141 addi sp,sp,-16
|
|
7648: c422 sw s0,8(sp)
|
|
764a: 842a mv s0,a0
|
|
764c: 852e mv a0,a1
|
|
764e: b601aa23 sw zero,-1164(gp) # 200004d4 <errno>
|
|
7652: c606 sw ra,12(sp)
|
|
7654: e42fa0ef jal ra,1c96 <_sbrk>
|
|
7658: 57fd li a5,-1
|
|
765a: 00f51763 bne a0,a5,7668 <_sbrk_r+0x22>
|
|
765e: b7418793 addi a5,gp,-1164 # 200004d4 <errno>
|
|
7662: 439c lw a5,0(a5)
|
|
7664: c391 beqz a5,7668 <_sbrk_r+0x22>
|
|
7666: c01c sw a5,0(s0)
|
|
7668: 40b2 lw ra,12(sp)
|
|
766a: 4422 lw s0,8(sp)
|
|
766c: 0141 addi sp,sp,16
|
|
766e: 8082 ret
|
|
|
|
00007670 <__sread>:
|
|
7670: 1141 addi sp,sp,-16
|
|
7672: c422 sw s0,8(sp)
|
|
7674: 842e mv s0,a1
|
|
7676: 00e59583 lh a1,14(a1)
|
|
767a: c606 sw ra,12(sp)
|
|
767c: 2435 jal 78a8 <_read_r>
|
|
767e: 00054963 bltz a0,7690 <__sread+0x20>
|
|
7682: 487c lw a5,84(s0)
|
|
7684: 97aa add a5,a5,a0
|
|
7686: c87c sw a5,84(s0)
|
|
7688: 40b2 lw ra,12(sp)
|
|
768a: 4422 lw s0,8(sp)
|
|
768c: 0141 addi sp,sp,16
|
|
768e: 8082 ret
|
|
7690: 245e lhu a5,12(s0)
|
|
7692: 777d lui a4,0xfffff
|
|
7694: 177d addi a4,a4,-1
|
|
7696: 8ff9 and a5,a5,a4
|
|
7698: a45e sh a5,12(s0)
|
|
769a: b7fd j 7688 <__sread+0x18>
|
|
|
|
0000769c <__swrite>:
|
|
769c: 25de lhu a5,12(a1)
|
|
769e: 1101 addi sp,sp,-32
|
|
76a0: cc22 sw s0,24(sp)
|
|
76a2: ca26 sw s1,20(sp)
|
|
76a4: c84a sw s2,16(sp)
|
|
76a6: c64e sw s3,12(sp)
|
|
76a8: ce06 sw ra,28(sp)
|
|
76aa: 1007f793 andi a5,a5,256
|
|
76ae: 84aa mv s1,a0
|
|
76b0: 842e mv s0,a1
|
|
76b2: 8932 mv s2,a2
|
|
76b4: 89b6 mv s3,a3
|
|
76b6: c791 beqz a5,76c2 <__swrite+0x26>
|
|
76b8: 00e59583 lh a1,14(a1)
|
|
76bc: 4689 li a3,2
|
|
76be: 4601 li a2,0
|
|
76c0: 2209 jal 77c2 <_lseek_r>
|
|
76c2: 245e lhu a5,12(s0)
|
|
76c4: 777d lui a4,0xfffff
|
|
76c6: 177d addi a4,a4,-1
|
|
76c8: 8ff9 and a5,a5,a4
|
|
76ca: a45e sh a5,12(s0)
|
|
76cc: 00e41583 lh a1,14(s0)
|
|
76d0: 4462 lw s0,24(sp)
|
|
76d2: 40f2 lw ra,28(sp)
|
|
76d4: 86ce mv a3,s3
|
|
76d6: 864a mv a2,s2
|
|
76d8: 49b2 lw s3,12(sp)
|
|
76da: 4942 lw s2,16(sp)
|
|
76dc: 8526 mv a0,s1
|
|
76de: 44d2 lw s1,20(sp)
|
|
76e0: 6105 addi sp,sp,32
|
|
76e2: a825 j 771a <_write_r>
|
|
|
|
000076e4 <__sseek>:
|
|
76e4: 1141 addi sp,sp,-16
|
|
76e6: c422 sw s0,8(sp)
|
|
76e8: 842e mv s0,a1
|
|
76ea: 00e59583 lh a1,14(a1)
|
|
76ee: c606 sw ra,12(sp)
|
|
76f0: 28c9 jal 77c2 <_lseek_r>
|
|
76f2: 57fd li a5,-1
|
|
76f4: 245a lhu a4,12(s0)
|
|
76f6: 00f51a63 bne a0,a5,770a <__sseek+0x26>
|
|
76fa: 77fd lui a5,0xfffff
|
|
76fc: 17fd addi a5,a5,-1
|
|
76fe: 8ff9 and a5,a5,a4
|
|
7700: a45e sh a5,12(s0)
|
|
7702: 40b2 lw ra,12(sp)
|
|
7704: 4422 lw s0,8(sp)
|
|
7706: 0141 addi sp,sp,16
|
|
7708: 8082 ret
|
|
770a: 6785 lui a5,0x1
|
|
770c: 8fd9 or a5,a5,a4
|
|
770e: a45e sh a5,12(s0)
|
|
7710: c868 sw a0,84(s0)
|
|
7712: bfc5 j 7702 <__sseek+0x1e>
|
|
|
|
00007714 <__sclose>:
|
|
7714: 00e59583 lh a1,14(a1)
|
|
7718: a805 j 7748 <_close_r>
|
|
|
|
0000771a <_write_r>:
|
|
771a: 1141 addi sp,sp,-16
|
|
771c: c422 sw s0,8(sp)
|
|
771e: 842a mv s0,a0
|
|
7720: 852e mv a0,a1
|
|
7722: 85b2 mv a1,a2
|
|
7724: 8636 mv a2,a3
|
|
7726: b601aa23 sw zero,-1164(gp) # 200004d4 <errno>
|
|
772a: c606 sw ra,12(sp)
|
|
772c: d2cfa0ef jal ra,1c58 <_write>
|
|
7730: 57fd li a5,-1
|
|
7732: 00f51763 bne a0,a5,7740 <_write_r+0x26>
|
|
7736: b7418793 addi a5,gp,-1164 # 200004d4 <errno>
|
|
773a: 439c lw a5,0(a5)
|
|
773c: c391 beqz a5,7740 <_write_r+0x26>
|
|
773e: c01c sw a5,0(s0)
|
|
7740: 40b2 lw ra,12(sp)
|
|
7742: 4422 lw s0,8(sp)
|
|
7744: 0141 addi sp,sp,16
|
|
7746: 8082 ret
|
|
|
|
00007748 <_close_r>:
|
|
7748: 1141 addi sp,sp,-16
|
|
774a: c422 sw s0,8(sp)
|
|
774c: 842a mv s0,a0
|
|
774e: 852e mv a0,a1
|
|
7750: b601aa23 sw zero,-1164(gp) # 200004d4 <errno>
|
|
7754: c606 sw ra,12(sp)
|
|
7756: 2a49 jal 78e8 <_close>
|
|
7758: 57fd li a5,-1
|
|
775a: 00f51763 bne a0,a5,7768 <_close_r+0x20>
|
|
775e: b7418793 addi a5,gp,-1164 # 200004d4 <errno>
|
|
7762: 439c lw a5,0(a5)
|
|
7764: c391 beqz a5,7768 <_close_r+0x20>
|
|
7766: c01c sw a5,0(s0)
|
|
7768: 40b2 lw ra,12(sp)
|
|
776a: 4422 lw s0,8(sp)
|
|
776c: 0141 addi sp,sp,16
|
|
776e: 8082 ret
|
|
|
|
00007770 <_fstat_r>:
|
|
7770: 1141 addi sp,sp,-16
|
|
7772: c422 sw s0,8(sp)
|
|
7774: 842a mv s0,a0
|
|
7776: 852e mv a0,a1
|
|
7778: 85b2 mv a1,a2
|
|
777a: b601aa23 sw zero,-1164(gp) # 200004d4 <errno>
|
|
777e: c606 sw ra,12(sp)
|
|
7780: 2a95 jal 78f4 <_fstat>
|
|
7782: 57fd li a5,-1
|
|
7784: 00f51763 bne a0,a5,7792 <_fstat_r+0x22>
|
|
7788: b7418793 addi a5,gp,-1164 # 200004d4 <errno>
|
|
778c: 439c lw a5,0(a5)
|
|
778e: c391 beqz a5,7792 <_fstat_r+0x22>
|
|
7790: c01c sw a5,0(s0)
|
|
7792: 40b2 lw ra,12(sp)
|
|
7794: 4422 lw s0,8(sp)
|
|
7796: 0141 addi sp,sp,16
|
|
7798: 8082 ret
|
|
|
|
0000779a <_isatty_r>:
|
|
779a: 1141 addi sp,sp,-16
|
|
779c: c422 sw s0,8(sp)
|
|
779e: 842a mv s0,a0
|
|
77a0: 852e mv a0,a1
|
|
77a2: b601aa23 sw zero,-1164(gp) # 200004d4 <errno>
|
|
77a6: c606 sw ra,12(sp)
|
|
77a8: 2aa1 jal 7900 <_isatty>
|
|
77aa: 57fd li a5,-1
|
|
77ac: 00f51763 bne a0,a5,77ba <_isatty_r+0x20>
|
|
77b0: b7418793 addi a5,gp,-1164 # 200004d4 <errno>
|
|
77b4: 439c lw a5,0(a5)
|
|
77b6: c391 beqz a5,77ba <_isatty_r+0x20>
|
|
77b8: c01c sw a5,0(s0)
|
|
77ba: 40b2 lw ra,12(sp)
|
|
77bc: 4422 lw s0,8(sp)
|
|
77be: 0141 addi sp,sp,16
|
|
77c0: 8082 ret
|
|
|
|
000077c2 <_lseek_r>:
|
|
77c2: 1141 addi sp,sp,-16
|
|
77c4: c422 sw s0,8(sp)
|
|
77c6: 842a mv s0,a0
|
|
77c8: 852e mv a0,a1
|
|
77ca: 85b2 mv a1,a2
|
|
77cc: 8636 mv a2,a3
|
|
77ce: b601aa23 sw zero,-1164(gp) # 200004d4 <errno>
|
|
77d2: c606 sw ra,12(sp)
|
|
77d4: 2a25 jal 790c <_lseek>
|
|
77d6: 57fd li a5,-1
|
|
77d8: 00f51763 bne a0,a5,77e6 <_lseek_r+0x24>
|
|
77dc: b7418793 addi a5,gp,-1164 # 200004d4 <errno>
|
|
77e0: 439c lw a5,0(a5)
|
|
77e2: c391 beqz a5,77e6 <_lseek_r+0x24>
|
|
77e4: c01c sw a5,0(s0)
|
|
77e6: 40b2 lw ra,12(sp)
|
|
77e8: 4422 lw s0,8(sp)
|
|
77ea: 0141 addi sp,sp,16
|
|
77ec: 8082 ret
|
|
|
|
000077ee <memchr>:
|
|
77ee: 0ff5f593 andi a1,a1,255
|
|
77f2: 962a add a2,a2,a0
|
|
77f4: 00c51463 bne a0,a2,77fc <memchr+0xe>
|
|
77f8: 4501 li a0,0
|
|
77fa: 8082 ret
|
|
77fc: 211c lbu a5,0(a0)
|
|
77fe: feb78ee3 beq a5,a1,77fa <memchr+0xc>
|
|
7802: 0505 addi a0,a0,1
|
|
7804: bfc5 j 77f4 <memchr+0x6>
|
|
|
|
00007806 <memmove>:
|
|
7806: 04a5f163 bgeu a1,a0,7848 <memmove+0x42>
|
|
780a: 00c586b3 add a3,a1,a2
|
|
780e: 02d57d63 bgeu a0,a3,7848 <memmove+0x42>
|
|
7812: fff64593 not a1,a2
|
|
7816: 4781 li a5,0
|
|
7818: 17fd addi a5,a5,-1
|
|
781a: 00f59363 bne a1,a5,7820 <memmove+0x1a>
|
|
781e: 8082 ret
|
|
7820: 00f68733 add a4,a3,a5
|
|
7824: 00074803 lbu a6,0(a4) # fffff000 <_eusrstack+0xdfffa000>
|
|
7828: 00c78733 add a4,a5,a2
|
|
782c: 972a add a4,a4,a0
|
|
782e: 01070023 sb a6,0(a4)
|
|
7832: b7dd j 7818 <memmove+0x12>
|
|
7834: 00f58733 add a4,a1,a5
|
|
7838: 2314 lbu a3,0(a4)
|
|
783a: 00f50733 add a4,a0,a5
|
|
783e: 0785 addi a5,a5,1
|
|
7840: a314 sb a3,0(a4)
|
|
7842: fef619e3 bne a2,a5,7834 <memmove+0x2e>
|
|
7846: 8082 ret
|
|
7848: 4781 li a5,0
|
|
784a: bfe5 j 7842 <memmove+0x3c>
|
|
|
|
0000784c <__malloc_lock>:
|
|
784c: 8082 ret
|
|
|
|
0000784e <__malloc_unlock>:
|
|
784e: 8082 ret
|
|
|
|
00007850 <_realloc_r>:
|
|
7850: e581 bnez a1,7858 <_realloc_r+0x8>
|
|
7852: 85b2 mv a1,a2
|
|
7854: b2aff06f j 6b7e <_malloc_r>
|
|
7858: 1101 addi sp,sp,-32
|
|
785a: cc22 sw s0,24(sp)
|
|
785c: ce06 sw ra,28(sp)
|
|
785e: ca26 sw s1,20(sp)
|
|
7860: c84a sw s2,16(sp)
|
|
7862: c64e sw s3,12(sp)
|
|
7864: 8432 mv s0,a2
|
|
7866: ee01 bnez a2,787e <_realloc_r+0x2e>
|
|
7868: a6eff0ef jal ra,6ad6 <_free_r>
|
|
786c: 4901 li s2,0
|
|
786e: 40f2 lw ra,28(sp)
|
|
7870: 4462 lw s0,24(sp)
|
|
7872: 854a mv a0,s2
|
|
7874: 44d2 lw s1,20(sp)
|
|
7876: 4942 lw s2,16(sp)
|
|
7878: 49b2 lw s3,12(sp)
|
|
787a: 6105 addi sp,sp,32
|
|
787c: 8082 ret
|
|
787e: 84ae mv s1,a1
|
|
7880: 89aa mv s3,a0
|
|
7882: 2889 jal 78d4 <_malloc_usable_size_r>
|
|
7884: 8926 mv s2,s1
|
|
7886: fe8574e3 bgeu a0,s0,786e <_realloc_r+0x1e>
|
|
788a: 85a2 mv a1,s0
|
|
788c: 854e mv a0,s3
|
|
788e: af0ff0ef jal ra,6b7e <_malloc_r>
|
|
7892: 892a mv s2,a0
|
|
7894: dd69 beqz a0,786e <_realloc_r+0x1e>
|
|
7896: 85a6 mv a1,s1
|
|
7898: 8622 mv a2,s0
|
|
789a: 8dbfe0ef jal ra,6174 <memcpy>
|
|
789e: 85a6 mv a1,s1
|
|
78a0: 854e mv a0,s3
|
|
78a2: a34ff0ef jal ra,6ad6 <_free_r>
|
|
78a6: b7e1 j 786e <_realloc_r+0x1e>
|
|
|
|
000078a8 <_read_r>:
|
|
78a8: 1141 addi sp,sp,-16
|
|
78aa: c422 sw s0,8(sp)
|
|
78ac: 842a mv s0,a0
|
|
78ae: 852e mv a0,a1
|
|
78b0: 85b2 mv a1,a2
|
|
78b2: 8636 mv a2,a3
|
|
78b4: b601aa23 sw zero,-1164(gp) # 200004d4 <errno>
|
|
78b8: c606 sw ra,12(sp)
|
|
78ba: 28b9 jal 7918 <_read>
|
|
78bc: 57fd li a5,-1
|
|
78be: 00f51763 bne a0,a5,78cc <_read_r+0x24>
|
|
78c2: b7418793 addi a5,gp,-1164 # 200004d4 <errno>
|
|
78c6: 439c lw a5,0(a5)
|
|
78c8: c391 beqz a5,78cc <_read_r+0x24>
|
|
78ca: c01c sw a5,0(s0)
|
|
78cc: 40b2 lw ra,12(sp)
|
|
78ce: 4422 lw s0,8(sp)
|
|
78d0: 0141 addi sp,sp,16
|
|
78d2: 8082 ret
|
|
|
|
000078d4 <_malloc_usable_size_r>:
|
|
78d4: ffc5a783 lw a5,-4(a1)
|
|
78d8: ffc78513 addi a0,a5,-4 # ffc <TIM_ITConfig+0x2>
|
|
78dc: 0007d563 bgez a5,78e6 <_malloc_usable_size_r+0x12>
|
|
78e0: 95aa add a1,a1,a0
|
|
78e2: 419c lw a5,0(a1)
|
|
78e4: 953e add a0,a0,a5
|
|
78e6: 8082 ret
|
|
|
|
000078e8 <_close>:
|
|
78e8: 05800793 li a5,88
|
|
78ec: b6f1aa23 sw a5,-1164(gp) # 200004d4 <errno>
|
|
78f0: 557d li a0,-1
|
|
78f2: 8082 ret
|
|
|
|
000078f4 <_fstat>:
|
|
78f4: 05800793 li a5,88
|
|
78f8: b6f1aa23 sw a5,-1164(gp) # 200004d4 <errno>
|
|
78fc: 557d li a0,-1
|
|
78fe: 8082 ret
|
|
|
|
00007900 <_isatty>:
|
|
7900: 05800793 li a5,88
|
|
7904: b6f1aa23 sw a5,-1164(gp) # 200004d4 <errno>
|
|
7908: 4501 li a0,0
|
|
790a: 8082 ret
|
|
|
|
0000790c <_lseek>:
|
|
790c: 05800793 li a5,88
|
|
7910: b6f1aa23 sw a5,-1164(gp) # 200004d4 <errno>
|
|
7914: 557d li a0,-1
|
|
7916: 8082 ret
|
|
|
|
00007918 <_read>:
|
|
7918: 05800793 li a5,88
|
|
791c: b6f1aa23 sw a5,-1164(gp) # 200004d4 <errno>
|
|
7920: 557d li a0,-1
|
|
7922: 8082 ret
|
|
7924: 74737953 0x74737953
|
|
7928: 6d65 lui s10,0x19
|
|
792a: 3a6b6c43 fmadd.d fs8,fs6,ft6,ft7,unknown
|
|
792e: 6425 lui s0,0x9
|
|
7930: 0a0d addi s4,s4,3
|
|
7932: 0000 unimp
|
|
7934: 70696843 fmadd.s fa6,fs2,ft6,fa4,unknown
|
|
7938: 4449 li s0,18
|
|
793a: 253a lhu a4,10(a0)
|
|
793c: 3830 lbu a2,19(s0)
|
|
793e: 0d78 addi a4,sp,668
|
|
7940: 000a c.slli zero,0x2
|
|
7942: 0000 unimp
|
|
7944: 696c6143 fmadd.s ft2,fs8,fs6,fa3,unknown
|
|
7948: 7262 flw ft4,56(sp)
|
|
794a: 7461 lui s0,0xffff8
|
|
794c: 6974 flw fa3,84(a0)
|
|
794e: 565f6e6f jal t3,fe6b2 <_data_lma+0xf6386>
|
|
7952: 6c61 lui s8,0x18
|
|
7954: 3a20 lbu s0,19(a2)
|
|
7956: 2520 lbu s0,10(a0)
|
|
7958: 0a64 addi s1,sp,284
|
|
795a: 0000 unimp
|
|
795c: cccd beqz s1,7a16 <mosTemperADC+0x56>
|
|
795e: 3dcc lbu a1,29(a1)
|
|
7960: 6666 flw fa2,88(sp)
|
|
7962: 3f66 lhu s1,62(a4)
|
|
7964: 0000 unimp
|
|
7966: 43f0 lw a2,68(a5)
|
|
7968: 999a add s3,s3,t1
|
|
796a: 9999 andi a1,a1,-26
|
|
796c: 9999 andi a1,a1,-26
|
|
796e: 3fb9 jal 78cc <_read_r+0x24>
|
|
7970: cccd beqz s1,7a2a <mosTemperADC+0x6a>
|
|
7972: cccc sw a1,28(s1)
|
|
7974: cccc sw a1,28(s1)
|
|
7976: 3fec lbu a1,31(a5)
|
|
7978: 6e69 lui t3,0x1a
|
|
797a: 7420 flw fs0,104(s0)
|
|
797c: 6d69 lui s10,0x1a
|
|
797e: 2031 jal 798a <_read+0x72>
|
|
7980: 7269 lui tp,0xffffa
|
|
7982: 2071 jal 7a0e <mosTemperADC+0x4e>
|
|
7984: 0000 unimp
|
|
7986: 0000 unimp
|
|
7988: f000 fsw fs0,32(s0)
|
|
798a: 457f 0x457f
|
|
...
|
|
7994: 0000 unimp
|
|
7996: 4004 lw s1,0(s0)
|
|
7998: 0000 unimp
|
|
799a: 0000 unimp
|
|
799c: 0000 unimp
|
|
799e: 4020 lw s0,64(s0)
|
|
79a0: 0000 unimp
|
|
79a2: 0000 unimp
|
|
79a4: 0000 unimp
|
|
79a6: 3fe0 lbu s0,31(a5)
|
|
79a8: 0000 unimp
|
|
79aa: 0000 unimp
|
|
79ac: 0000 unimp
|
|
79ae: 4034 lw a3,64(s0)
|
|
79b0: 0000 unimp
|
|
79b2: 0000 unimp
|
|
79b4: 403646cf fnmadd.s fa3,fa2,ft3,fs0,rmm
|
|
79b8: 0000 unimp
|
|
79ba: 0000 unimp
|
|
79bc: 0000 unimp
|
|
79be: 4026 0x4026
|
|
|
|
000079c0 <mosTemperADC>:
|
|
79c0: 131d 130f 1302 12f4 12e6 12d7 12c8 12b9 ................
|
|
79d0: 12aa 129a 128a 127a 126a 1259 1248 1237 ......z.j.Y.H.7.
|
|
79e0: 1225 1213 1201 11ee 11db 11c8 11b5 11a1 %...............
|
|
79f0: 118d 1179 1164 114f 113a 1125 110f 10f9 ..y.d.O.:.%.....
|
|
7a00: 10e3 10cc 10b5 109e 1087 106f 1057 103f ..........o.W.?.
|
|
7a10: 1026 100d 0ff4 0fdb 0fc2 0fa8 0f8e 0f74 &.............t.
|
|
7a20: 0f59 0f3f 0f24 0f09 0eed 0ed2 0eb6 0e9a Y.?.$...........
|
|
7a30: 0e7e 0e62 0e46 0e29 0e0c 0df0 0dd3 0db6 ~.b.F.).........
|
|
7a40: 0d98 0d7b 0d5e 0d40 0d22 0d05 0ce7 0cc9 ..{.^.@.".......
|
|
7a50: 0cab 0c8d 0c6f 0c51 0c33 0c15 0bf7 0bd9 ....o.Q.3.......
|
|
7a60: 0bbb 0b9c 0b7e 0b60 0b42 0b24 0b06 0ae8 ....~.`.B.$.....
|
|
7a70: 0aca 0aad 0a8f 0a71 0a54 0a36 0a19 09fc ......q.T.6.....
|
|
7a80: 09df 09c2 09a5 0988 096c 094f 0933 0917 ........l.O.3...
|
|
7a90: 08fb 08df 08c3 08a8 088d 0872 0857 083c ..........r.W.<.
|
|
7aa0: 0821 0807 07ed 07d3 07b9 07a0 0786 076d !.............m.
|
|
7ab0: 0754 073c 0723 070b 06f3 06db 06c4 06ad T.<.#...........
|
|
7ac0: 0696 067f 0668 0652 063c 0626 0610 05fb ....h.R.<.&.....
|
|
7ad0: 05e6 05d1 05bc 05a7 0593 057f 056b 0558 ............k.X.
|
|
7ae0: 0545 0532 051f 050c 04fa 04e8 04d6 04c4 E.2.............
|
|
7af0: 04b3 04a1 0490 047f 046f 045f 044e 043e ........o._.N.>.
|
|
7b00: 042f 041f 0410 0401 03f2 03e3 03d5 03c7 /...............
|
|
7b10: 03b9 03ab 039d 0390 0382 0375 0368 035c ..........u.h.\.
|
|
7b20: 034f 0343 0336 032a 031f 0313 0307 02fc O.C.6.*.........
|
|
7b30: 02f1 02e6 02db 02d1 02c6 02bc 02b2 02a7 ................
|
|
7b40: 029e 0294 028a 0281 0277 026e 0265 025c ........w.n.e.\.
|
|
7b50: 0254 024b 0242 023a 0232 022a 0222 021a T.K.B.:.2.*."...
|
|
7b60: 0212 020b 0203 01fc 01f4 01ed 01e6 01df ................
|
|
7b70: 01d8 01d2 01cb 01c4 01be 01b8 01b1 01ab ................
|
|
7b80: 01a5 019f 0199 0194 018e 0188 0183 017d ..............}.
|
|
7b90: 0178 0173 016e 0169 0163 015e 015a 0155 x.s.n.i.c.^.Z.U.
|
|
7ba0: 0150 0000 4000 461c 0000 42c8 0000 4190 P....@.F...B...A
|
|
7bb0: 7254 6369 6c6b 0065 6c66 616f 0074 0000 Trickle.float...
|
|
7bc0: 0000 4180 0000 4100 999a 9999 9999 3fa9 ...A...A.......?
|
|
7bd0: 999a 9999 9999 3fc9 b717 3851 c5ac 3727 .......?..Q8..'7
|
|
7be0: 126f 3a03 37bd 3586 0000 447a d70a 3ba3 o..:.7.5..zD...;
|
|
7bf0: 0000 3f00 53c8 3e02 495b 464e 5d4f 5b20 ...?.S.>[INFO] [
|
|
7c00: 7325 253a 5d64 5220 6765 7369 7274 7461 %s:%d] Registrat
|
|
7c10: 6f69 206e 7573 6363 7365 2073 0a0d 0a0d ion success ....
|
|
7c20: 0000 0000 455b 5252 524f 205d 255b 3a73 ....[ERROR] [%s:
|
|
7c30: 6425 205d 5220 6765 7369 6574 5f72 754e %d] Register_Nu
|
|
7c40: 626d 7265 6520 7272 726f 253a 2078 0a0d mber error:%x ..
|
|
7c50: 0a0d 0000 455b 5252 524f 205d 255b 3a73 ....[ERROR] [%s:
|
|
7c60: 6425 205d 5220 6765 7369 6574 5f72 7453 %d] Register_St
|
|
7c70: 7261 5f74 6441 7264 7365 2073 7265 6f72 art_Address erro
|
|
7c80: 2072 203a 7825 0d20 0d0a 000a 6e69 7720 r : %x .....in w
|
|
7c90: 6972 6574 7220 6765 7369 6574 2072 0000 rite register ..
|
|
7ca0: 495b 464e 5d4f 5b20 7325 253a 5d64 2020 [INFO] [%s:%d]
|
|
7cb0: 4c53 525f 6165 5264 6765 7369 6574 4272 SL_ReadRegisterB
|
|
7cc0: 7461 6574 7972 6f56 746c 6761 2065 0a0d atteryVoltage ..
|
|
7cd0: 0000 0000 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
7ce0: 5d64 2020 4c53 525f 6165 5264 6765 7369 d] SL_ReadRegis
|
|
7cf0: 6574 4372 6168 6772 7543 7272 6e65 2074 terChargCurrent
|
|
7d00: 0a0d 0000 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
7d10: 5d64 2020 4c53 525f 6165 5264 6765 7369 d] SL_ReadRegis
|
|
7d20: 6574 4472 7369 6863 7261 4367 7275 6572 terDischargCurre
|
|
7d30: 746e 0d20 000a 0000 495b 464e 5d4f 5b20 nt .....[INFO] [
|
|
7d40: 7325 253a 5d64 2020 4c53 525f 6165 5264 %s:%d] SL_ReadR
|
|
7d50: 6765 7369 6574 4472 7369 6863 7261 4d67 egisterDischargM
|
|
7d60: 736f 7453 7461 2065 0a0d 0000 0000 4120 osState ...... A
|
|
7d70: 495b 464e 5d4f 5b20 7325 253a 5d64 2020 [INFO] [%s:%d]
|
|
7d80: 4c53 525f 6165 5264 6765 7369 6574 4872 SL_ReadRegisterH
|
|
7d90: 6769 5368 6469 4d65 736f 6554 706d 7265 ighSideMosTemper
|
|
7da0: 7461 7275 2065 0a0d 0000 0000 495b 464e ature ......[INF
|
|
7db0: 5d4f 5b20 7325 253a 5d64 2020 4c53 525f O] [%s:%d] SL_R
|
|
7dc0: 6165 5264 6765 7369 6574 4d72 5050 4d54 eadRegisterMPPTM
|
|
7dd0: 646f 2065 0a0d 0000 495b 464e 5d4f 5b20 ode ....[INFO] [
|
|
7de0: 7325 253a 5d64 2020 4c53 525f 6165 5264 %s:%d] SL_ReadR
|
|
7df0: 6765 7369 6574 5372 6c6f 7261 704f 6e65 egisterSolarOpen
|
|
7e00: 6943 6372 6975 5674 6c6f 6174 6567 0d20 CircuitVoltage .
|
|
7e10: 000a 0000 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
7e20: 5d64 4d20 7461 6863 535f 6174 7472 6c66 d] Match_Startfl
|
|
7e30: 6761 7320 6375 6563 7373 0d20 0d0a 000a ag success .....
|
|
7e40: 495b 464e 5d4f 5b20 7325 253a 5d64 4d20 [INFO] [%s:%d] M
|
|
7e50: 7461 6863 615f 6464 6572 7373 7320 6375 atch_address suc
|
|
7e60: 6563 7373 0d20 0d0a 000a 0000 495b 464e cess .......[INF
|
|
7e70: 5d4f 5b20 7325 253a 5d64 4d20 7461 6863 O] [%s:%d] Match
|
|
7e80: 425f 6f72 6461 6163 7473 6461 7264 7365 _Broadcastaddres
|
|
7e90: 2073 7573 6363 7365 0d73 0d0a 000a 0000 s success.......
|
|
7ea0: 495b 464e 5d4f 5b20 7325 253a 5d64 5220 [INFO] [%s:%d] R
|
|
7eb0: 6165 5f64 6552 6967 7473 7265 0a0d 0a0d ead_Register....
|
|
7ec0: 0000 0000 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
7ed0: 5d64 5720 6972 6574 525f 6765 7369 6574 d] Write_Registe
|
|
7ee0: 0d72 0d0a 000a 0000 495b 464e 5d4f 5b20 r.......[INFO] [
|
|
7ef0: 7325 253a 5d64 4f20 6874 7265 6620 6172 %s:%d] Other fra
|
|
7f00: 656d 0d73 0d0a 000a 495b 464e 5d4f 5b20 mes.....[INFO] [
|
|
7f10: 7325 253a 5d64 4220 6f72 6461 6163 7473 %s:%d] Broadcast
|
|
7f20: 535f 6163 0d6e 0d0a 000a 0000 495b 464e _Scan.......[INF
|
|
7f30: 5d4f 5b20 7325 253a 5d64 5220 6765 7369 O] [%s:%d] Regis
|
|
7f40: 7274 7461 6f69 5f6e 6572 7571 7365 0d74 tration_request.
|
|
7f50: 0d0a 000a 495b 464e 5d4f 5b20 7325 253a ....[INFO] [%s:%
|
|
7f60: 5d64 6620 6e75 6f63 6564 6520 7272 726f d] funcode error
|
|
7f70: 2520 0d78 0d0a 000a 6420 7475 5f79 6172 %x..... duty_ra
|
|
7f80: 6974 206f 203a 6425 312f 3030 2030 000a tio : %d/1000 ..
|
|
7f90: 7620 756f 2074 203a 6425 312f 3030 0a20 vout : %d/100 .
|
|
7fa0: 0000 0000 7620 6142 7474 7265 2079 203a .... vBattery :
|
|
7fb0: 6425 312f 3030 0a20 0000 0000 4920 756f %d/100 ..... Iou
|
|
7fc0: 2074 203a 6425 312f 3030 0a20 0000 0000 t : %d/100 .....
|
|
7fd0: 4920 6964 6f73 7475 3a20 2520 2f64 3031 Idisout : %d/10
|
|
7fe0: 2030 000a 6d20 736f 2054 203a 6425 312f 0 .. mosT : %d/1
|
|
7ff0: 2030 000a 6d20 736f 7453 7461 2065 203a 0 .. mosState :
|
|
8000: 6425 0a20 0000 0000 3020 c32e d3bb b9d0 %d ..... 0......
|
|
8010: d7a4 3bf7 3120 e42e c1b8 c4f7 caa3 3bbd ...; 1.........;
|
|
8020: 3220 ba2e c1e3 c4f7 caa3 3bbd 3320 ba2e 2.........; 3..
|
|
8030: d1e3 c4b9 caa3 3bbd 3420 b82e b3a1 c4e4 .......; 4......
|
|
8040: caa3 3bbd 3520 c32e d3bb b5d0 b3e7 20d8 ...; 5.........
|
|
8050: 203a 6425 0a20 0000 147b 47ae 7ae1 3f84 : %d ...{..G.z.?
|
|
8060: 6f76 746c 6920 206e 203a 6425 312f 3030 volt in : %d/100
|
|
8070: 0a20 0000 0000 3f80 0000 4110 6820 6c65 ......?...A hel
|
|
8080: 6f6c 7720 726f 646c 0a20 0000 3333 3f33 lo world ...333?
|
|
8090: c472 ffff c364 ffff c364 ffff c362 ffff r...d...d...b...
|
|
80a0: c36a ffff c36a ffff c330 ffff c362 ffff j...j...0...b...
|
|
80b0: c36a ffff c330 ffff c36a ffff c362 ffff j...0...j...b...
|
|
80c0: c45e ffff c45e ffff c45e ffff c330 ffff ^...^...^...0...
|
|
80d0: d3ae ffff d2d4 ffff d3a8 ffff d2dc ffff ................
|
|
80e0: d3a8 ffff d2a2 ffff d3a8 ffff d2dc ffff ................
|
|
80f0: d2d4 ffff d2d4 ffff d2a2 ffff d2dc ffff ................
|
|
8100: d2e2 ffff d2e2 ffff d2e2 ffff d2a2 ffff ................
|
|
8110: d294 ffff d294 ffff d368 ffff d444 ffff ........h...D...
|
|
8120: d368 ffff d262 ffff d368 ffff d444 ffff h...b...h...D...
|
|
8130: d294 ffff d294 ffff d262 ffff d444 ffff ........b...D...
|
|
8140: d2a2 ffff d2a2 ffff d2a2 ffff d262 ffff ............b...
|
|
8150: d6bc ffff d60a ffff d60a ffff d608 ffff ................
|
|
8160: d60e ffff d60e ffff d5de ffff d608 ffff ................
|
|
8170: d60e ffff d5de ffff d60e ffff d608 ffff ................
|
|
8180: d6aa ffff d6aa ffff d6aa ffff d5de ffff ................
|
|
|
|
00008190 <__clz_tab>:
|
|
8190: 0100 0202 0303 0303 0404 0404 0404 0404 ................
|
|
81a0: 0505 0505 0505 0505 0505 0505 0505 0505 ................
|
|
81b0: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
81c0: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
81d0: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
81e0: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
81f0: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8200: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
8210: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8220: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8230: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8240: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8250: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8260: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8270: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
8280: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
|
|
00008290 <__sf_fake_stderr>:
|
|
...
|
|
|
|
000082b0 <__sf_fake_stdin>:
|
|
...
|
|
|
|
000082d0 <__sf_fake_stdout>:
|
|
...
|
|
82f0: 2d23 2b30 0020 0000 6c68 004c 6665 4567 #-0+ ...hlL.efgE
|
|
8300: 4746 0000 3130 3332 3534 3736 3938 4241 FG..0123456789AB
|
|
8310: 4443 4645 0000 0000 3130 3332 3534 3736 CDEF....01234567
|
|
8320: 3938 6261 6463 6665 0000 0000 89abcdef....
|