8646 lines
386 KiB
Plaintext
8646 lines
386 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 0x00005454 memsz 0x00005454 flags r-x
|
|
LOAD off 0x00007000 vaddr 0x20000000 paddr 0x00005454 align 2**12
|
|
filesz 0x00000150 memsz 0x0000042c flags rw-
|
|
LOAD off 0x00007800 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 00005314 00000140 00000140 00001140 2**3
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 00005454 00005454 00007150 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 00007150 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 00005454 00005454 00007150 2**0
|
|
CONTENTS
|
|
6 .data 00000150 20000000 00005454 00007000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 000002dc 20000150 000055a4 00007150 2**2
|
|
ALLOC
|
|
8 .stack 00000800 20004800 20004800 00007800 2**0
|
|
ALLOC
|
|
9 .debug_info 0001e99b 00000000 00000000 00007150 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 00005230 00000000 00000000 00025aeb 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_aranges 00000e40 00000000 00000000 0002ad20 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_ranges 00001038 00000000 00000000 0002bb60 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_line 00011e9c 00000000 00000000 0002cb98 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_str 0000447d 00000000 00000000 0003ea34 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .comment 00000033 00000000 00000000 00042eb1 2**0
|
|
CONTENTS, READONLY
|
|
16 .debug_frame 00002ca8 00000000 00000000 00042ee4 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
17 .debug_loc 00006069 00000000 00000000 00045b8c 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
18 .stab 00000084 00000000 00000000 0004bbf8 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
19 .stabstr 00000117 00000000 00000000 0004bc7c 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
|
|
00005454 l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
00005454 l d .dlalign 00000000 .dlalign
|
|
20000000 l d .data 00000000 .data
|
|
20000150 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
|
|
2000013c 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
|
|
20000170 l O .bss 00000004 pTimeSliceList
|
|
00000000 l df *ABS* 00000000 ring_queue.c
|
|
00000000 l df *ABS* 00000000 debug.c
|
|
20000174 l O .bss 00000002 p_ms
|
|
20000176 l O .bss 00000002 p_us
|
|
20000140 l O .data 00000004 curbrk.5007
|
|
00000000 l df *ABS* 00000000 collect_Conversion.c
|
|
00001c38 l F .text 0000003a get_adc
|
|
00000000 l df *ABS* 00000000 inflash.c
|
|
00000000 l df *ABS* 00000000 sl_protocol.c
|
|
00001d4e l F .text 00000048 SL_MsgProcFunc_Write_Register
|
|
00001d96 l F .text 00000030 SL_ReadRegisterSolarOpenCircuitVoltage2
|
|
00001dc6 l F .text 00000030 SL_ReadRegisterSolarOpenCircuitVoltage1
|
|
00001df6 l F .text 00000030 SL_ReadRegisterRemainingBatteryBower
|
|
00001e26 l F .text 00000030 SL_ReadRegisterBatterytemperature
|
|
00001e56 l F .text 00000030 SL_ReadRegisterBatteryVoltage
|
|
00001e86 l F .text 00000026 SL_ReadRegisterCommunicationMethods
|
|
00001eac l F .text 00000026 SL_ReadRegisterAccessNodeType
|
|
00001ed2 l F .text 0000001c SL_ReadRegisteraddress
|
|
00001eee l F .text 00000026 SL_ReadRegisterRegistrationStatus
|
|
00001f14 l F .text 00000040 SL_MsgProcFunc_Registration_request
|
|
00001f54 l F .text 0000002c SL_MsgProcFunc_Broadcast_Scan
|
|
00001fbe l F .text 0000015c SL_MsgProcFunc_Read_Register
|
|
200001b0 l O .bss 00000032 rs485_buff
|
|
00000000 l df *ABS* 00000000 task.c
|
|
20000179 l O .bss 00000001 flag.5720
|
|
20000182 l O .bss 00000001 run_number.5742
|
|
20000184 l O .bss 00000004 temp.5734
|
|
00000000 l df *ABS* 00000000 uart_dev.c
|
|
00002870 l F .text 00000046 uart_putchar
|
|
20000234 l O .bss 000000c8 bat485_in_buff
|
|
200002fc l O .bss 0000012c gw485_in_buff
|
|
00000000 l df *ABS* 00000000 ledf2.c
|
|
00000000 l df *ABS* 00000000 muldf3.c
|
|
00000000 l df *ABS* 00000000 divsf3.c
|
|
00000000 l df *ABS* 00000000 gesf2.c
|
|
00000000 l df *ABS* 00000000 lesf2.c
|
|
00000000 l df *ABS* 00000000 mulsf3.c
|
|
00000000 l df *ABS* 00000000 fixsfsi.c
|
|
00000000 l df *ABS* 00000000 fixunssfsi.c
|
|
00000000 l df *ABS* 00000000 floatunsisf.c
|
|
00000000 l df *ABS* 00000000 extendsfdf2.c
|
|
00000000 l df *ABS* 00000000 truncdfsf2.c
|
|
00000000 l df *ABS* 00000000 libgcc2.c
|
|
00000000 l df *ABS* 00000000 memcpy.c
|
|
00000000 l df *ABS* 00000000 printf.c
|
|
00000000 l df *ABS* 00000000 puts.c
|
|
00000000 l df *ABS* 00000000 rand.c
|
|
00000000 l df *ABS* 00000000 wbuf.c
|
|
00000000 l df *ABS* 00000000 wsetup.c
|
|
00000000 l df *ABS* 00000000 fflush.c
|
|
00000000 l df *ABS* 00000000 findfp.c
|
|
00003fce 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
|
|
0000446a 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
|
|
200000d8 l O .data 00000060 impure_data
|
|
00000000 l df *ABS* 00000000 mppt_control.c
|
|
00000000 l df *ABS* 00000000 reent.c
|
|
000015a0 g F .text 00000032 EXTI2_IRQHandler
|
|
00004c5e g F .text 00000028 _isatty_r
|
|
00001a2a g F .text 00000022 TimeSliceOffset_Start
|
|
00003ac6 g F .text 000000d4 _puts_r
|
|
00004c86 g F .text 0000002c _lseek_r
|
|
00001916 g F .text 0000005c TIM3_Int_Init
|
|
00001870 g F .text 0000001a USARTx_SendByte
|
|
20000020 g O .data 00000016 g_slConfigInfo
|
|
000028b6 g F .text 0000004e uart_dev_init
|
|
00003a86 g F .text 00000040 printf
|
|
20000938 g .data 00000000 __global_pointer$
|
|
00000148 g F .text 00000028 .hidden __riscv_save_8
|
|
00000440 w .text 00000000 TIM1_CC_IRQHandler
|
|
00004ba8 g F .text 00000030 __sseek
|
|
00004084 g F .text 0000006c __sinit
|
|
00000eb4 g F .text 00000004 SPI_I2S_SendData
|
|
00003c80 g F .text 000000bc __swbuf_r
|
|
0000024a g F .text 00000002 HardFault_Handler
|
|
0000403e g F .text 00000046 __sfmoreglue
|
|
00004ccc g F .text 00000002 __malloc_unlock
|
|
00001a84 g F .text 0000002c InRingQueue
|
|
00000440 w .text 00000000 USBPD_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_3
|
|
00002f76 g F .text 000002b2 .hidden __divsf3
|
|
000021c0 g F .text 00000032 FRT_MsgHandler
|
|
00000440 w .text 00000000 SysTick_Handler
|
|
00000568 g F .text 0000000a ADC_StartCalibration
|
|
000029bc g F .text 00000018 uart_dev_char_present
|
|
00000cd0 g F .text 00000054 NVIC_Init
|
|
00000440 w .text 00000000 PVD_IRQHandler
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_10
|
|
00000eb8 g F .text 00000004 SPI_I2S_ReceiveData
|
|
00000248 g F .text 00000002 NMI_Handler
|
|
000035ca g F .text 00000062 .hidden __fixsfsi
|
|
00000440 w .text 00000000 EXTI3_IRQHandler
|
|
00000148 g F .text 00000028 .hidden __riscv_save_11
|
|
0000087c g F .text 00000006 DBGMCU_GetCHIPID
|
|
00002548 g F .text 00000024 Task_RunLED
|
|
00001190 g F .text 0000000a USART_GetFlagStatus
|
|
00004c34 g F .text 0000002a _fstat_r
|
|
20000428 g O .bss 00000004 errno
|
|
00002938 g F .text 00000018 gw485_tx_enabla
|
|
20000150 g .bss 00000000 _sbss
|
|
00000800 g *ABS* 00000000 __stack_size
|
|
00000652 g F .text 0000000a ADC_GetFlagStatus
|
|
00001b7a g F .text 0000005a USART_Printf_Init
|
|
000029fa g F .text 0000000e ring_queue_length
|
|
00000440 w .text 00000000 USBFS_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_2
|
|
00002968 g F .text 00000054 uart_dev_write
|
|
00000fd0 g F .text 00000016 TIM_CtrlPWMOutputs
|
|
000039d4 g F .text 000000b2 memcpy
|
|
00000546 g F .text 00000010 ADC_Cmd
|
|
00004034 g F .text 0000000a _cleanup_r
|
|
000009e2 g F .text 0000012c GPIO_PinRemapConfig
|
|
00002a08 g F .text 000000b6 .hidden __ltdf2
|
|
00000440 w .text 00000000 EXTI0_IRQHandler
|
|
00000440 w .text 00000000 I2C2_EV_IRQHandler
|
|
00000e4a g F .text 0000001e RCC_PB2PeriphResetCmd
|
|
00000440 w .text 00000000 LPTIM_IRQHandler
|
|
00002904 g F .text 0000001a bat485_tx_enabla
|
|
20000164 g O .bss 00000002 Calibrattion_Val
|
|
00000fb8 g F .text 00000018 TIM_Cmd
|
|
00003b9a g F .text 0000000c puts
|
|
00001012 g F .text 00000016 TIM_OC4PreloadConfig
|
|
20000138 g O .data 00000004 SystemCoreClock
|
|
00001188 g F .text 00000008 USART_ReceiveData
|
|
000042e4 g F .text 0000000a malloc
|
|
00004d06 g F .text 0000000c _fstat
|
|
00000004 g .init 00000000 _einit
|
|
0000106e g F .text 0000000c TIM_ClearITPendingBit
|
|
0000103e g F .text 00000018 TIM_GetCounter
|
|
000032ae g F .text 0000008c .hidden __lesf2
|
|
00000140 g F .text 00000030 .hidden __riscv_save_12
|
|
00000914 g F .text 000000c0 GPIO_Init
|
|
00000d24 g F .text 00000014 RCC_ADCCLKConfig
|
|
000019be g F .text 0000003e TimeSliceOffset_Register
|
|
00000440 w .text 00000000 Break_Point_Handler
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_11
|
|
20000188 g O .bss 00000004 g_bat485_uart3_handle
|
|
20000160 g O .bss 00000004 NVIC_Priority_Group
|
|
00000440 w .text 00000000 SPI1_IRQHandler
|
|
00000556 g F .text 0000000a ADC_ResetCalibration
|
|
00001134 g F .text 00000016 USART_Cmd
|
|
00004b0a g F .text 0000002a _sbrk_r
|
|
20000154 g O .bss 00000004 CHIPID
|
|
00000440 w .text 00000000 TAMPER_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_1
|
|
00001d1a g F .text 00000034 read_config_info
|
|
00001c9c g F .text 0000007e get_CHG_CURR
|
|
20000181 g O .bss 00000001 recvbroadcast_flag
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_0
|
|
00004cce g F .text 0000002c _read_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_7
|
|
20000180 g O .bss 00000001 g_recvBroadcastRegisterNumber
|
|
00003750 g F .text 000000ac .hidden __extendsfdf2
|
|
20000144 g O .data 00000004 duty_ratio
|
|
00000440 w .text 00000000 Ecall_M_Mode_Handler
|
|
20004800 g .stack 00000000 _heap_end
|
|
0000291e g F .text 0000001a bat485_tx_disenabla
|
|
00004d12 g F .text 0000000c _isatty
|
|
20000058 g O .data 00000048 g_RegTblR
|
|
00001b06 g F .text 0000003e Delay_Us
|
|
2000014c g O .data 00000004 _global_impure_ptr
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_5
|
|
20000150 g O .bss 00000002 ADC_Trim
|
|
00000ebc g F .text 0000000a SPI_I2S_GetFlagStatus
|
|
00000440 w .text 00000000 DMA1_Channel4_IRQHandler
|
|
00000592 g F .text 000000b8 ADC_RegularChannelConfig
|
|
00001c12 g F .text 00000026 _sbrk
|
|
00000686 g F .text 00000012 ADC_FIFO_Cmd
|
|
0000064a g F .text 00000008 ADC_GetConversionValue
|
|
0000211a g F .text 0000002c randomDelay
|
|
00001a74 g F .text 00000010 InitRingQueue
|
|
0000256c g F .text 00000010 Task_usart
|
|
00001ad6 g F .text 00000010 RingQueueLength
|
|
00001f80 g F .text 0000003e CheckFunc
|
|
00001546 g F .text 0000005a DSG_PROT_Init
|
|
0000136a g F .text 0000005a SPI_ReadWriteByte
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_6
|
|
0000188a g F .text 00000046 USART3_IRQHandler
|
|
0000090a g F .text 0000000a EXTI_ClearITPendingBit
|
|
00000440 w .text 00000000 RTC_IRQHandler
|
|
00000572 g F .text 00000008 ADC_GetCalibrationStatus
|
|
2000042c g .bss 00000000 _ebss
|
|
0000119a g F .text 0000003c USART_GetITStatus
|
|
0000274e g F .text 00000076 g_Mppt_Para_Init
|
|
00000440 w .text 00000000 DMA1_Channel7_IRQHandler
|
|
20000168 g O .bss 00000001 USART3_Rbuffer
|
|
0000057a g F .text 00000018 ADC_SoftwareStartConvCmd
|
|
00000560 g F .text 00000008 ADC_GetResetCalibrationStatus
|
|
00000440 w .text 00000000 CAN1_RX1_IRQHandler
|
|
00001ae6 g F .text 00000020 Delay_Init
|
|
000013c4 g F .text 00000068 SPI_Flash_Read
|
|
00001ab0 g F .text 00000026 OutRingQueue
|
|
00000e0e g F .text 0000001e RCC_PB2PeriphClockCmd
|
|
00000b3a g F .text 00000190 GPIO_IPD_Unused
|
|
00003228 g F .text 00000086 .hidden __gtsf2
|
|
00000440 w .text 00000000 USBPDWakeUp_IRQHandler
|
|
000009d4 g F .text 00000004 GPIO_SetBits
|
|
00000440 w .text 00000000 TIM4_IRQHandler
|
|
00002a08 g F .text 000000b6 .hidden __ledf2
|
|
00000ff8 g F .text 0000001a TIM_ARRPreloadConfig
|
|
00000148 g F .text 00000028 .hidden __riscv_save_9
|
|
000009d8 g F .text 0000000a GPIO_WriteBit
|
|
000053b8 g O .text 00000020 __sf_fake_stderr
|
|
00001610 g F .text 00000038 PWM_GPIO_Configuration
|
|
00000156 g F .text 0000001a .hidden __riscv_save_4
|
|
00000440 w .text 00000000 I2C1_EV_IRQHandler
|
|
000018d0 g F .text 00000046 USART4_IRQHandler
|
|
00001700 g F .text 000000b2 GW_485_Init
|
|
00001056 g F .text 00000018 TIM_GetITStatus
|
|
00000d38 g F .text 000000d6 RCC_GetClocksFreq
|
|
00000440 w .text 00000000 DMA1_Channel6_IRQHandler
|
|
00003966 g F .text 0000006e .hidden __clzsi2
|
|
00001a4c g F .text 00000028 TimeSliceOffset_Produce
|
|
00004492 g F .text 00000042 __sfputs_r
|
|
2000015c g O .bss 00000004 TS_Val
|
|
00004cb2 g F .text 00000018 memchr
|
|
0000107a g F .text 000000ba USART_Init
|
|
000042ee g F .text 000000a8 _free_r
|
|
00001996 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
|
|
00001486 g F .text 00000030 RUN_LED_Init
|
|
00000000 g .init 00000000 _start
|
|
00003bfc g F .text 00000084 rand
|
|
00004d1e g F .text 0000000c _lseek
|
|
20000178 g O .bss 00000001 RegistrationRequestFlag
|
|
00000e2c g F .text 0000001e RCC_PB1PeriphClockCmd
|
|
0000142c g F .text 0000005a G_FFMOS_CON_Init
|
|
00000440 w .text 00000000 EXTI15_10_IRQHandler
|
|
00000fe6 g F .text 00000012 TIM_ITConfig
|
|
00000440 w .text 00000000 ADC_IRQHandler
|
|
0000114a g F .text 00000036 USART_ITConfig
|
|
00000882 g F .text 0000006a EXTI_Init
|
|
20000158 g O .bss 00000004 OPA_Trim
|
|
00000440 w .text 00000000 DMA1_Channel8_IRQHandler
|
|
00004c0c g F .text 00000028 _close_r
|
|
20000000 g .dalign 00000000 _data_vma
|
|
00001516 g F .text 00000030 POW_OUT_CON_Init
|
|
0000282e g F .text 00000042 hardware_Init
|
|
00000f3c g F .text 0000007c TIM_OC4Init
|
|
00003d3c g F .text 000000fc __swsetup_r
|
|
00000440 w .text 00000000 EXTI9_5_IRQHandler
|
|
000040f0 g F .text 000000a0 __sfp
|
|
20000204 g O .bss 00000010 m_runled
|
|
00000b0e g F .text 0000002c GPIO_EXTILineConfig
|
|
00002abe g F .text 000004b8 .hidden __muldf3
|
|
00000148 g F .text 00000028 .hidden __riscv_save_10
|
|
00004b34 g F .text 0000002c __sread
|
|
200000a0 g O .data 00000038 uart_devices
|
|
00004cca g F .text 00000002 __malloc_lock
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_4
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_8
|
|
00001c72 g F .text 0000002a Get_ConversionVal
|
|
00003f68 g F .text 00000066 _fflush_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_6
|
|
000008ec g F .text 0000001e EXTI_GetITStatus
|
|
00000440 w .text 00000000 SPI2_IRQHandler
|
|
000053d8 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
|
|
00001972 g F .text 00000024 TIM3_Init
|
|
000015d2 g F .text 0000003e CAPCHARG_Init
|
|
00003ba6 g F .text 00000056 srand
|
|
00002950 g F .text 00000018 gw485_tx_disenabla
|
|
000032ae g F .text 0000008c .hidden __ltsf2
|
|
00004bd8 g F .text 00000006 __sclose
|
|
000037fc g F .text 0000016a .hidden __truncdfsf2
|
|
00004396 g F .text 000000d4 _malloc_r
|
|
000006a8 g F .text 000001d4 Get_CalibrationValue
|
|
00000440 w .text 00000000 DMA1_Channel5_IRQHandler
|
|
20000214 g O .bss 00000010 m_usart
|
|
00000440 w .text 00000000 EXTI4_IRQHandler
|
|
00001b44 g F .text 00000036 Delay_Ms
|
|
00000440 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
0000333a g F .text 00000290 .hidden __mulsf3
|
|
00001028 g F .text 00000016 TIM_SetCompare4
|
|
0000065c g F .text 00000018 ADC_BufferCmd
|
|
00000e9a g F .text 0000001a SPI_Cmd
|
|
00000296 g F .text 00000106 SystemInit
|
|
00000674 g F .text 00000012 ADC_DutyDelayCmd
|
|
00003a86 g F .text 00000040 iprintf
|
|
000021f2 g F .text 0000032c read_and_process_uart_data
|
|
2000016c g O .bss 00000001 USART4_Rbuffer
|
|
00000440 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
|
|
000052b8 g O .text 00000100 .hidden __clz_tab
|
|
00000000 g .init 00000000 _sinit
|
|
00000440 w .text 00000000 CMPWakeUp_IRQHandler
|
|
00003228 g F .text 00000086 .hidden __gesf2
|
|
00004bde g F .text 0000002e _write_r
|
|
00000440 w .text 00000000 DMA1_Channel3_IRQHandler
|
|
0000475c g F .text 0000010c _printf_common
|
|
20000148 g O .data 00000004 _impure_ptr
|
|
000025f8 g F .text 00000156 Task_recvbroadcast
|
|
00000440 w .text 00000000 TIM1_UP_IRQHandler
|
|
00003e38 g F .text 00000130 __sflush_r
|
|
00000440 w .text 00000000 LPTIMWakeUp_IRQHandler
|
|
00000440 w .text 00000000 WWDG_IRQHandler
|
|
000019fc g F .text 0000002e TimeSliceOffset_Unregister
|
|
00000440 w .text 00000000 Ecall_U_Mode_Handler
|
|
000027c4 g F .text 0000006a task_Init
|
|
20000038 g O .data 00000020 g_MsgTbl
|
|
00000698 g F .text 00000010 ADC_Sample_ModeConfig
|
|
00000440 w .text 00000000 TIM2_IRQHandler
|
|
20005000 g .stack 00000000 _eusrstack
|
|
0000251e g F .text 0000002a Task_wdi
|
|
00000170 g F .text 0000000c .hidden __riscv_save_2
|
|
00000440 w .text 00000000 SW_Handler
|
|
000004c8 g F .text 00000028 ADC_DeInit
|
|
00000440 w .text 00000000 TIM1_BRK_IRQHandler
|
|
000041fa g F .text 00000058 __swhatbuf_r
|
|
000004f0 g F .text 00000056 ADC_Init
|
|
00001180 g F .text 00000008 USART_SendData
|
|
00000440 w .text 00000000 OPA_IRQHandler
|
|
00002146 g F .text 0000007a Check_485_bus_busy
|
|
200001f4 g O .bss 00000010 m_recvbroadcast
|
|
00000440 w .text 00000000 EXTI1_IRQHandler
|
|
00000156 g F .text 0000001a .hidden __riscv_save_5
|
|
00001bd4 g F .text 0000003e _write
|
|
0000257c g F .text 0000007c Task_CapCharg
|
|
20000150 g .data 00000000 _edata
|
|
2000042c g .bss 00000000 _end
|
|
00000ec6 g F .text 00000076 TIM_TimeBaseInit
|
|
00000440 w .text 00000000 RTCAlarm_IRQHandler
|
|
00005454 g .dlalign 00000000 _data_lma
|
|
00000440 w .text 00000000 USART2_IRQHandler
|
|
00004b60 g F .text 00000048 __swrite
|
|
000017b2 g F .text 000000be BAT_485_Init
|
|
000044d4 g F .text 00000288 _vfiprintf_r
|
|
00004190 g F .text 0000006a _fwalk_reent
|
|
0000039c g F .text 000000a4 SystemCoreClockUpdate
|
|
00003682 g F .text 000000ce .hidden __floatunsisf
|
|
000014b6 g F .text 00000032 WDI_INPUT_Init
|
|
00000440 w .text 00000000 I2C2_ER_IRQHandler
|
|
00000440 w .text 00000000 DMA1_Channel2_IRQHandler
|
|
00001648 g F .text 0000006c PWM_TIM_Configuration
|
|
200001e4 g O .bss 00000010 m_CapCharg
|
|
000053f8 g O .text 00000020 __sf_fake_stdout
|
|
20000000 g O .data 00000010 HBPrescTable
|
|
0000017c g F .text 00000024 .hidden __riscv_restore_12
|
|
00004d2a g F .text 0000000c _read
|
|
00000442 w .text 00000000 handle_reset
|
|
00000440 w .text 00000000 CAN1_SCE_IRQHandler
|
|
0000362c g F .text 00000056 .hidden __fixunssfsi
|
|
00000440 w .text 00000000 FLASH_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_0
|
|
20000224 g O .bss 00000010 m_wdi
|
|
00000440 w .text 00000000 USBFSWakeUp_IRQHandler
|
|
2000017c g O .bss 00000004 g_recvBroadcastDevice
|
|
00000440 w .text 00000000 USART1_IRQHandler
|
|
00004252 g F .text 00000092 __smakebuf_r
|
|
00004868 g F .text 000002a2 _printf_i
|
|
20000198 g O .bss 00000017 g_Mppt_Para
|
|
20000194 g O .bss 00000004 __malloc_sbrk_start
|
|
00000440 w .text 00000000 I2C1_ER_IRQHandler
|
|
000012c6 g F .text 000000a4 SPI_Flash_Init
|
|
00000e68 g F .text 00000032 SPI_Init
|
|
00000cca g F .text 00000006 NVIC_PriorityGroupConfig
|
|
000011d6 g F .text 000000f0 ADC_all_Init
|
|
000016b4 g F .text 0000004c Set_duty_ratio
|
|
00000440 w .text 00000000 TKeyWakeUp_IRQHandler
|
|
20000190 g O .bss 00000004 __malloc_free_list
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_1
|
|
2000018c g O .bss 00000004 g_gw485_uart4_handle
|
|
000044d4 g F .text 00000288 _vfprintf_r
|
|
000014e8 g F .text 0000002e BEEP_Init
|
|
00004cfa g F .text 0000000c _close
|
|
000029d4 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: 15a0 addi s0,sp,744
|
|
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: 0440 addi s0,sp,516
|
|
b6: 0000 unimp
|
|
b8: 1996 slli s3,s3,0x25
|
|
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: 188a slli a7,a7,0x22
|
|
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: 18d0 addi a2,sp,116
|
|
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: 279000ef jal ra,cca <NVIC_PriorityGroupConfig>
|
|
256: 2299 jal 39c <SystemCoreClockUpdate>
|
|
258: 08f010ef jal ra,1ae6 <Delay_Init>
|
|
25c: 6571 lui a0,0x1c
|
|
25e: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x16dac>
|
|
262: 119010ef jal ra,1b7a <USART_Printf_Init>
|
|
266: 200007b7 lui a5,0x20000
|
|
26a: 1387a583 lw a1,312(a5) # 20000138 <SystemCoreClock>
|
|
26e: 00005537 lui a0,0x5
|
|
272: d3850513 addi a0,a0,-712 # 4d38 <_read+0xe>
|
|
276: 011030ef jal ra,3a86 <iprintf>
|
|
27a: 2509 jal 87c <DBGMCU_GetCHIPID>
|
|
27c: 85aa mv a1,a0
|
|
27e: 00005537 lui a0,0x5
|
|
282: d4850513 addi a0,a0,-696 # 4d48 <_read+0x1e>
|
|
286: 001030ef jal ra,3a86 <iprintf>
|
|
28a: 5a4020ef jal ra,282e <hardware_Init>
|
|
28e: 536020ef jal ra,27c4 <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: 05f000ef jal ra,b3a <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: 13870713 addi a4,a4,312 # 20000138 <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+0xeedec>
|
|
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+0x79bdac>
|
|
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+0x79bdac>
|
|
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+0x3cb4ac>
|
|
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: 4f618193 addi gp,gp,1270 # 20000938 <__global_pointer$>
|
|
44a: 20005117 auipc sp,0x20005
|
|
44e: bb610113 addi sp,sp,-1098 # 20005000 <_eusrstack>
|
|
452: 00005517 auipc a0,0x5
|
|
456: 00250513 addi a0,a0,2 # 5454 <_data_lma>
|
|
45a: 20000597 auipc a1,0x20000
|
|
45e: ba658593 addi a1,a1,-1114 # 20000000 <_data_vma>
|
|
462: 81818613 addi a2,gp,-2024 # 20000150 <_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: 81818513 addi a0,gp,-2024 # 20000150 <_edata>
|
|
47e: af418593 addi a1,gp,-1292 # 2000042c <_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: 16d000ef jal ra,e4a <RCC_PB2PeriphResetCmd>
|
|
4e2: 4581 li a1,0
|
|
4e4: 20000513 li a0,512
|
|
4e8: 163000ef jal ra,e4a <RCC_PB2PeriphResetCmd>
|
|
4ec: b165 j 194 <__riscv_restore_0>
|
|
4ee: 8082 ret
|
|
|
|
000004f0 <ADC_Init>:
|
|
4f0: 415c lw a5,4(a0)
|
|
4f2: e0f10737 lui a4,0xe0f10
|
|
4f6: eff70713 addi a4,a4,-257 # e0f0feff <_eusrstack+0xc0f0aeff>
|
|
4fa: 4d94 lw a3,24(a1)
|
|
4fc: 8f7d and a4,a4,a5
|
|
4fe: 419c lw a5,0(a1)
|
|
500: 8fd5 or a5,a5,a3
|
|
502: 4dd4 lw a3,28(a1)
|
|
504: 8fd5 or a5,a5,a3
|
|
506: 41d4 lw a3,4(a1)
|
|
508: 06a2 slli a3,a3,0x8
|
|
50a: 8fd5 or a5,a5,a3
|
|
50c: 8fd9 or a5,a5,a4
|
|
50e: c15c sw a5,4(a0)
|
|
510: 451c lw a5,8(a0)
|
|
512: fff1f737 lui a4,0xfff1f
|
|
516: 7fd70713 addi a4,a4,2045 # fff1f7fd <_eusrstack+0xdff1a7fd>
|
|
51a: 45d4 lw a3,12(a1)
|
|
51c: 8f7d and a4,a4,a5
|
|
51e: 499c lw a5,16(a1)
|
|
520: 8fd5 or a5,a5,a3
|
|
522: 4594 lw a3,8(a1)
|
|
524: 0686 slli a3,a3,0x1
|
|
526: 8fd5 or a5,a5,a3
|
|
528: 8fd9 or a5,a5,a4
|
|
52a: c51c sw a5,8(a0)
|
|
52c: 555c lw a5,44(a0)
|
|
52e: ff100737 lui a4,0xff100
|
|
532: 177d addi a4,a4,-1
|
|
534: 8f7d and a4,a4,a5
|
|
536: 29dc lbu a5,20(a1)
|
|
538: 17fd addi a5,a5,-1
|
|
53a: 0ff7f793 andi a5,a5,255
|
|
53e: 07d2 slli a5,a5,0x14
|
|
540: 8fd9 or a5,a5,a4
|
|
542: d55c sw a5,44(a0)
|
|
544: 8082 ret
|
|
|
|
00000546 <ADC_Cmd>:
|
|
546: 451c lw a5,8(a0)
|
|
548: c589 beqz a1,552 <ADC_Cmd+0xc>
|
|
54a: 0017e793 ori a5,a5,1
|
|
54e: c51c sw a5,8(a0)
|
|
550: 8082 ret
|
|
552: 9bf9 andi a5,a5,-2
|
|
554: bfed j 54e <ADC_Cmd+0x8>
|
|
|
|
00000556 <ADC_ResetCalibration>:
|
|
556: 451c lw a5,8(a0)
|
|
558: 0087e793 ori a5,a5,8
|
|
55c: c51c sw a5,8(a0)
|
|
55e: 8082 ret
|
|
|
|
00000560 <ADC_GetResetCalibrationStatus>:
|
|
560: 4508 lw a0,8(a0)
|
|
562: 810d srli a0,a0,0x3
|
|
564: 8905 andi a0,a0,1
|
|
566: 8082 ret
|
|
|
|
00000568 <ADC_StartCalibration>:
|
|
568: 451c lw a5,8(a0)
|
|
56a: 0047e793 ori a5,a5,4
|
|
56e: c51c sw a5,8(a0)
|
|
570: 8082 ret
|
|
|
|
00000572 <ADC_GetCalibrationStatus>:
|
|
572: 4508 lw a0,8(a0)
|
|
574: 8109 srli a0,a0,0x2
|
|
576: 8905 andi a0,a0,1
|
|
578: 8082 ret
|
|
|
|
0000057a <ADC_SoftwareStartConvCmd>:
|
|
57a: 451c lw a5,8(a0)
|
|
57c: c591 beqz a1,588 <ADC_SoftwareStartConvCmd+0xe>
|
|
57e: 00500737 lui a4,0x500
|
|
582: 8fd9 or a5,a5,a4
|
|
584: c51c sw a5,8(a0)
|
|
586: 8082 ret
|
|
588: ffb00737 lui a4,0xffb00
|
|
58c: 177d addi a4,a4,-1
|
|
58e: 8ff9 and a5,a5,a4
|
|
590: bfd5 j 584 <ADC_SoftwareStartConvCmd+0xa>
|
|
|
|
00000592 <ADC_RegularChannelConfig>:
|
|
592: 47a5 li a5,9
|
|
594: 04b7f763 bgeu a5,a1,5e2 <ADC_RegularChannelConfig+0x50>
|
|
598: 478d li a5,3
|
|
59a: ff658713 addi a4,a1,-10
|
|
59e: 02f70733 mul a4,a4,a5
|
|
5a2: 00c52803 lw a6,12(a0)
|
|
5a6: 479d li a5,7
|
|
5a8: 00e797b3 sll a5,a5,a4
|
|
5ac: fff7c793 not a5,a5
|
|
5b0: 0107f7b3 and a5,a5,a6
|
|
5b4: 00e696b3 sll a3,a3,a4
|
|
5b8: 8edd or a3,a3,a5
|
|
5ba: c554 sw a3,12(a0)
|
|
5bc: 4799 li a5,6
|
|
5be: 04c7e363 bltu a5,a2,604 <ADC_RegularChannelConfig+0x72>
|
|
5c2: 4795 li a5,5
|
|
5c4: 167d addi a2,a2,-1
|
|
5c6: 02f60633 mul a2,a2,a5
|
|
5ca: 5958 lw a4,52(a0)
|
|
5cc: 47fd li a5,31
|
|
5ce: 00c797b3 sll a5,a5,a2
|
|
5d2: fff7c793 not a5,a5
|
|
5d6: 8ff9 and a5,a5,a4
|
|
5d8: 00c59633 sll a2,a1,a2
|
|
5dc: 8e5d or a2,a2,a5
|
|
5de: d950 sw a2,52(a0)
|
|
5e0: 8082 ret
|
|
5e2: 470d li a4,3
|
|
5e4: 02e58733 mul a4,a1,a4
|
|
5e8: 01052803 lw a6,16(a0)
|
|
5ec: 479d li a5,7
|
|
5ee: 00e797b3 sll a5,a5,a4
|
|
5f2: fff7c793 not a5,a5
|
|
5f6: 0107f7b3 and a5,a5,a6
|
|
5fa: 00e696b3 sll a3,a3,a4
|
|
5fe: 8edd or a3,a3,a5
|
|
600: c914 sw a3,16(a0)
|
|
602: bf6d j 5bc <ADC_RegularChannelConfig+0x2a>
|
|
604: 47b1 li a5,12
|
|
606: 02c7e263 bltu a5,a2,62a <ADC_RegularChannelConfig+0x98>
|
|
60a: 4795 li a5,5
|
|
60c: 1665 addi a2,a2,-7
|
|
60e: 02f60633 mul a2,a2,a5
|
|
612: 5918 lw a4,48(a0)
|
|
614: 47fd li a5,31
|
|
616: 00c797b3 sll a5,a5,a2
|
|
61a: fff7c793 not a5,a5
|
|
61e: 8ff9 and a5,a5,a4
|
|
620: 00c59633 sll a2,a1,a2
|
|
624: 8e5d or a2,a2,a5
|
|
626: d910 sw a2,48(a0)
|
|
628: 8082 ret
|
|
62a: 4795 li a5,5
|
|
62c: 164d addi a2,a2,-13
|
|
62e: 02f60633 mul a2,a2,a5
|
|
632: 5558 lw a4,44(a0)
|
|
634: 47fd li a5,31
|
|
636: 00c797b3 sll a5,a5,a2
|
|
63a: fff7c793 not a5,a5
|
|
63e: 8ff9 and a5,a5,a4
|
|
640: 00c595b3 sll a1,a1,a2
|
|
644: 8ddd or a1,a1,a5
|
|
646: d54c sw a1,44(a0)
|
|
648: 8082 ret
|
|
|
|
0000064a <ADC_GetConversionValue>:
|
|
64a: 4568 lw a0,76(a0)
|
|
64c: 0542 slli a0,a0,0x10
|
|
64e: 8141 srli a0,a0,0x10
|
|
650: 8082 ret
|
|
|
|
00000652 <ADC_GetFlagStatus>:
|
|
652: 4108 lw a0,0(a0)
|
|
654: 8d6d and a0,a0,a1
|
|
656: 00a03533 snez a0,a0
|
|
65a: 8082 ret
|
|
|
|
0000065c <ADC_BufferCmd>:
|
|
65c: 415c lw a5,4(a0)
|
|
65e: c591 beqz a1,66a <ADC_BufferCmd+0xe>
|
|
660: 04000737 lui a4,0x4000
|
|
664: 8fd9 or a5,a5,a4
|
|
666: c15c sw a5,4(a0)
|
|
668: 8082 ret
|
|
66a: fc000737 lui a4,0xfc000
|
|
66e: 177d addi a4,a4,-1
|
|
670: 8ff9 and a5,a5,a4
|
|
672: bfd5 j 666 <ADC_BufferCmd+0xa>
|
|
|
|
00000674 <ADC_DutyDelayCmd>:
|
|
674: 493c lw a5,80(a0)
|
|
676: c589 beqz a1,680 <ADC_DutyDelayCmd+0xc>
|
|
678: 0807e793 ori a5,a5,128
|
|
67c: c93c sw a5,80(a0)
|
|
67e: 8082 ret
|
|
680: f7f7f793 andi a5,a5,-129
|
|
684: bfe5 j 67c <ADC_DutyDelayCmd+0x8>
|
|
|
|
00000686 <ADC_FIFO_Cmd>:
|
|
686: 493c lw a5,80(a0)
|
|
688: c589 beqz a1,692 <ADC_FIFO_Cmd+0xc>
|
|
68a: 0407e793 ori a5,a5,64
|
|
68e: c93c sw a5,80(a0)
|
|
690: 8082 ret
|
|
692: fbf7f793 andi a5,a5,-65
|
|
696: bfe5 j 68e <ADC_FIFO_Cmd+0x8>
|
|
|
|
00000698 <ADC_Sample_ModeConfig>:
|
|
698: 493c lw a5,80(a0)
|
|
69a: fdf7f793 andi a5,a5,-33
|
|
69e: c93c sw a5,80(a0)
|
|
6a0: 493c lw a5,80(a0)
|
|
6a2: 8ddd or a1,a1,a5
|
|
6a4: c92c sw a1,80(a0)
|
|
6a6: 8082 ret
|
|
|
|
000006a8 <Get_CalibrationValue>:
|
|
6a8: ac9ff2ef jal t0,170 <__riscv_save_0>
|
|
6ac: 456706b7 lui a3,0x45670
|
|
6b0: 400227b7 lui a5,0x40022
|
|
6b4: 12368693 addi a3,a3,291 # 45670123 <_eusrstack+0x2566b123>
|
|
6b8: cdef9737 lui a4,0xcdef9
|
|
6bc: c3d4 sw a3,4(a5)
|
|
6be: 9ab70713 addi a4,a4,-1621 # cdef89ab <_eusrstack+0xadef39ab>
|
|
6c2: c3d8 sw a4,4(a5)
|
|
6c4: d3d4 sw a3,36(a5)
|
|
6c6: 1101 addi sp,sp,-32
|
|
6c8: c798 sw a4,8(a5)
|
|
6ca: 5bd4 lw a3,52(a5)
|
|
6cc: 03478713 addi a4,a5,52 # 40022034 <_eusrstack+0x2001d034>
|
|
6d0: 00269613 slli a2,a3,0x2
|
|
6d4: fe064be3 bltz a2,6ca <Get_CalibrationValue+0x22>
|
|
6d8: 57d4 lw a3,44(a5)
|
|
6da: 40012537 lui a0,0x40012
|
|
6de: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
6e2: 2006e693 ori a3,a3,512
|
|
6e6: d7d4 sw a3,44(a5)
|
|
6e8: 5bdc lw a5,52(a5)
|
|
6ea: 200006b7 lui a3,0x20000
|
|
6ee: 8fd5 or a5,a5,a3
|
|
6f0: c31c sw a5,0(a4)
|
|
6f2: 431c lw a5,0(a4)
|
|
6f4: 451c lw a5,8(a0)
|
|
6f6: 000e0737 lui a4,0xe0
|
|
6fa: 8fd9 or a5,a5,a4
|
|
6fc: c51c sw a5,8(a0)
|
|
6fe: 451c lw a5,8(a0)
|
|
700: 0017e793 ori a5,a5,1
|
|
704: c51c sw a5,8(a0)
|
|
706: 493c lw a5,80(a0)
|
|
708: 0407e793 ori a5,a5,64
|
|
70c: c93c sw a5,80(a0)
|
|
70e: 451c lw a5,8(a0)
|
|
710: 0087e793 ori a5,a5,8
|
|
714: c51c sw a5,8(a0)
|
|
716: 842a mv s0,a0
|
|
718: 8522 mv a0,s0
|
|
71a: 3599 jal 560 <ADC_GetResetCalibrationStatus>
|
|
71c: fd75 bnez a0,718 <Get_CalibrationValue+0x70>
|
|
71e: 40012537 lui a0,0x40012
|
|
722: 40852783 lw a5,1032(a0) # 40012408 <_eusrstack+0x2000d408>
|
|
726: 40050513 addi a0,a0,1024
|
|
72a: 0047e793 ori a5,a5,4
|
|
72e: c51c sw a5,8(a0)
|
|
730: 842a mv s0,a0
|
|
732: 8522 mv a0,s0
|
|
734: 3d3d jal 572 <ADC_GetCalibrationStatus>
|
|
736: fd75 bnez a0,732 <Get_CalibrationValue+0x8a>
|
|
738: 40012537 lui a0,0x40012
|
|
73c: 4605 li a2,1
|
|
73e: 45c9 li a1,18
|
|
740: 4681 li a3,0
|
|
742: 40050513 addi a0,a0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
746: 35b1 jal 592 <ADC_RegularChannelConfig>
|
|
748: 4625 li a2,9
|
|
74a: 00010423 sb zero,8(sp)
|
|
74e: 40012737 lui a4,0x40012
|
|
752: 005005b7 lui a1,0x500
|
|
756: 841c lbu a5,8(sp)
|
|
758: 04f67f63 bgeu a2,a5,7b6 <Get_CalibrationValue+0x10e>
|
|
75c: 00010423 sb zero,8(sp)
|
|
760: 46a5 li a3,9
|
|
762: 4621 li a2,8
|
|
764: 841c lbu a5,8(sp)
|
|
766: 06f6ff63 bgeu a3,a5,7e4 <Get_CalibrationValue+0x13c>
|
|
76a: 00011523 sh zero,10(sp)
|
|
76e: 00010423 sb zero,8(sp)
|
|
772: 4695 li a3,5
|
|
774: 841c lbu a5,8(sp)
|
|
776: 0ef6f163 bgeu a3,a5,858 <__stack_size+0x58>
|
|
77a: 8538 lhu a4,10(sp)
|
|
77c: 853c lhu a5,10(sp)
|
|
77e: 4699 li a3,6
|
|
780: 460d li a2,3
|
|
782: 02d7f7b3 remu a5,a5,a3
|
|
786: 6505 lui a0,0x1
|
|
788: 80050513 addi a0,a0,-2048 # 800 <__stack_size>
|
|
78c: 02d75733 divu a4,a4,a3
|
|
790: 02c7d7b3 divu a5,a5,a2
|
|
794: 97ba add a5,a5,a4
|
|
796: 07c2 slli a5,a5,0x10
|
|
798: 83c1 srli a5,a5,0x10
|
|
79a: 857c sh a5,10(sp)
|
|
79c: 400127b7 lui a5,0x40012
|
|
7a0: 4087a703 lw a4,1032(a5) # 40012408 <_eusrstack+0x2000d408>
|
|
7a4: 9b79 andi a4,a4,-2
|
|
7a6: 40e7a423 sw a4,1032(a5)
|
|
7aa: 853c lhu a5,10(sp)
|
|
7ac: 6105 addi sp,sp,32
|
|
7ae: 8d1d sub a0,a0,a5
|
|
7b0: 0542 slli a0,a0,0x10
|
|
7b2: 8541 srai a0,a0,0x10
|
|
7b4: b2c5 j 194 <__riscv_restore_0>
|
|
7b6: 40872783 lw a5,1032(a4) # 40012408 <_eusrstack+0x2000d408>
|
|
7ba: 8fcd or a5,a5,a1
|
|
7bc: 40f72423 sw a5,1032(a4)
|
|
7c0: 40072783 lw a5,1024(a4)
|
|
7c4: 8b89 andi a5,a5,2
|
|
7c6: dfed beqz a5,7c0 <Get_CalibrationValue+0x118>
|
|
7c8: 841c lbu a5,8(sp)
|
|
7ca: 44c72683 lw a3,1100(a4)
|
|
7ce: 1008 addi a0,sp,32
|
|
7d0: 0786 slli a5,a5,0x1
|
|
7d2: 97aa add a5,a5,a0
|
|
7d4: fed79623 sh a3,-20(a5)
|
|
7d8: 841c lbu a5,8(sp)
|
|
7da: 0785 addi a5,a5,1
|
|
7dc: 0ff7f793 andi a5,a5,255
|
|
7e0: 845c sb a5,8(sp)
|
|
7e2: bf95 j 756 <Get_CalibrationValue+0xae>
|
|
7e4: 000104a3 sb zero,9(sp)
|
|
7e8: 849c lbu a5,9(sp)
|
|
7ea: 00f67863 bgeu a2,a5,7fa <Get_CalibrationValue+0x152>
|
|
7ee: 841c lbu a5,8(sp)
|
|
7f0: 0785 addi a5,a5,1
|
|
7f2: 0ff7f793 andi a5,a5,255
|
|
7f6: 845c sb a5,8(sp)
|
|
7f8: b7b5 j 764 <Get_CalibrationValue+0xbc>
|
|
7fa: 8498 lbu a4,9(sp)
|
|
7fc: 849c lbu a5,9(sp)
|
|
7fe: 100c addi a1,sp,32
|
|
800: 0706 slli a4,a4,0x1
|
|
802: 0785 addi a5,a5,1
|
|
804: 0786 slli a5,a5,0x1
|
|
806: 972e add a4,a4,a1
|
|
808: 97ae add a5,a5,a1
|
|
80a: fec75703 lhu a4,-20(a4)
|
|
80e: fec7d783 lhu a5,-20(a5)
|
|
812: 02e7fd63 bgeu a5,a4,84c <__stack_size+0x4c>
|
|
816: 849c lbu a5,9(sp)
|
|
818: 0786 slli a5,a5,0x1
|
|
81a: 97ae add a5,a5,a1
|
|
81c: fec7d783 lhu a5,-20(a5)
|
|
820: 857c sh a5,10(sp)
|
|
822: 849c lbu a5,9(sp)
|
|
824: 8498 lbu a4,9(sp)
|
|
826: 0785 addi a5,a5,1
|
|
828: 0786 slli a5,a5,0x1
|
|
82a: 97ae add a5,a5,a1
|
|
82c: fec7d583 lhu a1,-20(a5)
|
|
830: 00171793 slli a5,a4,0x1
|
|
834: 1018 addi a4,sp,32
|
|
836: 97ba add a5,a5,a4
|
|
838: feb79623 sh a1,-20(a5)
|
|
83c: 849c lbu a5,9(sp)
|
|
83e: 8538 lhu a4,10(sp)
|
|
840: 100c addi a1,sp,32
|
|
842: 0785 addi a5,a5,1
|
|
844: 0786 slli a5,a5,0x1
|
|
846: 97ae add a5,a5,a1
|
|
848: fee79623 sh a4,-20(a5)
|
|
84c: 849c lbu a5,9(sp)
|
|
84e: 0785 addi a5,a5,1
|
|
850: 0ff7f793 andi a5,a5,255
|
|
854: 84dc sb a5,9(sp)
|
|
856: bf49 j 7e8 <Get_CalibrationValue+0x140>
|
|
858: 841c lbu a5,8(sp)
|
|
85a: 1010 addi a2,sp,32
|
|
85c: 8538 lhu a4,10(sp)
|
|
85e: 0789 addi a5,a5,2
|
|
860: 0786 slli a5,a5,0x1
|
|
862: 97b2 add a5,a5,a2
|
|
864: fec7d783 lhu a5,-20(a5)
|
|
868: 97ba add a5,a5,a4
|
|
86a: 07c2 slli a5,a5,0x10
|
|
86c: 83c1 srli a5,a5,0x10
|
|
86e: 857c sh a5,10(sp)
|
|
870: 841c lbu a5,8(sp)
|
|
872: 0785 addi a5,a5,1
|
|
874: 0ff7f793 andi a5,a5,255
|
|
878: 845c sb a5,8(sp)
|
|
87a: bded j 774 <Get_CalibrationValue+0xcc>
|
|
|
|
0000087c <DBGMCU_GetCHIPID>:
|
|
87c: 81c1a503 lw a0,-2020(gp) # 20000154 <CHIPID>
|
|
880: 8082 ret
|
|
|
|
00000882 <EXTI_Init>:
|
|
882: 4158 lw a4,4(a0)
|
|
884: 00052803 lw a6,0(a0)
|
|
888: 454c lw a1,12(a0)
|
|
88a: 40010637 lui a2,0x40010
|
|
88e: 40060793 addi a5,a2,1024 # 40010400 <_eusrstack+0x2000b400>
|
|
892: 973e add a4,a4,a5
|
|
894: fff84693 not a3,a6
|
|
898: c5b1 beqz a1,8e4 <EXTI_Init+0x62>
|
|
89a: 40062583 lw a1,1024(a2)
|
|
89e: 8df5 and a1,a1,a3
|
|
8a0: 40b62023 sw a1,1024(a2)
|
|
8a4: 43d0 lw a2,4(a5)
|
|
8a6: 8ef1 and a3,a3,a2
|
|
8a8: c3d4 sw a3,4(a5)
|
|
8aa: 4314 lw a3,0(a4)
|
|
8ac: 0106e6b3 or a3,a3,a6
|
|
8b0: c314 sw a3,0(a4)
|
|
8b2: 4118 lw a4,0(a0)
|
|
8b4: 4790 lw a2,8(a5)
|
|
8b6: fff74693 not a3,a4
|
|
8ba: 8e75 and a2,a2,a3
|
|
8bc: c790 sw a2,8(a5)
|
|
8be: 47d0 lw a2,12(a5)
|
|
8c0: 8ef1 and a3,a3,a2
|
|
8c2: c7d4 sw a3,12(a5)
|
|
8c4: 4514 lw a3,8(a0)
|
|
8c6: 4641 li a2,16
|
|
8c8: 00c69963 bne a3,a2,8da <EXTI_Init+0x58>
|
|
8cc: 4794 lw a3,8(a5)
|
|
8ce: 8ed9 or a3,a3,a4
|
|
8d0: c794 sw a3,8(a5)
|
|
8d2: 47d4 lw a3,12(a5)
|
|
8d4: 8f55 or a4,a4,a3
|
|
8d6: c7d8 sw a4,12(a5)
|
|
8d8: 8082 ret
|
|
8da: 97b6 add a5,a5,a3
|
|
8dc: 4394 lw a3,0(a5)
|
|
8de: 8f55 or a4,a4,a3
|
|
8e0: c398 sw a4,0(a5)
|
|
8e2: 8082 ret
|
|
8e4: 431c lw a5,0(a4)
|
|
8e6: 8ff5 and a5,a5,a3
|
|
8e8: c31c sw a5,0(a4)
|
|
8ea: 8082 ret
|
|
|
|
000008ec <EXTI_GetITStatus>:
|
|
8ec: 400107b7 lui a5,0x40010
|
|
8f0: 40078713 addi a4,a5,1024 # 40010400 <_eusrstack+0x2000b400>
|
|
8f4: 4007a783 lw a5,1024(a5)
|
|
8f8: 4b58 lw a4,20(a4)
|
|
8fa: 8f69 and a4,a4,a0
|
|
8fc: c709 beqz a4,906 <EXTI_GetITStatus+0x1a>
|
|
8fe: 8d7d and a0,a0,a5
|
|
900: 00a03533 snez a0,a0
|
|
904: 8082 ret
|
|
906: 4501 li a0,0
|
|
908: 8082 ret
|
|
|
|
0000090a <EXTI_ClearITPendingBit>:
|
|
90a: 400107b7 lui a5,0x40010
|
|
90e: 40a7aa23 sw a0,1044(a5) # 40010414 <_eusrstack+0x2000b414>
|
|
912: 8082 ret
|
|
|
|
00000914 <GPIO_Init>:
|
|
914: 459c lw a5,8(a1)
|
|
916: 0107f713 andi a4,a5,16
|
|
91a: 00f7f813 andi a6,a5,15
|
|
91e: c701 beqz a4,926 <GPIO_Init+0x12>
|
|
920: 41d8 lw a4,4(a1)
|
|
922: 00e86833 or a6,a6,a4
|
|
926: 218e lhu a1,0(a1)
|
|
928: 0ff5f713 andi a4,a1,255
|
|
92c: c339 beqz a4,972 <GPIO_Init+0x5e>
|
|
92e: 4118 lw a4,0(a0)
|
|
930: 4681 li a3,0
|
|
932: 4e85 li t4,1
|
|
934: 4f3d li t5,15
|
|
936: 02800f93 li t6,40
|
|
93a: 04800293 li t0,72
|
|
93e: 4e21 li t3,8
|
|
940: 00de9633 sll a2,t4,a3
|
|
944: 00c5f8b3 and a7,a1,a2
|
|
948: 03161163 bne a2,a7,96a <GPIO_Init+0x56>
|
|
94c: 00269893 slli a7,a3,0x2
|
|
950: 011f1333 sll t1,t5,a7
|
|
954: fff34313 not t1,t1
|
|
958: 00e37733 and a4,t1,a4
|
|
95c: 011818b3 sll a7,a6,a7
|
|
960: 00e8e733 or a4,a7,a4
|
|
964: 05f79f63 bne a5,t6,9c2 <GPIO_Init+0xae>
|
|
968: c950 sw a2,20(a0)
|
|
96a: 0685 addi a3,a3,1
|
|
96c: fdc69ae3 bne a3,t3,940 <GPIO_Init+0x2c>
|
|
970: c118 sw a4,0(a0)
|
|
972: 0ff00713 li a4,255
|
|
976: 04b77563 bgeu a4,a1,9c0 <GPIO_Init+0xac>
|
|
97a: 4154 lw a3,4(a0)
|
|
97c: 4621 li a2,8
|
|
97e: 4e85 li t4,1
|
|
980: 4f3d li t5,15
|
|
982: 02800f93 li t6,40
|
|
986: 04800293 li t0,72
|
|
98a: 4e41 li t3,16
|
|
98c: 00ce98b3 sll a7,t4,a2
|
|
990: 0115f733 and a4,a1,a7
|
|
994: 02e89263 bne a7,a4,9b8 <GPIO_Init+0xa4>
|
|
998: 00261713 slli a4,a2,0x2
|
|
99c: 1701 addi a4,a4,-32
|
|
99e: 00ef1333 sll t1,t5,a4
|
|
9a2: fff34313 not t1,t1
|
|
9a6: 00d376b3 and a3,t1,a3
|
|
9aa: 00e81733 sll a4,a6,a4
|
|
9ae: 8ed9 or a3,a3,a4
|
|
9b0: 01f79d63 bne a5,t6,9ca <GPIO_Init+0xb6>
|
|
9b4: 01152a23 sw a7,20(a0)
|
|
9b8: 0605 addi a2,a2,1
|
|
9ba: fdc619e3 bne a2,t3,98c <GPIO_Init+0x78>
|
|
9be: c154 sw a3,4(a0)
|
|
9c0: 8082 ret
|
|
9c2: fa5794e3 bne a5,t0,96a <GPIO_Init+0x56>
|
|
9c6: c910 sw a2,16(a0)
|
|
9c8: b74d j 96a <GPIO_Init+0x56>
|
|
9ca: fe5797e3 bne a5,t0,9b8 <GPIO_Init+0xa4>
|
|
9ce: 01152823 sw a7,16(a0)
|
|
9d2: b7dd j 9b8 <GPIO_Init+0xa4>
|
|
|
|
000009d4 <GPIO_SetBits>:
|
|
9d4: c90c sw a1,16(a0)
|
|
9d6: 8082 ret
|
|
|
|
000009d8 <GPIO_WriteBit>:
|
|
9d8: c219 beqz a2,9de <GPIO_WriteBit+0x6>
|
|
9da: c90c sw a1,16(a0)
|
|
9dc: 8082 ret
|
|
9de: c94c sw a1,20(a0)
|
|
9e0: 8082 ret
|
|
|
|
000009e2 <GPIO_PinRemapConfig>:
|
|
9e2: c0000737 lui a4,0xc0000
|
|
9e6: 00e577b3 and a5,a0,a4
|
|
9ea: 08e79563 bne a5,a4,a74 <GPIO_PinRemapConfig+0x92>
|
|
9ee: 40010737 lui a4,0x40010
|
|
9f2: 435c lw a5,4(a4)
|
|
9f4: 01b55693 srli a3,a0,0x1b
|
|
9f8: 4f58 lw a4,28(a4)
|
|
9fa: 8a9d andi a3,a3,7
|
|
9fc: e69d bnez a3,a2a <GPIO_PinRemapConfig+0x48>
|
|
9fe: 9bf9 andi a5,a5,-2
|
|
a00: ff0006b7 lui a3,0xff000
|
|
a04: 16fd addi a3,a3,-1
|
|
a06: 8f75 and a4,a4,a3
|
|
a08: c989 beqz a1,a1a <GPIO_PinRemapConfig+0x38>
|
|
a0a: 01051693 slli a3,a0,0x10
|
|
a0e: 82c1 srli a3,a3,0x10
|
|
a10: 8fd5 or a5,a5,a3
|
|
a12: 01ff06b7 lui a3,0x1ff0
|
|
a16: 8d75 and a0,a0,a3
|
|
a18: 8f49 or a4,a4,a0
|
|
a1a: 070006b7 lui a3,0x7000
|
|
a1e: 8fd5 or a5,a5,a3
|
|
a20: 400106b7 lui a3,0x40010
|
|
a24: c2dc sw a5,4(a3)
|
|
a26: ced8 sw a4,28(a3)
|
|
a28: 8082 ret
|
|
a2a: 4605 li a2,1
|
|
a2c: 00c69663 bne a3,a2,a38 <GPIO_PinRemapConfig+0x56>
|
|
a30: 9bf5 andi a5,a5,-3
|
|
a32: ff8006b7 lui a3,0xff800
|
|
a36: b7f9 j a04 <GPIO_PinRemapConfig+0x22>
|
|
a38: 4609 li a2,2
|
|
a3a: 00c69663 bne a3,a2,a46 <GPIO_PinRemapConfig+0x64>
|
|
a3e: 9bed andi a5,a5,-5
|
|
a40: ffe806b7 lui a3,0xffe80
|
|
a44: b7c1 j a04 <GPIO_PinRemapConfig+0x22>
|
|
a46: 460d li a2,3
|
|
a48: 00c69663 bne a3,a2,a54 <GPIO_PinRemapConfig+0x72>
|
|
a4c: 9bdd andi a5,a5,-9
|
|
a4e: fffc06b7 lui a3,0xfffc0
|
|
a52: bf4d j a04 <GPIO_PinRemapConfig+0x22>
|
|
a54: 4611 li a2,4
|
|
a56: 00c69763 bne a3,a2,a64 <GPIO_PinRemapConfig+0x82>
|
|
a5a: f3f7f793 andi a5,a5,-193
|
|
a5e: ffc006b7 lui a3,0xffc00
|
|
a62: b74d j a04 <GPIO_PinRemapConfig+0x22>
|
|
a64: 4615 li a2,5
|
|
a66: fac691e3 bne a3,a2,a08 <GPIO_PinRemapConfig+0x26>
|
|
a6a: cff7f793 andi a5,a5,-769
|
|
a6e: ffe006b7 lui a3,0xffe00
|
|
a72: bf49 j a04 <GPIO_PinRemapConfig+0x22>
|
|
a74: 40000737 lui a4,0x40000
|
|
a78: 02e79163 bne a5,a4,a9a <GPIO_PinRemapConfig+0xb8>
|
|
a7c: 400107b7 lui a5,0x40010
|
|
a80: 4fd8 lw a4,28(a5)
|
|
a82: 0542 slli a0,a0,0x10
|
|
a84: 00a767b3 or a5,a4,a0
|
|
a88: e589 bnez a1,a92 <GPIO_PinRemapConfig+0xb0>
|
|
a8a: fff54513 not a0,a0
|
|
a8e: 00e577b3 and a5,a0,a4
|
|
a92: 40010737 lui a4,0x40010
|
|
a96: cf5c sw a5,28(a4)
|
|
a98: 8082 ret
|
|
a9a: e3a9 bnez a5,adc <GPIO_PinRemapConfig+0xfa>
|
|
a9c: 40010837 lui a6,0x40010
|
|
aa0: 003007b7 lui a5,0x300
|
|
aa4: 00482603 lw a2,4(a6) # 40010004 <_eusrstack+0x2000b004>
|
|
aa8: 01051713 slli a4,a0,0x10
|
|
aac: 00f576b3 and a3,a0,a5
|
|
ab0: 8341 srli a4,a4,0x10
|
|
ab2: 02f69663 bne a3,a5,ade <GPIO_PinRemapConfig+0xfc>
|
|
ab6: f90006b7 lui a3,0xf9000
|
|
aba: 16fd addi a3,a3,-1
|
|
abc: 00d677b3 and a5,a2,a3
|
|
ac0: 00482603 lw a2,4(a6)
|
|
ac4: 8ef1 and a3,a3,a2
|
|
ac6: 00d82223 sw a3,4(a6)
|
|
aca: c591 beqz a1,ad6 <GPIO_PinRemapConfig+0xf4>
|
|
acc: 8155 srli a0,a0,0x15
|
|
ace: 0512 slli a0,a0,0x4
|
|
ad0: 00a71533 sll a0,a4,a0
|
|
ad4: 8fc9 or a5,a5,a0
|
|
ad6: 40010737 lui a4,0x40010
|
|
ada: c35c sw a5,4(a4)
|
|
adc: 8082 ret
|
|
ade: 00b51793 slli a5,a0,0xb
|
|
ae2: 0207d063 bgez a5,b02 <GPIO_PinRemapConfig+0x120>
|
|
ae6: 01055793 srli a5,a0,0x10
|
|
aea: 00f7f693 andi a3,a5,15
|
|
aee: 478d li a5,3
|
|
af0: 00d797b3 sll a5,a5,a3
|
|
af4: fff7c793 not a5,a5
|
|
af8: 8ff1 and a5,a5,a2
|
|
afa: 070006b7 lui a3,0x7000
|
|
afe: 8fd5 or a5,a5,a3
|
|
b00: b7e9 j aca <GPIO_PinRemapConfig+0xe8>
|
|
b02: 01555793 srli a5,a0,0x15
|
|
b06: 0792 slli a5,a5,0x4
|
|
b08: 00f717b3 sll a5,a4,a5
|
|
b0c: b7e5 j af4 <GPIO_PinRemapConfig+0x112>
|
|
|
|
00000b0e <GPIO_EXTILineConfig>:
|
|
b0e: 0fc5f713 andi a4,a1,252
|
|
b12: 0035f793 andi a5,a1,3
|
|
b16: 400105b7 lui a1,0x40010
|
|
b1a: 95ba add a1,a1,a4
|
|
b1c: 4594 lw a3,8(a1)
|
|
b1e: 078a slli a5,a5,0x2
|
|
b20: 473d li a4,15
|
|
b22: 00f71733 sll a4,a4,a5
|
|
b26: fff74713 not a4,a4
|
|
b2a: 8f75 and a4,a4,a3
|
|
b2c: c598 sw a4,8(a1)
|
|
b2e: 4598 lw a4,8(a1)
|
|
b30: 00f51533 sll a0,a0,a5
|
|
b34: 8d59 or a0,a0,a4
|
|
b36: c588 sw a0,8(a1)
|
|
b38: 8082 ret
|
|
|
|
00000b3a <GPIO_IPD_Unused>:
|
|
b3a: e36ff2ef jal t0,170 <__riscv_save_0>
|
|
b3e: 1ffff437 lui s0,0x1ffff
|
|
b42: 72442703 lw a4,1828(s0) # 1ffff724 <_data_lma+0x1fffa2d0>
|
|
b46: 3e000637 lui a2,0x3e000
|
|
b4a: 1141 addi sp,sp,-16
|
|
b4c: 01971793 slli a5,a4,0x19
|
|
b50: fff74693 not a3,a4
|
|
b54: 8ff1 and a5,a5,a2
|
|
b56: 0706 slli a4,a4,0x1
|
|
b58: 003e0637 lui a2,0x3e0
|
|
b5c: 8f71 and a4,a4,a2
|
|
b5e: 8fd9 or a5,a5,a4
|
|
b60: 01000637 lui a2,0x1000
|
|
b64: 00969713 slli a4,a3,0x9
|
|
b68: 8f71 and a4,a4,a2
|
|
b6a: 8fd9 or a5,a5,a4
|
|
b6c: 82bd srli a3,a3,0xf
|
|
b6e: 6741 lui a4,0x10
|
|
b70: 8ef9 and a3,a3,a4
|
|
b72: 8fd5 or a5,a5,a3
|
|
b74: c202 sw zero,4(sp)
|
|
b76: c402 sw zero,8(sp)
|
|
b78: c602 sw zero,12(sp)
|
|
b7a: 82f1a023 sw a5,-2016(gp) # 20000158 <OPA_Trim>
|
|
b7e: 72845703 lhu a4,1832(s0)
|
|
b82: 4585 li a1,1
|
|
b84: 80e19c23 sh a4,-2024(gp) # 20000150 <_edata>
|
|
b88: 72042703 lw a4,1824(s0)
|
|
b8c: 03d00513 li a0,61
|
|
b90: 82e1a223 sw a4,-2012(gp) # 2000015c <TS_Val>
|
|
b94: 70442703 lw a4,1796(s0)
|
|
b98: 80e1ae23 sw a4,-2020(gp) # 20000154 <CHIPID>
|
|
b9c: 2c8d jal e0e <RCC_PB2PeriphClockCmd>
|
|
b9e: 70442783 lw a5,1796(s0)
|
|
ba2: 103a0737 lui a4,0x103a0
|
|
ba6: 70070713 addi a4,a4,1792 # 103a0700 <_data_lma+0x1039b2ac>
|
|
baa: f0f7f793 andi a5,a5,-241
|
|
bae: 10e78063 beq a5,a4,cae <GPIO_IPD_Unused+0x174>
|
|
bb2: 02f76163 bltu a4,a5,bd4 <GPIO_IPD_Unused+0x9a>
|
|
bb6: 10320737 lui a4,0x10320
|
|
bba: 70070713 addi a4,a4,1792 # 10320700 <_data_lma+0x1031b2ac>
|
|
bbe: 06e78063 beq a5,a4,c1e <GPIO_IPD_Unused+0xe4>
|
|
bc2: 10370737 lui a4,0x10370
|
|
bc6: 70070713 addi a4,a4,1792 # 10370700 <_data_lma+0x1036b2ac>
|
|
bca: 08e78763 beq a5,a4,c58 <GPIO_IPD_Unused+0x11e>
|
|
bce: 0141 addi sp,sp,16
|
|
bd0: dc4ff06f j 194 <__riscv_restore_0>
|
|
bd4: 103b0737 lui a4,0x103b0
|
|
bd8: 70070713 addi a4,a4,1792 # 103b0700 <_data_lma+0x103ab2ac>
|
|
bdc: 0ae78b63 beq a5,a4,c92 <GPIO_IPD_Unused+0x158>
|
|
be0: 103d0737 lui a4,0x103d0
|
|
be4: 70070713 addi a4,a4,1792 # 103d0700 <_data_lma+0x103cb2ac>
|
|
be8: fee793e3 bne a5,a4,bce <GPIO_IPD_Unused+0x94>
|
|
bec: 4585 li a1,1
|
|
bee: 6521 lui a0,0x8
|
|
bf0: 3bcd jal 9e2 <GPIO_PinRemapConfig>
|
|
bf2: 400114b7 lui s1,0x40011
|
|
bf6: 77e1 lui a5,0xffff8
|
|
bf8: 04800413 li s0,72
|
|
bfc: 004c addi a1,sp,4
|
|
bfe: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
c02: 827c sh a5,4(sp)
|
|
c04: c622 sw s0,12(sp)
|
|
c06: 3339 jal 914 <GPIO_Init>
|
|
c08: 6785 lui a5,0x1
|
|
c0a: 33c78793 addi a5,a5,828 # 133c <SPI_Flash_Init+0x76>
|
|
c0e: 004c addi a1,sp,4
|
|
c10: c0048513 addi a0,s1,-1024
|
|
c14: 827c sh a5,4(sp)
|
|
c16: c622 sw s0,12(sp)
|
|
c18: 39f5 jal 914 <GPIO_Init>
|
|
c1a: 77f9 lui a5,0xffffe
|
|
c1c: a00d j c3e <GPIO_IPD_Unused+0x104>
|
|
c1e: 4585 li a1,1
|
|
c20: 6521 lui a0,0x8
|
|
c22: 33c1 jal 9e2 <GPIO_PinRemapConfig>
|
|
c24: 400114b7 lui s1,0x40011
|
|
c28: e0000793 li a5,-512
|
|
c2c: 04800413 li s0,72
|
|
c30: 004c addi a1,sp,4
|
|
c32: c0048513 addi a0,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
c36: 827c sh a5,4(sp)
|
|
c38: c622 sw s0,12(sp)
|
|
c3a: 39e9 jal 914 <GPIO_Init>
|
|
c3c: 6789 lui a5,0x2
|
|
c3e: 004c addi a1,sp,4
|
|
c40: 40011537 lui a0,0x40011
|
|
c44: 827c sh a5,4(sp)
|
|
c46: c622 sw s0,12(sp)
|
|
c48: 31f1 jal 914 <GPIO_Init>
|
|
c4a: 478d li a5,3
|
|
c4c: 827c sh a5,4(sp)
|
|
c4e: c622 sw s0,12(sp)
|
|
c50: 004c addi a1,sp,4
|
|
c52: 40048513 addi a0,s1,1024
|
|
c56: a825 j c8e <GPIO_IPD_Unused+0x154>
|
|
c58: 400114b7 lui s1,0x40011
|
|
c5c: 77e1 lui a5,0xffff8
|
|
c5e: 70078793 addi a5,a5,1792 # ffff8700 <_eusrstack+0xdfff3700>
|
|
c62: 04800413 li s0,72
|
|
c66: 004c addi a1,sp,4
|
|
c68: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
c6c: 827c sh a5,4(sp)
|
|
c6e: c622 sw s0,12(sp)
|
|
c70: 3155 jal 914 <GPIO_Init>
|
|
c72: e3d00793 li a5,-451
|
|
c76: 004c addi a1,sp,4
|
|
c78: c0048513 addi a0,s1,-1024
|
|
c7c: 827c sh a5,4(sp)
|
|
c7e: c622 sw s0,12(sp)
|
|
c80: 3951 jal 914 <GPIO_Init>
|
|
c82: 77f9 lui a5,0xffffe
|
|
c84: 827c sh a5,4(sp)
|
|
c86: c622 sw s0,12(sp)
|
|
c88: 004c addi a1,sp,4
|
|
c8a: 40011537 lui a0,0x40011
|
|
c8e: 3159 jal 914 <GPIO_Init>
|
|
c90: bf3d j bce <GPIO_IPD_Unused+0x94>
|
|
c92: 400114b7 lui s1,0x40011
|
|
c96: 77e1 lui a5,0xffff8
|
|
c98: 04800413 li s0,72
|
|
c9c: 004c addi a1,sp,4
|
|
c9e: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
ca2: 827c sh a5,4(sp)
|
|
ca4: c622 sw s0,12(sp)
|
|
ca6: 31bd jal 914 <GPIO_Init>
|
|
ca8: 20400793 li a5,516
|
|
cac: b78d j c0e <GPIO_IPD_Unused+0xd4>
|
|
cae: 400114b7 lui s1,0x40011
|
|
cb2: 77e1 lui a5,0xffff8
|
|
cb4: 04800413 li s0,72
|
|
cb8: 004c addi a1,sp,4
|
|
cba: 80048513 addi a0,s1,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
cbe: 827c sh a5,4(sp)
|
|
cc0: c622 sw s0,12(sp)
|
|
cc2: 3989 jal 914 <GPIO_Init>
|
|
cc4: 6789 lui a5,0x2
|
|
cc6: 17f5 addi a5,a5,-3
|
|
cc8: b799 j c0e <GPIO_IPD_Unused+0xd4>
|
|
|
|
00000cca <NVIC_PriorityGroupConfig>:
|
|
cca: 82a1a423 sw a0,-2008(gp) # 20000160 <NVIC_Priority_Group>
|
|
cce: 8082 ret
|
|
|
|
00000cd0 <NVIC_Init>:
|
|
cd0: 8281a703 lw a4,-2008(gp) # 20000160 <NVIC_Priority_Group>
|
|
cd4: 4785 li a5,1
|
|
cd6: 2114 lbu a3,0(a0)
|
|
cd8: 02f71063 bne a4,a5,cf8 <NVIC_Init+0x28>
|
|
cdc: 311c lbu a5,1(a0)
|
|
cde: 02e79c63 bne a5,a4,d16 <NVIC_Init+0x46>
|
|
ce2: 213c lbu a5,2(a0)
|
|
ce4: 0796 slli a5,a5,0x5
|
|
ce6: f807e793 ori a5,a5,-128
|
|
cea: e000e737 lui a4,0xe000e
|
|
cee: 0ff7f793 andi a5,a5,255
|
|
cf2: 9736 add a4,a4,a3
|
|
cf4: 40f70023 sb a5,1024(a4) # e000e400 <_eusrstack+0xc0009400>
|
|
cf8: 4705 li a4,1
|
|
cfa: 0056d793 srli a5,a3,0x5
|
|
cfe: 00d71733 sll a4,a4,a3
|
|
d02: 4154 lw a3,4(a0)
|
|
d04: ce89 beqz a3,d1e <NVIC_Init+0x4e>
|
|
d06: 04078793 addi a5,a5,64 # 2040 <SL_MsgProcFunc_Read_Register+0x82>
|
|
d0a: 078a slli a5,a5,0x2
|
|
d0c: e000e6b7 lui a3,0xe000e
|
|
d10: 97b6 add a5,a5,a3
|
|
d12: c398 sw a4,0(a5)
|
|
d14: 8082 ret
|
|
d16: f3ed bnez a5,cf8 <NVIC_Init+0x28>
|
|
d18: 213c lbu a5,2(a0)
|
|
d1a: 0796 slli a5,a5,0x5
|
|
d1c: b7f9 j cea <NVIC_Init+0x1a>
|
|
d1e: 06078793 addi a5,a5,96
|
|
d22: b7e5 j d0a <NVIC_Init+0x3a>
|
|
|
|
00000d24 <RCC_ADCCLKConfig>:
|
|
d24: 400216b7 lui a3,0x40021
|
|
d28: 42dc lw a5,4(a3)
|
|
d2a: 7fff4737 lui a4,0x7fff4
|
|
d2e: 177d addi a4,a4,-1
|
|
d30: 8ff9 and a5,a5,a4
|
|
d32: 8d5d or a0,a0,a5
|
|
d34: c2c8 sw a0,4(a3)
|
|
d36: 8082 ret
|
|
|
|
00000d38 <RCC_GetClocksFreq>:
|
|
d38: 40021737 lui a4,0x40021
|
|
d3c: 435c lw a5,4(a4)
|
|
d3e: 4691 li a3,4
|
|
d40: 8bb1 andi a5,a5,12
|
|
d42: 06d78c63 beq a5,a3,dba <RCC_GetClocksFreq+0x82>
|
|
d46: 46a1 li a3,8
|
|
d48: 06d78e63 beq a5,a3,dc4 <RCC_GetClocksFreq+0x8c>
|
|
d4c: e7bd bnez a5,dba <RCC_GetClocksFreq+0x82>
|
|
d4e: 431c lw a5,0(a4)
|
|
d50: 8b91 andi a5,a5,4
|
|
d52: c7a5 beqz a5,dba <RCC_GetClocksFreq+0x82>
|
|
d54: 000f47b7 lui a5,0xf4
|
|
d58: 24078793 addi a5,a5,576 # f4240 <_data_lma+0xeedec>
|
|
d5c: c11c sw a5,0(a0)
|
|
d5e: 40021637 lui a2,0x40021
|
|
d62: 425c lw a5,4(a2)
|
|
d64: 20000737 lui a4,0x20000
|
|
d68: 01070713 addi a4,a4,16 # 20000010 <PBHBPrescTable>
|
|
d6c: 8391 srli a5,a5,0x4
|
|
d6e: 8bbd andi a5,a5,15
|
|
d70: 97ba add a5,a5,a4
|
|
d72: 2394 lbu a3,0(a5)
|
|
d74: 411c lw a5,0(a0)
|
|
d76: 00d7d7b3 srl a5,a5,a3
|
|
d7a: c15c sw a5,4(a0)
|
|
d7c: 4254 lw a3,4(a2)
|
|
d7e: 82a1 srli a3,a3,0x8
|
|
d80: 8a9d andi a3,a3,7
|
|
d82: 96ba add a3,a3,a4
|
|
d84: 2294 lbu a3,0(a3)
|
|
d86: 00d7d6b3 srl a3,a5,a3
|
|
d8a: c514 sw a3,8(a0)
|
|
d8c: 4254 lw a3,4(a2)
|
|
d8e: 82ad srli a3,a3,0xb
|
|
d90: 8a9d andi a3,a3,7
|
|
d92: 9736 add a4,a4,a3
|
|
d94: 2314 lbu a3,0(a4)
|
|
d96: 00d7d6b3 srl a3,a5,a3
|
|
d9a: c554 sw a3,12(a0)
|
|
d9c: 4258 lw a4,4(a2)
|
|
d9e: 00074c63 bltz a4,db6 <RCC_GetClocksFreq+0x7e>
|
|
da2: 425c lw a5,4(a2)
|
|
da4: 83b9 srli a5,a5,0xe
|
|
da6: 0037f713 andi a4,a5,3
|
|
daa: 80418793 addi a5,gp,-2044 # 2000013c <ADCPrescTable>
|
|
dae: 97ba add a5,a5,a4
|
|
db0: 239c lbu a5,0(a5)
|
|
db2: 02f6d7b3 divu a5,a3,a5
|
|
db6: c91c sw a5,16(a0)
|
|
db8: 8082 ret
|
|
dba: 007a17b7 lui a5,0x7a1
|
|
dbe: 20078793 addi a5,a5,512 # 7a1200 <_data_lma+0x79bdac>
|
|
dc2: bf69 j d5c <RCC_GetClocksFreq+0x24>
|
|
dc4: 435c lw a5,4(a4)
|
|
dc6: 4358 lw a4,4(a4)
|
|
dc8: 66c1 lui a3,0x10
|
|
dca: 83c9 srli a5,a5,0x12
|
|
dcc: 8bbd andi a5,a5,15
|
|
dce: 8f75 and a4,a4,a3
|
|
dd0: 0789 addi a5,a5,2
|
|
dd2: 46c5 li a3,17
|
|
dd4: 00d79363 bne a5,a3,dda <RCC_GetClocksFreq+0xa2>
|
|
dd8: 47c9 li a5,18
|
|
dda: ef01 bnez a4,df2 <RCC_GetClocksFreq+0xba>
|
|
ddc: 40024737 lui a4,0x40024
|
|
de0: 80072703 lw a4,-2048(a4) # 40023800 <_eusrstack+0x2001e800>
|
|
de4: 8b41 andi a4,a4,16
|
|
de6: cf09 beqz a4,e00 <RCC_GetClocksFreq+0xc8>
|
|
de8: 007a1737 lui a4,0x7a1
|
|
dec: 20070713 addi a4,a4,512 # 7a1200 <_data_lma+0x79bdac>
|
|
df0: a821 j e08 <RCC_GetClocksFreq+0xd0>
|
|
df2: 40021737 lui a4,0x40021
|
|
df6: 4358 lw a4,4(a4)
|
|
df8: 00e71693 slli a3,a4,0xe
|
|
dfc: fe06d6e3 bgez a3,de8 <RCC_GetClocksFreq+0xb0>
|
|
e00: 003d1737 lui a4,0x3d1
|
|
e04: 90070713 addi a4,a4,-1792 # 3d0900 <_data_lma+0x3cb4ac>
|
|
e08: 02e787b3 mul a5,a5,a4
|
|
e0c: bf81 j d5c <RCC_GetClocksFreq+0x24>
|
|
|
|
00000e0e <RCC_PB2PeriphClockCmd>:
|
|
e0e: c599 beqz a1,e1c <RCC_PB2PeriphClockCmd+0xe>
|
|
e10: 40021737 lui a4,0x40021
|
|
e14: 4f1c lw a5,24(a4)
|
|
e16: 8d5d or a0,a0,a5
|
|
e18: cf08 sw a0,24(a4)
|
|
e1a: 8082 ret
|
|
e1c: 400217b7 lui a5,0x40021
|
|
e20: 4f98 lw a4,24(a5)
|
|
e22: fff54513 not a0,a0
|
|
e26: 8d79 and a0,a0,a4
|
|
e28: cf88 sw a0,24(a5)
|
|
e2a: 8082 ret
|
|
|
|
00000e2c <RCC_PB1PeriphClockCmd>:
|
|
e2c: c599 beqz a1,e3a <RCC_PB1PeriphClockCmd+0xe>
|
|
e2e: 40021737 lui a4,0x40021
|
|
e32: 4f5c lw a5,28(a4)
|
|
e34: 8d5d or a0,a0,a5
|
|
e36: cf48 sw a0,28(a4)
|
|
e38: 8082 ret
|
|
e3a: 400217b7 lui a5,0x40021
|
|
e3e: 4fd8 lw a4,28(a5)
|
|
e40: fff54513 not a0,a0
|
|
e44: 8d79 and a0,a0,a4
|
|
e46: cfc8 sw a0,28(a5)
|
|
e48: 8082 ret
|
|
|
|
00000e4a <RCC_PB2PeriphResetCmd>:
|
|
e4a: c599 beqz a1,e58 <RCC_PB2PeriphResetCmd+0xe>
|
|
e4c: 40021737 lui a4,0x40021
|
|
e50: 475c lw a5,12(a4)
|
|
e52: 8d5d or a0,a0,a5
|
|
e54: c748 sw a0,12(a4)
|
|
e56: 8082 ret
|
|
e58: 400217b7 lui a5,0x40021
|
|
e5c: 47d8 lw a4,12(a5)
|
|
e5e: fff54513 not a0,a0
|
|
e62: 8d79 and a0,a0,a4
|
|
e64: c7c8 sw a0,12(a5)
|
|
e66: 8082 ret
|
|
|
|
00000e68 <SPI_Init>:
|
|
e68: 211a lhu a4,0(a0)
|
|
e6a: 678d lui a5,0x3
|
|
e6c: 04078793 addi a5,a5,64 # 3040 <__divsf3+0xca>
|
|
e70: 21b6 lhu a3,2(a1)
|
|
e72: 8f7d and a4,a4,a5
|
|
e74: 219e lhu a5,0(a1)
|
|
e76: 8fd5 or a5,a5,a3
|
|
e78: 21d6 lhu a3,4(a1)
|
|
e7a: 8fd5 or a5,a5,a3
|
|
e7c: 21f6 lhu a3,6(a1)
|
|
e7e: 8fd5 or a5,a5,a3
|
|
e80: 2596 lhu a3,8(a1)
|
|
e82: 8fd5 or a5,a5,a3
|
|
e84: 25b6 lhu a3,10(a1)
|
|
e86: 8fd5 or a5,a5,a3
|
|
e88: 25d6 lhu a3,12(a1)
|
|
e8a: 8fd5 or a5,a5,a3
|
|
e8c: 25f6 lhu a3,14(a1)
|
|
e8e: 8fd5 or a5,a5,a3
|
|
e90: 8fd9 or a5,a5,a4
|
|
e92: a11e sh a5,0(a0)
|
|
e94: 299e lhu a5,16(a1)
|
|
e96: a91e sh a5,16(a0)
|
|
e98: 8082 ret
|
|
|
|
00000e9a <SPI_Cmd>:
|
|
e9a: 211e lhu a5,0(a0)
|
|
e9c: c589 beqz a1,ea6 <SPI_Cmd+0xc>
|
|
e9e: 0407e793 ori a5,a5,64
|
|
ea2: a11e sh a5,0(a0)
|
|
ea4: 8082 ret
|
|
ea6: 07c2 slli a5,a5,0x10
|
|
ea8: 83c1 srli a5,a5,0x10
|
|
eaa: fbf7f793 andi a5,a5,-65
|
|
eae: 07c2 slli a5,a5,0x10
|
|
eb0: 83c1 srli a5,a5,0x10
|
|
eb2: bfc5 j ea2 <SPI_Cmd+0x8>
|
|
|
|
00000eb4 <SPI_I2S_SendData>:
|
|
eb4: a54e sh a1,12(a0)
|
|
eb6: 8082 ret
|
|
|
|
00000eb8 <SPI_I2S_ReceiveData>:
|
|
eb8: 254a lhu a0,12(a0)
|
|
eba: 8082 ret
|
|
|
|
00000ebc <SPI_I2S_GetFlagStatus>:
|
|
ebc: 250a lhu a0,8(a0)
|
|
ebe: 8d6d and a0,a0,a1
|
|
ec0: 00a03533 snez a0,a0
|
|
ec4: 8082 ret
|
|
|
|
00000ec6 <TIM_TimeBaseInit>:
|
|
ec6: 211e lhu a5,0(a0)
|
|
ec8: 40013737 lui a4,0x40013
|
|
ecc: c0070713 addi a4,a4,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
ed0: 07c2 slli a5,a5,0x10
|
|
ed2: 83c1 srli a5,a5,0x10
|
|
ed4: 02e50063 beq a0,a4,ef4 <TIM_TimeBaseInit+0x2e>
|
|
ed8: 40000737 lui a4,0x40000
|
|
edc: 00e50c63 beq a0,a4,ef4 <TIM_TimeBaseInit+0x2e>
|
|
ee0: 40070713 addi a4,a4,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
ee4: 00e50863 beq a0,a4,ef4 <TIM_TimeBaseInit+0x2e>
|
|
ee8: 40001737 lui a4,0x40001
|
|
eec: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
ef0: 00e51663 bne a0,a4,efc <TIM_TimeBaseInit+0x36>
|
|
ef4: 21fa lhu a4,6(a1)
|
|
ef6: f8f7f793 andi a5,a5,-113
|
|
efa: 8fd9 or a5,a5,a4
|
|
efc: 259a lhu a4,8(a1)
|
|
efe: cff7f793 andi a5,a5,-769
|
|
f02: 07c2 slli a5,a5,0x10
|
|
f04: 83c1 srli a5,a5,0x10
|
|
f06: 8fd9 or a5,a5,a4
|
|
f08: 40001737 lui a4,0x40001
|
|
f0c: a11e sh a5,0(a0)
|
|
f0e: 80070713 addi a4,a4,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
f12: 419c lw a5,0(a1)
|
|
f14: 02e51063 bne a0,a4,f34 <TIM_TimeBaseInit+0x6e>
|
|
f18: d55c sw a5,44(a0)
|
|
f1a: 21de lhu a5,4(a1)
|
|
f1c: b51e sh a5,40(a0)
|
|
f1e: 400137b7 lui a5,0x40013
|
|
f22: c0078793 addi a5,a5,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
f26: 00f51463 bne a0,a5,f2e <TIM_TimeBaseInit+0x68>
|
|
f2a: 25bc lbu a5,10(a1)
|
|
f2c: b91e sh a5,48(a0)
|
|
f2e: 4785 li a5,1
|
|
f30: a95e sh a5,20(a0)
|
|
f32: 8082 ret
|
|
f34: 07c2 slli a5,a5,0x10
|
|
f36: 83c1 srli a5,a5,0x10
|
|
f38: b55e sh a5,44(a0)
|
|
f3a: b7c5 j f1a <TIM_TimeBaseInit+0x54>
|
|
|
|
00000f3c <TIM_OC4Init>:
|
|
f3c: 311a lhu a4,32(a0)
|
|
f3e: 77fd lui a5,0xfffff
|
|
f40: 17fd addi a5,a5,-1
|
|
f42: 8ff9 and a5,a5,a4
|
|
f44: b11e sh a5,32(a0)
|
|
f46: 02055803 lhu a6,32(a0) # 40011020 <_eusrstack+0x2000c020>
|
|
f4a: 2156 lhu a3,4(a0)
|
|
f4c: 2d5e lhu a5,28(a0)
|
|
f4e: 7765 lui a4,0xffff9
|
|
f50: 21d2 lhu a2,4(a1)
|
|
f52: cff70713 addi a4,a4,-769 # ffff8cff <_eusrstack+0xdfff3cff>
|
|
f56: 8f7d and a4,a4,a5
|
|
f58: 77f9 lui a5,0xffffe
|
|
f5a: 0622 slli a2,a2,0x8
|
|
f5c: 17fd addi a5,a5,-1
|
|
f5e: 8f51 or a4,a4,a2
|
|
f60: 0107f7b3 and a5,a5,a6
|
|
f64: 21f2 lhu a2,6(a1)
|
|
f66: 00a5d803 lhu a6,10(a1) # 4001000a <_eusrstack+0x2000b00a>
|
|
f6a: 06c2 slli a3,a3,0x10
|
|
f6c: 0742 slli a4,a4,0x10
|
|
f6e: 01066633 or a2,a2,a6
|
|
f72: 0632 slli a2,a2,0xc
|
|
f74: 8fd1 or a5,a5,a2
|
|
f76: 40013637 lui a2,0x40013
|
|
f7a: 07c2 slli a5,a5,0x10
|
|
f7c: c0060613 addi a2,a2,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
f80: 82c1 srli a3,a3,0x10
|
|
f82: 8341 srli a4,a4,0x10
|
|
f84: 83c1 srli a5,a5,0x10
|
|
f86: 00c51a63 bne a0,a2,f9a <TIM_OC4Init+0x5e>
|
|
f8a: 7671 lui a2,0xffffc
|
|
f8c: 167d addi a2,a2,-1
|
|
f8e: 8ef1 and a3,a3,a2
|
|
f90: 25f2 lhu a2,14(a1)
|
|
f92: 061a slli a2,a2,0x6
|
|
f94: 8ed1 or a3,a3,a2
|
|
f96: 06c2 slli a3,a3,0x10
|
|
f98: 82c1 srli a3,a3,0x10
|
|
f9a: a156 sh a3,4(a0)
|
|
f9c: 400016b7 lui a3,0x40001
|
|
fa0: ad5a sh a4,28(a0)
|
|
fa2: 80068693 addi a3,a3,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
fa6: 4198 lw a4,0(a1)
|
|
fa8: 00d51563 bne a0,a3,fb2 <TIM_OC4Init+0x76>
|
|
fac: c138 sw a4,64(a0)
|
|
fae: b11e sh a5,32(a0)
|
|
fb0: 8082 ret
|
|
fb2: 0742 slli a4,a4,0x10
|
|
fb4: 8341 srli a4,a4,0x10
|
|
fb6: bfdd j fac <TIM_OC4Init+0x70>
|
|
|
|
00000fb8 <TIM_Cmd>:
|
|
fb8: 211e lhu a5,0(a0)
|
|
fba: c589 beqz a1,fc4 <TIM_Cmd+0xc>
|
|
fbc: 0017e793 ori a5,a5,1
|
|
fc0: a11e sh a5,0(a0)
|
|
fc2: 8082 ret
|
|
fc4: 07c2 slli a5,a5,0x10
|
|
fc6: 83c1 srli a5,a5,0x10
|
|
fc8: 9bf9 andi a5,a5,-2
|
|
fca: 07c2 slli a5,a5,0x10
|
|
fcc: 83c1 srli a5,a5,0x10
|
|
fce: bfcd j fc0 <TIM_Cmd+0x8>
|
|
|
|
00000fd0 <TIM_CtrlPWMOutputs>:
|
|
fd0: 04455783 lhu a5,68(a0)
|
|
fd4: c591 beqz a1,fe0 <TIM_CtrlPWMOutputs+0x10>
|
|
fd6: 6721 lui a4,0x8
|
|
fd8: 8fd9 or a5,a5,a4
|
|
fda: 04f51223 sh a5,68(a0)
|
|
fde: 8082 ret
|
|
fe0: 07c6 slli a5,a5,0x11
|
|
fe2: 83c5 srli a5,a5,0x11
|
|
fe4: bfdd j fda <TIM_CtrlPWMOutputs+0xa>
|
|
|
|
00000fe6 <TIM_ITConfig>:
|
|
fe6: 255e lhu a5,12(a0)
|
|
fe8: c601 beqz a2,ff0 <TIM_ITConfig+0xa>
|
|
fea: 8ddd or a1,a1,a5
|
|
fec: a54e sh a1,12(a0)
|
|
fee: 8082 ret
|
|
ff0: fff5c593 not a1,a1
|
|
ff4: 8dfd and a1,a1,a5
|
|
ff6: bfdd j fec <TIM_ITConfig+0x6>
|
|
|
|
00000ff8 <TIM_ARRPreloadConfig>:
|
|
ff8: 211e lhu a5,0(a0)
|
|
ffa: c589 beqz a1,1004 <TIM_ARRPreloadConfig+0xc>
|
|
ffc: 0807e793 ori a5,a5,128
|
|
1000: a11e sh a5,0(a0)
|
|
1002: 8082 ret
|
|
1004: 07c2 slli a5,a5,0x10
|
|
1006: 83c1 srli a5,a5,0x10
|
|
1008: f7f7f793 andi a5,a5,-129
|
|
100c: 07c2 slli a5,a5,0x10
|
|
100e: 83c1 srli a5,a5,0x10
|
|
1010: bfc5 j 1000 <TIM_ARRPreloadConfig+0x8>
|
|
|
|
00001012 <TIM_OC4PreloadConfig>:
|
|
1012: 2d5a lhu a4,28(a0)
|
|
1014: 77fd lui a5,0xfffff
|
|
1016: 7ff78793 addi a5,a5,2047 # fffff7ff <_eusrstack+0xdfffa7ff>
|
|
101a: 8ff9 and a5,a5,a4
|
|
101c: 05a2 slli a1,a1,0x8
|
|
101e: 8fcd or a5,a5,a1
|
|
1020: 07c2 slli a5,a5,0x10
|
|
1022: 83c1 srli a5,a5,0x10
|
|
1024: ad5e sh a5,28(a0)
|
|
1026: 8082 ret
|
|
|
|
00001028 <TIM_SetCompare4>:
|
|
1028: 400017b7 lui a5,0x40001
|
|
102c: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
1030: 00f51463 bne a0,a5,1038 <TIM_SetCompare4+0x10>
|
|
1034: c12c sw a1,64(a0)
|
|
1036: 8082 ret
|
|
1038: 05c2 slli a1,a1,0x10
|
|
103a: 81c1 srli a1,a1,0x10
|
|
103c: bfe5 j 1034 <TIM_SetCompare4+0xc>
|
|
|
|
0000103e <TIM_GetCounter>:
|
|
103e: 400017b7 lui a5,0x40001
|
|
1042: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
1046: 00f51463 bne a0,a5,104e <TIM_GetCounter+0x10>
|
|
104a: 5148 lw a0,36(a0)
|
|
104c: 8082 ret
|
|
104e: 314a lhu a0,36(a0)
|
|
1050: 0542 slli a0,a0,0x10
|
|
1052: 8141 srli a0,a0,0x10
|
|
1054: 8082 ret
|
|
|
|
00001056 <TIM_GetITStatus>:
|
|
1056: 291e lhu a5,16(a0)
|
|
1058: 254a lhu a0,12(a0)
|
|
105a: 8fed and a5,a5,a1
|
|
105c: 0542 slli a0,a0,0x10
|
|
105e: 8141 srli a0,a0,0x10
|
|
1060: c789 beqz a5,106a <TIM_GetITStatus+0x14>
|
|
1062: 8d6d and a0,a0,a1
|
|
1064: 00a03533 snez a0,a0
|
|
1068: 8082 ret
|
|
106a: 4501 li a0,0
|
|
106c: 8082 ret
|
|
|
|
0000106e <TIM_ClearITPendingBit>:
|
|
106e: fff5c593 not a1,a1
|
|
1072: 05c2 slli a1,a1,0x10
|
|
1074: 81c1 srli a1,a1,0x10
|
|
1076: a90e sh a1,16(a0)
|
|
1078: 8082 ret
|
|
|
|
0000107a <USART_Init>:
|
|
107a: 8f6ff2ef jal t0,170 <__riscv_save_0>
|
|
107e: 2916 lhu a3,16(a0)
|
|
1080: 77f5 lui a5,0xffffd
|
|
1082: 17fd addi a5,a5,-1
|
|
1084: 8ff5 and a5,a5,a3
|
|
1086: 21f6 lhu a3,6(a1)
|
|
1088: 25da lhu a4,12(a1)
|
|
108a: 7179 addi sp,sp,-48
|
|
108c: 8fd5 or a5,a5,a3
|
|
108e: a91e sh a5,16(a0)
|
|
1090: 2556 lhu a3,12(a0)
|
|
1092: 77fd lui a5,0xfffff
|
|
1094: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdfff99f3>
|
|
1098: 8ff5 and a5,a5,a3
|
|
109a: 21d6 lhu a3,4(a1)
|
|
109c: 842a mv s0,a0
|
|
109e: c62e sw a1,12(sp)
|
|
10a0: 8fd5 or a5,a5,a3
|
|
10a2: 2596 lhu a3,8(a1)
|
|
10a4: 8fd5 or a5,a5,a3
|
|
10a6: 25b6 lhu a3,10(a1)
|
|
10a8: 8fd5 or a5,a5,a3
|
|
10aa: a55e sh a5,12(a0)
|
|
10ac: 295e lhu a5,20(a0)
|
|
10ae: 07c2 slli a5,a5,0x10
|
|
10b0: 83c1 srli a5,a5,0x10
|
|
10b2: cff7f793 andi a5,a5,-769
|
|
10b6: 8fd9 or a5,a5,a4
|
|
10b8: a95e sh a5,20(a0)
|
|
10ba: 0868 addi a0,sp,28
|
|
10bc: 39b5 jal d38 <RCC_GetClocksFreq>
|
|
10be: 400147b7 lui a5,0x40014
|
|
10c2: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
10c6: 45b2 lw a1,12(sp)
|
|
10c8: 04f41a63 bne s0,a5,111c <USART_Init+0xa2>
|
|
10cc: 57a2 lw a5,40(sp)
|
|
10ce: 2456 lhu a3,12(s0)
|
|
10d0: 4765 li a4,25
|
|
10d2: 02e787b3 mul a5,a5,a4
|
|
10d6: 06c2 slli a3,a3,0x10
|
|
10d8: 86c1 srai a3,a3,0x10
|
|
10da: 4198 lw a4,0(a1)
|
|
10dc: 0406d263 bgez a3,1120 <USART_Init+0xa6>
|
|
10e0: 0706 slli a4,a4,0x1
|
|
10e2: 2452 lhu a2,12(s0)
|
|
10e4: 0642 slli a2,a2,0x10
|
|
10e6: 02e7d7b3 divu a5,a5,a4
|
|
10ea: 06400713 li a4,100
|
|
10ee: 8641 srai a2,a2,0x10
|
|
10f0: 02e7d6b3 divu a3,a5,a4
|
|
10f4: 02e7f7b3 remu a5,a5,a4
|
|
10f8: 0692 slli a3,a3,0x4
|
|
10fa: 02065563 bgez a2,1124 <USART_Init+0xaa>
|
|
10fe: 078e slli a5,a5,0x3
|
|
1100: 03278793 addi a5,a5,50
|
|
1104: 02e7d7b3 divu a5,a5,a4
|
|
1108: 0077f713 andi a4,a5,7
|
|
110c: 00d767b3 or a5,a4,a3
|
|
1110: 07c2 slli a5,a5,0x10
|
|
1112: 83c1 srli a5,a5,0x10
|
|
1114: a41e sh a5,8(s0)
|
|
1116: 6145 addi sp,sp,48
|
|
1118: 87cff06f j 194 <__riscv_restore_0>
|
|
111c: 5792 lw a5,36(sp)
|
|
111e: bf45 j 10ce <USART_Init+0x54>
|
|
1120: 070a slli a4,a4,0x2
|
|
1122: b7c1 j 10e2 <USART_Init+0x68>
|
|
1124: 0792 slli a5,a5,0x4
|
|
1126: 03278793 addi a5,a5,50
|
|
112a: 02e7d7b3 divu a5,a5,a4
|
|
112e: 8bbd andi a5,a5,15
|
|
1130: 8fd5 or a5,a5,a3
|
|
1132: bff9 j 1110 <USART_Init+0x96>
|
|
|
|
00001134 <USART_Cmd>:
|
|
1134: c591 beqz a1,1140 <USART_Cmd+0xc>
|
|
1136: 255e lhu a5,12(a0)
|
|
1138: 6709 lui a4,0x2
|
|
113a: 8fd9 or a5,a5,a4
|
|
113c: a55e sh a5,12(a0)
|
|
113e: 8082 ret
|
|
1140: 255a lhu a4,12(a0)
|
|
1142: 77f9 lui a5,0xffffe
|
|
1144: 17fd addi a5,a5,-1
|
|
1146: 8ff9 and a5,a5,a4
|
|
1148: bfd5 j 113c <USART_Cmd+0x8>
|
|
|
|
0000114a <USART_ITConfig>:
|
|
114a: 0ff5f713 andi a4,a1,255
|
|
114e: 4785 li a5,1
|
|
1150: 8315 srli a4,a4,0x5
|
|
1152: 00b795b3 sll a1,a5,a1
|
|
1156: 00f71963 bne a4,a5,1168 <USART_ITConfig+0x1e>
|
|
115a: 00c50793 addi a5,a0,12
|
|
115e: 4398 lw a4,0(a5)
|
|
1160: ce01 beqz a2,1178 <USART_ITConfig+0x2e>
|
|
1162: 8dd9 or a1,a1,a4
|
|
1164: c38c sw a1,0(a5)
|
|
1166: 8082 ret
|
|
1168: 4689 li a3,2
|
|
116a: 01450793 addi a5,a0,20
|
|
116e: fed718e3 bne a4,a3,115e <USART_ITConfig+0x14>
|
|
1172: 01050793 addi a5,a0,16
|
|
1176: b7e5 j 115e <USART_ITConfig+0x14>
|
|
1178: fff5c593 not a1,a1
|
|
117c: 8df9 and a1,a1,a4
|
|
117e: b7dd j 1164 <USART_ITConfig+0x1a>
|
|
|
|
00001180 <USART_SendData>:
|
|
1180: 1ff5f593 andi a1,a1,511
|
|
1184: a14e sh a1,4(a0)
|
|
1186: 8082 ret
|
|
|
|
00001188 <USART_ReceiveData>:
|
|
1188: 214a lhu a0,4(a0)
|
|
118a: 1ff57513 andi a0,a0,511
|
|
118e: 8082 ret
|
|
|
|
00001190 <USART_GetFlagStatus>:
|
|
1190: 210a lhu a0,0(a0)
|
|
1192: 8d6d and a0,a0,a1
|
|
1194: 00a03533 snez a0,a0
|
|
1198: 8082 ret
|
|
|
|
0000119a <USART_GetITStatus>:
|
|
119a: 0ff5f713 andi a4,a1,255
|
|
119e: 4685 li a3,1
|
|
11a0: 8315 srli a4,a4,0x5
|
|
11a2: 00b697b3 sll a5,a3,a1
|
|
11a6: 02d71163 bne a4,a3,11c8 <USART_GetITStatus+0x2e>
|
|
11aa: 255a lhu a4,12(a0)
|
|
11ac: 8ff9 and a5,a5,a4
|
|
11ae: 211a lhu a4,0(a0)
|
|
11b0: 4501 li a0,0
|
|
11b2: 0742 slli a4,a4,0x10
|
|
11b4: 8341 srli a4,a4,0x10
|
|
11b6: cb81 beqz a5,11c6 <USART_GetITStatus+0x2c>
|
|
11b8: 4505 li a0,1
|
|
11ba: 81a1 srli a1,a1,0x8
|
|
11bc: 00b515b3 sll a1,a0,a1
|
|
11c0: 8f6d and a4,a4,a1
|
|
11c2: 00e03533 snez a0,a4
|
|
11c6: 8082 ret
|
|
11c8: 4689 li a3,2
|
|
11ca: 00d71463 bne a4,a3,11d2 <USART_GetITStatus+0x38>
|
|
11ce: 291a lhu a4,16(a0)
|
|
11d0: bff1 j 11ac <USART_GetITStatus+0x12>
|
|
11d2: 295a lhu a4,20(a0)
|
|
11d4: bfe1 j 11ac <USART_GetITStatus+0x12>
|
|
|
|
000011d6 <ADC_all_Init>:
|
|
11d6: f9bfe2ef jal t0,170 <__riscv_save_0>
|
|
11da: 7179 addi sp,sp,-48
|
|
11dc: 02000613 li a2,32
|
|
11e0: 4581 li a1,0
|
|
11e2: 0808 addi a0,sp,16
|
|
11e4: fbdfe0ef jal ra,1a0 <memset>
|
|
11e8: 4585 li a1,1
|
|
11ea: 4511 li a0,4
|
|
11ec: c202 sw zero,4(sp)
|
|
11ee: c402 sw zero,8(sp)
|
|
11f0: c602 sw zero,12(sp)
|
|
11f2: 3931 jal e0e <RCC_PB2PeriphClockCmd>
|
|
11f4: 4585 li a1,1
|
|
11f6: 20000513 li a0,512
|
|
11fa: 3911 jal e0e <RCC_PB2PeriphClockCmd>
|
|
11fc: 6521 lui a0,0x8
|
|
11fe: 361d jal d24 <RCC_ADCCLKConfig>
|
|
1200: 40011537 lui a0,0x40011
|
|
1204: 0fe00793 li a5,254
|
|
1208: 004c addi a1,sp,4
|
|
120a: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
120e: 40012437 lui s0,0x40012
|
|
1212: 827c sh a5,4(sp)
|
|
1214: c602 sw zero,12(sp)
|
|
1216: efeff0ef jal ra,914 <GPIO_Init>
|
|
121a: 40040513 addi a0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
121e: aaaff0ef jal ra,4c8 <ADC_DeInit>
|
|
1222: 40040513 addi a0,s0,1024
|
|
1226: c82ff0ef jal ra,6a8 <Get_CalibrationValue>
|
|
122a: 85aa mv a1,a0
|
|
122c: 82a19623 sh a0,-2004(gp) # 20000164 <Calibrattion_Val>
|
|
1230: 00005537 lui a0,0x5
|
|
1234: d5850513 addi a0,a0,-680 # 4d58 <_read+0x2e>
|
|
1238: 04f020ef jal ra,3a86 <iprintf>
|
|
123c: 000e07b7 lui a5,0xe0
|
|
1240: ce3e sw a5,28(sp)
|
|
1242: 080c addi a1,sp,16
|
|
1244: 4785 li a5,1
|
|
1246: 40040513 addi a0,s0,1024
|
|
124a: 02f10223 sb a5,36(sp)
|
|
124e: c802 sw zero,16(sp)
|
|
1250: ca02 sw zero,20(sp)
|
|
1252: cc02 sw zero,24(sp)
|
|
1254: d002 sw zero,32(sp)
|
|
1256: a9aff0ef jal ra,4f0 <ADC_Init>
|
|
125a: 4585 li a1,1
|
|
125c: 40040513 addi a0,s0,1024
|
|
1260: ae6ff0ef jal ra,546 <ADC_Cmd>
|
|
1264: 4585 li a1,1
|
|
1266: 40040513 addi a0,s0,1024
|
|
126a: c1cff0ef jal ra,686 <ADC_FIFO_Cmd>
|
|
126e: 4581 li a1,0
|
|
1270: 40040513 addi a0,s0,1024
|
|
1274: be8ff0ef jal ra,65c <ADC_BufferCmd>
|
|
1278: 40040513 addi a0,s0,1024
|
|
127c: adaff0ef jal ra,556 <ADC_ResetCalibration>
|
|
1280: 40040493 addi s1,s0,1024
|
|
1284: 8526 mv a0,s1
|
|
1286: adaff0ef jal ra,560 <ADC_GetResetCalibrationStatus>
|
|
128a: fd6d bnez a0,1284 <ADC_all_Init+0xae>
|
|
128c: 40040513 addi a0,s0,1024
|
|
1290: 40012437 lui s0,0x40012
|
|
1294: ad4ff0ef jal ra,568 <ADC_StartCalibration>
|
|
1298: 40040493 addi s1,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
129c: 8526 mv a0,s1
|
|
129e: ad4ff0ef jal ra,572 <ADC_GetCalibrationStatus>
|
|
12a2: fd6d bnez a0,129c <ADC_all_Init+0xc6>
|
|
12a4: 80000537 lui a0,0x80000
|
|
12a8: 3cb5 jal d24 <RCC_ADCCLKConfig>
|
|
12aa: 40040513 addi a0,s0,1024
|
|
12ae: 4585 li a1,1
|
|
12b0: bc4ff0ef jal ra,674 <ADC_DutyDelayCmd>
|
|
12b4: 02000593 li a1,32
|
|
12b8: 40040513 addi a0,s0,1024
|
|
12bc: bdcff0ef jal ra,698 <ADC_Sample_ModeConfig>
|
|
12c0: 6145 addi sp,sp,48
|
|
12c2: ed3fe06f j 194 <__riscv_restore_0>
|
|
|
|
000012c6 <SPI_Flash_Init>:
|
|
12c6: eabfe2ef jal t0,170 <__riscv_save_0>
|
|
12ca: 1101 addi sp,sp,-32
|
|
12cc: 4585 li a1,1
|
|
12ce: 4521 li a0,8
|
|
12d0: 3e3d jal e0e <RCC_PB2PeriphClockCmd>
|
|
12d2: 4585 li a1,1
|
|
12d4: 6511 lui a0,0x4
|
|
12d6: 3e99 jal e2c <RCC_PB1PeriphClockCmd>
|
|
12d8: 40011437 lui s0,0x40011
|
|
12dc: 6785 lui a5,0x1
|
|
12de: 448d li s1,3
|
|
12e0: 807c sh a5,0(sp)
|
|
12e2: 858a mv a1,sp
|
|
12e4: 47c1 li a5,16
|
|
12e6: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
12ea: c43e sw a5,8(sp)
|
|
12ec: c226 sw s1,4(sp)
|
|
12ee: e26ff0ef jal ra,914 <GPIO_Init>
|
|
12f2: c0040513 addi a0,s0,-1024
|
|
12f6: 6585 lui a1,0x1
|
|
12f8: edcff0ef jal ra,9d4 <GPIO_SetBits>
|
|
12fc: 6789 lui a5,0x2
|
|
12fe: 4961 li s2,24
|
|
1300: 858a mv a1,sp
|
|
1302: c0040513 addi a0,s0,-1024
|
|
1306: 807c sh a5,0(sp)
|
|
1308: c44a sw s2,8(sp)
|
|
130a: c226 sw s1,4(sp)
|
|
130c: e08ff0ef jal ra,914 <GPIO_Init>
|
|
1310: 6791 lui a5,0x4
|
|
1312: 807c sh a5,0(sp)
|
|
1314: 858a mv a1,sp
|
|
1316: 4791 li a5,4
|
|
1318: c0040513 addi a0,s0,-1024
|
|
131c: c43e sw a5,8(sp)
|
|
131e: df6ff0ef jal ra,914 <GPIO_Init>
|
|
1322: 77e1 lui a5,0xffff8
|
|
1324: 858a mv a1,sp
|
|
1326: c0040513 addi a0,s0,-1024
|
|
132a: 807c sh a5,0(sp)
|
|
132c: c44a sw s2,8(sp)
|
|
132e: c226 sw s1,4(sp)
|
|
1330: de4ff0ef jal ra,914 <GPIO_Init>
|
|
1334: 010407b7 lui a5,0x1040
|
|
1338: c63e sw a5,12(sp)
|
|
133a: 000207b7 lui a5,0x20
|
|
133e: c83e sw a5,16(sp)
|
|
1340: 020007b7 lui a5,0x2000
|
|
1344: 0785 addi a5,a5,1
|
|
1346: 40004437 lui s0,0x40004
|
|
134a: ca3e sw a5,20(sp)
|
|
134c: 47a1 li a5,8
|
|
134e: cc3e sw a5,24(sp)
|
|
1350: 006c addi a1,sp,12
|
|
1352: 479d li a5,7
|
|
1354: 80040513 addi a0,s0,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
1358: 86fc sh a5,28(sp)
|
|
135a: 3639 jal e68 <SPI_Init>
|
|
135c: 4585 li a1,1
|
|
135e: 80040513 addi a0,s0,-2048
|
|
1362: 3e25 jal e9a <SPI_Cmd>
|
|
1364: 6105 addi sp,sp,32
|
|
1366: e2ffe06f j 194 <__riscv_restore_0>
|
|
|
|
0000136a <SPI_ReadWriteByte>:
|
|
136a: dedfe2ef jal t0,156 <__riscv_save_4>
|
|
136e: 400044b7 lui s1,0x40004
|
|
1372: 892a mv s2,a0
|
|
1374: 0c900413 li s0,201
|
|
1378: 80048993 addi s3,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
137c: 4589 li a1,2
|
|
137e: 854e mv a0,s3
|
|
1380: 3e35 jal ebc <SPI_I2S_GetFlagStatus>
|
|
1382: c50d beqz a0,13ac <SPI_ReadWriteByte+0x42>
|
|
1384: 85ca mv a1,s2
|
|
1386: 80048513 addi a0,s1,-2048
|
|
138a: 400044b7 lui s1,0x40004
|
|
138e: 361d jal eb4 <SPI_I2S_SendData>
|
|
1390: 0c900413 li s0,201
|
|
1394: 80048913 addi s2,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
1398: 4585 li a1,1
|
|
139a: 854a mv a0,s2
|
|
139c: 3605 jal ebc <SPI_I2S_GetFlagStatus>
|
|
139e: cd11 beqz a0,13ba <SPI_ReadWriteByte+0x50>
|
|
13a0: 80048513 addi a0,s1,-2048
|
|
13a4: 3e11 jal eb8 <SPI_I2S_ReceiveData>
|
|
13a6: 0ff57513 andi a0,a0,255
|
|
13aa: a031 j 13b6 <SPI_ReadWriteByte+0x4c>
|
|
13ac: 147d addi s0,s0,-1
|
|
13ae: 0ff47413 andi s0,s0,255
|
|
13b2: f469 bnez s0,137c <SPI_ReadWriteByte+0x12>
|
|
13b4: 4501 li a0,0
|
|
13b6: dd5fe06f j 18a <__riscv_restore_4>
|
|
13ba: 147d addi s0,s0,-1
|
|
13bc: 0ff47413 andi s0,s0,255
|
|
13c0: fc61 bnez s0,1398 <SPI_ReadWriteByte+0x2e>
|
|
13c2: bfcd j 13b4 <SPI_ReadWriteByte+0x4a>
|
|
|
|
000013c4 <SPI_Flash_Read>:
|
|
13c4: dadfe2ef jal t0,170 <__riscv_save_0>
|
|
13c8: 892a mv s2,a0
|
|
13ca: 40011537 lui a0,0x40011
|
|
13ce: 842e mv s0,a1
|
|
13d0: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
13d4: 6585 lui a1,0x1
|
|
13d6: 84b2 mv s1,a2
|
|
13d8: 4601 li a2,0
|
|
13da: dfeff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
13de: 450d li a0,3
|
|
13e0: 3769 jal 136a <SPI_ReadWriteByte>
|
|
13e2: 01045513 srli a0,s0,0x10
|
|
13e6: 0ff57513 andi a0,a0,255
|
|
13ea: 3741 jal 136a <SPI_ReadWriteByte>
|
|
13ec: 00845513 srli a0,s0,0x8
|
|
13f0: 0ff57513 andi a0,a0,255
|
|
13f4: 3f9d jal 136a <SPI_ReadWriteByte>
|
|
13f6: 0ff47513 andi a0,s0,255
|
|
13fa: 3f85 jal 136a <SPI_ReadWriteByte>
|
|
13fc: 4401 li s0,0
|
|
13fe: 01041793 slli a5,s0,0x10
|
|
1402: 83c1 srli a5,a5,0x10
|
|
1404: 0097ec63 bltu a5,s1,141c <SPI_Flash_Read+0x58>
|
|
1408: 40011537 lui a0,0x40011
|
|
140c: 4605 li a2,1
|
|
140e: 6585 lui a1,0x1
|
|
1410: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1414: dc4ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
1418: d7dfe06f j 194 <__riscv_restore_0>
|
|
141c: 0ff00513 li a0,255
|
|
1420: 37a9 jal 136a <SPI_ReadWriteByte>
|
|
1422: 008907b3 add a5,s2,s0
|
|
1426: a388 sb a0,0(a5)
|
|
1428: 0405 addi s0,s0,1
|
|
142a: bfd1 j 13fe <SPI_Flash_Read+0x3a>
|
|
|
|
0000142c <G_FFMOS_CON_Init>:
|
|
142c: d45fe2ef jal t0,170 <__riscv_save_0>
|
|
1430: 1141 addi sp,sp,-16
|
|
1432: 4585 li a1,1
|
|
1434: 4511 li a0,4
|
|
1436: 3ae1 jal e0e <RCC_PB2PeriphClockCmd>
|
|
1438: 77e1 lui a5,0xffff8
|
|
143a: 40011437 lui s0,0x40011
|
|
143e: 827c sh a5,4(sp)
|
|
1440: 47c1 li a5,16
|
|
1442: c63e sw a5,12(sp)
|
|
1444: 004c addi a1,sp,4
|
|
1446: 478d li a5,3
|
|
1448: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
144c: c43e sw a5,8(sp)
|
|
144e: cc6ff0ef jal ra,914 <GPIO_Init>
|
|
1452: 4601 li a2,0
|
|
1454: 80040513 addi a0,s0,-2048
|
|
1458: 65a1 lui a1,0x8
|
|
145a: d7eff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
145e: 4585 li a1,1
|
|
1460: 4521 li a0,8
|
|
1462: 9adff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1466: 47a1 li a5,8
|
|
1468: 004c addi a1,sp,4
|
|
146a: c0040513 addi a0,s0,-1024
|
|
146e: 827c sh a5,4(sp)
|
|
1470: ca4ff0ef jal ra,914 <GPIO_Init>
|
|
1474: 4601 li a2,0
|
|
1476: 45a1 li a1,8
|
|
1478: c0040513 addi a0,s0,-1024
|
|
147c: d5cff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
1480: 0141 addi sp,sp,16
|
|
1482: d13fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001486 <RUN_LED_Init>:
|
|
1486: cebfe2ef jal t0,170 <__riscv_save_0>
|
|
148a: 1141 addi sp,sp,-16
|
|
148c: 4585 li a1,1
|
|
148e: 4511 li a0,4
|
|
1490: 97fff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1494: 10000793 li a5,256
|
|
1498: 827c sh a5,4(sp)
|
|
149a: 40011537 lui a0,0x40011
|
|
149e: 47c1 li a5,16
|
|
14a0: c63e sw a5,12(sp)
|
|
14a2: 004c addi a1,sp,4
|
|
14a4: 478d li a5,3
|
|
14a6: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
14aa: c43e sw a5,8(sp)
|
|
14ac: c68ff0ef jal ra,914 <GPIO_Init>
|
|
14b0: 0141 addi sp,sp,16
|
|
14b2: ce3fe06f j 194 <__riscv_restore_0>
|
|
|
|
000014b6 <WDI_INPUT_Init>:
|
|
14b6: cbbfe2ef jal t0,170 <__riscv_save_0>
|
|
14ba: 1141 addi sp,sp,-16
|
|
14bc: 4585 li a1,1
|
|
14be: 4541 li a0,16
|
|
14c0: 94fff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
14c4: 6785 lui a5,0x1
|
|
14c6: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
14ca: 827c sh a5,4(sp)
|
|
14cc: 40011537 lui a0,0x40011
|
|
14d0: 47c1 li a5,16
|
|
14d2: c63e sw a5,12(sp)
|
|
14d4: 004c addi a1,sp,4
|
|
14d6: 478d li a5,3
|
|
14d8: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
14dc: c43e sw a5,8(sp)
|
|
14de: c36ff0ef jal ra,914 <GPIO_Init>
|
|
14e2: 0141 addi sp,sp,16
|
|
14e4: cb1fe06f j 194 <__riscv_restore_0>
|
|
|
|
000014e8 <BEEP_Init>:
|
|
14e8: c89fe2ef jal t0,170 <__riscv_save_0>
|
|
14ec: 1141 addi sp,sp,-16
|
|
14ee: 4585 li a1,1
|
|
14f0: 4511 li a0,4
|
|
14f2: 91dff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
14f6: 6785 lui a5,0x1
|
|
14f8: 827c sh a5,4(sp)
|
|
14fa: 40011537 lui a0,0x40011
|
|
14fe: 47c1 li a5,16
|
|
1500: c63e sw a5,12(sp)
|
|
1502: 004c addi a1,sp,4
|
|
1504: 478d li a5,3
|
|
1506: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
150a: c43e sw a5,8(sp)
|
|
150c: c08ff0ef jal ra,914 <GPIO_Init>
|
|
1510: 0141 addi sp,sp,16
|
|
1512: c83fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001516 <POW_OUT_CON_Init>:
|
|
1516: c5bfe2ef jal t0,170 <__riscv_save_0>
|
|
151a: 1141 addi sp,sp,-16
|
|
151c: 4585 li a1,1
|
|
151e: 4521 li a0,8
|
|
1520: 8efff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1524: 10000793 li a5,256
|
|
1528: 827c sh a5,4(sp)
|
|
152a: 40011537 lui a0,0x40011
|
|
152e: 47c1 li a5,16
|
|
1530: c63e sw a5,12(sp)
|
|
1532: 004c addi a1,sp,4
|
|
1534: 478d li a5,3
|
|
1536: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
153a: c43e sw a5,8(sp)
|
|
153c: bd8ff0ef jal ra,914 <GPIO_Init>
|
|
1540: 0141 addi sp,sp,16
|
|
1542: c53fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001546 <DSG_PROT_Init>:
|
|
1546: c2bfe2ef jal t0,170 <__riscv_save_0>
|
|
154a: 7179 addi sp,sp,-48
|
|
154c: 4585 li a1,1
|
|
154e: 4525 li a0,9
|
|
1550: 8bfff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1554: 4791 li a5,4
|
|
1556: 40011537 lui a0,0x40011
|
|
155a: 82fc sh a5,20(sp)
|
|
155c: 084c addi a1,sp,20
|
|
155e: 04800793 li a5,72
|
|
1562: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1566: ce3e sw a5,28(sp)
|
|
1568: bacff0ef jal ra,914 <GPIO_Init>
|
|
156c: 4589 li a1,2
|
|
156e: 4505 li a0,1
|
|
1570: d9eff0ef jal ra,b0e <GPIO_EXTILineConfig>
|
|
1574: 4791 li a5,4
|
|
1576: 4405 li s0,1
|
|
1578: d03e sw a5,32(sp)
|
|
157a: 1008 addi a0,sp,32
|
|
157c: 47b1 li a5,12
|
|
157e: d43e sw a5,40(sp)
|
|
1580: d622 sw s0,44(sp)
|
|
1582: d202 sw zero,36(sp)
|
|
1584: afeff0ef jal ra,882 <EXTI_Init>
|
|
1588: 11800793 li a5,280
|
|
158c: 867c sh a5,12(sp)
|
|
158e: 0068 addi a0,sp,12
|
|
1590: 4789 li a5,2
|
|
1592: 875c sb a5,14(sp)
|
|
1594: c822 sw s0,16(sp)
|
|
1596: f3aff0ef jal ra,cd0 <NVIC_Init>
|
|
159a: 6145 addi sp,sp,48
|
|
159c: bf9fe06f j 194 <__riscv_restore_0>
|
|
|
|
000015a0 <EXTI2_IRQHandler>:
|
|
15a0: 4511 li a0,4
|
|
15a2: b4aff0ef jal ra,8ec <EXTI_GetITStatus>
|
|
15a6: 4785 li a5,1
|
|
15a8: 02f51363 bne a0,a5,15ce <EXTI2_IRQHandler+0x2e>
|
|
15ac: 00005537 lui a0,0x5
|
|
15b0: d7050513 addi a0,a0,-656 # 4d70 <_read+0x46>
|
|
15b4: 5e6020ef jal ra,3b9a <puts>
|
|
15b8: 40011537 lui a0,0x40011
|
|
15bc: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
15c0: 4601 li a2,0
|
|
15c2: 4591 li a1,4
|
|
15c4: c14ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
15c8: 4511 li a0,4
|
|
15ca: b40ff0ef jal ra,90a <EXTI_ClearITPendingBit>
|
|
15ce: 30200073 mret
|
|
|
|
000015d2 <CAPCHARG_Init>:
|
|
15d2: b9ffe2ef jal t0,170 <__riscv_save_0>
|
|
15d6: 1141 addi sp,sp,-16
|
|
15d8: 4585 li a1,1
|
|
15da: 4521 li a0,8
|
|
15dc: 833ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
15e0: 08000793 li a5,128
|
|
15e4: 40011437 lui s0,0x40011
|
|
15e8: 827c sh a5,4(sp)
|
|
15ea: 47c1 li a5,16
|
|
15ec: c63e sw a5,12(sp)
|
|
15ee: 004c addi a1,sp,4
|
|
15f0: 478d li a5,3
|
|
15f2: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
15f6: c43e sw a5,8(sp)
|
|
15f8: b1cff0ef jal ra,914 <GPIO_Init>
|
|
15fc: 4601 li a2,0
|
|
15fe: 08000593 li a1,128
|
|
1602: c0040513 addi a0,s0,-1024
|
|
1606: bd2ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
160a: 0141 addi sp,sp,16
|
|
160c: b89fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001610 <PWM_GPIO_Configuration>:
|
|
1610: b61fe2ef jal t0,170 <__riscv_save_0>
|
|
1614: 1141 addi sp,sp,-16
|
|
1616: 4585 li a1,1
|
|
1618: 4521 li a0,8
|
|
161a: ff4ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
161e: 4585 li a1,1
|
|
1620: 4511 li a0,4
|
|
1622: 80bff0ef jal ra,e2c <RCC_PB1PeriphClockCmd>
|
|
1626: 20000793 li a5,512
|
|
162a: 827c sh a5,4(sp)
|
|
162c: 40011537 lui a0,0x40011
|
|
1630: 47e1 li a5,24
|
|
1632: c63e sw a5,12(sp)
|
|
1634: 004c addi a1,sp,4
|
|
1636: 478d li a5,3
|
|
1638: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
163c: c43e sw a5,8(sp)
|
|
163e: ad6ff0ef jal ra,914 <GPIO_Init>
|
|
1642: 0141 addi sp,sp,16
|
|
1644: b51fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001648 <PWM_TIM_Configuration>:
|
|
1648: b29fe2ef jal t0,170 <__riscv_save_0>
|
|
164c: 1101 addi sp,sp,-32
|
|
164e: 37c9 jal 1610 <PWM_GPIO_Configuration>
|
|
1650: 40001437 lui s0,0x40001
|
|
1654: 0c700793 li a5,199
|
|
1658: 858a mv a1,sp
|
|
165a: 80040513 addi a0,s0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
165e: c03e sw a5,0(sp)
|
|
1660: c202 sw zero,4(sp)
|
|
1662: 00011423 sh zero,8(sp)
|
|
1666: 00010523 sb zero,10(sp)
|
|
166a: 85dff0ef jal ra,ec6 <TIM_TimeBaseInit>
|
|
166e: 80040513 addi a0,s0,-2048
|
|
1672: 4585 li a1,1
|
|
1674: 985ff0ef jal ra,ff8 <TIM_ARRPreloadConfig>
|
|
1678: 67c1 lui a5,0x10
|
|
167a: 06078793 addi a5,a5,96 # 10060 <_data_lma+0xac0c>
|
|
167e: 006c addi a1,sp,12
|
|
1680: 80040513 addi a0,s0,-2048
|
|
1684: c83e sw a5,16(sp)
|
|
1686: 00011b23 sh zero,22(sp)
|
|
168a: c602 sw zero,12(sp)
|
|
168c: 8b1ff0ef jal ra,f3c <TIM_OC4Init>
|
|
1690: 80040513 addi a0,s0,-2048
|
|
1694: 45a1 li a1,8
|
|
1696: 97dff0ef jal ra,1012 <TIM_OC4PreloadConfig>
|
|
169a: 80040513 addi a0,s0,-2048
|
|
169e: 4585 li a1,1
|
|
16a0: 919ff0ef jal ra,fb8 <TIM_Cmd>
|
|
16a4: 4585 li a1,1
|
|
16a6: 80040513 addi a0,s0,-2048
|
|
16aa: 927ff0ef jal ra,fd0 <TIM_CtrlPWMOutputs>
|
|
16ae: 6105 addi sp,sp,32
|
|
16b0: ae5fe06f j 194 <__riscv_restore_0>
|
|
|
|
000016b4 <Set_duty_ratio>:
|
|
16b4: abdfe2ef jal t0,170 <__riscv_save_0>
|
|
16b8: 00000593 li a1,0
|
|
16bc: 842a mv s0,a0
|
|
16be: 3f1010ef jal ra,32ae <__lesf2>
|
|
16c2: 02054d63 bltz a0,16fc <Set_duty_ratio+0x48>
|
|
16c6: 000057b7 lui a5,0x5
|
|
16ca: d807a583 lw a1,-640(a5) # 4d80 <_read+0x56>
|
|
16ce: 8522 mv a0,s0
|
|
16d0: 359010ef jal ra,3228 <__gesf2>
|
|
16d4: 02a04463 bgtz a0,16fc <Set_duty_ratio+0x48>
|
|
16d8: 000057b7 lui a5,0x5
|
|
16dc: d847a583 lw a1,-636(a5) # 4d84 <_read+0x5a>
|
|
16e0: 8522 mv a0,s0
|
|
16e2: 459010ef jal ra,333a <__mulsf3>
|
|
16e6: 747010ef jal ra,362c <__fixunssfsi>
|
|
16ea: 01051593 slli a1,a0,0x10
|
|
16ee: 40001537 lui a0,0x40001
|
|
16f2: 81c1 srli a1,a1,0x10
|
|
16f4: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
16f8: 931ff0ef jal ra,1028 <TIM_SetCompare4>
|
|
16fc: a99fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001700 <GW_485_Init>:
|
|
1700: a71fe2ef jal t0,170 <__riscv_save_0>
|
|
1704: 7179 addi sp,sp,-48
|
|
1706: 40011437 lui s0,0x40011
|
|
170a: 47c1 li a5,16
|
|
170c: 892a mv s2,a0
|
|
170e: 82fc sh a5,20(sp)
|
|
1710: 448d li s1,3
|
|
1712: 47c1 li a5,16
|
|
1714: 084c addi a1,sp,20
|
|
1716: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
171a: ce3e sw a5,28(sp)
|
|
171c: cc26 sw s1,24(sp)
|
|
171e: 9f6ff0ef jal ra,914 <GPIO_Init>
|
|
1722: 4601 li a2,0
|
|
1724: c0040513 addi a0,s0,-1024
|
|
1728: 45c1 li a1,16
|
|
172a: aaeff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
172e: 4585 li a1,1
|
|
1730: 4521 li a0,8
|
|
1732: edcff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1736: 4585 li a1,1
|
|
1738: 00080537 lui a0,0x80
|
|
173c: ef0ff0ef jal ra,e2c <RCC_PB1PeriphClockCmd>
|
|
1740: 4785 li a5,1
|
|
1742: 82fc sh a5,20(sp)
|
|
1744: 084c addi a1,sp,20
|
|
1746: 47e1 li a5,24
|
|
1748: c0040513 addi a0,s0,-1024
|
|
174c: cc26 sw s1,24(sp)
|
|
174e: ce3e sw a5,28(sp)
|
|
1750: 9c4ff0ef jal ra,914 <GPIO_Init>
|
|
1754: 4489 li s1,2
|
|
1756: 4791 li a5,4
|
|
1758: 084c addi a1,sp,20
|
|
175a: c0040513 addi a0,s0,-1024
|
|
175e: 82e4 sh s1,20(sp)
|
|
1760: 40005437 lui s0,0x40005
|
|
1764: ce3e sw a5,28(sp)
|
|
1766: 9aeff0ef jal ra,914 <GPIO_Init>
|
|
176a: 100c addi a1,sp,32
|
|
176c: 000c07b7 lui a5,0xc0
|
|
1770: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
1774: d04a sw s2,32(sp)
|
|
1776: d43e sw a5,40(sp)
|
|
1778: d202 sw zero,36(sp)
|
|
177a: 02011623 sh zero,44(sp)
|
|
177e: 8fdff0ef jal ra,107a <USART_Init>
|
|
1782: 13d00793 li a5,317
|
|
1786: 867c sh a5,12(sp)
|
|
1788: 0068 addi a0,sp,12
|
|
178a: 4785 li a5,1
|
|
178c: c83e sw a5,16(sp)
|
|
178e: 8744 sb s1,14(sp)
|
|
1790: d40ff0ef jal ra,cd0 <NVIC_Init>
|
|
1794: 4605 li a2,1
|
|
1796: c0040513 addi a0,s0,-1024
|
|
179a: 52500593 li a1,1317
|
|
179e: 9adff0ef jal ra,114a <USART_ITConfig>
|
|
17a2: 4585 li a1,1
|
|
17a4: c0040513 addi a0,s0,-1024
|
|
17a8: 98dff0ef jal ra,1134 <USART_Cmd>
|
|
17ac: 6145 addi sp,sp,48
|
|
17ae: 9e7fe06f j 194 <__riscv_restore_0>
|
|
|
|
000017b2 <BAT_485_Init>:
|
|
17b2: 9bffe2ef jal t0,170 <__riscv_save_0>
|
|
17b6: 7179 addi sp,sp,-48
|
|
17b8: 40011437 lui s0,0x40011
|
|
17bc: 02000793 li a5,32
|
|
17c0: 892a mv s2,a0
|
|
17c2: 82fc sh a5,20(sp)
|
|
17c4: 448d li s1,3
|
|
17c6: 47c1 li a5,16
|
|
17c8: 084c addi a1,sp,20
|
|
17ca: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
17ce: ce3e sw a5,28(sp)
|
|
17d0: cc26 sw s1,24(sp)
|
|
17d2: 942ff0ef jal ra,914 <GPIO_Init>
|
|
17d6: 4601 li a2,0
|
|
17d8: c0040513 addi a0,s0,-1024
|
|
17dc: 02000593 li a1,32
|
|
17e0: 9f8ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
17e4: 4585 li a1,1
|
|
17e6: 4521 li a0,8
|
|
17e8: e26ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
17ec: 4585 li a1,1
|
|
17ee: 00040537 lui a0,0x40
|
|
17f2: e3aff0ef jal ra,e2c <RCC_PB1PeriphClockCmd>
|
|
17f6: 40000793 li a5,1024
|
|
17fa: 82fc sh a5,20(sp)
|
|
17fc: 084c addi a1,sp,20
|
|
17fe: 47e1 li a5,24
|
|
1800: c0040513 addi a0,s0,-1024
|
|
1804: cc26 sw s1,24(sp)
|
|
1806: ce3e sw a5,28(sp)
|
|
1808: 90cff0ef jal ra,914 <GPIO_Init>
|
|
180c: 6785 lui a5,0x1
|
|
180e: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
1812: 82fc sh a5,20(sp)
|
|
1814: 084c addi a1,sp,20
|
|
1816: 4791 li a5,4
|
|
1818: c0040513 addi a0,s0,-1024
|
|
181c: ce3e sw a5,28(sp)
|
|
181e: 40005437 lui s0,0x40005
|
|
1822: 8f2ff0ef jal ra,914 <GPIO_Init>
|
|
1826: 100c addi a1,sp,32
|
|
1828: 000c07b7 lui a5,0xc0
|
|
182c: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
1830: d04a sw s2,32(sp)
|
|
1832: d43e sw a5,40(sp)
|
|
1834: d202 sw zero,36(sp)
|
|
1836: 02011623 sh zero,44(sp)
|
|
183a: 841ff0ef jal ra,107a <USART_Init>
|
|
183e: 13700793 li a5,311
|
|
1842: 867c sh a5,12(sp)
|
|
1844: 4785 li a5,1
|
|
1846: 875c sb a5,14(sp)
|
|
1848: 0068 addi a0,sp,12
|
|
184a: 4785 li a5,1
|
|
184c: c83e sw a5,16(sp)
|
|
184e: c82ff0ef jal ra,cd0 <NVIC_Init>
|
|
1852: 4605 li a2,1
|
|
1854: 80040513 addi a0,s0,-2048
|
|
1858: 52500593 li a1,1317
|
|
185c: 8efff0ef jal ra,114a <USART_ITConfig>
|
|
1860: 4585 li a1,1
|
|
1862: 80040513 addi a0,s0,-2048
|
|
1866: 8cfff0ef jal ra,1134 <USART_Cmd>
|
|
186a: 6145 addi sp,sp,48
|
|
186c: 929fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001870 <USARTx_SendByte>:
|
|
1870: 901fe2ef jal t0,170 <__riscv_save_0>
|
|
1874: 842a mv s0,a0
|
|
1876: 90bff0ef jal ra,1180 <USART_SendData>
|
|
187a: 08000593 li a1,128
|
|
187e: 8522 mv a0,s0
|
|
1880: 911ff0ef jal ra,1190 <USART_GetFlagStatus>
|
|
1884: d97d beqz a0,187a <USARTx_SendByte+0xa>
|
|
1886: 90ffe06f j 194 <__riscv_restore_0>
|
|
|
|
0000188a <USART3_IRQHandler>:
|
|
188a: 1141 addi sp,sp,-16
|
|
188c: c622 sw s0,12(sp)
|
|
188e: 40005437 lui s0,0x40005
|
|
1892: 52500593 li a1,1317
|
|
1896: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
189a: 901ff0ef jal ra,119a <USART_GetITStatus>
|
|
189e: c50d beqz a0,18c8 <USART3_IRQHandler+0x3e>
|
|
18a0: 80040513 addi a0,s0,-2048
|
|
18a4: 8e5ff0ef jal ra,1188 <USART_ReceiveData>
|
|
18a8: 0ff57593 andi a1,a0,255
|
|
18ac: 82b18823 sb a1,-2000(gp) # 20000168 <USART3_Rbuffer>
|
|
18b0: 8501a503 lw a0,-1968(gp) # 20000188 <g_bat485_uart3_handle>
|
|
18b4: 4d1c lw a5,24(a0)
|
|
18b6: 4910 lw a2,16(a0)
|
|
18b8: 4954 lw a3,20(a0)
|
|
18ba: 0785 addi a5,a5,1
|
|
18bc: 02c7e7b3 rem a5,a5,a2
|
|
18c0: 00d78463 beq a5,a3,18c8 <USART3_IRQHandler+0x3e>
|
|
18c4: 0531 addi a0,a0,12
|
|
18c6: 2a7d jal 1a84 <InRingQueue>
|
|
18c8: 4432 lw s0,12(sp)
|
|
18ca: 0141 addi sp,sp,16
|
|
18cc: 30200073 mret
|
|
|
|
000018d0 <USART4_IRQHandler>:
|
|
18d0: 1141 addi sp,sp,-16
|
|
18d2: c622 sw s0,12(sp)
|
|
18d4: 40005437 lui s0,0x40005
|
|
18d8: 52500593 li a1,1317
|
|
18dc: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
18e0: 8bbff0ef jal ra,119a <USART_GetITStatus>
|
|
18e4: c50d beqz a0,190e <USART4_IRQHandler+0x3e>
|
|
18e6: c0040513 addi a0,s0,-1024
|
|
18ea: 89fff0ef jal ra,1188 <USART_ReceiveData>
|
|
18ee: 0ff57593 andi a1,a0,255
|
|
18f2: 82b18a23 sb a1,-1996(gp) # 2000016c <USART4_Rbuffer>
|
|
18f6: 8541a503 lw a0,-1964(gp) # 2000018c <g_gw485_uart4_handle>
|
|
18fa: 4d1c lw a5,24(a0)
|
|
18fc: 4910 lw a2,16(a0)
|
|
18fe: 4954 lw a3,20(a0)
|
|
1900: 0785 addi a5,a5,1
|
|
1902: 02c7e7b3 rem a5,a5,a2
|
|
1906: 00d78463 beq a5,a3,190e <USART4_IRQHandler+0x3e>
|
|
190a: 0531 addi a0,a0,12
|
|
190c: 2aa5 jal 1a84 <InRingQueue>
|
|
190e: 4432 lw s0,12(sp)
|
|
1910: 0141 addi sp,sp,16
|
|
1912: 30200073 mret
|
|
|
|
00001916 <TIM3_Int_Init>:
|
|
1916: 85bfe2ef jal t0,170 <__riscv_save_0>
|
|
191a: 1101 addi sp,sp,-32
|
|
191c: 84aa mv s1,a0
|
|
191e: 842e mv s0,a1
|
|
1920: 4509 li a0,2
|
|
1922: 4585 li a1,1
|
|
1924: d08ff0ef jal ra,e2c <RCC_PB1PeriphClockCmd>
|
|
1928: 84e0 sh s0,24(sp)
|
|
192a: 40000437 lui s0,0x40000
|
|
192e: 084c addi a1,sp,20
|
|
1930: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
1934: ca26 sw s1,20(sp)
|
|
1936: 00011e23 sh zero,28(sp)
|
|
193a: 00011d23 sh zero,26(sp)
|
|
193e: d88ff0ef jal ra,ec6 <TIM_TimeBaseInit>
|
|
1942: 4605 li a2,1
|
|
1944: 4585 li a1,1
|
|
1946: 40040513 addi a0,s0,1024
|
|
194a: e9cff0ef jal ra,fe6 <TIM_ITConfig>
|
|
194e: 02d00793 li a5,45
|
|
1952: 867c sh a5,12(sp)
|
|
1954: 478d li a5,3
|
|
1956: 875c sb a5,14(sp)
|
|
1958: 0068 addi a0,sp,12
|
|
195a: 4785 li a5,1
|
|
195c: c83e sw a5,16(sp)
|
|
195e: b72ff0ef jal ra,cd0 <NVIC_Init>
|
|
1962: 4585 li a1,1
|
|
1964: 40040513 addi a0,s0,1024
|
|
1968: e50ff0ef jal ra,fb8 <TIM_Cmd>
|
|
196c: 6105 addi sp,sp,32
|
|
196e: 827fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001972 <TIM3_Init>:
|
|
1972: ffefe2ef jal t0,170 <__riscv_save_0>
|
|
1976: 200007b7 lui a5,0x20000
|
|
197a: 1387a583 lw a1,312(a5) # 20000138 <SystemCoreClock>
|
|
197e: 6789 lui a5,0x2
|
|
1980: 71078793 addi a5,a5,1808 # 2710 <Task_recvbroadcast+0x118>
|
|
1984: 02f5d5b3 divu a1,a1,a5
|
|
1988: 4525 li a0,9
|
|
198a: 15fd addi a1,a1,-1
|
|
198c: 05c2 slli a1,a1,0x10
|
|
198e: 81c1 srli a1,a1,0x10
|
|
1990: 3759 jal 1916 <TIM3_Int_Init>
|
|
1992: 803fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001996 <TIM3_IRQHandler>:
|
|
1996: 1141 addi sp,sp,-16
|
|
1998: c622 sw s0,12(sp)
|
|
199a: 40000437 lui s0,0x40000
|
|
199e: 4585 li a1,1
|
|
19a0: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
19a4: eb2ff0ef jal ra,1056 <TIM_GetITStatus>
|
|
19a8: c519 beqz a0,19b6 <TIM3_IRQHandler+0x20>
|
|
19aa: 4585 li a1,1
|
|
19ac: 40040513 addi a0,s0,1024
|
|
19b0: ebeff0ef jal ra,106e <TIM_ClearITPendingBit>
|
|
19b4: 2861 jal 1a4c <TimeSliceOffset_Produce>
|
|
19b6: 4432 lw s0,12(sp)
|
|
19b8: 0141 addi sp,sp,16
|
|
19ba: 30200073 mret
|
|
|
|
000019be <TimeSliceOffset_Register>:
|
|
19be: c91d beqz a0,19f4 <TimeSliceOffset_Register+0x36>
|
|
19c0: 96b2 add a3,a3,a2
|
|
19c2: 06c2 slli a3,a3,0x10
|
|
19c4: 82c1 srli a3,a3,0x10
|
|
19c6: a152 sh a2,4(a0)
|
|
19c8: a136 sh a3,2(a0)
|
|
19ca: c50c sw a1,8(a0)
|
|
19cc: ee09 bnez a2,19e6 <TimeSliceOffset_Register+0x28>
|
|
19ce: 4785 li a5,1
|
|
19d0: a11c sb a5,0(a0)
|
|
19d2: 8381a683 lw a3,-1992(gp) # 20000170 <pTimeSliceList>
|
|
19d6: 83818793 addi a5,gp,-1992 # 20000170 <pTimeSliceList>
|
|
19da: 8736 mv a4,a3
|
|
19dc: eb01 bnez a4,19ec <TimeSliceOffset_Register+0x2e>
|
|
19de: c554 sw a3,12(a0)
|
|
19e0: c388 sw a0,0(a5)
|
|
19e2: 4501 li a0,0
|
|
19e4: 8082 ret
|
|
19e6: 00050023 sb zero,0(a0) # 40000 <_data_lma+0x3abac>
|
|
19ea: b7e5 j 19d2 <TimeSliceOffset_Register+0x14>
|
|
19ec: 00a70663 beq a4,a0,19f8 <TimeSliceOffset_Register+0x3a>
|
|
19f0: 4758 lw a4,12(a4)
|
|
19f2: b7ed j 19dc <TimeSliceOffset_Register+0x1e>
|
|
19f4: 557d li a0,-1
|
|
19f6: 8082 ret
|
|
19f8: 4505 li a0,1
|
|
19fa: 8082 ret
|
|
|
|
000019fc <TimeSliceOffset_Unregister>:
|
|
19fc: c50d beqz a0,1a26 <TimeSliceOffset_Unregister+0x2a>
|
|
19fe: 8381a783 lw a5,-1992(gp) # 20000170 <pTimeSliceList>
|
|
1a02: 83818713 addi a4,gp,-1992 # 20000170 <pTimeSliceList>
|
|
1a06: e399 bnez a5,1a0c <TimeSliceOffset_Unregister+0x10>
|
|
1a08: 4505 li a0,1
|
|
1a0a: 8082 ret
|
|
1a0c: 47d4 lw a3,12(a5)
|
|
1a0e: 00a69663 bne a3,a0,1a1a <TimeSliceOffset_Unregister+0x1e>
|
|
1a12: 4558 lw a4,12(a0)
|
|
1a14: c7d8 sw a4,12(a5)
|
|
1a16: 4501 li a0,0
|
|
1a18: 8082 ret
|
|
1a1a: 00a79463 bne a5,a0,1a22 <TimeSliceOffset_Unregister+0x26>
|
|
1a1e: c314 sw a3,0(a4)
|
|
1a20: bfdd j 1a16 <TimeSliceOffset_Unregister+0x1a>
|
|
1a22: 87b6 mv a5,a3
|
|
1a24: b7cd j 1a06 <TimeSliceOffset_Unregister+0xa>
|
|
1a26: 557d li a0,-1
|
|
1a28: 8082 ret
|
|
|
|
00001a2a <TimeSliceOffset_Start>:
|
|
1a2a: f46fe2ef jal t0,170 <__riscv_save_0>
|
|
1a2e: 8381a403 lw s0,-1992(gp) # 20000170 <pTimeSliceList>
|
|
1a32: dc75 beqz s0,1a2e <TimeSliceOffset_Start+0x4>
|
|
1a34: 201c lbu a5,0(s0)
|
|
1a36: 0ff7f793 andi a5,a5,255
|
|
1a3a: c799 beqz a5,1a48 <TimeSliceOffset_Start+0x1e>
|
|
1a3c: 205e lhu a5,4(s0)
|
|
1a3e: c399 beqz a5,1a44 <TimeSliceOffset_Start+0x1a>
|
|
1a40: 00040023 sb zero,0(s0)
|
|
1a44: 441c lw a5,8(s0)
|
|
1a46: 9782 jalr a5
|
|
1a48: 4440 lw s0,12(s0)
|
|
1a4a: b7e5 j 1a32 <TimeSliceOffset_Start+0x8>
|
|
|
|
00001a4c <TimeSliceOffset_Produce>:
|
|
1a4c: 8381a783 lw a5,-1992(gp) # 20000170 <pTimeSliceList>
|
|
1a50: 4605 li a2,1
|
|
1a52: e391 bnez a5,1a56 <TimeSliceOffset_Produce+0xa>
|
|
1a54: 8082 ret
|
|
1a56: 23d6 lhu a3,4(a5)
|
|
1a58: ce81 beqz a3,1a70 <TimeSliceOffset_Produce+0x24>
|
|
1a5a: 23ba lhu a4,2(a5)
|
|
1a5c: 177d addi a4,a4,-1
|
|
1a5e: 0742 slli a4,a4,0x10
|
|
1a60: 8341 srli a4,a4,0x10
|
|
1a62: a3ba sh a4,2(a5)
|
|
1a64: 23ba lhu a4,2(a5)
|
|
1a66: 0742 slli a4,a4,0x10
|
|
1a68: 8341 srli a4,a4,0x10
|
|
1a6a: e319 bnez a4,1a70 <TimeSliceOffset_Produce+0x24>
|
|
1a6c: a390 sb a2,0(a5)
|
|
1a6e: a3b6 sh a3,2(a5)
|
|
1a70: 47dc lw a5,12(a5)
|
|
1a72: b7c5 j 1a52 <TimeSliceOffset_Produce+0x6>
|
|
|
|
00001a74 <InitRingQueue>:
|
|
1a74: 00052623 sw zero,12(a0)
|
|
1a78: c10c sw a1,0(a0)
|
|
1a7a: c150 sw a2,4(a0)
|
|
1a7c: 00052423 sw zero,8(a0)
|
|
1a80: 4505 li a0,1
|
|
1a82: 8082 ret
|
|
|
|
00001a84 <InRingQueue>:
|
|
1a84: 455c lw a5,12(a0)
|
|
1a86: 4154 lw a3,4(a0)
|
|
1a88: 4518 lw a4,8(a0)
|
|
1a8a: 0785 addi a5,a5,1
|
|
1a8c: 02d7e7b3 rem a5,a5,a3
|
|
1a90: 00e78e63 beq a5,a4,1aac <InRingQueue+0x28>
|
|
1a94: 4558 lw a4,12(a0)
|
|
1a96: 411c lw a5,0(a0)
|
|
1a98: 97ba add a5,a5,a4
|
|
1a9a: a38c sb a1,0(a5)
|
|
1a9c: 455c lw a5,12(a0)
|
|
1a9e: 4158 lw a4,4(a0)
|
|
1aa0: 0785 addi a5,a5,1
|
|
1aa2: 02e7e7b3 rem a5,a5,a4
|
|
1aa6: c55c sw a5,12(a0)
|
|
1aa8: 4505 li a0,1
|
|
1aaa: 8082 ret
|
|
1aac: 5579 li a0,-2
|
|
1aae: 8082 ret
|
|
|
|
00001ab0 <OutRingQueue>:
|
|
1ab0: 4518 lw a4,8(a0)
|
|
1ab2: 455c lw a5,12(a0)
|
|
1ab4: 00f70f63 beq a4,a5,1ad2 <OutRingQueue+0x22>
|
|
1ab8: 4518 lw a4,8(a0)
|
|
1aba: 411c lw a5,0(a0)
|
|
1abc: 97ba add a5,a5,a4
|
|
1abe: 239c lbu a5,0(a5)
|
|
1ac0: a19c sb a5,0(a1)
|
|
1ac2: 451c lw a5,8(a0)
|
|
1ac4: 4158 lw a4,4(a0)
|
|
1ac6: 0785 addi a5,a5,1
|
|
1ac8: 02e7e7b3 rem a5,a5,a4
|
|
1acc: c51c sw a5,8(a0)
|
|
1ace: 4505 li a0,1
|
|
1ad0: 8082 ret
|
|
1ad2: 4501 li a0,0
|
|
1ad4: 8082 ret
|
|
|
|
00001ad6 <RingQueueLength>:
|
|
1ad6: 455c lw a5,12(a0)
|
|
1ad8: 4518 lw a4,8(a0)
|
|
1ada: 4148 lw a0,4(a0)
|
|
1adc: 8f99 sub a5,a5,a4
|
|
1ade: 97aa add a5,a5,a0
|
|
1ae0: 02a7e533 rem a0,a5,a0
|
|
1ae4: 8082 ret
|
|
|
|
00001ae6 <Delay_Init>:
|
|
1ae6: 200007b7 lui a5,0x20000
|
|
1aea: 1387a783 lw a5,312(a5) # 20000138 <SystemCoreClock>
|
|
1aee: 6709 lui a4,0x2
|
|
1af0: f4070713 addi a4,a4,-192 # 1f40 <SL_MsgProcFunc_Registration_request+0x2c>
|
|
1af4: 02e7d7b3 divu a5,a5,a4
|
|
1af8: 07c2 slli a5,a5,0x10
|
|
1afa: 83c1 srli a5,a5,0x10
|
|
1afc: 82f19f23 sh a5,-1986(gp) # 20000176 <p_us>
|
|
1b00: 82f19e23 sh a5,-1988(gp) # 20000174 <p_ms>
|
|
1b04: 8082 ret
|
|
|
|
00001b06 <Delay_Us>:
|
|
1b06: e000f7b7 lui a5,0xe000f
|
|
1b0a: 43d8 lw a4,4(a5)
|
|
1b0c: 4681 li a3,0
|
|
1b0e: 9b79 andi a4,a4,-2
|
|
1b10: c3d8 sw a4,4(a5)
|
|
1b12: 83e1d703 lhu a4,-1986(gp) # 20000176 <p_us>
|
|
1b16: 02a70533 mul a0,a4,a0
|
|
1b1a: 3e800713 li a4,1000
|
|
1b1e: 02e55633 divu a2,a0,a4
|
|
1b22: cb90 sw a2,16(a5)
|
|
1b24: cbd4 sw a3,20(a5)
|
|
1b26: 4398 lw a4,0(a5)
|
|
1b28: 01076713 ori a4,a4,16
|
|
1b2c: c398 sw a4,0(a5)
|
|
1b2e: 4398 lw a4,0(a5)
|
|
1b30: 02176713 ori a4,a4,33
|
|
1b34: c398 sw a4,0(a5)
|
|
1b36: 43d8 lw a4,4(a5)
|
|
1b38: 8b05 andi a4,a4,1
|
|
1b3a: df75 beqz a4,1b36 <Delay_Us+0x30>
|
|
1b3c: 4398 lw a4,0(a5)
|
|
1b3e: 9b79 andi a4,a4,-2
|
|
1b40: c398 sw a4,0(a5)
|
|
1b42: 8082 ret
|
|
|
|
00001b44 <Delay_Ms>:
|
|
1b44: e000f7b7 lui a5,0xe000f
|
|
1b48: 43d8 lw a4,4(a5)
|
|
1b4a: 4681 li a3,0
|
|
1b4c: 9b79 andi a4,a4,-2
|
|
1b4e: c3d8 sw a4,4(a5)
|
|
1b50: 83c1d703 lhu a4,-1988(gp) # 20000174 <p_ms>
|
|
1b54: 02a70633 mul a2,a4,a0
|
|
1b58: cb90 sw a2,16(a5)
|
|
1b5a: cbd4 sw a3,20(a5)
|
|
1b5c: 4398 lw a4,0(a5)
|
|
1b5e: 01076713 ori a4,a4,16
|
|
1b62: c398 sw a4,0(a5)
|
|
1b64: 4398 lw a4,0(a5)
|
|
1b66: 02176713 ori a4,a4,33
|
|
1b6a: c398 sw a4,0(a5)
|
|
1b6c: 43d8 lw a4,4(a5)
|
|
1b6e: 8b05 andi a4,a4,1
|
|
1b70: df75 beqz a4,1b6c <Delay_Ms+0x28>
|
|
1b72: 4398 lw a4,0(a5)
|
|
1b74: 9b79 andi a4,a4,-2
|
|
1b76: c398 sw a4,0(a5)
|
|
1b78: 8082 ret
|
|
|
|
00001b7a <USART_Printf_Init>:
|
|
1b7a: df6fe2ef jal t0,170 <__riscv_save_0>
|
|
1b7e: 842a mv s0,a0
|
|
1b80: 6511 lui a0,0x4
|
|
1b82: 1101 addi sp,sp,-32
|
|
1b84: 4585 li a1,1
|
|
1b86: 0511 addi a0,a0,4
|
|
1b88: a86ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1b8c: 20000793 li a5,512
|
|
1b90: 827c sh a5,4(sp)
|
|
1b92: 40011537 lui a0,0x40011
|
|
1b96: 478d li a5,3
|
|
1b98: c43e sw a5,8(sp)
|
|
1b9a: 004c addi a1,sp,4
|
|
1b9c: 47e1 li a5,24
|
|
1b9e: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1ba2: c63e sw a5,12(sp)
|
|
1ba4: d71fe0ef jal ra,914 <GPIO_Init>
|
|
1ba8: c822 sw s0,16(sp)
|
|
1baa: 40014437 lui s0,0x40014
|
|
1bae: 000807b7 lui a5,0x80
|
|
1bb2: 080c addi a1,sp,16
|
|
1bb4: 80040513 addi a0,s0,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1bb8: cc3e sw a5,24(sp)
|
|
1bba: ca02 sw zero,20(sp)
|
|
1bbc: 00011e23 sh zero,28(sp)
|
|
1bc0: cbaff0ef jal ra,107a <USART_Init>
|
|
1bc4: 4585 li a1,1
|
|
1bc6: 80040513 addi a0,s0,-2048
|
|
1bca: d6aff0ef jal ra,1134 <USART_Cmd>
|
|
1bce: 6105 addi sp,sp,32
|
|
1bd0: dc4fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001bd4 <_write>:
|
|
1bd4: d82fe2ef jal t0,156 <__riscv_save_4>
|
|
1bd8: 400144b7 lui s1,0x40014
|
|
1bdc: 89ae mv s3,a1
|
|
1bde: 8932 mv s2,a2
|
|
1be0: 4401 li s0,0
|
|
1be2: 80048493 addi s1,s1,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1be6: 01244563 blt s0,s2,1bf0 <_write+0x1c>
|
|
1bea: 854a mv a0,s2
|
|
1bec: d9efe06f j 18a <__riscv_restore_4>
|
|
1bf0: 04000593 li a1,64
|
|
1bf4: 8526 mv a0,s1
|
|
1bf6: d9aff0ef jal ra,1190 <USART_GetFlagStatus>
|
|
1bfa: d97d beqz a0,1bf0 <_write+0x1c>
|
|
1bfc: 008987b3 add a5,s3,s0
|
|
1c00: 00078583 lb a1,0(a5) # 80000 <_data_lma+0x7abac>
|
|
1c04: 8526 mv a0,s1
|
|
1c06: 0405 addi s0,s0,1
|
|
1c08: 05c2 slli a1,a1,0x10
|
|
1c0a: 81c1 srli a1,a1,0x10
|
|
1c0c: d74ff0ef jal ra,1180 <USART_SendData>
|
|
1c10: bfd9 j 1be6 <_write+0x12>
|
|
|
|
00001c12 <_sbrk>:
|
|
1c12: 80818713 addi a4,gp,-2040 # 20000140 <curbrk.5007>
|
|
1c16: 431c lw a5,0(a4)
|
|
1c18: af418693 addi a3,gp,-1292 # 2000042c <_ebss>
|
|
1c1c: 953e add a0,a0,a5
|
|
1c1e: 00d56b63 bltu a0,a3,1c34 <_sbrk+0x22>
|
|
1c22: 200056b7 lui a3,0x20005
|
|
1c26: 80068693 addi a3,a3,-2048 # 20004800 <_heap_end>
|
|
1c2a: 00a6e563 bltu a3,a0,1c34 <_sbrk+0x22>
|
|
1c2e: c308 sw a0,0(a4)
|
|
1c30: 853e mv a0,a5
|
|
1c32: 8082 ret
|
|
1c34: 57fd li a5,-1
|
|
1c36: bfed j 1c30 <_sbrk+0x1e>
|
|
|
|
00001c38 <get_adc>:
|
|
1c38: d38fe2ef jal t0,170 <__riscv_save_0>
|
|
1c3c: 40012437 lui s0,0x40012
|
|
1c40: 85aa mv a1,a0
|
|
1c42: 4695 li a3,5
|
|
1c44: 4605 li a2,1
|
|
1c46: 40040513 addi a0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
1c4a: 949fe0ef jal ra,592 <ADC_RegularChannelConfig>
|
|
1c4e: 4585 li a1,1
|
|
1c50: 40040513 addi a0,s0,1024
|
|
1c54: 927fe0ef jal ra,57a <ADC_SoftwareStartConvCmd>
|
|
1c58: 40040493 addi s1,s0,1024
|
|
1c5c: 4589 li a1,2
|
|
1c5e: 8526 mv a0,s1
|
|
1c60: 9f3fe0ef jal ra,652 <ADC_GetFlagStatus>
|
|
1c64: dd65 beqz a0,1c5c <get_adc+0x24>
|
|
1c66: 40040513 addi a0,s0,1024
|
|
1c6a: 9e1fe0ef jal ra,64a <ADC_GetConversionValue>
|
|
1c6e: d26fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001c72 <Get_ConversionVal>:
|
|
1c72: 82c19703 lh a4,-2004(gp) # 20000164 <Calibrattion_Val>
|
|
1c76: 4781 li a5,0
|
|
1c78: 972a add a4,a4,a0
|
|
1c7a: 00074f63 bltz a4,1c98 <Get_ConversionVal+0x26>
|
|
1c7e: cd09 beqz a0,1c98 <Get_ConversionVal+0x26>
|
|
1c80: 6605 lui a2,0x1
|
|
1c82: fff60693 addi a3,a2,-1 # fff <TIM_ARRPreloadConfig+0x7>
|
|
1c86: 87b6 mv a5,a3
|
|
1c88: 00c75863 bge a4,a2,1c98 <Get_ConversionVal+0x26>
|
|
1c8c: 87aa mv a5,a0
|
|
1c8e: 00d50563 beq a0,a3,1c98 <Get_ConversionVal+0x26>
|
|
1c92: 01071793 slli a5,a4,0x10
|
|
1c96: 83c1 srli a5,a5,0x10
|
|
1c98: 853e mv a0,a5
|
|
1c9a: 8082 ret
|
|
|
|
00001c9c <get_CHG_CURR>:
|
|
1c9c: cd4fe2ef jal t0,170 <__riscv_save_0>
|
|
1ca0: 4505 li a0,1
|
|
1ca2: 3f59 jal 1c38 <get_adc>
|
|
1ca4: 0542 slli a0,a0,0x10
|
|
1ca6: 8541 srai a0,a0,0x10
|
|
1ca8: 37e9 jal 1c72 <Get_ConversionVal>
|
|
1caa: 84aa mv s1,a0
|
|
1cac: 1d7010ef jal ra,3682 <__floatunsisf>
|
|
1cb0: 000057b7 lui a5,0x5
|
|
1cb4: d887a583 lw a1,-632(a5) # 4d88 <_read+0x5e>
|
|
1cb8: 2be010ef jal ra,2f76 <__divsf3>
|
|
1cbc: 295010ef jal ra,3750 <__extendsfdf2>
|
|
1cc0: 000057b7 lui a5,0x5
|
|
1cc4: d907a603 lw a2,-624(a5) # 4d90 <_read+0x66>
|
|
1cc8: d947a683 lw a3,-620(a5)
|
|
1ccc: 5f3000ef jal ra,2abe <__muldf3>
|
|
1cd0: 000057b7 lui a5,0x5
|
|
1cd4: d987a603 lw a2,-616(a5) # 4d98 <_read+0x6e>
|
|
1cd8: d9c7a683 lw a3,-612(a5)
|
|
1cdc: 5e3000ef jal ra,2abe <__muldf3>
|
|
1ce0: 31d010ef jal ra,37fc <__truncdfsf2>
|
|
1ce4: 842a mv s0,a0
|
|
1ce6: 00005537 lui a0,0x5
|
|
1cea: 85a6 mv a1,s1
|
|
1cec: da050513 addi a0,a0,-608 # 4da0 <_read+0x76>
|
|
1cf0: 597010ef jal ra,3a86 <iprintf>
|
|
1cf4: 000057b7 lui a5,0x5
|
|
1cf8: d8c7a583 lw a1,-628(a5) # 4d8c <_read+0x62>
|
|
1cfc: 8522 mv a0,s0
|
|
1cfe: 63c010ef jal ra,333a <__mulsf3>
|
|
1d02: 0c9010ef jal ra,35ca <__fixsfsi>
|
|
1d06: 85aa mv a1,a0
|
|
1d08: 00005537 lui a0,0x5
|
|
1d0c: db850513 addi a0,a0,-584 # 4db8 <_read+0x8e>
|
|
1d10: 577010ef jal ra,3a86 <iprintf>
|
|
1d14: 8522 mv a0,s0
|
|
1d16: c7efe06f j 194 <__riscv_restore_0>
|
|
|
|
00001d1a <read_config_info>:
|
|
1d1a: c56fe2ef jal t0,170 <__riscv_save_0>
|
|
1d1e: 1101 addi sp,sp,-32
|
|
1d20: 0028 addi a0,sp,8
|
|
1d22: 4659 li a2,22
|
|
1d24: 4581 li a1,0
|
|
1d26: e9eff0ef jal ra,13c4 <SPI_Flash_Read>
|
|
1d2a: 8418 lbu a4,8(sp)
|
|
1d2c: 05300793 li a5,83
|
|
1d30: 4501 li a0,0
|
|
1d32: 00f71b63 bne a4,a5,1d48 <read_config_info+0x2e>
|
|
1d36: 20000537 lui a0,0x20000
|
|
1d3a: 4659 li a2,22
|
|
1d3c: 002c addi a1,sp,8
|
|
1d3e: 02050513 addi a0,a0,32 # 20000020 <g_slConfigInfo>
|
|
1d42: 493010ef jal ra,39d4 <memcpy>
|
|
1d46: 4505 li a0,1
|
|
1d48: 6105 addi sp,sp,32
|
|
1d4a: c4afe06f j 194 <__riscv_restore_0>
|
|
|
|
00001d4e <SL_MsgProcFunc_Write_Register>:
|
|
1d4e: c22fe2ef jal t0,170 <__riscv_save_0>
|
|
1d52: 25d4 lbu a3,12(a1)
|
|
1d54: 35dc lbu a5,13(a1)
|
|
1d56: 06a2 slli a3,a3,0x8
|
|
1d58: 8edd or a3,a3,a5
|
|
1d5a: 4795 li a5,5
|
|
1d5c: 00d7fd63 bgeu a5,a3,1d76 <SL_MsgProcFunc_Write_Register+0x28>
|
|
1d60: 00005537 lui a0,0x5
|
|
1d64: 10700613 li a2,263
|
|
1d68: 4585 li a1,1
|
|
1d6a: e0050513 addi a0,a0,-512 # 4e00 <_read+0xd6>
|
|
1d6e: 519010ef jal ra,3a86 <iprintf>
|
|
1d72: c22fe06f j 194 <__riscv_restore_0>
|
|
1d76: 25b4 lbu a3,10(a1)
|
|
1d78: 35bc lbu a5,11(a1)
|
|
1d7a: 06a2 slli a3,a3,0x8
|
|
1d7c: 8edd or a3,a3,a5
|
|
1d7e: 20000793 li a5,512
|
|
1d82: fed7f8e3 bgeu a5,a3,1d72 <SL_MsgProcFunc_Write_Register+0x24>
|
|
1d86: 00005537 lui a0,0x5
|
|
1d8a: 10e00613 li a2,270
|
|
1d8e: 4585 li a1,1
|
|
1d90: e3050513 addi a0,a0,-464 # 4e30 <_read+0x106>
|
|
1d94: bfe9 j 1d6e <SL_MsgProcFunc_Write_Register+0x20>
|
|
|
|
00001d96 <SL_ReadRegisterSolarOpenCircuitVoltage2>:
|
|
1d96: bdafe2ef jal t0,170 <__riscv_save_0>
|
|
1d9a: 00005537 lui a0,0x5
|
|
1d9e: 1a000613 li a2,416
|
|
1da2: 4585 li a1,1
|
|
1da4: fec50513 addi a0,a0,-20 # 4fec <_read+0x2c2>
|
|
1da8: 4df010ef jal ra,3a86 <iprintf>
|
|
1dac: 86018793 addi a5,gp,-1952 # 20000198 <g_Mppt_Para>
|
|
1db0: 2be8 lbu a0,22(a5)
|
|
1db2: 3bd8 lbu a4,21(a5)
|
|
1db4: 47a9 li a5,10
|
|
1db6: 0522 slli a0,a0,0x8
|
|
1db8: 8d59 or a0,a0,a4
|
|
1dba: 02f50533 mul a0,a0,a5
|
|
1dbe: 0542 slli a0,a0,0x10
|
|
1dc0: 8141 srli a0,a0,0x10
|
|
1dc2: bd2fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001dc6 <SL_ReadRegisterSolarOpenCircuitVoltage1>:
|
|
1dc6: baafe2ef jal t0,170 <__riscv_save_0>
|
|
1dca: 00005537 lui a0,0x5
|
|
1dce: 19400613 li a2,404
|
|
1dd2: 4585 li a1,1
|
|
1dd4: fb050513 addi a0,a0,-80 # 4fb0 <_read+0x286>
|
|
1dd8: 4af010ef jal ra,3a86 <iprintf>
|
|
1ddc: 86018793 addi a5,gp,-1952 # 20000198 <g_Mppt_Para>
|
|
1de0: 2bc8 lbu a0,20(a5)
|
|
1de2: 3bb8 lbu a4,19(a5)
|
|
1de4: 47a9 li a5,10
|
|
1de6: 0522 slli a0,a0,0x8
|
|
1de8: 8d59 or a0,a0,a4
|
|
1dea: 02f50533 mul a0,a0,a5
|
|
1dee: 0542 slli a0,a0,0x10
|
|
1df0: 8141 srli a0,a0,0x10
|
|
1df2: ba2fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001df6 <SL_ReadRegisterRemainingBatteryBower>:
|
|
1df6: b7afe2ef jal t0,170 <__riscv_save_0>
|
|
1dfa: 00005537 lui a0,0x5
|
|
1dfe: 18800613 li a2,392
|
|
1e02: 4585 li a1,1
|
|
1e04: f7850513 addi a0,a0,-136 # 4f78 <_read+0x24e>
|
|
1e08: 47f010ef jal ra,3a86 <iprintf>
|
|
1e0c: 86018793 addi a5,gp,-1952 # 20000198 <g_Mppt_Para>
|
|
1e10: 2ba8 lbu a0,18(a5)
|
|
1e12: 3b98 lbu a4,17(a5)
|
|
1e14: 47a9 li a5,10
|
|
1e16: 0522 slli a0,a0,0x8
|
|
1e18: 8d59 or a0,a0,a4
|
|
1e1a: 02f50533 mul a0,a0,a5
|
|
1e1e: 0542 slli a0,a0,0x10
|
|
1e20: 8141 srli a0,a0,0x10
|
|
1e22: b72fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e26 <SL_ReadRegisterBatterytemperature>:
|
|
1e26: b4afe2ef jal t0,170 <__riscv_save_0>
|
|
1e2a: 00005537 lui a0,0x5
|
|
1e2e: 17c00613 li a2,380
|
|
1e32: 4585 li a1,1
|
|
1e34: ed050513 addi a0,a0,-304 # 4ed0 <_read+0x1a6>
|
|
1e38: 44f010ef jal ra,3a86 <iprintf>
|
|
1e3c: 86018793 addi a5,gp,-1952 # 20000198 <g_Mppt_Para>
|
|
1e40: 2b88 lbu a0,16(a5)
|
|
1e42: 37f8 lbu a4,15(a5)
|
|
1e44: 47a9 li a5,10
|
|
1e46: 0522 slli a0,a0,0x8
|
|
1e48: 8d59 or a0,a0,a4
|
|
1e4a: 02f50533 mul a0,a0,a5
|
|
1e4e: 0542 slli a0,a0,0x10
|
|
1e50: 8141 srli a0,a0,0x10
|
|
1e52: b42fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e56 <SL_ReadRegisterBatteryVoltage>:
|
|
1e56: b1afe2ef jal t0,170 <__riscv_save_0>
|
|
1e5a: 00005537 lui a0,0x5
|
|
1e5e: 17000613 li a2,368
|
|
1e62: 4585 li a1,1
|
|
1e64: e9c50513 addi a0,a0,-356 # 4e9c <_read+0x172>
|
|
1e68: 41f010ef jal ra,3a86 <iprintf>
|
|
1e6c: 86018793 addi a5,gp,-1952 # 20000198 <g_Mppt_Para>
|
|
1e70: 27e8 lbu a0,14(a5)
|
|
1e72: 37d8 lbu a4,13(a5)
|
|
1e74: 47a9 li a5,10
|
|
1e76: 0522 slli a0,a0,0x8
|
|
1e78: 8d59 or a0,a0,a4
|
|
1e7a: 02f50533 mul a0,a0,a5
|
|
1e7e: 0542 slli a0,a0,0x10
|
|
1e80: 8141 srli a0,a0,0x10
|
|
1e82: b12fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001e86 <SL_ReadRegisterCommunicationMethods>:
|
|
1e86: aeafe2ef jal t0,170 <__riscv_save_0>
|
|
1e8a: 00005537 lui a0,0x5
|
|
1e8e: 16400613 li a2,356
|
|
1e92: 4585 li a1,1
|
|
1e94: f0850513 addi a0,a0,-248 # 4f08 <_read+0x1de>
|
|
1e98: 3ef010ef jal ra,3a86 <iprintf>
|
|
1e9c: 86018793 addi a5,gp,-1952 # 20000198 <g_Mppt_Para>
|
|
1ea0: 37a8 lbu a0,11(a5)
|
|
1ea2: 27dc lbu a5,12(a5)
|
|
1ea4: 07a2 slli a5,a5,0x8
|
|
1ea6: 8d5d or a0,a0,a5
|
|
1ea8: aecfe06f j 194 <__riscv_restore_0>
|
|
|
|
00001eac <SL_ReadRegisterAccessNodeType>:
|
|
1eac: ac4fe2ef jal t0,170 <__riscv_save_0>
|
|
1eb0: 00005537 lui a0,0x5
|
|
1eb4: 15800613 li a2,344
|
|
1eb8: 4585 li a1,1
|
|
1eba: e6850513 addi a0,a0,-408 # 4e68 <_read+0x13e>
|
|
1ebe: 3c9010ef jal ra,3a86 <iprintf>
|
|
1ec2: 86018793 addi a5,gp,-1952 # 20000198 <g_Mppt_Para>
|
|
1ec6: 3788 lbu a0,9(a5)
|
|
1ec8: 27bc lbu a5,10(a5)
|
|
1eca: 07a2 slli a5,a5,0x8
|
|
1ecc: 8d5d or a0,a0,a5
|
|
1ece: ac6fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001ed2 <SL_ReadRegisteraddress>:
|
|
1ed2: a9efe2ef jal t0,170 <__riscv_save_0>
|
|
1ed6: 00005537 lui a0,0x5
|
|
1eda: 14c00613 li a2,332
|
|
1ede: 4585 li a1,1
|
|
1ee0: 02850513 addi a0,a0,40 # 5028 <_read+0x2fe>
|
|
1ee4: 3a3010ef jal ra,3a86 <iprintf>
|
|
1ee8: 4501 li a0,0
|
|
1eea: aaafe06f j 194 <__riscv_restore_0>
|
|
|
|
00001eee <SL_ReadRegisterRegistrationStatus>:
|
|
1eee: a82fe2ef jal t0,170 <__riscv_save_0>
|
|
1ef2: 00005537 lui a0,0x5
|
|
1ef6: 14000613 li a2,320
|
|
1efa: 4585 li a1,1
|
|
1efc: f4050513 addi a0,a0,-192 # 4f40 <_read+0x216>
|
|
1f00: 387010ef jal ra,3a86 <iprintf>
|
|
1f04: 8601c503 lbu a0,-1952(gp) # 20000198 <g_Mppt_Para>
|
|
1f08: 8611c783 lbu a5,-1951(gp) # 20000199 <g_Mppt_Para+0x1>
|
|
1f0c: 07a2 slli a5,a5,0x8
|
|
1f0e: 8d5d or a0,a0,a5
|
|
1f10: a84fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f14 <SL_MsgProcFunc_Registration_request>:
|
|
1f14: a5cfe2ef jal t0,170 <__riscv_save_0>
|
|
1f18: 00005537 lui a0,0x5
|
|
1f1c: 842e mv s0,a1
|
|
1f1e: 13100613 li a2,305
|
|
1f22: 4585 li a1,1
|
|
1f24: dd450513 addi a0,a0,-556 # 4dd4 <_read+0xaa>
|
|
1f28: 35f010ef jal ra,3a86 <iprintf>
|
|
1f2c: 4705 li a4,1
|
|
1f2e: 84e184a3 sb a4,-1975(gp) # 20000181 <recvbroadcast_flag>
|
|
1f32: 8bc18513 addi a0,gp,-1860 # 200001f4 <m_recvbroadcast>
|
|
1f36: 84018023 sb zero,-1984(gp) # 20000178 <RegistrationRequestFlag>
|
|
1f3a: ac3ff0ef jal ra,19fc <TimeSliceOffset_Unregister>
|
|
1f3e: 245c lbu a5,12(s0)
|
|
1f40: 3454 lbu a3,13(s0)
|
|
1f42: 07a2 slli a5,a5,0x8
|
|
1f44: 8fd5 or a5,a5,a3
|
|
1f46: 86f18023 sb a5,-1952(gp) # 20000198 <g_Mppt_Para>
|
|
1f4a: 83a1 srli a5,a5,0x8
|
|
1f4c: 86f180a3 sb a5,-1951(gp) # 20000199 <g_Mppt_Para+0x1>
|
|
1f50: a44fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f54 <SL_MsgProcFunc_Broadcast_Scan>:
|
|
1f54: a1cfe2ef jal t0,170 <__riscv_save_0>
|
|
1f58: 84a1a223 sw a0,-1980(gp) # 2000017c <g_recvBroadcastDevice>
|
|
1f5c: 4715 li a4,5
|
|
1f5e: 000025b7 lui a1,0x2
|
|
1f62: 84e18423 sb a4,-1976(gp) # 20000180 <g_recvBroadcastRegisterNumber>
|
|
1f66: 4681 li a3,0
|
|
1f68: 4705 li a4,1
|
|
1f6a: 4629 li a2,10
|
|
1f6c: 5f858593 addi a1,a1,1528 # 25f8 <Task_recvbroadcast>
|
|
1f70: 8bc18513 addi a0,gp,-1860 # 200001f4 <m_recvbroadcast>
|
|
1f74: 84e18023 sb a4,-1984(gp) # 20000178 <RegistrationRequestFlag>
|
|
1f78: a47ff0ef jal ra,19be <TimeSliceOffset_Register>
|
|
1f7c: a18fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f80 <CheckFunc>:
|
|
1f80: 67c1 lui a5,0x10
|
|
1f82: 7669 lui a2,0xffffa
|
|
1f84: 4681 li a3,0
|
|
1f86: 17fd addi a5,a5,-1
|
|
1f88: 0605 addi a2,a2,1
|
|
1f8a: 01069713 slli a4,a3,0x10
|
|
1f8e: 8341 srli a4,a4,0x10
|
|
1f90: 00b76463 bltu a4,a1,1f98 <CheckFunc+0x18>
|
|
1f94: 853e mv a0,a5
|
|
1f96: 8082 ret
|
|
1f98: 00d50733 add a4,a0,a3
|
|
1f9c: 2318 lbu a4,0(a4)
|
|
1f9e: 8fb9 xor a5,a5,a4
|
|
1fa0: 4721 li a4,8
|
|
1fa2: 0017f813 andi a6,a5,1
|
|
1fa6: 8385 srli a5,a5,0x1
|
|
1fa8: 00080563 beqz a6,1fb2 <CheckFunc+0x32>
|
|
1fac: 8fb1 xor a5,a5,a2
|
|
1fae: 07c2 slli a5,a5,0x10
|
|
1fb0: 83c1 srli a5,a5,0x10
|
|
1fb2: 177d addi a4,a4,-1
|
|
1fb4: 0742 slli a4,a4,0x10
|
|
1fb6: 8341 srli a4,a4,0x10
|
|
1fb8: f76d bnez a4,1fa2 <CheckFunc+0x22>
|
|
1fba: 0685 addi a3,a3,1
|
|
1fbc: b7f9 j 1f8a <CheckFunc+0xa>
|
|
|
|
00001fbe <SL_MsgProcFunc_Read_Register>:
|
|
1fbe: 98afe2ef jal t0,148 <__riscv_save_10>
|
|
1fc2: 00c5c903 lbu s2,12(a1)
|
|
1fc6: 35dc lbu a5,13(a1)
|
|
1fc8: 1101 addi sp,sp,-32
|
|
1fca: 0922 slli s2,s2,0x8
|
|
1fcc: 00f96933 or s2,s2,a5
|
|
1fd0: 0942 slli s2,s2,0x10
|
|
1fd2: 41095913 srai s2,s2,0x10
|
|
1fd6: 01091493 slli s1,s2,0x10
|
|
1fda: 80c1 srli s1,s1,0x10
|
|
1fdc: 4795 li a5,5
|
|
1fde: 0097ff63 bgeu a5,s1,1ffc <SL_MsgProcFunc_Read_Register+0x3e>
|
|
1fe2: 00005537 lui a0,0x5
|
|
1fe6: 86a6 mv a3,s1
|
|
1fe8: 0b800613 li a2,184
|
|
1fec: 4585 li a1,1
|
|
1fee: e0050513 addi a0,a0,-512 # 4e00 <_read+0xd6>
|
|
1ff2: 295010ef jal ra,3a86 <iprintf>
|
|
1ff6: 6105 addi sp,sp,32
|
|
1ff8: 988fe06f j 180 <__riscv_restore_10>
|
|
1ffc: 25b4 lbu a3,10(a1)
|
|
1ffe: 35bc lbu a5,11(a1)
|
|
2000: 06a2 slli a3,a3,0x8
|
|
2002: 8edd or a3,a3,a5
|
|
2004: 20000793 li a5,512
|
|
2008: 00d7fa63 bgeu a5,a3,201c <SL_MsgProcFunc_Read_Register+0x5e>
|
|
200c: 00005537 lui a0,0x5
|
|
2010: 0be00613 li a2,190
|
|
2014: 4585 li a1,1
|
|
2016: e3050513 addi a0,a0,-464 # 4e30 <_read+0x106>
|
|
201a: bfe1 j 1ff2 <SL_MsgProcFunc_Read_Register+0x34>
|
|
201c: 89aa mv s3,a0
|
|
201e: ca02 sw zero,20(sp)
|
|
2020: cc02 sw zero,24(sp)
|
|
2022: 00011e23 sh zero,28(sp)
|
|
2026: 01410a93 addi s5,sp,20
|
|
202a: 8a36 mv s4,a3
|
|
202c: 20000b37 lui s6,0x20000
|
|
2030: 40da07b3 sub a5,s4,a3
|
|
2034: 07c2 slli a5,a5,0x10
|
|
2036: 83c1 srli a5,a5,0x10
|
|
2038: 0897ec63 bltu a5,s1,20d0 <SL_MsgProcFunc_Read_Register+0x112>
|
|
203c: 87818413 addi s0,gp,-1928 # 200001b0 <rs485_buff>
|
|
2040: 00c40513 addi a0,s0,12
|
|
2044: 02600613 li a2,38
|
|
2048: 4581 li a1,0
|
|
204a: 956fe0ef jal ra,1a0 <memset>
|
|
204e: 20000737 lui a4,0x20000
|
|
2052: 02074783 lbu a5,32(a4) # 20000020 <g_slConfigInfo>
|
|
2056: 012405a3 sb s2,11(s0)
|
|
205a: 00040523 sb zero,10(s0)
|
|
205e: a01c sb a5,0(s0)
|
|
2060: 02070793 addi a5,a4,32
|
|
2064: 3394 lbu a3,1(a5)
|
|
2066: 8952 mv s2,s4
|
|
2068: 00149a93 slli s5,s1,0x1
|
|
206c: b014 sb a3,1(s0)
|
|
206e: 23b4 lbu a3,2(a5)
|
|
2070: 02070a13 addi s4,a4,32
|
|
2074: a034 sb a3,2(s0)
|
|
2076: 33b4 lbu a3,3(a5)
|
|
2078: b034 sb a3,3(s0)
|
|
207a: 23d4 lbu a3,4(a5)
|
|
207c: a054 sb a3,4(s0)
|
|
207e: 33d4 lbu a3,5(a5)
|
|
2080: b054 sb a3,5(s0)
|
|
2082: 23f4 lbu a3,6(a5)
|
|
2084: a074 sb a3,6(s0)
|
|
2086: 33f4 lbu a3,7(a5)
|
|
2088: 279c lbu a5,8(a5)
|
|
208a: b074 sb a3,7(s0)
|
|
208c: a41c sb a5,8(s0)
|
|
208e: 03000793 li a5,48
|
|
2092: b41c sb a5,9(s0)
|
|
2094: 4781 li a5,0
|
|
2096: 88418413 addi s0,gp,-1916 # 200001bc <rs485_buff+0xc>
|
|
209a: 0557cf63 blt a5,s5,20f8 <SL_MsgProcFunc_Read_Register+0x13a>
|
|
209e: 00648593 addi a1,s1,6
|
|
20a2: 0586 slli a1,a1,0x1
|
|
20a4: 0fe5f593 andi a1,a1,254
|
|
20a8: 87818513 addi a0,gp,-1928 # 200001b0 <rs485_buff>
|
|
20ac: 3dd1 jal 1f80 <CheckFunc>
|
|
20ae: 00851793 slli a5,a0,0x8
|
|
20b2: 8121 srli a0,a0,0x8
|
|
20b4: 8d5d or a0,a0,a5
|
|
20b6: 009a4783 lbu a5,9(s4)
|
|
20ba: 9456 add s0,s0,s5
|
|
20bc: a00a sh a0,0(s0)
|
|
20be: a03c sb a5,2(s0)
|
|
20c0: 010a8613 addi a2,s5,16
|
|
20c4: 87818593 addi a1,gp,-1928 # 200001b0 <rs485_buff>
|
|
20c8: 854e mv a0,s3
|
|
20ca: 09f000ef jal ra,2968 <uart_dev_write>
|
|
20ce: b725 j 1ff6 <SL_MsgProcFunc_Read_Register+0x38>
|
|
20d0: 058b0413 addi s0,s6,88 # 20000058 <g_RegTblR>
|
|
20d4: 04840b93 addi s7,s0,72
|
|
20d8: 401c lw a5,0(s0)
|
|
20da: 01479963 bne a5,s4,20ec <SL_MsgProcFunc_Read_Register+0x12e>
|
|
20de: 405c lw a5,4(s0)
|
|
20e0: 4501 li a0,0
|
|
20e2: c636 sw a3,12(sp)
|
|
20e4: 9782 jalr a5
|
|
20e6: 46b2 lw a3,12(sp)
|
|
20e8: 00aa9023 sh a0,0(s5)
|
|
20ec: 0421 addi s0,s0,8
|
|
20ee: fe8b95e3 bne s7,s0,20d8 <SL_MsgProcFunc_Read_Register+0x11a>
|
|
20f2: 0a89 addi s5,s5,2
|
|
20f4: 0a05 addi s4,s4,1
|
|
20f6: bf2d j 2030 <SL_MsgProcFunc_Read_Register+0x72>
|
|
20f8: 1010 addi a2,sp,32
|
|
20fa: 0fe7f713 andi a4,a5,254
|
|
20fe: 9732 add a4,a4,a2
|
|
2100: 0017f613 andi a2,a5,1
|
|
2104: 00f406b3 add a3,s0,a5
|
|
2108: ff475703 lhu a4,-12(a4)
|
|
210c: e211 bnez a2,2110 <SL_MsgProcFunc_Read_Register+0x152>
|
|
210e: 8321 srli a4,a4,0x8
|
|
2110: 0785 addi a5,a5,1
|
|
2112: a298 sb a4,0(a3)
|
|
2114: 0ff7f793 andi a5,a5,255
|
|
2118: b749 j 209a <SL_MsgProcFunc_Read_Register+0xdc>
|
|
|
|
0000211a <randomDelay>:
|
|
211a: 856fe2ef jal t0,170 <__riscv_save_0>
|
|
211e: 40001537 lui a0,0x40001
|
|
2122: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
2126: f19fe0ef jal ra,103e <TIM_GetCounter>
|
|
212a: 27d010ef jal ra,3ba6 <srand>
|
|
212e: 2cf010ef jal ra,3bfc <rand>
|
|
2132: 0f100793 li a5,241
|
|
2136: 02f56533 rem a0,a0,a5
|
|
213a: 47a9 li a5,10
|
|
213c: 0529 addi a0,a0,10
|
|
213e: 02f50533 mul a0,a0,a5
|
|
2142: 852fe06f j 194 <__riscv_restore_0>
|
|
|
|
00002146 <Check_485_bus_busy>:
|
|
2146: 810fe2ef jal t0,156 <__riscv_save_4>
|
|
214a: 8501a703 lw a4,-1968(gp) # 20000188 <g_bat485_uart3_handle>
|
|
214e: 842a mv s0,a0
|
|
2150: 84be mv s1,a5
|
|
2152: 4605 li a2,1
|
|
2154: 52500593 li a1,1317
|
|
2158: 04a71c63 bne a4,a0,21b0 <Check_485_bus_busy+0x6a>
|
|
215c: 40005537 lui a0,0x40005
|
|
2160: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2164: fe7fe0ef jal ra,114a <USART_ITConfig>
|
|
2168: 8522 mv a0,s0
|
|
216a: 091000ef jal ra,29fa <ring_queue_length>
|
|
216e: 01051913 slli s2,a0,0x10
|
|
2172: 4509 li a0,2
|
|
2174: 9d1ff0ef jal ra,1b44 <Delay_Ms>
|
|
2178: 8522 mv a0,s0
|
|
217a: 081000ef jal ra,29fa <ring_queue_length>
|
|
217e: 8501a783 lw a5,-1968(gp) # 20000188 <g_bat485_uart3_handle>
|
|
2182: 01051993 slli s3,a0,0x10
|
|
2186: 01095913 srli s2,s2,0x10
|
|
218a: 0109d993 srli s3,s3,0x10
|
|
218e: 4601 li a2,0
|
|
2190: 52500593 li a1,1317
|
|
2194: 40005537 lui a0,0x40005
|
|
2198: 02879163 bne a5,s0,21ba <Check_485_bus_busy+0x74>
|
|
219c: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
21a0: fabfe0ef jal ra,114a <USART_ITConfig>
|
|
21a4: 41390533 sub a0,s2,s3
|
|
21a8: 00a03533 snez a0,a0
|
|
21ac: fdffd06f j 18a <__riscv_restore_4>
|
|
21b0: 40005537 lui a0,0x40005
|
|
21b4: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
21b8: b775 j 2164 <Check_485_bus_busy+0x1e>
|
|
21ba: c0050513 addi a0,a0,-1024
|
|
21be: b7cd j 21a0 <Check_485_bus_busy+0x5a>
|
|
|
|
000021c0 <FRT_MsgHandler>:
|
|
21c0: f97fd2ef jal t0,156 <__riscv_save_4>
|
|
21c4: 20000437 lui s0,0x20000
|
|
21c8: 03840413 addi s0,s0,56 # 20000038 <g_MsgTbl>
|
|
21cc: 89aa mv s3,a0
|
|
21ce: 84ae mv s1,a1
|
|
21d0: 8a32 mv s4,a2
|
|
21d2: 02040913 addi s2,s0,32
|
|
21d6: 3498 lbu a4,9(s1)
|
|
21d8: 401c lw a5,0(s0)
|
|
21da: 00f71763 bne a4,a5,21e8 <FRT_MsgHandler+0x28>
|
|
21de: 405c lw a5,4(s0)
|
|
21e0: 8652 mv a2,s4
|
|
21e2: 85a6 mv a1,s1
|
|
21e4: 854e mv a0,s3
|
|
21e6: 9782 jalr a5
|
|
21e8: 0421 addi s0,s0,8
|
|
21ea: ff2416e3 bne s0,s2,21d6 <FRT_MsgHandler+0x16>
|
|
21ee: f9dfd06f j 18a <__riscv_restore_4>
|
|
|
|
000021f2 <read_and_process_uart_data>:
|
|
21f2: f4ffd2ef jal t0,140 <__riscv_save_12>
|
|
21f6: 1141 addi sp,sp,-16
|
|
21f8: 8caa mv s9,a0
|
|
21fa: 7c2000ef jal ra,29bc <uart_dev_char_present>
|
|
21fe: 24050e63 beqz a0,245a <read_and_process_uart_data+0x268>
|
|
2202: 4551 li a0,20
|
|
2204: 941ff0ef jal ra,1b44 <Delay_Ms>
|
|
2208: 03200613 li a2,50
|
|
220c: 4581 li a1,0
|
|
220e: 87818513 addi a0,gp,-1928 # 200001b0 <rs485_buff>
|
|
2212: 87818413 addi s0,gp,-1928 # 200001b0 <rs485_buff>
|
|
2216: 20000db7 lui s11,0x20000
|
|
221a: f87fd0ef jal ra,1a0 <memset>
|
|
221e: 4901 li s2,0
|
|
2220: 4a81 li s5,0
|
|
2222: 4481 li s1,0
|
|
2224: 4a01 li s4,0
|
|
2226: 00140c13 addi s8,s0,1
|
|
222a: 020d8b13 addi s6,s11,32 # 20000020 <g_slConfigInfo>
|
|
222e: 8566 mv a0,s9
|
|
2230: 7ca000ef jal ra,29fa <ring_queue_length>
|
|
2234: 22050363 beqz a0,245a <read_and_process_uart_data+0x268>
|
|
2238: 8566 mv a0,s9
|
|
223a: 79a000ef jal ra,29d4 <uart_dev_in_char>
|
|
223e: 87818793 addi a5,gp,-1928 # 200001b0 <rs485_buff>
|
|
2242: 97d2 add a5,a5,s4
|
|
2244: c63e sw a5,12(sp)
|
|
2246: a388 sb a0,0(a5)
|
|
2248: 001a0b93 addi s7,s4,1
|
|
224c: 4789 li a5,2
|
|
224e: 00fb8463 beq s7,a5,2256 <read_and_process_uart_data+0x64>
|
|
2252: 2c048263 beqz s1,2516 <read_and_process_uart_data+0x324>
|
|
2256: 2018 lbu a4,0(s0)
|
|
2258: 020dc783 lbu a5,32(s11)
|
|
225c: 14f71063 bne a4,a5,239c <read_and_process_uart_data+0x1aa>
|
|
2260: 3018 lbu a4,1(s0)
|
|
2262: 001b4783 lbu a5,1(s6)
|
|
2266: 12f71b63 bne a4,a5,239c <read_and_process_uart_data+0x1aa>
|
|
226a: 00005537 lui a0,0x5
|
|
226e: 1e300613 li a2,483
|
|
2272: 4585 li a1,1
|
|
2274: 05450513 addi a0,a0,84 # 5054 <_read+0x32a>
|
|
2278: 00f010ef jal ra,3a86 <iprintf>
|
|
227c: 47a5 li a5,9
|
|
227e: 06fb9863 bne s7,a5,22ee <read_and_process_uart_data+0xfc>
|
|
2282: 8611c783 lbu a5,-1951(gp) # 20000199 <g_Mppt_Para+0x1>
|
|
2286: 8601c703 lbu a4,-1952(gp) # 20000198 <g_Mppt_Para>
|
|
228a: 07a2 slli a5,a5,0x8
|
|
228c: 8fd9 or a5,a5,a4
|
|
228e: 4709 li a4,2
|
|
2290: 0ce79863 bne a5,a4,2360 <read_and_process_uart_data+0x16e>
|
|
2294: 2038 lbu a4,2(s0)
|
|
2296: 002b4783 lbu a5,2(s6)
|
|
229a: 0cf71363 bne a4,a5,2360 <read_and_process_uart_data+0x16e>
|
|
229e: 3038 lbu a4,3(s0)
|
|
22a0: 003b4783 lbu a5,3(s6)
|
|
22a4: 0af71e63 bne a4,a5,2360 <read_and_process_uart_data+0x16e>
|
|
22a8: 2058 lbu a4,4(s0)
|
|
22aa: 004b4783 lbu a5,4(s6)
|
|
22ae: 0af71963 bne a4,a5,2360 <read_and_process_uart_data+0x16e>
|
|
22b2: 3058 lbu a4,5(s0)
|
|
22b4: 005b4783 lbu a5,5(s6)
|
|
22b8: 0af71463 bne a4,a5,2360 <read_and_process_uart_data+0x16e>
|
|
22bc: 2078 lbu a4,6(s0)
|
|
22be: 006b4783 lbu a5,6(s6)
|
|
22c2: 08f71f63 bne a4,a5,2360 <read_and_process_uart_data+0x16e>
|
|
22c6: 3078 lbu a4,7(s0)
|
|
22c8: 007b4783 lbu a5,7(s6)
|
|
22cc: 08f71a63 bne a4,a5,2360 <read_and_process_uart_data+0x16e>
|
|
22d0: 2418 lbu a4,8(s0)
|
|
22d2: 008b4783 lbu a5,8(s6)
|
|
22d6: 08f71563 bne a4,a5,2360 <read_and_process_uart_data+0x16e>
|
|
22da: 00005537 lui a0,0x5
|
|
22de: 1fc00613 li a2,508
|
|
22e2: 4585 li a1,1
|
|
22e4: 08050513 addi a0,a0,128 # 5080 <_read+0x356>
|
|
22e8: 79e010ef jal ra,3a86 <iprintf>
|
|
22ec: a021 j 22f4 <read_and_process_uart_data+0x102>
|
|
22ee: 4785 li a5,1
|
|
22f0: f897e9e3 bltu a5,s1,2282 <read_and_process_uart_data+0x90>
|
|
22f4: 47a9 li a5,10
|
|
22f6: 00fb8563 beq s7,a5,2300 <read_and_process_uart_data+0x10e>
|
|
22fa: 4789 li a5,2
|
|
22fc: 1697f263 bgeu a5,s1,2460 <read_and_process_uart_data+0x26e>
|
|
2300: 8611c783 lbu a5,-1951(gp) # 20000199 <g_Mppt_Para+0x1>
|
|
2304: 8601c703 lbu a4,-1952(gp) # 20000198 <g_Mppt_Para>
|
|
2308: 3414 lbu a3,9(s0)
|
|
230a: 07a2 slli a5,a5,0x8
|
|
230c: 8fd9 or a5,a5,a4
|
|
230e: 4709 li a4,2
|
|
2310: 0ee79563 bne a5,a4,23fa <read_and_process_uart_data+0x208>
|
|
2314: 03000793 li a5,48
|
|
2318: 08f69963 bne a3,a5,23aa <read_and_process_uart_data+0x1b8>
|
|
231c: 00005537 lui a0,0x5
|
|
2320: 25d00613 li a2,605
|
|
2324: 4585 li a1,1
|
|
2326: 0e050513 addi a0,a0,224 # 50e0 <_read+0x3b6>
|
|
232a: 75c010ef jal ra,3a86 <iprintf>
|
|
232e: 4a81 li s5,0
|
|
2330: 4945 li s2,17
|
|
2332: 1f2b9063 bne s7,s2,2512 <read_and_process_uart_data+0x320>
|
|
2336: 341c lbu a5,9(s0)
|
|
2338: 03000713 li a4,48
|
|
233c: 12e79563 bne a5,a4,2466 <read_and_process_uart_data+0x274>
|
|
2340: ffd90593 addi a1,s2,-3
|
|
2344: 0ff5f593 andi a1,a1,255
|
|
2348: 87818513 addi a0,gp,-1928 # 200001b0 <rs485_buff>
|
|
234c: c35ff0ef jal ra,1f80 <CheckFunc>
|
|
2350: 247c lbu a5,14(s0)
|
|
2352: 3478 lbu a4,15(s0)
|
|
2354: 07a2 slli a5,a5,0x8
|
|
2356: 8fd9 or a5,a5,a4
|
|
2358: 16a79863 bne a5,a0,24c8 <read_and_process_uart_data+0x2d6>
|
|
235c: 2818 lbu a4,16(s0)
|
|
235e: aa1d j 2494 <read_and_process_uart_data+0x2a2>
|
|
2360: 8401c783 lbu a5,-1984(gp) # 20000178 <RegistrationRequestFlag>
|
|
2364: fbc1 bnez a5,22f4 <read_and_process_uart_data+0x102>
|
|
2366: 3038 lbu a4,3(s0)
|
|
2368: 203c lbu a5,2(s0)
|
|
236a: 8ff9 and a5,a5,a4
|
|
236c: 2058 lbu a4,4(s0)
|
|
236e: 8ff9 and a5,a5,a4
|
|
2370: 3058 lbu a4,5(s0)
|
|
2372: 8ff9 and a5,a5,a4
|
|
2374: 2078 lbu a4,6(s0)
|
|
2376: 8ff9 and a5,a5,a4
|
|
2378: 3078 lbu a4,7(s0)
|
|
237a: 8ff9 and a5,a5,a4
|
|
237c: 2418 lbu a4,8(s0)
|
|
237e: 8ff9 and a5,a5,a4
|
|
2380: 0ff00713 li a4,255
|
|
2384: 00e79a63 bne a5,a4,2398 <read_and_process_uart_data+0x1a6>
|
|
2388: 00005537 lui a0,0x5
|
|
238c: 21100613 li a2,529
|
|
2390: 4585 li a1,1
|
|
2392: 0ac50513 addi a0,a0,172 # 50ac <_read+0x382>
|
|
2396: bf89 j 22e8 <read_and_process_uart_data+0xf6>
|
|
2398: e091 bnez s1,239c <read_and_process_uart_data+0x1aa>
|
|
239a: 4485 li s1,1
|
|
239c: 8652 mv a2,s4
|
|
239e: 85e2 mv a1,s8
|
|
23a0: 87818513 addi a0,gp,-1928 # 200001b0 <rs485_buff>
|
|
23a4: 630010ef jal ra,39d4 <memcpy>
|
|
23a8: a06d j 2452 <read_and_process_uart_data+0x260>
|
|
23aa: 47c1 li a5,16
|
|
23ac: 02f69563 bne a3,a5,23d6 <read_and_process_uart_data+0x1e4>
|
|
23b0: 00005537 lui a0,0x5
|
|
23b4: 26500613 li a2,613
|
|
23b8: 4585 li a1,1
|
|
23ba: 10450513 addi a0,a0,260 # 5104 <_read+0x3da>
|
|
23be: 6c8010ef jal ra,3a86 <iprintf>
|
|
23c2: 47b9 li a5,14
|
|
23c4: 4a85 li s5,1
|
|
23c6: f6fb96e3 bne s7,a5,2332 <read_and_process_uart_data+0x140>
|
|
23ca: 00d44903 lbu s2,13(s0)
|
|
23ce: 4a39 li s4,14
|
|
23d0: 0906 slli s2,s2,0x1
|
|
23d2: 0945 addi s2,s2,17
|
|
23d4: bda9 j 222e <read_and_process_uart_data+0x3c>
|
|
23d6: 0a000793 li a5,160
|
|
23da: 26d00613 li a2,621
|
|
23de: 02f68463 beq a3,a5,2406 <read_and_process_uart_data+0x214>
|
|
23e2: 0a100793 li a5,161
|
|
23e6: 06f69d63 bne a3,a5,2460 <read_and_process_uart_data+0x26e>
|
|
23ea: 27500613 li a2,629
|
|
23ee: 000057b7 lui a5,0x5
|
|
23f2: 4585 li a1,1
|
|
23f4: 14c78513 addi a0,a5,332 # 514c <_read+0x422>
|
|
23f8: bf0d j 232a <read_and_process_uart_data+0x138>
|
|
23fa: 0a000793 li a5,160
|
|
23fe: 00f69e63 bne a3,a5,241a <read_and_process_uart_data+0x228>
|
|
2402: 28000613 li a2,640
|
|
2406: 00005537 lui a0,0x5
|
|
240a: 4585 li a1,1
|
|
240c: 12850513 addi a0,a0,296 # 5128 <_read+0x3fe>
|
|
2410: 676010ef jal ra,3a86 <iprintf>
|
|
2414: 4a81 li s5,0
|
|
2416: 4935 li s2,13
|
|
2418: bf29 j 2332 <read_and_process_uart_data+0x140>
|
|
241a: 0a100793 li a5,161
|
|
241e: 28800613 li a2,648
|
|
2422: fcf686e3 beq a3,a5,23ee <read_and_process_uart_data+0x1fc>
|
|
2426: 87a6 mv a5,s1
|
|
2428: 00e4f363 bgeu s1,a4,242e <read_and_process_uart_data+0x23c>
|
|
242c: 4789 li a5,2
|
|
242e: 0ff7f493 andi s1,a5,255
|
|
2432: 000057b7 lui a5,0x5
|
|
2436: 29300613 li a2,659
|
|
243a: 4585 li a1,1
|
|
243c: 17478513 addi a0,a5,372 # 5174 <_read+0x44a>
|
|
2440: 646010ef jal ra,3a86 <iprintf>
|
|
2444: 8652 mv a2,s4
|
|
2446: 85e2 mv a1,s8
|
|
2448: 87818513 addi a0,gp,-1928 # 200001b0 <rs485_buff>
|
|
244c: 588010ef jal ra,39d4 <memcpy>
|
|
2450: 4a81 li s5,0
|
|
2452: 03000793 li a5,48
|
|
2456: dd47fce3 bgeu a5,s4,222e <read_and_process_uart_data+0x3c>
|
|
245a: 0141 addi sp,sp,16
|
|
245c: d21fd06f j 17c <__riscv_restore_12>
|
|
2460: ec0a89e3 beqz s5,2332 <read_and_process_uart_data+0x140>
|
|
2464: bfb9 j 23c2 <read_and_process_uart_data+0x1d0>
|
|
2466: 4741 li a4,16
|
|
2468: 02e79a63 bne a5,a4,249c <read_and_process_uart_data+0x2aa>
|
|
246c: ffd90593 addi a1,s2,-3
|
|
2470: 0ff5f593 andi a1,a1,255
|
|
2474: 87818513 addi a0,gp,-1928 # 200001b0 <rs485_buff>
|
|
2478: b09ff0ef jal ra,1f80 <CheckFunc>
|
|
247c: 01440733 add a4,s0,s4
|
|
2480: ffe74783 lbu a5,-2(a4)
|
|
2484: fff74703 lbu a4,-1(a4)
|
|
2488: 07a2 slli a5,a5,0x8
|
|
248a: 8fd9 or a5,a5,a4
|
|
248c: 02a79e63 bne a5,a0,24c8 <read_and_process_uart_data+0x2d6>
|
|
2490: 47b2 lw a5,12(sp)
|
|
2492: 2398 lbu a4,0(a5)
|
|
2494: 47d9 li a5,22
|
|
2496: 02f71963 bne a4,a5,24c8 <read_and_process_uart_data+0x2d6>
|
|
249a: a8a1 j 24f2 <read_and_process_uart_data+0x300>
|
|
249c: 0a000713 li a4,160
|
|
24a0: 06e79363 bne a5,a4,2506 <read_and_process_uart_data+0x314>
|
|
24a4: ffd90593 addi a1,s2,-3
|
|
24a8: 0ff5f593 andi a1,a1,255
|
|
24ac: 87818513 addi a0,gp,-1928 # 200001b0 <rs485_buff>
|
|
24b0: ad1ff0ef jal ra,1f80 <CheckFunc>
|
|
24b4: 243c lbu a5,10(s0)
|
|
24b6: 3438 lbu a4,11(s0)
|
|
24b8: 07a2 slli a5,a5,0x8
|
|
24ba: 8fd9 or a5,a5,a4
|
|
24bc: 00a79663 bne a5,a0,24c8 <read_and_process_uart_data+0x2d6>
|
|
24c0: 2458 lbu a4,12(s0)
|
|
24c2: 47d9 li a5,22
|
|
24c4: 00f70a63 beq a4,a5,24d8 <read_and_process_uart_data+0x2e6>
|
|
24c8: 470d li a4,3
|
|
24ca: 87a6 mv a5,s1
|
|
24cc: 00e4f363 bgeu s1,a4,24d2 <read_and_process_uart_data+0x2e0>
|
|
24d0: 478d li a5,3
|
|
24d2: 0ff7f493 andi s1,a5,255
|
|
24d6: b5d9 j 239c <read_and_process_uart_data+0x1aa>
|
|
24d8: 8501a783 lw a5,-1968(gp) # 20000188 <g_bat485_uart3_handle>
|
|
24dc: 4601 li a2,0
|
|
24de: 52500593 li a1,1317
|
|
24e2: 40005537 lui a0,0x40005
|
|
24e6: 00fc9d63 bne s9,a5,2500 <read_and_process_uart_data+0x30e>
|
|
24ea: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
24ee: c5dfe0ef jal ra,114a <USART_ITConfig>
|
|
24f2: 864a mv a2,s2
|
|
24f4: 87818593 addi a1,gp,-1928 # 200001b0 <rs485_buff>
|
|
24f8: 8566 mv a0,s9
|
|
24fa: cc7ff0ef jal ra,21c0 <FRT_MsgHandler>
|
|
24fe: bfb1 j 245a <read_and_process_uart_data+0x268>
|
|
2500: c0050513 addi a0,a0,-1024
|
|
2504: b7ed j 24ee <read_and_process_uart_data+0x2fc>
|
|
2506: 0a100713 li a4,161
|
|
250a: e2e78be3 beq a5,a4,2340 <read_and_process_uart_data+0x14e>
|
|
250e: 8a4a mv s4,s2
|
|
2510: b789 j 2452 <read_and_process_uart_data+0x260>
|
|
2512: 8a5e mv s4,s7
|
|
2514: bf3d j 2452 <read_and_process_uart_data+0x260>
|
|
2516: 47a5 li a5,9
|
|
2518: dcfb9ee3 bne s7,a5,22f4 <read_and_process_uart_data+0x102>
|
|
251c: b39d j 2282 <read_and_process_uart_data+0x90>
|
|
|
|
0000251e <Task_wdi>:
|
|
251e: 84c18793 addi a5,gp,-1972 # 20000184 <temp.5734>
|
|
2522: 4398 lw a4,0(a5)
|
|
2524: 66d5 lui a3,0x15
|
|
2526: 18068693 addi a3,a3,384 # 15180 <_data_lma+0xfd2c>
|
|
252a: 00d70563 beq a4,a3,2534 <Task_wdi+0x16>
|
|
252e: 0705 addi a4,a4,1
|
|
2530: c398 sw a4,0(a5)
|
|
2532: 8082 ret
|
|
2534: 0007a023 sw zero,0(a5)
|
|
2538: beef07b7 lui a5,0xbeef0
|
|
253c: e000e737 lui a4,0xe000e
|
|
2540: 08078793 addi a5,a5,128 # beef0080 <_eusrstack+0x9eeeb080>
|
|
2544: c73c sw a5,72(a4)
|
|
2546: 8082 ret
|
|
|
|
00002548 <Task_RunLED>:
|
|
2548: c29fd2ef jal t0,170 <__riscv_save_0>
|
|
254c: 84118793 addi a5,gp,-1983 # 20000179 <flag.5720>
|
|
2550: 2390 lbu a2,0(a5)
|
|
2552: 40011537 lui a0,0x40011
|
|
2556: 10000593 li a1,256
|
|
255a: 00163613 seqz a2,a2
|
|
255e: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
2562: a390 sb a2,0(a5)
|
|
2564: c74fe0ef jal ra,9d8 <GPIO_WriteBit>
|
|
2568: c2dfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000256c <Task_usart>:
|
|
256c: c05fd2ef jal t0,170 <__riscv_save_0>
|
|
2570: 8541a503 lw a0,-1964(gp) # 2000018c <g_gw485_uart4_handle>
|
|
2574: c7fff0ef jal ra,21f2 <read_and_process_uart_data>
|
|
2578: c1dfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000257c <Task_CapCharg>:
|
|
257c: bf5fd2ef jal t0,170 <__riscv_save_0>
|
|
2580: f1cff0ef jal ra,1c9c <get_CHG_CURR>
|
|
2584: 1cc010ef jal ra,3750 <__extendsfdf2>
|
|
2588: 000057b7 lui a5,0x5
|
|
258c: 1a07a603 lw a2,416(a5) # 51a0 <_read+0x476>
|
|
2590: 1a47a683 lw a3,420(a5)
|
|
2594: 2995 jal 2a08 <__ledf2>
|
|
2596: 04055f63 bgez a0,25f4 <Task_CapCharg+0x78>
|
|
259a: 00000513 li a0,0
|
|
259e: 400114b7 lui s1,0x40011
|
|
25a2: 912ff0ef jal ra,16b4 <Set_duty_ratio>
|
|
25a6: 4421 li s0,8
|
|
25a8: c0048493 addi s1,s1,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
25ac: 4605 li a2,1
|
|
25ae: 08000593 li a1,128
|
|
25b2: 8526 mv a0,s1
|
|
25b4: c24fe0ef jal ra,9d8 <GPIO_WriteBit>
|
|
25b8: 4505 li a0,1
|
|
25ba: d4cff0ef jal ra,1b06 <Delay_Us>
|
|
25be: 4601 li a2,0
|
|
25c0: 08000593 li a1,128
|
|
25c4: 8526 mv a0,s1
|
|
25c6: c12fe0ef jal ra,9d8 <GPIO_WriteBit>
|
|
25ca: 147d addi s0,s0,-1
|
|
25cc: 4505 li a0,1
|
|
25ce: 0ff47413 andi s0,s0,255
|
|
25d2: d34ff0ef jal ra,1b06 <Delay_Us>
|
|
25d6: f879 bnez s0,25ac <Task_CapCharg+0x30>
|
|
25d8: 000057b7 lui a5,0x5
|
|
25dc: 1987a503 lw a0,408(a5) # 5198 <_read+0x46e>
|
|
25e0: 80a1a623 sw a0,-2036(gp) # 20000144 <duty_ratio>
|
|
25e4: 8d0ff0ef jal ra,16b4 <Set_duty_ratio>
|
|
25e8: 00005537 lui a0,0x5
|
|
25ec: 1a850513 addi a0,a0,424 # 51a8 <_read+0x47e>
|
|
25f0: 5aa010ef jal ra,3b9a <puts>
|
|
25f4: ba1fd06f j 194 <__riscv_restore_0>
|
|
|
|
000025f8 <Task_recvbroadcast>:
|
|
25f8: b5ffd2ef jal t0,156 <__riscv_save_4>
|
|
25fc: 6785 lui a5,0x1
|
|
25fe: 8bc18713 addi a4,gp,-1860 # 200001f4 <m_recvbroadcast>
|
|
2602: 38878793 addi a5,a5,904 # 1388 <SPI_ReadWriteByte+0x1e>
|
|
2606: a33e sh a5,2(a4)
|
|
2608: 84a18713 addi a4,gp,-1974 # 20000182 <run_number.5742>
|
|
260c: 231c lbu a5,0(a4)
|
|
260e: 1101 addi sp,sp,-32
|
|
2610: 00178693 addi a3,a5,1
|
|
2614: 17f5 addi a5,a5,-3
|
|
2616: a314 sb a3,0(a4)
|
|
2618: 0ff7f793 andi a5,a5,255
|
|
261c: 0fb00693 li a3,251
|
|
2620: 00f6ed63 bltu a3,a5,263a <Task_recvbroadcast+0x42>
|
|
2624: 8bc18513 addi a0,gp,-1860 # 200001f4 <m_recvbroadcast>
|
|
2628: 84018023 sb zero,-1984(gp) # 20000178 <RegistrationRequestFlag>
|
|
262c: 00070023 sb zero,0(a4) # e000e000 <_eusrstack+0xc0009000>
|
|
2630: bccff0ef jal ra,19fc <TimeSliceOffset_Unregister>
|
|
2634: 6105 addi sp,sp,32
|
|
2636: b55fd06f j 18a <__riscv_restore_4>
|
|
263a: 4641 li a2,16
|
|
263c: 4581 li a1,0
|
|
263e: 00e10513 addi a0,sp,14
|
|
2642: b5ffd0ef jal ra,1a0 <memset>
|
|
2646: 20000437 lui s0,0x20000
|
|
264a: 02044783 lbu a5,32(s0) # 20000020 <g_slConfigInfo>
|
|
264e: 02040413 addi s0,s0,32
|
|
2652: 45dd li a1,23
|
|
2654: 825c sb a5,4(sp)
|
|
2656: 301c lbu a5,1(s0)
|
|
2658: 0048 addi a0,sp,4
|
|
265a: 84a18493 addi s1,gp,-1974 # 20000182 <run_number.5742>
|
|
265e: 82dc sb a5,5(sp)
|
|
2660: 57fd li a5,-1
|
|
2662: 837c sh a5,6(sp)
|
|
2664: 57fd li a5,-1
|
|
2666: c43e sw a5,8(sp)
|
|
2668: 77e9 lui a5,0xffffa
|
|
266a: 1ff78793 addi a5,a5,511 # ffffa1ff <_eusrstack+0xdfff51ff>
|
|
266e: 867c sh a5,12(sp)
|
|
2670: 8481c783 lbu a5,-1976(gp) # 20000180 <g_recvBroadcastRegisterNumber>
|
|
2674: 87dc sb a5,15(sp)
|
|
2676: 8611c703 lbu a4,-1951(gp) # 20000199 <g_Mppt_Para+0x1>
|
|
267a: 8601c683 lbu a3,-1952(gp) # 20000198 <g_Mppt_Para>
|
|
267e: 86018793 addi a5,gp,-1952 # 20000198 <g_Mppt_Para>
|
|
2682: 0722 slli a4,a4,0x8
|
|
2684: 8f55 or a4,a4,a3
|
|
2686: 00e108a3 sb a4,17(sp)
|
|
268a: 00875693 srli a3,a4,0x8
|
|
268e: 2038 lbu a4,2(s0)
|
|
2690: 00d10823 sb a3,16(sp)
|
|
2694: 00e10923 sb a4,18(sp)
|
|
2698: 3038 lbu a4,3(s0)
|
|
269a: 00e109a3 sb a4,19(sp)
|
|
269e: 2058 lbu a4,4(s0)
|
|
26a0: 00e10a23 sb a4,20(sp)
|
|
26a4: 3058 lbu a4,5(s0)
|
|
26a6: 00e10aa3 sb a4,21(sp)
|
|
26aa: 2078 lbu a4,6(s0)
|
|
26ac: 00e10b23 sb a4,22(sp)
|
|
26b0: 3078 lbu a4,7(s0)
|
|
26b2: 00e10ba3 sb a4,23(sp)
|
|
26b6: 2418 lbu a4,8(s0)
|
|
26b8: 00e10c23 sb a4,24(sp)
|
|
26bc: 3798 lbu a4,9(a5)
|
|
26be: 27bc lbu a5,10(a5)
|
|
26c0: 07a2 slli a5,a5,0x8
|
|
26c2: 8fd9 or a5,a5,a4
|
|
26c4: 0087d713 srli a4,a5,0x8
|
|
26c8: 00f10d23 sb a5,26(sp)
|
|
26cc: 00e10ca3 sb a4,25(sp)
|
|
26d0: 8b1ff0ef jal ra,1f80 <CheckFunc>
|
|
26d4: 00855793 srli a5,a0,0x8
|
|
26d8: 00f10da3 sb a5,27(sp)
|
|
26dc: 341c lbu a5,9(s0)
|
|
26de: 00a10e23 sb a0,28(sp)
|
|
26e2: 4429 li s0,10
|
|
26e4: 00f10ea3 sb a5,29(sp)
|
|
26e8: a33ff0ef jal ra,211a <randomDelay>
|
|
26ec: c58ff0ef jal ra,1b44 <Delay_Ms>
|
|
26f0: 84418913 addi s2,gp,-1980 # 2000017c <g_recvBroadcastDevice>
|
|
26f4: 00092503 lw a0,0(s2)
|
|
26f8: a4fff0ef jal ra,2146 <Check_485_bus_busy>
|
|
26fc: e521 bnez a0,2744 <Task_recvbroadcast+0x14c>
|
|
26fe: 84918793 addi a5,gp,-1975 # 20000181 <recvbroadcast_flag>
|
|
2702: 2394 lbu a3,0(a5)
|
|
2704: 4705 li a4,1
|
|
2706: 00e69763 bne a3,a4,2714 <Task_recvbroadcast+0x11c>
|
|
270a: 00078023 sb zero,0(a5)
|
|
270e: 00048023 sb zero,0(s1)
|
|
2712: b70d j 2634 <Task_recvbroadcast+0x3c>
|
|
2714: 00092503 lw a0,0(s2)
|
|
2718: 466d li a2,27
|
|
271a: 004c addi a1,sp,4
|
|
271c: 24b1 jal 2968 <uart_dev_write>
|
|
271e: 00092703 lw a4,0(s2)
|
|
2722: 8501a783 lw a5,-1968(gp) # 20000188 <g_bat485_uart3_handle>
|
|
2726: 4605 li a2,1
|
|
2728: 52500593 li a1,1317
|
|
272c: 40005537 lui a0,0x40005
|
|
2730: 00f71763 bne a4,a5,273e <Task_recvbroadcast+0x146>
|
|
2734: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2738: a13fe0ef jal ra,114a <USART_ITConfig>
|
|
273c: bde5 j 2634 <Task_recvbroadcast+0x3c>
|
|
273e: c0050513 addi a0,a0,-1024
|
|
2742: bfdd j 2738 <Task_recvbroadcast+0x140>
|
|
2744: 147d addi s0,s0,-1
|
|
2746: 0ff47413 andi s0,s0,255
|
|
274a: fc59 bnez s0,26e8 <Task_recvbroadcast+0xf0>
|
|
274c: b5e5 j 2634 <Task_recvbroadcast+0x3c>
|
|
|
|
0000274e <g_Mppt_Para_Init>:
|
|
274e: 20000737 lui a4,0x20000
|
|
2752: 02070713 addi a4,a4,32 # 20000020 <g_slConfigInfo>
|
|
2756: 2334 lbu a3,2(a4)
|
|
2758: 86018023 sb zero,-1952(gp) # 20000198 <g_Mppt_Para>
|
|
275c: 860180a3 sb zero,-1951(gp) # 20000199 <g_Mppt_Para+0x1>
|
|
2760: 86018793 addi a5,gp,-1952 # 20000198 <g_Mppt_Para>
|
|
2764: a3b4 sb a3,2(a5)
|
|
2766: 3334 lbu a3,3(a4)
|
|
2768: b3b4 sb a3,3(a5)
|
|
276a: 2354 lbu a3,4(a4)
|
|
276c: a3d4 sb a3,4(a5)
|
|
276e: 3354 lbu a3,5(a4)
|
|
2770: b3d4 sb a3,5(a5)
|
|
2772: 2374 lbu a3,6(a4)
|
|
2774: a3f4 sb a3,6(a5)
|
|
2776: 3374 lbu a3,7(a4)
|
|
2778: b3f4 sb a3,7(a5)
|
|
277a: 2714 lbu a3,8(a4)
|
|
277c: a794 sb a3,8(a5)
|
|
277e: 3734 lbu a3,11(a4)
|
|
2780: 2730 lbu a2,10(a4)
|
|
2782: 06a2 slli a3,a3,0x8
|
|
2784: 8ed1 or a3,a3,a2
|
|
2786: b794 sb a3,9(a5)
|
|
2788: 82a1 srli a3,a3,0x8
|
|
278a: a7b4 sb a3,10(a5)
|
|
278c: 2754 lbu a3,12(a4)
|
|
278e: 3758 lbu a4,13(a4)
|
|
2790: 000786a3 sb zero,13(a5)
|
|
2794: 00078723 sb zero,14(a5)
|
|
2798: 0722 slli a4,a4,0x8
|
|
279a: 8f55 or a4,a4,a3
|
|
279c: b7b8 sb a4,11(a5)
|
|
279e: 8321 srli a4,a4,0x8
|
|
27a0: a7d8 sb a4,12(a5)
|
|
27a2: 000787a3 sb zero,15(a5)
|
|
27a6: 00078823 sb zero,16(a5)
|
|
27aa: 000788a3 sb zero,17(a5)
|
|
27ae: 00078923 sb zero,18(a5)
|
|
27b2: 000789a3 sb zero,19(a5)
|
|
27b6: 00078a23 sb zero,20(a5)
|
|
27ba: 00078aa3 sb zero,21(a5)
|
|
27be: 00078b23 sb zero,22(a5)
|
|
27c2: 8082 ret
|
|
|
|
000027c4 <task_Init>:
|
|
27c4: 9adfd2ef jal t0,170 <__riscv_save_0>
|
|
27c8: d52ff0ef jal ra,1d1a <read_config_info>
|
|
27cc: 3749 jal 274e <g_Mppt_Para_Init>
|
|
27ce: 000025b7 lui a1,0x2
|
|
27d2: 4681 li a3,0
|
|
27d4: 3e800613 li a2,1000
|
|
27d8: 54858593 addi a1,a1,1352 # 2548 <Task_RunLED>
|
|
27dc: 8cc18513 addi a0,gp,-1844 # 20000204 <m_runled>
|
|
27e0: 9deff0ef jal ra,19be <TimeSliceOffset_Register>
|
|
27e4: 000025b7 lui a1,0x2
|
|
27e8: 4685 li a3,1
|
|
27ea: 06400613 li a2,100
|
|
27ee: 56c58593 addi a1,a1,1388 # 256c <Task_usart>
|
|
27f2: 8dc18513 addi a0,gp,-1828 # 20000214 <m_usart>
|
|
27f6: 9c8ff0ef jal ra,19be <TimeSliceOffset_Register>
|
|
27fa: 000025b7 lui a1,0x2
|
|
27fe: 46f9 li a3,30
|
|
2800: 3e800613 li a2,1000
|
|
2804: 51e58593 addi a1,a1,1310 # 251e <Task_wdi>
|
|
2808: 8ec18513 addi a0,gp,-1812 # 20000224 <m_wdi>
|
|
280c: 9b2ff0ef jal ra,19be <TimeSliceOffset_Register>
|
|
2810: 000025b7 lui a1,0x2
|
|
2814: 4681 li a3,0
|
|
2816: 3e800613 li a2,1000
|
|
281a: 57c58593 addi a1,a1,1404 # 257c <Task_CapCharg>
|
|
281e: 8ac18513 addi a0,gp,-1876 # 200001e4 <m_CapCharg>
|
|
2822: 99cff0ef jal ra,19be <TimeSliceOffset_Register>
|
|
2826: a04ff0ef jal ra,1a2a <TimeSliceOffset_Start>
|
|
282a: 96bfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000282e <hardware_Init>:
|
|
282e: 943fd2ef jal t0,170 <__riscv_save_0>
|
|
2832: 940ff0ef jal ra,1972 <TIM3_Init>
|
|
2836: 2041 jal 28b6 <uart_dev_init>
|
|
2838: e11fe0ef jal ra,1648 <PWM_TIM_Configuration>
|
|
283c: 99bfe0ef jal ra,11d6 <ADC_all_Init>
|
|
2840: c47fe0ef jal ra,1486 <RUN_LED_Init>
|
|
2844: be9fe0ef jal ra,142c <G_FFMOS_CON_Init>
|
|
2848: c6ffe0ef jal ra,14b6 <WDI_INPUT_Init>
|
|
284c: c9dfe0ef jal ra,14e8 <BEEP_Init>
|
|
2850: cc7fe0ef jal ra,1516 <POW_OUT_CON_Init>
|
|
2854: cf3fe0ef jal ra,1546 <DSG_PROT_Init>
|
|
2858: a6ffe0ef jal ra,12c6 <SPI_Flash_Init>
|
|
285c: 000057b7 lui a5,0x5
|
|
2860: 1b47a503 lw a0,436(a5) # 51b4 <_read+0x48a>
|
|
2864: e51fe0ef jal ra,16b4 <Set_duty_ratio>
|
|
2868: d6bfe0ef jal ra,15d2 <CAPCHARG_Init>
|
|
286c: 929fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002870 <uart_putchar>:
|
|
2870: 901fd2ef jal t0,170 <__riscv_save_0>
|
|
2874: 4401 li s0,0
|
|
2876: c105 beqz a0,2896 <uart_putchar+0x26>
|
|
2878: 2100 lbu s0,0(a0)
|
|
287a: cc11 beqz s0,2896 <uart_putchar+0x26>
|
|
287c: 415c lw a5,4(a0)
|
|
287e: 470d li a4,3
|
|
2880: 00e79e63 bne a5,a4,289c <uart_putchar+0x2c>
|
|
2884: 40005537 lui a0,0x40005
|
|
2888: 0ff5f593 andi a1,a1,255
|
|
288c: 80050513 addi a0,a0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
2890: fe1fe0ef jal ra,1870 <USARTx_SendByte>
|
|
2894: 4405 li s0,1
|
|
2896: 8522 mv a0,s0
|
|
2898: 8fdfd06f j 194 <__riscv_restore_0>
|
|
289c: 4711 li a4,4
|
|
289e: 4405 li s0,1
|
|
28a0: fee79be3 bne a5,a4,2896 <uart_putchar+0x26>
|
|
28a4: 40005537 lui a0,0x40005
|
|
28a8: 0ff5f593 andi a1,a1,255
|
|
28ac: c0050513 addi a0,a0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
28b0: fc1fe0ef jal ra,1870 <USARTx_SendByte>
|
|
28b4: b7cd j 2896 <uart_putchar+0x26>
|
|
|
|
000028b6 <uart_dev_init>:
|
|
28b6: 8bbfd2ef jal t0,170 <__riscv_save_0>
|
|
28ba: 20000437 lui s0,0x20000
|
|
28be: 0a040413 addi s0,s0,160 # 200000a0 <uart_devices>
|
|
28c2: 0c800613 li a2,200
|
|
28c6: 8fc18593 addi a1,gp,-1796 # 20000234 <bat485_in_buff>
|
|
28ca: 00c40513 addi a0,s0,12
|
|
28ce: 9a6ff0ef jal ra,1a74 <InitRingQueue>
|
|
28d2: 4408 lw a0,8(s0)
|
|
28d4: 4485 li s1,1
|
|
28d6: eddfe0ef jal ra,17b2 <BAT_485_Init>
|
|
28da: a004 sb s1,0(s0)
|
|
28dc: 12c00613 li a2,300
|
|
28e0: 9c418593 addi a1,gp,-1596 # 200002fc <gw485_in_buff>
|
|
28e4: 02840513 addi a0,s0,40
|
|
28e8: 8481a823 sw s0,-1968(gp) # 20000188 <g_bat485_uart3_handle>
|
|
28ec: 988ff0ef jal ra,1a74 <InitRingQueue>
|
|
28f0: 5048 lw a0,36(s0)
|
|
28f2: 0471 addi s0,s0,28
|
|
28f4: e0dfe0ef jal ra,1700 <GW_485_Init>
|
|
28f8: a004 sb s1,0(s0)
|
|
28fa: 4501 li a0,0
|
|
28fc: 8481aa23 sw s0,-1964(gp) # 2000018c <g_gw485_uart4_handle>
|
|
2900: 895fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002904 <bat485_tx_enabla>:
|
|
2904: 86dfd2ef jal t0,170 <__riscv_save_0>
|
|
2908: 40011537 lui a0,0x40011
|
|
290c: 4605 li a2,1
|
|
290e: 02000593 li a1,32
|
|
2912: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
2916: 8c2fe0ef jal ra,9d8 <GPIO_WriteBit>
|
|
291a: 87bfd06f j 194 <__riscv_restore_0>
|
|
|
|
0000291e <bat485_tx_disenabla>:
|
|
291e: 853fd2ef jal t0,170 <__riscv_save_0>
|
|
2922: 40011537 lui a0,0x40011
|
|
2926: 4601 li a2,0
|
|
2928: 02000593 li a1,32
|
|
292c: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
2930: 8a8fe0ef jal ra,9d8 <GPIO_WriteBit>
|
|
2934: 861fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002938 <gw485_tx_enabla>:
|
|
2938: 839fd2ef jal t0,170 <__riscv_save_0>
|
|
293c: 40011537 lui a0,0x40011
|
|
2940: 4605 li a2,1
|
|
2942: 45c1 li a1,16
|
|
2944: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
2948: 890fe0ef jal ra,9d8 <GPIO_WriteBit>
|
|
294c: 849fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002950 <gw485_tx_disenabla>:
|
|
2950: 821fd2ef jal t0,170 <__riscv_save_0>
|
|
2954: 40011537 lui a0,0x40011
|
|
2958: 4601 li a2,0
|
|
295a: 45c1 li a1,16
|
|
295c: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
2960: 878fe0ef jal ra,9d8 <GPIO_WriteBit>
|
|
2964: 831fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002968 <uart_dev_write>:
|
|
2968: feefd2ef jal t0,156 <__riscv_save_4>
|
|
296c: 8501a703 lw a4,-1968(gp) # 20000188 <g_bat485_uart3_handle>
|
|
2970: 842a mv s0,a0
|
|
2972: 8a2e mv s4,a1
|
|
2974: 89b2 mv s3,a2
|
|
2976: 85018493 addi s1,gp,-1968 # 20000188 <g_bat485_uart3_handle>
|
|
297a: 00a71c63 bne a4,a0,2992 <uart_dev_write+0x2a>
|
|
297e: 3759 jal 2904 <bat485_tx_enabla>
|
|
2980: 4901 li s2,0
|
|
2982: 01394e63 blt s2,s3,299e <uart_dev_write+0x36>
|
|
2986: 409c lw a5,0(s1)
|
|
2988: 02879463 bne a5,s0,29b0 <uart_dev_write+0x48>
|
|
298c: 3f49 jal 291e <bat485_tx_disenabla>
|
|
298e: ffcfd06f j 18a <__riscv_restore_4>
|
|
2992: 8541a783 lw a5,-1964(gp) # 2000018c <g_gw485_uart4_handle>
|
|
2996: fea795e3 bne a5,a0,2980 <uart_dev_write+0x18>
|
|
299a: 3f79 jal 2938 <gw485_tx_enabla>
|
|
299c: b7d5 j 2980 <uart_dev_write+0x18>
|
|
299e: 012a07b3 add a5,s4,s2
|
|
29a2: 00078583 lb a1,0(a5)
|
|
29a6: 8522 mv a0,s0
|
|
29a8: 0905 addi s2,s2,1
|
|
29aa: ec7ff0ef jal ra,2870 <uart_putchar>
|
|
29ae: bfd1 j 2982 <uart_dev_write+0x1a>
|
|
29b0: 8541a783 lw a5,-1964(gp) # 2000018c <g_gw485_uart4_handle>
|
|
29b4: fc879de3 bne a5,s0,298e <uart_dev_write+0x26>
|
|
29b8: 3f61 jal 2950 <gw485_tx_disenabla>
|
|
29ba: bfd1 j 298e <uart_dev_write+0x26>
|
|
|
|
000029bc <uart_dev_char_present>:
|
|
29bc: 4781 li a5,0
|
|
29be: c909 beqz a0,29d0 <uart_dev_char_present+0x14>
|
|
29c0: 2118 lbu a4,0(a0)
|
|
29c2: 4781 li a5,0
|
|
29c4: c711 beqz a4,29d0 <uart_dev_char_present+0x14>
|
|
29c6: 495c lw a5,20(a0)
|
|
29c8: 4d08 lw a0,24(a0)
|
|
29ca: 8f89 sub a5,a5,a0
|
|
29cc: 00f037b3 snez a5,a5
|
|
29d0: 853e mv a0,a5
|
|
29d2: 8082 ret
|
|
|
|
000029d4 <uart_dev_in_char>:
|
|
29d4: f9cfd2ef jal t0,170 <__riscv_save_0>
|
|
29d8: 1141 addi sp,sp,-16
|
|
29da: 842a mv s0,a0
|
|
29dc: 000107a3 sb zero,15(sp)
|
|
29e0: 3ff1 jal 29bc <uart_dev_char_present>
|
|
29e2: c519 beqz a0,29f0 <uart_dev_in_char+0x1c>
|
|
29e4: 00f10593 addi a1,sp,15
|
|
29e8: 00c40513 addi a0,s0,12
|
|
29ec: 8c4ff0ef jal ra,1ab0 <OutRingQueue>
|
|
29f0: 00f10503 lb a0,15(sp)
|
|
29f4: 0141 addi sp,sp,16
|
|
29f6: f9efd06f j 194 <__riscv_restore_0>
|
|
|
|
000029fa <ring_queue_length>:
|
|
29fa: f76fd2ef jal t0,170 <__riscv_save_0>
|
|
29fe: 0531 addi a0,a0,12
|
|
2a00: 8d6ff0ef jal ra,1ad6 <RingQueueLength>
|
|
2a04: f90fd06f j 194 <__riscv_restore_0>
|
|
|
|
00002a08 <__ledf2>:
|
|
2a08: 0145d713 srli a4,a1,0x14
|
|
2a0c: 001007b7 lui a5,0x100
|
|
2a10: 17fd addi a5,a5,-1
|
|
2a12: 0146d813 srli a6,a3,0x14
|
|
2a16: 7ff77713 andi a4,a4,2047
|
|
2a1a: 7ff00893 li a7,2047
|
|
2a1e: 00b7fe33 and t3,a5,a1
|
|
2a22: 8eaa mv t4,a0
|
|
2a24: 8ff5 and a5,a5,a3
|
|
2a26: 81fd srli a1,a1,0x1f
|
|
2a28: 8f32 mv t5,a2
|
|
2a2a: 7ff87813 andi a6,a6,2047
|
|
2a2e: 82fd srli a3,a3,0x1f
|
|
2a30: 03170e63 beq a4,a7,2a6c <__ledf2+0x64>
|
|
2a34: 01180d63 beq a6,a7,2a4e <__ledf2+0x46>
|
|
2a38: e329 bnez a4,2a7a <__ledf2+0x72>
|
|
2a3a: 00ae68b3 or a7,t3,a0
|
|
2a3e: 00081f63 bnez a6,2a5c <__ledf2+0x54>
|
|
2a42: 8e5d or a2,a2,a5
|
|
2a44: ee01 bnez a2,2a5c <__ledf2+0x54>
|
|
2a46: 4301 li t1,0
|
|
2a48: 04088c63 beqz a7,2aa0 <__ledf2+0x98>
|
|
2a4c: a821 j 2a64 <__ledf2+0x5c>
|
|
2a4e: 00c7e8b3 or a7,a5,a2
|
|
2a52: 4309 li t1,2
|
|
2a54: 04089663 bnez a7,2aa0 <__ledf2+0x98>
|
|
2a58: d36d beqz a4,2a3a <__ledf2+0x32>
|
|
2a5a: a005 j 2a7a <__ledf2+0x72>
|
|
2a5c: 04088463 beqz a7,2aa4 <__ledf2+0x9c>
|
|
2a60: 02d58563 beq a1,a3,2a8a <__ledf2+0x82>
|
|
2a64: 4305 li t1,1
|
|
2a66: cd8d beqz a1,2aa0 <__ledf2+0x98>
|
|
2a68: 537d li t1,-1
|
|
2a6a: a81d j 2aa0 <__ledf2+0x98>
|
|
2a6c: 00ae68b3 or a7,t3,a0
|
|
2a70: 4309 li t1,2
|
|
2a72: 02089763 bnez a7,2aa0 <__ledf2+0x98>
|
|
2a76: 02e80a63 beq a6,a4,2aaa <__ledf2+0xa2>
|
|
2a7a: 00081463 bnez a6,2a82 <__ledf2+0x7a>
|
|
2a7e: 8e5d or a2,a2,a5
|
|
2a80: d275 beqz a2,2a64 <__ledf2+0x5c>
|
|
2a82: fed591e3 bne a1,a3,2a64 <__ledf2+0x5c>
|
|
2a86: fce84fe3 blt a6,a4,2a64 <__ledf2+0x5c>
|
|
2a8a: 01074963 blt a4,a6,2a9c <__ledf2+0x94>
|
|
2a8e: fdc7ebe3 bltu a5,t3,2a64 <__ledf2+0x5c>
|
|
2a92: 00fe0f63 beq t3,a5,2ab0 <__ledf2+0xa8>
|
|
2a96: 4301 li t1,0
|
|
2a98: 00fe7463 bgeu t3,a5,2aa0 <__ledf2+0x98>
|
|
2a9c: d5f1 beqz a1,2a68 <__ledf2+0x60>
|
|
2a9e: 4305 li t1,1
|
|
2aa0: 851a mv a0,t1
|
|
2aa2: 8082 ret
|
|
2aa4: feed bnez a3,2a9e <__ledf2+0x96>
|
|
2aa6: 537d li t1,-1
|
|
2aa8: bfe5 j 2aa0 <__ledf2+0x98>
|
|
2aaa: 8e5d or a2,a2,a5
|
|
2aac: da79 beqz a2,2a82 <__ledf2+0x7a>
|
|
2aae: bfcd j 2aa0 <__ledf2+0x98>
|
|
2ab0: fbdf6ae3 bltu t5,t4,2a64 <__ledf2+0x5c>
|
|
2ab4: 4301 li t1,0
|
|
2ab6: ffeef5e3 bgeu t4,t5,2aa0 <__ledf2+0x98>
|
|
2aba: f1f5 bnez a1,2a9e <__ledf2+0x96>
|
|
2abc: b775 j 2a68 <__ledf2+0x60>
|
|
|
|
00002abe <__muldf3>:
|
|
2abe: 7139 addi sp,sp,-64
|
|
2ac0: d84a sw s2,48(sp)
|
|
2ac2: 0145d913 srli s2,a1,0x14
|
|
2ac6: d64e sw s3,44(sp)
|
|
2ac8: d452 sw s4,40(sp)
|
|
2aca: d256 sw s5,36(sp)
|
|
2acc: 00c59993 slli s3,a1,0xc
|
|
2ad0: de06 sw ra,60(sp)
|
|
2ad2: dc22 sw s0,56(sp)
|
|
2ad4: da26 sw s1,52(sp)
|
|
2ad6: d05a sw s6,32(sp)
|
|
2ad8: ce5e sw s7,28(sp)
|
|
2ada: 7ff97913 andi s2,s2,2047
|
|
2ade: 8a2a mv s4,a0
|
|
2ae0: 00c9d993 srli s3,s3,0xc
|
|
2ae4: 01f5da93 srli s5,a1,0x1f
|
|
2ae8: 0e090d63 beqz s2,2be2 <__muldf3+0x124>
|
|
2aec: 7ff00793 li a5,2047
|
|
2af0: 18f90663 beq s2,a5,2c7c <__muldf3+0x1be>
|
|
2af4: 01d55413 srli s0,a0,0x1d
|
|
2af8: 098e slli s3,s3,0x3
|
|
2afa: 013469b3 or s3,s0,s3
|
|
2afe: 00800437 lui s0,0x800
|
|
2b02: 0089e433 or s0,s3,s0
|
|
2b06: 00351493 slli s1,a0,0x3
|
|
2b0a: c0190913 addi s2,s2,-1023
|
|
2b0e: 4981 li s3,0
|
|
2b10: 4b81 li s7,0
|
|
2b12: 0146d713 srli a4,a3,0x14
|
|
2b16: 00c69a13 slli s4,a3,0xc
|
|
2b1a: 7ff77713 andi a4,a4,2047
|
|
2b1e: 85b2 mv a1,a2
|
|
2b20: 00ca5a13 srli s4,s4,0xc
|
|
2b24: 01f6db13 srli s6,a3,0x1f
|
|
2b28: 10070b63 beqz a4,2c3e <__muldf3+0x180>
|
|
2b2c: 7ff00793 li a5,2047
|
|
2b30: 04f70363 beq a4,a5,2b76 <__muldf3+0xb8>
|
|
2b34: 01d65793 srli a5,a2,0x1d
|
|
2b38: 0a0e slli s4,s4,0x3
|
|
2b3a: 0147ea33 or s4,a5,s4
|
|
2b3e: c0170713 addi a4,a4,-1023
|
|
2b42: 008007b7 lui a5,0x800
|
|
2b46: 00fa67b3 or a5,s4,a5
|
|
2b4a: 00361593 slli a1,a2,0x3
|
|
2b4e: 993a add s2,s2,a4
|
|
2b50: 4881 li a7,0
|
|
2b52: 016ac733 xor a4,s5,s6
|
|
2b56: 46bd li a3,15
|
|
2b58: 853a mv a0,a4
|
|
2b5a: 00190813 addi a6,s2,1
|
|
2b5e: 1736e863 bltu a3,s3,2cce <__muldf3+0x210>
|
|
2b62: 00002617 auipc a2,0x2
|
|
2b66: 65660613 addi a2,a2,1622 # 51b8 <_read+0x48e>
|
|
2b6a: 098a slli s3,s3,0x2
|
|
2b6c: 99b2 add s3,s3,a2
|
|
2b6e: 0009a683 lw a3,0(s3)
|
|
2b72: 96b2 add a3,a3,a2
|
|
2b74: 8682 jr a3
|
|
2b76: 00ca67b3 or a5,s4,a2
|
|
2b7a: 7ff90913 addi s2,s2,2047
|
|
2b7e: 12079963 bnez a5,2cb0 <__muldf3+0x1f2>
|
|
2b82: 0029e993 ori s3,s3,2
|
|
2b86: 4581 li a1,0
|
|
2b88: 4889 li a7,2
|
|
2b8a: b7e1 j 2b52 <__muldf3+0x94>
|
|
2b8c: 4701 li a4,0
|
|
2b8e: 7ff00793 li a5,2047
|
|
2b92: 00080437 lui s0,0x80
|
|
2b96: 4481 li s1,0
|
|
2b98: 0432 slli s0,s0,0xc
|
|
2b9a: 07d2 slli a5,a5,0x14
|
|
2b9c: 8031 srli s0,s0,0xc
|
|
2b9e: 077e slli a4,a4,0x1f
|
|
2ba0: 8c5d or s0,s0,a5
|
|
2ba2: 8c59 or s0,s0,a4
|
|
2ba4: 85a2 mv a1,s0
|
|
2ba6: 50f2 lw ra,60(sp)
|
|
2ba8: 5462 lw s0,56(sp)
|
|
2baa: 8526 mv a0,s1
|
|
2bac: 5942 lw s2,48(sp)
|
|
2bae: 54d2 lw s1,52(sp)
|
|
2bb0: 59b2 lw s3,44(sp)
|
|
2bb2: 5a22 lw s4,40(sp)
|
|
2bb4: 5a92 lw s5,36(sp)
|
|
2bb6: 5b02 lw s6,32(sp)
|
|
2bb8: 4bf2 lw s7,28(sp)
|
|
2bba: 6121 addi sp,sp,64
|
|
2bbc: 8082 ret
|
|
2bbe: 855a mv a0,s6
|
|
2bc0: 843e mv s0,a5
|
|
2bc2: 84ae mv s1,a1
|
|
2bc4: 8bc6 mv s7,a7
|
|
2bc6: 4789 li a5,2
|
|
2bc8: 0efb8d63 beq s7,a5,2cc2 <__muldf3+0x204>
|
|
2bcc: 478d li a5,3
|
|
2bce: fafb8fe3 beq s7,a5,2b8c <__muldf3+0xce>
|
|
2bd2: 4785 li a5,1
|
|
2bd4: 872a mv a4,a0
|
|
2bd6: 38fb9e63 bne s7,a5,2f72 <__muldf3+0x4b4>
|
|
2bda: 4781 li a5,0
|
|
2bdc: 4401 li s0,0
|
|
2bde: 4481 li s1,0
|
|
2be0: bf65 j 2b98 <__muldf3+0xda>
|
|
2be2: 00a9e433 or s0,s3,a0
|
|
2be6: c061 beqz s0,2ca6 <__muldf3+0x1e8>
|
|
2be8: c636 sw a3,12(sp)
|
|
2bea: c432 sw a2,8(sp)
|
|
2bec: 2a098c63 beqz s3,2ea4 <__muldf3+0x3e6>
|
|
2bf0: 854e mv a0,s3
|
|
2bf2: 575000ef jal ra,3966 <__clzsi2>
|
|
2bf6: 4622 lw a2,8(sp)
|
|
2bf8: 46b2 lw a3,12(sp)
|
|
2bfa: 87aa mv a5,a0
|
|
2bfc: ff550713 addi a4,a0,-11
|
|
2c00: 4475 li s0,29
|
|
2c02: ff878493 addi s1,a5,-8 # 7ffff8 <_data_lma+0x7faba4>
|
|
2c06: 8c19 sub s0,s0,a4
|
|
2c08: 009999b3 sll s3,s3,s1
|
|
2c0c: 008a5433 srl s0,s4,s0
|
|
2c10: 01346433 or s0,s0,s3
|
|
2c14: 009a14b3 sll s1,s4,s1
|
|
2c18: 0146d713 srli a4,a3,0x14
|
|
2c1c: c0d00913 li s2,-1011
|
|
2c20: 00c69a13 slli s4,a3,0xc
|
|
2c24: 7ff77713 andi a4,a4,2047
|
|
2c28: 40f90933 sub s2,s2,a5
|
|
2c2c: 4981 li s3,0
|
|
2c2e: 4b81 li s7,0
|
|
2c30: 85b2 mv a1,a2
|
|
2c32: 00ca5a13 srli s4,s4,0xc
|
|
2c36: 01f6db13 srli s6,a3,0x1f
|
|
2c3a: ee0719e3 bnez a4,2b2c <__muldf3+0x6e>
|
|
2c3e: 00ca67b3 or a5,s4,a2
|
|
2c42: c7b1 beqz a5,2c8e <__muldf3+0x1d0>
|
|
2c44: 220a0f63 beqz s4,2e82 <__muldf3+0x3c4>
|
|
2c48: 8552 mv a0,s4
|
|
2c4a: c432 sw a2,8(sp)
|
|
2c4c: 51b000ef jal ra,3966 <__clzsi2>
|
|
2c50: 4622 lw a2,8(sp)
|
|
2c52: 872a mv a4,a0
|
|
2c54: ff550693 addi a3,a0,-11
|
|
2c58: 47f5 li a5,29
|
|
2c5a: ff870593 addi a1,a4,-8
|
|
2c5e: 8f95 sub a5,a5,a3
|
|
2c60: 00ba1a33 sll s4,s4,a1
|
|
2c64: 00f657b3 srl a5,a2,a5
|
|
2c68: 0147e7b3 or a5,a5,s4
|
|
2c6c: 00b615b3 sll a1,a2,a1
|
|
2c70: 40e90933 sub s2,s2,a4
|
|
2c74: c0d90913 addi s2,s2,-1011
|
|
2c78: 4881 li a7,0
|
|
2c7a: bde1 j 2b52 <__muldf3+0x94>
|
|
2c7c: 00a9e433 or s0,s3,a0
|
|
2c80: ec01 bnez s0,2c98 <__muldf3+0x1da>
|
|
2c82: 49a1 li s3,8
|
|
2c84: 4481 li s1,0
|
|
2c86: 7ff00913 li s2,2047
|
|
2c8a: 4b89 li s7,2
|
|
2c8c: b559 j 2b12 <__muldf3+0x54>
|
|
2c8e: 0019e993 ori s3,s3,1
|
|
2c92: 4581 li a1,0
|
|
2c94: 4885 li a7,1
|
|
2c96: bd75 j 2b52 <__muldf3+0x94>
|
|
2c98: 844e mv s0,s3
|
|
2c9a: 84aa mv s1,a0
|
|
2c9c: 49b1 li s3,12
|
|
2c9e: 7ff00913 li s2,2047
|
|
2ca2: 4b8d li s7,3
|
|
2ca4: b5bd j 2b12 <__muldf3+0x54>
|
|
2ca6: 4991 li s3,4
|
|
2ca8: 4481 li s1,0
|
|
2caa: 4901 li s2,0
|
|
2cac: 4b85 li s7,1
|
|
2cae: b595 j 2b12 <__muldf3+0x54>
|
|
2cb0: 0039e993 ori s3,s3,3
|
|
2cb4: 87d2 mv a5,s4
|
|
2cb6: 488d li a7,3
|
|
2cb8: bd69 j 2b52 <__muldf3+0x94>
|
|
2cba: 4789 li a5,2
|
|
2cbc: 8556 mv a0,s5
|
|
2cbe: f0fb97e3 bne s7,a5,2bcc <__muldf3+0x10e>
|
|
2cc2: 872a mv a4,a0
|
|
2cc4: 7ff00793 li a5,2047
|
|
2cc8: 4401 li s0,0
|
|
2cca: 4481 li s1,0
|
|
2ccc: b5f1 j 2b98 <__muldf3+0xda>
|
|
2cce: 6ec1 lui t4,0x10
|
|
2cd0: fffe8613 addi a2,t4,-1 # ffff <_data_lma+0xabab>
|
|
2cd4: 0104d693 srli a3,s1,0x10
|
|
2cd8: 0105de13 srli t3,a1,0x10
|
|
2cdc: 8cf1 and s1,s1,a2
|
|
2cde: 8df1 and a1,a1,a2
|
|
2ce0: 02958633 mul a2,a1,s1
|
|
2ce4: 02b68333 mul t1,a3,a1
|
|
2ce8: 01065893 srli a7,a2,0x10
|
|
2cec: 029e0533 mul a0,t3,s1
|
|
2cf0: 951a add a0,a0,t1
|
|
2cf2: 98aa add a7,a7,a0
|
|
2cf4: 03c682b3 mul t0,a3,t3
|
|
2cf8: 0068f363 bgeu a7,t1,2cfe <__muldf3+0x240>
|
|
2cfc: 92f6 add t0,t0,t4
|
|
2cfe: 6fc1 lui t6,0x10
|
|
2d00: ffff8313 addi t1,t6,-1 # ffff <_data_lma+0xabab>
|
|
2d04: 0067f533 and a0,a5,t1
|
|
2d08: 0107d393 srli t2,a5,0x10
|
|
2d0c: 0068f7b3 and a5,a7,t1
|
|
2d10: 07c2 slli a5,a5,0x10
|
|
2d12: 00667333 and t1,a2,t1
|
|
2d16: 933e add t1,t1,a5
|
|
2d18: 02950633 mul a2,a0,s1
|
|
2d1c: 0108d893 srli a7,a7,0x10
|
|
2d20: 02a687b3 mul a5,a3,a0
|
|
2d24: 01065f13 srli t5,a2,0x10
|
|
2d28: 029384b3 mul s1,t2,s1
|
|
2d2c: 94be add s1,s1,a5
|
|
2d2e: 94fa add s1,s1,t5
|
|
2d30: 02768eb3 mul t4,a3,t2
|
|
2d34: 00f4f363 bgeu s1,a5,2d3a <__muldf3+0x27c>
|
|
2d38: 9efe add t4,t4,t6
|
|
2d3a: 6a41 lui s4,0x10
|
|
2d3c: fffa0793 addi a5,s4,-1 # ffff <_data_lma+0xabab>
|
|
2d40: 01045f93 srli t6,s0,0x10
|
|
2d44: 00f476b3 and a3,s0,a5
|
|
2d48: 00f4f9b3 and s3,s1,a5
|
|
2d4c: 8e7d and a2,a2,a5
|
|
2d4e: 80c1 srli s1,s1,0x10
|
|
2d50: 02d58433 mul s0,a1,a3
|
|
2d54: 09c2 slli s3,s3,0x10
|
|
2d56: 01d48f33 add t5,s1,t4
|
|
2d5a: 99b2 add s3,s3,a2
|
|
2d5c: 98ce add a7,a7,s3
|
|
2d5e: 02de07b3 mul a5,t3,a3
|
|
2d62: 01045e93 srli t4,s0,0x10
|
|
2d66: 02bf85b3 mul a1,t6,a1
|
|
2d6a: 97ae add a5,a5,a1
|
|
2d6c: 9ebe add t4,t4,a5
|
|
2d6e: 03fe0e33 mul t3,t3,t6
|
|
2d72: 00bef363 bgeu t4,a1,2d78 <__muldf3+0x2ba>
|
|
2d76: 9e52 add t3,t3,s4
|
|
2d78: 67c1 lui a5,0x10
|
|
2d7a: fff78593 addi a1,a5,-1 # ffff <_data_lma+0xabab>
|
|
2d7e: 00bef633 and a2,t4,a1
|
|
2d82: 8c6d and s0,s0,a1
|
|
2d84: 0642 slli a2,a2,0x10
|
|
2d86: 9622 add a2,a2,s0
|
|
2d88: 010ede93 srli t4,t4,0x10
|
|
2d8c: 02d505b3 mul a1,a0,a3
|
|
2d90: 9e76 add t3,t3,t4
|
|
2d92: 02af8533 mul a0,t6,a0
|
|
2d96: 0105d413 srli s0,a1,0x10
|
|
2d9a: 02d386b3 mul a3,t2,a3
|
|
2d9e: 96aa add a3,a3,a0
|
|
2da0: 96a2 add a3,a3,s0
|
|
2da2: 03f38fb3 mul t6,t2,t6
|
|
2da6: 00a6f363 bgeu a3,a0,2dac <__muldf3+0x2ee>
|
|
2daa: 9fbe add t6,t6,a5
|
|
2dac: 6541 lui a0,0x10
|
|
2dae: 157d addi a0,a0,-1
|
|
2db0: 00a6f7b3 and a5,a3,a0
|
|
2db4: 07c2 slli a5,a5,0x10
|
|
2db6: 8d6d and a0,a0,a1
|
|
2db8: 97aa add a5,a5,a0
|
|
2dba: 005885b3 add a1,a7,t0
|
|
2dbe: 0135b9b3 sltu s3,a1,s3
|
|
2dc2: 97fa add a5,a5,t5
|
|
2dc4: 95b2 add a1,a1,a2
|
|
2dc6: 01378433 add s0,a5,s3
|
|
2dca: 00c5b633 sltu a2,a1,a2
|
|
2dce: 01c40eb3 add t4,s0,t3
|
|
2dd2: 00ce8533 add a0,t4,a2
|
|
2dd6: 01343433 sltu s0,s0,s3
|
|
2dda: 01e7b7b3 sltu a5,a5,t5
|
|
2dde: 8fc1 or a5,a5,s0
|
|
2de0: 01cebe33 sltu t3,t4,t3
|
|
2de4: 0106d413 srli s0,a3,0x10
|
|
2de8: 00c53633 sltu a2,a0,a2
|
|
2dec: 943e add s0,s0,a5
|
|
2dee: 00ce6633 or a2,t3,a2
|
|
2df2: 00959493 slli s1,a1,0x9
|
|
2df6: 9432 add s0,s0,a2
|
|
2df8: 947e add s0,s0,t6
|
|
2dfa: 0064e4b3 or s1,s1,t1
|
|
2dfe: 0426 slli s0,s0,0x9
|
|
2e00: 01755693 srli a3,a0,0x17
|
|
2e04: 009034b3 snez s1,s1
|
|
2e08: 81dd srli a1,a1,0x17
|
|
2e0a: 00951793 slli a5,a0,0x9
|
|
2e0e: 8ccd or s1,s1,a1
|
|
2e10: 8c55 or s0,s0,a3
|
|
2e12: 8cdd or s1,s1,a5
|
|
2e14: 00741793 slli a5,s0,0x7
|
|
2e18: 0007db63 bgez a5,2e2e <__muldf3+0x370>
|
|
2e1c: 0014d793 srli a5,s1,0x1
|
|
2e20: 8885 andi s1,s1,1
|
|
2e22: 01f41693 slli a3,s0,0x1f
|
|
2e26: 8cdd or s1,s1,a5
|
|
2e28: 8cd5 or s1,s1,a3
|
|
2e2a: 8005 srli s0,s0,0x1
|
|
2e2c: 8942 mv s2,a6
|
|
2e2e: 3ff90793 addi a5,s2,1023
|
|
2e32: 08f05963 blez a5,2ec4 <__muldf3+0x406>
|
|
2e36: 0074f693 andi a3,s1,7
|
|
2e3a: ce81 beqz a3,2e52 <__muldf3+0x394>
|
|
2e3c: 00f4f693 andi a3,s1,15
|
|
2e40: 4611 li a2,4
|
|
2e42: 00c68863 beq a3,a2,2e52 <__muldf3+0x394>
|
|
2e46: 00448693 addi a3,s1,4
|
|
2e4a: 0096b4b3 sltu s1,a3,s1
|
|
2e4e: 9426 add s0,s0,s1
|
|
2e50: 84b6 mv s1,a3
|
|
2e52: 00741693 slli a3,s0,0x7
|
|
2e56: 0006d863 bgez a3,2e66 <__muldf3+0x3a8>
|
|
2e5a: ff0007b7 lui a5,0xff000
|
|
2e5e: 17fd addi a5,a5,-1
|
|
2e60: 8c7d and s0,s0,a5
|
|
2e62: 40090793 addi a5,s2,1024
|
|
2e66: 7fe00693 li a3,2046
|
|
2e6a: 0ef6cf63 blt a3,a5,2f68 <__muldf3+0x4aa>
|
|
2e6e: 0034d693 srli a3,s1,0x3
|
|
2e72: 01d41493 slli s1,s0,0x1d
|
|
2e76: 0426 slli s0,s0,0x9
|
|
2e78: 8cd5 or s1,s1,a3
|
|
2e7a: 8031 srli s0,s0,0xc
|
|
2e7c: 7ff7f793 andi a5,a5,2047
|
|
2e80: bb21 j 2b98 <__muldf3+0xda>
|
|
2e82: 8532 mv a0,a2
|
|
2e84: c432 sw a2,8(sp)
|
|
2e86: 2e1000ef jal ra,3966 <__clzsi2>
|
|
2e8a: 01550693 addi a3,a0,21 # 10015 <_data_lma+0xabc1>
|
|
2e8e: 47f1 li a5,28
|
|
2e90: 02050713 addi a4,a0,32
|
|
2e94: 4622 lw a2,8(sp)
|
|
2e96: dcd7d1e3 bge a5,a3,2c58 <__muldf3+0x19a>
|
|
2e9a: 1561 addi a0,a0,-8
|
|
2e9c: 00a617b3 sll a5,a2,a0
|
|
2ea0: 4581 li a1,0
|
|
2ea2: b3f9 j 2c70 <__muldf3+0x1b2>
|
|
2ea4: 2c3000ef jal ra,3966 <__clzsi2>
|
|
2ea8: 01550713 addi a4,a0,21
|
|
2eac: 45f1 li a1,28
|
|
2eae: 02050793 addi a5,a0,32
|
|
2eb2: 4622 lw a2,8(sp)
|
|
2eb4: 46b2 lw a3,12(sp)
|
|
2eb6: d4e5d5e3 bge a1,a4,2c00 <__muldf3+0x142>
|
|
2eba: 1561 addi a0,a0,-8
|
|
2ebc: 00aa1433 sll s0,s4,a0
|
|
2ec0: 4481 li s1,0
|
|
2ec2: bb99 j 2c18 <__muldf3+0x15a>
|
|
2ec4: 4685 li a3,1
|
|
2ec6: 8e9d sub a3,a3,a5
|
|
2ec8: e7b1 bnez a5,2f14 <__muldf3+0x456>
|
|
2eca: 41e90913 addi s2,s2,1054
|
|
2ece: 012497b3 sll a5,s1,s2
|
|
2ed2: 00d4d4b3 srl s1,s1,a3
|
|
2ed6: 01241933 sll s2,s0,s2
|
|
2eda: 00f037b3 snez a5,a5
|
|
2ede: 009964b3 or s1,s2,s1
|
|
2ee2: 8cdd or s1,s1,a5
|
|
2ee4: 0074f793 andi a5,s1,7
|
|
2ee8: 00d456b3 srl a3,s0,a3
|
|
2eec: cf81 beqz a5,2f04 <__muldf3+0x446>
|
|
2eee: 00f4f793 andi a5,s1,15
|
|
2ef2: 4611 li a2,4
|
|
2ef4: 00c78863 beq a5,a2,2f04 <__muldf3+0x446>
|
|
2ef8: 00448793 addi a5,s1,4
|
|
2efc: 0097b4b3 sltu s1,a5,s1
|
|
2f00: 96a6 add a3,a3,s1
|
|
2f02: 84be mv s1,a5
|
|
2f04: 00869793 slli a5,a3,0x8
|
|
2f08: 0407d863 bgez a5,2f58 <__muldf3+0x49a>
|
|
2f0c: 4785 li a5,1
|
|
2f0e: 4401 li s0,0
|
|
2f10: 4481 li s1,0
|
|
2f12: b159 j 2b98 <__muldf3+0xda>
|
|
2f14: 03800613 li a2,56
|
|
2f18: ccd641e3 blt a2,a3,2bda <__muldf3+0x11c>
|
|
2f1c: 467d li a2,31
|
|
2f1e: fad656e3 bge a2,a3,2eca <__muldf3+0x40c>
|
|
2f22: 5605 li a2,-31
|
|
2f24: 40f607b3 sub a5,a2,a5
|
|
2f28: 02000593 li a1,32
|
|
2f2c: 00f45633 srl a2,s0,a5
|
|
2f30: 00b68763 beq a3,a1,2f3e <__muldf3+0x480>
|
|
2f34: 43e90913 addi s2,s2,1086
|
|
2f38: 012417b3 sll a5,s0,s2
|
|
2f3c: 8cdd or s1,s1,a5
|
|
2f3e: 009034b3 snez s1,s1
|
|
2f42: 8cd1 or s1,s1,a2
|
|
2f44: 0074f693 andi a3,s1,7
|
|
2f48: 4401 li s0,0
|
|
2f4a: ca99 beqz a3,2f60 <__muldf3+0x4a2>
|
|
2f4c: 00f4f793 andi a5,s1,15
|
|
2f50: 4611 li a2,4
|
|
2f52: 4681 li a3,0
|
|
2f54: fac792e3 bne a5,a2,2ef8 <__muldf3+0x43a>
|
|
2f58: 00969413 slli s0,a3,0x9
|
|
2f5c: 8031 srli s0,s0,0xc
|
|
2f5e: 06f6 slli a3,a3,0x1d
|
|
2f60: 808d srli s1,s1,0x3
|
|
2f62: 8cd5 or s1,s1,a3
|
|
2f64: 4781 li a5,0
|
|
2f66: b90d j 2b98 <__muldf3+0xda>
|
|
2f68: 7ff00793 li a5,2047
|
|
2f6c: 4401 li s0,0
|
|
2f6e: 4481 li s1,0
|
|
2f70: b125 j 2b98 <__muldf3+0xda>
|
|
2f72: 8942 mv s2,a6
|
|
2f74: bd6d j 2e2e <__muldf3+0x370>
|
|
|
|
00002f76 <__divsf3>:
|
|
2f76: 7139 addi sp,sp,-64
|
|
2f78: 01755793 srli a5,a0,0x17
|
|
2f7c: d84a sw s2,48(sp)
|
|
2f7e: d256 sw s5,36(sp)
|
|
2f80: ce5e sw s7,28(sp)
|
|
2f82: 00951a93 slli s5,a0,0x9
|
|
2f86: 01f55913 srli s2,a0,0x1f
|
|
2f8a: de06 sw ra,60(sp)
|
|
2f8c: dc22 sw s0,56(sp)
|
|
2f8e: da26 sw s1,52(sp)
|
|
2f90: d64e sw s3,44(sp)
|
|
2f92: d452 sw s4,40(sp)
|
|
2f94: d05a sw s6,32(sp)
|
|
2f96: 0ff7f793 andi a5,a5,255
|
|
2f9a: 009ada93 srli s5,s5,0x9
|
|
2f9e: 8bca mv s7,s2
|
|
2fa0: 12078263 beqz a5,30c4 <__divsf3+0x14e>
|
|
2fa4: 0ff00713 li a4,255
|
|
2fa8: 12e78463 beq a5,a4,30d0 <__divsf3+0x15a>
|
|
2fac: 0a8e slli s5,s5,0x3
|
|
2fae: 04000737 lui a4,0x4000
|
|
2fb2: 00eaeab3 or s5,s5,a4
|
|
2fb6: f8178a13 addi s4,a5,-127 # feffff81 <_eusrstack+0xdeffaf81>
|
|
2fba: 4401 li s0,0
|
|
2fbc: 4b01 li s6,0
|
|
2fbe: 0175d793 srli a5,a1,0x17
|
|
2fc2: 00959493 slli s1,a1,0x9
|
|
2fc6: 0ff7f793 andi a5,a5,255
|
|
2fca: 80a5 srli s1,s1,0x9
|
|
2fcc: 01f5d993 srli s3,a1,0x1f
|
|
2fd0: c7fd beqz a5,30be <__divsf3+0x148>
|
|
2fd2: 0ff00713 li a4,255
|
|
2fd6: 02e78763 beq a5,a4,3004 <__divsf3+0x8e>
|
|
2fda: 048e slli s1,s1,0x3
|
|
2fdc: f8178793 addi a5,a5,-127
|
|
2fe0: 04000737 lui a4,0x4000
|
|
2fe4: 8cd9 or s1,s1,a4
|
|
2fe6: 40fa0a33 sub s4,s4,a5
|
|
2fea: 4681 li a3,0
|
|
2fec: 8c55 or s0,s0,a3
|
|
2fee: 00002717 auipc a4,0x2
|
|
2ff2: 20a70713 addi a4,a4,522 # 51f8 <_read+0x4ce>
|
|
2ff6: 040a slli s0,s0,0x2
|
|
2ff8: 943a add s0,s0,a4
|
|
2ffa: 401c lw a5,0(s0)
|
|
2ffc: 01394933 xor s2,s2,s3
|
|
3000: 97ba add a5,a5,a4
|
|
3002: 8782 jr a5
|
|
3004: f01a0a13 addi s4,s4,-255
|
|
3008: e8f9 bnez s1,30de <__divsf3+0x168>
|
|
300a: 4689 li a3,2
|
|
300c: 8c55 or s0,s0,a3
|
|
300e: 00002717 auipc a4,0x2
|
|
3012: 22a70713 addi a4,a4,554 # 5238 <_read+0x50e>
|
|
3016: 040a slli s0,s0,0x2
|
|
3018: 943a add s0,s0,a4
|
|
301a: 401c lw a5,0(s0)
|
|
301c: 01394933 xor s2,s2,s3
|
|
3020: 97ba add a5,a5,a4
|
|
3022: 8782 jr a5
|
|
3024: 4901 li s2,0
|
|
3026: 0ff00713 li a4,255
|
|
302a: 004007b7 lui a5,0x400
|
|
302e: 00979513 slli a0,a5,0x9
|
|
3032: 50f2 lw ra,60(sp)
|
|
3034: 5462 lw s0,56(sp)
|
|
3036: 01771793 slli a5,a4,0x17
|
|
303a: 8125 srli a0,a0,0x9
|
|
303c: 097e slli s2,s2,0x1f
|
|
303e: 8d5d or a0,a0,a5
|
|
3040: 01256533 or a0,a0,s2
|
|
3044: 54d2 lw s1,52(sp)
|
|
3046: 5942 lw s2,48(sp)
|
|
3048: 59b2 lw s3,44(sp)
|
|
304a: 5a22 lw s4,40(sp)
|
|
304c: 5a92 lw s5,36(sp)
|
|
304e: 5b02 lw s6,32(sp)
|
|
3050: 4bf2 lw s7,28(sp)
|
|
3052: 6121 addi sp,sp,64
|
|
3054: 8082 ret
|
|
3056: 0ff00713 li a4,255
|
|
305a: 4781 li a5,0
|
|
305c: bfc9 j 302e <__divsf3+0xb8>
|
|
305e: 8aa6 mv s5,s1
|
|
3060: 8bce mv s7,s3
|
|
3062: 8b36 mv s6,a3
|
|
3064: 4789 li a5,2
|
|
3066: 1afb0b63 beq s6,a5,321c <__divsf3+0x2a6>
|
|
306a: 478d li a5,3
|
|
306c: fafb0ce3 beq s6,a5,3024 <__divsf3+0xae>
|
|
3070: 4785 li a5,1
|
|
3072: 0afb0a63 beq s6,a5,3126 <__divsf3+0x1b0>
|
|
3076: 07fa0713 addi a4,s4,127
|
|
307a: 001bf913 andi s2,s7,1
|
|
307e: 12e05763 blez a4,31ac <__divsf3+0x236>
|
|
3082: 007af793 andi a5,s5,7
|
|
3086: c799 beqz a5,3094 <__divsf3+0x11e>
|
|
3088: 00faf793 andi a5,s5,15
|
|
308c: 4691 li a3,4
|
|
308e: 00d78363 beq a5,a3,3094 <__divsf3+0x11e>
|
|
3092: 0a91 addi s5,s5,4
|
|
3094: 004a9793 slli a5,s5,0x4
|
|
3098: 0007d963 bgez a5,30aa <__divsf3+0x134>
|
|
309c: f80007b7 lui a5,0xf8000
|
|
30a0: 17fd addi a5,a5,-1
|
|
30a2: 00fafab3 and s5,s5,a5
|
|
30a6: 080a0713 addi a4,s4,128
|
|
30aa: 0fe00793 li a5,254
|
|
30ae: fae7c4e3 blt a5,a4,3056 <__divsf3+0xe0>
|
|
30b2: 006a9793 slli a5,s5,0x6
|
|
30b6: 83a5 srli a5,a5,0x9
|
|
30b8: 0ff77713 andi a4,a4,255
|
|
30bc: bf8d j 302e <__divsf3+0xb8>
|
|
30be: e4b9 bnez s1,310c <__divsf3+0x196>
|
|
30c0: 4685 li a3,1
|
|
30c2: b7a9 j 300c <__divsf3+0x96>
|
|
30c4: 020a9463 bnez s5,30ec <__divsf3+0x176>
|
|
30c8: 4411 li s0,4
|
|
30ca: 4a01 li s4,0
|
|
30cc: 4b05 li s6,1
|
|
30ce: bdc5 j 2fbe <__divsf3+0x48>
|
|
30d0: 000a9963 bnez s5,30e2 <__divsf3+0x16c>
|
|
30d4: 4421 li s0,8
|
|
30d6: 0ff00a13 li s4,255
|
|
30da: 4b09 li s6,2
|
|
30dc: b5cd j 2fbe <__divsf3+0x48>
|
|
30de: 468d li a3,3
|
|
30e0: b731 j 2fec <__divsf3+0x76>
|
|
30e2: 4431 li s0,12
|
|
30e4: 0ff00a13 li s4,255
|
|
30e8: 4b0d li s6,3
|
|
30ea: bdd1 j 2fbe <__divsf3+0x48>
|
|
30ec: 8556 mv a0,s5
|
|
30ee: c62e sw a1,12(sp)
|
|
30f0: 077000ef jal ra,3966 <__clzsi2>
|
|
30f4: ffb50793 addi a5,a0,-5
|
|
30f8: 00fa9ab3 sll s5,s5,a5
|
|
30fc: f8a00793 li a5,-118
|
|
3100: 40a78a33 sub s4,a5,a0
|
|
3104: 4401 li s0,0
|
|
3106: 4b01 li s6,0
|
|
3108: 45b2 lw a1,12(sp)
|
|
310a: bd55 j 2fbe <__divsf3+0x48>
|
|
310c: 8526 mv a0,s1
|
|
310e: 059000ef jal ra,3966 <__clzsi2>
|
|
3112: ffb50713 addi a4,a0,-5
|
|
3116: 00aa07b3 add a5,s4,a0
|
|
311a: 00e494b3 sll s1,s1,a4
|
|
311e: 07678a13 addi s4,a5,118 # f8000076 <_eusrstack+0xd7ffb076>
|
|
3122: 4681 li a3,0
|
|
3124: b5e1 j 2fec <__divsf3+0x76>
|
|
3126: 001bf913 andi s2,s7,1
|
|
312a: 4701 li a4,0
|
|
312c: 4781 li a5,0
|
|
312e: b701 j 302e <__divsf3+0xb8>
|
|
3130: 6641 lui a2,0x10
|
|
3132: 00549513 slli a0,s1,0x5
|
|
3136: 167d addi a2,a2,-1
|
|
3138: 01055793 srli a5,a0,0x10
|
|
313c: 8e69 and a2,a2,a0
|
|
313e: 0a9afa63 bgeu s5,s1,31f2 <__divsf3+0x27c>
|
|
3142: 02fad5b3 divu a1,s5,a5
|
|
3146: 1a7d addi s4,s4,-1
|
|
3148: 86d6 mv a3,s5
|
|
314a: 4701 li a4,0
|
|
314c: 02c58833 mul a6,a1,a2
|
|
3150: 02f6f6b3 remu a3,a3,a5
|
|
3154: 06c2 slli a3,a3,0x10
|
|
3156: 8f55 or a4,a4,a3
|
|
3158: 01077b63 bgeu a4,a6,316e <__divsf3+0x1f8>
|
|
315c: 972a add a4,a4,a0
|
|
315e: fff58693 addi a3,a1,-1
|
|
3162: 0aa76863 bltu a4,a0,3212 <__divsf3+0x29c>
|
|
3166: 0b077663 bgeu a4,a6,3212 <__divsf3+0x29c>
|
|
316a: 15f9 addi a1,a1,-2
|
|
316c: 972a add a4,a4,a0
|
|
316e: 41070733 sub a4,a4,a6
|
|
3172: 02f756b3 divu a3,a4,a5
|
|
3176: 02f77733 remu a4,a4,a5
|
|
317a: 02c68ab3 mul s5,a3,a2
|
|
317e: 01071793 slli a5,a4,0x10
|
|
3182: 0157fb63 bgeu a5,s5,3198 <__divsf3+0x222>
|
|
3186: 97aa add a5,a5,a0
|
|
3188: fff68713 addi a4,a3,-1
|
|
318c: 08a7e163 bltu a5,a0,320e <__divsf3+0x298>
|
|
3190: 0757ff63 bgeu a5,s5,320e <__divsf3+0x298>
|
|
3194: 16f9 addi a3,a3,-2
|
|
3196: 97aa add a5,a5,a0
|
|
3198: 05c2 slli a1,a1,0x10
|
|
319a: 41578ab3 sub s5,a5,s5
|
|
319e: 8dd5 or a1,a1,a3
|
|
31a0: 01503ab3 snez s5,s5
|
|
31a4: 0155eab3 or s5,a1,s5
|
|
31a8: 8bca mv s7,s2
|
|
31aa: b5f1 j 3076 <__divsf3+0x100>
|
|
31ac: 4685 li a3,1
|
|
31ae: 8e99 sub a3,a3,a4
|
|
31b0: c711 beqz a4,31bc <__divsf3+0x246>
|
|
31b2: 466d li a2,27
|
|
31b4: 4701 li a4,0
|
|
31b6: 4781 li a5,0
|
|
31b8: e6d64be3 blt a2,a3,302e <__divsf3+0xb8>
|
|
31bc: 09ea0a13 addi s4,s4,158
|
|
31c0: 014a9a33 sll s4,s5,s4
|
|
31c4: 00dad7b3 srl a5,s5,a3
|
|
31c8: 01403ab3 snez s5,s4
|
|
31cc: 0157e7b3 or a5,a5,s5
|
|
31d0: 0077f713 andi a4,a5,7
|
|
31d4: c719 beqz a4,31e2 <__divsf3+0x26c>
|
|
31d6: 00f7f713 andi a4,a5,15
|
|
31da: 4691 li a3,4
|
|
31dc: 00d70363 beq a4,a3,31e2 <__divsf3+0x26c>
|
|
31e0: 0791 addi a5,a5,4
|
|
31e2: 00579713 slli a4,a5,0x5
|
|
31e6: 02074863 bltz a4,3216 <__divsf3+0x2a0>
|
|
31ea: 079a slli a5,a5,0x6
|
|
31ec: 83a5 srli a5,a5,0x9
|
|
31ee: 4701 li a4,0
|
|
31f0: bd3d j 302e <__divsf3+0xb8>
|
|
31f2: 001ad693 srli a3,s5,0x1
|
|
31f6: 02f6d5b3 divu a1,a3,a5
|
|
31fa: 01fa9713 slli a4,s5,0x1f
|
|
31fe: 8341 srli a4,a4,0x10
|
|
3200: 02c58833 mul a6,a1,a2
|
|
3204: b7b1 j 3150 <__divsf3+0x1da>
|
|
3206: 8bce mv s7,s3
|
|
3208: 8b36 mv s6,a3
|
|
320a: 4a81 li s5,0
|
|
320c: bda1 j 3064 <__divsf3+0xee>
|
|
320e: 86ba mv a3,a4
|
|
3210: b761 j 3198 <__divsf3+0x222>
|
|
3212: 85b6 mv a1,a3
|
|
3214: bfa9 j 316e <__divsf3+0x1f8>
|
|
3216: 4705 li a4,1
|
|
3218: 4781 li a5,0
|
|
321a: bd11 j 302e <__divsf3+0xb8>
|
|
321c: 001bf913 andi s2,s7,1
|
|
3220: 0ff00713 li a4,255
|
|
3224: 4781 li a5,0
|
|
3226: b521 j 302e <__divsf3+0xb8>
|
|
|
|
00003228 <__gesf2>:
|
|
3228: 01755693 srli a3,a0,0x17
|
|
322c: 008007b7 lui a5,0x800
|
|
3230: 17fd addi a5,a5,-1
|
|
3232: 0175d613 srli a2,a1,0x17
|
|
3236: 0ff6f693 andi a3,a3,255
|
|
323a: 0ff00813 li a6,255
|
|
323e: 00a7f8b3 and a7,a5,a0
|
|
3242: 01f55713 srli a4,a0,0x1f
|
|
3246: 8fed and a5,a5,a1
|
|
3248: 0ff67613 andi a2,a2,255
|
|
324c: 81fd srli a1,a1,0x1f
|
|
324e: 03068163 beq a3,a6,3270 <__gesf2+0x48>
|
|
3252: 01060c63 beq a2,a6,326a <__gesf2+0x42>
|
|
3256: e28d bnez a3,3278 <__gesf2+0x50>
|
|
3258: e211 bnez a2,325c <__gesf2+0x34>
|
|
325a: c3b1 beqz a5,329e <__gesf2+0x76>
|
|
325c: 02088e63 beqz a7,3298 <__gesf2+0x70>
|
|
3260: 04b70563 beq a4,a1,32aa <__gesf2+0x82>
|
|
3264: 4505 li a0,1
|
|
3266: e71d bnez a4,3294 <__gesf2+0x6c>
|
|
3268: 8082 ret
|
|
326a: d7f5 beqz a5,3256 <__gesf2+0x2e>
|
|
326c: 5579 li a0,-2
|
|
326e: 8082 ret
|
|
3270: fe089ee3 bnez a7,326c <__gesf2+0x44>
|
|
3274: 02d60963 beq a2,a3,32a6 <__gesf2+0x7e>
|
|
3278: e211 bnez a2,327c <__gesf2+0x54>
|
|
327a: d7ed beqz a5,3264 <__gesf2+0x3c>
|
|
327c: feb714e3 bne a4,a1,3264 <__gesf2+0x3c>
|
|
3280: fed642e3 blt a2,a3,3264 <__gesf2+0x3c>
|
|
3284: 00c6c763 blt a3,a2,3292 <__gesf2+0x6a>
|
|
3288: fd17eee3 bltu a5,a7,3264 <__gesf2+0x3c>
|
|
328c: 4501 li a0,0
|
|
328e: fcf8fde3 bgeu a7,a5,3268 <__gesf2+0x40>
|
|
3292: e701 bnez a4,329a <__gesf2+0x72>
|
|
3294: 557d li a0,-1
|
|
3296: 8082 ret
|
|
3298: ddf5 beqz a1,3294 <__gesf2+0x6c>
|
|
329a: 4505 li a0,1
|
|
329c: 8082 ret
|
|
329e: 4501 li a0,0
|
|
32a0: fc0892e3 bnez a7,3264 <__gesf2+0x3c>
|
|
32a4: 8082 ret
|
|
32a6: dbf9 beqz a5,327c <__gesf2+0x54>
|
|
32a8: b7d1 j 326c <__gesf2+0x44>
|
|
32aa: 4681 li a3,0
|
|
32ac: bfe1 j 3284 <__gesf2+0x5c>
|
|
|
|
000032ae <__lesf2>:
|
|
32ae: 01755693 srli a3,a0,0x17
|
|
32b2: 008007b7 lui a5,0x800
|
|
32b6: 17fd addi a5,a5,-1
|
|
32b8: 0175d613 srli a2,a1,0x17
|
|
32bc: 0ff6f693 andi a3,a3,255
|
|
32c0: 0ff00813 li a6,255
|
|
32c4: 00a7f8b3 and a7,a5,a0
|
|
32c8: 01f55713 srli a4,a0,0x1f
|
|
32cc: 8fed and a5,a5,a1
|
|
32ce: 0ff67613 andi a2,a2,255
|
|
32d2: 81fd srli a1,a1,0x1f
|
|
32d4: 03068763 beq a3,a6,3302 <__lesf2+0x54>
|
|
32d8: 01060963 beq a2,a6,32ea <__lesf2+0x3c>
|
|
32dc: ea85 bnez a3,330c <__lesf2+0x5e>
|
|
32de: ea11 bnez a2,32f2 <__lesf2+0x44>
|
|
32e0: eb89 bnez a5,32f2 <__lesf2+0x44>
|
|
32e2: 4501 li a0,0
|
|
32e4: 00089b63 bnez a7,32fa <__lesf2+0x4c>
|
|
32e8: 8082 ret
|
|
32ea: 4509 li a0,2
|
|
32ec: fff5 bnez a5,32e8 <__lesf2+0x3a>
|
|
32ee: dae5 beqz a3,32de <__lesf2+0x30>
|
|
32f0: a831 j 330c <__lesf2+0x5e>
|
|
32f2: 02088c63 beqz a7,332a <__lesf2+0x7c>
|
|
32f6: 04b70063 beq a4,a1,3336 <__lesf2+0x88>
|
|
32fa: 4505 li a0,1
|
|
32fc: d775 beqz a4,32e8 <__lesf2+0x3a>
|
|
32fe: 557d li a0,-1
|
|
3300: 8082 ret
|
|
3302: 4509 li a0,2
|
|
3304: 02089863 bnez a7,3334 <__lesf2+0x86>
|
|
3308: 02d60463 beq a2,a3,3330 <__lesf2+0x82>
|
|
330c: e211 bnez a2,3310 <__lesf2+0x62>
|
|
330e: d7f5 beqz a5,32fa <__lesf2+0x4c>
|
|
3310: feb715e3 bne a4,a1,32fa <__lesf2+0x4c>
|
|
3314: fed643e3 blt a2,a3,32fa <__lesf2+0x4c>
|
|
3318: 00c6c763 blt a3,a2,3326 <__lesf2+0x78>
|
|
331c: fd17efe3 bltu a5,a7,32fa <__lesf2+0x4c>
|
|
3320: 4501 li a0,0
|
|
3322: fcf8f3e3 bgeu a7,a5,32e8 <__lesf2+0x3a>
|
|
3326: e319 bnez a4,332c <__lesf2+0x7e>
|
|
3328: bfd9 j 32fe <__lesf2+0x50>
|
|
332a: d9f1 beqz a1,32fe <__lesf2+0x50>
|
|
332c: 4505 li a0,1
|
|
332e: 8082 ret
|
|
3330: d3e5 beqz a5,3310 <__lesf2+0x62>
|
|
3332: 8082 ret
|
|
3334: 8082 ret
|
|
3336: 4681 li a3,0
|
|
3338: b7c5 j 3318 <__lesf2+0x6a>
|
|
|
|
0000333a <__mulsf3>:
|
|
333a: 7179 addi sp,sp,-48
|
|
333c: d422 sw s0,40(sp)
|
|
333e: 01755413 srli s0,a0,0x17
|
|
3342: ce4e sw s3,28(sp)
|
|
3344: cc52 sw s4,24(sp)
|
|
3346: 00951993 slli s3,a0,0x9
|
|
334a: d606 sw ra,44(sp)
|
|
334c: d226 sw s1,36(sp)
|
|
334e: d04a sw s2,32(sp)
|
|
3350: ca56 sw s5,20(sp)
|
|
3352: c85a sw s6,16(sp)
|
|
3354: 0ff47413 andi s0,s0,255
|
|
3358: 0099d993 srli s3,s3,0x9
|
|
335c: 01f55a13 srli s4,a0,0x1f
|
|
3360: c469 beqz s0,342a <__mulsf3+0xf0>
|
|
3362: 0ff00793 li a5,255
|
|
3366: 0ef40863 beq s0,a5,3456 <__mulsf3+0x11c>
|
|
336a: 00399793 slli a5,s3,0x3
|
|
336e: 04000737 lui a4,0x4000
|
|
3372: 00e7e9b3 or s3,a5,a4
|
|
3376: f8140413 addi s0,s0,-127 # 7ff81 <_data_lma+0x7ab2d>
|
|
337a: 4481 li s1,0
|
|
337c: 4b01 li s6,0
|
|
337e: 0175d713 srli a4,a1,0x17
|
|
3382: 00959a93 slli s5,a1,0x9
|
|
3386: 0ff77713 andi a4,a4,255
|
|
338a: 009ada93 srli s5,s5,0x9
|
|
338e: 01f5d913 srli s2,a1,0x1f
|
|
3392: cf45 beqz a4,344a <__mulsf3+0x110>
|
|
3394: 0ff00793 li a5,255
|
|
3398: 02f70c63 beq a4,a5,33d0 <__mulsf3+0x96>
|
|
339c: 0a8e slli s5,s5,0x3
|
|
339e: f8170713 addi a4,a4,-127 # 3ffff81 <_data_lma+0x3ffab2d>
|
|
33a2: 040007b7 lui a5,0x4000
|
|
33a6: 00faeab3 or s5,s5,a5
|
|
33aa: 943a add s0,s0,a4
|
|
33ac: 4601 li a2,0
|
|
33ae: 012a4533 xor a0,s4,s2
|
|
33b2: 47bd li a5,15
|
|
33b4: 86aa mv a3,a0
|
|
33b6: 00140593 addi a1,s0,1
|
|
33ba: 1097e063 bltu a5,s1,34ba <__mulsf3+0x180>
|
|
33be: 00002717 auipc a4,0x2
|
|
33c2: eba70713 addi a4,a4,-326 # 5278 <_read+0x54e>
|
|
33c6: 048a slli s1,s1,0x2
|
|
33c8: 94ba add s1,s1,a4
|
|
33ca: 409c lw a5,0(s1)
|
|
33cc: 97ba add a5,a5,a4
|
|
33ce: 8782 jr a5
|
|
33d0: 0ff40413 addi s0,s0,255
|
|
33d4: 0c0a9663 bnez s5,34a0 <__mulsf3+0x166>
|
|
33d8: 0024e493 ori s1,s1,2
|
|
33dc: 4609 li a2,2
|
|
33de: bfc1 j 33ae <__mulsf3+0x74>
|
|
33e0: 4501 li a0,0
|
|
33e2: 0ff00713 li a4,255
|
|
33e6: 004007b7 lui a5,0x400
|
|
33ea: 50b2 lw ra,44(sp)
|
|
33ec: 5422 lw s0,40(sp)
|
|
33ee: 07a6 slli a5,a5,0x9
|
|
33f0: 075e slli a4,a4,0x17
|
|
33f2: 83a5 srli a5,a5,0x9
|
|
33f4: 057e slli a0,a0,0x1f
|
|
33f6: 8fd9 or a5,a5,a4
|
|
33f8: 5492 lw s1,36(sp)
|
|
33fa: 5902 lw s2,32(sp)
|
|
33fc: 49f2 lw s3,28(sp)
|
|
33fe: 4a62 lw s4,24(sp)
|
|
3400: 4ad2 lw s5,20(sp)
|
|
3402: 4b42 lw s6,16(sp)
|
|
3404: 8d5d or a0,a0,a5
|
|
3406: 6145 addi sp,sp,48
|
|
3408: 8082 ret
|
|
340a: 86ca mv a3,s2
|
|
340c: 89d6 mv s3,s5
|
|
340e: 8b32 mv s6,a2
|
|
3410: 4789 li a5,2
|
|
3412: 08fb0f63 beq s6,a5,34b0 <__mulsf3+0x176>
|
|
3416: 478d li a5,3
|
|
3418: fcfb04e3 beq s6,a5,33e0 <__mulsf3+0xa6>
|
|
341c: 4785 li a5,1
|
|
341e: 8536 mv a0,a3
|
|
3420: 1afb1063 bne s6,a5,35c0 <__mulsf3+0x286>
|
|
3424: 4701 li a4,0
|
|
3426: 4781 li a5,0
|
|
3428: b7c9 j 33ea <__mulsf3+0xb0>
|
|
342a: 04099d63 bnez s3,3484 <__mulsf3+0x14a>
|
|
342e: 0175d713 srli a4,a1,0x17
|
|
3432: 00959a93 slli s5,a1,0x9
|
|
3436: 0ff77713 andi a4,a4,255
|
|
343a: 4491 li s1,4
|
|
343c: 4401 li s0,0
|
|
343e: 4b05 li s6,1
|
|
3440: 009ada93 srli s5,s5,0x9
|
|
3444: 01f5d913 srli s2,a1,0x1f
|
|
3448: f731 bnez a4,3394 <__mulsf3+0x5a>
|
|
344a: 000a9d63 bnez s5,3464 <__mulsf3+0x12a>
|
|
344e: 0014e493 ori s1,s1,1
|
|
3452: 4605 li a2,1
|
|
3454: bfa9 j 33ae <__mulsf3+0x74>
|
|
3456: 02099263 bnez s3,347a <__mulsf3+0x140>
|
|
345a: 44a1 li s1,8
|
|
345c: 0ff00413 li s0,255
|
|
3460: 4b09 li s6,2
|
|
3462: bf31 j 337e <__mulsf3+0x44>
|
|
3464: 8556 mv a0,s5
|
|
3466: 2301 jal 3966 <__clzsi2>
|
|
3468: ffb50793 addi a5,a0,-5
|
|
346c: 8c09 sub s0,s0,a0
|
|
346e: 00fa9ab3 sll s5,s5,a5
|
|
3472: f8a40413 addi s0,s0,-118
|
|
3476: 4601 li a2,0
|
|
3478: bf1d j 33ae <__mulsf3+0x74>
|
|
347a: 44b1 li s1,12
|
|
347c: 0ff00413 li s0,255
|
|
3480: 4b0d li s6,3
|
|
3482: bdf5 j 337e <__mulsf3+0x44>
|
|
3484: 854e mv a0,s3
|
|
3486: c62e sw a1,12(sp)
|
|
3488: 29f9 jal 3966 <__clzsi2>
|
|
348a: ffb50793 addi a5,a0,-5
|
|
348e: f8a00413 li s0,-118
|
|
3492: 00f999b3 sll s3,s3,a5
|
|
3496: 8c09 sub s0,s0,a0
|
|
3498: 4481 li s1,0
|
|
349a: 4b01 li s6,0
|
|
349c: 45b2 lw a1,12(sp)
|
|
349e: b5c5 j 337e <__mulsf3+0x44>
|
|
34a0: 0034e493 ori s1,s1,3
|
|
34a4: 460d li a2,3
|
|
34a6: b721 j 33ae <__mulsf3+0x74>
|
|
34a8: 4789 li a5,2
|
|
34aa: 86d2 mv a3,s4
|
|
34ac: f6fb15e3 bne s6,a5,3416 <__mulsf3+0xdc>
|
|
34b0: 8536 mv a0,a3
|
|
34b2: 0ff00713 li a4,255
|
|
34b6: 4781 li a5,0
|
|
34b8: bf0d j 33ea <__mulsf3+0xb0>
|
|
34ba: 6341 lui t1,0x10
|
|
34bc: fff30693 addi a3,t1,-1 # ffff <_data_lma+0xabab>
|
|
34c0: 0109d613 srli a2,s3,0x10
|
|
34c4: 010ad893 srli a7,s5,0x10
|
|
34c8: 00d9f7b3 and a5,s3,a3
|
|
34cc: 00dafab3 and s5,s5,a3
|
|
34d0: 03578833 mul a6,a5,s5
|
|
34d4: 02f889b3 mul s3,a7,a5
|
|
34d8: 01085713 srli a4,a6,0x10
|
|
34dc: 03560ab3 mul s5,a2,s5
|
|
34e0: 99d6 add s3,s3,s5
|
|
34e2: 974e add a4,a4,s3
|
|
34e4: 03160633 mul a2,a2,a7
|
|
34e8: 01577363 bgeu a4,s5,34ee <__mulsf3+0x1b4>
|
|
34ec: 961a add a2,a2,t1
|
|
34ee: 67c1 lui a5,0x10
|
|
34f0: 17fd addi a5,a5,-1
|
|
34f2: 00f776b3 and a3,a4,a5
|
|
34f6: 00f87833 and a6,a6,a5
|
|
34fa: 06c2 slli a3,a3,0x10
|
|
34fc: 96c2 add a3,a3,a6
|
|
34fe: 00669993 slli s3,a3,0x6
|
|
3502: 01075793 srli a5,a4,0x10
|
|
3506: 013039b3 snez s3,s3
|
|
350a: 82e9 srli a3,a3,0x1a
|
|
350c: 97b2 add a5,a5,a2
|
|
350e: 079a slli a5,a5,0x6
|
|
3510: 00d9e6b3 or a3,s3,a3
|
|
3514: 00d7e9b3 or s3,a5,a3
|
|
3518: 00499793 slli a5,s3,0x4
|
|
351c: 0007d963 bgez a5,352e <__mulsf3+0x1f4>
|
|
3520: 0019d713 srli a4,s3,0x1
|
|
3524: 0019f793 andi a5,s3,1
|
|
3528: 00f769b3 or s3,a4,a5
|
|
352c: 842e mv s0,a1
|
|
352e: 07f40713 addi a4,s0,127
|
|
3532: 04e05063 blez a4,3572 <__mulsf3+0x238>
|
|
3536: 0079f793 andi a5,s3,7
|
|
353a: c799 beqz a5,3548 <__mulsf3+0x20e>
|
|
353c: 00f9f793 andi a5,s3,15
|
|
3540: 4691 li a3,4
|
|
3542: 00d78363 beq a5,a3,3548 <__mulsf3+0x20e>
|
|
3546: 0991 addi s3,s3,4
|
|
3548: 00499793 slli a5,s3,0x4
|
|
354c: 0007d963 bgez a5,355e <__mulsf3+0x224>
|
|
3550: f80007b7 lui a5,0xf8000
|
|
3554: 17fd addi a5,a5,-1
|
|
3556: 00f9f9b3 and s3,s3,a5
|
|
355a: 08040713 addi a4,s0,128
|
|
355e: 0fe00793 li a5,254
|
|
3562: 04e7cb63 blt a5,a4,35b8 <__mulsf3+0x27e>
|
|
3566: 00699793 slli a5,s3,0x6
|
|
356a: 83a5 srli a5,a5,0x9
|
|
356c: 0ff77713 andi a4,a4,255
|
|
3570: bdad j 33ea <__mulsf3+0xb0>
|
|
3572: 4785 li a5,1
|
|
3574: 40e786b3 sub a3,a5,a4
|
|
3578: c711 beqz a4,3584 <__mulsf3+0x24a>
|
|
357a: 466d li a2,27
|
|
357c: 4701 li a4,0
|
|
357e: 4781 li a5,0
|
|
3580: e6d645e3 blt a2,a3,33ea <__mulsf3+0xb0>
|
|
3584: 09e40713 addi a4,s0,158
|
|
3588: 00e99733 sll a4,s3,a4
|
|
358c: 00e03733 snez a4,a4
|
|
3590: 00d9d7b3 srl a5,s3,a3
|
|
3594: 8fd9 or a5,a5,a4
|
|
3596: 0077f713 andi a4,a5,7
|
|
359a: c719 beqz a4,35a8 <__mulsf3+0x26e>
|
|
359c: 00f7f713 andi a4,a5,15
|
|
35a0: 4691 li a3,4
|
|
35a2: 00d70363 beq a4,a3,35a8 <__mulsf3+0x26e>
|
|
35a6: 0791 addi a5,a5,4
|
|
35a8: 00579713 slli a4,a5,0x5
|
|
35ac: 00074c63 bltz a4,35c4 <__mulsf3+0x28a>
|
|
35b0: 079a slli a5,a5,0x6
|
|
35b2: 83a5 srli a5,a5,0x9
|
|
35b4: 4701 li a4,0
|
|
35b6: bd15 j 33ea <__mulsf3+0xb0>
|
|
35b8: 0ff00713 li a4,255
|
|
35bc: 4781 li a5,0
|
|
35be: b535 j 33ea <__mulsf3+0xb0>
|
|
35c0: 842e mv s0,a1
|
|
35c2: b7b5 j 352e <__mulsf3+0x1f4>
|
|
35c4: 4705 li a4,1
|
|
35c6: 4781 li a5,0
|
|
35c8: b50d j 33ea <__mulsf3+0xb0>
|
|
|
|
000035ca <__fixsfsi>:
|
|
35ca: 00800637 lui a2,0x800
|
|
35ce: 01755713 srli a4,a0,0x17
|
|
35d2: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7fabab>
|
|
35d6: 0ff77713 andi a4,a4,255
|
|
35da: 07e00593 li a1,126
|
|
35de: 00a7f6b3 and a3,a5,a0
|
|
35e2: 01f55793 srli a5,a0,0x1f
|
|
35e6: 00e5fc63 bgeu a1,a4,35fe <__fixsfsi+0x34>
|
|
35ea: 09d00593 li a1,157
|
|
35ee: 00e5fa63 bgeu a1,a4,3602 <__fixsfsi+0x38>
|
|
35f2: 80000537 lui a0,0x80000
|
|
35f6: fff54513 not a0,a0
|
|
35fa: 953e add a0,a0,a5
|
|
35fc: 8082 ret
|
|
35fe: 4501 li a0,0
|
|
3600: 8082 ret
|
|
3602: 09500593 li a1,149
|
|
3606: 8ed1 or a3,a3,a2
|
|
3608: 00e5cd63 blt a1,a4,3622 <__fixsfsi+0x58>
|
|
360c: 09600613 li a2,150
|
|
3610: 40e60733 sub a4,a2,a4
|
|
3614: 00e6d733 srl a4,a3,a4
|
|
3618: 40e00533 neg a0,a4
|
|
361c: f3f5 bnez a5,3600 <__fixsfsi+0x36>
|
|
361e: 853a mv a0,a4
|
|
3620: 8082 ret
|
|
3622: f6a70713 addi a4,a4,-150
|
|
3626: 00e69733 sll a4,a3,a4
|
|
362a: b7fd j 3618 <__fixsfsi+0x4e>
|
|
|
|
0000362c <__fixunssfsi>:
|
|
362c: 01755713 srli a4,a0,0x17
|
|
3630: 00800637 lui a2,0x800
|
|
3634: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7fabab>
|
|
3638: 0ff77713 andi a4,a4,255
|
|
363c: 07e00593 li a1,126
|
|
3640: 00a7f6b3 and a3,a5,a0
|
|
3644: 01f55793 srli a5,a0,0x1f
|
|
3648: 4501 li a0,0
|
|
364a: 00e5f463 bgeu a1,a4,3652 <__fixunssfsi+0x26>
|
|
364e: c399 beqz a5,3654 <__fixunssfsi+0x28>
|
|
3650: 8082 ret
|
|
3652: 8082 ret
|
|
3654: 09e00793 li a5,158
|
|
3658: 557d li a0,-1
|
|
365a: fee7ebe3 bltu a5,a4,3650 <__fixunssfsi+0x24>
|
|
365e: 09500593 li a1,149
|
|
3662: 00c6e7b3 or a5,a3,a2
|
|
3666: 00e5d763 bge a1,a4,3674 <__fixunssfsi+0x48>
|
|
366a: f6a70713 addi a4,a4,-150
|
|
366e: 00e79533 sll a0,a5,a4
|
|
3672: 8082 ret
|
|
3674: 09600513 li a0,150
|
|
3678: 40e50733 sub a4,a0,a4
|
|
367c: 00e7d533 srl a0,a5,a4
|
|
3680: 8082 ret
|
|
|
|
00003682 <__floatunsisf>:
|
|
3682: 1141 addi sp,sp,-16
|
|
3684: c606 sw ra,12(sp)
|
|
3686: c422 sw s0,8(sp)
|
|
3688: cd15 beqz a0,36c4 <__floatunsisf+0x42>
|
|
368a: 842a mv s0,a0
|
|
368c: 2ce9 jal 3966 <__clzsi2>
|
|
368e: 09e00793 li a5,158
|
|
3692: 40a78733 sub a4,a5,a0
|
|
3696: 09600793 li a5,150
|
|
369a: 04e7c063 blt a5,a4,36da <__floatunsisf+0x58>
|
|
369e: 46a1 li a3,8
|
|
36a0: 0ff77793 andi a5,a4,255
|
|
36a4: 00a6d563 bge a3,a0,36ae <__floatunsisf+0x2c>
|
|
36a8: 1561 addi a0,a0,-8
|
|
36aa: 00a41433 sll s0,s0,a0
|
|
36ae: 0426 slli s0,s0,0x9
|
|
36b0: 8025 srli s0,s0,0x9
|
|
36b2: 0426 slli s0,s0,0x9
|
|
36b4: 00945513 srli a0,s0,0x9
|
|
36b8: 40b2 lw ra,12(sp)
|
|
36ba: 4422 lw s0,8(sp)
|
|
36bc: 07de slli a5,a5,0x17
|
|
36be: 8d5d or a0,a0,a5
|
|
36c0: 0141 addi sp,sp,16
|
|
36c2: 8082 ret
|
|
36c4: 4401 li s0,0
|
|
36c6: 0426 slli s0,s0,0x9
|
|
36c8: 00945513 srli a0,s0,0x9
|
|
36cc: 40b2 lw ra,12(sp)
|
|
36ce: 4422 lw s0,8(sp)
|
|
36d0: 4781 li a5,0
|
|
36d2: 07de slli a5,a5,0x17
|
|
36d4: 8d5d or a0,a0,a5
|
|
36d6: 0141 addi sp,sp,16
|
|
36d8: 8082 ret
|
|
36da: 09900793 li a5,153
|
|
36de: 00e7dd63 bge a5,a4,36f8 <__floatunsisf+0x76>
|
|
36e2: 01b50793 addi a5,a0,27 # 8000001b <_eusrstack+0x5fffb01b>
|
|
36e6: 4695 li a3,5
|
|
36e8: 00f417b3 sll a5,s0,a5
|
|
36ec: 8e89 sub a3,a3,a0
|
|
36ee: 00f037b3 snez a5,a5
|
|
36f2: 00d45433 srl s0,s0,a3
|
|
36f6: 8c5d or s0,s0,a5
|
|
36f8: 4795 li a5,5
|
|
36fa: 00a7d663 bge a5,a0,3706 <__floatunsisf+0x84>
|
|
36fe: ffb50793 addi a5,a0,-5
|
|
3702: 00f41433 sll s0,s0,a5
|
|
3706: fc0006b7 lui a3,0xfc000
|
|
370a: 16fd addi a3,a3,-1
|
|
370c: 00747793 andi a5,s0,7
|
|
3710: 00d47633 and a2,s0,a3
|
|
3714: c385 beqz a5,3734 <__floatunsisf+0xb2>
|
|
3716: 00f47793 andi a5,s0,15
|
|
371a: 4591 li a1,4
|
|
371c: 00b78c63 beq a5,a1,3734 <__floatunsisf+0xb2>
|
|
3720: 0611 addi a2,a2,4
|
|
3722: 00561793 slli a5,a2,0x5
|
|
3726: 0007d763 bgez a5,3734 <__floatunsisf+0xb2>
|
|
372a: 09f00793 li a5,159
|
|
372e: 8e75 and a2,a2,a3
|
|
3730: 40a78733 sub a4,a5,a0
|
|
3734: 00661413 slli s0,a2,0x6
|
|
3738: 8025 srli s0,s0,0x9
|
|
373a: 0426 slli s0,s0,0x9
|
|
373c: 00945513 srli a0,s0,0x9
|
|
3740: 40b2 lw ra,12(sp)
|
|
3742: 4422 lw s0,8(sp)
|
|
3744: 0ff77793 andi a5,a4,255
|
|
3748: 07de slli a5,a5,0x17
|
|
374a: 8d5d or a0,a0,a5
|
|
374c: 0141 addi sp,sp,16
|
|
374e: 8082 ret
|
|
|
|
00003750 <__extendsfdf2>:
|
|
3750: 01755713 srli a4,a0,0x17
|
|
3754: 0ff77713 andi a4,a4,255
|
|
3758: 1141 addi sp,sp,-16
|
|
375a: 00170793 addi a5,a4,1
|
|
375e: c422 sw s0,8(sp)
|
|
3760: c226 sw s1,4(sp)
|
|
3762: 00951413 slli s0,a0,0x9
|
|
3766: c606 sw ra,12(sp)
|
|
3768: 0fe7f793 andi a5,a5,254
|
|
376c: 8025 srli s0,s0,0x9
|
|
376e: 01f55493 srli s1,a0,0x1f
|
|
3772: c785 beqz a5,379a <__extendsfdf2+0x4a>
|
|
3774: 00345793 srli a5,s0,0x3
|
|
3778: 38070713 addi a4,a4,896
|
|
377c: 0476 slli s0,s0,0x1d
|
|
377e: 07b2 slli a5,a5,0xc
|
|
3780: 0752 slli a4,a4,0x14
|
|
3782: 83b1 srli a5,a5,0xc
|
|
3784: 01f49513 slli a0,s1,0x1f
|
|
3788: 8fd9 or a5,a5,a4
|
|
378a: 8fc9 or a5,a5,a0
|
|
378c: 40b2 lw ra,12(sp)
|
|
378e: 8522 mv a0,s0
|
|
3790: 4422 lw s0,8(sp)
|
|
3792: 4492 lw s1,4(sp)
|
|
3794: 85be mv a1,a5
|
|
3796: 0141 addi sp,sp,16
|
|
3798: 8082 ret
|
|
379a: eb05 bnez a4,37ca <__extendsfdf2+0x7a>
|
|
379c: c439 beqz s0,37ea <__extendsfdf2+0x9a>
|
|
379e: 8522 mv a0,s0
|
|
37a0: 22d9 jal 3966 <__clzsi2>
|
|
37a2: 47a9 li a5,10
|
|
37a4: 04a7c663 blt a5,a0,37f0 <__extendsfdf2+0xa0>
|
|
37a8: 472d li a4,11
|
|
37aa: 8f09 sub a4,a4,a0
|
|
37ac: 01550793 addi a5,a0,21
|
|
37b0: 00e45733 srl a4,s0,a4
|
|
37b4: 00f41433 sll s0,s0,a5
|
|
37b8: 00c71793 slli a5,a4,0xc
|
|
37bc: 38900713 li a4,905
|
|
37c0: 8f09 sub a4,a4,a0
|
|
37c2: 83b1 srli a5,a5,0xc
|
|
37c4: 7ff77713 andi a4,a4,2047
|
|
37c8: bf5d j 377e <__extendsfdf2+0x2e>
|
|
37ca: cc01 beqz s0,37e2 <__extendsfdf2+0x92>
|
|
37cc: 00345713 srli a4,s0,0x3
|
|
37d0: 000807b7 lui a5,0x80
|
|
37d4: 8fd9 or a5,a5,a4
|
|
37d6: 07b2 slli a5,a5,0xc
|
|
37d8: 0476 slli s0,s0,0x1d
|
|
37da: 83b1 srli a5,a5,0xc
|
|
37dc: 7ff00713 li a4,2047
|
|
37e0: bf79 j 377e <__extendsfdf2+0x2e>
|
|
37e2: 7ff00713 li a4,2047
|
|
37e6: 4781 li a5,0
|
|
37e8: bf59 j 377e <__extendsfdf2+0x2e>
|
|
37ea: 4701 li a4,0
|
|
37ec: 4781 li a5,0
|
|
37ee: bf41 j 377e <__extendsfdf2+0x2e>
|
|
37f0: ff550713 addi a4,a0,-11
|
|
37f4: 00e41733 sll a4,s0,a4
|
|
37f8: 4401 li s0,0
|
|
37fa: bf7d j 37b8 <__extendsfdf2+0x68>
|
|
|
|
000037fc <__truncdfsf2>:
|
|
37fc: 0145d693 srli a3,a1,0x14
|
|
3800: 00c59793 slli a5,a1,0xc
|
|
3804: 7ff6f693 andi a3,a3,2047
|
|
3808: 83b1 srli a5,a5,0xc
|
|
380a: 00168613 addi a2,a3,1 # fc000001 <_eusrstack+0xdbffb001>
|
|
380e: 078e slli a5,a5,0x3
|
|
3810: 01d55713 srli a4,a0,0x1d
|
|
3814: 7fe67613 andi a2,a2,2046
|
|
3818: 81fd srli a1,a1,0x1f
|
|
381a: 8f5d or a4,a4,a5
|
|
381c: 00351893 slli a7,a0,0x3
|
|
3820: ce35 beqz a2,389c <__truncdfsf2+0xa0>
|
|
3822: c8068813 addi a6,a3,-896
|
|
3826: 0fe00793 li a5,254
|
|
382a: 0107dd63 bge a5,a6,3844 <__truncdfsf2+0x48>
|
|
382e: 4781 li a5,0
|
|
3830: 00979513 slli a0,a5,0x9
|
|
3834: 0ff00693 li a3,255
|
|
3838: 06de slli a3,a3,0x17
|
|
383a: 8125 srli a0,a0,0x9
|
|
383c: 05fe slli a1,a1,0x1f
|
|
383e: 8d55 or a0,a0,a3
|
|
3840: 8d4d or a0,a0,a1
|
|
3842: 8082 ret
|
|
3844: 0b005563 blez a6,38ee <__truncdfsf2+0xf2>
|
|
3848: 00651793 slli a5,a0,0x6
|
|
384c: 070e slli a4,a4,0x3
|
|
384e: 00f037b3 snez a5,a5
|
|
3852: 8fd9 or a5,a5,a4
|
|
3854: 01d8d893 srli a7,a7,0x1d
|
|
3858: 0117e7b3 or a5,a5,a7
|
|
385c: 0077f713 andi a4,a5,7
|
|
3860: 10070163 beqz a4,3962 <__truncdfsf2+0x166>
|
|
3864: 00f7f713 andi a4,a5,15
|
|
3868: 4691 li a3,4
|
|
386a: 00d70363 beq a4,a3,3870 <__truncdfsf2+0x74>
|
|
386e: 0791 addi a5,a5,4
|
|
3870: 04000737 lui a4,0x4000
|
|
3874: 8f7d and a4,a4,a5
|
|
3876: c775 beqz a4,3962 <__truncdfsf2+0x166>
|
|
3878: 00180713 addi a4,a6,1
|
|
387c: 0ff00613 li a2,255
|
|
3880: 0ff77693 andi a3,a4,255
|
|
3884: fac705e3 beq a4,a2,382e <__truncdfsf2+0x32>
|
|
3888: 079a slli a5,a5,0x6
|
|
388a: 83a5 srli a5,a5,0x9
|
|
388c: 00979513 slli a0,a5,0x9
|
|
3890: 06de slli a3,a3,0x17
|
|
3892: 8125 srli a0,a0,0x9
|
|
3894: 05fe slli a1,a1,0x1f
|
|
3896: 8d55 or a0,a0,a3
|
|
3898: 8d4d or a0,a0,a1
|
|
389a: 8082 ret
|
|
389c: 011767b3 or a5,a4,a7
|
|
38a0: ee99 bnez a3,38be <__truncdfsf2+0xc2>
|
|
38a2: cf85 beqz a5,38da <__truncdfsf2+0xde>
|
|
38a4: 4795 li a5,5
|
|
38a6: 079a slli a5,a5,0x6
|
|
38a8: 83a5 srli a5,a5,0x9
|
|
38aa: 00979513 slli a0,a5,0x9
|
|
38ae: 0ff6f693 andi a3,a3,255
|
|
38b2: 06de slli a3,a3,0x17
|
|
38b4: 8125 srli a0,a0,0x9
|
|
38b6: 05fe slli a1,a1,0x1f
|
|
38b8: 8d55 or a0,a0,a3
|
|
38ba: 8d4d or a0,a0,a1
|
|
38bc: 8082 ret
|
|
38be: dba5 beqz a5,382e <__truncdfsf2+0x32>
|
|
38c0: 004007b7 lui a5,0x400
|
|
38c4: 00979513 slli a0,a5,0x9
|
|
38c8: 0ff00693 li a3,255
|
|
38cc: 06de slli a3,a3,0x17
|
|
38ce: 4581 li a1,0
|
|
38d0: 8125 srli a0,a0,0x9
|
|
38d2: 05fe slli a1,a1,0x1f
|
|
38d4: 8d55 or a0,a0,a3
|
|
38d6: 8d4d or a0,a0,a1
|
|
38d8: 8082 ret
|
|
38da: 4781 li a5,0
|
|
38dc: 00979513 slli a0,a5,0x9
|
|
38e0: 4681 li a3,0
|
|
38e2: 06de slli a3,a3,0x17
|
|
38e4: 8125 srli a0,a0,0x9
|
|
38e6: 05fe slli a1,a1,0x1f
|
|
38e8: 8d55 or a0,a0,a3
|
|
38ea: 8d4d or a0,a0,a1
|
|
38ec: 8082 ret
|
|
38ee: 57a5 li a5,-23
|
|
38f0: 04f84863 blt a6,a5,3940 <__truncdfsf2+0x144>
|
|
38f4: 47f9 li a5,30
|
|
38f6: 00800637 lui a2,0x800
|
|
38fa: 410787b3 sub a5,a5,a6
|
|
38fe: 457d li a0,31
|
|
3900: 8e59 or a2,a2,a4
|
|
3902: 04f55163 bge a0,a5,3944 <__truncdfsf2+0x148>
|
|
3906: 5779 li a4,-2
|
|
3908: 41070733 sub a4,a4,a6
|
|
390c: 02000513 li a0,32
|
|
3910: 00e65733 srl a4,a2,a4
|
|
3914: 00a78863 beq a5,a0,3924 <__truncdfsf2+0x128>
|
|
3918: ca268693 addi a3,a3,-862
|
|
391c: 00d616b3 sll a3,a2,a3
|
|
3920: 00d8e8b3 or a7,a7,a3
|
|
3924: 011037b3 snez a5,a7
|
|
3928: 8fd9 or a5,a5,a4
|
|
392a: 0077f713 andi a4,a5,7
|
|
392e: 4801 li a6,0
|
|
3930: fb15 bnez a4,3864 <__truncdfsf2+0x68>
|
|
3932: 00579713 slli a4,a5,0x5
|
|
3936: 4685 li a3,1
|
|
3938: f40748e3 bltz a4,3888 <__truncdfsf2+0x8c>
|
|
393c: 4681 li a3,0
|
|
393e: b7a5 j 38a6 <__truncdfsf2+0xaa>
|
|
3940: 4681 li a3,0
|
|
3942: b78d j 38a4 <__truncdfsf2+0xa8>
|
|
3944: c8268693 addi a3,a3,-894
|
|
3948: 00d89733 sll a4,a7,a3
|
|
394c: 00e03733 snez a4,a4
|
|
3950: 00d616b3 sll a3,a2,a3
|
|
3954: 00f8d8b3 srl a7,a7,a5
|
|
3958: 00d767b3 or a5,a4,a3
|
|
395c: 00f8e7b3 or a5,a7,a5
|
|
3960: b7e9 j 392a <__truncdfsf2+0x12e>
|
|
3962: 86c2 mv a3,a6
|
|
3964: b789 j 38a6 <__truncdfsf2+0xaa>
|
|
|
|
00003966 <__clzsi2>:
|
|
3966: 67c1 lui a5,0x10
|
|
3968: 02f57c63 bgeu a0,a5,39a0 <__clzsi2+0x3a>
|
|
396c: 0ff00793 li a5,255
|
|
3970: 02000713 li a4,32
|
|
3974: 00a7eb63 bltu a5,a0,398a <__clzsi2+0x24>
|
|
3978: 00002797 auipc a5,0x2
|
|
397c: 94078793 addi a5,a5,-1728 # 52b8 <__clz_tab>
|
|
3980: 97aa add a5,a5,a0
|
|
3982: 2388 lbu a0,0(a5)
|
|
3984: 40a70533 sub a0,a4,a0
|
|
3988: 8082 ret
|
|
398a: 8121 srli a0,a0,0x8
|
|
398c: 00002797 auipc a5,0x2
|
|
3990: 92c78793 addi a5,a5,-1748 # 52b8 <__clz_tab>
|
|
3994: 97aa add a5,a5,a0
|
|
3996: 2388 lbu a0,0(a5)
|
|
3998: 4761 li a4,24
|
|
399a: 40a70533 sub a0,a4,a0
|
|
399e: 8082 ret
|
|
39a0: 010007b7 lui a5,0x1000
|
|
39a4: 00f56d63 bltu a0,a5,39be <__clzsi2+0x58>
|
|
39a8: 8161 srli a0,a0,0x18
|
|
39aa: 00002797 auipc a5,0x2
|
|
39ae: 90e78793 addi a5,a5,-1778 # 52b8 <__clz_tab>
|
|
39b2: 97aa add a5,a5,a0
|
|
39b4: 2388 lbu a0,0(a5)
|
|
39b6: 4721 li a4,8
|
|
39b8: 40a70533 sub a0,a4,a0
|
|
39bc: 8082 ret
|
|
39be: 8141 srli a0,a0,0x10
|
|
39c0: 00002797 auipc a5,0x2
|
|
39c4: 8f878793 addi a5,a5,-1800 # 52b8 <__clz_tab>
|
|
39c8: 97aa add a5,a5,a0
|
|
39ca: 2388 lbu a0,0(a5)
|
|
39cc: 4741 li a4,16
|
|
39ce: 40a70533 sub a0,a4,a0
|
|
39d2: 8082 ret
|
|
|
|
000039d4 <memcpy>:
|
|
39d4: 00a5c7b3 xor a5,a1,a0
|
|
39d8: 8b8d andi a5,a5,3
|
|
39da: 00c50733 add a4,a0,a2
|
|
39de: e781 bnez a5,39e6 <memcpy+0x12>
|
|
39e0: 478d li a5,3
|
|
39e2: 00c7ed63 bltu a5,a2,39fc <memcpy+0x28>
|
|
39e6: 87aa mv a5,a0
|
|
39e8: 08e57e63 bgeu a0,a4,3a84 <memcpy+0xb0>
|
|
39ec: 2194 lbu a3,0(a1)
|
|
39ee: 0785 addi a5,a5,1
|
|
39f0: 0585 addi a1,a1,1
|
|
39f2: fed78fa3 sb a3,-1(a5)
|
|
39f6: fee7ebe3 bltu a5,a4,39ec <memcpy+0x18>
|
|
39fa: 8082 ret
|
|
39fc: 00357693 andi a3,a0,3
|
|
3a00: 87aa mv a5,a0
|
|
3a02: ca89 beqz a3,3a14 <memcpy+0x40>
|
|
3a04: 2194 lbu a3,0(a1)
|
|
3a06: 0785 addi a5,a5,1
|
|
3a08: 0585 addi a1,a1,1
|
|
3a0a: fed78fa3 sb a3,-1(a5)
|
|
3a0e: 0037f693 andi a3,a5,3
|
|
3a12: bfc5 j 3a02 <memcpy+0x2e>
|
|
3a14: ffc77693 andi a3,a4,-4
|
|
3a18: fe068613 addi a2,a3,-32
|
|
3a1c: 06c7f063 bgeu a5,a2,3a7c <memcpy+0xa8>
|
|
3a20: 0005a383 lw t2,0(a1)
|
|
3a24: 0045a283 lw t0,4(a1)
|
|
3a28: 0085af83 lw t6,8(a1)
|
|
3a2c: 00c5af03 lw t5,12(a1)
|
|
3a30: 0105ae83 lw t4,16(a1)
|
|
3a34: 0145ae03 lw t3,20(a1)
|
|
3a38: 0185a303 lw t1,24(a1)
|
|
3a3c: 01c5a883 lw a7,28(a1)
|
|
3a40: 02458593 addi a1,a1,36
|
|
3a44: 0077a023 sw t2,0(a5)
|
|
3a48: ffc5a803 lw a6,-4(a1)
|
|
3a4c: 0057a223 sw t0,4(a5)
|
|
3a50: 01f7a423 sw t6,8(a5)
|
|
3a54: 01e7a623 sw t5,12(a5)
|
|
3a58: 01d7a823 sw t4,16(a5)
|
|
3a5c: 01c7aa23 sw t3,20(a5)
|
|
3a60: 0067ac23 sw t1,24(a5)
|
|
3a64: 0117ae23 sw a7,28(a5)
|
|
3a68: 02478793 addi a5,a5,36
|
|
3a6c: ff07ae23 sw a6,-4(a5)
|
|
3a70: b775 j 3a1c <memcpy+0x48>
|
|
3a72: 4190 lw a2,0(a1)
|
|
3a74: 0791 addi a5,a5,4
|
|
3a76: 0591 addi a1,a1,4
|
|
3a78: fec7ae23 sw a2,-4(a5)
|
|
3a7c: fed7ebe3 bltu a5,a3,3a72 <memcpy+0x9e>
|
|
3a80: f6e7e6e3 bltu a5,a4,39ec <memcpy+0x18>
|
|
3a84: 8082 ret
|
|
|
|
00003a86 <iprintf>:
|
|
3a86: 7139 addi sp,sp,-64
|
|
3a88: da3e sw a5,52(sp)
|
|
3a8a: d22e sw a1,36(sp)
|
|
3a8c: d432 sw a2,40(sp)
|
|
3a8e: d636 sw a3,44(sp)
|
|
3a90: d83a sw a4,48(sp)
|
|
3a92: dc42 sw a6,56(sp)
|
|
3a94: de46 sw a7,60(sp)
|
|
3a96: 81018793 addi a5,gp,-2032 # 20000148 <_impure_ptr>
|
|
3a9a: cc22 sw s0,24(sp)
|
|
3a9c: 4380 lw s0,0(a5)
|
|
3a9e: ca26 sw s1,20(sp)
|
|
3aa0: ce06 sw ra,28(sp)
|
|
3aa2: 84aa mv s1,a0
|
|
3aa4: c409 beqz s0,3aae <iprintf+0x28>
|
|
3aa6: 4c1c lw a5,24(s0)
|
|
3aa8: e399 bnez a5,3aae <iprintf+0x28>
|
|
3aaa: 8522 mv a0,s0
|
|
3aac: 2be1 jal 4084 <__sinit>
|
|
3aae: 440c lw a1,8(s0)
|
|
3ab0: 1054 addi a3,sp,36
|
|
3ab2: 8626 mv a2,s1
|
|
3ab4: 8522 mv a0,s0
|
|
3ab6: c636 sw a3,12(sp)
|
|
3ab8: 21d000ef jal ra,44d4 <_vfiprintf_r>
|
|
3abc: 40f2 lw ra,28(sp)
|
|
3abe: 4462 lw s0,24(sp)
|
|
3ac0: 44d2 lw s1,20(sp)
|
|
3ac2: 6121 addi sp,sp,64
|
|
3ac4: 8082 ret
|
|
|
|
00003ac6 <_puts_r>:
|
|
3ac6: 1101 addi sp,sp,-32
|
|
3ac8: ca26 sw s1,20(sp)
|
|
3aca: c84a sw s2,16(sp)
|
|
3acc: ce06 sw ra,28(sp)
|
|
3ace: cc22 sw s0,24(sp)
|
|
3ad0: c64e sw s3,12(sp)
|
|
3ad2: c452 sw s4,8(sp)
|
|
3ad4: 84aa mv s1,a0
|
|
3ad6: 892e mv s2,a1
|
|
3ad8: c501 beqz a0,3ae0 <_puts_r+0x1a>
|
|
3ada: 4d1c lw a5,24(a0)
|
|
3adc: e391 bnez a5,3ae0 <_puts_r+0x1a>
|
|
3ade: 235d jal 4084 <__sinit>
|
|
3ae0: 4c9c lw a5,24(s1)
|
|
3ae2: 4480 lw s0,8(s1)
|
|
3ae4: e399 bnez a5,3aea <_puts_r+0x24>
|
|
3ae6: 8526 mv a0,s1
|
|
3ae8: 2b71 jal 4084 <__sinit>
|
|
3aea: 00002797 auipc a5,0x2
|
|
3aee: 8ee78793 addi a5,a5,-1810 # 53d8 <__sf_fake_stdin>
|
|
3af2: 02f41b63 bne s0,a5,3b28 <_puts_r+0x62>
|
|
3af6: 40c0 lw s0,4(s1)
|
|
3af8: 245e lhu a5,12(s0)
|
|
3afa: 8ba1 andi a5,a5,8
|
|
3afc: c7b1 beqz a5,3b48 <_puts_r+0x82>
|
|
3afe: 481c lw a5,16(s0)
|
|
3b00: c7a1 beqz a5,3b48 <_puts_r+0x82>
|
|
3b02: 59fd li s3,-1
|
|
3b04: 4a29 li s4,10
|
|
3b06: 441c lw a5,8(s0)
|
|
3b08: 00094583 lbu a1,0(s2)
|
|
3b0c: 17fd addi a5,a5,-1
|
|
3b0e: e9b1 bnez a1,3b62 <_puts_r+0x9c>
|
|
3b10: c41c sw a5,8(s0)
|
|
3b12: 0607dd63 bgez a5,3b8c <_puts_r+0xc6>
|
|
3b16: 8622 mv a2,s0
|
|
3b18: 45a9 li a1,10
|
|
3b1a: 8526 mv a0,s1
|
|
3b1c: 2295 jal 3c80 <__swbuf_r>
|
|
3b1e: 57fd li a5,-1
|
|
3b20: 02f50863 beq a0,a5,3b50 <_puts_r+0x8a>
|
|
3b24: 4529 li a0,10
|
|
3b26: a035 j 3b52 <_puts_r+0x8c>
|
|
3b28: 00002797 auipc a5,0x2
|
|
3b2c: 8d078793 addi a5,a5,-1840 # 53f8 <__sf_fake_stdout>
|
|
3b30: 00f41463 bne s0,a5,3b38 <_puts_r+0x72>
|
|
3b34: 4480 lw s0,8(s1)
|
|
3b36: b7c9 j 3af8 <_puts_r+0x32>
|
|
3b38: 00002797 auipc a5,0x2
|
|
3b3c: 88078793 addi a5,a5,-1920 # 53b8 <__sf_fake_stderr>
|
|
3b40: faf41ce3 bne s0,a5,3af8 <_puts_r+0x32>
|
|
3b44: 44c0 lw s0,12(s1)
|
|
3b46: bf4d j 3af8 <_puts_r+0x32>
|
|
3b48: 85a2 mv a1,s0
|
|
3b4a: 8526 mv a0,s1
|
|
3b4c: 2ac5 jal 3d3c <__swsetup_r>
|
|
3b4e: d955 beqz a0,3b02 <_puts_r+0x3c>
|
|
3b50: 557d li a0,-1
|
|
3b52: 40f2 lw ra,28(sp)
|
|
3b54: 4462 lw s0,24(sp)
|
|
3b56: 44d2 lw s1,20(sp)
|
|
3b58: 4942 lw s2,16(sp)
|
|
3b5a: 49b2 lw s3,12(sp)
|
|
3b5c: 4a22 lw s4,8(sp)
|
|
3b5e: 6105 addi sp,sp,32
|
|
3b60: 8082 ret
|
|
3b62: c41c sw a5,8(s0)
|
|
3b64: 0905 addi s2,s2,1
|
|
3b66: 0007d763 bgez a5,3b74 <_puts_r+0xae>
|
|
3b6a: 4c18 lw a4,24(s0)
|
|
3b6c: 00e7ca63 blt a5,a4,3b80 <_puts_r+0xba>
|
|
3b70: 01458863 beq a1,s4,3b80 <_puts_r+0xba>
|
|
3b74: 401c lw a5,0(s0)
|
|
3b76: 00178713 addi a4,a5,1
|
|
3b7a: c018 sw a4,0(s0)
|
|
3b7c: a38c sb a1,0(a5)
|
|
3b7e: b761 j 3b06 <_puts_r+0x40>
|
|
3b80: 8622 mv a2,s0
|
|
3b82: 8526 mv a0,s1
|
|
3b84: 28f5 jal 3c80 <__swbuf_r>
|
|
3b86: f93510e3 bne a0,s3,3b06 <_puts_r+0x40>
|
|
3b8a: b7d9 j 3b50 <_puts_r+0x8a>
|
|
3b8c: 401c lw a5,0(s0)
|
|
3b8e: 00178713 addi a4,a5,1
|
|
3b92: c018 sw a4,0(s0)
|
|
3b94: 4729 li a4,10
|
|
3b96: a398 sb a4,0(a5)
|
|
3b98: b771 j 3b24 <_puts_r+0x5e>
|
|
|
|
00003b9a <puts>:
|
|
3b9a: 81018793 addi a5,gp,-2032 # 20000148 <_impure_ptr>
|
|
3b9e: 85aa mv a1,a0
|
|
3ba0: 4388 lw a0,0(a5)
|
|
3ba2: f25ff06f j 3ac6 <_puts_r>
|
|
|
|
00003ba6 <srand>:
|
|
3ba6: 1141 addi sp,sp,-16
|
|
3ba8: 81018793 addi a5,gp,-2032 # 20000148 <_impure_ptr>
|
|
3bac: c422 sw s0,8(sp)
|
|
3bae: 4380 lw s0,0(a5)
|
|
3bb0: c226 sw s1,4(sp)
|
|
3bb2: c606 sw ra,12(sp)
|
|
3bb4: 5c1c lw a5,56(s0)
|
|
3bb6: 84aa mv s1,a0
|
|
3bb8: eb8d bnez a5,3bea <srand+0x44>
|
|
3bba: 4561 li a0,24
|
|
3bbc: 2725 jal 42e4 <malloc>
|
|
3bbe: abcd37b7 lui a5,0xabcd3
|
|
3bc2: dc08 sw a0,56(s0)
|
|
3bc4: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
3bc8: c11c sw a5,0(a0)
|
|
3bca: e66d17b7 lui a5,0xe66d1
|
|
3bce: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
3bd2: c15c sw a5,4(a0)
|
|
3bd4: 0005e7b7 lui a5,0x5e
|
|
3bd8: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x58a98>
|
|
3bdc: c51c sw a5,8(a0)
|
|
3bde: 47ad li a5,11
|
|
3be0: a55e sh a5,12(a0)
|
|
3be2: 4705 li a4,1
|
|
3be4: 4781 li a5,0
|
|
3be6: c918 sw a4,16(a0)
|
|
3be8: c95c sw a5,20(a0)
|
|
3bea: 5c1c lw a5,56(s0)
|
|
3bec: 40b2 lw ra,12(sp)
|
|
3bee: 4422 lw s0,8(sp)
|
|
3bf0: cb84 sw s1,16(a5)
|
|
3bf2: 0007aa23 sw zero,20(a5)
|
|
3bf6: 4492 lw s1,4(sp)
|
|
3bf8: 0141 addi sp,sp,16
|
|
3bfa: 8082 ret
|
|
|
|
00003bfc <rand>:
|
|
3bfc: 1141 addi sp,sp,-16
|
|
3bfe: 81018793 addi a5,gp,-2032 # 20000148 <_impure_ptr>
|
|
3c02: c422 sw s0,8(sp)
|
|
3c04: 4380 lw s0,0(a5)
|
|
3c06: c606 sw ra,12(sp)
|
|
3c08: 5c1c lw a5,56(s0)
|
|
3c0a: eb8d bnez a5,3c3c <rand+0x40>
|
|
3c0c: 4561 li a0,24
|
|
3c0e: 2dd9 jal 42e4 <malloc>
|
|
3c10: abcd37b7 lui a5,0xabcd3
|
|
3c14: dc08 sw a0,56(s0)
|
|
3c16: 30e78793 addi a5,a5,782 # abcd330e <_eusrstack+0x8bcce30e>
|
|
3c1a: c11c sw a5,0(a0)
|
|
3c1c: e66d17b7 lui a5,0xe66d1
|
|
3c20: 23478793 addi a5,a5,564 # e66d1234 <_eusrstack+0xc66cc234>
|
|
3c24: c15c sw a5,4(a0)
|
|
3c26: 0005e7b7 lui a5,0x5e
|
|
3c2a: eec78793 addi a5,a5,-276 # 5deec <_data_lma+0x58a98>
|
|
3c2e: c51c sw a5,8(a0)
|
|
3c30: 47ad li a5,11
|
|
3c32: a55e sh a5,12(a0)
|
|
3c34: 4705 li a4,1
|
|
3c36: 4781 li a5,0
|
|
3c38: c918 sw a4,16(a0)
|
|
3c3a: c95c sw a5,20(a0)
|
|
3c3c: 5c10 lw a2,56(s0)
|
|
3c3e: 4c958737 lui a4,0x4c958
|
|
3c42: 5851f7b7 lui a5,0x5851f
|
|
3c46: 4a14 lw a3,16(a2)
|
|
3c48: 4a48 lw a0,20(a2)
|
|
3c4a: f2d70713 addi a4,a4,-211 # 4c957f2d <_eusrstack+0x2c952f2d>
|
|
3c4e: 42d78793 addi a5,a5,1069 # 5851f42d <_eusrstack+0x3851a42d>
|
|
3c52: 02f687b3 mul a5,a3,a5
|
|
3c56: 40b2 lw ra,12(sp)
|
|
3c58: 4422 lw s0,8(sp)
|
|
3c5a: 02e50533 mul a0,a0,a4
|
|
3c5e: 953e add a0,a0,a5
|
|
3c60: 02e687b3 mul a5,a3,a4
|
|
3c64: 02e6b733 mulhu a4,a3,a4
|
|
3c68: 00178693 addi a3,a5,1
|
|
3c6c: ca14 sw a3,16(a2)
|
|
3c6e: 972a add a4,a4,a0
|
|
3c70: 00f6b533 sltu a0,a3,a5
|
|
3c74: 953a add a0,a0,a4
|
|
3c76: ca48 sw a0,20(a2)
|
|
3c78: 0506 slli a0,a0,0x1
|
|
3c7a: 8105 srli a0,a0,0x1
|
|
3c7c: 0141 addi sp,sp,16
|
|
3c7e: 8082 ret
|
|
|
|
00003c80 <__swbuf_r>:
|
|
3c80: 1101 addi sp,sp,-32
|
|
3c82: cc22 sw s0,24(sp)
|
|
3c84: ca26 sw s1,20(sp)
|
|
3c86: c84a sw s2,16(sp)
|
|
3c88: ce06 sw ra,28(sp)
|
|
3c8a: c64e sw s3,12(sp)
|
|
3c8c: 84aa mv s1,a0
|
|
3c8e: 892e mv s2,a1
|
|
3c90: 8432 mv s0,a2
|
|
3c92: c501 beqz a0,3c9a <__swbuf_r+0x1a>
|
|
3c94: 4d1c lw a5,24(a0)
|
|
3c96: e391 bnez a5,3c9a <__swbuf_r+0x1a>
|
|
3c98: 26f5 jal 4084 <__sinit>
|
|
3c9a: 00001797 auipc a5,0x1
|
|
3c9e: 73e78793 addi a5,a5,1854 # 53d8 <__sf_fake_stdin>
|
|
3ca2: 06f41763 bne s0,a5,3d10 <__swbuf_r+0x90>
|
|
3ca6: 40c0 lw s0,4(s1)
|
|
3ca8: 4c1c lw a5,24(s0)
|
|
3caa: c41c sw a5,8(s0)
|
|
3cac: 245e lhu a5,12(s0)
|
|
3cae: 8ba1 andi a5,a5,8
|
|
3cb0: c3c1 beqz a5,3d30 <__swbuf_r+0xb0>
|
|
3cb2: 481c lw a5,16(s0)
|
|
3cb4: cfb5 beqz a5,3d30 <__swbuf_r+0xb0>
|
|
3cb6: 481c lw a5,16(s0)
|
|
3cb8: 4008 lw a0,0(s0)
|
|
3cba: 0ff97993 andi s3,s2,255
|
|
3cbe: 0ff97913 andi s2,s2,255
|
|
3cc2: 8d1d sub a0,a0,a5
|
|
3cc4: 485c lw a5,20(s0)
|
|
3cc6: 00f54663 blt a0,a5,3cd2 <__swbuf_r+0x52>
|
|
3cca: 85a2 mv a1,s0
|
|
3ccc: 8526 mv a0,s1
|
|
3cce: 2c69 jal 3f68 <_fflush_r>
|
|
3cd0: e525 bnez a0,3d38 <__swbuf_r+0xb8>
|
|
3cd2: 441c lw a5,8(s0)
|
|
3cd4: 0505 addi a0,a0,1
|
|
3cd6: 17fd addi a5,a5,-1
|
|
3cd8: c41c sw a5,8(s0)
|
|
3cda: 401c lw a5,0(s0)
|
|
3cdc: 00178713 addi a4,a5,1
|
|
3ce0: c018 sw a4,0(s0)
|
|
3ce2: 01378023 sb s3,0(a5)
|
|
3ce6: 485c lw a5,20(s0)
|
|
3ce8: 00a78863 beq a5,a0,3cf8 <__swbuf_r+0x78>
|
|
3cec: 245e lhu a5,12(s0)
|
|
3cee: 8b85 andi a5,a5,1
|
|
3cf0: cb81 beqz a5,3d00 <__swbuf_r+0x80>
|
|
3cf2: 47a9 li a5,10
|
|
3cf4: 00f91663 bne s2,a5,3d00 <__swbuf_r+0x80>
|
|
3cf8: 85a2 mv a1,s0
|
|
3cfa: 8526 mv a0,s1
|
|
3cfc: 24b5 jal 3f68 <_fflush_r>
|
|
3cfe: ed0d bnez a0,3d38 <__swbuf_r+0xb8>
|
|
3d00: 40f2 lw ra,28(sp)
|
|
3d02: 4462 lw s0,24(sp)
|
|
3d04: 854a mv a0,s2
|
|
3d06: 44d2 lw s1,20(sp)
|
|
3d08: 4942 lw s2,16(sp)
|
|
3d0a: 49b2 lw s3,12(sp)
|
|
3d0c: 6105 addi sp,sp,32
|
|
3d0e: 8082 ret
|
|
3d10: 00001797 auipc a5,0x1
|
|
3d14: 6e878793 addi a5,a5,1768 # 53f8 <__sf_fake_stdout>
|
|
3d18: 00f41463 bne s0,a5,3d20 <__swbuf_r+0xa0>
|
|
3d1c: 4480 lw s0,8(s1)
|
|
3d1e: b769 j 3ca8 <__swbuf_r+0x28>
|
|
3d20: 00001797 auipc a5,0x1
|
|
3d24: 69878793 addi a5,a5,1688 # 53b8 <__sf_fake_stderr>
|
|
3d28: f8f410e3 bne s0,a5,3ca8 <__swbuf_r+0x28>
|
|
3d2c: 44c0 lw s0,12(s1)
|
|
3d2e: bfad j 3ca8 <__swbuf_r+0x28>
|
|
3d30: 85a2 mv a1,s0
|
|
3d32: 8526 mv a0,s1
|
|
3d34: 2021 jal 3d3c <__swsetup_r>
|
|
3d36: d141 beqz a0,3cb6 <__swbuf_r+0x36>
|
|
3d38: 597d li s2,-1
|
|
3d3a: b7d9 j 3d00 <__swbuf_r+0x80>
|
|
|
|
00003d3c <__swsetup_r>:
|
|
3d3c: 1141 addi sp,sp,-16
|
|
3d3e: 81018793 addi a5,gp,-2032 # 20000148 <_impure_ptr>
|
|
3d42: c226 sw s1,4(sp)
|
|
3d44: 4384 lw s1,0(a5)
|
|
3d46: c422 sw s0,8(sp)
|
|
3d48: c04a sw s2,0(sp)
|
|
3d4a: c606 sw ra,12(sp)
|
|
3d4c: 892a mv s2,a0
|
|
3d4e: 842e mv s0,a1
|
|
3d50: c489 beqz s1,3d5a <__swsetup_r+0x1e>
|
|
3d52: 4c9c lw a5,24(s1)
|
|
3d54: e399 bnez a5,3d5a <__swsetup_r+0x1e>
|
|
3d56: 8526 mv a0,s1
|
|
3d58: 2635 jal 4084 <__sinit>
|
|
3d5a: 00001797 auipc a5,0x1
|
|
3d5e: 67e78793 addi a5,a5,1662 # 53d8 <__sf_fake_stdin>
|
|
3d62: 02f41b63 bne s0,a5,3d98 <__swsetup_r+0x5c>
|
|
3d66: 40c0 lw s0,4(s1)
|
|
3d68: 00c41703 lh a4,12(s0)
|
|
3d6c: 01071793 slli a5,a4,0x10
|
|
3d70: 83c1 srli a5,a5,0x10
|
|
3d72: 0087f693 andi a3,a5,8
|
|
3d76: eaad bnez a3,3de8 <__swsetup_r+0xac>
|
|
3d78: 0107f693 andi a3,a5,16
|
|
3d7c: ee95 bnez a3,3db8 <__swsetup_r+0x7c>
|
|
3d7e: 47a5 li a5,9
|
|
3d80: 00f92023 sw a5,0(s2)
|
|
3d84: 04076713 ori a4,a4,64
|
|
3d88: a45a sh a4,12(s0)
|
|
3d8a: 557d li a0,-1
|
|
3d8c: 40b2 lw ra,12(sp)
|
|
3d8e: 4422 lw s0,8(sp)
|
|
3d90: 4492 lw s1,4(sp)
|
|
3d92: 4902 lw s2,0(sp)
|
|
3d94: 0141 addi sp,sp,16
|
|
3d96: 8082 ret
|
|
3d98: 00001797 auipc a5,0x1
|
|
3d9c: 66078793 addi a5,a5,1632 # 53f8 <__sf_fake_stdout>
|
|
3da0: 00f41463 bne s0,a5,3da8 <__swsetup_r+0x6c>
|
|
3da4: 4480 lw s0,8(s1)
|
|
3da6: b7c9 j 3d68 <__swsetup_r+0x2c>
|
|
3da8: 00001797 auipc a5,0x1
|
|
3dac: 61078793 addi a5,a5,1552 # 53b8 <__sf_fake_stderr>
|
|
3db0: faf41ce3 bne s0,a5,3d68 <__swsetup_r+0x2c>
|
|
3db4: 44c0 lw s0,12(s1)
|
|
3db6: bf4d j 3d68 <__swsetup_r+0x2c>
|
|
3db8: 8b91 andi a5,a5,4
|
|
3dba: c39d beqz a5,3de0 <__swsetup_r+0xa4>
|
|
3dbc: 584c lw a1,52(s0)
|
|
3dbe: c989 beqz a1,3dd0 <__swsetup_r+0x94>
|
|
3dc0: 04440793 addi a5,s0,68
|
|
3dc4: 00f58463 beq a1,a5,3dcc <__swsetup_r+0x90>
|
|
3dc8: 854a mv a0,s2
|
|
3dca: 2315 jal 42ee <_free_r>
|
|
3dcc: 02042a23 sw zero,52(s0)
|
|
3dd0: 245e lhu a5,12(s0)
|
|
3dd2: 00042223 sw zero,4(s0)
|
|
3dd6: fdb7f793 andi a5,a5,-37
|
|
3dda: a45e sh a5,12(s0)
|
|
3ddc: 481c lw a5,16(s0)
|
|
3dde: c01c sw a5,0(s0)
|
|
3de0: 245e lhu a5,12(s0)
|
|
3de2: 0087e793 ori a5,a5,8
|
|
3de6: a45e sh a5,12(s0)
|
|
3de8: 481c lw a5,16(s0)
|
|
3dea: eb99 bnez a5,3e00 <__swsetup_r+0xc4>
|
|
3dec: 245e lhu a5,12(s0)
|
|
3dee: 20000713 li a4,512
|
|
3df2: 2807f793 andi a5,a5,640
|
|
3df6: 00e78563 beq a5,a4,3e00 <__swsetup_r+0xc4>
|
|
3dfa: 85a2 mv a1,s0
|
|
3dfc: 854a mv a0,s2
|
|
3dfe: 2991 jal 4252 <__smakebuf_r>
|
|
3e00: 245e lhu a5,12(s0)
|
|
3e02: 0017f713 andi a4,a5,1
|
|
3e06: c31d beqz a4,3e2c <__swsetup_r+0xf0>
|
|
3e08: 485c lw a5,20(s0)
|
|
3e0a: 00042423 sw zero,8(s0)
|
|
3e0e: 40f007b3 neg a5,a5
|
|
3e12: cc1c sw a5,24(s0)
|
|
3e14: 481c lw a5,16(s0)
|
|
3e16: 4501 li a0,0
|
|
3e18: fbb5 bnez a5,3d8c <__swsetup_r+0x50>
|
|
3e1a: 00c41783 lh a5,12(s0)
|
|
3e1e: 0807f713 andi a4,a5,128
|
|
3e22: d72d beqz a4,3d8c <__swsetup_r+0x50>
|
|
3e24: 0407e793 ori a5,a5,64
|
|
3e28: a45e sh a5,12(s0)
|
|
3e2a: b785 j 3d8a <__swsetup_r+0x4e>
|
|
3e2c: 8b89 andi a5,a5,2
|
|
3e2e: 4701 li a4,0
|
|
3e30: e391 bnez a5,3e34 <__swsetup_r+0xf8>
|
|
3e32: 4858 lw a4,20(s0)
|
|
3e34: c418 sw a4,8(s0)
|
|
3e36: bff9 j 3e14 <__swsetup_r+0xd8>
|
|
|
|
00003e38 <__sflush_r>:
|
|
3e38: 25de lhu a5,12(a1)
|
|
3e3a: 1101 addi sp,sp,-32
|
|
3e3c: cc22 sw s0,24(sp)
|
|
3e3e: ca26 sw s1,20(sp)
|
|
3e40: ce06 sw ra,28(sp)
|
|
3e42: c84a sw s2,16(sp)
|
|
3e44: c64e sw s3,12(sp)
|
|
3e46: 0087f713 andi a4,a5,8
|
|
3e4a: 84aa mv s1,a0
|
|
3e4c: 842e mv s0,a1
|
|
3e4e: eb79 bnez a4,3f24 <__sflush_r+0xec>
|
|
3e50: 41d8 lw a4,4(a1)
|
|
3e52: 00e04d63 bgtz a4,3e6c <__sflush_r+0x34>
|
|
3e56: 41b8 lw a4,64(a1)
|
|
3e58: 00e04a63 bgtz a4,3e6c <__sflush_r+0x34>
|
|
3e5c: 4501 li a0,0
|
|
3e5e: 40f2 lw ra,28(sp)
|
|
3e60: 4462 lw s0,24(sp)
|
|
3e62: 44d2 lw s1,20(sp)
|
|
3e64: 4942 lw s2,16(sp)
|
|
3e66: 49b2 lw s3,12(sp)
|
|
3e68: 6105 addi sp,sp,32
|
|
3e6a: 8082 ret
|
|
3e6c: 5458 lw a4,44(s0)
|
|
3e6e: d77d beqz a4,3e5c <__sflush_r+0x24>
|
|
3e70: 0004a903 lw s2,0(s1)
|
|
3e74: 01379693 slli a3,a5,0x13
|
|
3e78: 0004a023 sw zero,0(s1)
|
|
3e7c: 0606db63 bgez a3,3ef2 <__sflush_r+0xba>
|
|
3e80: 4870 lw a2,84(s0)
|
|
3e82: 245e lhu a5,12(s0)
|
|
3e84: 8b91 andi a5,a5,4
|
|
3e86: c799 beqz a5,3e94 <__sflush_r+0x5c>
|
|
3e88: 405c lw a5,4(s0)
|
|
3e8a: 8e1d sub a2,a2,a5
|
|
3e8c: 585c lw a5,52(s0)
|
|
3e8e: c399 beqz a5,3e94 <__sflush_r+0x5c>
|
|
3e90: 403c lw a5,64(s0)
|
|
3e92: 8e1d sub a2,a2,a5
|
|
3e94: 545c lw a5,44(s0)
|
|
3e96: 500c lw a1,32(s0)
|
|
3e98: 4681 li a3,0
|
|
3e9a: 8526 mv a0,s1
|
|
3e9c: 9782 jalr a5
|
|
3e9e: 57fd li a5,-1
|
|
3ea0: 245a lhu a4,12(s0)
|
|
3ea2: 00f51d63 bne a0,a5,3ebc <__sflush_r+0x84>
|
|
3ea6: 4094 lw a3,0(s1)
|
|
3ea8: 47f5 li a5,29
|
|
3eaa: 06d7e863 bltu a5,a3,3f1a <__sflush_r+0xe2>
|
|
3eae: 204007b7 lui a5,0x20400
|
|
3eb2: 0785 addi a5,a5,1
|
|
3eb4: 00d7d7b3 srl a5,a5,a3
|
|
3eb8: 8b85 andi a5,a5,1
|
|
3eba: c3a5 beqz a5,3f1a <__sflush_r+0xe2>
|
|
3ebc: 481c lw a5,16(s0)
|
|
3ebe: 00042223 sw zero,4(s0)
|
|
3ec2: c01c sw a5,0(s0)
|
|
3ec4: 01371793 slli a5,a4,0x13
|
|
3ec8: 0007d863 bgez a5,3ed8 <__sflush_r+0xa0>
|
|
3ecc: 57fd li a5,-1
|
|
3ece: 00f51463 bne a0,a5,3ed6 <__sflush_r+0x9e>
|
|
3ed2: 409c lw a5,0(s1)
|
|
3ed4: e391 bnez a5,3ed8 <__sflush_r+0xa0>
|
|
3ed6: c868 sw a0,84(s0)
|
|
3ed8: 584c lw a1,52(s0)
|
|
3eda: 0124a023 sw s2,0(s1)
|
|
3ede: ddbd beqz a1,3e5c <__sflush_r+0x24>
|
|
3ee0: 04440793 addi a5,s0,68
|
|
3ee4: 00f58463 beq a1,a5,3eec <__sflush_r+0xb4>
|
|
3ee8: 8526 mv a0,s1
|
|
3eea: 2111 jal 42ee <_free_r>
|
|
3eec: 02042a23 sw zero,52(s0)
|
|
3ef0: b7b5 j 3e5c <__sflush_r+0x24>
|
|
3ef2: 500c lw a1,32(s0)
|
|
3ef4: 4601 li a2,0
|
|
3ef6: 4685 li a3,1
|
|
3ef8: 8526 mv a0,s1
|
|
3efa: 9702 jalr a4
|
|
3efc: 57fd li a5,-1
|
|
3efe: 862a mv a2,a0
|
|
3f00: f8f511e3 bne a0,a5,3e82 <__sflush_r+0x4a>
|
|
3f04: 409c lw a5,0(s1)
|
|
3f06: dfb5 beqz a5,3e82 <__sflush_r+0x4a>
|
|
3f08: 4775 li a4,29
|
|
3f0a: 00e78563 beq a5,a4,3f14 <__sflush_r+0xdc>
|
|
3f0e: 4759 li a4,22
|
|
3f10: 04e79363 bne a5,a4,3f56 <__sflush_r+0x11e>
|
|
3f14: 0124a023 sw s2,0(s1)
|
|
3f18: b791 j 3e5c <__sflush_r+0x24>
|
|
3f1a: 04076713 ori a4,a4,64
|
|
3f1e: a45a sh a4,12(s0)
|
|
3f20: 557d li a0,-1
|
|
3f22: bf35 j 3e5e <__sflush_r+0x26>
|
|
3f24: 0105a983 lw s3,16(a1)
|
|
3f28: f2098ae3 beqz s3,3e5c <__sflush_r+0x24>
|
|
3f2c: 0005a903 lw s2,0(a1)
|
|
3f30: 8b8d andi a5,a5,3
|
|
3f32: 0135a023 sw s3,0(a1)
|
|
3f36: 41390933 sub s2,s2,s3
|
|
3f3a: 4701 li a4,0
|
|
3f3c: e391 bnez a5,3f40 <__sflush_r+0x108>
|
|
3f3e: 49d8 lw a4,20(a1)
|
|
3f40: c418 sw a4,8(s0)
|
|
3f42: f1205de3 blez s2,3e5c <__sflush_r+0x24>
|
|
3f46: 541c lw a5,40(s0)
|
|
3f48: 500c lw a1,32(s0)
|
|
3f4a: 86ca mv a3,s2
|
|
3f4c: 864e mv a2,s3
|
|
3f4e: 8526 mv a0,s1
|
|
3f50: 9782 jalr a5
|
|
3f52: 00a04763 bgtz a0,3f60 <__sflush_r+0x128>
|
|
3f56: 245e lhu a5,12(s0)
|
|
3f58: 0407e793 ori a5,a5,64
|
|
3f5c: a45e sh a5,12(s0)
|
|
3f5e: b7c9 j 3f20 <__sflush_r+0xe8>
|
|
3f60: 99aa add s3,s3,a0
|
|
3f62: 40a90933 sub s2,s2,a0
|
|
3f66: bff1 j 3f42 <__sflush_r+0x10a>
|
|
|
|
00003f68 <_fflush_r>:
|
|
3f68: 499c lw a5,16(a1)
|
|
3f6a: c3a5 beqz a5,3fca <_fflush_r+0x62>
|
|
3f6c: 1101 addi sp,sp,-32
|
|
3f6e: cc22 sw s0,24(sp)
|
|
3f70: ce06 sw ra,28(sp)
|
|
3f72: 842a mv s0,a0
|
|
3f74: c511 beqz a0,3f80 <_fflush_r+0x18>
|
|
3f76: 4d1c lw a5,24(a0)
|
|
3f78: e781 bnez a5,3f80 <_fflush_r+0x18>
|
|
3f7a: c62e sw a1,12(sp)
|
|
3f7c: 2221 jal 4084 <__sinit>
|
|
3f7e: 45b2 lw a1,12(sp)
|
|
3f80: 00001797 auipc a5,0x1
|
|
3f84: 45878793 addi a5,a5,1112 # 53d8 <__sf_fake_stdin>
|
|
3f88: 00f59c63 bne a1,a5,3fa0 <_fflush_r+0x38>
|
|
3f8c: 404c lw a1,4(s0)
|
|
3f8e: 00c59783 lh a5,12(a1)
|
|
3f92: c79d beqz a5,3fc0 <_fflush_r+0x58>
|
|
3f94: 8522 mv a0,s0
|
|
3f96: 4462 lw s0,24(sp)
|
|
3f98: 40f2 lw ra,28(sp)
|
|
3f9a: 6105 addi sp,sp,32
|
|
3f9c: e9dff06f j 3e38 <__sflush_r>
|
|
3fa0: 00001797 auipc a5,0x1
|
|
3fa4: 45878793 addi a5,a5,1112 # 53f8 <__sf_fake_stdout>
|
|
3fa8: 00f59463 bne a1,a5,3fb0 <_fflush_r+0x48>
|
|
3fac: 440c lw a1,8(s0)
|
|
3fae: b7c5 j 3f8e <_fflush_r+0x26>
|
|
3fb0: 00001797 auipc a5,0x1
|
|
3fb4: 40878793 addi a5,a5,1032 # 53b8 <__sf_fake_stderr>
|
|
3fb8: fcf59be3 bne a1,a5,3f8e <_fflush_r+0x26>
|
|
3fbc: 444c lw a1,12(s0)
|
|
3fbe: bfc1 j 3f8e <_fflush_r+0x26>
|
|
3fc0: 40f2 lw ra,28(sp)
|
|
3fc2: 4462 lw s0,24(sp)
|
|
3fc4: 4501 li a0,0
|
|
3fc6: 6105 addi sp,sp,32
|
|
3fc8: 8082 ret
|
|
3fca: 4501 li a0,0
|
|
3fcc: 8082 ret
|
|
|
|
00003fce <std>:
|
|
3fce: 1141 addi sp,sp,-16
|
|
3fd0: c422 sw s0,8(sp)
|
|
3fd2: c606 sw ra,12(sp)
|
|
3fd4: 842a mv s0,a0
|
|
3fd6: a54e sh a1,12(a0)
|
|
3fd8: a572 sh a2,14(a0)
|
|
3fda: 00052023 sw zero,0(a0)
|
|
3fde: 00052223 sw zero,4(a0)
|
|
3fe2: 00052423 sw zero,8(a0)
|
|
3fe6: 06052223 sw zero,100(a0)
|
|
3fea: 00052823 sw zero,16(a0)
|
|
3fee: 00052a23 sw zero,20(a0)
|
|
3ff2: 00052c23 sw zero,24(a0)
|
|
3ff6: 4621 li a2,8
|
|
3ff8: 4581 li a1,0
|
|
3ffa: 05c50513 addi a0,a0,92
|
|
3ffe: 9a2fc0ef jal ra,1a0 <memset>
|
|
4002: 00001797 auipc a5,0x1
|
|
4006: b3278793 addi a5,a5,-1230 # 4b34 <__sread>
|
|
400a: d05c sw a5,36(s0)
|
|
400c: 00001797 auipc a5,0x1
|
|
4010: b5478793 addi a5,a5,-1196 # 4b60 <__swrite>
|
|
4014: d41c sw a5,40(s0)
|
|
4016: 00001797 auipc a5,0x1
|
|
401a: b9278793 addi a5,a5,-1134 # 4ba8 <__sseek>
|
|
401e: d45c sw a5,44(s0)
|
|
4020: 00001797 auipc a5,0x1
|
|
4024: bb878793 addi a5,a5,-1096 # 4bd8 <__sclose>
|
|
4028: d000 sw s0,32(s0)
|
|
402a: d81c sw a5,48(s0)
|
|
402c: 40b2 lw ra,12(sp)
|
|
402e: 4422 lw s0,8(sp)
|
|
4030: 0141 addi sp,sp,16
|
|
4032: 8082 ret
|
|
|
|
00004034 <_cleanup_r>:
|
|
4034: 00000597 auipc a1,0x0
|
|
4038: f3458593 addi a1,a1,-204 # 3f68 <_fflush_r>
|
|
403c: aa91 j 4190 <_fwalk_reent>
|
|
|
|
0000403e <__sfmoreglue>:
|
|
403e: 1141 addi sp,sp,-16
|
|
4040: c226 sw s1,4(sp)
|
|
4042: 06800613 li a2,104
|
|
4046: fff58493 addi s1,a1,-1
|
|
404a: 02c484b3 mul s1,s1,a2
|
|
404e: c04a sw s2,0(sp)
|
|
4050: 892e mv s2,a1
|
|
4052: c422 sw s0,8(sp)
|
|
4054: c606 sw ra,12(sp)
|
|
4056: 07448593 addi a1,s1,116
|
|
405a: 2e35 jal 4396 <_malloc_r>
|
|
405c: 842a mv s0,a0
|
|
405e: cd01 beqz a0,4076 <__sfmoreglue+0x38>
|
|
4060: 00052023 sw zero,0(a0)
|
|
4064: 01252223 sw s2,4(a0)
|
|
4068: 0531 addi a0,a0,12
|
|
406a: c408 sw a0,8(s0)
|
|
406c: 06848613 addi a2,s1,104
|
|
4070: 4581 li a1,0
|
|
4072: 92efc0ef jal ra,1a0 <memset>
|
|
4076: 8522 mv a0,s0
|
|
4078: 40b2 lw ra,12(sp)
|
|
407a: 4422 lw s0,8(sp)
|
|
407c: 4492 lw s1,4(sp)
|
|
407e: 4902 lw s2,0(sp)
|
|
4080: 0141 addi sp,sp,16
|
|
4082: 8082 ret
|
|
|
|
00004084 <__sinit>:
|
|
4084: 4d1c lw a5,24(a0)
|
|
4086: e7a5 bnez a5,40ee <__sinit+0x6a>
|
|
4088: 1141 addi sp,sp,-16
|
|
408a: c606 sw ra,12(sp)
|
|
408c: c422 sw s0,8(sp)
|
|
408e: 00000797 auipc a5,0x0
|
|
4092: fa678793 addi a5,a5,-90 # 4034 <_cleanup_r>
|
|
4096: d51c sw a5,40(a0)
|
|
4098: 81418793 addi a5,gp,-2028 # 2000014c <_global_impure_ptr>
|
|
409c: 439c lw a5,0(a5)
|
|
409e: 04052423 sw zero,72(a0)
|
|
40a2: 04052623 sw zero,76(a0)
|
|
40a6: 04052823 sw zero,80(a0)
|
|
40aa: 00f51463 bne a0,a5,40b2 <__sinit+0x2e>
|
|
40ae: 4785 li a5,1
|
|
40b0: cd1c sw a5,24(a0)
|
|
40b2: 842a mv s0,a0
|
|
40b4: 2835 jal 40f0 <__sfp>
|
|
40b6: c048 sw a0,4(s0)
|
|
40b8: 8522 mv a0,s0
|
|
40ba: 281d jal 40f0 <__sfp>
|
|
40bc: c408 sw a0,8(s0)
|
|
40be: 8522 mv a0,s0
|
|
40c0: 2805 jal 40f0 <__sfp>
|
|
40c2: c448 sw a0,12(s0)
|
|
40c4: 4048 lw a0,4(s0)
|
|
40c6: 4601 li a2,0
|
|
40c8: 4591 li a1,4
|
|
40ca: f05ff0ef jal ra,3fce <std>
|
|
40ce: 4408 lw a0,8(s0)
|
|
40d0: 4605 li a2,1
|
|
40d2: 45a5 li a1,9
|
|
40d4: efbff0ef jal ra,3fce <std>
|
|
40d8: 4448 lw a0,12(s0)
|
|
40da: 4609 li a2,2
|
|
40dc: 45c9 li a1,18
|
|
40de: ef1ff0ef jal ra,3fce <std>
|
|
40e2: 4785 li a5,1
|
|
40e4: cc1c sw a5,24(s0)
|
|
40e6: 40b2 lw ra,12(sp)
|
|
40e8: 4422 lw s0,8(sp)
|
|
40ea: 0141 addi sp,sp,16
|
|
40ec: 8082 ret
|
|
40ee: 8082 ret
|
|
|
|
000040f0 <__sfp>:
|
|
40f0: 1141 addi sp,sp,-16
|
|
40f2: 81418793 addi a5,gp,-2028 # 2000014c <_global_impure_ptr>
|
|
40f6: c226 sw s1,4(sp)
|
|
40f8: 4384 lw s1,0(a5)
|
|
40fa: c04a sw s2,0(sp)
|
|
40fc: c606 sw ra,12(sp)
|
|
40fe: 4c9c lw a5,24(s1)
|
|
4100: c422 sw s0,8(sp)
|
|
4102: 892a mv s2,a0
|
|
4104: e781 bnez a5,410c <__sfp+0x1c>
|
|
4106: 8526 mv a0,s1
|
|
4108: f7dff0ef jal ra,4084 <__sinit>
|
|
410c: 04848493 addi s1,s1,72
|
|
4110: 4480 lw s0,8(s1)
|
|
4112: 40dc lw a5,4(s1)
|
|
4114: 17fd addi a5,a5,-1
|
|
4116: 0007d663 bgez a5,4122 <__sfp+0x32>
|
|
411a: 409c lw a5,0(s1)
|
|
411c: cfb9 beqz a5,417a <__sfp+0x8a>
|
|
411e: 4084 lw s1,0(s1)
|
|
4120: bfc5 j 4110 <__sfp+0x20>
|
|
4122: 00c41703 lh a4,12(s0)
|
|
4126: e739 bnez a4,4174 <__sfp+0x84>
|
|
4128: 77c1 lui a5,0xffff0
|
|
412a: 0785 addi a5,a5,1
|
|
412c: 06042223 sw zero,100(s0)
|
|
4130: 00042023 sw zero,0(s0)
|
|
4134: 00042223 sw zero,4(s0)
|
|
4138: 00042423 sw zero,8(s0)
|
|
413c: c45c sw a5,12(s0)
|
|
413e: 00042823 sw zero,16(s0)
|
|
4142: 00042a23 sw zero,20(s0)
|
|
4146: 00042c23 sw zero,24(s0)
|
|
414a: 4621 li a2,8
|
|
414c: 4581 li a1,0
|
|
414e: 05c40513 addi a0,s0,92
|
|
4152: 84efc0ef jal ra,1a0 <memset>
|
|
4156: 02042a23 sw zero,52(s0)
|
|
415a: 02042c23 sw zero,56(s0)
|
|
415e: 04042423 sw zero,72(s0)
|
|
4162: 04042623 sw zero,76(s0)
|
|
4166: 8522 mv a0,s0
|
|
4168: 40b2 lw ra,12(sp)
|
|
416a: 4422 lw s0,8(sp)
|
|
416c: 4492 lw s1,4(sp)
|
|
416e: 4902 lw s2,0(sp)
|
|
4170: 0141 addi sp,sp,16
|
|
4172: 8082 ret
|
|
4174: 06840413 addi s0,s0,104
|
|
4178: bf71 j 4114 <__sfp+0x24>
|
|
417a: 4591 li a1,4
|
|
417c: 854a mv a0,s2
|
|
417e: ec1ff0ef jal ra,403e <__sfmoreglue>
|
|
4182: c088 sw a0,0(s1)
|
|
4184: fd49 bnez a0,411e <__sfp+0x2e>
|
|
4186: 47b1 li a5,12
|
|
4188: 00f92023 sw a5,0(s2)
|
|
418c: 4401 li s0,0
|
|
418e: bfe1 j 4166 <__sfp+0x76>
|
|
|
|
00004190 <_fwalk_reent>:
|
|
4190: 7179 addi sp,sp,-48
|
|
4192: d422 sw s0,40(sp)
|
|
4194: d04a sw s2,32(sp)
|
|
4196: cc52 sw s4,24(sp)
|
|
4198: ca56 sw s5,20(sp)
|
|
419a: c85a sw s6,16(sp)
|
|
419c: c65e sw s7,12(sp)
|
|
419e: d606 sw ra,44(sp)
|
|
41a0: d226 sw s1,36(sp)
|
|
41a2: ce4e sw s3,28(sp)
|
|
41a4: 8a2a mv s4,a0
|
|
41a6: 8aae mv s5,a1
|
|
41a8: 04850413 addi s0,a0,72
|
|
41ac: 4901 li s2,0
|
|
41ae: 4b05 li s6,1
|
|
41b0: 5bfd li s7,-1
|
|
41b2: ec09 bnez s0,41cc <_fwalk_reent+0x3c>
|
|
41b4: 50b2 lw ra,44(sp)
|
|
41b6: 5422 lw s0,40(sp)
|
|
41b8: 854a mv a0,s2
|
|
41ba: 5492 lw s1,36(sp)
|
|
41bc: 5902 lw s2,32(sp)
|
|
41be: 49f2 lw s3,28(sp)
|
|
41c0: 4a62 lw s4,24(sp)
|
|
41c2: 4ad2 lw s5,20(sp)
|
|
41c4: 4b42 lw s6,16(sp)
|
|
41c6: 4bb2 lw s7,12(sp)
|
|
41c8: 6145 addi sp,sp,48
|
|
41ca: 8082 ret
|
|
41cc: 4404 lw s1,8(s0)
|
|
41ce: 00442983 lw s3,4(s0)
|
|
41d2: 19fd addi s3,s3,-1
|
|
41d4: 0009d463 bgez s3,41dc <_fwalk_reent+0x4c>
|
|
41d8: 4000 lw s0,0(s0)
|
|
41da: bfe1 j 41b2 <_fwalk_reent+0x22>
|
|
41dc: 24de lhu a5,12(s1)
|
|
41de: 00fb7b63 bgeu s6,a5,41f4 <_fwalk_reent+0x64>
|
|
41e2: 00e49783 lh a5,14(s1)
|
|
41e6: 01778763 beq a5,s7,41f4 <_fwalk_reent+0x64>
|
|
41ea: 85a6 mv a1,s1
|
|
41ec: 8552 mv a0,s4
|
|
41ee: 9a82 jalr s5
|
|
41f0: 00a96933 or s2,s2,a0
|
|
41f4: 06848493 addi s1,s1,104
|
|
41f8: bfe9 j 41d2 <_fwalk_reent+0x42>
|
|
|
|
000041fa <__swhatbuf_r>:
|
|
41fa: 7119 addi sp,sp,-128
|
|
41fc: daa6 sw s1,116(sp)
|
|
41fe: 84ae mv s1,a1
|
|
4200: 00e59583 lh a1,14(a1)
|
|
4204: dca2 sw s0,120(sp)
|
|
4206: de86 sw ra,124(sp)
|
|
4208: 8432 mv s0,a2
|
|
420a: 0005db63 bgez a1,4220 <__swhatbuf_r+0x26>
|
|
420e: 24de lhu a5,12(s1)
|
|
4210: 0006a023 sw zero,0(a3)
|
|
4214: 0807f793 andi a5,a5,128
|
|
4218: e785 bnez a5,4240 <__swhatbuf_r+0x46>
|
|
421a: 40000793 li a5,1024
|
|
421e: a01d j 4244 <__swhatbuf_r+0x4a>
|
|
4220: 0830 addi a2,sp,24
|
|
4222: c636 sw a3,12(sp)
|
|
4224: 211000ef jal ra,4c34 <_fstat_r>
|
|
4228: 46b2 lw a3,12(sp)
|
|
422a: fe0542e3 bltz a0,420e <__swhatbuf_r+0x14>
|
|
422e: 4772 lw a4,28(sp)
|
|
4230: 67bd lui a5,0xf
|
|
4232: 8ff9 and a5,a5,a4
|
|
4234: 7779 lui a4,0xffffe
|
|
4236: 97ba add a5,a5,a4
|
|
4238: 0017b793 seqz a5,a5
|
|
423c: c29c sw a5,0(a3)
|
|
423e: bff1 j 421a <__swhatbuf_r+0x20>
|
|
4240: 04000793 li a5,64
|
|
4244: c01c sw a5,0(s0)
|
|
4246: 50f6 lw ra,124(sp)
|
|
4248: 5466 lw s0,120(sp)
|
|
424a: 54d6 lw s1,116(sp)
|
|
424c: 4501 li a0,0
|
|
424e: 6109 addi sp,sp,128
|
|
4250: 8082 ret
|
|
|
|
00004252 <__smakebuf_r>:
|
|
4252: 25de lhu a5,12(a1)
|
|
4254: 1101 addi sp,sp,-32
|
|
4256: cc22 sw s0,24(sp)
|
|
4258: ce06 sw ra,28(sp)
|
|
425a: ca26 sw s1,20(sp)
|
|
425c: c84a sw s2,16(sp)
|
|
425e: 8b89 andi a5,a5,2
|
|
4260: 842e mv s0,a1
|
|
4262: cf89 beqz a5,427c <__smakebuf_r+0x2a>
|
|
4264: 04740793 addi a5,s0,71
|
|
4268: c01c sw a5,0(s0)
|
|
426a: c81c sw a5,16(s0)
|
|
426c: 4785 li a5,1
|
|
426e: c85c sw a5,20(s0)
|
|
4270: 40f2 lw ra,28(sp)
|
|
4272: 4462 lw s0,24(sp)
|
|
4274: 44d2 lw s1,20(sp)
|
|
4276: 4942 lw s2,16(sp)
|
|
4278: 6105 addi sp,sp,32
|
|
427a: 8082 ret
|
|
427c: 0074 addi a3,sp,12
|
|
427e: 0030 addi a2,sp,8
|
|
4280: 84aa mv s1,a0
|
|
4282: f79ff0ef jal ra,41fa <__swhatbuf_r>
|
|
4286: 45a2 lw a1,8(sp)
|
|
4288: 892a mv s2,a0
|
|
428a: 8526 mv a0,s1
|
|
428c: 2229 jal 4396 <_malloc_r>
|
|
428e: e919 bnez a0,42a4 <__smakebuf_r+0x52>
|
|
4290: 00c41783 lh a5,12(s0)
|
|
4294: 2007f713 andi a4,a5,512
|
|
4298: ff61 bnez a4,4270 <__smakebuf_r+0x1e>
|
|
429a: 9bf1 andi a5,a5,-4
|
|
429c: 0027e793 ori a5,a5,2
|
|
42a0: a45e sh a5,12(s0)
|
|
42a2: b7c9 j 4264 <__smakebuf_r+0x12>
|
|
42a4: 00000797 auipc a5,0x0
|
|
42a8: d9078793 addi a5,a5,-624 # 4034 <_cleanup_r>
|
|
42ac: d49c sw a5,40(s1)
|
|
42ae: 245e lhu a5,12(s0)
|
|
42b0: c008 sw a0,0(s0)
|
|
42b2: c808 sw a0,16(s0)
|
|
42b4: 0807e793 ori a5,a5,128
|
|
42b8: a45e sh a5,12(s0)
|
|
42ba: 47a2 lw a5,8(sp)
|
|
42bc: c85c sw a5,20(s0)
|
|
42be: 47b2 lw a5,12(sp)
|
|
42c0: cf81 beqz a5,42d8 <__smakebuf_r+0x86>
|
|
42c2: 00e41583 lh a1,14(s0)
|
|
42c6: 8526 mv a0,s1
|
|
42c8: 197000ef jal ra,4c5e <_isatty_r>
|
|
42cc: c511 beqz a0,42d8 <__smakebuf_r+0x86>
|
|
42ce: 245e lhu a5,12(s0)
|
|
42d0: 9bf1 andi a5,a5,-4
|
|
42d2: 0017e793 ori a5,a5,1
|
|
42d6: a45e sh a5,12(s0)
|
|
42d8: 245e lhu a5,12(s0)
|
|
42da: 00f96933 or s2,s2,a5
|
|
42de: 01241623 sh s2,12(s0)
|
|
42e2: b779 j 4270 <__smakebuf_r+0x1e>
|
|
|
|
000042e4 <malloc>:
|
|
42e4: 81018793 addi a5,gp,-2032 # 20000148 <_impure_ptr>
|
|
42e8: 85aa mv a1,a0
|
|
42ea: 4388 lw a0,0(a5)
|
|
42ec: a06d j 4396 <_malloc_r>
|
|
|
|
000042ee <_free_r>:
|
|
42ee: c1dd beqz a1,4394 <_free_r+0xa6>
|
|
42f0: ffc5a783 lw a5,-4(a1)
|
|
42f4: 1141 addi sp,sp,-16
|
|
42f6: c422 sw s0,8(sp)
|
|
42f8: c606 sw ra,12(sp)
|
|
42fa: c226 sw s1,4(sp)
|
|
42fc: ffc58413 addi s0,a1,-4
|
|
4300: 0007d363 bgez a5,4306 <_free_r+0x18>
|
|
4304: 943e add s0,s0,a5
|
|
4306: 84aa mv s1,a0
|
|
4308: 1c3000ef jal ra,4cca <__malloc_lock>
|
|
430c: 85818793 addi a5,gp,-1960 # 20000190 <__malloc_free_list>
|
|
4310: 439c lw a5,0(a5)
|
|
4312: ef81 bnez a5,432a <_free_r+0x3c>
|
|
4314: 00042223 sw zero,4(s0)
|
|
4318: 8481ac23 sw s0,-1960(gp) # 20000190 <__malloc_free_list>
|
|
431c: 4422 lw s0,8(sp)
|
|
431e: 40b2 lw ra,12(sp)
|
|
4320: 8526 mv a0,s1
|
|
4322: 4492 lw s1,4(sp)
|
|
4324: 0141 addi sp,sp,16
|
|
4326: 1a70006f j 4ccc <__malloc_unlock>
|
|
432a: 00f47e63 bgeu s0,a5,4346 <_free_r+0x58>
|
|
432e: 4014 lw a3,0(s0)
|
|
4330: 00d40733 add a4,s0,a3
|
|
4334: 00e79663 bne a5,a4,4340 <_free_r+0x52>
|
|
4338: 4398 lw a4,0(a5)
|
|
433a: 43dc lw a5,4(a5)
|
|
433c: 9736 add a4,a4,a3
|
|
433e: c018 sw a4,0(s0)
|
|
4340: c05c sw a5,4(s0)
|
|
4342: bfd9 j 4318 <_free_r+0x2a>
|
|
4344: 87ba mv a5,a4
|
|
4346: 43d8 lw a4,4(a5)
|
|
4348: c319 beqz a4,434e <_free_r+0x60>
|
|
434a: fee47de3 bgeu s0,a4,4344 <_free_r+0x56>
|
|
434e: 4394 lw a3,0(a5)
|
|
4350: 00d78633 add a2,a5,a3
|
|
4354: 00861f63 bne a2,s0,4372 <_free_r+0x84>
|
|
4358: 4010 lw a2,0(s0)
|
|
435a: 96b2 add a3,a3,a2
|
|
435c: c394 sw a3,0(a5)
|
|
435e: 00d78633 add a2,a5,a3
|
|
4362: fac71de3 bne a4,a2,431c <_free_r+0x2e>
|
|
4366: 4310 lw a2,0(a4)
|
|
4368: 4358 lw a4,4(a4)
|
|
436a: 96b2 add a3,a3,a2
|
|
436c: c394 sw a3,0(a5)
|
|
436e: c3d8 sw a4,4(a5)
|
|
4370: b775 j 431c <_free_r+0x2e>
|
|
4372: 00c47563 bgeu s0,a2,437c <_free_r+0x8e>
|
|
4376: 47b1 li a5,12
|
|
4378: c09c sw a5,0(s1)
|
|
437a: b74d j 431c <_free_r+0x2e>
|
|
437c: 4010 lw a2,0(s0)
|
|
437e: 00c406b3 add a3,s0,a2
|
|
4382: 00d71663 bne a4,a3,438e <_free_r+0xa0>
|
|
4386: 4314 lw a3,0(a4)
|
|
4388: 4358 lw a4,4(a4)
|
|
438a: 96b2 add a3,a3,a2
|
|
438c: c014 sw a3,0(s0)
|
|
438e: c058 sw a4,4(s0)
|
|
4390: c3c0 sw s0,4(a5)
|
|
4392: b769 j 431c <_free_r+0x2e>
|
|
4394: 8082 ret
|
|
|
|
00004396 <_malloc_r>:
|
|
4396: 1101 addi sp,sp,-32
|
|
4398: ca26 sw s1,20(sp)
|
|
439a: 00358493 addi s1,a1,3
|
|
439e: 98f1 andi s1,s1,-4
|
|
43a0: ce06 sw ra,28(sp)
|
|
43a2: cc22 sw s0,24(sp)
|
|
43a4: c84a sw s2,16(sp)
|
|
43a6: c64e sw s3,12(sp)
|
|
43a8: 04a1 addi s1,s1,8
|
|
43aa: 47b1 li a5,12
|
|
43ac: 04f4f363 bgeu s1,a5,43f2 <_malloc_r+0x5c>
|
|
43b0: 44b1 li s1,12
|
|
43b2: 04b4e263 bltu s1,a1,43f6 <_malloc_r+0x60>
|
|
43b6: 892a mv s2,a0
|
|
43b8: 113000ef jal ra,4cca <__malloc_lock>
|
|
43bc: 85818793 addi a5,gp,-1960 # 20000190 <__malloc_free_list>
|
|
43c0: 4398 lw a4,0(a5)
|
|
43c2: 843a mv s0,a4
|
|
43c4: e039 bnez s0,440a <_malloc_r+0x74>
|
|
43c6: 85c18793 addi a5,gp,-1956 # 20000194 <__malloc_sbrk_start>
|
|
43ca: 439c lw a5,0(a5)
|
|
43cc: e791 bnez a5,43d8 <_malloc_r+0x42>
|
|
43ce: 4581 li a1,0
|
|
43d0: 854a mv a0,s2
|
|
43d2: 2f25 jal 4b0a <_sbrk_r>
|
|
43d4: 84a1ae23 sw a0,-1956(gp) # 20000194 <__malloc_sbrk_start>
|
|
43d8: 85a6 mv a1,s1
|
|
43da: 854a mv a0,s2
|
|
43dc: 273d jal 4b0a <_sbrk_r>
|
|
43de: 59fd li s3,-1
|
|
43e0: 07351963 bne a0,s3,4452 <_malloc_r+0xbc>
|
|
43e4: 47b1 li a5,12
|
|
43e6: 00f92023 sw a5,0(s2)
|
|
43ea: 854a mv a0,s2
|
|
43ec: 0e1000ef jal ra,4ccc <__malloc_unlock>
|
|
43f0: a029 j 43fa <_malloc_r+0x64>
|
|
43f2: fc04d0e3 bgez s1,43b2 <_malloc_r+0x1c>
|
|
43f6: 47b1 li a5,12
|
|
43f8: c11c sw a5,0(a0)
|
|
43fa: 4501 li a0,0
|
|
43fc: 40f2 lw ra,28(sp)
|
|
43fe: 4462 lw s0,24(sp)
|
|
4400: 44d2 lw s1,20(sp)
|
|
4402: 4942 lw s2,16(sp)
|
|
4404: 49b2 lw s3,12(sp)
|
|
4406: 6105 addi sp,sp,32
|
|
4408: 8082 ret
|
|
440a: 401c lw a5,0(s0)
|
|
440c: 8f85 sub a5,a5,s1
|
|
440e: 0207cf63 bltz a5,444c <_malloc_r+0xb6>
|
|
4412: 46ad li a3,11
|
|
4414: 00f6f663 bgeu a3,a5,4420 <_malloc_r+0x8a>
|
|
4418: c01c sw a5,0(s0)
|
|
441a: 943e add s0,s0,a5
|
|
441c: c004 sw s1,0(s0)
|
|
441e: a031 j 442a <_malloc_r+0x94>
|
|
4420: 405c lw a5,4(s0)
|
|
4422: 02871363 bne a4,s0,4448 <_malloc_r+0xb2>
|
|
4426: 84f1ac23 sw a5,-1960(gp) # 20000190 <__malloc_free_list>
|
|
442a: 854a mv a0,s2
|
|
442c: 0a1000ef jal ra,4ccc <__malloc_unlock>
|
|
4430: 00b40513 addi a0,s0,11
|
|
4434: 00440793 addi a5,s0,4
|
|
4438: 9961 andi a0,a0,-8
|
|
443a: 40f50733 sub a4,a0,a5
|
|
443e: df5d beqz a4,43fc <_malloc_r+0x66>
|
|
4440: 943a add s0,s0,a4
|
|
4442: 8f89 sub a5,a5,a0
|
|
4444: c01c sw a5,0(s0)
|
|
4446: bf5d j 43fc <_malloc_r+0x66>
|
|
4448: c35c sw a5,4(a4)
|
|
444a: b7c5 j 442a <_malloc_r+0x94>
|
|
444c: 8722 mv a4,s0
|
|
444e: 4040 lw s0,4(s0)
|
|
4450: bf95 j 43c4 <_malloc_r+0x2e>
|
|
4452: 00350413 addi s0,a0,3
|
|
4456: 9871 andi s0,s0,-4
|
|
4458: fc8502e3 beq a0,s0,441c <_malloc_r+0x86>
|
|
445c: 40a405b3 sub a1,s0,a0
|
|
4460: 854a mv a0,s2
|
|
4462: 2565 jal 4b0a <_sbrk_r>
|
|
4464: fb351ce3 bne a0,s3,441c <_malloc_r+0x86>
|
|
4468: bfb5 j 43e4 <_malloc_r+0x4e>
|
|
|
|
0000446a <__sfputc_r>:
|
|
446a: 461c lw a5,8(a2)
|
|
446c: 17fd addi a5,a5,-1
|
|
446e: c61c sw a5,8(a2)
|
|
4470: 0007da63 bgez a5,4484 <__sfputc_r+0x1a>
|
|
4474: 4e18 lw a4,24(a2)
|
|
4476: 00e7c563 blt a5,a4,4480 <__sfputc_r+0x16>
|
|
447a: 47a9 li a5,10
|
|
447c: 00f59463 bne a1,a5,4484 <__sfputc_r+0x1a>
|
|
4480: 801ff06f j 3c80 <__swbuf_r>
|
|
4484: 421c lw a5,0(a2)
|
|
4486: 852e mv a0,a1
|
|
4488: 00178713 addi a4,a5,1
|
|
448c: c218 sw a4,0(a2)
|
|
448e: a38c sb a1,0(a5)
|
|
4490: 8082 ret
|
|
|
|
00004492 <__sfputs_r>:
|
|
4492: 1101 addi sp,sp,-32
|
|
4494: cc22 sw s0,24(sp)
|
|
4496: ca26 sw s1,20(sp)
|
|
4498: c84a sw s2,16(sp)
|
|
449a: c64e sw s3,12(sp)
|
|
449c: c452 sw s4,8(sp)
|
|
449e: ce06 sw ra,28(sp)
|
|
44a0: 892a mv s2,a0
|
|
44a2: 89ae mv s3,a1
|
|
44a4: 8432 mv s0,a2
|
|
44a6: 00d604b3 add s1,a2,a3
|
|
44aa: 5a7d li s4,-1
|
|
44ac: 00941463 bne s0,s1,44b4 <__sfputs_r+0x22>
|
|
44b0: 4501 li a0,0
|
|
44b2: a809 j 44c4 <__sfputs_r+0x32>
|
|
44b4: 200c lbu a1,0(s0)
|
|
44b6: 864e mv a2,s3
|
|
44b8: 854a mv a0,s2
|
|
44ba: fb1ff0ef jal ra,446a <__sfputc_r>
|
|
44be: 0405 addi s0,s0,1
|
|
44c0: ff4516e3 bne a0,s4,44ac <__sfputs_r+0x1a>
|
|
44c4: 40f2 lw ra,28(sp)
|
|
44c6: 4462 lw s0,24(sp)
|
|
44c8: 44d2 lw s1,20(sp)
|
|
44ca: 4942 lw s2,16(sp)
|
|
44cc: 49b2 lw s3,12(sp)
|
|
44ce: 4a22 lw s4,8(sp)
|
|
44d0: 6105 addi sp,sp,32
|
|
44d2: 8082 ret
|
|
|
|
000044d4 <_vfiprintf_r>:
|
|
44d4: 7135 addi sp,sp,-160
|
|
44d6: cd22 sw s0,152(sp)
|
|
44d8: cb26 sw s1,148(sp)
|
|
44da: c94a sw s2,144(sp)
|
|
44dc: c74e sw s3,140(sp)
|
|
44de: cf06 sw ra,156(sp)
|
|
44e0: c552 sw s4,136(sp)
|
|
44e2: c356 sw s5,132(sp)
|
|
44e4: c15a sw s6,128(sp)
|
|
44e6: dede sw s7,124(sp)
|
|
44e8: dce2 sw s8,120(sp)
|
|
44ea: dae6 sw s9,116(sp)
|
|
44ec: 89aa mv s3,a0
|
|
44ee: 84ae mv s1,a1
|
|
44f0: 8932 mv s2,a2
|
|
44f2: 8436 mv s0,a3
|
|
44f4: c509 beqz a0,44fe <_vfiprintf_r+0x2a>
|
|
44f6: 4d1c lw a5,24(a0)
|
|
44f8: e399 bnez a5,44fe <_vfiprintf_r+0x2a>
|
|
44fa: b8bff0ef jal ra,4084 <__sinit>
|
|
44fe: 00001797 auipc a5,0x1
|
|
4502: eda78793 addi a5,a5,-294 # 53d8 <__sf_fake_stdin>
|
|
4506: 0cf49863 bne s1,a5,45d6 <_vfiprintf_r+0x102>
|
|
450a: 0049a483 lw s1,4(s3)
|
|
450e: 24de lhu a5,12(s1)
|
|
4510: 8ba1 andi a5,a5,8
|
|
4512: c7e5 beqz a5,45fa <_vfiprintf_r+0x126>
|
|
4514: 489c lw a5,16(s1)
|
|
4516: c3f5 beqz a5,45fa <_vfiprintf_r+0x126>
|
|
4518: 02000793 li a5,32
|
|
451c: 02f104a3 sb a5,41(sp)
|
|
4520: 03000793 li a5,48
|
|
4524: d202 sw zero,36(sp)
|
|
4526: 02f10523 sb a5,42(sp)
|
|
452a: c622 sw s0,12(sp)
|
|
452c: 02500b93 li s7,37
|
|
4530: 00001a97 auipc s5,0x1
|
|
4534: ee8a8a93 addi s5,s5,-280 # 5418 <__sf_fake_stdout+0x20>
|
|
4538: 4c05 li s8,1
|
|
453a: 4b29 li s6,10
|
|
453c: 844a mv s0,s2
|
|
453e: 201c lbu a5,0(s0)
|
|
4540: c399 beqz a5,4546 <_vfiprintf_r+0x72>
|
|
4542: 0d779f63 bne a5,s7,4620 <_vfiprintf_r+0x14c>
|
|
4546: 41240cb3 sub s9,s0,s2
|
|
454a: 000c8e63 beqz s9,4566 <_vfiprintf_r+0x92>
|
|
454e: 86e6 mv a3,s9
|
|
4550: 864a mv a2,s2
|
|
4552: 85a6 mv a1,s1
|
|
4554: 854e mv a0,s3
|
|
4556: f3dff0ef jal ra,4492 <__sfputs_r>
|
|
455a: 57fd li a5,-1
|
|
455c: 1cf50f63 beq a0,a5,473a <_vfiprintf_r+0x266>
|
|
4560: 5692 lw a3,36(sp)
|
|
4562: 96e6 add a3,a3,s9
|
|
4564: d236 sw a3,36(sp)
|
|
4566: 201c lbu a5,0(s0)
|
|
4568: 1c078963 beqz a5,473a <_vfiprintf_r+0x266>
|
|
456c: 57fd li a5,-1
|
|
456e: 00140913 addi s2,s0,1
|
|
4572: c802 sw zero,16(sp)
|
|
4574: ce02 sw zero,28(sp)
|
|
4576: ca3e sw a5,20(sp)
|
|
4578: cc02 sw zero,24(sp)
|
|
457a: 040109a3 sb zero,83(sp)
|
|
457e: d482 sw zero,104(sp)
|
|
4580: 00094583 lbu a1,0(s2)
|
|
4584: 4615 li a2,5
|
|
4586: 8556 mv a0,s5
|
|
4588: 272d jal 4cb2 <memchr>
|
|
458a: 00190413 addi s0,s2,1
|
|
458e: 47c2 lw a5,16(sp)
|
|
4590: e951 bnez a0,4624 <_vfiprintf_r+0x150>
|
|
4592: 0107f713 andi a4,a5,16
|
|
4596: c709 beqz a4,45a0 <_vfiprintf_r+0xcc>
|
|
4598: 02000713 li a4,32
|
|
459c: 04e109a3 sb a4,83(sp)
|
|
45a0: 0087f713 andi a4,a5,8
|
|
45a4: c709 beqz a4,45ae <_vfiprintf_r+0xda>
|
|
45a6: 02b00713 li a4,43
|
|
45aa: 04e109a3 sb a4,83(sp)
|
|
45ae: 00094683 lbu a3,0(s2)
|
|
45b2: 02a00713 li a4,42
|
|
45b6: 06e68f63 beq a3,a4,4634 <_vfiprintf_r+0x160>
|
|
45ba: 47f2 lw a5,28(sp)
|
|
45bc: 844a mv s0,s2
|
|
45be: 4681 li a3,0
|
|
45c0: 4625 li a2,9
|
|
45c2: 2018 lbu a4,0(s0)
|
|
45c4: 00140593 addi a1,s0,1
|
|
45c8: fd070713 addi a4,a4,-48 # ffffdfd0 <_eusrstack+0xdfff8fd0>
|
|
45cc: 0ae67763 bgeu a2,a4,467a <_vfiprintf_r+0x1a6>
|
|
45d0: cab5 beqz a3,4644 <_vfiprintf_r+0x170>
|
|
45d2: ce3e sw a5,28(sp)
|
|
45d4: a885 j 4644 <_vfiprintf_r+0x170>
|
|
45d6: 00001797 auipc a5,0x1
|
|
45da: e2278793 addi a5,a5,-478 # 53f8 <__sf_fake_stdout>
|
|
45de: 00f49563 bne s1,a5,45e8 <_vfiprintf_r+0x114>
|
|
45e2: 0089a483 lw s1,8(s3)
|
|
45e6: b725 j 450e <_vfiprintf_r+0x3a>
|
|
45e8: 00001797 auipc a5,0x1
|
|
45ec: dd078793 addi a5,a5,-560 # 53b8 <__sf_fake_stderr>
|
|
45f0: f0f49fe3 bne s1,a5,450e <_vfiprintf_r+0x3a>
|
|
45f4: 00c9a483 lw s1,12(s3)
|
|
45f8: bf19 j 450e <_vfiprintf_r+0x3a>
|
|
45fa: 85a6 mv a1,s1
|
|
45fc: 854e mv a0,s3
|
|
45fe: f3eff0ef jal ra,3d3c <__swsetup_r>
|
|
4602: d919 beqz a0,4518 <_vfiprintf_r+0x44>
|
|
4604: 557d li a0,-1
|
|
4606: 40fa lw ra,156(sp)
|
|
4608: 446a lw s0,152(sp)
|
|
460a: 44da lw s1,148(sp)
|
|
460c: 494a lw s2,144(sp)
|
|
460e: 49ba lw s3,140(sp)
|
|
4610: 4a2a lw s4,136(sp)
|
|
4612: 4a9a lw s5,132(sp)
|
|
4614: 4b0a lw s6,128(sp)
|
|
4616: 5bf6 lw s7,124(sp)
|
|
4618: 5c66 lw s8,120(sp)
|
|
461a: 5cd6 lw s9,116(sp)
|
|
461c: 610d addi sp,sp,160
|
|
461e: 8082 ret
|
|
4620: 0405 addi s0,s0,1
|
|
4622: bf31 j 453e <_vfiprintf_r+0x6a>
|
|
4624: 41550533 sub a0,a0,s5
|
|
4628: 00ac1533 sll a0,s8,a0
|
|
462c: 8fc9 or a5,a5,a0
|
|
462e: c83e sw a5,16(sp)
|
|
4630: 8922 mv s2,s0
|
|
4632: b7b9 j 4580 <_vfiprintf_r+0xac>
|
|
4634: 4732 lw a4,12(sp)
|
|
4636: 00470693 addi a3,a4,4
|
|
463a: 4318 lw a4,0(a4)
|
|
463c: c636 sw a3,12(sp)
|
|
463e: 02074763 bltz a4,466c <_vfiprintf_r+0x198>
|
|
4642: ce3a sw a4,28(sp)
|
|
4644: 2018 lbu a4,0(s0)
|
|
4646: 02e00793 li a5,46
|
|
464a: 04f71d63 bne a4,a5,46a4 <_vfiprintf_r+0x1d0>
|
|
464e: 3018 lbu a4,1(s0)
|
|
4650: 02a00793 li a5,42
|
|
4654: 02f71b63 bne a4,a5,468a <_vfiprintf_r+0x1b6>
|
|
4658: 47b2 lw a5,12(sp)
|
|
465a: 0409 addi s0,s0,2
|
|
465c: 00478713 addi a4,a5,4
|
|
4660: 439c lw a5,0(a5)
|
|
4662: c63a sw a4,12(sp)
|
|
4664: 0207c163 bltz a5,4686 <_vfiprintf_r+0x1b2>
|
|
4668: ca3e sw a5,20(sp)
|
|
466a: a82d j 46a4 <_vfiprintf_r+0x1d0>
|
|
466c: 40e00733 neg a4,a4
|
|
4670: 0027e793 ori a5,a5,2
|
|
4674: ce3a sw a4,28(sp)
|
|
4676: c83e sw a5,16(sp)
|
|
4678: b7f1 j 4644 <_vfiprintf_r+0x170>
|
|
467a: 036787b3 mul a5,a5,s6
|
|
467e: 4685 li a3,1
|
|
4680: 842e mv s0,a1
|
|
4682: 97ba add a5,a5,a4
|
|
4684: bf3d j 45c2 <_vfiprintf_r+0xee>
|
|
4686: 57fd li a5,-1
|
|
4688: b7c5 j 4668 <_vfiprintf_r+0x194>
|
|
468a: 0405 addi s0,s0,1
|
|
468c: ca02 sw zero,20(sp)
|
|
468e: 4681 li a3,0
|
|
4690: 4781 li a5,0
|
|
4692: 4625 li a2,9
|
|
4694: 2018 lbu a4,0(s0)
|
|
4696: 00140593 addi a1,s0,1
|
|
469a: fd070713 addi a4,a4,-48
|
|
469e: 06e67463 bgeu a2,a4,4706 <_vfiprintf_r+0x232>
|
|
46a2: f2f9 bnez a3,4668 <_vfiprintf_r+0x194>
|
|
46a4: 200c lbu a1,0(s0)
|
|
46a6: 460d li a2,3
|
|
46a8: 00001517 auipc a0,0x1
|
|
46ac: d7850513 addi a0,a0,-648 # 5420 <__sf_fake_stdout+0x28>
|
|
46b0: 2509 jal 4cb2 <memchr>
|
|
46b2: cd11 beqz a0,46ce <_vfiprintf_r+0x1fa>
|
|
46b4: 00001797 auipc a5,0x1
|
|
46b8: d6c78793 addi a5,a5,-660 # 5420 <__sf_fake_stdout+0x28>
|
|
46bc: 8d1d sub a0,a0,a5
|
|
46be: 04000793 li a5,64
|
|
46c2: 00a797b3 sll a5,a5,a0
|
|
46c6: 4542 lw a0,16(sp)
|
|
46c8: 0405 addi s0,s0,1
|
|
46ca: 8d5d or a0,a0,a5
|
|
46cc: c82a sw a0,16(sp)
|
|
46ce: 200c lbu a1,0(s0)
|
|
46d0: 4619 li a2,6
|
|
46d2: 00001517 auipc a0,0x1
|
|
46d6: d5250513 addi a0,a0,-686 # 5424 <__sf_fake_stdout+0x2c>
|
|
46da: 00140913 addi s2,s0,1
|
|
46de: 02b10423 sb a1,40(sp)
|
|
46e2: 2bc1 jal 4cb2 <memchr>
|
|
46e4: c135 beqz a0,4748 <_vfiprintf_r+0x274>
|
|
46e6: ffffc797 auipc a5,0xffffc
|
|
46ea: 91a78793 addi a5,a5,-1766 # 0 <_sinit>
|
|
46ee: e795 bnez a5,471a <_vfiprintf_r+0x246>
|
|
46f0: 4742 lw a4,16(sp)
|
|
46f2: 47b2 lw a5,12(sp)
|
|
46f4: 10077713 andi a4,a4,256
|
|
46f8: cf09 beqz a4,4712 <_vfiprintf_r+0x23e>
|
|
46fa: 0791 addi a5,a5,4
|
|
46fc: c63e sw a5,12(sp)
|
|
46fe: 5792 lw a5,36(sp)
|
|
4700: 97d2 add a5,a5,s4
|
|
4702: d23e sw a5,36(sp)
|
|
4704: bd25 j 453c <_vfiprintf_r+0x68>
|
|
4706: 036787b3 mul a5,a5,s6
|
|
470a: 4685 li a3,1
|
|
470c: 842e mv s0,a1
|
|
470e: 97ba add a5,a5,a4
|
|
4710: b751 j 4694 <_vfiprintf_r+0x1c0>
|
|
4712: 079d addi a5,a5,7
|
|
4714: 9be1 andi a5,a5,-8
|
|
4716: 07a1 addi a5,a5,8
|
|
4718: b7d5 j 46fc <_vfiprintf_r+0x228>
|
|
471a: 0078 addi a4,sp,12
|
|
471c: 00000697 auipc a3,0x0
|
|
4720: d7668693 addi a3,a3,-650 # 4492 <__sfputs_r>
|
|
4724: 8626 mv a2,s1
|
|
4726: 080c addi a1,sp,16
|
|
4728: 854e mv a0,s3
|
|
472a: 00000097 auipc ra,0x0
|
|
472e: 000000e7 jalr zero # 0 <_sinit>
|
|
4732: 57fd li a5,-1
|
|
4734: 8a2a mv s4,a0
|
|
4736: fcf514e3 bne a0,a5,46fe <_vfiprintf_r+0x22a>
|
|
473a: 24de lhu a5,12(s1)
|
|
473c: 0407f793 andi a5,a5,64
|
|
4740: ec0792e3 bnez a5,4604 <_vfiprintf_r+0x130>
|
|
4744: 5512 lw a0,36(sp)
|
|
4746: b5c1 j 4606 <_vfiprintf_r+0x132>
|
|
4748: 0078 addi a4,sp,12
|
|
474a: 00000697 auipc a3,0x0
|
|
474e: d4868693 addi a3,a3,-696 # 4492 <__sfputs_r>
|
|
4752: 8626 mv a2,s1
|
|
4754: 080c addi a1,sp,16
|
|
4756: 854e mv a0,s3
|
|
4758: 2a01 jal 4868 <_printf_i>
|
|
475a: bfe1 j 4732 <_vfiprintf_r+0x25e>
|
|
|
|
0000475c <_printf_common>:
|
|
475c: 7179 addi sp,sp,-48
|
|
475e: ca56 sw s5,20(sp)
|
|
4760: 499c lw a5,16(a1)
|
|
4762: 8aba mv s5,a4
|
|
4764: 4598 lw a4,8(a1)
|
|
4766: d422 sw s0,40(sp)
|
|
4768: d226 sw s1,36(sp)
|
|
476a: ce4e sw s3,28(sp)
|
|
476c: cc52 sw s4,24(sp)
|
|
476e: d606 sw ra,44(sp)
|
|
4770: d04a sw s2,32(sp)
|
|
4772: c85a sw s6,16(sp)
|
|
4774: c65e sw s7,12(sp)
|
|
4776: 89aa mv s3,a0
|
|
4778: 842e mv s0,a1
|
|
477a: 84b2 mv s1,a2
|
|
477c: 8a36 mv s4,a3
|
|
477e: 00e7d363 bge a5,a4,4784 <_printf_common+0x28>
|
|
4782: 87ba mv a5,a4
|
|
4784: c09c sw a5,0(s1)
|
|
4786: 04344703 lbu a4,67(s0)
|
|
478a: c319 beqz a4,4790 <_printf_common+0x34>
|
|
478c: 0785 addi a5,a5,1
|
|
478e: c09c sw a5,0(s1)
|
|
4790: 401c lw a5,0(s0)
|
|
4792: 0207f793 andi a5,a5,32
|
|
4796: c781 beqz a5,479e <_printf_common+0x42>
|
|
4798: 409c lw a5,0(s1)
|
|
479a: 0789 addi a5,a5,2
|
|
479c: c09c sw a5,0(s1)
|
|
479e: 00042903 lw s2,0(s0)
|
|
47a2: 00697913 andi s2,s2,6
|
|
47a6: 00091a63 bnez s2,47ba <_printf_common+0x5e>
|
|
47aa: 01940b13 addi s6,s0,25
|
|
47ae: 5bfd li s7,-1
|
|
47b0: 445c lw a5,12(s0)
|
|
47b2: 4098 lw a4,0(s1)
|
|
47b4: 8f99 sub a5,a5,a4
|
|
47b6: 04f94c63 blt s2,a5,480e <_printf_common+0xb2>
|
|
47ba: 401c lw a5,0(s0)
|
|
47bc: 04344683 lbu a3,67(s0)
|
|
47c0: 0207f793 andi a5,a5,32
|
|
47c4: 00d036b3 snez a3,a3
|
|
47c8: eba5 bnez a5,4838 <_printf_common+0xdc>
|
|
47ca: 04340613 addi a2,s0,67
|
|
47ce: 85d2 mv a1,s4
|
|
47d0: 854e mv a0,s3
|
|
47d2: 9a82 jalr s5
|
|
47d4: 57fd li a5,-1
|
|
47d6: 04f50363 beq a0,a5,481c <_printf_common+0xc0>
|
|
47da: 401c lw a5,0(s0)
|
|
47dc: 4611 li a2,4
|
|
47de: 4098 lw a4,0(s1)
|
|
47e0: 8b99 andi a5,a5,6
|
|
47e2: 4454 lw a3,12(s0)
|
|
47e4: 4481 li s1,0
|
|
47e6: 00c79763 bne a5,a2,47f4 <_printf_common+0x98>
|
|
47ea: 40e684b3 sub s1,a3,a4
|
|
47ee: 0004d363 bgez s1,47f4 <_printf_common+0x98>
|
|
47f2: 4481 li s1,0
|
|
47f4: 441c lw a5,8(s0)
|
|
47f6: 4818 lw a4,16(s0)
|
|
47f8: 00f75463 bge a4,a5,4800 <_printf_common+0xa4>
|
|
47fc: 8f99 sub a5,a5,a4
|
|
47fe: 94be add s1,s1,a5
|
|
4800: 4901 li s2,0
|
|
4802: 0469 addi s0,s0,26
|
|
4804: 5b7d li s6,-1
|
|
4806: 05249863 bne s1,s2,4856 <_printf_common+0xfa>
|
|
480a: 4501 li a0,0
|
|
480c: a809 j 481e <_printf_common+0xc2>
|
|
480e: 4685 li a3,1
|
|
4810: 865a mv a2,s6
|
|
4812: 85d2 mv a1,s4
|
|
4814: 854e mv a0,s3
|
|
4816: 9a82 jalr s5
|
|
4818: 01751e63 bne a0,s7,4834 <_printf_common+0xd8>
|
|
481c: 557d li a0,-1
|
|
481e: 50b2 lw ra,44(sp)
|
|
4820: 5422 lw s0,40(sp)
|
|
4822: 5492 lw s1,36(sp)
|
|
4824: 5902 lw s2,32(sp)
|
|
4826: 49f2 lw s3,28(sp)
|
|
4828: 4a62 lw s4,24(sp)
|
|
482a: 4ad2 lw s5,20(sp)
|
|
482c: 4b42 lw s6,16(sp)
|
|
482e: 4bb2 lw s7,12(sp)
|
|
4830: 6145 addi sp,sp,48
|
|
4832: 8082 ret
|
|
4834: 0905 addi s2,s2,1
|
|
4836: bfad j 47b0 <_printf_common+0x54>
|
|
4838: 00d40733 add a4,s0,a3
|
|
483c: 03000613 li a2,48
|
|
4840: 04c701a3 sb a2,67(a4)
|
|
4844: 04544703 lbu a4,69(s0)
|
|
4848: 00168793 addi a5,a3,1
|
|
484c: 97a2 add a5,a5,s0
|
|
484e: 0689 addi a3,a3,2
|
|
4850: 04e781a3 sb a4,67(a5)
|
|
4854: bf9d j 47ca <_printf_common+0x6e>
|
|
4856: 4685 li a3,1
|
|
4858: 8622 mv a2,s0
|
|
485a: 85d2 mv a1,s4
|
|
485c: 854e mv a0,s3
|
|
485e: 9a82 jalr s5
|
|
4860: fb650ee3 beq a0,s6,481c <_printf_common+0xc0>
|
|
4864: 0905 addi s2,s2,1
|
|
4866: b745 j 4806 <_printf_common+0xaa>
|
|
|
|
00004868 <_printf_i>:
|
|
4868: 7179 addi sp,sp,-48
|
|
486a: d422 sw s0,40(sp)
|
|
486c: d226 sw s1,36(sp)
|
|
486e: d04a sw s2,32(sp)
|
|
4870: ce4e sw s3,28(sp)
|
|
4872: d606 sw ra,44(sp)
|
|
4874: cc52 sw s4,24(sp)
|
|
4876: ca56 sw s5,20(sp)
|
|
4878: c85a sw s6,16(sp)
|
|
487a: 89b6 mv s3,a3
|
|
487c: 2d94 lbu a3,24(a1)
|
|
487e: 06900793 li a5,105
|
|
4882: 8932 mv s2,a2
|
|
4884: 84aa mv s1,a0
|
|
4886: 842e mv s0,a1
|
|
4888: 04358613 addi a2,a1,67
|
|
488c: 02f68d63 beq a3,a5,48c6 <_printf_i+0x5e>
|
|
4890: 06d7e263 bltu a5,a3,48f4 <_printf_i+0x8c>
|
|
4894: 05800793 li a5,88
|
|
4898: 18f68663 beq a3,a5,4a24 <_printf_i+0x1bc>
|
|
489c: 00d7ed63 bltu a5,a3,48b6 <_printf_i+0x4e>
|
|
48a0: 20068e63 beqz a3,4abc <_printf_i+0x254>
|
|
48a4: 04300793 li a5,67
|
|
48a8: 0af68e63 beq a3,a5,4964 <_printf_i+0xfc>
|
|
48ac: 04240a93 addi s5,s0,66
|
|
48b0: 04d40123 sb a3,66(s0)
|
|
48b4: a0c9 j 4976 <_printf_i+0x10e>
|
|
48b6: 06300793 li a5,99
|
|
48ba: 0af68563 beq a3,a5,4964 <_printf_i+0xfc>
|
|
48be: 06400793 li a5,100
|
|
48c2: fef695e3 bne a3,a5,48ac <_printf_i+0x44>
|
|
48c6: 401c lw a5,0(s0)
|
|
48c8: 4308 lw a0,0(a4)
|
|
48ca: 0807f693 andi a3,a5,128
|
|
48ce: 00450593 addi a1,a0,4
|
|
48d2: c6c5 beqz a3,497a <_printf_i+0x112>
|
|
48d4: 411c lw a5,0(a0)
|
|
48d6: c30c sw a1,0(a4)
|
|
48d8: 0007d863 bgez a5,48e8 <_printf_i+0x80>
|
|
48dc: 02d00713 li a4,45
|
|
48e0: 40f007b3 neg a5,a5
|
|
48e4: 04e401a3 sb a4,67(s0)
|
|
48e8: 00001697 auipc a3,0x1
|
|
48ec: b4468693 addi a3,a3,-1212 # 542c <__sf_fake_stdout+0x34>
|
|
48f0: 4729 li a4,10
|
|
48f2: a865 j 49aa <_printf_i+0x142>
|
|
48f4: 07000793 li a5,112
|
|
48f8: 16f68263 beq a3,a5,4a5c <_printf_i+0x1f4>
|
|
48fc: 02d7e563 bltu a5,a3,4926 <_printf_i+0xbe>
|
|
4900: 06e00793 li a5,110
|
|
4904: 18f68963 beq a3,a5,4a96 <_printf_i+0x22e>
|
|
4908: 06f00793 li a5,111
|
|
490c: faf690e3 bne a3,a5,48ac <_printf_i+0x44>
|
|
4910: 400c lw a1,0(s0)
|
|
4912: 431c lw a5,0(a4)
|
|
4914: 0805f813 andi a6,a1,128
|
|
4918: 00478513 addi a0,a5,4
|
|
491c: 06080763 beqz a6,498a <_printf_i+0x122>
|
|
4920: c308 sw a0,0(a4)
|
|
4922: 439c lw a5,0(a5)
|
|
4924: a885 j 4994 <_printf_i+0x12c>
|
|
4926: 07500793 li a5,117
|
|
492a: fef683e3 beq a3,a5,4910 <_printf_i+0xa8>
|
|
492e: 07800793 li a5,120
|
|
4932: 12f68963 beq a3,a5,4a64 <_printf_i+0x1fc>
|
|
4936: 07300793 li a5,115
|
|
493a: f6f699e3 bne a3,a5,48ac <_printf_i+0x44>
|
|
493e: 431c lw a5,0(a4)
|
|
4940: 41d0 lw a2,4(a1)
|
|
4942: 4581 li a1,0
|
|
4944: 00478693 addi a3,a5,4
|
|
4948: c314 sw a3,0(a4)
|
|
494a: 0007aa83 lw s5,0(a5)
|
|
494e: 8556 mv a0,s5
|
|
4950: 268d jal 4cb2 <memchr>
|
|
4952: c501 beqz a0,495a <_printf_i+0xf2>
|
|
4954: 41550533 sub a0,a0,s5
|
|
4958: c048 sw a0,4(s0)
|
|
495a: 405c lw a5,4(s0)
|
|
495c: c81c sw a5,16(s0)
|
|
495e: 040401a3 sb zero,67(s0)
|
|
4962: a861 j 49fa <_printf_i+0x192>
|
|
4964: 431c lw a5,0(a4)
|
|
4966: 04240a93 addi s5,s0,66
|
|
496a: 00478693 addi a3,a5,4
|
|
496e: 439c lw a5,0(a5)
|
|
4970: c314 sw a3,0(a4)
|
|
4972: 04f40123 sb a5,66(s0)
|
|
4976: 4785 li a5,1
|
|
4978: b7d5 j 495c <_printf_i+0xf4>
|
|
497a: 0407f693 andi a3,a5,64
|
|
497e: 411c lw a5,0(a0)
|
|
4980: c30c sw a1,0(a4)
|
|
4982: dab9 beqz a3,48d8 <_printf_i+0x70>
|
|
4984: 07c2 slli a5,a5,0x10
|
|
4986: 87c1 srai a5,a5,0x10
|
|
4988: bf81 j 48d8 <_printf_i+0x70>
|
|
498a: 0405f593 andi a1,a1,64
|
|
498e: c308 sw a0,0(a4)
|
|
4990: d9c9 beqz a1,4922 <_printf_i+0xba>
|
|
4992: 239e lhu a5,0(a5)
|
|
4994: 06f00713 li a4,111
|
|
4998: 0ee68763 beq a3,a4,4a86 <_printf_i+0x21e>
|
|
499c: 00001697 auipc a3,0x1
|
|
49a0: a9068693 addi a3,a3,-1392 # 542c <__sf_fake_stdout+0x34>
|
|
49a4: 4729 li a4,10
|
|
49a6: 040401a3 sb zero,67(s0)
|
|
49aa: 404c lw a1,4(s0)
|
|
49ac: c40c sw a1,8(s0)
|
|
49ae: 0005c563 bltz a1,49b8 <_printf_i+0x150>
|
|
49b2: 4008 lw a0,0(s0)
|
|
49b4: 996d andi a0,a0,-5
|
|
49b6: c008 sw a0,0(s0)
|
|
49b8: e399 bnez a5,49be <_printf_i+0x156>
|
|
49ba: 8ab2 mv s5,a2
|
|
49bc: cd89 beqz a1,49d6 <_printf_i+0x16e>
|
|
49be: 8ab2 mv s5,a2
|
|
49c0: 02e7f5b3 remu a1,a5,a4
|
|
49c4: 1afd addi s5,s5,-1
|
|
49c6: 95b6 add a1,a1,a3
|
|
49c8: 218c lbu a1,0(a1)
|
|
49ca: 00ba8023 sb a1,0(s5)
|
|
49ce: 02e7d5b3 divu a1,a5,a4
|
|
49d2: 0ce7f063 bgeu a5,a4,4a92 <_printf_i+0x22a>
|
|
49d6: 47a1 li a5,8
|
|
49d8: 00f71e63 bne a4,a5,49f4 <_printf_i+0x18c>
|
|
49dc: 401c lw a5,0(s0)
|
|
49de: 8b85 andi a5,a5,1
|
|
49e0: cb91 beqz a5,49f4 <_printf_i+0x18c>
|
|
49e2: 4058 lw a4,4(s0)
|
|
49e4: 481c lw a5,16(s0)
|
|
49e6: 00e7c763 blt a5,a4,49f4 <_printf_i+0x18c>
|
|
49ea: 03000793 li a5,48
|
|
49ee: fefa8fa3 sb a5,-1(s5)
|
|
49f2: 1afd addi s5,s5,-1
|
|
49f4: 41560633 sub a2,a2,s5
|
|
49f8: c810 sw a2,16(s0)
|
|
49fa: 874e mv a4,s3
|
|
49fc: 86ca mv a3,s2
|
|
49fe: 0070 addi a2,sp,12
|
|
4a00: 85a2 mv a1,s0
|
|
4a02: 8526 mv a0,s1
|
|
4a04: d59ff0ef jal ra,475c <_printf_common>
|
|
4a08: 5a7d li s4,-1
|
|
4a0a: 0b451d63 bne a0,s4,4ac4 <_printf_i+0x25c>
|
|
4a0e: 557d li a0,-1
|
|
4a10: 50b2 lw ra,44(sp)
|
|
4a12: 5422 lw s0,40(sp)
|
|
4a14: 5492 lw s1,36(sp)
|
|
4a16: 5902 lw s2,32(sp)
|
|
4a18: 49f2 lw s3,28(sp)
|
|
4a1a: 4a62 lw s4,24(sp)
|
|
4a1c: 4ad2 lw s5,20(sp)
|
|
4a1e: 4b42 lw s6,16(sp)
|
|
4a20: 6145 addi sp,sp,48
|
|
4a22: 8082 ret
|
|
4a24: 04d582a3 sb a3,69(a1)
|
|
4a28: 00001697 auipc a3,0x1
|
|
4a2c: a0468693 addi a3,a3,-1532 # 542c <__sf_fake_stdout+0x34>
|
|
4a30: 400c lw a1,0(s0)
|
|
4a32: 4308 lw a0,0(a4)
|
|
4a34: 0805f813 andi a6,a1,128
|
|
4a38: 411c lw a5,0(a0)
|
|
4a3a: 0511 addi a0,a0,4
|
|
4a3c: 02080d63 beqz a6,4a76 <_printf_i+0x20e>
|
|
4a40: c308 sw a0,0(a4)
|
|
4a42: 0015f713 andi a4,a1,1
|
|
4a46: c701 beqz a4,4a4e <_printf_i+0x1e6>
|
|
4a48: 0205e593 ori a1,a1,32
|
|
4a4c: c00c sw a1,0(s0)
|
|
4a4e: 4741 li a4,16
|
|
4a50: fbb9 bnez a5,49a6 <_printf_i+0x13e>
|
|
4a52: 400c lw a1,0(s0)
|
|
4a54: fdf5f593 andi a1,a1,-33
|
|
4a58: c00c sw a1,0(s0)
|
|
4a5a: b7b1 j 49a6 <_printf_i+0x13e>
|
|
4a5c: 419c lw a5,0(a1)
|
|
4a5e: 0207e793 ori a5,a5,32
|
|
4a62: c19c sw a5,0(a1)
|
|
4a64: 07800793 li a5,120
|
|
4a68: 04f402a3 sb a5,69(s0)
|
|
4a6c: 00001697 auipc a3,0x1
|
|
4a70: 9d468693 addi a3,a3,-1580 # 5440 <__sf_fake_stdout+0x48>
|
|
4a74: bf75 j 4a30 <_printf_i+0x1c8>
|
|
4a76: 0405f813 andi a6,a1,64
|
|
4a7a: c308 sw a0,0(a4)
|
|
4a7c: fc0803e3 beqz a6,4a42 <_printf_i+0x1da>
|
|
4a80: 07c2 slli a5,a5,0x10
|
|
4a82: 83c1 srli a5,a5,0x10
|
|
4a84: bf7d j 4a42 <_printf_i+0x1da>
|
|
4a86: 00001697 auipc a3,0x1
|
|
4a8a: 9a668693 addi a3,a3,-1626 # 542c <__sf_fake_stdout+0x34>
|
|
4a8e: 4721 li a4,8
|
|
4a90: bf19 j 49a6 <_printf_i+0x13e>
|
|
4a92: 87ae mv a5,a1
|
|
4a94: b735 j 49c0 <_printf_i+0x158>
|
|
4a96: 4194 lw a3,0(a1)
|
|
4a98: 431c lw a5,0(a4)
|
|
4a9a: 49cc lw a1,20(a1)
|
|
4a9c: 0806f813 andi a6,a3,128
|
|
4aa0: 00478513 addi a0,a5,4
|
|
4aa4: 00080663 beqz a6,4ab0 <_printf_i+0x248>
|
|
4aa8: c308 sw a0,0(a4)
|
|
4aaa: 439c lw a5,0(a5)
|
|
4aac: c38c sw a1,0(a5)
|
|
4aae: a039 j 4abc <_printf_i+0x254>
|
|
4ab0: c308 sw a0,0(a4)
|
|
4ab2: 0406f693 andi a3,a3,64
|
|
4ab6: 439c lw a5,0(a5)
|
|
4ab8: daf5 beqz a3,4aac <_printf_i+0x244>
|
|
4aba: a38e sh a1,0(a5)
|
|
4abc: 00042823 sw zero,16(s0)
|
|
4ac0: 8ab2 mv s5,a2
|
|
4ac2: bf25 j 49fa <_printf_i+0x192>
|
|
4ac4: 4814 lw a3,16(s0)
|
|
4ac6: 8656 mv a2,s5
|
|
4ac8: 85ca mv a1,s2
|
|
4aca: 8526 mv a0,s1
|
|
4acc: 9982 jalr s3
|
|
4ace: f54500e3 beq a0,s4,4a0e <_printf_i+0x1a6>
|
|
4ad2: 401c lw a5,0(s0)
|
|
4ad4: 8b89 andi a5,a5,2
|
|
4ad6: e78d bnez a5,4b00 <_printf_i+0x298>
|
|
4ad8: 47b2 lw a5,12(sp)
|
|
4ada: 4448 lw a0,12(s0)
|
|
4adc: f2f55ae3 bge a0,a5,4a10 <_printf_i+0x1a8>
|
|
4ae0: 853e mv a0,a5
|
|
4ae2: b73d j 4a10 <_printf_i+0x1a8>
|
|
4ae4: 4685 li a3,1
|
|
4ae6: 8656 mv a2,s5
|
|
4ae8: 85ca mv a1,s2
|
|
4aea: 8526 mv a0,s1
|
|
4aec: 9982 jalr s3
|
|
4aee: f36500e3 beq a0,s6,4a0e <_printf_i+0x1a6>
|
|
4af2: 0a05 addi s4,s4,1
|
|
4af4: 445c lw a5,12(s0)
|
|
4af6: 4732 lw a4,12(sp)
|
|
4af8: 8f99 sub a5,a5,a4
|
|
4afa: fefa45e3 blt s4,a5,4ae4 <_printf_i+0x27c>
|
|
4afe: bfe9 j 4ad8 <_printf_i+0x270>
|
|
4b00: 4a01 li s4,0
|
|
4b02: 01940a93 addi s5,s0,25
|
|
4b06: 5b7d li s6,-1
|
|
4b08: b7f5 j 4af4 <_printf_i+0x28c>
|
|
|
|
00004b0a <_sbrk_r>:
|
|
4b0a: 1141 addi sp,sp,-16
|
|
4b0c: c422 sw s0,8(sp)
|
|
4b0e: 842a mv s0,a0
|
|
4b10: 852e mv a0,a1
|
|
4b12: ae01a823 sw zero,-1296(gp) # 20000428 <errno>
|
|
4b16: c606 sw ra,12(sp)
|
|
4b18: 8fafd0ef jal ra,1c12 <_sbrk>
|
|
4b1c: 57fd li a5,-1
|
|
4b1e: 00f51763 bne a0,a5,4b2c <_sbrk_r+0x22>
|
|
4b22: af018793 addi a5,gp,-1296 # 20000428 <errno>
|
|
4b26: 439c lw a5,0(a5)
|
|
4b28: c391 beqz a5,4b2c <_sbrk_r+0x22>
|
|
4b2a: c01c sw a5,0(s0)
|
|
4b2c: 40b2 lw ra,12(sp)
|
|
4b2e: 4422 lw s0,8(sp)
|
|
4b30: 0141 addi sp,sp,16
|
|
4b32: 8082 ret
|
|
|
|
00004b34 <__sread>:
|
|
4b34: 1141 addi sp,sp,-16
|
|
4b36: c422 sw s0,8(sp)
|
|
4b38: 842e mv s0,a1
|
|
4b3a: 00e59583 lh a1,14(a1)
|
|
4b3e: c606 sw ra,12(sp)
|
|
4b40: 2279 jal 4cce <_read_r>
|
|
4b42: 00054963 bltz a0,4b54 <__sread+0x20>
|
|
4b46: 487c lw a5,84(s0)
|
|
4b48: 97aa add a5,a5,a0
|
|
4b4a: c87c sw a5,84(s0)
|
|
4b4c: 40b2 lw ra,12(sp)
|
|
4b4e: 4422 lw s0,8(sp)
|
|
4b50: 0141 addi sp,sp,16
|
|
4b52: 8082 ret
|
|
4b54: 245e lhu a5,12(s0)
|
|
4b56: 777d lui a4,0xfffff
|
|
4b58: 177d addi a4,a4,-1
|
|
4b5a: 8ff9 and a5,a5,a4
|
|
4b5c: a45e sh a5,12(s0)
|
|
4b5e: b7fd j 4b4c <__sread+0x18>
|
|
|
|
00004b60 <__swrite>:
|
|
4b60: 25de lhu a5,12(a1)
|
|
4b62: 1101 addi sp,sp,-32
|
|
4b64: cc22 sw s0,24(sp)
|
|
4b66: ca26 sw s1,20(sp)
|
|
4b68: c84a sw s2,16(sp)
|
|
4b6a: c64e sw s3,12(sp)
|
|
4b6c: ce06 sw ra,28(sp)
|
|
4b6e: 1007f793 andi a5,a5,256
|
|
4b72: 84aa mv s1,a0
|
|
4b74: 842e mv s0,a1
|
|
4b76: 8932 mv s2,a2
|
|
4b78: 89b6 mv s3,a3
|
|
4b7a: c791 beqz a5,4b86 <__swrite+0x26>
|
|
4b7c: 00e59583 lh a1,14(a1)
|
|
4b80: 4689 li a3,2
|
|
4b82: 4601 li a2,0
|
|
4b84: 2209 jal 4c86 <_lseek_r>
|
|
4b86: 245e lhu a5,12(s0)
|
|
4b88: 777d lui a4,0xfffff
|
|
4b8a: 177d addi a4,a4,-1
|
|
4b8c: 8ff9 and a5,a5,a4
|
|
4b8e: a45e sh a5,12(s0)
|
|
4b90: 00e41583 lh a1,14(s0)
|
|
4b94: 4462 lw s0,24(sp)
|
|
4b96: 40f2 lw ra,28(sp)
|
|
4b98: 86ce mv a3,s3
|
|
4b9a: 864a mv a2,s2
|
|
4b9c: 49b2 lw s3,12(sp)
|
|
4b9e: 4942 lw s2,16(sp)
|
|
4ba0: 8526 mv a0,s1
|
|
4ba2: 44d2 lw s1,20(sp)
|
|
4ba4: 6105 addi sp,sp,32
|
|
4ba6: a825 j 4bde <_write_r>
|
|
|
|
00004ba8 <__sseek>:
|
|
4ba8: 1141 addi sp,sp,-16
|
|
4baa: c422 sw s0,8(sp)
|
|
4bac: 842e mv s0,a1
|
|
4bae: 00e59583 lh a1,14(a1)
|
|
4bb2: c606 sw ra,12(sp)
|
|
4bb4: 28c9 jal 4c86 <_lseek_r>
|
|
4bb6: 57fd li a5,-1
|
|
4bb8: 245a lhu a4,12(s0)
|
|
4bba: 00f51a63 bne a0,a5,4bce <__sseek+0x26>
|
|
4bbe: 77fd lui a5,0xfffff
|
|
4bc0: 17fd addi a5,a5,-1
|
|
4bc2: 8ff9 and a5,a5,a4
|
|
4bc4: a45e sh a5,12(s0)
|
|
4bc6: 40b2 lw ra,12(sp)
|
|
4bc8: 4422 lw s0,8(sp)
|
|
4bca: 0141 addi sp,sp,16
|
|
4bcc: 8082 ret
|
|
4bce: 6785 lui a5,0x1
|
|
4bd0: 8fd9 or a5,a5,a4
|
|
4bd2: a45e sh a5,12(s0)
|
|
4bd4: c868 sw a0,84(s0)
|
|
4bd6: bfc5 j 4bc6 <__sseek+0x1e>
|
|
|
|
00004bd8 <__sclose>:
|
|
4bd8: 00e59583 lh a1,14(a1)
|
|
4bdc: a805 j 4c0c <_close_r>
|
|
|
|
00004bde <_write_r>:
|
|
4bde: 1141 addi sp,sp,-16
|
|
4be0: c422 sw s0,8(sp)
|
|
4be2: 842a mv s0,a0
|
|
4be4: 852e mv a0,a1
|
|
4be6: 85b2 mv a1,a2
|
|
4be8: 8636 mv a2,a3
|
|
4bea: ae01a823 sw zero,-1296(gp) # 20000428 <errno>
|
|
4bee: c606 sw ra,12(sp)
|
|
4bf0: fe5fc0ef jal ra,1bd4 <_write>
|
|
4bf4: 57fd li a5,-1
|
|
4bf6: 00f51763 bne a0,a5,4c04 <_write_r+0x26>
|
|
4bfa: af018793 addi a5,gp,-1296 # 20000428 <errno>
|
|
4bfe: 439c lw a5,0(a5)
|
|
4c00: c391 beqz a5,4c04 <_write_r+0x26>
|
|
4c02: c01c sw a5,0(s0)
|
|
4c04: 40b2 lw ra,12(sp)
|
|
4c06: 4422 lw s0,8(sp)
|
|
4c08: 0141 addi sp,sp,16
|
|
4c0a: 8082 ret
|
|
|
|
00004c0c <_close_r>:
|
|
4c0c: 1141 addi sp,sp,-16
|
|
4c0e: c422 sw s0,8(sp)
|
|
4c10: 842a mv s0,a0
|
|
4c12: 852e mv a0,a1
|
|
4c14: ae01a823 sw zero,-1296(gp) # 20000428 <errno>
|
|
4c18: c606 sw ra,12(sp)
|
|
4c1a: 20c5 jal 4cfa <_close>
|
|
4c1c: 57fd li a5,-1
|
|
4c1e: 00f51763 bne a0,a5,4c2c <_close_r+0x20>
|
|
4c22: af018793 addi a5,gp,-1296 # 20000428 <errno>
|
|
4c26: 439c lw a5,0(a5)
|
|
4c28: c391 beqz a5,4c2c <_close_r+0x20>
|
|
4c2a: c01c sw a5,0(s0)
|
|
4c2c: 40b2 lw ra,12(sp)
|
|
4c2e: 4422 lw s0,8(sp)
|
|
4c30: 0141 addi sp,sp,16
|
|
4c32: 8082 ret
|
|
|
|
00004c34 <_fstat_r>:
|
|
4c34: 1141 addi sp,sp,-16
|
|
4c36: c422 sw s0,8(sp)
|
|
4c38: 842a mv s0,a0
|
|
4c3a: 852e mv a0,a1
|
|
4c3c: 85b2 mv a1,a2
|
|
4c3e: ae01a823 sw zero,-1296(gp) # 20000428 <errno>
|
|
4c42: c606 sw ra,12(sp)
|
|
4c44: 20c9 jal 4d06 <_fstat>
|
|
4c46: 57fd li a5,-1
|
|
4c48: 00f51763 bne a0,a5,4c56 <_fstat_r+0x22>
|
|
4c4c: af018793 addi a5,gp,-1296 # 20000428 <errno>
|
|
4c50: 439c lw a5,0(a5)
|
|
4c52: c391 beqz a5,4c56 <_fstat_r+0x22>
|
|
4c54: c01c sw a5,0(s0)
|
|
4c56: 40b2 lw ra,12(sp)
|
|
4c58: 4422 lw s0,8(sp)
|
|
4c5a: 0141 addi sp,sp,16
|
|
4c5c: 8082 ret
|
|
|
|
00004c5e <_isatty_r>:
|
|
4c5e: 1141 addi sp,sp,-16
|
|
4c60: c422 sw s0,8(sp)
|
|
4c62: 842a mv s0,a0
|
|
4c64: 852e mv a0,a1
|
|
4c66: ae01a823 sw zero,-1296(gp) # 20000428 <errno>
|
|
4c6a: c606 sw ra,12(sp)
|
|
4c6c: 205d jal 4d12 <_isatty>
|
|
4c6e: 57fd li a5,-1
|
|
4c70: 00f51763 bne a0,a5,4c7e <_isatty_r+0x20>
|
|
4c74: af018793 addi a5,gp,-1296 # 20000428 <errno>
|
|
4c78: 439c lw a5,0(a5)
|
|
4c7a: c391 beqz a5,4c7e <_isatty_r+0x20>
|
|
4c7c: c01c sw a5,0(s0)
|
|
4c7e: 40b2 lw ra,12(sp)
|
|
4c80: 4422 lw s0,8(sp)
|
|
4c82: 0141 addi sp,sp,16
|
|
4c84: 8082 ret
|
|
|
|
00004c86 <_lseek_r>:
|
|
4c86: 1141 addi sp,sp,-16
|
|
4c88: c422 sw s0,8(sp)
|
|
4c8a: 842a mv s0,a0
|
|
4c8c: 852e mv a0,a1
|
|
4c8e: 85b2 mv a1,a2
|
|
4c90: 8636 mv a2,a3
|
|
4c92: ae01a823 sw zero,-1296(gp) # 20000428 <errno>
|
|
4c96: c606 sw ra,12(sp)
|
|
4c98: 2059 jal 4d1e <_lseek>
|
|
4c9a: 57fd li a5,-1
|
|
4c9c: 00f51763 bne a0,a5,4caa <_lseek_r+0x24>
|
|
4ca0: af018793 addi a5,gp,-1296 # 20000428 <errno>
|
|
4ca4: 439c lw a5,0(a5)
|
|
4ca6: c391 beqz a5,4caa <_lseek_r+0x24>
|
|
4ca8: c01c sw a5,0(s0)
|
|
4caa: 40b2 lw ra,12(sp)
|
|
4cac: 4422 lw s0,8(sp)
|
|
4cae: 0141 addi sp,sp,16
|
|
4cb0: 8082 ret
|
|
|
|
00004cb2 <memchr>:
|
|
4cb2: 0ff5f593 andi a1,a1,255
|
|
4cb6: 962a add a2,a2,a0
|
|
4cb8: 00c51463 bne a0,a2,4cc0 <memchr+0xe>
|
|
4cbc: 4501 li a0,0
|
|
4cbe: 8082 ret
|
|
4cc0: 211c lbu a5,0(a0)
|
|
4cc2: feb78ee3 beq a5,a1,4cbe <memchr+0xc>
|
|
4cc6: 0505 addi a0,a0,1
|
|
4cc8: bfc5 j 4cb8 <memchr+0x6>
|
|
|
|
00004cca <__malloc_lock>:
|
|
4cca: 8082 ret
|
|
|
|
00004ccc <__malloc_unlock>:
|
|
4ccc: 8082 ret
|
|
|
|
00004cce <_read_r>:
|
|
4cce: 1141 addi sp,sp,-16
|
|
4cd0: c422 sw s0,8(sp)
|
|
4cd2: 842a mv s0,a0
|
|
4cd4: 852e mv a0,a1
|
|
4cd6: 85b2 mv a1,a2
|
|
4cd8: 8636 mv a2,a3
|
|
4cda: ae01a823 sw zero,-1296(gp) # 20000428 <errno>
|
|
4cde: c606 sw ra,12(sp)
|
|
4ce0: 20a9 jal 4d2a <_read>
|
|
4ce2: 57fd li a5,-1
|
|
4ce4: 00f51763 bne a0,a5,4cf2 <_read_r+0x24>
|
|
4ce8: af018793 addi a5,gp,-1296 # 20000428 <errno>
|
|
4cec: 439c lw a5,0(a5)
|
|
4cee: c391 beqz a5,4cf2 <_read_r+0x24>
|
|
4cf0: c01c sw a5,0(s0)
|
|
4cf2: 40b2 lw ra,12(sp)
|
|
4cf4: 4422 lw s0,8(sp)
|
|
4cf6: 0141 addi sp,sp,16
|
|
4cf8: 8082 ret
|
|
|
|
00004cfa <_close>:
|
|
4cfa: 05800793 li a5,88
|
|
4cfe: aef1a823 sw a5,-1296(gp) # 20000428 <errno>
|
|
4d02: 557d li a0,-1
|
|
4d04: 8082 ret
|
|
|
|
00004d06 <_fstat>:
|
|
4d06: 05800793 li a5,88
|
|
4d0a: aef1a823 sw a5,-1296(gp) # 20000428 <errno>
|
|
4d0e: 557d li a0,-1
|
|
4d10: 8082 ret
|
|
|
|
00004d12 <_isatty>:
|
|
4d12: 05800793 li a5,88
|
|
4d16: aef1a823 sw a5,-1296(gp) # 20000428 <errno>
|
|
4d1a: 4501 li a0,0
|
|
4d1c: 8082 ret
|
|
|
|
00004d1e <_lseek>:
|
|
4d1e: 05800793 li a5,88
|
|
4d22: aef1a823 sw a5,-1296(gp) # 20000428 <errno>
|
|
4d26: 557d li a0,-1
|
|
4d28: 8082 ret
|
|
|
|
00004d2a <_read>:
|
|
4d2a: 05800793 li a5,88
|
|
4d2e: aef1a823 sw a5,-1296(gp) # 20000428 <errno>
|
|
4d32: 557d li a0,-1
|
|
4d34: 8082 ret
|
|
4d36: 0000 unimp
|
|
4d38: 74737953 0x74737953
|
|
4d3c: 6d65 lui s10,0x19
|
|
4d3e: 3a6b6c43 fmadd.d fs8,fs6,ft6,ft7,unknown
|
|
4d42: 6425 lui s0,0x9
|
|
4d44: 0a0d addi s4,s4,3
|
|
4d46: 0000 unimp
|
|
4d48: 70696843 fmadd.s fa6,fs2,ft6,fa4,unknown
|
|
4d4c: 4449 li s0,18
|
|
4d4e: 253a lhu a4,10(a0)
|
|
4d50: 3830 lbu a2,19(s0)
|
|
4d52: 0d78 addi a4,sp,668
|
|
4d54: 000a c.slli zero,0x2
|
|
4d56: 0000 unimp
|
|
4d58: 696c6143 fmadd.s ft2,fs8,fs6,fa3,unknown
|
|
4d5c: 7262 flw ft4,56(sp)
|
|
4d5e: 7461 lui s0,0xffff8
|
|
4d60: 6974 flw fa3,84(a0)
|
|
4d62: 565f6e6f jal t3,fbac6 <_data_lma+0xf6672>
|
|
4d66: 6c61 lui s8,0x18
|
|
4d68: 3a20 lbu s0,19(a2)
|
|
4d6a: 2520 lbu s0,10(a0)
|
|
4d6c: 0a64 addi s1,sp,284
|
|
4d6e: 0000 unimp
|
|
4d70: 7552 flw fa0,52(sp)
|
|
4d72: 206e lhu a1,6(s0)
|
|
4d74: 7461 lui s0,0xffff8
|
|
4d76: 4520 lw s0,72(a0)
|
|
4d78: 5458 lw a4,44(s0)
|
|
4d7a: 0d49 addi s10,s10,18
|
|
4d7c: 0000 unimp
|
|
4d7e: 0000 unimp
|
|
4d80: 0000 unimp
|
|
4d82: 3f80 lbu s0,25(a5)
|
|
4d84: 0000 unimp
|
|
4d86: 4348 lw a0,4(a4)
|
|
4d88: f000 fsw fs0,32(s0)
|
|
4d8a: 457f 0x457f
|
|
4d8c: 4000 lw s0,0(s0)
|
|
4d8e: 461c lw a5,8(a2)
|
|
4d90: 6666 flw fa2,88(sp)
|
|
4d92: 6666 flw fa2,88(sp)
|
|
4d94: 6666 flw fa2,88(sp)
|
|
4d96: 400a 0x400a
|
|
4d98: 0000 unimp
|
|
4d9a: 0000 unimp
|
|
4d9c: 0000 unimp
|
|
4d9e: 4010 lw a2,0(s0)
|
|
4da0: 200a lhu a0,0(s0)
|
|
4da2: 5f474843 fmadd.q fa6,fa4,fs4,fa1,rmm
|
|
4da6: 52525543 fmadd.d fa0,ft4,ft5,fa0,unknown
|
|
4daa: 4120 lw s0,64(a0)
|
|
4dac: 4344 lw s1,4(a4)
|
|
4dae: 3a20 lbu s0,19(a2)
|
|
4db0: 2520 lbu s0,10(a0)
|
|
4db2: 2064 lbu s1,6(s0)
|
|
4db4: 000a c.slli zero,0x2
|
|
4db6: 0000 unimp
|
|
4db8: 4320 lw s0,64(a4)
|
|
4dba: 4748 lw a0,12(a4)
|
|
4dbc: 435f 5255 2052 0x20525255435f
|
|
4dc2: 2049 jal 4e44 <_read+0x11a>
|
|
4dc4: 203a lhu a4,2(s0)
|
|
4dc6: 6425 lui s0,0x9
|
|
4dc8: 2f20 lbu s0,26(a4)
|
|
4dca: 3031 jal 45d6 <_vfiprintf_r+0x102>
|
|
4dcc: 3030 lbu a2,3(s0)
|
|
4dce: 2030 lbu a2,2(s0)
|
|
4dd0: 000a c.slli zero,0x2
|
|
4dd2: 0000 unimp
|
|
4dd4: 464e495b 0x464e495b
|
|
4dd8: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4ddc: 7325 lui t1,0xfffe9
|
|
4dde: 253a lhu a4,10(a0)
|
|
4de0: 5d64 lw s1,124(a0)
|
|
4de2: 5220 lw s0,96(a2)
|
|
4de4: 6765 lui a4,0x19
|
|
4de6: 7369 lui t1,0xffffa
|
|
4de8: 7274 flw fa3,100(a2)
|
|
4dea: 7461 lui s0,0xffff8
|
|
4dec: 6f69 lui t5,0x1a
|
|
4dee: 206e lhu a1,6(s0)
|
|
4df0: 63637573 csrrci a0,0x636,6
|
|
4df4: 7365 lui t1,0xffff9
|
|
4df6: 0a0d2073 csrs 0xa0,s10
|
|
4dfa: 0a0d addi s4,s4,3
|
|
4dfc: 0000 unimp
|
|
4dfe: 0000 unimp
|
|
4e00: 5252455b 0x5252455b
|
|
4e04: 205d524f fnmadd.s ft4,fs10,ft5,ft4,unknown
|
|
4e08: 3a73255b 0x3a73255b
|
|
4e0c: 6425 lui s0,0x9
|
|
4e0e: 205d jal 4eb4 <_read+0x18a>
|
|
4e10: 5220 lw s0,96(a2)
|
|
4e12: 6765 lui a4,0x19
|
|
4e14: 7369 lui t1,0xffffa
|
|
4e16: 6574 flw fa3,76(a0)
|
|
4e18: 5f72 lw t5,60(sp)
|
|
4e1a: 754e flw fa0,240(sp)
|
|
4e1c: 626d lui tp,0x1b
|
|
4e1e: 7265 lui tp,0xffff9
|
|
4e20: 6520 flw fs0,72(a0)
|
|
4e22: 7272 flw ft4,60(sp)
|
|
4e24: 253a726f jal tp,ac876 <_data_lma+0xa7422>
|
|
4e28: 2078 lbu a4,6(s0)
|
|
4e2a: 0a0d addi s4,s4,3
|
|
4e2c: 0a0d addi s4,s4,3
|
|
4e2e: 0000 unimp
|
|
4e30: 5252455b 0x5252455b
|
|
4e34: 205d524f fnmadd.s ft4,fs10,ft5,ft4,unknown
|
|
4e38: 3a73255b 0x3a73255b
|
|
4e3c: 6425 lui s0,0x9
|
|
4e3e: 205d jal 4ee4 <_read+0x1ba>
|
|
4e40: 5220 lw s0,96(a2)
|
|
4e42: 6765 lui a4,0x19
|
|
4e44: 7369 lui t1,0xffffa
|
|
4e46: 6574 flw fa3,76(a0)
|
|
4e48: 5f72 lw t5,60(sp)
|
|
4e4a: 72617453 0x72617453
|
|
4e4e: 5f74 lw a3,124(a4)
|
|
4e50: 6441 lui s0,0x10
|
|
4e52: 7264 flw fs1,100(a2)
|
|
4e54: 7365 lui t1,0xffff9
|
|
4e56: 72652073 csrs 0x726,a0
|
|
4e5a: 6f72 flw ft10,28(sp)
|
|
4e5c: 2072 lhu a2,6(s0)
|
|
4e5e: 203a lhu a4,2(s0)
|
|
4e60: 7825 lui a6,0xfffe9
|
|
4e62: 0d20 addi s0,sp,664
|
|
4e64: 0d0a slli s10,s10,0x2
|
|
4e66: 000a c.slli zero,0x2
|
|
4e68: 464e495b 0x464e495b
|
|
4e6c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4e70: 7325 lui t1,0xfffe9
|
|
4e72: 253a lhu a4,10(a0)
|
|
4e74: 5d64 lw s1,124(a0)
|
|
4e76: 2020 lbu s0,2(s0)
|
|
4e78: 525f4c53 0x525f4c53
|
|
4e7c: 6165 addi sp,sp,112
|
|
4e7e: 5264 lw s1,100(a2)
|
|
4e80: 6765 lui a4,0x19
|
|
4e82: 7369 lui t1,0xffffa
|
|
4e84: 6574 flw fa3,76(a0)
|
|
4e86: 4172 lw sp,28(sp)
|
|
4e88: 73656363 bltu a0,s6,55ae <_data_lma+0x15a>
|
|
4e8c: 646f4e73 0x646f4e73
|
|
4e90: 5465 li s0,-7
|
|
4e92: 7079 c.lui zero,0xffffe
|
|
4e94: 2065 jal 4f3c <_read+0x212>
|
|
4e96: 0a0d addi s4,s4,3
|
|
4e98: 0000 unimp
|
|
4e9a: 0000 unimp
|
|
4e9c: 464e495b 0x464e495b
|
|
4ea0: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4ea4: 7325 lui t1,0xfffe9
|
|
4ea6: 253a lhu a4,10(a0)
|
|
4ea8: 5d64 lw s1,124(a0)
|
|
4eaa: 2020 lbu s0,2(s0)
|
|
4eac: 525f4c53 0x525f4c53
|
|
4eb0: 6165 addi sp,sp,112
|
|
4eb2: 5264 lw s1,100(a2)
|
|
4eb4: 6765 lui a4,0x19
|
|
4eb6: 7369 lui t1,0xffffa
|
|
4eb8: 6574 flw fa3,76(a0)
|
|
4eba: 4272 lw tp,28(sp)
|
|
4ebc: 7461 lui s0,0xffff8
|
|
4ebe: 6574 flw fa3,76(a0)
|
|
4ec0: 7972 flw fs2,60(sp)
|
|
4ec2: 6f56 flw ft10,84(sp)
|
|
4ec4: 746c flw fa1,108(s0)
|
|
4ec6: 6761 lui a4,0x18
|
|
4ec8: 2065 jal 4f70 <_read+0x246>
|
|
4eca: 0a0d addi s4,s4,3
|
|
4ecc: 0000 unimp
|
|
4ece: 0000 unimp
|
|
4ed0: 464e495b 0x464e495b
|
|
4ed4: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4ed8: 7325 lui t1,0xfffe9
|
|
4eda: 253a lhu a4,10(a0)
|
|
4edc: 5d64 lw s1,124(a0)
|
|
4ede: 2020 lbu s0,2(s0)
|
|
4ee0: 525f4c53 0x525f4c53
|
|
4ee4: 6165 addi sp,sp,112
|
|
4ee6: 5264 lw s1,100(a2)
|
|
4ee8: 6765 lui a4,0x19
|
|
4eea: 7369 lui t1,0xffffa
|
|
4eec: 6574 flw fa3,76(a0)
|
|
4eee: 4272 lw tp,28(sp)
|
|
4ef0: 7461 lui s0,0xffff8
|
|
4ef2: 6574 flw fa3,76(a0)
|
|
4ef4: 7972 flw fs2,60(sp)
|
|
4ef6: 6574 flw fa3,76(a0)
|
|
4ef8: 706d c.lui zero,0xffffb
|
|
4efa: 7265 lui tp,0xffff9
|
|
4efc: 7461 lui s0,0xffff8
|
|
4efe: 7275 lui tp,0xffffd
|
|
4f00: 2065 jal 4fa8 <_read+0x27e>
|
|
4f02: 0a0d addi s4,s4,3
|
|
4f04: 0000 unimp
|
|
4f06: 0000 unimp
|
|
4f08: 464e495b 0x464e495b
|
|
4f0c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4f10: 7325 lui t1,0xfffe9
|
|
4f12: 253a lhu a4,10(a0)
|
|
4f14: 5d64 lw s1,124(a0)
|
|
4f16: 2020 lbu s0,2(s0)
|
|
4f18: 525f4c53 0x525f4c53
|
|
4f1c: 6165 addi sp,sp,112
|
|
4f1e: 5264 lw s1,100(a2)
|
|
4f20: 6765 lui a4,0x19
|
|
4f22: 7369 lui t1,0xffffa
|
|
4f24: 6574 flw fa3,76(a0)
|
|
4f26: 4372 lw t1,28(sp)
|
|
4f28: 756d6d6f jal s10,db67e <_data_lma+0xd622a>
|
|
4f2c: 696e flw fs2,216(sp)
|
|
4f2e: 69746163 bltu s0,s7,55b0 <_data_lma+0x15c>
|
|
4f32: 654d6e6f jal t3,db586 <_data_lma+0xd6132>
|
|
4f36: 6874 flw fa3,84(s0)
|
|
4f38: 2073646f jal s0,3b93e <_data_lma+0x364ea>
|
|
4f3c: 0a0d addi s4,s4,3
|
|
4f3e: 0000 unimp
|
|
4f40: 464e495b 0x464e495b
|
|
4f44: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4f48: 7325 lui t1,0xfffe9
|
|
4f4a: 253a lhu a4,10(a0)
|
|
4f4c: 5d64 lw s1,124(a0)
|
|
4f4e: 2020 lbu s0,2(s0)
|
|
4f50: 525f4c53 0x525f4c53
|
|
4f54: 6165 addi sp,sp,112
|
|
4f56: 5264 lw s1,100(a2)
|
|
4f58: 6765 lui a4,0x19
|
|
4f5a: 7369 lui t1,0xffffa
|
|
4f5c: 6574 flw fa3,76(a0)
|
|
4f5e: 5272 lw tp,60(sp)
|
|
4f60: 6765 lui a4,0x19
|
|
4f62: 7369 lui t1,0xffffa
|
|
4f64: 7274 flw fa3,100(a2)
|
|
4f66: 7461 lui s0,0xffff8
|
|
4f68: 6f69 lui t5,0x1a
|
|
4f6a: 536e lw t1,248(sp)
|
|
4f6c: 6174 flw fa3,68(a0)
|
|
4f6e: 7574 flw fa3,108(a0)
|
|
4f70: 0a0d2073 csrs 0xa0,s10
|
|
4f74: 0000 unimp
|
|
4f76: 0000 unimp
|
|
4f78: 464e495b 0x464e495b
|
|
4f7c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4f80: 7325 lui t1,0xfffe9
|
|
4f82: 253a lhu a4,10(a0)
|
|
4f84: 5d64 lw s1,124(a0)
|
|
4f86: 2020 lbu s0,2(s0)
|
|
4f88: 525f4c53 0x525f4c53
|
|
4f8c: 6165 addi sp,sp,112
|
|
4f8e: 5264 lw s1,100(a2)
|
|
4f90: 6765 lui a4,0x19
|
|
4f92: 7369 lui t1,0xffffa
|
|
4f94: 6574 flw fa3,76(a0)
|
|
4f96: 5272 lw tp,60(sp)
|
|
4f98: 6d65 lui s10,0x19
|
|
4f9a: 6961 lui s2,0x18
|
|
4f9c: 696e flw fs2,216(sp)
|
|
4f9e: 676e flw fa4,216(sp)
|
|
4fa0: 6142 flw ft2,16(sp)
|
|
4fa2: 7474 flw fa3,108(s0)
|
|
4fa4: 7265 lui tp,0xffff9
|
|
4fa6: 4279 li tp,30
|
|
4fa8: 7265776f jal a4,5c6ce <_data_lma+0x5727a>
|
|
4fac: 0d20 addi s0,sp,664
|
|
4fae: 000a c.slli zero,0x2
|
|
4fb0: 464e495b 0x464e495b
|
|
4fb4: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4fb8: 7325 lui t1,0xfffe9
|
|
4fba: 253a lhu a4,10(a0)
|
|
4fbc: 5d64 lw s1,124(a0)
|
|
4fbe: 2020 lbu s0,2(s0)
|
|
4fc0: 525f4c53 0x525f4c53
|
|
4fc4: 6165 addi sp,sp,112
|
|
4fc6: 5264 lw s1,100(a2)
|
|
4fc8: 6765 lui a4,0x19
|
|
4fca: 7369 lui t1,0xffffa
|
|
4fcc: 6574 flw fa3,76(a0)
|
|
4fce: 5372 lw t1,60(sp)
|
|
4fd0: 72616c6f jal s8,1b6f6 <_data_lma+0x162a2>
|
|
4fd4: 6e65704f fnmadd.q ft0,fa0,ft6,fa3
|
|
4fd8: 63726943 fmadd.d fs2,ft4,fs7,fa2,unknown
|
|
4fdc: 6975 lui s2,0x1d
|
|
4fde: 5674 lw a3,108(a2)
|
|
4fe0: 61746c6f jal s8,4bdf6 <_data_lma+0x469a2>
|
|
4fe4: 20316567 0x20316567
|
|
4fe8: 0a0d addi s4,s4,3
|
|
4fea: 0000 unimp
|
|
4fec: 464e495b 0x464e495b
|
|
4ff0: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
4ff4: 7325 lui t1,0xfffe9
|
|
4ff6: 253a lhu a4,10(a0)
|
|
4ff8: 5d64 lw s1,124(a0)
|
|
4ffa: 2020 lbu s0,2(s0)
|
|
4ffc: 525f4c53 0x525f4c53
|
|
5000: 6165 addi sp,sp,112
|
|
5002: 5264 lw s1,100(a2)
|
|
5004: 6765 lui a4,0x19
|
|
5006: 7369 lui t1,0xffffa
|
|
5008: 6574 flw fa3,76(a0)
|
|
500a: 5372 lw t1,60(sp)
|
|
500c: 72616c6f jal s8,1b732 <_data_lma+0x162de>
|
|
5010: 6e65704f fnmadd.q ft0,fa0,ft6,fa3
|
|
5014: 63726943 fmadd.d fs2,ft4,fs7,fa2,unknown
|
|
5018: 6975 lui s2,0x1d
|
|
501a: 5674 lw a3,108(a2)
|
|
501c: 61746c6f jal s8,4be32 <_data_lma+0x469de>
|
|
5020: 20326567 0x20326567
|
|
5024: 0a0d addi s4,s4,3
|
|
5026: 0000 unimp
|
|
5028: 464e495b 0x464e495b
|
|
502c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
5030: 7325 lui t1,0xfffe9
|
|
5032: 253a lhu a4,10(a0)
|
|
5034: 5d64 lw s1,124(a0)
|
|
5036: 2020 lbu s0,2(s0)
|
|
5038: 525f4c53 0x525f4c53
|
|
503c: 6165 addi sp,sp,112
|
|
503e: 5264 lw s1,100(a2)
|
|
5040: 6765 lui a4,0x19
|
|
5042: 7369 lui t1,0xffffa
|
|
5044: 6574 flw fa3,76(a0)
|
|
5046: 6172 flw ft2,28(sp)
|
|
5048: 6464 flw fs1,76(s0)
|
|
504a: 6572 flw fa0,28(sp)
|
|
504c: 0d207373 csrrci t1,0xd2,0
|
|
5050: 000a c.slli zero,0x2
|
|
5052: 0000 unimp
|
|
5054: 464e495b 0x464e495b
|
|
5058: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
505c: 7325 lui t1,0xfffe9
|
|
505e: 253a lhu a4,10(a0)
|
|
5060: 5d64 lw s1,124(a0)
|
|
5062: 4d20 lw s0,88(a0)
|
|
5064: 7461 lui s0,0xffff8
|
|
5066: 535f6863 bltu t5,s5,5596 <_data_lma+0x142>
|
|
506a: 6174 flw fa3,68(a0)
|
|
506c: 7472 flw fs0,60(sp)
|
|
506e: 6c66 flw fs8,88(sp)
|
|
5070: 6761 lui a4,0x18
|
|
5072: 7320 flw fs0,96(a4)
|
|
5074: 6375 lui t1,0x1d
|
|
5076: 73736563 bltu t1,s7,57a0 <_data_lma+0x34c>
|
|
507a: 0d20 addi s0,sp,664
|
|
507c: 0d0a slli s10,s10,0x2
|
|
507e: 000a c.slli zero,0x2
|
|
5080: 464e495b 0x464e495b
|
|
5084: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
5088: 7325 lui t1,0xfffe9
|
|
508a: 253a lhu a4,10(a0)
|
|
508c: 5d64 lw s1,124(a0)
|
|
508e: 4d20 lw s0,88(a0)
|
|
5090: 7461 lui s0,0xffff8
|
|
5092: 615f6863 bltu t5,s5,56a2 <_data_lma+0x24e>
|
|
5096: 6464 flw fs1,76(s0)
|
|
5098: 6572 flw fa0,28(sp)
|
|
509a: 73207373 csrrci t1,0x732,0
|
|
509e: 6375 lui t1,0x1d
|
|
50a0: 73736563 bltu t1,s7,57ca <_data_lma+0x376>
|
|
50a4: 0d20 addi s0,sp,664
|
|
50a6: 0d0a slli s10,s10,0x2
|
|
50a8: 000a c.slli zero,0x2
|
|
50aa: 0000 unimp
|
|
50ac: 464e495b 0x464e495b
|
|
50b0: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
50b4: 7325 lui t1,0xfffe9
|
|
50b6: 253a lhu a4,10(a0)
|
|
50b8: 5d64 lw s1,124(a0)
|
|
50ba: 4d20 lw s0,88(a0)
|
|
50bc: 7461 lui s0,0xffff8
|
|
50be: 425f6863 bltu t5,t0,54ee <_data_lma+0x9a>
|
|
50c2: 6f72 flw ft10,28(sp)
|
|
50c4: 6461 lui s0,0x18
|
|
50c6: 74736163 bltu t1,t2,5808 <_data_lma+0x3b4>
|
|
50ca: 6461 lui s0,0x18
|
|
50cc: 7264 flw fs1,100(a2)
|
|
50ce: 7365 lui t1,0xffff9
|
|
50d0: 75732073 csrs 0x757,t1
|
|
50d4: 73656363 bltu a0,s6,57fa <_data_lma+0x3a6>
|
|
50d8: 0d0a0d73 0xd0a0d73
|
|
50dc: 000a c.slli zero,0x2
|
|
50de: 0000 unimp
|
|
50e0: 464e495b 0x464e495b
|
|
50e4: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
50e8: 7325 lui t1,0xfffe9
|
|
50ea: 253a lhu a4,10(a0)
|
|
50ec: 5d64 lw s1,124(a0)
|
|
50ee: 5220 lw s0,96(a2)
|
|
50f0: 6165 addi sp,sp,112
|
|
50f2: 5f64 lw s1,124(a4)
|
|
50f4: 6552 flw fa0,20(sp)
|
|
50f6: 74736967 0x74736967
|
|
50fa: 7265 lui tp,0xffff9
|
|
50fc: 0a0d addi s4,s4,3
|
|
50fe: 0a0d addi s4,s4,3
|
|
5100: 0000 unimp
|
|
5102: 0000 unimp
|
|
5104: 464e495b 0x464e495b
|
|
5108: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
510c: 7325 lui t1,0xfffe9
|
|
510e: 253a lhu a4,10(a0)
|
|
5110: 5d64 lw s1,124(a0)
|
|
5112: 5720 lw s0,104(a4)
|
|
5114: 6972 flw fs2,28(sp)
|
|
5116: 6574 flw fa3,76(a0)
|
|
5118: 525f 6765 7369 0x73696765525f
|
|
511e: 6574 flw fa3,76(a0)
|
|
5120: 0d72 slli s10,s10,0x1c
|
|
5122: 0d0a slli s10,s10,0x2
|
|
5124: 000a c.slli zero,0x2
|
|
5126: 0000 unimp
|
|
5128: 464e495b 0x464e495b
|
|
512c: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
5130: 7325 lui t1,0xfffe9
|
|
5132: 253a lhu a4,10(a0)
|
|
5134: 5d64 lw s1,124(a0)
|
|
5136: 4220 lw s0,64(a2)
|
|
5138: 6f72 flw ft10,28(sp)
|
|
513a: 6461 lui s0,0x18
|
|
513c: 74736163 bltu t1,t2,587e <_data_lma+0x42a>
|
|
5140: 535f 6163 0d6e 0xd6e6163535f
|
|
5146: 0d0a slli s10,s10,0x2
|
|
5148: 000a c.slli zero,0x2
|
|
514a: 0000 unimp
|
|
514c: 464e495b 0x464e495b
|
|
5150: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
5154: 7325 lui t1,0xfffe9
|
|
5156: 253a lhu a4,10(a0)
|
|
5158: 5d64 lw s1,124(a0)
|
|
515a: 5220 lw s0,96(a2)
|
|
515c: 6765 lui a4,0x19
|
|
515e: 7369 lui t1,0xffffa
|
|
5160: 7274 flw fa3,100(a2)
|
|
5162: 7461 lui s0,0xffff8
|
|
5164: 6f69 lui t5,0x1a
|
|
5166: 5f6e lw t5,248(sp)
|
|
5168: 6572 flw fa0,28(sp)
|
|
516a: 7571 lui a0,0xffffc
|
|
516c: 7365 lui t1,0xffff9
|
|
516e: 0d74 addi a3,sp,668
|
|
5170: 0d0a slli s10,s10,0x2
|
|
5172: 000a c.slli zero,0x2
|
|
5174: 464e495b 0x464e495b
|
|
5178: 5b205d4f fnmadd.d fs10,ft0,fs2,fa1,unknown
|
|
517c: 7325 lui t1,0xfffe9
|
|
517e: 253a lhu a4,10(a0)
|
|
5180: 5d64 lw s1,124(a0)
|
|
5182: 6620 flw fs0,72(a2)
|
|
5184: 6e75 lui t3,0x1d
|
|
5186: 65646f63 bltu s0,s6,57e4 <_data_lma+0x390>
|
|
518a: 6520 flw fs0,72(a0)
|
|
518c: 7272 flw ft4,60(sp)
|
|
518e: 2520726f jal tp,c3e0 <_data_lma+0x6f8c>
|
|
5192: 0d78 addi a4,sp,668
|
|
5194: 0d0a slli s10,s10,0x2
|
|
5196: 000a c.slli zero,0x2
|
|
5198: 6666 flw fa2,88(sp)
|
|
519a: 3f66 lhu s1,62(a4)
|
|
519c: 0000 unimp
|
|
519e: 0000 unimp
|
|
51a0: 999a add s3,s3,t1
|
|
51a2: 9999 andi a1,a1,-26
|
|
51a4: 9999 andi a1,a1,-26
|
|
51a6: 3fb9 jal 5104 <_read+0x3da>
|
|
51a8: 6e69 lui t3,0x1a
|
|
51aa: 7420 flw fs0,104(s0)
|
|
51ac: 7365 lui t1,0xffff9
|
|
51ae: 2074 lbu a3,6(s0)
|
|
51b0: 0000 unimp
|
|
51b2: 0000 unimp
|
|
51b4: 0000 unimp
|
|
51b6: 3f00 lbu s0,25(a4)
|
|
51b8: db16 sw t0,180(sp)
|
|
51ba: ffff 0xffff
|
|
51bc: da08 sw a0,48(a2)
|
|
51be: ffff 0xffff
|
|
51c0: da08 sw a0,48(a2)
|
|
51c2: ffff 0xffff
|
|
51c4: da06 sw ra,52(sp)
|
|
51c6: ffff 0xffff
|
|
51c8: da0e sw gp,52(sp)
|
|
51ca: ffff 0xffff
|
|
51cc: da0e sw gp,52(sp)
|
|
51ce: ffff 0xffff
|
|
51d0: d9d4 sw a3,52(a1)
|
|
51d2: ffff 0xffff
|
|
51d4: da06 sw ra,52(sp)
|
|
51d6: ffff 0xffff
|
|
51d8: da0e sw gp,52(sp)
|
|
51da: ffff 0xffff
|
|
51dc: d9d4 sw a3,52(a1)
|
|
51de: ffff 0xffff
|
|
51e0: da0e sw gp,52(sp)
|
|
51e2: ffff 0xffff
|
|
51e4: da06 sw ra,52(sp)
|
|
51e6: ffff 0xffff
|
|
51e8: db02 sw zero,180(sp)
|
|
51ea: ffff 0xffff
|
|
51ec: db02 sw zero,180(sp)
|
|
51ee: ffff 0xffff
|
|
51f0: db02 sw zero,180(sp)
|
|
51f2: ffff 0xffff
|
|
51f4: d9d4 sw a3,52(a1)
|
|
51f6: ffff 0xffff
|
|
51f8: df38 sw a4,120(a4)
|
|
51fa: ffff 0xffff
|
|
51fc: de5e sw s7,60(sp)
|
|
51fe: ffff 0xffff
|
|
5200: df32 sw a2,188(sp)
|
|
5202: ffff 0xffff
|
|
5204: de66 sw s9,60(sp)
|
|
5206: ffff 0xffff
|
|
5208: df32 sw a2,188(sp)
|
|
520a: ffff 0xffff
|
|
520c: de2c sw a1,120(a2)
|
|
520e: ffff 0xffff
|
|
5210: df32 sw a2,188(sp)
|
|
5212: ffff 0xffff
|
|
5214: de66 sw s9,60(sp)
|
|
5216: ffff 0xffff
|
|
5218: de5e sw s7,60(sp)
|
|
521a: ffff 0xffff
|
|
521c: de5e sw s7,60(sp)
|
|
521e: ffff 0xffff
|
|
5220: de2c sw a1,120(a2)
|
|
5222: ffff 0xffff
|
|
5224: de66 sw s9,60(sp)
|
|
5226: ffff 0xffff
|
|
5228: de6c sw a1,124(a2)
|
|
522a: ffff 0xffff
|
|
522c: de6c sw a1,124(a2)
|
|
522e: ffff 0xffff
|
|
5230: de6c sw a1,124(a2)
|
|
5232: ffff 0xffff
|
|
5234: de2c sw a1,120(a2)
|
|
5236: ffff 0xffff
|
|
5238: de1e sw t2,60(sp)
|
|
523a: ffff 0xffff
|
|
523c: de1e sw t2,60(sp)
|
|
523e: ffff 0xffff
|
|
5240: def2 sw t3,124(sp)
|
|
5242: ffff 0xffff
|
|
5244: dfce sw s3,252(sp)
|
|
5246: ffff 0xffff
|
|
5248: def2 sw t3,124(sp)
|
|
524a: ffff 0xffff
|
|
524c: ddec sw a1,124(a1)
|
|
524e: ffff 0xffff
|
|
5250: def2 sw t3,124(sp)
|
|
5252: ffff 0xffff
|
|
5254: dfce sw s3,252(sp)
|
|
5256: ffff 0xffff
|
|
5258: de1e sw t2,60(sp)
|
|
525a: ffff 0xffff
|
|
525c: de1e sw t2,60(sp)
|
|
525e: ffff 0xffff
|
|
5260: ddec sw a1,124(a1)
|
|
5262: ffff 0xffff
|
|
5264: dfce sw s3,252(sp)
|
|
5266: ffff 0xffff
|
|
5268: de2c sw a1,120(a2)
|
|
526a: ffff 0xffff
|
|
526c: de2c sw a1,120(a2)
|
|
526e: ffff 0xffff
|
|
5270: de2c sw a1,120(a2)
|
|
5272: ffff 0xffff
|
|
5274: ddec sw a1,124(a1)
|
|
5276: ffff 0xffff
|
|
5278: e242 fsw fa6,4(sp)
|
|
527a: ffff 0xffff
|
|
527c: e194 fsw fa3,0(a1)
|
|
527e: ffff 0xffff
|
|
5280: e194 fsw fa3,0(a1)
|
|
5282: ffff 0xffff
|
|
5284: e192 fsw ft4,192(sp)
|
|
5286: ffff 0xffff
|
|
5288: e198 fsw fa4,0(a1)
|
|
528a: ffff 0xffff
|
|
528c: e198 fsw fa4,0(a1)
|
|
528e: ffff 0xffff
|
|
5290: e168 fsw fa0,68(a0)
|
|
5292: ffff 0xffff
|
|
5294: e192 fsw ft4,192(sp)
|
|
5296: ffff 0xffff
|
|
5298: e198 fsw fa4,0(a1)
|
|
529a: ffff 0xffff
|
|
529c: e168 fsw fa0,68(a0)
|
|
529e: ffff 0xffff
|
|
52a0: e198 fsw fa4,0(a1)
|
|
52a2: ffff 0xffff
|
|
52a4: e192 fsw ft4,192(sp)
|
|
52a6: ffff 0xffff
|
|
52a8: e230 fsw fa2,64(a2)
|
|
52aa: ffff 0xffff
|
|
52ac: e230 fsw fa2,64(a2)
|
|
52ae: ffff 0xffff
|
|
52b0: e230 fsw fa2,64(a2)
|
|
52b2: ffff 0xffff
|
|
52b4: e168 fsw fa0,68(a0)
|
|
52b6: ffff 0xffff
|
|
|
|
000052b8 <__clz_tab>:
|
|
52b8: 0100 0202 0303 0303 0404 0404 0404 0404 ................
|
|
52c8: 0505 0505 0505 0505 0505 0505 0505 0505 ................
|
|
52d8: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
52e8: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
52f8: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
5308: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
5318: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
5328: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
5338: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
5348: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
5358: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
5368: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
5378: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
5388: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
5398: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
53a8: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
|
|
000053b8 <__sf_fake_stderr>:
|
|
...
|
|
|
|
000053d8 <__sf_fake_stdin>:
|
|
...
|
|
|
|
000053f8 <__sf_fake_stdout>:
|
|
...
|
|
5418: 2d23 2b30 0020 0000 6c68 004c 6665 4567 #-0+ ...hlL.efgE
|
|
5428: 4746 0000 3130 3332 3534 3736 3938 4241 FG..0123456789AB
|
|
5438: 4443 4645 0000 0000 3130 3332 3534 3736 CDEF....01234567
|
|
5448: 3938 6261 6463 6665 0000 0000 89abcdef....
|