157 lines
5.0 KiB
Plaintext
157 lines
5.0 KiB
Plaintext
|
|
task2.elf: file format elf32-littlearm
|
|
|
|
Sections:
|
|
Idx Name Size VMA LMA File off Algn
|
|
0 .vectortable 00000014 08000000 08000000 00001000 2**2
|
|
CONTENTS, ALLOC, LOAD, READONLY, DATA
|
|
1 .text 00000074 08000400 08000400 00001400 2**2
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
2 .exhand 00000068 08001000 08001000 00002000 2**2
|
|
CONTENTS, ALLOC, LOAD, READONLY, CODE
|
|
SYMBOL TABLE:
|
|
08000000 l d .vectortable 00000000 .vectortable
|
|
08000400 l d .text 00000000 .text
|
|
08001000 l d .exhand 00000000 .exhand
|
|
08001000 l F .exhand 00000000 _ISR_NMI
|
|
08001028 l F .exhand 00000000 _ISR_HARDF
|
|
08001050 l F .exhand 00000000 _ISR_S0
|
|
08000466 l .text 00000000 .lp1
|
|
08001058 l F .exhand 00000000 _ISR_S1
|
|
0800105e l .exhand 00000000 .lp2
|
|
08000400 g F .text 00000000 init
|
|
08000444 g F .text 00000000 main
|
|
08000454 g F .text 00000000 delay
|
|
08000460 g .text 00000000 stop
|
|
|
|
|
|
|
|
Disassembly of section .vectortable:
|
|
|
|
08000000 <.vectortable>:
|
|
8000000: 20004000 .word 0x20004000
|
|
8000004: 08000401 .word 0x08000401
|
|
8000008: 08001001 .word 0x08001001
|
|
800000c: 08001029 .word 0x08001029
|
|
8000010: 08001051 .word 0x08001051
|
|
|
|
Disassembly of section .text:
|
|
|
|
08000400 <init>:
|
|
8000400: b672 cpsid i
|
|
8000402: 2000 movs r0, #0
|
|
8000404: 2100 movs r1, #0
|
|
8000406: 2200 movs r2, #0
|
|
8000408: 2300 movs r3, #0
|
|
800040a: 2400 movs r4, #0
|
|
800040c: 2500 movs r5, #0
|
|
800040e: 2600 movs r6, #0
|
|
8000410: 2700 movs r7, #0
|
|
8000412: 4680 mov r8, r0
|
|
8000414: 4681 mov r9, r0
|
|
8000416: 4682 mov sl, r0
|
|
8000418: 4683 mov fp, r0
|
|
800041a: 4684 mov ip, r0
|
|
800041c: 4912 ldr r1, [pc, #72] @ (8000468 <.lp1+0x2>)
|
|
800041e: f04f 0201 mov.w r2, #1
|
|
8000422: 6808 ldr r0, [r1, #0]
|
|
8000424: 4310 orrs r0, r2
|
|
8000426: 6008 str r0, [r1, #0]
|
|
8000428: f04f 4190 mov.w r1, #1207959552 @ 0x48000000
|
|
800042c: 2203 movs r2, #3
|
|
800042e: 6808 ldr r0, [r1, #0]
|
|
8000430: 4390 bics r0, r2
|
|
8000432: 2201 movs r2, #1
|
|
8000434: 4310 orrs r0, r2
|
|
8000436: 6008 str r0, [r1, #0]
|
|
8000438: 490c ldr r1, [pc, #48] @ (800046c <.lp1+0x6>)
|
|
800043a: 2201 movs r2, #1
|
|
800043c: 6808 ldr r0, [r1, #0]
|
|
800043e: 4310 orrs r0, r2
|
|
8000440: 6008 str r0, [r1, #0]
|
|
8000442: b662 cpsie i
|
|
|
|
08000444 <main>:
|
|
8000444: 4909 ldr r1, [pc, #36] @ (800046c <.lp1+0x6>)
|
|
8000446: 4050 eors r0, r2
|
|
8000448: 6008 str r0, [r1, #0]
|
|
800044a: f000 f803 bl 8000454 <delay>
|
|
800044e: f7ff bff9 b.w 8000444 <main>
|
|
8000452: bf00 nop
|
|
|
|
08000454 <delay>:
|
|
8000454: 2600 movs r6, #0
|
|
8000456: 4f06 ldr r7, [pc, #24] @ (8000470 <.lp1+0xa>)
|
|
8000458: 3601 adds r6, #1
|
|
800045a: 42be cmp r6, r7
|
|
800045c: d1fc bne.n 8000458 <delay+0x4>
|
|
800045e: 4770 bx lr
|
|
|
|
08000460 <stop>:
|
|
8000460: bf00 nop
|
|
8000462: f7ff bffd b.w 8000460 <stop>
|
|
|
|
08000466 <.lp1>:
|
|
8000466: 0000 .short 0x0000
|
|
8000468: 4002104c .word 0x4002104c
|
|
800046c: 48000014 .word 0x48000014
|
|
8000470: 001e8480 .word 0x001e8480
|
|
|
|
Disassembly of section .exhand:
|
|
|
|
08001000 <_ISR_NMI>:
|
|
8001000: 4917 ldr r1, [pc, #92] @ (8001060 <.lp2+0x2>)
|
|
8001002: f04f 0201 mov.w r2, #1
|
|
8001006: 6808 ldr r0, [r1, #0]
|
|
8001008: 4310 orrs r0, r2
|
|
800100a: 6008 str r0, [r1, #0]
|
|
800100c: f04f 4190 mov.w r1, #1207959552 @ 0x48000000
|
|
8001010: 22ff movs r2, #255 @ 0xff
|
|
8001012: 6808 ldr r0, [r1, #0]
|
|
8001014: 4390 bics r0, r2
|
|
8001016: 2244 movs r2, #68 @ 0x44
|
|
8001018: 4310 orrs r0, r2
|
|
800101a: 6008 str r0, [r1, #0]
|
|
800101c: 4911 ldr r1, [pc, #68] @ (8001064 <.lp2+0x6>)
|
|
800101e: 220a movs r2, #10
|
|
8001020: 6808 ldr r0, [r1, #0]
|
|
8001022: 4390 bics r0, r2
|
|
8001024: 6008 str r0, [r1, #0]
|
|
8001026: e7eb b.n 8001000 <_ISR_NMI>
|
|
|
|
08001028 <_ISR_HARDF>:
|
|
8001028: 490d ldr r1, [pc, #52] @ (8001060 <.lp2+0x2>)
|
|
800102a: f04f 0201 mov.w r2, #1
|
|
800102e: 6808 ldr r0, [r1, #0]
|
|
8001030: 4310 orrs r0, r2
|
|
8001032: 6008 str r0, [r1, #0]
|
|
8001034: f04f 4190 mov.w r1, #1207959552 @ 0x48000000
|
|
8001038: 22ff movs r2, #255 @ 0xff
|
|
800103a: 6808 ldr r0, [r1, #0]
|
|
800103c: 4390 bics r0, r2
|
|
800103e: 2211 movs r2, #17
|
|
8001040: 4310 orrs r0, r2
|
|
8001042: 6008 str r0, [r1, #0]
|
|
8001044: 4907 ldr r1, [pc, #28] @ (8001064 <.lp2+0x6>)
|
|
8001046: 2205 movs r2, #5
|
|
8001048: 6808 ldr r0, [r1, #0]
|
|
800104a: 4390 bics r0, r2
|
|
800104c: 6008 str r0, [r1, #0]
|
|
800104e: e7eb b.n 8001028 <_ISR_HARDF>
|
|
|
|
08001050 <_ISR_S0>:
|
|
8001050: b500 push {lr}
|
|
8001052: bc02 pop {r1}
|
|
8001054: 4708 bx r1
|
|
8001056: bf00 nop
|
|
|
|
08001058 <_ISR_S1>:
|
|
8001058: b500 push {lr}
|
|
800105a: bc02 pop {r1}
|
|
800105c: 4708 bx r1
|
|
|
|
0800105e <.lp2>:
|
|
800105e: 0000 .short 0x0000
|
|
8001060: 4002104c .word 0x4002104c
|
|
8001064: 48000014 .word 0x48000014
|