Menu

RAM usage reporting ... anyone noticed

Anobium
2023-09-30
2023-09-30
  • Anobium

    Anobium - 2023-09-30

    I just spotted the compiler does not report RAM usage correctly.

    I had a bit of code ...

    #chip 12F675
    ...
    wait 2 s
    portstate = GPIO
    ...
    

    This reported RAM usage as 1 byte... when way more were being used.

    Fix or not ?
    Anyone else got any other cases where RAM usage is not reported correctly ? Post the code so I can investigate.

     
  • kent_twt4

    kent_twt4 - 2023-09-30

    Please take a peek at the 10f's. I always thought I was cheated by one byte, but your analysis may prove otherwise?

     
    • Anobium

      Anobium - 2023-09-30

      @kent_twt4 I have added new variable counting method in the build I have here. 10F now looks ok. But, I have not checked previous builds for a baseline.

      Thanks you responding.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.