В IAR ваш код выглядит вот так:
Код
char ar[AR_SIZE];
Section sizes:
Function/Label Bytes
-------------- -----
ar 500
main1 4
500 bytes in section .bss
4 bytes in section .text
4 bytes of CODE memory
500 bytes of DATA memory
Код
const char ar[AR_SIZE];
Section sizes:
Function/Label Bytes
-------------- -----
ar 500
main1 4
500 bytes in section .rodata
4 bytes in section .text
4 bytes of CODE memory
500 bytes of CONST memory
Пасу котов...