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

📄 main.lss

📁 AVR Mega88 + nRF24L01 wireless 2.4GHz >> Driver nRF24L01 >> AVRSTUDIO project
💻 LSS
📖 第 1 页 / 共 4 页
字号:
 44a:	8a 50       	subi	r24, 0x0A	; 10
 44c:	82 30       	cpi	r24, 0x02	; 2
 44e:	10 f0       	brcs	.+4      	; 0x454 <SPI_Send_command_with_ADDR+0x3e>
 450:	90 31       	cpi	r25, 0x10	; 16
 452:	d1 f4       	brne	.+52     	; 0x488 <SPI_Send_command_with_ADDR+0x72>
 454:	1e bd       	out	0x2e, r17	; 46
 456:	0d b4       	in	r0, 0x2d	; 45
 458:	07 fe       	sbrs	r0, 7
 45a:	fd cf       	rjmp	.-6      	; 0x456 <SPI_Send_command_with_ADDR+0x40>
 45c:	8e b5       	in	r24, 0x2e	; 46
 45e:	99 27       	eor	r25, r25
 460:	80 93 c0 01 	sts	0x01C0, r24
 464:	20 e0       	ldi	r18, 0x00	; 0
 466:	30 e0       	ldi	r19, 0x00	; 0
 468:	4f ef       	ldi	r20, 0xFF	; 255
 46a:	e9 eb       	ldi	r30, 0xB9	; 185
 46c:	f1 e0       	ldi	r31, 0x01	; 1
 46e:	4e bd       	out	0x2e, r20	; 46
 470:	0d b4       	in	r0, 0x2d	; 45
 472:	07 fe       	sbrs	r0, 7
 474:	fd cf       	rjmp	.-6      	; 0x470 <SPI_Send_command_with_ADDR+0x5a>
 476:	8e b5       	in	r24, 0x2e	; 46
 478:	99 27       	eor	r25, r25
 47a:	81 93       	st	Z+, r24
 47c:	2f 5f       	subi	r18, 0xFF	; 255
 47e:	3f 4f       	sbci	r19, 0xFF	; 255
 480:	25 30       	cpi	r18, 0x05	; 5
 482:	31 05       	cpc	r19, r1
 484:	a1 f7       	brne	.-24     	; 0x46e <SPI_Send_command_with_ADDR+0x58>
 486:	66 c0       	rjmp	.+204    	; 0x554 <__stack+0x55>
 488:	1e bd       	out	0x2e, r17	; 46
 48a:	0d b4       	in	r0, 0x2d	; 45
 48c:	07 fe       	sbrs	r0, 7
 48e:	fd cf       	rjmp	.-6      	; 0x48a <SPI_Send_command_with_ADDR+0x74>
 490:	8e b5       	in	r24, 0x2e	; 46
 492:	99 27       	eor	r25, r25
 494:	80 93 c0 01 	sts	0x01C0, r24
 498:	8f ef       	ldi	r24, 0xFF	; 255
 49a:	8e bd       	out	0x2e, r24	; 46
 49c:	0d b4       	in	r0, 0x2d	; 45
 49e:	07 fe       	sbrs	r0, 7
 4a0:	fd cf       	rjmp	.-6      	; 0x49c <SPI_Send_command_with_ADDR+0x86>
 4a2:	8e b5       	in	r24, 0x2e	; 46
 4a4:	5f 9a       	sbi	0x0b, 7	; 11
 4a6:	99 27       	eor	r25, r25
 4a8:	66 c0       	rjmp	.+204    	; 0x576 <__stack+0x77>
 4aa:	01 30       	cpi	r16, 0x01	; 1
 4ac:	19 f0       	breq	.+6      	; 0x4b4 <SPI_Send_command_with_ADDR+0x9e>
 4ae:	81 e0       	ldi	r24, 0x01	; 1
 4b0:	90 e0       	ldi	r25, 0x00	; 0
 4b2:	61 c0       	rjmp	.+194    	; 0x576 <__stack+0x77>
 4b4:	9a 30       	cpi	r25, 0x0A	; 10
 4b6:	c9 f4       	brne	.+50     	; 0x4ea <SPI_Send_command_with_ADDR+0xd4>
 4b8:	1e bd       	out	0x2e, r17	; 46
 4ba:	0d b4       	in	r0, 0x2d	; 45
 4bc:	07 fe       	sbrs	r0, 7
 4be:	fd cf       	rjmp	.-6      	; 0x4ba <SPI_Send_command_with_ADDR+0xa4>
 4c0:	8e b5       	in	r24, 0x2e	; 46
 4c2:	99 27       	eor	r25, r25
 4c4:	80 93 c0 01 	sts	0x01C0, r24
 4c8:	20 e0       	ldi	r18, 0x00	; 0
 4ca:	30 e0       	ldi	r19, 0x00	; 0
 4cc:	ef e3       	ldi	r30, 0x3F	; 63
 4ce:	f1 e0       	ldi	r31, 0x01	; 1
 4d0:	80 81       	ld	r24, Z
 4d2:	8e bd       	out	0x2e, r24	; 46
 4d4:	0d b4       	in	r0, 0x2d	; 45
 4d6:	07 fe       	sbrs	r0, 7
 4d8:	fd cf       	rjmp	.-6      	; 0x4d4 <SPI_Send_command_with_ADDR+0xbe>
 4da:	8e b5       	in	r24, 0x2e	; 46
 4dc:	2f 5f       	subi	r18, 0xFF	; 255
 4de:	3f 4f       	sbci	r19, 0xFF	; 255
 4e0:	31 96       	adiw	r30, 0x01	; 1
 4e2:	25 30       	cpi	r18, 0x05	; 5
 4e4:	31 05       	cpc	r19, r1
 4e6:	a1 f7       	brne	.-24     	; 0x4d0 <SPI_Send_command_with_ADDR+0xba>
 4e8:	35 c0       	rjmp	.+106    	; 0x554 <__stack+0x55>
 4ea:	9b 30       	cpi	r25, 0x0B	; 11
 4ec:	c9 f4       	brne	.+50     	; 0x520 <__stack+0x21>
 4ee:	1e bd       	out	0x2e, r17	; 46
 4f0:	0d b4       	in	r0, 0x2d	; 45
 4f2:	07 fe       	sbrs	r0, 7
 4f4:	fd cf       	rjmp	.-6      	; 0x4f0 <SPI_Send_command_with_ADDR+0xda>
 4f6:	8e b5       	in	r24, 0x2e	; 46
 4f8:	99 27       	eor	r25, r25
 4fa:	80 93 c0 01 	sts	0x01C0, r24
 4fe:	20 e0       	ldi	r18, 0x00	; 0
 500:	30 e0       	ldi	r19, 0x00	; 0
 502:	e4 e4       	ldi	r30, 0x44	; 68
 504:	f1 e0       	ldi	r31, 0x01	; 1
 506:	80 81       	ld	r24, Z
 508:	8e bd       	out	0x2e, r24	; 46
 50a:	0d b4       	in	r0, 0x2d	; 45
 50c:	07 fe       	sbrs	r0, 7
 50e:	fd cf       	rjmp	.-6      	; 0x50a <__stack+0xb>
 510:	8e b5       	in	r24, 0x2e	; 46
 512:	2f 5f       	subi	r18, 0xFF	; 255
 514:	3f 4f       	sbci	r19, 0xFF	; 255
 516:	31 96       	adiw	r30, 0x01	; 1
 518:	25 30       	cpi	r18, 0x05	; 5
 51a:	31 05       	cpc	r19, r1
 51c:	a1 f7       	brne	.-24     	; 0x506 <__stack+0x7>
 51e:	1a c0       	rjmp	.+52     	; 0x554 <__stack+0x55>
 520:	90 31       	cpi	r25, 0x10	; 16
 522:	e1 f4       	brne	.+56     	; 0x55c <__stack+0x5d>
 524:	1e bd       	out	0x2e, r17	; 46
 526:	0d b4       	in	r0, 0x2d	; 45
 528:	07 fe       	sbrs	r0, 7
 52a:	fd cf       	rjmp	.-6      	; 0x526 <__stack+0x27>
 52c:	8e b5       	in	r24, 0x2e	; 46
 52e:	99 27       	eor	r25, r25
 530:	80 93 c0 01 	sts	0x01C0, r24
 534:	20 e0       	ldi	r18, 0x00	; 0
 536:	30 e0       	ldi	r19, 0x00	; 0
 538:	e9 e4       	ldi	r30, 0x49	; 73
 53a:	f1 e0       	ldi	r31, 0x01	; 1
 53c:	80 81       	ld	r24, Z
 53e:	8e bd       	out	0x2e, r24	; 46
 540:	0d b4       	in	r0, 0x2d	; 45
 542:	07 fe       	sbrs	r0, 7
 544:	fd cf       	rjmp	.-6      	; 0x540 <__stack+0x41>
 546:	8e b5       	in	r24, 0x2e	; 46
 548:	2f 5f       	subi	r18, 0xFF	; 255
 54a:	3f 4f       	sbci	r19, 0xFF	; 255
 54c:	31 96       	adiw	r30, 0x01	; 1
 54e:	25 30       	cpi	r18, 0x05	; 5
 550:	31 05       	cpc	r19, r1
 552:	a1 f7       	brne	.-24     	; 0x53c <__stack+0x3d>
 554:	5f 9a       	sbi	0x0b, 7	; 11
 556:	80 91 c0 01 	lds	r24, 0x01C0
 55a:	a5 cf       	rjmp	.-182    	; 0x4a6 <SPI_Send_command_with_ADDR+0x90>
 55c:	1e bd       	out	0x2e, r17	; 46
 55e:	0d b4       	in	r0, 0x2d	; 45
 560:	07 fe       	sbrs	r0, 7
 562:	fd cf       	rjmp	.-6      	; 0x55e <__stack+0x5f>
 564:	9e b5       	in	r25, 0x2e	; 46
 566:	fe bc       	out	0x2e, r15	; 46
 568:	0d b4       	in	r0, 0x2d	; 45
 56a:	07 fe       	sbrs	r0, 7
 56c:	fd cf       	rjmp	.-6      	; 0x568 <__stack+0x69>
 56e:	8e b5       	in	r24, 0x2e	; 46
 570:	5f 9a       	sbi	0x0b, 7	; 11
 572:	89 2f       	mov	r24, r25
 574:	99 27       	eor	r25, r25
 576:	21 96       	adiw	r28, 0x01	; 1
 578:	0f b6       	in	r0, 0x3f	; 63
 57a:	f8 94       	cli
 57c:	de bf       	out	0x3e, r29	; 62
 57e:	0f be       	out	0x3f, r0	; 63
 580:	cd bf       	out	0x3d, r28	; 61
 582:	df 91       	pop	r29
 584:	cf 91       	pop	r28
 586:	1f 91       	pop	r17
 588:	0f 91       	pop	r16
 58a:	ff 90       	pop	r15
 58c:	08 95       	ret

