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

📄 timer.lst

📁 AVR atmega64串口驱动
💻 LST
字号:
   1               		.file	"Timer.c"
   2               		.arch atmega64
   3               	__SREG__ = 0x3f
   4               	__SP_H__ = 0x3e
   5               	__SP_L__ = 0x3d
   6               	__tmp_reg__ = 0
   7               	__zero_reg__ = 1
   8               		.global __do_copy_data
   9               		.global __do_clear_bss
  17               	.Ltext0:
  18               	.global	count1h
  19               	.global	count1h
  20               		.section .bss
  23               	count1h:
  24 0000 00        		.skip 1,0
  25               	.global	count1m
  26               	.global	count1m
  29               	count1m:
  30 0001 00        		.skip 1,0
  31               	.global	count30s
  32               	.global	count30s
  35               	count30s:
  36 0002 00        		.skip 1,0
  37               	.global	count3s
  38               	.global	count3s
  41               	count3s:
  42 0003 00        		.skip 1,0
  43               	.global	time1s_n
  44               	.global	time1s_n
  47               	time1s_n:
  48 0004 00        		.skip 1,0
  49               	.global	time500ms_n
  50               	.global	time500ms_n
  53               	time500ms_n:
  54 0005 00        		.skip 1,0
  55               	.global	time100ms_n
  56               	.global	time100ms_n
  59               	time100ms_n:
  60 0006 00        		.skip 1,0
  61               	.global	count50ms
  62               	.global	count50ms
  65               	count50ms:
  66 0007 00        		.skip 1,0
  67               	.global	time_out_seconds
  68               	.global	time_out_seconds
  71               	time_out_seconds:
  72 0008 00        		.skip 1,0
  73               	.global	count_time_out
  74               	.global	count_time_out
  77               	count_time_out:
  78 0009 00        		.skip 1,0
  79               	.global	time0_10ms
  80               	.global	time0_10ms
  83               	time0_10ms:
  84 000a 00        		.skip 1,0
  85               	.global	keycode_temp
  86               	.global	keycode_temp
  89               	keycode_temp:
  90 000b 00        		.skip 1,0
  91               	.global	keycode
  92               	.global	keycode
  95               	keycode:
  96 000c 00        		.skip 1,0
  97               		.text
  98               	.global	timer2_init
 100               	timer2_init:
 101               	.LFB19:
 102               	.LM1:
 103               	/* prologue: frame size=0 */
 104               	/* prologue end (size=0) */
 105               	.LM2:
 106 0000 15BC      		out 69-0x20,__zero_reg__
 107               	.LM3:
 108 0002 10BE      		out 80-0x20,__zero_reg__
 109               	.LM4:
 110 0004 80E1      		ldi r24,lo8(16)
 111 0006 84BD      		out 68-0x20,r24
 112               	.LM5:
 113 0008 80EF      		ldi r24,lo8(-16)
 114 000a 83BD      		out 67-0x20,r24
 115               	.LM6:
 116 000c 87B7      		in r24,87-0x20
 117 000e 8068      		ori r24,lo8(-128)
 118 0010 87BF      		out 87-0x20,r24
 119               	.LM7:
 120 0012 8DE0      		ldi r24,lo8(13)
 121 0014 85BD      		out 69-0x20,r24
 122               	/* epilogue: frame size=0 */
 123 0016 0895      		ret
 124               	/* epilogue end (size=1) */
 125               	/* function timer2_init size 12 (11) */
 126               	.LFE19:
 128               	.global	__vector_9
 130               	__vector_9:
 131               	.LFB20:
 132               	.LM8:
 133               	/* prologue: frame size=0 */
 134 0018 1F92      		push __zero_reg__
 135 001a 0F92      		push __tmp_reg__
 136 001c 0FB6      		in __tmp_reg__,__SREG__
 137 001e 0F92      		push __tmp_reg__
 138 0020 1124      		clr __zero_reg__
 139 0022 8F93      		push r24
 140               	/* prologue end (size=6) */
 141               	.LM9:
 142 0024 8091 0000 		lds r24,count50ms
 143 0028 8F5F      		subi r24,lo8(-(1))
 144 002a 8093 0000 		sts count50ms,r24
 145               	.LM10:
 146 002e 8091 0000 		lds r24,count50ms
 147 0032 8330      		cpi r24,lo8(3)
 148 0034 09F0      		breq .+2
 149 0036 87C0      		rjmp .L2
 150               	.LM11:
 151 0038 1092 0000 		sts count50ms,__zero_reg__
 152               	.LM12:
 153 003c 8091 0000 		lds r24,bit_var
 154 0040 8160      		ori r24,lo8(1)
 155 0042 8093 0000 		sts bit_var,r24
 156               	.LM13:
 157 0046 8091 0000 		lds r24,count500ms
 158 004a 8F5F      		subi r24,lo8(-(1))
 159 004c 8093 0000 		sts count500ms,r24
 160               	.LM14:
 161 0050 8091 0000 		lds r24,count500ms
 162 0054 8530      		cpi r24,lo8(5)
 163 0056 09F0      		breq .+2
 164 0058 76C0      		rjmp .L2
 165               	.LM15:
 166 005a 8091 0000 		lds r24,time500ms_n
 167 005e 8F5F      		subi r24,lo8(-(1))
 168 0060 8093 0000 		sts time500ms_n,r24
 169               	.LM16:
 170 0064 1092 0000 		sts count500ms,__zero_reg__
 171               	.LM17:
 172 0068 8091 0000 		lds r24,bit_var
 173 006c 8260      		ori r24,lo8(2)
 174 006e 8093 0000 		sts bit_var,r24
 175               	.LM18:
 176 0072 8091 0000 		lds r24,count1s
 177 0076 8F5F      		subi r24,lo8(-(1))
 178 0078 8093 0000 		sts count1s,r24
 179               	.LM19:
 180 007c 8091 0000 		lds r24,count1s
 181 0080 8230      		cpi r24,lo8(2)
 182 0082 09F0      		breq .+2
 183 0084 60C0      		rjmp .L2
 184               	.LM20:
 185 0086 1092 0000 		sts count1s,__zero_reg__
 186               	.LM21:
 187 008a 8091 0000 		lds r24,bit_var
 188 008e 8460      		ori r24,lo8(4)
 189 0090 8093 0000 		sts bit_var,r24
 190               	.LM22:
 191 0094 8091 0000 		lds r24,time1s_n
 192 0098 8F5F      		subi r24,lo8(-(1))
 193 009a 8093 0000 		sts time1s_n,r24
 194               	.LM23:
 195 009e 8091 0000 		lds r24,count3s
 196 00a2 8F5F      		subi r24,lo8(-(1))
 197 00a4 8093 0000 		sts count3s,r24
 198               	.LM24:
 199 00a8 8091 0000 		lds r24,count30s
 200 00ac 8F5F      		subi r24,lo8(-(1))
 201 00ae 8093 0000 		sts count30s,r24
 202               	.LM25:
 203 00b2 8091 0000 		lds r24,count1m
 204 00b6 8F5F      		subi r24,lo8(-(1))
 205 00b8 8093 0000 		sts count1m,r24
 206               	.LM26:
 207 00bc 8091 0000 		lds r24,count3s
 208 00c0 8330      		cpi r24,lo8(3)
 209 00c2 39F4      		brne .L6
 210               	.LM27:
 211 00c4 1092 0000 		sts count3s,__zero_reg__
 212               	.LM28:
 213 00c8 8091 0000 		lds r24,bit_var
 214 00cc 8860      		ori r24,lo8(8)
 215 00ce 8093 0000 		sts bit_var,r24
 216               	.L6:
 217               	.LM29:
 218 00d2 8091 0000 		lds r24,count30s
 219 00d6 8E31      		cpi r24,lo8(30)
 220 00d8 39F4      		brne .L7
 221               	.LM30:
 222 00da 1092 0000 		sts count30s,__zero_reg__
 223               	.LM31:
 224 00de 8091 0000 		lds r24,bit_flag
 225 00e2 8064      		ori r24,lo8(64)
 226 00e4 8093 0000 		sts bit_flag,r24
 227               	.L7:
 228               	.LM32:
 229 00e8 8091 0000 		lds r24,count1m
 230 00ec 8C33      		cpi r24,lo8(60)
 231 00ee B9F4      		brne .L8
 232               	.LM33:
 233 00f0 1092 0000 		sts count1m,__zero_reg__
 234               	.LM34:
 235 00f4 8091 0000 		lds r24,bit_var
 236 00f8 8061      		ori r24,lo8(16)
 237 00fa 8093 0000 		sts bit_var,r24
 238               	.LM35:
 239 00fe 8091 0000 		lds r24,count1h
 240 0102 8F5F      		subi r24,lo8(-(1))
 241 0104 8093 0000 		sts count1h,r24
 242               	.LM36:
 243 0108 8091 0000 		lds r24,count1h
 244 010c 8C33      		cpi r24,lo8(60)
 245 010e 39F4      		brne .L8
 246               	.LM37:
 247 0110 1092 0000 		sts count1h,__zero_reg__
 248               	.LM38:
 249 0114 8091 0000 		lds r24,bit_var
 250 0118 8062      		ori r24,lo8(32)
 251 011a 8093 0000 		sts bit_var,r24
 252               	.L8:
 253               	.LM39:
 254 011e 8091 0000 		lds r24,bit_Condition
 255 0122 87FF      		sbrs r24,7
 256 0124 10C0      		rjmp .L2
 257               	.LM40:
 258 0126 8091 0000 		lds r24,count_time_out
 259 012a 8F5F      		subi r24,lo8(-(1))
 260 012c 8093 0000 		sts count_time_out,r24
 261               	.LM41:
 262 0130 8091 0000 		lds r24,count_time_out
 263 0134 8F30      		cpi r24,lo8(15)
 264 0136 39F4      		brne .L2
 265               	.LM42:
 266 0138 1092 0000 		sts count_time_out,__zero_reg__
 267               	.LM43:
 268 013c 8091 0000 		lds r24,bit_Condition
 269 0140 8260      		ori r24,lo8(2)
 270 0142 8093 0000 		sts bit_Condition,r24
 271               	.L2:
 272               	/* epilogue: frame size=0 */
 273 0146 8F91      		pop r24
 274 0148 0F90      		pop __tmp_reg__
 275 014a 0FBE      		out __SREG__,__tmp_reg__
 276 014c 0F90      		pop __tmp_reg__
 277 014e 1F90      		pop __zero_reg__
 278 0150 1895      		reti
 279               	/* epilogue end (size=6) */
 280               	/* function __vector_9 size 157 (145) */
 281               	.LFE20:
 283               	.global	timer
 285               	timer:
 286               	.LFB21:
 287               	.LM44:
 288               	/* prologue: frame size=0 */
 289               	/* prologue end (size=0) */
 290               	.LM45:
 291 0152 0E94 0000 		call timer2_init
 292               	/* epilogue: frame size=0 */
 293 0156 0895      		ret
 294               	/* epilogue end (size=1) */
 295               	/* function timer size 3 (2) */
 296               	.LFE21:
 298               		.comm temperature_low,1,1
 299               		.comm temperature_high,1,1
 300               		.comm bit_flag,1,1
 301               		.comm bit_var,1,1
 302               		.comm bit_hardware,1,1
 303               		.comm bit_Condition,1,1
 304               		.comm count500ms,1,1
 305               		.comm count1s,1,1
 306               	.Letext0:
