📄 main.lss
字号:
main.elf: file format elf32-avr
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00001396 00000000 00000000 00000094 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 0000002e 00800060 00001396 0000142a 2**0
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00000000 0080008e 000013c4 00001458 2**0
ALLOC
3 .noinit 00000000 0080008e 0080008e 00001458 2**0
CONTENTS
4 .eeprom 00000000 00810000 00810000 00001458 2**0
CONTENTS
5 .debug_aranges 00000028 00000000 00000000 00001458 2**0
CONTENTS, READONLY, DEBUGGING
6 .debug_pubnames 000000b2 00000000 00000000 00001480 2**0
CONTENTS, READONLY, DEBUGGING
7 .debug_info 0000077f 00000000 00000000 00001532 2**0
CONTENTS, READONLY, DEBUGGING
8 .debug_abbrev 000001fb 00000000 00000000 00001cb1 2**0
CONTENTS, READONLY, DEBUGGING
9 .debug_line 00000678 00000000 00000000 00001eac 2**0
CONTENTS, READONLY, DEBUGGING
10 .debug_str 00000180 00000000 00000000 00002524 2**0
CONTENTS, READONLY, DEBUGGING
Disassembly of section .text:
00000000 <__vectors>:
0: 0c 94 35 04 jmp 0x86a
4: 0c 94 50 04 jmp 0x8a0
8: 0c 94 50 04 jmp 0x8a0
c: 0c 94 50 04 jmp 0x8a0
10: 0c 94 50 04 jmp 0x8a0
14: 0c 94 50 04 jmp 0x8a0
18: 0c 94 50 04 jmp 0x8a0
1c: 0c 94 50 04 jmp 0x8a0
20: 0c 94 50 04 jmp 0x8a0
24: 0c 94 50 04 jmp 0x8a0
28: 0c 94 50 04 jmp 0x8a0
2c: 0c 94 50 04 jmp 0x8a0
30: 0c 94 50 04 jmp 0x8a0
34: 0c 94 50 04 jmp 0x8a0
38: 0c 94 50 04 jmp 0x8a0
3c: 0c 94 50 04 jmp 0x8a0
40: 0c 94 50 04 jmp 0x8a0
44: 0c 94 50 04 jmp 0x8a0
48: 0c 94 50 04 jmp 0x8a0
4c: 0c 94 50 04 jmp 0x8a0
50: 0c 94 50 04 jmp 0x8a0
00000054 <__ctors_end>:
54: 08 52 subi r16, 0x28 ; 40
56: 57 3f cpi r21, 0xF7 ; 247
58: 9f 5a subi r25, 0xAF ; 175
5a: 49 cb rjmp .-2414 ; 0xfffff6ee
5c: a5 62 ori r26, 0x25 ; 37
5e: 0f 76 andi r16, 0x6F ; 111
60: c7 69 ori r28, 0x97 ; 151
62: 13 f2 brvs .-124 ; 0xffffffe8
64: 7e 6f ori r23, 0xFE ; 254
66: 50 0d add r21, r0
68: 01 75 andi r16, 0x51 ; 81
6a: 36 0b sbc r19, r22
6c: 61 7a andi r22, 0xA1 ; 161
6e: 2a aa std Y+50, r2 ; 0x32
70: ab 7e andi r26, 0xEB ; 235
72: 00 00 nop
74: 00 7f andi r16, 0xF0 ; 240
76: 00 00 nop
...
0000007a <ascii8x16>:
7a: aa 55 00 3c 42 42 04 18 04 02 02 42 44 38 00 00 .U.<BB.....BD8..
...
28a: 00 00 00 10 10 10 10 10 10 10 00 00 18 18 00 00 ................
29a: 00 12 36 24 48 00 00 00 00 00 00 00 00 00 00 00 ..6$H...........
2aa: 00 00 00 24 24 24 fe 48 48 48 fe 48 48 48 00 00 ...$$$.HHH.HHH..
2ba: 00 00 10 38 54 54 50 30 18 14 14 54 54 38 10 10 ...8TTP0...TT8..
2ca: 00 00 00 44 a4 a8 a8 a8 54 1a 2a 2a 2a 44 00 00 ...D....T.***D..
...
2e6: 00 00 00 ff 00 60 60 20 c0 00 00 00 00 00 00 00 .....`` ........
2f6: 00 00 00 00 00 02 04 08 08 10 10 10 10 10 10 08 ................
306: 08 04 02 00 00 40 20 10 10 08 08 08 08 08 08 10 .....@ .........
316: 10 20 40 00 00 00 00 00 10 10 d6 38 38 d6 10 10 . @........88...
...
32e: 10 10 10 10 fe 10 10 10 10 00 00 00 00 00 00 00 ................
...
346: 60 60 20 c0 00 00 00 00 00 00 00 00 7f 00 00 00 `` .............
...
366: 60 60 00 00 00 00 01 02 02 04 04 08 08 10 10 20 ``.............
376: 20 40 40 00 00 00 00 18 24 42 42 42 42 42 42 42 @@.....$BBBBBBB
386: 24 18 00 00 00 00 00 10 70 10 10 10 10 10 10 10 $.......p.......
396: 10 7c 00 00 00 00 00 3c 42 42 42 04 04 08 10 20 .|.....<BBB....
3a6: 42 7e 00 00 00 00 00 3c 42 42 04 18 04 02 02 42 B~.....<BB.....B
3b6: 44 38 00 00 00 00 00 04 0c 14 24 24 44 44 7e 04 D8........$$DD~.
3c6: 04 1e 00 00 00 00 00 7e 40 40 40 58 64 02 02 42 .......~@@@Xd..B
3d6: 44 38 00 00 00 00 00 1c 24 40 40 58 64 42 42 42 D8......$@@XdBBB
3e6: 24 18 00 00 00 00 00 7e 44 44 08 08 10 10 10 10 $......~DD......
3f6: 10 10 00 00 00 00 00 3c 42 42 42 24 18 24 42 42 .......<BBB$.$BB
406: 42 3c 00 00 00 00 00 18 24 42 42 42 26 1a 02 02 B<......$BBB&...
416: 24 38 00 00 00 00 00 00 00 00 18 18 00 00 00 00 $8..............
426: 18 18 00 00 00 00 00 00 00 00 00 10 00 00 00 00 ................
436: 00 10 10 20 00 00 00 02 04 08 10 20 40 20 10 08 ... ....... @ ..
446: 04 02 00 00 00 00 00 00 00 00 fe 00 00 00 fe 00 ................
456: 00 00 00 00 00 00 00 40 20 10 08 04 02 04 08 10 .......@ .......
466: 20 40 00 00 00 00 00 3c 42 42 62 02 04 08 08 00 @.....<BBb.....
476: 18 18 00 00 00 00 00 38 44 5a aa aa aa aa b4 42 .......8DZ.....B
486: 44 38 00 00 00 00 00 10 10 18 28 28 24 3c 44 42 D8........(($<DB
496: 42 e7 00 00 00 00 00 f8 44 44 44 78 44 42 42 42 B.......DDDxDBBB
4a6: 44 f8 00 00 00 00 00 3e 42 42 80 80 80 80 80 42 D......>BB.....B
4b6: 44 38 00 00 00 00 00 f8 44 42 42 42 42 42 42 42 D8......DBBBBBBB
4c6: 44 f8 00 00 00 00 00 fc 42 48 48 78 48 48 40 42 D.......BHHxHH@B
4d6: 42 fc 00 00 00 00 00 fc 42 48 48 78 48 48 40 40 B.......BHHxHH@@
4e6: 40 e0 00 00 00 00 00 3c 44 44 80 80 80 8e 84 44 @......<DD.....D
4f6: 44 38 00 00 00 00 00 e7 42 42 42 42 7e 42 42 42 D8......BBBB~BBB
506: 42 e7 00 00 00 00 00 7c 10 10 10 10 10 10 10 10 B......|........
516: 10 7c 00 00 00 00 00 3e 08 08 08 08 08 08 08 08 .|.....>........
526: 08 08 88 f0 00 00 00 ee 44 48 50 70 50 48 48 44 ........DHPpPHHD
536: 44 ee 00 00 00 00 00 e0 40 40 40 40 40 40 40 40 D.......@@@@@@@@
546: 42 fe 00 00 00 00 00 ee 6c 6c 6c 6c 54 54 54 54 B.......llllTTTT
556: 54 d6 00 00 00 00 00 c7 62 62 52 52 4a 4a 4a 46 T.......bbRRJJJF
566: 46 e2 00 00 00 00 00 38 44 82 82 82 82 82 82 82 F......8D.......
576: 44 38 00 00 00 00 00 fc 42 42 42 42 7c 40 40 40 D8......BBBB|@@@
586: 40 e0 00 00 00 00 00 38 44 82 82 82 82 82 b2 ca @......8D.......
596: 4c 38 06 00 00 00 00 fc 42 42 42 7c 48 48 44 44 L8......BBB|HHDD
5a6: 42 e3 00 00 00 00 00 3e 42 42 40 20 18 04 02 42 B......>BB@ ...B
5b6: 42 7c 00 00 00 00 00 fe 92 10 10 10 10 10 10 10 B|..............
5c6: 10 38 00 00 00 00 00 e7 42 42 42 42 42 42 42 42 .8......BBBBBBBB
5d6: 42 3c 00 00 00 00 00 e7 42 42 44 24 24 28 28 18 B<......BBD$$((.
5e6: 10 10 00 00 00 00 00 d6 92 92 92 92 aa aa 6c 44 ..............lD
5f6: 44 44 00 00 00 00 00 e7 42 24 24 18 18 18 24 24 DD......B$$...$$
606: 42 e7 00 00 00 00 00 ee 44 44 28 28 10 10 10 10 B.......DD((....
616: 10 38 00 00 00 00 00 7e 84 04 08 08 10 20 20 42 .8.....~..... B
626: 42 fc 00 00 00 1e 10 10 10 10 10 10 10 10 10 10 B...............
636: 10 10 1e 00 00 00 40 40 20 20 10 10 10 08 08 04 ......@@ ......
646: 04 04 02 02 00 78 08 08 08 08 08 08 08 08 08 08 .....x..........
656: 08 08 78 00 00 1c 22 00 00 00 00 00 00 00 00 00 ..x...".........
...
676: 00 00 00 ff 00 60 10 00 00 00 00 00 00 00 00 00 .....`..........
...
68e: 00 00 00 3c 42 1e 22 42 42 3f 00 00 00 00 00 c0 ...<B."BB?......
69e: 40 40 40 58 64 42 42 42 64 58 00 00 00 00 00 00 @@@XdBBBdX......
6ae: 00 00 00 1c 22 40 40 40 22 1c 00 00 00 00 00 06 ...."@@@".......
6be: 02 02 02 1e 22 42 42 42 26 1b 00 00 00 00 00 00 ...."BBB&.......
6ce: 00 00 00 3c 42 7e 40 40 42 3c 00 00 00 00 00 0f ...<B~@@B<......
6de: 11 10 10 7e 10 10 10 10 10 7c 00 00 00 00 00 00 ...~.....|......
6ee: 00 00 00 3e 44 44 38 40 3c 42 42 3c 00 00 00 c0 ...>DD8@<BB<....
6fe: 40 40 40 5c 62 42 42 42 42 e7 00 00 00 00 00 30 @@@\bBBBB......0
70e: 30 00 00 70 10 10 10 10 10 7c 00 00 00 00 00 0c 0..p.....|......
71e: 0c 00 00 1c 04 04 04 04 04 04 44 78 00 00 00 c0 ..........Dx....
72e: 40 40 40 4e 48 50 68 48 44 ee 00 00 00 00 00 70 @@@NHPhHD......p
73e: 10 10 10 10 10 10 10 10 10 7c 00 00 00 00 00 00 .........|......
74e: 00 00 00 fe 49 49 49 49 49 ed 00 00 00 00 00 00 ....IIIII.......
75e: 00 00 00 dc 62 42 42 42 42 e7 00 00 00 00 00 00 ....bBBBB.......
76e: 00 00 00 3c 42 42 42 42 42 3c 00 00 00 00 00 00 ...<BBBBB<......
77e: 00 00 00 d8 64 42 42 42 44 78 40 e0 00 00 00 00 ....dBBBDx@.....
78e: 00 00 00 1e 22 42 42 42 22 1e 02 07 00 00 00 00 ...."BBB".......
79e: 00 00 00 ee 32 20 20 20 20 f8 00 00 00 00 00 00 ....2 .......
7ae: 00 00 00 3e 42 40 3c 02 42 7c 00 00 00 00 00 00 ...>B@<.B|......
7be: 00 10 10 7c 10 10 10 10 10 0c 00 00 00 00 00 00 ...|............
7ce: 00 00 00 c6 42 42 42 42 46 3b 00 00 00 00 00 00 ....BBBBF;......
7de: 00 00 00 e7 42 24 24 28 10 10 00 00 00 00 00 00 ....B$$(........
7ee: 00 00 00 d7 92 92 aa aa 44 44 00 00 00 00 00 00 ........DD......
7fe: 00 00 00 6e 24 18 18 18 24 76 00 00 00 00 00 00 ...n$...$v......
80e: 00 00 00 e7 42 24 24 28 18 10 10 e0 00 00 00 00 ....B$$(........
81e: 00 00 00 7e 44 08 10 10 22 7e 00 00 00 03 04 04 ...~D..."~......
82e: 04 04 04 08 04 04 04 04 04 04 03 00 08 08 08 08 ................
83e: 08 08 08 08 08 08 08 08 08 08 08 08 00 60 10 10 .............`..
84e: 10 10 10 08 10 10 10 10 10 10 60 00 30 4c 43 00 ..........`.0LC.
...
0000086a <__init>:
86a: 11 24 eor r1, r1
86c: 1f be out 0x3f, r1 ; 63
86e: cf e5 ldi r28, 0x5F ; 95
870: d4 e0 ldi r29, 0x04 ; 4
872: de bf out 0x3e, r29 ; 62
874: cd bf out 0x3d, r28 ; 61
00000876 <__do_copy_data>:
876: 10 e0 ldi r17, 0x00 ; 0
878: a0 e6 ldi r26, 0x60 ; 96
87a: b0 e0 ldi r27, 0x00 ; 0
87c: e6 e9 ldi r30, 0x96 ; 150
87e: f3 e1 ldi r31, 0x13 ; 19
880: 02 c0 rjmp .+4 ; 0x886
00000882 <.do_copy_data_loop>:
882: 05 90 lpm r0, Z+
884: 0d 92 st X+, r0
00000886 <.do_copy_data_start>:
886: ae 38 cpi r26, 0x8E ; 142
888: b1 07 cpc r27, r17
88a: d9 f7 brne .-10 ; 0x882
0000088c <__do_clear_bss>:
88c: 10 e0 ldi r17, 0x00 ; 0
88e: ae e8 ldi r26, 0x8E ; 142
890: b0 e0 ldi r27, 0x00 ; 0
892: 01 c0 rjmp .+2 ; 0x896
00000894 <.do_clear_bss_loop>:
894: 1d 92 st X+, r1
00000896 <.do_clear_bss_start>:
896: ae 38 cpi r26, 0x8E ; 142
898: b1 07 cpc r27, r17
89a: e1 f7 brne .-8 ; 0x894
89c: 0c 94 57 04 jmp 0x8ae
000008a0 <__bad_interrupt>:
8a0: 0c 94 00 00 jmp 0x0
000008a4 <PortInit>:
void PortInit(void)
{
DDRA = 0xff;
8a4: 8f ef ldi r24, 0xFF ; 255
8a6: 8a bb out 0x1a, r24 ; 26
DDRC = 0xff;
8a8: 84 bb out 0x14, r24 ; 20
DDRD = 0xff;
8aa: 81 bb out 0x11, r24 ; 17
8ac: 08 95 ret
000008ae <main>:
}
int main(void)
{
8ae: cf e5 ldi r28, 0x5F ; 95
8b0: d4 e0 ldi r29, 0x04 ; 4
8b2: de bf out 0x3e, r29 ; 62
8b4: cd bf out 0x3d, r28 ; 61
double x,y;
PortInit();
8b6: 0e 94 52 04 call 0x8a4
LCDInit();
8ba: 0e 94 52 05 call 0xaa4
DisplayScreen(0xff, 0x00, 0x00);
8be: 40 e0 ldi r20, 0x00 ; 0
8c0: 64 2f mov r22, r20
8c2: 8f ef ldi r24, 0xFF ; 255
8c4: 0e 94 02 05 call 0xa04
for(x=0; x<120; x+=0.1)
8c8: 0f 2e mov r0, r31
8ca: f0 e0 ldi r31, 0x00 ; 0
8cc: 8f 2e mov r8, r31
8ce: f0 e0 ldi r31, 0x00 ; 0
8d0: 9f 2e mov r9, r31
8d2: f0 e0 ldi r31, 0x00 ; 0
8d4: af 2e mov r10, r31
8d6: f0 e0 ldi r31, 0x00 ; 0
8d8: bf 2e mov r11, r31
8da: f0 2d mov r31, r0
8dc: 56 c0 rjmp .+172 ; 0x98a
{
y = sin(x/10)*30;
8de: 20 e0 ldi r18, 0x00 ; 0
8e0: 30 e0 ldi r19, 0x00 ; 0
8e2: 40 e2 ldi r20, 0x20 ; 32
8e4: 51 e4 ldi r21, 0x41 ; 65
8e6: c5 01 movw r24, r10
8e8: b4 01 movw r22, r8
8ea: 0e 94 e5 07 call 0xfca
8ee: dc 01 movw r26, r24
8f0: cb 01 movw r24, r22
8f2: bc 01 movw r22, r24
8f4: cd 01 movw r24, r26
8f6: 0e 94 f9 08 call 0x11f2
8fa: dc 01 movw r26, r24
8fc: cb 01 movw r24, r22
8fe: 20 e0 ldi r18, 0x00 ; 0
900: 30 e0 ldi r19, 0x00 ; 0
902: 40 ef ldi r20, 0xF0 ; 240
904: 51 e4 ldi r21, 0x41 ; 65
906: bc 01 movw r22, r24
908: cd 01 movw r24, r26
90a: 0e 94 ab 08 call 0x1156
90e: dc 01 movw r26, r24
910: cb 01 movw r24, r22
PutPixel(x, (int)(y+80), 0x00, 0xff, 0x0f);
912: 20 e0 ldi r18, 0x00 ; 0
914: 30 e0 ldi r19, 0x00 ; 0
916: 40 ea ldi r20, 0xA0 ; 160
918: 52 e4 ldi r21, 0x42 ; 66
91a: bc 01 movw r22, r24
91c: cd 01 movw r24, r26
91e: 0e 94 9b 07 call 0xf36
922: dc 01 movw r26, r24
924: cb 01 movw r24, r22
926: bc 01 movw r22, r24
928: cd 01 movw r24, r26
92a: 0e 94 2b 08 call 0x1056
92e: 6b 01 movw r12, r22
930: 7c 01 movw r14, r24
932: c5 01 movw r24, r10
934: b4 01 movw r22, r8
936: 0e 94 2b 08 call 0x1056
93a: dc 01 movw r26, r24
93c: cb 01 movw r24, r22
93e: 0f e0 ldi r16, 0x0F ; 15
940: 2f ef ldi r18, 0xFF ; 255
942: 40 e0 ldi r20, 0x00 ; 0
944: b6 01 movw r22, r12
946: 0e 94 21 05 call 0xa42
PutPixel(x+10, (int)(y+80), 0xf0, 0x3f, 0xf3);
94a: 20 e0 ldi r18, 0x00 ; 0
94c: 30 e0 ldi r19, 0x00 ; 0
94e: 40 e2 ldi r20, 0x20 ; 32
950: 51 e4 ldi r21, 0x41 ; 65
952: c5 01 movw r24, r10
954: b4 01 movw r22, r8
956: 0e 94 9b 07 call 0xf36
95a: dc 01 movw r26, r24
95c: cb 01 movw r24, r22
95e: bc 01 movw r22, r24
960: cd 01 movw r24, r26
962: 0e 94 2b 08 call 0x1056
966: dc 01 movw r26, r24
968: cb 01 movw r24, r22
96a: 03 ef ldi r16, 0xF3 ; 243
96c: 2f e3 ldi r18, 0x3F ; 63
96e: 40 ef ldi r20, 0xF0 ; 240
970: b6 01 movw r22, r12
972: 0e 94 21 05 call 0xa42
976: 2d ec ldi r18, 0xCD ; 205
978: 3c ec ldi r19, 0xCC ; 204
97a: 4c ec ldi r20, 0xCC ; 204
97c: 5d e3 ldi r21, 0x3D ; 61
97e: c5 01 movw r24, r10
980: b4 01 movw r22, r8
982: 0e 94 9b 07 call 0xf36
986: 4b 01 movw r8, r22
988: 5c 01 movw r10, r24
98a: 20 e0 ldi r18, 0x00 ; 0
98c: 30 e0 ldi r19, 0x00 ; 0
98e: 40 ef ldi r20, 0xF0 ; 240
990: 52 e4 ldi r21, 0x42 ; 66
992: c5 01 movw r24, r10
994: b4 01 movw r22, r8
996: 0e 94 46 08 call 0x108c
99a: 87 fd sbrc r24, 7
99c: a0 cf rjmp .-192 ; 0x8de
}
PutString(0, 0, "I'm what I am, I'm ldqmoon!", 0x00, 0x00, 0x00, 0xf0, 0x0f, 0x23);
99e: 63 e2 ldi r22, 0x23 ; 35
9a0: 86 2e mov r8, r22
9a2: 5f e0 ldi r21, 0x0F ; 15
9a4: a5 2e mov r10, r21
9a6: 40 ef ldi r20, 0xF0 ; 240
9a8: c4 2e mov r12, r20
9aa: ee 24 eor r14, r14
9ac: 0e 2d mov r16, r14
9ae: 2e 2d mov r18, r14
9b0: 40 e6 ldi r20, 0x60 ; 96
9b2: 50 e0 ldi r21, 0x00 ; 0
9b4: 60 e0 ldi r22, 0x00 ; 0
9b6: 70 e0 ldi r23, 0x00 ; 0
9b8: cb 01 movw r24, r22
9ba: 0e 94 39 07 call 0xe72
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -