📄 crtend.lis
字号:
GAS LISTING C:\DOCUME~1\REF\LOCALS~1\Temp\cc001896.s page 1
1 # 1 "../startup/crtend.spp"
2
1 /*
2 * crtend.spp
3 *
4 * ST9+ Software Development Toolchain - Version 6.0.0 Apr 5 2000
5 *
6 * This file is part of GNU C Compiler for ST9+ Micro-controllers.
7 *
8 * This file described termination part for an application.
9 * All instructions go to the '.fini' ELF standard sections.
10 * It is the last object file on linker command line.
11 *
12 * *** IMPORTANT NOTE ***
13 * This file is intentionnaly empty due to a future use
14 * of '.fini' ELF standard section.
15 * However, it is part of the distribution yet.
16 */
17
18 #include "config.spp"
1 /*
2 * config.spp
3 *
4 * ST9+ Software Development Toolchain - Version 6.0.0 Apr 5 2000
5 *
6 * This file is part of GNU C Compiler for ST9+ Micro-controllers.
7 *
8 * This file defines useful macros to dump according without
9 * regarding the programming model.
10 *
11 * General macros value are under the control of command
12 * line options of gcc9.
13 */
14
15 #ifndef _CONFIG_SPP
16 #define _CONFIG_SPP
17
18 /* Definition of the ST9+ _call/_ret instructions */
19 #if defined(MEDIUM) || defined(SPECMED)
20 #define DESC(SYMBOL) .desc SYMBOL, far
21 #define _call calls
22 #define _ret rets
23 #else /* MEDIUM */
24 #define DESC(SYMBOL) .desc SYMBOL, near
25 #define _call call
26 #define _ret ret
27 #endif /* MEDIUM */
28
29 /* Definition of the ST9+ _pushw/_push/_popw/_pop instructions */
30 #if defined(PARMUSP)
31 #define _pushw pushuw
32 #define _push pushu
33 #define _popw popuw
34 #define _pop popu
35 #define SP RR236
36 #else /* PARMUSP */
37 #define _pushw pushw
GAS LISTING C:\DOCUME~1\REF\LOCALS~1\Temp\cc001896.s page 2
38 #define _push push
39 #define _popw popw
40 #define _pop pop
41 #define SP RR238
42 #endif /* PARMUSP */
43
44 /* Enable code optimization of libgcc1 by default */
45 #define CODE_OPTIMIZATION
46
47 /* Use local label (beginning with .L) instead of symbols
48 that go to the sym table, when compiling under the NDEBUG
49 macro control. */
50 /* Uncomment the following macro if you does not want
51 temporary symbols */
52 /* #define NDEBUG */
53 #ifdef NDEBUG
54 #define LABEL(SYMBOL) .L_ ## SYMBOL
55 #else /* NDEBUG */
56 #define LABEL(SYMBOL) __ ## SYMBOL
57 #endif /* NDEBUG */
58
59 /* Define the programming used according to programming macros
60 definition. */
61 #if defined(MEDIUM)
62 #define MEMORY_MODEL medium
63 #elif defined (SPECMED)
64 #define MEMORY_MODEL specmed
65 #else /* MEDIUM */
66 #define MEMORY_MODEL compact
67 #endif /* MEDIUM */
68
69
70 #if defined(PARMUSP)
71 #define PARMS_MODEL parmusp
72 #else /* PARMUSP */
73 #define PARMS_MODEL no-parmusp
74 #endif /* PARMUSP */
75
76 #if defined(FP_ON)
77 #define FP_MODEL fp-on
78 #else /* FP_ON */
79 #define FP_MODEL no-fp-on
80 #endif /* FP_ON */
81
82 #define PROGRAMMING_MODEL .assume MEMORY_MODEL, PARMS_MODEL, FP_MODEL
83
84 #endif /* _CONFIG_SPP */
85 ...
19
20 PROGRAMMING_MODEL
21
22 .section .fini
23
24 .end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -