📄 timer.lst
字号:
GAS LISTING /tmp/ccgsAUpm.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 51000000 .text 9 02003800 9 00000101 9 FB0E0A00 9 01010101 10 $Ltext0: 11 .section .rodata.str1.4,"aMS",@progbits,1 12 .align 2 13 $LC0: 14 0000 54696D65 .ascii "Timer reset.\n\000" 14 72207265 14 7365742E 14 0A00 15 000e 0000 .text 16 .align 2 17 .globl ResetTimer 18 .ent ResetTimer 19 .type ResetTimer, @function 20 ResetTimer: 21 $LFB2: 22 .file 1 "/mnt/hgfs/boot/booter/source/timer.c" 1:/mnt/hgfs/boot/booter/source/timer.c **** 2:/mnt/hgfs/boot/booter/source/timer.c **** #define counter_write0 (*(volatile long *)0xb1900004) 3:/mnt/hgfs/boot/booter/source/timer.c **** #define counter_read0 (*(volatile long *)0xb1900040) 4:/mnt/hgfs/boot/booter/source/timer.c **** #define trim0 (*(volatile long *)0xb1900000) 5:/mnt/hgfs/boot/booter/source/timer.c **** #define counter_control (*(volatile long *)0xb1900014) 6:/mnt/hgfs/boot/booter/source/timer.c **** 7:/mnt/hgfs/boot/booter/source/timer.c **** void ResetTimer() 8:/mnt/hgfs/boot/booter/source/timer.c **** { 23 .loc 1 8 0 24 .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0 25 .mask 0x00000000,0 26 .fmask 0x00000000,0 27 .set noreorder 28 .set nomacro 29 9:/mnt/hgfs/boot/booter/source/timer.c **** counter_control = 0xd00; 30 .loc 1 9 0 31 0000 90B1023C li $2,-1315962880 # 0xffffffffb1900000 32 0004 14004234 ori $2,$2,0x14 33 0008 000D0324 li $3,3328 # 0xd00 34 000c 000043AC sw $3,0($2) 35 0010 21184000 move $3,$2 36 $L2: 10:/mnt/hgfs/boot/booter/source/timer.c **** while( (counter_control & 0x020) == 0 ) 37 .loc 1 10 0 38 0014 0000628C lw $2,0($3) 39 0018 20004230 andi $2,$2,0x20 11:/mnt/hgfs/boot/booter/source/timer.c **** ;GAS LISTING /tmp/ccgsAUpm.s page 2 12:/mnt/hgfs/boot/booter/source/timer.c **** printf("Timer reset.\n"); 40 .loc 1 12 0 41 .loc 1 10 0 42 001c FDFF4010 beq $2,$0,$L2 43 0020 0000043C lui $4,%hi($LC0) 44 45 .loc 1 12 0 46 0024 00000008 j printf 47 0028 00008424 addiu $4,$4,%lo($LC0) 48 49 .set macro 50 .set reorder 51 $LFE2: 52 .end ResetTimer 53 .align 2 54 .globl ReadTimer 55 .ent ReadTimer 56 .type ReadTimer, @function 57 ReadTimer: 58 $LFB3: 13:/mnt/hgfs/boot/booter/source/timer.c **** } 14:/mnt/hgfs/boot/booter/source/timer.c **** 15:/mnt/hgfs/boot/booter/source/timer.c **** int ReadTimer() 16:/mnt/hgfs/boot/booter/source/timer.c **** { 59 .loc 1 16 0 60 .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0 61 .mask 0x00000000,0 62 .fmask 0x00000000,0 63 .set noreorder 64 .set nomacro 65 17:/mnt/hgfs/boot/booter/source/timer.c **** return counter_read0; 66 .loc 1 17 0 67 002c 90B1033C li $3,-1315962880 # 0xffffffffb1900000 68 0030 40006334 ori $3,$3,0x40 69 0034 0000628C lw $2,0($3) 18:/mnt/hgfs/boot/booter/source/timer.c **** } 70 .loc 1 18 0 71 0038 0800E003 j $31 72 003c 00000000 nop 73 74 .set macro 75 .set reorder 76 $LFE3: 77 .end ReadTimer 78 .section .debug_frame,"",@progbits 79 $Lframe0: 80 0000 0C000000 .4byte $LECIE0-$LSCIE0 81 $LSCIE0: 82 0004 FFFFFFFF .4byte 0xffffffff 83 0008 01 .byte 0x1 84 0009 00 .ascii "\000" 85 000a 01 .uleb128 0x1 86 000b 04 .sleb128 4 87 000c 1F .byte 0x1f 88 000d 0C .byte 0xc 89 000e 1D .uleb128 0x1dGAS LISTING /tmp/ccgsAUpm.s page 3 90 000f 00 .uleb128 0x0 91 .align 2 92 $LECIE0: 93 $LSFDE0: 94 0010 0C000000 .4byte $LEFDE0-$LASFDE0 95 $LASFDE0: 96 0014 00000000 .4byte $Lframe0 97 0018 00000000 .4byte $LFB2 98 001c 2C000000 .4byte $LFE2-$LFB2 99 .align 2 100 $LEFDE0: 101 $LSFDE2: 102 0020 0C000000 .4byte $LEFDE2-$LASFDE2 103 $LASFDE2: 104 0024 00000000 .4byte $Lframe0 105 0028 2C000000 .4byte $LFB3 106 002c 14000000 .4byte $LFE3-$LFB3 107 .align 2 108 $LEFDE2: 109 .align 0 110 .text 111 $Letext0: 112 .section .debug_info 113 0000 69000000 .4byte 0x69 114 0004 0200 .2byte 0x2 115 0006 00000000 .4byte $Ldebug_abbrev0 116 000a 04 .byte 0x4 117 000b 01 .uleb128 0x1 118 000c 00000000 .4byte $Ldebug_line0 119 0010 40000000 .4byte $Letext0 120 0014 00000000 .4byte $Ltext0 121 0018 07000000 .4byte $LASF0 122 001c 01 .byte 0x1 123 001d 2B000000 .4byte $LASF1 124 0021 02 .uleb128 0x2 125 0022 4B000000 .4byte 0x4b 126 0026 01 .byte 0x1 127 0027 16000000 .4byte $LASF2 128 002b 01 .byte 0x1 129 002c 08 .byte 0x8 130 002d 00000000 .4byte $LFB2 131 0031 2C000000 .4byte $LFE2 132 0035 10000000 .4byte $LSFDE0 133 0039 01 .byte 0x1 134 003a 6D .byte 0x6d 135 003b 03 .uleb128 0x3 136 003c 01 .byte 0x1 137 003d 00000000 .4byte $LASF3 138 0041 01 .byte 0x1 139 0042 0C .byte 0xc 140 0043 4B000000 .4byte 0x4b 141 0047 01 .byte 0x1 142 0048 04 .uleb128 0x4 143 0049 00 .byte 0x0 144 004a 00 .byte 0x0 145 004b 05 .uleb128 0x5 146 004c 696E7400 .ascii "int\000"GAS LISTING /tmp/ccgsAUpm.s page 4 147 0050 04 .byte 0x4 148 0051 05 .byte 0x5 149 0052 06 .uleb128 0x6 150 0053 01 .byte 0x1 151 0054 21000000 .4byte $LASF4 152 0058 01 .byte 0x1 153 0059 10 .byte 0x10 154 005a 4B000000 .4byte 0x4b 155 005e 2C000000 .4byte $LFB3 156 0062 40000000 .4byte $LFE3 157 0066 20000000 .4byte $LSFDE2 158 006a 01 .byte 0x1 159 006b 6D .byte 0x6d 160 006c 00 .byte 0x0 161 .section .debug_abbrev 162 0000 01 .uleb128 0x1 163 0001 11 .uleb128 0x11 164 0002 01 .byte 0x1 165 0003 10 .uleb128 0x10 166 0004 06 .uleb128 0x6 167 0005 12 .uleb128 0x12 168 0006 01 .uleb128 0x1 169 0007 11 .uleb128 0x11 170 0008 01 .uleb128 0x1 171 0009 25 .uleb128 0x25 172 000a 0E .uleb128 0xe 173 000b 13 .uleb128 0x13 174 000c 0B .uleb128 0xb 175 000d 03 .uleb128 0x3 176 000e 0E .uleb128 0xe 177 000f 00 .byte 0x0 178 0010 00 .byte 0x0 179 0011 02 .uleb128 0x2 180 0012 2E .uleb128 0x2e 181 0013 01 .byte 0x1 182 0014 01 .uleb128 0x1 183 0015 13 .uleb128 0x13 184 0016 3F .uleb128 0x3f 185 0017 0C .uleb128 0xc 186 0018 03 .uleb128 0x3 187 0019 0E .uleb128 0xe 188 001a 3A .uleb128 0x3a 189 001b 0B .uleb128 0xb 190 001c 3B .uleb128 0x3b 191 001d 0B .uleb128 0xb 192 001e 11 .uleb128 0x11 193 001f 01 .uleb128 0x1 194 0020 12 .uleb128 0x12 195 0021 01 .uleb128 0x1 196 0022 8140 .uleb128 0x2001 197 0024 06 .uleb128 0x6 198 0025 40 .uleb128 0x40 199 0026 0A .uleb128 0xa 200 0027 00 .byte 0x0 201 0028 00 .byte 0x0 202 0029 03 .uleb128 0x3 203 002a 2E .uleb128 0x2eGAS LISTING /tmp/ccgsAUpm.s page 5 204 002b 01 .byte 0x1 205 002c 3F .uleb128 0x3f 206 002d 0C .uleb128 0xc 207 002e 03 .uleb128 0x3 208 002f 0E .uleb128 0xe 209 0030 3A .uleb128 0x3a 210 0031 0B .uleb128 0xb 211 0032 3B .uleb128 0x3b 212 0033 0B .uleb128 0xb 213 0034 49 .uleb128 0x49 214 0035 13 .uleb128 0x13 215 0036 3C .uleb128 0x3c 216 0037 0C .uleb128 0xc 217 0038 00 .byte 0x0 218 0039 00 .byte 0x0 219 003a 04 .uleb128 0x4 220 003b 18 .uleb128 0x18 221 003c 00 .byte 0x0 222 003d 00 .byte 0x0 223 003e 00 .byte 0x0 224 003f 05 .uleb128 0x5 225 0040 24 .uleb128 0x24 226 0041 00 .byte 0x0 227 0042 03 .uleb128 0x3 228 0043 08 .uleb128 0x8 229 0044 0B .uleb128 0xb 230 0045 0B .uleb128 0xb 231 0046 3E .uleb128 0x3e 232 0047 0B .uleb128 0xb 233 0048 00 .byte 0x0 234 0049 00 .byte 0x0 235 004a 06 .uleb128 0x6 236 004b 2E .uleb128 0x2e 237 004c 00 .byte 0x0 238 004d 3F .uleb128 0x3f 239 004e 0C .uleb128 0xc 240 004f 03 .uleb128 0x3 241 0050 0E .uleb128 0xe 242 0051 3A .uleb128 0x3a 243 0052 0B .uleb128 0xb 244 0053 3B .uleb128 0x3b 245 0054 0B .uleb128 0xb 246 0055 49 .uleb128 0x49 247 0056 13 .uleb128 0x13 248 0057 11 .uleb128 0x11 249 0058 01 .uleb128 0x1 250 0059 12 .uleb128 0x12 251 005a 01 .uleb128 0x1 252 005b 8140 .uleb128 0x2001 253 005d 06 .uleb128 0x6 254 005e 40 .uleb128 0x40 255 005f 0A .uleb128 0xa 256 0060 00 .byte 0x0 257 0061 00 .byte 0x0 258 0062 00 .byte 0x0 259 .section .debug_pubnames,"",@progbits 260 0000 2B000000 .4byte 0x2bGAS LISTING /tmp/ccgsAUpm.s page 6 261 0004 0200 .2byte 0x2 262 0006 00000000 .4byte $Ldebug_info0 263 000a 6D000000 .4byte 0x6d 264 000e 21000000 .4byte 0x21 265 0012 52657365 .ascii "ResetTimer\000" 265 7454696D 265 657200 266 001d 52000000 .4byte 0x52 267 0021 52656164 .ascii "ReadTimer\000" 267 54696D65 267 7200 268 002b 00000000 .4byte 0x0 269 .section .debug_aranges,"",@progbits 270 0000 1C000000 .4byte 0x1c 271 0004 0200 .2byte 0x2 272 0006 00000000 .4byte $Ldebug_info0 273 000a 04 .byte 0x4 274 000b 00 .byte 0x0 275 000c 0000 .2byte 0x0 276 000e 0000 .2byte 0x0 277 0010 00000000 .4byte $Ltext0 278 0014 40000000 .4byte $Letext0-$Ltext0 279 0018 00000000 .4byte 0x0 280 001c 00000000 .4byte 0x0 281 .section .debug_str,"MS",@progbits,1 282 $LASF3: 283 0000 7072696E .ascii "printf\000" 283 746600 284 $LASF0: 285 0007 474E5520 .ascii "GNU C 3.4.6 -g\000" 285 4320332E 285 342E3620 285 2D6700 286 $LASF2: 287 0016 52657365 .ascii "ResetTimer\000" 287 7454696D 287 657200 288 $LASF4: 289 0021 52656164 .ascii "ReadTimer\000" 289 54696D65 289 7200 290 $LASF1: 291 002b 2F6D6E74 .ascii "/mnt/hgfs/boot/booter/source/timer.c\000" 291 2F686766 291 732F626F 291 6F742F62 291 6F6F7465 292 .ident "GCC: (GNU) 3.4.6"GAS LISTING /tmp/ccgsAUpm.s page 7DEFINED SYMBOLS *ABS*:0000000000000000 /mnt/hgfs/boot/booter/source/timer.c /tmp/ccgsAUpm.s:20 .text:0000000000000000 ResetTimer /tmp/ccgsAUpm.s:57 .text:000000000000002c ReadTimer .rodata.str1.4:0000000000000000 $LC0UNDEFINED SYMBOLSprintf
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -