David Weiszbrod

HC08 stack usage question

Discussion created by David Weiszbrod on Apr 11, 2007
Latest reply on Apr 12, 2007 by David Weiszbrod
I am moving from HC05 which has a fixed stack location in RAM.  I have avoided stack and variable conflict by not assigning variables within the defined stack addresses on the HC05 device.
 
The HC08 has a more flexible stack.  I need to determine what the worst case is for stack usage in my program.  Will Code Warrior and the FSICEBASE monitor that for me?
 
How does a programmer handle the stack RAM vs. variable RAM boundary?
 
Thanks, Dave

Outcomes