Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] why unintialized stack errors?

2007-01-02 by John Samperi

At 10:07 AM 3/01/2007, you wrote:
>"Start" is in front of the .eseg directive, and should evaluate to the same
>address as "Begin"

OK looking at it closely that would be the case. The assembler
would start ASSUMING a .cseg (as it is not declared) and will evaluate
Start, then switch to eseg and do the table, then back to cseg and
evaluate begin to the same value as start.

It is at least confusing, to have both start and begin, it would be
much clearer to just rjmp begin on reset instead of having a useless
label.



Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.