#1917 Stack pointer initialized to bad value

closed-rejected
Maarten Brock
None
5
2013-05-25
2012-01-24
Frank Cornett
No

Please see attached files. Stack pointer is initialized to -1 (stack begins at 0), overlapping register bank. Stack gets corrupted by register activity. Please see file sdccout/Main.mem.

Discussion

  • Frank Cornett
    Frank Cornett
    2012-01-24

    Gzip'd tar file

     
    Attachments
  • Maarten Brock
    Maarten Brock
    2012-01-24

    If you do not provide a function with the name "main" in lower case, you will not get any initialization. C is a case sensitive language.

     
  • Maarten Brock
    Maarten Brock
    2012-01-24

    • labels: 355281 -->
    • milestone: --> non_bugs
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-rejected