📄 idle.lst
字号:
GAS LISTING /tmp/ccsbwrRj.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 8D000000 .text 9 02006C00 9 00000101 9 FB0E0A00 9 01010101 10 $Ltext0: 11 .align 2 12 .globl buttonHandler 13 .ent buttonHandler 14 .type buttonHandler, @function 15 buttonHandler: 16 $LFB2: 17 .file 1 "/mnt/hgfs/boot/booter/source/idle.c" 1:/mnt/hgfs/boot/booter/source/idle.c **** /* 2:/mnt/hgfs/boot/booter/source/idle.c **** * Simple example program to demonstrate the Au1 core IDLE mode 3:/mnt/hgfs/boot/booter/source/idle.c **** */ 4:/mnt/hgfs/boot/booter/source/idle.c **** 5:/mnt/hgfs/boot/booter/source/idle.c **** #include "example.h" 6:/mnt/hgfs/boot/booter/source/idle.c **** 7:/mnt/hgfs/boot/booter/source/idle.c **** /********************************************************************/ 8:/mnt/hgfs/boot/booter/source/idle.c **** 9:/mnt/hgfs/boot/booter/source/idle.c **** void 10:/mnt/hgfs/boot/booter/source/idle.c **** buttonHandler (int irq, void *arg) 11:/mnt/hgfs/boot/booter/source/idle.c **** { 18 .loc 1 11 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 25 .loc 1 11 0 26 0000 0800E003 j $31 27 0004 00000000 nop 28 29 .set macro 30 .set reorder 31 $LFE2: 32 .end buttonHandler 33 .align 2 34 .globl tickHandler 35 .ent tickHandler 36 .type tickHandler, @function 37 tickHandler: 38 $LFB3: 12:/mnt/hgfs/boot/booter/source/idle.c **** //printf(" button handler "); 13:/mnt/hgfs/boot/booter/source/idle.c **** } 14:/mnt/hgfs/boot/booter/source/idle.c **** 15:/mnt/hgfs/boot/booter/source/idle.c **** voidGAS LISTING /tmp/ccsbwrRj.s page 2 16:/mnt/hgfs/boot/booter/source/idle.c **** tickHandler (int irq, void *arg) 17:/mnt/hgfs/boot/booter/source/idle.c **** { 39 .loc 1 17 0 40 .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0 41 .mask 0x00000000,0 42 .fmask 0x00000000,0 43 .set noreorder 44 .set nomacro 45 46 .loc 1 17 0 47 0008 0800E003 j $31 48 000c 00000000 nop 49 50 .set macro 51 .set reorder 52 $LFE3: 53 .end tickHandler 54 .section .rodata.str1.4,"aMS",@progbits,1 55 .align 2 56 $LC0: 57 0000 2534643A .ascii "%4d: Going to Idle ... \000" 57 20476F69 57 6E672074 57 6F204964 57 6C65202E 58 .align 2 59 $LC1: 60 0018 77616B65 .ascii "wakeup!\n\000" 60 7570210A 60 00 61 0021 000000 .text 62 .align 2 63 .globl idleExample 64 .ent idleExample 65 .type idleExample, @function 66 idleExample: 67 $LFB4: 18:/mnt/hgfs/boot/booter/source/idle.c **** //printf("."); 19:/mnt/hgfs/boot/booter/source/idle.c **** } 20:/mnt/hgfs/boot/booter/source/idle.c **** 21:/mnt/hgfs/boot/booter/source/idle.c **** /********************************************************************/ 22:/mnt/hgfs/boot/booter/source/idle.c **** void 23:/mnt/hgfs/boot/booter/source/idle.c **** idleExample (void) 24:/mnt/hgfs/boot/booter/source/idle.c **** { 68 .loc 1 24 0 69 .frame $sp,32,$31 # vars= 0, regs= 4/0, args= 16, gp= 0 70 .mask 0x80070000,-4 71 .fmask 0x00000000,0 72 .set noreorder 73 .set nomacro 74 75 0010 E0FFBD27 addiu $sp,$sp,-32 76 $LCFI0: 77 0014 1800B2AF sw $18,24($sp) 78 $LCFI1: 79 0018 1400B1AF sw $17,20($sp) 80 $LCFI2:GAS LISTING /tmp/ccsbwrRj.s page 3 81 001c 1000B0AF sw $16,16($sp) 82 $LCFI3: 83 0020 1C00BFAF sw $31,28($sp) 84 $LCFI4: 25:/mnt/hgfs/boot/booter/source/idle.c **** int i; 26:/mnt/hgfs/boot/booter/source/idle.c **** 27:/mnt/hgfs/boot/booter/source/idle.c **** #if 1 28:/mnt/hgfs/boot/booter/source/idle.c **** 29:/mnt/hgfs/boot/booter/source/idle.c **** for (i = 0; i < 10; ++i) 85 .loc 1 29 0 86 0024 21800000 move $16,$0 87 0028 0000123C lui $18,%hi($LC0) 88 002c 0000113C lui $17,%hi($LC1) 30:/mnt/hgfs/boot/booter/source/idle.c **** { 31:/mnt/hgfs/boot/booter/source/idle.c **** printf("%4d: Going to Idle ... ", i); 89 .loc 1 31 0 90 0030 21280002 move $5,$16 91 $L11: 92 0034 0000000C jal printf 93 0038 00004426 addiu $4,$18,%lo($LC0) 94 32:/mnt/hgfs/boot/booter/source/idle.c **** 33:/mnt/hgfs/boot/booter/source/idle.c **** /* 34:/mnt/hgfs/boot/booter/source/idle.c **** * Allow printf()/UART to empty else its interrupts 35:/mnt/hgfs/boot/booter/source/idle.c **** * too will cause exit from IDLE 36:/mnt/hgfs/boot/booter/source/idle.c **** */ 37:/mnt/hgfs/boot/booter/source/idle.c **** msdelay(250); 95 .loc 1 37 0 96 003c 0000000C jal msdelay 97 0040 FA000424 li $4,250 # 0xfa 98 99 .loc 1 29 0 38:/mnt/hgfs/boot/booter/source/idle.c **** 39:/mnt/hgfs/boot/booter/source/idle.c **** au1_wait(); 100 .loc 1 39 0 101 0044 0000000C jal au1_wait 102 0048 01001026 addiu $16,$16,1 103 40:/mnt/hgfs/boot/booter/source/idle.c **** 41:/mnt/hgfs/boot/booter/source/idle.c **** printf("wakeup!\n"); 104 .loc 1 41 0 105 004c 0000000C jal printf 106 0050 00002426 addiu $4,$17,%lo($LC1) 107 108 .loc 1 29 0 109 0054 0A00022A slt $2,$16,10 110 .loc 1 31 0 111 .loc 1 29 0 112 0058 F6FF4014 bne $2,$0,$L11 113 005c 21280002 move $5,$16 114 115 0060 1C00BF8F lw $31,28($sp) 116 0064 1800B28F lw $18,24($sp) 117 0068 1400B18F lw $17,20($sp) 118 006c 1000B08F lw $16,16($sp) 119 0070 0800E003 j $31 120 0074 2000BD27 addiu $sp,$sp,32GAS LISTING /tmp/ccsbwrRj.s page 4 121 122 .set macro 123 .set reorder 124 $LFE4: 125 .end idleExample 126 .section .debug_frame,"",@progbits 127 $Lframe0: 128 0000 0C000000 .4byte $LECIE0-$LSCIE0 129 $LSCIE0: 130 0004 FFFFFFFF .4byte 0xffffffff 131 0008 01 .byte 0x1 132 0009 00 .ascii "\000" 133 000a 01 .uleb128 0x1 134 000b 04 .sleb128 4 135 000c 1F .byte 0x1f 136 000d 0C .byte 0xc 137 000e 1D .uleb128 0x1d 138 000f 00 .uleb128 0x0 139 .align 2 140 $LECIE0: 141 $LSFDE0: 142 0010 0C000000 .4byte $LEFDE0-$LASFDE0 143 $LASFDE0: 144 0014 00000000 .4byte $Lframe0 145 0018 00000000 .4byte $LFB2 146 001c 08000000 .4byte $LFE2-$LFB2 147 .align 2 148 $LEFDE0: 149 $LSFDE2: 150 0020 0C000000 .4byte $LEFDE2-$LASFDE2 151 $LASFDE2: 152 0024 00000000 .4byte $Lframe0 153 0028 08000000 .4byte $LFB3 154 002c 08000000 .4byte $LFE3-$LFB3 155 .align 2 156 $LEFDE2: 157 $LSFDE4: 158 0030 1C000000 .4byte $LEFDE4-$LASFDE4 159 $LASFDE4: 160 0034 00000000 .4byte $Lframe0 161 0038 10000000 .4byte $LFB4 162 003c 68000000 .4byte $LFE4-$LFB4 163 0040 44 .byte 0x4 164 .4byte $LCFI0-$LFB4 165 0041 0E .byte 0xe 166 0042 20 .uleb128 0x20 167 0043 50 .byte 0x4 168 .4byte $LCFI4-$LCFI0 169 0044 11 .byte 0x11 170 0045 1F .uleb128 0x1f 171 0046 7F .sleb128 -1 172 0047 11 .byte 0x11 173 0048 10 .uleb128 0x10 174 0049 7C .sleb128 -4 175 004a 11 .byte 0x11 176 004b 11 .uleb128 0x11 177 004c 7D .sleb128 -3GAS LISTING /tmp/ccsbwrRj.s page 5 178 004d 11 .byte 0x11 179 004e 12 .uleb128 0x12 180 004f 7E .sleb128 -2 181 .align 2 182 $LEFDE4: 183 .align 0 184 .file 2 "/mnt/hgfs/boot/booter/platforms/DB1200/platform.h" 185 .text 186 $Letext0: 187 0078 00000000 .section .debug_info 187 00000000 188 0000 0D010000 .4byte 0x10d 189 0004 0200 .2byte 0x2 190 0006 00000000 .4byte $Ldebug_abbrev0 191 000a 04 .byte 0x4 192 000b 01 .uleb128 0x1 193 000c 00000000 .4byte $Ldebug_line0 194 0010 78000000 .4byte $Letext0 195 0014 00000000 .4byte $Ltext0 196 0018 6B000000 .4byte $LASF11 197 001c 01 .byte 0x1 198 001d 1E000000 .4byte $LASF12 199 0021 02 .uleb128 0x2 200 0022 AC000000 .4byte $LASF0 201 0026 01 .byte 0x1 202 0027 06 .byte 0x6 203 0028 02 .uleb128 0x2 204 0029 94000000 .4byte $LASF1 205 002d 02 .byte 0x2 206 002e 05 .byte 0x5 207 002f 03 .uleb128 0x3 208 0030 696E7400 .ascii "int\000" 209 0034 04 .byte 0x4 210 0035 05 .byte 0x5 211 0036 02 .uleb128 0x2 212 0037 9E000000 .4byte $LASF2 213 003b 01 .byte 0x1 214 003c 08 .byte 0x8 215 003d 02 .uleb128 0x2 216 003e B8000000 .4byte $LASF3 217 0042 02 .byte 0x2 218 0043 07 .byte 0x7 219 0044 02 .uleb128 0x2 220 0045 05000000 .4byte $LASF4 221 0049 04 .byte 0x4 222 004a 07 .byte 0x7 223 004b 02 .uleb128 0x2 224 004c 42000000 .4byte $LASF5 225 0050 08 .byte 0x8 226 0051 07 .byte 0x7 227 0052 02 .uleb128 0x2 228 0053 05000000 .4byte $LASF4 229 0057 04 .byte 0x4 230 0058 07 .byte 0x7 231 0059 04 .uleb128 0x4 232 005a 04 .byte 0x4 233 005b 02 .uleb128 0x2GAS LISTING /tmp/ccsbwrRj.s page 6 234 005c 59000000 .4byte $LASF6 235 0060 04 .byte 0x4 236 0061 07 .byte 0x7 237 0062 05 .uleb128 0x5 238 0063 98000000 .4byte 0x98 239 0067 01 .byte 0x1 240 0068 7A000000 .4byte $LASF7 241 006c 01 .byte 0x1 242 006d 0B .byte 0xb 243 006e 01 .byte 0x1 244 006f 00000000 .4byte $LFB2 245 0073 08000000 .4byte $LFE2 246 0077 10000000 .4byte $LSFDE0 247 007b 01 .byte 0x1 248 007c 6D .byte 0x6d 249 007d 06 .uleb128 0x6 250 007e 69727100 .ascii "irq\000" 251 0082 01 .byte 0x1 252 0083 0A .byte 0xa 253 0084 2F000000 .4byte 0x2f 254 0088 01 .byte 0x1 255 0089 54 .byte 0x54 256 008a 06 .uleb128 0x6 257 008b 61726700 .ascii "arg\000"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -