⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 time.lst

📁 ARM的keil_project
💻 LST
字号:
ARM GAS  /cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s 			page 1   1              		.file	"Time.c"   2              		.file 1 "Time.c"   3              		.section	.debug_abbrev,"",%progbits   4              	.Ldebug_abbrev0:   5              		.section	.debug_info,"",%progbits   6              	.Ldebug_info0:   7              		.section	.debug_line,"",%progbits   8              	.Ldebug_line0:   9 0000 3A000000 		.text   9      02001A00    9      00000201    9      FB0E0A00    9      01010101   10              	.Ltext0:  11              		.align	2  12              		.global	init_timer  13              		.type	init_timer, %function  14              	init_timer:  15              	.LFB3:   1:Time.c        **** /******************************************************************************/   2:Time.c        **** /*  This file is part of the uVision/ARM development tools                    */   3:Time.c        **** /*  Copyright KEIL ELEKTRONIK GmbH 2002-2004                                  */   4:Time.c        **** /******************************************************************************/   5:Time.c        **** /*                                                                            */   6:Time.c        **** /*  TIME.C:  Time Functions for 100Hz Clock Tick                              */   7:Time.c        **** /*                                                                            */   8:Time.c        **** /******************************************************************************/   9:Time.c        ****   10:Time.c        **** #include <LPC21XX.H>                            // LPC21XX Peripheral Registers  11:Time.c        **** #include "Timer.h"  12:Time.c        ****   13:Time.c        **** long timeval;  14:Time.c        ****   15:Time.c        **** void tc0 (void) __attribute__ ((interrupt));    // Generate Interrupt   16:Time.c        ****   17:Time.c        **** /* Setup the Timer Counter 0 Interrupt */  18:Time.c        **** void init_timer (void) {  16              		.loc 1 18 0  17              		@ Function supports interworking.  18              		@ args = 0, pretend = 0, frame = 0  19              		@ frame_needed = 0, uses_anonymous_args = 0  20              		@ link register save eliminated.  21              		@ lr needed for prologue  19:Time.c        ****     T0MR0 = 149999;                        // 10mSec = 150.000-1 counts  22              		.loc 1 19 0  23 0000 0E22A0E3 		mov	r2, #-536870912  24 0004 012982E2 		add	r2, r2, #16384  25 0008 182082E2 		add	r2, r2, #24  26 000c 923BA0E3 		mov	r3, #149504  27 0010 7B3F83E2 		add	r3, r3, #492  28 0014 033083E2 		add	r3, r3, #3  29 0018 003082E5 		str	r3, [r2, #0]  20:Time.c        ****     T0MCR = 3;                             // Interrupt and Reset on MR0  30              		.loc 1 20 0  31 001c 0E32A0E3 		mov	r3, #-536870912  32 0020 013983E2 		add	r3, r3, #16384  33 0024 143083E2 		add	r3, r3, #20ARM GAS  /cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s 			page 2  34 0028 0320A0E3 		mov	r2, #3  35 002c 002083E5 		str	r2, [r3, #0]  21:Time.c        ****     T0TCR = 1;                             // Timer0 Enable  36              		.loc 1 21 0  37 0030 0139A0E3 		mov	r3, #16384  38 0034 4E3283E2 		add	r3, r3, #-536870908  39 0038 0120A0E3 		mov	r2, #1  40 003c 002083E5 		str	r2, [r3, #0]  22:Time.c        ****     VICVectAddr0 = (unsigned long)tc0;          // set interrupt vector in 0  41              		.loc 1 22 0  42 0040 2233A0E3 		mov	r3, #-2013265920  43 0044 C339A0E1 		mov	r3, r3, asr #19  44 0048 24209FE5 		ldr	r2, .L2  45 004c 002083E5 		str	r2, [r3, #0]  23:Time.c        ****     VICVectCntl0 = 0x20 | 4;                    // use it for Timer 0 Interrupt  46              		.loc 1 23 0  47 0050 0932A0E3 		mov	r3, #-1879048192  48 0054 C339A0E1 		mov	r3, r3, asr #19  49 0058 2420A0E3 		mov	r2, #36  50 005c 002083E5 		str	r2, [r3, #0]  24:Time.c        ****     VICIntEnable = 0x00000010;                  // Enable Timer0 Interrupt  51              		.loc 1 24 0  52 0060 FE3EE0E3 		mvn	r3, #4064  53 0064 0F3043E2 		sub	r3, r3, #15  54 0068 1020A0E3 		mov	r2, #16  55 006c 002083E5 		str	r2, [r3, #0]  25:Time.c        **** }  56              		.loc 1 25 0  57 0070 1EFF2FE1 		bx	lr  58              	.L3:  59              		.align	2  60              	.L2:  61 0074 00000000 		.word	tc0  62              	.LFE3:  63              		.size	init_timer, .-init_timer  64              		.align	2  65              		.global	tc0  66              		.type	tc0, %function  67              	tc0:  68              	.LFB5:  26:Time.c        ****   27:Time.c        ****   28:Time.c        **** /* Timer Counter 0 Interrupt executes each 10ms @ 60 MHz CPU Clock */  29:Time.c        **** void tc0 (void) {  69              		.loc 1 29 0  70              		@ Interrupt Service Routine.  71              		@ args = 0, pretend = 0, frame = 0  72              		@ frame_needed = 0, uses_anonymous_args = 0  73              		@ link register save eliminated.  74 0078 0C002DE9 		stmfd	sp!, {r2, r3}  75              	.LCFI0:  76              		@ lr needed for prologue  30:Time.c        ****     timeval++;  77              		.loc 1 30 0  78 007c 30209FE5 		ldr	r2, .L5  79 0080 003092E5 		ldr	r3, [r2, #0]  80 0084 013083E2 		add	r3, r3, #1ARM GAS  /cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s 			page 3  81 0088 003082E5 		str	r3, [r2, #0]  31:Time.c        ****     T0IR = 1;                              // Clear interrupt flag  82              		.loc 1 31 0  83 008c 0E32A0E3 		mov	r3, #-536870912  84 0090 013983E2 		add	r3, r3, #16384  85 0094 0120A0E3 		mov	r2, #1  86 0098 002083E5 		str	r2, [r3, #0]  32:Time.c        ****     VICVectAddr = 0;                            // Acknowledge Interrupt  87              		.loc 1 32 0  88 009c 3F3DE0E3 		mvn	r3, #4032  89 00a0 0F3043E2 		sub	r3, r3, #15  90 00a4 0020A0E3 		mov	r2, #0  91 00a8 002083E5 		str	r2, [r3, #0]  33:Time.c        **** }  92              		.loc 1 33 0  93 00ac 0C00BDE8 		ldmfd	sp!, {r2, r3}  94 00b0 04F05EE2 		subs	pc, lr, #4  95              	.L6:  96              		.align	2  97              	.L5:  98 00b4 00000000 		.word	timeval  99              	.LFE5: 100              		.size	tc0, .-tc0 101              		.comm	timeval, 4, 32 102              		.section	.debug_frame,"",%progbits 103              	.Lframe0: 104 0000 0C000000 		.4byte	.LECIE0-.LSCIE0 105              	.LSCIE0: 106 0004 FFFFFFFF 		.4byte	0xffffffff 107 0008 01       		.byte	0x1 108 0009 00       		.ascii	"\000" 109 000a 01       		.uleb128 0x1 110 000b 7C       		.sleb128 -4 111 000c 0E       		.byte	0xe 112 000d 0C       		.byte	0xc 113 000e 0D       		.uleb128 0xd 114 000f 00       		.uleb128 0x0 115              		.align	2 116              	.LECIE0: 117              	.LSFDE0: 118 0010 0C000000 		.4byte	.LEFDE0-.LASFDE0 119              	.LASFDE0: 120 0014 00000000 		.4byte	.Lframe0 121 0018 00000000 		.4byte	.LFB3 122 001c 78000000 		.4byte	.LFE3-.LFB3 123              		.align	2 124              	.LEFDE0: 125              	.LSFDE2: 126 0020 14000000 		.4byte	.LEFDE2-.LASFDE2 127              	.LASFDE2: 128 0024 00000000 		.4byte	.Lframe0 129 0028 78000000 		.4byte	.LFB5 130 002c 40000000 		.4byte	.LFE5-.LFB5 131 0030 44       		.byte	0x4 132              		.4byte	.LCFI0-.LFB5 133 0031 0E       		.byte	0xe 134 0032 08       		.uleb128 0x8ARM GAS  /cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s 			page 4 135 0033 83       		.byte	0x83 136 0034 01       		.uleb128 0x1 137 0035 82       		.byte	0x82 138 0036 02       		.uleb128 0x2 139 0037 00       		.align	2 140              	.LEFDE2: 141              		.text 142              	.Letext0: 143              		.section	.debug_info 144 0000 61000000 		.4byte	0x61 145 0004 0200     		.2byte	0x2 146 0006 00000000 		.4byte	.Ldebug_abbrev0 147 000a 04       		.byte	0x4 148 000b 01       		.uleb128 0x1 149 000c 00000000 		.4byte	.Ldebug_line0 150 0010 B8000000 		.4byte	.Letext0 151 0014 00000000 		.4byte	.Ltext0 152 0018 1F000000 		.4byte	.LC1 153 001c 26000000 		.4byte	.LC2 154 0020 00000000 		.4byte	.LC3 155 0024 01       		.byte	0x1 156 0025 02       		.uleb128 0x2 157 0026 01       		.byte	0x1 158 0027 14000000 		.4byte	.LC0 159 002b 01       		.byte	0x1 160 002c 12       		.byte	0x12 161 002d 01       		.byte	0x1 162 002e 00000000 		.4byte	.LFB3 163 0032 78000000 		.4byte	.LFE3 164 0036 01       		.byte	0x1 165 0037 5D       		.byte	0x5d 166 0038 03       		.uleb128 0x3 167 0039 01       		.byte	0x1 168 003a 74633000 		.ascii	"tc0\000" 169 003e 01       		.byte	0x1 170 003f 1D       		.byte	0x1d 171 0040 01       		.byte	0x1 172 0041 78000000 		.4byte	.LFB5 173 0045 B8000000 		.4byte	.LFE5 174 0049 01       		.byte	0x1 175 004a 5D       		.byte	0x5d 176 004b 04       		.uleb128 0x4 177 004c 0C000000 		.4byte	.LC4 178 0050 01       		.byte	0x1 179 0051 0D       		.byte	0xd 180 0052 5D000000 		.4byte	0x5d 181 0056 01       		.byte	0x1 182 0057 05       		.byte	0x5 183 0058 03       		.byte	0x3 184 0059 00000000 		.4byte	timeval 185 005d 05       		.uleb128 0x5 186 005e 46000000 		.4byte	.LC5 187 0062 04       		.byte	0x4 188 0063 05       		.byte	0x5 189 0064 00       		.byte	0x0 190              		.section	.debug_abbrev 191 0000 01       		.uleb128 0x1ARM GAS  /cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s 			page 5 192 0001 11       		.uleb128 0x11 193 0002 01       		.byte	0x1 194 0003 10       		.uleb128 0x10 195 0004 06       		.uleb128 0x6 196 0005 12       		.uleb128 0x12 197 0006 01       		.uleb128 0x1 198 0007 11       		.uleb128 0x11 199 0008 01       		.uleb128 0x1 200 0009 03       		.uleb128 0x3 201 000a 0E       		.uleb128 0xe 202 000b 1B       		.uleb128 0x1b 203 000c 0E       		.uleb128 0xe 204 000d 25       		.uleb128 0x25 205 000e 0E       		.uleb128 0xe 206 000f 13       		.uleb128 0x13 207 0010 0B       		.uleb128 0xb 208 0011 00       		.byte	0x0 209 0012 00       		.byte	0x0 210 0013 02       		.uleb128 0x2 211 0014 2E       		.uleb128 0x2e 212 0015 00       		.byte	0x0 213 0016 3F       		.uleb128 0x3f 214 0017 0C       		.uleb128 0xc 215 0018 03       		.uleb128 0x3 216 0019 0E       		.uleb128 0xe 217 001a 3A       		.uleb128 0x3a 218 001b 0B       		.uleb128 0xb 219 001c 3B       		.uleb128 0x3b 220 001d 0B       		.uleb128 0xb 221 001e 27       		.uleb128 0x27 222 001f 0C       		.uleb128 0xc 223 0020 11       		.uleb128 0x11 224 0021 01       		.uleb128 0x1 225 0022 12       		.uleb128 0x12 226 0023 01       		.uleb128 0x1 227 0024 40       		.uleb128 0x40 228 0025 0A       		.uleb128 0xa 229 0026 00       		.byte	0x0 230 0027 00       		.byte	0x0 231 0028 03       		.uleb128 0x3 232 0029 2E       		.uleb128 0x2e 233 002a 00       		.byte	0x0 234 002b 3F       		.uleb128 0x3f 235 002c 0C       		.uleb128 0xc 236 002d 03       		.uleb128 0x3 237 002e 08       		.uleb128 0x8 238 002f 3A       		.uleb128 0x3a 239 0030 0B       		.uleb128 0xb 240 0031 3B       		.uleb128 0x3b 241 0032 0B       		.uleb128 0xb 242 0033 27       		.uleb128 0x27 243 0034 0C       		.uleb128 0xc 244 0035 11       		.uleb128 0x11 245 0036 01       		.uleb128 0x1 246 0037 12       		.uleb128 0x12 247 0038 01       		.uleb128 0x1 248 0039 40       		.uleb128 0x40ARM GAS  /cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s 			page 6 249 003a 0A       		.uleb128 0xa 250 003b 00       		.byte	0x0 251 003c 00       		.byte	0x0 252 003d 04       		.uleb128 0x4 253 003e 34       		.uleb128 0x34 254 003f 00       		.byte	0x0 255 0040 03       		.uleb128 0x3 256 0041 0E       		.uleb128 0xe 257 0042 3A       		.uleb128 0x3a 258 0043 0B       		.uleb128 0xb 259 0044 3B       		.uleb128 0x3b 260 0045 0B       		.uleb128 0xb 261 0046 49       		.uleb128 0x49 262 0047 13       		.uleb128 0x13 263 0048 3F       		.uleb128 0x3f 264 0049 0C       		.uleb128 0xc 265 004a 02       		.uleb128 0x2 266 004b 0A       		.uleb128 0xa 267 004c 00       		.byte	0x0 268 004d 00       		.byte	0x0 269 004e 05       		.uleb128 0x5 270 004f 24       		.uleb128 0x24 271 0050 00       		.byte	0x0 272 0051 03       		.uleb128 0x3 273 0052 0E       		.uleb128 0xe 274 0053 0B       		.uleb128 0xb 275 0054 0B       		.uleb128 0xb 276 0055 3E       		.uleb128 0x3e 277 0056 0B       		.uleb128 0xb 278 0057 00       		.byte	0x0 279 0058 00       		.byte	0x0 280 0059 00       		.byte	0x0 281              		.section	.debug_pubnames,"",%progbits 282 0000 31000000 		.4byte	0x31 283 0004 0200     		.2byte	0x2 284 0006 00000000 		.4byte	.Ldebug_info0 285 000a 65000000 		.4byte	0x65 286 000e 25000000 		.4byte	0x25 287 0012 696E6974 		.ascii	"init_timer\000" 287      5F74696D  287      657200 288 001d 38000000 		.4byte	0x38 289 0021 74633000 		.ascii	"tc0\000" 290 0025 4B000000 		.4byte	0x4b 291 0029 74696D65 		.ascii	"timeval\000" 291      76616C00  292 0031 00000000 		.4byte	0x0 293              		.section	.debug_aranges,"",%progbits 294 0000 1C000000 		.4byte	0x1c 295 0004 0200     		.2byte	0x2 296 0006 00000000 		.4byte	.Ldebug_info0 297 000a 04       		.byte	0x4 298 000b 00       		.byte	0x0 299 000c 0000     		.2byte	0x0 300 000e 0000     		.2byte	0x0 301 0010 00000000 		.4byte	.Ltext0 302 0014 B8000000 		.4byte	.Letext0-.Ltext0ARM GAS  /cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s 			page 7 303 0018 00000000 		.4byte	0x0 304 001c 00000000 		.4byte	0x0 305              		.section	.debug_str,"MS",%progbits,1 306              	.LC3: 307 0000 474E5520 		.ascii	"GNU C 3.3.1\000" 307      4320332E  307      332E3100  308              	.LC4: 309 000c 74696D65 		.ascii	"timeval\000" 309      76616C00  310              	.LC0: 311 0014 696E6974 		.ascii	"init_timer\000" 311      5F74696D  311      657200 312              	.LC1: 313 001f 54696D65 		.ascii	"Time.c\000" 313      2E6300 314              	.LC2: 315 0026 2F637967 		.ascii	"/cygdrive/f/keil_project/Blinky\000" 315      64726976  315      652F662F  315      6B65696C  315      5F70726F  316              	.LC5: 317 0046 6C6F6E67 		.ascii	"long int\000" 317      20696E74  317      00 318              		.ident	"GCC: (GNU) 3.3.1"ARM GAS  /cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s 			page 8DEFINED SYMBOLS                            *ABS*:00000000 Time.c/cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s:14     .text:00000000 init_timer/cygdrive/c/DOCUME~1/yon/LOCALS~1/Temp/ccyTFPGj.s:67     .text:00000078 tc0                            *COM*:00000004 timevalNO UNDEFINED SYMBOLS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -