📄 71x_lib.lst
字号:
##############################################################################
# #
# IAR ARM ANSI C/C++ Compiler V4.30A/W32 08/Nov/2005 12:06:34 #
# Copyright 1999-2005 IAR Systems. All rights reserved. #
# #
# Cpu mode = interwork #
# Endian = little #
# Stack alignment = 4 #
# Source file = D:\Book-IAR\examples_ST\STR71x_ADC\source\71x_lib.c #
# Command line = D:\Book-IAR\examples_ST\STR71x_ADC\source\71x_lib.c #
# -lC D:\Book-IAR\examples_ST\STR71x_ADC\Debug\List\ #
# -o D:\Book-IAR\examples_ST\STR71x_ADC\Debug\Obj\ #
# -s2 --no_cse --no_unroll --no_inline #
# --no_code_motion --no_tbaa --no_clustering #
# --no_scheduling --debug --cpu_mode arm --endian #
# little --cpu ARM7TDMI --stack_align 4 --interwork #
# -e --fpu None --dlib_config "d:\IAR #
# Systems\Embedded Workbench #
# 4.0\arm\LIB\dl4tpainl8n.h" -I #
# D:\Book-IAR\examples_ST\STR71x_ADC\ -I #
# D:\Book-IAR\examples_ST\STR71x_ADC\include\ -I #
# D:\Book-IAR\examples_ST\STR71x_ADC\source\ -I #
# "d:\IAR Systems\Embedded Workbench 4.0\arm\INC\" #
# List file = D:\Book-IAR\examples_ST\STR71x_ADC\Debug\List\71x_li #
# b.lst #
# Object file = D:\Book-IAR\examples_ST\STR71x_ADC\Debug\Obj\71x_lib #
# .r79 #
# #
# #
##############################################################################
D:\Book-IAR\examples_ST\STR71x_ADC\source\71x_lib.c
1 #define EXT
2 #include "71x_map.h"
\ In segment DATA_Z, align 4, align-sorted
\ struct <unnamed> volatile *__data ADC12
\ ADC12:
\ 00000000 DS8 4
\ In segment DATA_Z, align 4, align-sorted
\ struct <unnamed> volatile *__data GPIO0
\ GPIO0:
\ 00000000 DS8 4
\ In segment DATA_Z, align 4, align-sorted
\ struct <unnamed> volatile *__data GPIO1
\ GPIO1:
\ 00000000 DS8 4
\ In segment DATA_Z, align 4, align-sorted
\ struct <unnamed> volatile *__data PCU
\ PCU:
\ 00000000 DS8 4
\ In segment DATA_Z, align 4, align-sorted
\ struct <unnamed> volatile *__data RCCU
\ RCCU:
\ 00000000 DS8 4
3 #ifdef DEBUG
4
5 extern u32 T0TIMI_Addr;
6
7 /*******************************************************************************
8 * 说明:debug函数,初始化外设指针
9 * 参数:无
10 * 返回值:无
11 *******************************************************************************/
\ In segment CODE, align 4, keep-with-next
12 void debug(void) {
13 #ifdef _ADC12
14 ADC12 = (ADC12_TypeDef *)ADC12_BASE;
\ debug:
\ 00000000 48009FE5 LDR R0,??debug_0 ;; ADC12
\ 00000004 E014A0E3 MOV R1,#-536870912
\ 00000008 701C81E3 ORR R1,R1,#+0x7000
\ 0000000C 001080E5 STR R1,[R0, #+0]
15 #endif
16
17 #ifdef _FLASH
18 FLASHR = (FLASHR_TypeDef *)FLASHR_BASE;
19 FLASHPR = (FLASHPR_TypeDef *)FLASHPR_BASE;
20 #endif
21
22 #ifdef _GPIO
23 #ifdef _GPIO0
24 GPIO0 = (GPIO_TypeDef *)GPIO0_BASE;
\ 00000010 3C009FE5 LDR R0,??debug_0+0x4 ;; GPIO0
\ 00000014 E014A0E3 MOV R1,#-536870912
\ 00000018 C01D81E3 ORR R1,R1,#+0x3000
\ 0000001C 001080E5 STR R1,[R0, #+0]
25 #endif
26 #ifdef _GPIO1
27 GPIO1 = (GPIO_TypeDef *)GPIO1_BASE;
\ 00000020 30009FE5 LDR R0,??debug_0+0x8 ;; GPIO1
\ 00000024 E014A0E3 MOV R1,#-536870912
\ 00000028 401C81E3 ORR R1,R1,#+0x4000
\ 0000002C 001080E5 STR R1,[R0, #+0]
28 #endif
29 #ifdef _GPIO2
30 GPIO2 = (GPIO_TypeDef *)GPIO2_BASE;
31 #endif
32 #endif
33
34 #ifdef _PCU
35 PCU = (PCU_TypeDef *)PCU_BASE;
\ 00000030 24009FE5 LDR R0,??debug_0+0xC ;; PCU
\ 00000034 4010A0E3 MOV R1,#+0x40
\ 00000038 A01481E3 ORR R1,R1,#-1610612736
\ 0000003C 001080E5 STR R1,[R0, #+0]
36 #endif
37
38 #ifdef _RCCU
39 RCCU = (RCCU_TypeDef *)RCCU_BASE;
\ 00000040 18009FE5 LDR R0,??debug_0+0x10 ;; RCCU
\ 00000044 A014A0E3 MOV R1,#-1610612736
\ 00000048 001080E5 STR R1,[R0, #+0]
40 #endif
41 }
\ 0000004C 1EFF2FE1 BX LR ;; return
\ ??debug_0:
\ 00000050 ........ DC32 ADC12
\ 00000054 ........ DC32 GPIO0
\ 00000058 ........ DC32 GPIO1
\ 0000005C ........ DC32 PCU
\ 00000060 ........ DC32 RCCU
42
43 #endif
44
Maximum stack usage in bytes:
Function CSTACK
-------- ------
debug 0
Segment part sizes:
Function/Label Bytes
-------------- -----
ADC12 4
GPIO0 4
GPIO1 4
PCU 4
RCCU 4
debug 100
Others 16
104 bytes in segment CODE
20 bytes in segment DATA_Z
12 bytes in segment INITTAB
100 bytes of CODE memory (+ 16 bytes shared)
20 bytes of DATA memory
Errors: none
Warnings: none
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -