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

📄 led_matrix1.lst

📁 1. LED点阵依次显示绿色
💻 LST
字号:

LED_MATRIX1.elf:     file format elf32-avr

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .data         00000018  00800100  0000023c  000002d0  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  1 .text         0000023c  00000000  00000000  00000094  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .bss          00000010  00800118  00800118  000002e8  2**0
                  ALLOC
  3 .noinit       00000000  00800128  00800128  000002e8  2**0
                  CONTENTS
  4 .eeprom       00000000  00810000  00810000  000002e8  2**0
                  CONTENTS
  5 .debug_aranges 00000014  00000000  00000000  000002e8  2**0
                  CONTENTS, READONLY, DEBUGGING
  6 .debug_pubnames 00000097  00000000  00000000  000002fc  2**0
                  CONTENTS, READONLY, DEBUGGING
  7 .debug_info   00000209  00000000  00000000  00000393  2**0
                  CONTENTS, READONLY, DEBUGGING
  8 .debug_abbrev 000000d7  00000000  00000000  0000059c  2**0
                  CONTENTS, READONLY, DEBUGGING
  9 .debug_line   00000150  00000000  00000000  00000673  2**0
                  CONTENTS, READONLY, DEBUGGING
 10 .debug_str    000000da  00000000  00000000  000007c3  2**0
                  CONTENTS, READONLY, DEBUGGING
Disassembly of section .text:

00000000 <__vectors>:
   0:	0c 94 46 00 	jmp	0x8c
   4:	0c 94 63 00 	jmp	0xc6
   8:	0c 94 63 00 	jmp	0xc6
   c:	0c 94 63 00 	jmp	0xc6
  10:	0c 94 63 00 	jmp	0xc6
  14:	0c 94 63 00 	jmp	0xc6
  18:	0c 94 63 00 	jmp	0xc6
  1c:	0c 94 63 00 	jmp	0xc6
  20:	0c 94 63 00 	jmp	0xc6
  24:	0c 94 63 00 	jmp	0xc6
  28:	0c 94 63 00 	jmp	0xc6
  2c:	0c 94 63 00 	jmp	0xc6
  30:	0c 94 63 00 	jmp	0xc6
  34:	0c 94 63 00 	jmp	0xc6
  38:	0c 94 63 00 	jmp	0xc6
  3c:	0c 94 63 00 	jmp	0xc6
  40:	0c 94 63 00 	jmp	0xc6
  44:	0c 94 63 00 	jmp	0xc6
  48:	0c 94 63 00 	jmp	0xc6
  4c:	0c 94 63 00 	jmp	0xc6
  50:	0c 94 63 00 	jmp	0xc6
  54:	0c 94 63 00 	jmp	0xc6
  58:	0c 94 63 00 	jmp	0xc6
  5c:	0c 94 63 00 	jmp	0xc6
  60:	0c 94 63 00 	jmp	0xc6
  64:	0c 94 63 00 	jmp	0xc6
  68:	0c 94 63 00 	jmp	0xc6
  6c:	0c 94 63 00 	jmp	0xc6
  70:	0c 94 63 00 	jmp	0xc6
  74:	0c 94 63 00 	jmp	0xc6
  78:	0c 94 63 00 	jmp	0xc6
  7c:	0c 94 63 00 	jmp	0xc6
  80:	0c 94 63 00 	jmp	0xc6
  84:	0c 94 63 00 	jmp	0xc6
  88:	0c 94 63 00 	jmp	0xc6

0000008c <__ctors_end>:
  8c:	11 24       	eor	r1, r1
  8e:	1f be       	out	0x3f, r1	; 63
  90:	cf ef       	ldi	r28, 0xFF	; 255
  92:	d0 e1       	ldi	r29, 0x10	; 16
  94:	de bf       	out	0x3e, r29	; 62
  96:	cd bf       	out	0x3d, r28	; 61

00000098 <__do_copy_data>:
  98:	11 e0       	ldi	r17, 0x01	; 1
  9a:	a0 e0       	ldi	r26, 0x00	; 0
  9c:	b1 e0       	ldi	r27, 0x01	; 1
  9e:	ec e3       	ldi	r30, 0x3C	; 60
  a0:	f2 e0       	ldi	r31, 0x02	; 2
  a2:	00 e0       	ldi	r16, 0x00	; 0
  a4:	0b bf       	out	0x3b, r16	; 59
  a6:	02 c0       	rjmp	.+4      	; 0xac

000000a8 <.__do_copy_data_loop>:
  a8:	07 90       	elpm	r0, Z+
  aa:	0d 92       	st	X+, r0

000000ac <.__do_copy_data_start>:
  ac:	a8 31       	cpi	r26, 0x18	; 24
  ae:	b1 07       	cpc	r27, r17
  b0:	d9 f7       	brne	.-10     	; 0xa8

000000b2 <__do_clear_bss>:
  b2:	11 e0       	ldi	r17, 0x01	; 1
  b4:	a8 e1       	ldi	r26, 0x18	; 24
  b6:	b1 e0       	ldi	r27, 0x01	; 1
  b8:	01 c0       	rjmp	.+2      	; 0xbc

