[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Startup code.

From: Robert von Knobloch
Subject: Re: [avr-chat] Startup code.
Date: Wed, 22 Sep 2010 14:01:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv: Gecko/20100915 Thunderbird/3.1.4

Getting lied to by the tools ;-)

avr-ovjdump -d crttn13.0 shows the stack pointer getting zeroed in the
(dis)assembly code but
avr-nm crttn13.0 gives:

address@hidden:> avr-nm crttn13.o
00000000 T __bad_interrupt
00000000 W __heap_end
00000000 W __init
0000009f W __stack

So the 0x1f is there (plus 0x60 offset for the RAM start), but where has
it come from?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]