615 lines
36 KiB
Plaintext
615 lines
36 KiB
Plaintext
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 1
|
|||
|
|
|||
|
1 ;******************************************************************************
|
|||
|
2 ;* MSP430 G3 C/C++ Codegen PC v20.2.5.LTS *
|
|||
|
3 ;* Date/Time created: Thu Dec 2 20:38:06 2021 *
|
|||
|
4 ;******************************************************************************
|
|||
|
5 .compiler_opts --abi=eabi --diag_wrap=off --hll_source=on --mem_model:code=small --mem_model:d
|
|||
|
6
|
|||
|
7 $C$DW$CU .dwtag DW_TAG_compile_unit
|
|||
|
8 .dwattr $C$DW$CU, DW_AT_name("../main.c")
|
|||
|
9 .dwattr $C$DW$CU, DW_AT_producer("TI MSP430 G3 C/C++ Codegen PC v20.2.5.LTS Copyright (c) 2003
|
|||
|
10 .dwattr $C$DW$CU, DW_AT_TI_version(0x01)
|
|||
|
11 .dwattr $C$DW$CU, DW_AT_comp_dir("C:\CPE325_Workspace\Lab6_Problem2\Debug")
|
|||
|
12 ; Interrupt vector table mappings
|
|||
|
13 000000 .intvec ".int20", Port1_ISR
|
|||
|
000000
|
|||
|
14 $C$DW$1 .dwtag DW_TAG_variable
|
|||
|
15 .dwattr $C$DW$1, DW_AT_name("SCFI0")
|
|||
|
16 .dwattr $C$DW$1, DW_AT_TI_symbol_name("SCFI0")
|
|||
|
17 .dwattr $C$DW$1, DW_AT_type(*$C$DW$T$23)
|
|||
|
18 .dwattr $C$DW$1, DW_AT_declaration
|
|||
|
19 .dwattr $C$DW$1, DW_AT_external
|
|||
|
20 .dwattr $C$DW$1, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h")
|
|||
|
21 .dwattr $C$DW$1, DW_AT_decl_line(0x331)
|
|||
|
22 .dwattr $C$DW$1, DW_AT_decl_column(0x01)
|
|||
|
23
|
|||
|
24 $C$DW$2 .dwtag DW_TAG_variable
|
|||
|
25 .dwattr $C$DW$2, DW_AT_name("SCFQCTL")
|
|||
|
26 .dwattr $C$DW$2, DW_AT_TI_symbol_name("SCFQCTL")
|
|||
|
27 .dwattr $C$DW$2, DW_AT_type(*$C$DW$T$23)
|
|||
|
28 .dwattr $C$DW$2, DW_AT_declaration
|
|||
|
29 .dwattr $C$DW$2, DW_AT_external
|
|||
|
30 .dwattr $C$DW$2, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h")
|
|||
|
31 .dwattr $C$DW$2, DW_AT_decl_line(0x33f)
|
|||
|
32 .dwattr $C$DW$2, DW_AT_decl_column(0x01)
|
|||
|
33
|
|||
|
34 $C$DW$3 .dwtag DW_TAG_variable
|
|||
|
35 .dwattr $C$DW$3, DW_AT_name("FLL_CTL0")
|
|||
|
36 .dwattr $C$DW$3, DW_AT_TI_symbol_name("FLL_CTL0")
|
|||
|
37 .dwattr $C$DW$3, DW_AT_type(*$C$DW$T$23)
|
|||
|
38 .dwattr $C$DW$3, DW_AT_declaration
|
|||
|
39 .dwattr $C$DW$3, DW_AT_external
|
|||
|
40 .dwattr $C$DW$3, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h")
|
|||
|
41 .dwattr $C$DW$3, DW_AT_decl_line(0x34b)
|
|||
|
42 .dwattr $C$DW$3, DW_AT_decl_column(0x01)
|
|||
|
43
|
|||
|
44 $C$DW$4 .dwtag DW_TAG_variable
|
|||
|
45 .dwattr $C$DW$4, DW_AT_name("P1IFG")
|
|||
|
46 .dwattr $C$DW$4, DW_AT_TI_symbol_name("P1IFG")
|
|||
|
47 .dwattr $C$DW$4, DW_AT_type(*$C$DW$T$23)
|
|||
|
48 .dwattr $C$DW$4, DW_AT_declaration
|
|||
|
49 .dwattr $C$DW$4, DW_AT_external
|
|||
|
50 .dwattr $C$DW$4, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h")
|
|||
|
51 .dwattr $C$DW$4, DW_AT_decl_line(0x450)
|
|||
|
52 .dwattr $C$DW$4, DW_AT_decl_column(0x01)
|
|||
|
53
|
|||
|
54 $C$DW$5 .dwtag DW_TAG_variable
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 2
|
|||
|
|
|||
|
55 .dwattr $C$DW$5, DW_AT_name("P1IES")
|
|||
|
56 .dwattr $C$DW$5, DW_AT_TI_symbol_name("P1IES")
|
|||
|
57 .dwattr $C$DW$5, DW_AT_type(*$C$DW$T$23)
|
|||
|
58 .dwattr $C$DW$5, DW_AT_declaration
|
|||
|
59 .dwattr $C$DW$5, DW_AT_external
|
|||
|
60 .dwattr $C$DW$5, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h")
|
|||
|
61 .dwattr $C$DW$5, DW_AT_decl_line(0x451)
|
|||
|
62 .dwattr $C$DW$5, DW_AT_decl_column(0x01)
|
|||
|
63
|
|||
|
64 $C$DW$6 .dwtag DW_TAG_variable
|
|||
|
65 .dwattr $C$DW$6, DW_AT_name("P1IE")
|
|||
|
66 .dwattr $C$DW$6, DW_AT_TI_symbol_name("P1IE")
|
|||
|
67 .dwattr $C$DW$6, DW_AT_type(*$C$DW$T$23)
|
|||
|
68 .dwattr $C$DW$6, DW_AT_declaration
|
|||
|
69 .dwattr $C$DW$6, DW_AT_external
|
|||
|
70 .dwattr $C$DW$6, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h")
|
|||
|
71 .dwattr $C$DW$6, DW_AT_decl_line(0x452)
|
|||
|
72 .dwattr $C$DW$6, DW_AT_decl_column(0x01)
|
|||
|
73
|
|||
|
74 $C$DW$7 .dwtag DW_TAG_variable
|
|||
|
75 .dwattr $C$DW$7, DW_AT_name("P2OUT")
|
|||
|
76 .dwattr $C$DW$7, DW_AT_TI_symbol_name("P2OUT")
|
|||
|
77 .dwattr $C$DW$7, DW_AT_type(*$C$DW$T$23)
|
|||
|
78 .dwattr $C$DW$7, DW_AT_declaration
|
|||
|
79 .dwattr $C$DW$7, DW_AT_external
|
|||
|
80 .dwattr $C$DW$7, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h")
|
|||
|
81 .dwattr $C$DW$7, DW_AT_decl_line(0x456)
|
|||
|
82 .dwattr $C$DW$7, DW_AT_decl_column(0x01)
|
|||
|
83
|
|||
|
84 $C$DW$8 .dwtag DW_TAG_variable
|
|||
|
85 .dwattr $C$DW$8, DW_AT_name("P2DIR")
|
|||
|
86 .dwattr $C$DW$8, DW_AT_TI_symbol_name("P2DIR")
|
|||
|
87 .dwattr $C$DW$8, DW_AT_type(*$C$DW$T$23)
|
|||
|
88 .dwattr $C$DW$8, DW_AT_declaration
|
|||
|
89 .dwattr $C$DW$8, DW_AT_external
|
|||
|
90 .dwattr $C$DW$8, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h")
|
|||
|
91 .dwattr $C$DW$8, DW_AT_decl_line(0x457)
|
|||
|
92 .dwattr $C$DW$8, DW_AT_decl_column(0x01)
|
|||
|
93
|
|||
|
94 $C$DW$9 .dwtag DW_TAG_variable
|
|||
|
95 .dwattr $C$DW$9, DW_AT_name("WDTCTL")
|
|||
|
96 .dwattr $C$DW$9, DW_AT_TI_symbol_name("WDTCTL")
|
|||
|
97 .dwattr $C$DW$9, DW_AT_type(*$C$DW$T$25)
|
|||
|
98 .dwattr $C$DW$9, DW_AT_declaration
|
|||
|
99 .dwattr $C$DW$9, DW_AT_external
|
|||
|
100 .dwattr $C$DW$9, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h")
|
|||
|
101 .dwattr $C$DW$9, DW_AT_decl_line(0x6df)
|
|||
|
102 .dwattr $C$DW$9, DW_AT_decl_column(0x01)
|
|||
|
103
|
|||
|
104 ; C:\ti\ccs1040\ccs\tools\compiler\ti-cgt-msp430_20.2.5.LTS\bin\acpia430.exe -@C:\\Users\\LIBRAR
|
|||
|
105 000000 .sect ".text:main"
|
|||
|
106 .clink
|
|||
|
107 .global main
|
|||
|
108
|
|||
|
109 $C$DW$10 .dwtag DW_TAG_subprogram
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 3
|
|||
|
|
|||
|
110 .dwattr $C$DW$10, DW_AT_name("main")
|
|||
|
111 .dwattr $C$DW$10, DW_AT_low_pc(main)
|
|||
|
112 .dwattr $C$DW$10, DW_AT_high_pc(0x00)
|
|||
|
113 .dwattr $C$DW$10, DW_AT_TI_symbol_name("main")
|
|||
|
114 .dwattr $C$DW$10, DW_AT_external
|
|||
|
115 .dwattr $C$DW$10, DW_AT_type(*$C$DW$T$10)
|
|||
|
116 .dwattr $C$DW$10, DW_AT_TI_begin_file("../main.c")
|
|||
|
117 .dwattr $C$DW$10, DW_AT_TI_begin_line(0x0b)
|
|||
|
118 .dwattr $C$DW$10, DW_AT_TI_begin_column(0x05)
|
|||
|
119 .dwattr $C$DW$10, DW_AT_decl_file("../main.c")
|
|||
|
120 .dwattr $C$DW$10, DW_AT_decl_line(0x0b)
|
|||
|
121 .dwattr $C$DW$10, DW_AT_decl_column(0x05)
|
|||
|
122 .dwattr $C$DW$10, DW_AT_TI_max_frame_size(0x02)
|
|||
|
123 .dwpsn file "../main.c",line 12,column 1,is_stmt,address main,isa 0
|
|||
|
124
|
|||
|
125 .dwfde $C$DW$CIE, main
|
|||
|
126
|
|||
|
127 ;*****************************************************************************
|
|||
|
128 ;* FUNCTION NAME: main *
|
|||
|
129 ;* *
|
|||
|
130 ;* Regs Modified : SP,SR *
|
|||
|
131 ;* Regs Used : SP,SR *
|
|||
|
132 ;* Local Frame Size : 0 Args + 0 Auto + 0 Save = 0 byte *
|
|||
|
133 ;*****************************************************************************
|
|||
|
134 000000 main:
|
|||
|
135 ;* --------------------------------------------------------------------------*
|
|||
|
136 .dwcfi cfa_offset, 2
|
|||
|
137 .dwcfi save_reg_to_mem, 16, -2
|
|||
|
138 .dwpsn file "../main.c",line 13,column 2,is_stmt,isa 0
|
|||
|
139 000000 40B2 MOV.W #23168,&WDTCTL+0 ; [] |13|
|
|||
|
000002 5A80
|
|||
|
000004 0000!
|
|||
|
140 .dwpsn file "../main.c",line 14,column 2,is_stmt,isa 0
|
|||
|
141 000006 D2E2 OR.B #4,&P2DIR+0 ; [] |14|
|
|||
|
000008 0000!
|
|||
|
142 .dwpsn file "../main.c",line 15,column 2,is_stmt,isa 0
|
|||
|
143 00000a 43C2 MOV.B #0,&P2OUT+0 ; [] |15|
|
|||
|
00000c 0000!
|
|||
|
144 .dwpsn file "../main.c",line 16,column 2,is_stmt,isa 0
|
|||
|
145 00000e D232 EINT ; [] |16|
|
|||
|
146 .dwpsn file "../main.c",line 17,column 2,is_stmt,isa 0
|
|||
|
147 000010 D3D2 OR.B #1,&P1IE+0 ; [] |17|
|
|||
|
000012 0000!
|
|||
|
148 .dwpsn file "../main.c",line 18,column 2,is_stmt,isa 0
|
|||
|
149 000014 D3E2 OR.B #2,&P1IE+0 ; [] |18|
|
|||
|
000016 0000!
|
|||
|
150 .dwpsn file "../main.c",line 19,column 2,is_stmt,isa 0
|
|||
|
151 000018 D3D2 OR.B #1,&P1IES+0 ; [] |19|
|
|||
|
00001a 0000!
|
|||
|
152 .dwpsn file "../main.c",line 20,column 2,is_stmt,isa 0
|
|||
|
153 00001c C3D2 BIC.B #1,&P1IFG+0 ; [] |20|
|
|||
|
00001e 0000!
|
|||
|
154 .dwpsn file "../main.c",line 21,column 2,is_stmt,isa 0
|
|||
|
155 000020 D3E2 OR.B #2,&P1IES+0 ; [] |21|
|
|||
|
000022 0000!
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 4
|
|||
|
|
|||
|
156 .dwpsn file "../main.c",line 22,column 2,is_stmt,isa 0
|
|||
|
157 000024 C3E2 BIC.B #2,&P1IFG+0 ; [] |22|
|
|||
|
000026 0000!
|
|||
|
158 .dwpsn file "../main.c",line 23,column 2,is_stmt,isa 0
|
|||
|
159 000028 D0F2 OR.B #176,&FLL_CTL0+0 ; [] |23|
|
|||
|
00002a 00B0
|
|||
|
00002c 0000!
|
|||
|
160 .dwpsn file "../main.c",line 24,column 5,is_stmt,isa 0
|
|||
|
161 00002e D0F2 OR.B #80,&SCFI0+0 ; [] |24|
|
|||
|
000030 0050
|
|||
|
000032 0000!
|
|||
|
162 .dwpsn file "../main.c",line 25,column 5,is_stmt,isa 0
|
|||
|
163 000034 40F2 MOV.B #63,&SCFQCTL+0 ; [] |25|
|
|||
|
000036 003F
|
|||
|
000038 0000!
|
|||
|
164 .dwpsn file "../main.c",line 26,column 8,is_stmt,isa 0
|
|||
|
165 ;* --------------------------------------------------------------------------*
|
|||
|
166 ;* BEGIN LOOP $C$L1
|
|||
|
167 ;*
|
|||
|
168 ;* Loop source line : 26
|
|||
|
169 ;* Loop closing brace source line : 29
|
|||
|
170 ;* Known Minimum Trip Count : 1
|
|||
|
171 ;* Known Maximum Trip Count : 4294967295
|
|||
|
172 ;* Known Max Trip Count Factor : 1
|
|||
|
173 ;* --------------------------------------------------------------------------*
|
|||
|
174 00003a $C$L1:
|
|||
|
175 .dwpsn file "../main.c",line 27,column 6,is_stmt,isa 0
|
|||
|
176 ; Begin 1048576 cycle delay
|
|||
|
177 .newblock
|
|||
|
178 00003a 120D PUSH r13
|
|||
|
179 00003c 120E PUSH r14
|
|||
|
180 00003e 403D MOV.W #16380, r13
|
|||
|
000040 3FFC
|
|||
|
181 000042 403E MOV.W #3, r14
|
|||
|
000044 0003
|
|||
|
182 000046 831D $1: SUB.W #1, r13
|
|||
|
183 000048 730E SUBC.W #0, r14
|
|||
|
184 00004a 23FD JNE $1
|
|||
|
185 00004c 930D TST.W r13
|
|||
|
186 00004e 23FB JNE $1
|
|||
|
187 000050 413E POP r14
|
|||
|
188 000052 413D POP r13
|
|||
|
189 000054 3C00 JMP ($ + 2)
|
|||
|
190 ; End 1048576 cycle delay ; [] |27|
|
|||
|
191 .dwpsn file "../main.c",line 28,column 6,is_stmt,isa 0
|
|||
|
192 000056 E2E2 XOR.B #4,&P2OUT+0 ; [] |28|
|
|||
|
000058 0000!
|
|||
|
193 .dwpsn file "../main.c",line 26,column 8,is_stmt,isa 0
|
|||
|
194 00005a 3FEF JMP $C$L1 ; [] |26|
|
|||
|
195 ; [] |26|
|
|||
|
196 ;* --------------------------------------------------------------------------*
|
|||
|
197 .dwattr $C$DW$10, DW_AT_TI_end_file("../main.c")
|
|||
|
198 .dwattr $C$DW$10, DW_AT_TI_end_line(0x1e)
|
|||
|
199 .dwattr $C$DW$10, DW_AT_TI_end_column(0x01)
|
|||
|
200 .dwendentry
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 5
|
|||
|
|
|||
|
201 .dwendtag $C$DW$10
|
|||
|
202
|
|||
|
203 000000 .sect ".text:Port1_ISR"
|
|||
|
204 .clink
|
|||
|
205 .global Port1_ISR
|
|||
|
206
|
|||
|
207 $C$DW$11 .dwtag DW_TAG_subprogram
|
|||
|
208 .dwattr $C$DW$11, DW_AT_name("Port1_ISR")
|
|||
|
209 .dwattr $C$DW$11, DW_AT_low_pc(Port1_ISR)
|
|||
|
210 .dwattr $C$DW$11, DW_AT_high_pc(0x00)
|
|||
|
211 .dwattr $C$DW$11, DW_AT_TI_symbol_name("Port1_ISR")
|
|||
|
212 .dwattr $C$DW$11, DW_AT_external
|
|||
|
213 .dwattr $C$DW$11, DW_AT_TI_begin_file("../main.c")
|
|||
|
214 .dwattr $C$DW$11, DW_AT_TI_begin_line(0x21)
|
|||
|
215 .dwattr $C$DW$11, DW_AT_TI_begin_column(0x12)
|
|||
|
216 .dwattr $C$DW$11, DW_AT_decl_file("../main.c")
|
|||
|
217 .dwattr $C$DW$11, DW_AT_decl_line(0x21)
|
|||
|
218 .dwattr $C$DW$11, DW_AT_decl_column(0x12)
|
|||
|
219 .dwattr $C$DW$11, DW_AT_TI_interrupt
|
|||
|
220 .dwattr $C$DW$11, DW_AT_TI_max_frame_size(0x02)
|
|||
|
221 .dwpsn file "../main.c",line 33,column 35,is_stmt,address Port1_ISR,isa 0
|
|||
|
222
|
|||
|
223 .dwfde $C$DW$CIE, Port1_ISR
|
|||
|
224
|
|||
|
225 ;*****************************************************************************
|
|||
|
226 ;* FUNCTION NAME: Port1_ISR *
|
|||
|
227 ;* *
|
|||
|
228 ;* Regs Modified : SP,SR *
|
|||
|
229 ;* Regs Used : SP,SR *
|
|||
|
230 ;* Local Frame Size : 0 Args + 0 Auto + 0 Save = 0 byte *
|
|||
|
231 ;*****************************************************************************
|
|||
|
232 000000 Port1_ISR:
|
|||
|
233 ;* --------------------------------------------------------------------------*
|
|||
|
234 .dwcfi cfa_offset, 2
|
|||
|
235 .dwcfi save_reg_to_mem, 16, -2
|
|||
|
236 .dwpsn file "../main.c",line 34,column 5,is_stmt,isa 0
|
|||
|
237 000000 B3D2 BIT.B #1,&P1IFG+0 ; [] |34|
|
|||
|
000002 0000!
|
|||
|
238 000004 2412 JEQ $C$L2 ; [] |34|
|
|||
|
239 ; [] |34|
|
|||
|
240 ;* --------------------------------------------------------------------------*
|
|||
|
241 .dwpsn file "../main.c",line 36,column 11,is_stmt,isa 0
|
|||
|
242 000006 D0F2 OR.B #176,&FLL_CTL0+0 ; [] |36|
|
|||
|
000008 00B0
|
|||
|
00000a 0000!
|
|||
|
243 .dwpsn file "../main.c",line 37,column 11,is_stmt,isa 0
|
|||
|
244 00000c D0F2 OR.B #80,&SCFI0+0 ; [] |37|
|
|||
|
00000e 0050
|
|||
|
000010 0000!
|
|||
|
245 .dwpsn file "../main.c",line 38,column 11,is_stmt,isa 0
|
|||
|
246 000012 40F2 MOV.B #127,&SCFQCTL+0 ; [] |38|
|
|||
|
000014 007F
|
|||
|
000016 0000!
|
|||
|
247 .dwpsn file "../main.c",line 39,column 11,is_stmt,isa 0
|
|||
|
248 000018 D3D2 OR.B #1,&P1IES+0 ; [] |39|
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 6
|
|||
|
|
|||
|
00001a 0000!
|
|||
|
249 .dwpsn file "../main.c",line 40,column 11,is_stmt,isa 0
|
|||
|
250 00001c C3D2 BIC.B #1,&P1IFG+0 ; [] |40|
|
|||
|
00001e 0000!
|
|||
|
251 .dwpsn file "../main.c",line 41,column 11,is_stmt,isa 0
|
|||
|
252 000020 D3E2 OR.B #2,&P1IES+0 ; [] |41|
|
|||
|
000022 0000!
|
|||
|
253 .dwpsn file "../main.c",line 42,column 11,is_stmt,isa 0
|
|||
|
254 000024 C3E2 BIC.B #2,&P1IFG+0 ; [] |42|
|
|||
|
000026 0000!
|
|||
|
255 000028 3C14 JMP $C$L3 ; []
|
|||
|
256 ; []
|
|||
|
257 ;* --------------------------------------------------------------------------*
|
|||
|
258 00002a $C$L2:
|
|||
|
259 .dwpsn file "../main.c",line 44,column 10,is_stmt,isa 0
|
|||
|
260 00002a B3E2 BIT.B #2,&P1IFG+0 ; [] |44|
|
|||
|
00002c 0000!
|
|||
|
261 00002e 2411 JEQ $C$L3 ; [] |44|
|
|||
|
262 ; [] |44|
|
|||
|
263 ;* --------------------------------------------------------------------------*
|
|||
|
264 .dwpsn file "../main.c",line 46,column 11,is_stmt,isa 0
|
|||
|
265 000030 D0F2 OR.B #176,&FLL_CTL0+0 ; [] |46|
|
|||
|
000032 00B0
|
|||
|
000034 0000!
|
|||
|
266 .dwpsn file "../main.c",line 47,column 11,is_stmt,isa 0
|
|||
|
267 000036 D0F2 OR.B #80,&SCFI0+0 ; [] |47|
|
|||
|
000038 0050
|
|||
|
00003a 0000!
|
|||
|
268 .dwpsn file "../main.c",line 48,column 11,is_stmt,isa 0
|
|||
|
269 00003c 40F2 MOV.B #31,&SCFQCTL+0 ; [] |48|
|
|||
|
00003e 001F
|
|||
|
000040 0000!
|
|||
|
270 .dwpsn file "../main.c",line 49,column 11,is_stmt,isa 0
|
|||
|
271 000042 D3D2 OR.B #1,&P1IES+0 ; [] |49|
|
|||
|
000044 0000!
|
|||
|
272 .dwpsn file "../main.c",line 50,column 11,is_stmt,isa 0
|
|||
|
273 000046 C3D2 BIC.B #1,&P1IFG+0 ; [] |50|
|
|||
|
000048 0000!
|
|||
|
274 .dwpsn file "../main.c",line 51,column 11,is_stmt,isa 0
|
|||
|
275 00004a D3E2 OR.B #2,&P1IES+0 ; [] |51|
|
|||
|
00004c 0000!
|
|||
|
276 .dwpsn file "../main.c",line 52,column 11,is_stmt,isa 0
|
|||
|
277 00004e C3E2 BIC.B #2,&P1IFG+0 ; [] |52|
|
|||
|
000050 0000!
|
|||
|
278 .dwpsn file "../main.c",line 54,column 1,is_stmt,isa 0
|
|||
|
279 ;* --------------------------------------------------------------------------*
|
|||
|
280 $C$L3:
|
|||
|
281 $C$DW$12 .dwtag DW_TAG_TI_branch
|
|||
|
282 .dwattr $C$DW$12, DW_AT_low_pc(0x00)
|
|||
|
283 .dwattr $C$DW$12, DW_AT_TI_return
|
|||
|
284
|
|||
|
285 000052 1300 RETI ; []
|
|||
|
286 ; []
|
|||
|
287 .dwattr $C$DW$11, DW_AT_TI_end_file("../main.c")
|
|||
|
288 .dwattr $C$DW$11, DW_AT_TI_end_line(0x36)
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 7
|
|||
|
|
|||
|
289 .dwattr $C$DW$11, DW_AT_TI_end_column(0x01)
|
|||
|
290 .dwendentry
|
|||
|
291 .dwendtag $C$DW$11
|
|||
|
292
|
|||
|
293 ;*****************************************************************************
|
|||
|
294 ;* UNDEFINED EXTERNAL REFERENCES *
|
|||
|
295 ;*****************************************************************************
|
|||
|
296 .global SCFI0
|
|||
|
297 .global SCFQCTL
|
|||
|
298 .global FLL_CTL0
|
|||
|
299 .global P1IFG
|
|||
|
300 .global P1IES
|
|||
|
301 .global P1IE
|
|||
|
302 .global P2OUT
|
|||
|
303 .global P2DIR
|
|||
|
304 .global WDTCTL
|
|||
|
305
|
|||
|
306 ;******************************************************************************
|
|||
|
307 ;* BUILD ATTRIBUTES *
|
|||
|
308 ;******************************************************************************
|
|||
|
309 .battr "TI", Tag_File, 1, Tag_LPM_INFO(1)
|
|||
|
310 .battr "TI", Tag_File, 1, Tag_PORTS_INIT_INFO("012345678901ABCDEFGHIJ0111111111101100000000001
|
|||
|
311 .battr "TI", Tag_File, 1, Tag_LEA_INFO(1)
|
|||
|
312 .battr "TI", Tag_File, 1, Tag_HW_MPY32_INFO(1)
|
|||
|
313 .battr "TI", Tag_File, 1, Tag_HW_MPY_ISR_INFO(1)
|
|||
|
314 .battr "TI", Tag_File, 1, Tag_HW_MPY_INLINE_INFO(1)
|
|||
|
315 .battr "mspabi", Tag_File, 1, Tag_enum_size(3)
|
|||
|
316
|
|||
|
317 ;******************************************************************************
|
|||
|
318 ;* TYPE INFORMATION *
|
|||
|
319 ;******************************************************************************
|
|||
|
320 $C$DW$T$2 .dwtag DW_TAG_unspecified_type
|
|||
|
321 .dwattr $C$DW$T$2, DW_AT_name("void")
|
|||
|
322
|
|||
|
323
|
|||
|
324 $C$DW$T$20 .dwtag DW_TAG_subroutine_type
|
|||
|
325 .dwattr $C$DW$T$20, DW_AT_language(DW_LANG_C)
|
|||
|
326 .dwendtag $C$DW$T$20
|
|||
|
327
|
|||
|
328 $C$DW$T$21 .dwtag DW_TAG_pointer_type
|
|||
|
329 .dwattr $C$DW$T$21, DW_AT_type(*$C$DW$T$20)
|
|||
|
330 .dwattr $C$DW$T$21, DW_AT_address_class(0x10)
|
|||
|
331
|
|||
|
332 $C$DW$T$22 .dwtag DW_TAG_typedef
|
|||
|
333 .dwattr $C$DW$T$22, DW_AT_name("__SFR_FARPTR")
|
|||
|
334 .dwattr $C$DW$T$22, DW_AT_type(*$C$DW$T$21)
|
|||
|
335 .dwattr $C$DW$T$22, DW_AT_language(DW_LANG_C)
|
|||
|
336 .dwattr $C$DW$T$22, DW_AT_decl_file("C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430fg4618.h"
|
|||
|
337 .dwattr $C$DW$T$22, DW_AT_decl_line(0x4d)
|
|||
|
338 .dwattr $C$DW$T$22, DW_AT_decl_column(0x11)
|
|||
|
339
|
|||
|
340 $C$DW$T$4 .dwtag DW_TAG_base_type
|
|||
|
341 .dwattr $C$DW$T$4, DW_AT_encoding(DW_ATE_boolean)
|
|||
|
342 .dwattr $C$DW$T$4, DW_AT_name("bool")
|
|||
|
343 .dwattr $C$DW$T$4, DW_AT_byte_size(0x01)
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 8
|
|||
|
|
|||
|
344
|
|||
|
345 $C$DW$T$5 .dwtag DW_TAG_base_type
|
|||
|
346 .dwattr $C$DW$T$5, DW_AT_encoding(DW_ATE_signed_char)
|
|||
|
347 .dwattr $C$DW$T$5, DW_AT_name("signed char")
|
|||
|
348 .dwattr $C$DW$T$5, DW_AT_byte_size(0x01)
|
|||
|
349
|
|||
|
350 $C$DW$T$6 .dwtag DW_TAG_base_type
|
|||
|
351 .dwattr $C$DW$T$6, DW_AT_encoding(DW_ATE_unsigned_char)
|
|||
|
352 .dwattr $C$DW$T$6, DW_AT_name("unsigned char")
|
|||
|
353 .dwattr $C$DW$T$6, DW_AT_byte_size(0x01)
|
|||
|
354
|
|||
|
355 $C$DW$T$23 .dwtag DW_TAG_volatile_type
|
|||
|
356 .dwattr $C$DW$T$23, DW_AT_type(*$C$DW$T$6)
|
|||
|
357
|
|||
|
358 $C$DW$T$7 .dwtag DW_TAG_base_type
|
|||
|
359 .dwattr $C$DW$T$7, DW_AT_encoding(DW_ATE_signed_char)
|
|||
|
360 .dwattr $C$DW$T$7, DW_AT_name("wchar_t")
|
|||
|
361 .dwattr $C$DW$T$7, DW_AT_byte_size(0x02)
|
|||
|
362
|
|||
|
363 $C$DW$T$8 .dwtag DW_TAG_base_type
|
|||
|
364 .dwattr $C$DW$T$8, DW_AT_encoding(DW_ATE_signed)
|
|||
|
365 .dwattr $C$DW$T$8, DW_AT_name("short")
|
|||
|
366 .dwattr $C$DW$T$8, DW_AT_byte_size(0x02)
|
|||
|
367
|
|||
|
368 $C$DW$T$9 .dwtag DW_TAG_base_type
|
|||
|
369 .dwattr $C$DW$T$9, DW_AT_encoding(DW_ATE_unsigned)
|
|||
|
370 .dwattr $C$DW$T$9, DW_AT_name("unsigned short")
|
|||
|
371 .dwattr $C$DW$T$9, DW_AT_byte_size(0x02)
|
|||
|
372
|
|||
|
373 $C$DW$T$10 .dwtag DW_TAG_base_type
|
|||
|
374 .dwattr $C$DW$T$10, DW_AT_encoding(DW_ATE_signed)
|
|||
|
375 .dwattr $C$DW$T$10, DW_AT_name("int")
|
|||
|
376 .dwattr $C$DW$T$10, DW_AT_byte_size(0x02)
|
|||
|
377
|
|||
|
378 $C$DW$T$11 .dwtag DW_TAG_base_type
|
|||
|
379 .dwattr $C$DW$T$11, DW_AT_encoding(DW_ATE_unsigned)
|
|||
|
380 .dwattr $C$DW$T$11, DW_AT_name("unsigned int")
|
|||
|
381 .dwattr $C$DW$T$11, DW_AT_byte_size(0x02)
|
|||
|
382
|
|||
|
383 $C$DW$T$25 .dwtag DW_TAG_volatile_type
|
|||
|
384 .dwattr $C$DW$T$25, DW_AT_type(*$C$DW$T$11)
|
|||
|
385
|
|||
|
386 $C$DW$T$12 .dwtag DW_TAG_base_type
|
|||
|
387 .dwattr $C$DW$T$12, DW_AT_encoding(DW_ATE_signed)
|
|||
|
388 .dwattr $C$DW$T$12, DW_AT_name("long")
|
|||
|
389 .dwattr $C$DW$T$12, DW_AT_byte_size(0x04)
|
|||
|
390
|
|||
|
391 $C$DW$T$13 .dwtag DW_TAG_base_type
|
|||
|
392 .dwattr $C$DW$T$13, DW_AT_encoding(DW_ATE_unsigned)
|
|||
|
393 .dwattr $C$DW$T$13, DW_AT_name("unsigned long")
|
|||
|
394 .dwattr $C$DW$T$13, DW_AT_byte_size(0x04)
|
|||
|
395
|
|||
|
396 $C$DW$T$14 .dwtag DW_TAG_base_type
|
|||
|
397 .dwattr $C$DW$T$14, DW_AT_encoding(DW_ATE_signed)
|
|||
|
398 .dwattr $C$DW$T$14, DW_AT_name("long long")
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 9
|
|||
|
|
|||
|
399 .dwattr $C$DW$T$14, DW_AT_byte_size(0x08)
|
|||
|
400
|
|||
|
401 $C$DW$T$15 .dwtag DW_TAG_base_type
|
|||
|
402 .dwattr $C$DW$T$15, DW_AT_encoding(DW_ATE_unsigned)
|
|||
|
403 .dwattr $C$DW$T$15, DW_AT_name("unsigned long long")
|
|||
|
404 .dwattr $C$DW$T$15, DW_AT_byte_size(0x08)
|
|||
|
405
|
|||
|
406 $C$DW$T$16 .dwtag DW_TAG_base_type
|
|||
|
407 .dwattr $C$DW$T$16, DW_AT_encoding(DW_ATE_float)
|
|||
|
408 .dwattr $C$DW$T$16, DW_AT_name("float")
|
|||
|
409 .dwattr $C$DW$T$16, DW_AT_byte_size(0x04)
|
|||
|
410
|
|||
|
411 $C$DW$T$17 .dwtag DW_TAG_base_type
|
|||
|
412 .dwattr $C$DW$T$17, DW_AT_encoding(DW_ATE_float)
|
|||
|
413 .dwattr $C$DW$T$17, DW_AT_name("double")
|
|||
|
414 .dwattr $C$DW$T$17, DW_AT_byte_size(0x08)
|
|||
|
415
|
|||
|
416 $C$DW$T$18 .dwtag DW_TAG_base_type
|
|||
|
417 .dwattr $C$DW$T$18, DW_AT_encoding(DW_ATE_float)
|
|||
|
418 .dwattr $C$DW$T$18, DW_AT_name("long double")
|
|||
|
419 .dwattr $C$DW$T$18, DW_AT_byte_size(0x08)
|
|||
|
420
|
|||
|
421 .dwattr $C$DW$CU, DW_AT_language(DW_LANG_C)
|
|||
|
422
|
|||
|
423 ;***************************************************************
|
|||
|
424 ;* DWARF CIE ENTRIES *
|
|||
|
425 ;***************************************************************
|
|||
|
426
|
|||
|
427 $C$DW$CIE .dwcie 16
|
|||
|
428 .dwcfi cfa_register, 1
|
|||
|
429 .dwcfi cfa_offset, 0
|
|||
|
430 .dwcfi same_value, 0
|
|||
|
431 .dwcfi same_value, 1
|
|||
|
432 .dwcfi same_value, 3
|
|||
|
433 .dwcfi same_value, 4
|
|||
|
434 .dwcfi same_value, 5
|
|||
|
435 .dwcfi same_value, 6
|
|||
|
436 .dwcfi same_value, 7
|
|||
|
437 .dwcfi same_value, 8
|
|||
|
438 .dwcfi same_value, 9
|
|||
|
439 .dwcfi same_value, 10
|
|||
|
440 .dwendentry
|
|||
|
441
|
|||
|
442 ;***************************************************************
|
|||
|
443 ;* DWARF REGISTER MAP *
|
|||
|
444 ;***************************************************************
|
|||
|
445
|
|||
|
446 $C$DW$13 .dwtag DW_TAG_TI_assign_register
|
|||
|
447 .dwattr $C$DW$13, DW_AT_name("PC")
|
|||
|
448 .dwattr $C$DW$13, DW_AT_location[DW_OP_reg0]
|
|||
|
449
|
|||
|
450 $C$DW$14 .dwtag DW_TAG_TI_assign_register
|
|||
|
451 .dwattr $C$DW$14, DW_AT_name("SP")
|
|||
|
452 .dwattr $C$DW$14, DW_AT_location[DW_OP_reg1]
|
|||
|
453
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 10
|
|||
|
|
|||
|
454 $C$DW$15 .dwtag DW_TAG_TI_assign_register
|
|||
|
455 .dwattr $C$DW$15, DW_AT_name("SR")
|
|||
|
456 .dwattr $C$DW$15, DW_AT_location[DW_OP_reg2]
|
|||
|
457
|
|||
|
458 $C$DW$16 .dwtag DW_TAG_TI_assign_register
|
|||
|
459 .dwattr $C$DW$16, DW_AT_name("CG")
|
|||
|
460 .dwattr $C$DW$16, DW_AT_location[DW_OP_reg3]
|
|||
|
461
|
|||
|
462 $C$DW$17 .dwtag DW_TAG_TI_assign_register
|
|||
|
463 .dwattr $C$DW$17, DW_AT_name("r4")
|
|||
|
464 .dwattr $C$DW$17, DW_AT_location[DW_OP_reg4]
|
|||
|
465
|
|||
|
466 $C$DW$18 .dwtag DW_TAG_TI_assign_register
|
|||
|
467 .dwattr $C$DW$18, DW_AT_name("r5")
|
|||
|
468 .dwattr $C$DW$18, DW_AT_location[DW_OP_reg5]
|
|||
|
469
|
|||
|
470 $C$DW$19 .dwtag DW_TAG_TI_assign_register
|
|||
|
471 .dwattr $C$DW$19, DW_AT_name("r6")
|
|||
|
472 .dwattr $C$DW$19, DW_AT_location[DW_OP_reg6]
|
|||
|
473
|
|||
|
474 $C$DW$20 .dwtag DW_TAG_TI_assign_register
|
|||
|
475 .dwattr $C$DW$20, DW_AT_name("r7")
|
|||
|
476 .dwattr $C$DW$20, DW_AT_location[DW_OP_reg7]
|
|||
|
477
|
|||
|
478 $C$DW$21 .dwtag DW_TAG_TI_assign_register
|
|||
|
479 .dwattr $C$DW$21, DW_AT_name("r8")
|
|||
|
480 .dwattr $C$DW$21, DW_AT_location[DW_OP_reg8]
|
|||
|
481
|
|||
|
482 $C$DW$22 .dwtag DW_TAG_TI_assign_register
|
|||
|
483 .dwattr $C$DW$22, DW_AT_name("r9")
|
|||
|
484 .dwattr $C$DW$22, DW_AT_location[DW_OP_reg9]
|
|||
|
485
|
|||
|
486 $C$DW$23 .dwtag DW_TAG_TI_assign_register
|
|||
|
487 .dwattr $C$DW$23, DW_AT_name("r10")
|
|||
|
488 .dwattr $C$DW$23, DW_AT_location[DW_OP_reg10]
|
|||
|
489
|
|||
|
490 $C$DW$24 .dwtag DW_TAG_TI_assign_register
|
|||
|
491 .dwattr $C$DW$24, DW_AT_name("r11")
|
|||
|
492 .dwattr $C$DW$24, DW_AT_location[DW_OP_reg11]
|
|||
|
493
|
|||
|
494 $C$DW$25 .dwtag DW_TAG_TI_assign_register
|
|||
|
495 .dwattr $C$DW$25, DW_AT_name("r12")
|
|||
|
496 .dwattr $C$DW$25, DW_AT_location[DW_OP_reg12]
|
|||
|
497
|
|||
|
498 $C$DW$26 .dwtag DW_TAG_TI_assign_register
|
|||
|
499 .dwattr $C$DW$26, DW_AT_name("r13")
|
|||
|
500 .dwattr $C$DW$26, DW_AT_location[DW_OP_reg13]
|
|||
|
501
|
|||
|
502 $C$DW$27 .dwtag DW_TAG_TI_assign_register
|
|||
|
503 .dwattr $C$DW$27, DW_AT_name("r14")
|
|||
|
504 .dwattr $C$DW$27, DW_AT_location[DW_OP_reg14]
|
|||
|
505
|
|||
|
506 $C$DW$28 .dwtag DW_TAG_TI_assign_register
|
|||
|
507 .dwattr $C$DW$28, DW_AT_name("r15")
|
|||
|
508 .dwattr $C$DW$28, DW_AT_location[DW_OP_reg15]
|
|||
|
MSP430 Assembler PC v20.2.5 Thu Dec 2 20:38:06 2021
|
|||
|
|
|||
|
Copyright (c) 2003-2018 Texas Instruments Incorporated
|
|||
|
C:\Users\LIBRAR~1\AppData\Local\Temp\{B3212681-677C-4407-B7A6-59626703CBB1} PAGE 11
|
|||
|
|
|||
|
509
|
|||
|
510 $C$DW$29 .dwtag DW_TAG_TI_assign_register
|
|||
|
511 .dwattr $C$DW$29, DW_AT_name("CIE_RETA")
|
|||
|
512 .dwattr $C$DW$29, DW_AT_location[DW_OP_reg16]
|
|||
|
513
|
|||
|
514 .dwendtag $C$DW$CU
|
|||
|
515
|
|||
|
|
|||
|
No Assembly Errors, No Assembly Warnings
|