欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

main.lss

用AVR对诺基亚3310手机黑白液晶的驱动程序
LSS
第 1 页 / 共 5 页
字号:

main.elf:     file format elf32-avr

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00000f74  00000000  00000000  00000074  2**1
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .data         00000110  00800060  00000f74  00000fe8  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  2 .stab         00000378  00000000  00000000  000010f8  2**2
                  CONTENTS, READONLY, DEBUGGING
  3 .stabstr      0000005f  00000000  00000000  00001470  2**0
                  CONTENTS, READONLY, DEBUGGING
  4 .debug_aranges 00000020  00000000  00000000  000014cf  2**0
                  CONTENTS, READONLY, DEBUGGING
  5 .debug_pubnames 00000136  00000000  00000000  000014ef  2**0
                  CONTENTS, READONLY, DEBUGGING
  6 .debug_info   0000072e  00000000  00000000  00001625  2**0
                  CONTENTS, READONLY, DEBUGGING
  7 .debug_abbrev 0000022a  00000000  00000000  00001d53  2**0
                  CONTENTS, READONLY, DEBUGGING
  8 .debug_line   000004f9  00000000  00000000  00001f7d  2**0
                  CONTENTS, READONLY, DEBUGGING
  9 .debug_frame  000000c0  00000000  00000000  00002478  2**2
                  CONTENTS, READONLY, DEBUGGING
 10 .debug_str    0000021f  00000000  00000000  00002538  2**0
                  CONTENTS, READONLY, DEBUGGING
 11 .debug_loc    00000516  00000000  00000000  00002757  2**0
                  CONTENTS, READONLY, DEBUGGING
Disassembly of section .text:

00000000 <__vectors>:
   0:	0c 94 0a 02 	jmp	0x414	; 0x414 <__ctors_end>
   4:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
   8:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
   c:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  10:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  14:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  18:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  1c:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  20:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  24:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  28:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  2c:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  30:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  34:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  38:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  3c:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  40:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  44:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  48:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  4c:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>
  50:	0c 94 27 02 	jmp	0x44e	; 0x44e <__bad_interrupt>

00000054 <AVR_bmp>:
  54:	00 00 00 00 80 e0 fc ff ff ff 7f ff fe fc f0 c1     ................
  64:	0f 7f ff ff fe f0 c0 00 00 00 c0 f8 fe ff ff 3f     ...............?
  74:	07 c1 f0 fe ff ff ff 1f 07 8f cf ff ff ff fe fc     ................
  84:	00 80 f0 fc ff ff ff 7f 7f 78 78 79 7f 7f ff ff     .........xxy....
  94:	fc f0 c1 07 1f ff ff fe fc ff ff ff 1f 07 c1 f0     ................
  a4:	fe ff ff 3f 0f 0f 7f ff ff ff ff e7 07 03 01 00     ...?............
  b4:	02 03 03 03 03 03 00 00 00 00 00 00 00 00 00 03     ................
  c4:	03 03 03 03 00 00 03 1f 3f 1f 07 00 00 02 03 03     ........?.......
  d4:	03 03 01 00 00 00 00 03 03 03 03 03 03 00 00 00     ................

