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

📄 iotxd.lst

📁 模拟串口的通讯程序
💻 LST
📖 第 1 页 / 共 2 页
字号:
 265               	.LM23:
 266 00fe 81E5      		ldi r24,lo8(81)
 267 0100 0E94 0000 		call io_uart_TXD
  70:iotxd.c       **** 	io_uart_TXD(0x52);
 269               	.LM24:
 270 0104 82E5      		ldi r24,lo8(82)
 271 0106 0E94 0000 		call io_uart_TXD
  71:iotxd.c       **** 	io_uart_TXD(0x33);
 273               	.LM25:
 274 010a 83E3      		ldi r24,lo8(51)
 275 010c 0E94 0000 		call io_uart_TXD
  72:iotxd.c       **** 	io_uart_TXD(0x54);
 277               	.LM26:
 278 0110 84E5      		ldi r24,lo8(84)
 279 0112 0E94 0000 		call io_uart_TXD
  73:iotxd.c       **** 	io_uart_TXD(0x55);
 281               	.LM27:
 282 0116 85E5      		ldi r24,lo8(85)
 283 0118 0E94 0000 		call io_uart_TXD
  74:iotxd.c       **** 	io_uart_TXD(0x34);
 285               	.LM28:
 286 011c 84E3      		ldi r24,lo8(52)
 287 011e 0E94 0000 		call io_uart_TXD
  75:iotxd.c       **** 	io_uart_TXD(0x35);
 289               	.LM29:
 290 0122 85E3      		ldi r24,lo8(53)
 291 0124 0E94 0000 		call io_uart_TXD
  76:iotxd.c       **** 	io_uart_TXD(0x56);
 293               	.LM30:
 294 0128 86E5      		ldi r24,lo8(86)
 295 012a 0E94 0000 		call io_uart_TXD
  77:iotxd.c       **** 	io_uart_TXD(0x37);	
 297               	.LM31:
 298 012e 87E3      		ldi r24,lo8(55)
 299 0130 0E94 0000 		call io_uart_TXD
  78:iotxd.c       **** 	for(i=0;;i++)
 301               	.LM32:
 302 0134 1982      		std Y+1,__zero_reg__
 303               	.L16:
  79:iotxd.c       **** 	{
  80:iotxd.c       **** 		io_uart_TXD(i);
 305               	.LM33:
 306 0136 8981      		ldd r24,Y+1
 307 0138 0E94 0000 		call io_uart_TXD
  81:iotxd.c       **** 		if(i==0xff)
 309               	.LM34:
 310 013c 8981      		ldd r24,Y+1
 311 013e 8F3F      		cpi r24,lo8(-1)
 312 0140 09F4      		brne .L18
  82:iotxd.c       **** 		break;
 314               	.LM35:
 315 0142 04C0      		rjmp .L17
 317               	.LM36:
 318               	.L18:
 319 0144 8981      		ldd r24,Y+1
 320 0146 8F5F      		subi r24,lo8(-(1))
 321 0148 8983      		std Y+1,r24
 322 014a F5CF      		rjmp .L16
 323               	.L17:
  83:iotxd.c       **** 		//delay_ms(1000);
  84:iotxd.c       **** 	}
  85:iotxd.c       **** 	for(i=0;;i++)
 325               	.LM37:
 326 014c 1982      		std Y+1,__zero_reg__
 327               	.L20:
  86:iotxd.c       **** 	{
  87:iotxd.c       **** 		io_uart_TXD(i);
 329               	.LM38:
 330 014e 8981      		ldd r24,Y+1
 331 0150 0E94 0000 		call io_uart_TXD
  88:iotxd.c       **** 		if(i==0xff)
 333               	.LM39:
 334 0154 8981      		ldd r24,Y+1
 335 0156 8F3F      		cpi r24,lo8(-1)
 336 0158 09F4      		brne .L22
  89:iotxd.c       **** 		break;
 338               	.LM40:
 339 015a 04C0      		rjmp .L21
 341               	.LM41:
 342               	.L22:
 343 015c 8981      		ldd r24,Y+1
 344 015e 8F5F      		subi r24,lo8(-(1))
 345 0160 8983      		std Y+1,r24
 346 0162 F5CF      		rjmp .L20
 347               	.L21:
  90:iotxd.c       **** 		//delay_ms(1000);
  91:iotxd.c       **** 	}
  92:iotxd.c       **** 	for(i=0;;i++)
 349               	.LM42:
 350 0164 1982      		std Y+1,__zero_reg__
 351               	.L24:
  93:iotxd.c       **** 	{
  94:iotxd.c       **** 		io_uart_TXD(i);
 353               	.LM43:
 354 0166 8981      		ldd r24,Y+1
 355 0168 0E94 0000 		call io_uart_TXD
  95:iotxd.c       **** 		if(i==0xff)
 357               	.LM44:
 358 016c 8981      		ldd r24,Y+1
 359 016e 8F3F      		cpi r24,lo8(-1)
 360 0170 09F4      		brne .L26
  96:iotxd.c       **** 		break;
 362               	.LM45:
 363 0172 04C0      		rjmp .L25
 365               	.LM46:
 366               	.L26:
 367 0174 8981      		ldd r24,Y+1
 368 0176 8F5F      		subi r24,lo8(-(1))
 369 0178 8983      		std Y+1,r24
 370 017a F5CF      		rjmp .L24
 371               	.L25:
  97:iotxd.c       **** 		//delay_ms(1000);
  98:iotxd.c       **** 	}
  99:iotxd.c       **** 	while(1);
 373               	.LM47:
 374               	.L28:
 375 017c FFCF      		rjmp .L28
 100:iotxd.c       **** }...
 377               	.LM48:
 378               	.LBE4:
 379               	/* epilogue: frame size=5 */
 380               	/* epilogue: noreturn */
 381               	/* epilogue end (size=0) */
 382               	/* function main size 78 (74) */
 390               	.Lscope2:
 395               	_delay_loop_2:
 397               	.Ltext1:
   1:d:/WinAVR/avr/include/avr/delay.h **** /* Copyright (c) 2002, Marek Michalkiewicz
   2:d:/WinAVR/avr/include/avr/delay.h ****    All rights reserved.
   3:d:/WinAVR/avr/include/avr/delay.h **** 
   4:d:/WinAVR/avr/include/avr/delay.h ****    Redistribution and use in source and binary forms, with or without
   5:d:/WinAVR/avr/include/avr/delay.h ****    modification, are permitted provided that the following conditions are met:
   6:d:/WinAVR/avr/include/avr/delay.h **** 
   7:d:/WinAVR/avr/include/avr/delay.h ****    * Redistributions of source code must retain the above copyright
   8:d:/WinAVR/avr/include/avr/delay.h ****      notice, this list of conditions and the following disclaimer.
   9:d:/WinAVR/avr/include/avr/delay.h ****    * Redistributions in binary form must reproduce the above copyright
  10:d:/WinAVR/avr/include/avr/delay.h ****      notice, this list of conditions and the following disclaimer in
  11:d:/WinAVR/avr/include/avr/delay.h ****      the documentation and/or other materials provided with the
  12:d:/WinAVR/avr/include/avr/delay.h ****      distribution.
  13:d:/WinAVR/avr/include/avr/delay.h **** 
  14:d:/WinAVR/avr/include/avr/delay.h ****   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  15:d:/WinAVR/avr/include/avr/delay.h ****   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  16:d:/WinAVR/avr/include/avr/delay.h ****   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  17:d:/WinAVR/avr/include/avr/delay.h ****   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  18:d:/WinAVR/avr/include/avr/delay.h ****   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  19:d:/WinAVR/avr/include/avr/delay.h ****   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  20:d:/WinAVR/avr/include/avr/delay.h ****   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  21:d:/WinAVR/avr/include/avr/delay.h ****   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  22:d:/WinAVR/avr/include/avr/delay.h ****   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  23:d:/WinAVR/avr/include/avr/delay.h ****   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  24:d:/WinAVR/avr/include/avr/delay.h ****   POSSIBILITY OF SUCH DAMAGE. */
  25:d:/WinAVR/avr/include/avr/delay.h **** 
  26:d:/WinAVR/avr/include/avr/delay.h **** /* $Id: delay.h,v 1.2.2.2 2004/02/13 21:43:37 joerg_wunsch Exp $ */
  27:d:/WinAVR/avr/include/avr/delay.h **** 
  28:d:/WinAVR/avr/include/avr/delay.h **** /*
  29:d:/WinAVR/avr/include/avr/delay.h ****    avr/delay.h - loops for small accurate delays
  30:d:/WinAVR/avr/include/avr/delay.h ****  */
  31:d:/WinAVR/avr/include/avr/delay.h **** 
  32:d:/WinAVR/avr/include/avr/delay.h **** #ifndef _AVR_DELAY_H_
  33:d:/WinAVR/avr/include/avr/delay.h **** #define _AVR_DELAY_H_ 1
  34:d:/WinAVR/avr/include/avr/delay.h **** 
  35:d:/WinAVR/avr/include/avr/delay.h **** #include <inttypes.h>
  36:d:/WinAVR/avr/include/avr/delay.h **** 
  37:d:/WinAVR/avr/include/avr/delay.h **** /* 8-bit count, 3 cycles/loop */
  38:d:/WinAVR/avr/include/avr/delay.h **** static __inline__ void
  39:d:/WinAVR/avr/include/avr/delay.h **** _delay_loop_1(uint8_t __count)
  40:d:/WinAVR/avr/include/avr/delay.h **** {
  41:d:/WinAVR/avr/include/avr/delay.h **** 	asm volatile (
  42:d:/WinAVR/avr/include/avr/delay.h **** 		"1: dec %0" "\n\t"
  43:d:/WinAVR/avr/include/avr/delay.h **** 		"brne 1b"
  44:d:/WinAVR/avr/include/avr/delay.h **** 		: "=r" (__count)
  45:d:/WinAVR/avr/include/avr/delay.h **** 		: "0" (__count)
  46:d:/WinAVR/avr/include/avr/delay.h **** 	);
  47:d:/WinAVR/avr/include/avr/delay.h **** }
  48:d:/WinAVR/avr/include/avr/delay.h **** 
  49:d:/WinAVR/avr/include/avr/delay.h **** /* 16-bit count, 4 cycles/loop */
  50:d:/WinAVR/avr/include/avr/delay.h **** static __inline__ void
  51:d:/WinAVR/avr/include/avr/delay.h **** _delay_loop_2(uint16_t __count)
  52:d:/WinAVR/avr/include/avr/delay.h **** {
 399               	.LM49:
 400               	/* prologue: frame size=2 */
 401 017e CF93      		push r28
 402 0180 DF93      		push r29
 403 0182 CDB7      		in r28,__SP_L__
 404 0184 DEB7      		in r29,__SP_H__
 405 0186 2297      		sbiw r28,2
 406 0188 0FB6      		in __tmp_reg__,__SREG__
 407 018a F894      		cli
 408 018c DEBF      		out __SP_H__,r29
 409 018e 0FBE      		out __SREG__,__tmp_reg__
 410 0190 CDBF      		out __SP_L__,r28
 411               	/* prologue end (size=10) */
 412 0192 8983      		std Y+1,r24
 413 0194 9A83      		std Y+2,r25
  53:d:/WinAVR/avr/include/avr/delay.h **** 	asm volatile (
 415               	.LM50:
 416 0196 8981      		ldd r24,Y+1
 417 0198 9A81      		ldd r25,Y+2
 418               	/* #APP */
 419 019a 0197      		1: sbiw r24,1
 420 019c F1F7      		brne 1b
 421               	/* #NOAPP */
 422 019e 8983      		std Y+1,r24
 423 01a0 9A83      		std Y+2,r25
  54:d:/WinAVR/avr/include/avr/delay.h **** 		"1: sbiw %0,1" "\n\t"
  55:d:/WinAVR/avr/include/avr/delay.h **** 		"brne 1b"
  56:d:/WinAVR/avr/include/avr/delay.h **** 		: "=w" (__count)
  57:d:/WinAVR/avr/include/avr/delay.h **** 		: "0" (__count)
  58:d:/WinAVR/avr/include/avr/delay.h **** 	);
  59:d:/WinAVR/avr/include/avr/delay.h **** }
 425               	.LM51:
 426               	/* epilogue: frame size=2 */
 427 01a2 2296      		adiw r28,2
 428 01a4 0FB6      		in __tmp_reg__,__SREG__
 429 01a6 F894      		cli
 430 01a8 DEBF      		out __SP_H__,r29
 431 01aa 0FBE      		out __SREG__,__tmp_reg__
 432 01ac CDBF      		out __SP_L__,r28
 433 01ae DF91      		pop r29
 434 01b0 CF91      		pop r28
 435 01b2 0895      		ret
 436               	/* epilogue end (size=9) */
 437               	/* function _delay_loop_2 size 29 (10) */
 439               	.Lscope3:
 441               		.text
 443               	Letext:
 444               	/* File "iotxd.c": code  220 = 0x00dc ( 159), prologues  34, epilogues  27 */
DEFINED SYMBOLS
                            *ABS*:00000000 iotxd.c
                            *ABS*:0000003f __SREG__
                            *ABS*:0000003e __SP_H__
                            *ABS*:0000003d __SP_L__
                            *ABS*:00000000 __tmp_reg__
                            *ABS*:00000001 __zero_reg__
C:\DOCUME~1\XIAOR\LOCALS~1\Temp/ccELcaaa.s:62     .text:00000000 delay_ms
C:\DOCUME~1\XIAOR\LOCALS~1\Temp/ccELcaaa.s:395    .text:0000017e _delay_loop_2
C:\DOCUME~1\XIAOR\LOCALS~1\Temp/ccELcaaa.s:133    .text:00000052 io_uart_TXD
C:\DOCUME~1\XIAOR\LOCALS~1\Temp/ccELcaaa.s:244    .text:000000e2 main
C:\DOCUME~1\XIAOR\LOCALS~1\Temp/ccELcaaa.s:443    .text:000001b4 Letext

UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
__stack

⌨️ 快捷键说明

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