0000058e <NRF_prepareForReceive>:
 58e:	4b e0       	ldi	r20, 0x0B	; 11
 590:	60 e0       	ldi	r22, 0x00	; 0
 592:	81 e0       	ldi	r24, 0x01	; 1
 594:	40 df       	rcall	.-384    	; 0x416 <SPI_Send_command_with_ADDR>
 596:	80 93 c0 01 	sts	0x01C0, r24
 59a:	08 95       	ret

0000059c <check_recieve_nrf24L01>:
 59c:	fc de       	rcall	.-520    	; 0x396 <CE_HIGH>
 59e:	4d 9b       	sbis	0x09, 5	; 9
 5a0:	03 c0       	rjmp	.+6      	; 0x5a8 <check_recieve_nrf24L01+0xc>
 5a2:	80 e0       	ldi	r24, 0x00	; 0
 5a4:	90 e0       	ldi	r25, 0x00	; 0
 5a6:	08 95       	ret
 5a8:	28 9a       	sbi	0x05, 0	; 5
 5aa:	6f ef       	ldi	r22, 0xFF	; 255
 5ac:	8f ef       	ldi	r24, 0xFF	; 255
 5ae:	fd de       	rcall	.-518    	; 0x3aa <SPI_Send_command_without_ADDR>
 5b0:	80 93 c0 01 	sts	0x01C0, r24
 5b4:	80 91 c0 01 	lds	r24, 0x01C0
 5b8:	86 ff       	sbrs	r24, 6
 5ba:	11 c0       	rjmp	.+34     	; 0x5de <check_recieve_nrf24L01+0x42>
	cbi(nRF24L01_PORT,nRF24L01_CE);
 5bc:	5e 98       	cbi	0x0b, 6	; 11
 5be:	6f ef       	ldi	r22, 0xFF	; 255
 5c0:	81 e6       	ldi	r24, 0x61	; 97
 5c2:	f3 de       	rcall	.-538    	; 0x3aa <SPI_Send_command_without_ADDR>
 5c4:	80 93 be 01 	sts	0x01BE, r24
 5c8:	80 91 be 01 	lds	r24, 0x01BE
 5cc:	03 de       	rcall	.-1018   	; 0x1d4 <usart_putc>
 5ce:	40 91 c0 01 	lds	r20, 0x01C0
 5d2:	40 64       	ori	r20, 0x40	; 64
 5d4:	67 e0       	ldi	r22, 0x07	; 7
 5d6:	81 e0       	ldi	r24, 0x01	; 1
 5d8:	1e df       	rcall	.-452    	; 0x416 <SPI_Send_command_with_ADDR>
 5da:	80 93 bf 01 	sts	0x01BF, r24
 5de:	6f ef       	ldi	r22, 0xFF	; 255
 5e0:	82 ee       	ldi	r24, 0xE2	; 226
 5e2:	e3 de       	rcall	.-570    	; 0x3aa <SPI_Send_command_without_ADDR>
 5e4:	80 93 bf 01 	sts	0x01BF, r24
 5e8:	4d 9b       	sbis	0x09, 5	; 9
 5ea:	df cf       	rjmp	.-66     	; 0x5aa <check_recieve_nrf24L01+0xe>
 5ec:	28 98       	cbi	0x05, 0	; 5
 5ee:	cf df       	rcall	.-98     	; 0x58e <NRF_prepareForReceive>
 5f0:	81 e0       	ldi	r24, 0x01	; 1
 5f2:	90 e0       	ldi	r25, 0x00	; 0
 5f4:	08 95       	ret

