We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I'm devlopping a application based on a 8-bit microcontroller and i'm looking for a code example in assembly in order to save/restore CPU stack (return address on 16 bits) in external RAM (xdata) in order to avoid stack overflow... I would appreciate if someone could help me or give a code example. Bye
"save/restore CPU stack ... in order to avoid stack overflow" If you have a stack-overflow problem, you need to fix it. Your suggestion will not fix it - it will just mask the consequences!
ok! thanks for your answers!