Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#861 possible crash on indirect calls

closed-fixed
5
2013-05-25
2005-01-14
Thorsten Klose
No

1/2/3/4): n.a.

Currently an indirect function call generates a code
which modifies the TOSL/TOSH/TOSU registers. According
to the 18Fxx2 datasheet, chapter 4.2.1 ("Top-of-Stack
Address") interrupts have to be disabled during this
operation to prevent inadvertent stack operations.

5) Thorsten.Klose@gmx.de

Discussion

  • Vangelis Rokas
    Vangelis Rokas
    2005-01-23

    • assigned_to: nobody --> vrokas
     
  • Vangelis Rokas
    Vangelis Rokas
    2005-01-23

    • milestone: --> non_bugs
    • status: open --> closed-fixed
     
  • Vangelis Rokas
    Vangelis Rokas
    2005-01-23

    Logged In: YES
    user_id=770505

    I fixed this issue by disabling global interrupt (GIE)
    during TOS update.

    SDCC v. 2.4.8 #936

    Vangelis