Karl,

> > 1) Analog Devices has no datasheet for this thing on 
> > their website ?!
> >   
> http://www.analog.com/en/prod/0%2C2877%2CADUC842%2C00.html
> http://www.analog.com/UploadedFiles/Data_Sheets/ADUC841_842_843.pdf

That's no datasheet!

> > 4) If you're really afraid the 8 bit stack will overflow 
> > (have you checked how much it uses now?) you can even go 
> > to --xstack. This will build a software stack in pdata 
> > (movX @Ri) for parameters and local variables. The 
> > hardware stack will only be used for push, pop, call & 
> > ret and for temporaries.
> >   
> An 8 bit xstack sounds good.   I just tried recompiling my project with
> --model-large  --opt-code-size --stack-auto --xstack and my
> ROM/EPROM/FLASH went from 45K to  65K (more than my target has)  and i
> still have a lot of code i need to try and fit in the target.

I never said it won't cost you. You're looking for a 
quick solution, but it's much better to do some more 
investigating. Find out how much stack you're using 
right now. Not how much is allocated for it, but how 
much is actually filled after running a while. At 
startup all internal memory is cleared to 0x00. Look 
upto where there is random data after running.

Good luck,
Maarten

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to