📄 start.lst
字号:
TASKING C166/ST10 assembler v8.0r1 Build 256 SN 00096962 Date: Apr 23 2004 Time: 16:27:03 Page: 1
start
LOC CODE LINE SOURCELINE
1 #line 1 "start.asm"
1 ;;
2 ;; C166/ST10 startup code generated by EDE for project pg320240
3 ;;
4 ;; If modifications are needed, disable generation of the startup code in EDE:
5 ;; In the EDE Project Options dialog select Application, and then Startup. Make
6 ;; sure the checkbox 'Generate system startup code and add it to project' is not
7 ;; checked. Note that changes in EDE will now no longer be reflected in the
8 ;; startup code. Also be aware that the modifications will be overwritten when
9 ;; the checkbox is enabled again.
10 ;;
11
12 $EXTEND
13 $CASE
14 $GENONLY
15 $DEBUG
16 $NOLOCALS
17 $CHECKCPU16
18 $CHECKBUS18
19 $NOMOD166 ; disable the internal set of SFRs
20 $STDNAMES(reg276.def) ; define SFRs
21
22 $INCLUDE(head.asm) ; Generic definitions (see product include dir)
23 #line 1 "c:\program files\tasking\c166 v8.0\include\head.asm"
1 ;@" @(#)head.asm 1.43 02/10/15
2 ;*****************************************************************************
3 ;*
4 ;* MODULE : head.asm
5 ;*
6 ;* APPLICATION : Run time library / Floating point library 80166
7 ;*
8 ;* DESCRIPTION : This floating point header file is included at the begin
9 ;* of each floating point source module. And it contains
10 ;* several settings and declarations, which are:
11 ;* - Memory mode selection, to translate the floating
12 ;* point library for segmented or non-segmented memory mode.
13 ;* - Floating point error trap selection, to translate
14 ;* floating point library as fast or as accurate.
15 ;* - Declaration of floating point accumulators is done by the
16 ;* linker/locator.
17 ;* - Floating point register bank definition.
18 ;* - Declaration of floating constants.
19 ;*
20 ;* ANNALIST : Guus Jansman
21 ;*
22 ;* Copyright 1992-2003 Altium BV
23 ;*
24 ;*****************************************************************************
25
26 #line 31 "c:\program files\tasking\c166 v8.0\include\head.asm"
31
32 ; _EXT = 0, extended instruction set disabled
33 ; _EXT = 1, extended instruction set support enabled
34 #line 36 "c:\program files\tasking\c166 v8.0\include\head.asm"
36
TASKING C166/ST10 assembler v8.0r1 Build 256 SN 00096962 Date: Apr 23 2004 Time: 16:27:03 Page: 2
start
LOC CODE LINE SOURCELINE
37
38 ; _EXTMAC = 0, MAC instruction support disabled
39 ; _EXTMAC = 1, MAC instruction support enabled
40 #line 42 "c:\program files\tasking\c166 v8.0\include\head.asm"
42
43
44 ; _EXT2 = 0, C166Sv2.0/Super10 support disabled
45 ; _EXT2 != 1, C166Sv2.0/Super10 support enabled, this implies _EXT
46 #line 48 "c:\program files\tasking\c166 v8.0\include\head.asm"
48
49
50 ; _EXTMAC = 0, MAC support disabled
51 ; _EXTMAC != 0, MAC support enabled, this implies _EXT
52
53
54
55
56 ; _USRSTACK = 0, user stack model disabled
57 ; _USRSTACK = 1, user stack model enabled
58 #line 60 "c:\program files\tasking\c166 v8.0\include\head.asm"
60
61
62 ; Set default memory model
63 #line 65 "c:\program files\tasking\c166 v8.0\include\head.asm"
65
66
67 ; _SINGLE_FP = 0, doubles are double precision
68 ; _SINGLE_FP = 1, doubles are single precision (non-ANSI)
69 #line 71 "c:\program files\tasking\c166 v8.0\include\head.asm"
71
72
73 ; FPCHKSPC = 0, invalid floating point results are undefined (non-ANSI)
74 ; FPCHKSPC = 1, invalid floating point results give proper values
75
76
77
78
79 ; FP_TRAP = 0, floating point error trap handling disabled
80 ; FP_TRAP = 1, floating point error trap handling enabled (only if FPCHKSPC)
81
82
83
84
85 ; FCMPTRAP = 0, floating point comparison will never cause a trap
86 ; FCMPTRAP = 1, floating point comparison can cause trap (only if FP_TRAP)
87
88
89
90
91 ; FPEXC_OP = 0, don't return floating point exception operation type
92 ; FPEXC_OP = 1, return floating point exception operation type (only if FP_TRAP)
93
94
95
96
TASKING C166/ST10 assembler v8.0r1 Build 256 SN 00096962 Date: Apr 23 2004 Time: 16:27:03 Page: 3
start
LOC CODE LINE SOURCELINE
97 ; _P166 = 0, don't protect multiplication/division (can be overruled by e.g. FIXMUL28)
98 ; _P166 = 1, protect multiplication/division
99
100
101
102
103 ; FIXMUL28 = 0, don't protect multiplication (can be overruled by e.g. _P166)
104 ; FIXMUL28 = 1, protect multiplication
105
106
107
108
109 ; FIXDIV18 = 0, don't protect division (can be overruled by e.g. _P166)
110 ; FIXDIV18 = 1, protect division
111
112
113
114
115 ; FIXCPU21 = 0, don't fix BFLDH/BFLDL problem CPU.21
116 ; FIXCPU21 = 1, fix BFLDH/BFLDL problem CPU.21
117
118
119
120
121 ; FIX_BFWD = 0, no fix for 166 problem S1
122 ; FIX_BFWD = 1, fix 166 problem S1
123
124
125
126
127 ; FIX_CPU1R006 = 0, no fix for 163 problem 01.006
128 ; FIX_CPU1R006 = 1, fix problem 01.006
129
130
131
132
133 ; FIX_STBUS1 = 0, no fix for ST problem ST_BUS1
134 ; FIX_STBUS1 = 1, fix problem ST_BUS1
135
136
137
138
139 ; FIX_EXTSEQ = 0, no fix for problem CR107092
140 ; FIX_EXTSEQ = 1, fix problem CR107092
141
142
143
144
145 ; FIX_LONDON1 = 0, don't fix London1&London1751
146 ; FIX_LONDON1 = 1, fix London1&London1751 (overrules _P166/FIXDIV18)
147
148
149
150
151 ; FPEXCEPT = OLD, old floating point exception method
TASKING C166/ST10 assembler v8.0r1 Build 256 SN 00096962 Date: Apr 23 2004 Time: 16:27:03 Page: 4
start
LOC CODE LINE SOURCELINE
152 ; FPEXCEPT = IEEE, IEEE floating point exception method
153
154
155
156
157 ; FIX_JMPRACACHE = 0, no fix for Egold problem CR108400:
158 ; Program flow after not taken JMPR/JMPA can be broken
159 ; FIX_JMPRACACHE = 1, fix problem CR108400
160
161
162
163
164 ; FIX_EXT1DIV = 0, no fix for Egold problem CR105893:
165 ; Interrupted division corrupted by division in ISR
166 ; FIX_EXT1DIV = 1, fix problem CR 105893
167
168
169
170
171 ; FIX_EXT1MDL = 0, no fix for Egold proble CR108309:
172 ; MDL access immediately after a DIV causes wrong PSW values
173 ; FIX_EXT1MDL = 1, fix problem CR 108309
174
175
176
177
178 ; FIX_EXT1MDLMULDIV = 0, no fix for Egold proble CR108904:
179 ; DIV/MUL interrupted by PEC causes invalid read/write
180 ; FIX_EXT1MDLMULDIV = 1, fix problem CR 108904
181
182
183
184
185
186 #line 191 "c:\program files\tasking\c166 v8.0\include\head.asm"
191
192 $EXTEND ; enable all architecture extensions
193
194
195 $EXTMAC ; enable MAC architecture extensions
196
197 #line 199 "c:\program files\tasking\c166 v8.0\include\head.asm"
199
200 #line 203 "c:\program files\tasking\c166 v8.0\include\head.asm"
203
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -