Re: [Sdcc-user] Device utilization

2014-12-29 Thread Joshua Lansford
On Mon, Dec 29, 2014 at 10:20 AM, jon wrote: On most CPU where the stack works down until it hits the top of the > variables it is pretty easy to detect. Just stick a known value at the > end of the variables and test its value in the main loop to see if it > overwritten. I have done this many t

Re: [Sdcc-user] Device utilization

2014-12-29 Thread Alan Cox
On Mon, 29 Dec 2014 15:20:05 + jon wrote: > On Mon, 2014-12-29 at 08:24 -0500, Joshua Lansford wrote: > > Hello, > > I understand that it is important to not overstuff a micro processor > > design to prevent the stack from encroaching on other variables and > > causing intermittent corrupti

Re: [Sdcc-user] Device utilization

2014-12-29 Thread jon
On Mon, 2014-12-29 at 08:24 -0500, Joshua Lansford wrote: > Hello, > I understand that it is important to not overstuff a micro processor > design to prevent the stack from encroaching on other variables and > causing intermittent corruption that might be hard to detect and > difficult to diagnos

[Sdcc-user] Device utilization

2014-12-29 Thread Joshua Lansford
Hello, I understand that it is important to not overstuff a micro processor design to prevent the stack from encroaching on other variables and causing intermittent corruption that might be hard to detect and difficult to diagnose. Where do I look, or what command do I use to determine device u