📄 flash.lst
字号:
GAS LISTING /tmp/ccFGv1Uf.s page 1 1 .section .mdebug.abi32 2 .previous 3 .section .debug_abbrev,"",@progbits 4 $Ldebug_abbrev0: 5 .section .debug_info,"",@progbits 6 $Ldebug_info0: 7 .section .debug_line,"",@progbits 8 $Ldebug_line0: 9 0000 7E000000 .text 9 02005700 9 00000101 9 FB0E0A00 9 01010101 10 $Ltext0: 11 .align 2 12 .globl flashClose 13 .ent flashClose 14 .type flashClose, @function 15 flashClose: 16 $LFB2: 17 .file 1 "/mnt/hgfs/boot/booter/source/applications/booter/flash.c" 1:/mnt/hgfs/boot/booter/source/applications/booter/flash.c ****
2:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** #include "flash.h"
3:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** #include "util.h"
4:/mnt/hgfs/boot/booter/source/applications/booter/flash.c ****
5:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** struct FlashFileHandle fileHandle;
6:/mnt/hgfs/boot/booter/source/applications/booter/flash.c ****
7:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** int flashClose()
8:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** {
18 .loc 1 8 0 19 .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0 20 .mask 0x00000000,0 21 .fmask 0x00000000,0 22 .set noreorder 23 .set nomacro 24 9:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** return 1;
10:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** }
25 .loc 1 10 0 26 0000 0800E003 j $31 27 0004 01000224 li $2,1 # 0x1 28 29 .set macro 30 .set reorder 31 $LFE2: 32 .end flashClose 33 .align 2 34 .globl flashOpen 35 .ent flashOpen 36 .type flashOpen, @function 37 flashOpen: 38 $LFB3: 11:/mnt/hgfs/boot/booter/source/applications/booter/flash.c ****
12:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** int flashOpen(const char* address)
13:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** {
39 .loc 1 13 0 40 .frame $sp,24,$31 # vars= 0, regs= 1/0, args= 16, gp= 0GAS LISTING /tmp/ccFGv1Uf.s page 2 41 .mask 0x80000000,-8 42 .fmask 0x00000000,0 43 .set noreorder 44 .set nomacro 45 46 0008 E8FFBD27 addiu $sp,$sp,-24 47 $LCFI0: 48 000c 1000BFAF sw $31,16($sp) 49 $LCFI1: 14:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** fileHandle.start = (char*)stringToInt(address);
50 .loc 1 14 0 51 0010 0000000C jal stringToInt 52 0014 00000000 nop 53 54 0018 0000043C lui $4,%hi(fileHandle) 15:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** fileHandle.current = fileHandle.start;
16:/mnt/hgfs/boot/booter/source/applications/booter/flash.c ****
17:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** return 1;
18:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** }
55 .loc 1 18 0 56 001c 1000BF8F lw $31,16($sp) 57 .loc 1 15 0 58 0020 00008324 addiu $3,$4,%lo(fileHandle) 59 0024 040062AC sw $2,4($3) 60 .loc 1 14 0 61 0028 000082AC sw $2,%lo(fileHandle)($4) 62 .loc 1 18 0 63 002c 1800BD27 addiu $sp,$sp,24 64 0030 0800E003 j $31 65 0034 01000224 li $2,1 # 0x1 66 67 .set macro 68 .set reorder 69 $LFE3: 70 .end flashOpen 71 .align 2 72 .globl flashRead 73 .ent flashRead 74 .type flashRead, @function 75 flashRead: 76 $LFB4: 19:/mnt/hgfs/boot/booter/source/applications/booter/flash.c ****
20:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** int flashRead(void* buffer, int size)
21:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** {
77 .loc 1 21 0 78 .frame $sp,32,$31 # vars= 0, regs= 3/0, args= 16, gp= 0 79 .mask 0x80030000,-8 80 .fmask 0x00000000,0 81 .set noreorder 82 .set nomacro 83 84 0038 E0FFBD27 addiu $sp,$sp,-32 85 $LCFI2: 86 003c 1400B1AF sw $17,20($sp) 87 $LCFI3: 22:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** memCopy(fileHandle.current, buffer, size);
88 .loc 1 22 0GAS LISTING /tmp/ccFGv1Uf.s page 3 89 0040 0000113C lui $17,%hi(fileHandle) 90 .loc 1 21 0 91 0044 1800BFAF sw $31,24($sp) 92 $LCFI4: 93 0048 1000B0AF sw $16,16($sp) 94 $LCFI5: 95 .loc 1 22 0 96 004c 00003126 addiu $17,$17,%lo(fileHandle) 97 .loc 1 21 0 98 0050 21108000 move $2,$4 99 .loc 1 22 0 100 0054 0400248E lw $4,4($17) 101 .loc 1 21 0 102 0058 2180A000 move $16,$5 103 .loc 1 22 0 104 005c 21300002 move $6,$16 105 0060 0000000C jal memCopy 106 0064 21284000 move $5,$2 107 23:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** fileHandle.current += size;
108 .loc 1 23 0 109 0068 0400238E lw $3,4($17) 24:/mnt/hgfs/boot/booter/source/applications/booter/flash.c ****
25:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** return size;
26:/mnt/hgfs/boot/booter/source/applications/booter/flash.c **** }
110 .loc 1 26 0 111 006c 21100002 move $2,$16 112 0070 1800BF8F lw $31,24($sp) 113 .loc 1 23 0 114 0074 21187000 addu $3,$3,$16 115 0078 040023AE sw $3,4($17) 116 .loc 1 26 0 117 007c 1000B08F lw $16,16($sp) 118 0080 1400B18F lw $17,20($sp) 119 0084 0800E003 j $31 120 0088 2000BD27 addiu $sp,$sp,32 121 122 .set macro 123 .set reorder 124 $LFE4: 125 .end flashRead 126 127 .comm fileHandle,8,4 128 .section .debug_frame,"",@progbits 129 $Lframe0: 130 0000 0C000000 .4byte $LECIE0-$LSCIE0 131 $LSCIE0: 132 0004 FFFFFFFF .4byte 0xffffffff 133 0008 01 .byte 0x1 134 0009 00 .ascii "\000" 135 000a 01 .uleb128 0x1 136 000b 04 .sleb128 4 137 000c 1F .byte 0x1f 138 000d 0C .byte 0xc 139 000e 1D .uleb128 0x1d 140 000f 00 .uleb128 0x0 141 .align 2GAS LISTING /tmp/ccFGv1Uf.s page 4 142 $LECIE0: 143 $LSFDE0: 144 0010 0C000000 .4byte $LEFDE0-$LASFDE0 145 $LASFDE0: 146 0014 00000000 .4byte $Lframe0 147 0018 00000000 .4byte $LFB2 148 001c 08000000 .4byte $LFE2-$LFB2 149 .align 2 150 $LEFDE0: 151 $LSFDE2: 152 0020 14000000 .4byte $LEFDE2-$LASFDE2 153 $LASFDE2: 154 0024 00000000 .4byte $Lframe0 155 0028 08000000 .4byte $LFB3 156 002c 30000000 .4byte $LFE3-$LFB3 157 0030 44 .byte 0x4 158 .4byte $LCFI0-$LFB3 159 0031 0E .byte 0xe 160 0032 18 .uleb128 0x18 161 0033 44 .byte 0x4 162 .4byte $LCFI1-$LCFI0 163 0034 11 .byte 0x11 164 0035 1F .uleb128 0x1f 165 0036 7E .sleb128 -2 166 0037 00 .align 2 167 $LEFDE2: 168 $LSFDE4: 169 0038 1C000000 .4byte $LEFDE4-$LASFDE4 170 $LASFDE4: 171 003c 00000000 .4byte $Lframe0 172 0040 38000000 .4byte $LFB4 173 0044 54000000 .4byte $LFE4-$LFB4 174 0048 44 .byte 0x4 175 .4byte $LCFI2-$LFB4 176 0049 0E .byte 0xe 177 004a 20 .uleb128 0x20 178 004b 44 .byte 0x4 179 .4byte $LCFI3-$LCFI2 180 004c 11 .byte 0x11 181 004d 11 .uleb128 0x11 182 004e 7D .sleb128 -3 183 004f 4C .byte 0x4 184 .4byte $LCFI5-$LCFI3 185 0050 11 .byte 0x11 186 0051 10 .uleb128 0x10 187 0052 7C .sleb128 -4 188 0053 11 .byte 0x11 189 0054 1F .uleb128 0x1f 190 0055 7E .sleb128 -2 191 0056 0000 .align 2 192 $LEFDE4: 193 .align 0 194 .file 2 "/mnt/hgfs/boot/booter/source/applications/booter/flash.h" 195 .text 196 $Letext0: 197 008c 00000000 .section .debug_info 198 0000 FB000000 .4byte 0xfbGAS LISTING /tmp/ccFGv1Uf.s page 5 199 0004 0200 .2byte 0x2 200 0006 00000000 .4byte $Ldebug_abbrev0 201 000a 04 .byte 0x4 202 000b 01 .uleb128 0x1 203 000c 00000000 .4byte $Ldebug_line0 204 0010 8C000000 .4byte $Letext0 205 0014 00000000 .4byte $Ltext0 206 0018 12000000 .4byte $LASF8 207 001c 01 .byte 0x1 208 001d 70000000 .4byte $LASF9 209 0021 02 .uleb128 0x2 210 0022 4A000000 .4byte 0x4a 211 0026 53000000 .4byte $LASF10 212 002a 08 .byte 0x8 213 002b 02 .byte 0x2 214 002c 07 .byte 0x7 215 002d 03 .uleb128 0x3 216 002e 4D000000 .4byte $LASF0 217 0032 02 .byte 0x2 218 0033 08 .byte 0x8 219 0034 4A000000 .4byte 0x4a 220 0038 02 .byte 0x2 221 0039 10 .byte 0x10 222 003a 00 .uleb128 0x0 223 003b 03 .uleb128 0x3 224 003c 63000000 .4byte $LASF1 225 0040 02 .byte 0x2 226 0041 09 .byte 0x9 227 0042 4A000000 .4byte 0x4a 228 0046 02 .byte 0x2 229 0047 10 .byte 0x10 230 0048 04 .uleb128 0x4 231 0049 00 .byte 0x0 232 004a 04 .uleb128 0x4 233 004b 04 .byte 0x4 234 004c 50000000 .4byte 0x50 235 0050 05 .uleb128 0x5 236 0051 6B000000 .4byte $LASF2 237 0055 01 .byte 0x1 238 0056 06 .byte 0x6 239 0057 06 .uleb128 0x6 240 0058 01 .byte 0x1 241 0059 00000000 .4byte $LASF11 242 005d 01 .byte 0x1 243 005e 08 .byte 0x8 244 005f 71000000 .4byte 0x71 245 0063 00000000 .4byte $LFB2 246 0067 08000000 .4byte $LFE2 247 006b 10000000 .4byte $LSFDE0 248 006f 01 .byte 0x1 249 0070 6D .byte 0x6d 250 0071 07 .uleb128 0x7 251 0072 696E7400 .ascii "int\000" 252 0076 04 .byte 0x4 253 0077 05 .byte 0x5 254 0078 08 .uleb128 0x8 255 0079 A5000000 .4byte 0xa5GAS LISTING /tmp/ccFGv1Uf.s page 6 256 007d 01 .byte 0x1 257 007e 43000000 .4byte $LASF3 258 0082 01 .byte 0x1 259 0083 0D .byte 0xd 260 0084 01 .byte 0x1 261 0085 71000000 .4byte 0x71 262 0089 08000000 .4byte $LFB3 263 008d 38000000 .4byte $LFE3 264 0091 20000000 .4byte $LSFDE2 265 0095 01 .byte 0x1 266 0096 6D .byte 0x6d 267 0097 09 .uleb128 0x9 268 0098 30000000 .4byte $LASF5 269 009c 01 .byte 0x1 270 009d 0C .byte 0xc 271 009e A5000000 .4byte 0xa5 272 00a2 01 .byte 0x1 273 00a3 54 .byte 0x54 274 00a4 00 .byte 0x0 275 00a5 04 .uleb128 0x4 276 00a6 04 .byte 0x4 277 00a7 AB000000 .4byte 0xab 278 00ab 0A .uleb128 0xa 279 00ac 50000000 .4byte 0x50 280 00b0 08 .uleb128 0x8 281 00b1 EA000000 .4byte 0xea 282 00b5 01 .byte 0x1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -