7556 lines
338 KiB
Plaintext
7556 lines
338 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 0x000048a0 memsz 0x000048a0 flags r-x
|
|
LOAD off 0x00006000 vaddr 0x20000000 paddr 0x000048a0 align 2**12
|
|
filesz 0x00000160 memsz 0x00000418 flags rw-
|
|
LOAD off 0x00006800 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 00004760 00000140 00000140 00001140 2**3
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 000048a0 000048a0 00006160 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 00006160 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 000048a0 000048a0 00006160 2**0
|
|
CONTENTS
|
|
6 .data 00000160 20000000 000048a0 00006000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 000002b8 20000160 00004a00 00006160 2**2
|
|
ALLOC
|
|
8 .stack 00000800 20004800 20004800 00006800 2**0
|
|
ALLOC
|
|
9 .debug_info 0001e2d3 00000000 00000000 00006160 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 00005073 00000000 00000000 00024433 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_aranges 00000e20 00000000 00000000 000294a8 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_ranges 00001038 00000000 00000000 0002a2c8 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_line 00011f9b 00000000 00000000 0002b300 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_str 00004561 00000000 00000000 0003d29b 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .comment 00000033 00000000 00000000 000417fc 2**0
|
|
CONTENTS, READONLY
|
|
16 .debug_frame 00002b58 00000000 00000000 00041830 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
17 .debug_loc 000060df 00000000 00000000 00044388 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
18 .stab 00000084 00000000 00000000 0004a468 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
19 .stabstr 00000117 00000000 00000000 0004a4ec 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
|
|
000048a0 l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
000048a0 l d .dlalign 00000000 .dlalign
|
|
20000000 l d .data 00000000 .data
|
|
20000160 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
|
|
20000144 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
|
|
20000180 l O .bss 00000004 pTimeSliceList
|
|
00000000 l df *ABS* 00000000 ring_queue.c
|
|
00000000 l df *ABS* 00000000 debug.c
|
|
20000184 l O .bss 00000002 p_ms
|
|
20000186 l O .bss 00000002 p_us
|
|
2000014c l O .data 00000004 curbrk.5007
|
|
00000000 l df *ABS* 00000000 inflash.c
|
|
00000000 l df *ABS* 00000000 sl_protocol.c
|
|
00001db6 l F .text 00000048 SL_MsgProcFunc_Write_Register
|
|
00001dfe l F .text 00000030 SL_ReadRegisterSolarOpenCircuitVoltage2
|
|
00001e2e l F .text 00000030 SL_ReadRegisterSolarOpenCircuitVoltage1
|
|
00001e5e l F .text 00000030 SL_ReadRegisterRemainingBatteryBower
|
|
00001e8e l F .text 00000030 SL_ReadRegisterBatterytemperature
|
|
00001ebe l F .text 00000030 SL_ReadRegisterBatteryVoltage
|
|
00001eee l F .text 00000026 SL_ReadRegisterCommunicationMethods
|
|
00001f14 l F .text 00000026 SL_ReadRegisterAccessNodeType
|
|
00001f3a l F .text 0000001c SL_ReadRegisteraddress
|
|
00001f56 l F .text 00000026 SL_ReadRegisterRegistrationStatus
|
|
00001f7c l F .text 00000056 SL_MsgProcFunc_Registration_request
|
|
00001fd2 l F .text 00000034 SL_MsgProcFunc_Broadcast_Scan
|
|
00002044 l F .text 0000015c SL_MsgProcFunc_Read_Register
|
|
200001bc l O .bss 00000032 rs485_buff
|
|
00000000 l df *ABS* 00000000 task.c
|
|
20000189 l O .bss 00000001 flag.5754
|
|
20000192 l O .bss 00000001 run_number.5784
|
|
00000000 l df *ABS* 00000000 uart_dev.c
|
|
0000283c l F .text 00000046 uart_putchar
|
|
20000220 l O .bss 000000c8 bat485_in_buff
|
|
200002e8 l O .bss 0000012c gw485_in_buff
|
|
00000000 l df *ABS* 00000000 gedf2.c
|
|
00000000 l df *ABS* 00000000 ledf2.c
|
|
00000000 l df *ABS* 00000000 mulsf3.c
|
|
00000000 l df *ABS* 00000000 fixunssfsi.c
|
|
00000000 l df *ABS* 00000000 extendsfdf2.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 wbuf.c
|
|
00000000 l df *ABS* 00000000 wsetup.c
|
|
00000000 l df *ABS* 00000000 fflush.c
|
|
00000000 l df *ABS* 00000000 findfp.c
|
|
00003532 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
|
|
000039ce 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 mlock.c
|
|
00000000 l df *ABS* 00000000 readr.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
|
|
200000e0 l O .data 00000060 impure_data
|
|
00000000 l df *ABS* 00000000 mppt_control.c
|
|
00000000 l df *ABS* 00000000 reent.c
|
|
00001636 g F .text 00000032 EXTI2_IRQHandler
|
|
000041c2 g F .text 00000028 _isatty_r
|
|
00001bb2 g F .text 00000022 TimeSliceOffset_Start
|
|
0000302a g F .text 000000d4 _puts_r
|
|
000041ea g F .text 0000002c _lseek_r
|
|
00001a00 g F .text 0000005c TIM3_Int_Init
|
|
0000195a g F .text 0000001a USARTx_SendByte
|
|
20000020 g O .data 0000001e g_slConfigInfo
|
|
00002882 g F .text 0000004e uart_dev_init
|
|
20000148 g O .data 00000001 run_Broadcast
|
|
00002fea g F .text 00000040 printf
|
|
20000940 g .data 00000000 __global_pointer$
|
|
00000148 g F .text 00000028 .hidden __riscv_save_8
|
|
00000440 w .text 00000000 TIM1_CC_IRQHandler
|
|
0000410c g F .text 00000030 __sseek
|
|
000035e8 g F .text 0000006c __sinit
|
|
00000e8a g F .text 00000004 SPI_I2S_SendData
|
|
000031e4 g F .text 000000bc __swbuf_r
|
|
0000024a g F .text 00000002 HardFault_Handler
|
|
000035a2 g F .text 00000046 __sfmoreglue
|
|
00004230 g F .text 00000002 __malloc_unlock
|
|
00001c0c g F .text 0000002c InRingQueue
|
|
00000440 w .text 00000000 USBPD_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_3
|
|
00001aa8 g F .text 0000004e TIM2_Int_Init
|
|
00002246 g F .text 00000032 FRT_MsgHandler
|
|
00000440 w .text 00000000 SysTick_Handler
|
|
00000568 g F .text 0000000a ADC_StartCalibration
|
|
00002988 g F .text 00000018 uart_dev_char_present
|
|
00000ca6 g F .text 00000054 NVIC_Init
|
|
00000440 w .text 00000000 PVD_IRQHandler
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_10
|
|
00000e8e g F .text 00000004 SPI_I2S_ReceiveData
|
|
00000248 g F .text 00000002 NMI_Handler
|
|
00000440 w .text 00000000 EXTI3_IRQHandler
|
|
00000148 g F .text 00000028 .hidden __riscv_save_11
|
|
00000852 g F .text 00000006 DBGMCU_GetCHIPID
|
|
000029d4 g F .text 000000ae .hidden __gtdf2
|
|
000025c8 g F .text 00000024 Task_RunLED
|
|
00001224 g F .text 0000000a USART_GetFlagStatus
|
|
00004198 g F .text 0000002a _fstat_r
|
|
20000414 g O .bss 00000004 errno
|
|
00002904 g F .text 00000018 gw485_tx_enabla
|
|
20000160 g .bss 00000000 _sbss
|
|
00000800 g *ABS* 00000000 __stack_size
|
|
00001cc4 g F .text 0000005a USART_Printf_Init
|
|
000029c6 g F .text 0000000e ring_queue_length
|
|
00000440 w .text 00000000 USBFS_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_2
|
|
00002934 g F .text 00000054 uart_dev_write
|
|
0000104e g F .text 00000016 TIM_CtrlPWMOutputs
|
|
00002f38 g F .text 000000b2 memcpy
|
|
00000546 g F .text 00000010 ADC_Cmd
|
|
00003598 g F .text 0000000a _cleanup_r
|
|
000009b8 g F .text 0000012c GPIO_PinRemapConfig
|
|
00002a82 g F .text 000000b6 .hidden __ltdf2
|
|
00000440 w .text 00000000 EXTI0_IRQHandler
|
|
00000440 w .text 00000000 I2C2_EV_IRQHandler
|
|
00000e20 g F .text 0000001e RCC_PB2PeriphResetCmd
|
|
00000440 w .text 00000000 LPTIM_IRQHandler
|
|
000028d0 g F .text 0000001a bat485_tx_enabla
|
|
20000174 g O .bss 00000002 Calibrattion_Val
|
|
00001036 g F .text 00000018 TIM_Cmd
|
|
000030fe g F .text 0000000c puts
|
|
000010a6 g F .text 00000016 TIM_OC4PreloadConfig
|
|
20000140 g O .data 00000004 SystemCoreClock
|
|
0000121c g F .text 00000008 USART_ReceiveData
|
|
00003848 g F .text 0000000a malloc
|
|
0000426a g F .text 0000000c _fstat
|
|
00000004 g .init 00000000 _einit
|
|
00001102 g F .text 0000000c TIM_ClearITPendingBit
|
|
000010d2 g F .text 00000018 TIM_GetCounter
|
|
00000140 g F .text 00000030 .hidden __riscv_save_12
|
|
000008ea g F .text 000000c0 GPIO_Init
|
|
00000cfa g F .text 00000014 RCC_ADCCLKConfig
|
|
00001b46 g F .text 0000003e TimeSliceOffset_Register
|
|
00000440 w .text 00000000 Break_Point_Handler
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_11
|
|
20000194 g O .bss 00000004 g_bat485_uart3_handle
|
|
20000170 g O .bss 00000004 NVIC_Priority_Group
|
|
00000440 w .text 00000000 SPI1_IRQHandler
|
|
00000556 g F .text 0000000a ADC_ResetCalibration
|
|
000011c8 g F .text 00000016 USART_Cmd
|
|
0000406e g F .text 0000002a _sbrk_r
|
|
20000164 g O .bss 00000004 CHIPID
|
|
00000440 w .text 00000000 TAMPER_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_1
|
|
00001d82 g F .text 00000034 read_config_info
|
|
20000191 g O .bss 00000001 recvbroadcast_flag
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_0
|
|
00004232 g F .text 0000002c _read_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_7
|
|
20000190 g O .bss 00000001 g_recvBroadcastRegisterNumber
|
|
00002e1e g F .text 000000ac .hidden __extendsfdf2
|
|
00000440 w .text 00000000 Ecall_M_Mode_Handler
|
|
20004800 g .stack 00000000 _heap_end
|
|
000028ea g F .text 0000001a bat485_tx_disenabla
|
|
00004276 g F .text 0000000c _isatty
|
|
20000060 g O .data 00000048 g_RegTblR
|
|
20000158 g O .data 00000004 _global_impure_ptr
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_5
|
|
20000160 g O .bss 00000002 ADC_Trim
|
|
00000e92 g F .text 0000000a SPI_I2S_GetFlagStatus
|
|
00000440 w .text 00000000 DMA1_Channel4_IRQHandler
|
|
0000057a g F .text 000000b8 ADC_RegularChannelConfig
|
|
00001d5c g F .text 00000026 _sbrk
|
|
0000065c g F .text 00000012 ADC_FIFO_Cmd
|
|
000021a0 g F .text 0000002c randomDelay
|
|
00001bfc g F .text 00000010 InitRingQueue
|
|
000025ec g F .text 00000010 Task_usart
|
|
00001c5e g F .text 00000010 RingQueueLength
|
|
00002006 g F .text 0000003e CheckFunc
|
|
000015dc g F .text 0000005a DSG_PROT_Init
|
|
000013fe g F .text 0000005a SPI_ReadWriteByte
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_6
|
|
00001974 g F .text 00000046 USART3_IRQHandler
|
|
000008e0 g F .text 0000000a EXTI_ClearITPendingBit
|
|
00000440 w .text 00000000 RTC_IRQHandler
|
|
00000572 g F .text 00000008 ADC_GetCalibrationStatus
|
|
20000418 g .bss 00000000 _ebss
|
|
0000122e g F .text 0000003c USART_GetITStatus
|
|
00002746 g F .text 00000076 g_Mppt_Para_Init
|
|
00000440 w .text 00000000 DMA1_Channel7_IRQHandler
|
|
20000178 g O .bss 00000001 USART3_Rbuffer
|
|
00000560 g F .text 00000008 ADC_GetResetCalibrationStatus
|
|
00000440 w .text 00000000 CAN1_RX1_IRQHandler
|
|
00001c6e g F .text 00000020 Delay_Init
|
|
00001458 g F .text 00000068 SPI_Flash_Read
|
|
00001c38 g F .text 00000026 OutRingQueue
|
|
00000de4 g F .text 0000001e RCC_PB2PeriphClockCmd
|
|
00000b10 g F .text 00000190 GPIO_IPD_Unused
|
|
00000440 w .text 00000000 USBPDWakeUp_IRQHandler
|
|
000009aa g F .text 00000004 GPIO_SetBits
|
|
00000440 w .text 00000000 TIM4_IRQHandler
|
|
00002a82 g F .text 000000b6 .hidden __ledf2
|
|
00001076 g F .text 0000001a TIM_ARRPreloadConfig
|
|
00000148 g F .text 00000028 .hidden __riscv_save_9
|
|
000009ae g F .text 0000000a GPIO_WriteBit
|
|
00004804 g O .text 00000020 __sf_fake_stderr
|
|
000016a6 g F .text 00000048 PWM_GPIO_Configuration
|
|
00000156 g F .text 0000001a .hidden __riscv_save_4
|
|
00000440 w .text 00000000 I2C1_EV_IRQHandler
|
|
000019ba g F .text 00000046 USART4_IRQHandler
|
|
000017ea g F .text 000000b2 GW_485_Init
|
|
000010ea g F .text 00000018 TIM_GetITStatus
|
|
00000d0e g F .text 000000d6 RCC_GetClocksFreq
|
|
00000440 w .text 00000000 DMA1_Channel6_IRQHandler
|
|
00002eca g F .text 0000006e .hidden __clzsi2
|
|
00001bd4 g F .text 00000028 TimeSliceOffset_Produce
|
|
000039f6 g F .text 00000042 __sfputs_r
|
|
2000016c g O .bss 00000004 TS_Val
|
|
00004216 g F .text 00000018 memchr
|
|
0000110e g F .text 000000ba USART_Init
|
|
00003852 g F .text 000000a8 _free_r
|
|
00001a80 g F .text 00000028 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
|
|
00000440 w .text 00000000 DMA1_Channel1_IRQHandler
|
|
0000151c g F .text 00000030 RUN_LED_Init
|
|
00000000 g .init 00000000 _start
|
|
00003160 g F .text 00000084 rand
|
|
00004282 g F .text 0000000c _lseek
|
|
20000188 g O .bss 00000001 RegistrationRequestFlag
|
|
00001090 g F .text 00000016 TIM_OC2PreloadConfig
|
|
00000e02 g F .text 0000001e RCC_PB1PeriphClockCmd
|
|
000014c0 g F .text 0000005c G_FFMOS_CON_Init
|
|
00000440 w .text 00000000 EXTI15_10_IRQHandler
|
|
00001064 g F .text 00000012 TIM_ITConfig
|
|
00000f12 g F .text 000000a8 TIM_OC2Init
|
|
00000440 w .text 00000000 ADC_IRQHandler
|
|
000011de g F .text 00000036 USART_ITConfig
|
|
00000858 g F .text 0000006a EXTI_Init
|
|
20000168 g O .bss 00000004 OPA_Trim
|
|
00000440 w .text 00000000 DMA1_Channel8_IRQHandler
|
|
20000150 g O .data 00000004 g_duty_ratio
|
|
00004170 g F .text 00000028 _close_r
|
|
20000000 g .dalign 00000000 _data_vma
|
|
000015ac g F .text 00000030 POW_OUT_CON_Init
|
|
000027fa g F .text 00000042 hardware_Init
|
|
00000fba g F .text 0000007c TIM_OC4Init
|
|
000032a0 g F .text 000000fc __swsetup_r
|
|
00000440 w .text 00000000 EXTI9_5_IRQHandler
|
|
00003654 g F .text 000000a0 __sfp
|
|
20000200 g O .bss 00000010 m_runled
|
|
00000ae4 g F .text 0000002c GPIO_EXTILineConfig
|
|
00000148 g F .text 00000028 .hidden __riscv_save_10
|
|
00004098 g F .text 0000002c __sread
|
|
200000a8 g O .data 00000038 uart_devices
|
|
0000422e g F .text 00000002 __malloc_lock
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_4
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_8
|
|
000034cc g F .text 00000066 _fflush_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_6
|
|
000008c2 g F .text 0000001e EXTI_GetITStatus
|
|
00000440 w .text 00000000 SPI2_IRQHandler
|
|
00004824 g O .text 00000020 __sf_fake_stdin
|
|
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
|
|
00001a5c g F .text 00000024 TIM3_Init
|
|
0000310a g F .text 00000056 srand
|
|
0000291c g F .text 00000018 gw485_tx_disenabla
|
|
0000413c g F .text 00000006 __sclose
|
|
000038fa g F .text 000000d4 _malloc_r
|
|
0000067e g F .text 000001d4 Get_CalibrationValue
|
|
00000440 w .text 00000000 DMA1_Channel5_IRQHandler
|
|
20000210 g O .bss 00000010 m_usart
|
|
00000440 w .text 00000000 EXTI4_IRQHandler
|
|
00001c8e g F .text 00000036 Delay_Ms
|
|
00000440 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
00002b38 g F .text 00000290 .hidden __mulsf3
|
|
000010bc g F .text 00000016 TIM_SetCompare4
|
|
00000632 g F .text 00000018 ADC_BufferCmd
|
|
00000e70 g F .text 0000001a SPI_Cmd
|
|
00000296 g F .text 00000106 SystemInit
|
|
0000064a g F .text 00000012 ADC_DutyDelayCmd
|
|
00002fea g F .text 00000040 iprintf
|
|
00002278 g F .text 00000350 read_and_process_uart_data
|
|
2000017c g O .bss 00000001 USART4_Rbuffer
|
|
00000440 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
|
|
00004704 g O .text 00000100 .hidden __clz_tab
|
|
00000000 g .init 00000000 _sinit
|
|
00000440 w .text 00000000 CMPWakeUp_IRQHandler
|
|
00004142 g F .text 0000002e _write_r
|
|
00000440 w .text 00000000 DMA1_Channel3_IRQHandler
|
|
00003cc0 g F .text 0000010c _printf_common
|
|
20000154 g O .data 00000004 _impure_ptr
|
|
000025fc g F .text 0000014a Task_recvbroadcast
|
|
00000440 w .text 00000000 TIM1_UP_IRQHandler
|
|
0000339c g F .text 00000130 __sflush_r
|
|
00000440 w .text 00000000 LPTIMWakeUp_IRQHandler
|
|
00000440 w .text 00000000 WWDG_IRQHandler
|
|
00001b84 g F .text 0000002e TimeSliceOffset_Unregister
|
|
00000440 w .text 00000000 Ecall_U_Mode_Handler
|
|
000027bc g F .text 0000003e task_Init
|
|
20000040 g O .data 00000020 g_MsgTbl
|
|
0000066e g F .text 00000010 ADC_Sample_ModeConfig
|
|
00001b1c g F .text 0000002a TIM2_IRQHandler
|
|
20005000 g .stack 00000000 _eusrstack
|
|
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
|
|
0000375e g F .text 00000058 __swhatbuf_r
|
|
000004f0 g F .text 00000056 ADC_Init
|
|
00001214 g F .text 00000008 USART_SendData
|
|
00000440 w .text 00000000 OPA_IRQHandler
|
|
000021cc g F .text 0000007a Check_485_bus_busy
|
|
200001f0 g O .bss 00000010 m_recvbroadcast
|
|
00000440 w .text 00000000 EXTI1_IRQHandler
|
|
00000156 g F .text 0000001a .hidden __riscv_save_5
|
|
00001668 g F .text 0000003e EnPowerSupply_Init
|
|
00001d1e g F .text 0000003e _write
|
|
20000160 g .data 00000000 _edata
|
|
20000418 g .bss 00000000 _end
|
|
00000e9c g F .text 00000076 TIM_TimeBaseInit
|
|
00000440 w .text 00000000 RTCAlarm_IRQHandler
|
|
000048a0 g .dlalign 00000000 _data_lma
|
|
00000440 w .text 00000000 USART2_IRQHandler
|
|
000040c4 g F .text 00000048 __swrite
|
|
0000189c g F .text 000000be BAT_485_Init
|
|
00003a38 g F .text 00000288 _vfiprintf_r
|
|
000036f4 g F .text 0000006a _fwalk_reent
|
|
0000039c g F .text 000000a4 SystemCoreClockUpdate
|
|
0000154c g F .text 00000032 WDI_INPUT_Init
|
|
00000440 w .text 00000000 I2C2_ER_IRQHandler
|
|
00000440 w .text 00000000 DMA1_Channel2_IRQHandler
|
|
000016ee g F .text 00000080 PWM_TIM_Configuration
|
|
00004844 g O .text 00000020 __sf_fake_stdout
|
|
20000000 g O .data 00000010 HBPrescTable
|
|
0000017c g F .text 00000024 .hidden __riscv_restore_12
|
|
0000428e g F .text 0000000c _read
|
|
00000442 w .text 00000000 handle_reset
|
|
00000440 w .text 00000000 CAN1_SCE_IRQHandler
|
|
00002dc8 g F .text 00000056 .hidden __fixunssfsi
|
|
00000440 w .text 00000000 FLASH_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_0
|
|
00000440 w .text 00000000 USBFSWakeUp_IRQHandler
|
|
2000018c g O .bss 00000004 g_recvBroadcastDevice
|
|
00001af6 g F .text 00000026 TIM2_Init
|
|
00000440 w .text 00000000 USART1_IRQHandler
|
|
000037b6 g F .text 00000092 __smakebuf_r
|
|
00003dcc g F .text 000002a2 _printf_i
|
|
200001a4 g O .bss 00000017 g_Mppt_Para
|
|
000029d4 g F .text 000000ae .hidden __gedf2
|
|
200001a0 g O .bss 00000004 __malloc_sbrk_start
|
|
00000440 w .text 00000000 I2C1_ER_IRQHandler
|
|
0000135a g F .text 000000a4 SPI_Flash_Init
|
|
00000e3e g F .text 00000032 SPI_Init
|
|
00000ca0 g F .text 00000006 NVIC_PriorityGroupConfig
|
|
0000126a g F .text 000000f0 ADC_all_Init
|
|
0000176e g F .text 0000007c Set_duty_ratio
|
|
00000440 w .text 00000000 TKeyWakeUp_IRQHandler
|
|
2000019c g O .bss 00000004 __malloc_free_list
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_1
|
|
20000198 g O .bss 00000004 g_gw485_uart4_handle
|
|
00003a38 g F .text 00000288 _vfprintf_r
|
|
0000157e g F .text 0000002e BEEP_Init
|
|
0000425e g F .text 0000000c _close
|
|
000029a0 g F .text 00000026 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: 0440 addi s0,sp,516
|
|
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: 1636 slli a2,a2,0x2d
|
|
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: 0440 addi s0,sp,516
|
|
aa: 0000 unimp
|
|
ac: 0440 addi s0,sp,516
|
|
ae: 0000 unimp
|
|
b0: 0440 addi s0,sp,516
|
|
b2: 0000 unimp
|
|
b4: 1b1c addi a5,sp,432
|
|
b6: 0000 unimp
|
|
b8: 1a80 addi s0,sp,368
|
|
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: 1974 addi a3,sp,188
|
|
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: 19ba slli s3,s3,0x2e
|
|
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: 24f000ef jal ra,ca0 <NVIC_PriorityGroupConfig>
|
|
256: 2299 jal 39c <SystemCoreClockUpdate>
|
|
258: 217010ef jal ra,1c6e <Delay_Init>
|
|
25c: 6571 lui a0,0x1c
|
|
25e: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x17960>
|
|
262: 263010ef jal ra,1cc4 <USART_Printf_Init>
|
|
266: 200007b7 lui a5,0x20000
|
|
26a: 1407a583 lw a1,320(a5) # 20000140 <SystemCoreClock>
|
|
26e: 00004537 lui a0,0x4
|
|
272: 29c50513 addi a0,a0,668 # 429c <_read+0xe>
|
|
276: 575020ef jal ra,2fea <iprintf>
|
|
27a: 2be1 jal 852 <DBGMCU_GetCHIPID>
|
|
27c: 85aa mv a1,a0
|
|
27e: 00004537 lui a0,0x4
|
|
282: 2ac50513 addi a0,a0,684 # 42ac <_read+0x1e>
|
|
286: 565020ef jal ra,2fea <iprintf>
|
|
28a: 570020ef jal ra,27fa <hardware_Init>
|
|
28e: 52e020ef jal ra,27bc <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: 035000ef jal ra,b10 <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: 14070713 addi a4,a4,320 # 20000140 <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+0xef9a0>
|
|
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+0x79c960>
|
|
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+0x79c960>
|
|
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+0x3cc060>
|
|
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: 4fe18193 addi gp,gp,1278 # 20000940 <__global_pointer$>
|
|
44a: 20005117 auipc sp,0x20005
|
|
44e: bb610113 addi sp,sp,-1098 # 20005000 <_eusrstack>
|
|
452: 00004517 auipc a0,0x4
|
|
456: 44e50513 addi a0,a0,1102 # 48a0 <_data_lma>
|
|
45a: 20000597 auipc a1,0x20000
|
|
45e: ba658593 addi a1,a1,-1114 # 20000000 <_data_vma>
|
|
462: 82018613 addi a2,gp,-2016 # 20000160 <_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 # 20000160 <_edata>
|
|
47e: ad818593 addi a1,gp,-1320 # 20000418 <_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: 143000ef jal ra,e20 <RCC_PB2PeriphResetCmd>
|
|
4e2: 4581 li a1,0
|
|
4e4: 20000513 li a0,512
|
|
4e8: 139000ef jal ra,e20 <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_RegularChannelConfig>:
|
|
57a: 47a5 li a5,9
|
|
57c: 04b7f763 bgeu a5,a1,5ca <ADC_RegularChannelConfig+0x50>
|
|
580: 478d li a5,3
|
|
582: ff658713 addi a4,a1,-10
|
|
586: 02f70733 mul a4,a4,a5
|
|
58a: 00c52803 lw a6,12(a0)
|
|
58e: 479d li a5,7
|
|
590: 00e797b3 sll a5,a5,a4
|
|
594: fff7c793 not a5,a5
|
|
598: 0107f7b3 and a5,a5,a6
|
|
59c: 00e696b3 sll a3,a3,a4
|
|
5a0: 8edd or a3,a3,a5
|
|
5a2: c554 sw a3,12(a0)
|
|
5a4: 4799 li a5,6
|
|
5a6: 04c7e363 bltu a5,a2,5ec <ADC_RegularChannelConfig+0x72>
|
|
5aa: 4795 li a5,5
|
|
5ac: 167d addi a2,a2,-1
|
|
5ae: 02f60633 mul a2,a2,a5
|
|
5b2: 5958 lw a4,52(a0)
|
|
5b4: 47fd li a5,31
|
|
5b6: 00c797b3 sll a5,a5,a2
|
|
5ba: fff7c793 not a5,a5
|
|
5be: 8ff9 and a5,a5,a4
|
|
5c0: 00c59633 sll a2,a1,a2
|
|
5c4: 8e5d or a2,a2,a5
|
|
5c6: d950 sw a2,52(a0)
|
|
5c8: 8082 ret
|
|
5ca: 470d li a4,3
|
|
5cc: 02e58733 mul a4,a1,a4
|
|
5d0: 01052803 lw a6,16(a0)
|
|
5d4: 479d li a5,7
|
|
5d6: 00e797b3 sll a5,a5,a4
|
|
5da: fff7c793 not a5,a5
|
|
5de: 0107f7b3 and a5,a5,a6
|
|
5e2: 00e696b3 sll a3,a3,a4
|
|
5e6: 8edd or a3,a3,a5
|
|
5e8: c914 sw a3,16(a0)
|
|
5ea: bf6d j 5a4 <ADC_RegularChannelConfig+0x2a>
|
|
5ec: 47b1 li a5,12
|
|
5ee: 02c7e263 bltu a5,a2,612 <ADC_RegularChannelConfig+0x98>
|
|
5f2: 4795 li a5,5
|
|
5f4: 1665 addi a2,a2,-7
|
|
5f6: 02f60633 mul a2,a2,a5
|
|
5fa: 5918 lw a4,48(a0)
|
|
5fc: 47fd li a5,31
|
|
5fe: 00c797b3 sll a5,a5,a2
|
|
602: fff7c793 not a5,a5
|
|
606: 8ff9 and a5,a5,a4
|
|
608: 00c59633 sll a2,a1,a2
|
|
60c: 8e5d or a2,a2,a5
|
|
60e: d910 sw a2,48(a0)
|
|
610: 8082 ret
|
|
612: 4795 li a5,5
|
|
614: 164d addi a2,a2,-13
|
|
616: 02f60633 mul a2,a2,a5
|
|
61a: 5558 lw a4,44(a0)
|
|
61c: 47fd li a5,31
|
|
61e: 00c797b3 sll a5,a5,a2
|
|
622: fff7c793 not a5,a5
|
|
626: 8ff9 and a5,a5,a4
|
|
628: 00c595b3 sll a1,a1,a2
|
|
62c: 8ddd or a1,a1,a5
|
|
62e: d54c sw a1,44(a0)
|
|
630: 8082 ret
|
|
|
|
00000632 <ADC_BufferCmd>:
|
|
632: 415c lw a5,4(a0)
|
|
634: c591 beqz a1,640 <ADC_BufferCmd+0xe>
|
|
636: 04000737 lui a4,0x4000
|
|
63a: 8fd9 or a5,a5,a4
|
|
63c: c15c sw a5,4(a0)
|
|
63e: 8082 ret
|
|
640: fc000737 lui a4,0xfc000
|
|
644: 177d addi a4,a4,-1
|
|
646: 8ff9 and a5,a5,a4
|
|
648: bfd5 j 63c <ADC_BufferCmd+0xa>
|
|
|
|
0000064a <ADC_DutyDelayCmd>:
|
|
64a: 493c lw a5,80(a0)
|
|
64c: c589 beqz a1,656 <ADC_DutyDelayCmd+0xc>
|
|
64e: 0807e793 ori a5,a5,128
|
|
652: c93c sw a5,80(a0)
|
|
654: 8082 ret
|
|
656: f7f7f793 andi a5,a5,-129
|
|
65a: bfe5 j 652 <ADC_DutyDelayCmd+0x8>
|
|
|
|
0000065c <ADC_FIFO_Cmd>:
|
|
65c: 493c lw a5,80(a0)
|
|
65e: c589 beqz a1,668 <ADC_FIFO_Cmd+0xc>
|
|
660: 0407e793 ori a5,a5,64
|
|
664: c93c sw a5,80(a0)
|
|
666: 8082 ret
|
|
668: fbf7f793 andi a5,a5,-65
|
|
66c: bfe5 j 664 <ADC_FIFO_Cmd+0x8>
|
|
|
|
0000066e <ADC_Sample_ModeConfig>:
|
|
66e: 493c lw a5,80(a0)
|
|
670: fdf7f793 andi a5,a5,-33
|
|
674: c93c sw a5,80(a0)
|
|
676: 493c lw a5,80(a0)
|
|
678: 8ddd or a1,a1,a5
|
|
67a: c92c sw a1,80(a0)
|
|
67c: 8082 ret
|
|
|
|
0000067e <Get_CalibrationValue>:
|
|
67e: af3ff2ef jal t0,170 <__riscv_save_0>
|
|
682: 456706b7 lui a3,0x45670
|
|
686: 400227b7 lui a5,0x40022
|
|
68a: 12368693 addi a3,a3,291 # 45670123 <_eusrstack+0x2566b123>
|
|
68e: cdef9737 lui a4,0xcdef9
|
|
692: c3d4 sw a3,4(a5)
|
|
694: 9ab70713 addi a4,a4,-1621 # cdef89ab <_eusrstack+0xadef39ab>
|
|
698: c3d8 sw a4,4(a5)
|
|
69a: d3d4 sw a3,36(a5)
|
|
69c: 1101 addi sp,sp,-32
|
|
69e: c798 sw a4,8(a5)
|
|
6a0: 5bd4 lw a3,52(a5)
|
|
6a2: 03478713 addi a4,a5,52 # 40022034 <_eusrstack+0x2001d034>
|
|
6a6: 00269613 slli a2,a3,0x2
|
|
6aa: fe064be3 bltz a2,6a0 <Get_CalibrationValue+0x22>
|
|
6ae: 57d4 lw a3,44(a5)
|
|
6b0: 40012537 lui a0,0x40012
|
|
6b4: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
6b8: 2006e693 ori a3,a3,512
|
|
6bc: d7d4 sw a3,44(a5)
|
|
6be: 5bdc lw a5,52(a5)
|
|
6c0: 200006b7 lui a3,0x20000
|
|
6c4: 8fd5 or a5,a5,a3
|
|
6c6: c31c sw a5,0(a4)
|
|
6c8: 431c lw a5,0(a4)
|
|
6ca: 451c lw a5,8(a0)
|
|
6cc: 000e0737 lui a4,0xe0
|
|
6d0: 8fd9 or a5,a5,a4
|
|
6d2: c51c sw a5,8(a0)
|
|
6d4: 451c lw a5,8(a0)
|
|
6d6: 0017e793 ori a5,a5,1
|
|
6da: c51c sw a5,8(a0)
|
|
6dc: 493c lw a5,80(a0)
|
|
6de: 0407e793 ori a5,a5,64
|
|
6e2: c93c sw a5,80(a0)
|
|
6e4: 451c lw a5,8(a0)
|
|
6e6: 0087e793 ori a5,a5,8
|
|
6ea: c51c sw a5,8(a0)
|
|
6ec: 842a mv s0,a0
|
|
6ee: 8522 mv a0,s0
|
|
6f0: 3d85 jal 560 <ADC_GetResetCalibrationStatus>
|
|
6f2: fd75 bnez a0,6ee <Get_CalibrationValue+0x70>
|
|
6f4: 40012537 lui a0,0x40012
|
|
6f8: 40852783 lw a5,1032(a0) # 40012408 <_eusrstack+0x2000d408>
|
|
6fc: 40050513 addi a0,a0,1024
|
|
700: 0047e793 ori a5,a5,4
|
|
704: c51c sw a5,8(a0)
|
|
706: 842a mv s0,a0
|
|
708: 8522 mv a0,s0
|
|
70a: 35a5 jal 572 <ADC_GetCalibrationStatus>
|
|
70c: fd75 bnez a0,708 <Get_CalibrationValue+0x8a>
|
|
70e: 40012537 lui a0,0x40012
|
|
712: 4605 li a2,1
|
|
714: 45c9 li a1,18
|
|
716: 4681 li a3,0
|
|
718: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
71c: 3db9 jal 57a <ADC_RegularChannelConfig>
|
|
71e: 4625 li a2,9
|
|
720: 00010423 sb zero,8(sp)
|
|
724: 40012737 lui a4,0x40012
|
|
728: 005005b7 lui a1,0x500
|
|
72c: 841c lbu a5,8(sp)
|
|
72e: 04f67f63 bgeu a2,a5,78c <Get_CalibrationValue+0x10e>
|
|
732: 00010423 sb zero,8(sp)
|
|
736: 46a5 li a3,9
|
|
738: 4621 li a2,8
|
|
73a: 841c lbu a5,8(sp)
|
|
73c: 06f6ff63 bgeu a3,a5,7ba <Get_CalibrationValue+0x13c>
|
|
740: 00011523 sh zero,10(sp)
|
|
744: 00010423 sb zero,8(sp)
|
|
748: 4695 li a3,5
|
|
74a: 841c lbu a5,8(sp)
|
|
74c: 0ef6f163 bgeu a3,a5,82e <__stack_size+0x2e>
|
|
750: 8538 lhu a4,10(sp)
|
|
752: 853c lhu a5,10(sp)
|
|
754: 4699 li a3,6
|
|
756: 460d li a2,3
|
|
758: 02d7f7b3 remu a5,a5,a3
|
|
75c: 6505 lui a0,0x1
|
|
75e: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
|
|
762: 02d75733 divu a4,a4,a3
|
|
766: 02c7d7b3 divu a5,a5,a2
|
|
76a: 97ba add a5,a5,a4
|
|
76c: 07c2 slli a5,a5,0x10
|
|
76e: 83c1 srli a5,a5,0x10
|
|
770: 857c sh a5,10(sp)
|
|
772: 400127b7 lui a5,0x40012
|
|
776: 4087a703 lw a4,1032(a5) # 40012408 <_eusrstack+0x2000d408>
|
|
77a: 9b79 andi a4,a4,-2
|
|
77c: 40e7a423 sw a4,1032(a5)
|
|
780: 853c lhu a5,10(sp)
|
|
782: 6105 addi sp,sp,32
|
|
784: 8d1d sub a0,a0,a5
|
|
786: 0542 slli a0,a0,0x10
|
|
788: 8541 srai a0,a0,0x10
|
|
78a: b429 j 194 <__riscv_restore_0>
|
|
78c: 40872783 lw a5,1032(a4) # 40012408 <_eusrstack+0x2000d408>
|
|
790: 8fcd or a5,a5,a1
|
|
792: 40f72423 sw a5,1032(a4)
|
|
796: 40072783 lw a5,1024(a4)
|
|
79a: 8b89 andi a5,a5,2
|
|
79c: dfed beqz a5,796 <Get_CalibrationValue+0x118>
|
|
79e: 841c lbu a5,8(sp)
|
|
7a0: 44c72683 lw a3,1100(a4)
|
|
7a4: 1008 addi a0,sp,32
|
|
7a6: 0786 slli a5,a5,0x1
|
|
7a8: 97aa add a5,a5,a0
|
|
7aa: fed79623 sh a3,-20(a5)
|
|
7ae: 841c lbu a5,8(sp)
|
|
7b0: 0785 addi a5,a5,1
|
|
7b2: 0ff7f793 andi a5,a5,255
|
|
7b6: 845c sb a5,8(sp)
|
|
7b8: bf95 j 72c <Get_CalibrationValue+0xae>
|
|
7ba: 000104a3 sb zero,9(sp)
|
|
7be: 849c lbu a5,9(sp)
|
|
7c0: 00f67863 bgeu a2,a5,7d0 <Get_CalibrationValue+0x152>
|
|
7c4: 841c lbu a5,8(sp)
|
|
7c6: 0785 addi a5,a5,1
|
|
7c8: 0ff7f793 andi a5,a5,255
|
|
7cc: 845c sb a5,8(sp)
|
|
7ce: b7b5 j 73a <Get_CalibrationValue+0xbc>
|
|
7d0: 8498 lbu a4,9(sp)
|
|
7d2: 849c lbu a5,9(sp)
|
|
7d4: 100c addi a1,sp,32
|
|
7d6: 0706 slli a4,a4,0x1
|
|
7d8: 0785 addi a5,a5,1
|
|
7da: 0786 slli a5,a5,0x1
|
|
7dc: 972e add a4,a4,a1
|
|
7de: 97ae add a5,a5,a1
|
|
7e0: fec75703 lhu a4,-20(a4)
|
|
7e4: fec7d783 lhu a5,-20(a5)
|
|
7e8: 02e7fd63 bgeu a5,a4,822 <__stack_size+0x22>
|
|
7ec: 849c lbu a5,9(sp)
|
|
7ee: 0786 slli a5,a5,0x1
|
|
7f0: 97ae add a5,a5,a1
|
|
7f2: fec7d783 lhu a5,-20(a5)
|
|
7f6: 857c sh a5,10(sp)
|
|
7f8: 849c lbu a5,9(sp)
|
|
7fa: 8498 lbu a4,9(sp)
|
|
7fc: 0785 addi a5,a5,1
|
|
7fe: 0786 slli a5,a5,0x1
|
|
800: 97ae add a5,a5,a1
|
|
802: fec7d583 lhu a1,-20(a5)
|
|
806: 00171793 slli a5,a4,0x1
|
|
80a: 1018 addi a4,sp,32
|
|
80c: 97ba add a5,a5,a4
|
|
80e: feb79623 sh a1,-20(a5)
|
|
812: 849c lbu a5,9(sp)
|
|
814: 8538 lhu a4,10(sp)
|
|
816: 100c addi a1,sp,32
|
|
818: 0785 addi a5,a5,1
|
|
81a: 0786 slli a5,a5,0x1
|
|
81c: 97ae add a5,a5,a1
|
|
81e: fee79623 sh a4,-20(a5)
|
|
822: 849c lbu a5,9(sp)
|
|
824: 0785 addi a5,a5,1
|
|
826: 0ff7f793 andi a5,a5,255
|
|
82a: 84dc sb a5,9(sp)
|
|
82c: bf49 j 7be <Get_CalibrationValue+0x140>
|
|
82e: 841c lbu a5,8(sp)
|
|
830: 1010 addi a2,sp,32
|
|
832: 8538 lhu a4,10(sp)
|
|
834: 0789 addi a5,a5,2
|
|
836: 0786 slli a5,a5,0x1
|
|
838: 97b2 add a5,a5,a2
|
|
83a: fec7d783 lhu a5,-20(a5)
|
|
83e: 97ba add a5,a5,a4
|
|
840: 07c2 slli a5,a5,0x10
|
|
842: 83c1 srli a5,a5,0x10
|
|
844: 857c sh a5,10(sp)
|
|
846: 841c lbu a5,8(sp)
|
|
848: 0785 addi a5,a5,1
|
|
84a: 0ff7f793 andi a5,a5,255
|
|
84e: 845c sb a5,8(sp)
|
|
850: bded j 74a <Get_CalibrationValue+0xcc>
|
|
|
|
00000852 <DBGMCU_GetCHIPID>:
|
|
852: 8241a503 lw a0,-2012(gp) # 20000164 <CHIPID>
|
|
856: 8082 ret
|
|
|
|
00000858 <EXTI_Init>:
|
|
858: 4158 lw a4,4(a0)
|
|
85a: 00052803 lw a6,0(a0)
|
|
85e: 454c lw a1,12(a0)
|
|
860: 40010637 lui a2,0x40010
|
|
864: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x2000b400>
|
|
868: 973e add a4,a4,a5
|
|
86a: fff84693 not a3,a6
|
|
86e: c5b1 beqz a1,8ba <EXTI_Init+0x62>
|
|
870: 40062583 lw a1,1024(a2)
|
|
874: 8df5 and a1,a1,a3
|
|
876: 40b62023 sw a1,1024(a2)
|
|
87a: 43d0 lw a2,4(a5)
|
|
87c: 8ef1 and a3,a3,a2
|
|
87e: c3d4 sw a3,4(a5)
|
|
880: 4314 lw a3,0(a4)
|
|
882: 0106e6b3 or a3,a3,a6
|
|
886: c314 sw a3,0(a4)
|
|
888: 4118 lw a4,0(a0)
|
|
88a: 4790 lw a2,8(a5)
|
|
88c: fff74693 not a3,a4
|
|
890: 8e75 and a2,a2,a3
|
|
892: c790 sw a2,8(a5)
|
|
894: 47d0 lw a2,12(a5)
|
|
896: 8ef1 and a3,a3,a2
|
|
898: c7d4 sw a3,12(a5)
|
|
89a: 4514 lw a3,8(a0)
|
|
89c: 4641 li a2,16
|
|
89e: 00c69963 bne a3,a2,8b0 <EXTI_Init+0x58>
|
|
8a2: 4794 lw a3,8(a5)
|
|
8a4: 8ed9 or a3,a3,a4
|
|
8a6: c794 sw a3,8(a5)
|
|
8a8: 47d4 lw a3,12(a5)
|
|
8aa: 8f55 or a4,a4,a3
|
|
8ac: c7d8 sw a4,12(a5)
|
|
8ae: 8082 ret
|
|
8b0: 97b6 add a5,a5,a3
|
|
8b2: 4394 lw a3,0(a5)
|
|
8b4: 8f55 or a4,a4,a3
|
|
8b6: c398 sw a4,0(a5)
|
|
8b8: 8082 ret
|
|
8ba: 431c lw a5,0(a4)
|
|
8bc: 8ff5 and a5,a5,a3
|
|
8be: c31c sw a5,0(a4)
|
|
8c0: 8082 ret
|
|
|
|
000008c2 <EXTI_GetITStatus>:
|
|
8c2: 400107b7 lui a5,0x40010
|
|
8c6: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x2000b400>
|
|
8ca: 4007a783 lw a5,1024(a5)
|
|
8ce: 4b58 lw a4,20(a4)
|
|
8d0: 8f69 and a4,a4,a0
|
|
8d2: c709 beqz a4,8dc <EXTI_GetITStatus+0x1a>
|
|
8d4: 8d7d and a0,a0,a5
|
|
8d6: 00a03533 snez a0,a0
|
|
8da: 8082 ret
|
|
8dc: 4501 li a0,0
|
|
8de: 8082 ret
|
|
|
|
000008e0 <EXTI_ClearITPendingBit>:
|
|
8e0: 400107b7 lui a5,0x40010
|
|
8e4: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x2000b414>
|
|
8e8: 8082 ret
|
|
|
|
000008ea <GPIO_Init>:
|
|
8ea: 459c lw a5,8(a1)
|
|
8ec: 0107f713 andi a4,a5,16
|
|
8f0: 00f7f813 andi a6,a5,15
|
|
8f4: c701 beqz a4,8fc <GPIO_Init+0x12>
|
|
8f6: 41d8 lw a4,4(a1)
|
|
8f8: 00e86833 or a6,a6,a4
|
|
8fc: 218e lhu a1,0(a1)
|
|
8fe: 0ff5f713 andi a4,a1,255
|
|
902: c339 beqz a4,948 <GPIO_Init+0x5e>
|
|
904: 4118 lw a4,0(a0)
|
|
906: 4681 li a3,0
|
|
908: 4e85 li t4,1
|
|
90a: 4f3d li t5,15
|
|
90c: 02800f93 li t6,40
|
|
910: 04800293 li t0,72
|
|
914: 4e21 li t3,8
|
|
916: 00de9633 sll a2,t4,a3
|
|
91a: 00c5f8b3 and a7,a1,a2
|
|
91e: 03161163 bne a2,a7,940 <GPIO_Init+0x56>
|
|
922: 00269893 slli a7,a3,0x2
|
|
926: 011f1333 sll t1,t5,a7
|
|
92a: fff34313 not t1,t1
|
|
92e: 00e37733 and a4,t1,a4
|
|
932: 011818b3 sll a7,a6,a7
|
|
936: 00e8e733 or a4,a7,a4
|
|
93a: 05f79f63 bne a5,t6,998 <GPIO_Init+0xae>
|
|
93e: c950 sw a2,20(a0)
|
|
940: 0685 addi a3,a3,1
|
|
942: fdc69ae3 bne a3,t3,916 <GPIO_Init+0x2c>
|
|
946: c118 sw a4,0(a0)
|
|
948: 0ff00713 li a4,255
|
|
94c: 04b77563 bgeu a4,a1,996 <GPIO_Init+0xac>
|
|
950: 4154 lw a3,4(a0)
|
|
952: 4621 li a2,8
|
|
954: 4e85 li t4,1
|
|
956: 4f3d li t5,15
|
|
958: 02800f93 li t6,40
|
|
95c: 04800293 li t0,72
|
|
960: 4e41 li t3,16
|
|
962: 00ce98b3 sll a7,t4,a2
|
|
966: 0115f733 and a4,a1,a7
|
|
96a: 02e89263 bne a7,a4,98e <GPIO_Init+0xa4>
|
|
96e: 00261713 slli a4,a2,0x2
|
|
972: 1701 addi a4,a4,-32
|
|
974: 00ef1333 sll t1,t5,a4
|
|
978: fff34313 not t1,t1
|
|
97c: 00d376b3 and a3,t1,a3
|
|
980: 00e81733 sll a4,a6,a4
|
|
984: 8ed9 or a3,a3,a4
|
|
986: 01f79d63 bne a5,t6,9a0 <GPIO_Init+0xb6>
|
|
98a: 01152a23 sw a7,20(a0)
|
|
98e: 0605 addi a2,a2,1
|
|
990: fdc619e3 bne a2,t3,962 <GPIO_Init+0x78>
|
|
994: c154 sw a3,4(a0)
|
|
996: 8082 ret
|
|
998: fa5794e3 bne a5,t0,940 <GPIO_Init+0x56>
|
|
99c: c910 sw a2,16(a0)
|
|
99e: b74d j 940 <GPIO_Init+0x56>
|
|
9a0: fe5797e3 bne a5,t0,98e <GPIO_Init+0xa4>
|
|
9a4: 01152823 sw a7,16(a0)
|
|
9a8: b7dd j 98e <GPIO_Init+0xa4>
|
|
|
|
000009aa <GPIO_SetBits>:
|
|
9aa: c90c sw a1,16(a0)
|
|
9ac: 8082 ret
|
|
|
|
000009ae <GPIO_WriteBit>:
|
|
9ae: c219 beqz a2,9b4 <GPIO_WriteBit+0x6>
|
|
9b0: c90c sw a1,16(a0)
|
|
9b2: 8082 ret
|
|
9b4: c94c sw a1,20(a0)
|
|
9b6: 8082 ret
|
|
|
|
000009b8 <GPIO_PinRemapConfig>:
|
|
9b8: c0000737 lui a4,0xc0000
|
|
9bc: 00e577b3 and a5,a0,a4
|
|
9c0: 08e79563 bne a5,a4,a4a <GPIO_PinRemapConfig+0x92>
|
|
9c4: 40010737 lui a4,0x40010
|
|
9c8: 435c lw a5,4(a4)
|
|
9ca: 01b55693 srli a3,a0,0x1b
|
|
9ce: 4f58 lw a4,28(a4)
|
|
9d0: 8a9d andi a3,a3,7
|
|
9d2: e69d bnez a3,a00 <GPIO_PinRemapConfig+0x48>
|
|
9d4: 9bf9 andi a5,a5,-2
|
|
9d6: ff0006b7 lui a3,0xff000
|
|
9da: 16fd addi a3,a3,-1
|
|
9dc: 8f75 and a4,a4,a3
|
|
9de: c989 beqz a1,9f0 <GPIO_PinRemapConfig+0x38>
|
|
9e0: 01051693 slli a3,a0,0x10
|
|
9e4: 82c1 srli a3,a3,0x10
|
|
9e6: 8fd5 or a5,a5,a3
|
|
9e8: 01ff06b7 lui a3,0x1ff0
|
|
9ec: 8d75 and a0,a0,a3
|
|
9ee: 8f49 or a4,a4,a0
|
|
9f0: 070006b7 lui a3,0x7000
|
|
9f4: 8fd5 or a5,a5,a3
|
|
9f6: 400106b7 lui a3,0x40010
|
|
9fa: c2dc sw a5,4(a3)
|
|
9fc: ced8 sw a4,28(a3)
|
|
9fe: 8082 ret
|
|
a00: 4605 li a2,1
|
|
a02: 00c69663 bne a3,a2,a0e <GPIO_PinRemapConfig+0x56>
|
|
a06: 9bf5 andi a5,a5,-3
|
|
a08: ff8006b7 lui a3,0xff800
|
|
a0c: b7f9 j 9da <GPIO_PinRemapConfig+0x22>
|
|
a0e: 4609 li a2,2
|
|
a10: 00c69663 bne a3,a2,a1c <GPIO_PinRemapConfig+0x64>
|
|
a14: 9bed andi a5,a5,-5
|
|
a16: ffe806b7 lui a3,0xffe80
|
|
a1a: b7c1 j 9da <GPIO_PinRemapConfig+0x22>
|
|
a1c: 460d li a2,3
|
|
a1e: 00c69663 bne a3,a2,a2a <GPIO_PinRemapConfig+0x72>
|
|
a22: 9bdd andi a5,a5,-9
|
|
a24: fffc06b7 lui a3,0xfffc0
|
|
a28: bf4d j 9da <GPIO_PinRemapConfig+0x22>
|
|
a2a: 4611 li a2,4
|
|
a2c: 00c69763 bne a3,a2,a3a <GPIO_PinRemapConfig+0x82>
|
|
a30: f3f7f793 andi a5,a5,-193
|
|
a34: ffc006b7 lui a3,0xffc00
|
|
a38: b74d j 9da <GPIO_PinRemapConfig+0x22>
|
|
a3a: 4615 li a2,5
|
|
a3c: fac691e3 bne a3,a2,9de <GPIO_PinRemapConfig+0x26>
|
|
a40: cff7f793 andi a5,a5,-769
|
|
a44: ffe006b7 lui a3,0xffe00
|
|
a48: bf49 j 9da <GPIO_PinRemapConfig+0x22>
|
|
a4a: 40000737 lui a4,0x40000
|
|
a4e: 02e79163 bne a5,a4,a70 <GPIO_PinRemapConfig+0xb8>
|
|
a52: 400107b7 lui a5,0x40010
|
|
a56: 4fd8 lw a4,28(a5)
|
|
a58: 0542 slli a0,a0,0x10
|
|
a5a: 00a767b3 or a5,a4,a0
|
|
a5e: e589 bnez a1,a68 <GPIO_PinRemapConfig+0xb0>
|
|
a60: fff54513 not a0,a0
|
|
a64: 00e577b3 and a5,a0,a4
|
|
a68: 40010737 lui a4,0x40010
|
|
a6c: cf5c sw a5,28(a4)
|
|
a6e: 8082 ret
|
|
a70: e3a9 bnez a5,ab2 <GPIO_PinRemapConfig+0xfa>
|
|
a72: 40010837 lui a6,0x40010
|
|
a76: 003007b7 lui a5,0x300
|
|
a7a: 00482603 lw a2,4(a6) # 40010004 <_eusrstack+0x2000b004>
|
|
a7e: 01051713 slli a4,a0,0x10
|
|
a82: 00f576b3 and a3,a0,a5
|
|
a86: 8341 srli a4,a4,0x10
|
|
a88: 02f69663 bne a3,a5,ab4 <GPIO_PinRemapConfig+0xfc>
|
|
a8c: f90006b7 lui a3,0xf9000
|
|
a90: 16fd addi a3,a3,-1
|
|
a92: 00d677b3 and a5,a2,a3
|
|
a96: 00482603 lw a2,4(a6)
|
|
a9a: 8ef1 and a3,a3,a2
|
|
a9c: 00d82223 sw a3,4(a6)
|
|
aa0: c591 beqz a1,aac <GPIO_PinRemapConfig+0xf4>
|
|
aa2: 8155 srli a0,a0,0x15
|
|
aa4: 0512 slli a0,a0,0x4
|
|
aa6: 00a71533 sll a0,a4,a0
|
|
aaa: 8fc9 or a5,a5,a0
|
|
aac: 40010737 lui a4,0x40010
|
|
ab0: c35c sw a5,4(a4)
|
|
ab2: 8082 ret
|
|
ab4: 00b51793 slli a5,a0,0xb
|
|
ab8: 0207d063 bgez a5,ad8 <GPIO_PinRemapConfig+0x120>
|
|
abc: 01055793 srli a5,a0,0x10
|
|
ac0: 00f7f693 andi a3,a5,15
|
|
ac4: 478d li a5,3
|
|
ac6: 00d797b3 sll a5,a5,a3
|
|
aca: fff7c793 not a5,a5
|
|
ace: 8ff1 and a5,a5,a2
|
|
ad0: 070006b7 lui a3,0x7000
|
|
ad4: 8fd5 or a5,a5,a3
|
|
ad6: b7e9 j aa0 <GPIO_PinRemapConfig+0xe8>
|
|
ad8: 01555793 srli a5,a0,0x15
|
|
adc: 0792 slli a5,a5,0x4
|
|
ade: 00f717b3 sll a5,a4,a5
|
|
ae2: b7e5 j aca <GPIO_PinRemapConfig+0x112>
|
|
|
|
00000ae4 <GPIO_EXTILineConfig>:
|
|
ae4: 0fc5f713 andi a4,a1,252
|
|
ae8: 0035f793 andi a5,a1,3
|
|
aec: 400105b7 lui a1,0x40010
|
|
af0: 95ba add a1,a1,a4
|
|
af2: 4594 lw a3,8(a1)
|
|
af4: 078a slli a5,a5,0x2
|
|
af6: 473d li a4,15
|
|
af8: 00f71733 sll a4,a4,a5
|
|
afc: fff74713 not a4,a4
|
|
b00: 8f75 and a4,a4,a3
|
|
b02: c598 sw a4,8(a1)
|
|
b04: 4598 lw a4,8(a1)
|
|
b06: 00f51533 sll a0,a0,a5
|
|
b0a: 8d59 or a0,a0,a4
|
|
b0c: c588 sw a0,8(a1)
|
|
b0e: 8082 ret
|
|
|
|
00000b10 <GPIO_IPD_Unused>:
|
|
b10: e60ff2ef jal t0,170 <__riscv_save_0>
|
|
b14: 1ffff437 lui s0,0x1ffff
|
|
b18: 72442703 lw a4,1828(s0) # 1ffff724 <_data_lma+0x1fffae84>
|
|
b1c: 3e000637 lui a2,0x3e000
|
|
b20: 1141 addi sp,sp,-16
|
|
b22: 01971793 slli a5,a4,0x19
|
|
b26: fff74693 not a3,a4
|
|
b2a: 8ff1 and a5,a5,a2
|
|
b2c: 0706 slli a4,a4,0x1
|
|
b2e: 003e0637 lui a2,0x3e0
|
|
b32: 8f71 and a4,a4,a2
|
|
b34: 8fd9 or a5,a5,a4
|
|
b36: 01000637 lui a2,0x1000
|
|
b3a: 00969713 slli a4,a3,0x9
|
|
b3e: 8f71 and a4,a4,a2
|
|
b40: 8fd9 or a5,a5,a4
|
|
b42: 82bd srli a3,a3,0xf
|
|
b44: 6741 lui a4,0x10
|
|
b46: 8ef9 and a3,a3,a4
|
|
b48: 8fd5 or a5,a5,a3
|
|
b4a: c202 sw zero,4(sp)
|
|
b4c: c402 sw zero,8(sp)
|
|
b4e: c602 sw zero,12(sp)
|
|
b50: 82f1a423 sw a5,-2008(gp) # 20000168 <OPA_Trim>
|
|
b54: 72845703 lhu a4,1832(s0)
|
|
b58: 4585 li a1,1
|
|
b5a: 82e19023 sh a4,-2016(gp) # 20000160 <_edata>
|
|
b5e: 72042703 lw a4,1824(s0)
|
|
b62: 03d00513 li a0,61
|
|
b66: 82e1a623 sw a4,-2004(gp) # 2000016c <TS_Val>
|
|
b6a: 70442703 lw a4,1796(s0)
|
|
b6e: 82e1a223 sw a4,-2012(gp) # 20000164 <CHIPID>
|
|
b72: 2c8d jal de4 <RCC_PB2PeriphClockCmd>
|
|
b74: 70442783 lw a5,1796(s0)
|
|
b78: 103a0737 lui a4,0x103a0
|
|
b7c: 70070713 addi a4,a4,1792 # 103a0700 <_data_lma+0x1039be60>
|
|
b80: f0f7f793 andi a5,a5,-241
|
|
b84: 10e78063 beq a5,a4,c84 <GPIO_IPD_Unused+0x174>
|
|
b88: 02f76163 bltu a4,a5,baa <GPIO_IPD_Unused+0x9a>
|
|
b8c: 10320737 lui a4,0x10320
|
|
b90: 70070713 addi a4,a4,1792 # 10320700 <_data_lma+0x1031be60>
|
|
b94: 06e78063 beq a5,a4,bf4 <GPIO_IPD_Unused+0xe4>
|
|
b98: 10370737 lui a4,0x10370
|
|
b9c: 70070713 addi a4,a4,1792 # 10370700 <_data_lma+0x1036be60>
|
|
ba0: 08e78763 beq a5,a4,c2e <GPIO_IPD_Unused+0x11e>
|
|
ba4: 0141 addi sp,sp,16
|
|
ba6: deeff06f j 194 <__riscv_restore_0>
|
|
baa: 103b0737 lui a4,0x103b0
|
|
bae: 70070713 addi a4,a4,1792 # 103b0700 <_data_lma+0x103abe60>
|
|
bb2: 0ae78b63 beq a5,a4,c68 <GPIO_IPD_Unused+0x158>
|
|
bb6: 103d0737 lui a4,0x103d0
|
|
bba: 70070713 addi a4,a4,1792 # 103d0700 <_data_lma+0x103cbe60>
|
|
bbe: fee793e3 bne a5,a4,ba4 <GPIO_IPD_Unused+0x94>
|
|
bc2: 4585 li a1,1
|
|
bc4: 6521 lui a0,0x8
|
|
bc6: 3bcd jal 9b8 <GPIO_PinRemapConfig>
|
|
bc8: 400114b7 lui s1,0x40011
|
|
bcc: 77e1 lui a5,0xffff8
|
|
bce: 04800413 li s0,72
|
|
bd2: 004c addi a1,sp,4
|
|
bd4: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
bd8: 827c sh a5,4(sp)
|
|
bda: c622 sw s0,12(sp)
|
|
bdc: 3339 jal 8ea <GPIO_Init>
|
|
bde: 6785 lui a5,0x1
|
|
be0: 33c78793 addi a5,a5,828 # 133c <ADC_all_Init+0xd2>
|
|
be4: 004c addi a1,sp,4
|
|
be6: c0048513 addi a0,s1,-1024
|
|
bea: 827c sh a5,4(sp)
|
|
bec: c622 sw s0,12(sp)
|
|
bee: 39f5 jal 8ea <GPIO_Init>
|
|
bf0: 77f9 lui a5,0xffffe
|
|
bf2: a00d j c14 <GPIO_IPD_Unused+0x104>
|
|
bf4: 4585 li a1,1
|
|
bf6: 6521 lui a0,0x8
|
|
bf8: 33c1 jal 9b8 <GPIO_PinRemapConfig>
|
|
bfa: 400114b7 lui s1,0x40011
|
|
bfe: e0000793 li a5,-512
|
|
c02: 04800413 li s0,72
|
|
c06: 004c addi a1,sp,4
|
|
c08: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
c0c: 827c sh a5,4(sp)
|
|
c0e: c622 sw s0,12(sp)
|
|
c10: 39e9 jal 8ea <GPIO_Init>
|
|
c12: 6789 lui a5,0x2
|
|
c14: 004c addi a1,sp,4
|
|
c16: 40011537 lui a0,0x40011
|
|
c1a: 827c sh a5,4(sp)
|
|
c1c: c622 sw s0,12(sp)
|
|
c1e: 31f1 jal 8ea <GPIO_Init>
|
|
c20: 478d li a5,3
|
|
c22: 827c sh a5,4(sp)
|
|
c24: c622 sw s0,12(sp)
|
|
c26: 004c addi a1,sp,4
|
|
c28: 40048513 addi a0,s1,1024
|
|
c2c: a825 j c64 <GPIO_IPD_Unused+0x154>
|
|
c2e: 400114b7 lui s1,0x40011
|
|
c32: 77e1 lui a5,0xffff8
|
|
c34: 70078793 addi a5,a5,1792 # ffff8700 <_eusrstack+0xdfff3700>
|
|
c38: 04800413 li s0,72
|
|
c3c: 004c addi a1,sp,4
|
|
c3e: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
c42: 827c sh a5,4(sp)
|
|
c44: c622 sw s0,12(sp)
|
|
c46: 3155 jal 8ea <GPIO_Init>
|
|
c48: e3d00793 li a5,-451
|
|
c4c: 004c addi a1,sp,4
|
|
c4e: c0048513 addi a0,s1,-1024
|
|
c52: 827c sh a5,4(sp)
|
|
c54: c622 sw s0,12(sp)
|
|
c56: 3951 jal 8ea <GPIO_Init>
|
|
c58: 77f9 lui a5,0xffffe
|
|
c5a: 827c sh a5,4(sp)
|
|
c5c: c622 sw s0,12(sp)
|
|
c5e: 004c addi a1,sp,4
|
|
c60: 40011537 lui a0,0x40011
|
|
c64: 3159 jal 8ea <GPIO_Init>
|
|
c66: bf3d j ba4 <GPIO_IPD_Unused+0x94>
|
|
c68: 400114b7 lui s1,0x40011
|
|
c6c: 77e1 lui a5,0xffff8
|
|
c6e: 04800413 li s0,72
|
|
c72: 004c addi a1,sp,4
|
|
c74: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
c78: 827c sh a5,4(sp)
|
|
c7a: c622 sw s0,12(sp)
|
|
c7c: 31bd jal 8ea <GPIO_Init>
|
|
c7e: 20400793 li a5,516
|
|
c82: b78d j be4 <GPIO_IPD_Unused+0xd4>
|
|
c84: 400114b7 lui s1,0x40011
|
|
c88: 77e1 lui a5,0xffff8
|
|
c8a: 04800413 li s0,72
|
|
c8e: 004c addi a1,sp,4
|
|
c90: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
c94: 827c sh a5,4(sp)
|
|
c96: c622 sw s0,12(sp)
|
|
c98: 3989 jal 8ea <GPIO_Init>
|
|
c9a: 6789 lui a5,0x2
|
|
c9c: 17f5 addi a5,a5,-3
|
|
c9e: b799 j be4 <GPIO_IPD_Unused+0xd4>
|
|
|
|
00000ca0 <NVIC_PriorityGroupConfig>:
|
|
ca0: 82a1a823 sw a0,-2000(gp) # 20000170 <NVIC_Priority_Group>
|
|
ca4: 8082 ret
|
|
|
|
00000ca6 <NVIC_Init>:
|
|
ca6: 8301a703 lw a4,-2000(gp) # 20000170 <NVIC_Priority_Group>
|
|
caa: 4785 li a5,1
|
|
cac: 2114 lbu a3,0(a0)
|
|
cae: 02f71063 bne a4,a5,cce <NVIC_Init+0x28>
|
|
cb2: 311c lbu a5,1(a0)
|
|
cb4: 02e79c63 bne a5,a4,cec <NVIC_Init+0x46>
|
|
cb8: 213c lbu a5,2(a0)
|
|
cba: 0796 slli a5,a5,0x5
|
|
cbc: f807e793 ori a5,a5,-128
|
|
cc0: e000e737 lui a4,0xe000e
|
|
cc4: 0ff7f793 andi a5,a5,255
|
|
cc8: 9736 add a4,a4,a3
|
|
cca: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xc0009400>
|
|
cce: 4705 li a4,1
|
|
cd0: 0056d793 srli a5,a3,0x5
|
|
cd4: 00d71733 sll a4,a4,a3
|
|
cd8: 4154 lw a3,4(a0)
|
|
cda: ce89 beqz a3,cf4 <NVIC_Init+0x4e>
|
|
cdc: 04078793 addi a5,a5,64 # 2040 <CheckFunc+0x3a>
|
|
ce0: 078a slli a5,a5,0x2
|
|
ce2: e000e6b7 lui a3,0xe000e
|
|
ce6: 97b6 add a5,a5,a3
|
|
ce8: c398 sw a4,0(a5)
|
|
cea: 8082 ret
|
|
cec: f3ed bnez a5,cce <NVIC_Init+0x28>
|
|
cee: 213c lbu a5,2(a0)
|
|
cf0: 0796 slli a5,a5,0x5
|
|
cf2: b7f9 j cc0 <NVIC_Init+0x1a>
|
|
cf4: 06078793 addi a5,a5,96
|
|
cf8: b7e5 j ce0 <NVIC_Init+0x3a>
|
|
|
|
00000cfa <RCC_ADCCLKConfig>:
|
|
cfa: 400216b7 lui a3,0x40021
|
|
cfe: 42dc lw a5,4(a3)
|
|
d00: 7fff4737 lui a4,0x7fff4
|
|
d04: 177d addi a4,a4,-1
|
|
d06: 8ff9 and a5,a5,a4
|
|
d08: 8d5d or a0,a0,a5
|
|
d0a: c2c8 sw a0,4(a3)
|
|
d0c: 8082 ret
|
|
|
|
00000d0e <RCC_GetClocksFreq>:
|
|
d0e: 40021737 lui a4,0x40021
|
|
d12: 435c lw a5,4(a4)
|
|
d14: 4691 li a3,4
|
|
d16: 8bb1 andi a5,a5,12
|
|
d18: 06d78c63 beq a5,a3,d90 <RCC_GetClocksFreq+0x82>
|
|
d1c: 46a1 li a3,8
|
|
d1e: 06d78e63 beq a5,a3,d9a <RCC_GetClocksFreq+0x8c>
|
|
d22: e7bd bnez a5,d90 <RCC_GetClocksFreq+0x82>
|
|
d24: 431c lw a5,0(a4)
|
|
d26: 8b91 andi a5,a5,4
|
|
d28: c7a5 beqz a5,d90 <RCC_GetClocksFreq+0x82>
|
|
d2a: 000f47b7 lui a5,0xf4
|
|
d2e: 24078793 addi a5,a5,576 # f4240 <_data_lma+0xef9a0>
|
|
d32: c11c sw a5,0(a0)
|
|
d34: 40021637 lui a2,0x40021
|
|
d38: 425c lw a5,4(a2)
|
|
d3a: 20000737 lui a4,0x20000
|
|
d3e: 01070713 addi a4,a4,16 # 20000010 <PBHBPrescTable>
|
|
d42: 8391 srli a5,a5,0x4
|
|
d44: 8bbd andi a5,a5,15
|
|
d46: 97ba add a5,a5,a4
|
|
d48: 2394 lbu a3,0(a5)
|
|
d4a: 411c lw a5,0(a0)
|
|
d4c: 00d7d7b3 srl a5,a5,a3
|
|
d50: c15c sw a5,4(a0)
|
|
d52: 4254 lw a3,4(a2)
|
|
d54: 82a1 srli a3,a3,0x8
|
|
d56: 8a9d andi a3,a3,7
|
|
d58: 96ba add a3,a3,a4
|
|
d5a: 2294 lbu a3,0(a3)
|
|
d5c: 00d7d6b3 srl a3,a5,a3
|
|
d60: c514 sw a3,8(a0)
|
|
d62: 4254 lw a3,4(a2)
|
|
d64: 82ad srli a3,a3,0xb
|
|
d66: 8a9d andi a3,a3,7
|
|
d68: 9736 add a4,a4,a3
|
|
d6a: 2314 lbu a3,0(a4)
|
|
d6c: 00d7d6b3 srl a3,a5,a3
|
|
d70: c554 sw a3,12(a0)
|
|
d72: 4258 lw a4,4(a2)
|
|
d74: 00074c63 bltz a4,d8c <RCC_GetClocksFreq+0x7e>
|
|
d78: 425c lw a5,4(a2)
|
|
d7a: 83b9 srli a5,a5,0xe
|
|
d7c: 0037f713 andi a4,a5,3
|
|
d80: 80418793 addi a5,gp,-2044 # 20000144 <ADCPrescTable>
|
|
d84: 97ba add a5,a5,a4
|
|
d86: 239c lbu a5,0(a5)
|
|
d88: 02f6d7b3 divu a5,a3,a5
|
|
d8c: c91c sw a5,16(a0)
|
|
d8e: 8082 ret
|
|
d90: 007a17b7 lui a5,0x7a1
|
|
d94: 20078793 addi a5,a5,512 # 7a1200 <_data_lma+0x79c960>
|
|
d98: bf69 j d32 <RCC_GetClocksFreq+0x24>
|
|
d9a: 435c lw a5,4(a4)
|
|
d9c: 4358 lw a4,4(a4)
|
|
d9e: 66c1 lui a3,0x10
|
|
da0: 83c9 srli a5,a5,0x12
|
|
da2: 8bbd andi a5,a5,15
|
|
da4: 8f75 and a4,a4,a3
|
|
da6: 0789 addi a5,a5,2
|
|
da8: 46c5 li a3,17
|
|
daa: 00d79363 bne a5,a3,db0 <RCC_GetClocksFreq+0xa2>
|
|
dae: 47c9 li a5,18
|
|
db0: ef01 bnez a4,dc8 <RCC_GetClocksFreq+0xba>
|
|
db2: 40024737 lui a4,0x40024
|
|
db6: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x2001e800>
|
|
dba: 8b41 andi a4,a4,16
|
|
dbc: cf09 beqz a4,dd6 <RCC_GetClocksFreq+0xc8>
|
|
dbe: 007a1737 lui a4,0x7a1
|
|
dc2: 20070713 addi a4,a4,512 # 7a1200 <_data_lma+0x79c960>
|
|
dc6: a821 j dde <RCC_GetClocksFreq+0xd0>
|
|
dc8: 40021737 lui a4,0x40021
|
|
dcc: 4358 lw a4,4(a4)
|
|
dce: 00e71693 slli a3,a4,0xe
|
|
dd2: fe06d6e3 bgez a3,dbe <RCC_GetClocksFreq+0xb0>
|
|
dd6: 003d1737 lui a4,0x3d1
|
|
dda: 90070713 addi a4,a4,-1792 # 3d0900 <_data_lma+0x3cc060>
|
|
dde: 02e787b3 mul a5,a5,a4
|
|
de2: bf81 j d32 <RCC_GetClocksFreq+0x24>
|
|
|
|
00000de4 <RCC_PB2PeriphClockCmd>:
|
|
de4: c599 beqz a1,df2 <RCC_PB2PeriphClockCmd+0xe>
|
|
de6: 40021737 lui a4,0x40021
|
|
dea: 4f1c lw a5,24(a4)
|
|
dec: 8d5d or a0,a0,a5
|
|
dee: cf08 sw a0,24(a4)
|
|
df0: 8082 ret
|
|
df2: 400217b7 lui a5,0x40021
|
|
df6: 4f98 lw a4,24(a5)
|
|
df8: fff54513 not a0,a0
|
|
dfc: 8d79 and a0,a0,a4
|
|
dfe: cf88 sw a0,24(a5)
|
|
e00: 8082 ret
|
|
|
|
00000e02 <RCC_PB1PeriphClockCmd>:
|
|
e02: c599 beqz a1,e10 <RCC_PB1PeriphClockCmd+0xe>
|
|
e04: 40021737 lui a4,0x40021
|
|
e08: 4f5c lw a5,28(a4)
|
|
e0a: 8d5d or a0,a0,a5
|
|
e0c: cf48 sw a0,28(a4)
|
|
e0e: 8082 ret
|
|
e10: 400217b7 lui a5,0x40021
|
|
e14: 4fd8 lw a4,28(a5)
|
|
e16: fff54513 not a0,a0
|
|
e1a: 8d79 and a0,a0,a4
|
|
e1c: cfc8 sw a0,28(a5)
|
|
e1e: 8082 ret
|
|
|
|
00000e20 <RCC_PB2PeriphResetCmd>:
|
|
e20: c599 beqz a1,e2e <RCC_PB2PeriphResetCmd+0xe>
|
|
e22: 40021737 lui a4,0x40021
|
|
e26: 475c lw a5,12(a4)
|
|
e28: 8d5d or a0,a0,a5
|
|
e2a: c748 sw a0,12(a4)
|
|
e2c: 8082 ret
|
|
e2e: 400217b7 lui a5,0x40021
|
|
e32: 47d8 lw a4,12(a5)
|
|
e34: fff54513 not a0,a0
|
|
e38: 8d79 and a0,a0,a4
|
|
e3a: c7c8 sw a0,12(a5)
|
|
e3c: 8082 ret
|
|
|
|
00000e3e <SPI_Init>:
|
|
e3e: 211a lhu a4,0(a0)
|
|
e40: 678d lui a5,0x3
|
|
e42: 04078793 addi a5,a5,64 # 3040 <_puts_r+0x16>
|
|
e46: 21b6 lhu a3,2(a1)
|
|
e48: 8f7d and a4,a4,a5
|
|
e4a: 219e lhu a5,0(a1)
|
|
e4c: 8fd5 or a5,a5,a3
|
|
e4e: 21d6 lhu a3,4(a1)
|
|
e50: 8fd5 or a5,a5,a3
|
|
e52: 21f6 lhu a3,6(a1)
|
|
e54: 8fd5 or a5,a5,a3
|
|
e56: 2596 lhu a3,8(a1)
|
|
e58: 8fd5 or a5,a5,a3
|
|
e5a: 25b6 lhu a3,10(a1)
|
|
e5c: 8fd5 or a5,a5,a3
|
|
e5e: 25d6 lhu a3,12(a1)
|
|
e60: 8fd5 or a5,a5,a3
|
|
e62: 25f6 lhu a3,14(a1)
|
|
e64: 8fd5 or a5,a5,a3
|
|
e66: 8fd9 or a5,a5,a4
|
|
e68: a11e sh a5,0(a0)
|
|
e6a: 299e lhu a5,16(a1)
|
|
e6c: a91e sh a5,16(a0)
|
|
e6e: 8082 ret
|
|
|
|
00000e70 <SPI_Cmd>:
|
|
e70: 211e lhu a5,0(a0)
|
|
e72: c589 beqz a1,e7c <SPI_Cmd+0xc>
|
|
e74: 0407e793 ori a5,a5,64
|
|
e78: a11e sh a5,0(a0)
|
|
e7a: 8082 ret
|
|
e7c: 07c2 slli a5,a5,0x10
|
|
e7e: 83c1 srli a5,a5,0x10
|
|
e80: fbf7f793 andi a5,a5,-65
|
|
e84: 07c2 slli a5,a5,0x10
|
|
e86: 83c1 srli a5,a5,0x10
|
|
e88: bfc5 j e78 <SPI_Cmd+0x8>
|
|
|
|
00000e8a <SPI_I2S_SendData>:
|
|
e8a: a54e sh a1,12(a0)
|
|
e8c: 8082 ret
|
|
|
|
00000e8e <SPI_I2S_ReceiveData>:
|
|
e8e: 254a lhu a0,12(a0)
|
|
e90: 8082 ret
|
|
|
|
00000e92 <SPI_I2S_GetFlagStatus>:
|
|
e92: 250a lhu a0,8(a0)
|
|
e94: 8d6d and a0,a0,a1
|
|
e96: 00a03533 snez a0,a0
|
|
e9a: 8082 ret
|
|
|
|
00000e9c <TIM_TimeBaseInit>:
|
|
e9c: 211e lhu a5,0(a0)
|
|
e9e: 40013737 lui a4,0x40013
|
|
ea2: c0070713 addi a4,a4,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
ea6: 07c2 slli a5,a5,0x10
|
|
ea8: 83c1 srli a5,a5,0x10
|
|
eaa: 02e50063 beq a0,a4,eca <TIM_TimeBaseInit+0x2e>
|
|
eae: 40000737 lui a4,0x40000
|
|
eb2: 00e50c63 beq a0,a4,eca <TIM_TimeBaseInit+0x2e>
|
|
eb6: 40070713 addi a4,a4,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
eba: 00e50863 beq a0,a4,eca <TIM_TimeBaseInit+0x2e>
|
|
ebe: 40001737 lui a4,0x40001
|
|
ec2: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
ec6: 00e51663 bne a0,a4,ed2 <TIM_TimeBaseInit+0x36>
|
|
eca: 21fa lhu a4,6(a1)
|
|
ecc: f8f7f793 andi a5,a5,-113
|
|
ed0: 8fd9 or a5,a5,a4
|
|
ed2: 259a lhu a4,8(a1)
|
|
ed4: cff7f793 andi a5,a5,-769
|
|
ed8: 07c2 slli a5,a5,0x10
|
|
eda: 83c1 srli a5,a5,0x10
|
|
edc: 8fd9 or a5,a5,a4
|
|
ede: 40001737 lui a4,0x40001
|
|
ee2: a11e sh a5,0(a0)
|
|
ee4: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
ee8: 419c lw a5,0(a1)
|
|
eea: 02e51063 bne a0,a4,f0a <TIM_TimeBaseInit+0x6e>
|
|
eee: d55c sw a5,44(a0)
|
|
ef0: 21de lhu a5,4(a1)
|
|
ef2: b51e sh a5,40(a0)
|
|
ef4: 400137b7 lui a5,0x40013
|
|
ef8: c0078793 addi a5,a5,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
efc: 00f51463 bne a0,a5,f04 <TIM_TimeBaseInit+0x68>
|
|
f00: 25bc lbu a5,10(a1)
|
|
f02: b91e sh a5,48(a0)
|
|
f04: 4785 li a5,1
|
|
f06: a95e sh a5,20(a0)
|
|
f08: 8082 ret
|
|
f0a: 07c2 slli a5,a5,0x10
|
|
f0c: 83c1 srli a5,a5,0x10
|
|
f0e: b55e sh a5,44(a0)
|
|
f10: b7c5 j ef0 <TIM_TimeBaseInit+0x54>
|
|
|
|
00000f12 <TIM_OC2Init>:
|
|
f12: 311e lhu a5,32(a0)
|
|
f14: 7765 lui a4,0xffff9
|
|
f16: cff70713 addi a4,a4,-769 # ffff8cff <_eusrstack+0xdfff3cff>
|
|
f1a: 07c2 slli a5,a5,0x10
|
|
f1c: 83c1 srli a5,a5,0x10
|
|
f1e: 9bbd andi a5,a5,-17
|
|
f20: 07c2 slli a5,a5,0x10
|
|
f22: 83c1 srli a5,a5,0x10
|
|
f24: b11e sh a5,32(a0)
|
|
f26: 311e lhu a5,32(a0)
|
|
f28: 2156 lhu a3,4(a0)
|
|
f2a: 00a5d803 lhu a6,10(a1) # 4001000a <_eusrstack+0x2000b00a>
|
|
f2e: 07c2 slli a5,a5,0x10
|
|
f30: 01069613 slli a2,a3,0x10
|
|
f34: 2d16 lhu a3,24(a0)
|
|
f36: 83c1 srli a5,a5,0x10
|
|
f38: fdf7f793 andi a5,a5,-33
|
|
f3c: 8f75 and a4,a4,a3
|
|
f3e: 21d6 lhu a3,4(a1)
|
|
f40: 8241 srli a2,a2,0x10
|
|
f42: 06a2 slli a3,a3,0x8
|
|
f44: 8f55 or a4,a4,a3
|
|
f46: 21f6 lhu a3,6(a1)
|
|
f48: 0742 slli a4,a4,0x10
|
|
f4a: 8341 srli a4,a4,0x10
|
|
f4c: 0106e6b3 or a3,a3,a6
|
|
f50: 0692 slli a3,a3,0x4
|
|
f52: 8fd5 or a5,a5,a3
|
|
f54: 400136b7 lui a3,0x40013
|
|
f58: 07c2 slli a5,a5,0x10
|
|
f5a: c0068693 addi a3,a3,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
f5e: 83c1 srli a5,a5,0x10
|
|
f60: 02d51e63 bne a0,a3,f9c <TIM_OC2Init+0x8a>
|
|
f64: 25d6 lhu a3,12(a1)
|
|
f66: f7f7f793 andi a5,a5,-129
|
|
f6a: 00e5d803 lhu a6,14(a1)
|
|
f6e: 0692 slli a3,a3,0x4
|
|
f70: 8fd5 or a5,a5,a3
|
|
f72: 2596 lhu a3,8(a1)
|
|
f74: 07c2 slli a5,a5,0x10
|
|
f76: 83c1 srli a5,a5,0x10
|
|
f78: 0692 slli a3,a3,0x4
|
|
f7a: fbf7f793 andi a5,a5,-65
|
|
f7e: 8fd5 or a5,a5,a3
|
|
f80: 76fd lui a3,0xfffff
|
|
f82: 3ff68693 addi a3,a3,1023 # fffff3ff <_eusrstack+0xdfffa3ff>
|
|
f86: 8ef1 and a3,a3,a2
|
|
f88: 2992 lhu a2,16(a1)
|
|
f8a: 07c2 slli a5,a5,0x10
|
|
f8c: 83c1 srli a5,a5,0x10
|
|
f8e: 01066633 or a2,a2,a6
|
|
f92: 060a slli a2,a2,0x2
|
|
f94: 8ed1 or a3,a3,a2
|
|
f96: 01069613 slli a2,a3,0x10
|
|
f9a: 8241 srli a2,a2,0x10
|
|
f9c: a152 sh a2,4(a0)
|
|
f9e: 400016b7 lui a3,0x40001
|
|
fa2: ad1a sh a4,24(a0)
|
|
fa4: 80068693 addi a3,a3,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
fa8: 4198 lw a4,0(a1)
|
|
faa: 00d51563 bne a0,a3,fb4 <TIM_OC2Init+0xa2>
|
|
fae: dd18 sw a4,56(a0)
|
|
fb0: b11e sh a5,32(a0)
|
|
fb2: 8082 ret
|
|
fb4: 0742 slli a4,a4,0x10
|
|
fb6: 8341 srli a4,a4,0x10
|
|
fb8: bfdd j fae <TIM_OC2Init+0x9c>
|
|
|
|
00000fba <TIM_OC4Init>:
|
|
fba: 311a lhu a4,32(a0)
|
|
fbc: 77fd lui a5,0xfffff
|
|
fbe: 17fd addi a5,a5,-1
|
|
fc0: 8ff9 and a5,a5,a4
|
|
fc2: b11e sh a5,32(a0)
|
|
fc4: 02055803 lhu a6,32(a0) # 40011020 <_eusrstack+0x2000c020>
|
|
fc8: 2156 lhu a3,4(a0)
|
|
fca: 2d5e lhu a5,28(a0)
|
|
fcc: 7765 lui a4,0xffff9
|
|
fce: 21d2 lhu a2,4(a1)
|
|
fd0: cff70713 addi a4,a4,-769 # ffff8cff <_eusrstack+0xdfff3cff>
|
|
fd4: 8f7d and a4,a4,a5
|
|
fd6: 77f9 lui a5,0xffffe
|
|
fd8: 0622 slli a2,a2,0x8
|
|
fda: 17fd addi a5,a5,-1
|
|
fdc: 8f51 or a4,a4,a2
|
|
fde: 0107f7b3 and a5,a5,a6
|
|
fe2: 21f2 lhu a2,6(a1)
|
|
fe4: 00a5d803 lhu a6,10(a1)
|
|
fe8: 06c2 slli a3,a3,0x10
|
|
fea: 0742 slli a4,a4,0x10
|
|
fec: 01066633 or a2,a2,a6
|
|
ff0: 0632 slli a2,a2,0xc
|
|
ff2: 8fd1 or a5,a5,a2
|
|
ff4: 40013637 lui a2,0x40013
|
|
ff8: 07c2 slli a5,a5,0x10
|
|
ffa: c0060613 addi a2,a2,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
ffe: 82c1 srli a3,a3,0x10
|
|
1000: 8341 srli a4,a4,0x10
|
|
1002: 83c1 srli a5,a5,0x10
|
|
1004: 00c51a63 bne a0,a2,1018 <TIM_OC4Init+0x5e>
|
|
1008: 7671 lui a2,0xffffc
|
|
100a: 167d addi a2,a2,-1
|
|
100c: 8ef1 and a3,a3,a2
|
|
100e: 25f2 lhu a2,14(a1)
|
|
1010: 061a slli a2,a2,0x6
|
|
1012: 8ed1 or a3,a3,a2
|
|
1014: 06c2 slli a3,a3,0x10
|
|
1016: 82c1 srli a3,a3,0x10
|
|
1018: a156 sh a3,4(a0)
|
|
101a: 400016b7 lui a3,0x40001
|
|
101e: ad5a sh a4,28(a0)
|
|
1020: 80068693 addi a3,a3,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
1024: 4198 lw a4,0(a1)
|
|
1026: 00d51563 bne a0,a3,1030 <TIM_OC4Init+0x76>
|
|
102a: c138 sw a4,64(a0)
|
|
102c: b11e sh a5,32(a0)
|
|
102e: 8082 ret
|
|
1030: 0742 slli a4,a4,0x10
|
|
1032: 8341 srli a4,a4,0x10
|
|
1034: bfdd j 102a <TIM_OC4Init+0x70>
|
|
|
|
00001036 <TIM_Cmd>:
|
|
1036: 211e lhu a5,0(a0)
|
|
1038: c589 beqz a1,1042 <TIM_Cmd+0xc>
|
|
103a: 0017e793 ori a5,a5,1
|
|
103e: a11e sh a5,0(a0)
|
|
1040: 8082 ret
|
|
1042: 07c2 slli a5,a5,0x10
|
|
1044: 83c1 srli a5,a5,0x10
|
|
1046: 9bf9 andi a5,a5,-2
|
|
1048: 07c2 slli a5,a5,0x10
|
|
104a: 83c1 srli a5,a5,0x10
|
|
104c: bfcd j 103e <TIM_Cmd+0x8>
|
|
|
|
0000104e <TIM_CtrlPWMOutputs>:
|
|
104e: 04455783 lhu a5,68(a0)
|
|
1052: c591 beqz a1,105e <TIM_CtrlPWMOutputs+0x10>
|
|
1054: 6721 lui a4,0x8
|
|
1056: 8fd9 or a5,a5,a4
|
|
1058: 04f51223 sh a5,68(a0)
|
|
105c: 8082 ret
|
|
105e: 07c6 slli a5,a5,0x11
|
|
1060: 83c5 srli a5,a5,0x11
|
|
1062: bfdd j 1058 <TIM_CtrlPWMOutputs+0xa>
|
|
|
|
00001064 <TIM_ITConfig>:
|
|
1064: 255e lhu a5,12(a0)
|
|
1066: c601 beqz a2,106e <TIM_ITConfig+0xa>
|
|
1068: 8ddd or a1,a1,a5
|
|
106a: a54e sh a1,12(a0)
|
|
106c: 8082 ret
|
|
106e: fff5c593 not a1,a1
|
|
1072: 8dfd and a1,a1,a5
|
|
1074: bfdd j 106a <TIM_ITConfig+0x6>
|
|
|
|
00001076 <TIM_ARRPreloadConfig>:
|
|
1076: 211e lhu a5,0(a0)
|
|
1078: c589 beqz a1,1082 <TIM_ARRPreloadConfig+0xc>
|
|
107a: 0807e793 ori a5,a5,128
|
|
107e: a11e sh a5,0(a0)
|
|
1080: 8082 ret
|
|
1082: 07c2 slli a5,a5,0x10
|
|
1084: 83c1 srli a5,a5,0x10
|
|
1086: f7f7f793 andi a5,a5,-129
|
|
108a: 07c2 slli a5,a5,0x10
|
|
108c: 83c1 srli a5,a5,0x10
|
|
108e: bfc5 j 107e <TIM_ARRPreloadConfig+0x8>
|
|
|
|
00001090 <TIM_OC2PreloadConfig>:
|
|
1090: 2d1a lhu a4,24(a0)
|
|
1092: 77fd lui a5,0xfffff
|
|
1094: 7ff78793 addi a5,a5,2047 # fffff7ff <_eusrstack+0xdfffa7ff>
|
|
1098: 8ff9 and a5,a5,a4
|
|
109a: 05a2 slli a1,a1,0x8
|
|
109c: 8fcd or a5,a5,a1
|
|
109e: 07c2 slli a5,a5,0x10
|
|
10a0: 83c1 srli a5,a5,0x10
|
|
10a2: ad1e sh a5,24(a0)
|
|
10a4: 8082 ret
|
|
|
|
000010a6 <TIM_OC4PreloadConfig>:
|
|
10a6: 2d5a lhu a4,28(a0)
|
|
10a8: 77fd lui a5,0xfffff
|
|
10aa: 7ff78793 addi a5,a5,2047 # fffff7ff <_eusrstack+0xdfffa7ff>
|
|
10ae: 8ff9 and a5,a5,a4
|
|
10b0: 05a2 slli a1,a1,0x8
|
|
10b2: 8fcd or a5,a5,a1
|
|
10b4: 07c2 slli a5,a5,0x10
|
|
10b6: 83c1 srli a5,a5,0x10
|
|
10b8: ad5e sh a5,28(a0)
|
|
10ba: 8082 ret
|
|
|
|
000010bc <TIM_SetCompare4>:
|
|
10bc: 400017b7 lui a5,0x40001
|
|
10c0: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
10c4: 00f51463 bne a0,a5,10cc <TIM_SetCompare4+0x10>
|
|
10c8: c12c sw a1,64(a0)
|
|
10ca: 8082 ret
|
|
10cc: 05c2 slli a1,a1,0x10
|
|
10ce: 81c1 srli a1,a1,0x10
|
|
10d0: bfe5 j 10c8 <TIM_SetCompare4+0xc>
|
|
|
|
000010d2 <TIM_GetCounter>:
|
|
10d2: 400017b7 lui a5,0x40001
|
|
10d6: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
10da: 00f51463 bne a0,a5,10e2 <TIM_GetCounter+0x10>
|
|
10de: 5148 lw a0,36(a0)
|
|
10e0: 8082 ret
|
|
10e2: 314a lhu a0,36(a0)
|
|
10e4: 0542 slli a0,a0,0x10
|
|
10e6: 8141 srli a0,a0,0x10
|
|
10e8: 8082 ret
|
|
|
|
000010ea <TIM_GetITStatus>:
|
|
10ea: 291e lhu a5,16(a0)
|
|
10ec: 254a lhu a0,12(a0)
|
|
10ee: 8fed and a5,a5,a1
|
|
10f0: 0542 slli a0,a0,0x10
|
|
10f2: 8141 srli a0,a0,0x10
|
|
10f4: c789 beqz a5,10fe <TIM_GetITStatus+0x14>
|
|
10f6: 8d6d and a0,a0,a1
|
|
10f8: 00a03533 snez a0,a0
|
|
10fc: 8082 ret
|
|
10fe: 4501 li a0,0
|
|
1100: 8082 ret
|
|
|
|
00001102 <TIM_ClearITPendingBit>:
|
|
1102: fff5c593 not a1,a1
|
|
1106: 05c2 slli a1,a1,0x10
|
|
1108: 81c1 srli a1,a1,0x10
|
|
110a: a90e sh a1,16(a0)
|
|
110c: 8082 ret
|
|
|
|
0000110e <USART_Init>:
|
|
110e: 862ff2ef jal t0,170 <__riscv_save_0>
|
|
1112: 2916 lhu a3,16(a0)
|
|
1114: 77f5 lui a5,0xffffd
|
|
1116: 17fd addi a5,a5,-1
|
|
1118: 8ff5 and a5,a5,a3
|
|
111a: 21f6 lhu a3,6(a1)
|
|
111c: 25da lhu a4,12(a1)
|
|
111e: 7179 addi sp,sp,-48
|
|
1120: 8fd5 or a5,a5,a3
|
|
1122: a91e sh a5,16(a0)
|
|
1124: 2556 lhu a3,12(a0)
|
|
1126: 77fd lui a5,0xfffff
|
|
1128: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdfff99f3>
|
|
112c: 8ff5 and a5,a5,a3
|
|
112e: 21d6 lhu a3,4(a1)
|
|
1130: 842a mv s0,a0
|
|
1132: c62e sw a1,12(sp)
|
|
1134: 8fd5 or a5,a5,a3
|
|
1136: 2596 lhu a3,8(a1)
|
|
1138: 8fd5 or a5,a5,a3
|
|
113a: 25b6 lhu a3,10(a1)
|
|
113c: 8fd5 or a5,a5,a3
|
|
113e: a55e sh a5,12(a0)
|
|
1140: 295e lhu a5,20(a0)
|
|
1142: 07c2 slli a5,a5,0x10
|
|
1144: 83c1 srli a5,a5,0x10
|
|
1146: cff7f793 andi a5,a5,-769
|
|
114a: 8fd9 or a5,a5,a4
|
|
114c: a95e sh a5,20(a0)
|
|
114e: 0868 addi a0,sp,28
|
|
1150: 3e7d jal d0e <RCC_GetClocksFreq>
|
|
1152: 400147b7 lui a5,0x40014
|
|
1156: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
115a: 45b2 lw a1,12(sp)
|
|
115c: 04f41a63 bne s0,a5,11b0 <USART_Init+0xa2>
|
|
1160: 57a2 lw a5,40(sp)
|
|
1162: 2456 lhu a3,12(s0)
|
|
1164: 4765 li a4,25
|
|
1166: 02e787b3 mul a5,a5,a4
|
|
116a: 06c2 slli a3,a3,0x10
|
|
116c: 86c1 srai a3,a3,0x10
|
|
116e: 4198 lw a4,0(a1)
|
|
1170: 0406d263 bgez a3,11b4 <USART_Init+0xa6>
|
|
1174: 0706 slli a4,a4,0x1
|
|
1176: 2452 lhu a2,12(s0)
|
|
1178: 0642 slli a2,a2,0x10
|
|
117a: 02e7d7b3 divu a5,a5,a4
|
|
117e: 06400713 li a4,100
|
|
1182: 8641 srai a2,a2,0x10
|
|
1184: 02e7d6b3 divu a3,a5,a4
|
|
1188: 02e7f7b3 remu a5,a5,a4
|
|
118c: 0692 slli a3,a3,0x4
|
|
118e: 02065563 bgez a2,11b8 <USART_Init+0xaa>
|
|
1192: 078e slli a5,a5,0x3
|
|
1194: 03278793 addi a5,a5,50
|
|
1198: 02e7d7b3 divu a5,a5,a4
|
|
119c: 0077f713 andi a4,a5,7
|
|
11a0: 00d767b3 or a5,a4,a3
|
|
11a4: 07c2 slli a5,a5,0x10
|
|
11a6: 83c1 srli a5,a5,0x10
|
|
11a8: a41e sh a5,8(s0)
|
|
11aa: 6145 addi sp,sp,48
|
|
11ac: fe9fe06f j 194 <__riscv_restore_0>
|
|
11b0: 5792 lw a5,36(sp)
|
|
11b2: bf45 j 1162 <USART_Init+0x54>
|
|
11b4: 070a slli a4,a4,0x2
|
|
11b6: b7c1 j 1176 <USART_Init+0x68>
|
|
11b8: 0792 slli a5,a5,0x4
|
|
11ba: 03278793 addi a5,a5,50
|
|
11be: 02e7d7b3 divu a5,a5,a4
|
|
11c2: 8bbd andi a5,a5,15
|
|
11c4: 8fd5 or a5,a5,a3
|
|
11c6: bff9 j 11a4 <USART_Init+0x96>
|
|
|
|
000011c8 <USART_Cmd>:
|
|
11c8: c591 beqz a1,11d4 <USART_Cmd+0xc>
|
|
11ca: 255e lhu a5,12(a0)
|
|
11cc: 6709 lui a4,0x2
|
|
11ce: 8fd9 or a5,a5,a4
|
|
11d0: a55e sh a5,12(a0)
|
|
11d2: 8082 ret
|
|
11d4: 255a lhu a4,12(a0)
|
|
11d6: 77f9 lui a5,0xffffe
|
|
11d8: 17fd addi a5,a5,-1
|
|
11da: 8ff9 and a5,a5,a4
|
|
11dc: bfd5 j 11d0 <USART_Cmd+0x8>
|
|
|
|
000011de <USART_ITConfig>:
|
|
11de: 0ff5f713 andi a4,a1,255
|
|
11e2: 4785 li a5,1
|
|
11e4: 8315 srli a4,a4,0x5
|
|
11e6: 00b795b3 sll a1,a5,a1
|
|
11ea: 00f71963 bne a4,a5,11fc <USART_ITConfig+0x1e>
|
|
11ee: 00c50793 addi a5,a0,12
|
|
11f2: 4398 lw a4,0(a5)
|
|
11f4: ce01 beqz a2,120c <USART_ITConfig+0x2e>
|
|
11f6: 8dd9 or a1,a1,a4
|
|
11f8: c38c sw a1,0(a5)
|
|
11fa: 8082 ret
|
|
11fc: 4689 li a3,2
|
|
11fe: 01450793 addi a5,a0,20
|
|
1202: fed718e3 bne a4,a3,11f2 <USART_ITConfig+0x14>
|
|
1206: 01050793 addi a5,a0,16
|
|
120a: b7e5 j 11f2 <USART_ITConfig+0x14>
|
|
120c: fff5c593 not a1,a1
|
|
1210: 8df9 and a1,a1,a4
|
|
1212: b7dd j 11f8 <USART_ITConfig+0x1a>
|
|
|
|
00001214 <USART_SendData>:
|
|
1214: 1ff5f593 andi a1,a1,511
|
|
1218: a14e sh a1,4(a0)
|
|
121a: 8082 ret
|
|
|
|
0000121c <USART_ReceiveData>:
|
|
121c: 214a lhu a0,4(a0)
|
|
121e: 1ff57513 andi a0,a0,511
|
|
1222: 8082 ret
|
|
|
|
00001224 <USART_GetFlagStatus>:
|
|
1224: 210a lhu a0,0(a0)
|
|
1226: 8d6d and a0,a0,a1
|
|
1228: 00a03533 snez a0,a0
|
|
122c: 8082 ret
|
|
|
|
0000122e <USART_GetITStatus>:
|
|
122e: 0ff5f713 andi a4,a1,255
|
|
1232: 4685 li a3,1
|
|
1234: 8315 srli a4,a4,0x5
|
|
1236: 00b697b3 sll a5,a3,a1
|
|
123a: 02d71163 bne a4,a3,125c <USART_GetITStatus+0x2e>
|
|
123e: 255a lhu a4,12(a0)
|
|
1240: 8ff9 and a5,a5,a4
|
|
1242: 211a lhu a4,0(a0)
|
|
1244: 4501 li a0,0
|
|
1246: 0742 slli a4,a4,0x10
|
|
1248: 8341 srli a4,a4,0x10
|
|
124a: cb81 beqz a5,125a <USART_GetITStatus+0x2c>
|
|
124c: 4505 li a0,1
|
|
124e: 81a1 srli a1,a1,0x8
|
|
1250: 00b515b3 sll a1,a0,a1
|
|
1254: 8f6d and a4,a4,a1
|
|
1256: 00e03533 snez a0,a4
|
|
125a: 8082 ret
|
|
125c: 4689 li a3,2
|
|
125e: 00d71463 bne a4,a3,1266 <USART_GetITStatus+0x38>
|
|
1262: 291a lhu a4,16(a0)
|
|
1264: bff1 j 1240 <USART_GetITStatus+0x12>
|
|
1266: 295a lhu a4,20(a0)
|
|
1268: bfe1 j 1240 <USART_GetITStatus+0x12>
|
|
|
|
0000126a <ADC_all_Init>:
|
|
126a: f07fe2ef jal t0,170 <__riscv_save_0>
|
|
126e: 7179 addi sp,sp,-48
|
|
1270: 02000613 li a2,32
|
|
1274: 4581 li a1,0
|
|
1276: 0808 addi a0,sp,16
|
|
1278: f29fe0ef jal ra,1a0 <memset>
|
|
127c: 4585 li a1,1
|
|
127e: 4511 li a0,4
|
|
1280: c202 sw zero,4(sp)
|
|
1282: c402 sw zero,8(sp)
|
|
1284: c602 sw zero,12(sp)
|
|
1286: 3eb9 jal de4 <RCC_PB2PeriphClockCmd>
|
|
1288: 4585 li a1,1
|
|
128a: 20000513 li a0,512
|
|
128e: 3e99 jal de4 <RCC_PB2PeriphClockCmd>
|
|
1290: 6521 lui a0,0x8
|
|
1292: 34a5 jal cfa <RCC_ADCCLKConfig>
|
|
1294: 40011537 lui a0,0x40011
|
|
1298: 0fe00793 li a5,254
|
|
129c: 004c addi a1,sp,4
|
|
129e: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
12a2: 40012437 lui s0,0x40012
|
|
12a6: 827c sh a5,4(sp)
|
|
12a8: c602 sw zero,12(sp)
|
|
12aa: e40ff0ef jal ra,8ea <GPIO_Init>
|
|
12ae: 40040513 addi a0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
12b2: a16ff0ef jal ra,4c8 <ADC_DeInit>
|
|
12b6: 40040513 addi a0,s0,1024
|
|
12ba: bc4ff0ef jal ra,67e <Get_CalibrationValue>
|
|
12be: 85aa mv a1,a0
|
|
12c0: 82a19a23 sh a0,-1996(gp) # 20000174 <Calibrattion_Val>
|
|
12c4: 00004537 lui a0,0x4
|
|
12c8: 2bc50513 addi a0,a0,700 # 42bc <_read+0x2e>
|
|
12cc: 51f010ef jal ra,2fea <iprintf>
|
|
12d0: 000e07b7 lui a5,0xe0
|
|
12d4: ce3e sw a5,28(sp)
|
|
12d6: 080c addi a1,sp,16
|
|
12d8: 4785 li a5,1
|
|
12da: 40040513 addi a0,s0,1024
|
|
12de: 02f10223 sb a5,36(sp)
|
|
12e2: c802 sw zero,16(sp)
|
|
12e4: ca02 sw zero,20(sp)
|
|
12e6: cc02 sw zero,24(sp)
|
|
12e8: d002 sw zero,32(sp)
|
|
12ea: a06ff0ef jal ra,4f0 <ADC_Init>
|
|
12ee: 4585 li a1,1
|
|
12f0: 40040513 addi a0,s0,1024
|
|
12f4: a52ff0ef jal ra,546 <ADC_Cmd>
|
|
12f8: 4585 li a1,1
|
|
12fa: 40040513 addi a0,s0,1024
|
|
12fe: b5eff0ef jal ra,65c <ADC_FIFO_Cmd>
|
|
1302: 4581 li a1,0
|
|
1304: 40040513 addi a0,s0,1024
|
|
1308: b2aff0ef jal ra,632 <ADC_BufferCmd>
|
|
130c: 40040513 addi a0,s0,1024
|
|
1310: a46ff0ef jal ra,556 <ADC_ResetCalibration>
|
|
1314: 40040493 addi s1,s0,1024
|
|
1318: 8526 mv a0,s1
|
|
131a: a46ff0ef jal ra,560 <ADC_GetResetCalibrationStatus>
|
|
131e: fd6d bnez a0,1318 <ADC_all_Init+0xae>
|
|
1320: 40040513 addi a0,s0,1024
|
|
1324: 40012437 lui s0,0x40012
|
|
1328: a40ff0ef jal ra,568 <ADC_StartCalibration>
|
|
132c: 40040493 addi s1,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
1330: 8526 mv a0,s1
|
|
1332: a40ff0ef jal ra,572 <ADC_GetCalibrationStatus>
|
|
1336: fd6d bnez a0,1330 <ADC_all_Init+0xc6>
|
|
1338: 80000537 lui a0,0x80000
|
|
133c: 3a7d jal cfa <RCC_ADCCLKConfig>
|
|
133e: 40040513 addi a0,s0,1024
|
|
1342: 4585 li a1,1
|
|
1344: b06ff0ef jal ra,64a <ADC_DutyDelayCmd>
|
|
1348: 02000593 li a1,32
|
|
134c: 40040513 addi a0,s0,1024
|
|
1350: b1eff0ef jal ra,66e <ADC_Sample_ModeConfig>
|
|
1354: 6145 addi sp,sp,48
|
|
1356: e3ffe06f j 194 <__riscv_restore_0>
|
|
|
|
0000135a <SPI_Flash_Init>:
|
|
135a: e17fe2ef jal t0,170 <__riscv_save_0>
|
|
135e: 1101 addi sp,sp,-32
|
|
1360: 4585 li a1,1
|
|
1362: 4521 li a0,8
|
|
1364: 3441 jal de4 <RCC_PB2PeriphClockCmd>
|
|
1366: 4585 li a1,1
|
|
1368: 6511 lui a0,0x4
|
|
136a: 3c61 jal e02 <RCC_PB1PeriphClockCmd>
|
|
136c: 40011437 lui s0,0x40011
|
|
1370: 6785 lui a5,0x1
|
|
1372: 448d li s1,3
|
|
1374: 807c sh a5,0(sp)
|
|
1376: 858a mv a1,sp
|
|
1378: 47c1 li a5,16
|
|
137a: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
137e: c43e sw a5,8(sp)
|
|
1380: c226 sw s1,4(sp)
|
|
1382: d68ff0ef jal ra,8ea <GPIO_Init>
|
|
1386: c0040513 addi a0,s0,-1024
|
|
138a: 6585 lui a1,0x1
|
|
138c: e1eff0ef jal ra,9aa <GPIO_SetBits>
|
|
1390: 6789 lui a5,0x2
|
|
1392: 4961 li s2,24
|
|
1394: 858a mv a1,sp
|
|
1396: c0040513 addi a0,s0,-1024
|
|
139a: 807c sh a5,0(sp)
|
|
139c: c44a sw s2,8(sp)
|
|
139e: c226 sw s1,4(sp)
|
|
13a0: d4aff0ef jal ra,8ea <GPIO_Init>
|
|
13a4: 6791 lui a5,0x4
|
|
13a6: 807c sh a5,0(sp)
|
|
13a8: 858a mv a1,sp
|
|
13aa: 4791 li a5,4
|
|
13ac: c0040513 addi a0,s0,-1024
|
|
13b0: c43e sw a5,8(sp)
|
|
13b2: d38ff0ef jal ra,8ea <GPIO_Init>
|
|
13b6: 77e1 lui a5,0xffff8
|
|
13b8: 858a mv a1,sp
|
|
13ba: c0040513 addi a0,s0,-1024
|
|
13be: 807c sh a5,0(sp)
|
|
13c0: c44a sw s2,8(sp)
|
|
13c2: c226 sw s1,4(sp)
|
|
13c4: d26ff0ef jal ra,8ea <GPIO_Init>
|
|
13c8: 010407b7 lui a5,0x1040
|
|
13cc: c63e sw a5,12(sp)
|
|
13ce: 000207b7 lui a5,0x20
|
|
13d2: c83e sw a5,16(sp)
|
|
13d4: 020007b7 lui a5,0x2000
|
|
13d8: 0785 addi a5,a5,1
|
|
13da: 40004437 lui s0,0x40004
|
|
13de: ca3e sw a5,20(sp)
|
|
13e0: 47a1 li a5,8
|
|
13e2: cc3e sw a5,24(sp)
|
|
13e4: 006c addi a1,sp,12
|
|
13e6: 479d li a5,7
|
|
13e8: 80040513 addi a0,s0,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
13ec: 86fc sh a5,28(sp)
|
|
13ee: 3c81 jal e3e <SPI_Init>
|
|
13f0: 4585 li a1,1
|
|
13f2: 80040513 addi a0,s0,-2048
|
|
13f6: 3cad jal e70 <SPI_Cmd>
|
|
13f8: 6105 addi sp,sp,32
|
|
13fa: d9bfe06f j 194 <__riscv_restore_0>
|
|
|
|
000013fe <SPI_ReadWriteByte>:
|
|
13fe: d59fe2ef jal t0,156 <__riscv_save_4>
|
|
1402: 400044b7 lui s1,0x40004
|
|
1406: 892a mv s2,a0
|
|
1408: 0c900413 li s0,201
|
|
140c: 80048993 addi s3,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
1410: 4589 li a1,2
|
|
1412: 854e mv a0,s3
|
|
1414: 3cbd jal e92 <SPI_I2S_GetFlagStatus>
|
|
1416: c50d beqz a0,1440 <SPI_ReadWriteByte+0x42>
|
|
1418: 85ca mv a1,s2
|
|
141a: 80048513 addi a0,s1,-2048
|
|
141e: 400044b7 lui s1,0x40004
|
|
1422: 34a5 jal e8a <SPI_I2S_SendData>
|
|
1424: 0c900413 li s0,201
|
|
1428: 80048913 addi s2,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
142c: 4585 li a1,1
|
|
142e: 854a mv a0,s2
|
|
1430: 348d jal e92 <SPI_I2S_GetFlagStatus>
|
|
1432: cd11 beqz a0,144e <SPI_ReadWriteByte+0x50>
|
|
1434: 80048513 addi a0,s1,-2048
|
|
1438: 3c99 jal e8e <SPI_I2S_ReceiveData>
|
|
143a: 0ff57513 andi a0,a0,255
|
|
143e: a031 j 144a <SPI_ReadWriteByte+0x4c>
|
|
1440: 147d addi s0,s0,-1
|
|
1442: 0ff47413 andi s0,s0,255
|
|
1446: f469 bnez s0,1410 <SPI_ReadWriteByte+0x12>
|
|
1448: 4501 li a0,0
|
|
144a: d41fe06f j 18a <__riscv_restore_4>
|
|
144e: 147d addi s0,s0,-1
|
|
1450: 0ff47413 andi s0,s0,255
|
|
1454: fc61 bnez s0,142c <SPI_ReadWriteByte+0x2e>
|
|
1456: bfcd j 1448 <SPI_ReadWriteByte+0x4a>
|
|
|
|
00001458 <SPI_Flash_Read>:
|
|
1458: d19fe2ef jal t0,170 <__riscv_save_0>
|
|
145c: 892a mv s2,a0
|
|
145e: 40011537 lui a0,0x40011
|
|
1462: 842e mv s0,a1
|
|
1464: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1468: 6585 lui a1,0x1
|
|
146a: 84b2 mv s1,a2
|
|
146c: 4601 li a2,0
|
|
146e: d40ff0ef jal ra,9ae <GPIO_WriteBit>
|
|
1472: 450d li a0,3
|
|
1474: 3769 jal 13fe <SPI_ReadWriteByte>
|
|
1476: 01045513 srli a0,s0,0x10
|
|
147a: 0ff57513 andi a0,a0,255
|
|
147e: 3741 jal 13fe <SPI_ReadWriteByte>
|
|
1480: 00845513 srli a0,s0,0x8
|
|
1484: 0ff57513 andi a0,a0,255
|
|
1488: 3f9d jal 13fe <SPI_ReadWriteByte>
|
|
148a: 0ff47513 andi a0,s0,255
|
|
148e: 3f85 jal 13fe <SPI_ReadWriteByte>
|
|
1490: 4401 li s0,0
|
|
1492: 01041793 slli a5,s0,0x10
|
|
1496: 83c1 srli a5,a5,0x10
|
|
1498: 0097ec63 bltu a5,s1,14b0 <SPI_Flash_Read+0x58>
|
|
149c: 40011537 lui a0,0x40011
|
|
14a0: 4605 li a2,1
|
|
14a2: 6585 lui a1,0x1
|
|
14a4: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
14a8: d06ff0ef jal ra,9ae <GPIO_WriteBit>
|
|
14ac: ce9fe06f j 194 <__riscv_restore_0>
|
|
14b0: 0ff00513 li a0,255
|
|
14b4: 37a9 jal 13fe <SPI_ReadWriteByte>
|
|
14b6: 008907b3 add a5,s2,s0
|
|
14ba: a388 sb a0,0(a5)
|
|
14bc: 0405 addi s0,s0,1
|
|
14be: bfd1 j 1492 <SPI_Flash_Read+0x3a>
|
|
|
|
000014c0 <G_FFMOS_CON_Init>:
|
|
14c0: cb1fe2ef jal t0,170 <__riscv_save_0>
|
|
14c4: 1141 addi sp,sp,-16
|
|
14c6: 4585 li a1,1
|
|
14c8: 4511 li a0,4
|
|
14ca: 91bff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
14ce: 77e1 lui a5,0xffff8
|
|
14d0: 40011437 lui s0,0x40011
|
|
14d4: 827c sh a5,4(sp)
|
|
14d6: 47c1 li a5,16
|
|
14d8: c63e sw a5,12(sp)
|
|
14da: 004c addi a1,sp,4
|
|
14dc: 478d li a5,3
|
|
14de: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
14e2: c43e sw a5,8(sp)
|
|
14e4: c06ff0ef jal ra,8ea <GPIO_Init>
|
|
14e8: 4605 li a2,1
|
|
14ea: 80040513 addi a0,s0,-2048
|
|
14ee: 65a1 lui a1,0x8
|
|
14f0: cbeff0ef jal ra,9ae <GPIO_WriteBit>
|
|
14f4: 4585 li a1,1
|
|
14f6: 4521 li a0,8
|
|
14f8: 8edff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
14fc: 47a1 li a5,8
|
|
14fe: 004c addi a1,sp,4
|
|
1500: c0040513 addi a0,s0,-1024
|
|
1504: 827c sh a5,4(sp)
|
|
1506: be4ff0ef jal ra,8ea <GPIO_Init>
|
|
150a: 4605 li a2,1
|
|
150c: 45a1 li a1,8
|
|
150e: c0040513 addi a0,s0,-1024
|
|
1512: c9cff0ef jal ra,9ae <GPIO_WriteBit>
|
|
1516: 0141 addi sp,sp,16
|
|
1518: c7dfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000151c <RUN_LED_Init>:
|
|
151c: c55fe2ef jal t0,170 <__riscv_save_0>
|
|
1520: 1141 addi sp,sp,-16
|
|
1522: 4585 li a1,1
|
|
1524: 4511 li a0,4
|
|
1526: 8bfff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
152a: 10000793 li a5,256
|
|
152e: 827c sh a5,4(sp)
|
|
1530: 40011537 lui a0,0x40011
|
|
1534: 47c1 li a5,16
|
|
1536: c63e sw a5,12(sp)
|
|
1538: 004c addi a1,sp,4
|
|
153a: 478d li a5,3
|
|
153c: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1540: c43e sw a5,8(sp)
|
|
1542: ba8ff0ef jal ra,8ea <GPIO_Init>
|
|
1546: 0141 addi sp,sp,16
|
|
1548: c4dfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000154c <WDI_INPUT_Init>:
|
|
154c: c25fe2ef jal t0,170 <__riscv_save_0>
|
|
1550: 1141 addi sp,sp,-16
|
|
1552: 4585 li a1,1
|
|
1554: 4541 li a0,16
|
|
1556: 88fff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
155a: 6785 lui a5,0x1
|
|
155c: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
1560: 827c sh a5,4(sp)
|
|
1562: 40011537 lui a0,0x40011
|
|
1566: 47c1 li a5,16
|
|
1568: c63e sw a5,12(sp)
|
|
156a: 004c addi a1,sp,4
|
|
156c: 478d li a5,3
|
|
156e: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1572: c43e sw a5,8(sp)
|
|
1574: b76ff0ef jal ra,8ea <GPIO_Init>
|
|
1578: 0141 addi sp,sp,16
|
|
157a: c1bfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000157e <BEEP_Init>:
|
|
157e: bf3fe2ef jal t0,170 <__riscv_save_0>
|
|
1582: 1141 addi sp,sp,-16
|
|
1584: 4585 li a1,1
|
|
1586: 4511 li a0,4
|
|
1588: 85dff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
158c: 6785 lui a5,0x1
|
|
158e: 827c sh a5,4(sp)
|
|
1590: 40011537 lui a0,0x40011
|
|
1594: 47c1 li a5,16
|
|
1596: c63e sw a5,12(sp)
|
|
1598: 004c addi a1,sp,4
|
|
159a: 478d li a5,3
|
|
159c: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
15a0: c43e sw a5,8(sp)
|
|
15a2: b48ff0ef jal ra,8ea <GPIO_Init>
|
|
15a6: 0141 addi sp,sp,16
|
|
15a8: bedfe06f j 194 <__riscv_restore_0>
|
|
|
|
000015ac <POW_OUT_CON_Init>:
|
|
15ac: bc5fe2ef jal t0,170 <__riscv_save_0>
|
|
15b0: 1141 addi sp,sp,-16
|
|
15b2: 4585 li a1,1
|
|
15b4: 4521 li a0,8
|
|
15b6: 82fff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
15ba: 10000793 li a5,256
|
|
15be: 827c sh a5,4(sp)
|
|
15c0: 40011537 lui a0,0x40011
|
|
15c4: 47c1 li a5,16
|
|
15c6: c63e sw a5,12(sp)
|
|
15c8: 004c addi a1,sp,4
|
|
15ca: 478d li a5,3
|
|
15cc: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
15d0: c43e sw a5,8(sp)
|
|
15d2: b18ff0ef jal ra,8ea <GPIO_Init>
|
|
15d6: 0141 addi sp,sp,16
|
|
15d8: bbdfe06f j 194 <__riscv_restore_0>
|
|
|
|
000015dc <DSG_PROT_Init>:
|
|
15dc: b95fe2ef jal t0,170 <__riscv_save_0>
|
|
15e0: 7179 addi sp,sp,-48
|
|
15e2: 4585 li a1,1
|
|
15e4: 4525 li a0,9
|
|
15e6: ffeff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
15ea: 4791 li a5,4
|
|
15ec: 40011537 lui a0,0x40011
|
|
15f0: 82fc sh a5,20(sp)
|
|
15f2: 084c addi a1,sp,20
|
|
15f4: 04800793 li a5,72
|
|
15f8: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
15fc: ce3e sw a5,28(sp)
|
|
15fe: aecff0ef jal ra,8ea <GPIO_Init>
|
|
1602: 4589 li a1,2
|
|
1604: 4505 li a0,1
|
|
1606: cdeff0ef jal ra,ae4 <GPIO_EXTILineConfig>
|
|
160a: 4791 li a5,4
|
|
160c: 4405 li s0,1
|
|
160e: d03e sw a5,32(sp)
|
|
1610: 1008 addi a0,sp,32
|
|
1612: 47b1 li a5,12
|
|
1614: d43e sw a5,40(sp)
|
|
1616: d622 sw s0,44(sp)
|
|
1618: d202 sw zero,36(sp)
|
|
161a: a3eff0ef jal ra,858 <EXTI_Init>
|
|
161e: 11800793 li a5,280
|
|
1622: 867c sh a5,12(sp)
|
|
1624: 0068 addi a0,sp,12
|
|
1626: 4789 li a5,2
|
|
1628: 875c sb a5,14(sp)
|
|
162a: c822 sw s0,16(sp)
|
|
162c: e7aff0ef jal ra,ca6 <NVIC_Init>
|
|
1630: 6145 addi sp,sp,48
|
|
1632: b63fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001636 <EXTI2_IRQHandler>:
|
|
1636: 4511 li a0,4
|
|
1638: a8aff0ef jal ra,8c2 <EXTI_GetITStatus>
|
|
163c: 4785 li a5,1
|
|
163e: 02f51363 bne a0,a5,1664 <EXTI2_IRQHandler+0x2e>
|
|
1642: 00004537 lui a0,0x4
|
|
1646: 2d450513 addi a0,a0,724 # 42d4 <_read+0x46>
|
|
164a: 2b5010ef jal ra,30fe <puts>
|
|
164e: 40011537 lui a0,0x40011
|
|
1652: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1656: 4601 li a2,0
|
|
1658: 4591 li a1,4
|
|
165a: b54ff0ef jal ra,9ae <GPIO_WriteBit>
|
|
165e: 4511 li a0,4
|
|
1660: a80ff0ef jal ra,8e0 <EXTI_ClearITPendingBit>
|
|
1664: 30200073 mret
|
|
|
|
00001668 <EnPowerSupply_Init>:
|
|
1668: b09fe2ef jal t0,170 <__riscv_save_0>
|
|
166c: 1141 addi sp,sp,-16
|
|
166e: 4585 li a1,1
|
|
1670: 4521 li a0,8
|
|
1672: f72ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
1676: 08000793 li a5,128
|
|
167a: 40011437 lui s0,0x40011
|
|
167e: 827c sh a5,4(sp)
|
|
1680: 47c1 li a5,16
|
|
1682: c63e sw a5,12(sp)
|
|
1684: 004c addi a1,sp,4
|
|
1686: 478d li a5,3
|
|
1688: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
168c: c43e sw a5,8(sp)
|
|
168e: a5cff0ef jal ra,8ea <GPIO_Init>
|
|
1692: 4601 li a2,0
|
|
1694: 08000593 li a1,128
|
|
1698: c0040513 addi a0,s0,-1024
|
|
169c: b12ff0ef jal ra,9ae <GPIO_WriteBit>
|
|
16a0: 0141 addi sp,sp,16
|
|
16a2: af3fe06f j 194 <__riscv_restore_0>
|
|
|
|
000016a6 <PWM_GPIO_Configuration>:
|
|
16a6: acbfe2ef jal t0,170 <__riscv_save_0>
|
|
16aa: 1141 addi sp,sp,-16
|
|
16ac: 4585 li a1,1
|
|
16ae: 4521 li a0,8
|
|
16b0: f34ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
16b4: 4585 li a1,1
|
|
16b6: 4511 li a0,4
|
|
16b8: f4aff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
|
|
16bc: 20000793 li a5,512
|
|
16c0: 40011437 lui s0,0x40011
|
|
16c4: 827c sh a5,4(sp)
|
|
16c6: 47e1 li a5,24
|
|
16c8: c63e sw a5,12(sp)
|
|
16ca: 004c addi a1,sp,4
|
|
16cc: 478d li a5,3
|
|
16ce: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
16d2: c43e sw a5,8(sp)
|
|
16d4: a16ff0ef jal ra,8ea <GPIO_Init>
|
|
16d8: 08000793 li a5,128
|
|
16dc: 004c addi a1,sp,4
|
|
16de: c0040513 addi a0,s0,-1024
|
|
16e2: 827c sh a5,4(sp)
|
|
16e4: a06ff0ef jal ra,8ea <GPIO_Init>
|
|
16e8: 0141 addi sp,sp,16
|
|
16ea: aabfe06f j 194 <__riscv_restore_0>
|
|
|
|
000016ee <PWM_TIM_Configuration>:
|
|
16ee: a83fe2ef jal t0,170 <__riscv_save_0>
|
|
16f2: 1101 addi sp,sp,-32
|
|
16f4: 3f4d jal 16a6 <PWM_GPIO_Configuration>
|
|
16f6: 40001437 lui s0,0x40001
|
|
16fa: 1df00793 li a5,479
|
|
16fe: 858a mv a1,sp
|
|
1700: 80040513 addi a0,s0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
1704: c03e sw a5,0(sp)
|
|
1706: c202 sw zero,4(sp)
|
|
1708: 00011423 sh zero,8(sp)
|
|
170c: 00010523 sb zero,10(sp)
|
|
1710: f8cff0ef jal ra,e9c <TIM_TimeBaseInit>
|
|
1714: 80040513 addi a0,s0,-2048
|
|
1718: 4585 li a1,1
|
|
171a: 95dff0ef jal ra,1076 <TIM_ARRPreloadConfig>
|
|
171e: 67c1 lui a5,0x10
|
|
1720: 06078793 addi a5,a5,96 # 10060 <_data_lma+0xb7c0>
|
|
1724: 006c addi a1,sp,12
|
|
1726: 80040513 addi a0,s0,-2048
|
|
172a: c83e sw a5,16(sp)
|
|
172c: 00011b23 sh zero,22(sp)
|
|
1730: c602 sw zero,12(sp)
|
|
1732: 889ff0ef jal ra,fba <TIM_OC4Init>
|
|
1736: 80040513 addi a0,s0,-2048
|
|
173a: 45a1 li a1,8
|
|
173c: 96bff0ef jal ra,10a6 <TIM_OC4PreloadConfig>
|
|
1740: 006c addi a1,sp,12
|
|
1742: 80040513 addi a0,s0,-2048
|
|
1746: fccff0ef jal ra,f12 <TIM_OC2Init>
|
|
174a: 80040513 addi a0,s0,-2048
|
|
174e: 4581 li a1,0
|
|
1750: 941ff0ef jal ra,1090 <TIM_OC2PreloadConfig>
|
|
1754: 80040513 addi a0,s0,-2048
|
|
1758: 4585 li a1,1
|
|
175a: 8ddff0ef jal ra,1036 <TIM_Cmd>
|
|
175e: 4585 li a1,1
|
|
1760: 80040513 addi a0,s0,-2048
|
|
1764: 8ebff0ef jal ra,104e <TIM_CtrlPWMOutputs>
|
|
1768: 6105 addi sp,sp,32
|
|
176a: a2bfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000176e <Set_duty_ratio>:
|
|
176e: 9e9fe2ef jal t0,156 <__riscv_save_4>
|
|
1772: 4104 lw s1,0(a0)
|
|
1774: 842a mv s0,a0
|
|
1776: 8526 mv a0,s1
|
|
1778: 6a6010ef jal ra,2e1e <__extendsfdf2>
|
|
177c: 000047b7 lui a5,0x4
|
|
1780: 2f07a603 lw a2,752(a5) # 42f0 <_read+0x62>
|
|
1784: 2f47a683 lw a3,756(a5)
|
|
1788: 892a mv s2,a0
|
|
178a: 89ae mv s3,a1
|
|
178c: 2f6010ef jal ra,2a82 <__ledf2>
|
|
1790: 00055963 bgez a0,17a2 <Set_duty_ratio+0x34>
|
|
1794: 000047b7 lui a5,0x4
|
|
1798: 2e47a783 lw a5,740(a5) # 42e4 <_read+0x56>
|
|
179c: c01c sw a5,0(s0)
|
|
179e: 9edfe06f j 18a <__riscv_restore_4>
|
|
17a2: 000047b7 lui a5,0x4
|
|
17a6: 2f87a603 lw a2,760(a5) # 42f8 <_read+0x6a>
|
|
17aa: 2fc7a683 lw a3,764(a5)
|
|
17ae: 854a mv a0,s2
|
|
17b0: 85ce mv a1,s3
|
|
17b2: 222010ef jal ra,29d4 <__gedf2>
|
|
17b6: 00a05763 blez a0,17c4 <Set_duty_ratio+0x56>
|
|
17ba: 000047b7 lui a5,0x4
|
|
17be: 2e87a783 lw a5,744(a5) # 42e8 <_read+0x5a>
|
|
17c2: bfe9 j 179c <Set_duty_ratio+0x2e>
|
|
17c4: 000047b7 lui a5,0x4
|
|
17c8: 2ec7a583 lw a1,748(a5) # 42ec <_read+0x5e>
|
|
17cc: 8526 mv a0,s1
|
|
17ce: 36a010ef jal ra,2b38 <__mulsf3>
|
|
17d2: 5f6010ef jal ra,2dc8 <__fixunssfsi>
|
|
17d6: 01051593 slli a1,a0,0x10
|
|
17da: 40001537 lui a0,0x40001
|
|
17de: 81c1 srli a1,a1,0x10
|
|
17e0: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
17e4: 8d9ff0ef jal ra,10bc <TIM_SetCompare4>
|
|
17e8: bf5d j 179e <Set_duty_ratio+0x30>
|
|
|
|
000017ea <GW_485_Init>:
|
|
17ea: 987fe2ef jal t0,170 <__riscv_save_0>
|
|
17ee: 7179 addi sp,sp,-48
|
|
17f0: 40011437 lui s0,0x40011
|
|
17f4: 47c1 li a5,16
|
|
17f6: 892a mv s2,a0
|
|
17f8: 82fc sh a5,20(sp)
|
|
17fa: 448d li s1,3
|
|
17fc: 47c1 li a5,16
|
|
17fe: 084c addi a1,sp,20
|
|
1800: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1804: ce3e sw a5,28(sp)
|
|
1806: cc26 sw s1,24(sp)
|
|
1808: 8e2ff0ef jal ra,8ea <GPIO_Init>
|
|
180c: 4601 li a2,0
|
|
180e: c0040513 addi a0,s0,-1024
|
|
1812: 45c1 li a1,16
|
|
1814: 99aff0ef jal ra,9ae <GPIO_WriteBit>
|
|
1818: 4585 li a1,1
|
|
181a: 4521 li a0,8
|
|
181c: dc8ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
1820: 4585 li a1,1
|
|
1822: 00080537 lui a0,0x80
|
|
1826: ddcff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
|
|
182a: 4785 li a5,1
|
|
182c: 82fc sh a5,20(sp)
|
|
182e: 084c addi a1,sp,20
|
|
1830: 47e1 li a5,24
|
|
1832: c0040513 addi a0,s0,-1024
|
|
1836: cc26 sw s1,24(sp)
|
|
1838: ce3e sw a5,28(sp)
|
|
183a: 8b0ff0ef jal ra,8ea <GPIO_Init>
|
|
183e: 4489 li s1,2
|
|
1840: 4791 li a5,4
|
|
1842: 084c addi a1,sp,20
|
|
1844: c0040513 addi a0,s0,-1024
|
|
1848: 82e4 sh s1,20(sp)
|
|
184a: 40005437 lui s0,0x40005
|
|
184e: ce3e sw a5,28(sp)
|
|
1850: 89aff0ef jal ra,8ea <GPIO_Init>
|
|
1854: 100c addi a1,sp,32
|
|
1856: 000c07b7 lui a5,0xc0
|
|
185a: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
185e: d04a sw s2,32(sp)
|
|
1860: d43e sw a5,40(sp)
|
|
1862: d202 sw zero,36(sp)
|
|
1864: 02011623 sh zero,44(sp)
|
|
1868: 8a7ff0ef jal ra,110e <USART_Init>
|
|
186c: 13d00793 li a5,317
|
|
1870: 867c sh a5,12(sp)
|
|
1872: 0068 addi a0,sp,12
|
|
1874: 4785 li a5,1
|
|
1876: c83e sw a5,16(sp)
|
|
1878: 8744 sb s1,14(sp)
|
|
187a: c2cff0ef jal ra,ca6 <NVIC_Init>
|
|
187e: 4605 li a2,1
|
|
1880: c0040513 addi a0,s0,-1024
|
|
1884: 52500593 li a1,1317
|
|
1888: 957ff0ef jal ra,11de <USART_ITConfig>
|
|
188c: 4585 li a1,1
|
|
188e: c0040513 addi a0,s0,-1024
|
|
1892: 937ff0ef jal ra,11c8 <USART_Cmd>
|
|
1896: 6145 addi sp,sp,48
|
|
1898: 8fdfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000189c <BAT_485_Init>:
|
|
189c: 8d5fe2ef jal t0,170 <__riscv_save_0>
|
|
18a0: 7179 addi sp,sp,-48
|
|
18a2: 40011437 lui s0,0x40011
|
|
18a6: 02000793 li a5,32
|
|
18aa: 892a mv s2,a0
|
|
18ac: 82fc sh a5,20(sp)
|
|
18ae: 448d li s1,3
|
|
18b0: 47c1 li a5,16
|
|
18b2: 084c addi a1,sp,20
|
|
18b4: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
18b8: ce3e sw a5,28(sp)
|
|
18ba: cc26 sw s1,24(sp)
|
|
18bc: 82eff0ef jal ra,8ea <GPIO_Init>
|
|
18c0: 4601 li a2,0
|
|
18c2: c0040513 addi a0,s0,-1024
|
|
18c6: 02000593 li a1,32
|
|
18ca: 8e4ff0ef jal ra,9ae <GPIO_WriteBit>
|
|
18ce: 4585 li a1,1
|
|
18d0: 4521 li a0,8
|
|
18d2: d12ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
18d6: 4585 li a1,1
|
|
18d8: 00040537 lui a0,0x40
|
|
18dc: d26ff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
|
|
18e0: 40000793 li a5,1024
|
|
18e4: 82fc sh a5,20(sp)
|
|
18e6: 084c addi a1,sp,20
|
|
18e8: 47e1 li a5,24
|
|
18ea: c0040513 addi a0,s0,-1024
|
|
18ee: cc26 sw s1,24(sp)
|
|
18f0: ce3e sw a5,28(sp)
|
|
18f2: ff9fe0ef jal ra,8ea <GPIO_Init>
|
|
18f6: 6785 lui a5,0x1
|
|
18f8: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
18fc: 82fc sh a5,20(sp)
|
|
18fe: 084c addi a1,sp,20
|
|
1900: 4791 li a5,4
|
|
1902: c0040513 addi a0,s0,-1024
|
|
1906: ce3e sw a5,28(sp)
|
|
1908: 40005437 lui s0,0x40005
|
|
190c: fdffe0ef jal ra,8ea <GPIO_Init>
|
|
1910: 100c addi a1,sp,32
|
|
1912: 000c07b7 lui a5,0xc0
|
|
1916: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
191a: d04a sw s2,32(sp)
|
|
191c: d43e sw a5,40(sp)
|
|
191e: d202 sw zero,36(sp)
|
|
1920: 02011623 sh zero,44(sp)
|
|
1924: feaff0ef jal ra,110e <USART_Init>
|
|
1928: 13700793 li a5,311
|
|
192c: 867c sh a5,12(sp)
|
|
192e: 4785 li a5,1
|
|
1930: 875c sb a5,14(sp)
|
|
1932: 0068 addi a0,sp,12
|
|
1934: 4785 li a5,1
|
|
1936: c83e sw a5,16(sp)
|
|
1938: b6eff0ef jal ra,ca6 <NVIC_Init>
|
|
193c: 4605 li a2,1
|
|
193e: 80040513 addi a0,s0,-2048
|
|
1942: 52500593 li a1,1317
|
|
1946: 899ff0ef jal ra,11de <USART_ITConfig>
|
|
194a: 4585 li a1,1
|
|
194c: 80040513 addi a0,s0,-2048
|
|
1950: 879ff0ef jal ra,11c8 <USART_Cmd>
|
|
1954: 6145 addi sp,sp,48
|
|
1956: 83ffe06f j 194 <__riscv_restore_0>
|
|
|
|
0000195a <USARTx_SendByte>:
|
|
195a: 817fe2ef jal t0,170 <__riscv_save_0>
|
|
195e: 842a mv s0,a0
|
|
1960: 8b5ff0ef jal ra,1214 <USART_SendData>
|
|
1964: 08000593 li a1,128
|
|
1968: 8522 mv a0,s0
|
|
196a: 8bbff0ef jal ra,1224 <USART_GetFlagStatus>
|
|
196e: d97d beqz a0,1964 <USARTx_SendByte+0xa>
|
|
1970: 825fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001974 <USART3_IRQHandler>:
|
|
1974: 1141 addi sp,sp,-16
|
|
1976: c622 sw s0,12(sp)
|
|
1978: 40005437 lui s0,0x40005
|
|
197c: 52500593 li a1,1317
|
|
1980: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
1984: 8abff0ef jal ra,122e <USART_GetITStatus>
|
|
1988: c50d beqz a0,19b2 <USART3_IRQHandler+0x3e>
|
|
198a: 80040513 addi a0,s0,-2048
|
|
198e: 88fff0ef jal ra,121c <USART_ReceiveData>
|
|
1992: 0ff57593 andi a1,a0,255
|
|
1996: 82b18c23 sb a1,-1992(gp) # 20000178 <USART3_Rbuffer>
|
|
199a: 8541a503 lw a0,-1964(gp) # 20000194 <g_bat485_uart3_handle>
|
|
199e: 4d1c lw a5,24(a0)
|
|
19a0: 4910 lw a2,16(a0)
|
|
19a2: 4954 lw a3,20(a0)
|
|
19a4: 0785 addi a5,a5,1
|
|
19a6: 02c7e7b3 rem a5,a5,a2
|
|
19aa: 00d78463 beq a5,a3,19b2 <USART3_IRQHandler+0x3e>
|
|
19ae: 0531 addi a0,a0,12
|
|
19b0: 2cb1 jal 1c0c <InRingQueue>
|
|
19b2: 4432 lw s0,12(sp)
|
|
19b4: 0141 addi sp,sp,16
|
|
19b6: 30200073 mret
|
|
|
|
000019ba <USART4_IRQHandler>:
|
|
19ba: 1141 addi sp,sp,-16
|
|
19bc: c622 sw s0,12(sp)
|
|
19be: 40005437 lui s0,0x40005
|
|
19c2: 52500593 li a1,1317
|
|
19c6: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
19ca: 865ff0ef jal ra,122e <USART_GetITStatus>
|
|
19ce: c50d beqz a0,19f8 <USART4_IRQHandler+0x3e>
|
|
19d0: c0040513 addi a0,s0,-1024
|
|
19d4: 849ff0ef jal ra,121c <USART_ReceiveData>
|
|
19d8: 0ff57593 andi a1,a0,255
|
|
19dc: 82b18e23 sb a1,-1988(gp) # 2000017c <USART4_Rbuffer>
|
|
19e0: 8581a503 lw a0,-1960(gp) # 20000198 <g_gw485_uart4_handle>
|
|
19e4: 4d1c lw a5,24(a0)
|
|
19e6: 4910 lw a2,16(a0)
|
|
19e8: 4954 lw a3,20(a0)
|
|
19ea: 0785 addi a5,a5,1
|
|
19ec: 02c7e7b3 rem a5,a5,a2
|
|
19f0: 00d78463 beq a5,a3,19f8 <USART4_IRQHandler+0x3e>
|
|
19f4: 0531 addi a0,a0,12
|
|
19f6: 2c19 jal 1c0c <InRingQueue>
|
|
19f8: 4432 lw s0,12(sp)
|
|
19fa: 0141 addi sp,sp,16
|
|
19fc: 30200073 mret
|
|
|
|
00001a00 <TIM3_Int_Init>:
|
|
1a00: f70fe2ef jal t0,170 <__riscv_save_0>
|
|
1a04: 1101 addi sp,sp,-32
|
|
1a06: 84aa mv s1,a0
|
|
1a08: 842e mv s0,a1
|
|
1a0a: 4509 li a0,2
|
|
1a0c: 4585 li a1,1
|
|
1a0e: bf4ff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
|
|
1a12: 84e0 sh s0,24(sp)
|
|
1a14: 40000437 lui s0,0x40000
|
|
1a18: 084c addi a1,sp,20
|
|
1a1a: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
1a1e: ca26 sw s1,20(sp)
|
|
1a20: 00011e23 sh zero,28(sp)
|
|
1a24: 00011d23 sh zero,26(sp)
|
|
1a28: c74ff0ef jal ra,e9c <TIM_TimeBaseInit>
|
|
1a2c: 4605 li a2,1
|
|
1a2e: 4585 li a1,1
|
|
1a30: 40040513 addi a0,s0,1024
|
|
1a34: e30ff0ef jal ra,1064 <TIM_ITConfig>
|
|
1a38: 02d00793 li a5,45
|
|
1a3c: 867c sh a5,12(sp)
|
|
1a3e: 478d li a5,3
|
|
1a40: 875c sb a5,14(sp)
|
|
1a42: 0068 addi a0,sp,12
|
|
1a44: 4785 li a5,1
|
|
1a46: c83e sw a5,16(sp)
|
|
1a48: a5eff0ef jal ra,ca6 <NVIC_Init>
|
|
1a4c: 4585 li a1,1
|
|
1a4e: 40040513 addi a0,s0,1024
|
|
1a52: de4ff0ef jal ra,1036 <TIM_Cmd>
|
|
1a56: 6105 addi sp,sp,32
|
|
1a58: f3cfe06f j 194 <__riscv_restore_0>
|
|
|
|
00001a5c <TIM3_Init>:
|
|
1a5c: f14fe2ef jal t0,170 <__riscv_save_0>
|
|
1a60: 200007b7 lui a5,0x20000
|
|
1a64: 1407a583 lw a1,320(a5) # 20000140 <SystemCoreClock>
|
|
1a68: 6789 lui a5,0x2
|
|
1a6a: 71078793 addi a5,a5,1808 # 2710 <Task_recvbroadcast+0x114>
|
|
1a6e: 02f5d5b3 divu a1,a1,a5
|
|
1a72: 4525 li a0,9
|
|
1a74: 15fd addi a1,a1,-1
|
|
1a76: 05c2 slli a1,a1,0x10
|
|
1a78: 81c1 srli a1,a1,0x10
|
|
1a7a: 3759 jal 1a00 <TIM3_Int_Init>
|
|
1a7c: f18fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001a80 <TIM3_IRQHandler>:
|
|
1a80: 1141 addi sp,sp,-16
|
|
1a82: c622 sw s0,12(sp)
|
|
1a84: 40000437 lui s0,0x40000
|
|
1a88: 4585 li a1,1
|
|
1a8a: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
1a8e: e5cff0ef jal ra,10ea <TIM_GetITStatus>
|
|
1a92: c519 beqz a0,1aa0 <TIM3_IRQHandler+0x20>
|
|
1a94: 4585 li a1,1
|
|
1a96: 40040513 addi a0,s0,1024
|
|
1a9a: e68ff0ef jal ra,1102 <TIM_ClearITPendingBit>
|
|
1a9e: 2a1d jal 1bd4 <TimeSliceOffset_Produce>
|
|
1aa0: 4432 lw s0,12(sp)
|
|
1aa2: 0141 addi sp,sp,16
|
|
1aa4: 30200073 mret
|
|
|
|
00001aa8 <TIM2_Int_Init>:
|
|
1aa8: ec8fe2ef jal t0,170 <__riscv_save_0>
|
|
1aac: 1101 addi sp,sp,-32
|
|
1aae: 842e mv s0,a1
|
|
1ab0: 84aa mv s1,a0
|
|
1ab2: 4585 li a1,1
|
|
1ab4: 4505 li a0,1
|
|
1ab6: b4cff0ef jal ra,e02 <RCC_PB1PeriphClockCmd>
|
|
1aba: 084c addi a1,sp,20
|
|
1abc: 40000537 lui a0,0x40000
|
|
1ac0: ca26 sw s1,20(sp)
|
|
1ac2: 84e0 sh s0,24(sp)
|
|
1ac4: 00011e23 sh zero,28(sp)
|
|
1ac8: 00011d23 sh zero,26(sp)
|
|
1acc: bd0ff0ef jal ra,e9c <TIM_TimeBaseInit>
|
|
1ad0: 4605 li a2,1
|
|
1ad2: 4585 li a1,1
|
|
1ad4: 40000537 lui a0,0x40000
|
|
1ad8: d8cff0ef jal ra,1064 <TIM_ITConfig>
|
|
1adc: 12c00793 li a5,300
|
|
1ae0: 867c sh a5,12(sp)
|
|
1ae2: 478d li a5,3
|
|
1ae4: 875c sb a5,14(sp)
|
|
1ae6: 0068 addi a0,sp,12
|
|
1ae8: 4785 li a5,1
|
|
1aea: c83e sw a5,16(sp)
|
|
1aec: 9baff0ef jal ra,ca6 <NVIC_Init>
|
|
1af0: 6105 addi sp,sp,32
|
|
1af2: ea2fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001af6 <TIM2_Init>:
|
|
1af6: e7afe2ef jal t0,170 <__riscv_save_0>
|
|
1afa: 200007b7 lui a5,0x20000
|
|
1afe: 1407a583 lw a1,320(a5) # 20000140 <SystemCoreClock>
|
|
1b02: 3e800793 li a5,1000
|
|
1b06: 6515 lui a0,0x5
|
|
1b08: 02f5d5b3 divu a1,a1,a5
|
|
1b0c: e1f50513 addi a0,a0,-481 # 4e1f <_data_lma+0x57f>
|
|
1b10: 15fd addi a1,a1,-1
|
|
1b12: 05c2 slli a1,a1,0x10
|
|
1b14: 81c1 srli a1,a1,0x10
|
|
1b16: 3f49 jal 1aa8 <TIM2_Int_Init>
|
|
1b18: e7cfe06f j 194 <__riscv_restore_0>
|
|
|
|
00001b1c <TIM2_IRQHandler>:
|
|
1b1c: 4585 li a1,1
|
|
1b1e: 40000537 lui a0,0x40000
|
|
1b22: dc8ff0ef jal ra,10ea <TIM_GetITStatus>
|
|
1b26: cd11 beqz a0,1b42 <TIM2_IRQHandler+0x26>
|
|
1b28: 4585 li a1,1
|
|
1b2a: 40000537 lui a0,0x40000
|
|
1b2e: dd4ff0ef jal ra,1102 <TIM_ClearITPendingBit>
|
|
1b32: 4581 li a1,0
|
|
1b34: 40000537 lui a0,0x40000
|
|
1b38: cfeff0ef jal ra,1036 <TIM_Cmd>
|
|
1b3c: 4705 li a4,1
|
|
1b3e: 80e18423 sb a4,-2040(gp) # 20000148 <run_Broadcast>
|
|
1b42: 30200073 mret
|
|
|
|
00001b46 <TimeSliceOffset_Register>:
|
|
1b46: c91d beqz a0,1b7c <TimeSliceOffset_Register+0x36>
|
|
1b48: 96b2 add a3,a3,a2
|
|
1b4a: 06c2 slli a3,a3,0x10
|
|
1b4c: 82c1 srli a3,a3,0x10
|
|
1b4e: a152 sh a2,4(a0)
|
|
1b50: a136 sh a3,2(a0)
|
|
1b52: c50c sw a1,8(a0)
|
|
1b54: ee09 bnez a2,1b6e <TimeSliceOffset_Register+0x28>
|
|
1b56: 4785 li a5,1
|
|
1b58: a11c sb a5,0(a0)
|
|
1b5a: 8401a683 lw a3,-1984(gp) # 20000180 <pTimeSliceList>
|
|
1b5e: 84018793 addi a5,gp,-1984 # 20000180 <pTimeSliceList>
|
|
1b62: 8736 mv a4,a3
|
|
1b64: eb01 bnez a4,1b74 <TimeSliceOffset_Register+0x2e>
|
|
1b66: c554 sw a3,12(a0)
|
|
1b68: c388 sw a0,0(a5)
|
|
1b6a: 4501 li a0,0
|
|
1b6c: 8082 ret
|
|
1b6e: 00050023 sb zero,0(a0) # 40000000 <_eusrstack+0x1fffb000>
|
|
1b72: b7e5 j 1b5a <TimeSliceOffset_Register+0x14>
|
|
1b74: 00a70663 beq a4,a0,1b80 <TimeSliceOffset_Register+0x3a>
|
|
1b78: 4758 lw a4,12(a4)
|
|
1b7a: b7ed j 1b64 <TimeSliceOffset_Register+0x1e>
|
|
1b7c: 557d li a0,-1
|
|
1b7e: 8082 ret
|
|
1b80: 4505 li a0,1
|
|
1b82: 8082 ret
|
|
|
|
00001b84 <TimeSliceOffset_Unregister>:
|
|
1b84: c50d beqz a0,1bae <TimeSliceOffset_Unregister+0x2a>
|
|
1b86: 8401a783 lw a5,-1984(gp) # 20000180 <pTimeSliceList>
|
|
1b8a: 84018713 addi a4,gp,-1984 # 20000180 <pTimeSliceList>
|
|
1b8e: e399 bnez a5,1b94 <TimeSliceOffset_Unregister+0x10>
|
|
1b90: 4505 li a0,1
|
|
1b92: 8082 ret
|
|
1b94: 47d4 lw a3,12(a5)
|
|
1b96: 00a69663 bne a3,a0,1ba2 <TimeSliceOffset_Unregister+0x1e>
|
|
1b9a: 4558 lw a4,12(a0)
|
|
1b9c: c7d8 sw a4,12(a5)
|
|
1b9e: 4501 li a0,0
|
|
1ba0: 8082 ret
|
|
1ba2: 00a79463 bne a5,a0,1baa <TimeSliceOffset_Unregister+0x26>
|
|
1ba6: c314 sw a3,0(a4)
|
|
1ba8: bfdd j 1b9e <TimeSliceOffset_Unregister+0x1a>
|
|
1baa: 87b6 mv a5,a3
|
|
1bac: b7cd j 1b8e <TimeSliceOffset_Unregister+0xa>
|
|
1bae: 557d li a0,-1
|
|
1bb0: 8082 ret
|
|
|
|
00001bb2 <TimeSliceOffset_Start>:
|
|
1bb2: dbefe2ef jal t0,170 <__riscv_save_0>
|
|
1bb6: 8401a403 lw s0,-1984(gp) # 20000180 <pTimeSliceList>
|
|
1bba: dc75 beqz s0,1bb6 <TimeSliceOffset_Start+0x4>
|
|
1bbc: 201c lbu a5,0(s0)
|
|
1bbe: 0ff7f793 andi a5,a5,255
|
|
1bc2: c799 beqz a5,1bd0 <TimeSliceOffset_Start+0x1e>
|
|
1bc4: 205e lhu a5,4(s0)
|
|
1bc6: c399 beqz a5,1bcc <TimeSliceOffset_Start+0x1a>
|
|
1bc8: 00040023 sb zero,0(s0)
|
|
1bcc: 441c lw a5,8(s0)
|
|
1bce: 9782 jalr a5
|
|
1bd0: 4440 lw s0,12(s0)
|
|
1bd2: b7e5 j 1bba <TimeSliceOffset_Start+0x8>
|
|
|
|
00001bd4 <TimeSliceOffset_Produce>:
|
|
1bd4: 8401a783 lw a5,-1984(gp) # 20000180 <pTimeSliceList>
|
|
1bd8: 4605 li a2,1
|
|
1bda: e391 bnez a5,1bde <TimeSliceOffset_Produce+0xa>
|
|
1bdc: 8082 ret
|
|
1bde: 23d6 lhu a3,4(a5)
|
|
1be0: ce81 beqz a3,1bf8 <TimeSliceOffset_Produce+0x24>
|
|
1be2: 23ba lhu a4,2(a5)
|
|
1be4: 177d addi a4,a4,-1
|
|
1be6: 0742 slli a4,a4,0x10
|
|
1be8: 8341 srli a4,a4,0x10
|
|
1bea: a3ba sh a4,2(a5)
|
|
1bec: 23ba lhu a4,2(a5)
|
|
1bee: 0742 slli a4,a4,0x10
|
|
1bf0: 8341 srli a4,a4,0x10
|
|
1bf2: e319 bnez a4,1bf8 <TimeSliceOffset_Produce+0x24>
|
|
1bf4: a390 sb a2,0(a5)
|
|
1bf6: a3b6 sh a3,2(a5)
|
|
1bf8: 47dc lw a5,12(a5)
|
|
1bfa: b7c5 j 1bda <TimeSliceOffset_Produce+0x6>
|
|
|
|
00001bfc <InitRingQueue>:
|
|
1bfc: 00052623 sw zero,12(a0)
|
|
1c00: c10c sw a1,0(a0)
|
|
1c02: c150 sw a2,4(a0)
|
|
1c04: 00052423 sw zero,8(a0)
|
|
1c08: 4505 li a0,1
|
|
1c0a: 8082 ret
|
|
|
|
00001c0c <InRingQueue>:
|
|
1c0c: 455c lw a5,12(a0)
|
|
1c0e: 4154 lw a3,4(a0)
|
|
1c10: 4518 lw a4,8(a0)
|
|
1c12: 0785 addi a5,a5,1
|
|
1c14: 02d7e7b3 rem a5,a5,a3
|
|
1c18: 00e78e63 beq a5,a4,1c34 <InRingQueue+0x28>
|
|
1c1c: 4558 lw a4,12(a0)
|
|
1c1e: 411c lw a5,0(a0)
|
|
1c20: 97ba add a5,a5,a4
|
|
1c22: a38c sb a1,0(a5)
|
|
1c24: 455c lw a5,12(a0)
|
|
1c26: 4158 lw a4,4(a0)
|
|
1c28: 0785 addi a5,a5,1
|
|
1c2a: 02e7e7b3 rem a5,a5,a4
|
|
1c2e: c55c sw a5,12(a0)
|
|
1c30: 4505 li a0,1
|
|
1c32: 8082 ret
|
|
1c34: 5579 li a0,-2
|
|
1c36: 8082 ret
|
|
|
|
00001c38 <OutRingQueue>:
|
|
1c38: 4518 lw a4,8(a0)
|
|
1c3a: 455c lw a5,12(a0)
|
|
1c3c: 00f70f63 beq a4,a5,1c5a <OutRingQueue+0x22>
|
|
1c40: 4518 lw a4,8(a0)
|
|
1c42: 411c lw a5,0(a0)
|
|
1c44: 97ba add a5,a5,a4
|
|
1c46: 239c lbu a5,0(a5)
|
|
1c48: a19c sb a5,0(a1)
|
|
1c4a: 451c lw a5,8(a0)
|
|
1c4c: 4158 lw a4,4(a0)
|
|
1c4e: 0785 addi a5,a5,1
|
|
1c50: 02e7e7b3 rem a5,a5,a4
|
|
1c54: c51c sw a5,8(a0)
|
|
1c56: 4505 li a0,1
|
|
1c58: 8082 ret
|
|
1c5a: 4501 li a0,0
|
|
1c5c: 8082 ret
|
|
|
|
00001c5e <RingQueueLength>:
|
|
1c5e: 455c lw a5,12(a0)
|
|
1c60: 4518 lw a4,8(a0)
|
|
1c62: 4148 lw a0,4(a0)
|
|
1c64: 8f99 sub a5,a5,a4
|
|
1c66: 97aa add a5,a5,a0
|
|
1c68: 02a7e533 rem a0,a5,a0
|
|
1c6c: 8082 ret
|
|
|
|
00001c6e <Delay_Init>:
|
|
1c6e: 200007b7 lui a5,0x20000
|
|
1c72: 1407a783 lw a5,320(a5) # 20000140 <SystemCoreClock>
|
|
1c76: 6709 lui a4,0x2
|
|
1c78: f4070713 addi a4,a4,-192 # 1f40 <SL_ReadRegisteraddress+0x6>
|
|
1c7c: 02e7d7b3 divu a5,a5,a4
|
|
1c80: 07c2 slli a5,a5,0x10
|
|
1c82: 83c1 srli a5,a5,0x10
|
|
1c84: 84f19323 sh a5,-1978(gp) # 20000186 <p_us>
|
|
1c88: 84f19223 sh a5,-1980(gp) # 20000184 <p_ms>
|
|
1c8c: 8082 ret
|
|
|
|
00001c8e <Delay_Ms>:
|
|
1c8e: e000f7b7 lui a5,0xe000f
|
|
1c92: 43d8 lw a4,4(a5)
|
|
1c94: 4681 li a3,0
|
|
1c96: 9b79 andi a4,a4,-2
|
|
1c98: c3d8 sw a4,4(a5)
|
|
1c9a: 8441d703 lhu a4,-1980(gp) # 20000184 <p_ms>
|
|
1c9e: 02a70633 mul a2,a4,a0
|
|
1ca2: cb90 sw a2,16(a5)
|
|
1ca4: cbd4 sw a3,20(a5)
|
|
1ca6: 4398 lw a4,0(a5)
|
|
1ca8: 01076713 ori a4,a4,16
|
|
1cac: c398 sw a4,0(a5)
|
|
1cae: 4398 lw a4,0(a5)
|
|
1cb0: 02176713 ori a4,a4,33
|
|
1cb4: c398 sw a4,0(a5)
|
|
1cb6: 43d8 lw a4,4(a5)
|
|
1cb8: 8b05 andi a4,a4,1
|
|
1cba: df75 beqz a4,1cb6 <Delay_Ms+0x28>
|
|
1cbc: 4398 lw a4,0(a5)
|
|
1cbe: 9b79 andi a4,a4,-2
|
|
1cc0: c398 sw a4,0(a5)
|
|
1cc2: 8082 ret
|
|
|
|
00001cc4 <USART_Printf_Init>:
|
|
1cc4: cacfe2ef jal t0,170 <__riscv_save_0>
|
|
1cc8: 842a mv s0,a0
|
|
1cca: 6511 lui a0,0x4
|
|
1ccc: 1101 addi sp,sp,-32
|
|
1cce: 4585 li a1,1
|
|
1cd0: 0511 addi a0,a0,4
|
|
1cd2: 912ff0ef jal ra,de4 <RCC_PB2PeriphClockCmd>
|
|
1cd6: 20000793 li a5,512
|
|
1cda: 827c sh a5,4(sp)
|
|
1cdc: 40011537 lui a0,0x40011
|
|
1ce0: 478d li a5,3
|
|
1ce2: c43e sw a5,8(sp)
|
|
1ce4: 004c addi a1,sp,4
|
|
1ce6: 47e1 li a5,24
|
|
1ce8: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1cec: c63e sw a5,12(sp)
|
|
1cee: bfdfe0ef jal ra,8ea <GPIO_Init>
|
|
1cf2: c822 sw s0,16(sp)
|
|
1cf4: 40014437 lui s0,0x40014
|
|
1cf8: 000807b7 lui a5,0x80
|
|
1cfc: 080c addi a1,sp,16
|
|
1cfe: 80040513 addi a0,s0,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1d02: cc3e sw a5,24(sp)
|
|
1d04: ca02 sw zero,20(sp)
|
|
1d06: 00011e23 sh zero,28(sp)
|
|
1d0a: c04ff0ef jal ra,110e <USART_Init>
|
|
1d0e: 4585 li a1,1
|
|
1d10: 80040513 addi a0,s0,-2048
|
|
1d14: cb4ff0ef jal ra,11c8 <USART_Cmd>
|
|
1d18: 6105 addi sp,sp,32
|
|
1d1a: c7afe06f j 194 <__riscv_restore_0>
|
|
|
|
00001d1e <_write>:
|
|
1d1e: c38fe2ef jal t0,156 <__riscv_save_4>
|
|
1d22: 400144b7 lui s1,0x40014
|
|
1d26: 89ae mv s3,a1
|
|
1d28: 8932 mv s2,a2
|
|
1d2a: 4401 li s0,0
|
|
1d2c: 80048493 addi s1,s1,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1d30: 01244563 blt s0,s2,1d3a <_write+0x1c>
|
|
1d34: 854a mv a0,s2
|
|
1d36: c54fe06f j 18a <__riscv_restore_4>
|
|
1d3a: 04000593 li a1,64
|
|
1d3e: 8526 mv a0,s1
|
|
1d40: ce4ff0ef jal ra,1224 <USART_GetFlagStatus>
|
|
1d44: d97d beqz a0,1d3a <_write+0x1c>
|
|
1d46: 008987b3 add a5,s3,s0
|
|
1d4a: 00078583 lb a1,0(a5) # 80000 <_data_lma+0x7b760>
|
|
1d4e: 8526 mv a0,s1
|
|
1d50: 0405 addi s0,s0,1
|
|
1d52: 05c2 slli a1,a1,0x10
|
|
1d54: 81c1 srli a1,a1,0x10
|
|
1d56: cbeff0ef jal ra,1214 <USART_SendData>
|
|
1d5a: bfd9 j 1d30 <_write+0x12>
|
|
|
|
00001d5c <_sbrk>:
|
|
1d5c: 80c18713 addi a4,gp,-2036 # 2000014c <curbrk.5007>
|
|
1d60: 431c lw a5,0(a4)
|
|
1d62: ad818693 addi a3,gp,-1320 # 20000418 <_ebss>
|
|
1d66: 953e add a0,a0,a5
|
|
1d68: 00d56b63 bltu a0,a3,1d7e <_sbrk+0x22>
|
|
1d6c: 200056b7 lui a3,0x20005
|
|
1d70: 80068693 addi a3,a3,-2048 # 20004800 <_heap_end>
|
|
1d74: 00a6e563 bltu a3,a0,1d7e <_sbrk+0x22>
|
|
1d78: c308 sw a0,0(a4)
|
|
1d7a: 853e mv a0,a5
|
|
1d7c: 8082 ret
|
|
1d7e: 57fd li a5,-1
|
|
1d80: bfed j 1d7a <_sbrk+0x1e>
|
|
|
|
00001d82 <read_config_info>:
|
|
1d82: beefe2ef jal t0,170 <__riscv_save_0>
|
|
1d86: 1101 addi sp,sp,-32
|
|
1d88: 850a mv a0,sp
|
|
1d8a: 4679 li a2,30
|
|
1d8c: 4581 li a1,0
|
|
1d8e: ecaff0ef jal ra,1458 <SPI_Flash_Read>
|
|
1d92: 8018 lbu a4,0(sp)
|
|
1d94: 05300793 li a5,83
|
|
1d98: 4501 li a0,0
|
|
1d9a: 00f71b63 bne a4,a5,1db0 <read_config_info+0x2e>
|
|
1d9e: 20000537 lui a0,0x20000
|
|
1da2: 4679 li a2,30
|
|
1da4: 858a mv a1,sp
|
|
1da6: 02050513 addi a0,a0,32 # 20000020 <g_slConfigInfo>
|
|
1daa: 18e010ef jal ra,2f38 <memcpy>
|
|
1dae: 4505 li a0,1
|
|
1db0: 6105 addi sp,sp,32
|
|
1db2: be2fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001db6 <SL_MsgProcFunc_Write_Register>:
|
|
1db6: bbafe2ef jal t0,170 <__riscv_save_0>
|
|
1dba: 25d4 lbu a3,12(a1)
|
|
1dbc: 35dc lbu a5,13(a1)
|
|
1dbe: 06a2 slli a3,a3,0x8
|
|
1dc0: 8edd or a3,a3,a5
|
|
1dc2: 4795 li a5,5
|
|
1dc4: 00d7fd63 bgeu a5,a3,1dde <SL_MsgProcFunc_Write_Register+0x28>
|
|
1dc8: 00004537 lui a0,0x4
|
|
1dcc: 10800613 li a2,264
|
|
1dd0: 4585 li a1,1
|
|
1dd2: 32c50513 addi a0,a0,812 # 432c <_read+0x9e>
|
|
1dd6: 214010ef jal ra,2fea <iprintf>
|
|
1dda: bbafe06f j 194 <__riscv_restore_0>
|
|
1dde: 25b4 lbu a3,10(a1)
|
|
1de0: 35bc lbu a5,11(a1)
|
|
1de2: 06a2 slli a3,a3,0x8
|
|
1de4: 8edd or a3,a3,a5
|
|
1de6: 20000793 li a5,512
|
|
1dea: fed7f8e3 bgeu a5,a3,1dda <SL_MsgProcFunc_Write_Register+0x24>
|
|
1dee: 00004537 lui a0,0x4
|
|
1df2: 10f00613 li a2,271
|
|
1df6: 4585 li a1,1
|
|
1df8: 35c50513 addi a0,a0,860 # 435c <_read+0xce>
|
|
1dfc: bfe9 j 1dd6 <SL_MsgProcFunc_Write_Register+0x20>
|
|
|
|
00001dfe <SL_ReadRegisterSolarOpenCircuitVoltage2>:
|
|
1dfe: b72fe2ef jal t0,170 <__riscv_save_0>
|
|
1e02: 00004537 lui a0,0x4
|
|
1e06: 1a500613 li a2,421
|
|
1e0a: 4585 li a1,1
|
|
1e0c: 51850513 addi a0,a0,1304 # 4518 <_read+0x28a>
|
|
1e10: 1da010ef jal ra,2fea <iprintf>
|
|
1e14: 86418793 addi a5,gp,-1948 # 200001a4 <g_Mppt_Para>
|
|
1e18: 2be8 lbu a0,22(a5)
|
|
1e1a: 3bd8 lbu a4,21(a5)
|
|
1e1c: 47a9 li a5,10
|
|
1e1e: 0522 slli a0,a0,0x8
|
|
1e20: 8d59 or a0,a0,a4
|
|
1e22: 02f50533 mul a0,a0,a5
|
|
1e26: 0542 slli a0,a0,0x10
|
|
1e28: 8141 srli a0,a0,0x10
|
|
1e2a: b6afe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e2e <SL_ReadRegisterSolarOpenCircuitVoltage1>:
|
|
1e2e: b42fe2ef jal t0,170 <__riscv_save_0>
|
|
1e32: 00004537 lui a0,0x4
|
|
1e36: 19900613 li a2,409
|
|
1e3a: 4585 li a1,1
|
|
1e3c: 4dc50513 addi a0,a0,1244 # 44dc <_read+0x24e>
|
|
1e40: 1aa010ef jal ra,2fea <iprintf>
|
|
1e44: 86418793 addi a5,gp,-1948 # 200001a4 <g_Mppt_Para>
|
|
1e48: 2bc8 lbu a0,20(a5)
|
|
1e4a: 3bb8 lbu a4,19(a5)
|
|
1e4c: 47a9 li a5,10
|
|
1e4e: 0522 slli a0,a0,0x8
|
|
1e50: 8d59 or a0,a0,a4
|
|
1e52: 02f50533 mul a0,a0,a5
|
|
1e56: 0542 slli a0,a0,0x10
|
|
1e58: 8141 srli a0,a0,0x10
|
|
1e5a: b3afe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e5e <SL_ReadRegisterRemainingBatteryBower>:
|
|
1e5e: b12fe2ef jal t0,170 <__riscv_save_0>
|
|
1e62: 00004537 lui a0,0x4
|
|
1e66: 18d00613 li a2,397
|
|
1e6a: 4585 li a1,1
|
|
1e6c: 4a450513 addi a0,a0,1188 # 44a4 <_read+0x216>
|
|
1e70: 17a010ef jal ra,2fea <iprintf>
|
|
1e74: 86418793 addi a5,gp,-1948 # 200001a4 <g_Mppt_Para>
|
|
1e78: 2ba8 lbu a0,18(a5)
|
|
1e7a: 3b98 lbu a4,17(a5)
|
|
1e7c: 47a9 li a5,10
|
|
1e7e: 0522 slli a0,a0,0x8
|
|
1e80: 8d59 or a0,a0,a4
|
|
1e82: 02f50533 mul a0,a0,a5
|
|
1e86: 0542 slli a0,a0,0x10
|
|
1e88: 8141 srli a0,a0,0x10
|
|
1e8a: b0afe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e8e <SL_ReadRegisterBatterytemperature>:
|
|
1e8e: ae2fe2ef jal t0,170 <__riscv_save_0>
|
|
1e92: 00004537 lui a0,0x4
|
|
1e96: 18100613 li a2,385
|
|
1e9a: 4585 li a1,1
|
|
1e9c: 3fc50513 addi a0,a0,1020 # 43fc <_read+0x16e>
|
|
1ea0: 14a010ef jal ra,2fea <iprintf>
|
|
1ea4: 86418793 addi a5,gp,-1948 # 200001a4 <g_Mppt_Para>
|
|
1ea8: 2b88 lbu a0,16(a5)
|
|
1eaa: 37f8 lbu a4,15(a5)
|
|
1eac: 47a9 li a5,10
|
|
1eae: 0522 slli a0,a0,0x8
|
|
1eb0: 8d59 or a0,a0,a4
|
|
1eb2: 02f50533 mul a0,a0,a5
|
|
1eb6: 0542 slli a0,a0,0x10
|
|
1eb8: 8141 srli a0,a0,0x10
|
|
1eba: adafe06f j 194 <__riscv_restore_0>
|
|
|
|
00001ebe <SL_ReadRegisterBatteryVoltage>:
|
|
1ebe: ab2fe2ef jal t0,170 <__riscv_save_0>
|
|
1ec2: 00004537 lui a0,0x4
|
|
1ec6: 17500613 li a2,373
|
|
1eca: 4585 li a1,1
|
|
1ecc: 3c850513 addi a0,a0,968 # 43c8 <_read+0x13a>
|
|
1ed0: 11a010ef jal ra,2fea <iprintf>
|
|
1ed4: 86418793 addi a5,gp,-1948 # 200001a4 <g_Mppt_Para>
|
|
1ed8: 27e8 lbu a0,14(a5)
|
|
1eda: 37d8 lbu a4,13(a5)
|
|
1edc: 47a9 li a5,10
|
|
1ede: 0522 slli a0,a0,0x8
|
|
1ee0: 8d59 or a0,a0,a4
|
|
1ee2: 02f50533 mul a0,a0,a5
|
|
1ee6: 0542 slli a0,a0,0x10
|
|
1ee8: 8141 srli a0,a0,0x10
|
|
1eea: aaafe06f j 194 <__riscv_restore_0>
|
|
|
|
00001eee <SL_ReadRegisterCommunicationMethods>:
|
|
1eee: a82fe2ef jal t0,170 <__riscv_save_0>
|
|
1ef2: 00004537 lui a0,0x4
|
|
1ef6: 16900613 li a2,361
|
|
1efa: 4585 li a1,1
|
|
1efc: 43450513 addi a0,a0,1076 # 4434 <_read+0x1a6>
|
|
1f00: 0ea010ef jal ra,2fea <iprintf>
|
|
1f04: 86418793 addi a5,gp,-1948 # 200001a4 <g_Mppt_Para>
|
|
1f08: 37a8 lbu a0,11(a5)
|
|
1f0a: 27dc lbu a5,12(a5)
|
|
1f0c: 07a2 slli a5,a5,0x8
|
|
1f0e: 8d5d or a0,a0,a5
|
|
1f10: a84fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f14 <SL_ReadRegisterAccessNodeType>:
|
|
1f14: a5cfe2ef jal t0,170 <__riscv_save_0>
|
|
1f18: 00004537 lui a0,0x4
|
|
1f1c: 15d00613 li a2,349
|
|
1f20: 4585 li a1,1
|
|
1f22: 39450513 addi a0,a0,916 # 4394 <_read+0x106>
|
|
1f26: 0c4010ef jal ra,2fea <iprintf>
|
|
1f2a: 86418793 addi a5,gp,-1948 # 200001a4 <g_Mppt_Para>
|
|
1f2e: 3788 lbu a0,9(a5)
|
|
1f30: 27bc lbu a5,10(a5)
|
|
1f32: 07a2 slli a5,a5,0x8
|
|
1f34: 8d5d or a0,a0,a5
|
|
1f36: a5efe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f3a <SL_ReadRegisteraddress>:
|
|
1f3a: a36fe2ef jal t0,170 <__riscv_save_0>
|
|
1f3e: 00004537 lui a0,0x4
|
|
1f42: 15100613 li a2,337
|
|
1f46: 4585 li a1,1
|
|
1f48: 55450513 addi a0,a0,1364 # 4554 <_read+0x2c6>
|
|
1f4c: 09e010ef jal ra,2fea <iprintf>
|
|
1f50: 4501 li a0,0
|
|
1f52: a42fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f56 <SL_ReadRegisterRegistrationStatus>:
|
|
1f56: a1afe2ef jal t0,170 <__riscv_save_0>
|
|
1f5a: 00004537 lui a0,0x4
|
|
1f5e: 14500613 li a2,325
|
|
1f62: 4585 li a1,1
|
|
1f64: 46c50513 addi a0,a0,1132 # 446c <_read+0x1de>
|
|
1f68: 082010ef jal ra,2fea <iprintf>
|
|
1f6c: 8641c503 lbu a0,-1948(gp) # 200001a4 <g_Mppt_Para>
|
|
1f70: 8651c783 lbu a5,-1947(gp) # 200001a5 <g_Mppt_Para+0x1>
|
|
1f74: 07a2 slli a5,a5,0x8
|
|
1f76: 8d5d or a0,a0,a5
|
|
1f78: a1cfe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f7c <SL_MsgProcFunc_Registration_request>:
|
|
1f7c: 9f4fe2ef jal t0,170 <__riscv_save_0>
|
|
1f80: 00004537 lui a0,0x4
|
|
1f84: 842e mv s0,a1
|
|
1f86: 13100613 li a2,305
|
|
1f8a: 4585 li a1,1
|
|
1f8c: 30050513 addi a0,a0,768 # 4300 <_read+0x72>
|
|
1f90: 05a010ef jal ra,2fea <iprintf>
|
|
1f94: 4705 li a4,1
|
|
1f96: 84e188a3 sb a4,-1967(gp) # 20000191 <recvbroadcast_flag>
|
|
1f9a: 8b018513 addi a0,gp,-1872 # 200001f0 <m_recvbroadcast>
|
|
1f9e: 84018423 sb zero,-1976(gp) # 20000188 <RegistrationRequestFlag>
|
|
1fa2: be3ff0ef jal ra,1b84 <TimeSliceOffset_Unregister>
|
|
1fa6: 245c lbu a5,12(s0)
|
|
1fa8: 3454 lbu a3,13(s0)
|
|
1faa: 07a2 slli a5,a5,0x8
|
|
1fac: 8fd5 or a5,a5,a3
|
|
1fae: 86f18223 sb a5,-1948(gp) # 200001a4 <g_Mppt_Para>
|
|
1fb2: 83a1 srli a5,a5,0x8
|
|
1fb4: 86f182a3 sb a5,-1947(gp) # 200001a5 <g_Mppt_Para+0x1>
|
|
1fb8: 80018423 sb zero,-2040(gp) # 20000148 <run_Broadcast>
|
|
1fbc: 400007b7 lui a5,0x40000
|
|
1fc0: 02079223 sh zero,36(a5) # 40000024 <_eusrstack+0x1fffb024>
|
|
1fc4: 4585 li a1,1
|
|
1fc6: 40000537 lui a0,0x40000
|
|
1fca: 86cff0ef jal ra,1036 <TIM_Cmd>
|
|
1fce: 9c6fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001fd2 <SL_MsgProcFunc_Broadcast_Scan>:
|
|
1fd2: 99efe2ef jal t0,170 <__riscv_save_0>
|
|
1fd6: 84a1a623 sw a0,-1972(gp) # 2000018c <g_recvBroadcastDevice>
|
|
1fda: 4715 li a4,5
|
|
1fdc: 84e18823 sb a4,-1968(gp) # 20000190 <g_recvBroadcastRegisterNumber>
|
|
1fe0: 4785 li a5,1
|
|
1fe2: 6605 lui a2,0x1
|
|
1fe4: 000025b7 lui a1,0x2
|
|
1fe8: 8af18823 sb a5,-1872(gp) # 200001f0 <m_recvbroadcast>
|
|
1fec: 4681 li a3,0
|
|
1fee: bb860613 addi a2,a2,-1096 # bb8 <GPIO_IPD_Unused+0xa8>
|
|
1ff2: 5fc58593 addi a1,a1,1532 # 25fc <Task_recvbroadcast>
|
|
1ff6: 8b018513 addi a0,gp,-1872 # 200001f0 <m_recvbroadcast>
|
|
1ffa: 84f18423 sb a5,-1976(gp) # 20000188 <RegistrationRequestFlag>
|
|
1ffe: b49ff0ef jal ra,1b46 <TimeSliceOffset_Register>
|
|
2002: 992fe06f j 194 <__riscv_restore_0>
|
|
|
|
00002006 <CheckFunc>:
|
|
2006: 67c1 lui a5,0x10
|
|
2008: 7669 lui a2,0xffffa
|
|
200a: 4681 li a3,0
|
|
200c: 17fd addi a5,a5,-1
|
|
200e: 0605 addi a2,a2,1
|
|
2010: 01069713 slli a4,a3,0x10
|
|
2014: 8341 srli a4,a4,0x10
|
|
2016: 00b76463 bltu a4,a1,201e <CheckFunc+0x18>
|
|
201a: 853e mv a0,a5
|
|
201c: 8082 ret
|
|
201e: 00d50733 add a4,a0,a3
|
|
2022: 2318 lbu a4,0(a4)
|
|
2024: 8fb9 xor a5,a5,a4
|
|
2026: 4721 li a4,8
|
|
2028: 0017f813 andi a6,a5,1
|
|
202c: 8385 srli a5,a5,0x1
|
|
202e: 00080563 beqz a6,2038 <CheckFunc+0x32>
|
|
2032: 8fb1 xor a5,a5,a2
|
|
2034: 07c2 slli a5,a5,0x10
|
|
2036: 83c1 srli a5,a5,0x10
|
|
2038: 177d addi a4,a4,-1
|
|
203a: 0742 slli a4,a4,0x10
|
|
203c: 8341 srli a4,a4,0x10
|
|
203e: f76d bnez a4,2028 <CheckFunc+0x22>
|
|
2040: 0685 addi a3,a3,1
|
|
2042: b7f9 j 2010 <CheckFunc+0xa>
|
|
|
|
00002044 <SL_MsgProcFunc_Read_Register>:
|
|
2044: 904fe2ef jal t0,148 <__riscv_save_10>
|
|
2048: 00c5c903 lbu s2,12(a1)
|
|
204c: 35dc lbu a5,13(a1)
|
|
204e: 1101 addi sp,sp,-32
|
|
2050: 0922 slli s2,s2,0x8
|
|
2052: 00f96933 or s2,s2,a5
|
|
2056: 0942 slli s2,s2,0x10
|
|
2058: 41095913 srai s2,s2,0x10
|
|
205c: 01091493 slli s1,s2,0x10
|
|
2060: 80c1 srli s1,s1,0x10
|
|
2062: 4795 li a5,5
|
|
2064: 0097ff63 bgeu a5,s1,2082 <SL_MsgProcFunc_Read_Register+0x3e>
|
|
2068: 00004537 lui a0,0x4
|
|
206c: 86a6 mv a3,s1
|
|
206e: 0b900613 li a2,185
|
|
2072: 4585 li a1,1
|
|
2074: 32c50513 addi a0,a0,812 # 432c <_read+0x9e>
|
|
2078: 773000ef jal ra,2fea <iprintf>
|
|
207c: 6105 addi sp,sp,32
|
|
207e: 902fe06f j 180 <__riscv_restore_10>
|
|
2082: 25b4 lbu a3,10(a1)
|
|
2084: 35bc lbu a5,11(a1)
|
|
2086: 06a2 slli a3,a3,0x8
|
|
2088: 8edd or a3,a3,a5
|
|
208a: 20000793 li a5,512
|
|
208e: 00d7fa63 bgeu a5,a3,20a2 <SL_MsgProcFunc_Read_Register+0x5e>
|
|
2092: 00004537 lui a0,0x4
|
|
2096: 0bf00613 li a2,191
|
|
209a: 4585 li a1,1
|
|
209c: 35c50513 addi a0,a0,860 # 435c <_read+0xce>
|
|
20a0: bfe1 j 2078 <SL_MsgProcFunc_Read_Register+0x34>
|
|
20a2: 89aa mv s3,a0
|
|
20a4: ca02 sw zero,20(sp)
|
|
20a6: cc02 sw zero,24(sp)
|
|
20a8: 00011e23 sh zero,28(sp)
|
|
20ac: 01410a93 addi s5,sp,20
|
|
20b0: 8a36 mv s4,a3
|
|
20b2: 20000b37 lui s6,0x20000
|
|
20b6: 40da07b3 sub a5,s4,a3
|
|
20ba: 07c2 slli a5,a5,0x10
|
|
20bc: 83c1 srli a5,a5,0x10
|
|
20be: 0897ec63 bltu a5,s1,2156 <SL_MsgProcFunc_Read_Register+0x112>
|
|
20c2: 87c18413 addi s0,gp,-1924 # 200001bc <rs485_buff>
|
|
20c6: 00c40513 addi a0,s0,12
|
|
20ca: 02600613 li a2,38
|
|
20ce: 4581 li a1,0
|
|
20d0: 8d0fe0ef jal ra,1a0 <memset>
|
|
20d4: 20000737 lui a4,0x20000
|
|
20d8: 02074783 lbu a5,32(a4) # 20000020 <g_slConfigInfo>
|
|
20dc: 012405a3 sb s2,11(s0)
|
|
20e0: 00040523 sb zero,10(s0)
|
|
20e4: a01c sb a5,0(s0)
|
|
20e6: 02070793 addi a5,a4,32
|
|
20ea: 3394 lbu a3,1(a5)
|
|
20ec: 8952 mv s2,s4
|
|
20ee: 00149a93 slli s5,s1,0x1
|
|
20f2: b014 sb a3,1(s0)
|
|
20f4: 23b4 lbu a3,2(a5)
|
|
20f6: 02070a13 addi s4,a4,32
|
|
20fa: a034 sb a3,2(s0)
|
|
20fc: 33b4 lbu a3,3(a5)
|
|
20fe: b034 sb a3,3(s0)
|
|
2100: 23d4 lbu a3,4(a5)
|
|
2102: a054 sb a3,4(s0)
|
|
2104: 33d4 lbu a3,5(a5)
|
|
2106: b054 sb a3,5(s0)
|
|
2108: 23f4 lbu a3,6(a5)
|
|
210a: a074 sb a3,6(s0)
|
|
210c: 33f4 lbu a3,7(a5)
|
|
210e: 279c lbu a5,8(a5)
|
|
2110: b074 sb a3,7(s0)
|
|
2112: a41c sb a5,8(s0)
|
|
2114: 03000793 li a5,48
|
|
2118: b41c sb a5,9(s0)
|
|
211a: 4781 li a5,0
|
|
211c: 88818413 addi s0,gp,-1912 # 200001c8 <rs485_buff+0xc>
|
|
2120: 0557cf63 blt a5,s5,217e <SL_MsgProcFunc_Read_Register+0x13a>
|
|
2124: 00648593 addi a1,s1,6
|
|
2128: 0586 slli a1,a1,0x1
|
|
212a: 0fe5f593 andi a1,a1,254
|
|
212e: 87c18513 addi a0,gp,-1924 # 200001bc <rs485_buff>
|
|
2132: 3dd1 jal 2006 <CheckFunc>
|
|
2134: 00851793 slli a5,a0,0x8
|
|
2138: 8121 srli a0,a0,0x8
|
|
213a: 8d5d or a0,a0,a5
|
|
213c: 009a4783 lbu a5,9(s4)
|
|
2140: 9456 add s0,s0,s5
|
|
2142: a00a sh a0,0(s0)
|
|
2144: a03c sb a5,2(s0)
|
|
2146: 010a8613 addi a2,s5,16
|
|
214a: 87c18593 addi a1,gp,-1924 # 200001bc <rs485_buff>
|
|
214e: 854e mv a0,s3
|
|
2150: 7e4000ef jal ra,2934 <uart_dev_write>
|
|
2154: b725 j 207c <SL_MsgProcFunc_Read_Register+0x38>
|
|
2156: 060b0413 addi s0,s6,96 # 20000060 <g_RegTblR>
|
|
215a: 04840b93 addi s7,s0,72
|
|
215e: 401c lw a5,0(s0)
|
|
2160: 01479963 bne a5,s4,2172 <SL_MsgProcFunc_Read_Register+0x12e>
|
|
2164: 405c lw a5,4(s0)
|
|
2166: 4501 li a0,0
|
|
2168: c636 sw a3,12(sp)
|
|
216a: 9782 jalr a5
|
|
216c: 46b2 lw a3,12(sp)
|
|
216e: 00aa9023 sh a0,0(s5)
|
|
2172: 0421 addi s0,s0,8
|
|
2174: fe8b95e3 bne s7,s0,215e <SL_MsgProcFunc_Read_Register+0x11a>
|
|
2178: 0a89 addi s5,s5,2
|
|
217a: 0a05 addi s4,s4,1
|
|
217c: bf2d j 20b6 <SL_MsgProcFunc_Read_Register+0x72>
|
|
217e: 1010 addi a2,sp,32
|
|
2180: 0fe7f713 andi a4,a5,254
|
|
2184: 9732 add a4,a4,a2
|
|
2186: 0017f613 andi a2,a5,1
|
|
218a: 00f406b3 add a3,s0,a5
|
|
218e: ff475703 lhu a4,-12(a4)
|
|
2192: e211 bnez a2,2196 <SL_MsgProcFunc_Read_Register+0x152>
|
|
2194: 8321 srli a4,a4,0x8
|
|
2196: 0785 addi a5,a5,1
|
|
2198: a298 sb a4,0(a3)
|
|
219a: 0ff7f793 andi a5,a5,255
|
|
219e: b749 j 2120 <SL_MsgProcFunc_Read_Register+0xdc>
|
|
|
|
000021a0 <randomDelay>:
|
|
21a0: fd1fd2ef jal t0,170 <__riscv_save_0>
|
|
21a4: 40001537 lui a0,0x40001
|
|
21a8: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
21ac: f27fe0ef jal ra,10d2 <TIM_GetCounter>
|
|
21b0: 75b000ef jal ra,310a <srand>
|
|
21b4: 7ad000ef jal ra,3160 <rand>
|
|
21b8: 0f100793 li a5,241
|
|
21bc: 02f56533 rem a0,a0,a5
|
|
21c0: 47a9 li a5,10
|
|
21c2: 0529 addi a0,a0,10
|
|
21c4: 02f50533 mul a0,a0,a5
|
|
21c8: fcdfd06f j 194 <__riscv_restore_0>
|
|
|
|
000021cc <Check_485_bus_busy>:
|
|
21cc: f8bfd2ef jal t0,156 <__riscv_save_4>
|
|
21d0: 8541a703 lw a4,-1964(gp) # 20000194 <g_bat485_uart3_handle>
|
|
21d4: 842a mv s0,a0
|
|
21d6: 84be mv s1,a5
|
|
21d8: 4605 li a2,1
|
|
21da: 52500593 li a1,1317
|
|
21de: 04a71c63 bne a4,a0,2236 <Check_485_bus_busy+0x6a>
|
|
21e2: 40005537 lui a0,0x40005
|
|
21e6: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
21ea: ff5fe0ef jal ra,11de <USART_ITConfig>
|
|
21ee: 8522 mv a0,s0
|
|
21f0: 7d6000ef jal ra,29c6 <ring_queue_length>
|
|
21f4: 01051913 slli s2,a0,0x10
|
|
21f8: 4509 li a0,2
|
|
21fa: a95ff0ef jal ra,1c8e <Delay_Ms>
|
|
21fe: 8522 mv a0,s0
|
|
2200: 7c6000ef jal ra,29c6 <ring_queue_length>
|
|
2204: 8541a783 lw a5,-1964(gp) # 20000194 <g_bat485_uart3_handle>
|
|
2208: 01051993 slli s3,a0,0x10
|
|
220c: 01095913 srli s2,s2,0x10
|
|
2210: 0109d993 srli s3,s3,0x10
|
|
2214: 4601 li a2,0
|
|
2216: 52500593 li a1,1317
|
|
221a: 40005537 lui a0,0x40005
|
|
221e: 02879163 bne a5,s0,2240 <Check_485_bus_busy+0x74>
|
|
2222: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2226: fb9fe0ef jal ra,11de <USART_ITConfig>
|
|
222a: 41390533 sub a0,s2,s3
|
|
222e: 00a03533 snez a0,a0
|
|
2232: f59fd06f j 18a <__riscv_restore_4>
|
|
2236: 40005537 lui a0,0x40005
|
|
223a: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
223e: b775 j 21ea <Check_485_bus_busy+0x1e>
|
|
2240: c0050513 addi a0,a0,-1024
|
|
2244: b7cd j 2226 <Check_485_bus_busy+0x5a>
|
|
|
|
00002246 <FRT_MsgHandler>:
|
|
2246: f11fd2ef jal t0,156 <__riscv_save_4>
|
|
224a: 20000437 lui s0,0x20000
|
|
224e: 04040413 addi s0,s0,64 # 20000040 <g_MsgTbl>
|
|
2252: 89aa mv s3,a0
|
|
2254: 84ae mv s1,a1
|
|
2256: 8a32 mv s4,a2
|
|
2258: 02040913 addi s2,s0,32
|
|
225c: 3498 lbu a4,9(s1)
|
|
225e: 401c lw a5,0(s0)
|
|
2260: 00f71763 bne a4,a5,226e <FRT_MsgHandler+0x28>
|
|
2264: 405c lw a5,4(s0)
|
|
2266: 8652 mv a2,s4
|
|
2268: 85a6 mv a1,s1
|
|
226a: 854e mv a0,s3
|
|
226c: 9782 jalr a5
|
|
226e: 0421 addi s0,s0,8
|
|
2270: ff2416e3 bne s0,s2,225c <FRT_MsgHandler+0x16>
|
|
2274: f17fd06f j 18a <__riscv_restore_4>
|
|
|
|
00002278 <read_and_process_uart_data>:
|
|
2278: ec9fd2ef jal t0,140 <__riscv_save_12>
|
|
227c: 1141 addi sp,sp,-16
|
|
227e: 8caa mv s9,a0
|
|
2280: 708000ef jal ra,2988 <uart_dev_char_present>
|
|
2284: 18050663 beqz a0,2410 <read_and_process_uart_data+0x198>
|
|
2288: 4551 li a0,20
|
|
228a: a05ff0ef jal ra,1c8e <Delay_Ms>
|
|
228e: 03200613 li a2,50
|
|
2292: 4581 li a1,0
|
|
2294: 87c18513 addi a0,gp,-1924 # 200001bc <rs485_buff>
|
|
2298: 87c18413 addi s0,gp,-1924 # 200001bc <rs485_buff>
|
|
229c: 20000db7 lui s11,0x20000
|
|
22a0: f01fd0ef jal ra,1a0 <memset>
|
|
22a4: 4a81 li s5,0
|
|
22a6: 4981 li s3,0
|
|
22a8: 4481 li s1,0
|
|
22aa: 4a01 li s4,0
|
|
22ac: 00140b13 addi s6,s0,1
|
|
22b0: 020d8b93 addi s7,s11,32 # 20000020 <g_slConfigInfo>
|
|
22b4: 8566 mv a0,s9
|
|
22b6: 710000ef jal ra,29c6 <ring_queue_length>
|
|
22ba: 14050b63 beqz a0,2410 <read_and_process_uart_data+0x198>
|
|
22be: 8566 mv a0,s9
|
|
22c0: 6e0000ef jal ra,29a0 <uart_dev_in_char>
|
|
22c4: 87c18793 addi a5,gp,-1924 # 200001bc <rs485_buff>
|
|
22c8: 97d2 add a5,a5,s4
|
|
22ca: c63e sw a5,12(sp)
|
|
22cc: a388 sb a0,0(a5)
|
|
22ce: 001a0c13 addi s8,s4,1
|
|
22d2: 4789 li a5,2
|
|
22d4: 00fc0463 beq s8,a5,22dc <read_and_process_uart_data+0x64>
|
|
22d8: 2e048463 beqz s1,25c0 <read_and_process_uart_data+0x348>
|
|
22dc: 2018 lbu a4,0(s0)
|
|
22de: 020dc783 lbu a5,32(s11)
|
|
22e2: 16f71863 bne a4,a5,2452 <read_and_process_uart_data+0x1da>
|
|
22e6: 3018 lbu a4,1(s0)
|
|
22e8: 001bc783 lbu a5,1(s7)
|
|
22ec: 16f71363 bne a4,a5,2452 <read_and_process_uart_data+0x1da>
|
|
22f0: 00004537 lui a0,0x4
|
|
22f4: 1e800613 li a2,488
|
|
22f8: 4585 li a1,1
|
|
22fa: 58050513 addi a0,a0,1408 # 4580 <_read+0x2f2>
|
|
22fe: 4ed000ef jal ra,2fea <iprintf>
|
|
2302: 47a5 li a5,9
|
|
2304: 06fc1863 bne s8,a5,2374 <read_and_process_uart_data+0xfc>
|
|
2308: 8651c783 lbu a5,-1947(gp) # 200001a5 <g_Mppt_Para+0x1>
|
|
230c: 8641c703 lbu a4,-1948(gp) # 200001a4 <g_Mppt_Para>
|
|
2310: 07a2 slli a5,a5,0x8
|
|
2312: 8fd9 or a5,a5,a4
|
|
2314: 4709 li a4,2
|
|
2316: 10e79063 bne a5,a4,2416 <read_and_process_uart_data+0x19e>
|
|
231a: 2038 lbu a4,2(s0)
|
|
231c: 002bc783 lbu a5,2(s7)
|
|
2320: 0ef71b63 bne a4,a5,2416 <read_and_process_uart_data+0x19e>
|
|
2324: 3038 lbu a4,3(s0)
|
|
2326: 003bc783 lbu a5,3(s7)
|
|
232a: 0ef71663 bne a4,a5,2416 <read_and_process_uart_data+0x19e>
|
|
232e: 2058 lbu a4,4(s0)
|
|
2330: 004bc783 lbu a5,4(s7)
|
|
2334: 0ef71163 bne a4,a5,2416 <read_and_process_uart_data+0x19e>
|
|
2338: 3058 lbu a4,5(s0)
|
|
233a: 005bc783 lbu a5,5(s7)
|
|
233e: 0cf71c63 bne a4,a5,2416 <read_and_process_uart_data+0x19e>
|
|
2342: 2078 lbu a4,6(s0)
|
|
2344: 006bc783 lbu a5,6(s7)
|
|
2348: 0cf71763 bne a4,a5,2416 <read_and_process_uart_data+0x19e>
|
|
234c: 3078 lbu a4,7(s0)
|
|
234e: 007bc783 lbu a5,7(s7)
|
|
2352: 0cf71263 bne a4,a5,2416 <read_and_process_uart_data+0x19e>
|
|
2356: 2418 lbu a4,8(s0)
|
|
2358: 008bc783 lbu a5,8(s7)
|
|
235c: 0af71d63 bne a4,a5,2416 <read_and_process_uart_data+0x19e>
|
|
2360: 00004537 lui a0,0x4
|
|
2364: 20100613 li a2,513
|
|
2368: 4585 li a1,1
|
|
236a: 5ac50513 addi a0,a0,1452 # 45ac <_read+0x31e>
|
|
236e: 47d000ef jal ra,2fea <iprintf>
|
|
2372: a021 j 237a <read_and_process_uart_data+0x102>
|
|
2374: 4785 li a5,1
|
|
2376: f897e9e3 bltu a5,s1,2308 <read_and_process_uart_data+0x90>
|
|
237a: 47a9 li a5,10
|
|
237c: 00fc0563 beq s8,a5,2386 <read_and_process_uart_data+0x10e>
|
|
2380: 4789 li a5,2
|
|
2382: 1697fc63 bgeu a5,s1,24fa <read_and_process_uart_data+0x282>
|
|
2386: 8651c783 lbu a5,-1947(gp) # 200001a5 <g_Mppt_Para+0x1>
|
|
238a: 8641c703 lbu a4,-1948(gp) # 200001a4 <g_Mppt_Para>
|
|
238e: 3414 lbu a3,9(s0)
|
|
2390: 07a2 slli a5,a5,0x8
|
|
2392: 8fd9 or a5,a5,a4
|
|
2394: 4709 li a4,2
|
|
2396: 0ee79363 bne a5,a4,247c <read_and_process_uart_data+0x204>
|
|
239a: 03000793 li a5,48
|
|
239e: 0cf69163 bne a3,a5,2460 <read_and_process_uart_data+0x1e8>
|
|
23a2: 00004537 lui a0,0x4
|
|
23a6: 26200613 li a2,610
|
|
23aa: 4585 li a1,1
|
|
23ac: 60c50513 addi a0,a0,1548 # 460c <_read+0x37e>
|
|
23b0: 43b000ef jal ra,2fea <iprintf>
|
|
23b4: 4a81 li s5,0
|
|
23b6: 49c5 li s3,17
|
|
23b8: 8081c783 lbu a5,-2040(gp) # 20000148 <run_Broadcast>
|
|
23bc: 12078f63 beqz a5,24fa <read_and_process_uart_data+0x282>
|
|
23c0: 3414 lbu a3,9(s0)
|
|
23c2: 0a000793 li a5,160
|
|
23c6: 27300613 li a2,627
|
|
23ca: 0af68f63 beq a3,a5,2488 <read_and_process_uart_data+0x210>
|
|
23ce: 0a100793 li a5,161
|
|
23d2: 27b00613 li a2,635
|
|
23d6: 0ef68f63 beq a3,a5,24d4 <read_and_process_uart_data+0x25c>
|
|
23da: 4709 li a4,2
|
|
23dc: 87a6 mv a5,s1
|
|
23de: 00e4f363 bgeu s1,a4,23e4 <read_and_process_uart_data+0x16c>
|
|
23e2: 4789 li a5,2
|
|
23e4: 0ff7f493 andi s1,a5,255
|
|
23e8: 28600613 li a2,646
|
|
23ec: 000047b7 lui a5,0x4
|
|
23f0: 4585 li a1,1
|
|
23f2: 6a078513 addi a0,a5,1696 # 46a0 <_read+0x412>
|
|
23f6: 3f5000ef jal ra,2fea <iprintf>
|
|
23fa: 8652 mv a2,s4
|
|
23fc: 85da mv a1,s6
|
|
23fe: 87c18513 addi a0,gp,-1924 # 200001bc <rs485_buff>
|
|
2402: 337000ef jal ra,2f38 <memcpy>
|
|
2406: 4a81 li s5,0
|
|
2408: 03000793 li a5,48
|
|
240c: eb47f4e3 bgeu a5,s4,22b4 <read_and_process_uart_data+0x3c>
|
|
2410: 0141 addi sp,sp,16
|
|
2412: d6bfd06f j 17c <__riscv_restore_12>
|
|
2416: 8481c783 lbu a5,-1976(gp) # 20000188 <RegistrationRequestFlag>
|
|
241a: f3a5 bnez a5,237a <read_and_process_uart_data+0x102>
|
|
241c: 3038 lbu a4,3(s0)
|
|
241e: 203c lbu a5,2(s0)
|
|
2420: 8ff9 and a5,a5,a4
|
|
2422: 2058 lbu a4,4(s0)
|
|
2424: 8ff9 and a5,a5,a4
|
|
2426: 3058 lbu a4,5(s0)
|
|
2428: 8ff9 and a5,a5,a4
|
|
242a: 2078 lbu a4,6(s0)
|
|
242c: 8ff9 and a5,a5,a4
|
|
242e: 3078 lbu a4,7(s0)
|
|
2430: 8ff9 and a5,a5,a4
|
|
2432: 2418 lbu a4,8(s0)
|
|
2434: 8ff9 and a5,a5,a4
|
|
2436: 0ff00713 li a4,255
|
|
243a: 00e79a63 bne a5,a4,244e <read_and_process_uart_data+0x1d6>
|
|
243e: 00004537 lui a0,0x4
|
|
2442: 21600613 li a2,534
|
|
2446: 4585 li a1,1
|
|
2448: 5d850513 addi a0,a0,1496 # 45d8 <_read+0x34a>
|
|
244c: b70d j 236e <read_and_process_uart_data+0xf6>
|
|
244e: e091 bnez s1,2452 <read_and_process_uart_data+0x1da>
|
|
2450: 4485 li s1,1
|
|
2452: 8652 mv a2,s4
|
|
2454: 85da mv a1,s6
|
|
2456: 87c18513 addi a0,gp,-1924 # 200001bc <rs485_buff>
|
|
245a: 2df000ef jal ra,2f38 <memcpy>
|
|
245e: b76d j 2408 <read_and_process_uart_data+0x190>
|
|
2460: 47c1 li a5,16
|
|
2462: f4f69be3 bne a3,a5,23b8 <read_and_process_uart_data+0x140>
|
|
2466: 00004537 lui a0,0x4
|
|
246a: 26a00613 li a2,618
|
|
246e: 4585 li a1,1
|
|
2470: 63050513 addi a0,a0,1584 # 4630 <_read+0x3a2>
|
|
2474: 377000ef jal ra,2fea <iprintf>
|
|
2478: 4a85 li s5,1
|
|
247a: bf3d j 23b8 <read_and_process_uart_data+0x140>
|
|
247c: 0a000793 li a5,160
|
|
2480: 04f69463 bne a3,a5,24c8 <read_and_process_uart_data+0x250>
|
|
2484: 29300613 li a2,659
|
|
2488: 00004537 lui a0,0x4
|
|
248c: 4585 li a1,1
|
|
248e: 65450513 addi a0,a0,1620 # 4654 <_read+0x3c6>
|
|
2492: 359000ef jal ra,2fea <iprintf>
|
|
2496: 4a81 li s5,0
|
|
2498: 49b5 li s3,13
|
|
249a: 133c1163 bne s8,s3,25bc <read_and_process_uart_data+0x344>
|
|
249e: 341c lbu a5,9(s0)
|
|
24a0: 03000713 li a4,48
|
|
24a4: 06e79663 bne a5,a4,2510 <read_and_process_uart_data+0x298>
|
|
24a8: ffd98593 addi a1,s3,-3
|
|
24ac: 0ff5f593 andi a1,a1,255
|
|
24b0: 87c18513 addi a0,gp,-1924 # 200001bc <rs485_buff>
|
|
24b4: b53ff0ef jal ra,2006 <CheckFunc>
|
|
24b8: 247c lbu a5,14(s0)
|
|
24ba: 3478 lbu a4,15(s0)
|
|
24bc: 07a2 slli a5,a5,0x8
|
|
24be: 8fd9 or a5,a5,a4
|
|
24c0: 0aa79963 bne a5,a0,2572 <read_and_process_uart_data+0x2fa>
|
|
24c4: 2818 lbu a4,16(s0)
|
|
24c6: a8a5 j 253e <read_and_process_uart_data+0x2c6>
|
|
24c8: 0a100793 li a5,161
|
|
24cc: 00f69e63 bne a3,a5,24e8 <read_and_process_uart_data+0x270>
|
|
24d0: 29b00613 li a2,667
|
|
24d4: 000047b7 lui a5,0x4
|
|
24d8: 4585 li a1,1
|
|
24da: 67878513 addi a0,a5,1656 # 4678 <_read+0x3ea>
|
|
24de: 30d000ef jal ra,2fea <iprintf>
|
|
24e2: 4a81 li s5,0
|
|
24e4: 49c5 li s3,17
|
|
24e6: bf55 j 249a <read_and_process_uart_data+0x222>
|
|
24e8: 87a6 mv a5,s1
|
|
24ea: 00e4f363 bgeu s1,a4,24f0 <read_and_process_uart_data+0x278>
|
|
24ee: 4789 li a5,2
|
|
24f0: 0ff7f493 andi s1,a5,255
|
|
24f4: 2a600613 li a2,678
|
|
24f8: bdd5 j 23ec <read_and_process_uart_data+0x174>
|
|
24fa: fa0a80e3 beqz s5,249a <read_and_process_uart_data+0x222>
|
|
24fe: 47b9 li a5,14
|
|
2500: f8fc1de3 bne s8,a5,249a <read_and_process_uart_data+0x222>
|
|
2504: 00d44983 lbu s3,13(s0)
|
|
2508: 4a39 li s4,14
|
|
250a: 0986 slli s3,s3,0x1
|
|
250c: 09c5 addi s3,s3,17
|
|
250e: b35d j 22b4 <read_and_process_uart_data+0x3c>
|
|
2510: 4741 li a4,16
|
|
2512: 02e79a63 bne a5,a4,2546 <read_and_process_uart_data+0x2ce>
|
|
2516: ffd98593 addi a1,s3,-3
|
|
251a: 0ff5f593 andi a1,a1,255
|
|
251e: 87c18513 addi a0,gp,-1924 # 200001bc <rs485_buff>
|
|
2522: ae5ff0ef jal ra,2006 <CheckFunc>
|
|
2526: 01440733 add a4,s0,s4
|
|
252a: ffe74783 lbu a5,-2(a4)
|
|
252e: fff74703 lbu a4,-1(a4)
|
|
2532: 07a2 slli a5,a5,0x8
|
|
2534: 8fd9 or a5,a5,a4
|
|
2536: 02a79e63 bne a5,a0,2572 <read_and_process_uart_data+0x2fa>
|
|
253a: 47b2 lw a5,12(sp)
|
|
253c: 2398 lbu a4,0(a5)
|
|
253e: 47d9 li a5,22
|
|
2540: 02f71963 bne a4,a5,2572 <read_and_process_uart_data+0x2fa>
|
|
2544: a8a1 j 259c <read_and_process_uart_data+0x324>
|
|
2546: 0a000713 li a4,160
|
|
254a: 06e79363 bne a5,a4,25b0 <read_and_process_uart_data+0x338>
|
|
254e: ffd98593 addi a1,s3,-3
|
|
2552: 0ff5f593 andi a1,a1,255
|
|
2556: 87c18513 addi a0,gp,-1924 # 200001bc <rs485_buff>
|
|
255a: aadff0ef jal ra,2006 <CheckFunc>
|
|
255e: 243c lbu a5,10(s0)
|
|
2560: 3438 lbu a4,11(s0)
|
|
2562: 07a2 slli a5,a5,0x8
|
|
2564: 8fd9 or a5,a5,a4
|
|
2566: 00a79663 bne a5,a0,2572 <read_and_process_uart_data+0x2fa>
|
|
256a: 2458 lbu a4,12(s0)
|
|
256c: 47d9 li a5,22
|
|
256e: 00f70a63 beq a4,a5,2582 <read_and_process_uart_data+0x30a>
|
|
2572: 470d li a4,3
|
|
2574: 87a6 mv a5,s1
|
|
2576: 00e4f363 bgeu s1,a4,257c <read_and_process_uart_data+0x304>
|
|
257a: 478d li a5,3
|
|
257c: 0ff7f493 andi s1,a5,255
|
|
2580: bdc9 j 2452 <read_and_process_uart_data+0x1da>
|
|
2582: 8541a783 lw a5,-1964(gp) # 20000194 <g_bat485_uart3_handle>
|
|
2586: 4601 li a2,0
|
|
2588: 52500593 li a1,1317
|
|
258c: 40005537 lui a0,0x40005
|
|
2590: 00fc9d63 bne s9,a5,25aa <read_and_process_uart_data+0x332>
|
|
2594: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2598: c47fe0ef jal ra,11de <USART_ITConfig>
|
|
259c: 864e mv a2,s3
|
|
259e: 87c18593 addi a1,gp,-1924 # 200001bc <rs485_buff>
|
|
25a2: 8566 mv a0,s9
|
|
25a4: ca3ff0ef jal ra,2246 <FRT_MsgHandler>
|
|
25a8: b5a5 j 2410 <read_and_process_uart_data+0x198>
|
|
25aa: c0050513 addi a0,a0,-1024
|
|
25ae: b7ed j 2598 <read_and_process_uart_data+0x320>
|
|
25b0: 0a100713 li a4,161
|
|
25b4: eee78ae3 beq a5,a4,24a8 <read_and_process_uart_data+0x230>
|
|
25b8: 8a4e mv s4,s3
|
|
25ba: b5b9 j 2408 <read_and_process_uart_data+0x190>
|
|
25bc: 8a62 mv s4,s8
|
|
25be: b5a9 j 2408 <read_and_process_uart_data+0x190>
|
|
25c0: 47a5 li a5,9
|
|
25c2: dafc1ce3 bne s8,a5,237a <read_and_process_uart_data+0x102>
|
|
25c6: b389 j 2308 <read_and_process_uart_data+0x90>
|
|
|
|
000025c8 <Task_RunLED>:
|
|
25c8: ba9fd2ef jal t0,170 <__riscv_save_0>
|
|
25cc: 84918793 addi a5,gp,-1975 # 20000189 <flag.5754>
|
|
25d0: 2390 lbu a2,0(a5)
|
|
25d2: 40011537 lui a0,0x40011
|
|
25d6: 10000593 li a1,256
|
|
25da: 00163613 seqz a2,a2
|
|
25de: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
25e2: a390 sb a2,0(a5)
|
|
25e4: bcafe0ef jal ra,9ae <GPIO_WriteBit>
|
|
25e8: badfd06f j 194 <__riscv_restore_0>
|
|
|
|
000025ec <Task_usart>:
|
|
25ec: b85fd2ef jal t0,170 <__riscv_save_0>
|
|
25f0: 8581a503 lw a0,-1960(gp) # 20000198 <g_gw485_uart4_handle>
|
|
25f4: c85ff0ef jal ra,2278 <read_and_process_uart_data>
|
|
25f8: b9dfd06f j 194 <__riscv_restore_0>
|
|
|
|
000025fc <Task_recvbroadcast>:
|
|
25fc: b5bfd2ef jal t0,156 <__riscv_save_4>
|
|
2600: 85218713 addi a4,gp,-1966 # 20000192 <run_number.5784>
|
|
2604: 231c lbu a5,0(a4)
|
|
2606: 1101 addi sp,sp,-32
|
|
2608: 00178693 addi a3,a5,1
|
|
260c: 17f5 addi a5,a5,-3
|
|
260e: a314 sb a3,0(a4)
|
|
2610: 0ff7f793 andi a5,a5,255
|
|
2614: 0fb00693 li a3,251
|
|
2618: 00f6ed63 bltu a3,a5,2632 <Task_recvbroadcast+0x36>
|
|
261c: 8b018513 addi a0,gp,-1872 # 200001f0 <m_recvbroadcast>
|
|
2620: 84018423 sb zero,-1976(gp) # 20000188 <RegistrationRequestFlag>
|
|
2624: 00070023 sb zero,0(a4)
|
|
2628: d5cff0ef jal ra,1b84 <TimeSliceOffset_Unregister>
|
|
262c: 6105 addi sp,sp,32
|
|
262e: b5dfd06f j 18a <__riscv_restore_4>
|
|
2632: 4641 li a2,16
|
|
2634: 4581 li a1,0
|
|
2636: 00e10513 addi a0,sp,14
|
|
263a: b67fd0ef jal ra,1a0 <memset>
|
|
263e: 20000437 lui s0,0x20000
|
|
2642: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
2646: 02040413 addi s0,s0,32
|
|
264a: 45dd li a1,23
|
|
264c: 825c sb a5,4(sp)
|
|
264e: 301c lbu a5,1(s0)
|
|
2650: 0048 addi a0,sp,4
|
|
2652: 85218493 addi s1,gp,-1966 # 20000192 <run_number.5784>
|
|
2656: 82dc sb a5,5(sp)
|
|
2658: 57fd li a5,-1
|
|
265a: 837c sh a5,6(sp)
|
|
265c: 57fd li a5,-1
|
|
265e: c43e sw a5,8(sp)
|
|
2660: 77e9 lui a5,0xffffa
|
|
2662: 1ff78793 addi a5,a5,511 # ffffa1ff <_eusrstack+0xdfff51ff>
|
|
2666: 867c sh a5,12(sp)
|
|
2668: 8501c783 lbu a5,-1968(gp) # 20000190 <g_recvBroadcastRegisterNumber>
|
|
266c: 87dc sb a5,15(sp)
|
|
266e: 8651c703 lbu a4,-1947(gp) # 200001a5 <g_Mppt_Para+0x1>
|
|
2672: 8641c683 lbu a3,-1948(gp) # 200001a4 <g_Mppt_Para>
|
|
2676: 86418793 addi a5,gp,-1948 # 200001a4 <g_Mppt_Para>
|
|
267a: 0722 slli a4,a4,0x8
|
|
267c: 8f55 or a4,a4,a3
|
|
267e: 00e108a3 sb a4,17(sp)
|
|
2682: 00875693 srli a3,a4,0x8
|
|
2686: 2038 lbu a4,2(s0)
|
|
2688: 00d10823 sb a3,16(sp)
|
|
268c: 00e10923 sb a4,18(sp)
|
|
2690: 3038 lbu a4,3(s0)
|
|
2692: 00e109a3 sb a4,19(sp)
|
|
2696: 2058 lbu a4,4(s0)
|
|
2698: 00e10a23 sb a4,20(sp)
|
|
269c: 3058 lbu a4,5(s0)
|
|
269e: 00e10aa3 sb a4,21(sp)
|
|
26a2: 2078 lbu a4,6(s0)
|
|
26a4: 00e10b23 sb a4,22(sp)
|
|
26a8: 3078 lbu a4,7(s0)
|
|
26aa: 00e10ba3 sb a4,23(sp)
|
|
26ae: 2418 lbu a4,8(s0)
|
|
26b0: 00e10c23 sb a4,24(sp)
|
|
26b4: 3798 lbu a4,9(a5)
|
|
26b6: 27bc lbu a5,10(a5)
|
|
26b8: 07a2 slli a5,a5,0x8
|
|
26ba: 8fd9 or a5,a5,a4
|
|
26bc: 0087d713 srli a4,a5,0x8
|
|
26c0: 00f10d23 sb a5,26(sp)
|
|
26c4: 00e10ca3 sb a4,25(sp)
|
|
26c8: 93fff0ef jal ra,2006 <CheckFunc>
|
|
26cc: 00855793 srli a5,a0,0x8
|
|
26d0: 00f10da3 sb a5,27(sp)
|
|
26d4: 341c lbu a5,9(s0)
|
|
26d6: 00a10e23 sb a0,28(sp)
|
|
26da: 4429 li s0,10
|
|
26dc: 00f10ea3 sb a5,29(sp)
|
|
26e0: ac1ff0ef jal ra,21a0 <randomDelay>
|
|
26e4: daaff0ef jal ra,1c8e <Delay_Ms>
|
|
26e8: 84c18913 addi s2,gp,-1972 # 2000018c <g_recvBroadcastDevice>
|
|
26ec: 00092503 lw a0,0(s2)
|
|
26f0: addff0ef jal ra,21cc <Check_485_bus_busy>
|
|
26f4: e521 bnez a0,273c <Task_recvbroadcast+0x140>
|
|
26f6: 85118793 addi a5,gp,-1967 # 20000191 <recvbroadcast_flag>
|
|
26fa: 2394 lbu a3,0(a5)
|
|
26fc: 4705 li a4,1
|
|
26fe: 00e69763 bne a3,a4,270c <Task_recvbroadcast+0x110>
|
|
2702: 00078023 sb zero,0(a5)
|
|
2706: 00048023 sb zero,0(s1)
|
|
270a: b70d j 262c <Task_recvbroadcast+0x30>
|
|
270c: 00092503 lw a0,0(s2)
|
|
2710: 466d li a2,27
|
|
2712: 004c addi a1,sp,4
|
|
2714: 2405 jal 2934 <uart_dev_write>
|
|
2716: 00092703 lw a4,0(s2)
|
|
271a: 8541a783 lw a5,-1964(gp) # 20000194 <g_bat485_uart3_handle>
|
|
271e: 4605 li a2,1
|
|
2720: 52500593 li a1,1317
|
|
2724: 40005537 lui a0,0x40005
|
|
2728: 00f71763 bne a4,a5,2736 <Task_recvbroadcast+0x13a>
|
|
272c: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2730: aaffe0ef jal ra,11de <USART_ITConfig>
|
|
2734: bde5 j 262c <Task_recvbroadcast+0x30>
|
|
2736: c0050513 addi a0,a0,-1024
|
|
273a: bfdd j 2730 <Task_recvbroadcast+0x134>
|
|
273c: 147d addi s0,s0,-1
|
|
273e: 0ff47413 andi s0,s0,255
|
|
2742: fc59 bnez s0,26e0 <Task_recvbroadcast+0xe4>
|
|
2744: b5e5 j 262c <Task_recvbroadcast+0x30>
|
|
|
|
00002746 <g_Mppt_Para_Init>:
|
|
2746: 20000737 lui a4,0x20000
|
|
274a: 02070713 addi a4,a4,32 # 20000020 <g_slConfigInfo>
|
|
274e: 2334 lbu a3,2(a4)
|
|
2750: 86018223 sb zero,-1948(gp) # 200001a4 <g_Mppt_Para>
|
|
2754: 860182a3 sb zero,-1947(gp) # 200001a5 <g_Mppt_Para+0x1>
|
|
2758: 86418793 addi a5,gp,-1948 # 200001a4 <g_Mppt_Para>
|
|
275c: a3b4 sb a3,2(a5)
|
|
275e: 3334 lbu a3,3(a4)
|
|
2760: b3b4 sb a3,3(a5)
|
|
2762: 2354 lbu a3,4(a4)
|
|
2764: a3d4 sb a3,4(a5)
|
|
2766: 3354 lbu a3,5(a4)
|
|
2768: b3d4 sb a3,5(a5)
|
|
276a: 2374 lbu a3,6(a4)
|
|
276c: a3f4 sb a3,6(a5)
|
|
276e: 3374 lbu a3,7(a4)
|
|
2770: b3f4 sb a3,7(a5)
|
|
2772: 2714 lbu a3,8(a4)
|
|
2774: a794 sb a3,8(a5)
|
|
2776: 3734 lbu a3,11(a4)
|
|
2778: 2730 lbu a2,10(a4)
|
|
277a: 06a2 slli a3,a3,0x8
|
|
277c: 8ed1 or a3,a3,a2
|
|
277e: b794 sb a3,9(a5)
|
|
2780: 82a1 srli a3,a3,0x8
|
|
2782: a7b4 sb a3,10(a5)
|
|
2784: 2754 lbu a3,12(a4)
|
|
2786: 3758 lbu a4,13(a4)
|
|
2788: 000786a3 sb zero,13(a5)
|
|
278c: 00078723 sb zero,14(a5)
|
|
2790: 0722 slli a4,a4,0x8
|
|
2792: 8f55 or a4,a4,a3
|
|
2794: b7b8 sb a4,11(a5)
|
|
2796: 8321 srli a4,a4,0x8
|
|
2798: a7d8 sb a4,12(a5)
|
|
279a: 000787a3 sb zero,15(a5)
|
|
279e: 00078823 sb zero,16(a5)
|
|
27a2: 000788a3 sb zero,17(a5)
|
|
27a6: 00078923 sb zero,18(a5)
|
|
27aa: 000789a3 sb zero,19(a5)
|
|
27ae: 00078a23 sb zero,20(a5)
|
|
27b2: 00078aa3 sb zero,21(a5)
|
|
27b6: 00078b23 sb zero,22(a5)
|
|
27ba: 8082 ret
|
|
|
|
000027bc <task_Init>:
|
|
27bc: 9b5fd2ef jal t0,170 <__riscv_save_0>
|
|
27c0: dc2ff0ef jal ra,1d82 <read_config_info>
|
|
27c4: 3749 jal 2746 <g_Mppt_Para_Init>
|
|
27c6: 000025b7 lui a1,0x2
|
|
27ca: 4681 li a3,0
|
|
27cc: 3e800613 li a2,1000
|
|
27d0: 5c858593 addi a1,a1,1480 # 25c8 <Task_RunLED>
|
|
27d4: 8c018513 addi a0,gp,-1856 # 20000200 <m_runled>
|
|
27d8: b6eff0ef jal ra,1b46 <TimeSliceOffset_Register>
|
|
27dc: 000025b7 lui a1,0x2
|
|
27e0: 4681 li a3,0
|
|
27e2: 06400613 li a2,100
|
|
27e6: 5ec58593 addi a1,a1,1516 # 25ec <Task_usart>
|
|
27ea: 8d018513 addi a0,gp,-1840 # 20000210 <m_usart>
|
|
27ee: b58ff0ef jal ra,1b46 <TimeSliceOffset_Register>
|
|
27f2: bc0ff0ef jal ra,1bb2 <TimeSliceOffset_Start>
|
|
27f6: 99ffd06f j 194 <__riscv_restore_0>
|
|
|
|
000027fa <hardware_Init>:
|
|
27fa: 977fd2ef jal t0,170 <__riscv_save_0>
|
|
27fe: a5eff0ef jal ra,1a5c <TIM3_Init>
|
|
2802: af4ff0ef jal ra,1af6 <TIM2_Init>
|
|
2806: 28b5 jal 2882 <uart_dev_init>
|
|
2808: ee7fe0ef jal ra,16ee <PWM_TIM_Configuration>
|
|
280c: a5ffe0ef jal ra,126a <ADC_all_Init>
|
|
2810: d0dfe0ef jal ra,151c <RUN_LED_Init>
|
|
2814: cadfe0ef jal ra,14c0 <G_FFMOS_CON_Init>
|
|
2818: d35fe0ef jal ra,154c <WDI_INPUT_Init>
|
|
281c: d63fe0ef jal ra,157e <BEEP_Init>
|
|
2820: d8dfe0ef jal ra,15ac <POW_OUT_CON_Init>
|
|
2824: db9fe0ef jal ra,15dc <DSG_PROT_Init>
|
|
2828: b33fe0ef jal ra,135a <SPI_Flash_Init>
|
|
282c: e3dfe0ef jal ra,1668 <EnPowerSupply_Init>
|
|
2830: 81018513 addi a0,gp,-2032 # 20000150 <g_duty_ratio>
|
|
2834: f3bfe0ef jal ra,176e <Set_duty_ratio>
|
|
2838: 95dfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000283c <uart_putchar>:
|
|
283c: 935fd2ef jal t0,170 <__riscv_save_0>
|
|
2840: 4401 li s0,0
|
|
2842: c105 beqz a0,2862 <uart_putchar+0x26>
|
|
2844: 2100 lbu s0,0(a0)
|
|
2846: cc11 beqz s0,2862 <uart_putchar+0x26>
|
|
2848: 415c lw a5,4(a0)
|
|
284a: 470d li a4,3
|
|
284c: 00e79e63 bne a5,a4,2868 <uart_putchar+0x2c>
|
|
2850: 40005537 lui a0,0x40005
|
|
2854: 0ff5f593 andi a1,a1,255
|
|
2858: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
285c: 8feff0ef jal ra,195a <USARTx_SendByte>
|
|
2860: 4405 li s0,1
|
|
2862: 8522 mv a0,s0
|
|
2864: 931fd06f j 194 <__riscv_restore_0>
|
|
2868: 4711 li a4,4
|
|
286a: 4405 li s0,1
|
|
286c: fee79be3 bne a5,a4,2862 <uart_putchar+0x26>
|
|
2870: 40005537 lui a0,0x40005
|
|
2874: 0ff5f593 andi a1,a1,255
|
|
2878: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
287c: 8deff0ef jal ra,195a <USARTx_SendByte>
|
|
2880: b7cd j 2862 <uart_putchar+0x26>
|
|
|
|
00002882 <uart_dev_init>:
|
|
2882: 8effd2ef jal t0,170 <__riscv_save_0>
|
|
2886: 20000437 lui s0,0x20000
|
|
288a: 0a840413 addi s0,s0,168 # 200000a8 <uart_devices>
|
|
288e: 0c800613 li a2,200
|
|
2892: 8e018593 addi a1,gp,-1824 # 20000220 <bat485_in_buff>
|
|
2896: 00c40513 addi a0,s0,12
|
|
289a: b62ff0ef jal ra,1bfc <InitRingQueue>
|
|
289e: 4408 lw a0,8(s0)
|
|
28a0: 4485 li s1,1
|
|
28a2: ffbfe0ef jal ra,189c <BAT_485_Init>
|
|
28a6: a004 sb s1,0(s0)
|
|
28a8: 12c00613 li a2,300
|
|
28ac: 9a818593 addi a1,gp,-1624 # 200002e8 <gw485_in_buff>
|
|
28b0: 02840513 addi a0,s0,40
|
|
28b4: 8481aa23 sw s0,-1964(gp) # 20000194 <g_bat485_uart3_handle>
|
|
28b8: b44ff0ef jal ra,1bfc <InitRingQueue>
|
|
28bc: 5048 lw a0,36(s0)
|
|
28be: 0471 addi s0,s0,28
|
|
28c0: f2bfe0ef jal ra,17ea <GW_485_Init>
|
|
28c4: a004 sb s1,0(s0)
|
|
28c6: 4501 li a0,0
|
|
28c8: 8481ac23 sw s0,-1960(gp) # 20000198 <g_gw485_uart4_handle>
|
|
28cc: 8c9fd06f j 194 <__riscv_restore_0>
|
|
|
|
000028d0 <bat485_tx_enabla>:
|
|
28d0: 8a1fd2ef jal t0,170 <__riscv_save_0>
|
|
28d4: 40011537 lui a0,0x40011
|
|
28d8: 4605 li a2,1
|
|
28da: 02000593 li a1,32
|
|
28de: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
28e2: 8ccfe0ef jal ra,9ae <GPIO_WriteBit>
|
|
28e6: 8affd06f j 194 <__riscv_restore_0>
|
|
|
|
000028ea <bat485_tx_disenabla>:
|
|
28ea: 887fd2ef jal t0,170 <__riscv_save_0>
|
|
28ee: 40011537 lui a0,0x40011
|
|
28f2: 4601 li a2,0
|
|
28f4: 02000593 li a1,32
|
|
28f8: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
28fc: 8b2fe0ef jal ra,9ae <GPIO_WriteBit>
|
|
2900: 895fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002904 <gw485_tx_enabla>:
|
|
2904: 86dfd2ef jal t0,170 <__riscv_save_0>
|
|
2908: 40011537 lui a0,0x40011
|
|
290c: 4605 li a2,1
|
|
290e: 45c1 li a1,16
|
|
2910: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
2914: 89afe0ef jal ra,9ae <GPIO_WriteBit>
|
|
2918: 87dfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000291c <gw485_tx_disenabla>:
|
|
291c: 855fd2ef jal t0,170 <__riscv_save_0>
|
|
2920: 40011537 lui a0,0x40011
|
|
2924: 4601 li a2,0
|
|
2926: 45c1 li a1,16
|
|
2928: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
292c: 882fe0ef jal ra,9ae <GPIO_WriteBit>
|
|
2930: 865fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002934 <uart_dev_write>:
|
|
2934: 823fd2ef jal t0,156 <__riscv_save_4>
|
|
2938: 8541a703 lw a4,-1964(gp) # 20000194 <g_bat485_uart3_handle>
|
|
293c: 842a mv s0,a0
|
|
293e: 8a2e mv s4,a1
|
|
2940: 89b2 mv s3,a2
|
|
2942: 85418493 addi s1,gp,-1964 # 20000194 <g_bat485_uart3_handle>
|
|
2946: 00a71c63 bne a4,a0,295e <uart_dev_write+0x2a>
|
|
294a: 3759 jal 28d0 <bat485_tx_enabla>
|
|
294c: 4901 li s2,0
|
|
294e: 01394e63 blt s2,s3,296a <uart_dev_write+0x36>
|
|
2952: 409c lw a5,0(s1)
|
|
2954: 02879463 bne a5,s0,297c <uart_dev_write+0x48>
|
|
2958: 3f49 jal 28ea <bat485_tx_disenabla>
|
|
295a: 831fd06f j 18a <__riscv_restore_4>
|
|
295e: 8581a783 lw a5,-1960(gp) # 20000198 <g_gw485_uart4_handle>
|
|
2962: fea795e3 bne a5,a0,294c <uart_dev_write+0x18>
|
|
2966: 3f79 jal 2904 <gw485_tx_enabla>
|
|
2968: b7d5 j 294c <uart_dev_write+0x18>
|
|
296a: 012a07b3 add a5,s4,s2
|
|
296e: 00078583 lb a1,0(a5)
|
|
2972: 8522 mv a0,s0
|
|
2974: 0905 addi s2,s2,1
|
|
2976: ec7ff0ef jal ra,283c <uart_putchar>
|
|
297a: bfd1 j 294e <uart_dev_write+0x1a>
|
|
297c: 8581a783 lw a5,-1960(gp) # 20000198 <g_gw485_uart4_handle>
|
|
2980: fc879de3 bne a5,s0,295a <uart_dev_write+0x26>
|
|
2984: 3f61 jal 291c <gw485_tx_disenabla>
|
|
2986: bfd1 j 295a <uart_dev_write+0x26>
|
|
|
|
00002988 <uart_dev_char_present>:
|
|
2988: 4781 li a5,0
|
|
298a: c909 beqz a0,299c <uart_dev_char_present+0x14>
|
|
298c: 2118 lbu a4,0(a0)
|
|
298e: 4781 li a5,0
|
|
2990: c711 beqz a4,299c <uart_dev_char_present+0x14>
|
|
2992: 495c lw a5,20(a0)
|
|
2994: 4d08 lw a0,24(a0)
|
|
2996: 8f89 sub a5,a5,a0
|
|
2998: 00f037b3 snez a5,a5
|
|
299c: 853e mv a0,a5
|
|
299e: 8082 ret
|
|
|
|
000029a0 <uart_dev_in_char>:
|
|
29a0: fd0fd2ef jal t0,170 <__riscv_save_0>
|
|
29a4: 1141 addi sp,sp,-16
|
|
29a6: 842a mv s0,a0
|
|
29a8: 000107a3 sb zero,15(sp)
|
|
29ac: 3ff1 jal 2988 <uart_dev_char_present>
|
|
29ae: c519 beqz a0,29bc <uart_dev_in_char+0x1c>
|
|
29b0: 00f10593 addi a1,sp,15
|
|
29b4: 00c40513 addi a0,s0,12
|
|
29b8: a80ff0ef jal ra,1c38 <OutRingQueue>
|
|
29bc: 00f10503 lb a0,15(sp)
|
|
29c0: 0141 addi sp,sp,16
|
|
29c2: fd2fd06f j 194 <__riscv_restore_0>
|
|
|
|
000029c6 <ring_queue_length>:
|
|
29c6: faafd2ef jal t0,170 <__riscv_save_0>
|
|
29ca: 0531 addi a0,a0,12
|
|
29cc: a92ff0ef jal ra,1c5e <RingQueueLength>
|
|
29d0: fc4fd06f j 194 <__riscv_restore_0>
|
|
|
|
000029d4 <__gedf2>:
|
|
29d4: 0145d713 srli a4,a1,0x14
|
|
29d8: 001007b7 lui a5,0x100
|
|
29dc: 17fd addi a5,a5,-1
|
|
29de: 0146d813 srli a6,a3,0x14
|
|
29e2: 7ff77713 andi a4,a4,2047
|
|
29e6: 7ff00893 li a7,2047
|
|
29ea: 00b7f333 and t1,a5,a1
|
|
29ee: 8e2a mv t3,a0
|
|
29f0: 8ff5 and a5,a5,a3
|
|
29f2: 81fd srli a1,a1,0x1f
|
|
29f4: 8eb2 mv t4,a2
|
|
29f6: 7ff87813 andi a6,a6,2047
|
|
29fa: 82fd srli a3,a3,0x1f
|
|
29fc: 03170863 beq a4,a7,2a2c <__gedf2+0x58>
|
|
2a00: 03180063 beq a6,a7,2a20 <__gedf2+0x4c>
|
|
2a04: eb0d bnez a4,2a36 <__gedf2+0x62>
|
|
2a06: 00a368b3 or a7,t1,a0
|
|
2a0a: 00081463 bnez a6,2a12 <__gedf2+0x3e>
|
|
2a0e: 8e5d or a2,a2,a5
|
|
2a10: ca29 beqz a2,2a62 <__gedf2+0x8e>
|
|
2a12: 04088563 beqz a7,2a5c <__gedf2+0x88>
|
|
2a16: 02d58863 beq a1,a3,2a46 <__gedf2+0x72>
|
|
2a1a: 4505 li a0,1
|
|
2a1c: ed95 bnez a1,2a58 <__gedf2+0x84>
|
|
2a1e: 8082 ret
|
|
2a20: 00c7e8b3 or a7,a5,a2
|
|
2a24: fe0880e3 beqz a7,2a04 <__gedf2+0x30>
|
|
2a28: 5579 li a0,-2
|
|
2a2a: 8082 ret
|
|
2a2c: 00a36533 or a0,t1,a0
|
|
2a30: fd65 bnez a0,2a28 <__gedf2+0x54>
|
|
2a32: 02e80c63 beq a6,a4,2a6a <__gedf2+0x96>
|
|
2a36: 00081463 bnez a6,2a3e <__gedf2+0x6a>
|
|
2a3a: 8e5d or a2,a2,a5
|
|
2a3c: de79 beqz a2,2a1a <__gedf2+0x46>
|
|
2a3e: fcd59ee3 bne a1,a3,2a1a <__gedf2+0x46>
|
|
2a42: fce84ce3 blt a6,a4,2a1a <__gedf2+0x46>
|
|
2a46: 01074863 blt a4,a6,2a56 <__gedf2+0x82>
|
|
2a4a: fc67e8e3 bltu a5,t1,2a1a <__gedf2+0x46>
|
|
2a4e: 02f30363 beq t1,a5,2a74 <__gedf2+0xa0>
|
|
2a52: 00f37f63 bgeu t1,a5,2a70 <__gedf2+0x9c>
|
|
2a56: e581 bnez a1,2a5e <__gedf2+0x8a>
|
|
2a58: 557d li a0,-1
|
|
2a5a: 8082 ret
|
|
2a5c: def5 beqz a3,2a58 <__gedf2+0x84>
|
|
2a5e: 4505 li a0,1
|
|
2a60: 8082 ret
|
|
2a62: 4501 li a0,0
|
|
2a64: fa089be3 bnez a7,2a1a <__gedf2+0x46>
|
|
2a68: 8082 ret
|
|
2a6a: 8e5d or a2,a2,a5
|
|
2a6c: da69 beqz a2,2a3e <__gedf2+0x6a>
|
|
2a6e: bf6d j 2a28 <__gedf2+0x54>
|
|
2a70: 4501 li a0,0
|
|
2a72: 8082 ret
|
|
2a74: fbcee3e3 bltu t4,t3,2a1a <__gedf2+0x46>
|
|
2a78: 4501 li a0,0
|
|
2a7a: fbde72e3 bgeu t3,t4,2a1e <__gedf2+0x4a>
|
|
2a7e: f1e5 bnez a1,2a5e <__gedf2+0x8a>
|
|
2a80: bfe1 j 2a58 <__gedf2+0x84>
|
|
|
|
00002a82 <__ledf2>:
|
|
2a82: 0145d713 srli a4,a1,0x14
|
|
2a86: 001007b7 lui a5,0x100
|
|
2a8a: 17fd addi a5,a5,-1
|
|
2a8c: 0146d813 srli a6,a3,0x14
|
|
2a90: 7ff77713 andi a4,a4,2047
|
|
2a94: 7ff00893 li a7,2047
|
|
2a98: 00b7fe33 and t3,a5,a1
|
|
2a9c: 8eaa mv t4,a0
|
|
2a9e: 8ff5 and a5,a5,a3
|
|
2aa0: 81fd srli a1,a1,0x1f
|
|
2aa2: 8f32 mv t5,a2
|
|
2aa4: 7ff87813 andi a6,a6,2047
|
|
2aa8: 82fd srli a3,a3,0x1f
|
|
2aaa: 03170e63 beq a4,a7,2ae6 <__ledf2+0x64>
|
|
2aae: 01180d63 beq a6,a7,2ac8 <__ledf2+0x46>
|
|
2ab2: e329 bnez a4,2af4 <__ledf2+0x72>
|
|
2ab4: 00ae68b3 or a7,t3,a0
|
|
2ab8: 00081f63 bnez a6,2ad6 <__ledf2+0x54>
|
|
2abc: 8e5d or a2,a2,a5
|
|
2abe: ee01 bnez a2,2ad6 <__ledf2+0x54>
|
|
2ac0: 4301 li t1,0
|
|
2ac2: 04088c63 beqz a7,2b1a <__ledf2+0x98>
|
|
2ac6: a821 j 2ade <__ledf2+0x5c>
|
|
2ac8: 00c7e8b3 or a7,a5,a2
|
|
2acc: 4309 li t1,2
|
|
2ace: 04089663 bnez a7,2b1a <__ledf2+0x98>
|
|
2ad2: d36d beqz a4,2ab4 <__ledf2+0x32>
|
|
2ad4: a005 j 2af4 <__ledf2+0x72>
|
|
2ad6: 04088463 beqz a7,2b1e <__ledf2+0x9c>
|
|
2ada: 02d58563 beq a1,a3,2b04 <__ledf2+0x82>
|
|
2ade: 4305 li t1,1
|
|
2ae0: cd8d beqz a1,2b1a <__ledf2+0x98>
|
|
2ae2: 537d li t1,-1
|
|
2ae4: a81d j 2b1a <__ledf2+0x98>
|
|
2ae6: 00ae68b3 or a7,t3,a0
|
|
2aea: 4309 li t1,2
|
|
2aec: 02089763 bnez a7,2b1a <__ledf2+0x98>
|
|
2af0: 02e80a63 beq a6,a4,2b24 <__ledf2+0xa2>
|
|
2af4: 00081463 bnez a6,2afc <__ledf2+0x7a>
|
|
2af8: 8e5d or a2,a2,a5
|
|
2afa: d275 beqz a2,2ade <__ledf2+0x5c>
|
|
2afc: fed591e3 bne a1,a3,2ade <__ledf2+0x5c>
|
|
2b00: fce84fe3 blt a6,a4,2ade <__ledf2+0x5c>
|
|
2b04: 01074963 blt a4,a6,2b16 <__ledf2+0x94>
|
|
2b08: fdc7ebe3 bltu a5,t3,2ade <__ledf2+0x5c>
|
|
2b0c: 00fe0f63 beq t3,a5,2b2a <__ledf2+0xa8>
|
|
2b10: 4301 li t1,0
|
|
2b12: 00fe7463 bgeu t3,a5,2b1a <__ledf2+0x98>
|
|
2b16: d5f1 beqz a1,2ae2 <__ledf2+0x60>
|
|
2b18: 4305 li t1,1
|
|
2b1a: 851a mv a0,t1
|
|
2b1c: 8082 ret
|
|
2b1e: feed bnez a3,2b18 <__ledf2+0x96>
|
|
2b20: 537d li t1,-1
|
|
2b22: bfe5 j 2b1a <__ledf2+0x98>
|
|
2b24: 8e5d or a2,a2,a5
|
|
2b26: da79 beqz a2,2afc <__ledf2+0x7a>
|
|
2b28: bfcd j 2b1a <__ledf2+0x98>
|
|
2b2a: fbdf6ae3 bltu t5,t4,2ade <__ledf2+0x5c>
|
|
2b2e: 4301 li t1,0
|
|
2b30: ffeef5e3 bgeu t4,t5,2b1a <__ledf2+0x98>
|
|
2b34: f1f5 bnez a1,2b18 <__ledf2+0x96>
|
|
2b36: b775 j 2ae2 <__ledf2+0x60>
|
|
|
|
00002b38 <__mulsf3>:
|
|
2b38: 7179 addi sp,sp,-48
|
|
2b3a: d422 sw s0,40(sp)
|
|
2b3c: 01755413 srli s0,a0,0x17
|
|
2b40: ce4e sw s3,28(sp)
|
|
2b42: cc52 sw s4,24(sp)
|
|
2b44: 00951993 slli s3,a0,0x9
|
|
2b48: d606 sw ra,44(sp)
|
|
2b4a: d226 sw s1,36(sp)
|
|
2b4c: d04a sw s2,32(sp)
|
|
2b4e: ca56 sw s5,20(sp)
|
|
2b50: c85a sw s6,16(sp)
|
|
2b52: 0ff47413 andi s0,s0,255
|
|
2b56: 0099d993 srli s3,s3,0x9
|
|
2b5a: 01f55a13 srli s4,a0,0x1f
|
|
2b5e: c469 beqz s0,2c28 <__mulsf3+0xf0>
|
|
2b60: 0ff00793 li a5,255
|
|
2b64: 0ef40863 beq s0,a5,2c54 <__mulsf3+0x11c>
|
|
2b68: 00399793 slli a5,s3,0x3
|
|
2b6c: 04000737 lui a4,0x4000
|
|
2b70: 00e7e9b3 or s3,a5,a4
|
|
2b74: f8140413 addi s0,s0,-127
|
|
2b78: 4481 li s1,0
|
|
2b7a: 4b01 li s6,0
|
|
2b7c: 0175d713 srli a4,a1,0x17
|
|
2b80: 00959a93 slli s5,a1,0x9
|
|
2b84: 0ff77713 andi a4,a4,255
|
|
2b88: 009ada93 srli s5,s5,0x9
|
|
2b8c: 01f5d913 srli s2,a1,0x1f
|
|
2b90: cf45 beqz a4,2c48 <__mulsf3+0x110>
|
|
2b92: 0ff00793 li a5,255
|
|
2b96: 02f70c63 beq a4,a5,2bce <__mulsf3+0x96>
|
|
2b9a: 0a8e slli s5,s5,0x3
|
|
2b9c: f8170713 addi a4,a4,-127 # 3ffff81 <_data_lma+0x3ffb6e1>
|
|
2ba0: 040007b7 lui a5,0x4000
|
|
2ba4: 00faeab3 or s5,s5,a5
|
|
2ba8: 943a add s0,s0,a4
|
|
2baa: 4601 li a2,0
|
|
2bac: 012a4533 xor a0,s4,s2
|
|
2bb0: 47bd li a5,15
|
|
2bb2: 86aa mv a3,a0
|
|
2bb4: 00140593 addi a1,s0,1
|
|
2bb8: 1097e063 bltu a5,s1,2cb8 <__mulsf3+0x180>
|
|
2bbc: 00002717 auipc a4,0x2
|
|
2bc0: b0870713 addi a4,a4,-1272 # 46c4 <_read+0x436>
|
|
2bc4: 048a slli s1,s1,0x2
|
|
2bc6: 94ba add s1,s1,a4
|
|
2bc8: 409c lw a5,0(s1)
|
|
2bca: 97ba add a5,a5,a4
|
|
2bcc: 8782 jr a5
|
|
2bce: 0ff40413 addi s0,s0,255
|
|
2bd2: 0c0a9663 bnez s5,2c9e <__mulsf3+0x166>
|
|
2bd6: 0024e493 ori s1,s1,2
|
|
2bda: 4609 li a2,2
|
|
2bdc: bfc1 j 2bac <__mulsf3+0x74>
|
|
2bde: 4501 li a0,0
|
|
2be0: 0ff00713 li a4,255
|
|
2be4: 004007b7 lui a5,0x400
|
|
2be8: 50b2 lw ra,44(sp)
|
|
2bea: 5422 lw s0,40(sp)
|
|
2bec: 07a6 slli a5,a5,0x9
|
|
2bee: 075e slli a4,a4,0x17
|
|
2bf0: 83a5 srli a5,a5,0x9
|
|
2bf2: 057e slli a0,a0,0x1f
|
|
2bf4: 8fd9 or a5,a5,a4
|
|
2bf6: 5492 lw s1,36(sp)
|
|
2bf8: 5902 lw s2,32(sp)
|
|
2bfa: 49f2 lw s3,28(sp)
|
|
2bfc: 4a62 lw s4,24(sp)
|
|
2bfe: 4ad2 lw s5,20(sp)
|
|
2c00: 4b42 lw s6,16(sp)
|
|
2c02: 8d5d or a0,a0,a5
|
|
2c04: 6145 addi sp,sp,48
|
|
2c06: 8082 ret
|
|
2c08: 86ca mv a3,s2
|
|
2c0a: 89d6 mv s3,s5
|
|
2c0c: 8b32 mv s6,a2
|
|
2c0e: 4789 li a5,2
|
|
2c10: 08fb0f63 beq s6,a5,2cae <__mulsf3+0x176>
|
|
2c14: 478d li a5,3
|
|
2c16: fcfb04e3 beq s6,a5,2bde <__mulsf3+0xa6>
|
|
2c1a: 4785 li a5,1
|
|
2c1c: 8536 mv a0,a3
|
|
2c1e: 1afb1063 bne s6,a5,2dbe <__mulsf3+0x286>
|
|
2c22: 4701 li a4,0
|
|
2c24: 4781 li a5,0
|
|
2c26: b7c9 j 2be8 <__mulsf3+0xb0>
|
|
2c28: 04099d63 bnez s3,2c82 <__mulsf3+0x14a>
|
|
2c2c: 0175d713 srli a4,a1,0x17
|
|
2c30: 00959a93 slli s5,a1,0x9
|
|
2c34: 0ff77713 andi a4,a4,255
|
|
2c38: 4491 li s1,4
|
|
2c3a: 4401 li s0,0
|
|
2c3c: 4b05 li s6,1
|
|
2c3e: 009ada93 srli s5,s5,0x9
|
|
2c42: 01f5d913 srli s2,a1,0x1f
|
|
2c46: f731 bnez a4,2b92 <__mulsf3+0x5a>
|
|
2c48: 000a9d63 bnez s5,2c62 <__mulsf3+0x12a>
|
|
2c4c: 0014e493 ori s1,s1,1
|
|
2c50: 4605 li a2,1
|
|
2c52: bfa9 j 2bac <__mulsf3+0x74>
|
|
2c54: 02099263 bnez s3,2c78 <__mulsf3+0x140>
|
|
2c58: 44a1 li s1,8
|
|
2c5a: 0ff00413 li s0,255
|
|
2c5e: 4b09 li s6,2
|
|
2c60: bf31 j 2b7c <__mulsf3+0x44>
|
|
2c62: 8556 mv a0,s5
|
|
2c64: 249d jal 2eca <__clzsi2>
|
|
2c66: ffb50793 addi a5,a0,-5
|
|
2c6a: 8c09 sub s0,s0,a0
|
|
2c6c: 00fa9ab3 sll s5,s5,a5
|
|
2c70: f8a40413 addi s0,s0,-118
|
|
2c74: 4601 li a2,0
|
|
2c76: bf1d j 2bac <__mulsf3+0x74>
|
|
2c78: 44b1 li s1,12
|
|
2c7a: 0ff00413 li s0,255
|
|
2c7e: 4b0d li s6,3
|
|
2c80: bdf5 j 2b7c <__mulsf3+0x44>
|
|
2c82: 854e mv a0,s3
|
|
2c84: c62e sw a1,12(sp)
|
|
2c86: 2491 jal 2eca <__clzsi2>
|
|
2c88: ffb50793 addi a5,a0,-5
|
|
2c8c: f8a00413 li s0,-118
|
|
2c90: 00f999b3 sll s3,s3,a5
|
|
2c94: 8c09 sub s0,s0,a0
|
|
2c96: 4481 li s1,0
|
|
2c98: 4b01 li s6,0
|
|
2c9a: 45b2 lw a1,12(sp)
|
|
2c9c: b5c5 j 2b7c <__mulsf3+0x44>
|
|
2c9e: 0034e493 ori s1,s1,3
|
|
2ca2: 460d li a2,3
|
|
2ca4: b721 j 2bac <__mulsf3+0x74>
|
|
2ca6: 4789 li a5,2
|
|
2ca8: 86d2 mv a3,s4
|
|
2caa: f6fb15e3 bne s6,a5,2c14 <__mulsf3+0xdc>
|
|
2cae: 8536 mv a0,a3
|
|
2cb0: 0ff00713 li a4,255
|
|
2cb4: 4781 li a5,0
|
|
2cb6: bf0d j 2be8 <__mulsf3+0xb0>
|
|
2cb8: 6341 lui t1,0x10
|
|
2cba: fff30693 addi a3,t1,-1 # ffff <_data_lma+0xb75f>
|
|
2cbe: 0109d613 srli a2,s3,0x10
|
|
2cc2: 010ad893 srli a7,s5,0x10
|
|
2cc6: 00d9f7b3 and a5,s3,a3
|
|
2cca: 00dafab3 and s5,s5,a3
|
|
2cce: 03578833 mul a6,a5,s5
|
|
2cd2: 02f889b3 mul s3,a7,a5
|
|
2cd6: 01085713 srli a4,a6,0x10
|
|
2cda: 03560ab3 mul s5,a2,s5
|
|
2cde: 99d6 add s3,s3,s5
|
|
2ce0: 974e add a4,a4,s3
|
|
2ce2: 03160633 mul a2,a2,a7
|
|
2ce6: 01577363 bgeu a4,s5,2cec <__mulsf3+0x1b4>
|
|
2cea: 961a add a2,a2,t1
|
|
2cec: 67c1 lui a5,0x10
|
|
2cee: 17fd addi a5,a5,-1
|
|
2cf0: 00f776b3 and a3,a4,a5
|
|
2cf4: 00f87833 and a6,a6,a5
|
|
2cf8: 06c2 slli a3,a3,0x10
|
|
2cfa: 96c2 add a3,a3,a6
|
|
2cfc: 00669993 slli s3,a3,0x6
|
|
2d00: 01075793 srli a5,a4,0x10
|
|
2d04: 013039b3 snez s3,s3
|
|
2d08: 82e9 srli a3,a3,0x1a
|
|
2d0a: 97b2 add a5,a5,a2
|
|
2d0c: 079a slli a5,a5,0x6
|
|
2d0e: 00d9e6b3 or a3,s3,a3
|
|
2d12: 00d7e9b3 or s3,a5,a3
|
|
2d16: 00499793 slli a5,s3,0x4
|
|
2d1a: 0007d963 bgez a5,2d2c <__mulsf3+0x1f4>
|
|
2d1e: 0019d713 srli a4,s3,0x1
|
|
2d22: 0019f793 andi a5,s3,1
|
|
2d26: 00f769b3 or s3,a4,a5
|
|
2d2a: 842e mv s0,a1
|
|
2d2c: 07f40713 addi a4,s0,127
|
|
2d30: 04e05063 blez a4,2d70 <__mulsf3+0x238>
|
|
2d34: 0079f793 andi a5,s3,7
|
|
2d38: c799 beqz a5,2d46 <__mulsf3+0x20e>
|
|
2d3a: 00f9f793 andi a5,s3,15
|
|
2d3e: 4691 li a3,4
|
|
2d40: 00d78363 beq a5,a3,2d46 <__mulsf3+0x20e>
|
|
2d44: 0991 addi s3,s3,4
|
|
2d46: 00499793 slli a5,s3,0x4
|
|
2d4a: 0007d963 bgez a5,2d5c <__mulsf3+0x224>
|
|
2d4e: f80007b7 lui a5,0xf8000
|
|
2d52: 17fd addi a5,a5,-1
|
|
2d54: 00f9f9b3 and s3,s3,a5
|
|
2d58: 08040713 addi a4,s0,128
|
|
2d5c: 0fe00793 li a5,254
|
|
2d60: 04e7cb63 blt a5,a4,2db6 <__mulsf3+0x27e>
|
|
2d64: 00699793 slli a5,s3,0x6
|
|
2d68: 83a5 srli a5,a5,0x9
|
|
2d6a: 0ff77713 andi a4,a4,255
|
|
2d6e: bdad j 2be8 <__mulsf3+0xb0>
|
|
2d70: 4785 li a5,1
|
|
2d72: 40e786b3 sub a3,a5,a4
|
|
2d76: c711 beqz a4,2d82 <__mulsf3+0x24a>
|
|
2d78: 466d li a2,27
|
|
2d7a: 4701 li a4,0
|
|
2d7c: 4781 li a5,0
|
|
2d7e: e6d645e3 blt a2,a3,2be8 <__mulsf3+0xb0>
|
|
2d82: 09e40713 addi a4,s0,158
|
|
2d86: 00e99733 sll a4,s3,a4
|
|
2d8a: 00e03733 snez a4,a4
|
|
2d8e: 00d9d7b3 srl a5,s3,a3
|
|
2d92: 8fd9 or a5,a5,a4
|
|
2d94: 0077f713 andi a4,a5,7
|
|
2d98: c719 beqz a4,2da6 <__mulsf3+0x26e>
|
|
2d9a: 00f7f713 andi a4,a5,15
|
|
2d9e: 4691 li a3,4
|
|
2da0: 00d70363 beq a4,a3,2da6 <__mulsf3+0x26e>
|
|
2da4: 0791 addi a5,a5,4
|
|
2da6: 00579713 slli a4,a5,0x5
|
|
2daa: 00074c63 bltz a4,2dc2 <__mulsf3+0x28a>
|
|
2dae: 079a slli a5,a5,0x6
|
|
2db0: 83a5 srli a5,a5,0x9
|
|
2db2: 4701 li a4,0
|
|
2db4: bd15 j 2be8 <__mulsf3+0xb0>
|
|
2db6: 0ff00713 li a4,255
|
|
2dba: 4781 li a5,0
|
|
2dbc: b535 j 2be8 <__mulsf3+0xb0>
|
|
2dbe: 842e mv s0,a1
|
|
2dc0: b7b5 j 2d2c <__mulsf3+0x1f4>
|
|
2dc2: 4705 li a4,1
|
|
2dc4: 4781 li a5,0
|
|
2dc6: b50d j 2be8 <__mulsf3+0xb0>
|
|
|
|
00002dc8 <__fixunssfsi>:
|
|
2dc8: 01755713 srli a4,a0,0x17
|
|
2dcc: 00800637 lui a2,0x800
|
|
2dd0: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7fb75f>
|
|
2dd4: 0ff77713 andi a4,a4,255
|
|
2dd8: 07e00593 li a1,126
|
|
2ddc: 00a7f6b3 and a3,a5,a0
|
|
2de0: 01f55793 srli a5,a0,0x1f
|
|
2de4: 4501 li a0,0
|
|
2de6: 00e5f463 bgeu a1,a4,2dee <__fixunssfsi+0x26>
|
|
2dea: c399 beqz a5,2df0 <__fixunssfsi+0x28>
|
|
2dec: 8082 ret
|
|
2dee: 8082 ret
|
|
2df0: 09e00793 li a5,158
|
|
2df4: 557d li a0,-1
|
|
2df6: fee7ebe3 bltu a5,a4,2dec <__fixunssfsi+0x24>
|
|
2dfa: 09500593 li a1,149
|
|
2dfe: 00c6e7b3 or a5,a3,a2
|
|
2e02: 00e5d763 bge a1,a4,2e10 <__fixunssfsi+0x48>
|
|
2e06: f6a70713 addi a4,a4,-150
|
|
2e0a: 00e79533 sll a0,a5,a4
|
|
2e0e: 8082 ret
|
|
2e10: 09600513 li a0,150
|
|
2e14: 40e50733 sub a4,a0,a4
|
|
2e18: 00e7d533 srl a0,a5,a4
|
|
2e1c: 8082 ret
|
|
|
|
00002e1e <__extendsfdf2>:
|
|
2e1e: 01755713 srli a4,a0,0x17
|
|
2e22: 0ff77713 andi a4,a4,255
|
|
2e26: 1141 addi sp,sp,-16
|
|
2e28: 00170793 addi a5,a4,1
|
|
2e2c: c422 sw s0,8(sp)
|
|
2e2e: c226 sw s1,4(sp)
|
|
2e30: 00951413 slli s0,a0,0x9
|
|
2e34: c606 sw ra,12(sp)
|
|
2e36: 0fe7f793 andi a5,a5,254
|
|
2e3a: 8025 srli s0,s0,0x9
|
|
2e3c: 01f55493 srli s1,a0,0x1f
|
|
2e40: c785 beqz a5,2e68 <__extendsfdf2+0x4a>
|
|
2e42: 00345793 srli a5,s0,0x3
|
|
2e46: 38070713 addi a4,a4,896
|
|
2e4a: 0476 slli s0,s0,0x1d
|
|
2e4c: 07b2 slli a5,a5,0xc
|
|
2e4e: 0752 slli a4,a4,0x14
|
|
2e50: 83b1 srli a5,a5,0xc
|
|
2e52: 01f49513 slli a0,s1,0x1f
|
|
2e56: 8fd9 or a5,a5,a4
|
|
2e58: 8fc9 or a5,a5,a0
|
|
2e5a: 40b2 lw ra,12(sp)
|
|
2e5c: 8522 mv a0,s0
|
|
2e5e: 4422 lw s0,8(sp)
|
|
2e60: 4492 lw s1,4(sp)
|
|
2e62: 85be mv a1,a5
|
|
2e64: 0141 addi sp,sp,16
|
|
2e66: 8082 ret
|
|
2e68: eb05 bnez a4,2e98 <__extendsfdf2+0x7a>
|
|
2e6a: c439 beqz s0,2eb8 <__extendsfdf2+0x9a>
|
|
2e6c: 8522 mv a0,s0
|
|
2e6e: 28b1 jal 2eca <__clzsi2>
|
|
2e70: 47a9 li a5,10
|
|
2e72: 04a7c663 blt a5,a0,2ebe <__extendsfdf2+0xa0>
|
|
2e76: 472d li a4,11
|
|
2e78: 8f09 sub a4,a4,a0
|
|
2e7a: 01550793 addi a5,a0,21
|
|
2e7e: 00e45733 srl a4,s0,a4
|
|
2e82: 00f41433 sll s0,s0,a5
|
|
2e86: 00c71793 slli a5,a4,0xc
|
|
2e8a: 38900713 li a4,905
|
|
2e8e: 8f09 sub a4,a4,a0
|
|
2e90: 83b1 srli a5,a5,0xc
|
|
2e92: 7ff77713 andi a4,a4,2047
|
|
2e96: bf5d j 2e4c <__extendsfdf2+0x2e>
|
|
2e98: cc01 beqz s0,2eb0 <__extendsfdf2+0x92>
|
|
2e9a: 00345713 srli a4,s0,0x3
|
|
2e9e: 000807b7 lui a5,0x80
|
|
2ea2: 8fd9 or a5,a5,a4
|
|
2ea4: 07b2 slli a5,a5,0xc
|
|
2ea6: 0476 slli s0,s0,0x1d
|
|
2ea8: 83b1 srli a5,a5,0xc
|
|
2eaa: 7ff00713 li a4,2047
|
|
2eae: bf79 j 2e4c <__extendsfdf2+0x2e>
|
|
2eb0: 7ff00713 li a4,2047
|
|
2eb4: 4781 li a5,0
|
|
2eb6: bf59 j 2e4c <__extendsfdf2+0x2e>
|
|
2eb8: 4701 li a4,0
|
|
2eba: 4781 li a5,0
|
|
2ebc: bf41 j 2e4c <__extendsfdf2+0x2e>
|
|
2ebe: ff550713 addi a4,a0,-11
|
|
2ec2: 00e41733 sll a4,s0,a4
|
|
2ec6: 4401 li s0,0
|
|
2ec8: bf7d j 2e86 <__extendsfdf2+0x68>
|
|
|
|
00002eca <__clzsi2>:
|
|
2eca: 67c1 lui a5,0x10
|
|
2ecc: 02f57c63 bgeu a0,a5,2f04 <__clzsi2+0x3a>
|
|
2ed0: 0ff00793 li a5,255
|
|
2ed4: 02000713 li a4,32
|
|
2ed8: 00a7eb63 bltu a5,a0,2eee <__clzsi2+0x24>
|
|
2edc: 00002797 auipc a5,0x2
|
|
2ee0: 82878793 addi a5,a5,-2008 # 4704 <__clz_tab>
|
|
2ee4: 97aa add a5,a5,a0
|
|
2ee6: 2388 lbu a0,0(a5)
|
|
2ee8: 40a70533 sub a0,a4,a0
|
|
2eec: 8082 ret
|
|
2eee: 8121 srli a0,a0,0x8
|
|
2ef0: 00002797 auipc a5,0x2
|
|
2ef4: 81478793 addi a5,a5,-2028 # 4704 <__clz_tab>
|
|
2ef8: 97aa add a5,a5,a0
|
|
2efa: 2388 lbu a0,0(a5)
|
|
2efc: 4761 li a4,24
|
|
2efe: 40a70533 sub a0,a4,a0
|
|
2f02: 8082 ret
|
|
2f04: 010007b7 lui a5,0x1000
|
|
2f08: 00f56d63 bltu a0,a5,2f22 <__clzsi2+0x58>
|
|
2f0c: 8161 srli a0,a0,0x18
|
|
2f0e: 00001797 auipc a5,0x1
|
|
2f12: 7f678793 addi a5,a5,2038 # 4704 <__clz_tab>
|
|
2f16: 97aa add a5,a5,a0
|
|
2f18: 2388 lbu a0,0(a5)
|
|
2f1a: 4721 li a4,8
|
|
2f1c: 40a70533 sub a0,a4,a0
|
|
2f20: 8082 ret
|
|
2f22: 8141 srli a0,a0,0x10
|
|
2f24: 00001797 auipc a5,0x1
|
|
2f28: 7e078793 addi a5,a5,2016 # 4704 <__clz_tab>
|
|
2f2c: 97aa add a5,a5,a0
|
|
2f2e: 2388 lbu a0,0(a5)
|
|
2f30: 4741 li a4,16
|
|
2f32: 40a70533 sub a0,a4,a0
|
|
2f36: 8082 ret
|
|
|
|
00002f38 <memcpy>:
|
|
2f38: 00a5c7b3 xor a5,a1,a0
|
|
2f3c: 8b8d andi a5,a5,3
|
|
2f3e: 00c50733 add a4,a0,a2
|
|
2f42: e781 bnez a5,2f4a <memcpy+0x12>
|
|
2f44: 478d li a5,3
|
|
2f46: 00c7ed63 bltu a5,a2,2f60 <memcpy+0x28>
|
|
2f4a: 87aa mv a5,a0
|
|
2f4c: 08e57e63 bgeu a0,a4,2fe8 <memcpy+0xb0>
|
|
2f50: 2194 lbu a3,0(a1)
|
|
2f52: 0785 addi a5,a5,1
|
|
2f54: 0585 addi a1,a1,1
|
|
2f56: fed78fa3 sb a3,-1(a5)
|
|
2f5a: fee7ebe3 bltu a5,a4,2f50 <memcpy+0x18>
|
|
2f5e: 8082 ret
|
|
2f60: 00357693 andi a3,a0,3
|
|
2f64: 87aa mv a5,a0
|
|
2f66: ca89 beqz a3,2f78 <memcpy+0x40>
|
|
2f68: 2194 lbu a3,0(a1)
|
|
2f6a: 0785 addi a5,a5,1
|
|
2f6c: 0585 addi a1,a1,1
|
|
2f6e: fed78fa3 sb a3,-1(a5)
|
|
2f72: 0037f693 andi a3,a5,3
|
|
2f76: bfc5 j 2f66 <memcpy+0x2e>
|
|
2f78: ffc77693 andi a3,a4,-4
|
|
2f7c: fe068613 addi a2,a3,-32
|
|
2f80: 06c7f063 bgeu a5,a2,2fe0 <memcpy+0xa8>
|
|
2f84: 0005a383 lw t2,0(a1)
|
|
2f88: 0045a283 lw t0,4(a1)
|
|
2f8c: 0085af83 lw t6,8(a1)
|
|
2f90: 00c5af03 lw t5,12(a1)
|
|
2f94: 0105ae83 lw t4,16(a1)
|
|
2f98: 0145ae03 lw t3,20(a1)
|
|
2f9c: 0185a303 lw t1,24(a1)
|
|
2fa0: 01c5a883 lw a7,28(a1)
|
|
2fa4: 02458593 addi a1,a1,36
|
|
2fa8: 0077a023 sw t2,0(a5)
|
|
2fac: ffc5a803 lw a6,-4(a1)
|
|
2fb0: 0057a223 sw t0,4(a5)
|
|
2fb4: 01f7a423 sw t6,8(a5)
|
|
2fb8: 01e7a623 sw t5,12(a5)
|
|
2fbc: 01d7a823 sw t4,16(a5)
|
|
2fc0: 01c7aa23 sw t3,20(a5)
|
|
2fc4: 0067ac23 sw t1,24(a5)
|
|
2fc8: 0117ae23 sw a7,28(a5)
|
|
2fcc: 02478793 addi a5,a5,36
|
|
2fd0: ff07ae23 sw a6,-4(a5)
|
|
2fd4: b775 j 2f80 <memcpy+0x48>
|
|
2fd6: 4190 lw a2,0(a1)
|
|
2fd8: 0791 addi a5,a5,4
|
|
2fda: 0591 addi a1,a1,4
|
|
2fdc: fec7ae23 sw a2,-4(a5)
|
|
2fe0: fed7ebe3 bltu a5,a3,2fd6 <memcpy+0x9e>
|
|
2fe4: f6e7e6e3 bltu a5,a4,2f50 <memcpy+0x18>
|
|
2fe8: 8082 ret
|
|
|
|
00002fea <iprintf>:
|
|
2fea: 7139 addi sp,sp,-64
|
|
2fec: da3e sw a5,52(sp)
|
|
2fee: d22e sw a1,36(sp)
|
|
2ff0: d432 sw a2,40(sp)
|
|
2ff2: d636 sw a3,44(sp)
|
|
2ff4: d83a sw a4,48(sp)
|
|
2ff6: dc42 sw a6,56(sp)
|
|
2ff8: de46 sw a7,60(sp)
|
|
2ffa: 81418793 addi a5,gp,-2028 # 20000154 <_impure_ptr>
|
|
2ffe: cc22 sw s0,24(sp)
|
|
3000: 4380 lw s0,0(a5)
|
|
3002: ca26 sw s1,20(sp)
|
|
3004: ce06 sw ra,28(sp)
|
|
3006: 84aa mv s1,a0
|
|
3008: c409 beqz s0,3012 <iprintf+0x28>
|
|
300a: 4c1c lw a5,24(s0)
|
|
300c: e399 bnez a5,3012 <iprintf+0x28>
|
|
300e: 8522 mv a0,s0
|
|
3010: 2be1 jal 35e8 <__sinit>
|
|
3012: 440c lw a1,8(s0)
|
|
3014: 1054 addi a3,sp,36
|
|
3016: 8626 mv a2,s1
|
|
3018: 8522 mv a0,s0
|
|
301a: c636 sw a3,12(sp)
|
|
301c: 21d000ef jal ra,3a38 <_vfiprintf_r>
|
|
3020: 40f2 lw ra,28(sp)
|
|
3022: 4462 lw s0,24(sp)
|
|
3024: 44d2 lw s1,20(sp)
|
|
3026: 6121 addi sp,sp,64
|
|
3028: 8082 ret
|
|
|
|
0000302a <_puts_r>:
|
|
302a: 1101 addi sp,sp,-32
|
|
302c: ca26 sw s1,20(sp)
|
|
302e: c84a sw s2,16(sp)
|
|
3030: ce06 sw ra,28(sp)
|
|
3032: cc22 sw s0,24(sp)
|
|
3034: c64e sw s3,12(sp)
|
|
3036: c452 sw s4,8(sp)
|
|
3038: 84aa mv s1,a0
|
|
303a: 892e mv s2,a1
|
|
303c: c501 beqz a0,3044 <_puts_r+0x1a>
|
|
303e: 4d1c lw a5,24(a0)
|
|
3040: e391 bnez a5,3044 <_puts_r+0x1a>
|
|
3042: 235d jal 35e8 <__sinit>
|
|
3044: 4c9c lw a5,24(s1)
|
|
3046: 4480 lw s0,8(s1)
|
|
3048: e399 bnez a5,304e <_puts_r+0x24>
|
|
304a: 8526 mv a0,s1
|
|
304c: 2b71 jal 35e8 <__sinit>
|
|
304e: 00001797 auipc a5,0x1
|
|
3052: 7d678793 addi a5,a5,2006 # 4824 <__sf_fake_stdin>
|
|
3056: 02f41b63 bne s0,a5,308c <_puts_r+0x62>
|
|
305a: 40c0 lw s0,4(s1)
|
|
305c: 245e lhu a5,12(s0)
|
|
305e: 8ba1 andi a5,a5,8
|
|
3060: c7b1 beqz a5,30ac <_puts_r+0x82>
|
|
3062: 481c lw a5,16(s0)
|
|
3064: c7a1 beqz a5,30ac <_puts_r+0x82>
|
|
3066: 59fd li s3,-1
|
|
3068: 4a29 li s4,10
|
|
306a: 441c lw a5,8(s0)
|
|
306c: 00094583 lbu a1,0(s2)
|
|
3070: 17fd addi a5,a5,-1
|
|
3072: e9b1 bnez a1,30c6 <_puts_r+0x9c>
|
|
3074: c41c sw a5,8(s0)
|
|
3076: 0607dd63 bgez a5,30f0 <_puts_r+0xc6>
|
|
307a: 8622 mv a2,s0
|
|
307c: 45a9 li a1,10
|
|
307e: 8526 mv a0,s1
|
|
3080: 2295 jal 31e4 <__swbuf_r>
|
|
3082: 57fd li a5,-1
|
|
3084: 02f50863 beq a0,a5,30b4 <_puts_r+0x8a>
|
|
3088: 4529 li a0,10
|
|
308a: a035 j 30b6 <_puts_r+0x8c>
|
|
308c: 00001797 auipc a5,0x1
|
|
3090: 7b878793 addi a5,a5,1976 # 4844 <__sf_fake_stdout>
|
|
3094: 00f41463 bne s0,a5,309c <_puts_r+0x72>
|
|
3098: 4480 lw s0,8(s1)
|
|
309a: b7c9 j 305c <_puts_r+0x32>
|
|
309c: 00001797 auipc a5,0x1
|
|
30a0: 76878793 addi a5,a5,1896 # 4804 <__sf_fake_stderr>
|
|
30a4: faf41ce3 bne s0,a5,305c <_puts_r+0x32>
|
|
30a8: 44c0 lw s0,12(s1)
|
|
30aa: bf4d j 305c <_puts_r+0x32>
|
|
30ac: 85a2 mv a1,s0
|
|
30ae: 8526 mv a0,s1
|
|
30b0: 2ac5 jal 32a0 <__swsetup_r>
|
|
30b2: d955 beqz a0,3066 <_puts_r+0x3c>
|
|
30b4: 557d li a0,-1
|
|
30b6: 40f2 lw ra,28(sp)
|
|
30b8: 4462 lw s0,24(sp)
|
|
30ba: 44d2 lw s1,20(sp)
|
|
30bc: 4942 lw s2,16(sp)
|
|
30be: 49b2 lw s3,12(sp)
|
|
30c0: 4a22 lw s4,8(sp)
|
|
30c2: 6105 addi sp,sp,32
|
|
30c4: 8082 ret
|
|
30c6: c41c sw a5,8(s0)
|
|
30c8: 0905 addi s2,s2,1
|
|
30ca: 0007d763 bgez a5,30d8 <_puts_r+0xae>
|
|
30ce: 4c18 lw a4,24(s0)
|
|
30d0: 00e7ca63 blt a5,a4,30e4 <_puts_r+0xba>
|
|
30d4: 01458863 beq a1,s4,30e4 <_puts_r+0xba>
|
|
30d8: 401c lw a5,0(s0)
|
|
30da: 00178713 addi a4,a5,1
|
|
30de: c018 sw a4,0(s0)
|
|
30e0: a38c sb a1,0(a5)
|
|
30e2: b761 j 306a <_puts_r+0x40>
|
|
30e4: 8622 mv a2,s0
|
|
30e6: 8526 mv a0,s1
|
|
30e8: 28f5 jal 31e4 <__swbuf_r>
|
|
30ea: f93510e3 bne a0,s3,306a <_puts_r+0x40>
|
|
30ee: b7d9 j 30b4 <_puts_r+0x8a>
|
|
30f0: 401c lw a5,0(s0)
|
|
30f2: 00178713 addi a4,a5,1
|
|
30f6: c018 sw a4,0(s0)
|
|
30f8: 4729 li a4,10
|
|
30fa: a398 sb a4,0(a5)
|
|
30fc: b771 j 3088 <_puts_r+0x5e>
|
|
|
|
000030fe <puts>:
|
|
30fe: 81418793 addi a5,gp,-2028 # 20000154 <_impure_ptr>
|
|
3102: 85aa mv a1,a0
|
|
3104: 4388 lw a0,0(a5)
|
|
3106: f25ff06f j 302a <_puts_r>
|
|
|
|
0000310a <srand>:
|
|
310a: 1141 addi sp,sp,-16
|
|
310c: 81418793 addi a5,gp,-2028 # 20000154 <_impure_ptr>
|
|
3110: c422 sw s0,8(sp)
|
|
3112: 4380 lw s0,0(a5)
|
|
3114: c226 sw s1,4(sp)
|
|
3116: c606 sw ra,12(sp)
|
|
3118: 5c1c lw a5,56(s0)
|
|
311a: 84aa mv s1,a0
|
|
311c: eb8d bnez a5,314e <srand+0x44>
|
|
311e: 4561 li a0,24
|
|
3120: 2725 jal 3848 <malloc>
|
|
3122: abcd37b7 lui a5,0xabcd3
|
|
3126: dc08 sw a0,56(s0)
|
|
3128: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
312c: c11c sw a5,0(a0)
|
|
312e: e66d17b7 lui a5,0xe66d1
|
|
3132: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
3136: c15c sw a5,4(a0)
|
|
3138: 0005e7b7 lui a5,0x5e
|
|
313c: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x5964c>
|
|
3140: c51c sw a5,8(a0)
|
|
3142: 47ad li a5,11
|
|
3144: a55e sh a5,12(a0)
|
|
3146: 4705 li a4,1
|
|
3148: 4781 li a5,0
|
|
314a: c918 sw a4,16(a0)
|
|
314c: c95c sw a5,20(a0)
|
|
314e: 5c1c lw a5,56(s0)
|
|
3150: 40b2 lw ra,12(sp)
|
|
3152: 4422 lw s0,8(sp)
|
|
3154: cb84 sw s1,16(a5)
|
|
3156: 0007aa23 sw zero,20(a5)
|
|
315a: 4492 lw s1,4(sp)
|
|
315c: 0141 addi sp,sp,16
|
|
315e: 8082 ret
|
|
|
|
00003160 <rand>:
|
|
3160: 1141 addi sp,sp,-16
|
|
3162: 81418793 addi a5,gp,-2028 # 20000154 <_impure_ptr>
|
|
3166: c422 sw s0,8(sp)
|
|
3168: 4380 lw s0,0(a5)
|
|
316a: c606 sw ra,12(sp)
|
|
316c: 5c1c lw a5,56(s0)
|
|
316e: eb8d bnez a5,31a0 <rand+0x40>
|
|
3170: 4561 li a0,24
|
|
3172: 2dd9 jal 3848 <malloc>
|
|
3174: abcd37b7 lui a5,0xabcd3
|
|
3178: dc08 sw a0,56(s0)
|
|
317a: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
317e: c11c sw a5,0(a0)
|
|
3180: e66d17b7 lui a5,0xe66d1
|
|
3184: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
3188: c15c sw a5,4(a0)
|
|
318a: 0005e7b7 lui a5,0x5e
|
|
318e: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x5964c>
|
|
3192: c51c sw a5,8(a0)
|
|
3194: 47ad li a5,11
|
|
3196: a55e sh a5,12(a0)
|
|
3198: 4705 li a4,1
|
|
319a: 4781 li a5,0
|
|
319c: c918 sw a4,16(a0)
|
|
319e: c95c sw a5,20(a0)
|
|
31a0: 5c10 lw a2,56(s0)
|
|
31a2: 4c958737 lui a4,0x4c958
|
|
31a6: 5851f7b7 lui a5,0x5851f
|
|
31aa: 4a14 lw a3,16(a2)
|
|
31ac: 4a48 lw a0,20(a2)
|
|
31ae: f2d70713 addi a4,a4,-211 # 4c957f2d <_eusrstack+0x2c952f2d>
|
|
31b2: 42d78793 addi a5,a5,1069 # 5851f42d <_eusrstack+0x3851a42d>
|
|
31b6: 02f687b3 mul a5,a3,a5
|
|
31ba: 40b2 lw ra,12(sp)
|
|
31bc: 4422 lw s0,8(sp)
|
|
31be: 02e50533 mul a0,a0,a4
|
|
31c2: 953e add a0,a0,a5
|
|
31c4: 02e687b3 mul a5,a3,a4
|
|
31c8: 02e6b733 mulhu a4,a3,a4
|
|
31cc: 00178693 addi a3,a5,1
|
|
31d0: ca14 sw a3,16(a2)
|
|
31d2: 972a add a4,a4,a0
|
|
31d4: 00f6b533 sltu a0,a3,a5
|
|
31d8: 953a add a0,a0,a4
|
|
31da: ca48 sw a0,20(a2)
|
|
31dc: 0506 slli a0,a0,0x1
|
|
31de: 8105 srli a0,a0,0x1
|
|
31e0: 0141 addi sp,sp,16
|
|
31e2: 8082 ret
|
|
|
|
000031e4 <__swbuf_r>:
|
|
31e4: 1101 addi sp,sp,-32
|
|
31e6: cc22 sw s0,24(sp)
|
|
31e8: ca26 sw s1,20(sp)
|
|
31ea: c84a sw s2,16(sp)
|
|
31ec: ce06 sw ra,28(sp)
|
|
31ee: c64e sw s3,12(sp)
|
|
31f0: 84aa mv s1,a0
|
|
31f2: 892e mv s2,a1
|
|
31f4: 8432 mv s0,a2
|
|
31f6: c501 beqz a0,31fe <__swbuf_r+0x1a>
|
|
31f8: 4d1c lw a5,24(a0)
|
|
31fa: e391 bnez a5,31fe <__swbuf_r+0x1a>
|
|
31fc: 26f5 jal 35e8 <__sinit>
|
|
31fe: 00001797 auipc a5,0x1
|
|
3202: 62678793 addi a5,a5,1574 # 4824 <__sf_fake_stdin>
|
|
3206: 06f41763 bne s0,a5,3274 <__swbuf_r+0x90>
|
|
320a: 40c0 lw s0,4(s1)
|
|
320c: 4c1c lw a5,24(s0)
|
|
320e: c41c sw a5,8(s0)
|
|
3210: 245e lhu a5,12(s0)
|
|
3212: 8ba1 andi a5,a5,8
|
|
3214: c3c1 beqz a5,3294 <__swbuf_r+0xb0>
|
|
3216: 481c lw a5,16(s0)
|
|
3218: cfb5 beqz a5,3294 <__swbuf_r+0xb0>
|
|
321a: 481c lw a5,16(s0)
|
|
321c: 4008 lw a0,0(s0)
|
|
321e: 0ff97993 andi s3,s2,255
|
|
3222: 0ff97913 andi s2,s2,255
|
|
3226: 8d1d sub a0,a0,a5
|
|
3228: 485c lw a5,20(s0)
|
|
322a: 00f54663 blt a0,a5,3236 <__swbuf_r+0x52>
|
|
322e: 85a2 mv a1,s0
|
|
3230: 8526 mv a0,s1
|
|
3232: 2c69 jal 34cc <_fflush_r>
|
|
3234: e525 bnez a0,329c <__swbuf_r+0xb8>
|
|
3236: 441c lw a5,8(s0)
|
|
3238: 0505 addi a0,a0,1
|
|
323a: 17fd addi a5,a5,-1
|
|
323c: c41c sw a5,8(s0)
|
|
323e: 401c lw a5,0(s0)
|
|
3240: 00178713 addi a4,a5,1
|
|
3244: c018 sw a4,0(s0)
|
|
3246: 01378023 sb s3,0(a5)
|
|
324a: 485c lw a5,20(s0)
|
|
324c: 00a78863 beq a5,a0,325c <__swbuf_r+0x78>
|
|
3250: 245e lhu a5,12(s0)
|
|
3252: 8b85 andi a5,a5,1
|
|
3254: cb81 beqz a5,3264 <__swbuf_r+0x80>
|
|
3256: 47a9 li a5,10
|
|
3258: 00f91663 bne s2,a5,3264 <__swbuf_r+0x80>
|
|
325c: 85a2 mv a1,s0
|
|
325e: 8526 mv a0,s1
|
|
3260: 24b5 jal 34cc <_fflush_r>
|
|
3262: ed0d bnez a0,329c <__swbuf_r+0xb8>
|
|
3264: 40f2 lw ra,28(sp)
|
|
3266: 4462 lw s0,24(sp)
|
|
3268: 854a mv a0,s2
|
|
326a: 44d2 lw s1,20(sp)
|
|
326c: 4942 lw s2,16(sp)
|
|
326e: 49b2 lw s3,12(sp)
|
|
3270: 6105 addi sp,sp,32
|
|
3272: 8082 ret
|
|
3274: 00001797 auipc a5,0x1
|
|
3278: 5d078793 addi a5,a5,1488 # 4844 <__sf_fake_stdout>
|
|
327c: 00f41463 bne s0,a5,3284 <__swbuf_r+0xa0>
|
|
3280: 4480 lw s0,8(s1)
|
|
3282: b769 j 320c <__swbuf_r+0x28>
|
|
3284: 00001797 auipc a5,0x1
|
|
3288: 58078793 addi a5,a5,1408 # 4804 <__sf_fake_stderr>
|
|
328c: f8f410e3 bne s0,a5,320c <__swbuf_r+0x28>
|
|
3290: 44c0 lw s0,12(s1)
|
|
3292: bfad j 320c <__swbuf_r+0x28>
|
|
3294: 85a2 mv a1,s0
|
|
3296: 8526 mv a0,s1
|
|
3298: 2021 jal 32a0 <__swsetup_r>
|
|
329a: d141 beqz a0,321a <__swbuf_r+0x36>
|
|
329c: 597d li s2,-1
|
|
329e: b7d9 j 3264 <__swbuf_r+0x80>
|
|
|
|
000032a0 <__swsetup_r>:
|
|
32a0: 1141 addi sp,sp,-16
|
|
32a2: 81418793 addi a5,gp,-2028 # 20000154 <_impure_ptr>
|
|
32a6: c226 sw s1,4(sp)
|
|
32a8: 4384 lw s1,0(a5)
|
|
32aa: c422 sw s0,8(sp)
|
|
32ac: c04a sw s2,0(sp)
|
|
32ae: c606 sw ra,12(sp)
|
|
32b0: 892a mv s2,a0
|
|
32b2: 842e mv s0,a1
|
|
32b4: c489 beqz s1,32be <__swsetup_r+0x1e>
|
|
32b6: 4c9c lw a5,24(s1)
|
|
32b8: e399 bnez a5,32be <__swsetup_r+0x1e>
|
|
32ba: 8526 mv a0,s1
|
|
32bc: 2635 jal 35e8 <__sinit>
|
|
32be: 00001797 auipc a5,0x1
|
|
32c2: 56678793 addi a5,a5,1382 # 4824 <__sf_fake_stdin>
|
|
32c6: 02f41b63 bne s0,a5,32fc <__swsetup_r+0x5c>
|
|
32ca: 40c0 lw s0,4(s1)
|
|
32cc: 00c41703 lh a4,12(s0)
|
|
32d0: 01071793 slli a5,a4,0x10
|
|
32d4: 83c1 srli a5,a5,0x10
|
|
32d6: 0087f693 andi a3,a5,8
|
|
32da: eaad bnez a3,334c <__swsetup_r+0xac>
|
|
32dc: 0107f693 andi a3,a5,16
|
|
32e0: ee95 bnez a3,331c <__swsetup_r+0x7c>
|
|
32e2: 47a5 li a5,9
|
|
32e4: 00f92023 sw a5,0(s2)
|
|
32e8: 04076713 ori a4,a4,64
|
|
32ec: a45a sh a4,12(s0)
|
|
32ee: 557d li a0,-1
|
|
32f0: 40b2 lw ra,12(sp)
|
|
32f2: 4422 lw s0,8(sp)
|
|
32f4: 4492 lw s1,4(sp)
|
|
32f6: 4902 lw s2,0(sp)
|
|
32f8: 0141 addi sp,sp,16
|
|
32fa: 8082 ret
|
|
32fc: 00001797 auipc a5,0x1
|
|
3300: 54878793 addi a5,a5,1352 # 4844 <__sf_fake_stdout>
|
|
3304: 00f41463 bne s0,a5,330c <__swsetup_r+0x6c>
|
|
3308: 4480 lw s0,8(s1)
|
|
330a: b7c9 j 32cc <__swsetup_r+0x2c>
|
|
330c: 00001797 auipc a5,0x1
|
|
3310: 4f878793 addi a5,a5,1272 # 4804 <__sf_fake_stderr>
|
|
3314: faf41ce3 bne s0,a5,32cc <__swsetup_r+0x2c>
|
|
3318: 44c0 lw s0,12(s1)
|
|
331a: bf4d j 32cc <__swsetup_r+0x2c>
|
|
331c: 8b91 andi a5,a5,4
|
|
331e: c39d beqz a5,3344 <__swsetup_r+0xa4>
|
|
3320: 584c lw a1,52(s0)
|
|
3322: c989 beqz a1,3334 <__swsetup_r+0x94>
|
|
3324: 04440793 addi a5,s0,68
|
|
3328: 00f58463 beq a1,a5,3330 <__swsetup_r+0x90>
|
|
332c: 854a mv a0,s2
|
|
332e: 2315 jal 3852 <_free_r>
|
|
3330: 02042a23 sw zero,52(s0)
|
|
3334: 245e lhu a5,12(s0)
|
|
3336: 00042223 sw zero,4(s0)
|
|
333a: fdb7f793 andi a5,a5,-37
|
|
333e: a45e sh a5,12(s0)
|
|
3340: 481c lw a5,16(s0)
|
|
3342: c01c sw a5,0(s0)
|
|
3344: 245e lhu a5,12(s0)
|
|
3346: 0087e793 ori a5,a5,8
|
|
334a: a45e sh a5,12(s0)
|
|
334c: 481c lw a5,16(s0)
|
|
334e: eb99 bnez a5,3364 <__swsetup_r+0xc4>
|
|
3350: 245e lhu a5,12(s0)
|
|
3352: 20000713 li a4,512
|
|
3356: 2807f793 andi a5,a5,640
|
|
335a: 00e78563 beq a5,a4,3364 <__swsetup_r+0xc4>
|
|
335e: 85a2 mv a1,s0
|
|
3360: 854a mv a0,s2
|
|
3362: 2991 jal 37b6 <__smakebuf_r>
|
|
3364: 245e lhu a5,12(s0)
|
|
3366: 0017f713 andi a4,a5,1
|
|
336a: c31d beqz a4,3390 <__swsetup_r+0xf0>
|
|
336c: 485c lw a5,20(s0)
|
|
336e: 00042423 sw zero,8(s0)
|
|
3372: 40f007b3 neg a5,a5
|
|
3376: cc1c sw a5,24(s0)
|
|
3378: 481c lw a5,16(s0)
|
|
337a: 4501 li a0,0
|
|
337c: fbb5 bnez a5,32f0 <__swsetup_r+0x50>
|
|
337e: 00c41783 lh a5,12(s0)
|
|
3382: 0807f713 andi a4,a5,128
|
|
3386: d72d beqz a4,32f0 <__swsetup_r+0x50>
|
|
3388: 0407e793 ori a5,a5,64
|
|
338c: a45e sh a5,12(s0)
|
|
338e: b785 j 32ee <__swsetup_r+0x4e>
|
|
3390: 8b89 andi a5,a5,2
|
|
3392: 4701 li a4,0
|
|
3394: e391 bnez a5,3398 <__swsetup_r+0xf8>
|
|
3396: 4858 lw a4,20(s0)
|
|
3398: c418 sw a4,8(s0)
|
|
339a: bff9 j 3378 <__swsetup_r+0xd8>
|
|
|
|
0000339c <__sflush_r>:
|
|
339c: 25de lhu a5,12(a1)
|
|
339e: 1101 addi sp,sp,-32
|
|
33a0: cc22 sw s0,24(sp)
|
|
33a2: ca26 sw s1,20(sp)
|
|
33a4: ce06 sw ra,28(sp)
|
|
33a6: c84a sw s2,16(sp)
|
|
33a8: c64e sw s3,12(sp)
|
|
33aa: 0087f713 andi a4,a5,8
|
|
33ae: 84aa mv s1,a0
|
|
33b0: 842e mv s0,a1
|
|
33b2: eb79 bnez a4,3488 <__sflush_r+0xec>
|
|
33b4: 41d8 lw a4,4(a1)
|
|
33b6: 00e04d63 bgtz a4,33d0 <__sflush_r+0x34>
|
|
33ba: 41b8 lw a4,64(a1)
|
|
33bc: 00e04a63 bgtz a4,33d0 <__sflush_r+0x34>
|
|
33c0: 4501 li a0,0
|
|
33c2: 40f2 lw ra,28(sp)
|
|
33c4: 4462 lw s0,24(sp)
|
|
33c6: 44d2 lw s1,20(sp)
|
|
33c8: 4942 lw s2,16(sp)
|
|
33ca: 49b2 lw s3,12(sp)
|
|
33cc: 6105 addi sp,sp,32
|
|
33ce: 8082 ret
|
|
33d0: 5458 lw a4,44(s0)
|
|
33d2: d77d beqz a4,33c0 <__sflush_r+0x24>
|
|
33d4: 0004a903 lw s2,0(s1)
|
|
33d8: 01379693 slli a3,a5,0x13
|
|
33dc: 0004a023 sw zero,0(s1)
|
|
33e0: 0606db63 bgez a3,3456 <__sflush_r+0xba>
|
|
33e4: 4870 lw a2,84(s0)
|
|
33e6: 245e lhu a5,12(s0)
|
|
33e8: 8b91 andi a5,a5,4
|
|
33ea: c799 beqz a5,33f8 <__sflush_r+0x5c>
|
|
33ec: 405c lw a5,4(s0)
|
|
33ee: 8e1d sub a2,a2,a5
|
|
33f0: 585c lw a5,52(s0)
|
|
33f2: c399 beqz a5,33f8 <__sflush_r+0x5c>
|
|
33f4: 403c lw a5,64(s0)
|
|
33f6: 8e1d sub a2,a2,a5
|
|
33f8: 545c lw a5,44(s0)
|
|
33fa: 500c lw a1,32(s0)
|
|
33fc: 4681 li a3,0
|
|
33fe: 8526 mv a0,s1
|
|
3400: 9782 jalr a5
|
|
3402: 57fd li a5,-1
|
|
3404: 245a lhu a4,12(s0)
|
|
3406: 00f51d63 bne a0,a5,3420 <__sflush_r+0x84>
|
|
340a: 4094 lw a3,0(s1)
|
|
340c: 47f5 li a5,29
|
|
340e: 06d7e863 bltu a5,a3,347e <__sflush_r+0xe2>
|
|
3412: 204007b7 lui a5,0x20400
|
|
3416: 0785 addi a5,a5,1
|
|
3418: 00d7d7b3 srl a5,a5,a3
|
|
341c: 8b85 andi a5,a5,1
|
|
341e: c3a5 beqz a5,347e <__sflush_r+0xe2>
|
|
3420: 481c lw a5,16(s0)
|
|
3422: 00042223 sw zero,4(s0)
|
|
3426: c01c sw a5,0(s0)
|
|
3428: 01371793 slli a5,a4,0x13
|
|
342c: 0007d863 bgez a5,343c <__sflush_r+0xa0>
|
|
3430: 57fd li a5,-1
|
|
3432: 00f51463 bne a0,a5,343a <__sflush_r+0x9e>
|
|
3436: 409c lw a5,0(s1)
|
|
3438: e391 bnez a5,343c <__sflush_r+0xa0>
|
|
343a: c868 sw a0,84(s0)
|
|
343c: 584c lw a1,52(s0)
|
|
343e: 0124a023 sw s2,0(s1)
|
|
3442: ddbd beqz a1,33c0 <__sflush_r+0x24>
|
|
3444: 04440793 addi a5,s0,68
|
|
3448: 00f58463 beq a1,a5,3450 <__sflush_r+0xb4>
|
|
344c: 8526 mv a0,s1
|
|
344e: 2111 jal 3852 <_free_r>
|
|
3450: 02042a23 sw zero,52(s0)
|
|
3454: b7b5 j 33c0 <__sflush_r+0x24>
|
|
3456: 500c lw a1,32(s0)
|
|
3458: 4601 li a2,0
|
|
345a: 4685 li a3,1
|
|
345c: 8526 mv a0,s1
|
|
345e: 9702 jalr a4
|
|
3460: 57fd li a5,-1
|
|
3462: 862a mv a2,a0
|
|
3464: f8f511e3 bne a0,a5,33e6 <__sflush_r+0x4a>
|
|
3468: 409c lw a5,0(s1)
|
|
346a: dfb5 beqz a5,33e6 <__sflush_r+0x4a>
|
|
346c: 4775 li a4,29
|
|
346e: 00e78563 beq a5,a4,3478 <__sflush_r+0xdc>
|
|
3472: 4759 li a4,22
|
|
3474: 04e79363 bne a5,a4,34ba <__sflush_r+0x11e>
|
|
3478: 0124a023 sw s2,0(s1)
|
|
347c: b791 j 33c0 <__sflush_r+0x24>
|
|
347e: 04076713 ori a4,a4,64
|
|
3482: a45a sh a4,12(s0)
|
|
3484: 557d li a0,-1
|
|
3486: bf35 j 33c2 <__sflush_r+0x26>
|
|
3488: 0105a983 lw s3,16(a1)
|
|
348c: f2098ae3 beqz s3,33c0 <__sflush_r+0x24>
|
|
3490: 0005a903 lw s2,0(a1)
|
|
3494: 8b8d andi a5,a5,3
|
|
3496: 0135a023 sw s3,0(a1)
|
|
349a: 41390933 sub s2,s2,s3
|
|
349e: 4701 li a4,0
|
|
34a0: e391 bnez a5,34a4 <__sflush_r+0x108>
|
|
34a2: 49d8 lw a4,20(a1)
|
|
34a4: c418 sw a4,8(s0)
|
|
34a6: f1205de3 blez s2,33c0 <__sflush_r+0x24>
|
|
34aa: 541c lw a5,40(s0)
|
|
34ac: 500c lw a1,32(s0)
|
|
34ae: 86ca mv a3,s2
|
|
34b0: 864e mv a2,s3
|
|
34b2: 8526 mv a0,s1
|
|
34b4: 9782 jalr a5
|
|
34b6: 00a04763 bgtz a0,34c4 <__sflush_r+0x128>
|
|
34ba: 245e lhu a5,12(s0)
|
|
34bc: 0407e793 ori a5,a5,64
|
|
34c0: a45e sh a5,12(s0)
|
|
34c2: b7c9 j 3484 <__sflush_r+0xe8>
|
|
34c4: 99aa add s3,s3,a0
|
|
34c6: 40a90933 sub s2,s2,a0
|
|
34ca: bff1 j 34a6 <__sflush_r+0x10a>
|
|
|
|
000034cc <_fflush_r>:
|
|
34cc: 499c lw a5,16(a1)
|
|
34ce: c3a5 beqz a5,352e <_fflush_r+0x62>
|
|
34d0: 1101 addi sp,sp,-32
|
|
34d2: cc22 sw s0,24(sp)
|
|
34d4: ce06 sw ra,28(sp)
|
|
34d6: 842a mv s0,a0
|
|
34d8: c511 beqz a0,34e4 <_fflush_r+0x18>
|
|
34da: 4d1c lw a5,24(a0)
|
|
34dc: e781 bnez a5,34e4 <_fflush_r+0x18>
|
|
34de: c62e sw a1,12(sp)
|
|
34e0: 2221 jal 35e8 <__sinit>
|
|
34e2: 45b2 lw a1,12(sp)
|
|
34e4: 00001797 auipc a5,0x1
|
|
34e8: 34078793 addi a5,a5,832 # 4824 <__sf_fake_stdin>
|
|
34ec: 00f59c63 bne a1,a5,3504 <_fflush_r+0x38>
|
|
34f0: 404c lw a1,4(s0)
|
|
34f2: 00c59783 lh a5,12(a1)
|
|
34f6: c79d beqz a5,3524 <_fflush_r+0x58>
|
|
34f8: 8522 mv a0,s0
|
|
34fa: 4462 lw s0,24(sp)
|
|
34fc: 40f2 lw ra,28(sp)
|
|
34fe: 6105 addi sp,sp,32
|
|
3500: e9dff06f j 339c <__sflush_r>
|
|
3504: 00001797 auipc a5,0x1
|
|
3508: 34078793 addi a5,a5,832 # 4844 <__sf_fake_stdout>
|
|
350c: 00f59463 bne a1,a5,3514 <_fflush_r+0x48>
|
|
3510: 440c lw a1,8(s0)
|
|
3512: b7c5 j 34f2 <_fflush_r+0x26>
|
|
3514: 00001797 auipc a5,0x1
|
|
3518: 2f078793 addi a5,a5,752 # 4804 <__sf_fake_stderr>
|
|
351c: fcf59be3 bne a1,a5,34f2 <_fflush_r+0x26>
|
|
3520: 444c lw a1,12(s0)
|
|
3522: bfc1 j 34f2 <_fflush_r+0x26>
|
|
3524: 40f2 lw ra,28(sp)
|
|
3526: 4462 lw s0,24(sp)
|
|
3528: 4501 li a0,0
|
|
352a: 6105 addi sp,sp,32
|
|
352c: 8082 ret
|
|
352e: 4501 li a0,0
|
|
3530: 8082 ret
|
|
|
|
00003532 <std>:
|
|
3532: 1141 addi sp,sp,-16
|
|
3534: c422 sw s0,8(sp)
|
|
3536: c606 sw ra,12(sp)
|
|
3538: 842a mv s0,a0
|
|
353a: a54e sh a1,12(a0)
|
|
353c: a572 sh a2,14(a0)
|
|
353e: 00052023 sw zero,0(a0)
|
|
3542: 00052223 sw zero,4(a0)
|
|
3546: 00052423 sw zero,8(a0)
|
|
354a: 06052223 sw zero,100(a0)
|
|
354e: 00052823 sw zero,16(a0)
|
|
3552: 00052a23 sw zero,20(a0)
|
|
3556: 00052c23 sw zero,24(a0)
|
|
355a: 4621 li a2,8
|
|
355c: 4581 li a1,0
|
|
355e: 05c50513 addi a0,a0,92
|
|
3562: c3ffc0ef jal ra,1a0 <memset>
|
|
3566: 00001797 auipc a5,0x1
|
|
356a: b3278793 addi a5,a5,-1230 # 4098 <__sread>
|
|
356e: d05c sw a5,36(s0)
|
|
3570: 00001797 auipc a5,0x1
|
|
3574: b5478793 addi a5,a5,-1196 # 40c4 <__swrite>
|
|
3578: d41c sw a5,40(s0)
|
|
357a: 00001797 auipc a5,0x1
|
|
357e: b9278793 addi a5,a5,-1134 # 410c <__sseek>
|
|
3582: d45c sw a5,44(s0)
|
|
3584: 00001797 auipc a5,0x1
|
|
3588: bb878793 addi a5,a5,-1096 # 413c <__sclose>
|
|
358c: d000 sw s0,32(s0)
|
|
358e: d81c sw a5,48(s0)
|
|
3590: 40b2 lw ra,12(sp)
|
|
3592: 4422 lw s0,8(sp)
|
|
3594: 0141 addi sp,sp,16
|
|
3596: 8082 ret
|
|
|
|
00003598 <_cleanup_r>:
|
|
3598: 00000597 auipc a1,0x0
|
|
359c: f3458593 addi a1,a1,-204 # 34cc <_fflush_r>
|
|
35a0: aa91 j 36f4 <_fwalk_reent>
|
|
|
|
000035a2 <__sfmoreglue>:
|
|
35a2: 1141 addi sp,sp,-16
|
|
35a4: c226 sw s1,4(sp)
|
|
35a6: 06800613 li a2,104
|
|
35aa: fff58493 addi s1,a1,-1
|
|
35ae: 02c484b3 mul s1,s1,a2
|
|
35b2: c04a sw s2,0(sp)
|
|
35b4: 892e mv s2,a1
|
|
35b6: c422 sw s0,8(sp)
|
|
35b8: c606 sw ra,12(sp)
|
|
35ba: 07448593 addi a1,s1,116
|
|
35be: 2e35 jal 38fa <_malloc_r>
|
|
35c0: 842a mv s0,a0
|
|
35c2: cd01 beqz a0,35da <__sfmoreglue+0x38>
|
|
35c4: 00052023 sw zero,0(a0)
|
|
35c8: 01252223 sw s2,4(a0)
|
|
35cc: 0531 addi a0,a0,12
|
|
35ce: c408 sw a0,8(s0)
|
|
35d0: 06848613 addi a2,s1,104
|
|
35d4: 4581 li a1,0
|
|
35d6: bcbfc0ef jal ra,1a0 <memset>
|
|
35da: 8522 mv a0,s0
|
|
35dc: 40b2 lw ra,12(sp)
|
|
35de: 4422 lw s0,8(sp)
|
|
35e0: 4492 lw s1,4(sp)
|
|
35e2: 4902 lw s2,0(sp)
|
|
35e4: 0141 addi sp,sp,16
|
|
35e6: 8082 ret
|
|
|
|
000035e8 <__sinit>:
|
|
35e8: 4d1c lw a5,24(a0)
|
|
35ea: e7a5 bnez a5,3652 <__sinit+0x6a>
|
|
35ec: 1141 addi sp,sp,-16
|
|
35ee: c606 sw ra,12(sp)
|
|
35f0: c422 sw s0,8(sp)
|
|
35f2: 00000797 auipc a5,0x0
|
|
35f6: fa678793 addi a5,a5,-90 # 3598 <_cleanup_r>
|
|
35fa: d51c sw a5,40(a0)
|
|
35fc: 81818793 addi a5,gp,-2024 # 20000158 <_global_impure_ptr>
|
|
3600: 439c lw a5,0(a5)
|
|
3602: 04052423 sw zero,72(a0)
|
|
3606: 04052623 sw zero,76(a0)
|
|
360a: 04052823 sw zero,80(a0)
|
|
360e: 00f51463 bne a0,a5,3616 <__sinit+0x2e>
|
|
3612: 4785 li a5,1
|
|
3614: cd1c sw a5,24(a0)
|
|
3616: 842a mv s0,a0
|
|
3618: 2835 jal 3654 <__sfp>
|
|
361a: c048 sw a0,4(s0)
|
|
361c: 8522 mv a0,s0
|
|
361e: 281d jal 3654 <__sfp>
|
|
3620: c408 sw a0,8(s0)
|
|
3622: 8522 mv a0,s0
|
|
3624: 2805 jal 3654 <__sfp>
|
|
3626: c448 sw a0,12(s0)
|
|
3628: 4048 lw a0,4(s0)
|
|
362a: 4601 li a2,0
|
|
362c: 4591 li a1,4
|
|
362e: f05ff0ef jal ra,3532 <std>
|
|
3632: 4408 lw a0,8(s0)
|
|
3634: 4605 li a2,1
|
|
3636: 45a5 li a1,9
|
|
3638: efbff0ef jal ra,3532 <std>
|
|
363c: 4448 lw a0,12(s0)
|
|
363e: 4609 li a2,2
|
|
3640: 45c9 li a1,18
|
|
3642: ef1ff0ef jal ra,3532 <std>
|
|
3646: 4785 li a5,1
|
|
3648: cc1c sw a5,24(s0)
|
|
364a: 40b2 lw ra,12(sp)
|
|
364c: 4422 lw s0,8(sp)
|
|
364e: 0141 addi sp,sp,16
|
|
3650: 8082 ret
|
|
3652: 8082 ret
|
|
|
|
00003654 <__sfp>:
|
|
3654: 1141 addi sp,sp,-16
|
|
3656: 81818793 addi a5,gp,-2024 # 20000158 <_global_impure_ptr>
|
|
365a: c226 sw s1,4(sp)
|
|
365c: 4384 lw s1,0(a5)
|
|
365e: c04a sw s2,0(sp)
|
|
3660: c606 sw ra,12(sp)
|
|
3662: 4c9c lw a5,24(s1)
|
|
3664: c422 sw s0,8(sp)
|
|
3666: 892a mv s2,a0
|
|
3668: e781 bnez a5,3670 <__sfp+0x1c>
|
|
366a: 8526 mv a0,s1
|
|
366c: f7dff0ef jal ra,35e8 <__sinit>
|
|
3670: 04848493 addi s1,s1,72
|
|
3674: 4480 lw s0,8(s1)
|
|
3676: 40dc lw a5,4(s1)
|
|
3678: 17fd addi a5,a5,-1
|
|
367a: 0007d663 bgez a5,3686 <__sfp+0x32>
|
|
367e: 409c lw a5,0(s1)
|
|
3680: cfb9 beqz a5,36de <__sfp+0x8a>
|
|
3682: 4084 lw s1,0(s1)
|
|
3684: bfc5 j 3674 <__sfp+0x20>
|
|
3686: 00c41703 lh a4,12(s0)
|
|
368a: e739 bnez a4,36d8 <__sfp+0x84>
|
|
368c: 77c1 lui a5,0xffff0
|
|
368e: 0785 addi a5,a5,1
|
|
3690: 06042223 sw zero,100(s0)
|
|
3694: 00042023 sw zero,0(s0)
|
|
3698: 00042223 sw zero,4(s0)
|
|
369c: 00042423 sw zero,8(s0)
|
|
36a0: c45c sw a5,12(s0)
|
|
36a2: 00042823 sw zero,16(s0)
|
|
36a6: 00042a23 sw zero,20(s0)
|
|
36aa: 00042c23 sw zero,24(s0)
|
|
36ae: 4621 li a2,8
|
|
36b0: 4581 li a1,0
|
|
36b2: 05c40513 addi a0,s0,92
|
|
36b6: aebfc0ef jal ra,1a0 <memset>
|
|
36ba: 02042a23 sw zero,52(s0)
|
|
36be: 02042c23 sw zero,56(s0)
|
|
36c2: 04042423 sw zero,72(s0)
|
|
36c6: 04042623 sw zero,76(s0)
|
|
36ca: 8522 mv a0,s0
|
|
36cc: 40b2 lw ra,12(sp)
|
|
36ce: 4422 lw s0,8(sp)
|
|
36d0: 4492 lw s1,4(sp)
|
|
36d2: 4902 lw s2,0(sp)
|
|
36d4: 0141 addi sp,sp,16
|
|
36d6: 8082 ret
|
|
36d8: 06840413 addi s0,s0,104
|
|
36dc: bf71 j 3678 <__sfp+0x24>
|
|
36de: 4591 li a1,4
|
|
36e0: 854a mv a0,s2
|
|
36e2: ec1ff0ef jal ra,35a2 <__sfmoreglue>
|
|
36e6: c088 sw a0,0(s1)
|
|
36e8: fd49 bnez a0,3682 <__sfp+0x2e>
|
|
36ea: 47b1 li a5,12
|
|
36ec: 00f92023 sw a5,0(s2)
|
|
36f0: 4401 li s0,0
|
|
36f2: bfe1 j 36ca <__sfp+0x76>
|
|
|
|
000036f4 <_fwalk_reent>:
|
|
36f4: 7179 addi sp,sp,-48
|
|
36f6: d422 sw s0,40(sp)
|
|
36f8: d04a sw s2,32(sp)
|
|
36fa: cc52 sw s4,24(sp)
|
|
36fc: ca56 sw s5,20(sp)
|
|
36fe: c85a sw s6,16(sp)
|
|
3700: c65e sw s7,12(sp)
|
|
3702: d606 sw ra,44(sp)
|
|
3704: d226 sw s1,36(sp)
|
|
3706: ce4e sw s3,28(sp)
|
|
3708: 8a2a mv s4,a0
|
|
370a: 8aae mv s5,a1
|
|
370c: 04850413 addi s0,a0,72
|
|
3710: 4901 li s2,0
|
|
3712: 4b05 li s6,1
|
|
3714: 5bfd li s7,-1
|
|
3716: ec09 bnez s0,3730 <_fwalk_reent+0x3c>
|
|
3718: 50b2 lw ra,44(sp)
|
|
371a: 5422 lw s0,40(sp)
|
|
371c: 854a mv a0,s2
|
|
371e: 5492 lw s1,36(sp)
|
|
3720: 5902 lw s2,32(sp)
|
|
3722: 49f2 lw s3,28(sp)
|
|
3724: 4a62 lw s4,24(sp)
|
|
3726: 4ad2 lw s5,20(sp)
|
|
3728: 4b42 lw s6,16(sp)
|
|
372a: 4bb2 lw s7,12(sp)
|
|
372c: 6145 addi sp,sp,48
|
|
372e: 8082 ret
|
|
3730: 4404 lw s1,8(s0)
|
|
3732: 00442983 lw s3,4(s0)
|
|
3736: 19fd addi s3,s3,-1
|
|
3738: 0009d463 bgez s3,3740 <_fwalk_reent+0x4c>
|
|
373c: 4000 lw s0,0(s0)
|
|
373e: bfe1 j 3716 <_fwalk_reent+0x22>
|
|
3740: 24de lhu a5,12(s1)
|
|
3742: 00fb7b63 bgeu s6,a5,3758 <_fwalk_reent+0x64>
|
|
3746: 00e49783 lh a5,14(s1)
|
|
374a: 01778763 beq a5,s7,3758 <_fwalk_reent+0x64>
|
|
374e: 85a6 mv a1,s1
|
|
3750: 8552 mv a0,s4
|
|
3752: 9a82 jalr s5
|
|
3754: 00a96933 or s2,s2,a0
|
|
3758: 06848493 addi s1,s1,104
|
|
375c: bfe9 j 3736 <_fwalk_reent+0x42>
|
|
|
|
0000375e <__swhatbuf_r>:
|
|
375e: 7119 addi sp,sp,-128
|
|
3760: daa6 sw s1,116(sp)
|
|
3762: 84ae mv s1,a1
|
|
3764: 00e59583 lh a1,14(a1)
|
|
3768: dca2 sw s0,120(sp)
|
|
376a: de86 sw ra,124(sp)
|
|
376c: 8432 mv s0,a2
|
|
376e: 0005db63 bgez a1,3784 <__swhatbuf_r+0x26>
|
|
3772: 24de lhu a5,12(s1)
|
|
3774: 0006a023 sw zero,0(a3)
|
|
3778: 0807f793 andi a5,a5,128
|
|
377c: e785 bnez a5,37a4 <__swhatbuf_r+0x46>
|
|
377e: 40000793 li a5,1024
|
|
3782: a01d j 37a8 <__swhatbuf_r+0x4a>
|
|
3784: 0830 addi a2,sp,24
|
|
3786: c636 sw a3,12(sp)
|
|
3788: 211000ef jal ra,4198 <_fstat_r>
|
|
378c: 46b2 lw a3,12(sp)
|
|
378e: fe0542e3 bltz a0,3772 <__swhatbuf_r+0x14>
|
|
3792: 4772 lw a4,28(sp)
|
|
3794: 67bd lui a5,0xf
|
|
3796: 8ff9 and a5,a5,a4
|
|
3798: 7779 lui a4,0xffffe
|
|
379a: 97ba add a5,a5,a4
|
|
379c: 0017b793 seqz a5,a5
|
|
37a0: c29c sw a5,0(a3)
|
|
37a2: bff1 j 377e <__swhatbuf_r+0x20>
|
|
37a4: 04000793 li a5,64
|
|
37a8: c01c sw a5,0(s0)
|
|
37aa: 50f6 lw ra,124(sp)
|
|
37ac: 5466 lw s0,120(sp)
|
|
37ae: 54d6 lw s1,116(sp)
|
|
37b0: 4501 li a0,0
|
|
37b2: 6109 addi sp,sp,128
|
|
37b4: 8082 ret
|
|
|
|
000037b6 <__smakebuf_r>:
|
|
37b6: 25de lhu a5,12(a1)
|
|
37b8: 1101 addi sp,sp,-32
|
|
37ba: cc22 sw s0,24(sp)
|
|
37bc: ce06 sw ra,28(sp)
|
|
37be: ca26 sw s1,20(sp)
|
|
37c0: c84a sw s2,16(sp)
|
|
37c2: 8b89 andi a5,a5,2
|
|
37c4: 842e mv s0,a1
|
|
37c6: cf89 beqz a5,37e0 <__smakebuf_r+0x2a>
|
|
37c8: 04740793 addi a5,s0,71
|
|
37cc: c01c sw a5,0(s0)
|
|
37ce: c81c sw a5,16(s0)
|
|
37d0: 4785 li a5,1
|
|
37d2: c85c sw a5,20(s0)
|
|
37d4: 40f2 lw ra,28(sp)
|
|
37d6: 4462 lw s0,24(sp)
|
|
37d8: 44d2 lw s1,20(sp)
|
|
37da: 4942 lw s2,16(sp)
|
|
37dc: 6105 addi sp,sp,32
|
|
37de: 8082 ret
|
|
37e0: 0074 addi a3,sp,12
|
|
37e2: 0030 addi a2,sp,8
|
|
37e4: 84aa mv s1,a0
|
|
37e6: f79ff0ef jal ra,375e <__swhatbuf_r>
|
|
37ea: 45a2 lw a1,8(sp)
|
|
37ec: 892a mv s2,a0
|
|
37ee: 8526 mv a0,s1
|
|
37f0: 2229 jal 38fa <_malloc_r>
|
|
37f2: e919 bnez a0,3808 <__smakebuf_r+0x52>
|
|
37f4: 00c41783 lh a5,12(s0)
|
|
37f8: 2007f713 andi a4,a5,512
|
|
37fc: ff61 bnez a4,37d4 <__smakebuf_r+0x1e>
|
|
37fe: 9bf1 andi a5,a5,-4
|
|
3800: 0027e793 ori a5,a5,2
|
|
3804: a45e sh a5,12(s0)
|
|
3806: b7c9 j 37c8 <__smakebuf_r+0x12>
|
|
3808: 00000797 auipc a5,0x0
|
|
380c: d9078793 addi a5,a5,-624 # 3598 <_cleanup_r>
|
|
3810: d49c sw a5,40(s1)
|
|
3812: 245e lhu a5,12(s0)
|
|
3814: c008 sw a0,0(s0)
|
|
3816: c808 sw a0,16(s0)
|
|
3818: 0807e793 ori a5,a5,128
|
|
381c: a45e sh a5,12(s0)
|
|
381e: 47a2 lw a5,8(sp)
|
|
3820: c85c sw a5,20(s0)
|
|
3822: 47b2 lw a5,12(sp)
|
|
3824: cf81 beqz a5,383c <__smakebuf_r+0x86>
|
|
3826: 00e41583 lh a1,14(s0)
|
|
382a: 8526 mv a0,s1
|
|
382c: 197000ef jal ra,41c2 <_isatty_r>
|
|
3830: c511 beqz a0,383c <__smakebuf_r+0x86>
|
|
3832: 245e lhu a5,12(s0)
|
|
3834: 9bf1 andi a5,a5,-4
|
|
3836: 0017e793 ori a5,a5,1
|
|
383a: a45e sh a5,12(s0)
|
|
383c: 245e lhu a5,12(s0)
|
|
383e: 00f96933 or s2,s2,a5
|
|
3842: 01241623 sh s2,12(s0)
|
|
3846: b779 j 37d4 <__smakebuf_r+0x1e>
|
|
|
|
00003848 <malloc>:
|
|
3848: 81418793 addi a5,gp,-2028 # 20000154 <_impure_ptr>
|
|
384c: 85aa mv a1,a0
|
|
384e: 4388 lw a0,0(a5)
|
|
3850: a06d j 38fa <_malloc_r>
|
|
|
|
00003852 <_free_r>:
|
|
3852: c1dd beqz a1,38f8 <_free_r+0xa6>
|
|
3854: ffc5a783 lw a5,-4(a1)
|
|
3858: 1141 addi sp,sp,-16
|
|
385a: c422 sw s0,8(sp)
|
|
385c: c606 sw ra,12(sp)
|
|
385e: c226 sw s1,4(sp)
|
|
3860: ffc58413 addi s0,a1,-4
|
|
3864: 0007d363 bgez a5,386a <_free_r+0x18>
|
|
3868: 943e add s0,s0,a5
|
|
386a: 84aa mv s1,a0
|
|
386c: 1c3000ef jal ra,422e <__malloc_lock>
|
|
3870: 85c18793 addi a5,gp,-1956 # 2000019c <__malloc_free_list>
|
|
3874: 439c lw a5,0(a5)
|
|
3876: ef81 bnez a5,388e <_free_r+0x3c>
|
|
3878: 00042223 sw zero,4(s0)
|
|
387c: 8481ae23 sw s0,-1956(gp) # 2000019c <__malloc_free_list>
|
|
3880: 4422 lw s0,8(sp)
|
|
3882: 40b2 lw ra,12(sp)
|
|
3884: 8526 mv a0,s1
|
|
3886: 4492 lw s1,4(sp)
|
|
3888: 0141 addi sp,sp,16
|
|
388a: 1a70006f j 4230 <__malloc_unlock>
|
|
388e: 00f47e63 bgeu s0,a5,38aa <_free_r+0x58>
|
|
3892: 4014 lw a3,0(s0)
|
|
3894: 00d40733 add a4,s0,a3
|
|
3898: 00e79663 bne a5,a4,38a4 <_free_r+0x52>
|
|
389c: 4398 lw a4,0(a5)
|
|
389e: 43dc lw a5,4(a5)
|
|
38a0: 9736 add a4,a4,a3
|
|
38a2: c018 sw a4,0(s0)
|
|
38a4: c05c sw a5,4(s0)
|
|
38a6: bfd9 j 387c <_free_r+0x2a>
|
|
38a8: 87ba mv a5,a4
|
|
38aa: 43d8 lw a4,4(a5)
|
|
38ac: c319 beqz a4,38b2 <_free_r+0x60>
|
|
38ae: fee47de3 bgeu s0,a4,38a8 <_free_r+0x56>
|
|
38b2: 4394 lw a3,0(a5)
|
|
38b4: 00d78633 add a2,a5,a3
|
|
38b8: 00861f63 bne a2,s0,38d6 <_free_r+0x84>
|
|
38bc: 4010 lw a2,0(s0)
|
|
38be: 96b2 add a3,a3,a2
|
|
38c0: c394 sw a3,0(a5)
|
|
38c2: 00d78633 add a2,a5,a3
|
|
38c6: fac71de3 bne a4,a2,3880 <_free_r+0x2e>
|
|
38ca: 4310 lw a2,0(a4)
|
|
38cc: 4358 lw a4,4(a4)
|
|
38ce: 96b2 add a3,a3,a2
|
|
38d0: c394 sw a3,0(a5)
|
|
38d2: c3d8 sw a4,4(a5)
|
|
38d4: b775 j 3880 <_free_r+0x2e>
|
|
38d6: 00c47563 bgeu s0,a2,38e0 <_free_r+0x8e>
|
|
38da: 47b1 li a5,12
|
|
38dc: c09c sw a5,0(s1)
|
|
38de: b74d j 3880 <_free_r+0x2e>
|
|
38e0: 4010 lw a2,0(s0)
|
|
38e2: 00c406b3 add a3,s0,a2
|
|
38e6: 00d71663 bne a4,a3,38f2 <_free_r+0xa0>
|
|
38ea: 4314 lw a3,0(a4)
|
|
38ec: 4358 lw a4,4(a4)
|
|
38ee: 96b2 add a3,a3,a2
|
|
38f0: c014 sw a3,0(s0)
|
|
38f2: c058 sw a4,4(s0)
|
|
38f4: c3c0 sw s0,4(a5)
|
|
38f6: b769 j 3880 <_free_r+0x2e>
|
|
38f8: 8082 ret
|
|
|
|
000038fa <_malloc_r>:
|
|
38fa: 1101 addi sp,sp,-32
|
|
38fc: ca26 sw s1,20(sp)
|
|
38fe: 00358493 addi s1,a1,3
|
|
3902: 98f1 andi s1,s1,-4
|
|
3904: ce06 sw ra,28(sp)
|
|
3906: cc22 sw s0,24(sp)
|
|
3908: c84a sw s2,16(sp)
|
|
390a: c64e sw s3,12(sp)
|
|
390c: 04a1 addi s1,s1,8
|
|
390e: 47b1 li a5,12
|
|
3910: 04f4f363 bgeu s1,a5,3956 <_malloc_r+0x5c>
|
|
3914: 44b1 li s1,12
|
|
3916: 04b4e263 bltu s1,a1,395a <_malloc_r+0x60>
|
|
391a: 892a mv s2,a0
|
|
391c: 113000ef jal ra,422e <__malloc_lock>
|
|
3920: 85c18793 addi a5,gp,-1956 # 2000019c <__malloc_free_list>
|
|
3924: 4398 lw a4,0(a5)
|
|
3926: 843a mv s0,a4
|
|
3928: e039 bnez s0,396e <_malloc_r+0x74>
|
|
392a: 86018793 addi a5,gp,-1952 # 200001a0 <__malloc_sbrk_start>
|
|
392e: 439c lw a5,0(a5)
|
|
3930: e791 bnez a5,393c <_malloc_r+0x42>
|
|
3932: 4581 li a1,0
|
|
3934: 854a mv a0,s2
|
|
3936: 2f25 jal 406e <_sbrk_r>
|
|
3938: 86a1a023 sw a0,-1952(gp) # 200001a0 <__malloc_sbrk_start>
|
|
393c: 85a6 mv a1,s1
|
|
393e: 854a mv a0,s2
|
|
3940: 273d jal 406e <_sbrk_r>
|
|
3942: 59fd li s3,-1
|
|
3944: 07351963 bne a0,s3,39b6 <_malloc_r+0xbc>
|
|
3948: 47b1 li a5,12
|
|
394a: 00f92023 sw a5,0(s2)
|
|
394e: 854a mv a0,s2
|
|
3950: 0e1000ef jal ra,4230 <__malloc_unlock>
|
|
3954: a029 j 395e <_malloc_r+0x64>
|
|
3956: fc04d0e3 bgez s1,3916 <_malloc_r+0x1c>
|
|
395a: 47b1 li a5,12
|
|
395c: c11c sw a5,0(a0)
|
|
395e: 4501 li a0,0
|
|
3960: 40f2 lw ra,28(sp)
|
|
3962: 4462 lw s0,24(sp)
|
|
3964: 44d2 lw s1,20(sp)
|
|
3966: 4942 lw s2,16(sp)
|
|
3968: 49b2 lw s3,12(sp)
|
|
396a: 6105 addi sp,sp,32
|
|
396c: 8082 ret
|
|
396e: 401c lw a5,0(s0)
|
|
3970: 8f85 sub a5,a5,s1
|
|
3972: 0207cf63 bltz a5,39b0 <_malloc_r+0xb6>
|
|
3976: 46ad li a3,11
|
|
3978: 00f6f663 bgeu a3,a5,3984 <_malloc_r+0x8a>
|
|
397c: c01c sw a5,0(s0)
|
|
397e: 943e add s0,s0,a5
|
|
3980: c004 sw s1,0(s0)
|
|
3982: a031 j 398e <_malloc_r+0x94>
|
|
3984: 405c lw a5,4(s0)
|
|
3986: 02871363 bne a4,s0,39ac <_malloc_r+0xb2>
|
|
398a: 84f1ae23 sw a5,-1956(gp) # 2000019c <__malloc_free_list>
|
|
398e: 854a mv a0,s2
|
|
3990: 0a1000ef jal ra,4230 <__malloc_unlock>
|
|
3994: 00b40513 addi a0,s0,11
|
|
3998: 00440793 addi a5,s0,4
|
|
399c: 9961 andi a0,a0,-8
|
|
399e: 40f50733 sub a4,a0,a5
|
|
39a2: df5d beqz a4,3960 <_malloc_r+0x66>
|
|
39a4: 943a add s0,s0,a4
|
|
39a6: 8f89 sub a5,a5,a0
|
|
39a8: c01c sw a5,0(s0)
|
|
39aa: bf5d j 3960 <_malloc_r+0x66>
|
|
39ac: c35c sw a5,4(a4)
|
|
39ae: b7c5 j 398e <_malloc_r+0x94>
|
|
39b0: 8722 mv a4,s0
|
|
39b2: 4040 lw s0,4(s0)
|
|
39b4: bf95 j 3928 <_malloc_r+0x2e>
|
|
39b6: 00350413 addi s0,a0,3
|
|
39ba: 9871 andi s0,s0,-4
|
|
39bc: fc8502e3 beq a0,s0,3980 <_malloc_r+0x86>
|
|
39c0: 40a405b3 sub a1,s0,a0
|
|
39c4: 854a mv a0,s2
|
|
39c6: 2565 jal 406e <_sbrk_r>
|
|
39c8: fb351ce3 bne a0,s3,3980 <_malloc_r+0x86>
|
|
39cc: bfb5 j 3948 <_malloc_r+0x4e>
|
|
|
|
000039ce <__sfputc_r>:
|
|
39ce: 461c lw a5,8(a2)
|
|
39d0: 17fd addi a5,a5,-1
|
|
39d2: c61c sw a5,8(a2)
|
|
39d4: 0007da63 bgez a5,39e8 <__sfputc_r+0x1a>
|
|
39d8: 4e18 lw a4,24(a2)
|
|
39da: 00e7c563 blt a5,a4,39e4 <__sfputc_r+0x16>
|
|
39de: 47a9 li a5,10
|
|
39e0: 00f59463 bne a1,a5,39e8 <__sfputc_r+0x1a>
|
|
39e4: 801ff06f j 31e4 <__swbuf_r>
|
|
39e8: 421c lw a5,0(a2)
|
|
39ea: 852e mv a0,a1
|
|
39ec: 00178713 addi a4,a5,1
|
|
39f0: c218 sw a4,0(a2)
|
|
39f2: a38c sb a1,0(a5)
|
|
39f4: 8082 ret
|
|
|
|
000039f6 <__sfputs_r>:
|
|
39f6: 1101 addi sp,sp,-32
|
|
39f8: cc22 sw s0,24(sp)
|
|
39fa: ca26 sw s1,20(sp)
|
|
39fc: c84a sw s2,16(sp)
|
|
39fe: c64e sw s3,12(sp)
|
|
3a00: c452 sw s4,8(sp)
|
|
3a02: ce06 sw ra,28(sp)
|
|
3a04: 892a mv s2,a0
|
|
3a06: 89ae mv s3,a1
|
|
3a08: 8432 mv s0,a2
|
|
3a0a: 00d604b3 add s1,a2,a3
|
|
3a0e: 5a7d li s4,-1
|
|
3a10: 00941463 bne s0,s1,3a18 <__sfputs_r+0x22>
|
|
3a14: 4501 li a0,0
|
|
3a16: a809 j 3a28 <__sfputs_r+0x32>
|
|
3a18: 200c lbu a1,0(s0)
|
|
3a1a: 864e mv a2,s3
|
|
3a1c: 854a mv a0,s2
|
|
3a1e: fb1ff0ef jal ra,39ce <__sfputc_r>
|
|
3a22: 0405 addi s0,s0,1
|
|
3a24: ff4516e3 bne a0,s4,3a10 <__sfputs_r+0x1a>
|
|
3a28: 40f2 lw ra,28(sp)
|
|
3a2a: 4462 lw s0,24(sp)
|
|
3a2c: 44d2 lw s1,20(sp)
|
|
3a2e: 4942 lw s2,16(sp)
|
|
3a30: 49b2 lw s3,12(sp)
|
|
3a32: 4a22 lw s4,8(sp)
|
|
3a34: 6105 addi sp,sp,32
|
|
3a36: 8082 ret
|
|
|
|
00003a38 <_vfiprintf_r>:
|
|
3a38: 7135 addi sp,sp,-160
|
|
3a3a: cd22 sw s0,152(sp)
|
|
3a3c: cb26 sw s1,148(sp)
|
|
3a3e: c94a sw s2,144(sp)
|
|
3a40: c74e sw s3,140(sp)
|
|
3a42: cf06 sw ra,156(sp)
|
|
3a44: c552 sw s4,136(sp)
|
|
3a46: c356 sw s5,132(sp)
|
|
3a48: c15a sw s6,128(sp)
|
|
3a4a: dede sw s7,124(sp)
|
|
3a4c: dce2 sw s8,120(sp)
|
|
3a4e: dae6 sw s9,116(sp)
|
|
3a50: 89aa mv s3,a0
|
|
3a52: 84ae mv s1,a1
|
|
3a54: 8932 mv s2,a2
|
|
3a56: 8436 mv s0,a3
|
|
3a58: c509 beqz a0,3a62 <_vfiprintf_r+0x2a>
|
|
3a5a: 4d1c lw a5,24(a0)
|
|
3a5c: e399 bnez a5,3a62 <_vfiprintf_r+0x2a>
|
|
3a5e: b8bff0ef jal ra,35e8 <__sinit>
|
|
3a62: 00001797 auipc a5,0x1
|
|
3a66: dc278793 addi a5,a5,-574 # 4824 <__sf_fake_stdin>
|
|
3a6a: 0cf49863 bne s1,a5,3b3a <_vfiprintf_r+0x102>
|
|
3a6e: 0049a483 lw s1,4(s3)
|
|
3a72: 24de lhu a5,12(s1)
|
|
3a74: 8ba1 andi a5,a5,8
|
|
3a76: c7e5 beqz a5,3b5e <_vfiprintf_r+0x126>
|
|
3a78: 489c lw a5,16(s1)
|
|
3a7a: c3f5 beqz a5,3b5e <_vfiprintf_r+0x126>
|
|
3a7c: 02000793 li a5,32
|
|
3a80: 02f104a3 sb a5,41(sp)
|
|
3a84: 03000793 li a5,48
|
|
3a88: d202 sw zero,36(sp)
|
|
3a8a: 02f10523 sb a5,42(sp)
|
|
3a8e: c622 sw s0,12(sp)
|
|
3a90: 02500b93 li s7,37
|
|
3a94: 00001a97 auipc s5,0x1
|
|
3a98: dd0a8a93 addi s5,s5,-560 # 4864 <__sf_fake_stdout+0x20>
|
|
3a9c: 4c05 li s8,1
|
|
3a9e: 4b29 li s6,10
|
|
3aa0: 844a mv s0,s2
|
|
3aa2: 201c lbu a5,0(s0)
|
|
3aa4: c399 beqz a5,3aaa <_vfiprintf_r+0x72>
|
|
3aa6: 0d779f63 bne a5,s7,3b84 <_vfiprintf_r+0x14c>
|
|
3aaa: 41240cb3 sub s9,s0,s2
|
|
3aae: 000c8e63 beqz s9,3aca <_vfiprintf_r+0x92>
|
|
3ab2: 86e6 mv a3,s9
|
|
3ab4: 864a mv a2,s2
|
|
3ab6: 85a6 mv a1,s1
|
|
3ab8: 854e mv a0,s3
|
|
3aba: f3dff0ef jal ra,39f6 <__sfputs_r>
|
|
3abe: 57fd li a5,-1
|
|
3ac0: 1cf50f63 beq a0,a5,3c9e <_vfiprintf_r+0x266>
|
|
3ac4: 5692 lw a3,36(sp)
|
|
3ac6: 96e6 add a3,a3,s9
|
|
3ac8: d236 sw a3,36(sp)
|
|
3aca: 201c lbu a5,0(s0)
|
|
3acc: 1c078963 beqz a5,3c9e <_vfiprintf_r+0x266>
|
|
3ad0: 57fd li a5,-1
|
|
3ad2: 00140913 addi s2,s0,1
|
|
3ad6: c802 sw zero,16(sp)
|
|
3ad8: ce02 sw zero,28(sp)
|
|
3ada: ca3e sw a5,20(sp)
|
|
3adc: cc02 sw zero,24(sp)
|
|
3ade: 040109a3 sb zero,83(sp)
|
|
3ae2: d482 sw zero,104(sp)
|
|
3ae4: 00094583 lbu a1,0(s2)
|
|
3ae8: 4615 li a2,5
|
|
3aea: 8556 mv a0,s5
|
|
3aec: 272d jal 4216 <memchr>
|
|
3aee: 00190413 addi s0,s2,1
|
|
3af2: 47c2 lw a5,16(sp)
|
|
3af4: e951 bnez a0,3b88 <_vfiprintf_r+0x150>
|
|
3af6: 0107f713 andi a4,a5,16
|
|
3afa: c709 beqz a4,3b04 <_vfiprintf_r+0xcc>
|
|
3afc: 02000713 li a4,32
|
|
3b00: 04e109a3 sb a4,83(sp)
|
|
3b04: 0087f713 andi a4,a5,8
|
|
3b08: c709 beqz a4,3b12 <_vfiprintf_r+0xda>
|
|
3b0a: 02b00713 li a4,43
|
|
3b0e: 04e109a3 sb a4,83(sp)
|
|
3b12: 00094683 lbu a3,0(s2)
|
|
3b16: 02a00713 li a4,42
|
|
3b1a: 06e68f63 beq a3,a4,3b98 <_vfiprintf_r+0x160>
|
|
3b1e: 47f2 lw a5,28(sp)
|
|
3b20: 844a mv s0,s2
|
|
3b22: 4681 li a3,0
|
|
3b24: 4625 li a2,9
|
|
3b26: 2018 lbu a4,0(s0)
|
|
3b28: 00140593 addi a1,s0,1
|
|
3b2c: fd070713 addi a4,a4,-48 # ffffdfd0 <_eusrstack+0xdfff8fd0>
|
|
3b30: 0ae67763 bgeu a2,a4,3bde <_vfiprintf_r+0x1a6>
|
|
3b34: cab5 beqz a3,3ba8 <_vfiprintf_r+0x170>
|
|
3b36: ce3e sw a5,28(sp)
|
|
3b38: a885 j 3ba8 <_vfiprintf_r+0x170>
|
|
3b3a: 00001797 auipc a5,0x1
|
|
3b3e: d0a78793 addi a5,a5,-758 # 4844 <__sf_fake_stdout>
|
|
3b42: 00f49563 bne s1,a5,3b4c <_vfiprintf_r+0x114>
|
|
3b46: 0089a483 lw s1,8(s3)
|
|
3b4a: b725 j 3a72 <_vfiprintf_r+0x3a>
|
|
3b4c: 00001797 auipc a5,0x1
|
|
3b50: cb878793 addi a5,a5,-840 # 4804 <__sf_fake_stderr>
|
|
3b54: f0f49fe3 bne s1,a5,3a72 <_vfiprintf_r+0x3a>
|
|
3b58: 00c9a483 lw s1,12(s3)
|
|
3b5c: bf19 j 3a72 <_vfiprintf_r+0x3a>
|
|
3b5e: 85a6 mv a1,s1
|
|
3b60: 854e mv a0,s3
|
|
3b62: f3eff0ef jal ra,32a0 <__swsetup_r>
|
|
3b66: d919 beqz a0,3a7c <_vfiprintf_r+0x44>
|
|
3b68: 557d li a0,-1
|
|
3b6a: 40fa lw ra,156(sp)
|
|
3b6c: 446a lw s0,152(sp)
|
|
3b6e: 44da lw s1,148(sp)
|
|
3b70: 494a lw s2,144(sp)
|
|
3b72: 49ba lw s3,140(sp)
|
|
3b74: 4a2a lw s4,136(sp)
|
|
3b76: 4a9a lw s5,132(sp)
|
|
3b78: 4b0a lw s6,128(sp)
|
|
3b7a: 5bf6 lw s7,124(sp)
|
|
3b7c: 5c66 lw s8,120(sp)
|
|
3b7e: 5cd6 lw s9,116(sp)
|
|
3b80: 610d addi sp,sp,160
|
|
3b82: 8082 ret
|
|
3b84: 0405 addi s0,s0,1
|
|
3b86: bf31 j 3aa2 <_vfiprintf_r+0x6a>
|
|
3b88: 41550533 sub a0,a0,s5
|
|
3b8c: 00ac1533 sll a0,s8,a0
|
|
3b90: 8fc9 or a5,a5,a0
|
|
3b92: c83e sw a5,16(sp)
|
|
3b94: 8922 mv s2,s0
|
|
3b96: b7b9 j 3ae4 <_vfiprintf_r+0xac>
|
|
3b98: 4732 lw a4,12(sp)
|
|
3b9a: 00470693 addi a3,a4,4
|
|
3b9e: 4318 lw a4,0(a4)
|
|
3ba0: c636 sw a3,12(sp)
|
|
3ba2: 02074763 bltz a4,3bd0 <_vfiprintf_r+0x198>
|
|
3ba6: ce3a sw a4,28(sp)
|
|
3ba8: 2018 lbu a4,0(s0)
|
|
3baa: 02e00793 li a5,46
|
|
3bae: 04f71d63 bne a4,a5,3c08 <_vfiprintf_r+0x1d0>
|
|
3bb2: 3018 lbu a4,1(s0)
|
|
3bb4: 02a00793 li a5,42
|
|
3bb8: 02f71b63 bne a4,a5,3bee <_vfiprintf_r+0x1b6>
|
|
3bbc: 47b2 lw a5,12(sp)
|
|
3bbe: 0409 addi s0,s0,2
|
|
3bc0: 00478713 addi a4,a5,4
|
|
3bc4: 439c lw a5,0(a5)
|
|
3bc6: c63a sw a4,12(sp)
|
|
3bc8: 0207c163 bltz a5,3bea <_vfiprintf_r+0x1b2>
|
|
3bcc: ca3e sw a5,20(sp)
|
|
3bce: a82d j 3c08 <_vfiprintf_r+0x1d0>
|
|
3bd0: 40e00733 neg a4,a4
|
|
3bd4: 0027e793 ori a5,a5,2
|
|
3bd8: ce3a sw a4,28(sp)
|
|
3bda: c83e sw a5,16(sp)
|
|
3bdc: b7f1 j 3ba8 <_vfiprintf_r+0x170>
|
|
3bde: 036787b3 mul a5,a5,s6
|
|
3be2: 4685 li a3,1
|
|
3be4: 842e mv s0,a1
|
|
3be6: 97ba add a5,a5,a4
|
|
3be8: bf3d j 3b26 <_vfiprintf_r+0xee>
|
|
3bea: 57fd li a5,-1
|
|
3bec: b7c5 j 3bcc <_vfiprintf_r+0x194>
|
|
3bee: 0405 addi s0,s0,1
|
|
3bf0: ca02 sw zero,20(sp)
|
|
3bf2: 4681 li a3,0
|
|
3bf4: 4781 li a5,0
|
|
3bf6: 4625 li a2,9
|
|
3bf8: 2018 lbu a4,0(s0)
|
|
3bfa: 00140593 addi a1,s0,1
|
|
3bfe: fd070713 addi a4,a4,-48
|
|
3c02: 06e67463 bgeu a2,a4,3c6a <_vfiprintf_r+0x232>
|
|
3c06: f2f9 bnez a3,3bcc <_vfiprintf_r+0x194>
|
|
3c08: 200c lbu a1,0(s0)
|
|
3c0a: 460d li a2,3
|
|
3c0c: 00001517 auipc a0,0x1
|
|
3c10: c6050513 addi a0,a0,-928 # 486c <__sf_fake_stdout+0x28>
|
|
3c14: 2509 jal 4216 <memchr>
|
|
3c16: cd11 beqz a0,3c32 <_vfiprintf_r+0x1fa>
|
|
3c18: 00001797 auipc a5,0x1
|
|
3c1c: c5478793 addi a5,a5,-940 # 486c <__sf_fake_stdout+0x28>
|
|
3c20: 8d1d sub a0,a0,a5
|
|
3c22: 04000793 li a5,64
|
|
3c26: 00a797b3 sll a5,a5,a0
|
|
3c2a: 4542 lw a0,16(sp)
|
|
3c2c: 0405 addi s0,s0,1
|
|
3c2e: 8d5d or a0,a0,a5
|
|
3c30: c82a sw a0,16(sp)
|
|
3c32: 200c lbu a1,0(s0)
|
|
3c34: 4619 li a2,6
|
|
3c36: 00001517 auipc a0,0x1
|
|
3c3a: c3a50513 addi a0,a0,-966 # 4870 <__sf_fake_stdout+0x2c>
|
|
3c3e: 00140913 addi s2,s0,1
|
|
3c42: 02b10423 sb a1,40(sp)
|
|
3c46: 2bc1 jal 4216 <memchr>
|
|
3c48: c135 beqz a0,3cac <_vfiprintf_r+0x274>
|
|
3c4a: ffffc797 auipc a5,0xffffc
|
|
3c4e: 3b678793 addi a5,a5,950 # 0 <_sinit>
|
|
3c52: e795 bnez a5,3c7e <_vfiprintf_r+0x246>
|
|
3c54: 4742 lw a4,16(sp)
|
|
3c56: 47b2 lw a5,12(sp)
|
|
3c58: 10077713 andi a4,a4,256
|
|
3c5c: cf09 beqz a4,3c76 <_vfiprintf_r+0x23e>
|
|
3c5e: 0791 addi a5,a5,4
|
|
3c60: c63e sw a5,12(sp)
|
|
3c62: 5792 lw a5,36(sp)
|
|
3c64: 97d2 add a5,a5,s4
|
|
3c66: d23e sw a5,36(sp)
|
|
3c68: bd25 j 3aa0 <_vfiprintf_r+0x68>
|
|
3c6a: 036787b3 mul a5,a5,s6
|
|
3c6e: 4685 li a3,1
|
|
3c70: 842e mv s0,a1
|
|
3c72: 97ba add a5,a5,a4
|
|
3c74: b751 j 3bf8 <_vfiprintf_r+0x1c0>
|
|
3c76: 079d addi a5,a5,7
|
|
3c78: 9be1 andi a5,a5,-8
|
|
3c7a: 07a1 addi a5,a5,8
|
|
3c7c: b7d5 j 3c60 <_vfiprintf_r+0x228>
|
|
3c7e: 0078 addi a4,sp,12
|
|
3c80: 00000697 auipc a3,0x0
|
|
3c84: d7668693 addi a3,a3,-650 # 39f6 <__sfputs_r>
|
|
3c88: 8626 mv a2,s1
|
|
3c8a: 080c addi a1,sp,16
|
|
3c8c: 854e mv a0,s3
|
|
3c8e: 00000097 auipc ra,0x0
|
|
3c92: 000000e7 jalr zero # 0 <_sinit>
|
|
3c96: 57fd li a5,-1
|
|
3c98: 8a2a mv s4,a0
|
|
3c9a: fcf514e3 bne a0,a5,3c62 <_vfiprintf_r+0x22a>
|
|
3c9e: 24de lhu a5,12(s1)
|
|
3ca0: 0407f793 andi a5,a5,64
|
|
3ca4: ec0792e3 bnez a5,3b68 <_vfiprintf_r+0x130>
|
|
3ca8: 5512 lw a0,36(sp)
|
|
3caa: b5c1 j 3b6a <_vfiprintf_r+0x132>
|
|
3cac: 0078 addi a4,sp,12
|
|
3cae: 00000697 auipc a3,0x0
|
|
3cb2: d4868693 addi a3,a3,-696 # 39f6 <__sfputs_r>
|
|
3cb6: 8626 mv a2,s1
|
|
3cb8: 080c addi a1,sp,16
|
|
3cba: 854e mv a0,s3
|
|
3cbc: 2a01 jal 3dcc <_printf_i>
|
|
3cbe: bfe1 j 3c96 <_vfiprintf_r+0x25e>
|
|
|
|
00003cc0 <_printf_common>:
|
|
3cc0: 7179 addi sp,sp,-48
|
|
3cc2: ca56 sw s5,20(sp)
|
|
3cc4: 499c lw a5,16(a1)
|
|
3cc6: 8aba mv s5,a4
|
|
3cc8: 4598 lw a4,8(a1)
|
|
3cca: d422 sw s0,40(sp)
|
|
3ccc: d226 sw s1,36(sp)
|
|
3cce: ce4e sw s3,28(sp)
|
|
3cd0: cc52 sw s4,24(sp)
|
|
3cd2: d606 sw ra,44(sp)
|
|
3cd4: d04a sw s2,32(sp)
|
|
3cd6: c85a sw s6,16(sp)
|
|
3cd8: c65e sw s7,12(sp)
|
|
3cda: 89aa mv s3,a0
|
|
3cdc: 842e mv s0,a1
|
|
3cde: 84b2 mv s1,a2
|
|
3ce0: 8a36 mv s4,a3
|
|
3ce2: 00e7d363 bge a5,a4,3ce8 <_printf_common+0x28>
|
|
3ce6: 87ba mv a5,a4
|
|
3ce8: c09c sw a5,0(s1)
|
|
3cea: 04344703 lbu a4,67(s0)
|
|
3cee: c319 beqz a4,3cf4 <_printf_common+0x34>
|
|
3cf0: 0785 addi a5,a5,1
|
|
3cf2: c09c sw a5,0(s1)
|
|
3cf4: 401c lw a5,0(s0)
|
|
3cf6: 0207f793 andi a5,a5,32
|
|
3cfa: c781 beqz a5,3d02 <_printf_common+0x42>
|
|
3cfc: 409c lw a5,0(s1)
|
|
3cfe: 0789 addi a5,a5,2
|
|
3d00: c09c sw a5,0(s1)
|
|
3d02: 00042903 lw s2,0(s0)
|
|
3d06: 00697913 andi s2,s2,6
|
|
3d0a: 00091a63 bnez s2,3d1e <_printf_common+0x5e>
|
|
3d0e: 01940b13 addi s6,s0,25
|
|
3d12: 5bfd li s7,-1
|
|
3d14: 445c lw a5,12(s0)
|
|
3d16: 4098 lw a4,0(s1)
|
|
3d18: 8f99 sub a5,a5,a4
|
|
3d1a: 04f94c63 blt s2,a5,3d72 <_printf_common+0xb2>
|
|
3d1e: 401c lw a5,0(s0)
|
|
3d20: 04344683 lbu a3,67(s0)
|
|
3d24: 0207f793 andi a5,a5,32
|
|
3d28: 00d036b3 snez a3,a3
|
|
3d2c: eba5 bnez a5,3d9c <_printf_common+0xdc>
|
|
3d2e: 04340613 addi a2,s0,67
|
|
3d32: 85d2 mv a1,s4
|
|
3d34: 854e mv a0,s3
|
|
3d36: 9a82 jalr s5
|
|
3d38: 57fd li a5,-1
|
|
3d3a: 04f50363 beq a0,a5,3d80 <_printf_common+0xc0>
|
|
3d3e: 401c lw a5,0(s0)
|
|
3d40: 4611 li a2,4
|
|
3d42: 4098 lw a4,0(s1)
|
|
3d44: 8b99 andi a5,a5,6
|
|
3d46: 4454 lw a3,12(s0)
|
|
3d48: 4481 li s1,0
|
|
3d4a: 00c79763 bne a5,a2,3d58 <_printf_common+0x98>
|
|
3d4e: 40e684b3 sub s1,a3,a4
|
|
3d52: 0004d363 bgez s1,3d58 <_printf_common+0x98>
|
|
3d56: 4481 li s1,0
|
|
3d58: 441c lw a5,8(s0)
|
|
3d5a: 4818 lw a4,16(s0)
|
|
3d5c: 00f75463 bge a4,a5,3d64 <_printf_common+0xa4>
|
|
3d60: 8f99 sub a5,a5,a4
|
|
3d62: 94be add s1,s1,a5
|
|
3d64: 4901 li s2,0
|
|
3d66: 0469 addi s0,s0,26
|
|
3d68: 5b7d li s6,-1
|
|
3d6a: 05249863 bne s1,s2,3dba <_printf_common+0xfa>
|
|
3d6e: 4501 li a0,0
|
|
3d70: a809 j 3d82 <_printf_common+0xc2>
|
|
3d72: 4685 li a3,1
|
|
3d74: 865a mv a2,s6
|
|
3d76: 85d2 mv a1,s4
|
|
3d78: 854e mv a0,s3
|
|
3d7a: 9a82 jalr s5
|
|
3d7c: 01751e63 bne a0,s7,3d98 <_printf_common+0xd8>
|
|
3d80: 557d li a0,-1
|
|
3d82: 50b2 lw ra,44(sp)
|
|
3d84: 5422 lw s0,40(sp)
|
|
3d86: 5492 lw s1,36(sp)
|
|
3d88: 5902 lw s2,32(sp)
|
|
3d8a: 49f2 lw s3,28(sp)
|
|
3d8c: 4a62 lw s4,24(sp)
|
|
3d8e: 4ad2 lw s5,20(sp)
|
|
3d90: 4b42 lw s6,16(sp)
|
|
3d92: 4bb2 lw s7,12(sp)
|
|
3d94: 6145 addi sp,sp,48
|
|
3d96: 8082 ret
|
|
3d98: 0905 addi s2,s2,1
|
|
3d9a: bfad j 3d14 <_printf_common+0x54>
|
|
3d9c: 00d40733 add a4,s0,a3
|
|
3da0: 03000613 li a2,48
|
|
3da4: 04c701a3 sb a2,67(a4)
|
|
3da8: 04544703 lbu a4,69(s0)
|
|
3dac: 00168793 addi a5,a3,1
|
|
3db0: 97a2 add a5,a5,s0
|
|
3db2: 0689 addi a3,a3,2
|
|
3db4: 04e781a3 sb a4,67(a5)
|
|
3db8: bf9d j 3d2e <_printf_common+0x6e>
|
|
3dba: 4685 li a3,1
|
|
3dbc: 8622 mv a2,s0
|
|
3dbe: 85d2 mv a1,s4
|
|
3dc0: 854e mv a0,s3
|
|
3dc2: 9a82 jalr s5
|
|
3dc4: fb650ee3 beq a0,s6,3d80 <_printf_common+0xc0>
|
|
3dc8: 0905 addi s2,s2,1
|
|
3dca: b745 j 3d6a <_printf_common+0xaa>
|
|
|
|
00003dcc <_printf_i>:
|
|
3dcc: 7179 addi sp,sp,-48
|
|
3dce: d422 sw s0,40(sp)
|
|
3dd0: d226 sw s1,36(sp)
|
|
3dd2: d04a sw s2,32(sp)
|
|
3dd4: ce4e sw s3,28(sp)
|
|
3dd6: d606 sw ra,44(sp)
|
|
3dd8: cc52 sw s4,24(sp)
|
|
3dda: ca56 sw s5,20(sp)
|
|
3ddc: c85a sw s6,16(sp)
|
|
3dde: 89b6 mv s3,a3
|
|
3de0: 2d94 lbu a3,24(a1)
|
|
3de2: 06900793 li a5,105
|
|
3de6: 8932 mv s2,a2
|
|
3de8: 84aa mv s1,a0
|
|
3dea: 842e mv s0,a1
|
|
3dec: 04358613 addi a2,a1,67
|
|
3df0: 02f68d63 beq a3,a5,3e2a <_printf_i+0x5e>
|
|
3df4: 06d7e263 bltu a5,a3,3e58 <_printf_i+0x8c>
|
|
3df8: 05800793 li a5,88
|
|
3dfc: 18f68663 beq a3,a5,3f88 <_printf_i+0x1bc>
|
|
3e00: 00d7ed63 bltu a5,a3,3e1a <_printf_i+0x4e>
|
|
3e04: 20068e63 beqz a3,4020 <_printf_i+0x254>
|
|
3e08: 04300793 li a5,67
|
|
3e0c: 0af68e63 beq a3,a5,3ec8 <_printf_i+0xfc>
|
|
3e10: 04240a93 addi s5,s0,66
|
|
3e14: 04d40123 sb a3,66(s0)
|
|
3e18: a0c9 j 3eda <_printf_i+0x10e>
|
|
3e1a: 06300793 li a5,99
|
|
3e1e: 0af68563 beq a3,a5,3ec8 <_printf_i+0xfc>
|
|
3e22: 06400793 li a5,100
|
|
3e26: fef695e3 bne a3,a5,3e10 <_printf_i+0x44>
|
|
3e2a: 401c lw a5,0(s0)
|
|
3e2c: 4308 lw a0,0(a4)
|
|
3e2e: 0807f693 andi a3,a5,128
|
|
3e32: 00450593 addi a1,a0,4
|
|
3e36: c6c5 beqz a3,3ede <_printf_i+0x112>
|
|
3e38: 411c lw a5,0(a0)
|
|
3e3a: c30c sw a1,0(a4)
|
|
3e3c: 0007d863 bgez a5,3e4c <_printf_i+0x80>
|
|
3e40: 02d00713 li a4,45
|
|
3e44: 40f007b3 neg a5,a5
|
|
3e48: 04e401a3 sb a4,67(s0)
|
|
3e4c: 00001697 auipc a3,0x1
|
|
3e50: a2c68693 addi a3,a3,-1492 # 4878 <__sf_fake_stdout+0x34>
|
|
3e54: 4729 li a4,10
|
|
3e56: a865 j 3f0e <_printf_i+0x142>
|
|
3e58: 07000793 li a5,112
|
|
3e5c: 16f68263 beq a3,a5,3fc0 <_printf_i+0x1f4>
|
|
3e60: 02d7e563 bltu a5,a3,3e8a <_printf_i+0xbe>
|
|
3e64: 06e00793 li a5,110
|
|
3e68: 18f68963 beq a3,a5,3ffa <_printf_i+0x22e>
|
|
3e6c: 06f00793 li a5,111
|
|
3e70: faf690e3 bne a3,a5,3e10 <_printf_i+0x44>
|
|
3e74: 400c lw a1,0(s0)
|
|
3e76: 431c lw a5,0(a4)
|
|
3e78: 0805f813 andi a6,a1,128
|
|
3e7c: 00478513 addi a0,a5,4
|
|
3e80: 06080763 beqz a6,3eee <_printf_i+0x122>
|
|
3e84: c308 sw a0,0(a4)
|
|
3e86: 439c lw a5,0(a5)
|
|
3e88: a885 j 3ef8 <_printf_i+0x12c>
|
|
3e8a: 07500793 li a5,117
|
|
3e8e: fef683e3 beq a3,a5,3e74 <_printf_i+0xa8>
|
|
3e92: 07800793 li a5,120
|
|
3e96: 12f68963 beq a3,a5,3fc8 <_printf_i+0x1fc>
|
|
3e9a: 07300793 li a5,115
|
|
3e9e: f6f699e3 bne a3,a5,3e10 <_printf_i+0x44>
|
|
3ea2: 431c lw a5,0(a4)
|
|
3ea4: 41d0 lw a2,4(a1)
|
|
3ea6: 4581 li a1,0
|
|
3ea8: 00478693 addi a3,a5,4
|
|
3eac: c314 sw a3,0(a4)
|
|
3eae: 0007aa83 lw s5,0(a5)
|
|
3eb2: 8556 mv a0,s5
|
|
3eb4: 268d jal 4216 <memchr>
|
|
3eb6: c501 beqz a0,3ebe <_printf_i+0xf2>
|
|
3eb8: 41550533 sub a0,a0,s5
|
|
3ebc: c048 sw a0,4(s0)
|
|
3ebe: 405c lw a5,4(s0)
|
|
3ec0: c81c sw a5,16(s0)
|
|
3ec2: 040401a3 sb zero,67(s0)
|
|
3ec6: a861 j 3f5e <_printf_i+0x192>
|
|
3ec8: 431c lw a5,0(a4)
|
|
3eca: 04240a93 addi s5,s0,66
|
|
3ece: 00478693 addi a3,a5,4
|
|
3ed2: 439c lw a5,0(a5)
|
|
3ed4: c314 sw a3,0(a4)
|
|
3ed6: 04f40123 sb a5,66(s0)
|
|
3eda: 4785 li a5,1
|
|
3edc: b7d5 j 3ec0 <_printf_i+0xf4>
|
|
3ede: 0407f693 andi a3,a5,64
|
|
3ee2: 411c lw a5,0(a0)
|
|
3ee4: c30c sw a1,0(a4)
|
|
3ee6: dab9 beqz a3,3e3c <_printf_i+0x70>
|
|
3ee8: 07c2 slli a5,a5,0x10
|
|
3eea: 87c1 srai a5,a5,0x10
|
|
3eec: bf81 j 3e3c <_printf_i+0x70>
|
|
3eee: 0405f593 andi a1,a1,64
|
|
3ef2: c308 sw a0,0(a4)
|
|
3ef4: d9c9 beqz a1,3e86 <_printf_i+0xba>
|
|
3ef6: 239e lhu a5,0(a5)
|
|
3ef8: 06f00713 li a4,111
|
|
3efc: 0ee68763 beq a3,a4,3fea <_printf_i+0x21e>
|
|
3f00: 00001697 auipc a3,0x1
|
|
3f04: 97868693 addi a3,a3,-1672 # 4878 <__sf_fake_stdout+0x34>
|
|
3f08: 4729 li a4,10
|
|
3f0a: 040401a3 sb zero,67(s0)
|
|
3f0e: 404c lw a1,4(s0)
|
|
3f10: c40c sw a1,8(s0)
|
|
3f12: 0005c563 bltz a1,3f1c <_printf_i+0x150>
|
|
3f16: 4008 lw a0,0(s0)
|
|
3f18: 996d andi a0,a0,-5
|
|
3f1a: c008 sw a0,0(s0)
|
|
3f1c: e399 bnez a5,3f22 <_printf_i+0x156>
|
|
3f1e: 8ab2 mv s5,a2
|
|
3f20: cd89 beqz a1,3f3a <_printf_i+0x16e>
|
|
3f22: 8ab2 mv s5,a2
|
|
3f24: 02e7f5b3 remu a1,a5,a4
|
|
3f28: 1afd addi s5,s5,-1
|
|
3f2a: 95b6 add a1,a1,a3
|
|
3f2c: 218c lbu a1,0(a1)
|
|
3f2e: 00ba8023 sb a1,0(s5)
|
|
3f32: 02e7d5b3 divu a1,a5,a4
|
|
3f36: 0ce7f063 bgeu a5,a4,3ff6 <_printf_i+0x22a>
|
|
3f3a: 47a1 li a5,8
|
|
3f3c: 00f71e63 bne a4,a5,3f58 <_printf_i+0x18c>
|
|
3f40: 401c lw a5,0(s0)
|
|
3f42: 8b85 andi a5,a5,1
|
|
3f44: cb91 beqz a5,3f58 <_printf_i+0x18c>
|
|
3f46: 4058 lw a4,4(s0)
|
|
3f48: 481c lw a5,16(s0)
|
|
3f4a: 00e7c763 blt a5,a4,3f58 <_printf_i+0x18c>
|
|
3f4e: 03000793 li a5,48
|
|
3f52: fefa8fa3 sb a5,-1(s5)
|
|
3f56: 1afd addi s5,s5,-1
|
|
3f58: 41560633 sub a2,a2,s5
|
|
3f5c: c810 sw a2,16(s0)
|
|
3f5e: 874e mv a4,s3
|
|
3f60: 86ca mv a3,s2
|
|
3f62: 0070 addi a2,sp,12
|
|
3f64: 85a2 mv a1,s0
|
|
3f66: 8526 mv a0,s1
|
|
3f68: d59ff0ef jal ra,3cc0 <_printf_common>
|
|
3f6c: 5a7d li s4,-1
|
|
3f6e: 0b451d63 bne a0,s4,4028 <_printf_i+0x25c>
|
|
3f72: 557d li a0,-1
|
|
3f74: 50b2 lw ra,44(sp)
|
|
3f76: 5422 lw s0,40(sp)
|
|
3f78: 5492 lw s1,36(sp)
|
|
3f7a: 5902 lw s2,32(sp)
|
|
3f7c: 49f2 lw s3,28(sp)
|
|
3f7e: 4a62 lw s4,24(sp)
|
|
3f80: 4ad2 lw s5,20(sp)
|
|
3f82: 4b42 lw s6,16(sp)
|
|
3f84: 6145 addi sp,sp,48
|
|
3f86: 8082 ret
|
|
3f88: 04d582a3 sb a3,69(a1)
|
|
3f8c: 00001697 auipc a3,0x1
|
|
3f90: 8ec68693 addi a3,a3,-1812 # 4878 <__sf_fake_stdout+0x34>
|
|
3f94: 400c lw a1,0(s0)
|
|
3f96: 4308 lw a0,0(a4)
|
|
3f98: 0805f813 andi a6,a1,128
|
|
3f9c: 411c lw a5,0(a0)
|
|
3f9e: 0511 addi a0,a0,4
|
|
3fa0: 02080d63 beqz a6,3fda <_printf_i+0x20e>
|
|
3fa4: c308 sw a0,0(a4)
|
|
3fa6: 0015f713 andi a4,a1,1
|
|
3faa: c701 beqz a4,3fb2 <_printf_i+0x1e6>
|
|
3fac: 0205e593 ori a1,a1,32
|
|
3fb0: c00c sw a1,0(s0)
|
|
3fb2: 4741 li a4,16
|
|
3fb4: fbb9 bnez a5,3f0a <_printf_i+0x13e>
|
|
3fb6: 400c lw a1,0(s0)
|
|
3fb8: fdf5f593 andi a1,a1,-33
|
|
3fbc: c00c sw a1,0(s0)
|
|
3fbe: b7b1 j 3f0a <_printf_i+0x13e>
|
|
3fc0: 419c lw a5,0(a1)
|
|
3fc2: 0207e793 ori a5,a5,32
|
|
3fc6: c19c sw a5,0(a1)
|
|
3fc8: 07800793 li a5,120
|
|
3fcc: 04f402a3 sb a5,69(s0)
|
|
3fd0: 00001697 auipc a3,0x1
|
|
3fd4: 8bc68693 addi a3,a3,-1860 # 488c <__sf_fake_stdout+0x48>
|
|
3fd8: bf75 j 3f94 <_printf_i+0x1c8>
|
|
3fda: 0405f813 andi a6,a1,64
|
|
3fde: c308 sw a0,0(a4)
|
|
3fe0: fc0803e3 beqz a6,3fa6 <_printf_i+0x1da>
|
|
3fe4: 07c2 slli a5,a5,0x10
|
|
3fe6: 83c1 srli a5,a5,0x10
|
|
3fe8: bf7d j 3fa6 <_printf_i+0x1da>
|
|
3fea: 00001697 auipc a3,0x1
|
|
3fee: 88e68693 addi a3,a3,-1906 # 4878 <__sf_fake_stdout+0x34>
|
|
3ff2: 4721 li a4,8
|
|
3ff4: bf19 j 3f0a <_printf_i+0x13e>
|
|
3ff6: 87ae mv a5,a1
|
|
3ff8: b735 j 3f24 <_printf_i+0x158>
|
|
3ffa: 4194 lw a3,0(a1)
|
|
3ffc: 431c lw a5,0(a4)
|
|
3ffe: 49cc lw a1,20(a1)
|
|
4000: 0806f813 andi a6,a3,128
|
|
4004: 00478513 addi a0,a5,4
|
|
4008: 00080663 beqz a6,4014 <_printf_i+0x248>
|
|
400c: c308 sw a0,0(a4)
|
|
400e: 439c lw a5,0(a5)
|
|
4010: c38c sw a1,0(a5)
|
|
4012: a039 j 4020 <_printf_i+0x254>
|
|
4014: c308 sw a0,0(a4)
|
|
4016: 0406f693 andi a3,a3,64
|
|
401a: 439c lw a5,0(a5)
|
|
401c: daf5 beqz a3,4010 <_printf_i+0x244>
|
|
401e: a38e sh a1,0(a5)
|
|
4020: 00042823 sw zero,16(s0)
|
|
4024: 8ab2 mv s5,a2
|
|
4026: bf25 j 3f5e <_printf_i+0x192>
|
|
4028: 4814 lw a3,16(s0)
|
|
402a: 8656 mv a2,s5
|
|
402c: 85ca mv a1,s2
|
|
402e: 8526 mv a0,s1
|
|
4030: 9982 jalr s3
|
|
4032: f54500e3 beq a0,s4,3f72 <_printf_i+0x1a6>
|
|
4036: 401c lw a5,0(s0)
|
|
4038: 8b89 andi a5,a5,2
|
|
403a: e78d bnez a5,4064 <_printf_i+0x298>
|
|
403c: 47b2 lw a5,12(sp)
|
|
403e: 4448 lw a0,12(s0)
|
|
4040: f2f55ae3 bge a0,a5,3f74 <_printf_i+0x1a8>
|
|
4044: 853e mv a0,a5
|
|
4046: b73d j 3f74 <_printf_i+0x1a8>
|
|
4048: 4685 li a3,1
|
|
404a: 8656 mv a2,s5
|
|
404c: 85ca mv a1,s2
|
|
404e: 8526 mv a0,s1
|
|
4050: 9982 jalr s3
|
|
4052: f36500e3 beq a0,s6,3f72 <_printf_i+0x1a6>
|
|
4056: 0a05 addi s4,s4,1
|
|
4058: 445c lw a5,12(s0)
|
|
405a: 4732 lw a4,12(sp)
|
|
405c: 8f99 sub a5,a5,a4
|
|
405e: fefa45e3 blt s4,a5,4048 <_printf_i+0x27c>
|
|
4062: bfe9 j 403c <_printf_i+0x270>
|
|
4064: 4a01 li s4,0
|
|
4066: 01940a93 addi s5,s0,25
|
|
406a: 5b7d li s6,-1
|
|
406c: b7f5 j 4058 <_printf_i+0x28c>
|
|
|
|
0000406e <_sbrk_r>:
|
|
406e: 1141 addi sp,sp,-16
|
|
4070: c422 sw s0,8(sp)
|
|
4072: 842a mv s0,a0
|
|
4074: 852e mv a0,a1
|
|
4076: ac01aa23 sw zero,-1324(gp) # 20000414 <errno>
|
|
407a: c606 sw ra,12(sp)
|
|
407c: ce1fd0ef jal ra,1d5c <_sbrk>
|
|
4080: 57fd li a5,-1
|
|
4082: 00f51763 bne a0,a5,4090 <_sbrk_r+0x22>
|
|
4086: ad418793 addi a5,gp,-1324 # 20000414 <errno>
|
|
408a: 439c lw a5,0(a5)
|
|
408c: c391 beqz a5,4090 <_sbrk_r+0x22>
|
|
408e: c01c sw a5,0(s0)
|
|
4090: 40b2 lw ra,12(sp)
|
|
4092: 4422 lw s0,8(sp)
|
|
4094: 0141 addi sp,sp,16
|
|
4096: 8082 ret
|
|
|
|
00004098 <__sread>:
|
|
4098: 1141 addi sp,sp,-16
|
|
409a: c422 sw s0,8(sp)
|
|
409c: 842e mv s0,a1
|
|
409e: 00e59583 lh a1,14(a1)
|
|
40a2: c606 sw ra,12(sp)
|
|
40a4: 2279 jal 4232 <_read_r>
|
|
40a6: 00054963 bltz a0,40b8 <__sread+0x20>
|
|
40aa: 487c lw a5,84(s0)
|
|
40ac: 97aa add a5,a5,a0
|
|
40ae: c87c sw a5,84(s0)
|
|
40b0: 40b2 lw ra,12(sp)
|
|
40b2: 4422 lw s0,8(sp)
|
|
40b4: 0141 addi sp,sp,16
|
|
40b6: 8082 ret
|
|
40b8: 245e lhu a5,12(s0)
|
|
40ba: 777d lui a4,0xfffff
|
|
40bc: 177d addi a4,a4,-1
|
|
40be: 8ff9 and a5,a5,a4
|
|
40c0: a45e sh a5,12(s0)
|
|
40c2: b7fd j 40b0 <__sread+0x18>
|
|
|
|
000040c4 <__swrite>:
|
|
40c4: 25de lhu a5,12(a1)
|
|
40c6: 1101 addi sp,sp,-32
|
|
40c8: cc22 sw s0,24(sp)
|
|
40ca: ca26 sw s1,20(sp)
|
|
40cc: c84a sw s2,16(sp)
|
|
40ce: c64e sw s3,12(sp)
|
|
40d0: ce06 sw ra,28(sp)
|
|
40d2: 1007f793 andi a5,a5,256
|
|
40d6: 84aa mv s1,a0
|
|
40d8: 842e mv s0,a1
|
|
40da: 8932 mv s2,a2
|
|
40dc: 89b6 mv s3,a3
|
|
40de: c791 beqz a5,40ea <__swrite+0x26>
|
|
40e0: 00e59583 lh a1,14(a1)
|
|
40e4: 4689 li a3,2
|
|
40e6: 4601 li a2,0
|
|
40e8: 2209 jal 41ea <_lseek_r>
|
|
40ea: 245e lhu a5,12(s0)
|
|
40ec: 777d lui a4,0xfffff
|
|
40ee: 177d addi a4,a4,-1
|
|
40f0: 8ff9 and a5,a5,a4
|
|
40f2: a45e sh a5,12(s0)
|
|
40f4: 00e41583 lh a1,14(s0)
|
|
40f8: 4462 lw s0,24(sp)
|
|
40fa: 40f2 lw ra,28(sp)
|
|
40fc: 86ce mv a3,s3
|
|
40fe: 864a mv a2,s2
|
|
4100: 49b2 lw s3,12(sp)
|
|
4102: 4942 lw s2,16(sp)
|
|
4104: 8526 mv a0,s1
|
|
4106: 44d2 lw s1,20(sp)
|
|
4108: 6105 addi sp,sp,32
|
|
410a: a825 j 4142 <_write_r>
|
|
|
|
0000410c <__sseek>:
|
|
410c: 1141 addi sp,sp,-16
|
|
410e: c422 sw s0,8(sp)
|
|
4110: 842e mv s0,a1
|
|
4112: 00e59583 lh a1,14(a1)
|
|
4116: c606 sw ra,12(sp)
|
|
4118: 28c9 jal 41ea <_lseek_r>
|
|
411a: 57fd li a5,-1
|
|
411c: 245a lhu a4,12(s0)
|
|
411e: 00f51a63 bne a0,a5,4132 <__sseek+0x26>
|
|
4122: 77fd lui a5,0xfffff
|
|
4124: 17fd addi a5,a5,-1
|
|
4126: 8ff9 and a5,a5,a4
|
|
4128: a45e sh a5,12(s0)
|
|
412a: 40b2 lw ra,12(sp)
|
|
412c: 4422 lw s0,8(sp)
|
|
412e: 0141 addi sp,sp,16
|
|
4130: 8082 ret
|
|
4132: 6785 lui a5,0x1
|
|
4134: 8fd9 or a5,a5,a4
|
|
4136: a45e sh a5,12(s0)
|
|
4138: c868 sw a0,84(s0)
|
|
413a: bfc5 j 412a <__sseek+0x1e>
|
|
|
|
0000413c <__sclose>:
|
|
413c: 00e59583 lh a1,14(a1)
|
|
4140: a805 j 4170 <_close_r>
|
|
|
|
00004142 <_write_r>:
|
|
4142: 1141 addi sp,sp,-16
|
|
4144: c422 sw s0,8(sp)
|
|
4146: 842a mv s0,a0
|
|
4148: 852e mv a0,a1
|
|
414a: 85b2 mv a1,a2
|
|
414c: 8636 mv a2,a3
|
|
414e: ac01aa23 sw zero,-1324(gp) # 20000414 <errno>
|
|
4152: c606 sw ra,12(sp)
|
|
4154: bcbfd0ef jal ra,1d1e <_write>
|
|
4158: 57fd li a5,-1
|
|
415a: 00f51763 bne a0,a5,4168 <_write_r+0x26>
|
|
415e: ad418793 addi a5,gp,-1324 # 20000414 <errno>
|
|
4162: 439c lw a5,0(a5)
|
|
4164: c391 beqz a5,4168 <_write_r+0x26>
|
|
4166: c01c sw a5,0(s0)
|
|
4168: 40b2 lw ra,12(sp)
|
|
416a: 4422 lw s0,8(sp)
|
|
416c: 0141 addi sp,sp,16
|
|
416e: 8082 ret
|
|
|
|
00004170 <_close_r>:
|
|
4170: 1141 addi sp,sp,-16
|
|
4172: c422 sw s0,8(sp)
|
|
4174: 842a mv s0,a0
|
|
4176: 852e mv a0,a1
|
|
4178: ac01aa23 sw zero,-1324(gp) # 20000414 <errno>
|
|
417c: c606 sw ra,12(sp)
|
|
417e: 20c5 jal 425e <_close>
|
|
4180: 57fd li a5,-1
|
|
4182: 00f51763 bne a0,a5,4190 <_close_r+0x20>
|
|
4186: ad418793 addi a5,gp,-1324 # 20000414 <errno>
|
|
418a: 439c lw a5,0(a5)
|
|
418c: c391 beqz a5,4190 <_close_r+0x20>
|
|
418e: c01c sw a5,0(s0)
|
|
4190: 40b2 lw ra,12(sp)
|
|
4192: 4422 lw s0,8(sp)
|
|
4194: 0141 addi sp,sp,16
|
|
4196: 8082 ret
|
|
|
|
00004198 <_fstat_r>:
|
|
4198: 1141 addi sp,sp,-16
|
|
419a: c422 sw s0,8(sp)
|
|
419c: 842a mv s0,a0
|
|
419e: 852e mv a0,a1
|
|
41a0: 85b2 mv a1,a2
|
|
41a2: ac01aa23 sw zero,-1324(gp) # 20000414 <errno>
|
|
41a6: c606 sw ra,12(sp)
|
|
41a8: 20c9 jal 426a <_fstat>
|
|
41aa: 57fd li a5,-1
|
|
41ac: 00f51763 bne a0,a5,41ba <_fstat_r+0x22>
|
|
41b0: ad418793 addi a5,gp,-1324 # 20000414 <errno>
|
|
41b4: 439c lw a5,0(a5)
|
|
41b6: c391 beqz a5,41ba <_fstat_r+0x22>
|
|
41b8: c01c sw a5,0(s0)
|
|
41ba: 40b2 lw ra,12(sp)
|
|
41bc: 4422 lw s0,8(sp)
|
|
41be: 0141 addi sp,sp,16
|
|
41c0: 8082 ret
|
|
|
|
000041c2 <_isatty_r>:
|
|
41c2: 1141 addi sp,sp,-16
|
|
41c4: c422 sw s0,8(sp)
|
|
41c6: 842a mv s0,a0
|
|
41c8: 852e mv a0,a1
|
|
41ca: ac01aa23 sw zero,-1324(gp) # 20000414 <errno>
|
|
41ce: c606 sw ra,12(sp)
|
|
41d0: 205d jal 4276 <_isatty>
|
|
41d2: 57fd li a5,-1
|
|
41d4: 00f51763 bne a0,a5,41e2 <_isatty_r+0x20>
|
|
41d8: ad418793 addi a5,gp,-1324 # 20000414 <errno>
|
|
41dc: 439c lw a5,0(a5)
|
|
41de: c391 beqz a5,41e2 <_isatty_r+0x20>
|
|
41e0: c01c sw a5,0(s0)
|
|
41e2: 40b2 lw ra,12(sp)
|
|
41e4: 4422 lw s0,8(sp)
|
|
41e6: 0141 addi sp,sp,16
|
|
41e8: 8082 ret
|
|
|
|
000041ea <_lseek_r>:
|
|
41ea: 1141 addi sp,sp,-16
|
|
41ec: c422 sw s0,8(sp)
|
|
41ee: 842a mv s0,a0
|
|
41f0: 852e mv a0,a1
|
|
41f2: 85b2 mv a1,a2
|
|
41f4: 8636 mv a2,a3
|
|
41f6: ac01aa23 sw zero,-1324(gp) # 20000414 <errno>
|
|
41fa: c606 sw ra,12(sp)
|
|
41fc: 2059 jal 4282 <_lseek>
|
|
41fe: 57fd li a5,-1
|
|
4200: 00f51763 bne a0,a5,420e <_lseek_r+0x24>
|
|
4204: ad418793 addi a5,gp,-1324 # 20000414 <errno>
|
|
4208: 439c lw a5,0(a5)
|
|
420a: c391 beqz a5,420e <_lseek_r+0x24>
|
|
420c: c01c sw a5,0(s0)
|
|
420e: 40b2 lw ra,12(sp)
|
|
4210: 4422 lw s0,8(sp)
|
|
4212: 0141 addi sp,sp,16
|
|
4214: 8082 ret
|
|
|
|
00004216 <memchr>:
|
|
4216: 0ff5f593 andi a1,a1,255
|
|
421a: 962a add a2,a2,a0
|
|
421c: 00c51463 bne a0,a2,4224 <memchr+0xe>
|
|
4220: 4501 li a0,0
|
|
4222: 8082 ret
|
|
4224: 211c lbu a5,0(a0)
|
|
4226: feb78ee3 beq a5,a1,4222 <memchr+0xc>
|
|
422a: 0505 addi a0,a0,1
|
|
422c: bfc5 j 421c <memchr+0x6>
|
|
|
|
0000422e <__malloc_lock>:
|
|
422e: 8082 ret
|
|
|
|
00004230 <__malloc_unlock>:
|
|
4230: 8082 ret
|
|
|
|
00004232 <_read_r>:
|
|
4232: 1141 addi sp,sp,-16
|
|
4234: c422 sw s0,8(sp)
|
|
4236: 842a mv s0,a0
|
|
4238: 852e mv a0,a1
|
|
423a: 85b2 mv a1,a2
|
|
423c: 8636 mv a2,a3
|
|
423e: ac01aa23 sw zero,-1324(gp) # 20000414 <errno>
|
|
4242: c606 sw ra,12(sp)
|
|
4244: 20a9 jal 428e <_read>
|
|
4246: 57fd li a5,-1
|
|
4248: 00f51763 bne a0,a5,4256 <_read_r+0x24>
|
|
424c: ad418793 addi a5,gp,-1324 # 20000414 <errno>
|
|
4250: 439c lw a5,0(a5)
|
|
4252: c391 beqz a5,4256 <_read_r+0x24>
|
|
4254: c01c sw a5,0(s0)
|
|
4256: 40b2 lw ra,12(sp)
|
|
4258: 4422 lw s0,8(sp)
|
|
425a: 0141 addi sp,sp,16
|
|
425c: 8082 ret
|
|
|
|
0000425e <_close>:
|
|
425e: 05800793 li a5,88
|
|
4262: acf1aa23 sw a5,-1324(gp) # 20000414 <errno>
|
|
4266: 557d li a0,-1
|
|
4268: 8082 ret
|
|
|
|
0000426a <_fstat>:
|
|
426a: 05800793 li a5,88
|
|
426e: acf1aa23 sw a5,-1324(gp) # 20000414 <errno>
|
|
4272: 557d li a0,-1
|
|
4274: 8082 ret
|
|
|
|
00004276 <_isatty>:
|
|
4276: 05800793 li a5,88
|
|
427a: acf1aa23 sw a5,-1324(gp) # 20000414 <errno>
|
|
427e: 4501 li a0,0
|
|
4280: 8082 ret
|
|
|
|
00004282 <_lseek>:
|
|
4282: 05800793 li a5,88
|
|
4286: acf1aa23 sw a5,-1324(gp) # 20000414 <errno>
|
|
428a: 557d li a0,-1
|
|
428c: 8082 ret
|
|
|
|
0000428e <_read>:
|
|
428e: 05800793 li a5,88
|
|
4292: acf1aa23 sw a5,-1324(gp) # 20000414 <errno>
|
|
4296: 557d li a0,-1
|
|
4298: 8082 ret
|
|
429a: 0000 unimp
|
|
429c: 74737953 0x74737953
|
|
42a0: 6d65 lui s10,0x19
|
|
42a2: 3a6b6c43 fmadd.d fs8,fs6,ft6,ft7,unknown
|
|
42a6: 6425 lui s0,0x9
|
|
42a8: 0a0d addi s4,s4,3
|
|
42aa: 0000 unimp
|
|
42ac: 70696843 fmadd.s fa6,fs2,ft6,fa4,unknown
|
|
42b0: 4449 li s0,18
|
|
42b2: 253a lhu a4,10(a0)
|
|
42b4: 3830 lbu a2,19(s0)
|
|
42b6: 0d78 addi a4,sp,668
|
|
42b8: 000a c.slli zero,0x2
|
|
42ba: 0000 unimp
|
|
42bc: 696c6143 fmadd.s ft2,fs8,fs6,fa3,unknown
|
|
42c0: 7262 flw ft4,56(sp)
|
|
42c2: 7461 lui s0,0xffff8
|
|
42c4: 6974 flw fa3,84(a0)
|
|
42c6: 565f6e6f jal t3,fb02a <_data_lma+0xf678a>
|
|
42ca: 6c61 lui s8,0x18
|
|
42cc: 3a20 lbu s0,19(a2)
|
|
42ce: 2520 lbu s0,10(a0)
|
|
42d0: 0a64 addi s1,sp,284
|
|
42d2: 0000 unimp
|
|
42d4: 7552 flw fa0,52(sp)
|
|
42d6: 206e lhu a1,6(s0)
|
|
42d8: 7461 lui s0,0xffff8
|
|
42da: 4520 lw s0,72(a0)
|
|
42dc: 5458 lw a4,44(s0)
|
|
42de: 0d49 addi s10,s10,18
|
|
42e0: 0000 unimp
|
|
42e2: 0000 unimp
|
|
42e4: cccd beqz s1,439e <_read+0x110>
|
|
42e6: 3ecc lbu a1,29(a3)
|
|
42e8: 6666 flw fa2,88(sp)
|
|
42ea: 3f66 lhu s1,62(a4)
|
|
42ec: 0000 unimp
|
|
42ee: 43f0 lw a2,68(a5)
|
|
42f0: 999a add s3,s3,t1
|
|
42f2: 9999 andi a1,a1,-26
|
|
42f4: 9999 andi a1,a1,-26
|
|
42f6: 3fd9 jal 42cc <_read+0x3e>
|
|
42f8: cccd beqz s1,43b2 <_read+0x124>
|
|
42fa: cccc sw a1,28(s1)
|
|
42fc: cccc sw a1,28(s1)
|
|
42fe: 3fec lbu a1,31(a5)
|
|
4300: 464e495b 0x464e495b
|
|
4304: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4308: 7325 lui t1,0xfffe9
|
|
430a: 253a lhu a4,10(a0)
|
|
430c: 5d64 lw s1,124(a0)
|
|
430e: 5220 lw s0,96(a2)
|
|
4310: 6765 lui a4,0x19
|
|
4312: 7369 lui t1,0xffffa
|
|
4314: 7274 flw fa3,100(a2)
|
|
4316: 7461 lui s0,0xffff8
|
|
4318: 6f69 lui t5,0x1a
|
|
431a: 206e lhu a1,6(s0)
|
|
431c: 63637573 csrrci a0,0x636,6
|
|
4320: 7365 lui t1,0xffff9
|
|
4322: 0a0d2073 csrs 0xa0,s10
|
|
4326: 0a0d addi s4,s4,3
|
|
4328: 0000 unimp
|
|
432a: 0000 unimp
|
|
432c: 5252455b 0x5252455b
|
|
4330: 205d524f fnmadd.s ft4,fs10,ft5,ft4,unknown
|
|
4334: 3a73255b 0x3a73255b
|
|
4338: 6425 lui s0,0x9
|
|
433a: 205d jal 43e0 <_read+0x152>
|
|
433c: 5220 lw s0,96(a2)
|
|
433e: 6765 lui a4,0x19
|
|
4340: 7369 lui t1,0xffffa
|
|
4342: 6574 flw fa3,76(a0)
|
|
4344: 5f72 lw t5,60(sp)
|
|
4346: 754e flw fa0,240(sp)
|
|
4348: 626d lui tp,0x1b
|
|
434a: 7265 lui tp,0xffff9
|
|
434c: 6520 flw fs0,72(a0)
|
|
434e: 7272 flw ft4,60(sp)
|
|
4350: 253a726f jal tp,abda2 <_data_lma+0xa7502>
|
|
4354: 2078 lbu a4,6(s0)
|
|
4356: 0a0d addi s4,s4,3
|
|
4358: 0a0d addi s4,s4,3
|
|
435a: 0000 unimp
|
|
435c: 5252455b 0x5252455b
|
|
4360: 205d524f fnmadd.s ft4,fs10,ft5,ft4,unknown
|
|
4364: 3a73255b 0x3a73255b
|
|
4368: 6425 lui s0,0x9
|
|
436a: 205d jal 4410 <_read+0x182>
|
|
436c: 5220 lw s0,96(a2)
|
|
436e: 6765 lui a4,0x19
|
|
4370: 7369 lui t1,0xffffa
|
|
4372: 6574 flw fa3,76(a0)
|
|
4374: 5f72 lw t5,60(sp)
|
|
4376: 72617453 0x72617453
|
|
437a: 5f74 lw a3,124(a4)
|
|
437c: 6441 lui s0,0x10
|
|
437e: 7264 flw fs1,100(a2)
|
|
4380: 7365 lui t1,0xffff9
|
|
4382: 72652073 csrs 0x726,a0
|
|
4386: 6f72 flw ft10,28(sp)
|
|
4388: 2072 lhu a2,6(s0)
|
|
438a: 203a lhu a4,2(s0)
|
|
438c: 7825 lui a6,0xfffe9
|
|
438e: 0d20 addi s0,sp,664
|
|
4390: 0d0a slli s10,s10,0x2
|
|
4392: 000a c.slli zero,0x2
|
|
4394: 464e495b 0x464e495b
|
|
4398: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
439c: 7325 lui t1,0xfffe9
|
|
439e: 253a lhu a4,10(a0)
|
|
43a0: 5d64 lw s1,124(a0)
|
|
43a2: 2020 lbu s0,2(s0)
|
|
43a4: 525f4c53 0x525f4c53
|
|
43a8: 6165 addi sp,sp,112
|
|
43aa: 5264 lw s1,100(a2)
|
|
43ac: 6765 lui a4,0x19
|
|
43ae: 7369 lui t1,0xffffa
|
|
43b0: 6574 flw fa3,76(a0)
|
|
43b2: 4172 lw sp,28(sp)
|
|
43b4: 73656363 bltu a0,s6,4ada <_data_lma+0x23a>
|
|
43b8: 646f4e73 0x646f4e73
|
|
43bc: 5465 li s0,-7
|
|
43be: 7079 c.lui zero,0xffffe
|
|
43c0: 2065 jal 4468 <_read+0x1da>
|
|
43c2: 0a0d addi s4,s4,3
|
|
43c4: 0000 unimp
|
|
43c6: 0000 unimp
|
|
43c8: 464e495b 0x464e495b
|
|
43cc: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
43d0: 7325 lui t1,0xfffe9
|
|
43d2: 253a lhu a4,10(a0)
|
|
43d4: 5d64 lw s1,124(a0)
|
|
43d6: 2020 lbu s0,2(s0)
|
|
43d8: 525f4c53 0x525f4c53
|
|
43dc: 6165 addi sp,sp,112
|
|
43de: 5264 lw s1,100(a2)
|
|
43e0: 6765 lui a4,0x19
|
|
43e2: 7369 lui t1,0xffffa
|
|
43e4: 6574 flw fa3,76(a0)
|
|
43e6: 4272 lw tp,28(sp)
|
|
43e8: 7461 lui s0,0xffff8
|
|
43ea: 6574 flw fa3,76(a0)
|
|
43ec: 7972 flw fs2,60(sp)
|
|
43ee: 6f56 flw ft10,84(sp)
|
|
43f0: 746c flw fa1,108(s0)
|
|
43f2: 6761 lui a4,0x18
|
|
43f4: 2065 jal 449c <_read+0x20e>
|
|
43f6: 0a0d addi s4,s4,3
|
|
43f8: 0000 unimp
|
|
43fa: 0000 unimp
|
|
43fc: 464e495b 0x464e495b
|
|
4400: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4404: 7325 lui t1,0xfffe9
|
|
4406: 253a lhu a4,10(a0)
|
|
4408: 5d64 lw s1,124(a0)
|
|
440a: 2020 lbu s0,2(s0)
|
|
440c: 525f4c53 0x525f4c53
|
|
4410: 6165 addi sp,sp,112
|
|
4412: 5264 lw s1,100(a2)
|
|
4414: 6765 lui a4,0x19
|
|
4416: 7369 lui t1,0xffffa
|
|
4418: 6574 flw fa3,76(a0)
|
|
441a: 4272 lw tp,28(sp)
|
|
441c: 7461 lui s0,0xffff8
|
|
441e: 6574 flw fa3,76(a0)
|
|
4420: 7972 flw fs2,60(sp)
|
|
4422: 6574 flw fa3,76(a0)
|
|
4424: 706d c.lui zero,0xffffb
|
|
4426: 7265 lui tp,0xffff9
|
|
4428: 7461 lui s0,0xffff8
|
|
442a: 7275 lui tp,0xffffd
|
|
442c: 2065 jal 44d4 <_read+0x246>
|
|
442e: 0a0d addi s4,s4,3
|
|
4430: 0000 unimp
|
|
4432: 0000 unimp
|
|
4434: 464e495b 0x464e495b
|
|
4438: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
443c: 7325 lui t1,0xfffe9
|
|
443e: 253a lhu a4,10(a0)
|
|
4440: 5d64 lw s1,124(a0)
|
|
4442: 2020 lbu s0,2(s0)
|
|
4444: 525f4c53 0x525f4c53
|
|
4448: 6165 addi sp,sp,112
|
|
444a: 5264 lw s1,100(a2)
|
|
444c: 6765 lui a4,0x19
|
|
444e: 7369 lui t1,0xffffa
|
|
4450: 6574 flw fa3,76(a0)
|
|
4452: 4372 lw t1,28(sp)
|
|
4454: 756d6d6f jal s10,dabaa <_data_lma+0xd630a>
|
|
4458: 696e flw fs2,216(sp)
|
|
445a: 69746163 bltu s0,s7,4adc <_data_lma+0x23c>
|
|
445e: 654d6e6f jal t3,daab2 <_data_lma+0xd6212>
|
|
4462: 6874 flw fa3,84(s0)
|
|
4464: 2073646f jal s0,3ae6a <_data_lma+0x365ca>
|
|
4468: 0a0d addi s4,s4,3
|
|
446a: 0000 unimp
|
|
446c: 464e495b 0x464e495b
|
|
4470: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4474: 7325 lui t1,0xfffe9
|
|
4476: 253a lhu a4,10(a0)
|
|
4478: 5d64 lw s1,124(a0)
|
|
447a: 2020 lbu s0,2(s0)
|
|
447c: 525f4c53 0x525f4c53
|
|
4480: 6165 addi sp,sp,112
|
|
4482: 5264 lw s1,100(a2)
|
|
4484: 6765 lui a4,0x19
|
|
4486: 7369 lui t1,0xffffa
|
|
4488: 6574 flw fa3,76(a0)
|
|
448a: 5272 lw tp,60(sp)
|
|
448c: 6765 lui a4,0x19
|
|
448e: 7369 lui t1,0xffffa
|
|
4490: 7274 flw fa3,100(a2)
|
|
4492: 7461 lui s0,0xffff8
|
|
4494: 6f69 lui t5,0x1a
|
|
4496: 536e lw t1,248(sp)
|
|
4498: 6174 flw fa3,68(a0)
|
|
449a: 7574 flw fa3,108(a0)
|
|
449c: 0a0d2073 csrs 0xa0,s10
|
|
44a0: 0000 unimp
|
|
44a2: 0000 unimp
|
|
44a4: 464e495b 0x464e495b
|
|
44a8: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
44ac: 7325 lui t1,0xfffe9
|
|
44ae: 253a lhu a4,10(a0)
|
|
44b0: 5d64 lw s1,124(a0)
|
|
44b2: 2020 lbu s0,2(s0)
|
|
44b4: 525f4c53 0x525f4c53
|
|
44b8: 6165 addi sp,sp,112
|
|
44ba: 5264 lw s1,100(a2)
|
|
44bc: 6765 lui a4,0x19
|
|
44be: 7369 lui t1,0xffffa
|
|
44c0: 6574 flw fa3,76(a0)
|
|
44c2: 5272 lw tp,60(sp)
|
|
44c4: 6d65 lui s10,0x19
|
|
44c6: 6961 lui s2,0x18
|
|
44c8: 696e flw fs2,216(sp)
|
|
44ca: 676e flw fa4,216(sp)
|
|
44cc: 6142 flw ft2,16(sp)
|
|
44ce: 7474 flw fa3,108(s0)
|
|
44d0: 7265 lui tp,0xffff9
|
|
44d2: 4279 li tp,30
|
|
44d4: 7265776f jal a4,5bbfa <_data_lma+0x5735a>
|
|
44d8: 0d20 addi s0,sp,664
|
|
44da: 000a c.slli zero,0x2
|
|
44dc: 464e495b 0x464e495b
|
|
44e0: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
44e4: 7325 lui t1,0xfffe9
|
|
44e6: 253a lhu a4,10(a0)
|
|
44e8: 5d64 lw s1,124(a0)
|
|
44ea: 2020 lbu s0,2(s0)
|
|
44ec: 525f4c53 0x525f4c53
|
|
44f0: 6165 addi sp,sp,112
|
|
44f2: 5264 lw s1,100(a2)
|
|
44f4: 6765 lui a4,0x19
|
|
44f6: 7369 lui t1,0xffffa
|
|
44f8: 6574 flw fa3,76(a0)
|
|
44fa: 5372 lw t1,60(sp)
|
|
44fc: 72616c6f jal s8,1ac22 <_data_lma+0x16382>
|
|
4500: 6e65704f fnmadd.q ft0,fa0,ft6,fa3
|
|
4504: 63726943 fmadd.d fs2,ft4,fs7,fa2,unknown
|
|
4508: 6975 lui s2,0x1d
|
|
450a: 5674 lw a3,108(a2)
|
|
450c: 61746c6f jal s8,4b322 <_data_lma+0x46a82>
|
|
4510: 20316567 0x20316567
|
|
4514: 0a0d addi s4,s4,3
|
|
4516: 0000 unimp
|
|
4518: 464e495b 0x464e495b
|
|
451c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4520: 7325 lui t1,0xfffe9
|
|
4522: 253a lhu a4,10(a0)
|
|
4524: 5d64 lw s1,124(a0)
|
|
4526: 2020 lbu s0,2(s0)
|
|
4528: 525f4c53 0x525f4c53
|
|
452c: 6165 addi sp,sp,112
|
|
452e: 5264 lw s1,100(a2)
|
|
4530: 6765 lui a4,0x19
|
|
4532: 7369 lui t1,0xffffa
|
|
4534: 6574 flw fa3,76(a0)
|
|
4536: 5372 lw t1,60(sp)
|
|
4538: 72616c6f jal s8,1ac5e <_data_lma+0x163be>
|
|
453c: 6e65704f fnmadd.q ft0,fa0,ft6,fa3
|
|
4540: 63726943 fmadd.d fs2,ft4,fs7,fa2,unknown
|
|
4544: 6975 lui s2,0x1d
|
|
4546: 5674 lw a3,108(a2)
|
|
4548: 61746c6f jal s8,4b35e <_data_lma+0x46abe>
|
|
454c: 20326567 0x20326567
|
|
4550: 0a0d addi s4,s4,3
|
|
4552: 0000 unimp
|
|
4554: 464e495b 0x464e495b
|
|
4558: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
455c: 7325 lui t1,0xfffe9
|
|
455e: 253a lhu a4,10(a0)
|
|
4560: 5d64 lw s1,124(a0)
|
|
4562: 2020 lbu s0,2(s0)
|
|
4564: 525f4c53 0x525f4c53
|
|
4568: 6165 addi sp,sp,112
|
|
456a: 5264 lw s1,100(a2)
|
|
456c: 6765 lui a4,0x19
|
|
456e: 7369 lui t1,0xffffa
|
|
4570: 6574 flw fa3,76(a0)
|
|
4572: 6172 flw ft2,28(sp)
|
|
4574: 6464 flw fs1,76(s0)
|
|
4576: 6572 flw fa0,28(sp)
|
|
4578: 0d207373 csrrci t1,0xd2,0
|
|
457c: 000a c.slli zero,0x2
|
|
457e: 0000 unimp
|
|
4580: 464e495b 0x464e495b
|
|
4584: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4588: 7325 lui t1,0xfffe9
|
|
458a: 253a lhu a4,10(a0)
|
|
458c: 5d64 lw s1,124(a0)
|
|
458e: 4d20 lw s0,88(a0)
|
|
4590: 7461 lui s0,0xffff8
|
|
4592: 535f6863 bltu t5,s5,4ac2 <_data_lma+0x222>
|
|
4596: 6174 flw fa3,68(a0)
|
|
4598: 7472 flw fs0,60(sp)
|
|
459a: 6c66 flw fs8,88(sp)
|
|
459c: 6761 lui a4,0x18
|
|
459e: 7320 flw fs0,96(a4)
|
|
45a0: 6375 lui t1,0x1d
|
|
45a2: 73736563 bltu t1,s7,4ccc <_data_lma+0x42c>
|
|
45a6: 0d20 addi s0,sp,664
|
|
45a8: 0d0a slli s10,s10,0x2
|
|
45aa: 000a c.slli zero,0x2
|
|
45ac: 464e495b 0x464e495b
|
|
45b0: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
45b4: 7325 lui t1,0xfffe9
|
|
45b6: 253a lhu a4,10(a0)
|
|
45b8: 5d64 lw s1,124(a0)
|
|
45ba: 4d20 lw s0,88(a0)
|
|
45bc: 7461 lui s0,0xffff8
|
|
45be: 615f6863 bltu t5,s5,4bce <_data_lma+0x32e>
|
|
45c2: 6464 flw fs1,76(s0)
|
|
45c4: 6572 flw fa0,28(sp)
|
|
45c6: 73207373 csrrci t1,0x732,0
|
|
45ca: 6375 lui t1,0x1d
|
|
45cc: 73736563 bltu t1,s7,4cf6 <_data_lma+0x456>
|
|
45d0: 0d20 addi s0,sp,664
|
|
45d2: 0d0a slli s10,s10,0x2
|
|
45d4: 000a c.slli zero,0x2
|
|
45d6: 0000 unimp
|
|
45d8: 464e495b 0x464e495b
|
|
45dc: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
45e0: 7325 lui t1,0xfffe9
|
|
45e2: 253a lhu a4,10(a0)
|
|
45e4: 5d64 lw s1,124(a0)
|
|
45e6: 4d20 lw s0,88(a0)
|
|
45e8: 7461 lui s0,0xffff8
|
|
45ea: 425f6863 bltu t5,t0,4a1a <_data_lma+0x17a>
|
|
45ee: 6f72 flw ft10,28(sp)
|
|
45f0: 6461 lui s0,0x18
|
|
45f2: 74736163 bltu t1,t2,4d34 <_data_lma+0x494>
|
|
45f6: 6461 lui s0,0x18
|
|
45f8: 7264 flw fs1,100(a2)
|
|
45fa: 7365 lui t1,0xffff9
|
|
45fc: 75732073 csrs 0x757,t1
|
|
4600: 73656363 bltu a0,s6,4d26 <_data_lma+0x486>
|
|
4604: 0d0a0d73 0xd0a0d73
|
|
4608: 000a c.slli zero,0x2
|
|
460a: 0000 unimp
|
|
460c: 464e495b 0x464e495b
|
|
4610: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4614: 7325 lui t1,0xfffe9
|
|
4616: 253a lhu a4,10(a0)
|
|
4618: 5d64 lw s1,124(a0)
|
|
461a: 5220 lw s0,96(a2)
|
|
461c: 6165 addi sp,sp,112
|
|
461e: 5f64 lw s1,124(a4)
|
|
4620: 6552 flw fa0,20(sp)
|
|
4622: 74736967 0x74736967
|
|
4626: 7265 lui tp,0xffff9
|
|
4628: 0a0d addi s4,s4,3
|
|
462a: 0a0d addi s4,s4,3
|
|
462c: 0000 unimp
|
|
462e: 0000 unimp
|
|
4630: 464e495b 0x464e495b
|
|
4634: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4638: 7325 lui t1,0xfffe9
|
|
463a: 253a lhu a4,10(a0)
|
|
463c: 5d64 lw s1,124(a0)
|
|
463e: 5720 lw s0,104(a4)
|
|
4640: 6972 flw fs2,28(sp)
|
|
4642: 6574 flw fa3,76(a0)
|
|
4644: 525f 6765 7369 0x73696765525f
|
|
464a: 6574 flw fa3,76(a0)
|
|
464c: 0d72 slli s10,s10,0x1c
|
|
464e: 0d0a slli s10,s10,0x2
|
|
4650: 000a c.slli zero,0x2
|
|
4652: 0000 unimp
|
|
4654: 464e495b 0x464e495b
|
|
4658: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
465c: 7325 lui t1,0xfffe9
|
|
465e: 253a lhu a4,10(a0)
|
|
4660: 5d64 lw s1,124(a0)
|
|
4662: 4220 lw s0,64(a2)
|
|
4664: 6f72 flw ft10,28(sp)
|
|
4666: 6461 lui s0,0x18
|
|
4668: 74736163 bltu t1,t2,4daa <_data_lma+0x50a>
|
|
466c: 535f 6163 0d6e 0xd6e6163535f
|
|
4672: 0d0a slli s10,s10,0x2
|
|
4674: 000a c.slli zero,0x2
|
|
4676: 0000 unimp
|
|
4678: 464e495b 0x464e495b
|
|
467c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4680: 7325 lui t1,0xfffe9
|
|
4682: 253a lhu a4,10(a0)
|
|
4684: 5d64 lw s1,124(a0)
|
|
4686: 5220 lw s0,96(a2)
|
|
4688: 6765 lui a4,0x19
|
|
468a: 7369 lui t1,0xffffa
|
|
468c: 7274 flw fa3,100(a2)
|
|
468e: 7461 lui s0,0xffff8
|
|
4690: 6f69 lui t5,0x1a
|
|
4692: 5f6e lw t5,248(sp)
|
|
4694: 6572 flw fa0,28(sp)
|
|
4696: 7571 lui a0,0xffffc
|
|
4698: 7365 lui t1,0xffff9
|
|
469a: 0d74 addi a3,sp,668
|
|
469c: 0d0a slli s10,s10,0x2
|
|
469e: 000a c.slli zero,0x2
|
|
46a0: 464e495b 0x464e495b
|
|
46a4: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
46a8: 7325 lui t1,0xfffe9
|
|
46aa: 253a lhu a4,10(a0)
|
|
46ac: 5d64 lw s1,124(a0)
|
|
46ae: 6620 flw fs0,72(a2)
|
|
46b0: 6e75 lui t3,0x1d
|
|
46b2: 65646f63 bltu s0,s6,4d10 <_data_lma+0x470>
|
|
46b6: 6520 flw fs0,72(a0)
|
|
46b8: 7272 flw ft4,60(sp)
|
|
46ba: 2520726f jal tp,b90c <_data_lma+0x706c>
|
|
46be: 0d78 addi a4,sp,668
|
|
46c0: 0d0a slli s10,s10,0x2
|
|
46c2: 000a c.slli zero,0x2
|
|
46c4: e5f4 fsw fa3,76(a1)
|
|
46c6: ffff 0xffff
|
|
46c8: e546 fsw fa7,136(sp)
|
|
46ca: ffff 0xffff
|
|
46cc: e546 fsw fa7,136(sp)
|
|
46ce: ffff 0xffff
|
|
46d0: e544 fsw fs1,12(a0)
|
|
46d2: ffff 0xffff
|
|
46d4: e54a fsw fs2,136(sp)
|
|
46d6: ffff 0xffff
|
|
46d8: e54a fsw fs2,136(sp)
|
|
46da: ffff 0xffff
|
|
46dc: e51a fsw ft6,136(sp)
|
|
46de: ffff 0xffff
|
|
46e0: e544 fsw fs1,12(a0)
|
|
46e2: ffff 0xffff
|
|
46e4: e54a fsw fs2,136(sp)
|
|
46e6: ffff 0xffff
|
|
46e8: e51a fsw ft6,136(sp)
|
|
46ea: ffff 0xffff
|
|
46ec: e54a fsw fs2,136(sp)
|
|
46ee: ffff 0xffff
|
|
46f0: e544 fsw fs1,12(a0)
|
|
46f2: ffff 0xffff
|
|
46f4: e5e2 fsw fs8,200(sp)
|
|
46f6: ffff 0xffff
|
|
46f8: e5e2 fsw fs8,200(sp)
|
|
46fa: ffff 0xffff
|
|
46fc: e5e2 fsw fs8,200(sp)
|
|
46fe: ffff 0xffff
|
|
4700: e51a fsw ft6,136(sp)
|
|
4702: ffff 0xffff
|
|
|
|
00004704 <__clz_tab>:
|
|
4704: 0100 0202 0303 0303 0404 0404 0404 0404 ................
|
|
4714: 0505 0505 0505 0505 0505 0505 0505 0505 ................
|
|
4724: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
4734: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
4744: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
4754: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
4764: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
4774: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
4784: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
4794: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
47a4: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
47b4: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
47c4: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
47d4: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
47e4: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
47f4: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
|
|
00004804 <__sf_fake_stderr>:
|
|
...
|
|
|
|
00004824 <__sf_fake_stdin>:
|
|
...
|
|
|
|
00004844 <__sf_fake_stdout>:
|
|
...
|
|
4864: 2d23 2b30 0020 0000 6c68 004c 6665 4567 #-0+ ...hlL.efgE
|
|
4874: 4746 0000 3130 3332 3534 3736 3938 4241 FG..0123456789AB
|
|
4884: 4443 4645 0000 0000 3130 3332 3534 3736 CDEF....01234567
|
|
4894: 3938 6261 6463 6665 0000 0000 89abcdef....
|