| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- GAS LISTING /tmp/cchGfp9n.s page 1
- 1 .file "sbi1mmc1.c"
- 2 __SP_H__ = 0x3e
- 3 __SP_L__ = 0x3d
- 4 __SREG__ = 0x3f
- 5 __RAMPZ__ = 0x3b
- 6 __tmp_reg__ = 0
- 7 __zero_reg__ = 1
- 8 .section .text.SbiMmCardInit,"ax",@progbits
- 9 .type SbiMmCardInit, @function
- 10 SbiMmCardInit:
- 11 /* prologue: function */
- 12 /* frame size = 0 */
- 13 /* stack size = 0 */
- 14 .L__stack_usage = 0
- 15 0000 1092 0000 sts mmc_dcb+2+1,__zero_reg__
- 16 0004 1092 0000 sts mmc_dcb+2,__zero_reg__
- 17 0008 81E0 ldi r24,lo8(1)
- 18 000a 90E0 ldi r25,0
- 19 000c 2091 0000 lds r18,mmc_dcb
- 20 0010 3091 0000 lds r19,mmc_dcb+1
- 21 0014 232B or r18,r19
- 22 0016 01F0 breq .L2
- 23 0018 80E0 ldi r24,0
- 24 001a 90E0 ldi r25,0
- 25 .L2:
- 26 001c 9195 neg r25
- 27 001e 8195 neg r24
- 28 0020 9109 sbc r25,__zero_reg__
- 29 0022 0895 ret
- 30 .size SbiMmCardInit, .-SbiMmCardInit
- 31 .section .text.SbiMmCardSelect,"ax",@progbits
- 32 .type SbiMmCardSelect, @function
- 33 SbiMmCardSelect:
- 34 /* prologue: function */
- 35 /* frame size = 0 */
- 36 /* stack size = 0 */
- 37 .L__stack_usage = 0
- 38 0000 81E0 ldi r24,lo8(1)
- 39 0002 90E0 ldi r25,0
- 40 0004 0895 ret
- 41 .size SbiMmCardSelect, .-SbiMmCardSelect
- 42 .section .text.SbiMmCardIo,"ax",@progbits
- 43 .type SbiMmCardIo, @function
- 44 SbiMmCardIo:
- 45 /* prologue: function */
- 46 /* frame size = 0 */
- 47 /* stack size = 0 */
- 48 .L__stack_usage = 0
- 49 0000 28E0 ldi r18,lo8(8)
- 50 0002 30E0 ldi r19,0
- 51 0004 90E8 ldi r25,lo8(-128)
- 52 .L9:
- 53 /* #APP */
- 54 ; 195 "../../nut/dev/sbi_mmc.c" 1
- 55 0006 0000 nop
- 56 ; 0 "" 2
- 57 ; 195 "../../nut/dev/sbi_mmc.c" 1
- GAS LISTING /tmp/cchGfp9n.s page 2
- 58 0008 0000 nop
- 59 ; 0 "" 2
- 60 ; 195 "../../nut/dev/sbi_mmc.c" 1
- 61 000a 0000 nop
- 62 ; 0 "" 2
- 63 ; 195 "../../nut/dev/sbi_mmc.c" 1
- 64 000c 0000 nop
- 65 ; 0 "" 2
- 66 ; 196 "../../nut/dev/sbi_mmc.c" 1
- 67 000e 0000 nop
- 68 ; 0 "" 2
- 69 ; 196 "../../nut/dev/sbi_mmc.c" 1
- 70 0010 0000 nop
- 71 ; 0 "" 2
- 72 ; 196 "../../nut/dev/sbi_mmc.c" 1
- 73 0012 0000 nop
- 74 ; 0 "" 2
- 75 ; 196 "../../nut/dev/sbi_mmc.c" 1
- 76 0014 0000 nop
- 77 ; 0 "" 2
- 78 ; 197 "../../nut/dev/sbi_mmc.c" 1
- 79 0016 0000 nop
- 80 ; 0 "" 2
- 81 ; 197 "../../nut/dev/sbi_mmc.c" 1
- 82 0018 0000 nop
- 83 ; 0 "" 2
- 84 ; 197 "../../nut/dev/sbi_mmc.c" 1
- 85 001a 0000 nop
- 86 ; 0 "" 2
- 87 ; 197 "../../nut/dev/sbi_mmc.c" 1
- 88 001c 0000 nop
- 89 ; 0 "" 2
- 90 ; 198 "../../nut/dev/sbi_mmc.c" 1
- 91 001e 0000 nop
- 92 ; 0 "" 2
- 93 ; 198 "../../nut/dev/sbi_mmc.c" 1
- 94 0020 0000 nop
- 95 ; 0 "" 2
- 96 ; 198 "../../nut/dev/sbi_mmc.c" 1
- 97 0022 0000 nop
- 98 ; 0 "" 2
- 99 ; 198 "../../nut/dev/sbi_mmc.c" 1
- 100 0024 0000 nop
- 101 ; 0 "" 2
- 102 /* #NOAPP */
- 103 0026 892B or r24,r25
- 104 0028 9695 lsr r25
- 105 002a 2150 subi r18,1
- 106 002c 3109 sbc r19,__zero_reg__
- 107 002e 01F4 brne .L9
- 108 /* epilogue start */
- 109 0030 0895 ret
- 110 .size SbiMmCardIo, .-SbiMmCardIo
- 111 .section .text.SbiMmCardWrProt,"ax",@progbits
- 112 .type SbiMmCardWrProt, @function
- 113 SbiMmCardWrProt:
- 114 /* prologue: function */
- GAS LISTING /tmp/cchGfp9n.s page 3
- 115 /* frame size = 0 */
- 116 /* stack size = 0 */
- 117 .L__stack_usage = 0
- 118 0000 80E0 ldi r24,0
- 119 0002 90E0 ldi r25,0
- 120 0004 0895 ret
- 121 .size SbiMmCardWrProt, .-SbiMmCardWrProt
- 122 .section .text.SbiMmCardSetAdrMode,"ax",@progbits
- 123 .global SbiMmCardSetAdrMode
- 124 .type SbiMmCardSetAdrMode, @function
- 125 SbiMmCardSetAdrMode:
- 126 /* prologue: function */
- 127 /* frame size = 0 */
- 128 /* stack size = 0 */
- 129 .L__stack_usage = 0
- 130 0000 9093 0000 sts mmc_dcb+4+1,r25
- 131 0004 8093 0000 sts mmc_dcb+4,r24
- 132 0008 80E0 ldi r24,0
- 133 000a 90E0 ldi r25,0
- 134 000c 0895 ret
- 135 .size SbiMmCardSetAdrMode, .-SbiMmCardSetAdrMode
- 136 .section .text.SbiMmCardGetAdrMode,"ax",@progbits
- 137 .global SbiMmCardGetAdrMode
- 138 .type SbiMmCardGetAdrMode, @function
- 139 SbiMmCardGetAdrMode:
- 140 /* prologue: function */
- 141 /* frame size = 0 */
- 142 /* stack size = 0 */
- 143 .L__stack_usage = 0
- 144 0000 8091 0000 lds r24,mmc_dcb+4
- 145 0004 9091 0000 lds r25,mmc_dcb+4+1
- 146 0008 0895 ret
- 147 .size SbiMmCardGetAdrMode, .-SbiMmCardGetAdrMode
- 148 .section .text.SbiMmcIfcInit,"ax",@progbits
- 149 .type SbiMmcIfcInit, @function
- 150 SbiMmcIfcInit:
- 151 /* prologue: function */
- 152 /* frame size = 0 */
- 153 /* stack size = 0 */
- 154 .L__stack_usage = 0
- 155 0000 E0E0 ldi r30,lo8(mmc_dcb)
- 156 0002 F0E0 ldi r31,hi8(mmc_dcb)
- 157 0004 21E0 ldi r18,lo8(1)
- 158 0006 30E0 ldi r19,0
- 159 0008 3183 std Z+1,r19
- 160 000a 2083 st Z,r18
- 161 000c 1382 std Z+3,__zero_reg__
- 162 000e 1282 std Z+2,__zero_reg__
- 163 0010 0C94 0000 jmp MmCardDevInit
- 164 .size SbiMmcIfcInit, .-SbiMmcIfcInit
- 165 .section .text.SbiMmCardAvail,"ax",@progbits
- 166 .type SbiMmCardAvail, @function
- 167 SbiMmCardAvail:
- 168 /* prologue: function */
- 169 /* frame size = 0 */
- 170 /* stack size = 0 */
- 171 .L__stack_usage = 0
- GAS LISTING /tmp/cchGfp9n.s page 4
- 172 0000 8091 0000 lds r24,mmc_dcb
- 173 0004 9091 0000 lds r25,mmc_dcb+1
- 174 0008 0097 sbiw r24,0
- 175 000a 01F0 breq .L16
- 176 000c 8091 0000 lds r24,mmc_dcb+2
- 177 0010 9091 0000 lds r25,mmc_dcb+2+1
- 178 0014 892B or r24,r25
- 179 0016 01F4 brne .L17
- 180 0018 81E0 ldi r24,lo8(1)
- 181 001a 90E0 ldi r25,0
- 182 001c 0895 ret
- 183 .L17:
- 184 001e 82E0 ldi r24,lo8(2)
- 185 0020 90E0 ldi r25,0
- 186 .L16:
- 187 0022 0895 ret
- 188 .size SbiMmCardAvail, .-SbiMmCardAvail
- 189 .global devSbi1MmCard1
- 190 .data
- 191 .type devSbi1MmCard1, @object
- 192 .size devSbi1MmCard1, 37
- 193 devSbi1MmCard1:
- 194 0000 0000 .word 0
- 195 0002 4D .byte 77
- 196 0003 4D .byte 77
- 197 0004 43 .byte 67
- 198 0005 33 .byte 51
- 199 0006 00 .byte 0
- 200 0007 00 .byte 0
- 201 0008 00 .byte 0
- 202 0009 00 .byte 0
- 203 000a 00 .byte 0
- 204 000b 00 .byte 0
- 205 000c 0000 .word 0
- 206 000e 00 .byte 0
- 207 000f 0000 .word mmc_ifc
- 208 0011 0000 .word mmc_dcb
- 209 0013 0000 .word gs(SbiMmcIfcInit)
- 210 0015 0000 .word gs(MmCardIOCtl)
- 211 0017 0000 .word gs(MmCardBlockRead)
- 212 0019 0000 .word gs(MmCardBlockWrite)
- 213 001b 0000 .word gs(MmCardBlockWrite_P)
- 214 001d 0000 .word gs(MmCardMount)
- 215 001f 0000 .word gs(MmCardUnmount)
- 216 0021 0000 .word 0
- 217 0023 0000 .word 0
- 218 .type mmc_ifc, @object
- 219 .size mmc_ifc, 14
- 220 mmc_ifc:
- 221 0025 0000 .word gs(SbiMmCardInit)
- 222 0027 0000 .word gs(SbiMmCardIo)
- 223 0029 0000 .word gs(SbiMmCardSelect)
- 224 002b 0000 .word gs(SbiMmCardAvail)
- 225 002d 0000 .word gs(SbiMmCardWrProt)
- 226 002f 0000 .word gs(SbiMmCardSetAdrMode)
- 227 0031 0000 .word gs(SbiMmCardGetAdrMode)
- 228 .local mmc_dcb
- GAS LISTING /tmp/cchGfp9n.s page 5
- 229 .comm mmc_dcb,6,1
- 230 .ident "GCC: (GNU) 5.3.0"
- 231 .global __do_copy_data
- 232 .global __do_clear_bss
- GAS LISTING /tmp/cchGfp9n.s page 6
- DEFINED SYMBOLS
- *ABS*:0000000000000000 sbi1mmc1.c
- /tmp/cchGfp9n.s:2 *ABS*:000000000000003e __SP_H__
- /tmp/cchGfp9n.s:3 *ABS*:000000000000003d __SP_L__
- /tmp/cchGfp9n.s:4 *ABS*:000000000000003f __SREG__
- /tmp/cchGfp9n.s:5 *ABS*:000000000000003b __RAMPZ__
- /tmp/cchGfp9n.s:6 *ABS*:0000000000000000 __tmp_reg__
- /tmp/cchGfp9n.s:7 *ABS*:0000000000000001 __zero_reg__
- /tmp/cchGfp9n.s:10 .text.SbiMmCardInit:0000000000000000 SbiMmCardInit
- .bss:0000000000000000 mmc_dcb
- /tmp/cchGfp9n.s:33 .text.SbiMmCardSelect:0000000000000000 SbiMmCardSelect
- /tmp/cchGfp9n.s:44 .text.SbiMmCardIo:0000000000000000 SbiMmCardIo
- /tmp/cchGfp9n.s:113 .text.SbiMmCardWrProt:0000000000000000 SbiMmCardWrProt
- /tmp/cchGfp9n.s:125 .text.SbiMmCardSetAdrMode:0000000000000000 SbiMmCardSetAdrMode
- /tmp/cchGfp9n.s:139 .text.SbiMmCardGetAdrMode:0000000000000000 SbiMmCardGetAdrMode
- /tmp/cchGfp9n.s:150 .text.SbiMmcIfcInit:0000000000000000 SbiMmcIfcInit
- /tmp/cchGfp9n.s:167 .text.SbiMmCardAvail:0000000000000000 SbiMmCardAvail
- /tmp/cchGfp9n.s:193 .data:0000000000000000 devSbi1MmCard1
- /tmp/cchGfp9n.s:220 .data:0000000000000025 mmc_ifc
- UNDEFINED SYMBOLS
- MmCardDevInit
- MmCardIOCtl
- MmCardBlockRead
- MmCardBlockWrite
- MmCardBlockWrite_P
- MmCardMount
- MmCardUnmount
- __do_copy_data
- __do_clear_bss
|