📄 ocm4_16a.lss
字号:
ocm4_16a.elf: file format elf32-avr
Sections:
Idx Name Size VMA LMA File off Algn
0 .data 000008a2 00800100 000007c4 00000858 2**0
CONTENTS, ALLOC, LOAD, DATA
1 .text 000007c4 00000000 00000000 00000094 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .bss 00000000 008009a2 00001066 000010fa 2**0
ALLOC
3 .noinit 00000000 008009a2 008009a2 000010fa 2**0
CONTENTS
4 .eeprom 00000000 00810000 00810000 000010fa 2**0
CONTENTS
5 .stab 00000dc8 00000000 00000000 000010fc 2**2
CONTENTS, READONLY, DEBUGGING
6 .stabstr 00000809 00000000 00000000 00001ec4 2**0
CONTENTS, READONLY, DEBUGGING
Disassembly of section .text:
00000000 <__vectors>:
0: 0c 94 46 00 jmp 0x8c
4: 0c 94 63 00 jmp 0xc6
8: 0c 94 63 00 jmp 0xc6
c: 0c 94 63 00 jmp 0xc6
10: 0c 94 63 00 jmp 0xc6
14: 0c 94 63 00 jmp 0xc6
18: 0c 94 63 00 jmp 0xc6
1c: 0c 94 63 00 jmp 0xc6
20: 0c 94 63 00 jmp 0xc6
24: 0c 94 63 00 jmp 0xc6
28: 0c 94 63 00 jmp 0xc6
2c: 0c 94 63 00 jmp 0xc6
30: 0c 94 63 00 jmp 0xc6
34: 0c 94 63 00 jmp 0xc6
38: 0c 94 63 00 jmp 0xc6
3c: 0c 94 63 00 jmp 0xc6
40: 0c 94 63 00 jmp 0xc6
44: 0c 94 63 00 jmp 0xc6
48: 0c 94 63 00 jmp 0xc6
4c: 0c 94 63 00 jmp 0xc6
50: 0c 94 63 00 jmp 0xc6
54: 0c 94 63 00 jmp 0xc6
58: 0c 94 63 00 jmp 0xc6
5c: 0c 94 63 00 jmp 0xc6
60: 0c 94 63 00 jmp 0xc6
64: 0c 94 63 00 jmp 0xc6
68: 0c 94 63 00 jmp 0xc6
6c: 0c 94 63 00 jmp 0xc6
70: 0c 94 63 00 jmp 0xc6
74: 0c 94 63 00 jmp 0xc6
78: 0c 94 63 00 jmp 0xc6
7c: 0c 94 63 00 jmp 0xc6
80: 0c 94 63 00 jmp 0xc6
84: 0c 94 63 00 jmp 0xc6
88: 0c 94 63 00 jmp 0xc6
0000008c <__ctors_end>:
8c: 11 24 eor r1, r1
8e: 1f be out 0x3f, r1 ; 63
90: cf ef ldi r28, 0xFF ; 255
92: d0 e1 ldi r29, 0x10 ; 16
94: de bf out 0x3e, r29 ; 62
96: cd bf out 0x3d, r28 ; 61
00000098 <__do_copy_data>:
98: 19 e0 ldi r17, 0x09 ; 9
9a: a0 e0 ldi r26, 0x00 ; 0
9c: b1 e0 ldi r27, 0x01 ; 1
9e: e4 ec ldi r30, 0xC4 ; 196
a0: f7 e0 ldi r31, 0x07 ; 7
a2: 00 e0 ldi r16, 0x00 ; 0
a4: 0b bf out 0x3b, r16 ; 59
a6: 02 c0 rjmp .+4 ; 0xac
000000a8 <.__do_copy_data_loop>:
a8: 07 90 elpm r0, Z+
aa: 0d 92 st X+, r0
000000ac <.__do_copy_data_start>:
ac: a2 3a cpi r26, 0xA2 ; 162
ae: b1 07 cpc r27, r17
b0: d9 f7 brne .-10 ; 0xa8
000000b2 <__do_clear_bss>:
b2: 19 e0 ldi r17, 0x09 ; 9
b4: a2 ea ldi r26, 0xA2 ; 162
b6: b9 e0 ldi r27, 0x09 ; 9
b8: 01 c0 rjmp .+2 ; 0xbc
000000ba <.do_clear_bss_loop>:
ba: 1d 92 st X+, r1
000000bc <.do_clear_bss_start>:
bc: a2 3a cpi r26, 0xA2 ; 162
be: b1 07 cpc r27, r17
c0: e1 f7 brne .-8 ; 0xba
c2: 0c 94 84 03 jmp 0x708
000000c6 <__bad_interrupt>:
c6: 0c 94 00 00 jmp 0x0
000000ca <delay_1us>:
系统时钟:8M
-----------------------------------------------------------------------*/
void delay_1us(void) //1us延时函数
{
asm("nop");
ca: 00 00 nop
cc: 08 95 ret
000000ce <delay_nus>:
}
void delay_nus(unsigned int n) //N us延时函数
{
ce: cf 93 push r28
d0: df 93 push r29
unsigned int i=0;
for (i=0;i<n;i++)
d2: 00 97 sbiw r24, 0x00 ; 0
d4: 29 f0 breq .+10 ; 0xe0
d6: ec 01 movw r28, r24
delay_1us();
d8: 0e 94 65 00 call 0xca
dc: 21 97 sbiw r28, 0x01 ; 1
de: e1 f7 brne .-8 ; 0xd8
e0: df 91 pop r29
e2: cf 91 pop r28
e4: 08 95 ret
000000e6 <delay_1ms>:
}
void delay_1ms(void) //1ms延时函数
{
e6: 83 e7 ldi r24, 0x73 ; 115
e8: 94 e0 ldi r25, 0x04 ; 4
unsigned int i;
for (i=0;i<1140;i++);
ea: cc 97 sbiw r24, 0x3c ; 60
ec: 97 ff sbrs r25, 7
ee: fd cf rjmp .-6 ; 0xea
f0: 08 95 ret
000000f2 <delay_nms>:
}
void delay_nms(unsigned int n) //N ms延时函数
{
f2: cf 93 push r28
f4: df 93 push r29
unsigned int i=0;
for (i=0;i<n;i++)
f6: 00 97 sbiw r24, 0x00 ; 0
f8: 29 f0 breq .+10 ; 0x104
fa: ec 01 movw r28, r24
delay_1ms();
fc: 0e 94 73 00 call 0xe6
100: 21 97 sbiw r28, 0x01 ; 1
102: e1 f7 brne .-8 ; 0xfc
104: df 91 pop r29
106: cf 91 pop r28
108: 08 95 ret
0000010a <chk_busy>:
}
}
void chk_busy (uchar choe1,uchar choe2)
{
if(choe1==1)
10a: 81 30 cpi r24, 0x01 ; 1
10c: 51 f4 brne .+20 ; 0x122
{
DDRC = 0xFF;
10e: 8f ef ldi r24, 0xFF ; 255
110: 84 bb out 0x14, r24 ; 20
CLR_LCD_RS;
112: 80 91 65 00 lds r24, 0x0065
116: 8e 7f andi r24, 0xFE ; 254
118: 80 93 65 00 sts 0x0065, r24
SET_LCD_RW;
11c: 96 9a sbi 0x12, 6 ; 18
SET_LCD_E1;
11e: 97 9a sbi 0x12, 7 ; 18
while(Busy==1);
CLR_LCD_E1;
120: 97 98 cbi 0x12, 7 ; 18
}
if(choe2==1)
122: 61 30 cpi r22, 0x01 ; 1
124: 51 f4 brne .+20 ; 0x13a
{
DDRC = 0xFF;
126: 8f ef ldi r24, 0xFF ; 255
128: 84 bb out 0x14, r24 ; 20
CLR_LCD_RS;
12a: 80 91 65 00 lds r24, 0x0065
12e: 8e 7f andi r24, 0xFE ; 254
130: 80 93 65 00 sts 0x0065, r24
SET_LCD_RW;
134: 96 9a sbi 0x12, 6 ; 18
SET_LCD_E2;
136: 95 9a sbi 0x12, 5 ; 18
while(Busy==1);
CLR_LCD_E2;
138: 95 98 cbi 0x12, 5 ; 18
13a: 08 95 ret
13c: 08 95 ret
0000013e <send_d>:
13e: 0f 93 push r16
140: 1f 93 push r17
142: cf 93 push r28
144: 18 2f mov r17, r24
146: c6 2f mov r28, r22
148: 04 2f mov r16, r20
14a: 0e 94 85 00 call 0x10a
14e: 80 91 65 00 lds r24, 0x0065
152: 81 60 ori r24, 0x01 ; 1
154: 80 93 65 00 sts 0x0065, r24
158: 96 98 cbi 0x12, 6 ; 18
15a: 11 30 cpi r17, 0x01 ; 1
15c: 39 f4 brne .+14 ; 0x16c
15e: 05 bb out 0x15, r16 ; 21
160: 97 9a sbi 0x12, 7 ; 18
162: 85 e0 ldi r24, 0x05 ; 5
164: 90 e0 ldi r25, 0x00 ; 0
166: 0e 94 79 00 call 0xf2
16a: 97 98 cbi 0x12, 7 ; 18
16c: c1 30 cpi r28, 0x01 ; 1
16e: 39 f4 brne .+14 ; 0x17e
170: 05 bb out 0x15, r16 ; 21
172: 95 9a sbi 0x12, 5 ; 18
174: 85 e0 ldi r24, 0x05 ; 5
176: 90 e0 ldi r25, 0x00 ; 0
178: 0e 94 79 00 call 0xf2
17c: 95 98 cbi 0x12, 5 ; 18
17e: cf 91 pop r28
180: 1f 91 pop r17
182: 0f 91 pop r16
184: 08 95 ret
00000186 <send_c>:
186: 0f 93 push r16
188: 1f 93 push r17
18a: cf 93 push r28
18c: 18 2f mov r17, r24
18e: c6 2f mov r28, r22
190: 04 2f mov r16, r20
192: 0e 94 85 00 call 0x10a
196: 80 91 65 00 lds r24, 0x0065
19a: 8e 7f andi r24, 0xFE ; 254
19c: 80 93 65 00 sts 0x0065, r24
1a0: 96 98 cbi 0x12, 6 ; 18
1a2: 11 30 cpi r17, 0x01 ; 1
1a4: 39 f4 brne .+14 ; 0x1b4
1a6: 05 bb out 0x15, r16 ; 21
1a8: 97 9a sbi 0x12, 7 ; 18
1aa: 85 e0 ldi r24, 0x05 ; 5
1ac: 90 e0 ldi r25, 0x00 ; 0
1ae: 0e 94 79 00 call 0xf2
1b2: 97 98 cbi 0x12, 7 ; 18
1b4: c1 30 cpi r28, 0x01 ; 1
1b6: 39 f4 brne .+14 ; 0x1c6
1b8: 05 bb out 0x15, r16 ; 21
1ba: 95 9a sbi 0x12, 5 ; 18
1bc: 85 e0 ldi r24, 0x05 ; 5
1be: 90 e0 ldi r25, 0x00 ; 0
1c0: 0e 94 79 00 call 0xf2
1c4: 95 98 cbi 0x12, 5 ; 18
1c6: cf 91 pop r28
1c8: 1f 91 pop r17
1ca: 0f 91 pop r16
1cc: 08 95 ret
000001ce <clrram>:
1ce: 40 e3 ldi r20, 0x30 ; 48
1d0: 61 e0 ldi r22, 0x01 ; 1
1d2: 86 2f mov r24, r22
1d4: 0e 94 c3 00 call 0x186
1d8: 41 e0 ldi r20, 0x01 ; 1
1da: 64 2f mov r22, r20
1dc: 84 2f mov r24, r20
1de: 0e 94 c3 00 call 0x186
1e2: 08 95 ret
000001e4 <lat_disp>:
1e4: ef 92 push r14
1e6: ff 92 push r15
1e8: 0f 93 push r16
1ea: 1f 93 push r17
1ec: cf 93 push r28
1ee: df 93 push r29
1f0: e8 2e mov r14, r24
1f2: f6 2e mov r15, r22
1f4: 00 e0 ldi r16, 0x00 ; 0
1f6: 10 e0 ldi r17, 0x00 ; 0
1f8: 44 e3 ldi r20, 0x34 ; 52
1fa: 61 e0 ldi r22, 0x01 ; 1
1fc: 86 2f mov r24, r22
1fe: 0e 94 c3 00 call 0x186
202: c0 2f mov r28, r16
204: dd 27 eor r29, r29
206: ce 01 movw r24, r28
208: 8c 0f add r24, r28
20a: 9d 1f adc r25, r29
20c: 48 2f mov r20, r24
20e: 40 58 subi r20, 0x80 ; 128
210: 61 e0 ldi r22, 0x01 ; 1
212: 86 2f mov r24, r22
214: 0e 94 c3 00 call 0x186
218: 81 2f mov r24, r17
21a: 80 58 subi r24, 0x80 ; 128
21c: 48 2f mov r20, r24
21e: 61 e0 ldi r22, 0x01 ; 1
220: 86 2f mov r24, r22
222: 0e 94 c3 00 call 0x186
226: 40 e3 ldi r20, 0x30 ; 48
228: 61 e0 ldi r22, 0x01 ; 1
22a: 86 2f mov r24, r22
22c: 0e 94 c3 00 call 0x186
230: 4e 2d mov r20, r14
232: 61 e0 ldi r22, 0x01 ; 1
234: 86 2f mov r24, r22
236: 0e 94 9f 00 call 0x13e
23a: 4e 2d mov r20, r14
23c: 61 e0 ldi r22, 0x01 ; 1
23e: 86 2f mov r24, r22
240: 0e 94 9f 00 call 0x13e
244: 1f 5f subi r17, 0xFF ; 255
246: 10 31 cpi r17, 0x10 ; 16
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -