############################################################################## # # # IAR ARM ANSI C/C++ Compiler V4.42A/W32 EVALUATION 07/Apr/2008 10:54:18 # # Copyright 1999-2005 IAR Systems. All rights reserved. # # # # Cpu mode = interwork # # Endian = little # # Stack alignment = 4 # # Source file = D:\Pasha\elf\_MY_PROJECT_\naticq_mod\2ndconfig\main. # # c # # Command line = D:\Pasha\elf\_MY_PROJECT_\naticq_mod\2ndconfig\main. # # c -D NEWSGOLD -D ELKA -D kluchnik -D BCFG # # --preprocess D:\Pasha\elf\_MY_PROJECT_\naticq_mod\2n # # dconfig\kluchnik\List\ -lC # # D:\Pasha\elf\_MY_PROJECT_\naticq_mod\2ndconfig\kluch # # nik\List\ -o D:\Pasha\elf\_MY_PROJECT_\naticq_mod\2n # # dconfig\kluchnik\Obj\ -s9 --no_unroll --cpu_mode # # arm --endian little --cpu ARM926EJ-S --stack_align # # 4 --interwork -e --fpu None --dlib_config # # "D:\Pasha\Embedded Workbench 4.0 # # Evaluation2\ARM\LIB\dl5tpainl8n.h" -I # # "D:\Pasha\Embedded Workbench 4.0 # # Evaluation2\ARM\INC\" --inline_threshold=2 # # List file = D:\Pasha\elf\_MY_PROJECT_\naticq_mod\2ndconfig\kluch # # nik\List\main.lst # # Object file = D:\Pasha\elf\_MY_PROJECT_\naticq_mod\2ndconfig\kluch # # nik\Obj\main.r79 # # # # # ############################################################################## D:\Pasha\elf\_MY_PROJECT_\naticq_mod\2ndconfig\main.c 1 #include "../inc/swilib.h" 2 #include "../inc/cfg_items.h" 3 #include "../inc/pnglist.h" \ In segment CODE, align 4, keep-with-next 4 int main(char *filename) 5 { \ main: \ 00000000 00402DE9 PUSH {LR} 6 extern void InitConfig(); 7 InitConfig(); \ 00000004 ........ _BLF InitConfig,??InitConfig??rA 8 ShowMSG(1,(int)"ok!"); \ 00000008 031F8FE2 ADR R1,??main_0 ;; "ok!" \ 0000000C 0100A0E3 MOV R0,#+1 \ 00000010 480100EF SWI +328 9 return 0; \ 00000014 0000A0E3 MOV R0,#+0 \ 00000018 0080BDE8 POP {PC} ;; return \ ??main_0: \ 0000001C 6F6B2100 DC8 "ok!" 10 } \ In segment DATA_C, align 4, align-sorted \ 00000000 6F6B2100 DC8 "ok!" Maximum stack usage in bytes: Function CSTACK -------- ------ main 4 Segment part sizes: Function/Label Bytes -------------- ----- main 32 ? 4 Others 16 48 bytes in segment CODE 4 bytes in segment DATA_C 32 bytes of CODE memory (+ 16 bytes shared) 4 bytes of CONST memory Errors: none Warnings: none