000000ba <.do_clear_bss_loop>:
  ba:	1d 92       	st	X+, r1

000000bc <.do_clear_bss_start>:
  bc:	a8 32       	cpi	r26, 0x28	; 40
  be:	b1 07       	cpc	r27, r17
  c0:	e1 f7       	brne	.-8      	; 0xba
  c2:	0c 94 e1 00 	jmp	0x1c2

000000c6 <__bad_interrupt>:
  c6:	0c 94 00 00 	jmp	0x0

000000ca <initialize_ppi>:
  }

void initialize_ppi(void)
{
     line=PPI_0_PA;
  ca:	80 e0       	ldi	r24, 0x00	; 0
  cc:	90 e5       	ldi	r25, 0x50	; 80
  ce:	90 93 21 01 	sts	0x0121, r25
  d2:	80 93 20 01 	sts	0x0120, r24
     green=PPI_0_PB;
  d6:	81 e0       	ldi	r24, 0x01	; 1
  d8:	90 e5       	ldi	r25, 0x50	; 80
  da:	90 93 23 01 	sts	0x0123, r25
  de:	80 93 22 01 	sts	0x0122, r24
     red=PPI_0_PC;
  e2:	82 e0       	ldi	r24, 0x02	; 2
  e4:	90 e5       	ldi	r25, 0x50	; 80
  e6:	90 93 25 01 	sts	0x0125, r25
  ea:	80 93 24 01 	sts	0x0124, r24
     ppi_ctrl=PPI_0_CT;
  ee:	83 e0       	ldi	r24, 0x03	; 3
  f0:	90 e5       	ldi	r25, 0x50	; 80
  f2:	90 93 27 01 	sts	0x0127, r25
  f6:	80 93 26 01 	sts	0x0126, r24
     *ppi_ctrl=0x80;                       // 82C55 A, B组都是输出
  fa:	80 e8       	ldi	r24, 0x80	; 128
  fc:	80 93 03 50 	sts	0x5003, r24
 100:	08 95       	ret

00000102 <delay>:
 102:	18 16       	cp	r1, r24
 104:	19 06       	cpc	r1, r25
 106:	4c f4       	brge	.+18     	; 0x11a
 108:	16 16       	cp	r1, r22
 10a:	17 06       	cpc	r1, r23
 10c:	24 f4       	brge	.+8      	; 0x116
 10e:	9b 01       	movw	r18, r22
 110:	21 50       	subi	r18, 0x01	; 1
 112:	30 40       	sbci	r19, 0x00	; 0
 114:	e9 f7       	brne	.-6      	; 0x110
 116:	01 97       	sbiw	r24, 0x01	; 1
 118:	b9 f7       	brne	.-18     	; 0x108
 11a:	08 95       	ret

0000011c <display>:
 11c:	6f 92       	push	r6
 11e:	7f 92       	push	r7
 120:	8f 92       	push	r8
 122:	9f 92       	push	r9
 124:	af 92       	push	r10
 126:	bf 92       	push	r11
 128:	cf 92       	push	r12
 12a:	df 92       	push	r13
 12c:	ef 92       	push	r14
 12e:	ff 92       	push	r15
 130:	0f 93       	push	r16
 132:	1f 93       	push	r17
 134:	cf 93       	push	r28
 136:	df 93       	push	r29
 138:	3c 01       	movw	r6, r24
 13a:	4b 01       	movw	r8, r22
 13c:	cc 24       	eor	r12, r12
 13e:	91 e0       	ldi	r25, 0x01	; 1
 140:	a9 2e       	mov	r10, r25
 142:	b1 2c       	mov	r11, r1
 144:	74 01       	movw	r14, r8
 146:	83 01       	movw	r16, r6
 148:	c0 e0       	ldi	r28, 0x00	; 0
 14a:	d0 e0       	ldi	r29, 0x00	; 0
 14c:	87 e0       	ldi	r24, 0x07	; 7
 14e:	d8 2e       	mov	r13, r24
 150:	e0 91 22 01 	lds	r30, 0x0122
 154:	f0 91 23 01 	lds	r31, 0x0123
 158:	d8 01       	movw	r26, r16
 15a:	8d 91       	ld	r24, X+
 15c:	8d 01       	movw	r16, r26
 15e:	80 83       	st	Z, r24
 160:	e0 91 24 01 	lds	r30, 0x0124
 164:	f0 91 25 01 	lds	r31, 0x0125
 168:	d7 01       	movw	r26, r14
 16a:	8d 91       	ld	r24, X+
 16c:	7d 01       	movw	r14, r26
 16e:	80 83       	st	Z, r24
 170:	e0 91 20 01 	lds	r30, 0x0120
 174:	f0 91 21 01 	lds	r31, 0x0121
 178:	c5 01       	movw	r24, r10
 17a:	0c 2e       	mov	r0, r28
 17c:	02 c0       	rjmp	.+4      	; 0x182
 17e:	88 0f       	add	r24, r24
 180:	99 1f       	adc	r25, r25
 182:	0a 94       	dec	r0
 184:	e2 f7       	brpl	.-8      	; 0x17e
 186:	80 83       	st	Z, r24
 188:	66 e4       	ldi	r22, 0x46	; 70
 18a:	70 e0       	ldi	r23, 0x00	; 0
 18c:	84 e6       	ldi	r24, 0x64	; 100
 18e:	90 e0       	ldi	r25, 0x00	; 0
 190:	0e 94 81 00 	call	0x102
 194:	da 94       	dec	r13
 196:	21 96       	adiw	r28, 0x01	; 1
 198:	d7 fe       	sbrs	r13, 7
 19a:	da cf       	rjmp	.-76     	; 0x150
 19c:	c3 94       	inc	r12
 19e:	b3 e6       	ldi	r27, 0x63	; 99
 1a0:	bc 15       	cp	r27, r12
 1a2:	80 f6       	brcc	.-96     	; 0x144
 1a4:	df 91       	pop	r29
 1a6:	cf 91       	pop	r28
 1a8:	1f 91       	pop	r17
 1aa:	0f 91       	pop	r16
 1ac:	ff 90       	pop	r15
 1ae:	ef 90       	pop	r14
 1b0:	df 90       	pop	r13
 1b2:	cf 90       	pop	r12
 1b4:	bf 90       	pop	r11
 1b6:	af 90       	pop	r10
 1b8:	9f 90       	pop	r9
 1ba:	8f 90       	pop	r8
 1bc:	7f 90       	pop	r7
 1be:	6f 90       	pop	r6
 1c0:	08 95       	ret

000001c2 <main>:
 1c2:	cf ef       	ldi	r28, 0xFF	; 255
 1c4:	d0 e1       	ldi	r29, 0x10	; 16
 1c6:	de bf       	out	0x3e, r29	; 62
 1c8:	cd bf       	out	0x3d, r28	; 61
 1ca:	85 b7       	in	r24, 0x35	; 53
 1cc:	80 68       	ori	r24, 0x80	; 128
 1ce:	85 bf       	out	0x35, r24	; 53
 1d0:	0e 94 65 00 	call	0xca
 1d4:	68 e1       	ldi	r22, 0x18	; 24
 1d6:	71 e0       	ldi	r23, 0x01	; 1
 1d8:	80 e1       	ldi	r24, 0x10	; 16
 1da:	91 e0       	ldi	r25, 0x01	; 1
 1dc:	0e 94 8e 00 	call	0x11c
 1e0:	68 e1       	ldi	r22, 0x18	; 24
 1e2:	71 e0       	ldi	r23, 0x01	; 1
 1e4:	88 e0       	ldi	r24, 0x08	; 8
 1e6:	91 e0       	ldi	r25, 0x01	; 1
 1e8:	0e 94 8e 00 	call	0x11c
 1ec:	68 e1       	ldi	r22, 0x18	; 24
 1ee:	71 e0       	ldi	r23, 0x01	; 1
 1f0:	80 e0       	ldi	r24, 0x00	; 0
 1f2:	91 e0       	ldi	r25, 0x01	; 1
 1f4:	0e 94 8e 00 	call	0x11c
 1f8:	60 e1       	ldi	r22, 0x10	; 16
 1fa:	71 e0       	ldi	r23, 0x01	; 1
 1fc:	88 e1       	ldi	r24, 0x18	; 24
 1fe:	91 e0       	ldi	r25, 0x01	; 1
 200:	0e 94 8e 00 	call	0x11c
 204:	68 e0       	ldi	r22, 0x08	; 8
 206:	71 e0       	ldi	r23, 0x01	; 1
 208:	88 e1       	ldi	r24, 0x18	; 24
 20a:	91 e0       	ldi	r25, 0x01	; 1
 20c:	0e 94 8e 00 	call	0x11c
 210:	60 e0       	ldi	r22, 0x00	; 0
 212:	71 e0       	ldi	r23, 0x01	; 1
 214:	88 e1       	ldi	r24, 0x18	; 24
 216:	91 e0       	ldi	r25, 0x01	; 1
 218:	0e 94 8e 00 	call	0x11c
 21c:	60 e1       	ldi	r22, 0x10	; 16
 21e:	71 e0       	ldi	r23, 0x01	; 1
 220:	cb 01       	movw	r24, r22
 222:	0e 94 8e 00 	call	0x11c
 226:	68 e0       	ldi	r22, 0x08	; 8
 228:	71 e0       	ldi	r23, 0x01	; 1
 22a:	cb 01       	movw	r24, r22
 22c:	0e 94 8e 00 	call	0x11c
 230:	60 e0       	ldi	r22, 0x00	; 0
 232:	71 e0       	ldi	r23, 0x01	; 1
 234:	cb 01       	movw	r24, r22
 236:	0e 94 8e 00 	call	0x11c
 23a:	cc cf       	rjmp	.-104    	; 0x1d4

⌨️ 快捷键说明

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