You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
5.7 KiB
150 lines
5.7 KiB
15 years ago
|
1 .file "diskio.c"
|
||
|
2 __SREG__ = 0x3f
|
||
|
3 __SP_H__ = 0x3e
|
||
|
4 __SP_L__ = 0x3d
|
||
|
5 __CCP__ = 0x34
|
||
|
6 __tmp_reg__ = 0
|
||
|
7 __zero_reg__ = 1
|
||
|
15 .Ltext0:
|
||
|
16 .section .text.disk_initialize,"ax",@progbits
|
||
|
17 .global disk_initialize
|
||
|
19 disk_initialize:
|
||
|
20 .LFB54:
|
||
|
21 .LSM0:
|
||
|
22 .LVL0:
|
||
|
23 /* prologue: function */
|
||
|
24 /* frame size = 0 */
|
||
|
25 .LSM1:
|
||
|
26 0000 80E0 ldi r24,lo8(0)
|
||
|
27 .LVL1:
|
||
|
28 /* epilogue start */
|
||
|
29 0002 0895 ret
|
||
|
30 .LFE54:
|
||
|
32 .section .text.disk_status,"ax",@progbits
|
||
|
33 .global disk_status
|
||
|
35 disk_status:
|
||
|
36 .LFB55:
|
||
|
37 .LSM2:
|
||
|
38 .LVL2:
|
||
|
39 /* prologue: function */
|
||
|
40 /* frame size = 0 */
|
||
|
41 .LSM3:
|
||
|
42 0000 80E0 ldi r24,lo8(0)
|
||
|
43 .LVL3:
|
||
|
44 /* epilogue start */
|
||
|
45 0002 0895 ret
|
||
|
46 .LFE55:
|
||
|
48 .section .text.disk_ioctl,"ax",@progbits
|
||
|
49 .global disk_ioctl
|
||
|
51 disk_ioctl:
|
||
|
52 .LFB58:
|
||
|
53 .LSM4:
|
||
|
54 .LVL4:
|
||
|
55 /* prologue: function */
|
||
|
56 /* frame size = 0 */
|
||
|
57 .LSM5:
|
||
|
58 0000 6623 tst r22
|
||
|
59 0002 01F0 breq .L6
|
||
|
60 0004 84E0 ldi r24,lo8(4)
|
||
|
61 .LVL5:
|
||
|
62 0006 0895 ret
|
||
|
63 .LVL6:
|
||
|
64 .L6:
|
||
|
65 0008 80E0 ldi r24,lo8(0)
|
||
|
66 .LVL7:
|
||
|
67 .LSM6:
|
||
|
68 000a 0895 ret
|
||
|
69 .LFE58:
|
||
|
71 .section .text.get_fattime,"ax",@progbits
|
||
|
72 .global get_fattime
|
||
|
74 get_fattime:
|
||
|
75 .LFB59:
|
||
|
76 .LSM7:
|
||
|
77 /* prologue: function */
|
||
|
78 /* frame size = 0 */
|
||
|
79 .LSM8:
|
||
|
80 0000 61E2 ldi r22,lo8(35719201)
|
||
|
81 0002 78E0 ldi r23,hi8(35719201)
|
||
|
82 0004 81E2 ldi r24,hlo8(35719201)
|
||
|
83 0006 92E0 ldi r25,hhi8(35719201)
|
||
|
84 /* epilogue start */
|
||
|
85 0008 0895 ret
|
||
|
86 .LFE59:
|
||
|
88 .section .text.disk_write,"ax",@progbits
|
||
|
89 .global disk_write
|
||
|
91 disk_write:
|
||
|
92 .LFB57:
|
||
|
93 .LSM9:
|
||
|
94 .LVL8:
|
||
|
95 0000 0F93 push r16
|
||
|
96 .LVL9:
|
||
|
97 /* prologue: function */
|
||
|
98 /* frame size = 0 */
|
||
|
99 0002 FB01 movw r30,r22
|
||
|
100 .LSM10:
|
||
|
101 0004 CA01 movw r24,r20
|
||
|
102 0006 B901 movw r22,r18
|
||
|
103 .LVL10:
|
||
|
104 0008 402F mov r20,r16
|
||
|
105 .LVL11:
|
||
|
106 000a 50E0 ldi r21,lo8(0)
|
||
|
107 000c 9F01 movw r18,r30
|
||
|
108 .LVL12:
|
||
|
109 000e 0E94 0000 call DataflashManager_WriteBlocks_RAM
|
||
|
110 .LVL13:
|
||
|
111 .LSM11:
|
||
|
112 0012 80E0 ldi r24,lo8(0)
|
||
|
113 /* epilogue start */
|
||
|
114 0014 0F91 pop r16
|
||
|
115 .LVL14:
|
||
|
116 0016 0895 ret
|
||
|
117 .LFE57:
|
||
|
119 .section .text.disk_read,"ax",@progbits
|
||
|
120 .global disk_read
|
||
|
122 disk_read:
|
||
|
123 .LFB56:
|
||
|
124 .LSM12:
|
||
|
125 .LVL15:
|
||
|
126 0000 0F93 push r16
|
||
|
127 .LVL16:
|
||
|
128 /* prologue: function */
|
||
|
129 /* frame size = 0 */
|
||
|
130 0002 FB01 movw r30,r22
|
||
|
131 .LSM13:
|
||
|
132 0004 CA01 movw r24,r20
|
||
|
133 0006 B901 movw r22,r18
|
||
|
134 .LVL17:
|
||
|
135 0008 402F mov r20,r16
|
||
|
136 .LVL18:
|
||
|
137 000a 50E0 ldi r21,lo8(0)
|
||
|
138 000c 9F01 movw r18,r30
|
||
|
139 .LVL19:
|
||
|
140 000e 0E94 0000 call DataflashManager_ReadBlocks_RAM
|
||
|
141 .LVL20:
|
||
|
142 .LSM14:
|
||
|
143 0012 80E0 ldi r24,lo8(0)
|
||
|
144 /* epilogue start */
|
||
|
145 0014 0F91 pop r16
|
||
|
146 .LVL21:
|
||
|
147 0016 0895 ret
|
||
|
148 .LFE56:
|
||
|
214 .Letext0:
|
||
|
DEFINED SYMBOLS
|
||
|
*ABS*:00000000 diskio.c
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:2 *ABS*:0000003f __SREG__
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:3 *ABS*:0000003e __SP_H__
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:4 *ABS*:0000003d __SP_L__
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:5 *ABS*:00000034 __CCP__
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:6 *ABS*:00000000 __tmp_reg__
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:7 *ABS*:00000001 __zero_reg__
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:19 .text.disk_initialize:00000000 disk_initialize
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:35 .text.disk_status:00000000 disk_status
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:51 .text.disk_ioctl:00000000 disk_ioctl
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:74 .text.get_fattime:00000000 get_fattime
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:91 .text.disk_write:00000000 disk_write
|
||
|
C:\Users\Dean\AppData\Local\Temp/cc5TUdwu.s:122 .text.disk_read:00000000 disk_read
|
||
|
|
||
|
UNDEFINED SYMBOLS
|
||
|
DataflashManager_WriteBlocks_RAM
|
||
|
DataflashManager_ReadBlocks_RAM
|