======================================================================== ** ELF Header Information File Name: code.axf Machine class: ELFCLASS32 (32-bit) Data encoding: ELFDATA2LSB (Little endian) Header version: EV_CURRENT (Current version) Operating System ABI: none ABI Version: 0 File Type: ET_EXEC (Executable) (2) Machine: EM_ARM (ARM) Image Entry point: 0x0000010d Flags: EF_ARM_HASENTRY (0x05000002) ARM ELF revision: 5 (ABI version 2) Built with Component: ARM Compiler 5.04 update 1 (build 49) Tool: armasm [5040049] Component: ARM Compiler 5.04 update 1 (build 49) Tool: armlink [5040049] Header size: 52 bytes (0x34) Program header entry size: 32 bytes (0x20) Section header entry size: 40 bytes (0x28) Program header entries: 1 Section header entries: 16 Program header offset: 15368 (0x00003c08) Section header offset: 15400 (0x00003c28) Section header string table index: 15 ======================================================================== ** Program header #0 Type : PT_LOAD (1) File Offset : 52 (0x34) Virtual Addr : 0x00000000 Physical Addr : 0x00000000 Size in file : 852 bytes (0x354) Size in memory: 3008 bytes (0xbc0) Flags : PF_X + PF_W + PF_R + PF_ARM_ENTRY (0x80000007) Alignment : 16 ======================================================================== ** Section #1 Name : ER_RO Type : SHT_PROGBITS (0x00000001) Flags : SHF_ALLOC + SHF_EXECINSTR (0x00000006) Addr : 0x00000000 File Offset : 52 (0x34) Size : 844 bytes (0x34c) Link : SHN_UNDEF Info : 0 Alignment : 4 Entry Size : 0 $d.realdata RESET __Vectors 0x00000000: 0000fffc .... DCD 65532 0x00000004: 0000010d .... DCD 269 0x00000008: 00000000 .... DCD 0 0x0000000c: 00000000 .... DCD 0 0x00000010: 00000000 .... DCD 0 0x00000014: 00000000 .... DCD 0 0x00000018: 00000000 .... DCD 0 0x0000001c: 00000000 .... DCD 0 0x00000020: 00000000 .... DCD 0 0x00000024: 00000000 .... DCD 0 0x00000028: 00000000 .... DCD 0 0x0000002c: 00000000 .... DCD 0 0x00000030: 00000000 .... DCD 0 0x00000034: 00000000 .... DCD 0 0x00000038: 00000000 .... DCD 0 0x0000003c: 00000000 .... DCD 0 0x00000040: 00000000 .... DCD 0 0x00000044: 00000111 .... DCD 273 0x00000048: 00000000 .... DCD 0 0x0000004c: 00000000 .... DCD 0 0x00000050: 00000000 .... DCD 0 0x00000054: 00000000 .... DCD 0 0x00000058: 00000000 .... DCD 0 0x0000005c: 00000000 .... DCD 0 0x00000060: 00000000 .... DCD 0 0x00000064: 00000000 .... DCD 0 0x00000068: 00000000 .... DCD 0 0x0000006c: 00000000 .... DCD 0 0x00000070: 00000000 .... DCD 0 0x00000074: 00000000 .... DCD 0 0x00000078: 00000000 .... DCD 0 0x0000007c: 00000000 .... DCD 0 $t !!!main __main 0x00000080: f000f802 .... BL __scatterload ; 0x88 0x00000084: f000f832 ..2. BL __rt_entry ; 0xec !!!scatter __scatterload __scatterload_rt2 __scatterload_rt2_thumb_only 0x00000088: a00c .. ADR r0,{pc}+0x34 ; 0xbc 0x0000008a: c830 0. LDM r0!,{r4,r5} 0x0000008c: 3808 .8 SUBS r0,r0,#8 0x0000008e: 1824 $. ADDS r4,r4,r0 0x00000090: 182d -. ADDS r5,r5,r0 0x00000092: 46a2 .F MOV r10,r4 0x00000094: 1e67 g. SUBS r7,r4,#1 0x00000096: 46ab .F MOV r11,r5 __scatterload_null 0x00000098: 4654 TF MOV r4,r10 0x0000009a: 465d ]F MOV r5,r11 0x0000009c: 42ac .B CMP r4,r5 0x0000009e: d101 .. BNE 0xa4 ; __scatterload_null + 12 0x000000a0: f000f824 ..$. BL __rt_entry ; 0xec 0x000000a4: 467e ~F MOV r6,pc 0x000000a6: 3e0f .> SUBS r6,r6,#0xf 0x000000a8: cc0f .. LDM r4!,{r0-r3} 0x000000aa: 46b6 .F MOV lr,r6 0x000000ac: 2601 .& MOVS r6,#1 0x000000ae: 4233 3B TST r3,r6 0x000000b0: d000 .. BEQ 0xb4 ; __scatterload_null + 28 0x000000b2: 1afb .. SUBS r3,r7,r3 0x000000b4: 46a2 .F MOV r10,r4 0x000000b6: 46ab .F MOV r11,r5 0x000000b8: 4333 3C ORRS r3,r3,r6 0x000000ba: 4718 .G BX r3 $d 0x000000bc: 00000280 .... DCD 640 0x000000c0: 00000290 .... DCD 656 $t !!handler_zi __scatterload_zeroinit 0x000000c4: 2300 .# MOVS r3,#0 0x000000c6: 2400 .$ MOVS r4,#0 0x000000c8: 2500 .% MOVS r5,#0 0x000000ca: 2600 .& MOVS r6,#0 0x000000cc: 3a10 .: SUBS r2,r2,#0x10 0x000000ce: d301 .. BCC 0xd4 ; __scatterload_zeroinit + 16 0x000000d0: c178 x. STM r1!,{r3-r6} 0x000000d2: d8fb .. BHI 0xcc ; __scatterload_zeroinit + 8 0x000000d4: 0752 R. LSLS r2,r2,#29 0x000000d6: d300 .. BCC 0xda ; __scatterload_zeroinit + 22 0x000000d8: c130 0. STM r1!,{r4,r5} 0x000000da: d500 .. BPL 0xde ; __scatterload_zeroinit + 26 0x000000dc: 600b .` STR r3,[r1,#0] 0x000000de: 4770 pG BX lr .ARM.Collect$$libinit$$00000000 __rt_lib_init 0x000000e0: b51f .. PUSH {r0-r4,lr} .ARM.Collect$$libinit$$00000001 __rt_lib_init_fp_1 0x000000e2: 46c0 .F MOV r8,r8 0x000000e4: 46c0 .F MOV r8,r8 .ARM.Collect$$libinit$$00000008 .ARM.Collect$$libinit$$0000000A .ARM.Collect$$libinit$$0000000C .ARM.Collect$$libinit$$0000000F .ARM.Collect$$libinit$$00000011 .ARM.Collect$$libinit$$00000013 .ARM.Collect$$libinit$$00000015 .ARM.Collect$$libinit$$00000017 .ARM.Collect$$libinit$$00000019 .ARM.Collect$$libinit$$0000001B .ARM.Collect$$libinit$$0000001D .ARM.Collect$$libinit$$0000001F .ARM.Collect$$libinit$$00000021 .ARM.Collect$$libinit$$00000023 .ARM.Collect$$libinit$$0000002A .ARM.Collect$$libinit$$0000002C .ARM.Collect$$libinit$$0000002E .ARM.Collect$$libinit$$00000030 .ARM.Collect$$libinit$$00000031 __rt_lib_init_alloca_1 __rt_lib_init_argv_1 __rt_lib_init_atexit_1 __rt_lib_init_clock_1 __rt_lib_init_cpp_1 __rt_lib_init_exceptions_1 __rt_lib_init_fp_trap_1 __rt_lib_init_getenv_1 __rt_lib_init_heap_1 __rt_lib_init_lc_collate_1 __rt_lib_init_lc_ctype_1 __rt_lib_init_lc_monetary_1 __rt_lib_init_lc_numeric_1 __rt_lib_init_lc_time_1 __rt_lib_init_rand_1 __rt_lib_init_return __rt_lib_init_signal_1 __rt_lib_init_stdio_1 __rt_lib_init_user_alloc_1 0x000000e6: bd1f .. POP {r0-r4,pc} .ARM.Collect$$libshutdown$$00000000 __rt_lib_shutdown 0x000000e8: b510 .. PUSH {r4,lr} .ARM.Collect$$libshutdown$$00000003 .ARM.Collect$$libshutdown$$00000006 .ARM.Collect$$libshutdown$$00000009 .ARM.Collect$$libshutdown$$0000000B .ARM.Collect$$libshutdown$$0000000E .ARM.Collect$$libshutdown$$0000000F __rt_lib_shutdown_fp_trap_1 __rt_lib_shutdown_heap_1 __rt_lib_shutdown_return __rt_lib_shutdown_signal_1 __rt_lib_shutdown_stdio_1 __rt_lib_shutdown_user_alloc_1 0x000000ea: bd10 .. POP {r4,pc} .ARM.Collect$$rtentry$$00000000 .ARM.Collect$$rtentry$$00000002 .ARM.Collect$$rtentry$$00000004 __rt_entry __rt_entry_presh_1 __rt_entry_sh 0x000000ec: f000f8ea .... BL __user_setup_stackheap ; 0x2c4 0x000000f0: 4611 .F MOV r1,r2 .ARM.Collect$$rtentry$$00000009 .ARM.Collect$$rtentry$$0000000A __rt_entry_li __rt_entry_postsh_1 0x000000f2: f7fffff5 .... BL __rt_lib_init ; 0xe0 .ARM.Collect$$rtentry$$0000000C .ARM.Collect$$rtentry$$0000000D __rt_entry_main __rt_entry_postli_1 0x000000f6: f000f824 ..$. BL main ; 0x142 0x000000fa: f000f914 .... BL exit ; 0x326 .ARM.Collect$$rtexit$$00000000 __rt_exit 0x000000fe: b403 .. PUSH {r0,r1} .ARM.Collect$$rtexit$$00000002 .ARM.Collect$$rtexit$$00000003 __rt_exit_ls __rt_exit_prels_1 0x00000100: f7fffff2 .... BL __rt_lib_shutdown ; 0xe8 .ARM.Collect$$rtexit$$00000004 __rt_exit_exit 0x00000104: bc03 .. POP {r0,r1} 0x00000106: f000f892 .... BL _sys_exit ; 0x22e 0x0000010a: 0000 .. MOVS r0,r0 .text Reset_Handler 0x0000010c: 4805 .H LDR r0,[pc,#20] ; [0x124] = 0x81 0x0000010e: 4700 .G BX r0 UART_Handler 0x00000110: b507 .. PUSH {r0-r2,lr} 0x00000112: f000f811 .... BL UART_ISR ; 0x138 0x00000116: bd07 .. POP {r0-r2,pc} __user_initial_stackheap 0x00000118: 4803 .H LDR r0,[pc,#12] ; [0x128] = 0x3c0 0x0000011a: 4904 .I LDR r1,[pc,#16] ; [0x12c] = 0xbc0 0x0000011c: 4a04 .J LDR r2,[pc,#16] ; [0x130] = 0x7c0 0x0000011e: 4b05 .K LDR r3,[pc,#20] ; [0x134] = 0x7c0 0x00000120: 4770 pG BX lr $d 0x00000122: 0000 .. DCW 0 0x00000124: 00000081 .... DCD 129 0x00000128: 000003c0 .... DCD 960 0x0000012c: 00000bc0 .... DCD 3008 0x00000130: 000007c0 .... DCD 1984 0x00000134: 000007c0 .... DCD 1984 $t .text UART_ISR 0x00000138: 2151 Q! MOVS r1,#0x51 0x0000013a: 0609 .. LSLS r1,r1,#24 0x0000013c: 7808 .x LDRB r0,[r1,#0] 0x0000013e: 7008 .p STRB r0,[r1,#0] 0x00000140: 4770 pG BX lr main 0x00000142: b508 .. PUSH {r3,lr} 0x00000144: 4c1f .L LDR r4,[pc,#124] ; [0x1c4] = 0x2710 0x00000146: a020 . ADR r0,{pc}+0x82 ; 0x1c8 0x00000148: f000f87e ..~. BL __2printf ; 0x248 0x0000014c: 2002 . MOVS r0,#2 0x0000014e: 4924 $I LDR r1,[pc,#144] ; [0x1e0] = 0xe000e100 0x00000150: 6008 .` STR r0,[r1,#0] 0x00000152: 20aa . MOVS r0,#0xaa 0x00000154: 06c1 .. LSLS r1,r0,#27 0x00000156: 6008 .` STR r0,[r1,#0] 0x00000158: e033 3. B 0x1c2 ; main + 128 0x0000015a: 2005 . MOVS r0,#5 0x0000015c: 0700 .. LSLS r0,r0,#28 0x0000015e: 6800 .h LDR r0,[r0,#0] 0x00000160: 43c0 .C MVNS r0,r0 0x00000162: 2105 .! MOVS r1,#5 0x00000164: 0709 .. LSLS r1,r1,#28 0x00000166: 6008 .` STR r0,[r1,#0] 0x00000168: 2000 . MOVS r0,#0 0x0000016a: 9000 .. STR r0,[sp,#0] 0x0000016c: e002 .. B 0x174 ; main + 50 0x0000016e: 9800 .. LDR r0,[sp,#0] 0x00000170: 1c40 @. ADDS r0,r0,#1 0x00000172: 9000 .. STR r0,[sp,#0] 0x00000174: 9800 .. LDR r0,[sp,#0] 0x00000176: 42a0 .B CMP r0,r4 0x00000178: dbf9 .. BLT 0x16e ; main + 44 0x0000017a: 2005 . MOVS r0,#5 0x0000017c: 0700 .. LSLS r0,r0,#28 0x0000017e: 6800 .h LDR r0,[r0,#0] 0x00000180: 43c0 .C MVNS r0,r0 0x00000182: 2105 .! MOVS r1,#5 0x00000184: 0709 .. LSLS r1,r1,#28 0x00000186: 6008 .` STR r0,[r1,#0] 0x00000188: 2000 . MOVS r0,#0 0x0000018a: 9000 .. STR r0,[sp,#0] 0x0000018c: e002 .. B 0x194 ; main + 82 0x0000018e: 9800 .. LDR r0,[sp,#0] 0x00000190: 1c40 @. ADDS r0,r0,#1 0x00000192: 9000 .. STR r0,[sp,#0] 0x00000194: 9800 .. LDR r0,[sp,#0] 0x00000196: 42a0 .B CMP r0,r4 0x00000198: dbf9 .. BLT 0x18e ; main + 76 0x0000019a: 2005 . MOVS r0,#5 0x0000019c: 0700 .. LSLS r0,r0,#28 0x0000019e: 6800 .h LDR r0,[r0,#0] 0x000001a0: 43c0 .C MVNS r0,r0 0x000001a2: 2105 .! MOVS r1,#5 0x000001a4: 0709 .. LSLS r1,r1,#28 0x000001a6: 6008 .` STR r0,[r1,#0] 0x000001a8: 2000 . MOVS r0,#0 0x000001aa: 9000 .. STR r0,[sp,#0] 0x000001ac: e002 .. B 0x1b4 ; main + 114 0x000001ae: 9800 .. LDR r0,[sp,#0] 0x000001b0: 1c40 @. ADDS r0,r0,#1 0x000001b2: 9000 .. STR r0,[sp,#0] 0x000001b4: 9800 .. LDR r0,[sp,#0] 0x000001b6: 42a0 .B CMP r0,r4 0x000001b8: dbf9 .. BLT 0x1ae ; main + 108 0x000001ba: a00a .. ADR r0,{pc}+0x2a ; 0x1e4 0x000001bc: f000f844 ..D. BL __2printf ; 0x248 0x000001c0: bf30 0. WFI 0x000001c2: e7ca .. B 0x15a ; main + 24 $d 0x000001c4: 00002710 .'.. DCD 10000 0x000001c8: 65570d0a ..We DCD 1700203786 0x000001cc: 6d6f636c lcom DCD 1836016492 0x000001d0: 6f742065 e to DCD 1869881445 0x000001d4: 4d524120 ARM DCD 1297236256 0x000001d8: 44544c20 LTD DCD 1146375200 0x000001dc: 00000d0a .... DCD 3338 0x000001e0: e000e100 .... DCD 3758153984 0x000001e4: 65530d0a ..Se DCD 1699941642 0x000001e8: 6120646e nd a DCD 1629512814 0x000001ec: 61684320 Cha DCD 1634222880 0x000001f0: 74636172 ract DCD 1952670066 0x000001f4: 203a7265 er: DCD 540701285 0x000001f8: 00000000 .... DCD 0 $t .text uart_out 0x000001fc: b510 .. PUSH {r4,lr} 0x000001fe: 2151 Q! MOVS r1,#0x51 0x00000200: 0609 .. LSLS r1,r1,#24 0x00000202: 1d0a .. ADDS r2,r1,#4 0x00000204: 7008 .p STRB r0,[r1,#0] 0x00000206: bf00 .. NOP 0x00000208: 7813 .x LDRB r3,[r2,#0] 0x0000020a: 2402 .$ MOVS r4,#2 0x0000020c: 4023 #@ ANDS r3,r3,r4 0x0000020e: 2b01 .+ CMP r3,#1 0x00000210: d0fa .. BEQ 0x208 ; uart_out + 12 0x00000212: bd10 .. POP {r4,pc} fputc 0x00000214: b530 0. PUSH {r4,r5,lr} 0x00000216: 4604 .F MOV r4,r0 0x00000218: 460d .F MOV r5,r1 0x0000021a: 4620 F MOV r0,r4 0x0000021c: f7ffffee .... BL uart_out ; 0x1fc 0x00000220: bd30 0. POP {r4,r5,pc} fgetc 0x00000222: 4601 .F MOV r1,r0 0x00000224: 2000 . MOVS r0,#0 0x00000226: 4770 pG BX lr ferror 0x00000228: 4601 .F MOV r1,r0 0x0000022a: 2000 . MOVS r0,#0 0x0000022c: 4770 pG BX lr _sys_exit 0x0000022e: a002 .. ADR r0,{pc}+0xa ; 0x238 0x00000230: f000f80a .... BL __2printf ; 0x248 0x00000234: bf00 .. NOP 0x00000236: e7fe .. B 0x236 ; _sys_exit + 8 $d 0x00000238: 5345540a .TES DCD 1397052426 0x0000023c: 4f442054 T DO DCD 1329864788 0x00000240: 000a454e NE.. DCD 673102 $t .text __use_no_semihosting 0x00000244: 4770 pG BX lr 0x00000246: 0000 .. MOVS r0,r0 .text __2printf 0x00000248: b40f .. PUSH {r0-r3} 0x0000024a: 4905 .I LDR r1,[pc,#20] ; [0x260] = 0x34c 0x0000024c: b510 .. PUSH {r4,lr} 0x0000024e: aa03 .. ADD r2,sp,#0xc 0x00000250: 9802 .. LDR r0,[sp,#8] 0x00000252: f000f80b .... BL _printf_char_file ; 0x26c 0x00000256: bc10 .. POP {r4} 0x00000258: bc08 .. POP {r3} 0x0000025a: b004 .. ADD sp,sp,#0x10 0x0000025c: 4718 .G BX r3 $d 0x0000025e: 0000 .. DCW 0 0x00000260: 0000034c L... DCD 844 $t .text __use_two_region_memory 0x00000264: 4770 pG BX lr __rt_heap_escrow$2region 0x00000266: 4770 pG BX lr __rt_heap_expand$2region 0x00000268: 4770 pG BX lr .text __I$use$semihosting __use_no_semihosting_swi 0x0000026a: 4770 pG BX lr .text _printf_char_file 0x0000026c: 4b08 .K LDR r3,[pc,#32] ; [0x290] = 0xffffff9f 0x0000026e: b570 p. PUSH {r4-r6,lr} 0x00000270: 460d .F MOV r5,r1 0x00000272: 447b {D ADD r3,r3,pc 0x00000274: f000f813 .... BL _printf_char_common ; 0x29e 0x00000278: 4604 .F MOV r4,r0 0x0000027a: 4628 (F MOV r0,r5 0x0000027c: f7ffffd4 .... BL ferror ; 0x228 0x00000280: 2800 .( CMP r0,#0 0x00000282: d002 .. BEQ 0x28a ; _printf_char_file + 30 0x00000284: 2000 . MOVS r0,#0 0x00000286: 43c0 .C MVNS r0,r0 0x00000288: bd70 p. POP {r4-r6,pc} 0x0000028a: 4620 F MOV r0,r4 0x0000028c: bd70 p. POP {r4-r6,pc} $d 0x0000028e: 0000 .. DCW 0 0x00000290: ffffff9f .... DCD 4294967199 $t .text _printf_input_char 0x00000294: 6901 .i LDR r1,[r0,#0x10] 0x00000296: 1c4a J. ADDS r2,r1,#1 0x00000298: 6102 .a STR r2,[r0,#0x10] 0x0000029a: 7808 .x LDRB r0,[r1,#0] 0x0000029c: 4770 pG BX lr _printf_char_common 0x0000029e: b500 .. PUSH {lr} 0x000002a0: b08f .. SUB sp,sp,#0x3c 0x000002a2: 9102 .. STR r1,[sp,#8] 0x000002a4: 2100 .! MOVS r1,#0 0x000002a6: 9105 .. STR r1,[sp,#0x14] 0x000002a8: 4905 .I LDR r1,[pc,#20] ; [0x2c0] = 0xffffffe5 0x000002aa: 9301 .. STR r3,[sp,#4] 0x000002ac: 4479 yD ADD r1,r1,pc 0x000002ae: 9103 .. STR r1,[sp,#0xc] 0x000002b0: 4611 .F MOV r1,r2 0x000002b2: 9004 .. STR r0,[sp,#0x10] 0x000002b4: 4668 hF MOV r0,sp 0x000002b6: f000f824 ..$. BL __printf ; 0x302 0x000002ba: b00f .. ADD sp,sp,#0x3c 0x000002bc: bd00 .. POP {pc} $d 0x000002be: 0000 .. DCW 0 0x000002c0: ffffffe5 .... DCD 4294967269 $t .text __user_setup_stackheap 0x000002c4: 4675 uF MOV r5,lr 0x000002c6: f000f835 ..5. BL __user_libspace ; 0x334 0x000002ca: 46ae .F MOV lr,r5 0x000002cc: 0005 .. MOVS r5,r0 0x000002ce: 4669 iF MOV r1,sp 0x000002d0: 4653 SF MOV r3,r10 0x000002d2: 08c0 .. LSRS r0,r0,#3 0x000002d4: 00c0 .. LSLS r0,r0,#3 0x000002d6: 4685 .F MOV sp,r0 0x000002d8: b018 .. ADD sp,sp,#0x60 0x000002da: b520 . PUSH {r5,lr} 0x000002dc: f7ffff1c .... BL __user_initial_stackheap ; 0x118 0x000002e0: bc60 `. POP {r5,r6} 0x000002e2: 2700 .' MOVS r7,#0 0x000002e4: 0849 I. LSRS r1,r1,#1 0x000002e6: 46b6 .F MOV lr,r6 0x000002e8: 2600 .& MOVS r6,#0 0x000002ea: c5c0 .. STM r5!,{r6,r7} 0x000002ec: c5c0 .. STM r5!,{r6,r7} 0x000002ee: c5c0 .. STM r5!,{r6,r7} 0x000002f0: c5c0 .. STM r5!,{r6,r7} 0x000002f2: c5c0 .. STM r5!,{r6,r7} 0x000002f4: c5c0 .. STM r5!,{r6,r7} 0x000002f6: c5c0 .. STM r5!,{r6,r7} 0x000002f8: c5c0 .. STM r5!,{r6,r7} 0x000002fa: 3d40 @= SUBS r5,r5,#0x40 0x000002fc: 0049 I. LSLS r1,r1,#1 0x000002fe: 468d .F MOV sp,r1 0x00000300: 4770 pG BX lr .text __printf 0x00000302: b5f8 .. PUSH {r3-r7,lr} 0x00000304: 4606 .F MOV r6,r0 0x00000306: 2400 .$ MOVS r4,#0 0x00000308: 6847 Gh LDR r7,[r0,#4] 0x0000030a: 6880 .h LDR r0,[r0,#8] 0x0000030c: 9000 .. STR r0,[sp,#0] 0x0000030e: 4630 0F MOV r0,r6 0x00000310: 68f5 .h LDR r5,[r6,#0xc] 0x00000312: e003 .. B 0x31c ; __printf + 26 0x00000314: 9900 .. LDR r1,[sp,#0] 0x00000316: 47b8 .G BLX r7 0x00000318: 1c64 d. ADDS r4,r4,#1 0x0000031a: 4630 0F MOV r0,r6 0x0000031c: 47a8 .G BLX r5 0x0000031e: 2800 .( CMP r0,#0 0x00000320: d1f8 .. BNE 0x314 ; __printf + 18 0x00000322: 4620 F MOV r0,r4 0x00000324: bdf8 .. POP {r3-r7,pc} .text exit 0x00000326: 4604 .F MOV r4,r0 0x00000328: 46c0 .F MOV r8,r8 0x0000032a: 46c0 .F MOV r8,r8 0x0000032c: 4620 F MOV r0,r4 0x0000032e: f7fffee6 .... BL __rt_exit ; 0xfe 0x00000332: 0000 .. MOVS r0,r0 .text __user_libspace __user_perproc_libspace __user_perthread_libspace 0x00000334: 4800 .H LDR r0,[pc,#0] ; [0x338] = 0x354 0x00000336: 4770 pG BX lr $d 0x00000338: 00000354 T... DCD 852 $d.realdata Region$$Table$$Base 0x0000033c: 00000354 T... DCD 852 0x00000340: 00000354 T... DCD 852 0x00000344: 0000086c l... DCD 2156 0x00000348: 000000c4 .... DCD 196 Region$$Table$$Limit ==================================== ** Section #2 Name : ER_RW Type : SHT_PROGBITS (0x00000001) Flags : SHF_ALLOC + SHF_WRITE (0x00000003) Addr : 0x0000034c File Offset : 896 (0x380) Size : 8 bytes (0x8) Link : SHN_UNDEF Info : 0 Alignment : 4 Entry Size : 0 ==================================== ** Section #3 Name : ER_ZI Type : SHT_NOBITS (0x00000008) Flags : SHF_ALLOC + SHF_WRITE (0x00000003) Addr : 0x00000354 File Offset : 904 (0x388) Size : 2156 bytes (0x86c) Link : SHN_UNDEF Info : 0 Alignment : 16 Entry Size : 0 ==================================== ** Section #4 Name : .debug_abbrev Type : SHT_PROGBITS (0x00000001) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 904 (0x388) Size : 1476 bytes (0x5c4) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 ==================================== ** Section #5 Name : .debug_frame Type : SHT_PROGBITS (0x00000001) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 2380 (0x94c) Size : 800 bytes (0x320) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 ==================================== ** Section #6 Name : .debug_info Type : SHT_PROGBITS (0x00000001) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 3180 (0xc6c) Size : 1972 bytes (0x7b4) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 ==================================== ** Section #7 Name : .debug_line Type : SHT_PROGBITS (0x00000001) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 5152 (0x1420) Size : 576 bytes (0x240) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 ==================================== ** Section #8 Name : .debug_loc Type : SHT_PROGBITS (0x00000001) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 5728 (0x1660) Size : 272 bytes (0x110) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 ==================================== ** Section #9 Name : .debug_macinfo Type : SHT_PROGBITS (0x00000001) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 6000 (0x1770) Size : 684 bytes (0x2ac) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 ==================================== ** Section #10 Name : .debug_pubnames Type : SHT_PROGBITS (0x00000001) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 6684 (0x1a1c) Size : 246 bytes (0xf6) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 ==================================== ** Section #11 Name : .symtab Type : SHT_SYMTAB (0x00000002) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 6932 (0x1b14) Size : 3504 bytes (0xdb0) Link : Section 12 (.strtab) Info : Last local symbol no = 139 Alignment : 4 Entry Size : 16 ==================================== ** Section #12 Name : .strtab Type : SHT_STRTAB (0x00000003) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 10436 (0x28c4) Size : 3388 bytes (0xd3c) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 ==================================== ** Section #13 Name : .note Type : SHT_NOTE (0x00000007) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 13824 (0x3600) Size : 28 bytes (0x1c) Link : SHN_UNDEF Info : 0 Alignment : 4 Entry Size : 0 Section Segment ==================================== 1 0 2 0 3 0 ==================================== ** Section #14 Name : .comment Type : SHT_PROGBITS (0x00000001) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 13852 (0x361c) Size : 1360 bytes (0x550) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 Component: ARM Compiler 5.04 update 1 (build 49) Tool: armlink [5040049] ArmLink --strict --callgraph --map --symbols --xref --ro_base=0x0 --cpu=Cortex-M0 --fpu=SoftVFP --first=__Vectors --list=.\code.map --output=.\code.axf --entry=Reset_Handler --info=summarysizes,sizes,totals,unused,veneers C:\Keil_v5\ARM\ARMCC\bin\..\lib\armlib\c_p.l C:\Keil_v5\ARM\ARMCC\bin\..\lib\armlib\fz_ps.l C:\Keil_v5\ARM\ARMCC\bin\..\lib\armlib\h_p.l C:\Keil_v5\ARM\ARMCC\bin\..\lib\armlib\m_ps.l C:\Keil_v5\ARM\ARMCC\bin\..\lib\armlib\vfpsupport.l Input Comments: cm0dsasm.o Component: ARM Compiler 5.04 update 1 (build 49) Tool: armasm [5040049] ArmAsm --debug --xref --cpu=Cortex-M0 --apcs=interwork --depend=.\cm0dsasm.d -IC:\Keil_v5\ARM\RV31\INC -IC:\Keil_v5\ARM\CMSIS\Include --predefine="__EVAL SETA 1" --list=.\cm0dsasm.lst main.o Component: ARM Compiler 5.04 update 1 (build 49) Tool: ArmCC [5040049] ArmCC --debug -c -o.\main.o --depend=.\main.d --cpu=Cortex-M0 --apcs=interwork -O0 -IC:\Keil_v5\ARM\RV31\INC -IC:\Keil_v5\ARM\CMSIS\Include -D__EVAL --omf_browse=.\main.crf main.c retarget.o Component: ARM Compiler 5.04 update 1 (build 49) Tool: ArmCC [5040049] ArmCC --debug -c -o.\retarget.o --depend=.\retarget.d --cpu=Cortex-M0 --apcs=interwork -O0 -IC:\Keil_v5\ARM\RV31\INC -IC:\Keil_v5\ARM\CMSIS\Include -D__EVAL --omf_browse=.\retarget.crf retarget.c ==================================== ** Section #15 Name : .shstrtab Type : SHT_STRTAB (0x00000003) Flags : None (0x00000000) Addr : 0x00000000 File Offset : 15212 (0x3b6c) Size : 156 bytes (0x9c) Link : SHN_UNDEF Info : 0 Alignment : 1 Entry Size : 0 ====================================