📄 main.lss
字号:
2ac: 80 ec ldi r24, 0xC0 ; 192
2ae: 0e 94 64 00 call 0xc8 ; 0xc8 <lcd_regwrite>
2b2: 8a ef ldi r24, 0xFA ; 250
2b4: 90 e0 ldi r25, 0x00 ; 0
2b6: fc 01 movw r30, r24
2b8: 31 97 sbiw r30, 0x01 ; 1
2ba: f1 f7 brne .-4 ; 0x2b8 <touch_test+0x1e>
2bc: fc 01 movw r30, r24
2be: 31 97 sbiw r30, 0x01 ; 1
2c0: f1 f7 brne .-4 ; 0x2be <touch_test+0x24>
2c2: fc 01 movw r30, r24
2c4: 31 97 sbiw r30, 0x01 ; 1
2c6: f1 f7 brne .-4 ; 0x2c4 <touch_test+0x2a>
2c8: fc 01 movw r30, r24
2ca: 31 97 sbiw r30, 0x01 ; 1
2cc: f1 f7 brne .-4 ; 0x2ca <touch_test+0x30>
2ce: fc 01 movw r30, r24
2d0: 31 97 sbiw r30, 0x01 ; 1
2d2: f1 f7 brne .-4 ; 0x2d0 <touch_test+0x36>
2d4: 01 97 sbiw r24, 0x01 ; 1
2d6: f1 f7 brne .-4 ; 0x2d4 <touch_test+0x3a>
2d8: 81 ec ldi r24, 0xC1 ; 193
2da: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
2de: 08 2f mov r16, r24
2e0: 17 7f andi r17, 0xF7 ; 247
2e2: 61 2f mov r22, r17
2e4: 80 ec ldi r24, 0xC0 ; 192
2e6: 0e 94 64 00 call 0xc8 ; 0xc8 <lcd_regwrite>
2ea: 80 2f mov r24, r16
2ec: 90 e0 ldi r25, 0x00 ; 0
2ee: 1f 91 pop r17
2f0: 0f 91 pop r16
2f2: 08 95 ret
000002f4 <touch_x>:
2f4: 0f 93 push r16
2f6: 1f 93 push r17
2f8: 80 ec ldi r24, 0xC0 ; 192
2fa: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
2fe: 83 7f andi r24, 0xF3 ; 243
300: 83 60 ori r24, 0x03 ; 3
302: 68 2f mov r22, r24
304: 80 ec ldi r24, 0xC0 ; 192
306: 0e 94 64 00 call 0xc8 ; 0xc8 <lcd_regwrite>
30a: 8a ef ldi r24, 0xFA ; 250
30c: 90 e0 ldi r25, 0x00 ; 0
30e: fc 01 movw r30, r24
310: 31 97 sbiw r30, 0x01 ; 1
312: f1 f7 brne .-4 ; 0x310 <touch_x+0x1c>
314: fc 01 movw r30, r24
316: 31 97 sbiw r30, 0x01 ; 1
318: f1 f7 brne .-4 ; 0x316 <touch_x+0x22>
31a: fc 01 movw r30, r24
31c: 31 97 sbiw r30, 0x01 ; 1
31e: f1 f7 brne .-4 ; 0x31c <touch_x+0x28>
320: fc 01 movw r30, r24
322: 31 97 sbiw r30, 0x01 ; 1
324: f1 f7 brne .-4 ; 0x322 <touch_x+0x2e>
326: fc 01 movw r30, r24
328: 31 97 sbiw r30, 0x01 ; 1
32a: f1 f7 brne .-4 ; 0x328 <touch_x+0x34>
32c: 01 97 sbiw r24, 0x01 ; 1
32e: f1 f7 brne .-4 ; 0x32c <touch_x+0x38>
330: 88 ec ldi r24, 0xC8 ; 200
332: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
336: 08 2f mov r16, r24
338: 8a ec ldi r24, 0xCA ; 202
33a: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
33e: 10 e0 ldi r17, 0x00 ; 0
340: 00 0f add r16, r16
342: 11 1f adc r17, r17
344: 00 0f add r16, r16
346: 11 1f adc r17, r17
348: 82 95 swap r24
34a: 86 95 lsr r24
34c: 86 95 lsr r24
34e: 83 70 andi r24, 0x03 ; 3
350: 90 e0 ldi r25, 0x00 ; 0
352: 80 2b or r24, r16
354: 91 2b or r25, r17
356: 1f 91 pop r17
358: 0f 91 pop r16
35a: 08 95 ret
0000035c <touch_y>:
35c: 0f 93 push r16
35e: 1f 93 push r17
360: 80 ec ldi r24, 0xC0 ; 192
362: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
366: 8c 7f andi r24, 0xFC ; 252
368: 8c 60 ori r24, 0x0C ; 12
36a: 68 2f mov r22, r24
36c: 80 ec ldi r24, 0xC0 ; 192
36e: 0e 94 64 00 call 0xc8 ; 0xc8 <lcd_regwrite>
372: 8a ef ldi r24, 0xFA ; 250
374: 90 e0 ldi r25, 0x00 ; 0
376: fc 01 movw r30, r24
378: 31 97 sbiw r30, 0x01 ; 1
37a: f1 f7 brne .-4 ; 0x378 <touch_y+0x1c>
37c: fc 01 movw r30, r24
37e: 31 97 sbiw r30, 0x01 ; 1
380: f1 f7 brne .-4 ; 0x37e <touch_y+0x22>
382: fc 01 movw r30, r24
384: 31 97 sbiw r30, 0x01 ; 1
386: f1 f7 brne .-4 ; 0x384 <touch_y+0x28>
388: fc 01 movw r30, r24
38a: 31 97 sbiw r30, 0x01 ; 1
38c: f1 f7 brne .-4 ; 0x38a <touch_y+0x2e>
38e: fc 01 movw r30, r24
390: 31 97 sbiw r30, 0x01 ; 1
392: f1 f7 brne .-4 ; 0x390 <touch_y+0x34>
394: 01 97 sbiw r24, 0x01 ; 1
396: f1 f7 brne .-4 ; 0x394 <touch_y+0x38>
398: 89 ec ldi r24, 0xC9 ; 201
39a: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
39e: 08 2f mov r16, r24
3a0: 8a ec ldi r24, 0xCA ; 202
3a2: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
3a6: 10 e0 ldi r17, 0x00 ; 0
3a8: 00 0f add r16, r16
3aa: 11 1f adc r17, r17
3ac: 00 0f add r16, r16
3ae: 11 1f adc r17, r17
3b0: 8c 70 andi r24, 0x0C ; 12
3b2: 86 95 lsr r24
3b4: 86 95 lsr r24
3b6: 90 e0 ldi r25, 0x00 ; 0
3b8: 80 2b or r24, r16
3ba: 91 2b or r25, r17
3bc: 1f 91 pop r17
3be: 0f 91 pop r16
3c0: 08 95 ret
000003c2 <get_touch>:
3c2: 0f 93 push r16
3c4: 1f 93 push r17
3c6: cf 93 push r28
3c8: df 93 push r29
3ca: 60 ec ldi r22, 0xC0 ; 192
3cc: 80 ec ldi r24, 0xC0 ; 192
3ce: 0e 94 64 00 call 0xc8 ; 0xc8 <lcd_regwrite>
3d2: 8a ef ldi r24, 0xFA ; 250
3d4: 90 e0 ldi r25, 0x00 ; 0
3d6: fc 01 movw r30, r24
3d8: 31 97 sbiw r30, 0x01 ; 1
3da: f1 f7 brne .-4 ; 0x3d8 <get_touch+0x16>
3dc: fc 01 movw r30, r24
3de: 31 97 sbiw r30, 0x01 ; 1
3e0: f1 f7 brne .-4 ; 0x3de <get_touch+0x1c>
3e2: fc 01 movw r30, r24
3e4: 31 97 sbiw r30, 0x01 ; 1
3e6: f1 f7 brne .-4 ; 0x3e4 <get_touch+0x22>
3e8: fc 01 movw r30, r24
3ea: 31 97 sbiw r30, 0x01 ; 1
3ec: f1 f7 brne .-4 ; 0x3ea <get_touch+0x28>
3ee: fc 01 movw r30, r24
3f0: 31 97 sbiw r30, 0x01 ; 1
3f2: f1 f7 brne .-4 ; 0x3f0 <get_touch+0x2e>
3f4: 01 97 sbiw r24, 0x01 ; 1
3f6: f1 f7 brne .-4 ; 0x3f4 <get_touch+0x32>
3f8: 0e 94 4d 01 call 0x29a ; 0x29a <touch_test>
3fc: 86 ff sbrs r24, 6
3fe: 86 c0 rjmp .+268 ; 0x50c <__stack+0xad>
400: 81 ec ldi r24, 0xC1 ; 193
402: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
406: 87 ff sbrs r24, 7
408: fb cf rjmp .-10 ; 0x400 <get_touch+0x3e>
40a: 0e 94 ae 01 call 0x35c ; 0x35c <touch_y>
40e: 8c 01 movw r16, r24
410: 0e 94 7a 01 call 0x2f4 ; 0x2f4 <touch_x>
414: 9c 01 movw r18, r24
416: 68 ee ldi r22, 0xE8 ; 232
418: 73 e0 ldi r23, 0x03 ; 3
41a: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
41e: 60 93 0e 02 sts 0x020E, r22
422: c9 01 movw r24, r18
424: 68 ee ldi r22, 0xE8 ; 232
426: 73 e0 ldi r23, 0x03 ; 3
428: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
42c: 9c 01 movw r18, r24
42e: 64 e6 ldi r22, 0x64 ; 100
430: 70 e0 ldi r23, 0x00 ; 0
432: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
436: 60 93 0f 02 sts 0x020F, r22
43a: c9 01 movw r24, r18
43c: 64 e6 ldi r22, 0x64 ; 100
43e: 70 e0 ldi r23, 0x00 ; 0
440: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
444: 9c 01 movw r18, r24
446: 6a e0 ldi r22, 0x0A ; 10
448: 70 e0 ldi r23, 0x00 ; 0
44a: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
44e: 60 93 10 02 sts 0x0210, r22
452: c9 01 movw r24, r18
454: 6a e0 ldi r22, 0x0A ; 10
456: 70 e0 ldi r23, 0x00 ; 0
458: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
45c: 80 93 11 02 sts 0x0211, r24
460: c8 01 movw r24, r16
462: 68 ee ldi r22, 0xE8 ; 232
464: 73 e0 ldi r23, 0x03 ; 3
466: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
46a: 60 93 0a 02 sts 0x020A, r22
46e: c8 01 movw r24, r16
470: 68 ee ldi r22, 0xE8 ; 232
472: 73 e0 ldi r23, 0x03 ; 3
474: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
478: 9c 01 movw r18, r24
47a: 64 e6 ldi r22, 0x64 ; 100
47c: 70 e0 ldi r23, 0x00 ; 0
47e: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
482: 60 93 0b 02 sts 0x020B, r22
486: c9 01 movw r24, r18
488: 64 e6 ldi r22, 0x64 ; 100
48a: 70 e0 ldi r23, 0x00 ; 0
48c: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
490: 9c 01 movw r18, r24
492: 6a e0 ldi r22, 0x0A ; 10
494: 70 e0 ldi r23, 0x00 ; 0
496: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
49a: 60 93 0c 02 sts 0x020C, r22
49e: c9 01 movw r24, r18
4a0: 6a e0 ldi r22, 0x0A ; 10
4a2: 70 e0 ldi r23, 0x00 ; 0
4a4: 0e 94 2c 04 call 0x858 ; 0x858 <__udivmodhi4>
4a8: 80 93 0d 02 sts 0x020D, r24
4ac: 80 e1 ldi r24, 0x10 ; 16
4ae: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
4b2: 80 61 ori r24, 0x10 ; 16
4b4: 68 2f mov r22, r24
4b6: 80 e1 ldi r24, 0x10 ; 16
4b8: 0e 94 64 00 call 0xc8 ; 0xc8 <lcd_regwrite>
4bc: 60 e0 ldi r22, 0x00 ; 0
4be: 70 e0 ldi r23, 0x00 ; 0
4c0: 80 e0 ldi r24, 0x00 ; 0
4c2: 90 e0 ldi r25, 0x00 ; 0
4c4: 0e 94 71 00 call 0xe2 ; 0xe2 <gotoxy>
4c8: ce e0 ldi r28, 0x0E ; 14
4ca: d2 e0 ldi r29, 0x02 ; 2
4cc: 89 91 ld r24, Y+
4ce: 80 5d subi r24, 0xD0 ; 208
4d0: 0e 94 a2 00 call 0x144 ; 0x144 <lcd_datawrite>
4d4: 82 e0 ldi r24, 0x02 ; 2
4d6: c2 31 cpi r28, 0x12 ; 18
4d8: d8 07 cpc r29, r24
4da: c1 f7 brne .-16 ; 0x4cc <__stack+0x6d>
4dc: 60 e0 ldi r22, 0x00 ; 0
4de: 70 e0 ldi r23, 0x00 ; 0
4e0: 85 e0 ldi r24, 0x05 ; 5
4e2: 90 e0 ldi r25, 0x00 ; 0
4e4: 0e 94 71 00 call 0xe2 ; 0xe2 <gotoxy>
4e8: ca e0 ldi r28, 0x0A ; 10
4ea: d2 e0 ldi r29, 0x02 ; 2
4ec: 89 91 ld r24, Y+
4ee: 80 5d subi r24, 0xD0 ; 208
4f0: 0e 94 a2 00 call 0x144 ; 0x144 <lcd_datawrite>
4f4: 82 e0 ldi r24, 0x02 ; 2
4f6: ce 30 cpi r28, 0x0E ; 14
4f8: d8 07 cpc r29, r24
4fa: c1 f7 brne .-16 ; 0x4ec <__stack+0x8d>
4fc: 80 e1 ldi r24, 0x10 ; 16
4fe: 0e 94 7f 00 call 0xfe ; 0xfe <LCD_reRead>
502: 8f 7e andi r24, 0xEF ; 239
504: 68 2f mov r22, r24
506: 80 e1 ldi r24, 0x10 ; 16
508: 0e 94 64 00 call 0xc8 ; 0xc8 <lcd_regwrite>
50c: 60 e0 ldi r22, 0x00 ; 0
50e: 80 ec ldi r24, 0xC0 ; 192
510: 0e 94 64 00 call 0xc8 ; 0xc8 <lcd_regwrite>
514: 60 e0 ldi r22, 0x00 ; 0
516: 80 ec ldi r24, 0xC0 ; 192
518: 0e 94 64 00 call 0xc8 ; 0xc8 <lcd_regwrite>
51c: 66 e1 ldi r22, 0x16 ; 22
51e: 70 e0 ldi r23, 0x00 ; 0
520: 82 e0 ldi r24, 0x02 ; 2
522: 90 e0 ldi r25, 0x00 ; 0
524: 0e 94 71 00 call 0xe2 ; 0xe2 <gotoxy>
528: 68 e0 ldi r22, 0x08 ; 8
52a: 80 e6 ldi r24, 0x60 ; 96
52c: 90 e0 ldi r25, 0x00 ; 0
52e: 0e 94 3a 01 call 0x274 ; 0x274 <lcd_character>
532: 20 e0 ldi r18, 0x00 ; 0
534: 30 e0 ldi r19, 0x00 ; 0
536: 8a ef ldi r24, 0xFA ; 250
538: 90 e0 ldi r25, 0x00 ; 0
53a: 01 97 sbiw r24, 0x01 ; 1
53c: f1 f7 brne .-4 ; 0x53a <__stack+0xdb>
53e: 2f 5f subi r18, 0xFF ; 255
540: 3f 4f sbci r19, 0xFF ; 255
542: 87 e0 ldi r24, 0x07 ; 7
544: 20 3d cpi r18, 0xD0 ; 208
546: 38 07 cpc r19, r24
548: b1 f7 brne .-20 ; 0x536 <__stack+0xd7>
54a: 60 e0 ldi r22, 0x00 ; 0
54c: 70 e0 ldi r23, 0x00 ; 0
54e: 80 e0 ldi r24, 0x00 ; 0
550: 90 e0 ldi r25, 0x00 ; 0
552: 0e 94 71 00 call 0xe2 ; 0xe2 <gotoxy>
556: 00 e0 ldi r16, 0x00 ; 0
558: 80 e3 ldi r24, 0x30 ; 48
55a: 0e 94 a2 00 call 0x144 ; 0x144 <lcd_datawrite>
55e: 0f 5f subi r16, 0xFF ; 255
560: 04 30 cpi r16, 0x04 ; 4
562: d1 f7 brne .-12 ; 0x558 <__stack+0xf9>
564: 60 e0 ldi r22, 0x00 ; 0
566: 70 e0 ldi r23, 0x00 ; 0
568: 85 e0 ldi r24, 0x05 ; 5
56a: 90 e0 ldi r25, 0x00 ; 0
56c: 0e 94 71 00 call 0xe2 ; 0xe2 <gotoxy>
570: 00 e0 ldi r16, 0x00 ; 0
572: 80 e3 ldi r24, 0x30 ; 48
574: 0e 94 a2 00 call 0x144 ; 0x144 <lcd_datawrite>
578: 0f 5f subi r16, 0xFF ; 255
57a: 04 30 cpi r16, 0x04 ; 4
57c: d1 f7 brne .-12 ; 0x572 <__stack+0x113>
57e: 66 e1 ldi r22, 0x16 ; 22
580: 70 e0 ldi r23, 0x00 ; 0
582: 82 e0 ldi r24, 0x02 ; 2
584: 90 e0 ldi r25, 0x00 ; 0
586: 0e 94 71 00 call 0xe2 ; 0xe2 <gotoxy>
58a: 68 e0 ldi r22, 0x08 ; 8
58c: 89 e6 ldi r24, 0x69 ; 105
58e: 90 e0 ldi r25, 0x00 ; 0
590: 0e 94 3a 01 call 0x274 ; 0x274 <lcd_character>
594: df 91 pop r29
596: cf 91 pop r28
598: 1f 91 pop r17
59a: 0f 91 pop r16
59c: 08 95 ret
0000059e <Display_graphi>:
59e: 3f 92 push r3
5a0: 4f 92 push r4
5a2: 5f 92 push r5
5a4: 6f 92 push r6
5a6: 7f 92 push r7
5a8: 8f 92 push r8
5aa: 9f 92 push r9
5ac: af 92 push r10
5ae: bf 92 push r11
5b0: cf 92 push r12
5b2: df 92 push r13
5b4: ef 92 push r14
5b6: ff 92 push r15
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -