Hello
- Which CPU are you targeting (HC08, HC12, Coldfire, ..)
- Which version of CodeWarrior are you using?
To retrieve that info:
- Start CodeWarrior
- Select Help -> About Freescale CodeWarrior
- Click on "Install Products"
- CodeWarrior version used is displayed on top in the Installed Products dialog.
Why can't you use the standard Return from Interrupt mechanism from the chip here and go back where you have been interrupted?
Do you always need to return in front of function1 invocation or you need to return in front of whatever function was executing when the interrupt occurs?
CrasyCat