DEFINED SYMBOLS
                            *ABS*:00000000 Timer.c
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:3      *ABS*:0000003f __SREG__
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:4      *ABS*:0000003e __SP_H__
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:5      *ABS*:0000003d __SP_L__
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:6      *ABS*:00000000 __tmp_reg__
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:7      *ABS*:00000001 __zero_reg__
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:23     .bss:00000000 count1h
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:29     .bss:00000001 count1m
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:35     .bss:00000002 count30s
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:41     .bss:00000003 count3s
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:47     .bss:00000004 time1s_n
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:53     .bss:00000005 time500ms_n
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:59     .bss:00000006 time100ms_n
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:65     .bss:00000007 count50ms
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:71     .bss:00000008 time_out_seconds
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:77     .bss:00000009 count_time_out
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:83     .bss:0000000a time0_10ms
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:89     .bss:0000000b keycode_temp
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:95     .bss:0000000c keycode
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:100    .text:00000000 timer2_init
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:130    .text:00000018 __vector_9
                            *COM*:00000001 bit_var
                            *COM*:00000001 count500ms
                            *COM*:00000001 count1s
                            *COM*:00000001 bit_flag
                            *COM*:00000001 bit_Condition
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmUaaaa.s:285    .text:00000152 timer
                            *COM*:00000001 temperature_low
                            *COM*:00000001 temperature_high
                            *COM*:00000001 bit_hardware

UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss

⌨️ 快捷键说明

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