diskio.lst 5.69 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
   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               	.LFB52:
  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               	.LFE52:
  32               		.section	.text.disk_status,"ax",@progbits
  33               	.global	disk_status
  35               	disk_status:
  36               	.LFB53:
  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               	.LFE53:
  48               		.section	.text.disk_ioctl,"ax",@progbits
  49               	.global	disk_ioctl
  51               	disk_ioctl:
  52               	.LFB56:
  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               	.LFE56:
  71               		.section	.text.get_fattime,"ax",@progbits
  72               	.global	get_fattime
  74               	get_fattime:
  75               	.LFB57:
  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               	.LFE57:
  88               		.section	.text.disk_write,"ax",@progbits
  89               	.global	disk_write
  91               	disk_write:
  92               	.LFB55:
  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               	.LFE55:
 119               		.section	.text.disk_read,"ax",@progbits
 120               	.global	disk_read
 122               	disk_read:
 123               	.LFB54:
 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               	.LFE54:
 214               	.Letext0:
DEFINED SYMBOLS
                            *ABS*:00000000 diskio.c
134
135
136
137
138
139
140
141
142
143
144
145
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:2      *ABS*:0000003f __SREG__
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:3      *ABS*:0000003e __SP_H__
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:4      *ABS*:0000003d __SP_L__
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:5      *ABS*:00000034 __CCP__
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:6      *ABS*:00000000 __tmp_reg__
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:7      *ABS*:00000001 __zero_reg__
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:19     .text.disk_initialize:00000000 disk_initialize
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:35     .text.disk_status:00000000 disk_status
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:51     .text.disk_ioctl:00000000 disk_ioctl
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:74     .text.get_fattime:00000000 get_fattime
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:91     .text.disk_write:00000000 disk_write
C:\Users\Dean\AppData\Local\Temp/cc0EySTJ.s:122    .text.disk_read:00000000 disk_read
146
147
148
149

UNDEFINED SYMBOLS
DataflashManager_WriteBlocks_RAM
DataflashManager_ReadBlocks_RAM