7980 lines
353 KiB
Plaintext
7980 lines
353 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 0x00004e68 memsz 0x00004e68 flags r-x
|
|
LOAD off 0x00006000 vaddr 0x20000000 paddr 0x00004e68 align 2**12
|
|
filesz 0x00000100 memsz 0x00000388 flags rw-
|
|
LOAD off 0x00006800 vaddr 0x20004800 paddr 0x20004800 align 2**12
|
|
filesz 0x00000000 memsz 0x00000800 flags rw-
|
|
|
|
Sections:
|
|
Idx Name Size VMA LMA File off Algn
|
|
0 .init 00000004 00000000 00000000 00001000 2**1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
1 .vector 0000013c 00000004 00000004 00001004 2**1
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
2 .text 00004d28 00000140 00000140 00001140 2**3
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
3 .fini 00000000 00004e68 00004e68 00006100 2**0
|
|
CONTENTS, ALLOC, LOAD, CODE
|
|
4 .dalign 00000000 20000000 20000000 00006100 2**0
|
|
CONTENTS
|
|
5 .dlalign 00000000 00004e68 00004e68 00006100 2**0
|
|
CONTENTS
|
|
6 .data 00000100 20000000 00004e68 00006000 2**2
|
|
CONTENTS, ALLOC, LOAD, DATA
|
|
7 .bss 00000288 20000100 00004f68 00006100 2**2
|
|
ALLOC
|
|
8 .stack 00000800 20004800 20004800 00006800 2**0
|
|
ALLOC
|
|
9 .debug_info 0001d12d 00000000 00000000 00006100 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
10 .debug_abbrev 00004ea1 00000000 00000000 0002322d 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
11 .debug_aranges 00000de0 00000000 00000000 000280d0 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
12 .debug_ranges 00000e48 00000000 00000000 00028eb0 2**3
|
|
CONTENTS, READONLY, DEBUGGING
|
|
13 .debug_line 000113c9 00000000 00000000 00029cf8 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
14 .debug_str 00004035 00000000 00000000 0003b0c1 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
15 .comment 00000033 00000000 00000000 0003f0f6 2**0
|
|
CONTENTS, READONLY
|
|
16 .debug_frame 00002b90 00000000 00000000 0003f12c 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
17 .debug_loc 00005569 00000000 00000000 00041cbc 2**0
|
|
CONTENTS, READONLY, DEBUGGING
|
|
18 .stab 00000084 00000000 00000000 00047228 2**2
|
|
CONTENTS, READONLY, DEBUGGING
|
|
19 .stabstr 00000117 00000000 00000000 000472ac 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
|
|
00004e68 l d .fini 00000000 .fini
|
|
20000000 l d .dalign 00000000 .dalign
|
|
00004e68 l d .dlalign 00000000 .dlalign
|
|
20000000 l d .data 00000000 .data
|
|
20000100 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
|
|
200000dc 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
|
|
20000120 l O .bss 00000004 pTimeSliceList
|
|
00000000 l df *ABS* 00000000 ring_queue.c
|
|
00000000 l df *ABS* 00000000 debug.c
|
|
20000124 l O .bss 00000002 p_ms
|
|
20000126 l O .bss 00000002 p_us
|
|
200000e4 l O .data 00000004 curbrk.5007
|
|
00000000 l df *ABS* 00000000 collect_Conversion.c
|
|
00001cda l F .text 0000003a get_adc
|
|
00000000 l df *ABS* 00000000 inflash.c
|
|
00000000 l df *ABS* 00000000 mppt_control.c
|
|
00001dfe l F .text 0000006e Get_OutputPower
|
|
20000128 l O .bss 00000004 OutputPower.5081
|
|
2000012c l O .bss 00000004 V_out.5082
|
|
20000130 l O .bss 00000004 last_OutputPower.5090
|
|
200000ec l O .data 00000004 last_duty_ratio.5089
|
|
200000f0 l O .data 00000004 step_pwm.5092
|
|
00000000 l df *ABS* 00000000 task.c
|
|
20000134 l O .bss 00000001 flag.5754
|
|
00000000 l df *ABS* 00000000 uart_dev.c
|
|
20000190 l O .bss 000000c8 bat485_in_buff
|
|
20000258 l O .bss 0000012c gw485_in_buff
|
|
00000000 l df *ABS* 00000000 gedf2.c
|
|
00000000 l df *ABS* 00000000 muldf3.c
|
|
00000000 l df *ABS* 00000000 addsf3.c
|
|
00000000 l df *ABS* 00000000 divsf3.c
|
|
00000000 l df *ABS* 00000000 gesf2.c
|
|
00000000 l df *ABS* 00000000 lesf2.c
|
|
00000000 l df *ABS* 00000000 mulsf3.c
|
|
00000000 l df *ABS* 00000000 subsf3.c
|
|
00000000 l df *ABS* 00000000 fixsfsi.c
|
|
00000000 l df *ABS* 00000000 fixunssfsi.c
|
|
00000000 l df *ABS* 00000000 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 wbuf.c
|
|
00000000 l df *ABS* 00000000 wsetup.c
|
|
00000000 l df *ABS* 00000000 fflush.c
|
|
00000000 l df *ABS* 00000000 findfp.c
|
|
00003d2a l F .text 00000066 std
|
|
00000000 l df *ABS* 00000000 fwalk.c
|
|
00000000 l df *ABS* 00000000 makebuf.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
|
|
000041b2 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
|
|
20000078 l O .data 00000060 impure_data
|
|
00000000 l df *ABS* 00000000 reent.c
|
|
0000165e g F .text 00000032 EXTI2_IRQHandler
|
|
000049a4 g F .text 00000028 _isatty_r
|
|
00001e6c g F .text 000000b8 mppt_readJust
|
|
00001b38 g F .text 00000022 TimeSliceOffset_Start
|
|
000038fe g F .text 000000d4 _puts_r
|
|
000049cc g F .text 0000002c _lseek_r
|
|
000019b4 g F .text 0000005c TIM3_Int_Init
|
|
000010e6 g F .text 00000016 TIM_SetCompare2
|
|
20000020 g O .data 0000001e g_slConfigInfo
|
|
00002104 g F .text 0000004e uart_dev_init
|
|
200000e0 g O .data 00000001 run_Broadcast
|
|
00001f7e g F .text 0000003e CapCharg
|
|
000038be g F .text 00000040 printf
|
|
200008d8 g .data 00000000 __global_pointer$
|
|
00000148 g F .text 00000028 .hidden __riscv_save_8
|
|
20000170 g O .bss 00000010 m_mpptControl
|
|
00000440 w .text 00000000 TIM1_CC_IRQHandler
|
|
000048ee g F .text 00000030 __sseek
|
|
00003de0 g F .text 00000066 __sinit
|
|
00000eb4 g F .text 00000004 SPI_I2S_SendData
|
|
000039dc g F .text 000000bc __swbuf_r
|
|
0000024a g F .text 00000002 HardFault_Handler
|
|
00003d9a g F .text 00000046 __sfmoreglue
|
|
00004a12 g F .text 00000002 __malloc_unlock
|
|
00001b92 g F .text 0000002c InRingQueue
|
|
00000440 w .text 00000000 USBPD_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_3
|
|
00002a22 g F .text 000002b2 .hidden __divsf3
|
|
00001a5c g F .text 0000004e TIM2_Int_Init
|
|
00000440 w .text 00000000 SysTick_Handler
|
|
00000568 g F .text 0000000a ADC_StartCalibration
|
|
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
|
|
00003402 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
|
|
00002152 g F .text 000000ae .hidden __gtdf2
|
|
00001f2e g F .text 00000046 Task_RunLED
|
|
0000124c g F .text 0000000a USART_GetFlagStatus
|
|
0000497a g F .text 0000002a _fstat_r
|
|
20000384 g O .bss 00000004 errno
|
|
20000100 g .bss 00000000 _sbss
|
|
00000800 g *ABS* 00000000 __stack_size
|
|
00000652 g F .text 0000000a ADC_GetFlagStatus
|
|
00001c1c g F .text 0000005a USART_Printf_Init
|
|
0000307a g F .text 00000388 .hidden __subsf3
|
|
00000440 w .text 00000000 USBFS_IRQHandler
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_2
|
|
00001078 g F .text 00000016 TIM_CtrlPWMOutputs
|
|
0000380c g F .text 000000b2 memcpy
|
|
00000546 g F .text 00000010 ADC_Cmd
|
|
00003d90 g F .text 0000000a _cleanup_r
|
|
000009e2 g F .text 0000012c GPIO_PinRemapConfig
|
|
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
|
|
20000114 g O .bss 00000002 Calibrattion_Val
|
|
00001060 g F .text 00000018 TIM_Cmd
|
|
000039d2 g F .text 0000000a puts
|
|
000010d0 g F .text 00000016 TIM_OC4PreloadConfig
|
|
200000d8 g O .data 00000004 SystemCoreClock
|
|
00001244 g F .text 00000008 USART_ReceiveData
|
|
00004a4c g F .text 0000000c _fstat
|
|
00000004 g .init 00000000 _einit
|
|
0000112a g F .text 0000000c TIM_ClearITPendingBit
|
|
00002d5a 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
|
|
00001afa g F .text 0000003e TimeSliceOffset_Register
|
|
00000440 w .text 00000000 Break_Point_Handler
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_11
|
|
20000138 g O .bss 00000004 g_bat485_uart3_handle
|
|
20000110 g O .bss 00000004 NVIC_Priority_Group
|
|
00000440 w .text 00000000 SPI1_IRQHandler
|
|
00000556 g F .text 0000000a ADC_ResetCalibration
|
|
000011f0 g F .text 00000016 USART_Cmd
|
|
00004850 g F .text 0000002a _sbrk_r
|
|
20000104 g O .bss 00000004 CHIPID
|
|
00000440 w .text 00000000 TAMPER_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_1
|
|
00001dca g F .text 00000034 read_config_info
|
|
00001d3e g F .text 00000046 get_CHG_CURR
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_0
|
|
00004a14 g F .text 0000002c _read_r
|
|
00000156 g F .text 0000001a .hidden __riscv_save_7
|
|
00003588 g F .text 000000ac .hidden __extendsfdf2
|
|
00000440 w .text 00000000 Ecall_M_Mode_Handler
|
|
20004800 g .stack 00000000 _heap_end
|
|
00004a58 g F .text 0000000c _isatty
|
|
00001bde g F .text 0000003e Delay_Us
|
|
200000f8 g O .data 00000004 _global_impure_ptr
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_5
|
|
20000100 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
|
|
00001cb4 g F .text 00000026 _sbrk
|
|
00000686 g F .text 00000012 ADC_FIFO_Cmd
|
|
0000064a g F .text 00000008 ADC_GetConversionValue
|
|
00001b82 g F .text 00000010 InitRingQueue
|
|
00001604 g F .text 0000005a DSG_PROT_Init
|
|
00001426 g F .text 0000005a SPI_ReadWriteByte
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_6
|
|
00001928 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
|
|
20000388 g .bss 00000000 _ebss
|
|
00001256 g F .text 0000003c USART_GetITStatus
|
|
00001ff6 g F .text 00000076 g_Mppt_Para_Init
|
|
00000440 w .text 00000000 DMA1_Channel7_IRQHandler
|
|
20000118 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
|
|
00001bbe g F .text 00000020 Delay_Init
|
|
00001480 g F .text 00000068 SPI_Flash_Read
|
|
00000e0e g F .text 0000001e RCC_PB2PeriphClockCmd
|
|
00000b3a g F .text 00000190 GPIO_IPD_Unused
|
|
00002cd4 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
|
|
000010a0 g F .text 0000001a TIM_ARRPreloadConfig
|
|
00000148 g F .text 00000028 .hidden __riscv_save_9
|
|
000009d8 g F .text 0000000a GPIO_WriteBit
|
|
00004dcc g O .text 00000020 __sf_fake_stderr
|
|
00001690 g F .text 00000048 PWM_GPIO_Configuration
|
|
00000156 g F .text 0000001a .hidden __riscv_save_4
|
|
00000440 w .text 00000000 I2C1_EV_IRQHandler
|
|
0000196e g F .text 00000046 USART4_IRQHandler
|
|
000017b8 g F .text 000000b2 GW_485_Init
|
|
00001112 g F .text 00000018 TIM_GetITStatus
|
|
00000d38 g F .text 000000d6 RCC_GetClocksFreq
|
|
00000440 w .text 00000000 DMA1_Channel6_IRQHandler
|
|
0000379e g F .text 0000006e .hidden __clzsi2
|
|
00001b5a g F .text 00000028 TimeSliceOffset_Produce
|
|
000041da g F .text 00000040 __sfputs_r
|
|
2000010c g O .bss 00000004 TS_Val
|
|
000049f8 g F .text 00000018 memchr
|
|
00001136 g F .text 000000ba USART_Init
|
|
00004036 g F .text 000000a8 _free_r
|
|
00001a34 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
|
|
00001f24 g F .text 0000000a test
|
|
00000440 w .text 00000000 DMA1_Channel1_IRQHandler
|
|
00001544 g F .text 00000030 RUN_LED_Init
|
|
00000000 g .init 00000000 _start
|
|
00004a64 g F .text 0000000c _lseek
|
|
000010ba g F .text 00000016 TIM_OC2PreloadConfig
|
|
00000e2c g F .text 0000001e RCC_PB1PeriphClockCmd
|
|
000014e8 g F .text 0000005c G_FFMOS_CON_Init
|
|
00000440 w .text 00000000 EXTI15_10_IRQHandler
|
|
0000108e g F .text 00000012 TIM_ITConfig
|
|
00000f3c g F .text 000000a8 TIM_OC2Init
|
|
00000440 w .text 00000000 ADC_IRQHandler
|
|
00001206 g F .text 00000036 USART_ITConfig
|
|
00000882 g F .text 0000006a EXTI_Init
|
|
20000108 g O .bss 00000004 OPA_Trim
|
|
00000440 w .text 00000000 DMA1_Channel8_IRQHandler
|
|
200000e8 g O .data 00000004 g_duty_ratio
|
|
00004952 g F .text 00000028 _close_r
|
|
20000000 g .dalign 00000000 _data_vma
|
|
000015d4 g F .text 00000030 POW_OUT_CON_Init
|
|
000020c6 g F .text 0000003e hardware_Init
|
|
00000fe4 g F .text 0000007c TIM_OC4Init
|
|
00003a98 g F .text 000000fc __swsetup_r
|
|
00000440 w .text 00000000 EXTI9_5_IRQHandler
|
|
00003e46 g F .text 0000009e __sfp
|
|
20000180 g O .bss 00000010 m_runled
|
|
00000b0e g F .text 0000002c GPIO_EXTILineConfig
|
|
00002200 g F .text 000004b8 .hidden __muldf3
|
|
00000148 g F .text 00000028 .hidden __riscv_save_10
|
|
0000487a g F .text 0000002c __sread
|
|
20000040 g O .data 00000038 uart_devices
|
|
00004a10 g F .text 00000002 __malloc_lock
|
|
0000018a g F .text 00000016 .hidden __riscv_restore_4
|
|
00001d84 g F .text 00000046 get_PV_VOLT_OUT
|
|
00000180 g F .text 00000020 .hidden __riscv_restore_8
|
|
00001d14 g F .text 0000002a Get_ConversionVal
|
|
00003cc4 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
|
|
00004dec 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
|
|
00001a10 g F .text 00000024 TIM3_Init
|
|
00002d5a g F .text 0000008c .hidden __ltsf2
|
|
0000491e g F .text 00000006 __sclose
|
|
00003634 g F .text 0000016a .hidden __truncdfsf2
|
|
000040de g F .text 000000d4 _malloc_r
|
|
000006a8 g F .text 000001d4 Get_CalibrationValue
|
|
00000440 w .text 00000000 DMA1_Channel5_IRQHandler
|
|
00000440 w .text 00000000 EXTI4_IRQHandler
|
|
00000440 w .text 00000000 USB_LP_CAN1_RX0_IRQHandler
|
|
00002de6 g F .text 00000294 .hidden __mulsf3
|
|
000010fc 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
|
|
00001f74 g F .text 0000000a Task_mpptControl
|
|
00000674 g F .text 00000012 ADC_DutyDelayCmd
|
|
000038be g F .text 00000040 iprintf
|
|
2000011c g O .bss 00000001 USART4_Rbuffer
|
|
00000440 w .text 00000000 USB_HP_CAN1_TX_IRQHandler
|
|
00004ccc g O .text 00000100 .hidden __clz_tab
|
|
00000000 g .init 00000000 _sinit
|
|
00000440 w .text 00000000 CMPWakeUp_IRQHandler
|
|
00002cd4 g F .text 00000086 .hidden __gesf2
|
|
00004924 g F .text 0000002e _write_r
|
|
00000440 w .text 00000000 DMA1_Channel3_IRQHandler
|
|
000044a2 g F .text 0000010c _printf_common
|
|
200000f4 g O .data 00000004 _impure_ptr
|
|
00000440 w .text 00000000 TIM1_UP_IRQHandler
|
|
00003b94 g F .text 00000130 __sflush_r
|
|
00000440 w .text 00000000 LPTIMWakeUp_IRQHandler
|
|
00000440 w .text 00000000 WWDG_IRQHandler
|
|
00000440 w .text 00000000 Ecall_U_Mode_Handler
|
|
0000206c g F .text 0000005a task_Init
|
|
00000698 g F .text 00000010 ADC_Sample_ModeConfig
|
|
00001ad0 g F .text 0000002a TIM2_IRQHandler
|
|
20005000 g .stack 00000000 _eusrstack
|
|
00000170 g F .text 0000000c .hidden __riscv_save_2
|
|
00000440 w .text 00000000 SW_Handler
|
|
000004c8 g F .text 00000028 ADC_DeInit
|
|
00000440 w .text 00000000 TIM1_BRK_IRQHandler
|
|
00003f4e g F .text 00000058 __swhatbuf_r
|
|
000004f0 g F .text 00000056 ADC_Init
|
|
0000123c g F .text 00000008 USART_SendData
|
|
00000440 w .text 00000000 OPA_IRQHandler
|
|
00000440 w .text 00000000 EXTI1_IRQHandler
|
|
00000156 g F .text 0000001a .hidden __riscv_save_5
|
|
00001c76 g F .text 0000003e _write
|
|
00001fbc g F .text 0000003a Task_CapCharg
|
|
20000100 g .data 00000000 _edata
|
|
20000388 g .bss 00000000 _end
|
|
00000ec6 g F .text 00000076 TIM_TimeBaseInit
|
|
00000440 w .text 00000000 RTCAlarm_IRQHandler
|
|
00004e68 g .dlalign 00000000 _data_lma
|
|
00000440 w .text 00000000 USART2_IRQHandler
|
|
000048a6 g F .text 00000048 __swrite
|
|
0000186a g F .text 000000be BAT_485_Init
|
|
0000421a g F .text 00000288 _vfiprintf_r
|
|
00003ee4 g F .text 0000006a _fwalk_reent
|
|
0000039c g F .text 000000a4 SystemCoreClockUpdate
|
|
000034ba g F .text 000000ce .hidden __floatunsisf
|
|
00001574 g F .text 00000032 WDI_INPUT_Init
|
|
00000440 w .text 00000000 I2C2_ER_IRQHandler
|
|
00000440 w .text 00000000 DMA1_Channel2_IRQHandler
|
|
000016d8 g F .text 00000080 PWM_TIM_Configuration
|
|
20000160 g O .bss 00000010 m_CapCharg
|
|
00004e0c g O .text 00000020 __sf_fake_stdout
|
|
20000000 g O .data 00000010 HBPrescTable
|
|
0000017c g F .text 00000024 .hidden __riscv_restore_12
|
|
00004a70 g F .text 0000000c _read
|
|
00000442 w .text 00000000 handle_reset
|
|
00000440 w .text 00000000 CAN1_SCE_IRQHandler
|
|
00003464 g F .text 00000056 .hidden __fixunssfsi
|
|
00000440 w .text 00000000 FLASH_IRQHandler
|
|
00000170 g F .text 0000000c .hidden __riscv_save_0
|
|
00000440 w .text 00000000 USBFSWakeUp_IRQHandler
|
|
00001aaa g F .text 00000026 TIM2_Init
|
|
00000440 w .text 00000000 USART1_IRQHandler
|
|
00003fa6 g F .text 00000090 __smakebuf_r
|
|
000045ae g F .text 000002a2 _printf_i
|
|
20000148 g O .bss 00000017 g_Mppt_Para
|
|
00002152 g F .text 000000ae .hidden __gedf2
|
|
20000144 g O .bss 00000004 __malloc_sbrk_start
|
|
00000440 w .text 00000000 I2C1_ER_IRQHandler
|
|
00001382 g F .text 000000a4 SPI_Flash_Init
|
|
00000e68 g F .text 00000032 SPI_Init
|
|
00000cca g F .text 00000006 NVIC_PriorityGroupConfig
|
|
00001292 g F .text 000000f0 ADC_all_Init
|
|
00001758 g F .text 00000060 Set_duty_ratio
|
|
00000440 w .text 00000000 TKeyWakeUp_IRQHandler
|
|
20000140 g O .bss 00000004 __malloc_free_list
|
|
00000194 g F .text 0000000c .hidden __riscv_restore_1
|
|
2000013c g O .bss 00000004 g_gw485_uart4_handle
|
|
0000421a g F .text 00000288 _vfprintf_r
|
|
000015a6 g F .text 0000002e BEEP_Init
|
|
000026b8 g F .text 0000036a .hidden __addsf3
|
|
00004a40 g F .text 0000000c _close
|
|
|
|
|
|
|
|
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: 165e slli a2,a2,0x37
|
|
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: 1ad0 addi a2,sp,372
|
|
b6: 0000 unimp
|
|
b8: 1a34 addi a3,sp,312
|
|
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: 1928 addi a0,sp,184
|
|
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: 196e slli s2,s2,0x3b
|
|
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: 167010ef jal ra,1bbe <Delay_Init>
|
|
25c: 6571 lui a0,0x1c
|
|
25e: 20050513 addi a0,a0,512 # 1c200 <_data_lma+0x17398>
|
|
262: 1bb010ef jal ra,1c1c <USART_Printf_Init>
|
|
266: 200007b7 lui a5,0x20000
|
|
26a: 0d87a583 lw a1,216(a5) # 200000d8 <SystemCoreClock>
|
|
26e: 00005537 lui a0,0x5
|
|
272: a7c50513 addi a0,a0,-1412 # 4a7c <_read+0xc>
|
|
276: 648030ef jal ra,38be <iprintf>
|
|
27a: 2509 jal 87c <DBGMCU_GetCHIPID>
|
|
27c: 85aa mv a1,a0
|
|
27e: 00005537 lui a0,0x5
|
|
282: a8c50513 addi a0,a0,-1396 # 4a8c <_read+0x1c>
|
|
286: 638030ef jal ra,38be <iprintf>
|
|
28a: 63d010ef jal ra,20c6 <hardware_Init>
|
|
28e: 5df010ef jal ra,206c <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: 0d870713 addi a4,a4,216 # 200000d8 <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+0xef3d8>
|
|
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+0x79c398>
|
|
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+0x79c398>
|
|
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+0x3cba98>
|
|
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: 49618193 addi gp,gp,1174 # 200008d8 <__global_pointer$>
|
|
44a: 20005117 auipc sp,0x20005
|
|
44e: bb610113 addi sp,sp,-1098 # 20005000 <_eusrstack>
|
|
452: 00005517 auipc a0,0x5
|
|
456: a1650513 addi a0,a0,-1514 # 4e68 <_data_lma>
|
|
45a: 20000597 auipc a1,0x20000
|
|
45e: ba658593 addi a1,a1,-1114 # 20000000 <_data_vma>
|
|
462: 82818613 addi a2,gp,-2008 # 20000100 <_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: 82818513 addi a0,gp,-2008 # 20000100 <_edata>
|
|
47e: ab018593 addi a1,gp,-1360 # 20000388 <_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: 82c1a503 lw a0,-2004(gp) # 20000104 <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+0x1fffa8bc>
|
|
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: 82f1a823 sw a5,-2000(gp) # 20000108 <OPA_Trim>
|
|
b7e: 72845703 lhu a4,1832(s0)
|
|
b82: 4585 li a1,1
|
|
b84: 82e19423 sh a4,-2008(gp) # 20000100 <_edata>
|
|
b88: 72042703 lw a4,1824(s0)
|
|
b8c: 03d00513 li a0,61
|
|
b90: 82e1aa23 sw a4,-1996(gp) # 2000010c <TS_Val>
|
|
b94: 70442703 lw a4,1796(s0)
|
|
b98: 82e1a623 sw a4,-2004(gp) # 20000104 <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+0x1039b898>
|
|
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+0x1031b898>
|
|
bbe: 06e78063 beq a5,a4,c1e <GPIO_IPD_Unused+0xe4>
|
|
bc2: 10370737 lui a4,0x10370
|
|
bc6: 70070713 addi a4,a4,1792 # 10370700 <_data_lma+0x1036b898>
|
|
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+0x103ab898>
|
|
bdc: 0ae78b63 beq a5,a4,c92 <GPIO_IPD_Unused+0x158>
|
|
be0: 103d0737 lui a4,0x103d0
|
|
be4: 70070713 addi a4,a4,1792 # 103d0700 <_data_lma+0x103cb898>
|
|
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 <ADC_all_Init+0xaa>
|
|
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: 82a1ac23 sw a0,-1992(gp) # 20000110 <NVIC_Priority_Group>
|
|
cce: 8082 ret
|
|
|
|
00000cd0 <NVIC_Init>:
|
|
cd0: 8381a703 lw a4,-1992(gp) # 20000110 <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 <g_Mppt_Para_Init+0x4a>
|
|
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+0xef3d8>
|
|
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 # 200000dc <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+0x79c398>
|
|
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+0x79c398>
|
|
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+0x3cba98>
|
|
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 <__mulsf3+0x25a>
|
|
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_OC2Init>:
|
|
f3c: 311e lhu a5,32(a0)
|
|
f3e: 7765 lui a4,0xffff9
|
|
f40: cff70713 addi a4,a4,-769 # ffff8cff <_eusrstack+0xdfff3cff>
|
|
f44: 07c2 slli a5,a5,0x10
|
|
f46: 83c1 srli a5,a5,0x10
|
|
f48: 9bbd andi a5,a5,-17
|
|
f4a: 07c2 slli a5,a5,0x10
|
|
f4c: 83c1 srli a5,a5,0x10
|
|
f4e: b11e sh a5,32(a0)
|
|
f50: 311e lhu a5,32(a0)
|
|
f52: 2156 lhu a3,4(a0)
|
|
f54: 00a5d803 lhu a6,10(a1) # 4001000a <_eusrstack+0x2000b00a>
|
|
f58: 07c2 slli a5,a5,0x10
|
|
f5a: 01069613 slli a2,a3,0x10
|
|
f5e: 2d16 lhu a3,24(a0)
|
|
f60: 83c1 srli a5,a5,0x10
|
|
f62: fdf7f793 andi a5,a5,-33
|
|
f66: 8f75 and a4,a4,a3
|
|
f68: 21d6 lhu a3,4(a1)
|
|
f6a: 8241 srli a2,a2,0x10
|
|
f6c: 06a2 slli a3,a3,0x8
|
|
f6e: 8f55 or a4,a4,a3
|
|
f70: 21f6 lhu a3,6(a1)
|
|
f72: 0742 slli a4,a4,0x10
|
|
f74: 8341 srli a4,a4,0x10
|
|
f76: 0106e6b3 or a3,a3,a6
|
|
f7a: 0692 slli a3,a3,0x4
|
|
f7c: 8fd5 or a5,a5,a3
|
|
f7e: 400136b7 lui a3,0x40013
|
|
f82: 07c2 slli a5,a5,0x10
|
|
f84: c0068693 addi a3,a3,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
f88: 83c1 srli a5,a5,0x10
|
|
f8a: 02d51e63 bne a0,a3,fc6 <TIM_OC2Init+0x8a>
|
|
f8e: 25d6 lhu a3,12(a1)
|
|
f90: f7f7f793 andi a5,a5,-129
|
|
f94: 00e5d803 lhu a6,14(a1)
|
|
f98: 0692 slli a3,a3,0x4
|
|
f9a: 8fd5 or a5,a5,a3
|
|
f9c: 2596 lhu a3,8(a1)
|
|
f9e: 07c2 slli a5,a5,0x10
|
|
fa0: 83c1 srli a5,a5,0x10
|
|
fa2: 0692 slli a3,a3,0x4
|
|
fa4: fbf7f793 andi a5,a5,-65
|
|
fa8: 8fd5 or a5,a5,a3
|
|
faa: 76fd lui a3,0xfffff
|
|
fac: 3ff68693 addi a3,a3,1023 # fffff3ff <_eusrstack+0xdfffa3ff>
|
|
fb0: 8ef1 and a3,a3,a2
|
|
fb2: 2992 lhu a2,16(a1)
|
|
fb4: 07c2 slli a5,a5,0x10
|
|
fb6: 83c1 srli a5,a5,0x10
|
|
fb8: 01066633 or a2,a2,a6
|
|
fbc: 060a slli a2,a2,0x2
|
|
fbe: 8ed1 or a3,a3,a2
|
|
fc0: 01069613 slli a2,a3,0x10
|
|
fc4: 8241 srli a2,a2,0x10
|
|
fc6: a152 sh a2,4(a0)
|
|
fc8: 400016b7 lui a3,0x40001
|
|
fcc: ad1a sh a4,24(a0)
|
|
fce: 80068693 addi a3,a3,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
fd2: 4198 lw a4,0(a1)
|
|
fd4: 00d51563 bne a0,a3,fde <TIM_OC2Init+0xa2>
|
|
fd8: dd18 sw a4,56(a0)
|
|
fda: b11e sh a5,32(a0)
|
|
fdc: 8082 ret
|
|
fde: 0742 slli a4,a4,0x10
|
|
fe0: 8341 srli a4,a4,0x10
|
|
fe2: bfdd j fd8 <TIM_OC2Init+0x9c>
|
|
|
|
00000fe4 <TIM_OC4Init>:
|
|
fe4: 311a lhu a4,32(a0)
|
|
fe6: 77fd lui a5,0xfffff
|
|
fe8: 17fd addi a5,a5,-1
|
|
fea: 8ff9 and a5,a5,a4
|
|
fec: b11e sh a5,32(a0)
|
|
fee: 02055803 lhu a6,32(a0) # 40011020 <_eusrstack+0x2000c020>
|
|
ff2: 2156 lhu a3,4(a0)
|
|
ff4: 2d5e lhu a5,28(a0)
|
|
ff6: 7765 lui a4,0xffff9
|
|
ff8: 21d2 lhu a2,4(a1)
|
|
ffa: cff70713 addi a4,a4,-769 # ffff8cff <_eusrstack+0xdfff3cff>
|
|
ffe: 8f7d and a4,a4,a5
|
|
1000: 77f9 lui a5,0xffffe
|
|
1002: 0622 slli a2,a2,0x8
|
|
1004: 17fd addi a5,a5,-1
|
|
1006: 8f51 or a4,a4,a2
|
|
1008: 0107f7b3 and a5,a5,a6
|
|
100c: 21f2 lhu a2,6(a1)
|
|
100e: 00a5d803 lhu a6,10(a1)
|
|
1012: 06c2 slli a3,a3,0x10
|
|
1014: 0742 slli a4,a4,0x10
|
|
1016: 01066633 or a2,a2,a6
|
|
101a: 0632 slli a2,a2,0xc
|
|
101c: 8fd1 or a5,a5,a2
|
|
101e: 40013637 lui a2,0x40013
|
|
1022: 07c2 slli a5,a5,0x10
|
|
1024: c0060613 addi a2,a2,-1024 # 40012c00 <_eusrstack+0x2000dc00>
|
|
1028: 82c1 srli a3,a3,0x10
|
|
102a: 8341 srli a4,a4,0x10
|
|
102c: 83c1 srli a5,a5,0x10
|
|
102e: 00c51a63 bne a0,a2,1042 <TIM_OC4Init+0x5e>
|
|
1032: 7671 lui a2,0xffffc
|
|
1034: 167d addi a2,a2,-1
|
|
1036: 8ef1 and a3,a3,a2
|
|
1038: 25f2 lhu a2,14(a1)
|
|
103a: 061a slli a2,a2,0x6
|
|
103c: 8ed1 or a3,a3,a2
|
|
103e: 06c2 slli a3,a3,0x10
|
|
1040: 82c1 srli a3,a3,0x10
|
|
1042: a156 sh a3,4(a0)
|
|
1044: 400016b7 lui a3,0x40001
|
|
1048: ad5a sh a4,28(a0)
|
|
104a: 80068693 addi a3,a3,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
104e: 4198 lw a4,0(a1)
|
|
1050: 00d51563 bne a0,a3,105a <TIM_OC4Init+0x76>
|
|
1054: c138 sw a4,64(a0)
|
|
1056: b11e sh a5,32(a0)
|
|
1058: 8082 ret
|
|
105a: 0742 slli a4,a4,0x10
|
|
105c: 8341 srli a4,a4,0x10
|
|
105e: bfdd j 1054 <TIM_OC4Init+0x70>
|
|
|
|
00001060 <TIM_Cmd>:
|
|
1060: 211e lhu a5,0(a0)
|
|
1062: c589 beqz a1,106c <TIM_Cmd+0xc>
|
|
1064: 0017e793 ori a5,a5,1
|
|
1068: a11e sh a5,0(a0)
|
|
106a: 8082 ret
|
|
106c: 07c2 slli a5,a5,0x10
|
|
106e: 83c1 srli a5,a5,0x10
|
|
1070: 9bf9 andi a5,a5,-2
|
|
1072: 07c2 slli a5,a5,0x10
|
|
1074: 83c1 srli a5,a5,0x10
|
|
1076: bfcd j 1068 <TIM_Cmd+0x8>
|
|
|
|
00001078 <TIM_CtrlPWMOutputs>:
|
|
1078: 04455783 lhu a5,68(a0)
|
|
107c: c591 beqz a1,1088 <TIM_CtrlPWMOutputs+0x10>
|
|
107e: 6721 lui a4,0x8
|
|
1080: 8fd9 or a5,a5,a4
|
|
1082: 04f51223 sh a5,68(a0)
|
|
1086: 8082 ret
|
|
1088: 07c6 slli a5,a5,0x11
|
|
108a: 83c5 srli a5,a5,0x11
|
|
108c: bfdd j 1082 <TIM_CtrlPWMOutputs+0xa>
|
|
|
|
0000108e <TIM_ITConfig>:
|
|
108e: 255e lhu a5,12(a0)
|
|
1090: c601 beqz a2,1098 <TIM_ITConfig+0xa>
|
|
1092: 8ddd or a1,a1,a5
|
|
1094: a54e sh a1,12(a0)
|
|
1096: 8082 ret
|
|
1098: fff5c593 not a1,a1
|
|
109c: 8dfd and a1,a1,a5
|
|
109e: bfdd j 1094 <TIM_ITConfig+0x6>
|
|
|
|
000010a0 <TIM_ARRPreloadConfig>:
|
|
10a0: 211e lhu a5,0(a0)
|
|
10a2: c589 beqz a1,10ac <TIM_ARRPreloadConfig+0xc>
|
|
10a4: 0807e793 ori a5,a5,128
|
|
10a8: a11e sh a5,0(a0)
|
|
10aa: 8082 ret
|
|
10ac: 07c2 slli a5,a5,0x10
|
|
10ae: 83c1 srli a5,a5,0x10
|
|
10b0: f7f7f793 andi a5,a5,-129
|
|
10b4: 07c2 slli a5,a5,0x10
|
|
10b6: 83c1 srli a5,a5,0x10
|
|
10b8: bfc5 j 10a8 <TIM_ARRPreloadConfig+0x8>
|
|
|
|
000010ba <TIM_OC2PreloadConfig>:
|
|
10ba: 2d1a lhu a4,24(a0)
|
|
10bc: 77fd lui a5,0xfffff
|
|
10be: 7ff78793 addi a5,a5,2047 # fffff7ff <_eusrstack+0xdfffa7ff>
|
|
10c2: 8ff9 and a5,a5,a4
|
|
10c4: 05a2 slli a1,a1,0x8
|
|
10c6: 8fcd or a5,a5,a1
|
|
10c8: 07c2 slli a5,a5,0x10
|
|
10ca: 83c1 srli a5,a5,0x10
|
|
10cc: ad1e sh a5,24(a0)
|
|
10ce: 8082 ret
|
|
|
|
000010d0 <TIM_OC4PreloadConfig>:
|
|
10d0: 2d5a lhu a4,28(a0)
|
|
10d2: 77fd lui a5,0xfffff
|
|
10d4: 7ff78793 addi a5,a5,2047 # fffff7ff <_eusrstack+0xdfffa7ff>
|
|
10d8: 8ff9 and a5,a5,a4
|
|
10da: 05a2 slli a1,a1,0x8
|
|
10dc: 8fcd or a5,a5,a1
|
|
10de: 07c2 slli a5,a5,0x10
|
|
10e0: 83c1 srli a5,a5,0x10
|
|
10e2: ad5e sh a5,28(a0)
|
|
10e4: 8082 ret
|
|
|
|
000010e6 <TIM_SetCompare2>:
|
|
10e6: 400017b7 lui a5,0x40001
|
|
10ea: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
10ee: 00f51463 bne a0,a5,10f6 <TIM_SetCompare2+0x10>
|
|
10f2: dd0c sw a1,56(a0)
|
|
10f4: 8082 ret
|
|
10f6: 05c2 slli a1,a1,0x10
|
|
10f8: 81c1 srli a1,a1,0x10
|
|
10fa: bfe5 j 10f2 <TIM_SetCompare2+0xc>
|
|
|
|
000010fc <TIM_SetCompare4>:
|
|
10fc: 400017b7 lui a5,0x40001
|
|
1100: 80078793 addi a5,a5,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
1104: 00f51463 bne a0,a5,110c <TIM_SetCompare4+0x10>
|
|
1108: c12c sw a1,64(a0)
|
|
110a: 8082 ret
|
|
110c: 05c2 slli a1,a1,0x10
|
|
110e: 81c1 srli a1,a1,0x10
|
|
1110: bfe5 j 1108 <TIM_SetCompare4+0xc>
|
|
|
|
00001112 <TIM_GetITStatus>:
|
|
1112: 291e lhu a5,16(a0)
|
|
1114: 254a lhu a0,12(a0)
|
|
1116: 8fed and a5,a5,a1
|
|
1118: 0542 slli a0,a0,0x10
|
|
111a: 8141 srli a0,a0,0x10
|
|
111c: c789 beqz a5,1126 <TIM_GetITStatus+0x14>
|
|
111e: 8d6d and a0,a0,a1
|
|
1120: 00a03533 snez a0,a0
|
|
1124: 8082 ret
|
|
1126: 4501 li a0,0
|
|
1128: 8082 ret
|
|
|
|
0000112a <TIM_ClearITPendingBit>:
|
|
112a: fff5c593 not a1,a1
|
|
112e: 05c2 slli a1,a1,0x10
|
|
1130: 81c1 srli a1,a1,0x10
|
|
1132: a90e sh a1,16(a0)
|
|
1134: 8082 ret
|
|
|
|
00001136 <USART_Init>:
|
|
1136: 83aff2ef jal t0,170 <__riscv_save_0>
|
|
113a: 2916 lhu a3,16(a0)
|
|
113c: 77f5 lui a5,0xffffd
|
|
113e: 17fd addi a5,a5,-1
|
|
1140: 8ff5 and a5,a5,a3
|
|
1142: 21f6 lhu a3,6(a1)
|
|
1144: 25da lhu a4,12(a1)
|
|
1146: 7179 addi sp,sp,-48
|
|
1148: 8fd5 or a5,a5,a3
|
|
114a: a91e sh a5,16(a0)
|
|
114c: 2556 lhu a3,12(a0)
|
|
114e: 77fd lui a5,0xfffff
|
|
1150: 9f378793 addi a5,a5,-1549 # ffffe9f3 <_eusrstack+0xdfff99f3>
|
|
1154: 8ff5 and a5,a5,a3
|
|
1156: 21d6 lhu a3,4(a1)
|
|
1158: 842a mv s0,a0
|
|
115a: c62e sw a1,12(sp)
|
|
115c: 8fd5 or a5,a5,a3
|
|
115e: 2596 lhu a3,8(a1)
|
|
1160: 8fd5 or a5,a5,a3
|
|
1162: 25b6 lhu a3,10(a1)
|
|
1164: 8fd5 or a5,a5,a3
|
|
1166: a55e sh a5,12(a0)
|
|
1168: 295e lhu a5,20(a0)
|
|
116a: 07c2 slli a5,a5,0x10
|
|
116c: 83c1 srli a5,a5,0x10
|
|
116e: cff7f793 andi a5,a5,-769
|
|
1172: 8fd9 or a5,a5,a4
|
|
1174: a95e sh a5,20(a0)
|
|
1176: 0868 addi a0,sp,28
|
|
1178: 36c1 jal d38 <RCC_GetClocksFreq>
|
|
117a: 400147b7 lui a5,0x40014
|
|
117e: 80078793 addi a5,a5,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1182: 45b2 lw a1,12(sp)
|
|
1184: 04f41a63 bne s0,a5,11d8 <USART_Init+0xa2>
|
|
1188: 57a2 lw a5,40(sp)
|
|
118a: 2456 lhu a3,12(s0)
|
|
118c: 4765 li a4,25
|
|
118e: 02e787b3 mul a5,a5,a4
|
|
1192: 06c2 slli a3,a3,0x10
|
|
1194: 86c1 srai a3,a3,0x10
|
|
1196: 4198 lw a4,0(a1)
|
|
1198: 0406d263 bgez a3,11dc <USART_Init+0xa6>
|
|
119c: 0706 slli a4,a4,0x1
|
|
119e: 2452 lhu a2,12(s0)
|
|
11a0: 0642 slli a2,a2,0x10
|
|
11a2: 02e7d7b3 divu a5,a5,a4
|
|
11a6: 06400713 li a4,100
|
|
11aa: 8641 srai a2,a2,0x10
|
|
11ac: 02e7d6b3 divu a3,a5,a4
|
|
11b0: 02e7f7b3 remu a5,a5,a4
|
|
11b4: 0692 slli a3,a3,0x4
|
|
11b6: 02065563 bgez a2,11e0 <USART_Init+0xaa>
|
|
11ba: 078e slli a5,a5,0x3
|
|
11bc: 03278793 addi a5,a5,50
|
|
11c0: 02e7d7b3 divu a5,a5,a4
|
|
11c4: 0077f713 andi a4,a5,7
|
|
11c8: 00d767b3 or a5,a4,a3
|
|
11cc: 07c2 slli a5,a5,0x10
|
|
11ce: 83c1 srli a5,a5,0x10
|
|
11d0: a41e sh a5,8(s0)
|
|
11d2: 6145 addi sp,sp,48
|
|
11d4: fc1fe06f j 194 <__riscv_restore_0>
|
|
11d8: 5792 lw a5,36(sp)
|
|
11da: bf45 j 118a <USART_Init+0x54>
|
|
11dc: 070a slli a4,a4,0x2
|
|
11de: b7c1 j 119e <USART_Init+0x68>
|
|
11e0: 0792 slli a5,a5,0x4
|
|
11e2: 03278793 addi a5,a5,50
|
|
11e6: 02e7d7b3 divu a5,a5,a4
|
|
11ea: 8bbd andi a5,a5,15
|
|
11ec: 8fd5 or a5,a5,a3
|
|
11ee: bff9 j 11cc <USART_Init+0x96>
|
|
|
|
000011f0 <USART_Cmd>:
|
|
11f0: c591 beqz a1,11fc <USART_Cmd+0xc>
|
|
11f2: 255e lhu a5,12(a0)
|
|
11f4: 6709 lui a4,0x2
|
|
11f6: 8fd9 or a5,a5,a4
|
|
11f8: a55e sh a5,12(a0)
|
|
11fa: 8082 ret
|
|
11fc: 255a lhu a4,12(a0)
|
|
11fe: 77f9 lui a5,0xffffe
|
|
1200: 17fd addi a5,a5,-1
|
|
1202: 8ff9 and a5,a5,a4
|
|
1204: bfd5 j 11f8 <USART_Cmd+0x8>
|
|
|
|
00001206 <USART_ITConfig>:
|
|
1206: 0ff5f713 andi a4,a1,255
|
|
120a: 4785 li a5,1
|
|
120c: 8315 srli a4,a4,0x5
|
|
120e: 00b795b3 sll a1,a5,a1
|
|
1212: 00f71963 bne a4,a5,1224 <USART_ITConfig+0x1e>
|
|
1216: 00c50793 addi a5,a0,12
|
|
121a: 4398 lw a4,0(a5)
|
|
121c: ce01 beqz a2,1234 <USART_ITConfig+0x2e>
|
|
121e: 8dd9 or a1,a1,a4
|
|
1220: c38c sw a1,0(a5)
|
|
1222: 8082 ret
|
|
1224: 4689 li a3,2
|
|
1226: 01450793 addi a5,a0,20
|
|
122a: fed718e3 bne a4,a3,121a <USART_ITConfig+0x14>
|
|
122e: 01050793 addi a5,a0,16
|
|
1232: b7e5 j 121a <USART_ITConfig+0x14>
|
|
1234: fff5c593 not a1,a1
|
|
1238: 8df9 and a1,a1,a4
|
|
123a: b7dd j 1220 <USART_ITConfig+0x1a>
|
|
|
|
0000123c <USART_SendData>:
|
|
123c: 1ff5f593 andi a1,a1,511
|
|
1240: a14e sh a1,4(a0)
|
|
1242: 8082 ret
|
|
|
|
00001244 <USART_ReceiveData>:
|
|
1244: 214a lhu a0,4(a0)
|
|
1246: 1ff57513 andi a0,a0,511
|
|
124a: 8082 ret
|
|
|
|
0000124c <USART_GetFlagStatus>:
|
|
124c: 210a lhu a0,0(a0)
|
|
124e: 8d6d and a0,a0,a1
|
|
1250: 00a03533 snez a0,a0
|
|
1254: 8082 ret
|
|
|
|
00001256 <USART_GetITStatus>:
|
|
1256: 0ff5f713 andi a4,a1,255
|
|
125a: 4685 li a3,1
|
|
125c: 8315 srli a4,a4,0x5
|
|
125e: 00b697b3 sll a5,a3,a1
|
|
1262: 02d71163 bne a4,a3,1284 <USART_GetITStatus+0x2e>
|
|
1266: 255a lhu a4,12(a0)
|
|
1268: 8ff9 and a5,a5,a4
|
|
126a: 211a lhu a4,0(a0)
|
|
126c: 4501 li a0,0
|
|
126e: 0742 slli a4,a4,0x10
|
|
1270: 8341 srli a4,a4,0x10
|
|
1272: cb81 beqz a5,1282 <USART_GetITStatus+0x2c>
|
|
1274: 4505 li a0,1
|
|
1276: 81a1 srli a1,a1,0x8
|
|
1278: 00b515b3 sll a1,a0,a1
|
|
127c: 8f6d and a4,a4,a1
|
|
127e: 00e03533 snez a0,a4
|
|
1282: 8082 ret
|
|
1284: 4689 li a3,2
|
|
1286: 00d71463 bne a4,a3,128e <USART_GetITStatus+0x38>
|
|
128a: 291a lhu a4,16(a0)
|
|
128c: bff1 j 1268 <USART_GetITStatus+0x12>
|
|
128e: 295a lhu a4,20(a0)
|
|
1290: bfe1 j 1268 <USART_GetITStatus+0x12>
|
|
|
|
00001292 <ADC_all_Init>:
|
|
1292: edffe2ef jal t0,170 <__riscv_save_0>
|
|
1296: 7179 addi sp,sp,-48
|
|
1298: 02000613 li a2,32
|
|
129c: 4581 li a1,0
|
|
129e: 0808 addi a0,sp,16
|
|
12a0: f01fe0ef jal ra,1a0 <memset>
|
|
12a4: 4585 li a1,1
|
|
12a6: 4511 li a0,4
|
|
12a8: c202 sw zero,4(sp)
|
|
12aa: c402 sw zero,8(sp)
|
|
12ac: c602 sw zero,12(sp)
|
|
12ae: 3685 jal e0e <RCC_PB2PeriphClockCmd>
|
|
12b0: 4585 li a1,1
|
|
12b2: 20000513 li a0,512
|
|
12b6: 3ea1 jal e0e <RCC_PB2PeriphClockCmd>
|
|
12b8: 6521 lui a0,0x8
|
|
12ba: 34ad jal d24 <RCC_ADCCLKConfig>
|
|
12bc: 40011537 lui a0,0x40011
|
|
12c0: 0fe00793 li a5,254
|
|
12c4: 004c addi a1,sp,4
|
|
12c6: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
12ca: 40012437 lui s0,0x40012
|
|
12ce: 827c sh a5,4(sp)
|
|
12d0: c602 sw zero,12(sp)
|
|
12d2: e42ff0ef jal ra,914 <GPIO_Init>
|
|
12d6: 40040513 addi a0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
12da: 9eeff0ef jal ra,4c8 <ADC_DeInit>
|
|
12de: 40040513 addi a0,s0,1024
|
|
12e2: bc6ff0ef jal ra,6a8 <Get_CalibrationValue>
|
|
12e6: 85aa mv a1,a0
|
|
12e8: 82a19e23 sh a0,-1988(gp) # 20000114 <Calibrattion_Val>
|
|
12ec: 00005537 lui a0,0x5
|
|
12f0: a9c50513 addi a0,a0,-1380 # 4a9c <_read+0x2c>
|
|
12f4: 5ca020ef jal ra,38be <iprintf>
|
|
12f8: 000e07b7 lui a5,0xe0
|
|
12fc: ce3e sw a5,28(sp)
|
|
12fe: 080c addi a1,sp,16
|
|
1300: 4785 li a5,1
|
|
1302: 40040513 addi a0,s0,1024
|
|
1306: 02f10223 sb a5,36(sp)
|
|
130a: c802 sw zero,16(sp)
|
|
130c: ca02 sw zero,20(sp)
|
|
130e: cc02 sw zero,24(sp)
|
|
1310: d002 sw zero,32(sp)
|
|
1312: 9deff0ef jal ra,4f0 <ADC_Init>
|
|
1316: 4585 li a1,1
|
|
1318: 40040513 addi a0,s0,1024
|
|
131c: a2aff0ef jal ra,546 <ADC_Cmd>
|
|
1320: 4585 li a1,1
|
|
1322: 40040513 addi a0,s0,1024
|
|
1326: b60ff0ef jal ra,686 <ADC_FIFO_Cmd>
|
|
132a: 4581 li a1,0
|
|
132c: 40040513 addi a0,s0,1024
|
|
1330: b2cff0ef jal ra,65c <ADC_BufferCmd>
|
|
1334: 40040513 addi a0,s0,1024
|
|
1338: a1eff0ef jal ra,556 <ADC_ResetCalibration>
|
|
133c: 40040493 addi s1,s0,1024
|
|
1340: 8526 mv a0,s1
|
|
1342: a1eff0ef jal ra,560 <ADC_GetResetCalibrationStatus>
|
|
1346: fd6d bnez a0,1340 <ADC_all_Init+0xae>
|
|
1348: 40040513 addi a0,s0,1024
|
|
134c: 40012437 lui s0,0x40012
|
|
1350: a18ff0ef jal ra,568 <ADC_StartCalibration>
|
|
1354: 40040493 addi s1,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
1358: 8526 mv a0,s1
|
|
135a: a18ff0ef jal ra,572 <ADC_GetCalibrationStatus>
|
|
135e: fd6d bnez a0,1358 <ADC_all_Init+0xc6>
|
|
1360: 80000537 lui a0,0x80000
|
|
1364: 32c1 jal d24 <RCC_ADCCLKConfig>
|
|
1366: 40040513 addi a0,s0,1024
|
|
136a: 4585 li a1,1
|
|
136c: b08ff0ef jal ra,674 <ADC_DutyDelayCmd>
|
|
1370: 02000593 li a1,32
|
|
1374: 40040513 addi a0,s0,1024
|
|
1378: b20ff0ef jal ra,698 <ADC_Sample_ModeConfig>
|
|
137c: 6145 addi sp,sp,48
|
|
137e: e17fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001382 <SPI_Flash_Init>:
|
|
1382: deffe2ef jal t0,170 <__riscv_save_0>
|
|
1386: 1101 addi sp,sp,-32
|
|
1388: 4585 li a1,1
|
|
138a: 4521 li a0,8
|
|
138c: 3449 jal e0e <RCC_PB2PeriphClockCmd>
|
|
138e: 4585 li a1,1
|
|
1390: 6511 lui a0,0x4
|
|
1392: 3c69 jal e2c <RCC_PB1PeriphClockCmd>
|
|
1394: 40011437 lui s0,0x40011
|
|
1398: 6785 lui a5,0x1
|
|
139a: 448d li s1,3
|
|
139c: 807c sh a5,0(sp)
|
|
139e: 858a mv a1,sp
|
|
13a0: 47c1 li a5,16
|
|
13a2: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
13a6: c43e sw a5,8(sp)
|
|
13a8: c226 sw s1,4(sp)
|
|
13aa: d6aff0ef jal ra,914 <GPIO_Init>
|
|
13ae: c0040513 addi a0,s0,-1024
|
|
13b2: 6585 lui a1,0x1
|
|
13b4: e20ff0ef jal ra,9d4 <GPIO_SetBits>
|
|
13b8: 6789 lui a5,0x2
|
|
13ba: 4961 li s2,24
|
|
13bc: 858a mv a1,sp
|
|
13be: c0040513 addi a0,s0,-1024
|
|
13c2: 807c sh a5,0(sp)
|
|
13c4: c44a sw s2,8(sp)
|
|
13c6: c226 sw s1,4(sp)
|
|
13c8: d4cff0ef jal ra,914 <GPIO_Init>
|
|
13cc: 6791 lui a5,0x4
|
|
13ce: 807c sh a5,0(sp)
|
|
13d0: 858a mv a1,sp
|
|
13d2: 4791 li a5,4
|
|
13d4: c0040513 addi a0,s0,-1024
|
|
13d8: c43e sw a5,8(sp)
|
|
13da: d3aff0ef jal ra,914 <GPIO_Init>
|
|
13de: 77e1 lui a5,0xffff8
|
|
13e0: 858a mv a1,sp
|
|
13e2: c0040513 addi a0,s0,-1024
|
|
13e6: 807c sh a5,0(sp)
|
|
13e8: c44a sw s2,8(sp)
|
|
13ea: c226 sw s1,4(sp)
|
|
13ec: d28ff0ef jal ra,914 <GPIO_Init>
|
|
13f0: 010407b7 lui a5,0x1040
|
|
13f4: c63e sw a5,12(sp)
|
|
13f6: 000207b7 lui a5,0x20
|
|
13fa: c83e sw a5,16(sp)
|
|
13fc: 020007b7 lui a5,0x2000
|
|
1400: 0785 addi a5,a5,1
|
|
1402: 40004437 lui s0,0x40004
|
|
1406: ca3e sw a5,20(sp)
|
|
1408: 47a1 li a5,8
|
|
140a: cc3e sw a5,24(sp)
|
|
140c: 006c addi a1,sp,12
|
|
140e: 479d li a5,7
|
|
1410: 80040513 addi a0,s0,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
1414: 86fc sh a5,28(sp)
|
|
1416: 3c89 jal e68 <SPI_Init>
|
|
1418: 4585 li a1,1
|
|
141a: 80040513 addi a0,s0,-2048
|
|
141e: 3cb5 jal e9a <SPI_Cmd>
|
|
1420: 6105 addi sp,sp,32
|
|
1422: d73fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001426 <SPI_ReadWriteByte>:
|
|
1426: d31fe2ef jal t0,156 <__riscv_save_4>
|
|
142a: 400044b7 lui s1,0x40004
|
|
142e: 892a mv s2,a0
|
|
1430: 0c900413 li s0,201
|
|
1434: 80048993 addi s3,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
1438: 4589 li a1,2
|
|
143a: 854e mv a0,s3
|
|
143c: 3441 jal ebc <SPI_I2S_GetFlagStatus>
|
|
143e: c50d beqz a0,1468 <SPI_ReadWriteByte+0x42>
|
|
1440: 85ca mv a1,s2
|
|
1442: 80048513 addi a0,s1,-2048
|
|
1446: 400044b7 lui s1,0x40004
|
|
144a: 34ad jal eb4 <SPI_I2S_SendData>
|
|
144c: 0c900413 li s0,201
|
|
1450: 80048913 addi s2,s1,-2048 # 40003800 <_eusrstack+0x1fffe800>
|
|
1454: 4585 li a1,1
|
|
1456: 854a mv a0,s2
|
|
1458: 3495 jal ebc <SPI_I2S_GetFlagStatus>
|
|
145a: cd11 beqz a0,1476 <SPI_ReadWriteByte+0x50>
|
|
145c: 80048513 addi a0,s1,-2048
|
|
1460: 3ca1 jal eb8 <SPI_I2S_ReceiveData>
|
|
1462: 0ff57513 andi a0,a0,255
|
|
1466: a031 j 1472 <SPI_ReadWriteByte+0x4c>
|
|
1468: 147d addi s0,s0,-1
|
|
146a: 0ff47413 andi s0,s0,255
|
|
146e: f469 bnez s0,1438 <SPI_ReadWriteByte+0x12>
|
|
1470: 4501 li a0,0
|
|
1472: d19fe06f j 18a <__riscv_restore_4>
|
|
1476: 147d addi s0,s0,-1
|
|
1478: 0ff47413 andi s0,s0,255
|
|
147c: fc61 bnez s0,1454 <SPI_ReadWriteByte+0x2e>
|
|
147e: bfcd j 1470 <SPI_ReadWriteByte+0x4a>
|
|
|
|
00001480 <SPI_Flash_Read>:
|
|
1480: cf1fe2ef jal t0,170 <__riscv_save_0>
|
|
1484: 892a mv s2,a0
|
|
1486: 40011537 lui a0,0x40011
|
|
148a: 842e mv s0,a1
|
|
148c: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1490: 6585 lui a1,0x1
|
|
1492: 84b2 mv s1,a2
|
|
1494: 4601 li a2,0
|
|
1496: d42ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
149a: 450d li a0,3
|
|
149c: 3769 jal 1426 <SPI_ReadWriteByte>
|
|
149e: 01045513 srli a0,s0,0x10
|
|
14a2: 0ff57513 andi a0,a0,255
|
|
14a6: 3741 jal 1426 <SPI_ReadWriteByte>
|
|
14a8: 00845513 srli a0,s0,0x8
|
|
14ac: 0ff57513 andi a0,a0,255
|
|
14b0: 3f9d jal 1426 <SPI_ReadWriteByte>
|
|
14b2: 0ff47513 andi a0,s0,255
|
|
14b6: 3f85 jal 1426 <SPI_ReadWriteByte>
|
|
14b8: 4401 li s0,0
|
|
14ba: 01041793 slli a5,s0,0x10
|
|
14be: 83c1 srli a5,a5,0x10
|
|
14c0: 0097ec63 bltu a5,s1,14d8 <SPI_Flash_Read+0x58>
|
|
14c4: 40011537 lui a0,0x40011
|
|
14c8: 4605 li a2,1
|
|
14ca: 6585 lui a1,0x1
|
|
14cc: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
14d0: d08ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
14d4: cc1fe06f j 194 <__riscv_restore_0>
|
|
14d8: 0ff00513 li a0,255
|
|
14dc: 37a9 jal 1426 <SPI_ReadWriteByte>
|
|
14de: 008907b3 add a5,s2,s0
|
|
14e2: a388 sb a0,0(a5)
|
|
14e4: 0405 addi s0,s0,1
|
|
14e6: bfd1 j 14ba <SPI_Flash_Read+0x3a>
|
|
|
|
000014e8 <G_FFMOS_CON_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: 77e1 lui a5,0xffff8
|
|
14f8: 40011437 lui s0,0x40011
|
|
14fc: 827c sh a5,4(sp)
|
|
14fe: 47c1 li a5,16
|
|
1500: c63e sw a5,12(sp)
|
|
1502: 004c addi a1,sp,4
|
|
1504: 478d li a5,3
|
|
1506: 80040513 addi a0,s0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
150a: c43e sw a5,8(sp)
|
|
150c: c08ff0ef jal ra,914 <GPIO_Init>
|
|
1510: 4601 li a2,0
|
|
1512: 80040513 addi a0,s0,-2048
|
|
1516: 65a1 lui a1,0x8
|
|
1518: cc0ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
151c: 4585 li a1,1
|
|
151e: 4521 li a0,8
|
|
1520: 8efff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1524: 47a1 li a5,8
|
|
1526: 004c addi a1,sp,4
|
|
1528: c0040513 addi a0,s0,-1024
|
|
152c: 827c sh a5,4(sp)
|
|
152e: be6ff0ef jal ra,914 <GPIO_Init>
|
|
1532: 4601 li a2,0
|
|
1534: 45a1 li a1,8
|
|
1536: c0040513 addi a0,s0,-1024
|
|
153a: c9eff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
153e: 0141 addi sp,sp,16
|
|
1540: c55fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001544 <RUN_LED_Init>:
|
|
1544: c2dfe2ef jal t0,170 <__riscv_save_0>
|
|
1548: 1141 addi sp,sp,-16
|
|
154a: 4585 li a1,1
|
|
154c: 4511 li a0,4
|
|
154e: 8c1ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1552: 10000793 li a5,256
|
|
1556: 827c sh a5,4(sp)
|
|
1558: 40011537 lui a0,0x40011
|
|
155c: 47c1 li a5,16
|
|
155e: c63e sw a5,12(sp)
|
|
1560: 004c addi a1,sp,4
|
|
1562: 478d li a5,3
|
|
1564: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1568: c43e sw a5,8(sp)
|
|
156a: baaff0ef jal ra,914 <GPIO_Init>
|
|
156e: 0141 addi sp,sp,16
|
|
1570: c25fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001574 <WDI_INPUT_Init>:
|
|
1574: bfdfe2ef jal t0,170 <__riscv_save_0>
|
|
1578: 1141 addi sp,sp,-16
|
|
157a: 4585 li a1,1
|
|
157c: 4541 li a0,16
|
|
157e: 891ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1582: 6785 lui a5,0x1
|
|
1584: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
1588: 827c sh a5,4(sp)
|
|
158a: 40011537 lui a0,0x40011
|
|
158e: 47c1 li a5,16
|
|
1590: c63e sw a5,12(sp)
|
|
1592: 004c addi a1,sp,4
|
|
1594: 478d li a5,3
|
|
1596: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
159a: c43e sw a5,8(sp)
|
|
159c: b78ff0ef jal ra,914 <GPIO_Init>
|
|
15a0: 0141 addi sp,sp,16
|
|
15a2: bf3fe06f j 194 <__riscv_restore_0>
|
|
|
|
000015a6 <BEEP_Init>:
|
|
15a6: bcbfe2ef jal t0,170 <__riscv_save_0>
|
|
15aa: 1141 addi sp,sp,-16
|
|
15ac: 4585 li a1,1
|
|
15ae: 4511 li a0,4
|
|
15b0: 85fff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
15b4: 6785 lui a5,0x1
|
|
15b6: 827c sh a5,4(sp)
|
|
15b8: 40011537 lui a0,0x40011
|
|
15bc: 47c1 li a5,16
|
|
15be: c63e sw a5,12(sp)
|
|
15c0: 004c addi a1,sp,4
|
|
15c2: 478d li a5,3
|
|
15c4: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
15c8: c43e sw a5,8(sp)
|
|
15ca: b4aff0ef jal ra,914 <GPIO_Init>
|
|
15ce: 0141 addi sp,sp,16
|
|
15d0: bc5fe06f j 194 <__riscv_restore_0>
|
|
|
|
000015d4 <POW_OUT_CON_Init>:
|
|
15d4: b9dfe2ef jal t0,170 <__riscv_save_0>
|
|
15d8: 1141 addi sp,sp,-16
|
|
15da: 4585 li a1,1
|
|
15dc: 4521 li a0,8
|
|
15de: 831ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
15e2: 10000793 li a5,256
|
|
15e6: 827c sh a5,4(sp)
|
|
15e8: 40011537 lui a0,0x40011
|
|
15ec: 47c1 li a5,16
|
|
15ee: c63e sw a5,12(sp)
|
|
15f0: 004c addi a1,sp,4
|
|
15f2: 478d li a5,3
|
|
15f4: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
15f8: c43e sw a5,8(sp)
|
|
15fa: b1aff0ef jal ra,914 <GPIO_Init>
|
|
15fe: 0141 addi sp,sp,16
|
|
1600: b95fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001604 <DSG_PROT_Init>:
|
|
1604: b6dfe2ef jal t0,170 <__riscv_save_0>
|
|
1608: 7179 addi sp,sp,-48
|
|
160a: 4585 li a1,1
|
|
160c: 4525 li a0,9
|
|
160e: 801ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1612: 4791 li a5,4
|
|
1614: 40011537 lui a0,0x40011
|
|
1618: 82fc sh a5,20(sp)
|
|
161a: 084c addi a1,sp,20
|
|
161c: 04800793 li a5,72
|
|
1620: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1624: ce3e sw a5,28(sp)
|
|
1626: aeeff0ef jal ra,914 <GPIO_Init>
|
|
162a: 4589 li a1,2
|
|
162c: 4505 li a0,1
|
|
162e: ce0ff0ef jal ra,b0e <GPIO_EXTILineConfig>
|
|
1632: 4791 li a5,4
|
|
1634: 4405 li s0,1
|
|
1636: d03e sw a5,32(sp)
|
|
1638: 1008 addi a0,sp,32
|
|
163a: 47b1 li a5,12
|
|
163c: d43e sw a5,40(sp)
|
|
163e: d622 sw s0,44(sp)
|
|
1640: d202 sw zero,36(sp)
|
|
1642: a40ff0ef jal ra,882 <EXTI_Init>
|
|
1646: 11800793 li a5,280
|
|
164a: 867c sh a5,12(sp)
|
|
164c: 0068 addi a0,sp,12
|
|
164e: 4789 li a5,2
|
|
1650: 875c sb a5,14(sp)
|
|
1652: c822 sw s0,16(sp)
|
|
1654: e7cff0ef jal ra,cd0 <NVIC_Init>
|
|
1658: 6145 addi sp,sp,48
|
|
165a: b3bfe06f j 194 <__riscv_restore_0>
|
|
|
|
0000165e <EXTI2_IRQHandler>:
|
|
165e: 4511 li a0,4
|
|
1660: a8cff0ef jal ra,8ec <EXTI_GetITStatus>
|
|
1664: 4785 li a5,1
|
|
1666: 02f51363 bne a0,a5,168c <EXTI2_IRQHandler+0x2e>
|
|
166a: 00005537 lui a0,0x5
|
|
166e: ab450513 addi a0,a0,-1356 # 4ab4 <_read+0x44>
|
|
1672: 360020ef jal ra,39d2 <puts>
|
|
1676: 40011537 lui a0,0x40011
|
|
167a: c0050513 addi a0,a0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
167e: 4601 li a2,0
|
|
1680: 4591 li a1,4
|
|
1682: b56ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
1686: 4511 li a0,4
|
|
1688: a82ff0ef jal ra,90a <EXTI_ClearITPendingBit>
|
|
168c: 30200073 mret
|
|
|
|
00001690 <PWM_GPIO_Configuration>:
|
|
1690: ae1fe2ef jal t0,170 <__riscv_save_0>
|
|
1694: 1141 addi sp,sp,-16
|
|
1696: 4585 li a1,1
|
|
1698: 4521 li a0,8
|
|
169a: f74ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
169e: 4585 li a1,1
|
|
16a0: 4511 li a0,4
|
|
16a2: f8aff0ef jal ra,e2c <RCC_PB1PeriphClockCmd>
|
|
16a6: 20000793 li a5,512
|
|
16aa: 40011437 lui s0,0x40011
|
|
16ae: 827c sh a5,4(sp)
|
|
16b0: 47e1 li a5,24
|
|
16b2: c63e sw a5,12(sp)
|
|
16b4: 004c addi a1,sp,4
|
|
16b6: 478d li a5,3
|
|
16b8: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
16bc: c43e sw a5,8(sp)
|
|
16be: a56ff0ef jal ra,914 <GPIO_Init>
|
|
16c2: 08000793 li a5,128
|
|
16c6: 004c addi a1,sp,4
|
|
16c8: c0040513 addi a0,s0,-1024
|
|
16cc: 827c sh a5,4(sp)
|
|
16ce: a46ff0ef jal ra,914 <GPIO_Init>
|
|
16d2: 0141 addi sp,sp,16
|
|
16d4: ac1fe06f j 194 <__riscv_restore_0>
|
|
|
|
000016d8 <PWM_TIM_Configuration>:
|
|
16d8: a99fe2ef jal t0,170 <__riscv_save_0>
|
|
16dc: 1101 addi sp,sp,-32
|
|
16de: 3f4d jal 1690 <PWM_GPIO_Configuration>
|
|
16e0: 40001437 lui s0,0x40001
|
|
16e4: 0c700793 li a5,199
|
|
16e8: 858a mv a1,sp
|
|
16ea: 80040513 addi a0,s0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
16ee: c03e sw a5,0(sp)
|
|
16f0: c202 sw zero,4(sp)
|
|
16f2: 00011423 sh zero,8(sp)
|
|
16f6: 00010523 sb zero,10(sp)
|
|
16fa: fccff0ef jal ra,ec6 <TIM_TimeBaseInit>
|
|
16fe: 80040513 addi a0,s0,-2048
|
|
1702: 4585 li a1,1
|
|
1704: 99dff0ef jal ra,10a0 <TIM_ARRPreloadConfig>
|
|
1708: 67c1 lui a5,0x10
|
|
170a: 06078793 addi a5,a5,96 # 10060 <_data_lma+0xb1f8>
|
|
170e: 006c addi a1,sp,12
|
|
1710: 80040513 addi a0,s0,-2048
|
|
1714: c83e sw a5,16(sp)
|
|
1716: 00011b23 sh zero,22(sp)
|
|
171a: c602 sw zero,12(sp)
|
|
171c: 8c9ff0ef jal ra,fe4 <TIM_OC4Init>
|
|
1720: 80040513 addi a0,s0,-2048
|
|
1724: 45a1 li a1,8
|
|
1726: 9abff0ef jal ra,10d0 <TIM_OC4PreloadConfig>
|
|
172a: 006c addi a1,sp,12
|
|
172c: 80040513 addi a0,s0,-2048
|
|
1730: 80dff0ef jal ra,f3c <TIM_OC2Init>
|
|
1734: 80040513 addi a0,s0,-2048
|
|
1738: 4581 li a1,0
|
|
173a: 981ff0ef jal ra,10ba <TIM_OC2PreloadConfig>
|
|
173e: 80040513 addi a0,s0,-2048
|
|
1742: 4585 li a1,1
|
|
1744: 91dff0ef jal ra,1060 <TIM_Cmd>
|
|
1748: 4585 li a1,1
|
|
174a: 80040513 addi a0,s0,-2048
|
|
174e: 92bff0ef jal ra,1078 <TIM_CtrlPWMOutputs>
|
|
1752: 6105 addi sp,sp,32
|
|
1754: a41fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001758 <Set_duty_ratio>:
|
|
1758: a19fe2ef jal t0,170 <__riscv_save_0>
|
|
175c: 4100 lw s0,0(a0)
|
|
175e: 84aa mv s1,a0
|
|
1760: 00000593 li a1,0
|
|
1764: 8522 mv a0,s0
|
|
1766: 5f4010ef jal ra,2d5a <__lesf2>
|
|
176a: 00055763 bgez a0,1778 <Set_duty_ratio+0x20>
|
|
176e: 00000793 li a5,0
|
|
1772: c09c sw a5,0(s1)
|
|
1774: a21fe06f j 194 <__riscv_restore_0>
|
|
1778: 000057b7 lui a5,0x5
|
|
177c: ac47a903 lw s2,-1340(a5) # 4ac4 <_read+0x54>
|
|
1780: 8522 mv a0,s0
|
|
1782: 85ca mv a1,s2
|
|
1784: 550010ef jal ra,2cd4 <__gesf2>
|
|
1788: 00a05563 blez a0,1792 <Set_duty_ratio+0x3a>
|
|
178c: 0124a023 sw s2,0(s1)
|
|
1790: b7d5 j 1774 <Set_duty_ratio+0x1c>
|
|
1792: 000057b7 lui a5,0x5
|
|
1796: ac87a583 lw a1,-1336(a5) # 4ac8 <_read+0x58>
|
|
179a: 8522 mv a0,s0
|
|
179c: 64a010ef jal ra,2de6 <__mulsf3>
|
|
17a0: 4c5010ef jal ra,3464 <__fixunssfsi>
|
|
17a4: 01051593 slli a1,a0,0x10
|
|
17a8: 40001537 lui a0,0x40001
|
|
17ac: 81c1 srli a1,a1,0x10
|
|
17ae: 80050513 addi a0,a0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
17b2: 94bff0ef jal ra,10fc <TIM_SetCompare4>
|
|
17b6: bf7d j 1774 <Set_duty_ratio+0x1c>
|
|
|
|
000017b8 <GW_485_Init>:
|
|
17b8: 9b9fe2ef jal t0,170 <__riscv_save_0>
|
|
17bc: 7179 addi sp,sp,-48
|
|
17be: 40011437 lui s0,0x40011
|
|
17c2: 47c1 li a5,16
|
|
17c4: 892a mv s2,a0
|
|
17c6: 82fc sh a5,20(sp)
|
|
17c8: 448d li s1,3
|
|
17ca: 47c1 li a5,16
|
|
17cc: 084c addi a1,sp,20
|
|
17ce: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
17d2: ce3e sw a5,28(sp)
|
|
17d4: cc26 sw s1,24(sp)
|
|
17d6: 93eff0ef jal ra,914 <GPIO_Init>
|
|
17da: 4601 li a2,0
|
|
17dc: c0040513 addi a0,s0,-1024
|
|
17e0: 45c1 li a1,16
|
|
17e2: 9f6ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
17e6: 4585 li a1,1
|
|
17e8: 4521 li a0,8
|
|
17ea: e24ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
17ee: 4585 li a1,1
|
|
17f0: 00080537 lui a0,0x80
|
|
17f4: e38ff0ef jal ra,e2c <RCC_PB1PeriphClockCmd>
|
|
17f8: 4785 li a5,1
|
|
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: 4489 li s1,2
|
|
180e: 4791 li a5,4
|
|
1810: 084c addi a1,sp,20
|
|
1812: c0040513 addi a0,s0,-1024
|
|
1816: 82e4 sh s1,20(sp)
|
|
1818: 40005437 lui s0,0x40005
|
|
181c: ce3e sw a5,28(sp)
|
|
181e: 8f6ff0ef jal ra,914 <GPIO_Init>
|
|
1822: 100c addi a1,sp,32
|
|
1824: 000c07b7 lui a5,0xc0
|
|
1828: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
182c: d04a sw s2,32(sp)
|
|
182e: d43e sw a5,40(sp)
|
|
1830: d202 sw zero,36(sp)
|
|
1832: 02011623 sh zero,44(sp)
|
|
1836: 901ff0ef jal ra,1136 <USART_Init>
|
|
183a: 13d00793 li a5,317
|
|
183e: 867c sh a5,12(sp)
|
|
1840: 0068 addi a0,sp,12
|
|
1842: 4785 li a5,1
|
|
1844: c83e sw a5,16(sp)
|
|
1846: 8744 sb s1,14(sp)
|
|
1848: c88ff0ef jal ra,cd0 <NVIC_Init>
|
|
184c: 4605 li a2,1
|
|
184e: c0040513 addi a0,s0,-1024
|
|
1852: 52500593 li a1,1317
|
|
1856: 9b1ff0ef jal ra,1206 <USART_ITConfig>
|
|
185a: 4585 li a1,1
|
|
185c: c0040513 addi a0,s0,-1024
|
|
1860: 991ff0ef jal ra,11f0 <USART_Cmd>
|
|
1864: 6145 addi sp,sp,48
|
|
1866: 92ffe06f j 194 <__riscv_restore_0>
|
|
|
|
0000186a <BAT_485_Init>:
|
|
186a: 907fe2ef jal t0,170 <__riscv_save_0>
|
|
186e: 7179 addi sp,sp,-48
|
|
1870: 40011437 lui s0,0x40011
|
|
1874: 02000793 li a5,32
|
|
1878: 892a mv s2,a0
|
|
187a: 82fc sh a5,20(sp)
|
|
187c: 448d li s1,3
|
|
187e: 47c1 li a5,16
|
|
1880: 084c addi a1,sp,20
|
|
1882: c0040513 addi a0,s0,-1024 # 40010c00 <_eusrstack+0x2000bc00>
|
|
1886: ce3e sw a5,28(sp)
|
|
1888: cc26 sw s1,24(sp)
|
|
188a: 88aff0ef jal ra,914 <GPIO_Init>
|
|
188e: 4601 li a2,0
|
|
1890: c0040513 addi a0,s0,-1024
|
|
1894: 02000593 li a1,32
|
|
1898: 940ff0ef jal ra,9d8 <GPIO_WriteBit>
|
|
189c: 4585 li a1,1
|
|
189e: 4521 li a0,8
|
|
18a0: d6eff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
18a4: 4585 li a1,1
|
|
18a6: 00040537 lui a0,0x40
|
|
18aa: d82ff0ef jal ra,e2c <RCC_PB1PeriphClockCmd>
|
|
18ae: 40000793 li a5,1024
|
|
18b2: 82fc sh a5,20(sp)
|
|
18b4: 084c addi a1,sp,20
|
|
18b6: 47e1 li a5,24
|
|
18b8: c0040513 addi a0,s0,-1024
|
|
18bc: cc26 sw s1,24(sp)
|
|
18be: ce3e sw a5,28(sp)
|
|
18c0: 854ff0ef jal ra,914 <GPIO_Init>
|
|
18c4: 6785 lui a5,0x1
|
|
18c6: 80078793 addi a5,a5,-2048 # 800 <__stack_size>
|
|
18ca: 82fc sh a5,20(sp)
|
|
18cc: 084c addi a1,sp,20
|
|
18ce: 4791 li a5,4
|
|
18d0: c0040513 addi a0,s0,-1024
|
|
18d4: ce3e sw a5,28(sp)
|
|
18d6: 40005437 lui s0,0x40005
|
|
18da: 83aff0ef jal ra,914 <GPIO_Init>
|
|
18de: 100c addi a1,sp,32
|
|
18e0: 000c07b7 lui a5,0xc0
|
|
18e4: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
18e8: d04a sw s2,32(sp)
|
|
18ea: d43e sw a5,40(sp)
|
|
18ec: d202 sw zero,36(sp)
|
|
18ee: 02011623 sh zero,44(sp)
|
|
18f2: 845ff0ef jal ra,1136 <USART_Init>
|
|
18f6: 13700793 li a5,311
|
|
18fa: 867c sh a5,12(sp)
|
|
18fc: 4785 li a5,1
|
|
18fe: 875c sb a5,14(sp)
|
|
1900: 0068 addi a0,sp,12
|
|
1902: 4785 li a5,1
|
|
1904: c83e sw a5,16(sp)
|
|
1906: bcaff0ef jal ra,cd0 <NVIC_Init>
|
|
190a: 4605 li a2,1
|
|
190c: 80040513 addi a0,s0,-2048
|
|
1910: 52500593 li a1,1317
|
|
1914: 8f3ff0ef jal ra,1206 <USART_ITConfig>
|
|
1918: 4585 li a1,1
|
|
191a: 80040513 addi a0,s0,-2048
|
|
191e: 8d3ff0ef jal ra,11f0 <USART_Cmd>
|
|
1922: 6145 addi sp,sp,48
|
|
1924: 871fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001928 <USART3_IRQHandler>:
|
|
1928: 1141 addi sp,sp,-16
|
|
192a: c622 sw s0,12(sp)
|
|
192c: 40005437 lui s0,0x40005
|
|
1930: 52500593 li a1,1317
|
|
1934: 80040513 addi a0,s0,-2048 # 40004800 <_eusrstack+0x1ffff800>
|
|
1938: 91fff0ef jal ra,1256 <USART_GetITStatus>
|
|
193c: c50d beqz a0,1966 <USART3_IRQHandler+0x3e>
|
|
193e: 80040513 addi a0,s0,-2048
|
|
1942: 903ff0ef jal ra,1244 <USART_ReceiveData>
|
|
1946: 0ff57593 andi a1,a0,255
|
|
194a: 84b18023 sb a1,-1984(gp) # 20000118 <USART3_Rbuffer>
|
|
194e: 8601a503 lw a0,-1952(gp) # 20000138 <g_bat485_uart3_handle>
|
|
1952: 4d1c lw a5,24(a0)
|
|
1954: 4910 lw a2,16(a0)
|
|
1956: 4954 lw a3,20(a0)
|
|
1958: 0785 addi a5,a5,1
|
|
195a: 02c7e7b3 rem a5,a5,a2
|
|
195e: 00d78463 beq a5,a3,1966 <USART3_IRQHandler+0x3e>
|
|
1962: 0531 addi a0,a0,12
|
|
1964: 243d jal 1b92 <InRingQueue>
|
|
1966: 4432 lw s0,12(sp)
|
|
1968: 0141 addi sp,sp,16
|
|
196a: 30200073 mret
|
|
|
|
0000196e <USART4_IRQHandler>:
|
|
196e: 1141 addi sp,sp,-16
|
|
1970: c622 sw s0,12(sp)
|
|
1972: 40005437 lui s0,0x40005
|
|
1976: 52500593 li a1,1317
|
|
197a: c0040513 addi a0,s0,-1024 # 40004c00 <_eusrstack+0x1ffffc00>
|
|
197e: 8d9ff0ef jal ra,1256 <USART_GetITStatus>
|
|
1982: c50d beqz a0,19ac <USART4_IRQHandler+0x3e>
|
|
1984: c0040513 addi a0,s0,-1024
|
|
1988: 8bdff0ef jal ra,1244 <USART_ReceiveData>
|
|
198c: 0ff57593 andi a1,a0,255
|
|
1990: 84b18223 sb a1,-1980(gp) # 2000011c <USART4_Rbuffer>
|
|
1994: 8641a503 lw a0,-1948(gp) # 2000013c <g_gw485_uart4_handle>
|
|
1998: 4d1c lw a5,24(a0)
|
|
199a: 4910 lw a2,16(a0)
|
|
199c: 4954 lw a3,20(a0)
|
|
199e: 0785 addi a5,a5,1
|
|
19a0: 02c7e7b3 rem a5,a5,a2
|
|
19a4: 00d78463 beq a5,a3,19ac <USART4_IRQHandler+0x3e>
|
|
19a8: 0531 addi a0,a0,12
|
|
19aa: 22e5 jal 1b92 <InRingQueue>
|
|
19ac: 4432 lw s0,12(sp)
|
|
19ae: 0141 addi sp,sp,16
|
|
19b0: 30200073 mret
|
|
|
|
000019b4 <TIM3_Int_Init>:
|
|
19b4: fbcfe2ef jal t0,170 <__riscv_save_0>
|
|
19b8: 1101 addi sp,sp,-32
|
|
19ba: 84aa mv s1,a0
|
|
19bc: 842e mv s0,a1
|
|
19be: 4509 li a0,2
|
|
19c0: 4585 li a1,1
|
|
19c2: c6aff0ef jal ra,e2c <RCC_PB1PeriphClockCmd>
|
|
19c6: 84e0 sh s0,24(sp)
|
|
19c8: 40000437 lui s0,0x40000
|
|
19cc: 084c addi a1,sp,20
|
|
19ce: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
19d2: ca26 sw s1,20(sp)
|
|
19d4: 00011e23 sh zero,28(sp)
|
|
19d8: 00011d23 sh zero,26(sp)
|
|
19dc: ceaff0ef jal ra,ec6 <TIM_TimeBaseInit>
|
|
19e0: 4605 li a2,1
|
|
19e2: 4585 li a1,1
|
|
19e4: 40040513 addi a0,s0,1024
|
|
19e8: ea6ff0ef jal ra,108e <TIM_ITConfig>
|
|
19ec: 02d00793 li a5,45
|
|
19f0: 867c sh a5,12(sp)
|
|
19f2: 478d li a5,3
|
|
19f4: 875c sb a5,14(sp)
|
|
19f6: 0068 addi a0,sp,12
|
|
19f8: 4785 li a5,1
|
|
19fa: c83e sw a5,16(sp)
|
|
19fc: ad4ff0ef jal ra,cd0 <NVIC_Init>
|
|
1a00: 4585 li a1,1
|
|
1a02: 40040513 addi a0,s0,1024
|
|
1a06: e5aff0ef jal ra,1060 <TIM_Cmd>
|
|
1a0a: 6105 addi sp,sp,32
|
|
1a0c: f88fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001a10 <TIM3_Init>:
|
|
1a10: f60fe2ef jal t0,170 <__riscv_save_0>
|
|
1a14: 200007b7 lui a5,0x20000
|
|
1a18: 0d87a583 lw a1,216(a5) # 200000d8 <SystemCoreClock>
|
|
1a1c: 6789 lui a5,0x2
|
|
1a1e: 71078793 addi a5,a5,1808 # 2710 <__addsf3+0x58>
|
|
1a22: 02f5d5b3 divu a1,a1,a5
|
|
1a26: 4525 li a0,9
|
|
1a28: 15fd addi a1,a1,-1
|
|
1a2a: 05c2 slli a1,a1,0x10
|
|
1a2c: 81c1 srli a1,a1,0x10
|
|
1a2e: 3759 jal 19b4 <TIM3_Int_Init>
|
|
1a30: f64fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001a34 <TIM3_IRQHandler>:
|
|
1a34: 1141 addi sp,sp,-16
|
|
1a36: c622 sw s0,12(sp)
|
|
1a38: 40000437 lui s0,0x40000
|
|
1a3c: 4585 li a1,1
|
|
1a3e: 40040513 addi a0,s0,1024 # 40000400 <_eusrstack+0x1fffb400>
|
|
1a42: ed0ff0ef jal ra,1112 <TIM_GetITStatus>
|
|
1a46: c519 beqz a0,1a54 <TIM3_IRQHandler+0x20>
|
|
1a48: 4585 li a1,1
|
|
1a4a: 40040513 addi a0,s0,1024
|
|
1a4e: edcff0ef jal ra,112a <TIM_ClearITPendingBit>
|
|
1a52: 2221 jal 1b5a <TimeSliceOffset_Produce>
|
|
1a54: 4432 lw s0,12(sp)
|
|
1a56: 0141 addi sp,sp,16
|
|
1a58: 30200073 mret
|
|
|
|
00001a5c <TIM2_Int_Init>:
|
|
1a5c: f14fe2ef jal t0,170 <__riscv_save_0>
|
|
1a60: 1101 addi sp,sp,-32
|
|
1a62: 842e mv s0,a1
|
|
1a64: 84aa mv s1,a0
|
|
1a66: 4585 li a1,1
|
|
1a68: 4505 li a0,1
|
|
1a6a: bc2ff0ef jal ra,e2c <RCC_PB1PeriphClockCmd>
|
|
1a6e: 084c addi a1,sp,20
|
|
1a70: 40000537 lui a0,0x40000
|
|
1a74: ca26 sw s1,20(sp)
|
|
1a76: 84e0 sh s0,24(sp)
|
|
1a78: 00011e23 sh zero,28(sp)
|
|
1a7c: 00011d23 sh zero,26(sp)
|
|
1a80: c46ff0ef jal ra,ec6 <TIM_TimeBaseInit>
|
|
1a84: 4605 li a2,1
|
|
1a86: 4585 li a1,1
|
|
1a88: 40000537 lui a0,0x40000
|
|
1a8c: e02ff0ef jal ra,108e <TIM_ITConfig>
|
|
1a90: 12c00793 li a5,300
|
|
1a94: 867c sh a5,12(sp)
|
|
1a96: 478d li a5,3
|
|
1a98: 875c sb a5,14(sp)
|
|
1a9a: 0068 addi a0,sp,12
|
|
1a9c: 4785 li a5,1
|
|
1a9e: c83e sw a5,16(sp)
|
|
1aa0: a30ff0ef jal ra,cd0 <NVIC_Init>
|
|
1aa4: 6105 addi sp,sp,32
|
|
1aa6: eeefe06f j 194 <__riscv_restore_0>
|
|
|
|
00001aaa <TIM2_Init>:
|
|
1aaa: ec6fe2ef jal t0,170 <__riscv_save_0>
|
|
1aae: 200007b7 lui a5,0x20000
|
|
1ab2: 0d87a583 lw a1,216(a5) # 200000d8 <SystemCoreClock>
|
|
1ab6: 3e800793 li a5,1000
|
|
1aba: 6515 lui a0,0x5
|
|
1abc: 02f5d5b3 divu a1,a1,a5
|
|
1ac0: e1f50513 addi a0,a0,-481 # 4e1f <__sf_fake_stdout+0x13>
|
|
1ac4: 15fd addi a1,a1,-1
|
|
1ac6: 05c2 slli a1,a1,0x10
|
|
1ac8: 81c1 srli a1,a1,0x10
|
|
1aca: 3f49 jal 1a5c <TIM2_Int_Init>
|
|
1acc: ec8fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001ad0 <TIM2_IRQHandler>:
|
|
1ad0: 4585 li a1,1
|
|
1ad2: 40000537 lui a0,0x40000
|
|
1ad6: e3cff0ef jal ra,1112 <TIM_GetITStatus>
|
|
1ada: cd11 beqz a0,1af6 <TIM2_IRQHandler+0x26>
|
|
1adc: 4585 li a1,1
|
|
1ade: 40000537 lui a0,0x40000
|
|
1ae2: e48ff0ef jal ra,112a <TIM_ClearITPendingBit>
|
|
1ae6: 4581 li a1,0
|
|
1ae8: 40000537 lui a0,0x40000
|
|
1aec: d74ff0ef jal ra,1060 <TIM_Cmd>
|
|
1af0: 4705 li a4,1
|
|
1af2: 80e18423 sb a4,-2040(gp) # 200000e0 <run_Broadcast>
|
|
1af6: 30200073 mret
|
|
|
|
00001afa <TimeSliceOffset_Register>:
|
|
1afa: c91d beqz a0,1b30 <TimeSliceOffset_Register+0x36>
|
|
1afc: 96b2 add a3,a3,a2
|
|
1afe: 06c2 slli a3,a3,0x10
|
|
1b00: 82c1 srli a3,a3,0x10
|
|
1b02: a152 sh a2,4(a0)
|
|
1b04: a136 sh a3,2(a0)
|
|
1b06: c50c sw a1,8(a0)
|
|
1b08: ee09 bnez a2,1b22 <TimeSliceOffset_Register+0x28>
|
|
1b0a: 4785 li a5,1
|
|
1b0c: a11c sb a5,0(a0)
|
|
1b0e: 8481a683 lw a3,-1976(gp) # 20000120 <pTimeSliceList>
|
|
1b12: 84818793 addi a5,gp,-1976 # 20000120 <pTimeSliceList>
|
|
1b16: 8736 mv a4,a3
|
|
1b18: eb01 bnez a4,1b28 <TimeSliceOffset_Register+0x2e>
|
|
1b1a: c554 sw a3,12(a0)
|
|
1b1c: c388 sw a0,0(a5)
|
|
1b1e: 4501 li a0,0
|
|
1b20: 8082 ret
|
|
1b22: 00050023 sb zero,0(a0) # 40000000 <_eusrstack+0x1fffb000>
|
|
1b26: b7e5 j 1b0e <TimeSliceOffset_Register+0x14>
|
|
1b28: 00a70663 beq a4,a0,1b34 <TimeSliceOffset_Register+0x3a>
|
|
1b2c: 4758 lw a4,12(a4)
|
|
1b2e: b7ed j 1b18 <TimeSliceOffset_Register+0x1e>
|
|
1b30: 557d li a0,-1
|
|
1b32: 8082 ret
|
|
1b34: 4505 li a0,1
|
|
1b36: 8082 ret
|
|
|
|
00001b38 <TimeSliceOffset_Start>:
|
|
1b38: e38fe2ef jal t0,170 <__riscv_save_0>
|
|
1b3c: 8481a403 lw s0,-1976(gp) # 20000120 <pTimeSliceList>
|
|
1b40: dc75 beqz s0,1b3c <TimeSliceOffset_Start+0x4>
|
|
1b42: 201c lbu a5,0(s0)
|
|
1b44: 0ff7f793 andi a5,a5,255
|
|
1b48: c799 beqz a5,1b56 <TimeSliceOffset_Start+0x1e>
|
|
1b4a: 205e lhu a5,4(s0)
|
|
1b4c: c399 beqz a5,1b52 <TimeSliceOffset_Start+0x1a>
|
|
1b4e: 00040023 sb zero,0(s0)
|
|
1b52: 441c lw a5,8(s0)
|
|
1b54: 9782 jalr a5
|
|
1b56: 4440 lw s0,12(s0)
|
|
1b58: b7e5 j 1b40 <TimeSliceOffset_Start+0x8>
|
|
|
|
00001b5a <TimeSliceOffset_Produce>:
|
|
1b5a: 8481a783 lw a5,-1976(gp) # 20000120 <pTimeSliceList>
|
|
1b5e: 4605 li a2,1
|
|
1b60: e391 bnez a5,1b64 <TimeSliceOffset_Produce+0xa>
|
|
1b62: 8082 ret
|
|
1b64: 23d6 lhu a3,4(a5)
|
|
1b66: ce81 beqz a3,1b7e <TimeSliceOffset_Produce+0x24>
|
|
1b68: 23ba lhu a4,2(a5)
|
|
1b6a: 177d addi a4,a4,-1
|
|
1b6c: 0742 slli a4,a4,0x10
|
|
1b6e: 8341 srli a4,a4,0x10
|
|
1b70: a3ba sh a4,2(a5)
|
|
1b72: 23ba lhu a4,2(a5)
|
|
1b74: 0742 slli a4,a4,0x10
|
|
1b76: 8341 srli a4,a4,0x10
|
|
1b78: e319 bnez a4,1b7e <TimeSliceOffset_Produce+0x24>
|
|
1b7a: a390 sb a2,0(a5)
|
|
1b7c: a3b6 sh a3,2(a5)
|
|
1b7e: 47dc lw a5,12(a5)
|
|
1b80: b7c5 j 1b60 <TimeSliceOffset_Produce+0x6>
|
|
|
|
00001b82 <InitRingQueue>:
|
|
1b82: 00052623 sw zero,12(a0)
|
|
1b86: c10c sw a1,0(a0)
|
|
1b88: c150 sw a2,4(a0)
|
|
1b8a: 00052423 sw zero,8(a0)
|
|
1b8e: 4505 li a0,1
|
|
1b90: 8082 ret
|
|
|
|
00001b92 <InRingQueue>:
|
|
1b92: 455c lw a5,12(a0)
|
|
1b94: 4154 lw a3,4(a0)
|
|
1b96: 4518 lw a4,8(a0)
|
|
1b98: 0785 addi a5,a5,1
|
|
1b9a: 02d7e7b3 rem a5,a5,a3
|
|
1b9e: 00e78e63 beq a5,a4,1bba <InRingQueue+0x28>
|
|
1ba2: 4558 lw a4,12(a0)
|
|
1ba4: 411c lw a5,0(a0)
|
|
1ba6: 97ba add a5,a5,a4
|
|
1ba8: a38c sb a1,0(a5)
|
|
1baa: 455c lw a5,12(a0)
|
|
1bac: 4158 lw a4,4(a0)
|
|
1bae: 0785 addi a5,a5,1
|
|
1bb0: 02e7e7b3 rem a5,a5,a4
|
|
1bb4: c55c sw a5,12(a0)
|
|
1bb6: 4505 li a0,1
|
|
1bb8: 8082 ret
|
|
1bba: 5579 li a0,-2
|
|
1bbc: 8082 ret
|
|
|
|
00001bbe <Delay_Init>:
|
|
1bbe: 200007b7 lui a5,0x20000
|
|
1bc2: 0d87a783 lw a5,216(a5) # 200000d8 <SystemCoreClock>
|
|
1bc6: 6709 lui a4,0x2
|
|
1bc8: f4070713 addi a4,a4,-192 # 1f40 <Task_RunLED+0x12>
|
|
1bcc: 02e7d7b3 divu a5,a5,a4
|
|
1bd0: 07c2 slli a5,a5,0x10
|
|
1bd2: 83c1 srli a5,a5,0x10
|
|
1bd4: 84f19723 sh a5,-1970(gp) # 20000126 <p_us>
|
|
1bd8: 84f19623 sh a5,-1972(gp) # 20000124 <p_ms>
|
|
1bdc: 8082 ret
|
|
|
|
00001bde <Delay_Us>:
|
|
1bde: e000f7b7 lui a5,0xe000f
|
|
1be2: 43d8 lw a4,4(a5)
|
|
1be4: 4681 li a3,0
|
|
1be6: 9b79 andi a4,a4,-2
|
|
1be8: c3d8 sw a4,4(a5)
|
|
1bea: 84e1d703 lhu a4,-1970(gp) # 20000126 <p_us>
|
|
1bee: 02a70533 mul a0,a4,a0
|
|
1bf2: 3e800713 li a4,1000
|
|
1bf6: 02e55633 divu a2,a0,a4
|
|
1bfa: cb90 sw a2,16(a5)
|
|
1bfc: cbd4 sw a3,20(a5)
|
|
1bfe: 4398 lw a4,0(a5)
|
|
1c00: 01076713 ori a4,a4,16
|
|
1c04: c398 sw a4,0(a5)
|
|
1c06: 4398 lw a4,0(a5)
|
|
1c08: 02176713 ori a4,a4,33
|
|
1c0c: c398 sw a4,0(a5)
|
|
1c0e: 43d8 lw a4,4(a5)
|
|
1c10: 8b05 andi a4,a4,1
|
|
1c12: df75 beqz a4,1c0e <Delay_Us+0x30>
|
|
1c14: 4398 lw a4,0(a5)
|
|
1c16: 9b79 andi a4,a4,-2
|
|
1c18: c398 sw a4,0(a5)
|
|
1c1a: 8082 ret
|
|
|
|
00001c1c <USART_Printf_Init>:
|
|
1c1c: d54fe2ef jal t0,170 <__riscv_save_0>
|
|
1c20: 842a mv s0,a0
|
|
1c22: 6511 lui a0,0x4
|
|
1c24: 1101 addi sp,sp,-32
|
|
1c26: 4585 li a1,1
|
|
1c28: 0511 addi a0,a0,4
|
|
1c2a: 9e4ff0ef jal ra,e0e <RCC_PB2PeriphClockCmd>
|
|
1c2e: 20000793 li a5,512
|
|
1c32: 827c sh a5,4(sp)
|
|
1c34: 40011537 lui a0,0x40011
|
|
1c38: 478d li a5,3
|
|
1c3a: c43e sw a5,8(sp)
|
|
1c3c: 004c addi a1,sp,4
|
|
1c3e: 47e1 li a5,24
|
|
1c40: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1c44: c63e sw a5,12(sp)
|
|
1c46: ccffe0ef jal ra,914 <GPIO_Init>
|
|
1c4a: c822 sw s0,16(sp)
|
|
1c4c: 40014437 lui s0,0x40014
|
|
1c50: 000807b7 lui a5,0x80
|
|
1c54: 080c addi a1,sp,16
|
|
1c56: 80040513 addi a0,s0,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1c5a: cc3e sw a5,24(sp)
|
|
1c5c: ca02 sw zero,20(sp)
|
|
1c5e: 00011e23 sh zero,28(sp)
|
|
1c62: cd4ff0ef jal ra,1136 <USART_Init>
|
|
1c66: 4585 li a1,1
|
|
1c68: 80040513 addi a0,s0,-2048
|
|
1c6c: d84ff0ef jal ra,11f0 <USART_Cmd>
|
|
1c70: 6105 addi sp,sp,32
|
|
1c72: d22fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001c76 <_write>:
|
|
1c76: ce0fe2ef jal t0,156 <__riscv_save_4>
|
|
1c7a: 400144b7 lui s1,0x40014
|
|
1c7e: 89ae mv s3,a1
|
|
1c80: 8932 mv s2,a2
|
|
1c82: 4401 li s0,0
|
|
1c84: 80048493 addi s1,s1,-2048 # 40013800 <_eusrstack+0x2000e800>
|
|
1c88: 01244563 blt s0,s2,1c92 <_write+0x1c>
|
|
1c8c: 854a mv a0,s2
|
|
1c8e: cfcfe06f j 18a <__riscv_restore_4>
|
|
1c92: 04000593 li a1,64
|
|
1c96: 8526 mv a0,s1
|
|
1c98: db4ff0ef jal ra,124c <USART_GetFlagStatus>
|
|
1c9c: d97d beqz a0,1c92 <_write+0x1c>
|
|
1c9e: 008987b3 add a5,s3,s0
|
|
1ca2: 00078583 lb a1,0(a5) # 80000 <_data_lma+0x7b198>
|
|
1ca6: 8526 mv a0,s1
|
|
1ca8: 0405 addi s0,s0,1
|
|
1caa: 05c2 slli a1,a1,0x10
|
|
1cac: 81c1 srli a1,a1,0x10
|
|
1cae: d8eff0ef jal ra,123c <USART_SendData>
|
|
1cb2: bfd9 j 1c88 <_write+0x12>
|
|
|
|
00001cb4 <_sbrk>:
|
|
1cb4: 80c18713 addi a4,gp,-2036 # 200000e4 <curbrk.5007>
|
|
1cb8: 431c lw a5,0(a4)
|
|
1cba: ab018693 addi a3,gp,-1360 # 20000388 <_ebss>
|
|
1cbe: 953e add a0,a0,a5
|
|
1cc0: 00d56b63 bltu a0,a3,1cd6 <_sbrk+0x22>
|
|
1cc4: 200056b7 lui a3,0x20005
|
|
1cc8: 80068693 addi a3,a3,-2048 # 20004800 <_heap_end>
|
|
1ccc: 00a6e563 bltu a3,a0,1cd6 <_sbrk+0x22>
|
|
1cd0: c308 sw a0,0(a4)
|
|
1cd2: 853e mv a0,a5
|
|
1cd4: 8082 ret
|
|
1cd6: 57fd li a5,-1
|
|
1cd8: bfed j 1cd2 <_sbrk+0x1e>
|
|
|
|
00001cda <get_adc>:
|
|
1cda: c96fe2ef jal t0,170 <__riscv_save_0>
|
|
1cde: 40012437 lui s0,0x40012
|
|
1ce2: 85aa mv a1,a0
|
|
1ce4: 4695 li a3,5
|
|
1ce6: 4605 li a2,1
|
|
1ce8: 40040513 addi a0,s0,1024 # 40012400 <_eusrstack+0x2000d400>
|
|
1cec: 8a7fe0ef jal ra,592 <ADC_RegularChannelConfig>
|
|
1cf0: 4585 li a1,1
|
|
1cf2: 40040513 addi a0,s0,1024
|
|
1cf6: 885fe0ef jal ra,57a <ADC_SoftwareStartConvCmd>
|
|
1cfa: 40040493 addi s1,s0,1024
|
|
1cfe: 4589 li a1,2
|
|
1d00: 8526 mv a0,s1
|
|
1d02: 951fe0ef jal ra,652 <ADC_GetFlagStatus>
|
|
1d06: dd65 beqz a0,1cfe <get_adc+0x24>
|
|
1d08: 40040513 addi a0,s0,1024
|
|
1d0c: 93ffe0ef jal ra,64a <ADC_GetConversionValue>
|
|
1d10: c84fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001d14 <Get_ConversionVal>:
|
|
1d14: 83c19703 lh a4,-1988(gp) # 20000114 <Calibrattion_Val>
|
|
1d18: 4781 li a5,0
|
|
1d1a: 972a add a4,a4,a0
|
|
1d1c: 00074f63 bltz a4,1d3a <Get_ConversionVal+0x26>
|
|
1d20: cd09 beqz a0,1d3a <Get_ConversionVal+0x26>
|
|
1d22: 6605 lui a2,0x1
|
|
1d24: fff60693 addi a3,a2,-1 # fff <TIM_OC4Init+0x1b>
|
|
1d28: 87b6 mv a5,a3
|
|
1d2a: 00c75863 bge a4,a2,1d3a <Get_ConversionVal+0x26>
|
|
1d2e: 87aa mv a5,a0
|
|
1d30: 00d50563 beq a0,a3,1d3a <Get_ConversionVal+0x26>
|
|
1d34: 01071793 slli a5,a4,0x10
|
|
1d38: 83c1 srli a5,a5,0x10
|
|
1d3a: 853e mv a0,a5
|
|
1d3c: 8082 ret
|
|
|
|
00001d3e <get_CHG_CURR>:
|
|
1d3e: c32fe2ef jal t0,170 <__riscv_save_0>
|
|
1d42: 4505 li a0,1
|
|
1d44: 3f59 jal 1cda <get_adc>
|
|
1d46: 0542 slli a0,a0,0x10
|
|
1d48: 8541 srai a0,a0,0x10
|
|
1d4a: 37e9 jal 1d14 <Get_ConversionVal>
|
|
1d4c: 76e010ef jal ra,34ba <__floatunsisf>
|
|
1d50: 000057b7 lui a5,0x5
|
|
1d54: acc7a583 lw a1,-1332(a5) # 4acc <_read+0x5c>
|
|
1d58: 4cb000ef jal ra,2a22 <__divsf3>
|
|
1d5c: 02d010ef jal ra,3588 <__extendsfdf2>
|
|
1d60: 000057b7 lui a5,0x5
|
|
1d64: ad07a603 lw a2,-1328(a5) # 4ad0 <_read+0x60>
|
|
1d68: ad47a683 lw a3,-1324(a5)
|
|
1d6c: 2951 jal 2200 <__muldf3>
|
|
1d6e: 000057b7 lui a5,0x5
|
|
1d72: ad87a603 lw a2,-1320(a5) # 4ad8 <_read+0x68>
|
|
1d76: adc7a683 lw a3,-1316(a5)
|
|
1d7a: 2159 jal 2200 <__muldf3>
|
|
1d7c: 0b9010ef jal ra,3634 <__truncdfsf2>
|
|
1d80: c14fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001d84 <get_PV_VOLT_OUT>:
|
|
1d84: becfe2ef jal t0,170 <__riscv_save_0>
|
|
1d88: 4509 li a0,2
|
|
1d8a: 3f81 jal 1cda <get_adc>
|
|
1d8c: 0542 slli a0,a0,0x10
|
|
1d8e: 8541 srai a0,a0,0x10
|
|
1d90: 3751 jal 1d14 <Get_ConversionVal>
|
|
1d92: 728010ef jal ra,34ba <__floatunsisf>
|
|
1d96: 000057b7 lui a5,0x5
|
|
1d9a: acc7a583 lw a1,-1332(a5) # 4acc <_read+0x5c>
|
|
1d9e: 485000ef jal ra,2a22 <__divsf3>
|
|
1da2: 7e6010ef jal ra,3588 <__extendsfdf2>
|
|
1da6: 000057b7 lui a5,0x5
|
|
1daa: ad07a603 lw a2,-1328(a5) # 4ad0 <_read+0x60>
|
|
1dae: ad47a683 lw a3,-1324(a5)
|
|
1db2: 21b9 jal 2200 <__muldf3>
|
|
1db4: 000057b7 lui a5,0x5
|
|
1db8: ae07a603 lw a2,-1312(a5) # 4ae0 <_read+0x70>
|
|
1dbc: ae47a683 lw a3,-1308(a5)
|
|
1dc0: 2181 jal 2200 <__muldf3>
|
|
1dc2: 073010ef jal ra,3634 <__truncdfsf2>
|
|
1dc6: bcefe06f j 194 <__riscv_restore_0>
|
|
|
|
00001dca <read_config_info>:
|
|
1dca: ba6fe2ef jal t0,170 <__riscv_save_0>
|
|
1dce: 1101 addi sp,sp,-32
|
|
1dd0: 850a mv a0,sp
|
|
1dd2: 4679 li a2,30
|
|
1dd4: 4581 li a1,0
|
|
1dd6: eaaff0ef jal ra,1480 <SPI_Flash_Read>
|
|
1dda: 8018 lbu a4,0(sp)
|
|
1ddc: 05300793 li a5,83
|
|
1de0: 4501 li a0,0
|
|
1de2: 00f71b63 bne a4,a5,1df8 <read_config_info+0x2e>
|
|
1de6: 20000537 lui a0,0x20000
|
|
1dea: 4679 li a2,30
|
|
1dec: 858a mv a1,sp
|
|
1dee: 02050513 addi a0,a0,32 # 20000020 <g_slConfigInfo>
|
|
1df2: 21b010ef jal ra,380c <memcpy>
|
|
1df6: 4505 li a0,1
|
|
1df8: 6105 addi sp,sp,32
|
|
1dfa: b9afe06f j 194 <__riscv_restore_0>
|
|
|
|
00001dfe <Get_OutputPower>:
|
|
1dfe: b58fe2ef jal t0,156 <__riscv_save_4>
|
|
1e02: 1141 addi sp,sp,-16
|
|
1e04: 3741 jal 1d84 <get_PV_VOLT_OUT>
|
|
1e06: 85418413 addi s0,gp,-1964 # 2000012c <V_out.5082>
|
|
1e0a: c008 sw a0,0(s0)
|
|
1e0c: 3f0d jal 1d3e <get_CHG_CURR>
|
|
1e0e: 4004 lw s1,0(s0)
|
|
1e10: 89aa mv s3,a0
|
|
1e12: 00005937 lui s2,0x5
|
|
1e16: 85a6 mv a1,s1
|
|
1e18: 7cf000ef jal ra,2de6 <__mulsf3>
|
|
1e1c: ae892583 lw a1,-1304(s2) # 4ae8 <_read+0x78>
|
|
1e20: 85018413 addi s0,gp,-1968 # 20000128 <OutputPower.5081>
|
|
1e24: c008 sw a0,0(s0)
|
|
1e26: 7c1000ef jal ra,2de6 <__mulsf3>
|
|
1e2a: 5d8010ef jal ra,3402 <__fixsfsi>
|
|
1e2e: ae892583 lw a1,-1304(s2)
|
|
1e32: c62a sw a0,12(sp)
|
|
1e34: 854e mv a0,s3
|
|
1e36: 7b1000ef jal ra,2de6 <__mulsf3>
|
|
1e3a: 5c8010ef jal ra,3402 <__fixsfsi>
|
|
1e3e: 000057b7 lui a5,0x5
|
|
1e42: aec7a583 lw a1,-1300(a5) # 4aec <_read+0x7c>
|
|
1e46: c42a sw a0,8(sp)
|
|
1e48: 8526 mv a0,s1
|
|
1e4a: 79d000ef jal ra,2de6 <__mulsf3>
|
|
1e4e: 5b4010ef jal ra,3402 <__fixsfsi>
|
|
1e52: 46b2 lw a3,12(sp)
|
|
1e54: 4622 lw a2,8(sp)
|
|
1e56: 85aa mv a1,a0
|
|
1e58: 00005537 lui a0,0x5
|
|
1e5c: af050513 addi a0,a0,-1296 # 4af0 <_read+0x80>
|
|
1e60: 25f010ef jal ra,38be <iprintf>
|
|
1e64: 4008 lw a0,0(s0)
|
|
1e66: 0141 addi sp,sp,16
|
|
1e68: b22fe06f j 18a <__riscv_restore_4>
|
|
|
|
00001e6c <mppt_readJust>:
|
|
1e6c: aeafe2ef jal t0,156 <__riscv_save_4>
|
|
1e70: 3779 jal 1dfe <Get_OutputPower>
|
|
1e72: 000057b7 lui a5,0x5
|
|
1e76: 85818993 addi s3,gp,-1960 # 20000130 <last_OutputPower.5090>
|
|
1e7a: 81418413 addi s0,gp,-2028 # 200000ec <last_duty_ratio.5089>
|
|
1e7e: b287a583 lw a1,-1240(a5) # 4b28 <_read+0xb8>
|
|
1e82: 00a9a023 sw a0,0(s3)
|
|
1e86: 4008 lw a0,0(s0)
|
|
1e88: 81818493 addi s1,gp,-2024 # 200000f0 <step_pwm.5092>
|
|
1e8c: 75b000ef jal ra,2de6 <__mulsf3>
|
|
1e90: 572010ef jal ra,3402 <__fixsfsi>
|
|
1e94: 85aa mv a1,a0
|
|
1e96: 00005537 lui a0,0x5
|
|
1e9a: b3050513 addi a0,a0,-1232 # 4b30 <_read+0xc0>
|
|
1e9e: 221010ef jal ra,38be <iprintf>
|
|
1ea2: 408c lw a1,0(s1)
|
|
1ea4: 4008 lw a0,0(s0)
|
|
1ea6: 81018913 addi s2,gp,-2032 # 200000e8 <g_duty_ratio>
|
|
1eaa: 00f000ef jal ra,26b8 <__addsf3>
|
|
1eae: 00a92023 sw a0,0(s2)
|
|
1eb2: 81018513 addi a0,gp,-2032 # 200000e8 <g_duty_ratio>
|
|
1eb6: 8a3ff0ef jal ra,1758 <Set_duty_ratio>
|
|
1eba: 3791 jal 1dfe <Get_OutputPower>
|
|
1ebc: 0009a583 lw a1,0(s3)
|
|
1ec0: 615000ef jal ra,2cd4 <__gesf2>
|
|
1ec4: 00a05d63 blez a0,1ede <mppt_readJust+0x72>
|
|
1ec8: 00005537 lui a0,0x5
|
|
1ecc: b4c50513 addi a0,a0,-1204 # 4b4c <_read+0xdc>
|
|
1ed0: 303010ef jal ra,39d2 <puts>
|
|
1ed4: 00092783 lw a5,0(s2)
|
|
1ed8: c01c sw a5,0(s0)
|
|
1eda: ab0fe06f j 18a <__riscv_restore_4>
|
|
1ede: 408c lw a1,0(s1)
|
|
1ee0: 4008 lw a0,0(s0)
|
|
1ee2: 198010ef jal ra,307a <__subsf3>
|
|
1ee6: 00a92023 sw a0,0(s2)
|
|
1eea: 81018513 addi a0,gp,-2032 # 200000e8 <g_duty_ratio>
|
|
1eee: 86bff0ef jal ra,1758 <Set_duty_ratio>
|
|
1ef2: 3731 jal 1dfe <Get_OutputPower>
|
|
1ef4: 0009a583 lw a1,0(s3)
|
|
1ef8: 5dd000ef jal ra,2cd4 <__gesf2>
|
|
1efc: 00a05763 blez a0,1f0a <mppt_readJust+0x9e>
|
|
1f00: 00005537 lui a0,0x5
|
|
1f04: b7450513 addi a0,a0,-1164 # 4b74 <_read+0x104>
|
|
1f08: b7e1 j 1ed0 <mppt_readJust+0x64>
|
|
1f0a: 401c lw a5,0(s0)
|
|
1f0c: 81018513 addi a0,gp,-2032 # 200000e8 <g_duty_ratio>
|
|
1f10: 00f92023 sw a5,0(s2)
|
|
1f14: 845ff0ef jal ra,1758 <Set_duty_ratio>
|
|
1f18: 000057b7 lui a5,0x5
|
|
1f1c: b2c7a783 lw a5,-1236(a5) # 4b2c <_read+0xbc>
|
|
1f20: c09c sw a5,0(s1)
|
|
1f22: bf65 j 1eda <mppt_readJust+0x6e>
|
|
|
|
00001f24 <test>:
|
|
1f24: a4cfe2ef jal t0,170 <__riscv_save_0>
|
|
1f28: 3791 jal 1e6c <mppt_readJust>
|
|
1f2a: a6afe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f2e <Task_RunLED>:
|
|
1f2e: a42fe2ef jal t0,170 <__riscv_save_0>
|
|
1f32: 000057b7 lui a5,0x5
|
|
1f36: b287a583 lw a1,-1240(a5) # 4b28 <_read+0xb8>
|
|
1f3a: 8101a503 lw a0,-2032(gp) # 200000e8 <g_duty_ratio>
|
|
1f3e: 6a9000ef jal ra,2de6 <__mulsf3>
|
|
1f42: 4c0010ef jal ra,3402 <__fixsfsi>
|
|
1f46: 85aa mv a1,a0
|
|
1f48: 00005537 lui a0,0x5
|
|
1f4c: bb850513 addi a0,a0,-1096 # 4bb8 <_read+0x148>
|
|
1f50: 16f010ef jal ra,38be <iprintf>
|
|
1f54: 85c18793 addi a5,gp,-1956 # 20000134 <flag.5754>
|
|
1f58: 2390 lbu a2,0(a5)
|
|
1f5a: 40011537 lui a0,0x40011
|
|
1f5e: 10000593 li a1,256
|
|
1f62: 00163613 seqz a2,a2
|
|
1f66: 80050513 addi a0,a0,-2048 # 40010800 <_eusrstack+0x2000b800>
|
|
1f6a: a390 sb a2,0(a5)
|
|
1f6c: a6dfe0ef jal ra,9d8 <GPIO_WriteBit>
|
|
1f70: a24fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f74 <Task_mpptControl>:
|
|
1f74: 9fcfe2ef jal t0,170 <__riscv_save_0>
|
|
1f78: 3775 jal 1f24 <test>
|
|
1f7a: a1afe06f j 194 <__riscv_restore_0>
|
|
|
|
00001f7e <CapCharg>:
|
|
1f7e: 9f2fe2ef jal t0,170 <__riscv_save_0>
|
|
1f82: 40001437 lui s0,0x40001
|
|
1f86: 80040513 addi a0,s0,-2048 # 40000800 <_eusrstack+0x1fffb800>
|
|
1f8a: 4581 li a1,0
|
|
1f8c: 970ff0ef jal ra,10fc <TIM_SetCompare4>
|
|
1f90: 03200593 li a1,50
|
|
1f94: 80040513 addi a0,s0,-2048
|
|
1f98: 94eff0ef jal ra,10e6 <TIM_SetCompare2>
|
|
1f9c: 451d li a0,7
|
|
1f9e: c41ff0ef jal ra,1bde <Delay_Us>
|
|
1fa2: 80040513 addi a0,s0,-2048
|
|
1fa6: 4581 li a1,0
|
|
1fa8: 93eff0ef jal ra,10e6 <TIM_SetCompare2>
|
|
1fac: 08700593 li a1,135
|
|
1fb0: 80040513 addi a0,s0,-2048
|
|
1fb4: 948ff0ef jal ra,10fc <TIM_SetCompare4>
|
|
1fb8: 9dcfe06f j 194 <__riscv_restore_0>
|
|
|
|
00001fbc <Task_CapCharg>:
|
|
1fbc: 9b4fe2ef jal t0,170 <__riscv_save_0>
|
|
1fc0: 3bbd jal 1d3e <get_CHG_CURR>
|
|
1fc2: 5c6010ef jal ra,3588 <__extendsfdf2>
|
|
1fc6: 000057b7 lui a5,0x5
|
|
1fca: ba07a603 lw a2,-1120(a5) # 4ba0 <_read+0x130>
|
|
1fce: ba47a683 lw a3,-1116(a5)
|
|
1fd2: 2241 jal 2152 <__gedf2>
|
|
1fd4: 00a04f63 bgtz a0,1ff2 <Task_CapCharg+0x36>
|
|
1fd8: 00005737 lui a4,0x5
|
|
1fdc: b9c72703 lw a4,-1124(a4) # 4b9c <_read+0x12c>
|
|
1fe0: 00005537 lui a0,0x5
|
|
1fe4: ba850513 addi a0,a0,-1112 # 4ba8 <_read+0x138>
|
|
1fe8: 80e1a823 sw a4,-2032(gp) # 200000e8 <g_duty_ratio>
|
|
1fec: 1e7010ef jal ra,39d2 <puts>
|
|
1ff0: 3779 jal 1f7e <CapCharg>
|
|
1ff2: 9a2fe06f j 194 <__riscv_restore_0>
|
|
|
|
00001ff6 <g_Mppt_Para_Init>:
|
|
1ff6: 20000737 lui a4,0x20000
|
|
1ffa: 02070713 addi a4,a4,32 # 20000020 <g_slConfigInfo>
|
|
1ffe: 2334 lbu a3,2(a4)
|
|
2000: 86018823 sb zero,-1936(gp) # 20000148 <g_Mppt_Para>
|
|
2004: 860188a3 sb zero,-1935(gp) # 20000149 <g_Mppt_Para+0x1>
|
|
2008: 87018793 addi a5,gp,-1936 # 20000148 <g_Mppt_Para>
|
|
200c: a3b4 sb a3,2(a5)
|
|
200e: 3334 lbu a3,3(a4)
|
|
2010: b3b4 sb a3,3(a5)
|
|
2012: 2354 lbu a3,4(a4)
|
|
2014: a3d4 sb a3,4(a5)
|
|
2016: 3354 lbu a3,5(a4)
|
|
2018: b3d4 sb a3,5(a5)
|
|
201a: 2374 lbu a3,6(a4)
|
|
201c: a3f4 sb a3,6(a5)
|
|
201e: 3374 lbu a3,7(a4)
|
|
2020: b3f4 sb a3,7(a5)
|
|
2022: 2714 lbu a3,8(a4)
|
|
2024: a794 sb a3,8(a5)
|
|
2026: 3734 lbu a3,11(a4)
|
|
2028: 2730 lbu a2,10(a4)
|
|
202a: 06a2 slli a3,a3,0x8
|
|
202c: 8ed1 or a3,a3,a2
|
|
202e: b794 sb a3,9(a5)
|
|
2030: 82a1 srli a3,a3,0x8
|
|
2032: a7b4 sb a3,10(a5)
|
|
2034: 2754 lbu a3,12(a4)
|
|
2036: 3758 lbu a4,13(a4)
|
|
2038: 000786a3 sb zero,13(a5)
|
|
203c: 00078723 sb zero,14(a5)
|
|
2040: 0722 slli a4,a4,0x8
|
|
2042: 8f55 or a4,a4,a3
|
|
2044: b7b8 sb a4,11(a5)
|
|
2046: 8321 srli a4,a4,0x8
|
|
2048: a7d8 sb a4,12(a5)
|
|
204a: 000787a3 sb zero,15(a5)
|
|
204e: 00078823 sb zero,16(a5)
|
|
2052: 000788a3 sb zero,17(a5)
|
|
2056: 00078923 sb zero,18(a5)
|
|
205a: 000789a3 sb zero,19(a5)
|
|
205e: 00078a23 sb zero,20(a5)
|
|
2062: 00078aa3 sb zero,21(a5)
|
|
2066: 00078b23 sb zero,22(a5)
|
|
206a: 8082 ret
|
|
|
|
0000206c <task_Init>:
|
|
206c: 904fe2ef jal t0,170 <__riscv_save_0>
|
|
2070: d5bff0ef jal ra,1dca <read_config_info>
|
|
2074: 3749 jal 1ff6 <g_Mppt_Para_Init>
|
|
2076: 000025b7 lui a1,0x2
|
|
207a: 4681 li a3,0
|
|
207c: 3e800613 li a2,1000
|
|
2080: f2e58593 addi a1,a1,-210 # 1f2e <Task_RunLED>
|
|
2084: 8a818513 addi a0,gp,-1880 # 20000180 <m_runled>
|
|
2088: a73ff0ef jal ra,1afa <TimeSliceOffset_Register>
|
|
208c: 000025b7 lui a1,0x2
|
|
2090: 4681 li a3,0
|
|
2092: 4629 li a2,10
|
|
2094: f7458593 addi a1,a1,-140 # 1f74 <Task_mpptControl>
|
|
2098: 89818513 addi a0,gp,-1896 # 20000170 <m_mpptControl>
|
|
209c: a5fff0ef jal ra,1afa <TimeSliceOffset_Register>
|
|
20a0: 000025b7 lui a1,0x2
|
|
20a4: 88818793 addi a5,gp,-1912 # 20000160 <m_CapCharg>
|
|
20a8: 4705 li a4,1
|
|
20aa: 4681 li a3,0
|
|
20ac: 1f400613 li a2,500
|
|
20b0: fbc58593 addi a1,a1,-68 # 1fbc <Task_CapCharg>
|
|
20b4: 88818513 addi a0,gp,-1912 # 20000160 <m_CapCharg>
|
|
20b8: a398 sb a4,0(a5)
|
|
20ba: a41ff0ef jal ra,1afa <TimeSliceOffset_Register>
|
|
20be: a7bff0ef jal ra,1b38 <TimeSliceOffset_Start>
|
|
20c2: 8d2fe06f j 194 <__riscv_restore_0>
|
|
|
|
000020c6 <hardware_Init>:
|
|
20c6: 8aafe2ef jal t0,170 <__riscv_save_0>
|
|
20ca: 947ff0ef jal ra,1a10 <TIM3_Init>
|
|
20ce: 9ddff0ef jal ra,1aaa <TIM2_Init>
|
|
20d2: 280d jal 2104 <uart_dev_init>
|
|
20d4: e04ff0ef jal ra,16d8 <PWM_TIM_Configuration>
|
|
20d8: 9baff0ef jal ra,1292 <ADC_all_Init>
|
|
20dc: c68ff0ef jal ra,1544 <RUN_LED_Init>
|
|
20e0: c08ff0ef jal ra,14e8 <G_FFMOS_CON_Init>
|
|
20e4: c90ff0ef jal ra,1574 <WDI_INPUT_Init>
|
|
20e8: cbeff0ef jal ra,15a6 <BEEP_Init>
|
|
20ec: ce8ff0ef jal ra,15d4 <POW_OUT_CON_Init>
|
|
20f0: d14ff0ef jal ra,1604 <DSG_PROT_Init>
|
|
20f4: a8eff0ef jal ra,1382 <SPI_Flash_Init>
|
|
20f8: 81018513 addi a0,gp,-2032 # 200000e8 <g_duty_ratio>
|
|
20fc: e5cff0ef jal ra,1758 <Set_duty_ratio>
|
|
2100: 894fe06f j 194 <__riscv_restore_0>
|
|
|
|
00002104 <uart_dev_init>:
|
|
2104: 86cfe2ef jal t0,170 <__riscv_save_0>
|
|
2108: 20000437 lui s0,0x20000
|
|
210c: 04040413 addi s0,s0,64 # 20000040 <uart_devices>
|
|
2110: 0c800613 li a2,200
|
|
2114: 8b818593 addi a1,gp,-1864 # 20000190 <bat485_in_buff>
|
|
2118: 00c40513 addi a0,s0,12
|
|
211c: a67ff0ef jal ra,1b82 <InitRingQueue>
|
|
2120: 4408 lw a0,8(s0)
|
|
2122: 4485 li s1,1
|
|
2124: f46ff0ef jal ra,186a <BAT_485_Init>
|
|
2128: a004 sb s1,0(s0)
|
|
212a: 12c00613 li a2,300
|
|
212e: 98018593 addi a1,gp,-1664 # 20000258 <gw485_in_buff>
|
|
2132: 02840513 addi a0,s0,40
|
|
2136: 8681a023 sw s0,-1952(gp) # 20000138 <g_bat485_uart3_handle>
|
|
213a: a49ff0ef jal ra,1b82 <InitRingQueue>
|
|
213e: 5048 lw a0,36(s0)
|
|
2140: 0471 addi s0,s0,28
|
|
2142: e76ff0ef jal ra,17b8 <GW_485_Init>
|
|
2146: a004 sb s1,0(s0)
|
|
2148: 4501 li a0,0
|
|
214a: 8681a223 sw s0,-1948(gp) # 2000013c <g_gw485_uart4_handle>
|
|
214e: 846fe06f j 194 <__riscv_restore_0>
|
|
|
|
00002152 <__gedf2>:
|
|
2152: 0145d713 srli a4,a1,0x14
|
|
2156: 001007b7 lui a5,0x100
|
|
215a: 17fd addi a5,a5,-1
|
|
215c: 0146d813 srli a6,a3,0x14
|
|
2160: 7ff77713 andi a4,a4,2047
|
|
2164: 7ff00893 li a7,2047
|
|
2168: 00b7f333 and t1,a5,a1
|
|
216c: 8e2a mv t3,a0
|
|
216e: 8ff5 and a5,a5,a3
|
|
2170: 81fd srli a1,a1,0x1f
|
|
2172: 8eb2 mv t4,a2
|
|
2174: 7ff87813 andi a6,a6,2047
|
|
2178: 82fd srli a3,a3,0x1f
|
|
217a: 03170863 beq a4,a7,21aa <__gedf2+0x58>
|
|
217e: 03180063 beq a6,a7,219e <__gedf2+0x4c>
|
|
2182: eb0d bnez a4,21b4 <__gedf2+0x62>
|
|
2184: 00a368b3 or a7,t1,a0
|
|
2188: 00081463 bnez a6,2190 <__gedf2+0x3e>
|
|
218c: 8e5d or a2,a2,a5
|
|
218e: ca29 beqz a2,21e0 <__gedf2+0x8e>
|
|
2190: 04088563 beqz a7,21da <__gedf2+0x88>
|
|
2194: 02d58863 beq a1,a3,21c4 <__gedf2+0x72>
|
|
2198: 4505 li a0,1
|
|
219a: ed95 bnez a1,21d6 <__gedf2+0x84>
|
|
219c: 8082 ret
|
|
219e: 00c7e8b3 or a7,a5,a2
|
|
21a2: fe0880e3 beqz a7,2182 <__gedf2+0x30>
|
|
21a6: 5579 li a0,-2
|
|
21a8: 8082 ret
|
|
21aa: 00a36533 or a0,t1,a0
|
|
21ae: fd65 bnez a0,21a6 <__gedf2+0x54>
|
|
21b0: 02e80c63 beq a6,a4,21e8 <__gedf2+0x96>
|
|
21b4: 00081463 bnez a6,21bc <__gedf2+0x6a>
|
|
21b8: 8e5d or a2,a2,a5
|
|
21ba: de79 beqz a2,2198 <__gedf2+0x46>
|
|
21bc: fcd59ee3 bne a1,a3,2198 <__gedf2+0x46>
|
|
21c0: fce84ce3 blt a6,a4,2198 <__gedf2+0x46>
|
|
21c4: 01074863 blt a4,a6,21d4 <__gedf2+0x82>
|
|
21c8: fc67e8e3 bltu a5,t1,2198 <__gedf2+0x46>
|
|
21cc: 02f30363 beq t1,a5,21f2 <__gedf2+0xa0>
|
|
21d0: 00f37f63 bgeu t1,a5,21ee <__gedf2+0x9c>
|
|
21d4: e581 bnez a1,21dc <__gedf2+0x8a>
|
|
21d6: 557d li a0,-1
|
|
21d8: 8082 ret
|
|
21da: def5 beqz a3,21d6 <__gedf2+0x84>
|
|
21dc: 4505 li a0,1
|
|
21de: 8082 ret
|
|
21e0: 4501 li a0,0
|
|
21e2: fa089be3 bnez a7,2198 <__gedf2+0x46>
|
|
21e6: 8082 ret
|
|
21e8: 8e5d or a2,a2,a5
|
|
21ea: da69 beqz a2,21bc <__gedf2+0x6a>
|
|
21ec: bf6d j 21a6 <__gedf2+0x54>
|
|
21ee: 4501 li a0,0
|
|
21f0: 8082 ret
|
|
21f2: fbcee3e3 bltu t4,t3,2198 <__gedf2+0x46>
|
|
21f6: 4501 li a0,0
|
|
21f8: fbde72e3 bgeu t3,t4,219c <__gedf2+0x4a>
|
|
21fc: f1e5 bnez a1,21dc <__gedf2+0x8a>
|
|
21fe: bfe1 j 21d6 <__gedf2+0x84>
|
|
|
|
00002200 <__muldf3>:
|
|
2200: 7139 addi sp,sp,-64
|
|
2202: d84a sw s2,48(sp)
|
|
2204: 0145d913 srli s2,a1,0x14
|
|
2208: d64e sw s3,44(sp)
|
|
220a: d452 sw s4,40(sp)
|
|
220c: d256 sw s5,36(sp)
|
|
220e: 00c59993 slli s3,a1,0xc
|
|
2212: de06 sw ra,60(sp)
|
|
2214: dc22 sw s0,56(sp)
|
|
2216: da26 sw s1,52(sp)
|
|
2218: d05a sw s6,32(sp)
|
|
221a: ce5e sw s7,28(sp)
|
|
221c: 7ff97913 andi s2,s2,2047
|
|
2220: 8a2a mv s4,a0
|
|
2222: 00c9d993 srli s3,s3,0xc
|
|
2226: 01f5da93 srli s5,a1,0x1f
|
|
222a: 0e090d63 beqz s2,2324 <__muldf3+0x124>
|
|
222e: 7ff00793 li a5,2047
|
|
2232: 18f90663 beq s2,a5,23be <__muldf3+0x1be>
|
|
2236: 01d55413 srli s0,a0,0x1d
|
|
223a: 098e slli s3,s3,0x3
|
|
223c: 013469b3 or s3,s0,s3
|
|
2240: 00800437 lui s0,0x800
|
|
2244: 0089e433 or s0,s3,s0
|
|
2248: 00351493 slli s1,a0,0x3
|
|
224c: c0190913 addi s2,s2,-1023
|
|
2250: 4981 li s3,0
|
|
2252: 4b81 li s7,0
|
|
2254: 0146d713 srli a4,a3,0x14
|
|
2258: 00c69a13 slli s4,a3,0xc
|
|
225c: 7ff77713 andi a4,a4,2047
|
|
2260: 85b2 mv a1,a2
|
|
2262: 00ca5a13 srli s4,s4,0xc
|
|
2266: 01f6db13 srli s6,a3,0x1f
|
|
226a: 10070b63 beqz a4,2380 <__muldf3+0x180>
|
|
226e: 7ff00793 li a5,2047
|
|
2272: 04f70363 beq a4,a5,22b8 <__muldf3+0xb8>
|
|
2276: 01d65793 srli a5,a2,0x1d
|
|
227a: 0a0e slli s4,s4,0x3
|
|
227c: 0147ea33 or s4,a5,s4
|
|
2280: c0170713 addi a4,a4,-1023
|
|
2284: 008007b7 lui a5,0x800
|
|
2288: 00fa67b3 or a5,s4,a5
|
|
228c: 00361593 slli a1,a2,0x3
|
|
2290: 993a add s2,s2,a4
|
|
2292: 4881 li a7,0
|
|
2294: 016ac733 xor a4,s5,s6
|
|
2298: 46bd li a3,15
|
|
229a: 853a mv a0,a4
|
|
229c: 00190813 addi a6,s2,1
|
|
22a0: 1736e863 bltu a3,s3,2410 <__muldf3+0x210>
|
|
22a4: 00003617 auipc a2,0x3
|
|
22a8: 92860613 addi a2,a2,-1752 # 4bcc <_read+0x15c>
|
|
22ac: 098a slli s3,s3,0x2
|
|
22ae: 99b2 add s3,s3,a2
|
|
22b0: 0009a683 lw a3,0(s3)
|
|
22b4: 96b2 add a3,a3,a2
|
|
22b6: 8682 jr a3
|
|
22b8: 00ca67b3 or a5,s4,a2
|
|
22bc: 7ff90913 addi s2,s2,2047
|
|
22c0: 12079963 bnez a5,23f2 <__muldf3+0x1f2>
|
|
22c4: 0029e993 ori s3,s3,2
|
|
22c8: 4581 li a1,0
|
|
22ca: 4889 li a7,2
|
|
22cc: b7e1 j 2294 <__muldf3+0x94>
|
|
22ce: 4701 li a4,0
|
|
22d0: 7ff00793 li a5,2047
|
|
22d4: 00080437 lui s0,0x80
|
|
22d8: 4481 li s1,0
|
|
22da: 0432 slli s0,s0,0xc
|
|
22dc: 07d2 slli a5,a5,0x14
|
|
22de: 8031 srli s0,s0,0xc
|
|
22e0: 077e slli a4,a4,0x1f
|
|
22e2: 8c5d or s0,s0,a5
|
|
22e4: 8c59 or s0,s0,a4
|
|
22e6: 85a2 mv a1,s0
|
|
22e8: 50f2 lw ra,60(sp)
|
|
22ea: 5462 lw s0,56(sp)
|
|
22ec: 8526 mv a0,s1
|
|
22ee: 5942 lw s2,48(sp)
|
|
22f0: 54d2 lw s1,52(sp)
|
|
22f2: 59b2 lw s3,44(sp)
|
|
22f4: 5a22 lw s4,40(sp)
|
|
22f6: 5a92 lw s5,36(sp)
|
|
22f8: 5b02 lw s6,32(sp)
|
|
22fa: 4bf2 lw s7,28(sp)
|
|
22fc: 6121 addi sp,sp,64
|
|
22fe: 8082 ret
|
|
2300: 855a mv a0,s6
|
|
2302: 843e mv s0,a5
|
|
2304: 84ae mv s1,a1
|
|
2306: 8bc6 mv s7,a7
|
|
2308: 4789 li a5,2
|
|
230a: 0efb8d63 beq s7,a5,2404 <__muldf3+0x204>
|
|
230e: 478d li a5,3
|
|
2310: fafb8fe3 beq s7,a5,22ce <__muldf3+0xce>
|
|
2314: 4785 li a5,1
|
|
2316: 872a mv a4,a0
|
|
2318: 38fb9e63 bne s7,a5,26b4 <__muldf3+0x4b4>
|
|
231c: 4781 li a5,0
|
|
231e: 4401 li s0,0
|
|
2320: 4481 li s1,0
|
|
2322: bf65 j 22da <__muldf3+0xda>
|
|
2324: 00a9e433 or s0,s3,a0
|
|
2328: c061 beqz s0,23e8 <__muldf3+0x1e8>
|
|
232a: c636 sw a3,12(sp)
|
|
232c: c432 sw a2,8(sp)
|
|
232e: 2a098c63 beqz s3,25e6 <__muldf3+0x3e6>
|
|
2332: 854e mv a0,s3
|
|
2334: 46a010ef jal ra,379e <__clzsi2>
|
|
2338: 4622 lw a2,8(sp)
|
|
233a: 46b2 lw a3,12(sp)
|
|
233c: 87aa mv a5,a0
|
|
233e: ff550713 addi a4,a0,-11
|
|
2342: 4475 li s0,29
|
|
2344: ff878493 addi s1,a5,-8 # 7ffff8 <_data_lma+0x7fb190>
|
|
2348: 8c19 sub s0,s0,a4
|
|
234a: 009999b3 sll s3,s3,s1
|
|
234e: 008a5433 srl s0,s4,s0
|
|
2352: 01346433 or s0,s0,s3
|
|
2356: 009a14b3 sll s1,s4,s1
|
|
235a: 0146d713 srli a4,a3,0x14
|
|
235e: c0d00913 li s2,-1011
|
|
2362: 00c69a13 slli s4,a3,0xc
|
|
2366: 7ff77713 andi a4,a4,2047
|
|
236a: 40f90933 sub s2,s2,a5
|
|
236e: 4981 li s3,0
|
|
2370: 4b81 li s7,0
|
|
2372: 85b2 mv a1,a2
|
|
2374: 00ca5a13 srli s4,s4,0xc
|
|
2378: 01f6db13 srli s6,a3,0x1f
|
|
237c: ee0719e3 bnez a4,226e <__muldf3+0x6e>
|
|
2380: 00ca67b3 or a5,s4,a2
|
|
2384: c7b1 beqz a5,23d0 <__muldf3+0x1d0>
|
|
2386: 220a0f63 beqz s4,25c4 <__muldf3+0x3c4>
|
|
238a: 8552 mv a0,s4
|
|
238c: c432 sw a2,8(sp)
|
|
238e: 410010ef jal ra,379e <__clzsi2>
|
|
2392: 4622 lw a2,8(sp)
|
|
2394: 872a mv a4,a0
|
|
2396: ff550693 addi a3,a0,-11
|
|
239a: 47f5 li a5,29
|
|
239c: ff870593 addi a1,a4,-8
|
|
23a0: 8f95 sub a5,a5,a3
|
|
23a2: 00ba1a33 sll s4,s4,a1
|
|
23a6: 00f657b3 srl a5,a2,a5
|
|
23aa: 0147e7b3 or a5,a5,s4
|
|
23ae: 00b615b3 sll a1,a2,a1
|
|
23b2: 40e90933 sub s2,s2,a4
|
|
23b6: c0d90913 addi s2,s2,-1011
|
|
23ba: 4881 li a7,0
|
|
23bc: bde1 j 2294 <__muldf3+0x94>
|
|
23be: 00a9e433 or s0,s3,a0
|
|
23c2: ec01 bnez s0,23da <__muldf3+0x1da>
|
|
23c4: 49a1 li s3,8
|
|
23c6: 4481 li s1,0
|
|
23c8: 7ff00913 li s2,2047
|
|
23cc: 4b89 li s7,2
|
|
23ce: b559 j 2254 <__muldf3+0x54>
|
|
23d0: 0019e993 ori s3,s3,1
|
|
23d4: 4581 li a1,0
|
|
23d6: 4885 li a7,1
|
|
23d8: bd75 j 2294 <__muldf3+0x94>
|
|
23da: 844e mv s0,s3
|
|
23dc: 84aa mv s1,a0
|
|
23de: 49b1 li s3,12
|
|
23e0: 7ff00913 li s2,2047
|
|
23e4: 4b8d li s7,3
|
|
23e6: b5bd j 2254 <__muldf3+0x54>
|
|
23e8: 4991 li s3,4
|
|
23ea: 4481 li s1,0
|
|
23ec: 4901 li s2,0
|
|
23ee: 4b85 li s7,1
|
|
23f0: b595 j 2254 <__muldf3+0x54>
|
|
23f2: 0039e993 ori s3,s3,3
|
|
23f6: 87d2 mv a5,s4
|
|
23f8: 488d li a7,3
|
|
23fa: bd69 j 2294 <__muldf3+0x94>
|
|
23fc: 4789 li a5,2
|
|
23fe: 8556 mv a0,s5
|
|
2400: f0fb97e3 bne s7,a5,230e <__muldf3+0x10e>
|
|
2404: 872a mv a4,a0
|
|
2406: 7ff00793 li a5,2047
|
|
240a: 4401 li s0,0
|
|
240c: 4481 li s1,0
|
|
240e: b5f1 j 22da <__muldf3+0xda>
|
|
2410: 6ec1 lui t4,0x10
|
|
2412: fffe8613 addi a2,t4,-1 # ffff <_data_lma+0xb197>
|
|
2416: 0104d693 srli a3,s1,0x10
|
|
241a: 0105de13 srli t3,a1,0x10
|
|
241e: 8cf1 and s1,s1,a2
|
|
2420: 8df1 and a1,a1,a2
|
|
2422: 02958633 mul a2,a1,s1
|
|
2426: 02b68333 mul t1,a3,a1
|
|
242a: 01065893 srli a7,a2,0x10
|
|
242e: 029e0533 mul a0,t3,s1
|
|
2432: 951a add a0,a0,t1
|
|
2434: 98aa add a7,a7,a0
|
|
2436: 03c682b3 mul t0,a3,t3
|
|
243a: 0068f363 bgeu a7,t1,2440 <__muldf3+0x240>
|
|
243e: 92f6 add t0,t0,t4
|
|
2440: 6fc1 lui t6,0x10
|
|
2442: ffff8313 addi t1,t6,-1 # ffff <_data_lma+0xb197>
|
|
2446: 0067f533 and a0,a5,t1
|
|
244a: 0107d393 srli t2,a5,0x10
|
|
244e: 0068f7b3 and a5,a7,t1
|
|
2452: 07c2 slli a5,a5,0x10
|
|
2454: 00667333 and t1,a2,t1
|
|
2458: 933e add t1,t1,a5
|
|
245a: 02950633 mul a2,a0,s1
|
|
245e: 0108d893 srli a7,a7,0x10
|
|
2462: 02a687b3 mul a5,a3,a0
|
|
2466: 01065f13 srli t5,a2,0x10
|
|
246a: 029384b3 mul s1,t2,s1
|
|
246e: 94be add s1,s1,a5
|
|
2470: 94fa add s1,s1,t5
|
|
2472: 02768eb3 mul t4,a3,t2
|
|
2476: 00f4f363 bgeu s1,a5,247c <__muldf3+0x27c>
|
|
247a: 9efe add t4,t4,t6
|
|
247c: 6a41 lui s4,0x10
|
|
247e: fffa0793 addi a5,s4,-1 # ffff <_data_lma+0xb197>
|
|
2482: 01045f93 srli t6,s0,0x10
|
|
2486: 00f476b3 and a3,s0,a5
|
|
248a: 00f4f9b3 and s3,s1,a5
|
|
248e: 8e7d and a2,a2,a5
|
|
2490: 80c1 srli s1,s1,0x10
|
|
2492: 02d58433 mul s0,a1,a3
|
|
2496: 09c2 slli s3,s3,0x10
|
|
2498: 01d48f33 add t5,s1,t4
|
|
249c: 99b2 add s3,s3,a2
|
|
249e: 98ce add a7,a7,s3
|
|
24a0: 02de07b3 mul a5,t3,a3
|
|
24a4: 01045e93 srli t4,s0,0x10
|
|
24a8: 02bf85b3 mul a1,t6,a1
|
|
24ac: 97ae add a5,a5,a1
|
|
24ae: 9ebe add t4,t4,a5
|
|
24b0: 03fe0e33 mul t3,t3,t6
|
|
24b4: 00bef363 bgeu t4,a1,24ba <__muldf3+0x2ba>
|
|
24b8: 9e52 add t3,t3,s4
|
|
24ba: 67c1 lui a5,0x10
|
|
24bc: fff78593 addi a1,a5,-1 # ffff <_data_lma+0xb197>
|
|
24c0: 00bef633 and a2,t4,a1
|
|
24c4: 8c6d and s0,s0,a1
|
|
24c6: 0642 slli a2,a2,0x10
|
|
24c8: 9622 add a2,a2,s0
|
|
24ca: 010ede93 srli t4,t4,0x10
|
|
24ce: 02d505b3 mul a1,a0,a3
|
|
24d2: 9e76 add t3,t3,t4
|
|
24d4: 02af8533 mul a0,t6,a0
|
|
24d8: 0105d413 srli s0,a1,0x10
|
|
24dc: 02d386b3 mul a3,t2,a3
|
|
24e0: 96aa add a3,a3,a0
|
|
24e2: 96a2 add a3,a3,s0
|
|
24e4: 03f38fb3 mul t6,t2,t6
|
|
24e8: 00a6f363 bgeu a3,a0,24ee <__muldf3+0x2ee>
|
|
24ec: 9fbe add t6,t6,a5
|
|
24ee: 6541 lui a0,0x10
|
|
24f0: 157d addi a0,a0,-1
|
|
24f2: 00a6f7b3 and a5,a3,a0
|
|
24f6: 07c2 slli a5,a5,0x10
|
|
24f8: 8d6d and a0,a0,a1
|
|
24fa: 97aa add a5,a5,a0
|
|
24fc: 005885b3 add a1,a7,t0
|
|
2500: 0135b9b3 sltu s3,a1,s3
|
|
2504: 97fa add a5,a5,t5
|
|
2506: 95b2 add a1,a1,a2
|
|
2508: 01378433 add s0,a5,s3
|
|
250c: 00c5b633 sltu a2,a1,a2
|
|
2510: 01c40eb3 add t4,s0,t3
|
|
2514: 00ce8533 add a0,t4,a2
|
|
2518: 01343433 sltu s0,s0,s3
|
|
251c: 01e7b7b3 sltu a5,a5,t5
|
|
2520: 8fc1 or a5,a5,s0
|
|
2522: 01cebe33 sltu t3,t4,t3
|
|
2526: 0106d413 srli s0,a3,0x10
|
|
252a: 00c53633 sltu a2,a0,a2
|
|
252e: 943e add s0,s0,a5
|
|
2530: 00ce6633 or a2,t3,a2
|
|
2534: 00959493 slli s1,a1,0x9
|
|
2538: 9432 add s0,s0,a2
|
|
253a: 947e add s0,s0,t6
|
|
253c: 0064e4b3 or s1,s1,t1
|
|
2540: 0426 slli s0,s0,0x9
|
|
2542: 01755693 srli a3,a0,0x17
|
|
2546: 009034b3 snez s1,s1
|
|
254a: 81dd srli a1,a1,0x17
|
|
254c: 00951793 slli a5,a0,0x9
|
|
2550: 8ccd or s1,s1,a1
|
|
2552: 8c55 or s0,s0,a3
|
|
2554: 8cdd or s1,s1,a5
|
|
2556: 00741793 slli a5,s0,0x7
|
|
255a: 0007db63 bgez a5,2570 <__muldf3+0x370>
|
|
255e: 0014d793 srli a5,s1,0x1
|
|
2562: 8885 andi s1,s1,1
|
|
2564: 01f41693 slli a3,s0,0x1f
|
|
2568: 8cdd or s1,s1,a5
|
|
256a: 8cd5 or s1,s1,a3
|
|
256c: 8005 srli s0,s0,0x1
|
|
256e: 8942 mv s2,a6
|
|
2570: 3ff90793 addi a5,s2,1023
|
|
2574: 08f05963 blez a5,2606 <__muldf3+0x406>
|
|
2578: 0074f693 andi a3,s1,7
|
|
257c: ce81 beqz a3,2594 <__muldf3+0x394>
|
|
257e: 00f4f693 andi a3,s1,15
|
|
2582: 4611 li a2,4
|
|
2584: 00c68863 beq a3,a2,2594 <__muldf3+0x394>
|
|
2588: 00448693 addi a3,s1,4
|
|
258c: 0096b4b3 sltu s1,a3,s1
|
|
2590: 9426 add s0,s0,s1
|
|
2592: 84b6 mv s1,a3
|
|
2594: 00741693 slli a3,s0,0x7
|
|
2598: 0006d863 bgez a3,25a8 <__muldf3+0x3a8>
|
|
259c: ff0007b7 lui a5,0xff000
|
|
25a0: 17fd addi a5,a5,-1
|
|
25a2: 8c7d and s0,s0,a5
|
|
25a4: 40090793 addi a5,s2,1024
|
|
25a8: 7fe00693 li a3,2046
|
|
25ac: 0ef6cf63 blt a3,a5,26aa <__muldf3+0x4aa>
|
|
25b0: 0034d693 srli a3,s1,0x3
|
|
25b4: 01d41493 slli s1,s0,0x1d
|
|
25b8: 0426 slli s0,s0,0x9
|
|
25ba: 8cd5 or s1,s1,a3
|
|
25bc: 8031 srli s0,s0,0xc
|
|
25be: 7ff7f793 andi a5,a5,2047
|
|
25c2: bb21 j 22da <__muldf3+0xda>
|
|
25c4: 8532 mv a0,a2
|
|
25c6: c432 sw a2,8(sp)
|
|
25c8: 1d6010ef jal ra,379e <__clzsi2>
|
|
25cc: 01550693 addi a3,a0,21 # 10015 <_data_lma+0xb1ad>
|
|
25d0: 47f1 li a5,28
|
|
25d2: 02050713 addi a4,a0,32
|
|
25d6: 4622 lw a2,8(sp)
|
|
25d8: dcd7d1e3 bge a5,a3,239a <__muldf3+0x19a>
|
|
25dc: 1561 addi a0,a0,-8
|
|
25de: 00a617b3 sll a5,a2,a0
|
|
25e2: 4581 li a1,0
|
|
25e4: b3f9 j 23b2 <__muldf3+0x1b2>
|
|
25e6: 1b8010ef jal ra,379e <__clzsi2>
|
|
25ea: 01550713 addi a4,a0,21
|
|
25ee: 45f1 li a1,28
|
|
25f0: 02050793 addi a5,a0,32
|
|
25f4: 4622 lw a2,8(sp)
|
|
25f6: 46b2 lw a3,12(sp)
|
|
25f8: d4e5d5e3 bge a1,a4,2342 <__muldf3+0x142>
|
|
25fc: 1561 addi a0,a0,-8
|
|
25fe: 00aa1433 sll s0,s4,a0
|
|
2602: 4481 li s1,0
|
|
2604: bb99 j 235a <__muldf3+0x15a>
|
|
2606: 4685 li a3,1
|
|
2608: 8e9d sub a3,a3,a5
|
|
260a: e7b1 bnez a5,2656 <__muldf3+0x456>
|
|
260c: 41e90913 addi s2,s2,1054
|
|
2610: 012497b3 sll a5,s1,s2
|
|
2614: 00d4d4b3 srl s1,s1,a3
|
|
2618: 01241933 sll s2,s0,s2
|
|
261c: 00f037b3 snez a5,a5
|
|
2620: 009964b3 or s1,s2,s1
|
|
2624: 8cdd or s1,s1,a5
|
|
2626: 0074f793 andi a5,s1,7
|
|
262a: 00d456b3 srl a3,s0,a3
|
|
262e: cf81 beqz a5,2646 <__muldf3+0x446>
|
|
2630: 00f4f793 andi a5,s1,15
|
|
2634: 4611 li a2,4
|
|
2636: 00c78863 beq a5,a2,2646 <__muldf3+0x446>
|
|
263a: 00448793 addi a5,s1,4
|
|
263e: 0097b4b3 sltu s1,a5,s1
|
|
2642: 96a6 add a3,a3,s1
|
|
2644: 84be mv s1,a5
|
|
2646: 00869793 slli a5,a3,0x8
|
|
264a: 0407d863 bgez a5,269a <__muldf3+0x49a>
|
|
264e: 4785 li a5,1
|
|
2650: 4401 li s0,0
|
|
2652: 4481 li s1,0
|
|
2654: b159 j 22da <__muldf3+0xda>
|
|
2656: 03800613 li a2,56
|
|
265a: ccd641e3 blt a2,a3,231c <__muldf3+0x11c>
|
|
265e: 467d li a2,31
|
|
2660: fad656e3 bge a2,a3,260c <__muldf3+0x40c>
|
|
2664: 5605 li a2,-31
|
|
2666: 40f607b3 sub a5,a2,a5
|
|
266a: 02000593 li a1,32
|
|
266e: 00f45633 srl a2,s0,a5
|
|
2672: 00b68763 beq a3,a1,2680 <__muldf3+0x480>
|
|
2676: 43e90913 addi s2,s2,1086
|
|
267a: 012417b3 sll a5,s0,s2
|
|
267e: 8cdd or s1,s1,a5
|
|
2680: 009034b3 snez s1,s1
|
|
2684: 8cd1 or s1,s1,a2
|
|
2686: 0074f693 andi a3,s1,7
|
|
268a: 4401 li s0,0
|
|
268c: ca99 beqz a3,26a2 <__muldf3+0x4a2>
|
|
268e: 00f4f793 andi a5,s1,15
|
|
2692: 4611 li a2,4
|
|
2694: 4681 li a3,0
|
|
2696: fac792e3 bne a5,a2,263a <__muldf3+0x43a>
|
|
269a: 00969413 slli s0,a3,0x9
|
|
269e: 8031 srli s0,s0,0xc
|
|
26a0: 06f6 slli a3,a3,0x1d
|
|
26a2: 808d srli s1,s1,0x3
|
|
26a4: 8cd5 or s1,s1,a3
|
|
26a6: 4781 li a5,0
|
|
26a8: b90d j 22da <__muldf3+0xda>
|
|
26aa: 7ff00793 li a5,2047
|
|
26ae: 4401 li s0,0
|
|
26b0: 4481 li s1,0
|
|
26b2: b125 j 22da <__muldf3+0xda>
|
|
26b4: 8942 mv s2,a6
|
|
26b6: bd6d j 2570 <__muldf3+0x370>
|
|
|
|
000026b8 <__addsf3>:
|
|
26b8: 1141 addi sp,sp,-16
|
|
26ba: 00800737 lui a4,0x800
|
|
26be: 177d addi a4,a4,-1
|
|
26c0: 0175d813 srli a6,a1,0x17
|
|
26c4: c226 sw s1,4(sp)
|
|
26c6: 01755493 srli s1,a0,0x17
|
|
26ca: 00a77333 and t1,a4,a0
|
|
26ce: 0ff4f493 andi s1,s1,255
|
|
26d2: 00b776b3 and a3,a4,a1
|
|
26d6: c04a sw s2,0(sp)
|
|
26d8: 0ff87813 andi a6,a6,255
|
|
26dc: 01f55913 srli s2,a0,0x1f
|
|
26e0: c606 sw ra,12(sp)
|
|
26e2: c422 sw s0,8(sp)
|
|
26e4: 81fd srli a1,a1,0x1f
|
|
26e6: 879a mv a5,t1
|
|
26e8: 8526 mv a0,s1
|
|
26ea: 864a mv a2,s2
|
|
26ec: 00331e13 slli t3,t1,0x3
|
|
26f0: 00369e93 slli t4,a3,0x3
|
|
26f4: 410488b3 sub a7,s1,a6
|
|
26f8: 0eb90a63 beq s2,a1,27ec <__addsf3+0x134>
|
|
26fc: 0d105063 blez a7,27bc <__addsf3+0x104>
|
|
2700: 14080463 beqz a6,2848 <__addsf3+0x190>
|
|
2704: 0ff00793 li a5,255
|
|
2708: 14f48b63 beq s1,a5,285e <__addsf3+0x1a6>
|
|
270c: 040007b7 lui a5,0x4000
|
|
2710: 00feeeb3 or t4,t4,a5
|
|
2714: 47ed li a5,27
|
|
2716: 2917c163 blt a5,a7,2998 <__addsf3+0x2e0>
|
|
271a: 02000793 li a5,32
|
|
271e: 411787b3 sub a5,a5,a7
|
|
2722: 00fe97b3 sll a5,t4,a5
|
|
2726: 011ed8b3 srl a7,t4,a7
|
|
272a: 00f037b3 snez a5,a5
|
|
272e: 00f8e7b3 or a5,a7,a5
|
|
2732: 40fe07b3 sub a5,t3,a5
|
|
2736: 00579713 slli a4,a5,0x5
|
|
273a: 18075e63 bgez a4,28d6 <__addsf3+0x21e>
|
|
273e: 04000437 lui s0,0x4000
|
|
2742: 147d addi s0,s0,-1
|
|
2744: 8c7d and s0,s0,a5
|
|
2746: 8522 mv a0,s0
|
|
2748: 056010ef jal ra,379e <__clzsi2>
|
|
274c: 156d addi a0,a0,-5
|
|
274e: 00a417b3 sll a5,s0,a0
|
|
2752: 1a954863 blt a0,s1,2902 <__addsf3+0x24a>
|
|
2756: 8d05 sub a0,a0,s1
|
|
2758: 00150413 addi s0,a0,1
|
|
275c: 02000713 li a4,32
|
|
2760: 8f01 sub a4,a4,s0
|
|
2762: 00e79733 sll a4,a5,a4
|
|
2766: 00e03733 snez a4,a4
|
|
276a: 0087d7b3 srl a5,a5,s0
|
|
276e: 8fd9 or a5,a5,a4
|
|
2770: 4481 li s1,0
|
|
2772: 0077f713 andi a4,a5,7
|
|
2776: c719 beqz a4,2784 <__addsf3+0xcc>
|
|
2778: 00f7f713 andi a4,a5,15
|
|
277c: 4691 li a3,4
|
|
277e: 00d70363 beq a4,a3,2784 <__addsf3+0xcc>
|
|
2782: 0791 addi a5,a5,4
|
|
2784: 00579713 slli a4,a5,0x5
|
|
2788: 14075b63 bgez a4,28de <__addsf3+0x226>
|
|
278c: 0485 addi s1,s1,1
|
|
278e: 0ff00713 li a4,255
|
|
2792: 864a mv a2,s2
|
|
2794: 16e48363 beq s1,a4,28fa <__addsf3+0x242>
|
|
2798: 079a slli a5,a5,0x6
|
|
279a: 83a5 srli a5,a5,0x9
|
|
279c: 0ff4f513 andi a0,s1,255
|
|
27a0: 40b2 lw ra,12(sp)
|
|
27a2: 4422 lw s0,8(sp)
|
|
27a4: 07a6 slli a5,a5,0x9
|
|
27a6: 01751493 slli s1,a0,0x17
|
|
27aa: 0097d513 srli a0,a5,0x9
|
|
27ae: 8d45 or a0,a0,s1
|
|
27b0: 067e slli a2,a2,0x1f
|
|
27b2: 4492 lw s1,4(sp)
|
|
27b4: 4902 lw s2,0(sp)
|
|
27b6: 8d51 or a0,a0,a2
|
|
27b8: 0141 addi sp,sp,16
|
|
27ba: 8082 ret
|
|
27bc: 0a089963 bnez a7,286e <__addsf3+0x1b6>
|
|
27c0: 00148713 addi a4,s1,1
|
|
27c4: 0fe77713 andi a4,a4,254
|
|
27c8: 14071763 bnez a4,2916 <__addsf3+0x25e>
|
|
27cc: 22049063 bnez s1,29ec <__addsf3+0x334>
|
|
27d0: 1e0e0d63 beqz t3,29ca <__addsf3+0x312>
|
|
27d4: fc0e86e3 beqz t4,27a0 <__addsf3+0xe8>
|
|
27d8: 41de07b3 sub a5,t3,t4
|
|
27dc: 00579713 slli a4,a5,0x5
|
|
27e0: 22075063 bgez a4,2a00 <__addsf3+0x348>
|
|
27e4: 41ce87b3 sub a5,t4,t3
|
|
27e8: 892e mv s2,a1
|
|
27ea: b761 j 2772 <__addsf3+0xba>
|
|
27ec: 0b105c63 blez a7,28a4 <__addsf3+0x1ec>
|
|
27f0: 08080e63 beqz a6,288c <__addsf3+0x1d4>
|
|
27f4: 0ff00793 li a5,255
|
|
27f8: 06f48363 beq s1,a5,285e <__addsf3+0x1a6>
|
|
27fc: 040007b7 lui a5,0x4000
|
|
2800: 00feeeb3 or t4,t4,a5
|
|
2804: 47ed li a5,27
|
|
2806: 1f17c963 blt a5,a7,29f8 <__addsf3+0x340>
|
|
280a: 02000793 li a5,32
|
|
280e: 411787b3 sub a5,a5,a7
|
|
2812: 00fe97b3 sll a5,t4,a5
|
|
2816: 011ed8b3 srl a7,t4,a7
|
|
281a: 00f037b3 snez a5,a5
|
|
281e: 00f8e7b3 or a5,a7,a5
|
|
2822: 97f2 add a5,a5,t3
|
|
2824: 00579713 slli a4,a5,0x5
|
|
2828: 0a075763 bgez a4,28d6 <__addsf3+0x21e>
|
|
282c: 0485 addi s1,s1,1
|
|
282e: 0ff00713 li a4,255
|
|
2832: 0ce48463 beq s1,a4,28fa <__addsf3+0x242>
|
|
2836: 7e0006b7 lui a3,0x7e000
|
|
283a: 0017d713 srli a4,a5,0x1
|
|
283e: 16fd addi a3,a3,-1
|
|
2840: 8b85 andi a5,a5,1
|
|
2842: 8f75 and a4,a4,a3
|
|
2844: 8fd9 or a5,a5,a4
|
|
2846: b735 j 2772 <__addsf3+0xba>
|
|
2848: 080e8d63 beqz t4,28e2 <__addsf3+0x22a>
|
|
284c: 18fd addi a7,a7,-1
|
|
284e: 41de07b3 sub a5,t3,t4
|
|
2852: ee0882e3 beqz a7,2736 <__addsf3+0x7e>
|
|
2856: 0ff00793 li a5,255
|
|
285a: eaf49de3 bne s1,a5,2714 <__addsf3+0x5c>
|
|
285e: 08030d63 beqz t1,28f8 <__addsf3+0x240>
|
|
2862: 4601 li a2,0
|
|
2864: 0ff00513 li a0,255
|
|
2868: 004007b7 lui a5,0x400
|
|
286c: bf15 j 27a0 <__addsf3+0xe8>
|
|
286e: 40980733 sub a4,a6,s1
|
|
2872: e8ed bnez s1,2964 <__addsf3+0x2ac>
|
|
2874: 140e0263 beqz t3,29b8 <__addsf3+0x300>
|
|
2878: 177d addi a4,a4,-1
|
|
287a: 18070863 beqz a4,2a0a <__addsf3+0x352>
|
|
287e: 0ff00793 li a5,255
|
|
2882: 0ef81963 bne a6,a5,2974 <__addsf3+0x2bc>
|
|
2886: 892e mv s2,a1
|
|
2888: 8336 mv t1,a3
|
|
288a: bfd1 j 285e <__addsf3+0x1a6>
|
|
288c: 040e8b63 beqz t4,28e2 <__addsf3+0x22a>
|
|
2890: 18fd addi a7,a7,-1
|
|
2892: 01de07b3 add a5,t3,t4
|
|
2896: f80887e3 beqz a7,2824 <__addsf3+0x16c>
|
|
289a: 0ff00793 li a5,255
|
|
289e: f6f493e3 bne s1,a5,2804 <__addsf3+0x14c>
|
|
28a2: bf75 j 285e <__addsf3+0x1a6>
|
|
28a4: 08089563 bnez a7,292e <__addsf3+0x276>
|
|
28a8: 0485 addi s1,s1,1
|
|
28aa: 0fe4f713 andi a4,s1,254
|
|
28ae: 12071363 bnez a4,29d4 <__addsf3+0x31c>
|
|
28b2: 10051763 bnez a0,29c0 <__addsf3+0x308>
|
|
28b6: 140e0f63 beqz t3,2a14 <__addsf3+0x35c>
|
|
28ba: ee0e83e3 beqz t4,27a0 <__addsf3+0xe8>
|
|
28be: 01de07b3 add a5,t3,t4
|
|
28c2: 00579713 slli a4,a5,0x5
|
|
28c6: 4481 li s1,0
|
|
28c8: 00075763 bgez a4,28d6 <__addsf3+0x21e>
|
|
28cc: fc000737 lui a4,0xfc000
|
|
28d0: 177d addi a4,a4,-1
|
|
28d2: 8ff9 and a5,a5,a4
|
|
28d4: 4485 li s1,1
|
|
28d6: 0077f713 andi a4,a5,7
|
|
28da: e8071fe3 bnez a4,2778 <__addsf3+0xc0>
|
|
28de: 0037d313 srli t1,a5,0x3
|
|
28e2: 0ff00793 li a5,255
|
|
28e6: f6f48ce3 beq s1,a5,285e <__addsf3+0x1a6>
|
|
28ea: 00931793 slli a5,t1,0x9
|
|
28ee: 83a5 srli a5,a5,0x9
|
|
28f0: 0ff4f513 andi a0,s1,255
|
|
28f4: 864a mv a2,s2
|
|
28f6: b56d j 27a0 <__addsf3+0xe8>
|
|
28f8: 864a mv a2,s2
|
|
28fa: 0ff00513 li a0,255
|
|
28fe: 4781 li a5,0
|
|
2900: b545 j 27a0 <__addsf3+0xe8>
|
|
2902: fc000737 lui a4,0xfc000
|
|
2906: 177d addi a4,a4,-1
|
|
2908: 8ff9 and a5,a5,a4
|
|
290a: 0077f713 andi a4,a5,7
|
|
290e: 8c89 sub s1,s1,a0
|
|
2910: e60714e3 bnez a4,2778 <__addsf3+0xc0>
|
|
2914: b7e9 j 28de <__addsf3+0x226>
|
|
2916: 41de0433 sub s0,t3,t4
|
|
291a: 00541793 slli a5,s0,0x5
|
|
291e: 0c07c363 bltz a5,29e4 <__addsf3+0x32c>
|
|
2922: e20412e3 bnez s0,2746 <__addsf3+0x8e>
|
|
2926: 4601 li a2,0
|
|
2928: 4501 li a0,0
|
|
292a: 4781 li a5,0
|
|
292c: bd95 j 27a0 <__addsf3+0xe8>
|
|
292e: 40980733 sub a4,a6,s1
|
|
2932: c4ad beqz s1,299c <__addsf3+0x2e4>
|
|
2934: 0ff00793 li a5,255
|
|
2938: f4f808e3 beq a6,a5,2888 <__addsf3+0x1d0>
|
|
293c: 040007b7 lui a5,0x4000
|
|
2940: 00fe6e33 or t3,t3,a5
|
|
2944: 47ed li a5,27
|
|
2946: 0ce7cc63 blt a5,a4,2a1e <__addsf3+0x366>
|
|
294a: 02000793 li a5,32
|
|
294e: 8f99 sub a5,a5,a4
|
|
2950: 00fe17b3 sll a5,t3,a5
|
|
2954: 00ee5733 srl a4,t3,a4
|
|
2958: 00f037b3 snez a5,a5
|
|
295c: 8fd9 or a5,a5,a4
|
|
295e: 97f6 add a5,a5,t4
|
|
2960: 84c2 mv s1,a6
|
|
2962: b5c9 j 2824 <__addsf3+0x16c>
|
|
2964: 0ff00793 li a5,255
|
|
2968: f0f80fe3 beq a6,a5,2886 <__addsf3+0x1ce>
|
|
296c: 040007b7 lui a5,0x4000
|
|
2970: 00fe6e33 or t3,t3,a5
|
|
2974: 47ed li a5,27
|
|
2976: 08e7c363 blt a5,a4,29fc <__addsf3+0x344>
|
|
297a: 02000693 li a3,32
|
|
297e: 8e99 sub a3,a3,a4
|
|
2980: 00de16b3 sll a3,t3,a3
|
|
2984: 00ee57b3 srl a5,t3,a4
|
|
2988: 00d03733 snez a4,a3
|
|
298c: 8fd9 or a5,a5,a4
|
|
298e: 40fe87b3 sub a5,t4,a5
|
|
2992: 84c2 mv s1,a6
|
|
2994: 892e mv s2,a1
|
|
2996: b345 j 2736 <__addsf3+0x7e>
|
|
2998: 4785 li a5,1
|
|
299a: bb61 j 2732 <__addsf3+0x7a>
|
|
299c: 060e0e63 beqz t3,2a18 <__addsf3+0x360>
|
|
29a0: 177d addi a4,a4,-1
|
|
29a2: 01de07b3 add a5,t3,t4
|
|
29a6: 84c2 mv s1,a6
|
|
29a8: e6070ee3 beqz a4,2824 <__addsf3+0x16c>
|
|
29ac: 0ff00793 li a5,255
|
|
29b0: f8f81ae3 bne a6,a5,2944 <__addsf3+0x28c>
|
|
29b4: 8336 mv t1,a3
|
|
29b6: b565 j 285e <__addsf3+0x1a6>
|
|
29b8: 8336 mv t1,a3
|
|
29ba: 84c2 mv s1,a6
|
|
29bc: 892e mv s2,a1
|
|
29be: b715 j 28e2 <__addsf3+0x22a>
|
|
29c0: ec0e04e3 beqz t3,2888 <__addsf3+0x1d0>
|
|
29c4: e80e8de3 beqz t4,285e <__addsf3+0x1a6>
|
|
29c8: bd69 j 2862 <__addsf3+0x1aa>
|
|
29ca: 020e8d63 beqz t4,2a04 <__addsf3+0x34c>
|
|
29ce: 862e mv a2,a1
|
|
29d0: 87b6 mv a5,a3
|
|
29d2: b3f9 j 27a0 <__addsf3+0xe8>
|
|
29d4: 0ff00793 li a5,255
|
|
29d8: f2f481e3 beq s1,a5,28fa <__addsf3+0x242>
|
|
29dc: 01de07b3 add a5,t3,t4
|
|
29e0: 8385 srli a5,a5,0x1
|
|
29e2: bdd5 j 28d6 <__addsf3+0x21e>
|
|
29e4: 41ce8433 sub s0,t4,t3
|
|
29e8: 892e mv s2,a1
|
|
29ea: bbb1 j 2746 <__addsf3+0x8e>
|
|
29ec: fc0e1ce3 bnez t3,29c4 <__addsf3+0x30c>
|
|
29f0: e60e89e3 beqz t4,2862 <__addsf3+0x1aa>
|
|
29f4: 892e mv s2,a1
|
|
29f6: bd49 j 2888 <__addsf3+0x1d0>
|
|
29f8: 4785 li a5,1
|
|
29fa: b525 j 2822 <__addsf3+0x16a>
|
|
29fc: 4785 li a5,1
|
|
29fe: bf41 j 298e <__addsf3+0x2d6>
|
|
2a00: ec079be3 bnez a5,28d6 <__addsf3+0x21e>
|
|
2a04: 4601 li a2,0
|
|
2a06: 4781 li a5,0
|
|
2a08: bb61 j 27a0 <__addsf3+0xe8>
|
|
2a0a: 41ce87b3 sub a5,t4,t3
|
|
2a0e: 84c2 mv s1,a6
|
|
2a10: 892e mv s2,a1
|
|
2a12: b315 j 2736 <__addsf3+0x7e>
|
|
2a14: 87b6 mv a5,a3
|
|
2a16: b369 j 27a0 <__addsf3+0xe8>
|
|
2a18: 8336 mv t1,a3
|
|
2a1a: 84c2 mv s1,a6
|
|
2a1c: b5d9 j 28e2 <__addsf3+0x22a>
|
|
2a1e: 4785 li a5,1
|
|
2a20: bf3d j 295e <__addsf3+0x2a6>
|
|
|
|
00002a22 <__divsf3>:
|
|
2a22: 7139 addi sp,sp,-64
|
|
2a24: 01755793 srli a5,a0,0x17
|
|
2a28: d84a sw s2,48(sp)
|
|
2a2a: d256 sw s5,36(sp)
|
|
2a2c: ce5e sw s7,28(sp)
|
|
2a2e: 00951a93 slli s5,a0,0x9
|
|
2a32: 01f55913 srli s2,a0,0x1f
|
|
2a36: de06 sw ra,60(sp)
|
|
2a38: dc22 sw s0,56(sp)
|
|
2a3a: da26 sw s1,52(sp)
|
|
2a3c: d64e sw s3,44(sp)
|
|
2a3e: d452 sw s4,40(sp)
|
|
2a40: d05a sw s6,32(sp)
|
|
2a42: 0ff7f793 andi a5,a5,255
|
|
2a46: 009ada93 srli s5,s5,0x9
|
|
2a4a: 8bca mv s7,s2
|
|
2a4c: 12078263 beqz a5,2b70 <__divsf3+0x14e>
|
|
2a50: 0ff00713 li a4,255
|
|
2a54: 12e78463 beq a5,a4,2b7c <__divsf3+0x15a>
|
|
2a58: 0a8e slli s5,s5,0x3
|
|
2a5a: 04000737 lui a4,0x4000
|
|
2a5e: 00eaeab3 or s5,s5,a4
|
|
2a62: f8178a13 addi s4,a5,-127 # 3ffff81 <_data_lma+0x3ffb119>
|
|
2a66: 4401 li s0,0
|
|
2a68: 4b01 li s6,0
|
|
2a6a: 0175d793 srli a5,a1,0x17
|
|
2a6e: 00959493 slli s1,a1,0x9
|
|
2a72: 0ff7f793 andi a5,a5,255
|
|
2a76: 80a5 srli s1,s1,0x9
|
|
2a78: 01f5d993 srli s3,a1,0x1f
|
|
2a7c: c7fd beqz a5,2b6a <__divsf3+0x148>
|
|
2a7e: 0ff00713 li a4,255
|
|
2a82: 02e78763 beq a5,a4,2ab0 <__divsf3+0x8e>
|
|
2a86: 048e slli s1,s1,0x3
|
|
2a88: f8178793 addi a5,a5,-127
|
|
2a8c: 04000737 lui a4,0x4000
|
|
2a90: 8cd9 or s1,s1,a4
|
|
2a92: 40fa0a33 sub s4,s4,a5
|
|
2a96: 4681 li a3,0
|
|
2a98: 8c55 or s0,s0,a3
|
|
2a9a: 00002717 auipc a4,0x2
|
|
2a9e: 17270713 addi a4,a4,370 # 4c0c <_read+0x19c>
|
|
2aa2: 040a slli s0,s0,0x2
|
|
2aa4: 943a add s0,s0,a4
|
|
2aa6: 401c lw a5,0(s0)
|
|
2aa8: 01394933 xor s2,s2,s3
|
|
2aac: 97ba add a5,a5,a4
|
|
2aae: 8782 jr a5
|
|
2ab0: f01a0a13 addi s4,s4,-255
|
|
2ab4: e8f9 bnez s1,2b8a <__divsf3+0x168>
|
|
2ab6: 4689 li a3,2
|
|
2ab8: 8c55 or s0,s0,a3
|
|
2aba: 00002717 auipc a4,0x2
|
|
2abe: 19270713 addi a4,a4,402 # 4c4c <_read+0x1dc>
|
|
2ac2: 040a slli s0,s0,0x2
|
|
2ac4: 943a add s0,s0,a4
|
|
2ac6: 401c lw a5,0(s0)
|
|
2ac8: 01394933 xor s2,s2,s3
|
|
2acc: 97ba add a5,a5,a4
|
|
2ace: 8782 jr a5
|
|
2ad0: 4901 li s2,0
|
|
2ad2: 0ff00713 li a4,255
|
|
2ad6: 004007b7 lui a5,0x400
|
|
2ada: 00979513 slli a0,a5,0x9
|
|
2ade: 50f2 lw ra,60(sp)
|
|
2ae0: 5462 lw s0,56(sp)
|
|
2ae2: 01771793 slli a5,a4,0x17
|
|
2ae6: 8125 srli a0,a0,0x9
|
|
2ae8: 097e slli s2,s2,0x1f
|
|
2aea: 8d5d or a0,a0,a5
|
|
2aec: 01256533 or a0,a0,s2
|
|
2af0: 54d2 lw s1,52(sp)
|
|
2af2: 5942 lw s2,48(sp)
|
|
2af4: 59b2 lw s3,44(sp)
|
|
2af6: 5a22 lw s4,40(sp)
|
|
2af8: 5a92 lw s5,36(sp)
|
|
2afa: 5b02 lw s6,32(sp)
|
|
2afc: 4bf2 lw s7,28(sp)
|
|
2afe: 6121 addi sp,sp,64
|
|
2b00: 8082 ret
|
|
2b02: 0ff00713 li a4,255
|
|
2b06: 4781 li a5,0
|
|
2b08: bfc9 j 2ada <__divsf3+0xb8>
|
|
2b0a: 8aa6 mv s5,s1
|
|
2b0c: 8bce mv s7,s3
|
|
2b0e: 8b36 mv s6,a3
|
|
2b10: 4789 li a5,2
|
|
2b12: 1afb0b63 beq s6,a5,2cc8 <__divsf3+0x2a6>
|
|
2b16: 478d li a5,3
|
|
2b18: fafb0ce3 beq s6,a5,2ad0 <__divsf3+0xae>
|
|
2b1c: 4785 li a5,1
|
|
2b1e: 0afb0a63 beq s6,a5,2bd2 <__divsf3+0x1b0>
|
|
2b22: 07fa0713 addi a4,s4,127
|
|
2b26: 001bf913 andi s2,s7,1
|
|
2b2a: 12e05763 blez a4,2c58 <__divsf3+0x236>
|
|
2b2e: 007af793 andi a5,s5,7
|
|
2b32: c799 beqz a5,2b40 <__divsf3+0x11e>
|
|
2b34: 00faf793 andi a5,s5,15
|
|
2b38: 4691 li a3,4
|
|
2b3a: 00d78363 beq a5,a3,2b40 <__divsf3+0x11e>
|
|
2b3e: 0a91 addi s5,s5,4
|
|
2b40: 004a9793 slli a5,s5,0x4
|
|
2b44: 0007d963 bgez a5,2b56 <__divsf3+0x134>
|
|
2b48: f80007b7 lui a5,0xf8000
|
|
2b4c: 17fd addi a5,a5,-1
|
|
2b4e: 00fafab3 and s5,s5,a5
|
|
2b52: 080a0713 addi a4,s4,128
|
|
2b56: 0fe00793 li a5,254
|
|
2b5a: fae7c4e3 blt a5,a4,2b02 <__divsf3+0xe0>
|
|
2b5e: 006a9793 slli a5,s5,0x6
|
|
2b62: 83a5 srli a5,a5,0x9
|
|
2b64: 0ff77713 andi a4,a4,255
|
|
2b68: bf8d j 2ada <__divsf3+0xb8>
|
|
2b6a: e4b9 bnez s1,2bb8 <__divsf3+0x196>
|
|
2b6c: 4685 li a3,1
|
|
2b6e: b7a9 j 2ab8 <__divsf3+0x96>
|
|
2b70: 020a9463 bnez s5,2b98 <__divsf3+0x176>
|
|
2b74: 4411 li s0,4
|
|
2b76: 4a01 li s4,0
|
|
2b78: 4b05 li s6,1
|
|
2b7a: bdc5 j 2a6a <__divsf3+0x48>
|
|
2b7c: 000a9963 bnez s5,2b8e <__divsf3+0x16c>
|
|
2b80: 4421 li s0,8
|
|
2b82: 0ff00a13 li s4,255
|
|
2b86: 4b09 li s6,2
|
|
2b88: b5cd j 2a6a <__divsf3+0x48>
|
|
2b8a: 468d li a3,3
|
|
2b8c: b731 j 2a98 <__divsf3+0x76>
|
|
2b8e: 4431 li s0,12
|
|
2b90: 0ff00a13 li s4,255
|
|
2b94: 4b0d li s6,3
|
|
2b96: bdd1 j 2a6a <__divsf3+0x48>
|
|
2b98: 8556 mv a0,s5
|
|
2b9a: c62e sw a1,12(sp)
|
|
2b9c: 403000ef jal ra,379e <__clzsi2>
|
|
2ba0: ffb50793 addi a5,a0,-5
|
|
2ba4: 00fa9ab3 sll s5,s5,a5
|
|
2ba8: f8a00793 li a5,-118
|
|
2bac: 40a78a33 sub s4,a5,a0
|
|
2bb0: 4401 li s0,0
|
|
2bb2: 4b01 li s6,0
|
|
2bb4: 45b2 lw a1,12(sp)
|
|
2bb6: bd55 j 2a6a <__divsf3+0x48>
|
|
2bb8: 8526 mv a0,s1
|
|
2bba: 3e5000ef jal ra,379e <__clzsi2>
|
|
2bbe: ffb50713 addi a4,a0,-5
|
|
2bc2: 00aa07b3 add a5,s4,a0
|
|
2bc6: 00e494b3 sll s1,s1,a4
|
|
2bca: 07678a13 addi s4,a5,118 # f8000076 <_eusrstack+0xd7ffb076>
|
|
2bce: 4681 li a3,0
|
|
2bd0: b5e1 j 2a98 <__divsf3+0x76>
|
|
2bd2: 001bf913 andi s2,s7,1
|
|
2bd6: 4701 li a4,0
|
|
2bd8: 4781 li a5,0
|
|
2bda: b701 j 2ada <__divsf3+0xb8>
|
|
2bdc: 6641 lui a2,0x10
|
|
2bde: 00549513 slli a0,s1,0x5
|
|
2be2: 167d addi a2,a2,-1
|
|
2be4: 01055793 srli a5,a0,0x10
|
|
2be8: 8e69 and a2,a2,a0
|
|
2bea: 0a9afa63 bgeu s5,s1,2c9e <__divsf3+0x27c>
|
|
2bee: 02fad5b3 divu a1,s5,a5
|
|
2bf2: 1a7d addi s4,s4,-1
|
|
2bf4: 86d6 mv a3,s5
|
|
2bf6: 4701 li a4,0
|
|
2bf8: 02c58833 mul a6,a1,a2
|
|
2bfc: 02f6f6b3 remu a3,a3,a5
|
|
2c00: 06c2 slli a3,a3,0x10
|
|
2c02: 8f55 or a4,a4,a3
|
|
2c04: 01077b63 bgeu a4,a6,2c1a <__divsf3+0x1f8>
|
|
2c08: 972a add a4,a4,a0
|
|
2c0a: fff58693 addi a3,a1,-1
|
|
2c0e: 0aa76863 bltu a4,a0,2cbe <__divsf3+0x29c>
|
|
2c12: 0b077663 bgeu a4,a6,2cbe <__divsf3+0x29c>
|
|
2c16: 15f9 addi a1,a1,-2
|
|
2c18: 972a add a4,a4,a0
|
|
2c1a: 41070733 sub a4,a4,a6
|
|
2c1e: 02f756b3 divu a3,a4,a5
|
|
2c22: 02f77733 remu a4,a4,a5
|
|
2c26: 02c68ab3 mul s5,a3,a2
|
|
2c2a: 01071793 slli a5,a4,0x10
|
|
2c2e: 0157fb63 bgeu a5,s5,2c44 <__divsf3+0x222>
|
|
2c32: 97aa add a5,a5,a0
|
|
2c34: fff68713 addi a4,a3,-1 # 7dffffff <_eusrstack+0x5dffafff>
|
|
2c38: 08a7e163 bltu a5,a0,2cba <__divsf3+0x298>
|
|
2c3c: 0757ff63 bgeu a5,s5,2cba <__divsf3+0x298>
|
|
2c40: 16f9 addi a3,a3,-2
|
|
2c42: 97aa add a5,a5,a0
|
|
2c44: 05c2 slli a1,a1,0x10
|
|
2c46: 41578ab3 sub s5,a5,s5
|
|
2c4a: 8dd5 or a1,a1,a3
|
|
2c4c: 01503ab3 snez s5,s5
|
|
2c50: 0155eab3 or s5,a1,s5
|
|
2c54: 8bca mv s7,s2
|
|
2c56: b5f1 j 2b22 <__divsf3+0x100>
|
|
2c58: 4685 li a3,1
|
|
2c5a: 8e99 sub a3,a3,a4
|
|
2c5c: c711 beqz a4,2c68 <__divsf3+0x246>
|
|
2c5e: 466d li a2,27
|
|
2c60: 4701 li a4,0
|
|
2c62: 4781 li a5,0
|
|
2c64: e6d64be3 blt a2,a3,2ada <__divsf3+0xb8>
|
|
2c68: 09ea0a13 addi s4,s4,158
|
|
2c6c: 014a9a33 sll s4,s5,s4
|
|
2c70: 00dad7b3 srl a5,s5,a3
|
|
2c74: 01403ab3 snez s5,s4
|
|
2c78: 0157e7b3 or a5,a5,s5
|
|
2c7c: 0077f713 andi a4,a5,7
|
|
2c80: c719 beqz a4,2c8e <__divsf3+0x26c>
|
|
2c82: 00f7f713 andi a4,a5,15
|
|
2c86: 4691 li a3,4
|
|
2c88: 00d70363 beq a4,a3,2c8e <__divsf3+0x26c>
|
|
2c8c: 0791 addi a5,a5,4
|
|
2c8e: 00579713 slli a4,a5,0x5
|
|
2c92: 02074863 bltz a4,2cc2 <__divsf3+0x2a0>
|
|
2c96: 079a slli a5,a5,0x6
|
|
2c98: 83a5 srli a5,a5,0x9
|
|
2c9a: 4701 li a4,0
|
|
2c9c: bd3d j 2ada <__divsf3+0xb8>
|
|
2c9e: 001ad693 srli a3,s5,0x1
|
|
2ca2: 02f6d5b3 divu a1,a3,a5
|
|
2ca6: 01fa9713 slli a4,s5,0x1f
|
|
2caa: 8341 srli a4,a4,0x10
|
|
2cac: 02c58833 mul a6,a1,a2
|
|
2cb0: b7b1 j 2bfc <__divsf3+0x1da>
|
|
2cb2: 8bce mv s7,s3
|
|
2cb4: 8b36 mv s6,a3
|
|
2cb6: 4a81 li s5,0
|
|
2cb8: bda1 j 2b10 <__divsf3+0xee>
|
|
2cba: 86ba mv a3,a4
|
|
2cbc: b761 j 2c44 <__divsf3+0x222>
|
|
2cbe: 85b6 mv a1,a3
|
|
2cc0: bfa9 j 2c1a <__divsf3+0x1f8>
|
|
2cc2: 4705 li a4,1
|
|
2cc4: 4781 li a5,0
|
|
2cc6: bd11 j 2ada <__divsf3+0xb8>
|
|
2cc8: 001bf913 andi s2,s7,1
|
|
2ccc: 0ff00713 li a4,255
|
|
2cd0: 4781 li a5,0
|
|
2cd2: b521 j 2ada <__divsf3+0xb8>
|
|
|
|
00002cd4 <__gesf2>:
|
|
2cd4: 01755693 srli a3,a0,0x17
|
|
2cd8: 008007b7 lui a5,0x800
|
|
2cdc: 17fd addi a5,a5,-1
|
|
2cde: 0175d613 srli a2,a1,0x17
|
|
2ce2: 0ff6f693 andi a3,a3,255
|
|
2ce6: 0ff00813 li a6,255
|
|
2cea: 00a7f8b3 and a7,a5,a0
|
|
2cee: 01f55713 srli a4,a0,0x1f
|
|
2cf2: 8fed and a5,a5,a1
|
|
2cf4: 0ff67613 andi a2,a2,255
|
|
2cf8: 81fd srli a1,a1,0x1f
|
|
2cfa: 03068163 beq a3,a6,2d1c <__gesf2+0x48>
|
|
2cfe: 01060c63 beq a2,a6,2d16 <__gesf2+0x42>
|
|
2d02: e28d bnez a3,2d24 <__gesf2+0x50>
|
|
2d04: e211 bnez a2,2d08 <__gesf2+0x34>
|
|
2d06: c3b1 beqz a5,2d4a <__gesf2+0x76>
|
|
2d08: 02088e63 beqz a7,2d44 <__gesf2+0x70>
|
|
2d0c: 04b70563 beq a4,a1,2d56 <__gesf2+0x82>
|
|
2d10: 4505 li a0,1
|
|
2d12: e71d bnez a4,2d40 <__gesf2+0x6c>
|
|
2d14: 8082 ret
|
|
2d16: d7f5 beqz a5,2d02 <__gesf2+0x2e>
|
|
2d18: 5579 li a0,-2
|
|
2d1a: 8082 ret
|
|
2d1c: fe089ee3 bnez a7,2d18 <__gesf2+0x44>
|
|
2d20: 02d60963 beq a2,a3,2d52 <__gesf2+0x7e>
|
|
2d24: e211 bnez a2,2d28 <__gesf2+0x54>
|
|
2d26: d7ed beqz a5,2d10 <__gesf2+0x3c>
|
|
2d28: feb714e3 bne a4,a1,2d10 <__gesf2+0x3c>
|
|
2d2c: fed642e3 blt a2,a3,2d10 <__gesf2+0x3c>
|
|
2d30: 00c6c763 blt a3,a2,2d3e <__gesf2+0x6a>
|
|
2d34: fd17eee3 bltu a5,a7,2d10 <__gesf2+0x3c>
|
|
2d38: 4501 li a0,0
|
|
2d3a: fcf8fde3 bgeu a7,a5,2d14 <__gesf2+0x40>
|
|
2d3e: e701 bnez a4,2d46 <__gesf2+0x72>
|
|
2d40: 557d li a0,-1
|
|
2d42: 8082 ret
|
|
2d44: ddf5 beqz a1,2d40 <__gesf2+0x6c>
|
|
2d46: 4505 li a0,1
|
|
2d48: 8082 ret
|
|
2d4a: 4501 li a0,0
|
|
2d4c: fc0892e3 bnez a7,2d10 <__gesf2+0x3c>
|
|
2d50: 8082 ret
|
|
2d52: dbf9 beqz a5,2d28 <__gesf2+0x54>
|
|
2d54: b7d1 j 2d18 <__gesf2+0x44>
|
|
2d56: 4681 li a3,0
|
|
2d58: bfe1 j 2d30 <__gesf2+0x5c>
|
|
|
|
00002d5a <__lesf2>:
|
|
2d5a: 01755693 srli a3,a0,0x17
|
|
2d5e: 008007b7 lui a5,0x800
|
|
2d62: 17fd addi a5,a5,-1
|
|
2d64: 0175d613 srli a2,a1,0x17
|
|
2d68: 0ff6f693 andi a3,a3,255
|
|
2d6c: 0ff00813 li a6,255
|
|
2d70: 00a7f8b3 and a7,a5,a0
|
|
2d74: 01f55713 srli a4,a0,0x1f
|
|
2d78: 8fed and a5,a5,a1
|
|
2d7a: 0ff67613 andi a2,a2,255
|
|
2d7e: 81fd srli a1,a1,0x1f
|
|
2d80: 03068763 beq a3,a6,2dae <__lesf2+0x54>
|
|
2d84: 01060963 beq a2,a6,2d96 <__lesf2+0x3c>
|
|
2d88: ea85 bnez a3,2db8 <__lesf2+0x5e>
|
|
2d8a: ea11 bnez a2,2d9e <__lesf2+0x44>
|
|
2d8c: eb89 bnez a5,2d9e <__lesf2+0x44>
|
|
2d8e: 4501 li a0,0
|
|
2d90: 00089b63 bnez a7,2da6 <__lesf2+0x4c>
|
|
2d94: 8082 ret
|
|
2d96: 4509 li a0,2
|
|
2d98: fff5 bnez a5,2d94 <__lesf2+0x3a>
|
|
2d9a: dae5 beqz a3,2d8a <__lesf2+0x30>
|
|
2d9c: a831 j 2db8 <__lesf2+0x5e>
|
|
2d9e: 02088c63 beqz a7,2dd6 <__lesf2+0x7c>
|
|
2da2: 04b70063 beq a4,a1,2de2 <__lesf2+0x88>
|
|
2da6: 4505 li a0,1
|
|
2da8: d775 beqz a4,2d94 <__lesf2+0x3a>
|
|
2daa: 557d li a0,-1
|
|
2dac: 8082 ret
|
|
2dae: 4509 li a0,2
|
|
2db0: 02089863 bnez a7,2de0 <__lesf2+0x86>
|
|
2db4: 02d60463 beq a2,a3,2ddc <__lesf2+0x82>
|
|
2db8: e211 bnez a2,2dbc <__lesf2+0x62>
|
|
2dba: d7f5 beqz a5,2da6 <__lesf2+0x4c>
|
|
2dbc: feb715e3 bne a4,a1,2da6 <__lesf2+0x4c>
|
|
2dc0: fed643e3 blt a2,a3,2da6 <__lesf2+0x4c>
|
|
2dc4: 00c6c763 blt a3,a2,2dd2 <__lesf2+0x78>
|
|
2dc8: fd17efe3 bltu a5,a7,2da6 <__lesf2+0x4c>
|
|
2dcc: 4501 li a0,0
|
|
2dce: fcf8f3e3 bgeu a7,a5,2d94 <__lesf2+0x3a>
|
|
2dd2: e319 bnez a4,2dd8 <__lesf2+0x7e>
|
|
2dd4: bfd9 j 2daa <__lesf2+0x50>
|
|
2dd6: d9f1 beqz a1,2daa <__lesf2+0x50>
|
|
2dd8: 4505 li a0,1
|
|
2dda: 8082 ret
|
|
2ddc: d3e5 beqz a5,2dbc <__lesf2+0x62>
|
|
2dde: 8082 ret
|
|
2de0: 8082 ret
|
|
2de2: 4681 li a3,0
|
|
2de4: b7c5 j 2dc4 <__lesf2+0x6a>
|
|
|
|
00002de6 <__mulsf3>:
|
|
2de6: 7179 addi sp,sp,-48
|
|
2de8: d422 sw s0,40(sp)
|
|
2dea: 01755413 srli s0,a0,0x17
|
|
2dee: ce4e sw s3,28(sp)
|
|
2df0: cc52 sw s4,24(sp)
|
|
2df2: 00951993 slli s3,a0,0x9
|
|
2df6: d606 sw ra,44(sp)
|
|
2df8: d226 sw s1,36(sp)
|
|
2dfa: d04a sw s2,32(sp)
|
|
2dfc: ca56 sw s5,20(sp)
|
|
2dfe: c85a sw s6,16(sp)
|
|
2e00: 0ff47413 andi s0,s0,255
|
|
2e04: 0099d993 srli s3,s3,0x9
|
|
2e08: 01f55a13 srli s4,a0,0x1f
|
|
2e0c: c469 beqz s0,2ed6 <__mulsf3+0xf0>
|
|
2e0e: 0ff00793 li a5,255
|
|
2e12: 0ef40863 beq s0,a5,2f02 <__mulsf3+0x11c>
|
|
2e16: 00399793 slli a5,s3,0x3
|
|
2e1a: 04000737 lui a4,0x4000
|
|
2e1e: 00e7e9b3 or s3,a5,a4
|
|
2e22: f8140413 addi s0,s0,-127 # 3ffff81 <_data_lma+0x3ffb119>
|
|
2e26: 4481 li s1,0
|
|
2e28: 4b01 li s6,0
|
|
2e2a: 0175d713 srli a4,a1,0x17
|
|
2e2e: 00959a93 slli s5,a1,0x9
|
|
2e32: 0ff77713 andi a4,a4,255
|
|
2e36: 009ada93 srli s5,s5,0x9
|
|
2e3a: 01f5d913 srli s2,a1,0x1f
|
|
2e3e: cf45 beqz a4,2ef6 <__mulsf3+0x110>
|
|
2e40: 0ff00793 li a5,255
|
|
2e44: 02f70c63 beq a4,a5,2e7c <__mulsf3+0x96>
|
|
2e48: 0a8e slli s5,s5,0x3
|
|
2e4a: f8170713 addi a4,a4,-127 # 3ffff81 <_data_lma+0x3ffb119>
|
|
2e4e: 040007b7 lui a5,0x4000
|
|
2e52: 00faeab3 or s5,s5,a5
|
|
2e56: 943a add s0,s0,a4
|
|
2e58: 4601 li a2,0
|
|
2e5a: 012a4533 xor a0,s4,s2
|
|
2e5e: 47bd li a5,15
|
|
2e60: 86aa mv a3,a0
|
|
2e62: 00140593 addi a1,s0,1
|
|
2e66: 1097e263 bltu a5,s1,2f6a <__mulsf3+0x184>
|
|
2e6a: 00002717 auipc a4,0x2
|
|
2e6e: e2270713 addi a4,a4,-478 # 4c8c <_read+0x21c>
|
|
2e72: 048a slli s1,s1,0x2
|
|
2e74: 94ba add s1,s1,a4
|
|
2e76: 409c lw a5,0(s1)
|
|
2e78: 97ba add a5,a5,a4
|
|
2e7a: 8782 jr a5
|
|
2e7c: 0ff40413 addi s0,s0,255
|
|
2e80: 0c0a9863 bnez s5,2f50 <__mulsf3+0x16a>
|
|
2e84: 0024e493 ori s1,s1,2
|
|
2e88: 4609 li a2,2
|
|
2e8a: bfc1 j 2e5a <__mulsf3+0x74>
|
|
2e8c: 4501 li a0,0
|
|
2e8e: 0ff00713 li a4,255
|
|
2e92: 004007b7 lui a5,0x400
|
|
2e96: 50b2 lw ra,44(sp)
|
|
2e98: 5422 lw s0,40(sp)
|
|
2e9a: 07a6 slli a5,a5,0x9
|
|
2e9c: 075e slli a4,a4,0x17
|
|
2e9e: 83a5 srli a5,a5,0x9
|
|
2ea0: 057e slli a0,a0,0x1f
|
|
2ea2: 8fd9 or a5,a5,a4
|
|
2ea4: 5492 lw s1,36(sp)
|
|
2ea6: 5902 lw s2,32(sp)
|
|
2ea8: 49f2 lw s3,28(sp)
|
|
2eaa: 4a62 lw s4,24(sp)
|
|
2eac: 4ad2 lw s5,20(sp)
|
|
2eae: 4b42 lw s6,16(sp)
|
|
2eb0: 8d5d or a0,a0,a5
|
|
2eb2: 6145 addi sp,sp,48
|
|
2eb4: 8082 ret
|
|
2eb6: 86ca mv a3,s2
|
|
2eb8: 89d6 mv s3,s5
|
|
2eba: 8b32 mv s6,a2
|
|
2ebc: 4789 li a5,2
|
|
2ebe: 0afb0163 beq s6,a5,2f60 <__mulsf3+0x17a>
|
|
2ec2: 478d li a5,3
|
|
2ec4: fcfb04e3 beq s6,a5,2e8c <__mulsf3+0xa6>
|
|
2ec8: 4785 li a5,1
|
|
2eca: 8536 mv a0,a3
|
|
2ecc: 1afb1263 bne s6,a5,3070 <__mulsf3+0x28a>
|
|
2ed0: 4701 li a4,0
|
|
2ed2: 4781 li a5,0
|
|
2ed4: b7c9 j 2e96 <__mulsf3+0xb0>
|
|
2ed6: 04099e63 bnez s3,2f32 <__mulsf3+0x14c>
|
|
2eda: 0175d713 srli a4,a1,0x17
|
|
2ede: 00959a93 slli s5,a1,0x9
|
|
2ee2: 0ff77713 andi a4,a4,255
|
|
2ee6: 4491 li s1,4
|
|
2ee8: 4401 li s0,0
|
|
2eea: 4b05 li s6,1
|
|
2eec: 009ada93 srli s5,s5,0x9
|
|
2ef0: 01f5d913 srli s2,a1,0x1f
|
|
2ef4: f731 bnez a4,2e40 <__mulsf3+0x5a>
|
|
2ef6: 000a9d63 bnez s5,2f10 <__mulsf3+0x12a>
|
|
2efa: 0014e493 ori s1,s1,1
|
|
2efe: 4605 li a2,1
|
|
2f00: bfa9 j 2e5a <__mulsf3+0x74>
|
|
2f02: 02099363 bnez s3,2f28 <__mulsf3+0x142>
|
|
2f06: 44a1 li s1,8
|
|
2f08: 0ff00413 li s0,255
|
|
2f0c: 4b09 li s6,2
|
|
2f0e: bf31 j 2e2a <__mulsf3+0x44>
|
|
2f10: 8556 mv a0,s5
|
|
2f12: 08d000ef jal ra,379e <__clzsi2>
|
|
2f16: ffb50793 addi a5,a0,-5
|
|
2f1a: 8c09 sub s0,s0,a0
|
|
2f1c: 00fa9ab3 sll s5,s5,a5
|
|
2f20: f8a40413 addi s0,s0,-118
|
|
2f24: 4601 li a2,0
|
|
2f26: bf15 j 2e5a <__mulsf3+0x74>
|
|
2f28: 44b1 li s1,12
|
|
2f2a: 0ff00413 li s0,255
|
|
2f2e: 4b0d li s6,3
|
|
2f30: bded j 2e2a <__mulsf3+0x44>
|
|
2f32: 854e mv a0,s3
|
|
2f34: c62e sw a1,12(sp)
|
|
2f36: 069000ef jal ra,379e <__clzsi2>
|
|
2f3a: ffb50793 addi a5,a0,-5
|
|
2f3e: f8a00413 li s0,-118
|
|
2f42: 00f999b3 sll s3,s3,a5
|
|
2f46: 8c09 sub s0,s0,a0
|
|
2f48: 4481 li s1,0
|
|
2f4a: 4b01 li s6,0
|
|
2f4c: 45b2 lw a1,12(sp)
|
|
2f4e: bdf1 j 2e2a <__mulsf3+0x44>
|
|
2f50: 0034e493 ori s1,s1,3
|
|
2f54: 460d li a2,3
|
|
2f56: b711 j 2e5a <__mulsf3+0x74>
|
|
2f58: 4789 li a5,2
|
|
2f5a: 86d2 mv a3,s4
|
|
2f5c: f6fb13e3 bne s6,a5,2ec2 <__mulsf3+0xdc>
|
|
2f60: 8536 mv a0,a3
|
|
2f62: 0ff00713 li a4,255
|
|
2f66: 4781 li a5,0
|
|
2f68: b73d j 2e96 <__mulsf3+0xb0>
|
|
2f6a: 6341 lui t1,0x10
|
|
2f6c: fff30693 addi a3,t1,-1 # ffff <_data_lma+0xb197>
|
|
2f70: 0109d613 srli a2,s3,0x10
|
|
2f74: 010ad893 srli a7,s5,0x10
|
|
2f78: 00d9f7b3 and a5,s3,a3
|
|
2f7c: 00dafab3 and s5,s5,a3
|
|
2f80: 03578833 mul a6,a5,s5
|
|
2f84: 02f889b3 mul s3,a7,a5
|
|
2f88: 01085713 srli a4,a6,0x10
|
|
2f8c: 03560ab3 mul s5,a2,s5
|
|
2f90: 99d6 add s3,s3,s5
|
|
2f92: 974e add a4,a4,s3
|
|
2f94: 03160633 mul a2,a2,a7
|
|
2f98: 01577363 bgeu a4,s5,2f9e <__mulsf3+0x1b8>
|
|
2f9c: 961a add a2,a2,t1
|
|
2f9e: 67c1 lui a5,0x10
|
|
2fa0: 17fd addi a5,a5,-1
|
|
2fa2: 00f776b3 and a3,a4,a5
|
|
2fa6: 00f87833 and a6,a6,a5
|
|
2faa: 06c2 slli a3,a3,0x10
|
|
2fac: 96c2 add a3,a3,a6
|
|
2fae: 00669993 slli s3,a3,0x6
|
|
2fb2: 01075793 srli a5,a4,0x10
|
|
2fb6: 013039b3 snez s3,s3
|
|
2fba: 82e9 srli a3,a3,0x1a
|
|
2fbc: 97b2 add a5,a5,a2
|
|
2fbe: 079a slli a5,a5,0x6
|
|
2fc0: 00d9e6b3 or a3,s3,a3
|
|
2fc4: 00d7e9b3 or s3,a5,a3
|
|
2fc8: 00499793 slli a5,s3,0x4
|
|
2fcc: 0007d963 bgez a5,2fde <__mulsf3+0x1f8>
|
|
2fd0: 0019d713 srli a4,s3,0x1
|
|
2fd4: 0019f793 andi a5,s3,1
|
|
2fd8: 00f769b3 or s3,a4,a5
|
|
2fdc: 842e mv s0,a1
|
|
2fde: 07f40713 addi a4,s0,127
|
|
2fe2: 04e05063 blez a4,3022 <__mulsf3+0x23c>
|
|
2fe6: 0079f793 andi a5,s3,7
|
|
2fea: c799 beqz a5,2ff8 <__mulsf3+0x212>
|
|
2fec: 00f9f793 andi a5,s3,15
|
|
2ff0: 4691 li a3,4
|
|
2ff2: 00d78363 beq a5,a3,2ff8 <__mulsf3+0x212>
|
|
2ff6: 0991 addi s3,s3,4
|
|
2ff8: 00499793 slli a5,s3,0x4
|
|
2ffc: 0007d963 bgez a5,300e <__mulsf3+0x228>
|
|
3000: f80007b7 lui a5,0xf8000
|
|
3004: 17fd addi a5,a5,-1
|
|
3006: 00f9f9b3 and s3,s3,a5
|
|
300a: 08040713 addi a4,s0,128
|
|
300e: 0fe00793 li a5,254
|
|
3012: 04e7cb63 blt a5,a4,3068 <__mulsf3+0x282>
|
|
3016: 00699793 slli a5,s3,0x6
|
|
301a: 83a5 srli a5,a5,0x9
|
|
301c: 0ff77713 andi a4,a4,255
|
|
3020: bd9d j 2e96 <__mulsf3+0xb0>
|
|
3022: 4785 li a5,1
|
|
3024: 40e786b3 sub a3,a5,a4
|
|
3028: c711 beqz a4,3034 <__mulsf3+0x24e>
|
|
302a: 466d li a2,27
|
|
302c: 4701 li a4,0
|
|
302e: 4781 li a5,0
|
|
3030: e6d643e3 blt a2,a3,2e96 <__mulsf3+0xb0>
|
|
3034: 09e40713 addi a4,s0,158
|
|
3038: 00e99733 sll a4,s3,a4
|
|
303c: 00e03733 snez a4,a4
|
|
3040: 00d9d7b3 srl a5,s3,a3
|
|
3044: 8fd9 or a5,a5,a4
|
|
3046: 0077f713 andi a4,a5,7
|
|
304a: c719 beqz a4,3058 <__mulsf3+0x272>
|
|
304c: 00f7f713 andi a4,a5,15
|
|
3050: 4691 li a3,4
|
|
3052: 00d70363 beq a4,a3,3058 <__mulsf3+0x272>
|
|
3056: 0791 addi a5,a5,4
|
|
3058: 00579713 slli a4,a5,0x5
|
|
305c: 00074c63 bltz a4,3074 <__mulsf3+0x28e>
|
|
3060: 079a slli a5,a5,0x6
|
|
3062: 83a5 srli a5,a5,0x9
|
|
3064: 4701 li a4,0
|
|
3066: bd05 j 2e96 <__mulsf3+0xb0>
|
|
3068: 0ff00713 li a4,255
|
|
306c: 4781 li a5,0
|
|
306e: b525 j 2e96 <__mulsf3+0xb0>
|
|
3070: 842e mv s0,a1
|
|
3072: b7b5 j 2fde <__mulsf3+0x1f8>
|
|
3074: 4705 li a4,1
|
|
3076: 4781 li a5,0
|
|
3078: bd39 j 2e96 <__mulsf3+0xb0>
|
|
|
|
0000307a <__subsf3>:
|
|
307a: 00800737 lui a4,0x800
|
|
307e: 1141 addi sp,sp,-16
|
|
3080: 177d addi a4,a4,-1
|
|
3082: 01755693 srli a3,a0,0x17
|
|
3086: 0175d813 srli a6,a1,0x17
|
|
308a: 00a777b3 and a5,a4,a0
|
|
308e: 0ff6f693 andi a3,a3,255
|
|
3092: 01f55e93 srli t4,a0,0x1f
|
|
3096: 00b77633 and a2,a4,a1
|
|
309a: c226 sw s1,4(sp)
|
|
309c: c04a sw s2,0(sp)
|
|
309e: 0ff87813 andi a6,a6,255
|
|
30a2: c606 sw ra,12(sp)
|
|
30a4: c422 sw s0,8(sp)
|
|
30a6: 0ff00313 li t1,255
|
|
30aa: 8e3e mv t3,a5
|
|
30ac: 8936 mv s2,a3
|
|
30ae: 84f6 mv s1,t4
|
|
30b0: 00379f13 slli t5,a5,0x3
|
|
30b4: 81fd srli a1,a1,0x1f
|
|
30b6: 00361513 slli a0,a2,0x3
|
|
30ba: 410688b3 sub a7,a3,a6
|
|
30be: 10680263 beq a6,t1,31c2 <__subsf3+0x148>
|
|
30c2: 0015c593 xori a1,a1,1
|
|
30c6: 10be8c63 beq t4,a1,31de <__subsf3+0x164>
|
|
30ca: 0d105463 blez a7,3192 <__subsf3+0x118>
|
|
30ce: 10081063 bnez a6,31ce <__subsf3+0x154>
|
|
30d2: 1e050463 beqz a0,32ba <__subsf3+0x240>
|
|
30d6: 18fd addi a7,a7,-1
|
|
30d8: 40af07b3 sub a5,t5,a0
|
|
30dc: 02088663 beqz a7,3108 <__subsf3+0x8e>
|
|
30e0: 0ff00793 li a5,255
|
|
30e4: 16f68863 beq a3,a5,3254 <__subsf3+0x1da>
|
|
30e8: 47ed li a5,27
|
|
30ea: 2917c763 blt a5,a7,3378 <__subsf3+0x2fe>
|
|
30ee: 02000713 li a4,32
|
|
30f2: 41170733 sub a4,a4,a7
|
|
30f6: 00e51733 sll a4,a0,a4
|
|
30fa: 011557b3 srl a5,a0,a7
|
|
30fe: 00e03733 snez a4,a4
|
|
3102: 8fd9 or a5,a5,a4
|
|
3104: 40ff07b3 sub a5,t5,a5
|
|
3108: 00579713 slli a4,a5,0x5
|
|
310c: 1a075163 bgez a4,32ae <__subsf3+0x234>
|
|
3110: 04000437 lui s0,0x4000
|
|
3114: 147d addi s0,s0,-1
|
|
3116: 8c7d and s0,s0,a5
|
|
3118: 8522 mv a0,s0
|
|
311a: 2551 jal 379e <__clzsi2>
|
|
311c: 156d addi a0,a0,-5
|
|
311e: 00a417b3 sll a5,s0,a0
|
|
3122: 1b254e63 blt a0,s2,32de <__subsf3+0x264>
|
|
3126: 41250533 sub a0,a0,s2
|
|
312a: 00150413 addi s0,a0,1
|
|
312e: 02000713 li a4,32
|
|
3132: 8f01 sub a4,a4,s0
|
|
3134: 00e79733 sll a4,a5,a4
|
|
3138: 00e03733 snez a4,a4
|
|
313c: 0087d7b3 srl a5,a5,s0
|
|
3140: 8fd9 or a5,a5,a4
|
|
3142: 4901 li s2,0
|
|
3144: 0077f713 andi a4,a5,7
|
|
3148: c719 beqz a4,3156 <__subsf3+0xdc>
|
|
314a: 00f7f713 andi a4,a5,15
|
|
314e: 4691 li a3,4
|
|
3150: 00d70363 beq a4,a3,3156 <__subsf3+0xdc>
|
|
3154: 0791 addi a5,a5,4
|
|
3156: 00579713 slli a4,a5,0x5
|
|
315a: 14075e63 bgez a4,32b6 <__subsf3+0x23c>
|
|
315e: 00190693 addi a3,s2,1
|
|
3162: 0ff00713 li a4,255
|
|
3166: 0014fe93 andi t4,s1,1
|
|
316a: 16e68663 beq a3,a4,32d6 <__subsf3+0x25c>
|
|
316e: 079a slli a5,a5,0x6
|
|
3170: 83a5 srli a5,a5,0x9
|
|
3172: 0ff6f693 andi a3,a3,255
|
|
3176: 07a6 slli a5,a5,0x9
|
|
3178: 40b2 lw ra,12(sp)
|
|
317a: 4422 lw s0,8(sp)
|
|
317c: 0097d513 srli a0,a5,0x9
|
|
3180: 06de slli a3,a3,0x17
|
|
3182: 01fe9793 slli a5,t4,0x1f
|
|
3186: 8d55 or a0,a0,a3
|
|
3188: 4492 lw s1,4(sp)
|
|
318a: 4902 lw s2,0(sp)
|
|
318c: 8d5d or a0,a0,a5
|
|
318e: 0141 addi sp,sp,16
|
|
3190: 8082 ret
|
|
3192: 0a089263 bnez a7,3236 <__subsf3+0x1bc>
|
|
3196: 00168713 addi a4,a3,1
|
|
319a: 0fe77713 andi a4,a4,254
|
|
319e: 14071b63 bnez a4,32f4 <__subsf3+0x27a>
|
|
31a2: 22069463 bnez a3,33ca <__subsf3+0x350>
|
|
31a6: 200f0263 beqz t5,33aa <__subsf3+0x330>
|
|
31aa: d571 beqz a0,3176 <__subsf3+0xfc>
|
|
31ac: 40af07b3 sub a5,t5,a0
|
|
31b0: 00579713 slli a4,a5,0x5
|
|
31b4: 22075563 bgez a4,33de <__subsf3+0x364>
|
|
31b8: 41e507b3 sub a5,a0,t5
|
|
31bc: 4901 li s2,0
|
|
31be: 84ae mv s1,a1
|
|
31c0: b751 j 3144 <__subsf3+0xca>
|
|
31c2: f00500e3 beqz a0,30c2 <__subsf3+0x48>
|
|
31c6: 0abe8a63 beq t4,a1,327a <__subsf3+0x200>
|
|
31ca: fd1054e3 blez a7,3192 <__subsf3+0x118>
|
|
31ce: 0ff00793 li a5,255
|
|
31d2: 08f68163 beq a3,a5,3254 <__subsf3+0x1da>
|
|
31d6: 040007b7 lui a5,0x4000
|
|
31da: 8d5d or a0,a0,a5
|
|
31dc: b731 j 30e8 <__subsf3+0x6e>
|
|
31de: 09105e63 blez a7,327a <__subsf3+0x200>
|
|
31e2: 08080163 beqz a6,3264 <__subsf3+0x1ea>
|
|
31e6: 0ff00793 li a5,255
|
|
31ea: 06f68563 beq a3,a5,3254 <__subsf3+0x1da>
|
|
31ee: 040007b7 lui a5,0x4000
|
|
31f2: 8d5d or a0,a0,a5
|
|
31f4: 47ed li a5,27
|
|
31f6: 1f17c063 blt a5,a7,33d6 <__subsf3+0x35c>
|
|
31fa: 02000713 li a4,32
|
|
31fe: 41170733 sub a4,a4,a7
|
|
3202: 00e51733 sll a4,a0,a4
|
|
3206: 011557b3 srl a5,a0,a7
|
|
320a: 00e03733 snez a4,a4
|
|
320e: 8fd9 or a5,a5,a4
|
|
3210: 97fa add a5,a5,t5
|
|
3212: 00579713 slli a4,a5,0x5
|
|
3216: 08075c63 bgez a4,32ae <__subsf3+0x234>
|
|
321a: 0905 addi s2,s2,1
|
|
321c: 0ff00713 li a4,255
|
|
3220: 0ae90b63 beq s2,a4,32d6 <__subsf3+0x25c>
|
|
3224: 7e0006b7 lui a3,0x7e000
|
|
3228: 0017d713 srli a4,a5,0x1
|
|
322c: 16fd addi a3,a3,-1
|
|
322e: 8b85 andi a5,a5,1
|
|
3230: 8f75 and a4,a4,a3
|
|
3232: 8fd9 or a5,a5,a4
|
|
3234: bf01 j 3144 <__subsf3+0xca>
|
|
3236: 40d80733 sub a4,a6,a3
|
|
323a: 10069563 bnez a3,3344 <__subsf3+0x2ca>
|
|
323e: 140f0d63 beqz t5,3398 <__subsf3+0x31e>
|
|
3242: 177d addi a4,a4,-1
|
|
3244: 1a070363 beqz a4,33ea <__subsf3+0x370>
|
|
3248: 0ff00793 li a5,255
|
|
324c: 10f81463 bne a6,a5,3354 <__subsf3+0x2da>
|
|
3250: 84ae mv s1,a1
|
|
3252: 8e32 mv t3,a2
|
|
3254: 060e0f63 beqz t3,32d2 <__subsf3+0x258>
|
|
3258: 4e81 li t4,0
|
|
325a: 0ff00693 li a3,255
|
|
325e: 004007b7 lui a5,0x400
|
|
3262: bf11 j 3176 <__subsf3+0xfc>
|
|
3264: c939 beqz a0,32ba <__subsf3+0x240>
|
|
3266: 18fd addi a7,a7,-1
|
|
3268: 00af07b3 add a5,t5,a0
|
|
326c: fa0883e3 beqz a7,3212 <__subsf3+0x198>
|
|
3270: 0ff00793 li a5,255
|
|
3274: f8f690e3 bne a3,a5,31f4 <__subsf3+0x17a>
|
|
3278: bff1 j 3254 <__subsf3+0x1da>
|
|
327a: 08089963 bnez a7,330c <__subsf3+0x292>
|
|
327e: 00168913 addi s2,a3,1 # 7e000001 <_eusrstack+0x5dffb001>
|
|
3282: 0fe97713 andi a4,s2,254
|
|
3286: 12071663 bnez a4,33b2 <__subsf3+0x338>
|
|
328a: 10069b63 bnez a3,33a0 <__subsf3+0x326>
|
|
328e: 160f0363 beqz t5,33f4 <__subsf3+0x37a>
|
|
3292: ee0502e3 beqz a0,3176 <__subsf3+0xfc>
|
|
3296: 00af07b3 add a5,t5,a0
|
|
329a: 00579713 slli a4,a5,0x5
|
|
329e: 4901 li s2,0
|
|
32a0: 00075763 bgez a4,32ae <__subsf3+0x234>
|
|
32a4: fc000737 lui a4,0xfc000
|
|
32a8: 177d addi a4,a4,-1
|
|
32aa: 8ff9 and a5,a5,a4
|
|
32ac: 4905 li s2,1
|
|
32ae: 0077f713 andi a4,a5,7
|
|
32b2: e8071ce3 bnez a4,314a <__subsf3+0xd0>
|
|
32b6: 0037de13 srli t3,a5,0x3
|
|
32ba: 0ff00793 li a5,255
|
|
32be: f8f90be3 beq s2,a5,3254 <__subsf3+0x1da>
|
|
32c2: 009e1793 slli a5,t3,0x9
|
|
32c6: 83a5 srli a5,a5,0x9
|
|
32c8: 0ff97693 andi a3,s2,255
|
|
32cc: 0014fe93 andi t4,s1,1
|
|
32d0: b55d j 3176 <__subsf3+0xfc>
|
|
32d2: 0014fe93 andi t4,s1,1
|
|
32d6: 0ff00693 li a3,255
|
|
32da: 4781 li a5,0
|
|
32dc: bd69 j 3176 <__subsf3+0xfc>
|
|
32de: fc000737 lui a4,0xfc000
|
|
32e2: 177d addi a4,a4,-1
|
|
32e4: 8ff9 and a5,a5,a4
|
|
32e6: 0077f713 andi a4,a5,7
|
|
32ea: 40a90933 sub s2,s2,a0
|
|
32ee: e4071ee3 bnez a4,314a <__subsf3+0xd0>
|
|
32f2: b7d1 j 32b6 <__subsf3+0x23c>
|
|
32f4: 40af0433 sub s0,t5,a0
|
|
32f8: 00541793 slli a5,s0,0x5
|
|
32fc: 0c07c363 bltz a5,33c2 <__subsf3+0x348>
|
|
3300: e0041ce3 bnez s0,3118 <__subsf3+0x9e>
|
|
3304: 4e81 li t4,0
|
|
3306: 4681 li a3,0
|
|
3308: 4781 li a5,0
|
|
330a: b5b5 j 3176 <__subsf3+0xfc>
|
|
330c: 40d80733 sub a4,a6,a3
|
|
3310: c6b5 beqz a3,337c <__subsf3+0x302>
|
|
3312: 0ff00793 li a5,255
|
|
3316: f2f80ee3 beq a6,a5,3252 <__subsf3+0x1d8>
|
|
331a: 040007b7 lui a5,0x4000
|
|
331e: 00ff6f33 or t5,t5,a5
|
|
3322: 47ed li a5,27
|
|
3324: 0ce7cd63 blt a5,a4,33fe <__subsf3+0x384>
|
|
3328: 02000793 li a5,32
|
|
332c: 8f99 sub a5,a5,a4
|
|
332e: 00ff17b3 sll a5,t5,a5
|
|
3332: 00ef5733 srl a4,t5,a4
|
|
3336: 00f037b3 snez a5,a5
|
|
333a: 8f5d or a4,a4,a5
|
|
333c: 00a707b3 add a5,a4,a0
|
|
3340: 8942 mv s2,a6
|
|
3342: bdc1 j 3212 <__subsf3+0x198>
|
|
3344: 0ff00793 li a5,255
|
|
3348: f0f804e3 beq a6,a5,3250 <__subsf3+0x1d6>
|
|
334c: 040007b7 lui a5,0x4000
|
|
3350: 00ff6f33 or t5,t5,a5
|
|
3354: 47ed li a5,27
|
|
3356: 08e7c263 blt a5,a4,33da <__subsf3+0x360>
|
|
335a: 02000793 li a5,32
|
|
335e: 8f99 sub a5,a5,a4
|
|
3360: 00ff17b3 sll a5,t5,a5
|
|
3364: 00ef5733 srl a4,t5,a4
|
|
3368: 00f037b3 snez a5,a5
|
|
336c: 8fd9 or a5,a5,a4
|
|
336e: 40f507b3 sub a5,a0,a5
|
|
3372: 8942 mv s2,a6
|
|
3374: 84ae mv s1,a1
|
|
3376: bb49 j 3108 <__subsf3+0x8e>
|
|
3378: 4785 li a5,1
|
|
337a: b369 j 3104 <__subsf3+0x8a>
|
|
337c: 060f0e63 beqz t5,33f8 <__subsf3+0x37e>
|
|
3380: 177d addi a4,a4,-1
|
|
3382: 00af07b3 add a5,t5,a0
|
|
3386: 8942 mv s2,a6
|
|
3388: e80705e3 beqz a4,3212 <__subsf3+0x198>
|
|
338c: 0ff00793 li a5,255
|
|
3390: f8f819e3 bne a6,a5,3322 <__subsf3+0x2a8>
|
|
3394: 8e32 mv t3,a2
|
|
3396: bd7d j 3254 <__subsf3+0x1da>
|
|
3398: 8e32 mv t3,a2
|
|
339a: 8942 mv s2,a6
|
|
339c: 84ae mv s1,a1
|
|
339e: bf31 j 32ba <__subsf3+0x240>
|
|
33a0: ea0f09e3 beqz t5,3252 <__subsf3+0x1d8>
|
|
33a4: ea0508e3 beqz a0,3254 <__subsf3+0x1da>
|
|
33a8: bd45 j 3258 <__subsf3+0x1de>
|
|
33aa: cd0d beqz a0,33e4 <__subsf3+0x36a>
|
|
33ac: 8eae mv t4,a1
|
|
33ae: 87b2 mv a5,a2
|
|
33b0: b3d9 j 3176 <__subsf3+0xfc>
|
|
33b2: 0ff00793 li a5,255
|
|
33b6: f2f900e3 beq s2,a5,32d6 <__subsf3+0x25c>
|
|
33ba: 00af07b3 add a5,t5,a0
|
|
33be: 8385 srli a5,a5,0x1
|
|
33c0: b5fd j 32ae <__subsf3+0x234>
|
|
33c2: 41e50433 sub s0,a0,t5
|
|
33c6: 84ae mv s1,a1
|
|
33c8: bb81 j 3118 <__subsf3+0x9e>
|
|
33ca: fc0f1de3 bnez t5,33a4 <__subsf3+0x32a>
|
|
33ce: e80505e3 beqz a0,3258 <__subsf3+0x1de>
|
|
33d2: 84ae mv s1,a1
|
|
33d4: bdbd j 3252 <__subsf3+0x1d8>
|
|
33d6: 4785 li a5,1
|
|
33d8: bd25 j 3210 <__subsf3+0x196>
|
|
33da: 4785 li a5,1
|
|
33dc: bf49 j 336e <__subsf3+0x2f4>
|
|
33de: 4901 li s2,0
|
|
33e0: ec0797e3 bnez a5,32ae <__subsf3+0x234>
|
|
33e4: 4e81 li t4,0
|
|
33e6: 4781 li a5,0
|
|
33e8: b379 j 3176 <__subsf3+0xfc>
|
|
33ea: 41e507b3 sub a5,a0,t5
|
|
33ee: 8942 mv s2,a6
|
|
33f0: 84ae mv s1,a1
|
|
33f2: bb19 j 3108 <__subsf3+0x8e>
|
|
33f4: 87b2 mv a5,a2
|
|
33f6: b341 j 3176 <__subsf3+0xfc>
|
|
33f8: 8e32 mv t3,a2
|
|
33fa: 8942 mv s2,a6
|
|
33fc: bd7d j 32ba <__subsf3+0x240>
|
|
33fe: 4705 li a4,1
|
|
3400: bf35 j 333c <__subsf3+0x2c2>
|
|
|
|
00003402 <__fixsfsi>:
|
|
3402: 00800637 lui a2,0x800
|
|
3406: 01755713 srli a4,a0,0x17
|
|
340a: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7fb197>
|
|
340e: 0ff77713 andi a4,a4,255
|
|
3412: 07e00593 li a1,126
|
|
3416: 00a7f6b3 and a3,a5,a0
|
|
341a: 01f55793 srli a5,a0,0x1f
|
|
341e: 00e5fc63 bgeu a1,a4,3436 <__fixsfsi+0x34>
|
|
3422: 09d00593 li a1,157
|
|
3426: 00e5fa63 bgeu a1,a4,343a <__fixsfsi+0x38>
|
|
342a: 80000537 lui a0,0x80000
|
|
342e: fff54513 not a0,a0
|
|
3432: 953e add a0,a0,a5
|
|
3434: 8082 ret
|
|
3436: 4501 li a0,0
|
|
3438: 8082 ret
|
|
343a: 09500593 li a1,149
|
|
343e: 8ed1 or a3,a3,a2
|
|
3440: 00e5cd63 blt a1,a4,345a <__fixsfsi+0x58>
|
|
3444: 09600613 li a2,150
|
|
3448: 40e60733 sub a4,a2,a4
|
|
344c: 00e6d733 srl a4,a3,a4
|
|
3450: 40e00533 neg a0,a4
|
|
3454: f3f5 bnez a5,3438 <__fixsfsi+0x36>
|
|
3456: 853a mv a0,a4
|
|
3458: 8082 ret
|
|
345a: f6a70713 addi a4,a4,-150 # fbffff6a <_eusrstack+0xdbffaf6a>
|
|
345e: 00e69733 sll a4,a3,a4
|
|
3462: b7fd j 3450 <__fixsfsi+0x4e>
|
|
|
|
00003464 <__fixunssfsi>:
|
|
3464: 01755713 srli a4,a0,0x17
|
|
3468: 00800637 lui a2,0x800
|
|
346c: fff60793 addi a5,a2,-1 # 7fffff <_data_lma+0x7fb197>
|
|
3470: 0ff77713 andi a4,a4,255
|
|
3474: 07e00593 li a1,126
|
|
3478: 00a7f6b3 and a3,a5,a0
|
|
347c: 01f55793 srli a5,a0,0x1f
|
|
3480: 4501 li a0,0
|
|
3482: 00e5f463 bgeu a1,a4,348a <__fixunssfsi+0x26>
|
|
3486: c399 beqz a5,348c <__fixunssfsi+0x28>
|
|
3488: 8082 ret
|
|
348a: 8082 ret
|
|
348c: 09e00793 li a5,158
|
|
3490: 557d li a0,-1
|
|
3492: fee7ebe3 bltu a5,a4,3488 <__fixunssfsi+0x24>
|
|
3496: 09500593 li a1,149
|
|
349a: 00c6e7b3 or a5,a3,a2
|
|
349e: 00e5d763 bge a1,a4,34ac <__fixunssfsi+0x48>
|
|
34a2: f6a70713 addi a4,a4,-150
|
|
34a6: 00e79533 sll a0,a5,a4
|
|
34aa: 8082 ret
|
|
34ac: 09600513 li a0,150
|
|
34b0: 40e50733 sub a4,a0,a4
|
|
34b4: 00e7d533 srl a0,a5,a4
|
|
34b8: 8082 ret
|
|
|
|
000034ba <__floatunsisf>:
|
|
34ba: 1141 addi sp,sp,-16
|
|
34bc: c606 sw ra,12(sp)
|
|
34be: c422 sw s0,8(sp)
|
|
34c0: cd15 beqz a0,34fc <__floatunsisf+0x42>
|
|
34c2: 842a mv s0,a0
|
|
34c4: 2ce9 jal 379e <__clzsi2>
|
|
34c6: 09e00793 li a5,158
|
|
34ca: 40a78733 sub a4,a5,a0
|
|
34ce: 09600793 li a5,150
|
|
34d2: 04e7c063 blt a5,a4,3512 <__floatunsisf+0x58>
|
|
34d6: 46a1 li a3,8
|
|
34d8: 0ff77793 andi a5,a4,255
|
|
34dc: 00a6d563 bge a3,a0,34e6 <__floatunsisf+0x2c>
|
|
34e0: 1561 addi a0,a0,-8
|
|
34e2: 00a41433 sll s0,s0,a0
|
|
34e6: 0426 slli s0,s0,0x9
|
|
34e8: 8025 srli s0,s0,0x9
|
|
34ea: 0426 slli s0,s0,0x9
|
|
34ec: 00945513 srli a0,s0,0x9
|
|
34f0: 40b2 lw ra,12(sp)
|
|
34f2: 4422 lw s0,8(sp)
|
|
34f4: 07de slli a5,a5,0x17
|
|
34f6: 8d5d or a0,a0,a5
|
|
34f8: 0141 addi sp,sp,16
|
|
34fa: 8082 ret
|
|
34fc: 4401 li s0,0
|
|
34fe: 0426 slli s0,s0,0x9
|
|
3500: 00945513 srli a0,s0,0x9
|
|
3504: 40b2 lw ra,12(sp)
|
|
3506: 4422 lw s0,8(sp)
|
|
3508: 4781 li a5,0
|
|
350a: 07de slli a5,a5,0x17
|
|
350c: 8d5d or a0,a0,a5
|
|
350e: 0141 addi sp,sp,16
|
|
3510: 8082 ret
|
|
3512: 09900793 li a5,153
|
|
3516: 00e7dd63 bge a5,a4,3530 <__floatunsisf+0x76>
|
|
351a: 01b50793 addi a5,a0,27 # 8000001b <_eusrstack+0x5fffb01b>
|
|
351e: 4695 li a3,5
|
|
3520: 00f417b3 sll a5,s0,a5
|
|
3524: 8e89 sub a3,a3,a0
|
|
3526: 00f037b3 snez a5,a5
|
|
352a: 00d45433 srl s0,s0,a3
|
|
352e: 8c5d or s0,s0,a5
|
|
3530: 4795 li a5,5
|
|
3532: 00a7d663 bge a5,a0,353e <__floatunsisf+0x84>
|
|
3536: ffb50793 addi a5,a0,-5
|
|
353a: 00f41433 sll s0,s0,a5
|
|
353e: fc0006b7 lui a3,0xfc000
|
|
3542: 16fd addi a3,a3,-1
|
|
3544: 00747793 andi a5,s0,7
|
|
3548: 00d47633 and a2,s0,a3
|
|
354c: c385 beqz a5,356c <__floatunsisf+0xb2>
|
|
354e: 00f47793 andi a5,s0,15
|
|
3552: 4591 li a1,4
|
|
3554: 00b78c63 beq a5,a1,356c <__floatunsisf+0xb2>
|
|
3558: 0611 addi a2,a2,4
|
|
355a: 00561793 slli a5,a2,0x5
|
|
355e: 0007d763 bgez a5,356c <__floatunsisf+0xb2>
|
|
3562: 09f00793 li a5,159
|
|
3566: 8e75 and a2,a2,a3
|
|
3568: 40a78733 sub a4,a5,a0
|
|
356c: 00661413 slli s0,a2,0x6
|
|
3570: 8025 srli s0,s0,0x9
|
|
3572: 0426 slli s0,s0,0x9
|
|
3574: 00945513 srli a0,s0,0x9
|
|
3578: 40b2 lw ra,12(sp)
|
|
357a: 4422 lw s0,8(sp)
|
|
357c: 0ff77793 andi a5,a4,255
|
|
3580: 07de slli a5,a5,0x17
|
|
3582: 8d5d or a0,a0,a5
|
|
3584: 0141 addi sp,sp,16
|
|
3586: 8082 ret
|
|
|
|
00003588 <__extendsfdf2>:
|
|
3588: 01755713 srli a4,a0,0x17
|
|
358c: 0ff77713 andi a4,a4,255
|
|
3590: 1141 addi sp,sp,-16
|
|
3592: 00170793 addi a5,a4,1
|
|
3596: c422 sw s0,8(sp)
|
|
3598: c226 sw s1,4(sp)
|
|
359a: 00951413 slli s0,a0,0x9
|
|
359e: c606 sw ra,12(sp)
|
|
35a0: 0fe7f793 andi a5,a5,254
|
|
35a4: 8025 srli s0,s0,0x9
|
|
35a6: 01f55493 srli s1,a0,0x1f
|
|
35aa: c785 beqz a5,35d2 <__extendsfdf2+0x4a>
|
|
35ac: 00345793 srli a5,s0,0x3
|
|
35b0: 38070713 addi a4,a4,896
|
|
35b4: 0476 slli s0,s0,0x1d
|
|
35b6: 07b2 slli a5,a5,0xc
|
|
35b8: 0752 slli a4,a4,0x14
|
|
35ba: 83b1 srli a5,a5,0xc
|
|
35bc: 01f49513 slli a0,s1,0x1f
|
|
35c0: 8fd9 or a5,a5,a4
|
|
35c2: 8fc9 or a5,a5,a0
|
|
35c4: 40b2 lw ra,12(sp)
|
|
35c6: 8522 mv a0,s0
|
|
35c8: 4422 lw s0,8(sp)
|
|
35ca: 4492 lw s1,4(sp)
|
|
35cc: 85be mv a1,a5
|
|
35ce: 0141 addi sp,sp,16
|
|
35d0: 8082 ret
|
|
35d2: eb05 bnez a4,3602 <__extendsfdf2+0x7a>
|
|
35d4: c439 beqz s0,3622 <__extendsfdf2+0x9a>
|
|
35d6: 8522 mv a0,s0
|
|
35d8: 22d9 jal 379e <__clzsi2>
|
|
35da: 47a9 li a5,10
|
|
35dc: 04a7c663 blt a5,a0,3628 <__extendsfdf2+0xa0>
|
|
35e0: 472d li a4,11
|
|
35e2: 8f09 sub a4,a4,a0
|
|
35e4: 01550793 addi a5,a0,21
|
|
35e8: 00e45733 srl a4,s0,a4
|
|
35ec: 00f41433 sll s0,s0,a5
|
|
35f0: 00c71793 slli a5,a4,0xc
|
|
35f4: 38900713 li a4,905
|
|
35f8: 8f09 sub a4,a4,a0
|
|
35fa: 83b1 srli a5,a5,0xc
|
|
35fc: 7ff77713 andi a4,a4,2047
|
|
3600: bf5d j 35b6 <__extendsfdf2+0x2e>
|
|
3602: cc01 beqz s0,361a <__extendsfdf2+0x92>
|
|
3604: 00345713 srli a4,s0,0x3
|
|
3608: 000807b7 lui a5,0x80
|
|
360c: 8fd9 or a5,a5,a4
|
|
360e: 07b2 slli a5,a5,0xc
|
|
3610: 0476 slli s0,s0,0x1d
|
|
3612: 83b1 srli a5,a5,0xc
|
|
3614: 7ff00713 li a4,2047
|
|
3618: bf79 j 35b6 <__extendsfdf2+0x2e>
|
|
361a: 7ff00713 li a4,2047
|
|
361e: 4781 li a5,0
|
|
3620: bf59 j 35b6 <__extendsfdf2+0x2e>
|
|
3622: 4701 li a4,0
|
|
3624: 4781 li a5,0
|
|
3626: bf41 j 35b6 <__extendsfdf2+0x2e>
|
|
3628: ff550713 addi a4,a0,-11
|
|
362c: 00e41733 sll a4,s0,a4
|
|
3630: 4401 li s0,0
|
|
3632: bf7d j 35f0 <__extendsfdf2+0x68>
|
|
|
|
00003634 <__truncdfsf2>:
|
|
3634: 0145d693 srli a3,a1,0x14
|
|
3638: 00c59793 slli a5,a1,0xc
|
|
363c: 7ff6f693 andi a3,a3,2047
|
|
3640: 83b1 srli a5,a5,0xc
|
|
3642: 00168613 addi a2,a3,1 # fc000001 <_eusrstack+0xdbffb001>
|
|
3646: 078e slli a5,a5,0x3
|
|
3648: 01d55713 srli a4,a0,0x1d
|
|
364c: 7fe67613 andi a2,a2,2046
|
|
3650: 81fd srli a1,a1,0x1f
|
|
3652: 8f5d or a4,a4,a5
|
|
3654: 00351893 slli a7,a0,0x3
|
|
3658: ce35 beqz a2,36d4 <__truncdfsf2+0xa0>
|
|
365a: c8068813 addi a6,a3,-896
|
|
365e: 0fe00793 li a5,254
|
|
3662: 0107dd63 bge a5,a6,367c <__truncdfsf2+0x48>
|
|
3666: 4781 li a5,0
|
|
3668: 00979513 slli a0,a5,0x9
|
|
366c: 0ff00693 li a3,255
|
|
3670: 06de slli a3,a3,0x17
|
|
3672: 8125 srli a0,a0,0x9
|
|
3674: 05fe slli a1,a1,0x1f
|
|
3676: 8d55 or a0,a0,a3
|
|
3678: 8d4d or a0,a0,a1
|
|
367a: 8082 ret
|
|
367c: 0b005563 blez a6,3726 <__truncdfsf2+0xf2>
|
|
3680: 00651793 slli a5,a0,0x6
|
|
3684: 070e slli a4,a4,0x3
|
|
3686: 00f037b3 snez a5,a5
|
|
368a: 8fd9 or a5,a5,a4
|
|
368c: 01d8d893 srli a7,a7,0x1d
|
|
3690: 0117e7b3 or a5,a5,a7
|
|
3694: 0077f713 andi a4,a5,7
|
|
3698: 10070163 beqz a4,379a <__truncdfsf2+0x166>
|
|
369c: 00f7f713 andi a4,a5,15
|
|
36a0: 4691 li a3,4
|
|
36a2: 00d70363 beq a4,a3,36a8 <__truncdfsf2+0x74>
|
|
36a6: 0791 addi a5,a5,4
|
|
36a8: 04000737 lui a4,0x4000
|
|
36ac: 8f7d and a4,a4,a5
|
|
36ae: c775 beqz a4,379a <__truncdfsf2+0x166>
|
|
36b0: 00180713 addi a4,a6,1
|
|
36b4: 0ff00613 li a2,255
|
|
36b8: 0ff77693 andi a3,a4,255
|
|
36bc: fac705e3 beq a4,a2,3666 <__truncdfsf2+0x32>
|
|
36c0: 079a slli a5,a5,0x6
|
|
36c2: 83a5 srli a5,a5,0x9
|
|
36c4: 00979513 slli a0,a5,0x9
|
|
36c8: 06de slli a3,a3,0x17
|
|
36ca: 8125 srli a0,a0,0x9
|
|
36cc: 05fe slli a1,a1,0x1f
|
|
36ce: 8d55 or a0,a0,a3
|
|
36d0: 8d4d or a0,a0,a1
|
|
36d2: 8082 ret
|
|
36d4: 011767b3 or a5,a4,a7
|
|
36d8: ee99 bnez a3,36f6 <__truncdfsf2+0xc2>
|
|
36da: cf85 beqz a5,3712 <__truncdfsf2+0xde>
|
|
36dc: 4795 li a5,5
|
|
36de: 079a slli a5,a5,0x6
|
|
36e0: 83a5 srli a5,a5,0x9
|
|
36e2: 00979513 slli a0,a5,0x9
|
|
36e6: 0ff6f693 andi a3,a3,255
|
|
36ea: 06de slli a3,a3,0x17
|
|
36ec: 8125 srli a0,a0,0x9
|
|
36ee: 05fe slli a1,a1,0x1f
|
|
36f0: 8d55 or a0,a0,a3
|
|
36f2: 8d4d or a0,a0,a1
|
|
36f4: 8082 ret
|
|
36f6: dba5 beqz a5,3666 <__truncdfsf2+0x32>
|
|
36f8: 004007b7 lui a5,0x400
|
|
36fc: 00979513 slli a0,a5,0x9
|
|
3700: 0ff00693 li a3,255
|
|
3704: 06de slli a3,a3,0x17
|
|
3706: 4581 li a1,0
|
|
3708: 8125 srli a0,a0,0x9
|
|
370a: 05fe slli a1,a1,0x1f
|
|
370c: 8d55 or a0,a0,a3
|
|
370e: 8d4d or a0,a0,a1
|
|
3710: 8082 ret
|
|
3712: 4781 li a5,0
|
|
3714: 00979513 slli a0,a5,0x9
|
|
3718: 4681 li a3,0
|
|
371a: 06de slli a3,a3,0x17
|
|
371c: 8125 srli a0,a0,0x9
|
|
371e: 05fe slli a1,a1,0x1f
|
|
3720: 8d55 or a0,a0,a3
|
|
3722: 8d4d or a0,a0,a1
|
|
3724: 8082 ret
|
|
3726: 57a5 li a5,-23
|
|
3728: 04f84863 blt a6,a5,3778 <__truncdfsf2+0x144>
|
|
372c: 47f9 li a5,30
|
|
372e: 00800637 lui a2,0x800
|
|
3732: 410787b3 sub a5,a5,a6
|
|
3736: 457d li a0,31
|
|
3738: 8e59 or a2,a2,a4
|
|
373a: 04f55163 bge a0,a5,377c <__truncdfsf2+0x148>
|
|
373e: 5779 li a4,-2
|
|
3740: 41070733 sub a4,a4,a6
|
|
3744: 02000513 li a0,32
|
|
3748: 00e65733 srl a4,a2,a4
|
|
374c: 00a78863 beq a5,a0,375c <__truncdfsf2+0x128>
|
|
3750: ca268693 addi a3,a3,-862
|
|
3754: 00d616b3 sll a3,a2,a3
|
|
3758: 00d8e8b3 or a7,a7,a3
|
|
375c: 011037b3 snez a5,a7
|
|
3760: 8fd9 or a5,a5,a4
|
|
3762: 0077f713 andi a4,a5,7
|
|
3766: 4801 li a6,0
|
|
3768: fb15 bnez a4,369c <__truncdfsf2+0x68>
|
|
376a: 00579713 slli a4,a5,0x5
|
|
376e: 4685 li a3,1
|
|
3770: f40748e3 bltz a4,36c0 <__truncdfsf2+0x8c>
|
|
3774: 4681 li a3,0
|
|
3776: b7a5 j 36de <__truncdfsf2+0xaa>
|
|
3778: 4681 li a3,0
|
|
377a: b78d j 36dc <__truncdfsf2+0xa8>
|
|
377c: c8268693 addi a3,a3,-894
|
|
3780: 00d89733 sll a4,a7,a3
|
|
3784: 00e03733 snez a4,a4
|
|
3788: 00d616b3 sll a3,a2,a3
|
|
378c: 00f8d8b3 srl a7,a7,a5
|
|
3790: 00d767b3 or a5,a4,a3
|
|
3794: 00f8e7b3 or a5,a7,a5
|
|
3798: b7e9 j 3762 <__truncdfsf2+0x12e>
|
|
379a: 86c2 mv a3,a6
|
|
379c: b789 j 36de <__truncdfsf2+0xaa>
|
|
|
|
0000379e <__clzsi2>:
|
|
379e: 67c1 lui a5,0x10
|
|
37a0: 02f57c63 bgeu a0,a5,37d8 <__clzsi2+0x3a>
|
|
37a4: 0ff00793 li a5,255
|
|
37a8: 02000713 li a4,32
|
|
37ac: 00a7eb63 bltu a5,a0,37c2 <__clzsi2+0x24>
|
|
37b0: 00001797 auipc a5,0x1
|
|
37b4: 51c78793 addi a5,a5,1308 # 4ccc <__clz_tab>
|
|
37b8: 97aa add a5,a5,a0
|
|
37ba: 2388 lbu a0,0(a5)
|
|
37bc: 40a70533 sub a0,a4,a0
|
|
37c0: 8082 ret
|
|
37c2: 8121 srli a0,a0,0x8
|
|
37c4: 00001797 auipc a5,0x1
|
|
37c8: 50878793 addi a5,a5,1288 # 4ccc <__clz_tab>
|
|
37cc: 97aa add a5,a5,a0
|
|
37ce: 2388 lbu a0,0(a5)
|
|
37d0: 4761 li a4,24
|
|
37d2: 40a70533 sub a0,a4,a0
|
|
37d6: 8082 ret
|
|
37d8: 010007b7 lui a5,0x1000
|
|
37dc: 00f56d63 bltu a0,a5,37f6 <__clzsi2+0x58>
|
|
37e0: 8161 srli a0,a0,0x18
|
|
37e2: 00001797 auipc a5,0x1
|
|
37e6: 4ea78793 addi a5,a5,1258 # 4ccc <__clz_tab>
|
|
37ea: 97aa add a5,a5,a0
|
|
37ec: 2388 lbu a0,0(a5)
|
|
37ee: 4721 li a4,8
|
|
37f0: 40a70533 sub a0,a4,a0
|
|
37f4: 8082 ret
|
|
37f6: 8141 srli a0,a0,0x10
|
|
37f8: 00001797 auipc a5,0x1
|
|
37fc: 4d478793 addi a5,a5,1236 # 4ccc <__clz_tab>
|
|
3800: 97aa add a5,a5,a0
|
|
3802: 2388 lbu a0,0(a5)
|
|
3804: 4741 li a4,16
|
|
3806: 40a70533 sub a0,a4,a0
|
|
380a: 8082 ret
|
|
|
|
0000380c <memcpy>:
|
|
380c: 00a5c7b3 xor a5,a1,a0
|
|
3810: 8b8d andi a5,a5,3
|
|
3812: 00c50733 add a4,a0,a2
|
|
3816: e781 bnez a5,381e <memcpy+0x12>
|
|
3818: 478d li a5,3
|
|
381a: 00c7ed63 bltu a5,a2,3834 <memcpy+0x28>
|
|
381e: 87aa mv a5,a0
|
|
3820: 08e57e63 bgeu a0,a4,38bc <memcpy+0xb0>
|
|
3824: 2194 lbu a3,0(a1)
|
|
3826: 0785 addi a5,a5,1
|
|
3828: 0585 addi a1,a1,1
|
|
382a: fed78fa3 sb a3,-1(a5)
|
|
382e: fee7ebe3 bltu a5,a4,3824 <memcpy+0x18>
|
|
3832: 8082 ret
|
|
3834: 00357693 andi a3,a0,3
|
|
3838: 87aa mv a5,a0
|
|
383a: ca89 beqz a3,384c <memcpy+0x40>
|
|
383c: 2194 lbu a3,0(a1)
|
|
383e: 0785 addi a5,a5,1
|
|
3840: 0585 addi a1,a1,1
|
|
3842: fed78fa3 sb a3,-1(a5)
|
|
3846: 0037f693 andi a3,a5,3
|
|
384a: bfc5 j 383a <memcpy+0x2e>
|
|
384c: ffc77693 andi a3,a4,-4
|
|
3850: fe068613 addi a2,a3,-32
|
|
3854: 06c7f063 bgeu a5,a2,38b4 <memcpy+0xa8>
|
|
3858: 0005a383 lw t2,0(a1)
|
|
385c: 0045a283 lw t0,4(a1)
|
|
3860: 0085af83 lw t6,8(a1)
|
|
3864: 00c5af03 lw t5,12(a1)
|
|
3868: 0105ae83 lw t4,16(a1)
|
|
386c: 0145ae03 lw t3,20(a1)
|
|
3870: 0185a303 lw t1,24(a1)
|
|
3874: 01c5a883 lw a7,28(a1)
|
|
3878: 02458593 addi a1,a1,36
|
|
387c: 0077a023 sw t2,0(a5)
|
|
3880: ffc5a803 lw a6,-4(a1)
|
|
3884: 0057a223 sw t0,4(a5)
|
|
3888: 01f7a423 sw t6,8(a5)
|
|
388c: 01e7a623 sw t5,12(a5)
|
|
3890: 01d7a823 sw t4,16(a5)
|
|
3894: 01c7aa23 sw t3,20(a5)
|
|
3898: 0067ac23 sw t1,24(a5)
|
|
389c: 0117ae23 sw a7,28(a5)
|
|
38a0: 02478793 addi a5,a5,36
|
|
38a4: ff07ae23 sw a6,-4(a5)
|
|
38a8: b775 j 3854 <memcpy+0x48>
|
|
38aa: 4190 lw a2,0(a1)
|
|
38ac: 0791 addi a5,a5,4
|
|
38ae: 0591 addi a1,a1,4
|
|
38b0: fec7ae23 sw a2,-4(a5)
|
|
38b4: fed7ebe3 bltu a5,a3,38aa <memcpy+0x9e>
|
|
38b8: f6e7e6e3 bltu a5,a4,3824 <memcpy+0x18>
|
|
38bc: 8082 ret
|
|
|
|
000038be <iprintf>:
|
|
38be: 7139 addi sp,sp,-64
|
|
38c0: da3e sw a5,52(sp)
|
|
38c2: d22e sw a1,36(sp)
|
|
38c4: d432 sw a2,40(sp)
|
|
38c6: d636 sw a3,44(sp)
|
|
38c8: d83a sw a4,48(sp)
|
|
38ca: dc42 sw a6,56(sp)
|
|
38cc: de46 sw a7,60(sp)
|
|
38ce: 81c18793 addi a5,gp,-2020 # 200000f4 <_impure_ptr>
|
|
38d2: cc22 sw s0,24(sp)
|
|
38d4: 4380 lw s0,0(a5)
|
|
38d6: ca26 sw s1,20(sp)
|
|
38d8: ce06 sw ra,28(sp)
|
|
38da: 84aa mv s1,a0
|
|
38dc: c409 beqz s0,38e6 <iprintf+0x28>
|
|
38de: 4c1c lw a5,24(s0)
|
|
38e0: e399 bnez a5,38e6 <iprintf+0x28>
|
|
38e2: 8522 mv a0,s0
|
|
38e4: 29f5 jal 3de0 <__sinit>
|
|
38e6: 440c lw a1,8(s0)
|
|
38e8: 1054 addi a3,sp,36
|
|
38ea: 8626 mv a2,s1
|
|
38ec: 8522 mv a0,s0
|
|
38ee: c636 sw a3,12(sp)
|
|
38f0: 12b000ef jal ra,421a <_vfiprintf_r>
|
|
38f4: 40f2 lw ra,28(sp)
|
|
38f6: 4462 lw s0,24(sp)
|
|
38f8: 44d2 lw s1,20(sp)
|
|
38fa: 6121 addi sp,sp,64
|
|
38fc: 8082 ret
|
|
|
|
000038fe <_puts_r>:
|
|
38fe: 1101 addi sp,sp,-32
|
|
3900: ca26 sw s1,20(sp)
|
|
3902: c84a sw s2,16(sp)
|
|
3904: ce06 sw ra,28(sp)
|
|
3906: cc22 sw s0,24(sp)
|
|
3908: c64e sw s3,12(sp)
|
|
390a: c452 sw s4,8(sp)
|
|
390c: 84aa mv s1,a0
|
|
390e: 892e mv s2,a1
|
|
3910: c501 beqz a0,3918 <_puts_r+0x1a>
|
|
3912: 4d1c lw a5,24(a0)
|
|
3914: e391 bnez a5,3918 <_puts_r+0x1a>
|
|
3916: 21e9 jal 3de0 <__sinit>
|
|
3918: 4c9c lw a5,24(s1)
|
|
391a: 4480 lw s0,8(s1)
|
|
391c: e399 bnez a5,3922 <_puts_r+0x24>
|
|
391e: 8526 mv a0,s1
|
|
3920: 21c1 jal 3de0 <__sinit>
|
|
3922: 00001797 auipc a5,0x1
|
|
3926: 4ca78793 addi a5,a5,1226 # 4dec <__sf_fake_stdin>
|
|
392a: 02f41b63 bne s0,a5,3960 <_puts_r+0x62>
|
|
392e: 40c0 lw s0,4(s1)
|
|
3930: 245e lhu a5,12(s0)
|
|
3932: 8ba1 andi a5,a5,8
|
|
3934: c7b1 beqz a5,3980 <_puts_r+0x82>
|
|
3936: 481c lw a5,16(s0)
|
|
3938: c7a1 beqz a5,3980 <_puts_r+0x82>
|
|
393a: 59fd li s3,-1
|
|
393c: 4a29 li s4,10
|
|
393e: 441c lw a5,8(s0)
|
|
3940: 00094583 lbu a1,0(s2)
|
|
3944: 17fd addi a5,a5,-1
|
|
3946: e9b1 bnez a1,399a <_puts_r+0x9c>
|
|
3948: c41c sw a5,8(s0)
|
|
394a: 0607dd63 bgez a5,39c4 <_puts_r+0xc6>
|
|
394e: 8622 mv a2,s0
|
|
3950: 45a9 li a1,10
|
|
3952: 8526 mv a0,s1
|
|
3954: 2061 jal 39dc <__swbuf_r>
|
|
3956: 57fd li a5,-1
|
|
3958: 02f50863 beq a0,a5,3988 <_puts_r+0x8a>
|
|
395c: 4529 li a0,10
|
|
395e: a035 j 398a <_puts_r+0x8c>
|
|
3960: 00001797 auipc a5,0x1
|
|
3964: 4ac78793 addi a5,a5,1196 # 4e0c <__sf_fake_stdout>
|
|
3968: 00f41463 bne s0,a5,3970 <_puts_r+0x72>
|
|
396c: 4480 lw s0,8(s1)
|
|
396e: b7c9 j 3930 <_puts_r+0x32>
|
|
3970: 00001797 auipc a5,0x1
|
|
3974: 45c78793 addi a5,a5,1116 # 4dcc <__sf_fake_stderr>
|
|
3978: faf41ce3 bne s0,a5,3930 <_puts_r+0x32>
|
|
397c: 44c0 lw s0,12(s1)
|
|
397e: bf4d j 3930 <_puts_r+0x32>
|
|
3980: 85a2 mv a1,s0
|
|
3982: 8526 mv a0,s1
|
|
3984: 2a11 jal 3a98 <__swsetup_r>
|
|
3986: d955 beqz a0,393a <_puts_r+0x3c>
|
|
3988: 557d li a0,-1
|
|
398a: 40f2 lw ra,28(sp)
|
|
398c: 4462 lw s0,24(sp)
|
|
398e: 44d2 lw s1,20(sp)
|
|
3990: 4942 lw s2,16(sp)
|
|
3992: 49b2 lw s3,12(sp)
|
|
3994: 4a22 lw s4,8(sp)
|
|
3996: 6105 addi sp,sp,32
|
|
3998: 8082 ret
|
|
399a: c41c sw a5,8(s0)
|
|
399c: 0905 addi s2,s2,1
|
|
399e: 0007d763 bgez a5,39ac <_puts_r+0xae>
|
|
39a2: 4c18 lw a4,24(s0)
|
|
39a4: 00e7ca63 blt a5,a4,39b8 <_puts_r+0xba>
|
|
39a8: 01458863 beq a1,s4,39b8 <_puts_r+0xba>
|
|
39ac: 401c lw a5,0(s0)
|
|
39ae: 00178713 addi a4,a5,1
|
|
39b2: c018 sw a4,0(s0)
|
|
39b4: a38c sb a1,0(a5)
|
|
39b6: b761 j 393e <_puts_r+0x40>
|
|
39b8: 8622 mv a2,s0
|
|
39ba: 8526 mv a0,s1
|
|
39bc: 2005 jal 39dc <__swbuf_r>
|
|
39be: f93510e3 bne a0,s3,393e <_puts_r+0x40>
|
|
39c2: b7d9 j 3988 <_puts_r+0x8a>
|
|
39c4: 401c lw a5,0(s0)
|
|
39c6: 00178713 addi a4,a5,1
|
|
39ca: c018 sw a4,0(s0)
|
|
39cc: 4729 li a4,10
|
|
39ce: a398 sb a4,0(a5)
|
|
39d0: b771 j 395c <_puts_r+0x5e>
|
|
|
|
000039d2 <puts>:
|
|
39d2: 81c18793 addi a5,gp,-2020 # 200000f4 <_impure_ptr>
|
|
39d6: 85aa mv a1,a0
|
|
39d8: 4388 lw a0,0(a5)
|
|
39da: b715 j 38fe <_puts_r>
|
|
|
|
000039dc <__swbuf_r>:
|
|
39dc: 1101 addi sp,sp,-32
|
|
39de: cc22 sw s0,24(sp)
|
|
39e0: ca26 sw s1,20(sp)
|
|
39e2: c84a sw s2,16(sp)
|
|
39e4: ce06 sw ra,28(sp)
|
|
39e6: c64e sw s3,12(sp)
|
|
39e8: 84aa mv s1,a0
|
|
39ea: 892e mv s2,a1
|
|
39ec: 8432 mv s0,a2
|
|
39ee: c501 beqz a0,39f6 <__swbuf_r+0x1a>
|
|
39f0: 4d1c lw a5,24(a0)
|
|
39f2: e391 bnez a5,39f6 <__swbuf_r+0x1a>
|
|
39f4: 26f5 jal 3de0 <__sinit>
|
|
39f6: 00001797 auipc a5,0x1
|
|
39fa: 3f678793 addi a5,a5,1014 # 4dec <__sf_fake_stdin>
|
|
39fe: 06f41763 bne s0,a5,3a6c <__swbuf_r+0x90>
|
|
3a02: 40c0 lw s0,4(s1)
|
|
3a04: 4c1c lw a5,24(s0)
|
|
3a06: c41c sw a5,8(s0)
|
|
3a08: 245e lhu a5,12(s0)
|
|
3a0a: 8ba1 andi a5,a5,8
|
|
3a0c: c3c1 beqz a5,3a8c <__swbuf_r+0xb0>
|
|
3a0e: 481c lw a5,16(s0)
|
|
3a10: cfb5 beqz a5,3a8c <__swbuf_r+0xb0>
|
|
3a12: 481c lw a5,16(s0)
|
|
3a14: 4008 lw a0,0(s0)
|
|
3a16: 0ff97993 andi s3,s2,255
|
|
3a1a: 0ff97913 andi s2,s2,255
|
|
3a1e: 8d1d sub a0,a0,a5
|
|
3a20: 485c lw a5,20(s0)
|
|
3a22: 00f54663 blt a0,a5,3a2e <__swbuf_r+0x52>
|
|
3a26: 85a2 mv a1,s0
|
|
3a28: 8526 mv a0,s1
|
|
3a2a: 2c69 jal 3cc4 <_fflush_r>
|
|
3a2c: e525 bnez a0,3a94 <__swbuf_r+0xb8>
|
|
3a2e: 441c lw a5,8(s0)
|
|
3a30: 0505 addi a0,a0,1
|
|
3a32: 17fd addi a5,a5,-1
|
|
3a34: c41c sw a5,8(s0)
|
|
3a36: 401c lw a5,0(s0)
|
|
3a38: 00178713 addi a4,a5,1
|
|
3a3c: c018 sw a4,0(s0)
|
|
3a3e: 01378023 sb s3,0(a5)
|
|
3a42: 485c lw a5,20(s0)
|
|
3a44: 00a78863 beq a5,a0,3a54 <__swbuf_r+0x78>
|
|
3a48: 245e lhu a5,12(s0)
|
|
3a4a: 8b85 andi a5,a5,1
|
|
3a4c: cb81 beqz a5,3a5c <__swbuf_r+0x80>
|
|
3a4e: 47a9 li a5,10
|
|
3a50: 00f91663 bne s2,a5,3a5c <__swbuf_r+0x80>
|
|
3a54: 85a2 mv a1,s0
|
|
3a56: 8526 mv a0,s1
|
|
3a58: 24b5 jal 3cc4 <_fflush_r>
|
|
3a5a: ed0d bnez a0,3a94 <__swbuf_r+0xb8>
|
|
3a5c: 40f2 lw ra,28(sp)
|
|
3a5e: 4462 lw s0,24(sp)
|
|
3a60: 854a mv a0,s2
|
|
3a62: 44d2 lw s1,20(sp)
|
|
3a64: 4942 lw s2,16(sp)
|
|
3a66: 49b2 lw s3,12(sp)
|
|
3a68: 6105 addi sp,sp,32
|
|
3a6a: 8082 ret
|
|
3a6c: 00001797 auipc a5,0x1
|
|
3a70: 3a078793 addi a5,a5,928 # 4e0c <__sf_fake_stdout>
|
|
3a74: 00f41463 bne s0,a5,3a7c <__swbuf_r+0xa0>
|
|
3a78: 4480 lw s0,8(s1)
|
|
3a7a: b769 j 3a04 <__swbuf_r+0x28>
|
|
3a7c: 00001797 auipc a5,0x1
|
|
3a80: 35078793 addi a5,a5,848 # 4dcc <__sf_fake_stderr>
|
|
3a84: f8f410e3 bne s0,a5,3a04 <__swbuf_r+0x28>
|
|
3a88: 44c0 lw s0,12(s1)
|
|
3a8a: bfad j 3a04 <__swbuf_r+0x28>
|
|
3a8c: 85a2 mv a1,s0
|
|
3a8e: 8526 mv a0,s1
|
|
3a90: 2021 jal 3a98 <__swsetup_r>
|
|
3a92: d141 beqz a0,3a12 <__swbuf_r+0x36>
|
|
3a94: 597d li s2,-1
|
|
3a96: b7d9 j 3a5c <__swbuf_r+0x80>
|
|
|
|
00003a98 <__swsetup_r>:
|
|
3a98: 1141 addi sp,sp,-16
|
|
3a9a: 81c18793 addi a5,gp,-2020 # 200000f4 <_impure_ptr>
|
|
3a9e: c226 sw s1,4(sp)
|
|
3aa0: 4384 lw s1,0(a5)
|
|
3aa2: c422 sw s0,8(sp)
|
|
3aa4: c04a sw s2,0(sp)
|
|
3aa6: c606 sw ra,12(sp)
|
|
3aa8: 892a mv s2,a0
|
|
3aaa: 842e mv s0,a1
|
|
3aac: c489 beqz s1,3ab6 <__swsetup_r+0x1e>
|
|
3aae: 4c9c lw a5,24(s1)
|
|
3ab0: e399 bnez a5,3ab6 <__swsetup_r+0x1e>
|
|
3ab2: 8526 mv a0,s1
|
|
3ab4: 2635 jal 3de0 <__sinit>
|
|
3ab6: 00001797 auipc a5,0x1
|
|
3aba: 33678793 addi a5,a5,822 # 4dec <__sf_fake_stdin>
|
|
3abe: 02f41b63 bne s0,a5,3af4 <__swsetup_r+0x5c>
|
|
3ac2: 40c0 lw s0,4(s1)
|
|
3ac4: 00c41703 lh a4,12(s0) # 400000c <_data_lma+0x3ffb1a4>
|
|
3ac8: 01071793 slli a5,a4,0x10
|
|
3acc: 83c1 srli a5,a5,0x10
|
|
3ace: 0087f693 andi a3,a5,8
|
|
3ad2: eaad bnez a3,3b44 <__swsetup_r+0xac>
|
|
3ad4: 0107f693 andi a3,a5,16
|
|
3ad8: ee95 bnez a3,3b14 <__swsetup_r+0x7c>
|
|
3ada: 47a5 li a5,9
|
|
3adc: 00f92023 sw a5,0(s2)
|
|
3ae0: 04076713 ori a4,a4,64
|
|
3ae4: a45a sh a4,12(s0)
|
|
3ae6: 557d li a0,-1
|
|
3ae8: 40b2 lw ra,12(sp)
|
|
3aea: 4422 lw s0,8(sp)
|
|
3aec: 4492 lw s1,4(sp)
|
|
3aee: 4902 lw s2,0(sp)
|
|
3af0: 0141 addi sp,sp,16
|
|
3af2: 8082 ret
|
|
3af4: 00001797 auipc a5,0x1
|
|
3af8: 31878793 addi a5,a5,792 # 4e0c <__sf_fake_stdout>
|
|
3afc: 00f41463 bne s0,a5,3b04 <__swsetup_r+0x6c>
|
|
3b00: 4480 lw s0,8(s1)
|
|
3b02: b7c9 j 3ac4 <__swsetup_r+0x2c>
|
|
3b04: 00001797 auipc a5,0x1
|
|
3b08: 2c878793 addi a5,a5,712 # 4dcc <__sf_fake_stderr>
|
|
3b0c: faf41ce3 bne s0,a5,3ac4 <__swsetup_r+0x2c>
|
|
3b10: 44c0 lw s0,12(s1)
|
|
3b12: bf4d j 3ac4 <__swsetup_r+0x2c>
|
|
3b14: 8b91 andi a5,a5,4
|
|
3b16: c39d beqz a5,3b3c <__swsetup_r+0xa4>
|
|
3b18: 584c lw a1,52(s0)
|
|
3b1a: c989 beqz a1,3b2c <__swsetup_r+0x94>
|
|
3b1c: 04440793 addi a5,s0,68
|
|
3b20: 00f58463 beq a1,a5,3b28 <__swsetup_r+0x90>
|
|
3b24: 854a mv a0,s2
|
|
3b26: 2b01 jal 4036 <_free_r>
|
|
3b28: 02042a23 sw zero,52(s0)
|
|
3b2c: 245e lhu a5,12(s0)
|
|
3b2e: 00042223 sw zero,4(s0)
|
|
3b32: fdb7f793 andi a5,a5,-37
|
|
3b36: a45e sh a5,12(s0)
|
|
3b38: 481c lw a5,16(s0)
|
|
3b3a: c01c sw a5,0(s0)
|
|
3b3c: 245e lhu a5,12(s0)
|
|
3b3e: 0087e793 ori a5,a5,8
|
|
3b42: a45e sh a5,12(s0)
|
|
3b44: 481c lw a5,16(s0)
|
|
3b46: eb99 bnez a5,3b5c <__swsetup_r+0xc4>
|
|
3b48: 245e lhu a5,12(s0)
|
|
3b4a: 20000713 li a4,512
|
|
3b4e: 2807f793 andi a5,a5,640
|
|
3b52: 00e78563 beq a5,a4,3b5c <__swsetup_r+0xc4>
|
|
3b56: 85a2 mv a1,s0
|
|
3b58: 854a mv a0,s2
|
|
3b5a: 21b1 jal 3fa6 <__smakebuf_r>
|
|
3b5c: 245e lhu a5,12(s0)
|
|
3b5e: 0017f713 andi a4,a5,1
|
|
3b62: c31d beqz a4,3b88 <__swsetup_r+0xf0>
|
|
3b64: 485c lw a5,20(s0)
|
|
3b66: 00042423 sw zero,8(s0)
|
|
3b6a: 40f007b3 neg a5,a5
|
|
3b6e: cc1c sw a5,24(s0)
|
|
3b70: 481c lw a5,16(s0)
|
|
3b72: 4501 li a0,0
|
|
3b74: fbb5 bnez a5,3ae8 <__swsetup_r+0x50>
|
|
3b76: 00c41783 lh a5,12(s0)
|
|
3b7a: 0807f713 andi a4,a5,128
|
|
3b7e: d72d beqz a4,3ae8 <__swsetup_r+0x50>
|
|
3b80: 0407e793 ori a5,a5,64
|
|
3b84: a45e sh a5,12(s0)
|
|
3b86: b785 j 3ae6 <__swsetup_r+0x4e>
|
|
3b88: 8b89 andi a5,a5,2
|
|
3b8a: 4701 li a4,0
|
|
3b8c: e391 bnez a5,3b90 <__swsetup_r+0xf8>
|
|
3b8e: 4858 lw a4,20(s0)
|
|
3b90: c418 sw a4,8(s0)
|
|
3b92: bff9 j 3b70 <__swsetup_r+0xd8>
|
|
|
|
00003b94 <__sflush_r>:
|
|
3b94: 25de lhu a5,12(a1)
|
|
3b96: 1101 addi sp,sp,-32
|
|
3b98: cc22 sw s0,24(sp)
|
|
3b9a: ca26 sw s1,20(sp)
|
|
3b9c: ce06 sw ra,28(sp)
|
|
3b9e: c84a sw s2,16(sp)
|
|
3ba0: c64e sw s3,12(sp)
|
|
3ba2: 0087f713 andi a4,a5,8
|
|
3ba6: 84aa mv s1,a0
|
|
3ba8: 842e mv s0,a1
|
|
3baa: eb79 bnez a4,3c80 <__sflush_r+0xec>
|
|
3bac: 41d8 lw a4,4(a1)
|
|
3bae: 00e04d63 bgtz a4,3bc8 <__sflush_r+0x34>
|
|
3bb2: 41b8 lw a4,64(a1)
|
|
3bb4: 00e04a63 bgtz a4,3bc8 <__sflush_r+0x34>
|
|
3bb8: 4501 li a0,0
|
|
3bba: 40f2 lw ra,28(sp)
|
|
3bbc: 4462 lw s0,24(sp)
|
|
3bbe: 44d2 lw s1,20(sp)
|
|
3bc0: 4942 lw s2,16(sp)
|
|
3bc2: 49b2 lw s3,12(sp)
|
|
3bc4: 6105 addi sp,sp,32
|
|
3bc6: 8082 ret
|
|
3bc8: 5458 lw a4,44(s0)
|
|
3bca: d77d beqz a4,3bb8 <__sflush_r+0x24>
|
|
3bcc: 0004a903 lw s2,0(s1)
|
|
3bd0: 01379693 slli a3,a5,0x13
|
|
3bd4: 0004a023 sw zero,0(s1)
|
|
3bd8: 0606db63 bgez a3,3c4e <__sflush_r+0xba>
|
|
3bdc: 4870 lw a2,84(s0)
|
|
3bde: 245e lhu a5,12(s0)
|
|
3be0: 8b91 andi a5,a5,4
|
|
3be2: c799 beqz a5,3bf0 <__sflush_r+0x5c>
|
|
3be4: 405c lw a5,4(s0)
|
|
3be6: 8e1d sub a2,a2,a5
|
|
3be8: 585c lw a5,52(s0)
|
|
3bea: c399 beqz a5,3bf0 <__sflush_r+0x5c>
|
|
3bec: 403c lw a5,64(s0)
|
|
3bee: 8e1d sub a2,a2,a5
|
|
3bf0: 545c lw a5,44(s0)
|
|
3bf2: 500c lw a1,32(s0)
|
|
3bf4: 4681 li a3,0
|
|
3bf6: 8526 mv a0,s1
|
|
3bf8: 9782 jalr a5
|
|
3bfa: 57fd li a5,-1
|
|
3bfc: 245a lhu a4,12(s0)
|
|
3bfe: 00f51d63 bne a0,a5,3c18 <__sflush_r+0x84>
|
|
3c02: 4094 lw a3,0(s1)
|
|
3c04: 47f5 li a5,29
|
|
3c06: 06d7e863 bltu a5,a3,3c76 <__sflush_r+0xe2>
|
|
3c0a: 204007b7 lui a5,0x20400
|
|
3c0e: 0785 addi a5,a5,1
|
|
3c10: 00d7d7b3 srl a5,a5,a3
|
|
3c14: 8b85 andi a5,a5,1
|
|
3c16: c3a5 beqz a5,3c76 <__sflush_r+0xe2>
|
|
3c18: 481c lw a5,16(s0)
|
|
3c1a: 00042223 sw zero,4(s0)
|
|
3c1e: c01c sw a5,0(s0)
|
|
3c20: 01371793 slli a5,a4,0x13
|
|
3c24: 0007d863 bgez a5,3c34 <__sflush_r+0xa0>
|
|
3c28: 57fd li a5,-1
|
|
3c2a: 00f51463 bne a0,a5,3c32 <__sflush_r+0x9e>
|
|
3c2e: 409c lw a5,0(s1)
|
|
3c30: e391 bnez a5,3c34 <__sflush_r+0xa0>
|
|
3c32: c868 sw a0,84(s0)
|
|
3c34: 584c lw a1,52(s0)
|
|
3c36: 0124a023 sw s2,0(s1)
|
|
3c3a: ddbd beqz a1,3bb8 <__sflush_r+0x24>
|
|
3c3c: 04440793 addi a5,s0,68
|
|
3c40: 00f58463 beq a1,a5,3c48 <__sflush_r+0xb4>
|
|
3c44: 8526 mv a0,s1
|
|
3c46: 2ec5 jal 4036 <_free_r>
|
|
3c48: 02042a23 sw zero,52(s0)
|
|
3c4c: b7b5 j 3bb8 <__sflush_r+0x24>
|
|
3c4e: 500c lw a1,32(s0)
|
|
3c50: 4601 li a2,0
|
|
3c52: 4685 li a3,1
|
|
3c54: 8526 mv a0,s1
|
|
3c56: 9702 jalr a4
|
|
3c58: 57fd li a5,-1
|
|
3c5a: 862a mv a2,a0
|
|
3c5c: f8f511e3 bne a0,a5,3bde <__sflush_r+0x4a>
|
|
3c60: 409c lw a5,0(s1)
|
|
3c62: dfb5 beqz a5,3bde <__sflush_r+0x4a>
|
|
3c64: 4775 li a4,29
|
|
3c66: 00e78563 beq a5,a4,3c70 <__sflush_r+0xdc>
|
|
3c6a: 4759 li a4,22
|
|
3c6c: 04e79363 bne a5,a4,3cb2 <__sflush_r+0x11e>
|
|
3c70: 0124a023 sw s2,0(s1)
|
|
3c74: b791 j 3bb8 <__sflush_r+0x24>
|
|
3c76: 04076713 ori a4,a4,64
|
|
3c7a: a45a sh a4,12(s0)
|
|
3c7c: 557d li a0,-1
|
|
3c7e: bf35 j 3bba <__sflush_r+0x26>
|
|
3c80: 0105a983 lw s3,16(a1)
|
|
3c84: f2098ae3 beqz s3,3bb8 <__sflush_r+0x24>
|
|
3c88: 0005a903 lw s2,0(a1)
|
|
3c8c: 8b8d andi a5,a5,3
|
|
3c8e: 0135a023 sw s3,0(a1)
|
|
3c92: 41390933 sub s2,s2,s3
|
|
3c96: 4701 li a4,0
|
|
3c98: e391 bnez a5,3c9c <__sflush_r+0x108>
|
|
3c9a: 49d8 lw a4,20(a1)
|
|
3c9c: c418 sw a4,8(s0)
|
|
3c9e: f1205de3 blez s2,3bb8 <__sflush_r+0x24>
|
|
3ca2: 541c lw a5,40(s0)
|
|
3ca4: 500c lw a1,32(s0)
|
|
3ca6: 86ca mv a3,s2
|
|
3ca8: 864e mv a2,s3
|
|
3caa: 8526 mv a0,s1
|
|
3cac: 9782 jalr a5
|
|
3cae: 00a04763 bgtz a0,3cbc <__sflush_r+0x128>
|
|
3cb2: 245e lhu a5,12(s0)
|
|
3cb4: 0407e793 ori a5,a5,64
|
|
3cb8: a45e sh a5,12(s0)
|
|
3cba: b7c9 j 3c7c <__sflush_r+0xe8>
|
|
3cbc: 99aa add s3,s3,a0
|
|
3cbe: 40a90933 sub s2,s2,a0
|
|
3cc2: bff1 j 3c9e <__sflush_r+0x10a>
|
|
|
|
00003cc4 <_fflush_r>:
|
|
3cc4: 499c lw a5,16(a1)
|
|
3cc6: c3a5 beqz a5,3d26 <_fflush_r+0x62>
|
|
3cc8: 1101 addi sp,sp,-32
|
|
3cca: cc22 sw s0,24(sp)
|
|
3ccc: ce06 sw ra,28(sp)
|
|
3cce: 842a mv s0,a0
|
|
3cd0: c511 beqz a0,3cdc <_fflush_r+0x18>
|
|
3cd2: 4d1c lw a5,24(a0)
|
|
3cd4: e781 bnez a5,3cdc <_fflush_r+0x18>
|
|
3cd6: c62e sw a1,12(sp)
|
|
3cd8: 2221 jal 3de0 <__sinit>
|
|
3cda: 45b2 lw a1,12(sp)
|
|
3cdc: 00001797 auipc a5,0x1
|
|
3ce0: 11078793 addi a5,a5,272 # 4dec <__sf_fake_stdin>
|
|
3ce4: 00f59c63 bne a1,a5,3cfc <_fflush_r+0x38>
|
|
3ce8: 404c lw a1,4(s0)
|
|
3cea: 00c59783 lh a5,12(a1)
|
|
3cee: c79d beqz a5,3d1c <_fflush_r+0x58>
|
|
3cf0: 8522 mv a0,s0
|
|
3cf2: 4462 lw s0,24(sp)
|
|
3cf4: 40f2 lw ra,28(sp)
|
|
3cf6: 6105 addi sp,sp,32
|
|
3cf8: e9dff06f j 3b94 <__sflush_r>
|
|
3cfc: 00001797 auipc a5,0x1
|
|
3d00: 11078793 addi a5,a5,272 # 4e0c <__sf_fake_stdout>
|
|
3d04: 00f59463 bne a1,a5,3d0c <_fflush_r+0x48>
|
|
3d08: 440c lw a1,8(s0)
|
|
3d0a: b7c5 j 3cea <_fflush_r+0x26>
|
|
3d0c: 00001797 auipc a5,0x1
|
|
3d10: 0c078793 addi a5,a5,192 # 4dcc <__sf_fake_stderr>
|
|
3d14: fcf59be3 bne a1,a5,3cea <_fflush_r+0x26>
|
|
3d18: 444c lw a1,12(s0)
|
|
3d1a: bfc1 j 3cea <_fflush_r+0x26>
|
|
3d1c: 40f2 lw ra,28(sp)
|
|
3d1e: 4462 lw s0,24(sp)
|
|
3d20: 4501 li a0,0
|
|
3d22: 6105 addi sp,sp,32
|
|
3d24: 8082 ret
|
|
3d26: 4501 li a0,0
|
|
3d28: 8082 ret
|
|
|
|
00003d2a <std>:
|
|
3d2a: 1141 addi sp,sp,-16
|
|
3d2c: c422 sw s0,8(sp)
|
|
3d2e: c606 sw ra,12(sp)
|
|
3d30: 842a mv s0,a0
|
|
3d32: a54e sh a1,12(a0)
|
|
3d34: a572 sh a2,14(a0)
|
|
3d36: 00052023 sw zero,0(a0)
|
|
3d3a: 00052223 sw zero,4(a0)
|
|
3d3e: 00052423 sw zero,8(a0)
|
|
3d42: 06052223 sw zero,100(a0)
|
|
3d46: 00052823 sw zero,16(a0)
|
|
3d4a: 00052a23 sw zero,20(a0)
|
|
3d4e: 00052c23 sw zero,24(a0)
|
|
3d52: 4621 li a2,8
|
|
3d54: 4581 li a1,0
|
|
3d56: 05c50513 addi a0,a0,92
|
|
3d5a: c46fc0ef jal ra,1a0 <memset>
|
|
3d5e: 00001797 auipc a5,0x1
|
|
3d62: b1c78793 addi a5,a5,-1252 # 487a <__sread>
|
|
3d66: d05c sw a5,36(s0)
|
|
3d68: 00001797 auipc a5,0x1
|
|
3d6c: b3e78793 addi a5,a5,-1218 # 48a6 <__swrite>
|
|
3d70: d41c sw a5,40(s0)
|
|
3d72: 00001797 auipc a5,0x1
|
|
3d76: b7c78793 addi a5,a5,-1156 # 48ee <__sseek>
|
|
3d7a: d45c sw a5,44(s0)
|
|
3d7c: 00001797 auipc a5,0x1
|
|
3d80: ba278793 addi a5,a5,-1118 # 491e <__sclose>
|
|
3d84: d000 sw s0,32(s0)
|
|
3d86: d81c sw a5,48(s0)
|
|
3d88: 40b2 lw ra,12(sp)
|
|
3d8a: 4422 lw s0,8(sp)
|
|
3d8c: 0141 addi sp,sp,16
|
|
3d8e: 8082 ret
|
|
|
|
00003d90 <_cleanup_r>:
|
|
3d90: 00000597 auipc a1,0x0
|
|
3d94: f3458593 addi a1,a1,-204 # 3cc4 <_fflush_r>
|
|
3d98: a2b1 j 3ee4 <_fwalk_reent>
|
|
|
|
00003d9a <__sfmoreglue>:
|
|
3d9a: 1141 addi sp,sp,-16
|
|
3d9c: c226 sw s1,4(sp)
|
|
3d9e: 06800613 li a2,104
|
|
3da2: fff58493 addi s1,a1,-1
|
|
3da6: 02c484b3 mul s1,s1,a2
|
|
3daa: c04a sw s2,0(sp)
|
|
3dac: 892e mv s2,a1
|
|
3dae: c422 sw s0,8(sp)
|
|
3db0: c606 sw ra,12(sp)
|
|
3db2: 07448593 addi a1,s1,116
|
|
3db6: 2625 jal 40de <_malloc_r>
|
|
3db8: 842a mv s0,a0
|
|
3dba: cd01 beqz a0,3dd2 <__sfmoreglue+0x38>
|
|
3dbc: 00052023 sw zero,0(a0)
|
|
3dc0: 01252223 sw s2,4(a0)
|
|
3dc4: 0531 addi a0,a0,12
|
|
3dc6: c408 sw a0,8(s0)
|
|
3dc8: 06848613 addi a2,s1,104
|
|
3dcc: 4581 li a1,0
|
|
3dce: bd2fc0ef jal ra,1a0 <memset>
|
|
3dd2: 8522 mv a0,s0
|
|
3dd4: 40b2 lw ra,12(sp)
|
|
3dd6: 4422 lw s0,8(sp)
|
|
3dd8: 4492 lw s1,4(sp)
|
|
3dda: 4902 lw s2,0(sp)
|
|
3ddc: 0141 addi sp,sp,16
|
|
3dde: 8082 ret
|
|
|
|
00003de0 <__sinit>:
|
|
3de0: 4d1c lw a5,24(a0)
|
|
3de2: e3ad bnez a5,3e44 <__sinit+0x64>
|
|
3de4: 1141 addi sp,sp,-16
|
|
3de6: c606 sw ra,12(sp)
|
|
3de8: c422 sw s0,8(sp)
|
|
3dea: 00000797 auipc a5,0x0
|
|
3dee: fa678793 addi a5,a5,-90 # 3d90 <_cleanup_r>
|
|
3df2: d51c sw a5,40(a0)
|
|
3df4: 82018793 addi a5,gp,-2016 # 200000f8 <_global_impure_ptr>
|
|
3df8: 439c lw a5,0(a5)
|
|
3dfa: 04052423 sw zero,72(a0)
|
|
3dfe: 04052623 sw zero,76(a0)
|
|
3e02: 04052823 sw zero,80(a0)
|
|
3e06: 00f51463 bne a0,a5,3e0e <__sinit+0x2e>
|
|
3e0a: 4785 li a5,1
|
|
3e0c: cd1c sw a5,24(a0)
|
|
3e0e: 842a mv s0,a0
|
|
3e10: 281d jal 3e46 <__sfp>
|
|
3e12: c048 sw a0,4(s0)
|
|
3e14: 8522 mv a0,s0
|
|
3e16: 2805 jal 3e46 <__sfp>
|
|
3e18: c408 sw a0,8(s0)
|
|
3e1a: 8522 mv a0,s0
|
|
3e1c: 202d jal 3e46 <__sfp>
|
|
3e1e: c448 sw a0,12(s0)
|
|
3e20: 4048 lw a0,4(s0)
|
|
3e22: 4601 li a2,0
|
|
3e24: 4591 li a1,4
|
|
3e26: 3711 jal 3d2a <std>
|
|
3e28: 4408 lw a0,8(s0)
|
|
3e2a: 4605 li a2,1
|
|
3e2c: 45a5 li a1,9
|
|
3e2e: 3df5 jal 3d2a <std>
|
|
3e30: 4448 lw a0,12(s0)
|
|
3e32: 4609 li a2,2
|
|
3e34: 45c9 li a1,18
|
|
3e36: 3dd5 jal 3d2a <std>
|
|
3e38: 4785 li a5,1
|
|
3e3a: cc1c sw a5,24(s0)
|
|
3e3c: 40b2 lw ra,12(sp)
|
|
3e3e: 4422 lw s0,8(sp)
|
|
3e40: 0141 addi sp,sp,16
|
|
3e42: 8082 ret
|
|
3e44: 8082 ret
|
|
|
|
00003e46 <__sfp>:
|
|
3e46: 1141 addi sp,sp,-16
|
|
3e48: 82018793 addi a5,gp,-2016 # 200000f8 <_global_impure_ptr>
|
|
3e4c: c226 sw s1,4(sp)
|
|
3e4e: 4384 lw s1,0(a5)
|
|
3e50: c04a sw s2,0(sp)
|
|
3e52: c606 sw ra,12(sp)
|
|
3e54: 4c9c lw a5,24(s1)
|
|
3e56: c422 sw s0,8(sp)
|
|
3e58: 892a mv s2,a0
|
|
3e5a: e399 bnez a5,3e60 <__sfp+0x1a>
|
|
3e5c: 8526 mv a0,s1
|
|
3e5e: 3749 jal 3de0 <__sinit>
|
|
3e60: 04848493 addi s1,s1,72
|
|
3e64: 4480 lw s0,8(s1)
|
|
3e66: 40dc lw a5,4(s1)
|
|
3e68: 17fd addi a5,a5,-1
|
|
3e6a: 0007d663 bgez a5,3e76 <__sfp+0x30>
|
|
3e6e: 409c lw a5,0(s1)
|
|
3e70: cfb9 beqz a5,3ece <__sfp+0x88>
|
|
3e72: 4084 lw s1,0(s1)
|
|
3e74: bfc5 j 3e64 <__sfp+0x1e>
|
|
3e76: 00c41703 lh a4,12(s0)
|
|
3e7a: e739 bnez a4,3ec8 <__sfp+0x82>
|
|
3e7c: 77c1 lui a5,0xffff0
|
|
3e7e: 0785 addi a5,a5,1
|
|
3e80: 06042223 sw zero,100(s0)
|
|
3e84: 00042023 sw zero,0(s0)
|
|
3e88: 00042223 sw zero,4(s0)
|
|
3e8c: 00042423 sw zero,8(s0)
|
|
3e90: c45c sw a5,12(s0)
|
|
3e92: 00042823 sw zero,16(s0)
|
|
3e96: 00042a23 sw zero,20(s0)
|
|
3e9a: 00042c23 sw zero,24(s0)
|
|
3e9e: 4621 li a2,8
|
|
3ea0: 4581 li a1,0
|
|
3ea2: 05c40513 addi a0,s0,92
|
|
3ea6: afafc0ef jal ra,1a0 <memset>
|
|
3eaa: 02042a23 sw zero,52(s0)
|
|
3eae: 02042c23 sw zero,56(s0)
|
|
3eb2: 04042423 sw zero,72(s0)
|
|
3eb6: 04042623 sw zero,76(s0)
|
|
3eba: 8522 mv a0,s0
|
|
3ebc: 40b2 lw ra,12(sp)
|
|
3ebe: 4422 lw s0,8(sp)
|
|
3ec0: 4492 lw s1,4(sp)
|
|
3ec2: 4902 lw s2,0(sp)
|
|
3ec4: 0141 addi sp,sp,16
|
|
3ec6: 8082 ret
|
|
3ec8: 06840413 addi s0,s0,104
|
|
3ecc: bf71 j 3e68 <__sfp+0x22>
|
|
3ece: 4591 li a1,4
|
|
3ed0: 854a mv a0,s2
|
|
3ed2: ec9ff0ef jal ra,3d9a <__sfmoreglue>
|
|
3ed6: c088 sw a0,0(s1)
|
|
3ed8: fd49 bnez a0,3e72 <__sfp+0x2c>
|
|
3eda: 47b1 li a5,12
|
|
3edc: 00f92023 sw a5,0(s2)
|
|
3ee0: 4401 li s0,0
|
|
3ee2: bfe1 j 3eba <__sfp+0x74>
|
|
|
|
00003ee4 <_fwalk_reent>:
|
|
3ee4: 7179 addi sp,sp,-48
|
|
3ee6: d422 sw s0,40(sp)
|
|
3ee8: d04a sw s2,32(sp)
|
|
3eea: cc52 sw s4,24(sp)
|
|
3eec: ca56 sw s5,20(sp)
|
|
3eee: c85a sw s6,16(sp)
|
|
3ef0: c65e sw s7,12(sp)
|
|
3ef2: d606 sw ra,44(sp)
|
|
3ef4: d226 sw s1,36(sp)
|
|
3ef6: ce4e sw s3,28(sp)
|
|
3ef8: 8a2a mv s4,a0
|
|
3efa: 8aae mv s5,a1
|
|
3efc: 04850413 addi s0,a0,72
|
|
3f00: 4901 li s2,0
|
|
3f02: 4b05 li s6,1
|
|
3f04: 5bfd li s7,-1
|
|
3f06: ec09 bnez s0,3f20 <_fwalk_reent+0x3c>
|
|
3f08: 50b2 lw ra,44(sp)
|
|
3f0a: 5422 lw s0,40(sp)
|
|
3f0c: 854a mv a0,s2
|
|
3f0e: 5492 lw s1,36(sp)
|
|
3f10: 5902 lw s2,32(sp)
|
|
3f12: 49f2 lw s3,28(sp)
|
|
3f14: 4a62 lw s4,24(sp)
|
|
3f16: 4ad2 lw s5,20(sp)
|
|
3f18: 4b42 lw s6,16(sp)
|
|
3f1a: 4bb2 lw s7,12(sp)
|
|
3f1c: 6145 addi sp,sp,48
|
|
3f1e: 8082 ret
|
|
3f20: 4404 lw s1,8(s0)
|
|
3f22: 00442983 lw s3,4(s0)
|
|
3f26: 19fd addi s3,s3,-1
|
|
3f28: 0009d463 bgez s3,3f30 <_fwalk_reent+0x4c>
|
|
3f2c: 4000 lw s0,0(s0)
|
|
3f2e: bfe1 j 3f06 <_fwalk_reent+0x22>
|
|
3f30: 24de lhu a5,12(s1)
|
|
3f32: 00fb7b63 bgeu s6,a5,3f48 <_fwalk_reent+0x64>
|
|
3f36: 00e49783 lh a5,14(s1)
|
|
3f3a: 01778763 beq a5,s7,3f48 <_fwalk_reent+0x64>
|
|
3f3e: 85a6 mv a1,s1
|
|
3f40: 8552 mv a0,s4
|
|
3f42: 9a82 jalr s5
|
|
3f44: 00a96933 or s2,s2,a0
|
|
3f48: 06848493 addi s1,s1,104
|
|
3f4c: bfe9 j 3f26 <_fwalk_reent+0x42>
|
|
|
|
00003f4e <__swhatbuf_r>:
|
|
3f4e: 7119 addi sp,sp,-128
|
|
3f50: daa6 sw s1,116(sp)
|
|
3f52: 84ae mv s1,a1
|
|
3f54: 00e59583 lh a1,14(a1)
|
|
3f58: dca2 sw s0,120(sp)
|
|
3f5a: de86 sw ra,124(sp)
|
|
3f5c: 8432 mv s0,a2
|
|
3f5e: 0005db63 bgez a1,3f74 <__swhatbuf_r+0x26>
|
|
3f62: 24de lhu a5,12(s1)
|
|
3f64: 0006a023 sw zero,0(a3)
|
|
3f68: 0807f793 andi a5,a5,128
|
|
3f6c: e785 bnez a5,3f94 <__swhatbuf_r+0x46>
|
|
3f6e: 40000793 li a5,1024
|
|
3f72: a01d j 3f98 <__swhatbuf_r+0x4a>
|
|
3f74: 0830 addi a2,sp,24
|
|
3f76: c636 sw a3,12(sp)
|
|
3f78: 203000ef jal ra,497a <_fstat_r>
|
|
3f7c: 46b2 lw a3,12(sp)
|
|
3f7e: fe0542e3 bltz a0,3f62 <__swhatbuf_r+0x14>
|
|
3f82: 4772 lw a4,28(sp)
|
|
3f84: 67bd lui a5,0xf
|
|
3f86: 8ff9 and a5,a5,a4
|
|
3f88: 7779 lui a4,0xffffe
|
|
3f8a: 97ba add a5,a5,a4
|
|
3f8c: 0017b793 seqz a5,a5
|
|
3f90: c29c sw a5,0(a3)
|
|
3f92: bff1 j 3f6e <__swhatbuf_r+0x20>
|
|
3f94: 04000793 li a5,64
|
|
3f98: c01c sw a5,0(s0)
|
|
3f9a: 50f6 lw ra,124(sp)
|
|
3f9c: 5466 lw s0,120(sp)
|
|
3f9e: 54d6 lw s1,116(sp)
|
|
3fa0: 4501 li a0,0
|
|
3fa2: 6109 addi sp,sp,128
|
|
3fa4: 8082 ret
|
|
|
|
00003fa6 <__smakebuf_r>:
|
|
3fa6: 25de lhu a5,12(a1)
|
|
3fa8: 1101 addi sp,sp,-32
|
|
3faa: cc22 sw s0,24(sp)
|
|
3fac: ce06 sw ra,28(sp)
|
|
3fae: ca26 sw s1,20(sp)
|
|
3fb0: c84a sw s2,16(sp)
|
|
3fb2: 8b89 andi a5,a5,2
|
|
3fb4: 842e mv s0,a1
|
|
3fb6: cf89 beqz a5,3fd0 <__smakebuf_r+0x2a>
|
|
3fb8: 04740793 addi a5,s0,71
|
|
3fbc: c01c sw a5,0(s0)
|
|
3fbe: c81c sw a5,16(s0)
|
|
3fc0: 4785 li a5,1
|
|
3fc2: c85c sw a5,20(s0)
|
|
3fc4: 40f2 lw ra,28(sp)
|
|
3fc6: 4462 lw s0,24(sp)
|
|
3fc8: 44d2 lw s1,20(sp)
|
|
3fca: 4942 lw s2,16(sp)
|
|
3fcc: 6105 addi sp,sp,32
|
|
3fce: 8082 ret
|
|
3fd0: 0074 addi a3,sp,12
|
|
3fd2: 0030 addi a2,sp,8
|
|
3fd4: 84aa mv s1,a0
|
|
3fd6: 3fa5 jal 3f4e <__swhatbuf_r>
|
|
3fd8: 45a2 lw a1,8(sp)
|
|
3fda: 892a mv s2,a0
|
|
3fdc: 8526 mv a0,s1
|
|
3fde: 2201 jal 40de <_malloc_r>
|
|
3fe0: e919 bnez a0,3ff6 <__smakebuf_r+0x50>
|
|
3fe2: 00c41783 lh a5,12(s0)
|
|
3fe6: 2007f713 andi a4,a5,512
|
|
3fea: ff69 bnez a4,3fc4 <__smakebuf_r+0x1e>
|
|
3fec: 9bf1 andi a5,a5,-4
|
|
3fee: 0027e793 ori a5,a5,2
|
|
3ff2: a45e sh a5,12(s0)
|
|
3ff4: b7d1 j 3fb8 <__smakebuf_r+0x12>
|
|
3ff6: 00000797 auipc a5,0x0
|
|
3ffa: d9a78793 addi a5,a5,-614 # 3d90 <_cleanup_r>
|
|
3ffe: d49c sw a5,40(s1)
|
|
4000: 245e lhu a5,12(s0)
|
|
4002: c008 sw a0,0(s0)
|
|
4004: c808 sw a0,16(s0)
|
|
4006: 0807e793 ori a5,a5,128
|
|
400a: a45e sh a5,12(s0)
|
|
400c: 47a2 lw a5,8(sp)
|
|
400e: c85c sw a5,20(s0)
|
|
4010: 47b2 lw a5,12(sp)
|
|
4012: cf81 beqz a5,402a <__smakebuf_r+0x84>
|
|
4014: 00e41583 lh a1,14(s0)
|
|
4018: 8526 mv a0,s1
|
|
401a: 18b000ef jal ra,49a4 <_isatty_r>
|
|
401e: c511 beqz a0,402a <__smakebuf_r+0x84>
|
|
4020: 245e lhu a5,12(s0)
|
|
4022: 9bf1 andi a5,a5,-4
|
|
4024: 0017e793 ori a5,a5,1
|
|
4028: a45e sh a5,12(s0)
|
|
402a: 245e lhu a5,12(s0)
|
|
402c: 00f96933 or s2,s2,a5
|
|
4030: 01241623 sh s2,12(s0)
|
|
4034: bf41 j 3fc4 <__smakebuf_r+0x1e>
|
|
|
|
00004036 <_free_r>:
|
|
4036: c1dd beqz a1,40dc <_free_r+0xa6>
|
|
4038: ffc5a783 lw a5,-4(a1)
|
|
403c: 1141 addi sp,sp,-16
|
|
403e: c422 sw s0,8(sp)
|
|
4040: c606 sw ra,12(sp)
|
|
4042: c226 sw s1,4(sp)
|
|
4044: ffc58413 addi s0,a1,-4
|
|
4048: 0007d363 bgez a5,404e <_free_r+0x18>
|
|
404c: 943e add s0,s0,a5
|
|
404e: 84aa mv s1,a0
|
|
4050: 1c1000ef jal ra,4a10 <__malloc_lock>
|
|
4054: 86818793 addi a5,gp,-1944 # 20000140 <__malloc_free_list>
|
|
4058: 439c lw a5,0(a5)
|
|
405a: ef81 bnez a5,4072 <_free_r+0x3c>
|
|
405c: 00042223 sw zero,4(s0)
|
|
4060: 8681a423 sw s0,-1944(gp) # 20000140 <__malloc_free_list>
|
|
4064: 4422 lw s0,8(sp)
|
|
4066: 40b2 lw ra,12(sp)
|
|
4068: 8526 mv a0,s1
|
|
406a: 4492 lw s1,4(sp)
|
|
406c: 0141 addi sp,sp,16
|
|
406e: 1a50006f j 4a12 <__malloc_unlock>
|
|
4072: 00f47e63 bgeu s0,a5,408e <_free_r+0x58>
|
|
4076: 4014 lw a3,0(s0)
|
|
4078: 00d40733 add a4,s0,a3
|
|
407c: 00e79663 bne a5,a4,4088 <_free_r+0x52>
|
|
4080: 4398 lw a4,0(a5)
|
|
4082: 43dc lw a5,4(a5)
|
|
4084: 9736 add a4,a4,a3
|
|
4086: c018 sw a4,0(s0)
|
|
4088: c05c sw a5,4(s0)
|
|
408a: bfd9 j 4060 <_free_r+0x2a>
|
|
408c: 87ba mv a5,a4
|
|
408e: 43d8 lw a4,4(a5)
|
|
4090: c319 beqz a4,4096 <_free_r+0x60>
|
|
4092: fee47de3 bgeu s0,a4,408c <_free_r+0x56>
|
|
4096: 4394 lw a3,0(a5)
|
|
4098: 00d78633 add a2,a5,a3
|
|
409c: 00861f63 bne a2,s0,40ba <_free_r+0x84>
|
|
40a0: 4010 lw a2,0(s0)
|
|
40a2: 96b2 add a3,a3,a2
|
|
40a4: c394 sw a3,0(a5)
|
|
40a6: 00d78633 add a2,a5,a3
|
|
40aa: fac71de3 bne a4,a2,4064 <_free_r+0x2e>
|
|
40ae: 4310 lw a2,0(a4)
|
|
40b0: 4358 lw a4,4(a4)
|
|
40b2: 96b2 add a3,a3,a2
|
|
40b4: c394 sw a3,0(a5)
|
|
40b6: c3d8 sw a4,4(a5)
|
|
40b8: b775 j 4064 <_free_r+0x2e>
|
|
40ba: 00c47563 bgeu s0,a2,40c4 <_free_r+0x8e>
|
|
40be: 47b1 li a5,12
|
|
40c0: c09c sw a5,0(s1)
|
|
40c2: b74d j 4064 <_free_r+0x2e>
|
|
40c4: 4010 lw a2,0(s0)
|
|
40c6: 00c406b3 add a3,s0,a2
|
|
40ca: 00d71663 bne a4,a3,40d6 <_free_r+0xa0>
|
|
40ce: 4314 lw a3,0(a4)
|
|
40d0: 4358 lw a4,4(a4)
|
|
40d2: 96b2 add a3,a3,a2
|
|
40d4: c014 sw a3,0(s0)
|
|
40d6: c058 sw a4,4(s0)
|
|
40d8: c3c0 sw s0,4(a5)
|
|
40da: b769 j 4064 <_free_r+0x2e>
|
|
40dc: 8082 ret
|
|
|
|
000040de <_malloc_r>:
|
|
40de: 1101 addi sp,sp,-32
|
|
40e0: ca26 sw s1,20(sp)
|
|
40e2: 00358493 addi s1,a1,3
|
|
40e6: 98f1 andi s1,s1,-4
|
|
40e8: ce06 sw ra,28(sp)
|
|
40ea: cc22 sw s0,24(sp)
|
|
40ec: c84a sw s2,16(sp)
|
|
40ee: c64e sw s3,12(sp)
|
|
40f0: 04a1 addi s1,s1,8
|
|
40f2: 47b1 li a5,12
|
|
40f4: 04f4f363 bgeu s1,a5,413a <_malloc_r+0x5c>
|
|
40f8: 44b1 li s1,12
|
|
40fa: 04b4e263 bltu s1,a1,413e <_malloc_r+0x60>
|
|
40fe: 892a mv s2,a0
|
|
4100: 111000ef jal ra,4a10 <__malloc_lock>
|
|
4104: 86818793 addi a5,gp,-1944 # 20000140 <__malloc_free_list>
|
|
4108: 4398 lw a4,0(a5)
|
|
410a: 843a mv s0,a4
|
|
410c: e039 bnez s0,4152 <_malloc_r+0x74>
|
|
410e: 86c18793 addi a5,gp,-1940 # 20000144 <__malloc_sbrk_start>
|
|
4112: 439c lw a5,0(a5)
|
|
4114: e791 bnez a5,4120 <_malloc_r+0x42>
|
|
4116: 4581 li a1,0
|
|
4118: 854a mv a0,s2
|
|
411a: 2f1d jal 4850 <_sbrk_r>
|
|
411c: 86a1a623 sw a0,-1940(gp) # 20000144 <__malloc_sbrk_start>
|
|
4120: 85a6 mv a1,s1
|
|
4122: 854a mv a0,s2
|
|
4124: 2735 jal 4850 <_sbrk_r>
|
|
4126: 59fd li s3,-1
|
|
4128: 07351963 bne a0,s3,419a <_malloc_r+0xbc>
|
|
412c: 47b1 li a5,12
|
|
412e: 00f92023 sw a5,0(s2)
|
|
4132: 854a mv a0,s2
|
|
4134: 0df000ef jal ra,4a12 <__malloc_unlock>
|
|
4138: a029 j 4142 <_malloc_r+0x64>
|
|
413a: fc04d0e3 bgez s1,40fa <_malloc_r+0x1c>
|
|
413e: 47b1 li a5,12
|
|
4140: c11c sw a5,0(a0)
|
|
4142: 4501 li a0,0
|
|
4144: 40f2 lw ra,28(sp)
|
|
4146: 4462 lw s0,24(sp)
|
|
4148: 44d2 lw s1,20(sp)
|
|
414a: 4942 lw s2,16(sp)
|
|
414c: 49b2 lw s3,12(sp)
|
|
414e: 6105 addi sp,sp,32
|
|
4150: 8082 ret
|
|
4152: 401c lw a5,0(s0)
|
|
4154: 8f85 sub a5,a5,s1
|
|
4156: 0207cf63 bltz a5,4194 <_malloc_r+0xb6>
|
|
415a: 46ad li a3,11
|
|
415c: 00f6f663 bgeu a3,a5,4168 <_malloc_r+0x8a>
|
|
4160: c01c sw a5,0(s0)
|
|
4162: 943e add s0,s0,a5
|
|
4164: c004 sw s1,0(s0)
|
|
4166: a031 j 4172 <_malloc_r+0x94>
|
|
4168: 405c lw a5,4(s0)
|
|
416a: 02871363 bne a4,s0,4190 <_malloc_r+0xb2>
|
|
416e: 86f1a423 sw a5,-1944(gp) # 20000140 <__malloc_free_list>
|
|
4172: 854a mv a0,s2
|
|
4174: 09f000ef jal ra,4a12 <__malloc_unlock>
|
|
4178: 00b40513 addi a0,s0,11
|
|
417c: 00440793 addi a5,s0,4
|
|
4180: 9961 andi a0,a0,-8
|
|
4182: 40f50733 sub a4,a0,a5
|
|
4186: df5d beqz a4,4144 <_malloc_r+0x66>
|
|
4188: 943a add s0,s0,a4
|
|
418a: 8f89 sub a5,a5,a0
|
|
418c: c01c sw a5,0(s0)
|
|
418e: bf5d j 4144 <_malloc_r+0x66>
|
|
4190: c35c sw a5,4(a4)
|
|
4192: b7c5 j 4172 <_malloc_r+0x94>
|
|
4194: 8722 mv a4,s0
|
|
4196: 4040 lw s0,4(s0)
|
|
4198: bf95 j 410c <_malloc_r+0x2e>
|
|
419a: 00350413 addi s0,a0,3
|
|
419e: 9871 andi s0,s0,-4
|
|
41a0: fc8502e3 beq a0,s0,4164 <_malloc_r+0x86>
|
|
41a4: 40a405b3 sub a1,s0,a0
|
|
41a8: 854a mv a0,s2
|
|
41aa: 255d jal 4850 <_sbrk_r>
|
|
41ac: fb351ce3 bne a0,s3,4164 <_malloc_r+0x86>
|
|
41b0: bfb5 j 412c <_malloc_r+0x4e>
|
|
|
|
000041b2 <__sfputc_r>:
|
|
41b2: 461c lw a5,8(a2)
|
|
41b4: 17fd addi a5,a5,-1
|
|
41b6: c61c sw a5,8(a2)
|
|
41b8: 0007da63 bgez a5,41cc <__sfputc_r+0x1a>
|
|
41bc: 4e18 lw a4,24(a2)
|
|
41be: 00e7c563 blt a5,a4,41c8 <__sfputc_r+0x16>
|
|
41c2: 47a9 li a5,10
|
|
41c4: 00f59463 bne a1,a5,41cc <__sfputc_r+0x1a>
|
|
41c8: 815ff06f j 39dc <__swbuf_r>
|
|
41cc: 421c lw a5,0(a2)
|
|
41ce: 852e mv a0,a1
|
|
41d0: 00178713 addi a4,a5,1
|
|
41d4: c218 sw a4,0(a2)
|
|
41d6: a38c sb a1,0(a5)
|
|
41d8: 8082 ret
|
|
|
|
000041da <__sfputs_r>:
|
|
41da: 1101 addi sp,sp,-32
|
|
41dc: cc22 sw s0,24(sp)
|
|
41de: ca26 sw s1,20(sp)
|
|
41e0: c84a sw s2,16(sp)
|
|
41e2: c64e sw s3,12(sp)
|
|
41e4: c452 sw s4,8(sp)
|
|
41e6: ce06 sw ra,28(sp)
|
|
41e8: 892a mv s2,a0
|
|
41ea: 89ae mv s3,a1
|
|
41ec: 8432 mv s0,a2
|
|
41ee: 00d604b3 add s1,a2,a3
|
|
41f2: 5a7d li s4,-1
|
|
41f4: 00941463 bne s0,s1,41fc <__sfputs_r+0x22>
|
|
41f8: 4501 li a0,0
|
|
41fa: a801 j 420a <__sfputs_r+0x30>
|
|
41fc: 200c lbu a1,0(s0)
|
|
41fe: 864e mv a2,s3
|
|
4200: 854a mv a0,s2
|
|
4202: 3f45 jal 41b2 <__sfputc_r>
|
|
4204: 0405 addi s0,s0,1
|
|
4206: ff4517e3 bne a0,s4,41f4 <__sfputs_r+0x1a>
|
|
420a: 40f2 lw ra,28(sp)
|
|
420c: 4462 lw s0,24(sp)
|
|
420e: 44d2 lw s1,20(sp)
|
|
4210: 4942 lw s2,16(sp)
|
|
4212: 49b2 lw s3,12(sp)
|
|
4214: 4a22 lw s4,8(sp)
|
|
4216: 6105 addi sp,sp,32
|
|
4218: 8082 ret
|
|
|
|
0000421a <_vfiprintf_r>:
|
|
421a: 7135 addi sp,sp,-160
|
|
421c: cd22 sw s0,152(sp)
|
|
421e: cb26 sw s1,148(sp)
|
|
4220: c94a sw s2,144(sp)
|
|
4222: c74e sw s3,140(sp)
|
|
4224: cf06 sw ra,156(sp)
|
|
4226: c552 sw s4,136(sp)
|
|
4228: c356 sw s5,132(sp)
|
|
422a: c15a sw s6,128(sp)
|
|
422c: dede sw s7,124(sp)
|
|
422e: dce2 sw s8,120(sp)
|
|
4230: dae6 sw s9,116(sp)
|
|
4232: 89aa mv s3,a0
|
|
4234: 84ae mv s1,a1
|
|
4236: 8932 mv s2,a2
|
|
4238: 8436 mv s0,a3
|
|
423a: c509 beqz a0,4244 <_vfiprintf_r+0x2a>
|
|
423c: 4d1c lw a5,24(a0)
|
|
423e: e399 bnez a5,4244 <_vfiprintf_r+0x2a>
|
|
4240: ba1ff0ef jal ra,3de0 <__sinit>
|
|
4244: 00001797 auipc a5,0x1
|
|
4248: ba878793 addi a5,a5,-1112 # 4dec <__sf_fake_stdin>
|
|
424c: 0cf49863 bne s1,a5,431c <_vfiprintf_r+0x102>
|
|
4250: 0049a483 lw s1,4(s3)
|
|
4254: 24de lhu a5,12(s1)
|
|
4256: 8ba1 andi a5,a5,8
|
|
4258: c7e5 beqz a5,4340 <_vfiprintf_r+0x126>
|
|
425a: 489c lw a5,16(s1)
|
|
425c: c3f5 beqz a5,4340 <_vfiprintf_r+0x126>
|
|
425e: 02000793 li a5,32
|
|
4262: 02f104a3 sb a5,41(sp)
|
|
4266: 03000793 li a5,48
|
|
426a: d202 sw zero,36(sp)
|
|
426c: 02f10523 sb a5,42(sp)
|
|
4270: c622 sw s0,12(sp)
|
|
4272: 02500b93 li s7,37
|
|
4276: 00001a97 auipc s5,0x1
|
|
427a: bb6a8a93 addi s5,s5,-1098 # 4e2c <__sf_fake_stdout+0x20>
|
|
427e: 4c05 li s8,1
|
|
4280: 4b29 li s6,10
|
|
4282: 844a mv s0,s2
|
|
4284: 201c lbu a5,0(s0)
|
|
4286: c399 beqz a5,428c <_vfiprintf_r+0x72>
|
|
4288: 0d779f63 bne a5,s7,4366 <_vfiprintf_r+0x14c>
|
|
428c: 41240cb3 sub s9,s0,s2
|
|
4290: 000c8e63 beqz s9,42ac <_vfiprintf_r+0x92>
|
|
4294: 86e6 mv a3,s9
|
|
4296: 864a mv a2,s2
|
|
4298: 85a6 mv a1,s1
|
|
429a: 854e mv a0,s3
|
|
429c: f3fff0ef jal ra,41da <__sfputs_r>
|
|
42a0: 57fd li a5,-1
|
|
42a2: 1cf50f63 beq a0,a5,4480 <_vfiprintf_r+0x266>
|
|
42a6: 5692 lw a3,36(sp)
|
|
42a8: 96e6 add a3,a3,s9
|
|
42aa: d236 sw a3,36(sp)
|
|
42ac: 201c lbu a5,0(s0)
|
|
42ae: 1c078963 beqz a5,4480 <_vfiprintf_r+0x266>
|
|
42b2: 57fd li a5,-1
|
|
42b4: 00140913 addi s2,s0,1
|
|
42b8: c802 sw zero,16(sp)
|
|
42ba: ce02 sw zero,28(sp)
|
|
42bc: ca3e sw a5,20(sp)
|
|
42be: cc02 sw zero,24(sp)
|
|
42c0: 040109a3 sb zero,83(sp)
|
|
42c4: d482 sw zero,104(sp)
|
|
42c6: 00094583 lbu a1,0(s2)
|
|
42ca: 4615 li a2,5
|
|
42cc: 8556 mv a0,s5
|
|
42ce: 272d jal 49f8 <memchr>
|
|
42d0: 00190413 addi s0,s2,1
|
|
42d4: 47c2 lw a5,16(sp)
|
|
42d6: e951 bnez a0,436a <_vfiprintf_r+0x150>
|
|
42d8: 0107f713 andi a4,a5,16
|
|
42dc: c709 beqz a4,42e6 <_vfiprintf_r+0xcc>
|
|
42de: 02000713 li a4,32
|
|
42e2: 04e109a3 sb a4,83(sp)
|
|
42e6: 0087f713 andi a4,a5,8
|
|
42ea: c709 beqz a4,42f4 <_vfiprintf_r+0xda>
|
|
42ec: 02b00713 li a4,43
|
|
42f0: 04e109a3 sb a4,83(sp)
|
|
42f4: 00094683 lbu a3,0(s2)
|
|
42f8: 02a00713 li a4,42
|
|
42fc: 06e68f63 beq a3,a4,437a <_vfiprintf_r+0x160>
|
|
4300: 47f2 lw a5,28(sp)
|
|
4302: 844a mv s0,s2
|
|
4304: 4681 li a3,0
|
|
4306: 4625 li a2,9
|
|
4308: 2018 lbu a4,0(s0)
|
|
430a: 00140593 addi a1,s0,1
|
|
430e: fd070713 addi a4,a4,-48 # ffffdfd0 <_eusrstack+0xdfff8fd0>
|
|
4312: 0ae67763 bgeu a2,a4,43c0 <_vfiprintf_r+0x1a6>
|
|
4316: cab5 beqz a3,438a <_vfiprintf_r+0x170>
|
|
4318: ce3e sw a5,28(sp)
|
|
431a: a885 j 438a <_vfiprintf_r+0x170>
|
|
431c: 00001797 auipc a5,0x1
|
|
4320: af078793 addi a5,a5,-1296 # 4e0c <__sf_fake_stdout>
|
|
4324: 00f49563 bne s1,a5,432e <_vfiprintf_r+0x114>
|
|
4328: 0089a483 lw s1,8(s3)
|
|
432c: b725 j 4254 <_vfiprintf_r+0x3a>
|
|
432e: 00001797 auipc a5,0x1
|
|
4332: a9e78793 addi a5,a5,-1378 # 4dcc <__sf_fake_stderr>
|
|
4336: f0f49fe3 bne s1,a5,4254 <_vfiprintf_r+0x3a>
|
|
433a: 00c9a483 lw s1,12(s3)
|
|
433e: bf19 j 4254 <_vfiprintf_r+0x3a>
|
|
4340: 85a6 mv a1,s1
|
|
4342: 854e mv a0,s3
|
|
4344: f54ff0ef jal ra,3a98 <__swsetup_r>
|
|
4348: d919 beqz a0,425e <_vfiprintf_r+0x44>
|
|
434a: 557d li a0,-1
|
|
434c: 40fa lw ra,156(sp)
|
|
434e: 446a lw s0,152(sp)
|
|
4350: 44da lw s1,148(sp)
|
|
4352: 494a lw s2,144(sp)
|
|
4354: 49ba lw s3,140(sp)
|
|
4356: 4a2a lw s4,136(sp)
|
|
4358: 4a9a lw s5,132(sp)
|
|
435a: 4b0a lw s6,128(sp)
|
|
435c: 5bf6 lw s7,124(sp)
|
|
435e: 5c66 lw s8,120(sp)
|
|
4360: 5cd6 lw s9,116(sp)
|
|
4362: 610d addi sp,sp,160
|
|
4364: 8082 ret
|
|
4366: 0405 addi s0,s0,1
|
|
4368: bf31 j 4284 <_vfiprintf_r+0x6a>
|
|
436a: 41550533 sub a0,a0,s5
|
|
436e: 00ac1533 sll a0,s8,a0
|
|
4372: 8fc9 or a5,a5,a0
|
|
4374: c83e sw a5,16(sp)
|
|
4376: 8922 mv s2,s0
|
|
4378: b7b9 j 42c6 <_vfiprintf_r+0xac>
|
|
437a: 4732 lw a4,12(sp)
|
|
437c: 00470693 addi a3,a4,4
|
|
4380: 4318 lw a4,0(a4)
|
|
4382: c636 sw a3,12(sp)
|
|
4384: 02074763 bltz a4,43b2 <_vfiprintf_r+0x198>
|
|
4388: ce3a sw a4,28(sp)
|
|
438a: 2018 lbu a4,0(s0)
|
|
438c: 02e00793 li a5,46
|
|
4390: 04f71d63 bne a4,a5,43ea <_vfiprintf_r+0x1d0>
|
|
4394: 3018 lbu a4,1(s0)
|
|
4396: 02a00793 li a5,42
|
|
439a: 02f71b63 bne a4,a5,43d0 <_vfiprintf_r+0x1b6>
|
|
439e: 47b2 lw a5,12(sp)
|
|
43a0: 0409 addi s0,s0,2
|
|
43a2: 00478713 addi a4,a5,4
|
|
43a6: 439c lw a5,0(a5)
|
|
43a8: c63a sw a4,12(sp)
|
|
43aa: 0207c163 bltz a5,43cc <_vfiprintf_r+0x1b2>
|
|
43ae: ca3e sw a5,20(sp)
|
|
43b0: a82d j 43ea <_vfiprintf_r+0x1d0>
|
|
43b2: 40e00733 neg a4,a4
|
|
43b6: 0027e793 ori a5,a5,2
|
|
43ba: ce3a sw a4,28(sp)
|
|
43bc: c83e sw a5,16(sp)
|
|
43be: b7f1 j 438a <_vfiprintf_r+0x170>
|
|
43c0: 036787b3 mul a5,a5,s6
|
|
43c4: 4685 li a3,1
|
|
43c6: 842e mv s0,a1
|
|
43c8: 97ba add a5,a5,a4
|
|
43ca: bf3d j 4308 <_vfiprintf_r+0xee>
|
|
43cc: 57fd li a5,-1
|
|
43ce: b7c5 j 43ae <_vfiprintf_r+0x194>
|
|
43d0: 0405 addi s0,s0,1
|
|
43d2: ca02 sw zero,20(sp)
|
|
43d4: 4681 li a3,0
|
|
43d6: 4781 li a5,0
|
|
43d8: 4625 li a2,9
|
|
43da: 2018 lbu a4,0(s0)
|
|
43dc: 00140593 addi a1,s0,1
|
|
43e0: fd070713 addi a4,a4,-48
|
|
43e4: 06e67463 bgeu a2,a4,444c <_vfiprintf_r+0x232>
|
|
43e8: f2f9 bnez a3,43ae <_vfiprintf_r+0x194>
|
|
43ea: 200c lbu a1,0(s0)
|
|
43ec: 460d li a2,3
|
|
43ee: 00001517 auipc a0,0x1
|
|
43f2: a4650513 addi a0,a0,-1466 # 4e34 <__sf_fake_stdout+0x28>
|
|
43f6: 2509 jal 49f8 <memchr>
|
|
43f8: cd11 beqz a0,4414 <_vfiprintf_r+0x1fa>
|
|
43fa: 00001797 auipc a5,0x1
|
|
43fe: a3a78793 addi a5,a5,-1478 # 4e34 <__sf_fake_stdout+0x28>
|
|
4402: 8d1d sub a0,a0,a5
|
|
4404: 04000793 li a5,64
|
|
4408: 00a797b3 sll a5,a5,a0
|
|
440c: 4542 lw a0,16(sp)
|
|
440e: 0405 addi s0,s0,1
|
|
4410: 8d5d or a0,a0,a5
|
|
4412: c82a sw a0,16(sp)
|
|
4414: 200c lbu a1,0(s0)
|
|
4416: 4619 li a2,6
|
|
4418: 00001517 auipc a0,0x1
|
|
441c: a2050513 addi a0,a0,-1504 # 4e38 <__sf_fake_stdout+0x2c>
|
|
4420: 00140913 addi s2,s0,1
|
|
4424: 02b10423 sb a1,40(sp)
|
|
4428: 2bc1 jal 49f8 <memchr>
|
|
442a: c135 beqz a0,448e <_vfiprintf_r+0x274>
|
|
442c: ffffc797 auipc a5,0xffffc
|
|
4430: bd478793 addi a5,a5,-1068 # 0 <_sinit>
|
|
4434: e795 bnez a5,4460 <_vfiprintf_r+0x246>
|
|
4436: 4742 lw a4,16(sp)
|
|
4438: 47b2 lw a5,12(sp)
|
|
443a: 10077713 andi a4,a4,256
|
|
443e: cf09 beqz a4,4458 <_vfiprintf_r+0x23e>
|
|
4440: 0791 addi a5,a5,4
|
|
4442: c63e sw a5,12(sp)
|
|
4444: 5792 lw a5,36(sp)
|
|
4446: 97d2 add a5,a5,s4
|
|
4448: d23e sw a5,36(sp)
|
|
444a: bd25 j 4282 <_vfiprintf_r+0x68>
|
|
444c: 036787b3 mul a5,a5,s6
|
|
4450: 4685 li a3,1
|
|
4452: 842e mv s0,a1
|
|
4454: 97ba add a5,a5,a4
|
|
4456: b751 j 43da <_vfiprintf_r+0x1c0>
|
|
4458: 079d addi a5,a5,7
|
|
445a: 9be1 andi a5,a5,-8
|
|
445c: 07a1 addi a5,a5,8
|
|
445e: b7d5 j 4442 <_vfiprintf_r+0x228>
|
|
4460: 0078 addi a4,sp,12
|
|
4462: 00000697 auipc a3,0x0
|
|
4466: d7868693 addi a3,a3,-648 # 41da <__sfputs_r>
|
|
446a: 8626 mv a2,s1
|
|
446c: 080c addi a1,sp,16
|
|
446e: 854e mv a0,s3
|
|
4470: 00000097 auipc ra,0x0
|
|
4474: 000000e7 jalr zero # 0 <_sinit>
|
|
4478: 57fd li a5,-1
|
|
447a: 8a2a mv s4,a0
|
|
447c: fcf514e3 bne a0,a5,4444 <_vfiprintf_r+0x22a>
|
|
4480: 24de lhu a5,12(s1)
|
|
4482: 0407f793 andi a5,a5,64
|
|
4486: ec0792e3 bnez a5,434a <_vfiprintf_r+0x130>
|
|
448a: 5512 lw a0,36(sp)
|
|
448c: b5c1 j 434c <_vfiprintf_r+0x132>
|
|
448e: 0078 addi a4,sp,12
|
|
4490: 00000697 auipc a3,0x0
|
|
4494: d4a68693 addi a3,a3,-694 # 41da <__sfputs_r>
|
|
4498: 8626 mv a2,s1
|
|
449a: 080c addi a1,sp,16
|
|
449c: 854e mv a0,s3
|
|
449e: 2a01 jal 45ae <_printf_i>
|
|
44a0: bfe1 j 4478 <_vfiprintf_r+0x25e>
|
|
|
|
000044a2 <_printf_common>:
|
|
44a2: 7179 addi sp,sp,-48
|
|
44a4: ca56 sw s5,20(sp)
|
|
44a6: 499c lw a5,16(a1)
|
|
44a8: 8aba mv s5,a4
|
|
44aa: 4598 lw a4,8(a1)
|
|
44ac: d422 sw s0,40(sp)
|
|
44ae: d226 sw s1,36(sp)
|
|
44b0: ce4e sw s3,28(sp)
|
|
44b2: cc52 sw s4,24(sp)
|
|
44b4: d606 sw ra,44(sp)
|
|
44b6: d04a sw s2,32(sp)
|
|
44b8: c85a sw s6,16(sp)
|
|
44ba: c65e sw s7,12(sp)
|
|
44bc: 89aa mv s3,a0
|
|
44be: 842e mv s0,a1
|
|
44c0: 84b2 mv s1,a2
|
|
44c2: 8a36 mv s4,a3
|
|
44c4: 00e7d363 bge a5,a4,44ca <_printf_common+0x28>
|
|
44c8: 87ba mv a5,a4
|
|
44ca: c09c sw a5,0(s1)
|
|
44cc: 04344703 lbu a4,67(s0)
|
|
44d0: c319 beqz a4,44d6 <_printf_common+0x34>
|
|
44d2: 0785 addi a5,a5,1
|
|
44d4: c09c sw a5,0(s1)
|
|
44d6: 401c lw a5,0(s0)
|
|
44d8: 0207f793 andi a5,a5,32
|
|
44dc: c781 beqz a5,44e4 <_printf_common+0x42>
|
|
44de: 409c lw a5,0(s1)
|
|
44e0: 0789 addi a5,a5,2
|
|
44e2: c09c sw a5,0(s1)
|
|
44e4: 00042903 lw s2,0(s0)
|
|
44e8: 00697913 andi s2,s2,6
|
|
44ec: 00091a63 bnez s2,4500 <_printf_common+0x5e>
|
|
44f0: 01940b13 addi s6,s0,25
|
|
44f4: 5bfd li s7,-1
|
|
44f6: 445c lw a5,12(s0)
|
|
44f8: 4098 lw a4,0(s1)
|
|
44fa: 8f99 sub a5,a5,a4
|
|
44fc: 04f94c63 blt s2,a5,4554 <_printf_common+0xb2>
|
|
4500: 401c lw a5,0(s0)
|
|
4502: 04344683 lbu a3,67(s0)
|
|
4506: 0207f793 andi a5,a5,32
|
|
450a: 00d036b3 snez a3,a3
|
|
450e: eba5 bnez a5,457e <_printf_common+0xdc>
|
|
4510: 04340613 addi a2,s0,67
|
|
4514: 85d2 mv a1,s4
|
|
4516: 854e mv a0,s3
|
|
4518: 9a82 jalr s5
|
|
451a: 57fd li a5,-1
|
|
451c: 04f50363 beq a0,a5,4562 <_printf_common+0xc0>
|
|
4520: 401c lw a5,0(s0)
|
|
4522: 4611 li a2,4
|
|
4524: 4098 lw a4,0(s1)
|
|
4526: 8b99 andi a5,a5,6
|
|
4528: 4454 lw a3,12(s0)
|
|
452a: 4481 li s1,0
|
|
452c: 00c79763 bne a5,a2,453a <_printf_common+0x98>
|
|
4530: 40e684b3 sub s1,a3,a4
|
|
4534: 0004d363 bgez s1,453a <_printf_common+0x98>
|
|
4538: 4481 li s1,0
|
|
453a: 441c lw a5,8(s0)
|
|
453c: 4818 lw a4,16(s0)
|
|
453e: 00f75463 bge a4,a5,4546 <_printf_common+0xa4>
|
|
4542: 8f99 sub a5,a5,a4
|
|
4544: 94be add s1,s1,a5
|
|
4546: 4901 li s2,0
|
|
4548: 0469 addi s0,s0,26
|
|
454a: 5b7d li s6,-1
|
|
454c: 05249863 bne s1,s2,459c <_printf_common+0xfa>
|
|
4550: 4501 li a0,0
|
|
4552: a809 j 4564 <_printf_common+0xc2>
|
|
4554: 4685 li a3,1
|
|
4556: 865a mv a2,s6
|
|
4558: 85d2 mv a1,s4
|
|
455a: 854e mv a0,s3
|
|
455c: 9a82 jalr s5
|
|
455e: 01751e63 bne a0,s7,457a <_printf_common+0xd8>
|
|
4562: 557d li a0,-1
|
|
4564: 50b2 lw ra,44(sp)
|
|
4566: 5422 lw s0,40(sp)
|
|
4568: 5492 lw s1,36(sp)
|
|
456a: 5902 lw s2,32(sp)
|
|
456c: 49f2 lw s3,28(sp)
|
|
456e: 4a62 lw s4,24(sp)
|
|
4570: 4ad2 lw s5,20(sp)
|
|
4572: 4b42 lw s6,16(sp)
|
|
4574: 4bb2 lw s7,12(sp)
|
|
4576: 6145 addi sp,sp,48
|
|
4578: 8082 ret
|
|
457a: 0905 addi s2,s2,1
|
|
457c: bfad j 44f6 <_printf_common+0x54>
|
|
457e: 00d40733 add a4,s0,a3
|
|
4582: 03000613 li a2,48
|
|
4586: 04c701a3 sb a2,67(a4)
|
|
458a: 04544703 lbu a4,69(s0)
|
|
458e: 00168793 addi a5,a3,1
|
|
4592: 97a2 add a5,a5,s0
|
|
4594: 0689 addi a3,a3,2
|
|
4596: 04e781a3 sb a4,67(a5)
|
|
459a: bf9d j 4510 <_printf_common+0x6e>
|
|
459c: 4685 li a3,1
|
|
459e: 8622 mv a2,s0
|
|
45a0: 85d2 mv a1,s4
|
|
45a2: 854e mv a0,s3
|
|
45a4: 9a82 jalr s5
|
|
45a6: fb650ee3 beq a0,s6,4562 <_printf_common+0xc0>
|
|
45aa: 0905 addi s2,s2,1
|
|
45ac: b745 j 454c <_printf_common+0xaa>
|
|
|
|
000045ae <_printf_i>:
|
|
45ae: 7179 addi sp,sp,-48
|
|
45b0: d422 sw s0,40(sp)
|
|
45b2: d226 sw s1,36(sp)
|
|
45b4: d04a sw s2,32(sp)
|
|
45b6: ce4e sw s3,28(sp)
|
|
45b8: d606 sw ra,44(sp)
|
|
45ba: cc52 sw s4,24(sp)
|
|
45bc: ca56 sw s5,20(sp)
|
|
45be: c85a sw s6,16(sp)
|
|
45c0: 89b6 mv s3,a3
|
|
45c2: 2d94 lbu a3,24(a1)
|
|
45c4: 06900793 li a5,105
|
|
45c8: 8932 mv s2,a2
|
|
45ca: 84aa mv s1,a0
|
|
45cc: 842e mv s0,a1
|
|
45ce: 04358613 addi a2,a1,67
|
|
45d2: 02f68d63 beq a3,a5,460c <_printf_i+0x5e>
|
|
45d6: 06d7e263 bltu a5,a3,463a <_printf_i+0x8c>
|
|
45da: 05800793 li a5,88
|
|
45de: 18f68663 beq a3,a5,476a <_printf_i+0x1bc>
|
|
45e2: 00d7ed63 bltu a5,a3,45fc <_printf_i+0x4e>
|
|
45e6: 20068e63 beqz a3,4802 <_printf_i+0x254>
|
|
45ea: 04300793 li a5,67
|
|
45ee: 0af68e63 beq a3,a5,46aa <_printf_i+0xfc>
|
|
45f2: 04240a93 addi s5,s0,66
|
|
45f6: 04d40123 sb a3,66(s0)
|
|
45fa: a0c9 j 46bc <_printf_i+0x10e>
|
|
45fc: 06300793 li a5,99
|
|
4600: 0af68563 beq a3,a5,46aa <_printf_i+0xfc>
|
|
4604: 06400793 li a5,100
|
|
4608: fef695e3 bne a3,a5,45f2 <_printf_i+0x44>
|
|
460c: 401c lw a5,0(s0)
|
|
460e: 4308 lw a0,0(a4)
|
|
4610: 0807f693 andi a3,a5,128
|
|
4614: 00450593 addi a1,a0,4
|
|
4618: c6c5 beqz a3,46c0 <_printf_i+0x112>
|
|
461a: 411c lw a5,0(a0)
|
|
461c: c30c sw a1,0(a4)
|
|
461e: 0007d863 bgez a5,462e <_printf_i+0x80>
|
|
4622: 02d00713 li a4,45
|
|
4626: 40f007b3 neg a5,a5
|
|
462a: 04e401a3 sb a4,67(s0)
|
|
462e: 00001697 auipc a3,0x1
|
|
4632: 81268693 addi a3,a3,-2030 # 4e40 <__sf_fake_stdout+0x34>
|
|
4636: 4729 li a4,10
|
|
4638: a865 j 46f0 <_printf_i+0x142>
|
|
463a: 07000793 li a5,112
|
|
463e: 16f68263 beq a3,a5,47a2 <_printf_i+0x1f4>
|
|
4642: 02d7e563 bltu a5,a3,466c <_printf_i+0xbe>
|
|
4646: 06e00793 li a5,110
|
|
464a: 18f68963 beq a3,a5,47dc <_printf_i+0x22e>
|
|
464e: 06f00793 li a5,111
|
|
4652: faf690e3 bne a3,a5,45f2 <_printf_i+0x44>
|
|
4656: 400c lw a1,0(s0)
|
|
4658: 431c lw a5,0(a4)
|
|
465a: 0805f813 andi a6,a1,128
|
|
465e: 00478513 addi a0,a5,4
|
|
4662: 06080763 beqz a6,46d0 <_printf_i+0x122>
|
|
4666: c308 sw a0,0(a4)
|
|
4668: 439c lw a5,0(a5)
|
|
466a: a885 j 46da <_printf_i+0x12c>
|
|
466c: 07500793 li a5,117
|
|
4670: fef683e3 beq a3,a5,4656 <_printf_i+0xa8>
|
|
4674: 07800793 li a5,120
|
|
4678: 12f68963 beq a3,a5,47aa <_printf_i+0x1fc>
|
|
467c: 07300793 li a5,115
|
|
4680: f6f699e3 bne a3,a5,45f2 <_printf_i+0x44>
|
|
4684: 431c lw a5,0(a4)
|
|
4686: 41d0 lw a2,4(a1)
|
|
4688: 4581 li a1,0
|
|
468a: 00478693 addi a3,a5,4
|
|
468e: c314 sw a3,0(a4)
|
|
4690: 0007aa83 lw s5,0(a5)
|
|
4694: 8556 mv a0,s5
|
|
4696: 268d jal 49f8 <memchr>
|
|
4698: c501 beqz a0,46a0 <_printf_i+0xf2>
|
|
469a: 41550533 sub a0,a0,s5
|
|
469e: c048 sw a0,4(s0)
|
|
46a0: 405c lw a5,4(s0)
|
|
46a2: c81c sw a5,16(s0)
|
|
46a4: 040401a3 sb zero,67(s0)
|
|
46a8: a861 j 4740 <_printf_i+0x192>
|
|
46aa: 431c lw a5,0(a4)
|
|
46ac: 04240a93 addi s5,s0,66
|
|
46b0: 00478693 addi a3,a5,4
|
|
46b4: 439c lw a5,0(a5)
|
|
46b6: c314 sw a3,0(a4)
|
|
46b8: 04f40123 sb a5,66(s0)
|
|
46bc: 4785 li a5,1
|
|
46be: b7d5 j 46a2 <_printf_i+0xf4>
|
|
46c0: 0407f693 andi a3,a5,64
|
|
46c4: 411c lw a5,0(a0)
|
|
46c6: c30c sw a1,0(a4)
|
|
46c8: dab9 beqz a3,461e <_printf_i+0x70>
|
|
46ca: 07c2 slli a5,a5,0x10
|
|
46cc: 87c1 srai a5,a5,0x10
|
|
46ce: bf81 j 461e <_printf_i+0x70>
|
|
46d0: 0405f593 andi a1,a1,64
|
|
46d4: c308 sw a0,0(a4)
|
|
46d6: d9c9 beqz a1,4668 <_printf_i+0xba>
|
|
46d8: 239e lhu a5,0(a5)
|
|
46da: 06f00713 li a4,111
|
|
46de: 0ee68763 beq a3,a4,47cc <_printf_i+0x21e>
|
|
46e2: 00000697 auipc a3,0x0
|
|
46e6: 75e68693 addi a3,a3,1886 # 4e40 <__sf_fake_stdout+0x34>
|
|
46ea: 4729 li a4,10
|
|
46ec: 040401a3 sb zero,67(s0)
|
|
46f0: 404c lw a1,4(s0)
|
|
46f2: c40c sw a1,8(s0)
|
|
46f4: 0005c563 bltz a1,46fe <_printf_i+0x150>
|
|
46f8: 4008 lw a0,0(s0)
|
|
46fa: 996d andi a0,a0,-5
|
|
46fc: c008 sw a0,0(s0)
|
|
46fe: e399 bnez a5,4704 <_printf_i+0x156>
|
|
4700: 8ab2 mv s5,a2
|
|
4702: cd89 beqz a1,471c <_printf_i+0x16e>
|
|
4704: 8ab2 mv s5,a2
|
|
4706: 02e7f5b3 remu a1,a5,a4
|
|
470a: 1afd addi s5,s5,-1
|
|
470c: 95b6 add a1,a1,a3
|
|
470e: 218c lbu a1,0(a1)
|
|
4710: 00ba8023 sb a1,0(s5)
|
|
4714: 02e7d5b3 divu a1,a5,a4
|
|
4718: 0ce7f063 bgeu a5,a4,47d8 <_printf_i+0x22a>
|
|
471c: 47a1 li a5,8
|
|
471e: 00f71e63 bne a4,a5,473a <_printf_i+0x18c>
|
|
4722: 401c lw a5,0(s0)
|
|
4724: 8b85 andi a5,a5,1
|
|
4726: cb91 beqz a5,473a <_printf_i+0x18c>
|
|
4728: 4058 lw a4,4(s0)
|
|
472a: 481c lw a5,16(s0)
|
|
472c: 00e7c763 blt a5,a4,473a <_printf_i+0x18c>
|
|
4730: 03000793 li a5,48
|
|
4734: fefa8fa3 sb a5,-1(s5)
|
|
4738: 1afd addi s5,s5,-1
|
|
473a: 41560633 sub a2,a2,s5
|
|
473e: c810 sw a2,16(s0)
|
|
4740: 874e mv a4,s3
|
|
4742: 86ca mv a3,s2
|
|
4744: 0070 addi a2,sp,12
|
|
4746: 85a2 mv a1,s0
|
|
4748: 8526 mv a0,s1
|
|
474a: d59ff0ef jal ra,44a2 <_printf_common>
|
|
474e: 5a7d li s4,-1
|
|
4750: 0b451d63 bne a0,s4,480a <_printf_i+0x25c>
|
|
4754: 557d li a0,-1
|
|
4756: 50b2 lw ra,44(sp)
|
|
4758: 5422 lw s0,40(sp)
|
|
475a: 5492 lw s1,36(sp)
|
|
475c: 5902 lw s2,32(sp)
|
|
475e: 49f2 lw s3,28(sp)
|
|
4760: 4a62 lw s4,24(sp)
|
|
4762: 4ad2 lw s5,20(sp)
|
|
4764: 4b42 lw s6,16(sp)
|
|
4766: 6145 addi sp,sp,48
|
|
4768: 8082 ret
|
|
476a: 04d582a3 sb a3,69(a1)
|
|
476e: 00000697 auipc a3,0x0
|
|
4772: 6d268693 addi a3,a3,1746 # 4e40 <__sf_fake_stdout+0x34>
|
|
4776: 400c lw a1,0(s0)
|
|
4778: 4308 lw a0,0(a4)
|
|
477a: 0805f813 andi a6,a1,128
|
|
477e: 411c lw a5,0(a0)
|
|
4780: 0511 addi a0,a0,4
|
|
4782: 02080d63 beqz a6,47bc <_printf_i+0x20e>
|
|
4786: c308 sw a0,0(a4)
|
|
4788: 0015f713 andi a4,a1,1
|
|
478c: c701 beqz a4,4794 <_printf_i+0x1e6>
|
|
478e: 0205e593 ori a1,a1,32
|
|
4792: c00c sw a1,0(s0)
|
|
4794: 4741 li a4,16
|
|
4796: fbb9 bnez a5,46ec <_printf_i+0x13e>
|
|
4798: 400c lw a1,0(s0)
|
|
479a: fdf5f593 andi a1,a1,-33
|
|
479e: c00c sw a1,0(s0)
|
|
47a0: b7b1 j 46ec <_printf_i+0x13e>
|
|
47a2: 419c lw a5,0(a1)
|
|
47a4: 0207e793 ori a5,a5,32
|
|
47a8: c19c sw a5,0(a1)
|
|
47aa: 07800793 li a5,120
|
|
47ae: 04f402a3 sb a5,69(s0)
|
|
47b2: 00000697 auipc a3,0x0
|
|
47b6: 6a268693 addi a3,a3,1698 # 4e54 <__sf_fake_stdout+0x48>
|
|
47ba: bf75 j 4776 <_printf_i+0x1c8>
|
|
47bc: 0405f813 andi a6,a1,64
|
|
47c0: c308 sw a0,0(a4)
|
|
47c2: fc0803e3 beqz a6,4788 <_printf_i+0x1da>
|
|
47c6: 07c2 slli a5,a5,0x10
|
|
47c8: 83c1 srli a5,a5,0x10
|
|
47ca: bf7d j 4788 <_printf_i+0x1da>
|
|
47cc: 00000697 auipc a3,0x0
|
|
47d0: 67468693 addi a3,a3,1652 # 4e40 <__sf_fake_stdout+0x34>
|
|
47d4: 4721 li a4,8
|
|
47d6: bf19 j 46ec <_printf_i+0x13e>
|
|
47d8: 87ae mv a5,a1
|
|
47da: b735 j 4706 <_printf_i+0x158>
|
|
47dc: 4194 lw a3,0(a1)
|
|
47de: 431c lw a5,0(a4)
|
|
47e0: 49cc lw a1,20(a1)
|
|
47e2: 0806f813 andi a6,a3,128
|
|
47e6: 00478513 addi a0,a5,4
|
|
47ea: 00080663 beqz a6,47f6 <_printf_i+0x248>
|
|
47ee: c308 sw a0,0(a4)
|
|
47f0: 439c lw a5,0(a5)
|
|
47f2: c38c sw a1,0(a5)
|
|
47f4: a039 j 4802 <_printf_i+0x254>
|
|
47f6: c308 sw a0,0(a4)
|
|
47f8: 0406f693 andi a3,a3,64
|
|
47fc: 439c lw a5,0(a5)
|
|
47fe: daf5 beqz a3,47f2 <_printf_i+0x244>
|
|
4800: a38e sh a1,0(a5)
|
|
4802: 00042823 sw zero,16(s0)
|
|
4806: 8ab2 mv s5,a2
|
|
4808: bf25 j 4740 <_printf_i+0x192>
|
|
480a: 4814 lw a3,16(s0)
|
|
480c: 8656 mv a2,s5
|
|
480e: 85ca mv a1,s2
|
|
4810: 8526 mv a0,s1
|
|
4812: 9982 jalr s3
|
|
4814: f54500e3 beq a0,s4,4754 <_printf_i+0x1a6>
|
|
4818: 401c lw a5,0(s0)
|
|
481a: 8b89 andi a5,a5,2
|
|
481c: e78d bnez a5,4846 <_printf_i+0x298>
|
|
481e: 47b2 lw a5,12(sp)
|
|
4820: 4448 lw a0,12(s0)
|
|
4822: f2f55ae3 bge a0,a5,4756 <_printf_i+0x1a8>
|
|
4826: 853e mv a0,a5
|
|
4828: b73d j 4756 <_printf_i+0x1a8>
|
|
482a: 4685 li a3,1
|
|
482c: 8656 mv a2,s5
|
|
482e: 85ca mv a1,s2
|
|
4830: 8526 mv a0,s1
|
|
4832: 9982 jalr s3
|
|
4834: f36500e3 beq a0,s6,4754 <_printf_i+0x1a6>
|
|
4838: 0a05 addi s4,s4,1
|
|
483a: 445c lw a5,12(s0)
|
|
483c: 4732 lw a4,12(sp)
|
|
483e: 8f99 sub a5,a5,a4
|
|
4840: fefa45e3 blt s4,a5,482a <_printf_i+0x27c>
|
|
4844: bfe9 j 481e <_printf_i+0x270>
|
|
4846: 4a01 li s4,0
|
|
4848: 01940a93 addi s5,s0,25
|
|
484c: 5b7d li s6,-1
|
|
484e: b7f5 j 483a <_printf_i+0x28c>
|
|
|
|
00004850 <_sbrk_r>:
|
|
4850: 1141 addi sp,sp,-16
|
|
4852: c422 sw s0,8(sp)
|
|
4854: 842a mv s0,a0
|
|
4856: 852e mv a0,a1
|
|
4858: aa01a623 sw zero,-1364(gp) # 20000384 <errno>
|
|
485c: c606 sw ra,12(sp)
|
|
485e: c56fd0ef jal ra,1cb4 <_sbrk>
|
|
4862: 57fd li a5,-1
|
|
4864: 00f51763 bne a0,a5,4872 <_sbrk_r+0x22>
|
|
4868: aac18793 addi a5,gp,-1364 # 20000384 <errno>
|
|
486c: 439c lw a5,0(a5)
|
|
486e: c391 beqz a5,4872 <_sbrk_r+0x22>
|
|
4870: c01c sw a5,0(s0)
|
|
4872: 40b2 lw ra,12(sp)
|
|
4874: 4422 lw s0,8(sp)
|
|
4876: 0141 addi sp,sp,16
|
|
4878: 8082 ret
|
|
|
|
0000487a <__sread>:
|
|
487a: 1141 addi sp,sp,-16
|
|
487c: c422 sw s0,8(sp)
|
|
487e: 842e mv s0,a1
|
|
4880: 00e59583 lh a1,14(a1)
|
|
4884: c606 sw ra,12(sp)
|
|
4886: 2279 jal 4a14 <_read_r>
|
|
4888: 00054963 bltz a0,489a <__sread+0x20>
|
|
488c: 487c lw a5,84(s0)
|
|
488e: 97aa add a5,a5,a0
|
|
4890: c87c sw a5,84(s0)
|
|
4892: 40b2 lw ra,12(sp)
|
|
4894: 4422 lw s0,8(sp)
|
|
4896: 0141 addi sp,sp,16
|
|
4898: 8082 ret
|
|
489a: 245e lhu a5,12(s0)
|
|
489c: 777d lui a4,0xfffff
|
|
489e: 177d addi a4,a4,-1
|
|
48a0: 8ff9 and a5,a5,a4
|
|
48a2: a45e sh a5,12(s0)
|
|
48a4: b7fd j 4892 <__sread+0x18>
|
|
|
|
000048a6 <__swrite>:
|
|
48a6: 25de lhu a5,12(a1)
|
|
48a8: 1101 addi sp,sp,-32
|
|
48aa: cc22 sw s0,24(sp)
|
|
48ac: ca26 sw s1,20(sp)
|
|
48ae: c84a sw s2,16(sp)
|
|
48b0: c64e sw s3,12(sp)
|
|
48b2: ce06 sw ra,28(sp)
|
|
48b4: 1007f793 andi a5,a5,256
|
|
48b8: 84aa mv s1,a0
|
|
48ba: 842e mv s0,a1
|
|
48bc: 8932 mv s2,a2
|
|
48be: 89b6 mv s3,a3
|
|
48c0: c791 beqz a5,48cc <__swrite+0x26>
|
|
48c2: 00e59583 lh a1,14(a1)
|
|
48c6: 4689 li a3,2
|
|
48c8: 4601 li a2,0
|
|
48ca: 2209 jal 49cc <_lseek_r>
|
|
48cc: 245e lhu a5,12(s0)
|
|
48ce: 777d lui a4,0xfffff
|
|
48d0: 177d addi a4,a4,-1
|
|
48d2: 8ff9 and a5,a5,a4
|
|
48d4: a45e sh a5,12(s0)
|
|
48d6: 00e41583 lh a1,14(s0)
|
|
48da: 4462 lw s0,24(sp)
|
|
48dc: 40f2 lw ra,28(sp)
|
|
48de: 86ce mv a3,s3
|
|
48e0: 864a mv a2,s2
|
|
48e2: 49b2 lw s3,12(sp)
|
|
48e4: 4942 lw s2,16(sp)
|
|
48e6: 8526 mv a0,s1
|
|
48e8: 44d2 lw s1,20(sp)
|
|
48ea: 6105 addi sp,sp,32
|
|
48ec: a825 j 4924 <_write_r>
|
|
|
|
000048ee <__sseek>:
|
|
48ee: 1141 addi sp,sp,-16
|
|
48f0: c422 sw s0,8(sp)
|
|
48f2: 842e mv s0,a1
|
|
48f4: 00e59583 lh a1,14(a1)
|
|
48f8: c606 sw ra,12(sp)
|
|
48fa: 28c9 jal 49cc <_lseek_r>
|
|
48fc: 57fd li a5,-1
|
|
48fe: 245a lhu a4,12(s0)
|
|
4900: 00f51a63 bne a0,a5,4914 <__sseek+0x26>
|
|
4904: 77fd lui a5,0xfffff
|
|
4906: 17fd addi a5,a5,-1
|
|
4908: 8ff9 and a5,a5,a4
|
|
490a: a45e sh a5,12(s0)
|
|
490c: 40b2 lw ra,12(sp)
|
|
490e: 4422 lw s0,8(sp)
|
|
4910: 0141 addi sp,sp,16
|
|
4912: 8082 ret
|
|
4914: 6785 lui a5,0x1
|
|
4916: 8fd9 or a5,a5,a4
|
|
4918: a45e sh a5,12(s0)
|
|
491a: c868 sw a0,84(s0)
|
|
491c: bfc5 j 490c <__sseek+0x1e>
|
|
|
|
0000491e <__sclose>:
|
|
491e: 00e59583 lh a1,14(a1)
|
|
4922: a805 j 4952 <_close_r>
|
|
|
|
00004924 <_write_r>:
|
|
4924: 1141 addi sp,sp,-16
|
|
4926: c422 sw s0,8(sp)
|
|
4928: 842a mv s0,a0
|
|
492a: 852e mv a0,a1
|
|
492c: 85b2 mv a1,a2
|
|
492e: 8636 mv a2,a3
|
|
4930: aa01a623 sw zero,-1364(gp) # 20000384 <errno>
|
|
4934: c606 sw ra,12(sp)
|
|
4936: b40fd0ef jal ra,1c76 <_write>
|
|
493a: 57fd li a5,-1
|
|
493c: 00f51763 bne a0,a5,494a <_write_r+0x26>
|
|
4940: aac18793 addi a5,gp,-1364 # 20000384 <errno>
|
|
4944: 439c lw a5,0(a5)
|
|
4946: c391 beqz a5,494a <_write_r+0x26>
|
|
4948: c01c sw a5,0(s0)
|
|
494a: 40b2 lw ra,12(sp)
|
|
494c: 4422 lw s0,8(sp)
|
|
494e: 0141 addi sp,sp,16
|
|
4950: 8082 ret
|
|
|
|
00004952 <_close_r>:
|
|
4952: 1141 addi sp,sp,-16
|
|
4954: c422 sw s0,8(sp)
|
|
4956: 842a mv s0,a0
|
|
4958: 852e mv a0,a1
|
|
495a: aa01a623 sw zero,-1364(gp) # 20000384 <errno>
|
|
495e: c606 sw ra,12(sp)
|
|
4960: 20c5 jal 4a40 <_close>
|
|
4962: 57fd li a5,-1
|
|
4964: 00f51763 bne a0,a5,4972 <_close_r+0x20>
|
|
4968: aac18793 addi a5,gp,-1364 # 20000384 <errno>
|
|
496c: 439c lw a5,0(a5)
|
|
496e: c391 beqz a5,4972 <_close_r+0x20>
|
|
4970: c01c sw a5,0(s0)
|
|
4972: 40b2 lw ra,12(sp)
|
|
4974: 4422 lw s0,8(sp)
|
|
4976: 0141 addi sp,sp,16
|
|
4978: 8082 ret
|
|
|
|
0000497a <_fstat_r>:
|
|
497a: 1141 addi sp,sp,-16
|
|
497c: c422 sw s0,8(sp)
|
|
497e: 842a mv s0,a0
|
|
4980: 852e mv a0,a1
|
|
4982: 85b2 mv a1,a2
|
|
4984: aa01a623 sw zero,-1364(gp) # 20000384 <errno>
|
|
4988: c606 sw ra,12(sp)
|
|
498a: 20c9 jal 4a4c <_fstat>
|
|
498c: 57fd li a5,-1
|
|
498e: 00f51763 bne a0,a5,499c <_fstat_r+0x22>
|
|
4992: aac18793 addi a5,gp,-1364 # 20000384 <errno>
|
|
4996: 439c lw a5,0(a5)
|
|
4998: c391 beqz a5,499c <_fstat_r+0x22>
|
|
499a: c01c sw a5,0(s0)
|
|
499c: 40b2 lw ra,12(sp)
|
|
499e: 4422 lw s0,8(sp)
|
|
49a0: 0141 addi sp,sp,16
|
|
49a2: 8082 ret
|
|
|
|
000049a4 <_isatty_r>:
|
|
49a4: 1141 addi sp,sp,-16
|
|
49a6: c422 sw s0,8(sp)
|
|
49a8: 842a mv s0,a0
|
|
49aa: 852e mv a0,a1
|
|
49ac: aa01a623 sw zero,-1364(gp) # 20000384 <errno>
|
|
49b0: c606 sw ra,12(sp)
|
|
49b2: 205d jal 4a58 <_isatty>
|
|
49b4: 57fd li a5,-1
|
|
49b6: 00f51763 bne a0,a5,49c4 <_isatty_r+0x20>
|
|
49ba: aac18793 addi a5,gp,-1364 # 20000384 <errno>
|
|
49be: 439c lw a5,0(a5)
|
|
49c0: c391 beqz a5,49c4 <_isatty_r+0x20>
|
|
49c2: c01c sw a5,0(s0)
|
|
49c4: 40b2 lw ra,12(sp)
|
|
49c6: 4422 lw s0,8(sp)
|
|
49c8: 0141 addi sp,sp,16
|
|
49ca: 8082 ret
|
|
|
|
000049cc <_lseek_r>:
|
|
49cc: 1141 addi sp,sp,-16
|
|
49ce: c422 sw s0,8(sp)
|
|
49d0: 842a mv s0,a0
|
|
49d2: 852e mv a0,a1
|
|
49d4: 85b2 mv a1,a2
|
|
49d6: 8636 mv a2,a3
|
|
49d8: aa01a623 sw zero,-1364(gp) # 20000384 <errno>
|
|
49dc: c606 sw ra,12(sp)
|
|
49de: 2059 jal 4a64 <_lseek>
|
|
49e0: 57fd li a5,-1
|
|
49e2: 00f51763 bne a0,a5,49f0 <_lseek_r+0x24>
|
|
49e6: aac18793 addi a5,gp,-1364 # 20000384 <errno>
|
|
49ea: 439c lw a5,0(a5)
|
|
49ec: c391 beqz a5,49f0 <_lseek_r+0x24>
|
|
49ee: c01c sw a5,0(s0)
|
|
49f0: 40b2 lw ra,12(sp)
|
|
49f2: 4422 lw s0,8(sp)
|
|
49f4: 0141 addi sp,sp,16
|
|
49f6: 8082 ret
|
|
|
|
000049f8 <memchr>:
|
|
49f8: 0ff5f593 andi a1,a1,255
|
|
49fc: 962a add a2,a2,a0
|
|
49fe: 00c51463 bne a0,a2,4a06 <memchr+0xe>
|
|
4a02: 4501 li a0,0
|
|
4a04: 8082 ret
|
|
4a06: 211c lbu a5,0(a0)
|
|
4a08: feb78ee3 beq a5,a1,4a04 <memchr+0xc>
|
|
4a0c: 0505 addi a0,a0,1
|
|
4a0e: bfc5 j 49fe <memchr+0x6>
|
|
|
|
00004a10 <__malloc_lock>:
|
|
4a10: 8082 ret
|
|
|
|
00004a12 <__malloc_unlock>:
|
|
4a12: 8082 ret
|
|
|
|
00004a14 <_read_r>:
|
|
4a14: 1141 addi sp,sp,-16
|
|
4a16: c422 sw s0,8(sp)
|
|
4a18: 842a mv s0,a0
|
|
4a1a: 852e mv a0,a1
|
|
4a1c: 85b2 mv a1,a2
|
|
4a1e: 8636 mv a2,a3
|
|
4a20: aa01a623 sw zero,-1364(gp) # 20000384 <errno>
|
|
4a24: c606 sw ra,12(sp)
|
|
4a26: 20a9 jal 4a70 <_read>
|
|
4a28: 57fd li a5,-1
|
|
4a2a: 00f51763 bne a0,a5,4a38 <_read_r+0x24>
|
|
4a2e: aac18793 addi a5,gp,-1364 # 20000384 <errno>
|
|
4a32: 439c lw a5,0(a5)
|
|
4a34: c391 beqz a5,4a38 <_read_r+0x24>
|
|
4a36: c01c sw a5,0(s0)
|
|
4a38: 40b2 lw ra,12(sp)
|
|
4a3a: 4422 lw s0,8(sp)
|
|
4a3c: 0141 addi sp,sp,16
|
|
4a3e: 8082 ret
|
|
|
|
00004a40 <_close>:
|
|
4a40: 05800793 li a5,88
|
|
4a44: aaf1a623 sw a5,-1364(gp) # 20000384 <errno>
|
|
4a48: 557d li a0,-1
|
|
4a4a: 8082 ret
|
|
|
|
00004a4c <_fstat>:
|
|
4a4c: 05800793 li a5,88
|
|
4a50: aaf1a623 sw a5,-1364(gp) # 20000384 <errno>
|
|
4a54: 557d li a0,-1
|
|
4a56: 8082 ret
|
|
|
|
00004a58 <_isatty>:
|
|
4a58: 05800793 li a5,88
|
|
4a5c: aaf1a623 sw a5,-1364(gp) # 20000384 <errno>
|
|
4a60: 4501 li a0,0
|
|
4a62: 8082 ret
|
|
|
|
00004a64 <_lseek>:
|
|
4a64: 05800793 li a5,88
|
|
4a68: aaf1a623 sw a5,-1364(gp) # 20000384 <errno>
|
|
4a6c: 557d li a0,-1
|
|
4a6e: 8082 ret
|
|
|
|
00004a70 <_read>:
|
|
4a70: 05800793 li a5,88
|
|
4a74: aaf1a623 sw a5,-1364(gp) # 20000384 <errno>
|
|
4a78: 557d li a0,-1
|
|
4a7a: 8082 ret
|
|
4a7c: 74737953 0x74737953
|
|
4a80: 6d65 lui s10,0x19
|
|
4a82: 3a6b6c43 fmadd.d fs8,fs6,ft6,ft7,unknown
|
|
4a86: 6425 lui s0,0x9
|
|
4a88: 0a0d addi s4,s4,3
|
|
4a8a: 0000 unimp
|
|
4a8c: 70696843 fmadd.s fa6,fs2,ft6,fa4,unknown
|
|
4a90: 4449 li s0,18
|
|
4a92: 253a lhu a4,10(a0)
|
|
4a94: 3830 lbu a2,19(s0)
|
|
4a96: 0d78 addi a4,sp,668
|
|
4a98: 000a c.slli zero,0x2
|
|
4a9a: 0000 unimp
|
|
4a9c: 696c6143 fmadd.s ft2,fs8,fs6,fa3,unknown
|
|
4aa0: 7262 flw ft4,56(sp)
|
|
4aa2: 7461 lui s0,0xffff8
|
|
4aa4: 6974 flw fa3,84(a0)
|
|
4aa6: 565f6e6f jal t3,fb80a <_data_lma+0xf69a2>
|
|
4aaa: 6c61 lui s8,0x18
|
|
4aac: 3a20 lbu s0,19(a2)
|
|
4aae: 2520 lbu s0,10(a0)
|
|
4ab0: 0a64 addi s1,sp,284
|
|
4ab2: 0000 unimp
|
|
4ab4: 7552 flw fa0,52(sp)
|
|
4ab6: 206e lhu a1,6(s0)
|
|
4ab8: 7461 lui s0,0xffff8
|
|
4aba: 4520 lw s0,72(a0)
|
|
4abc: 5458 lw a4,44(s0)
|
|
4abe: 0d49 addi s10,s10,18
|
|
4ac0: 0000 unimp
|
|
4ac2: 0000 unimp
|
|
4ac4: 0000 unimp
|
|
4ac6: 3f80 lbu s0,25(a5)
|
|
4ac8: 0000 unimp
|
|
4aca: 4348 lw a0,4(a4)
|
|
4acc: f000 fsw fs0,32(s0)
|
|
4ace: 457f 0x457f
|
|
4ad0: 6666 flw fa2,88(sp)
|
|
4ad2: 6666 flw fa2,88(sp)
|
|
4ad4: 6666 flw fa2,88(sp)
|
|
4ad6: 400a 0x400a
|
|
4ad8: 0000 unimp
|
|
4ada: 0000 unimp
|
|
4adc: 0000 unimp
|
|
4ade: 4010 lw a2,0(s0)
|
|
4ae0: 0000 unimp
|
|
4ae2: 0000 unimp
|
|
4ae4: 0000 unimp
|
|
4ae6: 4026 0x4026
|
|
4ae8: 4000 lw s0,0(s0)
|
|
4aea: 461c lw a5,8(a2)
|
|
4aec: 0000 unimp
|
|
4aee: 42c8 lw a0,4(a3)
|
|
4af0: 5620 lw s0,104(a2)
|
|
4af2: 3d20 lbu s0,27(a0)
|
|
4af4: 2520 lbu s0,10(a0)
|
|
4af6: 2f64 lbu s1,30(a4)
|
|
4af8: 3031 jal 4304 <_vfiprintf_r+0xea>
|
|
4afa: 2c30 lbu a2,26(s0)
|
|
4afc: 4920 lw s0,80(a0)
|
|
4afe: 3d20 lbu s0,27(a0)
|
|
4b00: 2520 lbu s0,10(a0)
|
|
4b02: 2f64 lbu s1,30(a4)
|
|
4b04: 3031 jal 4310 <_vfiprintf_r+0xf6>
|
|
4b06: 3030 lbu a2,3(s0)
|
|
4b08: 2c30 lbu a2,26(s0)
|
|
4b0a: 4f20 lw s0,88(a4)
|
|
4b0c: 7475 lui s0,0xffffd
|
|
4b0e: 7570 flw fa2,108(a0)
|
|
4b10: 5074 lw a3,100(s0)
|
|
4b12: 7265776f jal a4,5c238 <_data_lma+0x573d0>
|
|
4b16: 3d20 lbu s0,27(a0)
|
|
4b18: 2520 lbu s0,10(a0)
|
|
4b1a: 2f64 lbu s1,30(a4)
|
|
4b1c: 3031 jal 4328 <_vfiprintf_r+0x10e>
|
|
4b1e: 3030 lbu a2,3(s0)
|
|
4b20: 2030 lbu a2,2(s0)
|
|
4b22: 0a0d addi s4,s4,3
|
|
4b24: 0000 unimp
|
|
4b26: 0000 unimp
|
|
4b28: 0000 unimp
|
|
4b2a: 447a lw s0,156(sp)
|
|
4b2c: d70a sw sp,172(sp)
|
|
4b2e: 64203ba3 0x64203ba3
|
|
4b32: 7475 lui s0,0xffffd
|
|
4b34: 5f79 li t5,-2
|
|
4b36: 6172 flw ft2,28(sp)
|
|
4b38: 6974 flw fa3,84(a0)
|
|
4b3a: 203d206f j d753c <_data_lma+0xd26d4>
|
|
4b3e: 6425 lui s0,0x9
|
|
4b40: 3030312f 0x3030312f
|
|
4b44: 2030 lbu a2,2(s0)
|
|
4b46: 0a0d addi s4,s4,3
|
|
4b48: 0000 unimp
|
|
4b4a: 0000 unimp
|
|
4b4c: 6e20 flw fs0,88(a2)
|
|
4b4e: 4f5f776f jal a4,fc842 <_data_lma+0xf79da>
|
|
4b52: 7475 lui s0,0xffffd
|
|
4b54: 7570 flw fa2,108(a0)
|
|
4b56: 5074 lw a3,100(s0)
|
|
4b58: 7265776f jal a4,5c27e <_data_lma+0x57416>
|
|
4b5c: 3e20 lbu s0,27(a2)
|
|
4b5e: 6c20 flw fs0,88(s0)
|
|
4b60: 7361 lui t1,0xffff8
|
|
4b62: 5f74 lw a3,124(a4)
|
|
4b64: 7074754f fnmadd.s fa0,fs0,ft7,fa4
|
|
4b68: 7475 lui s0,0xffffd
|
|
4b6a: 6f50 flw fa2,28(a4)
|
|
4b6c: 31726577 0x31726577
|
|
4b70: 0d20 addi s0,sp,664
|
|
4b72: 0000 unimp
|
|
4b74: 6e20 flw fs0,88(a2)
|
|
4b76: 4f5f776f jal a4,fc86a <_data_lma+0xf7a02>
|
|
4b7a: 7475 lui s0,0xffffd
|
|
4b7c: 7570 flw fa2,108(a0)
|
|
4b7e: 5074 lw a3,100(s0)
|
|
4b80: 7265776f jal a4,5c2a6 <_data_lma+0x5743e>
|
|
4b84: 3e20 lbu s0,27(a2)
|
|
4b86: 6c20 flw fs0,88(s0)
|
|
4b88: 7361 lui t1,0xffff8
|
|
4b8a: 5f74 lw a3,124(a4)
|
|
4b8c: 7074754f fnmadd.s fa0,fs0,ft7,fa4
|
|
4b90: 7475 lui s0,0xffffd
|
|
4b92: 6f50 flw fa2,28(a4)
|
|
4b94: 32726577 0x32726577
|
|
4b98: 0d20 addi s0,sp,664
|
|
4b9a: 0000 unimp
|
|
4b9c: cccd beqz s1,4c56 <_read+0x1e6>
|
|
4b9e: 3f2c lbu a1,27(a4)
|
|
4ba0: 999a add s3,s3,t1
|
|
4ba2: 9999 andi a1,a1,-26
|
|
4ba4: 9999 andi a1,a1,-26
|
|
4ba6: 3fa9 jal 4b00 <_read+0x90>
|
|
4ba8: 6e69 lui t3,0x1a
|
|
4baa: 6320 flw fs0,64(a4)
|
|
4bac: 7061 c.lui zero,0xffff8
|
|
4bae: 72616863 bltu sp,t1,52de <_data_lma+0x476>
|
|
4bb2: 00002067 0x2067
|
|
4bb6: 0000 unimp
|
|
4bb8: 7564 flw fs1,108(a0)
|
|
4bba: 7974 flw fa3,116(a0)
|
|
4bbc: 725f 7461 6f69 0x6f697461725f
|
|
4bc2: 3a20 lbu s0,19(a2)
|
|
4bc4: 2520 lbu s0,10(a0)
|
|
4bc6: 2064 lbu s1,6(s0)
|
|
4bc8: 000a c.slli zero,0x2
|
|
4bca: 0000 unimp
|
|
4bcc: d844 sw s1,52(s0)
|
|
4bce: ffff 0xffff
|
|
4bd0: d736 sw a3,172(sp)
|
|
4bd2: ffff 0xffff
|
|
4bd4: d736 sw a3,172(sp)
|
|
4bd6: ffff 0xffff
|
|
4bd8: d734 sw a3,104(a4)
|
|
4bda: ffff 0xffff
|
|
4bdc: d73c sw a5,104(a4)
|
|
4bde: ffff 0xffff
|
|
4be0: d73c sw a5,104(a4)
|
|
4be2: ffff 0xffff
|
|
4be4: d702 sw zero,172(sp)
|
|
4be6: ffff 0xffff
|
|
4be8: d734 sw a3,104(a4)
|
|
4bea: ffff 0xffff
|
|
4bec: d73c sw a5,104(a4)
|
|
4bee: ffff 0xffff
|
|
4bf0: d702 sw zero,172(sp)
|
|
4bf2: ffff 0xffff
|
|
4bf4: d73c sw a5,104(a4)
|
|
4bf6: ffff 0xffff
|
|
4bf8: d734 sw a3,104(a4)
|
|
4bfa: ffff 0xffff
|
|
4bfc: d830 sw a2,112(s0)
|
|
4bfe: ffff 0xffff
|
|
4c00: d830 sw a2,112(s0)
|
|
4c02: ffff 0xffff
|
|
4c04: d830 sw a2,112(s0)
|
|
4c06: ffff 0xffff
|
|
4c08: d702 sw zero,172(sp)
|
|
4c0a: ffff 0xffff
|
|
4c0c: dfd0 sw a2,60(a5)
|
|
4c0e: ffff 0xffff
|
|
4c10: def6 sw t4,124(sp)
|
|
4c12: ffff 0xffff
|
|
4c14: dfca sw s2,252(sp)
|
|
4c16: ffff 0xffff
|
|
4c18: defe sw t6,124(sp)
|
|
4c1a: ffff 0xffff
|
|
4c1c: dfca sw s2,252(sp)
|
|
4c1e: ffff 0xffff
|
|
4c20: dec4 sw s1,60(a3)
|
|
4c22: ffff 0xffff
|
|
4c24: dfca sw s2,252(sp)
|
|
4c26: ffff 0xffff
|
|
4c28: defe sw t6,124(sp)
|
|
4c2a: ffff 0xffff
|
|
4c2c: def6 sw t4,124(sp)
|
|
4c2e: ffff 0xffff
|
|
4c30: def6 sw t4,124(sp)
|
|
4c32: ffff 0xffff
|
|
4c34: dec4 sw s1,60(a3)
|
|
4c36: ffff 0xffff
|
|
4c38: defe sw t6,124(sp)
|
|
4c3a: ffff 0xffff
|
|
4c3c: df04 sw s1,56(a4)
|
|
4c3e: ffff 0xffff
|
|
4c40: df04 sw s1,56(a4)
|
|
4c42: ffff 0xffff
|
|
4c44: df04 sw s1,56(a4)
|
|
4c46: ffff 0xffff
|
|
4c48: dec4 sw s1,60(a3)
|
|
4c4a: ffff 0xffff
|
|
4c4c: deb6 sw a3,124(sp)
|
|
4c4e: ffff 0xffff
|
|
4c50: deb6 sw a3,124(sp)
|
|
4c52: ffff 0xffff
|
|
4c54: df8a sw sp,252(sp)
|
|
4c56: ffff 0xffff
|
|
4c58: e066 fsw fs9,0(sp)
|
|
4c5a: ffff 0xffff
|
|
4c5c: df8a sw sp,252(sp)
|
|
4c5e: ffff 0xffff
|
|
4c60: de84 sw s1,56(a3)
|
|
4c62: ffff 0xffff
|
|
4c64: df8a sw sp,252(sp)
|
|
4c66: ffff 0xffff
|
|
4c68: e066 fsw fs9,0(sp)
|
|
4c6a: ffff 0xffff
|
|
4c6c: deb6 sw a3,124(sp)
|
|
4c6e: ffff 0xffff
|
|
4c70: deb6 sw a3,124(sp)
|
|
4c72: ffff 0xffff
|
|
4c74: de84 sw s1,56(a3)
|
|
4c76: ffff 0xffff
|
|
4c78: e066 fsw fs9,0(sp)
|
|
4c7a: ffff 0xffff
|
|
4c7c: dec4 sw s1,60(a3)
|
|
4c7e: ffff 0xffff
|
|
4c80: dec4 sw s1,60(a3)
|
|
4c82: ffff 0xffff
|
|
4c84: dec4 sw s1,60(a3)
|
|
4c86: ffff 0xffff
|
|
4c88: de84 sw s1,56(a3)
|
|
4c8a: ffff 0xffff
|
|
4c8c: e2de fsw fs7,68(sp)
|
|
4c8e: ffff 0xffff
|
|
4c90: e22c fsw fa1,64(a2)
|
|
4c92: ffff 0xffff
|
|
4c94: e22c fsw fa1,64(a2)
|
|
4c96: ffff 0xffff
|
|
4c98: e22a fsw fa0,4(sp)
|
|
4c9a: ffff 0xffff
|
|
4c9c: e230 fsw fa2,64(a2)
|
|
4c9e: ffff 0xffff
|
|
4ca0: e230 fsw fa2,64(a2)
|
|
4ca2: ffff 0xffff
|
|
4ca4: e200 fsw fs0,0(a2)
|
|
4ca6: ffff 0xffff
|
|
4ca8: e22a fsw fa0,4(sp)
|
|
4caa: ffff 0xffff
|
|
4cac: e230 fsw fa2,64(a2)
|
|
4cae: ffff 0xffff
|
|
4cb0: e200 fsw fs0,0(a2)
|
|
4cb2: ffff 0xffff
|
|
4cb4: e230 fsw fa2,64(a2)
|
|
4cb6: ffff 0xffff
|
|
4cb8: e22a fsw fa0,4(sp)
|
|
4cba: ffff 0xffff
|
|
4cbc: e2cc fsw fa1,4(a3)
|
|
4cbe: ffff 0xffff
|
|
4cc0: e2cc fsw fa1,4(a3)
|
|
4cc2: ffff 0xffff
|
|
4cc4: e2cc fsw fa1,4(a3)
|
|
4cc6: ffff 0xffff
|
|
4cc8: e200 fsw fs0,0(a2)
|
|
4cca: ffff 0xffff
|
|
|
|
00004ccc <__clz_tab>:
|
|
4ccc: 0100 0202 0303 0303 0404 0404 0404 0404 ................
|
|
4cdc: 0505 0505 0505 0505 0505 0505 0505 0505 ................
|
|
4cec: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
4cfc: 0606 0606 0606 0606 0606 0606 0606 0606 ................
|
|
4d0c: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
4d1c: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
4d2c: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
4d3c: 0707 0707 0707 0707 0707 0707 0707 0707 ................
|
|
4d4c: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
4d5c: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
4d6c: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
4d7c: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
4d8c: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
4d9c: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
4dac: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
4dbc: 0808 0808 0808 0808 0808 0808 0808 0808 ................
|
|
|
|
00004dcc <__sf_fake_stderr>:
|
|
...
|
|
|
|
00004dec <__sf_fake_stdin>:
|
|
...
|
|
|
|
00004e0c <__sf_fake_stdout>:
|
|
...
|
|
4e2c: 2d23 2b30 0020 0000 6c68 004c 6665 4567 #-0+ ...hlL.efgE
|
|
4e3c: 4746 0000 3130 3332 3534 3736 3938 4241 FG..0123456789AB
|
|
4e4c: 4443 4645 0000 0000 3130 3332 3534 3736 CDEF....01234567
|
|
4e5c: 3938 6261 6463 6665 0000 0000 89abcdef....
|