Ответ: Могу еще добавить
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено Bill 25 июня 2003 г. 13:58
В ответ на: Из мануаля по 16: отправлено Visitor 25 июня 2003 г. 13:39

Now the RAM psects. The user's object files contain uninitialised data objects. The code generator
generates bss psects in which are used to hold the values stored by the uninitialised C objects. The area
of memory assigned to the bss psect will have to be cleared before main() is executed.
At link time, all bss psects are grouped and concatenated. The psect group is to be positioned at the
beginning of RAM. This is easily done via the following option.
-pbss=0h
The address 0h is the psect's link address. The load address is meaningless, but will default to the link
address. The run-time code will clear the area of memory taken up by the bss psect. This code will use
the symbols __Lbss and __Hbss to determine the starting address and the length of the area that has to
be cleared.

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru