Hi Rob, Kiste, I'm not sure on the actual compiler, but one of old pragma interrupt versions allows you to save, restore all registers and retfie manually at your need. I still believe it was a great option.
On Fri, Oct 1, 2021 at 8:46 PM Rob Hamerling <[email protected]> wrote: > > Hello Kiste, > > On 01/10/2021 17.30, 'Oliver Seitz' via jallib wrote: > > I didn't check what the compiler does if there's no > interrupt service routine. Would it be smart to always waste five program > words just to be sure not to accidentally restart the program? I.e., always > put a RETFIE at position 0x0004 when there's no pragma interrupt? > > Yeah, I've thought about that too, but that would mask design errors. Not > a good idea in my opinion. > > Regards, Rob. > > > > -- > *Rob H*amerling, Vianen, NL > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jallib/d5cd970e-5e81-f278-548d-d9476f0e8dc3%40gmail.com > <https://groups.google.com/d/msgid/jallib/d5cd970e-5e81-f278-548d-d9476f0e8dc3%40gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/CAM%2Bj4qt0LpyrKTn_f1r-Ze%3DAk%3Dfam3ika_4b4wqRAmCt924_mQ%40mail.gmail.com.