000000e4 <font6x8>:
	...
  ec:	00 2f 00 00 00 00 07 00 07 00 00 14 7f 14 7f 14     ./..............
  fc:	00 24 2a 7f 2a 12 00 62 64 08 13 23 00 36 49 55     .$*.*..bd..#.6IU
 10c:	22 50 00 00 05 03 00 00 00 00 1c 22 41 00 00 00     "P........."A...
 11c:	41 22 1c 00 00 14 08 3e 08 14 00 08 08 3e 08 08     A".....>.....>..
 12c:	00 00 00 a0 60 00 00 08 08 08 08 08 00 00 60 60     ....`.........``
 13c:	00 00 00 20 10 08 04 02 00 3e 51 49 45 3e 00 00     ... .....>QIE>..
 14c:	42 7f 40 00 00 42 61 51 49 46 00 21 41 45 4b 31     B.@..BaQIF.!AEK1
 15c:	00 18 14 12 7f 10 00 27 45 45 45 39 00 3c 4a 49     .......'EEE9.<JI
 16c:	49 30 00 01 71 09 05 03 00 36 49 49 49 36 00 06     I0..q....6III6..
 17c:	49 49 29 1e 00 00 36 36 00 00 00 00 56 36 00 00     II)...66....V6..
 18c:	00 08 14 22 41 00 00 14 14 14 14 14 00 00 41 22     ..."A.........A"
 19c:	14 08 00 02 01 51 09 06 00 32 49 59 51 3e 00 7c     .....Q...2IYQ>.|
 1ac:	12 11 12 7c 00 7f 49 49 49 36 00 3e 41 41 41 22     ...|..III6.>AAA"
 1bc:	00 7f 41 41 22 1c 00 7f 49 49 49 41 00 7f 09 09     ..AA"...IIIA....
 1cc:	09 01 00 3e 41 49 49 7a 00 7f 08 08 08 7f 00 00     ...>AIIz........
 1dc:	41 7f 41 00 00 20 40 41 3f 01 00 7f 08 14 22 41     A.A.. @A?....."A
 1ec:	00 7f 40 40 40 40 00 7f 02 0c 02 7f 00 7f 04 08     ..@@@@..........
 1fc:	10 7f 00 3e 41 41 41 3e 00 7f 09 09 09 06 00 3e     ...>AAA>.......>
 20c:	41 51 21 5e 00 7f 09 19 29 46 00 46 49 49 49 31     AQ!^....)F.FIII1
 21c:	00 01 01 7f 01 01 00 3f 40 40 40 3f 00 1f 20 40     .......?@@@?.. @
 22c:	20 1f 00 3f 40 38 40 3f 00 63 14 08 14 63 00 07      ..?@8@?.c...c..
 23c:	08 70 08 07 00 61 51 49 45 43 00 00 7f 41 41 00     .p...aQIEC...AA.
 24c:	00 55 2a 55 2a 55 00 00 41 41 7f 00 00 04 02 01     .U*U*U..AA......
 25c:	02 04 00 40 40 40 40 40 00 00 01 02 04 00 00 20     ...@@@@@....... 
 26c:	54 54 54 78 00 7f 48 44 44 38 00 38 44 44 44 20     TTTx..HDD8.8DDD 
 27c:	00 38 44 44 48 7f 00 38 54 54 54 18 00 08 7e 09     .8DDH..8TTT...~.
 28c:	01 02 00 18 a4 a4 a4 7c 00 7f 08 04 04 78 00 00     .......|.....x..
 29c:	44 7d 40 00 00 40 80 84 7d 00 00 7f 10 28 44 00     D}@..@..}....(D.
 2ac:	00 00 41 7f 40 00 00 7c 04 18 04 78 00 7c 08 04     ..A.@..|...x.|..
 2bc:	04 78 00 38 44 44 44 38 00 fc 24 24 24 18 00 18     .x.8DDD8..$$$...
 2cc:	24 24 18 fc 00 7c 08 04 04 08 00 48 54 54 54 20     $$...|.....HTTT 
 2dc:	00 04 3f 44 40 20 00 3c 40 40 20 7c 00 1c 20 40     ..?D@ .<@@ |.. @
 2ec:	20 1c 00 3c 40 30 40 3c 00 44 28 10 28 44 00 1c      ..<@0@<.D(.(D..
 2fc:	a0 a0 a0 7c 00 44 64 54 4c 44 14 14 14 14 14 14     ...|.DdTLD......

0000030c <write_chinese_string>:
 30c:	8a 8a 4a fe 49 28 7f 88 49 2a 08 00 00 04 04 07     ..J.I(..I*......
 31c:	02 02 01 01 02 04 07 00 10 fc 03 00 fd 02 04 02     ................
 32c:	02 02 fe 00 00 07 00 00 07 00 00 00 04 04 07 00     ................
 33c:	fc 44 46 45 fc 10 2c c7 04 04 fc 00 07 02 02 02     .DFE..,.........
 34c:	07 00 00 04 04 04 03 00                             ........

00000354 <move_chinese_string>:
 354:	0a 92 62 9e 02 18 87 74 84 14 0c 00 02 01 00 04     ..b....t........
 364:	05 02 01 00 01 02 04 00 08 f9 02 00 fe 42 41 fe     .............BA.
 374:	02 82 fe 00 06 01 02 02 04 04 04 05 04 04 04 00     ................
 384:	10 12 14 f8 10 1f f0 18 14 12 10 00 04 04 02 01     ................
 394:	00 00 03 04 04 04 07 00 fc 00 ff 00 10 cc 47 cc     ..............G.
 3a4:	54 44 c4 00 01 00 07 00 00 07 02 03 02 02 07 00     TD..............
 3b4:	04 84 44 24 14 ff 14 24 44 86 04 00 01 00 01 01     ..D$...$D.......
 3c4:	01 07 01 01 01 00 01 00 00 ff 49 31 4d 81 49 31     ..........I1M.I1
 3d4:	cd 01 ff 00 00 07 00 00 00 00 00 00 04 04 07 00     ................
 3e4:	04 75 86 74 04 c0 40 7f 44 c4 04 00 02 02 01 01     .u.t..@.D.......
 3f4:	01 07 02 02 02 07 00 00 00 1c 7e 7e 1c 00 00 00     ..........~~....
 404:	00 00 00 00 00 00 03 03 00 00 00 00 00 00 00 00     ................

00000414 <__ctors_end>:
 414:	11 24       	eor	r1, r1
 416:	1f be       	out	0x3f, r1	; 63
 418:	cf e5       	ldi	r28, 0x5F	; 95
 41a:	d8 e0       	ldi	r29, 0x08	; 8
 41c:	de bf       	out	0x3e, r29	; 62
 41e:	cd bf       	out	0x3d, r28	; 61

00000420 <__do_copy_data>:
 420:	11 e0       	ldi	r17, 0x01	; 1
 422:	a0 e6       	ldi	r26, 0x60	; 96
 424:	b0 e0       	ldi	r27, 0x00	; 0
 426:	e4 e7       	ldi	r30, 0x74	; 116
 428:	ff e0       	ldi	r31, 0x0F	; 15
 42a:	02 c0       	rjmp	.+4      	; 0x430 <.do_copy_data_start>

0000042c <.do_copy_data_loop>:
 42c:	05 90       	lpm	r0, Z+
 42e:	0d 92       	st	X+, r0

00000430 <.do_copy_data_start>:
 430:	a0 37       	cpi	r26, 0x70	; 112
 432:	b1 07       	cpc	r27, r17
 434:	d9 f7       	brne	.-10     	; 0x42c <.do_copy_data_loop>

00000436 <__do_clear_bss>:
 436:	11 e0       	ldi	r17, 0x01	; 1
 438:	a0 e7       	ldi	r26, 0x70	; 112
 43a:	b1 e0       	ldi	r27, 0x01	; 1
 43c:	01 c0       	rjmp	.+2      	; 0x440 <.do_clear_bss_start>

0000043e <.do_clear_bss_loop>:
 43e:	1d 92       	st	X+, r1

00000440 <.do_clear_bss_start>:
 440:	a0 37       	cpi	r26, 0x70	; 112
 442:	b1 07       	cpc	r27, r17
 444:	e1 f7       	brne	.-8      	; 0x43e <.do_clear_bss_loop>
 446:	0e 94 99 04 	call	0x932	; 0x932 <main>
 44a:	0c 94 b9 07 	jmp	0xf72	; 0xf72 <_exit>

0000044e <__bad_interrupt>:
 44e:	0c 94 00 00 	jmp	0	; 0x0 <__vectors>

00000452 <LCD_write_byte>:
 452:	c4 98       	cbi	0x18, 4	; 24
 454:	66 23       	and	r22, r22
 456:	11 f4       	brne	.+4      	; 0x45c <LCD_write_byte+0xa>
 458:	c3 98       	cbi	0x18, 3	; 24
 45a:	01 c0       	rjmp	.+2      	; 0x45e <LCD_write_byte+0xc>
 45c:	c3 9a       	sbi	0x18, 3	; 24
 45e:	8f b9       	out	0x0f, r24	; 15
 460:	77 9b       	sbis	0x0e, 7	; 14
 462:	fe cf       	rjmp	.-4      	; 0x460 <LCD_write_byte+0xe>
 464:	c4 9a       	sbi	0x18, 4	; 24
 466:	08 95       	ret

00000468 <LCD_write_char>:
 468:	1f 93       	push	r17
 46a:	cf 93       	push	r28
 46c:	df 93       	push	r29
 46e:	80 52       	subi	r24, 0x20	; 32
 470:	96 e0       	ldi	r25, 0x06	; 6
 472:	89 9f       	mul	r24, r25
 474:	e0 01       	movw	r28, r0
 476:	11 24       	eor	r1, r1
 478:	cc 51       	subi	r28, 0x1C	; 28
 47a:	df 4f       	sbci	r29, 0xFF	; 255
 47c:	10 e0       	ldi	r17, 0x00	; 0
 47e:	fe 01       	movw	r30, r28
 480:	84 91       	lpm	r24, Z
 482:	61 e0       	ldi	r22, 0x01	; 1
 484:	0e 94 29 02 	call	0x452	; 0x452 <LCD_write_byte>
 488:	1f 5f       	subi	r17, 0xFF	; 255
 48a:	21 96       	adiw	r28, 0x01	; 1
 48c:	16 30       	cpi	r17, 0x06	; 6
 48e:	b9 f7       	brne	.-18     	; 0x47e <LCD_write_char+0x16>
 490:	df 91       	pop	r29
 492:	cf 91       	pop	r28
 494:	1f 91       	pop	r17
 496:	08 95       	ret

00000498 <LCD_set_XY>:
 498:	1f 93       	push	r17
 49a:	18 2f       	mov	r17, r24
 49c:	86 2f       	mov	r24, r22
 49e:	60 e0       	ldi	r22, 0x00	; 0
 4a0:	80 64       	ori	r24, 0x40	; 64
 4a2:	0e 94 29 02 	call	0x452	; 0x452 <LCD_write_byte>
 4a6:	60 e0       	ldi	r22, 0x00	; 0
 4a8:	81 2f       	mov	r24, r17
 4aa:	80 68       	ori	r24, 0x80	; 128
 4ac:	0e 94 29 02 	call	0x452	; 0x452 <LCD_write_byte>
 4b0:	1f 91       	pop	r17
 4b2:	08 95       	ret

000004b4 <LCD_draw_bmp_pixel>:
 4b4:	8f 92       	push	r8
 4b6:	9f 92       	push	r9
 4b8:	af 92       	push	r10
 4ba:	bf 92       	push	r11
 4bc:	cf 92       	push	r12
 4be:	df 92       	push	r13
 4c0:	ef 92       	push	r14
 4c2:	ff 92       	push	r15
 4c4:	0f 93       	push	r16
 4c6:	1f 93       	push	r17
 4c8:	cf 93       	push	r28
 4ca:	df 93       	push	r29
 4cc:	88 2e       	mov	r8, r24
 4ce:	b6 2e       	mov	r11, r22
 4d0:	80 2f       	mov	r24, r16
 4d2:	90 e0       	ldi	r25, 0x00	; 0
 4d4:	87 70       	andi	r24, 0x07	; 7
 4d6:	90 70       	andi	r25, 0x00	; 0
 4d8:	06 95       	lsr	r16
 4da:	06 95       	lsr	r16
 4dc:	06 95       	lsr	r16
 4de:	89 2b       	or	r24, r25
 4e0:	11 f4       	brne	.+4      	; 0x4e6 <LCD_draw_bmp_pixel+0x32>
 4e2:	90 2e       	mov	r9, r16
 4e4:	02 c0       	rjmp	.+4      	; 0x4ea <LCD_draw_bmp_pixel+0x36>
 4e6:	90 2e       	mov	r9, r16
 4e8:	93 94       	inc	r9
 4ea:	c2 2e       	mov	r12, r18
 4ec:	dd 24       	eor	r13, r13
 4ee:	7a 01       	movw	r14, r20
 4f0:	aa 24       	eor	r10, r10
 4f2:	17 c0       	rjmp	.+46     	; 0x522 <LCD_draw_bmp_pixel+0x6e>
 4f4:	6b 2d       	mov	r22, r11
 4f6:	88 2d       	mov	r24, r8
 4f8:	0e 94 4c 02 	call	0x498	; 0x498 <LCD_set_XY>
 4fc:	e7 01       	movw	r28, r14
 4fe:	00 e0       	ldi	r16, 0x00	; 0
 500:	10 e0       	ldi	r17, 0x00	; 0
 502:	08 c0       	rjmp	.+16     	; 0x514 <LCD_draw_bmp_pixel+0x60>
 504:	fe 01       	movw	r30, r28
 506:	84 91       	lpm	r24, Z
 508:	61 e0       	ldi	r22, 0x01	; 1
 50a:	0e 94 29 02 	call	0x452	; 0x452 <LCD_write_byte>
 50e:	0f 5f       	subi	r16, 0xFF	; 255
 510:	1f 4f       	sbci	r17, 0xFF	; 255
 512:	21 96       	adiw	r28, 0x01	; 1
 514:	0c 15       	cp	r16, r12
 516:	1d 05       	cpc	r17, r13
 518:	a9 f7       	brne	.-22     	; 0x504 <LCD_draw_bmp_pixel+0x50>
 51a:	b3 94       	inc	r11
 51c:	a3 94       	inc	r10
 51e:	ec 0c       	add	r14, r12
 520:	fd 1c       	adc	r15, r13
 522:	a9 14       	cp	r10, r9
 524:	39 f7       	brne	.-50     	; 0x4f4 <LCD_draw_bmp_pixel+0x40>
 526:	df 91       	pop	r29
 528:	cf 91       	pop	r28
 52a:	1f 91       	pop	r17
 52c:	0f 91       	pop	r16
 52e:	ff 90       	pop	r15
 530:	ef 90       	pop	r14
 532:	df 90       	pop	r13
 534:	cf 90       	pop	r12
 536:	bf 90       	pop	r11
 538:	af 90       	pop	r10
 53a:	9f 90       	pop	r9
 53c:	8f 90       	pop	r8
 53e:	08 95       	ret

00000540 <LCD_move_chinese_string>:
 540:	2f 92       	push	r2
 542:	3f 92       	push	r3
 544:	4f 92       	push	r4
 546:	5f 92       	push	r5
 548:	6f 92       	push	r6
 54a:	7f 92       	push	r7
 54c:	8f 92       	push	r8
 54e:	9f 92       	push	r9
 550:	af 92       	push	r10
 552:	bf 92       	push	r11
 554:	cf 92       	push	r12
 556:	df 92       	push	r13
 558:	ef 92       	push	r14
 55a:	ff 92       	push	r15
 55c:	0f 93       	push	r16
 55e:	1f 93       	push	r17
 560:	cf 93       	push	r28
 562:	df 93       	push	r29
 564:	cd b7       	in	r28, 0x3d	; 61
 566:	de b7       	in	r29, 0x3e	; 62
 568:	ce 5a       	subi	r28, 0xAE	; 174
 56a:	d0 40       	sbci	r29, 0x00	; 0
 56c:	0f b6       	in	r0, 0x3f	; 63
 56e:	f8 94       	cli
 570:	de bf       	out	0x3e, r29	; 62
 572:	0f be       	out	0x3f, r0	; 63
 574:	cd bf       	out	0x3d, r28	; 61
 576:	c7 55       	subi	r28, 0x57	; 87
 578:	df 4f       	sbci	r29, 0xFF	; 255
 57a:	88 83       	st	Y, r24
 57c:	c9 5a       	subi	r28, 0xA9	; 169
 57e:	d0 40       	sbci	r29, 0x00	; 0
 580:	26 2e       	mov	r2, r22
 582:	84 e5       	ldi	r24, 0x54	; 84

⌨️ 快捷键说明

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