How can I assign a variable to a specific point in SRAM? What I'm trying to do, is implement a guard against stack growing down into the data. Ideally, I'd allocate some variable to a point X bytes below the top of SRAM, and above the top of allocated memory, and watch it for any changes after init. Or, are there better methods? -- "The very powerful and the very stupid have one thing in common. Instead of altering their views to fit the facts, they alter the facts to fit their views... which can be very uncomfortable if you happen to be one of the facts that needs altering." Doctor Who, Face of Evil
Message
WinAVR / GCC question re Stack
2009-03-24 by David VanHorn