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

📄 12ul_demo.lss

📁 基于AVR单片机的12段LED管灯控制程序
💻 LSS
📖 第 1 页 / 共 4 页
字号:
 3e8:	ff 1f       	adc	r31, r31
 3ea:	e8 0f       	add	r30, r24
 3ec:	f9 1f       	adc	r31, r25
 3ee:	e0 5a       	subi	r30, 0xA0	; 160
 3f0:	ff 4f       	sbci	r31, 0xFF	; 255
 3f2:	82 81       	ldd	r24, Z+2	; 0x02
 3f4:	28 2f       	mov	r18, r24
 3f6:	33 27       	eor	r19, r19
 3f8:	81 81       	ldd	r24, Z+1	; 0x01
 3fa:	48 2f       	mov	r20, r24
 3fc:	55 27       	eor	r21, r21
 3fe:	80 81       	ld	r24, Z
 400:	99 27       	eor	r25, r25
 402:	bc 01       	movw	r22, r24
 404:	c7 01       	movw	r24, r14
 406:	2f df       	rcall	.-418    	; 0x266
 408:	21 96       	adiw	r28, 0x01	; 1
 40a:	ca 15       	cp	r28, r10
 40c:	db 05       	cpc	r29, r11
 40e:	30 f3       	brcs	.-52     	; 0x3dc
 410:	91 98       	cbi	0x12, 1	; 18
 412:	08 94       	sec
 414:	e1 1c       	adc	r14, r1
 416:	f1 1c       	adc	r15, r1
 418:	80 e1       	ldi	r24, 0x10	; 16
 41a:	e8 16       	cp	r14, r24
 41c:	f1 04       	cpc	r15, r1
 41e:	a0 f2       	brcs	.-88     	; 0x3c8
 420:	08 94       	sec
 422:	c1 1c       	adc	r12, r1
 424:	d1 1c       	adc	r13, r1
 426:	cb cf       	rjmp	.-106    	; 0x3be
 428:	0f 5f       	subi	r16, 0xFF	; 255
 42a:	1f 4f       	sbci	r17, 0xFF	; 255
 42c:	08 31       	cpi	r16, 0x18	; 24
 42e:	11 05       	cpc	r17, r1
 430:	20 f2       	brcs	.-120    	; 0x3ba
 432:	df 91       	pop	r29
 434:	cf 91       	pop	r28
 436:	1f 91       	pop	r17
 438:	0f 91       	pop	r16
 43a:	ff 90       	pop	r15
 43c:	ef 90       	pop	r14
 43e:	df 90       	pop	r13
 440:	cf 90       	pop	r12
 442:	bf 90       	pop	r11
 444:	af 90       	pop	r10
 446:	9f 90       	pop	r9
 448:	8f 90       	pop	r8
 44a:	08 95       	ret

0000044c <Play_24ColorStaAsh>:
}

/*==========================================================================
Function: play BmpAsh.
----------------------------------------------------------------------------*/ 
void  Play_24ColorStaAsh(WORD wStaAshTime)
{
 44c:	cf 92       	push	r12
 44e:	df 92       	push	r13
 450:	ef 92       	push	r14
 452:	ff 92       	push	r15
 454:	0f 93       	push	r16
 456:	1f 93       	push	r17
 458:	cf 93       	push	r28
 45a:	df 93       	push	r29
 45c:	6c 01       	movw	r12, r24
    WORD wi, wloop, wxdots;
	for(wloop = 0; wloop < wStaAshTime; wloop++)
 45e:	ee 24       	eor	r14, r14
 460:	ff 24       	eor	r15, r15
 462:	e8 16       	cp	r14, r24
 464:	f9 06       	cpc	r15, r25
 466:	10 f5       	brcc	.+68     	; 0x4ac
	    {
        for(wi = 0; wi < BASH16; wi++)
 468:	00 e0       	ldi	r16, 0x00	; 0
 46a:	10 e0       	ldi	r17, 0x00	; 0
   	        {
   	        Set_Stb();
 46c:	91 9a       	sbi	0x12, 1	; 18
 46e:	c0 e6       	ldi	r28, 0x60	; 96
 470:	d0 e0       	ldi	r29, 0x00	; 0
	        for(wxdots = 0; wxdots < 24; wxdots++)
		        {
			    SendOneDotAshColorData(wi, bAshRgb[wxdots*3+0], bAshRgb[wxdots*3+1], bAshRgb[wxdots*3+2]);
 472:	8a 81       	ldd	r24, Y+2	; 0x02
 474:	28 2f       	mov	r18, r24
 476:	33 27       	eor	r19, r19
 478:	89 81       	ldd	r24, Y+1	; 0x01
 47a:	48 2f       	mov	r20, r24
 47c:	55 27       	eor	r21, r21
 47e:	88 81       	ld	r24, Y
 480:	99 27       	eor	r25, r25
 482:	bc 01       	movw	r22, r24
 484:	c8 01       	movw	r24, r16
 486:	ef de       	rcall	.-546    	; 0x266
 488:	23 96       	adiw	r28, 0x03	; 3
 48a:	80 e0       	ldi	r24, 0x00	; 0
 48c:	c5 3a       	cpi	r28, 0xA5	; 165
 48e:	d8 07       	cpc	r29, r24
 490:	81 f3       	breq	.-32     	; 0x472
 492:	78 f3       	brcs	.-34     	; 0x472
		        }
	        Clr_Stb();
 494:	91 98       	cbi	0x12, 1	; 18
 496:	0f 5f       	subi	r16, 0xFF	; 255
 498:	1f 4f       	sbci	r17, 0xFF	; 255
 49a:	00 31       	cpi	r16, 0x10	; 16
 49c:	11 05       	cpc	r17, r1
 49e:	30 f3       	brcs	.-52     	; 0x46c
 4a0:	08 94       	sec
 4a2:	e1 1c       	adc	r14, r1
 4a4:	f1 1c       	adc	r15, r1
 4a6:	ec 14       	cp	r14, r12
 4a8:	fd 04       	cpc	r15, r13
 4aa:	f0 f2       	brcs	.-68     	; 0x468
 4ac:	df 91       	pop	r29
 4ae:	cf 91       	pop	r28
 4b0:	1f 91       	pop	r17
 4b2:	0f 91       	pop	r16
 4b4:	ff 90       	pop	r15
 4b6:	ef 90       	pop	r14
 4b8:	df 90       	pop	r13
 4ba:	cf 90       	pop	r12
 4bc:	08 95       	ret

000004be <IntProlog>:
 4be:	df 93       	push	r29
 4c0:	cf 93       	push	r28
 4c2:	bf 93       	push	r27
 4c4:	af 93       	push	r26
 4c6:	9f 93       	push	r25
 4c8:	d1 e0       	ldi	r29, 0x01	; 1
 4ca:	c4 e0       	ldi	r28, 0x04	; 4
 4cc:	9f b7       	in	r25, 0x3f	; 63
 4ce:	ae 81       	ldd	r26, Y+6	; 0x06
 4d0:	af 5f       	subi	r26, 0xFF	; 255
 4d2:	ae 83       	std	Y+6, r26	; 0x06
 4d4:	60 f0       	brcs	.+24     	; 0x4ee
 4d6:	aa 81       	ldd	r26, Y+2	; 0x02
 4d8:	bb 81       	ldd	r27, Y+3	; 0x03
 4da:	ba 2b       	or	r27, r26
 4dc:	41 f4       	brne	.+16     	; 0x4ee
 4de:	cd b7       	in	r28, 0x3d	; 61
 4e0:	de b7       	in	r29, 0x3e	; 62
 4e2:	fe 81       	ldd	r31, Y+6	; 0x06
 4e4:	ef 81       	ldd	r30, Y+7	; 0x07
 4e6:	29 96       	adiw	r28, 0x09	; 9
 4e8:	cd bf       	out	0x3d, r28	; 61
 4ea:	de bf       	out	0x3e, r29	; 62
 4ec:	09 94       	ijmp

000004ee <SaveContext>:
 4ee:	8f 93       	push	r24
 4f0:	7f 93       	push	r23
 4f2:	6f 93       	push	r22
 4f4:	5f 93       	push	r21
 4f6:	4f 93       	push	r20
 4f8:	3f 93       	push	r19
 4fa:	2f 93       	push	r18
 4fc:	1f 93       	push	r17
 4fe:	0f 93       	push	r16
 500:	ff 92       	push	r15
 502:	ef 92       	push	r14
 504:	df 92       	push	r13
 506:	cf 92       	push	r12
 508:	bf 92       	push	r11
 50a:	af 92       	push	r10
 50c:	9f 92       	push	r9
 50e:	8f 92       	push	r8
 510:	7f 92       	push	r7
 512:	6f 92       	push	r6
 514:	5f 92       	push	r5
 516:	4f 92       	push	r4
 518:	3f 92       	push	r3
 51a:	2f 92       	push	r2
 51c:	1f 92       	push	r1
 51e:	0f 92       	push	r0
 520:	9f 93       	push	r25
 522:	cd b7       	in	r28, 0x3d	; 61
 524:	de b7       	in	r29, 0x3e	; 62
 526:	9b 8d       	ldd	r25, Y+27	; 0x1b
 528:	39 a1       	ldd	r19, Y+33	; 0x21
 52a:	48 a1       	ldd	r20, Y+32	; 0x20
 52c:	e8 a3       	std	Y+32, r30	; 0x20
 52e:	f9 a3       	std	Y+33, r31	; 0x21
 530:	a0 e0       	ldi	r26, 0x00	; 0
 532:	0a 2e       	mov	r0, r26
 534:	c0 f0       	brcs	.+48     	; 0x566
 536:	f1 e0       	ldi	r31, 0x01	; 1
 538:	e4 e0       	ldi	r30, 0x04	; 4
 53a:	d3 81       	ldd	r29, Z+3	; 0x03
 53c:	c2 81       	ldd	r28, Z+2	; 0x02
 53e:	be b7       	in	r27, 0x3e	; 62
 540:	ad b7       	in	r26, 0x3d	; 61
 542:	bd 83       	std	Y+5, r27	; 0x05
 544:	ac 83       	std	Y+4, r26	; 0x04
 546:	2a 81       	ldd	r18, Y+2	; 0x02
 548:	27 ff       	sbrs	r18, 7
 54a:	07 c0       	rjmp	.+14     	; 0x55a
 54c:	19 80       	ldd	r1, Y+1	; 0x01
 54e:	11 82       	std	Z+1, r1	; 0x01
 550:	18 80       	ld	r1, Y
 552:	10 82       	st	Z, r1
 554:	02 2e       	mov	r0, r18
 556:	2f 77       	andi	r18, 0x7F	; 127
 558:	2a 83       	std	Y+2, r18	; 0x02

0000055a <SkipDequeue>:
 55a:	24 81       	ldd	r18, Z+4	; 0x04
 55c:	2d bf       	out	0x3d, r18	; 61
 55e:	25 81       	ldd	r18, Z+5	; 0x05
 560:	2e bf       	out	0x3e, r18	; 62
 562:	ca 2f       	mov	r28, r26
 564:	db 2f       	mov	r29, r27

00000566 <AlreadyInKernel>:
 566:	11 24       	eor	r1, r1
 568:	e3 2f       	mov	r30, r19
 56a:	f4 2f       	mov	r31, r20
 56c:	09 94       	ijmp

0000056e <Epilog>:
 56e:	ef 91       	pop	r30
 570:	ef 91       	pop	r30

00000572 <_Epilog>:
 572:	e4 e0       	ldi	r30, 0x04	; 4
 574:	f1 e0       	ldi	r31, 0x01	; 1
 576:	f8 94       	cli
 578:	06 81       	ldd	r16, Z+6	; 0x06
 57a:	0a 95       	dec	r16
 57c:	06 83       	std	Z+6, r16	; 0x06
 57e:	6c f4       	brge	.+26     	; 0x59a
 580:	d1 81       	ldd	r29, Z+1	; 0x01
 582:	c0 81       	ld	r28, Z
 584:	d3 83       	std	Z+3, r29	; 0x03
 586:	c2 83       	std	Z+2, r28	; 0x02
 588:	20 96       	adiw	r28, 0x00	; 0
 58a:	51 f1       	breq	.+84     	; 0x5e0
 58c:	bd 81       	ldd	r27, Y+5	; 0x05
 58e:	ac 81       	ldd	r26, Y+4	; 0x04
 590:	ad bf       	out	0x3d, r26	; 61
 592:	be bf       	out	0x3e, r27	; 62
 594:	0a 80       	ldd	r0, Y+2	; 0x02
 596:	07 fc       	sbrc	r0, 7
 598:	fb d0       	rcall	.+502    	; 0x790

0000059a <SkipTaskSwap>:
 59a:	0f 90       	pop	r0
 59c:	0f be       	out	0x3f, r0	; 63
 59e:	0f 90       	pop	r0
 5a0:	1f 90       	pop	r1
 5a2:	2f 90       	pop	r2
 5a4:	3f 90       	pop	r3
 5a6:	4f 90       	pop	r4
 5a8:	5f 90       	pop	r5
 5aa:	6f 90       	pop	r6
 5ac:	7f 90       	pop	r7
 5ae:	8f 90       	pop	r8
 5b0:	9f 90       	pop	r9
 5b2:	af 90       	pop	r10
 5b4:	bf 90       	pop	r11
 5b6:	cf 90       	pop	r12
 5b8:	df 90       	pop	r13
 5ba:	ef 90       	pop	r14
 5bc:	ff 90       	pop	r15
 5be:	0f 91       	pop	r16
 5c0:	1f 91       	pop	r17
 5c2:	2f 91       	pop	r18
 5c4:	3f 91       	pop	r19
 5c6:	4f 91       	pop	r20
 5c8:	5f 91       	pop	r21
 5ca:	6f 91       	pop	r22
 5cc:	7f 91       	pop	r23
 5ce:	8f 91       	pop	r24
 5d0:	9f 91       	pop	r25
 5d2:	af 91       	pop	r26
 5d4:	bf 91       	pop	r27
 5d6:	cf 91       	pop	r28
 5d8:	df 91       	pop	r29
 5da:	ef 91       	pop	r30
 5dc:	ff 91       	pop	r31
 5de:	18 95       	reti

000005e0 <_IdleTask>:
 5e0:	78 94       	sei
 5e2:	88 95       	sleep

000005e4 <snooze>:
 5e4:	fd cf       	rjmp	.-6      	; 0x5e0

000005e6 <AvrXSetKernelStack>:
 5e6:	ff 91       	pop	r31
 5e8:	ef 91       	pop	r30
 5ea:	80 50       	subi	r24, 0x00	; 0
 5ec:	90 40       	sbci	r25, 0x00	; 0
 5ee:	11 f4       	brne	.+4      	; 0x5f4
 5f0:	8d b7       	in	r24, 0x3d	; 61
 5f2:	9e b7       	in	r25, 0x3e	; 62

000005f4 <sks1>:
 5f4:	80 93 08 01 	sts	0x0108, r24
 5f8:	90 93 09 01 	sts	0x0109, r25
 5fc:	09 94       	ijmp

000005fe <AvrXRunTask>:
 5fe:	01 d0       	rcall	.+2      	; 0x602
 600:	23 c0       	rjmp	.+70     	; 0x648

00000602 <AvrXInitTask>:
 602:	e8 2f       	mov	r30, r24
 604:	f9 2f       	mov	r31, r25
 606:	1d d0       	rcall	.+58     	; 0x642
 608:	a0 2d       	mov	r26, r0
 60a:	1b d0       	rcall	.+54     	; 0x642
 60c:	b0 2d       	mov	r27, r0
 60e:	19 d0       	rcall	.+50     	; 0x642
 610:	0c 92       	st	X, r0
 612:	17 d0       	rcall	.+46     	; 0x642
 614:	0e 92       	st	-X, r0
 616:	40 e0       	ldi	r20, 0x00	; 0
 618:	40 e0       	ldi	r20, 0x00	; 0
 61a:	51 e2       	ldi	r21, 0x21	; 33

0000061c <PushRegisters>:
 61c:	4e 93       	st	-X, r20
 61e:	5a 95       	dec	r21
 620:	e9 f7       	brne	.-6      	; 0x61c
 622:	11 97       	sbiw	r26, 0x01	; 1
 624:	0e d0       	rcall	.+28     	; 0x642
 626:	80 2d       	mov	r24, r0
 628:	0c d0       	rcall	.+24     	; 0x642
 62a:	90 2d       	mov	r25, r0
 62c:	0a d0       	rcall	.+20     	; 0x642
 62e:	e8 2f       	mov	r30, r24
 630:	f9 2f       	mov	r31, r25
 632:	a4 83       	std	Z+4, r26	; 0x04
 634:	b5 83       	std	Z+5, r27	; 0x05
 636:	03 82       	std	Z+3, r0	; 0x03
 638:	a0 e6       	ldi	r26, 0x60	; 96
 63a:	a2 83       	std	Z+2, r26	; 0x02
 63c:	41 83       	std	Z+1, r20	; 0x01
 63e:	40 83       	st	Z, r20
 640:	08 95       	ret

00000642 <lpm_inc>:
 642:	c8 95       	lpm
 644:	31 96       	adiw	r30, 0x01	; 1
 646:	08 95       	ret

00000648 <AvrXResume>:
 648:	f8 94       	cli
 64a:	39 df       	rcall	.-398    	; 0x4be
 64c:	78 94       	sei
 64e:	e8 2f       	mov	r30, r24
 650:	f9 2f       	mov	r31, r25
 652:	22 81       	ldd	r18, Z+2	; 0x02
 654:	2f 7d       	andi	r18, 0xDF	; 223
 656:	22 83       	std	Z+2, r18	; 0x02
 658:	26 ff       	sbrs	r18, 6
 65a:	03 c0       	rjmp	.+6      	; 0x662
 65c:	2f 7b       	andi	r18, 0xBF	; 191
 65e:	22 83       	std	Z+2, r18	; 0x02
 660:	01 d0       	rcall	.+2      	; 0x664

00000662 <ar00>:
 662:	87 cf       	rjmp	.-242    	; 0x572

00000664 <_QueuePid>:
 664:	e8 2f       	mov	r30, r24
 666:	f9 2f       	mov	r31, r25
 668:	3f ef       	ldi	r19, 0xFF	; 255
 66a:	22 81       	ldd	r18, Z+2	; 0x02
 66c:	20 73       	andi	r18, 0x30	; 48
 66e:	d1 f4       	brne	.+52     	; 0x6a4
 670:	cf 93       	push	r28
 672:	2d 2f       	mov	r18, r29
 674:	43 81       	ldd	r20, Z+3	; 0x03
 676:	c4 e0       	ldi	r28, 0x04	; 4
 678:	d1 e0       	ldi	r29, 0x01	; 1
 67a:	f8 94       	cli

0000067c <_qp00>:
 67c:	33 95       	inc	r19
 67e:	ec 2f       	mov	r30, r28
 680:	fd 2f       	mov	r31, r29
 682:	c0 81       	ld	r28, Z
 684:	d1 81       	ldd	r29, Z+1	; 0x01

⌨️ 快捷键说明

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