000005f6 <NRF_receive>:
 5f6:	cf de       	rcall	.-610    	; 0x396 <CE_HIGH>
 5f8:	29 99       	sbic	0x05, 1	; 5
 5fa:	22 c0       	rjmp	.+68     	; 0x640 <NRF_receive+0x4a>
 5fc:	6f ef       	ldi	r22, 0xFF	; 255
 5fe:	8f ef       	ldi	r24, 0xFF	; 255
 600:	d4 de       	rcall	.-600    	; 0x3aa <SPI_Send_command_without_ADDR>
 602:	80 93 c0 01 	sts	0x01C0, r24
 606:	80 91 c0 01 	lds	r24, 0x01C0
 60a:	86 ff       	sbrs	r24, 6
 60c:	19 c0       	rjmp	.+50     	; 0x640 <NRF_receive+0x4a>
 60e:	5e 98       	cbi	0x0b, 6	; 11
 610:	6f ef       	ldi	r22, 0xFF	; 255
 612:	81 e6       	ldi	r24, 0x61	; 97
 614:	ca de       	rcall	.-620    	; 0x3aa <SPI_Send_command_without_ADDR>
 616:	80 93 be 01 	sts	0x01BE, r24
 61a:	80 91 be 01 	lds	r24, 0x01BE
 61e:	da dd       	rcall	.-1100   	; 0x1d4 <usart_putc>
 620:	40 91 c0 01 	lds	r20, 0x01C0
 624:	40 64       	ori	r20, 0x40	; 64
 626:	67 e0       	ldi	r22, 0x07	; 7
 628:	81 e0       	ldi	r24, 0x01	; 1
 62a:	f5 de       	rcall	.-534    	; 0x416 <SPI_Send_command_with_ADDR>
 62c:	80 93 bf 01 	sts	0x01BF, r24
 630:	6f ef       	ldi	r22, 0xFF	; 255
 632:	82 ee       	ldi	r24, 0xE2	; 226
 634:	ba de       	rcall	.-652    	; 0x3aa <SPI_Send_command_without_ADDR>
 636:	80 93 bf 01 	sts	0x01BF, r24
 63a:	81 e0       	ldi	r24, 0x01	; 1
 63c:	90 e0       	ldi	r25, 0x00	; 0
 63e:	08 95       	ret
 640:	80 e0       	ldi	r24, 0x00	; 0
 642:	90 e0       	ldi	r25, 0x00	; 0
 644:	08 95       	ret

