On Fri, 14 Nov 2014 10:33:26 +0100
Hynek Sladky wrote:
> Thanks for Your reply.
> I am not sure if I understand it correctly. When I need to compile
> source, code should be in INITIALIZED section to get correct addresses;
> INITIALIZER section will contain .ds with correct size just to make
>
Thanks for Your reply.
I am not sure if I understand it correctly. When I need to compile
source, code should be in INITIALIZED section to get correct addresses;
INITIALIZER section will contain .ds with correct size just to make
place for initialization data after special utility is executed -
> BTW, it seems to me that there is some problem with crt0.s - I have to
> have my own start-up routine so I used crt0.s as template. Unfortunately
> it can't be compiled unless .globl is added for l__INITIALIZE* and
> s__INITIALIZE* values. Does it work differently when using standard crt0.s?
Hello,
I need to make function which must run in RAM (Flash programming in
bootloader). So far I haven't found how to do it. Nor in C neither in
assembler.
What I have found is way how initialized variables are translated from C
to assembly: the value is added to segment _INITIALIZER and spa