00000646 <NRF_send>:
 646:	1f 93       	push	r17
 648:	18 2f       	mov	r17, r24
 64a:	5e 98       	cbi	0x0b, 6	; 11
 64c:	4a e0       	ldi	r20, 0x0A	; 10
 64e:	60 e0       	ldi	r22, 0x00	; 0
 650:	81 e0       	ldi	r24, 0x01	; 1
 652:	e1 de       	rcall	.-574    	; 0x416 <SPI_Send_command_with_ADDR>
 654:	80 93 c0 01 	sts	0x01C0, r24
 658:	61 2f       	mov	r22, r17
 65a:	80 ea       	ldi	r24, 0xA0	; 160
 65c:	a6 de       	rcall	.-692    	; 0x3aa <SPI_Send_command_without_ADDR>
 65e:	80 93 c0 01 	sts	0x01C0, r24
 662:	99 de       	rcall	.-718    	; 0x396 <CE_HIGH>
 664:	5e 98       	cbi	0x0b, 6	; 11
 666:	6f ef       	ldi	r22, 0xFF	; 255
 668:	8f ef       	ldi	r24, 0xFF	; 255
 66a:	9f de       	rcall	.-706    	; 0x3aa <SPI_Send_command_without_ADDR>
 66c:	80 93 c0 01 	sts	0x01C0, r24
 670:	80 91 c0 01 	lds	r24, 0x01C0
 674:	84 ff       	sbrs	r24, 4
 676:	0d c0       	rjmp	.+26     	; 0x692 <NRF_send+0x4c>
 678:	40 91 c0 01 	lds	r20, 0x01C0
 67c:	40 61       	ori	r20, 0x10	; 16
 67e:	67 e0       	ldi	r22, 0x07	; 7
 680:	81 e0       	ldi	r24, 0x01	; 1
 682:	c9 de       	rcall	.-622    	; 0x416 <SPI_Send_command_with_ADDR>
 684:	80 93 bf 01 	sts	0x01BF, r24
 688:	6f ef       	ldi	r22, 0xFF	; 255
 68a:	81 ee       	ldi	r24, 0xE1	; 225
 68c:	8e de       	rcall	.-740    	; 0x3aa <SPI_Send_command_without_ADDR>
 68e:	80 93 bf 01 	sts	0x01BF, r24
 692:	80 91 c0 01 	lds	r24, 0x01C0
 696:	85 ff       	sbrs	r24, 5
 698:	08 c0       	rjmp	.+16     	; 0x6aa <NRF_send+0x64>
 69a:	40 91 c0 01 	lds	r20, 0x01C0
 69e:	40 62       	ori	r20, 0x20	; 32
 6a0:	67 e0       	ldi	r22, 0x07	; 7
 6a2:	81 e0       	ldi	r24, 0x01	; 1
 6a4:	b8 de       	rcall	.-656    	; 0x416 <SPI_Send_command_with_ADDR>
 6a6:	80 93 bf 01 	sts	0x01BF, r24
 6aa:	80 91 c0 01 	lds	r24, 0x01C0
 6ae:	80 ff       	sbrs	r24, 0
 6b0:	05 c0       	rjmp	.+10     	; 0x6bc <NRF_send+0x76>
 6b2:	6f ef       	ldi	r22, 0xFF	; 255
 6b4:	81 ee       	ldi	r24, 0xE1	; 225
 6b6:	79 de       	rcall	.-782    	; 0x3aa <SPI_Send_command_without_ADDR>
 6b8:	80 93 bf 01 	sts	0x01BF, r24
 6bc:	1f 91       	pop	r17
 6be:	08 95       	ret

000006c0 <NRF_init>:
 6c0:	5e 98       	cbi	0x0b, 6	; 11
 6c2:	8a e0       	ldi	r24, 0x0A	; 10
 6c4:	90 e0       	ldi	r25, 0x00	; 0
 6c6:	16 de       	rcall	.-980    	; 0x2f4 <delay_us>
 6c8:	5f 9a       	sbi	0x0b, 7	; 11
 6ca:	86 e2       	ldi	r24, 0x26	; 38
 6cc:	91 e0       	ldi	r25, 0x01	; 1
 6ce:	a5 dd       	rcall	.-1206   	; 0x21a <usart_puts>
 6d0:	4b e0       	ldi	r20, 0x0B	; 11
 6d2:	60 e0       	ldi	r22, 0x00	; 0
 6d4:	81 e0       	ldi	r24, 0x01	; 1
 6d6:	9f de       	rcall	.-706    	; 0x416 <SPI_Send_command_with_ADDR>
 6d8:	80 93 c0 01 	sts	0x01C0, r24
 6dc:	80 91 c0 01 	lds	r24, 0x01C0
 6e0:	c1 dd       	rcall	.-1150   	; 0x264 <usart_SendBcd>
 6e2:	4f ef       	ldi	r20, 0xFF	; 255
 6e4:	6a e0       	ldi	r22, 0x0A	; 10
 6e6:	81 e0       	ldi	r24, 0x01	; 1
 6e8:	96 de       	rcall	.-724    	; 0x416 <SPI_Send_command_with_ADDR>
 6ea:	80 93 c0 01 	sts	0x01C0, r24
 6ee:	80 91 c0 01 	lds	r24, 0x01C0
 6f2:	b8 dd       	rcall	.-1168   	; 0x264 <usart_SendBcd>
 6f4:	4f ef       	ldi	r20, 0xFF	; 255
 6f6:	6b e0       	ldi	r22, 0x0B	; 11
 6f8:	81 e0       	ldi	r24, 0x01	; 1
 6fa:	8d de       	rcall	.-742    	; 0x416 <SPI_Send_command_with_ADDR>
 6fc:	80 93 c0 01 	sts	0x01C0, r24
 700:	80 91 c0 01 	lds	r24, 0x01C0
 704:	af dd       	rcall	.-1186   	; 0x264 <usart_SendBcd>
 706:	4f ef       	ldi	r20, 0xFF	; 255
 708:	60 e1       	ldi	r22, 0x10	; 16
 70a:	81 e0       	ldi	r24, 0x01	; 1
 70c:	84 de       	rcall	.-760    	; 0x416 <SPI_Send_command_with_ADDR>
 70e:	80 93 c0 01 	sts	0x01C0, r24
 712:	80 91 c0 01 	lds	r24, 0x01C0
 716:	a6 dd       	rcall	.-1204   	; 0x264 <usart_SendBcd>
 718:	41 e0       	ldi	r20, 0x01	; 1
 71a:	61 e1       	ldi	r22, 0x11	; 17
 71c:	81 e0       	ldi	r24, 0x01	; 1
 71e:	7b de       	rcall	.-778    	; 0x416 <SPI_Send_command_with_ADDR>
 720:	80 93 c0 01 	sts	0x01C0, r24
 724:	80 91 c0 01 	lds	r24, 0x01C0
 728:	9d dd       	rcall	.-1222   	; 0x264 <usart_SendBcd>
 72a:	41 e0       	ldi	r20, 0x01	; 1
 72c:	62 e1       	ldi	r22, 0x12	; 18
 72e:	81 e0       	ldi	r24, 0x01	; 1
 730:	72 de       	rcall	.-796    	; 0x416 <SPI_Send_command_with_ADDR>
 732:	80 93 c0 01 	sts	0x01C0, r24
 736:	80 91 c0 01 	lds	r24, 0x01C0
 73a:	94 dd       	rcall	.-1240   	; 0x264 <usart_SendBcd>
 73c:	8c e3       	ldi	r24, 0x3C	; 60
 73e:	91 e0       	ldi	r25, 0x01	; 1
 740:	6c dd       	rcall	.-1320   	; 0x21a <usart_puts>
 742:	25 df       	rcall	.-438    	; 0x58e <NRF_prepareForReceive>
 744:	08 95       	ret

00000746 <_exit>:
 746:	ff cf       	rjmp	.-2      	; 0x746 <_exit>

⌨️ 快捷键说明

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